]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
layout file converter for layout files in old format
[lyx.git] / src / ChangeLog
1 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * lyxtextclass.C (Read): convert layout file if the format is wrong
4         * lyxtextclass.C (layout2layout): new, needed for the above
5
6 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * messages.C: do not forget to include <cerrno>.
9
10 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * dociterator.h (StableDocIterator): add access to pos().
13         * undo.C (samePar): new method to check if two
14         iterators are in the same paragraph
15         * undo.C (recordUndo): check for samePar instead of cell identity
16         (which includes pos() and is too strict) (fixes bug 2097)
17
18 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * text.C (setCursorFromCoordinates): return a bool telling whether
21         dEPM triggered.
22
23         * text3.C (cursorPrevious): update if needed after
24         setCursorFromCoordinates (when dEPM triggered).
25
26         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
27         (otherwise the anchor may be completely wrong and make dEPM assert).
28
29 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
30
31         * buffer.C: version upgrade to 245.
32         * bufferparams.C: remove \quotes_times (bug 2090).
33         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
34         quotation marks as default.
35
36 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * CutAndPaste.C (nrOfParagraphs): remove (unused)
39         * CutAndPaste.C (cutSelection): Remove debug message
40         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
41         undo information and only copy if this is a real cut
42         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
43         call
44         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
45         (bug 2059)
46         * CutAndPaste.C (eraseSelection): prevent cursor corruption
47         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
48         superflous cur.selection() setting
49         * CutAndPaste.[Ch] (grabSelection): take a const cursor
50         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
51
52 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
53
54         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
55         change anything.
56
57 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
58
59         * BufferView_pimpl.C: comment layout change
60
61 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
62
63         * LyXAction.C:
64         * lfuns.h:
65         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
66         by bibliography managers (bug 2071).
67
68 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * BufferView_pimpl.C (update): choose arguments to update call so
71         that single-par update works most times
72         * text3.C (dispatch): carefully tune updating separately for
73         whole-screen and current-paragraph
74         * rowpainter.C (paintText): 1) replace painting by caching for
75         the two extra paragraphs, because we can;
76         2) suppress greying out of areas below/above drawn area in case of
77         single-par refresh
78         * lyxfunc.C (dispatch): remove superfluous update
79         * LyXAction.[Ch]: introduce SingleParUpdate
80
81 2005-10-05  Angus Leeming  <leeming@lyx.org>
82
83         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
84         always initialised before use.
85
86         * text.C (setHeightOfRow): squash warning about comparison
87         of signed and unsigned types.
88
89 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
90
91         * text.C (cursorX): two fixes involving RtL text drawing
92
93 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
96         items, not only large ones (part of bug 2057)
97
98 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
101         argument, use "newcommand".
102
103 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * cursor.C (setSelection): do not open collapsable insets;
106         the insets do by themselves now (autoopen).
107
108 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
109
110         * buffer.C: format is up to 244.
111
112 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * text.C (redoParagraph): fix calcultation of inset width wrt 
115         leftMargin (bug 1957).
116
117         * text3.C (dispatch): leave inset to the right when hitting ESC 
118         (bug 2034).
119
120 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * text2.C: 
123         * text.C: 
124         * factory.C:
125         * messages.C: include <boost/current_function.hpp> 
126
127 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
130         when command is internal. (bug 1941)
131
132 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * text2.C (cursorRight): do not honor boundary when at the end of
135         a paragraph. (bug 2010 again)
136
137 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
140
141 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
142
143         * rowpainter.C (paintText): fix RtL space width display bug (2029)
144
145 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
146
147         * text2.C (setCursor): remove the unused 'boundary' parameter for
148         the CursorSlice version; adapt the LCursor version.
149
150         * lyxrc.C (write): 
151         * paragraph_pimpl.C (markErased): 
152         * cursor.C (bruteFind2, bruteFond3): fix warnings.
153
154 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
157         as is already done for "chapter".
158
159 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
162         textclass; do not record undo if nothing is changed.
163
164 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
165
166         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
167
168 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
169
170         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
171
172 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
175         combox, it is necessary to search for the topmost paragraph in the
176         cursor stack (bug 1926)
177
178 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
181         end of paragraph. (bug 2010)
182
183 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
184
185         * text.C (leftMargin): check for inInset == 0
186
187 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
188
189         * text.C (leftMargin): test for insetbase's new neverIndent()
190         bool instead of listing each and every inset that does not
191         wish par indendation.
192
193 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * buffer_funcs.C (setCounter): put the code to compute enum label
196         here (where it belongs).
197
198         * counters.C (enumLabel): move code to buffer_funcs.C.
199
200 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
201
202         * outputparams.[Ch]: store local_font instead of local_language
203         * paragraph.C (simpleTeXOnePar): adapt to the change above
204
205 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * buffer_funcs.C:
208         * counters.[Ch]: clean up special code for Hebrew.
209
210 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
213         than 2.
214
215 2005-09-08  Angus Leeming  <leeming@lyx.org>
216
217         * ispell.C:
218         * lyxrc.C: correct grammar describing invocation of the
219         spellchecker.
220
221 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * text.C (read): remove unused variable.
224         (readParToken): remove static Change variable (never good in
225         recursive settings...); add it as a parameter instead.
226
227         * paragraph_pimpl.C (acceptChange): make debug info conditional.
228
229         * metricsinfo.C (PainterInfo): add new member erased_.
230
231         * rowpainter.C (RowPainter): add erased_ member, initialized from
232         PainterInfo. 
233         (paintInset): pass erased_ to Inset::draw.
234
235         * lyxfunc.C (lookupChange): new function. Tells whether change 
236         tracking is disabled at a given postion.
237         (getStatus): disable some actions when in deleted text with change
238         tracking. 
239
240 2005-08-03  John Levon  <levon@movementarian.org>
241         
242         * tabular.C (appendColumn, setMultiColumn): adapt to change to
243         InsetText::clear().
244
245         * paragraph_pimpl.C (markErased): add bool argument and handle it.
246         Also make sure to mark insets recursively.
247         (rejectChange, erase): be recursive
248
249         * paragraph.C (markErased): add bool argument.
250 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
251
252         * lyxfind.C (findNextChange): tiny cleanup.
253
254         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
255         change tracking with the cursor in an inset; make sure the first
256         change is not skipped.
257
258 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
259
260         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
261         tabularStackDirty to work around bug 1919 (tabular needs
262         to know whether its own cell paste buffer or the one of 
263         texted is newer.
264         * CutAndPaste.C: mark tabular_stack_ clean after copy.
265
266 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
267
268         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
269
270 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
271
272         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
273         use old deleteion algorithm when changetracking is on.
274
275 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
276
277         * messages.C (get): add debug output.
278
279 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
280
281         * text.C (cursorX): fix bug 1965: cursor movement at
282         line end broken in RtL.
283         (drawSelection): fix bug 1970: drawing of single-line 
284         selection broken for RtL.
285
286 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         bug 465.
289
290         * dociterator.h (clear, push_back, pop_back): change from
291         protected to public.
292
293         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
294         and changed to just return the value of the item depth; take a
295         ParIterator as argument; take the itemdepth at outer nesting level
296         in account if necessary; cleanup and comment the code.
297         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
298         and changed to just return true if reset is needed; take a
299         ParIterator as argument; cleanup and comment the code.
300         (setCounter): adapt to above changes.
301
302 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * text3.C (dispatch): make debug message optional
305
306 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
309         inset. (bug 1963)
310
311 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
312
313         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
314
315 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
316
317         * text.C (insertChar):
318         * text2.C (deleteEmptyParagraphMechanism): take care whether 
319         a blank has been deleted (in change tracking mode) (bug 1254).
320
321 2005-07-20  John Levon  <levon@movementarian.org>
322
323         * text2.C (insertStringAsLines): remove old dubious code,
324         fixing bug 1939.
325
326 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * MenuBackend.C (expandToc): use Floating::listName() as title of
329         the floats submenus.
330
331 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
332
333         * toc.[Ch]: Do not use translatable strings (bug 1870).
334
335 2005-07-20  John Levon  <levon@movementarian.org>
336
337         * tabular.C: fix 1748 - setting multicolumn adds
338           left line to the first cell
339
340 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
341
342         bug 1920
343         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
344         pars in one go.
345
346 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
347
348         * messages.C: supress some lyxerr messages
349
350 2005-07-18  Juergen Vigna  <jug@lyx.org>
351
352         * text.C (drawSelection): honor boundary when asking for cursorX.
353
354 2005-07-17  José Matos  <jamatos@fc.up.pt>
355
356         * tabular.C (recalculateMulticolumns): fix handling of one column
357         tables.
358
359 2005-07-17  Juergen Vigna  <jug@lyx.org>
360
361         * text.C (Delete, backspace): fixed so that paragraph with the
362         same layout can be merged by Delete/Backspace.
363
364 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
365
366         * text.C (readParToken): fix spelling.
367
368 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * text2.C: fix counter update for DEPM problem reported by
371         Georg Baum
372
373 2005-07-17  Juergen Vigna  <jug@lyx.org>
374
375         * BufferView_pimpl.C (setBuffer): save/restore the
376         cursor/selection when switching buffers
377
378         * buffer.h: 
379         * buffer.C (saveCursor): add saveDocumentIterators to save the
380         cursor when switching buffer.
381
382 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
383
384         * debug.C: fix typo
385         * buffer.C: clarify message
386         
387 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
388
389         * dociterator.C (DocIterator): fix initialization order
390
391 2005-07-17  Juergen Vigna  <jug@lyx.org>
392
393         * text2.C (cursorHome): 
394         * text.C (drawSelection, cursorX): 
395         * dociterator.C (textRow): add boundary to getRow() call
396
397         * paragraph.C (getRow): implementation of below
398
399         * paragraph.h: add parameter boundary for getRow() function
400
401 2005-07-17  José Matos  <jamatos@fc.up.pt>
402
403         * buffer.C:
404         * bufferparams.[Ch]:
405         * tex-strings.[Ch]: new file format, remove support for a4.sty,
406         a4wide.sty and a4widemargins.
407
408 2005-07-17  Juergen Vigna  <jug@lyx.org>
409
410         * text2.C (cursorLeft): fix one of error
411
412 2005-07-17  Juergen Vigna  <jug@lyx.org>
413
414         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
415                    cursorEnd):
416         more fixes for boundary handling
417
418         * text3.C (dispatch): don't reset cursor if boundary has changed
419         on cursor movement.
420
421 2005-07-16  Juergen Vigna  <jug@lyx.org>
422
423         * text2.C (getColumnNearX): hopefully got it right now,
424         check if we are on column 0 for special case.
425
426 2005-07-16  Juergen Vigna  <jug@lyx.org>
427
428         * text2.C (getColumnNearX): handle special case Newline Inset
429
430         * text.C (singleWidth): Just remove bogus check
431
432 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
433
434         * funcrequest.C (split): avoid reading uninitialized char c
435
436 2005-07-16  José Matos  <jamatos@fc.up.pt>
437
438         * buffer.C:
439         * converter.C:
440         * lyxrc.C:
441         * paper.h:
442         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
443         single papersize variable.
444
445 2005-07-16  Juergen Vigna  <jug@lyx.org>
446
447         * text3.C (dispatch): honor boundary when checking if a cursor
448         movement has been done
449
450         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
451         (setCursor, setCursorIntern): fix cursor movement with boundary
452
453 2005-07-16  Juergen Vigna  <jug@lyx.org>
454
455         * text.C (currentState): output the actual Boundary
456
457 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * factory.C (createInset): fix bad logic for tabular creation
460
461 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
462
463         * lyx_main.C (init): change some reLyX reference to tex2lyx
464
465 2005-07-16  Juergen Vigna  <jug@lyx.org>
466
467         * dociterator.C (DocIterator): initialize boundary
468
469 2005-07-16  Juergen Vigna  <jug@lyx.org>
470
471         * text2.C (getColumnNearX): Consider rows without trailing blank.  
472
473 2005-07-16  André Pönitz  <poenitz@gmx.net>
474
475         * lyxfont.h: Change order of declarations to give the compiler
476         a better chance to inline things
477
478         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
479         questions on unsaved docs for better scritability
480
481 2005-07-16  André Pönitz  <poenitz@gmx.net>
482
483         * paragraph.h (getChar): remove asserts as the same kind of security
484         can be achieved by using a suitable standard library implementation
485         and the function was in the critical path (25.9% in profiler)
486
487 2005-07-16  Juergen Vigna  <jug@lyx.org>
488
489         * cursor.C (bruteFind2):
490         * bufferview_funcs.C (coordOffset): 
491         * text.C (cursorX,cursorY): Handle cursor position after last char
492         in row before a inset which uses a whole row.
493
494 2005-07-15  José Matos <jamatos@lyx.org>
495
496         * output_plaintext.[Ch] (writeFileAscii): control reference title
497         printing.
498         (asciiParagraph): noparbreak was already deal and was incorrectly
499         used.
500
501 2005-07-15  Juergen Vigna <jug@lyx.org>
502
503         * lyxfunc.C (dispatch): save and restore the cursor after a
504         textclass switch.
505
506 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
507
508         * text.C (backspace): bug 806 for empty keepempty paragraphs we
509         change the layout to default before letting DEPM do its thing.
510
511         * paragraph_funcs.C (breakParagraph): dont reset the layout on
512         keepEmpty paragraphs
513
514         * text.C (setCursorFromCoordinates): add a debug statement
515
516         * text2.C (getColumnNearX): bug 1825 make sure that we don't
517         return a pos that is not on the row
518
519         * output_latex.C (TeXDeeper): get rid of potential dereferencing
520         of past the end iterator
521
522 2005-07-14  André Pönitz  <poenitz@gmx.net>
523
524         * undo.C (recordUndoFullBuffer): implement undo for
525         textclass switches
526
527 2005-07-14  André Pönitz  <poenitz@gmx.net>
528
529         * cursor.C (setSelection): open insets when selection is set there
530         to avoid crashs with cold coord cache
531
532 2005-07-14  André Pönitz  <poenitz@gmx.net>
533
534         * trans_mgr.C (insert): move cursor to the right after inserting
535         a char.
536
537 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
538
539         * BufferView_pimpl.C (update): dampen some of the debug blabbering
540         * factory.C (readInset): ditto
541         * text.C, text2.C: ditto
542
543 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * buffer.C: format incremented to 242. There is no file format per
546         se, but the "frenchb" language has been removed from lib/language
547         and has to be translated to "french" by lyx2lyx.
548
549 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
550
551         * cursor_slice.h, dociterator.h: add some documentation
552         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
553
554 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
555
556         * text.C (leftMargin): do not add identation to display() style
557         insets, because they are always centered (bug 1293).
558
559 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
560
561         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
562         formatted_time methods in support/lyxtime.
563
564 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
565
566         * toc.[Ch]: new method getGuiName, which is used by the frontends 
567         to set the toc combo (fixes bug 1870). Make TOC string translatable.
568
569 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
572         StableDocIterator const &)
573         * undo.C (recordUndo): use the above instead of cell.size() comparison
574         (fixes bug 1808; instructed by Andr�.
575
576 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * cursor_slice.h: 
579         * dociterator.h: Fix the assert when copying rows/cols in math
580
581 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
582
583         * BufferView_pimpl.C:
584         * LyXAction.C:
585         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
586
587         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
588         (findInset): new functions, refactored from goto Inset that return 
589         the position of a certain inset without setting the buffer's cursor
590         (by Jean-Marc); 
591         (gotoInset): rewrite to call findInset and then set the cursor
592         (by Jean-Marc).
593
594 2005-06-16  Angus Leeming  <leeming@lyx.org>
595
596         * lyxrc.C (output, read): wrap all input and output of paths with
597         calls to os::internal_path and os::external_path, respectively.
598         (output): wrap bind_file inside quotes.
599
600         * format.C (view): enable the viewer to use the '$$s' placeholder.
601
602 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
603
604         * LColor.[Ch] (getFromLaTeXName): new
605
606 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
607
608         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
609
610 2005-06-14  Angus Leeming  <leeming@lyx.org>
611
612         * lyx_main.C (init): ensure that the LyX binary dir is the first
613         element in the PATH on non-POSIX builds.
614
615 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
616
617         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
618
619 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * rowpainter.C (paintInset, paintHebrewComposeChar)
622         (paintArabicComposeChar, paintChars): add a LyXFont argument.
623         (paintChars): use getFontSpan to reduce calls to getFont to a
624         minimum; use Paragraph::lookupChange instead of isXXXText.
625         (paintForeignMark): rename LyXFont argument.
626         (paintFromPos): pass a LyXFont object to the various paintXXX
627         methods.
628
629         * FontIterator.C (FontIterator, operator++): use
630         Paragraph::getFontSpan
631
632         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
633         version that returns the font span as a pair.
634
635 2005-06-09  Angus Leeming  <leeming@lyx.org>
636
637         * converter.C (convert): Don't forget "outfile = real_outfile" as
638         the final step in a conversion where the input and output file names
639         are the same. Otherwise, future conversion steps won't work...
640
641 2005-06-09  Angus Leeming  <leeming@lyx.org>
642
643         * lyxsocket.C: remove stub code as it isn't needed by
644         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
645
646 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
647
648         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
649         effectively disabled -x
650
651 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
652
653         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
654         when it actually makes sense.
655
656 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
657
658         * BufferView_pimpl.C: revert to showCursor in connection with
659         Lars's front-end stack
660
661 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
662
663         * text.C (redoParagraph): move cursor right after a bibitem
664         has been inserted.
665
666         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
667
668 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
669
670         * buffer_funcs.C (bufferErrors): fix computation of the end of an
671         error range.
672
673 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
674
675         * BufferView.[Ch] (update):
676         * BufferView_pimpl.[Ch] (update, metrics):
677         * dimension.h (operator==):
678         * lyxfunc.C (dispatch):
679         * metricsinfo.h (ViewMetricsInfo):
680         * rowpainter.C (paintText):
681         * lyxtext.h:
682         * text.C (redoParagraph):
683         * text3.C (dispatch): Make LyX only repaint current paragraph in
684         case of character insert --> speedup. Also fix cursor draw
685         artifacts
686
687 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
688
689         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
690         avoid a crash (bug 1891)
691
692 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         Fix bug 1892:
695
696         * text2.C (getStringToIndex): constify cur argument.
697
698         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
699         argument has been given
700         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
701         try to invoke LFUN_INSET_APPLY).
702
703         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
704         if no inset was created by doInsertInset
705         (doInsertInset): return true if an inset has been inserted.
706
707 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * vspace.C (asGUIName): new method. A version of the space
710         suitable for showing on screen.
711
712 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
713
714         * MenuBackend.C:
715         * lyxrc.C: rename "ASCII" to "Plain Text"
716
717 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * buffer_funcs.C (expandLabel): take a Buffer as argument;
720         translate the labelstring.
721         (setCounter): translate labelstring as needed.
722
723         * output_docbook.C (makeCommand): fix expandLabel invokation
724
725 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
726
727         * BufferView.C: fix dialog title
728
729 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
730
731         * lyx_main.C (priv_exec): fix logic error with help from Angus
732         * lyx_main.C (parse_execute): set is_gui = false and remove now
733         obsolete comment about a segfault
734
735 2005-05-18  Angus Leeming  <leeming@lyx.org>
736
737         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
738
739 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * tabular.[hC]: added setCellInset to fix tabular paste.
742
743 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
744
745         * buffer.C (save): check if destination is writable before trying
746         to copy a file
747
748 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * BufferView_pimpl.C (update): fix processEvents -caused update
751         recursion bug
752
753 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
754
755         * buffer_funcs.C (setCounter): fix test for numbering of
756         environments.
757
758         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
759         depth correctly; use optional argument when it exists
760
761         * lyxtextclass.C: remove unused MaxCounterTags enum
762         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
763         (max_toclevel, min_toclevel): new methods.
764
765         * MenuBackend.C (expandToc2): fix case where depth is smaller than
766         the smallest depth in toc.
767
768         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
769         layouts that should not appear in a table of contents.
770
771 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
772
773         * cursor.h (undispatched, noUpdate): add comments from Andr�
774 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
775
776         * lfuns.h:
777         * LyXAction.C:
778         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
779
780 2005-05-07  André Pönitz  <poenitz@gmx.net>
781
782         * cursor.[Ch] (leaveInset): new function
783
784 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
785
786         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
787
788 2005-05-04  Angus Leeming  <leeming@lyx.org>
789
790         * lyxfunc.C (getStatus): disable the spell checker dialog if
791         none of USE_[AIP]SPELL are defined.
792
793 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
794
795         * tabular.C (setWidthOfCell): remove obsolete comment
796
797 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * paragraph.C (bibitem):
800         * buffer_funcs.C (setCounter):
801         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
802
803 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
804
805         * text3.C (getStatus): immediately return after setOnOff
806
807         * rowpainter.C: fix drawing of appendix start
808
809 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
810
811         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
812         SwitchBetweenClasses and remove the unused return value.
813         Handle character styles, too
814
815 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
816
817         * factory.C (createInset): handle undefined character styles
818
819 2005-05-02  Angus Leeming  <leeming@lyx.org>
820
821         * buffer.C: protect the #include of utime.h with a preprocessor
822         guard.
823
824 2005-05-02  Angus Leeming  <leeming@lyx.org>
825
826         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
827         function so that auto-saving works, albeit in a blocking manner.
828
829         * Makefile.am: make compilation of the client sub directory, of
830         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
831         on conditionals set at configure time.
832
833         * SpellBase.[Ch]: no longer an abstract base class. Instead,
834         it can be compiled in its own right but has no-op functionality.
835
836         * aspell.C, pspell.C: remove preprocessor guards. The files should
837         be compiled only if the necessary functionality exists.
838
839         * lyxserver.C, lyxsocket.C: disable on Windows.
840
841 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
842
843         * text.C (leftMargin): Fix the parindent use bug (1764)
844         by dirty trick
845
846 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
847
848         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
849         argument.
850
851 2005-04-25  Angus Leeming  <leeming@lyx.org>
852
853         * Bidi.[Ch]:
854         * coordcache.[Ch]:
855         * ispell.C:
856         * lyxserver.C:
857         * mover.C:
858         * pch.h:
859         include <config.h> in .C files, not .h ones.
860         add licence blurb.
861         protect headers inside preprocessor guards.
862
863 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
864
865         * FuncStatus.h (StatusCodes): document
866
867 2005-04-21  André Pönitz  <poenitz@gmx.net>
868
869         * FuncStatus.h (enabled, onoff): document
870
871 2005-04-19  Angus Leeming  <leeming@lyx.org>
872
873         * BufferView_pimpl.C (cursorToggle): no longer test whether
874         any child processes have been reaped before calling
875         handleCompletedProcesses().
876
877 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
878
879         * text3.C (dispatch): fix, finally fix, the language problem in
880         new lyxtexts, without disabling on-the-fly font changes (Helge's
881         bug report)
882
883 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
884
885         * text3.C (dispatch): set cursor on double/triple click events
886         (bug 1811)
887
888 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
889
890         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
891         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
892
893         * rowpainter.C (paintFirst): simplify the code a little bit. In
894         particular, remove the test for secnumdepth.
895         * text.C (setHeightOfRow): only allocate space for chapter number
896         when updateCounters provided an actual label, instead of looking
897         at secnumdepth directly.
898
899         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
900
901         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
902         paragraphs when secnumdepth is large enough or, for environments,
903         when they are not the first in a sequence.
904
905 2005-04-17  Angus Leeming  <leeming@lyx.org>
906
907         * buffer.C (makeLaTeXFile): replace code to manipulate a path
908         containing space and '~' characters with a call to latex_path().
909
910 2005-04-17  Angus Leeming  <leeming@lyx.org>
911
912         * converter.C (convert): protect all args of convertDefault.sh
913         script with quotes.
914
915 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
916
917         * text3.C (dispatch): change the layout to "Caption" after inserting
918         a float.
919
920 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
921
922         * text3.C (dispatch): fix language problem in newly created
923         textinsets (and main text) in non-english docs
924
925 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
926
927         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
928         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
929         * text3.C (getStatus): disable LFUN_INSET_MODIFY
930
931 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
932
933         * lyxtext.h:
934         * text.C (metrics):
935         * text2.C (getFont):
936         * rowpainter.C (getFont): Fix metrics bug introduced by inset
937         fonts fix
938
939 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
940
941         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
942         output of \item arguments without trailing text.
943
944 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * FontIterator.C (operator*): avoid a copy of the font.
947
948 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
949
950         * rowpainter.C (getFont): fix language bug from previous fix
951
952 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
953
954         * rowpainter.C (RowPainter, getFont): fix font inside inset
955         (bugs 1766, 1809)
956
957 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
958
959         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
960         preventing inserted font, deco, delim insets jumping to start of
961         surrounding inset.
962
963 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * lyxfunc.C (dispatch): translate message before sending it to the
966         minibuffer.
967
968 2005-03-29  Angus Leeming  <leeming@lyx.org>
969
970         * lyx_main.C (priv_exec): call os::internal_path on each file passed
971         to LyX on the command line.
972
973 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
974
975         * vc-backend.C: use QuoteName to protect file names wherever
976         necessary.
977
978 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
979
980         * buffer.[Ch]:
981         * BranchList.h: fix bugs 1844,1845: document settings don't
982         stick
983
984 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         * lyxrc.C (setDefaults, read, output, getDescription): add support
987         for tex_allows_spaces.
988
989         * exporter.C (Export): allows files in directory containing spaces
990         if tex_allows_spaces is true.
991
992         * buffer.C (makeLaTeXFile): if the document path contains spaces,
993         output it in double quotes.
994
995 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
996
997         * rowpainter.C: use default text height for drawing change tracker
998         strikeout lines.
999
1000 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1001
1002         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1003
1004 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1007         directory is missing.
1008
1009 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1010
1011         * text2.C: fixed the fix, extended to other case.
1012
1013 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1014
1015         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1016
1017 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1018
1019         * text2.C (cursorUp): get rid of a crash
1020         * text.C (x2pos): add an assert
1021
1022 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1025
1026         * text3.C:
1027         * lyxfunc.C:
1028         * dociterator.C: include <boost/current_function.hpp>, which is
1029         needed when assertions are disabled.
1030
1031 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1032
1033         * text2.C: fix for stuck cursor when traversing two
1034         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1035
1036 2005-02-25  Andreas Vox  <avox@arcor.de>
1037
1038         * output_docbook.C (makeParagraph): suppress trailing newline
1039         after a run of paragraphs
1040
1041 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1042
1043         * paragraph.C: fix for confused change tracker when pasting
1044         text that begins with a lineseparator. [bug 1827]
1045         (setChange(0, Change::INSERTED);)
1046
1047         * paragraph_funcs.C: fix for lost changes on triple-paste
1048         in change tracking mode [bug 1827] (par.setChange()).
1049
1050 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * text2.C (updateCounters, setCounter, expandLabel): move to
1053         buffer_funcs.
1054
1055         * buffer_funcs.C (updateCounters): turn into a free standing
1056         function and add a buffer parameter. Remove dead code for tracking
1057         labelstring change.
1058         (setCounter): change into a free-standing function which gets a
1059         dociterator as argument. Use this iterator to fix captions in a
1060         simple way. When no float is found above the caption, use the
1061         labelstring of the caption layout as default.
1062
1063         * text.C (breakParagraph, backspace):
1064         * text2.C (init, setLayout, changeDepth):
1065         * text3.C (dispatch):
1066         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1067         updateCounters.
1068
1069         * dociterator.C (forwardPar): make it much faster by calling
1070         forwardPos() only when really necessary.
1071
1072         * output_docbook.C (makeCommand): adapt to expandLabel move.
1073
1074         * cursor.C: remove unused variable
1075
1076 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1077
1078         * paragraph_funcs.C: fix crash when pasting insets in change
1079         tracking mode [bug 1277] (honour change type in moveItem).
1080
1081 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1082
1083         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1084
1085 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * BufferView.C (setCursor): change to use a DocIterator.
1088         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1089         (putSelectionAt): adapt to BufferView::setCursor change.
1090
1091         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1092         moved here from LyXText and rewritten to use proper cursor
1093         methods. Fixes bug 1787, 616 and 835.
1094
1095         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1096         when inside an inset (part of bug 781).
1097         (dispatch): adapt to change of BufferView::setCursor.
1098         (getStatus, dispatch): handle LFUN_GOTOERROR,
1099         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1100
1101         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1102         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1103         * text3.C (gotoNextInset, gotoInset): removed.
1104
1105 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1108
1109 2005-02-15  Angus Leeming  <leeming@lyx.org>
1110
1111         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1112         can be used meaningfully in a comparison.
1113
1114 2005-02-13  André Pönitz  <poenitz@gmx.net>
1115
1116         * bufferview_funcs.C (coordOffset): improve cursor drawing
1117
1118 2005-02-13  André Pönitz  <poenitz@gmx.net>
1119
1120         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1121         * Cursor.C (dispatch): use fixIfBroken
1122         * lyxfunc.C (getStatus): use fixIfBroken
1123
1124 2005-02-15  Angus Leeming  <leeming@lyx.org>
1125
1126         * lyx_main.C (error_handler):
1127         * lyxfunc.C:
1128         * lyxrc.C (setDefaults):
1129         s/GetEnv/getEnv/.
1130         #include "environment.h".
1131
1132         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1133
1134 2005-02-15  Angus Leeming  <leeming@lyx.org>
1135
1136         * lyxserver.C (startPipe): squash MSVC warning "local variable
1137         'fd' used without having been initialized".
1138
1139 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1140
1141         * BufferView_pimpl.C: revert accidental commit.
1142
1143 2005-02-14  André Pönitz  <poenitz@gmx.net>
1144
1145         * dociterator.[Ch]: new member forwardPosNoDescent(),
1146         which doesn't enter nested insets.
1147         * text2.C (setFont): use forwardPosNoDescent() instead
1148         of ForwardPos() (fixes crash on font change).
1149
1150 2005-02-13  Angus Leeming  <leeming@lyx.org>
1151
1152         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1153         only if lyxrc.path_prefix is not empty.
1154
1155 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1156
1157         * bufferparams.C (readGraphicsDriver): prevent crash
1158
1159 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1160
1161         * text2.C (setCounter): check for inInset() == 0
1162
1163 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1166         but use update() to get correct screen display; use convert
1167         instead of istringstream.
1168         (getStatus): handle LFUN_GOTO_PARAGRAPH
1169
1170         * lyxfunc.C (dispatch, getStatus): do not handle
1171         LFUN_GOTO_PARAGRAPH here.
1172
1173 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * text3.C (dispatch): size() -> depth()
1176
1177         * text2.C: remove some debug output
1178
1179         * paragraph.C: ws changes only
1180
1181         * lyxfunc.C (getStatus): size() -> depth()
1182
1183         * dociterator.h (clear, push_back, pop_back, internalData,
1184         operator[], resize, empty): new functions
1185         Make StableDocIterator and operator== be friends. Don't inherit
1186         from std::vector use a privat class variable slices_ instead.
1187         Modify to fit.
1188
1189         * dociterator.C: update because of not inheriting from std::vector
1190         anymore. Call explictly to slices_ instead. Use depth() instead of
1191         size() and top() instead of back()
1192
1193         * cursor.C: chagne size() -> depth and back() -> top(). Also
1194         remove some direct operator[](i) calls in favour of foo[i]
1195         (getFont): remove some dead code
1196
1197         * bufferview_funcs.C (coordOffset): size() -> depth()
1198
1199         * buffer.C: ws changes only
1200
1201         * CutAndPaste.C (eraseSelection): back() -> top()
1202
1203         * BufferView_pimpl.C (selectionRequested): back() -> top()
1204
1205         * BufferView.C (setCursor): size() -> depth()
1206
1207 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1208
1209         * text3.C (cursorPrevious): return true if depm changed something
1210         (cursorNext): ditto
1211         (dispatch): rename sl to oldTopSlice, remove moving use the new
1212         NoUpdate func attrib instead. Make sure that needsUpdate is set
1213         for function that have NoUpdate, but where depm might have changed
1214         the buffer anyway.
1215
1216         * text2.C (cursorLeft): make us return true if depm changed
1217         something
1218         (cursorRight): ditto
1219         (cursorUpParagraph): ditto
1220         (curosrDownParagraph): ditto
1221         (cursorUp, cursorDown): ditto, make sure to read comments in code
1222         (deleteEmptyParagraphMechanism): remove an assert, also return
1223         true if just a single char was deleted.
1224
1225         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1226         cursor that we modify, to avoid modifying an active cursor before
1227         we call setCursor. This allows depm to run. Also return true if
1228         depm deleted something.
1229
1230         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1231         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1232         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1233         something was changed in the buffer because of them (ie. depm run)
1234
1235         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1236         debug messages. Make update by default be false. Make sure that
1237         the result of update is retained throught several calls down to
1238         dispatch.
1239
1240         * LyXAction.h: add a new func_attrib: NoUpdate
1241
1242         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1243         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1244         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1245         and LFUN_WORDLEFT
1246         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1247
1248 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1249
1250         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1251         bv_->owner(), bv_->buffer() by direct references to the private
1252         members.
1253         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1254         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1255         (fitCursor): center() is in BufferView::Pimpl.
1256         (getStatus, trackChanges, dispatch): no need for a temporary buf
1257         variable
1258         (fitCursor, workAreaDispatch): use workarea().workheight()
1259
1260 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1261
1262         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1263
1264 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1265
1266         * buffer.C: format up to 241.
1267         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1268         break if pasting into ERT
1269         * lyxfunc.C (getStatus): suppress mathpanel and
1270         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1271
1272 2005-02-01  Angus Leeming  <leeming@lyx.org>
1273
1274         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1275
1276 2005-02-01  Angus Leeming  <leeming@lyx.org>
1277
1278         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1279         calling fs::is_directory().
1280
1281 2005-01-31  Angus Leeming  <leeming@lyx.org>
1282
1283         * lyx_main.C (priv_exec): specify explicitly the relative location
1284         of the top level build directory when run in-place.
1285
1286 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1287
1288         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1289         LyXText containing the cursor, not the top-level one.
1290
1291         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1292         true.
1293         (insertStringAsLines): rename par to pit; use temporary variable
1294         par to hold a Paragraph; do not store par.layout() in a variable,
1295         since the pointer may die when breaking paragraphs; pass pars to
1296         breakParagraph() instead of Buffer::paragraphs().
1297
1298 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1299
1300         * lyxlex_pimpl.h: #include <fstream>.
1301
1302         * BufferView.[Ch] (getLyXText): add a const version.
1303
1304         * BufferView_pimpl.C: add debug aids.
1305
1306         * RowList_fwd.h:
1307         * buffer.h:
1308         * lyxrow.h:
1309         * paragraph_funcs.h: add commentary explaining what the class does.
1310
1311
1312         * coordcache.[Ch]: add lots of commentary.
1313         (startUpdating, doneUpdating): debug aids.
1314         (arrays, insets, parPos, getParPos): accessors to private data.
1315
1316         * cursor_slice.[Ch] (text): add a const version.
1317         * dociterator.[Ch] (text, innerText): add const versions.
1318
1319         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1320         bool.
1321
1322         * paragraph.C (getRow, pos2ros): add asserts.
1323
1324         * paragraph.h: add commentary. Lots of.
1325
1326         * paragraph.[Ch] (metrucs, draw): removed.
1327
1328         * cursor.C:
1329         * rowpainter.[Ch]: const-correct changes.
1330
1331         * text.C: various obvious clean-ups. Removal of ancient cruft.
1332         Bug fixes, even.
1333
1334 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1335
1336         * vc-backend.C (find_file): rewrite to use boost.filesystem
1337         (scanMaster): ditto
1338
1339         * main.C (main): set default name check for boost.filesystem to
1340         no check
1341
1342         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1343         (open): ditto
1344         (doImport): ditto
1345         (actOnUpdatedPrefs): ditto
1346
1347         * lyx_main.C (init): rewrite to use boost.filesystem
1348         (queryUserLyXDir): ditto
1349
1350         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1351         (getContentsOfAsciiFile): ditto
1352
1353         * lastfiles.C (readFile): rewrite to use boost.filesystem
1354
1355         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1356
1357         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1358         (loadLyXFile): ditto
1359
1360         * buffer.C (Buffer): adjust for destroydir
1361         (getLogName): rewrite to use boost.filesystem
1362         (setFileName): ditto
1363         (save): use fs::copy_file (from fs_extras)
1364
1365         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1366
1367         * LaTeX.C (run): rewrite to use boost.filesystem
1368         (scanAuxFiles): ditto
1369         (handleFoundFile): ditto
1370
1371 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1372
1373         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1374
1375         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1376
1377 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1378
1379         * lyxlayout.[Ch]: change some vars from float to double
1380
1381         * buffer.C (readFile): make a local var const
1382
1383         * Several files: use convert<> instead of atoi,strToXXX and friends
1384
1385 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1386
1387         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1388         holds the contents of packages.lst. New functions getAvailable
1389         and isAvailable to parse and check that list, resp.
1390
1391         * LyXAction.C:
1392         * lfuns.h:
1393         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1394
1395         * bufferparams.[Ch]: new param output_changes.
1396
1397         * Buffer.C: increase file format to 240.
1398         Use output_changes and isVailable.
1399
1400         * changes.[Ch]:
1401         * paragraph.C:
1402         * paragraph_pimpl.C: Use output_changes and isVailable.
1403
1404 2005-01-23  Angus Leeming  <leeming@lyx.org>
1405
1406         * output_latex.C: #include "insetbibitem.h", rather than
1407         forward declare function bibitemWidest.
1408
1409 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1410
1411         * lyx_main.C (init): make it compile on the Mac.
1412
1413 2005-01-20  Angus Leeming  <leeming@lyx.org>
1414
1415         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1416         (setLyXMisc): (char string literal) != (char string literal) is
1417         performing a comparison on the addresses. Convert one operand
1418         explicitly to string to guarantee expected behaviour.
1419         From MSVC warning.
1420
1421 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1422
1423         * buffer.C:
1424         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1425
1426         * output_plaintext.C: remove unneeded #include gzstream.h.
1427
1428 2005-01-20  Angus Leeming  <leeming@lyx.org>
1429
1430         * SpellBase.h: rename some of the elements of the Result enum.
1431
1432         * aspell_local.h:
1433         * ispell.h:
1434         * pspell.h:
1435         * aspell.C (check):
1436         * ispell.C (check):
1437         * pspell.C (check): ditto
1438
1439 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1440
1441         * buffer.C: add #include <fstream>.
1442
1443         * lyx_main.C (init): Compile fix.
1444
1445         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1446
1447 2005-01-20  Angus Leeming  <leeming@lyx.org>
1448
1449         * mover.h: change commentary to reflect the changed meaning of
1450         the $$s placeholder.
1451
1452 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1453
1454         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1455
1456         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1457
1458 2005-01-20  Angus Leeming  <leeming@lyx.org>
1459
1460         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1461         printing diagnostic data by not dereferecing an iterator past the
1462         end.
1463
1464 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1465
1466         * buffer.C (readHeader): use "&&" rather than "and".
1467
1468         * lyxserver.h (inPipeName, outPipeName): make these const.
1469
1470 2005-01-19  Angus Leeming  <leeming@lyx.org>
1471
1472         * lyx_main.C (error_handler, init): protect SIGHUP with
1473         #ifdef SIGHUP guards.
1474
1475 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1478
1479 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * text.C (setHeightOfRow): add a margin at the top and bottom of
1482         the document (bug 1761)
1483
1484 2005-01-17  Angus Leeming  <leeming@lyx.org>
1485
1486         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1487         with "python ". Workaround for a brain-dead Windows.
1488
1489 2005-01-16  Angus Leeming  <leeming@lyx.org>
1490
1491         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1492         for MacOSX and Windows to use prependEnvPath.
1493         Strip out the hard-coded block to add elements to the PATH for
1494         MacOSX and replace it with a call to prependEnvPath using the
1495         contents of LyXRC::path_prefix.
1496         (queryUserLyXDir): strip out the code to run reconfigure, instead
1497         returning a boolean indicating the necessity to do so.
1498         (reconfigureUserLyXDir): contains the code to reconfigure the
1499         user support directory. Is now called after the various LyXRC data
1500         files have been read.
1501
1502         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1503
1504 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1505
1506         * converter.[Ch] (convert): take a new parameter try_default. Use
1507         a default converter (imagemagick) if try_default is true.
1508
1509 2005-01-13  Angus Leeming  <leeming@lyx.org>
1510
1511         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1512         os::cygwin_path_fix.
1513         (write): output LyXRC::cygwin_path_fix as necessary.
1514
1515 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1516
1517         * lyxrc.h:
1518         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1519
1520 2005-01-12  Angus Leeming  <leeming@lyx.org>
1521
1522         * lyx_main.C (init): set the PATH variable to include the
1523         directory containing the LyX binary when running on Mac or Windows.
1524
1525 2005-01-12  Angus Leeming  <leeming@lyx.org>
1526
1527         * lyx_main.C (init): remove cruft that purports to set the locale
1528         dir. It doesn't and is not needed anyway.
1529
1530 2005-01-10  Angus Leeming  <leeming@lyx.org>
1531
1532         * Makefile.am: remove the lyx_main.C special casing.
1533
1534         * BufferView_pimpl.C:
1535         * bufferlist.C:
1536         * exporter.C:
1537         * lyx_cb.C:
1538         * lyx_main.C:
1539         * lyxfunc.C:
1540         * messages.C: use support/package.h to provide the paths to the
1541         various directories used by LyX.
1542
1543 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1544
1545         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1546         layout if pasting into an empty paragraph)
1547
1548 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1549
1550         * tex-accent.C: add <string>
1551
1552 2005-01-06  José Matos  <jamatos@lyx.org>
1553
1554         * ParagraphParameters.C (write): put every parameter in its own line.
1555         * paragraph.C (write): reduce number of consecutive empty lines exported.
1556         * buffer.C (LYX_FORMAT): increase file format to 239.
1557
1558 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * everywhere: change support/tostr.h -> support/convert.h
1561
1562         * tabular.C: make all write_attributes templates, tostr -> convert
1563
1564         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1565         (emptyTag): and -> &&, and fix type for ret from getChar
1566         (getFirstWord): fix type for ret from getChar
1567         (onlyText): and -> &&
1568         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1569         getChar
1570
1571         * toc.C (goTo, action):
1572         * text3.C (dispatch):
1573         * text.C (currentState):
1574         * tex-accent.C (DoAccent):
1575         * sgml.C:
1576         * lyxrc.C:
1577         * lyxfunc.C (menuNew):
1578         * lyxfinc.C (replace):
1579         * counters.C (laberItem):
1580         * bufferview_funcs.C (font2string):
1581         * bufferparams.C (writeFile):
1582         * buffer.C (readFile):
1583         * Spacing.C (set):
1584         * MenuBackend.C: tostr -> convert
1585
1586         * LaTeX.C (runMessage): fix format
1587         (scanAuxFiles): tostr -> convert
1588
1589         * BufferView_pimpl.C (savePosition): fix format
1590         (restorePosition): ditto
1591         (dispatch): ditto
1592
1593 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1594
1595         * Spacing.[Ch]: New method getValueAsString().
1596
1597         * Spacing.[Ch]:
1598         * bufferparams.C:
1599         * ParagraphParameters.C:
1600         * lyxlayout.C:
1601         * text.C:
1602         * text3.C: store/read spacing value as string.
1603
1604         * rowpainter.C: change float value (spacing_val) to double.
1605
1606         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1607         broken custom document spacing).
1608
1609 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1610
1611         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1612         namespace, also more use of temp references and const
1613
1614         * cursor.[Ch] (getStatus): move to lyxfunc.C
1615
1616         * bufferparams.C: reformat slightly
1617
1618         * bufferview_funcs.C (font2string): constify arg
1619
1620         * changes.C:
1621         * converter.C:
1622         * counters.C:
1623         * bufferlist.C:
1624         * buffer_funcs.C: (many funcs): constify arg on function
1625         definitions, also make more local vars const, also add ASSERTS on
1626         pointer args.
1627
1628         * buffer.C (LYX_FORMAT): put const in correct place
1629         (many funcs): constify arg on function definitions, also make
1630         more local vars const
1631
1632         * aspell_local.h: remove "struct" from typdef setup
1633
1634         * aspell.C (check): make word_ok const
1635         (nextMiss): simplify slightly
1636         (error): ditto
1637
1638 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1639
1640         * lyxrc.[Ch]: store all float values as strings.
1641         use int (not float) for lyxrc.dpi.
1642
1643 2005-01-04  Angus Leeming  <leeming@lyx.org>
1644
1645         * lyx_cb.C (Reconfigure):
1646         * lyx_main.C (queryUserLyXDir):
1647         to run the <system_lyxdir>/configure correctly on Windows, prefix
1648         the path to the script with "sh " when generating the string that
1649         is passed to system().
1650
1651 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1652
1653         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1654
1655 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1656
1657         * lyxlength.C (asLatexString): get rid of setprecision
1658
1659 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1660
1661         * text2.C (setLayout): remove unused variable endpit.
1662         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1663
1664         * paragraph.C (onlyText): remove unused variable style.
1665
1666         * cursor.C (bruteFind): remove unused variables beg and end.
1667
1668         * Makefile.am (dist_noinset_DATA): not needed anymore
1669
1670         * cheaders/*: remove.
1671
1672 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1673
1674         * text3.C: fix LFUN_MATH_MODE.
1675
1676 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1677
1678         * buffer_funcs.C (countWords): new function. Counts words between
1679         two iterators.
1680
1681         * BufferView_pimpl.C (getStatus, dispatch): handle
1682         LFUN_WORDS_COUNT.
1683
1684         * LyXAction.C (init):
1685         * lfuns.h: add LFUN_WORDS_COUNT.
1686
1687 2004-12-19  Angus Leeming  <leeming@lyx.org>
1688
1689         * buffer.C (save): s/slashify_path/internal_path/.
1690
1691 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1692
1693         * lyxfind.C (findChange): do not search for end of pars, because
1694         the change tracker cannot handle this (fixes bug 1719).
1695
1696 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1697
1698         * paragraph.[Ch] (autoBreakRows): remove
1699
1700         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1701
1702         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1703         avoid using the paragraph one
1704
1705         * text2.C (LyXText, insertStringAsLines): adjust
1706
1707 2004-12-16  Angus Leeming  <leeming@lyx.org>
1708
1709         * bufferlist.C:
1710         * lyx_main.C:
1711         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1712
1713 2004-12-14  Angus Leeming  <leeming@lyx.org>
1714
1715         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1716
1717         * bufferlist.C (emergencyWrite):
1718         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1719         GetEnvPath("HOME").
1720
1721 2004-12-14  Angus Leeming  <leeming@lyx.org>
1722
1723         * main.C: (main): no longer pass pointers to os::init.
1724
1725 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1728         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1729
1730 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1731
1732         * lyxfunc.C:
1733         * text3.C: remove selection_possible global flag
1734
1735 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1736
1737         * text2.C (getSelectionSpan): remove
1738         (changeDepth, changeDepthAllowed): adjust
1739
1740 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1741
1742         * Makefile.am (BOOST_LIBS): use boost variables
1743
1744 2004-12-03  José Matos  <jamatos@lyx.org>
1745
1746         * buffer.C: format up to 238.
1747
1748 2004-12-03  José Matos  <jamatos@lyx.org>
1749
1750         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1751
1752 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1753
1754         * cursor.C (goUpDown): remove call to idxUpDown2
1755
1756 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1757
1758         * tabular.[Ch]: use size_t-like types for cell, row and column
1759         indices
1760
1761 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * lyxfunc.C (getStatus): do not lose previous information when
1764         calling BufferView::getStatus; do not set a default "Command
1765         disabled" message at the beginning, but just before returning.
1766
1767 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1768
1769         * cursor.h (getStatus): add better comment from src/cursor.C
1770
1771 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1772
1773         * text3.C (getStatus): return false when the lfun is not handled
1774
1775 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * broken_headers.h: remove
1778
1779         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1780
1781 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1782
1783         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1784         offset_ref accessors
1785
1786         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1787         top_y_, merge fitcursor with update
1788         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1789         coord scheme
1790         (metrics): introduce
1791         (workAreaDispatch): adapt to new coord scheme
1792         (redoCurrentBuffer): remove
1793
1794         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1795
1796         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1797         CurStatus enum.
1798
1799         * coordcache.[Ch]: add paragraph cache and helpers
1800
1801         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1802         adjust everywhere
1803
1804         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1805         (targetX, setTargetX): introduce
1806
1807         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1808         baseline -> ascent, as the rest of lyx
1809
1810         * lyxtext.h: remove redoParagraphs, updateParPositions,
1811         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1812         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1813         have ascent/descent (ascent is ascent of first par)
1814
1815         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1816         step of BufferView
1817
1818         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1819
1820         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1821
1822         * pariterator.C: fix infinite loop introduced in par->pit renaming
1823
1824         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1825         in insets and LyXText, draw two off-screen paragraphs using
1826         NullPainter, and adapt to new coord scheme
1827
1828         * text.C:
1829         * text2.C:
1830         * text3.C: adapt lfun handlers to the new coord scheme, which
1831         means: there's only guaranteed coord information for onscreen pars
1832         plus one above and one below. This implies that one can do search
1833         from y coordinates in the range [-1,workHeight]
1834
1835 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1836
1837         * rename a lot of InsetOld to InsetBase
1838
1839 2004-11-25  Angus Leeming  <leeming@lyx.org>
1840
1841         * BufferView_pimpl.C:
1842         * lyx_cb.C:
1843         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1844
1845 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1846
1847         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1848         call BufferView::getStatus if LCursor::getStatus did nothing
1849         (setStatusMessage, getStatusMessage): removed.
1850
1851         * FuncStatus.C (message): new methods. Used to provide an error
1852         message indicating why a command is disabled.
1853         (clear, |=, FuncStatus): update for message.
1854
1855 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1856
1857         * lyxfunc.C (dispatch): always call sendDispatchMessage
1858
1859 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1860
1861         * BufferView.C:
1862         * BufferView_pimpl.C:
1863         * CutAndPaste.C:
1864         * FontIterator.C:
1865         * buffer.C:
1866         * cursor.C:
1867         * cursor_slice.[Ch]:
1868         * dociterator.[Ch]:
1869         * lyxfind.C:
1870         * paragraph_funcs.C:
1871         * pariterator.C:
1872         * rowpainter.C:
1873         * text.C:
1874         * text2.C:
1875         * text3.C:
1876         * undo.C: par->pit renaming
1877
1878 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1879
1880         * tabular.C (cellstruct): use initialization, store a shared_ptr
1881         to insettext instead of the insettext directly, adjust to fit.
1882         (operator=):  new function
1883         (swap): new function
1884         (rowstruct): use initialization
1885         (columnstruct): use initialization
1886         (ltType): use initialization
1887
1888
1889         * lyxlength.h (swap): new function
1890
1891         * LColor.[Ch] (operator=): use the common semantics
1892
1893 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1894
1895         * lyxfind.C (findNextChange): update the bufferview after setting
1896         the selection.
1897
1898 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1899
1900         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1901         number of InsetOptArgs has already been inserted.
1902
1903         * output_latex.C (latexOptArgInsets): new method. This outputs all
1904         the optarg insets, up to the limit defined in the layout file.
1905         (optArgInset): removed
1906         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1907
1908 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * paragraph.C (isLetter): remove special spellchecker-related
1911         code; return true also for digits
1912         (isWord, isKomma): remove
1913
1914         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1915         * lyxfind.C (MatchString()): use isLetter instead of isWord
1916
1917 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1918
1919         * pariterator.h (operatir=): comment out un-implemented member
1920         function.
1921
1922         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1923         static cast.
1924
1925 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1926
1927         * lyxfont.h: include LColor.h to satisfy concept checks.
1928
1929 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1930
1931         * pariterator.h: add typdefs for value_type, difference_type,
1932         pointer and reference to satisfy concept checks. Also add default
1933         constructor for same reason.
1934
1935         * pariterator.C (operator++): add post-increment operator to
1936         satisfy concept checks.
1937
1938         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1939         checks.
1940
1941         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1942
1943         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1944         checks. Also rename base_type to BaseType to follow naming
1945         standard better.
1946
1947         * FloatList.h: include Floating.h to satisfy concept checks.
1948
1949 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950
1951         * lyxfunc.C (getStatus): when the origin of the request is menu or
1952         toolbar, and the LyXView does not have focus, do as if there was
1953         no buffer (bug 1720)
1954
1955         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1956         FuncRequest to individual entries of LFUN_SEQUENCE
1957
1958 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * output_latex.C (TeXOnePar): override runparams.moving_arg
1961         according to the needprotect value of the current paragraph (bug
1962         1739)
1963
1964         * paragraph.C (simpleTeXOnePar): no need to override
1965         runparams.moving_args here
1966
1967 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1968
1969         * vspace.C: fix off-by-one-error, related to fix #1682
1970
1971 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1972
1973         * lengthcommon.C: a more general fix for bug 1682
1974
1975 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * text.C (backspace): fix crash
1978
1979 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1980
1981         * format.[Ch] (getFormatFromFile): new method
1982         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1983
1984 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1985
1986         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1987
1988 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1989
1990         * lyxfunc.C (dispatch): remove the verbose argument
1991         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1992         instead
1993
1994         * kbmap.C (defkey): set the origin of func to KEYBOARD
1995
1996         * MenuBackend.C (MenuItem):
1997         * ToolbarBackend.C (add): set the origin of func to UI
1998
1999         * funcrequest.[Ch]: add origin member, which indicates which part
2000         of LyX requests an action
2001
2002 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2003
2004         * converter.C (move): don't lie in the error message
2005         * converter.h (isReachable, move): document
2006
2007 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2008
2009         * buffer.C: remove unused using lyx::support::atoi
2010         * paragraph_funcs.C: ditto
2011
2012 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2013
2014         * bufferlist.C (exists): use bind and equal_to instead of
2015         compare_memfun
2016         (getBuffer): ditto
2017         * lyxtextclasslist.C (NumberOfClass): ditto
2018
2019         * cursor.C (insert): use for_each instead of explicit for loop
2020
2021         * bufferlist.C (getFileNames): use std::transform and
2022         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2023
2024         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2025         for loop
2026
2027         * buffer.C (changeLanguage): use for_each instead of explicit for
2028         loop
2029         (hasParWithID): implement using getParFromID
2030
2031         * LaTeXFeatures.C: ws change only
2032
2033         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2034         to cleanup a bit.
2035
2036         * BufferView_pimpl.C (trackChanges): use for_each instead of
2037         expilicit for loop
2038
2039 2004-11-04  André Pönitz  <poenitz@gmx.net>
2040
2041         * undo.h:
2042         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2043
2044         * dociterator.C (asDocIterator): use hard assert again.
2045
2046 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2047
2048         * lyxlength.C (asLatexString): rewrite so that it does not use
2049         snprintf anymore
2050
2051 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * text3.C (specialChar, dispatch): make sure cursor moves to the
2054         right after inserting an inset
2055
2056 2004-11-02  José Matos  <jamatos@lyx.org>
2057
2058         * output_docbook.C (docbook):
2059         * paragraph.C (getID):
2060         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2061         garantee that the output is always legal.
2062
2063         * tabular.C (docbook):
2064         * outputprams.[Ch]: remove mixed contents.
2065
2066 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2067
2068         * text2.C (setCounter): prevent endless loop
2069
2070 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2071
2072         * exporter.C (copyFile): use the mover instead of support::copy()
2073         * exporter.C (Export): pass format and latex name to copyFile()
2074         * exporter.h (addExternalFile): document
2075         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2076
2077 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2078
2079         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2080
2081 2004-10-30  José Matos  <jamatos@lyx.org>
2082
2083         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2084         text and no inset or font change. This allows to use CDATA
2085         sections just for the whole paragraph.
2086
2087 2004-10-30  José Matos  <jamatos@lyx.org>
2088
2089         * paragraph.C (getFirstWord): remove unused variable.
2090
2091 2004-10-30  José Matos  <jamatos@lyx.org>
2092
2093         * paragraph.C (getFirstWord): the content should always be escaped
2094         there.
2095         (simpleDocBookOnePar):
2096         * output_docbook.C (makeEnvironment): replace reference to CDATA
2097         to style pass_thru.
2098
2099 2004-10-30  José Matos  <jamatos@lyx.org>
2100
2101         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2102
2103 2004-10-30  José Matos  <jamatos@lyx.org>
2104
2105         * output_docbook.C (makeParagraphs):
2106         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2107         standard paragraph has only a given type of content drop the wrapper.
2108
2109 2004-10-29  José Matos  <jamatos@lyx.org>
2110
2111         * output_docbook.C (makeEnvironment):
2112         * sgml.C (openTag):
2113         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2114
2115 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2116
2117         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2118         (cleanID): sanitize any id.
2119
2120 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2121
2122         * buffer.C, lyxlex_pimpl.C:
2123         * lyxlex_pimpl.C (setFile):
2124         s/getExtFromContents/getFormatFromContents/
2125
2126 2004-10-28  José Matos  <jamatos@lyx.org>
2127
2128         * output_docbook.C (makeEnvironment): move id to broadest possible
2129         scope.
2130
2131         * sgml.C (openTag): apply substitution of <> for all attributes.
2132
2133 2004-10-28  José Matos  <jamatos@lyx.org>
2134
2135         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2136         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2137         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2138
2139         * sgml.[Ch]: new version for open and closeTag for paragraph and
2140         for strings. Now they handle the ids of paragraphs.
2141
2142 2004-10-26  Angus Leeming  <leeming@lyx.org>
2143
2144         * Makefile.am: add mover.[Ch].
2145
2146         * converter.C (convert, move): use the new Movers to move external
2147         files to the temp directory.
2148
2149         * lyx_main.C (init): ensure that the global system_movers data
2150         is initialised.
2151
2152         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2153         preferences file.
2154
2155         * mover.[Ch]: new files, defining a Mover as a utility to move an
2156         external file between directories and, if necessary, manipulate this
2157         file using a helper script.
2158
2159 2004-10-25  José Matos  <jamatos@lyx.org>
2160
2161         * output_docbook.C (makeCommand): merge two if's that tested the
2162         same condition.
2163
2164 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2165
2166         * sgml.C (escapeString): fix warning in a better way
2167
2168 2004-10-25  José Matos  <jamatos@lyx.org>
2169
2170         * sgml.C (escapeString): import the require boosts header file for
2171         tie, and avoid a signed unsigned comparison.
2172
2173 2004-10-25  José Matos  <jamatos@lyx.org>
2174
2175         * sgml.h: add #include <string>
2176
2177 2004-10-25  José Matos  <jamatos@lyx.org>
2178
2179         * sgml.[Ch] (escapeString): new function to escape all the string.
2180
2181 2004-10-24  José Matos  <jamatos@lyx.org>
2182
2183         * paragraph.[Ch] (getFirstWord): new function to get the first
2184         word. Useful for description.
2185         (simpleDocBookOnePar): remove depth argument, add another that
2186         says where to start the paragraph.
2187
2188         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2189         use the new functions to fix cleanly the support for descriptions.
2190
2191 2004-10-24  José Matos  <jamatos@lyx.org>
2192
2193         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2194         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2195         * output_linuxdoc.C (linuxdocParagraphs):
2196         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2197         add buffer as argument.
2198
2199 2004-10-24  José Matos  <jamatos@lyx.org>
2200
2201         * output_docbook.C (makeEnvironment, searchEnvironment): place
2202         CDATA inside paragraphs and fix scope for listitems.
2203
2204 2004-10-24  José Matos  <jamatos@lyx.org>
2205
2206         * output_docbook.C: remove using statement for stack.
2207
2208 2004-10-23  José Matos  <jamatos@lyx.org>
2209
2210         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2211         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2212         docbook. The new scheme is recursive and makes use of iterators, the
2213         same as latex export works.
2214         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2215         directly with the paragraph contents. This code was moved up to
2216         output_docbook.C (docbookParagraphs).
2217         * sgml.C (openTag, closeTag): removed unneeded newlines.
2218         (closeEnvTags) removed.
2219
2220 2004-10-23  André Pönitz  <poenitz@gmx.net>
2221
2222         * undo.C (textUndoOrRedo):
2223         * dociterator.C (asDocIterator): work around crash
2224
2225         * cursor.C (getStatus): replace ASSERT by more verbose error message
2226           and manual correction of the problem. Should increase stability
2227           while providing more sensible information.
2228
2229 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2230
2231         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2232
2233         * bufferlist.C (previous, next): new methods
2234
2235         * lfuns.h:
2236         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2237
2238 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2239
2240         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2241         entities to preamble.
2242
2243 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2244
2245         * messages.C (Pimpl): strip off translation context information
2246
2247 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2248
2249         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2250         the cursor is correct (bug 1694)
2251
2252 2004-10-13  José Matos  <jamatos@lyx.org>
2253
2254         * output_docbook.C (docbookParagraphs): fix closing tags in the
2255         end of the document.
2256
2257 2004-10-09  José Matos  <jamatos@lyx.org>
2258
2259         * buffer.C: format up to 237.
2260         * bufferparams.C (write): use tostr to convert booleans to strings.
2261
2262 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2263
2264         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2265
2266 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2267
2268         * LaTeX.C: implement use of babel language in xindy.
2269
2270 2004-10-05  José Matos  <jamatos@lyx.org>
2271
2272         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2273         Add new translators to help reading and writing the lyx file.
2274
2275 2004-10-05  José Matos  <jamatos@lyx.org>
2276
2277         * ParagraphParameters.C (read):
2278         * text.C (readParToken): replace nexToken by more appropriate lex
2279         methods.
2280
2281 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2282
2283         * LaTeX.C (runMakeIndex):
2284         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2285         (usually 'makeindex') configurable.
2286
2287         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2288         with a variable rather than with a number.
2289
2290 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * output_latex.C (TeXOnePar): make sure font setting is the first
2293         thing that gets output (and the last at the end). Should fix bug
2294         1404.
2295
2296 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2297
2298         * pch.h: use proper signal include
2299
2300         * LaTeX.h: Use preferred calling of Boost.Signal
2301         * buffer.h: ditto
2302
2303 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2304
2305         * pch.h: dont include <boost/function/function0.hpp>
2306
2307         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2308
2309         * paragraph_pimpl.h: remove usage of ShareContainer
2310
2311         * paragraph_pimpl.C: remove initialization of ShareContainer.
2312
2313 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         Fix bug #1666
2316
2317         * BufferView.C (putSelectionAt): change the semantics when
2318         backwards == true: now, this just swaps cursor and anchor wrt the
2319         forward case
2320
2321         * BufferView.h (putSelectionAt): add some documentation
2322
2323         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2324         make sure backwardChar is done at least once (to avoid getting
2325         stuck)
2326         (findNextChange): use putSelectionAt in the forward direction
2327         (operator()): use Paragraph::isWord
2328
2329 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * Spacing.C (set): c_str fix
2332
2333 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2334
2335         * lyx_cb.C (Reconfigure): quote the name of configure script in
2336         case it contains spaces
2337
2338 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2339
2340         * client: new dir
2341
2342         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2343         (BOOST_LIBS): use top_buildir when looking for the file
2344
2345 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * pch.h: do not use include boost/format.hpp, multiple symbols
2348                 will result (gcc bug)
2349
2350
2351 2004-08-23  José Matos  <jamatos@lyx.org>
2352
2353         * bufferparams.C (readToken): fix reading of the author field.
2354
2355 2004-08-20  José Matos  <jamatos@lyx.org>
2356
2357         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2358
2359 2004-08-20  José Matos  <jamatos@lyx.org>
2360
2361         * lyxlex.[Ch] (findToken): remove function.
2362
2363         * ParagraphParameters.C (findToken):
2364         * bufferparams.C (findToken): replace call for previous function
2365         with local copy. This local function has one more argument, the
2366         read string argument.
2367
2368 2004-08-16  José Matos  <jamatos@lyx.org>
2369
2370         * ParagraphParameters.C (write):
2371         * Spacing.C (writeFile):
2372         * bufferparams.C (writeLaTeX):
2373         * lyx_cb.C (Reconfigure):
2374         * paragraph.C (write):
2375         * tabular.C (write): remove unnecessary space at end of line.
2376
2377
2378 2004-08-16  José Matos  <jamatos@lyx.org>
2379
2380         * text.C (readParagraph): remove debug message.
2381
2382 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2383
2384         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2385         crash
2386
2387         * output_plaintext.C (asciiParagraph): set depth correctly
2388
2389         * outputparams.h: add member depth
2390
2391         * paragraph_funcs.C (ownerPar): remove.
2392
2393         * text2.C (setCounter): remove first_pit; comment out some
2394         non-working code that uses ownerPar
2395
2396         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2397         uses ownerPar
2398
2399 2004-08-16  José Matos  <jamatos@lyx.org>
2400
2401         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2402         For the same level of importance use the same chanel to report problems.
2403         (read): add code to deal with \begin_body and \end_body.
2404
2405
2406 2004-08-15  José Matos  <jamatos@lyx.org>
2407
2408         * lyxlex.C (getString): fix comment, buffer::readBody is now
2409         buffer:readDocument.
2410
2411         * tex-strings.C (string_papersize): Default -> default,
2412         Custom -> custom, for consistency with other options.
2413
2414 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2415
2416         * pch.h: new file
2417
2418         * Makefile.am: support pch
2419
2420 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * text.C (readParToken): remove the static LyXFont variable and
2423         pass it as a parameter instead. This fixes a nasty bug where an
2424         inset will be inserted with a bad font in some situations
2425         (readParagraph): adapt
2426
2427         * text2.C (setCounter): reduce number of calls to pars_[pit]
2428
2429         * text.C (singleWidth): add an assert, fix a test
2430
2431         * rowpainter.C (paintText): reduce number of calls to singleWidth
2432
2433         * paragraph.C (isHfill):
2434         (isNewline): ws only
2435
2436 2004-08-14  André Pönitz  <poenitz@gmx.net>
2437
2438         * text.C:
2439         * text2.C:
2440         * rowpainter.C:
2441         * lyxtext.h (several functions): use a Paragraph & argument
2442         instead of par_type
2443
2444 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2445
2446         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2447
2448         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2449
2450         * text.C (singleWidth): remove useless test
2451
2452 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2453
2454         * tabular.h: remove bogus comments
2455
2456         * tabular.C (getDescentOfRow):
2457         (isPartOfMultiColumn): add assertions
2458
2459         * lyxlength.C (inPixels): remove #warning
2460
2461 2004-08-14  André Pönitz  <poenitz@gmx.net>
2462
2463         * paragraph.h: inline getChar()
2464
2465         * BufferView.h: remove unused declarations
2466
2467 2004-08-14  José Matos  <jamatos@lyx.org>
2468
2469         * Buffer.[Ch] (readDocument): new name for old readBody.
2470         * Buffer.C: new file format, new keywords: \begin_document,
2471         \begin_header, \begin_body, \end_body.
2472
2473         * bufferparams.C (readToken): replace all calls to lex.nextToken
2474         by lex.next(). Do the same to eatLine except where really needed.
2475
2476         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2477         line when writing to the lyx file.
2478
2479         * output_plaintext.C (asciiParagraph): fix Bibliography style
2480         handling.
2481
2482         * text.C (read): fix end of file handling.
2483
2484 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2485
2486         * MenuBackend.C (Menu::operator[]): new method to access
2487         individual menu items
2488         (Menu::hasFunc): new method. search for an item that corresponds
2489         to a given func
2490         (MenuBackend::specialMenu): new method
2491         (MenuBackend::expand): if a special menu has been set, skip
2492         entries whose func() appears in this menu
2493
2494 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2495
2496         * text3.C: use Debug::DEBUG a bit more
2497
2498         * text.C (leftMargin): try to simplify a tiny bit change var x to
2499         l_margin. Dont output the wide margins always.
2500         (rightMargin): no margin in inner texts
2501
2502         * rowpainter.h (nestMargin): new func
2503         (changebarMargin): new func
2504         (rightMargin): new func
2505
2506         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2507         now functions.
2508         (paintLast): ditto
2509
2510         * factory.C (createInset): modify setDrawFrame
2511
2512         * cursor.C: use Debug::DEBUG a bit more
2513
2514 2004-08-14  André Pönitz  <poenitz@gmx.net>
2515
2516         * coordcache.[Ch]:
2517         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2518         cache for all insets in (at least partially) visible (top-level)
2519         paragraphs.
2520
2521         * BufferView_pimpl.C: reset external coord cache before every update.
2522         This means the coord cache only contains valid entries.
2523
2524 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2525
2526         bug 1096
2527         * BufferView_pimpl.C (getInsetByCode): move function out of class
2528         and change in to a template in anon namespace. Also fix to do what
2529         suits us better.
2530
2531 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2532
2533         bug 1305
2534         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2535         of char
2536         (breakParagraph): rename par to par_offset and use a local
2537         reference. Add code to keep the language over a rebreak.
2538         (breakParagraphConservative): rename par to par_offset, use a
2539         local reference
2540         (mergeParagraph): ditto
2541         (outerHook): ditto
2542         (isFirstInSequence): ditto
2543         (outerFont): rename pit to par_offset
2544
2545         * paragraph.C: ws change
2546         * paragraph.h: ditto
2547         * text3.C: ditto
2548         * text.C: ditto
2549
2550 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2551
2552         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2553         treatment for ']'
2554
2555         * paragraph.C (simpleTeXOnePar): when we have a \item with
2556         optional argument, enclose the argument with curly brackets (in
2557         case it contains a closing square bracket)
2558
2559         * text2.C (editXY):
2560         * text2.C (editXY):
2561         * text3.C (checkInsetHit): constify
2562
2563 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2564
2565         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2566         documents (bug 1629)
2567
2568 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2569
2570         Fix toggling of collapsable insets with the mouse (bug 1558)
2571
2572         * lyxfunc.C (dispatch): adapt to LCursor changes
2573
2574         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2575         make sure that dispatch is not invoked twice
2576
2577         * cursor.C (needsUpdate): new method
2578         (dispatch): return void
2579         (result): new method, to access the DispatchResult of the cursor.
2580
2581 2004-08-13  José Matos  <jamatos@lyx.org>
2582
2583         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2584
2585 2004-08-13  André Pönitz  <poenitz@gmx.net>
2586
2587         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2588
2589         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2590           multiple cells
2591
2592 2004-08-12  André Pönitz  <poenitz@gmx.net>
2593
2594         * text3.C: take out the 'cursor right' form insertInset and only
2595         do it in those places when it is really needed. Fixes crash on
2596         C-m...
2597
2598 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2599
2600         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2601
2602         * BufferView_pimpl.C (setBuffer): initialize the current font of
2603         the underlying LyXText
2604
2605 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2606
2607         * kbsequence.C (print): use UI native formatting for menu
2608         shortcuts
2609
2610         * text.C (insertChar): call Paragraph::insertChar with a font
2611         argument (cosmetic)
2612
2613         * paragraph.C (insertInset, insertChar): the version that takes a
2614         LyXFont argument is now a wrapper around the other one (the
2615         opposite used to be true).
2616
2617         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2618         argument. Font setting is done in Paragraph now.
2619
2620 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2621
2622         * outputparams.h: add new members intitle and lang.
2623
2624         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2625         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2626
2627 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * text3.C (dispatch): remove special handling of button 4 and 5,
2630         it is now taken care of in the frontend code.
2631
2632 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2633
2634         * Spacing.h: add <string> (STLPort compile fix)
2635
2636 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2637
2638         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2639
2640 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2641
2642         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2643         to bool.
2644
2645         * converter.C (showMessage): inherit from unary_function, make
2646         operator() const.
2647
2648         * buffer.C (writeFile): initialize retval
2649
2650         * InsetList.h: rename private variable list to list_
2651         * InsetList.[Ch]: adjust accordingly.
2652
2653 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2654
2655         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2656         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2657         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2658         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2659         * ParagraphParameters.C, LaTeXFeatures.C: replace
2660         "support/std_sstream.h" with <sstream>
2661
2662 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2665         * lyxsocket.C (LyXServerSocket): ditto
2666         (serverCallback): ditto
2667
2668 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2669
2670         * LaTeXFeatures.C: check release date when loading jurabib.
2671
2672 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * lyxserver.C (startPipe): call register_socket_callback
2675         (endPipe): call unregister_socket_callback
2676
2677 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2680         (LyXServerSocket): register the callback
2681         (LyXServerSocket): unregister the callback
2682         (fd): delete function
2683         (serverCallback): improve error checking and setup the callbacks.
2684         (dataCallback): change arg to fd.
2685         (writeln): new func (copied fro the client socket) used for server
2686         write to client.
2687         (LyXDataSocket): simplify
2688         (~LyXDataSocket): close ann unregiser callback
2689         (server): delete function
2690         (fd): delete function
2691         (readln): small changes, improve some std::string usage
2692         (writeln): constify a bit
2693
2694 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2695
2696         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2697         Qt frontend
2698
2699 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2700
2701         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2702         after it has been populated
2703
2704 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2705
2706         * text2.C (insertInset): move cursor when inserting inset.
2707
2708 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2709
2710         * kbmap.C (findbindings): a couple of new methods. returns a
2711         container of kb_sequence objects. The real work is done by the
2712         private recursive version
2713         (printbindings): uses findbindings to print out a bracketed list
2714         of bindings (renamed from findbinding).
2715
2716         * MenuBackend.C (binding): use kb_keymap::findbindings
2717
2718         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2719
2720 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2721
2722         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2723
2724 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2725
2726         * paragraph.C (isWord): return true on insets that report
2727         isLetter().
2728
2729         * text.C (getWord): use Paragraph::isWord to decide what is in a
2730         word and what is not; fix bug 1609.
2731
2732 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2733
2734         * tex-strings.C: add "none" to string_paperpackages[], fixes
2735         off-by-one-error in the paperpackage selection.
2736
2737         * lyxlex.[Ch]:
2738         * tex-strings.[Ch]: char const * string[n]
2739         -> char const * const string[]
2740
2741 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2742
2743         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2744         command, return early.
2745
2746 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2747
2748         * debug.h: add DEBUG to enum and fix size of ANY.
2749
2750         * debug.C: add support for Debug::DEBUG
2751         (showTags): cast errorTags.level to unsigned int
2752
2753         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2754         (redoCurrentBuffer): ditto
2755         (updateScrollbar): ditto
2756         * cursor.C (dispatch): ditto
2757         * text2.C (setLayout): ditto
2758         (setFont): ditto
2759         (updateCounters): ditto
2760         (editXY): ditto
2761         (deleteEmptyParagraphMechanism): ditto
2762
2763 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2766         annotations to cleanup the Makefile slightly.
2767
2768 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2769
2770         * lyxrc.C: do not set user_email to a default value but use empty
2771         instead. The entry used to be translated, which does not work
2772         since at the point where lyxrc is constructed there is no
2773         translation service available
2774
2775         * messages.C (getLocaleDir): remove and use directly
2776         lyx_localedir() instead
2777
2778 2004-06-02  Angus Leeming  <leeming@lyx.org>
2779
2780         Fix crash caused by dereferencing null pointer 'exportdata' in
2781         OutputParams by creating a new ExportData variable on the heap,
2782         storing it in a boost::shared_ptr.
2783         The crash was triggered when generating an Instant Preview
2784         of an external inset.
2785
2786         * Makefile.am: add outputparams.C
2787
2788         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2789         (c-tor): allocate memory to it.
2790
2791         * exporter.C (c-tor): associated changes.
2792
2793 2004-06-01  Angus Leeming  <leeming@lyx.org>
2794
2795         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2796         contains data before calling isInset(0). (Bug 1513.)
2797
2798 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2799
2800         * exporter.C (checkOverwrite): new method
2801         * exporter.C (copyFile): new method
2802         * exporter.C (Export): copy referenced files to the document dir
2803         * exporter.[Ch]: new class ExportedFile
2804         * exporter.[Ch]: new class ExportData. Contains currently the
2805         names of referenced external files
2806         * outputparams.h: add exportdata member.
2807
2808 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2809
2810         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2811         version.C-tmp
2812
2813 2004-05-19  Angus Leeming  <leeming@lyx.org>
2814
2815         * LaTeXFeatures.C:
2816         * ToolbarBackend.C:
2817         * bufferparams.C:
2818         * lyxfunc.C: small changes due to the introduction of namespace
2819         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2820
2821 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2822
2823         * text3.C (dispatch): supress update when only moving the cursor
2824         * cursor.C (selHandle): remove commented code
2825
2826 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2827
2828         * paragraph.C (startTeXParParams): correct column count
2829         * CutAndPaste.C (pasteSelection): remove const_cast
2830         * output_docbook.C (docbookParagraphs): remove const_cast
2831         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2832         const_cast and return ParagraphList::const_iterator
2833         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2834         * output_plaintext.C (writeFileAscii): remove const_cast
2835         * paragraph.[Ch] (simpleTeXOnePar): make const
2836         * paragraph_funcs.C (outerPar): use const iterators
2837         * paragraph_pimpl.C (validate): use const iterators
2838         * text.C (setHeightOfRow): use const iterators
2839
2840 2004-05-17  Angus Leeming  <leeming@lyx.org>
2841
2842         * lfuns.h:
2843         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2844
2845         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2846         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2847         if the citation engine has changed.
2848
2849 2004-05-14  José Matos  <jamatos@lyx.org>
2850
2851         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2852         if the textclass does not provide it. Have it different for sgml and
2853         xml.
2854         support the language of document.
2855         * output_docbook.C (docbookParagraphs):
2856         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2857         first anchor as the id of the paragraph, remove special case code.
2858         * sgml.C (escapeChar): escape only < & >.
2859
2860 2004-05-14  Angus Leeming  <leeming@lyx.org>
2861
2862         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2863         dependencies on src/frontends/controllers/biblio.h. Define a
2864         CiteEngine_enum wrapper class to enable the enum to be forward
2865         declared.
2866
2867 2004-05-12  Angus Leeming  <leeming@lyx.org>
2868
2869         * buffer.C: up LYX_FORMAT to 234.
2870         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2871         use_numerical_citations with a single biblio::CiteEngine cite_engine
2872         variable.
2873         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2874
2875 2004-05-13  José Matos  <jamatos@lyx.org>
2876
2877         * converter.h:
2878         * converter.C (Converter, readFlags): add xml member.
2879         * outputparams.h: add XML flavor.
2880         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2881
2882 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2883
2884         * lyxfunc.C (dispatch):
2885         (getStatus): fix handling of LFUN_SEQUENCE
2886
2887 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2888
2889         * debug.C (showLevel): do not forget the end-of-line marker
2890
2891 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2892
2893         * kbmap.C (read): do not stop parsing a bind file when an error
2894         occurs (bug 1575)
2895
2896 2004-04-29  Angus Leeming  <leeming@lyx.org>
2897
2898         * cursor.C:
2899         * factory.C:
2900         * pariterator.C:
2901         * text2.C: wrap a bunch of #warning statements
2902         inside #ifdef WITH_WARNINGS blocks.
2903
2904 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2905
2906         * buffer.C: increment format to 233.
2907
2908 2004-04-28  Angus Leeming  <leeming@lyx.org>
2909
2910         * BufferView_pimpl.C:
2911         * lyxfunc.C:
2912         * text3.C:
2913         s/updateToolbar()/updateToolbars()/
2914         s/Toolbar.h/Toolbars.h/
2915
2916 2004-04-28  Angus Leeming  <leeming@lyx.org>
2917
2918         * BufferView.[Ch] (c-tor):
2919         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2920         No longer passes these data to the WorkArea generator.
2921
2922 2004-04-28  Angus Leeming  <leeming@lyx.org>
2923
2924         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2925
2926 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2927
2928         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2929
2930 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2931
2932         * output_latex.C (TeXEnvironment): make sure that there is a line
2933         break before \end{foo} for the last paragraph of a document
2934         (TeXOnePar): if the paragraph is at the end of the document (or
2935         inset) and the language has to be reset, then make sure that the
2936         line break is _before_ the language command, not after (fixes bug
2937         1225); also make sure that the language reset command is the first
2938         thing after the paragraph (to ensure proper nesting of
2939         environments and thus fix bug 1404)
2940
2941 2004-04-21  John Levon  <levon@movementarian.org>
2942
2943         * ToolbarBackend.h:
2944         * ToolbarBackend.C: make "name" be a programmatic name
2945         and a gui_name field.
2946
2947         * lyxfunc.C: display the minibuffer on M-x
2948
2949 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2950
2951         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2952         (bug 1526)
2953
2954 2004-04-19  Angus Leeming  <leeming@lyx.org>
2955
2956         * BufferView_pimpl.C (setBuffer): changed preview interface.
2957
2958         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2959         possible values.
2960
2961 2004-04-19  John Levon  <levon@movementarian.org>
2962
2963         * BufferView_pimpl.C:
2964         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2965
2966 2004-04-05  Angus Leeming  <leeming@lyx.org>
2967
2968         * text.C (redoParagraphs): add call to updateCounters(), thereby
2969         fixing the missing "Figure #:" label from the caption of a
2970         figure float.
2971
2972 2004-04-13  Angus Leeming  <leeming@lyx.org>
2973
2974         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2975         cursor is clicked out of an inset.
2976
2977 2004-04-13  Angus Leeming  <leeming@lyx.org>
2978
2979         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2980         than an InsetOld one.
2981
2982 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2983
2984         * format.[Ch]: add editor to Format
2985         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2986         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2987
2988 2004-04-08  André Pönitz  <poenitz@gmx.net>
2989
2990         * metricsinfo.h: remove PainterInfo::width member
2991
2992 2004-04-08  Angus Leeming  <leeming@lyx.org>
2993
2994         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2995         "\providecommand" rather than "\newcommand", thereby preventing
2996         clashes with packages that define "\boldsymbol" themselves.
2997         Eg, beamer.
2998
2999 2004-04-08  Angus Leeming  <leeming@lyx.org>
3000
3001         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3002         thereby squashing an unnecessary warning.
3003
3004 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3005
3006         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3007         setBuffer()
3008
3009 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * BufferView.C (setCursor): call redoParagraph (some insets could
3012         have been opened)
3013         (putSelectionAt): remove the 'double update' trick
3014
3015         * BufferView_pimpl.C (fitCursor): call refreshPar
3016         (workAreaDispatch): remove an uneeded update call
3017         (dispatch): remove some manual update calls
3018
3019         * cursor.[Ch]: remove cached_y_, updatePos
3020         (selHandle): set noUpdate when appropriate
3021
3022         * lyxfunc.C (dispatch): track if we need an update
3023
3024         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3025
3026         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3027         (paintSelection): cheap optimization, do not call cursorX when not
3028         needed
3029         (paintPars): change signature
3030         (refreshPar): add
3031         (paintText): adjust
3032         (paintTextInset): adjust
3033
3034         * text.C: adjust
3035
3036 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3037
3038         * lengthcommon.C: compilation fix: remove explicit array size from
3039         unit_name[] and friends
3040
3041 2004-04-05  Angus Leeming  <leeming@lyx.org>
3042
3043         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3044
3045         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3046         present only for the preferences dialog.
3047         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3048
3049 2004-04-05  Angus Leeming  <leeming@lyx.org>
3050
3051         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3052         to enable the frontends to export changes to lyxrc correctly.
3053
3054         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3055
3056 2004-04-07  André Pönitz  <poenitz@gmx.net>
3057
3058         * cursor.[Ch] (selClear, adjust): remove math
3059
3060         * cursor_slice.C: more agressive assert
3061
3062         * lyxfunc.C:
3063         * BufferView_pimpl.C: rework mouse event dispatch
3064
3065         * dociterator.C:
3066         * paragraph.C:
3067         * text2.C:
3068         * text3.C: adjust
3069
3070 2004-04-05  André Pönitz  <poenitz@gmx.net>
3071
3072         * cursor.[Ch] (valign, halign...): remove unneeded functions
3073
3074 2004-04-05  Angus Leeming  <leeming@lyx.org>
3075
3076         * lyxlength.[Ch] (unit_name et al.): const-correct.
3077
3078 2004-04-05  Angus Leeming  <leeming@lyx.org>
3079
3080         * BufferView_pimpl.C:
3081         * buffer.C:
3082         * counters.C:
3083         * cursor.C:
3084         * lyxfunc.C
3085         * paragraph.C:
3086         * pariterator.C:
3087         * text.C:
3088         * text2.C:
3089         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3090
3091 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3092
3093         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3094
3095 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3096
3097         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3098         * BufferView_pimpl.[Ch] (getStatus)
3099         * BufferView.[Ch] (getStatus): add
3100         * lyxfunc.C (getStatus): move lfuns handled in
3101         BufferView::dispatch to te function above
3102         * Cursor.C (setSelection): set selection() = true
3103
3104 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3105
3106         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3107
3108 2004-03-31  Angus Leeming  <leeming@lyx.org>
3109
3110         * lyxfunc.C (dispatch): Fall through to the generic
3111         Dialogs::show("preamble").
3112
3113 2004-03-31  Angus Leeming  <leeming@lyx.org>
3114
3115         * lyxfunc.C (dispatch): Fall through to the generic
3116         Dialogs::show("spellchecker").
3117
3118 2004-03-31  Angus Leeming  <leeming@lyx.org>
3119
3120         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3121         preferences dialog.
3122
3123 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3124
3125         * BufferView.C
3126         * cursor.[Ch]
3127         * dociterator.[Ch]:
3128         * insetiterator.[Ch]:
3129         * lyxfind.C:
3130         * lyxfunc.C:
3131         * pariterator.[Ch]:
3132         * text2.C:
3133         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3134
3135 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3136
3137         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3138         insets where we are putting the cursor.
3139
3140 2004-03-31  Angus Leeming  <leeming@lyx.org>
3141
3142         * lfuns.h:
3143         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3144
3145         * lyxrc.[Ch] (read, write): overloaded member functions taking
3146         a std::[io]stream arguments.
3147
3148         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3149
3150 2004-03-31  Angus Leeming  <leeming@lyx.org>
3151
3152         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3153         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3154
3155         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3156         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3157
3158 2004-03-31  Angus Leeming  <leeming@lyx.org>
3159
3160         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3161         the LFUN_ALL_INSETS_TOGGLE code.
3162
3163 2004-03-30  Angus Leeming  <leeming@lyx.org>
3164
3165         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3166         has died. Fall through to the generic Dialogs::show("document").
3167
3168 2004-03-30  Angus Leeming  <leeming@lyx.org>
3169
3170         * lfuns.h:
3171         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3172         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3173
3174         * lyxfunc.C (getStatus, dispatch): define the actions for these
3175         lfuns. Little more than a cut and pste job from ControlDocument.C
3176
3177         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3178
3179 2004-03-30  Angus Leeming  <leeming@lyx.org>
3180
3181         * lfuns.h:
3182         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3183         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3184
3185         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3186         open/closed state of ollapsable insets. Usage:
3187
3188         all-inset-toggle <state> <name>, where
3189         <state> == "open" || "closed" || "toggle" and
3190         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3191
3192         * lyxtext.h, text2.C (toggleInset): removed.
3193
3194         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3195         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3196         now passes LFUN_INSET_TOGGLE to the found inset.
3197
3198         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3199         is now invoked as "all-insets-toggle toggle branch".
3200
3201 2004-03-30  Angus Leeming  <leeming@lyx.org>
3202
3203         * dociterator.C:
3204         * insetiterator.C:
3205         * pariterator.[Ch]: added/corrected header blurb.
3206
3207 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3208
3209         * dociterator.[Ch]: add an inset_ member
3210         (backwardPos): implemented
3211         (backwardPos, forwardPos): use inset_ when the stack is empty.
3212         (doc_iterator_begin, doc_iterator_end): implemented
3213         * pariterator.[Ch]: adjust, add begin, end
3214         * insetiterator.[Ch]: adjust, add begin, end
3215         * cursor.C:
3216         * document.C:
3217         * BufferView.C:
3218         * BufferView_pimpl.C:
3219         * CutAndPaste.C: adjust
3220
3221 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3222
3223         * buffer.C: increment file format to 232.
3224         * LaTeXFeatures.C: add bibtopic package.
3225         * bufferparams.[Ch]: param \use_bibtopic.
3226
3227         * lyxrc.[Ch]: add lyxrc bibtex_command
3228         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3229
3230         * buffer.C: increment file format to 231.
3231
3232 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3233
3234         * dociterator.C: implement forwardPar
3235         * iterators.[Ch]: remove, replaced by
3236         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3237         * BufferView.C:
3238         * BufferView_pimpl.C:
3239         * CutAndPaste.C:
3240         * buffer.C:
3241         * bufferview_funcs.C:
3242         * cursor.C:
3243         * lyxfind.C
3244         * lyxfunc.C
3245         * paragraph_funcs.C
3246         * toc.C:
3247         * Makefile.am: adjust
3248
3249 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3250
3251         * CutAndPaste.C (pasteSelection): fix 2 crashes
3252         (eraseSelection): fix a crash
3253         * paragraph_funcs.C: remove a warning
3254
3255 2004-03-28  Angus Leeming  <leeming@lyx.org>
3256
3257         * lfuns.h:
3258         * LyXAction.C (init): new LFUN_PRINT.
3259
3260         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3261
3262 2004-03-27  Angus Leeming  <leeming@lyx.org>
3263
3264         * lfuns.h:
3265         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3266
3267         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3268
3269 2004-03-27  Angus Leeming  <leeming@lyx.org>
3270
3271         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3272         insetlist always contains non-null pointers to insets.
3273
3274 2004-03-26  Angus Leeming  <leeming@lyx.org>
3275
3276         * src/BufferView_pimpl.C:
3277         * src/CutAndPaste.C:
3278         * src/buffer.C:
3279         * src/iterators.C:
3280         * src/output_plaintext.C:
3281         * src/outputparams.h:
3282         * src/paragraph_funcs.C:
3283         * src/rowpainter.C:
3284         * src/text.C:
3285         * src/text2.C:
3286         * src/frontends/controllers/ControlErrorList.C:
3287         * src/frontends/gtk/FileDialogPrivate.C:
3288         * src/frontends/gtk/GPainter.C:
3289         * src/frontends/gtk/GToolbar.C:
3290         * src/frontends/qt2/QRef.C:
3291         * src/mathed/math_scriptinset.C: squash compiler warnings.
3292
3293 2004-03-26  Angus Leeming  <leeming@lyx.org>
3294
3295         * ispell.C (LaunchIspell::start):
3296         * lyx_cb.C (AutoSaveBuffer::start):
3297         invoke run(DontWait) rather than runNonBlocking().
3298
3299 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3300
3301         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3302
3303 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3304
3305         * kbsequence.C (print): adjust
3306
3307         * kbmap.C (printKeySym): rename and change signature
3308         (printKey): use LyXKeySym::print()
3309
3310 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3311
3312         * undo.C: add using std::advance to compile for stlport
3313
3314 2004-03-24  Angus Leeming  <leeming@lyx.org>
3315
3316         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3317         it leads to a crash when no buffer is present.
3318
3319 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3320             Martin Vermeer  <martin.vermeer@hut.fi>
3321
3322         * lyxfunc.C (dispatch):
3323         * bufferparams.C (readToken): use the new LColor::setColor
3324
3325         * LColor.[Ch] (setColor): new version that takes two strings as
3326         argument and creates a new color entry if necessary
3327
3328 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3329
3330         * buffer.C (makeLaTeXFile): if the main latex file that is
3331         processed is usually a subdocument of some master, then pretend
3332         for a while that it is actually the master
3333
3334 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3335
3336         * buffer.C (getLabelList):
3337         (getBibkeyList): use getMasterBuffer()
3338         (getMasterBuffer): new method. Returns the main document in the
3339         case where one is using included documents.
3340
3341 2004-03-25  André Pönitz  <poenitz@gmx.net>
3342
3343         * Makefile.am:
3344         * iterators.[Ch]:
3345         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3346
3347         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3348
3349         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3350         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3351
3352         * ParameterStruct.h: merge with ParagraphParameters
3353
3354         * lyxtext.h: remove LyXText::parOffset() and getPar()
3355
3356         * text3.C: Remove all 'manual' update calls. We do now one per user
3357         interaction which is completely sufficient.
3358
3359         * Bidi.C:
3360         * BufferView.[Ch]:
3361         * BufferView_pimpl.C:
3362         * FontIterator.[Ch]:
3363         * MenuBackend.C:
3364         * ParagraphParameters.[Ch]:
3365         * buffer.C:
3366         * buffer.h:
3367         * bufferlist.C:
3368         * cursor.[Ch]:
3369         * cursor_slice.[Ch]:
3370         * dociterator.[Ch]:
3371         * errorlist.[Ch]:
3372         * factory.C:
3373         * lfuns.h:
3374         * lyxfind.C:
3375         * lyxfunc.C:
3376         * output_docbook.[Ch]:
3377         * output_latex.[Ch]:
3378         * output_linuxdoc.[Ch]:
3379         * output_plaintext.[Ch]:
3380         * paragraph.[Ch]:
3381         * paragraph_funcs.[Ch]:
3382         * paragraph_pimpl.[Ch]:
3383         * rowpainter.C:
3384         * tabular.[Ch]:
3385         * text.C:
3386         * text2.C:
3387         * toc.C:
3388         * undo.[Ch]: adjust
3389
3390         * frontends/controllers/ControlDocument.C:
3391         * frontends/controllers/ControlErrorList.C:
3392         * frontends/controllers/ControlSpellchecker.C:
3393         * insets/inset.C:
3394         * insets/inset.h:
3395         * insets/insetbase.h:
3396         * insets/insetbibitem.C:
3397         * insets/insetbox.C:
3398         * insets/insetbranch.C:
3399         * insets/insetcaption.C:
3400         * insets/insetcharstyle.C:
3401         * insets/insetcharstyle.h:
3402         * insets/insetcollapsable.C:
3403         * insets/insetcollapsable.h:
3404         * insets/insetert.C:
3405         * insets/insetfloat.C:
3406         * insets/insetfoot.C:
3407         * insets/insetmarginal.C:
3408         * insets/insetnote.C:
3409         * insets/insetoptarg.C:
3410         * insets/insettabular.C:
3411         * insets/insettext.C:
3412         * insets/insettext.h:
3413         * insets/insetwrap.C:
3414         * mathed/math_mboxinset.C:
3415         * mathed/math_nestinset.C:
3416         * mathed/math_scriptinset.C:
3417         * mathed/math_scriptinset.h:
3418         * support/types.h:
3419
3420 2004-03-24  Angus Leeming  <leeming@lyx.org>
3421
3422         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3423         deal with any child processes that have finished but are waiting to
3424         communicate this fact to the rest of LyX.
3425
3426 2004-03-24  Angus Leeming  <leeming@lyx.org>
3427
3428         64-bit compile fixes.
3429
3430         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3431         (c-tor): pass lyx::pos_types rather than ints.
3432
3433         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3434         lyx::pos_type.
3435
3436         * text.C (Delete): compile fix.
3437         (getPar): ensure that function declaration is the same as that in
3438         the header file.
3439
3440 2004-03-23  Angus Leeming  <leeming@lyx.org>
3441
3442         * ispell.C (LaunchIspell):
3443         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3444         a boost::shred_ptr rather than a std::auto_ptr.
3445
3446 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3447
3448         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3449         handle LFUN_FILE_INSERT_*
3450
3451         * lyxrc.C (setDefaults, getDescription, output, read):
3452         * lyxrc.h: remove ps_command
3453
3454 2004-03-22  Angus Leeming  <leeming@lyx.org>
3455
3456         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3457         Ensure that error_handler is processed once only and that all data
3458         is saved before attempting to output any warning messages.
3459
3460         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3461
3462 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3463
3464         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3465
3466 2004-03-19  André Pönitz  <poenitz@gmx.net>
3467
3468         * cursor.[Ch] (reset): take main text inset as argument
3469
3470         * BufferView: adjust
3471         * BufferView_pimpl.C: adjust
3472
3473         * paragraph.[Ch]: fix completely broken operator=()
3474
3475 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3476
3477         * LColor.C (getFromLyXName): make sure that the color name is used
3478         as lowercase.
3479
3480 2004-03-17  Angus Leeming  <leeming@lyx.org>
3481
3482         * lfuns.h:
3483         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3484
3485         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3486         dialog and to kill a forked process.
3487
3488 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3489
3490         * text2.C (setCursorFromCoordinates): fix font problem
3491
3492 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3493
3494         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3495         bogus "rebuild cursor" code
3496
3497 2004-03-11  André Pönitz  <poenitz@gmx.net>
3498
3499         * buffer.[Ch]: use InsetText instead of LyXText as container for
3500         the main lyx text.
3501
3502         * dociterator.[Ch]: drop the BufferView * member which is not needed
3503         anymore after the change to buffer.C
3504
3505         * paragraph_funcs.C:
3506         * text.C:
3507         * text2.C:
3508         * BufferView.[Ch]:
3509         * BufferView_pimpl.[Ch]:
3510         * cursor.[Ch]:
3511         * cursor_slice.[Ch]: adjust
3512
3513         * text3.C: fix bug in mathDispatch
3514
3515 2004-03-08  André Pönitz  <poenitz@gmx.net>
3516
3517         * undo.[Ch]: use 'StableDocumentIterator' as base for
3518         the Undo struct.
3519
3520 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3521
3522         * LaTeXFeatures.C:
3523         * bufferparams.[Ch]: add jurabib support and param.
3524
3525         * LaTeX.C: add FIXME/comment.
3526
3527 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3528
3529         * buffer.C: increment file format to 230.
3530
3531 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3532
3533         * cursor.C (dispatch): avoid infinite loops
3534
3535 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3536
3537         * rowpainter.C (paintSelection): fix x coordinates
3538
3539 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3540
3541         * text.C (rowBreakPoint): fix breaking before displayed insets
3542
3543 2004-03-01  André Pönitz  <poenitz@gmx.net>
3544
3545         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3546
3547         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3548
3549         * Makefile.am:
3550         * BufferView.C:
3551         * BufferView_pimpl.C:
3552         * buffer.C:
3553         * lyxfind.C:
3554         * lyxfunc.C:
3555         * text.C:
3556         * text2.C:
3557         * text3.C: adjust
3558
3559 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3560
3561         * lyxtext.h:
3562         * text.C:
3563         * text2.C:
3564         * rowpainter.C:
3565         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3566         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3567
3568 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3569
3570         * Bidi.[Ch] (computeTables): const correctness
3571         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3572         fill_hfill, fill_label_hfill and x from Row
3573         * lyxtext.h: prepareToPrint returns a RowMetrics
3574         * rowPainter.C: adjust
3575         * text.C (prepareToPrint): use width, not textWidth. adjust
3576         (redoParagraphInternal, cursorX): adjust
3577         * text2.C (getColumnNearX): adjust
3578         (init): put a default value to the top LyXText::width
3579
3580 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3581
3582         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3583
3584 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3585
3586         * lyxtext.h: add FontIterator class
3587
3588         * text.C (FontIterator, operator*, operator->, operator++): add
3589         (rowBreakPoint, setRowWidth): adjust (fixing a
3590         rebreaking bug)
3591
3592 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3593
3594         * BufferView_pimpl.C (workAreaDispatch): allow also
3595         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3596
3597 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3598
3599         * text.C (rowBreakPoint): fix a bug showing with very large insets
3600
3601 2004-02-25  André Pönitz  <poenitz@gmx.net>
3602
3603         * text3.C:
3604         * cursor.[Ch]: move some mathed specific code to mathed
3605
3606 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3607
3608         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3609         use_tempdir in preferences
3610         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3611         tempfile creation
3612         * lyx_main.C: ensure that tempdir is valid
3613         * lyxlex.h: correct typo
3614         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3615         * paragraph.[Ch] (isMultiLingual): make const
3616         * cursor.[Ch] (openable): make const
3617
3618 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3619
3620         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3621
3622 2004-02-20  André Pönitz  <poenitz@gmx.net>
3623
3624         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3625
3626         * cursor.[Ch]: prepare for localized getStatus()
3627
3628         * lyxtext.h:
3629         * tabular.C:
3630         * text.C:
3631         * text2.C:
3632         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3633
3634 2004-02-20  André Pönitz  <poenitz@gmx.net>
3635
3636         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3637
3638 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3639
3640         * text2.C (setCursorFromCoordinates): switch to absolute coords
3641         (cursorUp): adjust
3642         (cursorDown): adjust
3643         * text3.C (dispatch): adjust
3644
3645 2004-02-16  André Pönitz  <poenitz@gmx.net>
3646
3647         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3648           insets/ChangeLog)
3649
3650         * cursor_slice.[Ch]: remove unneeded acessor function
3651
3652         * lyxtext.h: rename rtl() to isRTL()
3653
3654         * rowpainter.C:
3655         * tabular.C:
3656         * text.C:
3657         * text2.C:
3658         * text3.C: adjust
3659
3660 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * rowpainter.C (paintSelection): coord fix
3663
3664 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3665
3666         * Spacing.C: compile fix
3667
3668 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3669
3670         * cursor.C (dispatch): restore current_ before returning
3671
3672 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3673
3674         * text2.C (cursorUp, cursorDown): fix coords
3675         (moveUp): fix crash
3676
3677 2004-02-12  André Pönitz  <poenitz@gmx.net>
3678
3679         * lyxtext.h:
3680         * text.C:
3681         * text2.C:
3682         * text3.C: add LCursor & parameter to most cursor movement functions
3683           remove usage of LyXText::cursorRow() and cursorPar()
3684
3685         * cursor.[Ch]: add textRow() needed members
3686
3687         * BufferView.C:
3688         * BufferView_pimpl.C:
3689         * paragraph.[Ch]:
3690         * BufferView.C:
3691         * BufferView_pimpl.C: adjust
3692
3693 2004-02-11  André Pönitz  <poenitz@gmx.net>
3694
3695         * lyxfunc.C:
3696         * BufferView.[Ch]:
3697         * BufferView_pimpl.C: shift undo/redo handling
3698
3699         * cursor.[Ch]: fix mathed crash
3700
3701         * lyxfind.C:
3702         * lyxtext.h: move selectionAsText to LCursor
3703
3704         * output_latex.C:
3705         * paragraph.C:
3706         * text.C:
3707         * text2.C:
3708         * text3.C: adjust
3709
3710         * rowpainter.C: fix excessive drawing
3711
3712 2004-02-06  André Pönitz  <poenitz@gmx.net>
3713
3714         * BufferView.[Ch]:
3715         * BufferView_pimpl.[Ch]:
3716         * text3.C: move some text specific LFUN handling
3717
3718 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3719
3720         * text3.C (checkInsetHit): adjust coords
3721         * text2.C (getColumnNearX): adjust coords
3722         (edit): adjust coords
3723         * text.C (getRowNearY): add two asserts
3724
3725 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3726
3727         * converter.C:
3728         * format.C: add using std::distance to compile on gcc 2.95/stlport
3729
3730 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3731
3732         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3733
3734 2004-02-04  André Pönitz  <poenitz@gmx.net>
3735
3736         * BufferView.[Ch] (insertInset):
3737         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3738
3739         * text2.C:
3740         * text3.C: adjust
3741
3742 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3743
3744         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3745         on the default clause of the switch
3746         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3747         wasn't catched by LCursor::dispatch
3748
3749 2004-02-03  André Pönitz  <poenitz@gmx.net>
3750
3751         * BufferView.C:
3752         * cursor.[Ch]: some additional asserts
3753
3754         * undo.[Ch]: remove LyXText dependency in interface
3755
3756         * lyxfunc.C: adjust
3757
3758         * lyxtext.h (firstPar, lastPar): remove dead functions
3759
3760         * text.C:
3761         * text2.C:
3762         * text3.C:
3763         * paragraph.[Ch]: adjust
3764
3765 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3766
3767         * lyxfind.C (find): fix argument order in call to ::find
3768
3769 2004-02-02  André Pönitz  <poenitz@gmx.net>
3770
3771         * cursor.[Ch]: remove direct access to anchor
3772
3773         * text.C: remove findText() hack
3774
3775 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3776
3777         * iterators.[Ch] (lockPath): remove in favour of...
3778         * BufferView.[Ch] (setCursor): this addition
3779         * BufferView.C (putSelectionAt): adjust
3780         * undo.C (performUndoOrRedo): adjust
3781         * lyxfunc.C (dispatch): adjust
3782
3783 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3784
3785         * iterators.C (lockPath): add a missing slice
3786         * undo.C (performUndoOrRedo): remove redundant positioning code
3787
3788 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * vc-backend.C (scanMaster): ";" -> ';'
3791
3792 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3795         std::binary_function
3796
3797         * lyxtextclass.C (compare_name): rename to...
3798         (LayoutNamesEqual): ...this
3799
3800         * lyxlex_pimpl.C (compare_tags): inherit from
3801         std::binary_function, put back into anon namespace
3802
3803         * lyxfind.C (MatchString): inherig from std::binary_function
3804         (findChange): use empty() istead of !size()
3805
3806         * format.C (FormatNamesEqual): new functor
3807         (getFormat): use it
3808         (getNumber): use it
3809         (add): use it
3810         (erase): use it
3811         (setViewer): use it
3812
3813         * converter.C (compare_Converter): rename to...
3814         (ConverterEqual): ...this, and fixup a bit.
3815         (getConverter): use it, and make function const
3816         (getNumber): use it, and make function const
3817         (add): use it
3818         (erase): use it:
3819
3820         * bufferlist.C: add using boost::bind
3821
3822         * MenuBackend.C (MenuNamesEqual): new functor
3823         (hasMenu): use it, and make function const
3824         (hasSubmenu): use nested bind to get rid of compare_memfun.
3825
3826 2004-01-30  André Pönitz  <poenitz@gmx.net>
3827
3828         * BufferView_pimpl.C:
3829         * cursor.C:
3830         * cursor.h:
3831         * cursor_slice.[Ch]:
3832         * lyxfunc.C:
3833         * lyxtext.h:
3834         * paragraph_funcs.C:
3835         * paragraph_funcs.h:
3836         * rowpainter.C:
3837         * text.C:
3838         * text2.C:
3839         * text3.C: move some of the edit(x,y) handling to the insets
3840         some coordinate changes.
3841
3842 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * text.C: add using statements for std::advance and std::distance
3845
3846         * paragraph.C: add using statement for std::distance
3847
3848         * lyxfind.C: add using statement for std::advance
3849
3850         * cursor.C (region): remove std:: from swap
3851         (openable): use nucleus in stead of operator->
3852
3853         * BufferView.C: add using statements for std::distance and std::swap
3854
3855 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * iterators.C: Remove the pimple, move the needed structures to
3858         the header file. Create accessor for the positions stack.
3859         (asPosIterator): remove function
3860
3861         * PosIterator.C (PosIterator): move constructors to top of file
3862         (PosIterator): reimplement the constructor taking a ParIterator in
3863         terms of setFrom.
3864         (setFrom): new function
3865         (operator!=): inline it
3866
3867 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * lyxfind.C (replaceAll): use std::advance
3870
3871         * iterators.h: inherit from std::iterator.
3872
3873         * PosIterator.C (advance, distance): remove
3874         * PosIterator.h: interit from std::iterator.
3875
3876 2004-01-26  André Pönitz  <poenitz@gmx.net>
3877
3878         * BufferView.[Ch]:
3879         * BufferView_pimpl.[Ch]:
3880         * InsetList.[Ch]:
3881         * PosIterator.[Ch]:
3882         * buffer.h:
3883         * bufferview_funcs.C:
3884         * cursor.[Ch]:
3885         * cursor_slice.h:
3886         * factory.[Ch]:
3887         * iterators.[Ch]:
3888         * lyxfind.C:
3889         * lyxfunc.C:
3890         * lyxtext.h:
3891         * output_docbook.C:
3892         * output_latex.C:
3893         * output_linuxdoc.C:
3894         * output_plaintext.C:
3895         * paragraph.[Ch]:
3896         * paragraph_funcs.[Ch]:
3897         * paragraph_pimpl.[Ch]:
3898         * rowpainter.C:
3899         * tabular.C:
3900         * tabular.h:
3901         * text.C:
3902         * text2.C:
3903         * text3.C: more IU:  dumps most of the rest of the mathcursor
3904     implementation into cursor.[Ch]; "globalize" a bit of it.
3905
3906 2004-01-25  Angus Leeming  <leeming@lyx.org>
3907
3908         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3909
3910 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3911
3912         * LaTeXFeatures.h: add nice_ and nice() const
3913         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3914
3915 2004-01-20  André Pönitz  <poenitz@gmx.net>
3916
3917         * BufferView.[Ch]:
3918         * BufferView_pimpl.C:
3919         * PosIterator.C:
3920         * bufferview_funcs.C:
3921         * cursor.[Ch]:
3922         * cursor_slice.[Ch]:
3923         * factory.C:
3924         * iterators.C:
3925         * lyx_cb.C:
3926         * lyxfind.C:
3927         * lyxfunc.C:
3928         * lyxtext.h:
3929         * rowpainter.C:
3930         * text.C:
3931         * text2.C:
3932         * text3.C:
3933         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3934           LCursor and mathcursor parts to LCursor and InsetBase.
3935
3936 2004-01-15  André Pönitz  <poenitz@gmx.net>
3937
3938         * cursor_slice.[Ch]: add a few covienience functions
3939
3940         * funcrequest.[Ch]: remove BufferView * member
3941
3942         * BufferView_pimpl.C:
3943         * cursor.C:
3944         * factory.[Ch]:
3945         * lyxfind.[Ch]:
3946         * lyxfunc.C:
3947         * lyxtext.h:
3948         * text3.C:
3949         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3950
3951 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3952
3953         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3954         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3955
3956 2004-01-13  André Pönitz  <poenitz@gmx.net>
3957
3958         * textcursor.[Ch]:
3959         * lyxtext.h: hide cursor and selection anchor behind accessor function
3960
3961         * BufferView.C:
3962         * BufferView_pimpl.[Ch]:
3963         * PosIterator.C:
3964         * bufferview_funcs.C:
3965         * cursor.h:
3966         * lyxfind.C:
3967         * lyxfunc.C:
3968         * text.C:
3969         * text2.C:
3970         * text3.C:
3971         * undo.C: adjust
3972
3973         * cursor.h:
3974         * cursor_slice.[Ch]: some integer type changes for inset unification
3975
3976         * lyxcursor.[hC]: remove, it's CursorSlice now.
3977
3978         * Makefile.am:
3979         * BufferView_pimpl.[Ch]:
3980         * bufferview_funcs.C:
3981         * cursor_slice.C:
3982         * lyxtext.h:
3983         * text.C:
3984         * text2.C:
3985         * text3.C:
3986         * textcursor.[Ch]: adjust
3987
3988 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3989
3990         * text2.C (undoSpan): add and use
3991         * text.C (breakParagraph): use undoSpan (fix bug 578)
3992         * lyxtext.h: adjust
3993
3994 2004-01-08  Angus Leeming  <leeming@lyx.org>
3995
3996         * BufferView_pimpl.C (MenuInsertLyXFile):
3997         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3998         * lyxfunc.C (menuNew, open, doImport):
3999         FileFilterList change to the FileDialog open and save functions.
4000
4001 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4002
4003         * ShareContainer.h: make isEqual and isUnique adaptable
4004
4005         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4006
4007 2004-01-07  Angus Leeming  <leeming@lyx.org>
4008
4009         * LyXAction.C:
4010         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4011
4012         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4013
4014         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4015         functions replacing find, replace and replaceAll.
4016
4017         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4018         LFUN_WORDFIND(FORWARD|BACKWARD).
4019
4020 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4021
4022         * text.C (breakParagraph): remove an outdated #warning
4023
4024 2004-01-07  André Pönitz  <poenitz@gmx.net>
4025
4026         * lyxfind.C: somewhat clearer logic
4027
4028         * text.C: prevent crash in cursorX on unitialized row cache
4029
4030 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4031
4032         * lyxcursor.[Ch] (operator>): add
4033         * textcursor.C (selStart, selEnd): use std::min and std::max
4034
4035 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4036
4037         * Chktex.C: include boost/format.hpp
4038
4039 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4040
4041         * InsetList.C: replace functor MathcIt with adaptable functor
4042         InsetTablePosLess
4043         (insetIterator): modify accordingly
4044
4045         * BranchList.h: move the BranchNamesEqual functor here from...
4046         * BranchList.C: ... to here
4047
4048         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4049         SameName and match.
4050         (add): replace a finding loop with std::find_if.
4051
4052 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4053
4054         * output_docbook.C: moving LatexParam functionality into
4055         .layout files
4056
4057 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4058
4059         * buffer.C: increment format to 229.
4060
4061 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4062
4063         * LaTeXFeatures.C:
4064         * lyx_sty.[Ch]: remove minipageindent_def
4065
4066         * LyXAction.C:
4067         * factory.C:
4068         * lfuns.h:
4069         * lyxfunc.C:
4070         * text3.C: remove LFUN_INSET_MINIPAGE
4071
4072 2003-12-28  Angus Leeming  <leeming@lyx.org>
4073
4074         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4075
4076 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4077
4078         * text2.C (setParagraph): fix off-by-one crash
4079
4080 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4081
4082         * output_docbook.C: header stuff for AGU
4083
4084 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4085
4086         * text2.C (redoCursor): remove
4087         * text.C:
4088         * text3.C:
4089         * BufferView_pimpl.C: remove calls to redoCursor and
4090         setCursor(cursor.par(), cursor.pos()) all around
4091
4092 2003-12-15  Angus Leeming  <leeming@lyx.org>
4093
4094         * buffer.C: up the format to 228.
4095
4096 2003-12-15  André Pönitz  <poenitz@gmx.net>
4097
4098         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4099         slices
4100
4101         * Makefile.am:
4102
4103         * BufferView_pimpl.C:
4104         * cursor.[Ch]:
4105         * lyxcursor.[Ch]:
4106         * rowpainter.[Ch]:
4107         * lyxtext.h:
4108         * text.C:
4109         * text2.C:
4110         * text3.C: adjust
4111
4112 2003-12-15  Angus Leeming  <leeming@lyx.org>
4113
4114         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4115         than getFromGUIName to manipulate the color.
4116
4117 2003-12-14  Angus Leeming  <leeming@lyx.org>
4118
4119         * BranchList.[Ch]: minimize the API.
4120         (Branch::getBranch, getColor): now return a 'const &'.
4121         (Branch::setSelected) now returns a bool set to true if the
4122         selection status changes.
4123         (BranchList::clear, size, getColor, setColor, setSelected,
4124         allBranches, allSelected, separator): removed.
4125         (BranchList::find): new functions, returning the Branch with
4126         the given name.
4127         (BranchList::add, remove): return a bool indicating that
4128         the operation was successful.
4129
4130         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4131         new InsetBranch::isBranchSlected member function.
4132
4133         * LColor.[Ch]: mimimize the API.
4134         (fill): renamed as addColor and made private.
4135         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4136         versions of these functions taking a string arg have been removed.
4137
4138         * bufferparams.C (readToken):
4139         * lyxfunc.C (dispatch):
4140         * lyxrc.C (read): changes due to the altered BranchList and
4141         LColor APIs.
4142
4143         * factory.C (createInset, readInset): changes due to altered
4144         InsetBranch c-tor.
4145
4146 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4147
4148         * factory.C:
4149         * lyxfunc.C: remove insetminipage. "minipage-insert"
4150         now produces a frameless minipage box inset.
4151
4152 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4153
4154         * textcursor.[Ch] (selStart,selEnd): add new methods
4155         remove selection::start, end, use LyXCursor::operator<
4156         * lyxcursor.[Ch] (operator<): add
4157         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4158         * BufferView.[Ch] (unsetXSel): add
4159         * text2.C (clearSelection): use unsetXSel,adjust
4160         * text.C: adjust
4161         * text3.C: adjust
4162         * rowpainter.C: adjust
4163         * bufferview_funcs.C (put_selection_at): adjust
4164
4165 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4166
4167         * BufferView_pimpl.C: small coord. correction
4168
4169 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4170
4171         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4172         dragging over the splash screen.
4173
4174 2003-12-11  Angus Leeming  <leeming@lyx.org>
4175
4176         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4177         as it is now handled in LyXText::dispatch.
4178
4179         * text3.C (doInsertInset): remove a level of nesting.
4180
4181 2003-12-11  Angus Leeming  <leeming@lyx.org>
4182
4183         * factory.C (createInset): changes due to the changed interface to
4184         InsetCommandMailer::string2params.
4185
4186 2003-12-10  Angus Leeming  <leeming@lyx.org>
4187
4188         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4189         'dialog-show-new-inset <inset name>'
4190
4191 2003-12-10  Angus Leeming  <leeming@lyx.org>
4192
4193         * buffer.C: up the format to 227.
4194
4195         * factory.C: the box inset is now identified simply by 'Box'.
4196
4197 2003-12-10  Angus Leeming  <leeming@lyx.org>
4198
4199         * buffer.C: up the format to 226.
4200
4201         * factory.C: the note inset is now identified simply by 'Note'.
4202
4203 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4204
4205         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4206         when a pit is enough. Standarize a couple of loops.
4207
4208 2003-12-05  Angus Leeming  <leeming@lyx.org>
4209
4210         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4211         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4212         data to the re-worked "log" dialog.
4213
4214 2003-12-03  André Pönitz  <poenitz@gmx.net>
4215
4216         * PosIterator.C:
4217         * iterators.C:
4218         * lyxtext.h:
4219         * output_latex.C:
4220         * paragraph_funcs.C:
4221         * text.C:
4222         * text2.C: use Inset::getText instead of Inset::getParagraph
4223
4224 2003-12-03  André Pönitz  <poenitz@gmx.net>
4225
4226         * buffer.[Ch]:
4227         * lyxtext.h:
4228         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4229         InsetText::read() as LyXText::read()
4230
4231 2003-12-02  Angus Leeming  <leeming@lyx.org>
4232
4233         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4234         type. Add a comment in the implementation that the function uses
4235         the stream's bad() function rather than fail() as the std::streams
4236         would do.
4237
4238 2003-12-02  André Pönitz  <poenitz@gmx.net>
4239
4240         * lyxlex.[Ch]: make interface more similar to std::stream
4241
4242         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4243
4244 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4245
4246         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4247
4248 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4249
4250         * vspace.[Ch]: remove VSpace::NONE
4251
4252 2003-12-01  André Pönitz  <poenitz@gmx.net>
4253
4254         * buffer.[Ch]:
4255         * lyxtext.h: move ParagraphList member to LyXText
4256         rename LyXText::ownerParagraphs to LyXText::paragraph
4257
4258         * CutAndPaste.C:
4259         * bufferview_funcs.C:
4260         * iterators.[Ch]:
4261         * lyx_cb.C:
4262         * paragraph.C:
4263         * rowpainter.C:
4264         * tabular.C:
4265         * text.C:
4266         * text2.C:
4267         * text3.C: adjust
4268
4269         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4270
4271         * undo.C: fix cursor positioning
4272
4273 2003-12-01  John Levon  <levon@movementarian.org>
4274
4275         * BufferView_pimpl.C: fix a crash on exit with
4276         a buffer open
4277
4278 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4279
4280         * BranchList.C: fix setSelected() method.
4281
4282 2003-11-28  André Pönitz  <poenitz@gmx.net>
4283
4284         * ParagraphParameters.[Ch]:
4285         * ParameterStruct.h: remove space above/below from Paragraph to
4286          InsetVSpace
4287
4288         * BufferView_pimpl.C:
4289         * factory.C:
4290         * lyxfunc.C:
4291         * lyxtext.h:
4292         * output_latex.C:
4293         * paragraph.C:
4294         * paragraph_funcs.C:
4295         * rowpainter.[Ch]:
4296         * text.C:
4297         * text2.C:
4298         * text3.C: adjust
4299
4300 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4301
4302         * factory.C: Syntax change for CharStyles
4303
4304 2003-11-28  André Pönitz  <poenitz@gmx.net>
4305
4306         * BufferView.[Ch]:
4307         * BufferView.[Ch]:
4308         * buffer.[Ch]:
4309         * buffer.[Ch]: move LyXText member
4310
4311 2003-11-28  André Pönitz  <poenitz@gmx.net>
4312
4313         * BufferView.[Ch]: make LyXText * text a private member
4314
4315         * BufferView_pimpl.C:
4316         * cursor.C:
4317         * iterators.C:
4318         * lyx_cb.C:
4319         * lyxfind.C:
4320         * lyxtext.h:
4321         * rowpainter.[Ch]:
4322         * text.C:
4323         * text2.C:
4324         * undo.C: adjust
4325
4326         * output_plaintext.C: cleanup
4327
4328 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4329
4330         * buffer.C:
4331         * lyxtextclass.[Ch]: parametrize SGML document header
4332
4333 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4334
4335         * converter.[Ch]:
4336         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4337         getFlavor().
4338
4339 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4340
4341         * text2.C (setFont): rework using PosIterator (no more recursive)
4342         (setCharFont): no more needed
4343         (setLayout): no more selection cursors fiddling (done by redoCursor)
4344         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4345         destroy remaining ones)
4346
4347 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4348
4349         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4350         * lyxtext.h: ditto
4351         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4352         selection cursors
4353         * lyxfunc.C: adjust
4354         * text3.C: adjust + re-allow multi par depth changes
4355         * textcursor.C: simplify a bit
4356
4357 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4358
4359         * src/buffer.C:
4360         * src/lyxlayout.C:
4361         * src/lyxlayout.h:
4362         * src/lyxtext.h:
4363         * src/output_docbook.C:
4364         * src/output_latex.C:
4365         * src/paragraph.C:
4366         * src/paragraph.h:
4367         * src/sgml.C:
4368         * src/sgml.h:
4369         * src/text2.C: Introducing a number of tags parametrizing various
4370         XML formats that we may want to support
4371
4372 2003-11-25  André Pönitz  <poenitz@gmx.net>
4373
4374         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4375
4376         * lyxtext.h (leftMargin/rightMargin): simplify interface
4377
4378         * rowpainter.C:
4379         * text.C:
4380         * text2.C:
4381         * text3.C: adjust
4382
4383 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4384
4385         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4386         master file to any child files. Fixes bug 546.
4387
4388 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4389
4390         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4391
4392 2003-11-24  André Pönitz  <poenitz@gmx.net>
4393
4394         * rowpainter.C: simplification
4395
4396         * text2.C (updateCounters): remove call to redoParagraph on
4397         changed labels as this is far too expensive.
4398
4399 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4400
4401         * converter.C (convert): fix a crash: this function gets
4402         called with buffer == 0 from importer code.
4403
4404 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * text3.C (cursorPrevious): make sure that we do not compare
4407         iterators form different containers.
4408         (cursorNext): ditto
4409
4410         * rowpainter.C (paintSelection): make sure that we do not compare
4411         iterators from different containers.
4412
4413         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4414         iterators from different ParagraphList containers.
4415         [NEXT] ditto
4416
4417         * text2.C (LyXText): change order of initialization slightly
4418         (operator=): new function. copy all variables except cache_par_
4419         (moveUp): make sure that we do not compare iterators from
4420         different ParagraphList constainers.
4421         (moveDown): ditto
4422
4423         * text.C (firstPar): new function
4424         (lastPar): new function
4425         (endPar): new function
4426
4427         * lyxtext.h: move things around and group public functions, public
4428         variables, private functions, private variables
4429
4430 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4431
4432         * factory.C: change call to InsetERT constructor to avoid
4433         additional invocation of method status
4434         * text2.C (toggleInset): remove redundant update() call
4435         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4436         instead of a Bufferview pointer
4437
4438 2003-11-21  André Pönitz  <poenitz@gmx.net>
4439
4440         * rowpainter.C: simplification
4441
4442 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4443
4444         * text3.C (dispatch): make possible to extend a word/row selection
4445         with the mouse
4446
4447 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4448
4449         * lyxtext.h: x0_,y0_ -> xo_,yo_
4450         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4451         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4452         * rowpainter.C (paintRows): paint full paragraphs
4453
4454 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4455
4456         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4457         screen coordinates)
4458
4459 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4460
4461         * lyxtext.h: add x0_, y0_
4462         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4463         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4464
4465 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4466
4467         * text2.C (setCursorIntern): move the x_target update here *
4468         * text3.C: change some bv() to true/false in calls to
4469         cursorUp/Down/Right/Left
4470         * cursor.C: use helper function.
4471
4472 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4473
4474         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4475         * paragraph_funcs.[Ch]: correct comment
4476         * rowpainter.C: do not paint selections away from bv->cursor()
4477         Fix a long standing selection painting bug.
4478         * text3.C: generalize mouse-selection code to LyXTexts other that
4479         top one
4480         * textcursor.C: do not use y coords if we can use par offsets
4481
4482 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4483
4484         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4485         cursor position after e.g. inset insert)
4486
4487 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4488
4489         * lyxfind.C (replace): adjust to locking removal + some
4490         code simplification
4491
4492 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4493
4494         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4495         of the path
4496
4497 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4498
4499         * lyxlayout.[Ch]:
4500         * output_docbook.C: XML sanitation: new layout
4501         parameters InnerTag and CommandDepth
4502
4503 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4504
4505         * BufferView_pimpl.C:
4506         * factory.C:
4507         * text3.C: Fix the insertion and modification of button-style
4508         insets
4509
4510 2003-11-13  André Pönitz  <poenitz@gmx.net>
4511
4512         * InsetList.[Ch]: remove deleteLyXText
4513
4514         * paragraph.[Ch]: cache beginOfBody position
4515
4516         * Bidi.C:
4517         * text.C:
4518         * text2.C:
4519         * text3.C: remove superfluous update() calls
4520
4521         * vspace.C: cleanup
4522
4523 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4524
4525         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4526         * BufferView.C (fitLockedInsetCursor): remove
4527         * cursor.[Ch] (getDim): add
4528         * text.C (getRowNearY): add faster version
4529         * text3.C: remove some update calls
4530
4531 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4532
4533         * LaTeXFeatures.C:
4534         * LyXAction.C:
4535         * MenuBackend.C:
4536         * MenuBackend.h:
4537         * dispatchresult.h:
4538         * factory.C:
4539         * lfuns.h:
4540         * lyxfunc.C:
4541         * lyxtextclass.C:
4542         * lyxtextclass.h:
4543         * text3.C: The Character Style /XML short element patch.
4544
4545 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4546
4547         * text3.C:
4548         * factory.C: Small step to solving 'unable to insert some insets'
4549         problem
4550
4551 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4552
4553         * cursor.[Ch] (updatePos): new function for updating the y
4554         position of the tip inset
4555         * bufferview_funcs.C (put_selection_at):
4556         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4557
4558 2003-11-11  André Pönitz  <poenitz@gmx.net>
4559
4560         * text.C: remove big comment on invalid Paragraph pointers as it is
4561         not valid anymore
4562
4563 2003-11-11  André Pönitz  <poenitz@gmx.net>
4564
4565         * text_funcs.[Ch]: merge with ...
4566
4567         * text.C: ... this
4568
4569         * lyxtext.h:
4570         * text2.C:
4571         * text3.C: adjust
4572
4573         * Makefile.am: remove text_funcs.[Ch]
4574
4575 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4576
4577         * cursor.C (getPos): return absolute cached y coord
4578
4579         * BufferView_pimpl.C (fitCursor): new simplistic code
4580         (workAreaDispatch): add a fitCursor call
4581
4582 2003-11-10  André Pönitz  <poenitz@gmx.net>
4583
4584         * BufferView.[Ch]:
4585         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4586
4587 2003-11-10  André Pönitz  <poenitz@gmx.net>
4588
4589         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4590         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4591         indicate that the cursor needs to leave an inset
4592
4593         * lyxtext.h: remove inset locking
4594
4595         * cursor.[Ch]: re-implement functionality provided by inset locking
4596
4597         * BufferView.[Ch]:
4598         * BufferView_pimpl.[Ch]:
4599         * LyXAction.C:
4600         * bufferview_funcs.[Ch]:
4601         * factory.C:
4602         * funcrequest.[Ch]:
4603         * iterators.C:
4604         * lyx_cb.C:
4605         * lyxfind.C:
4606         * lyxfunc.C:
4607         * text.C:
4608         * text2.C:
4609         * text3.C:
4610         * undo.C: adjust
4611
4612 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4613
4614         * PosIterator.[Ch]: replace the stack with a vector, add inset
4615         accesor
4616         * iterators.[C]: adjust
4617
4618 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4619
4620         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4621         replaced
4622         * paragraph_funcs.C (readParToken): put the correct id in the
4623         error item, not the id of the top paragraph
4624
4625 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4626
4627         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4628         * bufferview_funcs.C (put_selection_at): use the above
4629
4630 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4633
4634 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4635
4636         * output_linuxdoc.h:
4637         * output_plaintext.h:
4638         * output.h:
4639         * output_docbook.h: add #include statements
4640
4641 2003-11-05  José Matos  <jamatos@lyx.org>
4642
4643         * output_docbook.[Ch]:
4644         * output_latex.[Ch]:
4645         * output_linuxdoc.[Ch]:
4646         * output_plaintext.[Ch]: New files for output formats.
4647         * output.[Ch]: New file for helper functions.
4648
4649         * buffer.[Ch]:
4650         * paragraph_funcs.[Ch]: output functions moved to new files.
4651
4652         * outputparams.h: rename of latexrunparams.h
4653
4654         * LaTeX.[Ch]:
4655         * buffer.[Ch]:
4656         * bufferlist.[Ch]:
4657         * converter.[Ch]:
4658         * exporter.C:
4659         * paragraph.[Ch]:
4660         * paragraph_funcs.[Ch]:
4661         * paragraph_pimpl.[Ch]:
4662         * tabular.[Ch]: rename ascii to plaintext
4663         and LatexRunParams to OutputParams.
4664
4665 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4666
4667         * iterators.[Ch] (text): require bv argument
4668         * undo.C (recordUndo):
4669         * lyxfunc.C (dispatch):
4670         * bufferview_funcs.C (put_selection_at): adjust
4671
4672 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4673
4674         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4675
4676 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4677
4678         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4679         nestings
4680
4681 2003-11-04  André Pönitz  <poenitz@gmx.net>
4682
4683         * cursor.[Ch]: restructure
4684
4685         * BufferView.[Ch]:
4686         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4687
4688         * iterators.[Ch] (asCursor): remove
4689
4690         * lfuns.h: remove LFUN_INSET_EDIT
4691
4692         * lyxfunc.C:
4693         * tabular.C:
4694         * text.C:
4695         * text2.C:
4696         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4697
4698 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4699
4700         * lyxfind.[Ch]: complete overhaul
4701         * BufferView_pimpl.C:
4702         * lyxfunc.C: adjust
4703         * paragraph.[Ch] (insert): add
4704
4705 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * BufferView.[Ch]:
4708         * lyxtext.h:
4709         * text.C: remove dead spellcheck code
4710
4711 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4712
4713         * dispatchresult.h: add a val setter
4714
4715         * cursor.C (dispatch): use a tempvar for data_[i]
4716
4717 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * PosIterator.[Ch]: compile fix
4720
4721 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4722
4723         * text.C (cursorPar): deactivate the cursor cache
4724
4725 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4726
4727         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4728
4729 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4730
4731         * text3.C (dispatch): adjust for new DisptchResult semantics.
4732
4733         * lyxfunc.C (dispatch): handle update when return from
4734         Cursor::dispatch, adjust for new DispatchResult semantics.
4735
4736         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4737         DispatchResult(true) mean to not update. Add class functions for
4738         setting dispatched and update, as well as reading.
4739
4740         * cursor.C (dispatch): don't handle update here
4741
4742 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4745         * trans_mgr.C: adjust
4746
4747         * paragraph_funcs.C (readParToken): exception safety
4748
4749         * lyxvc.h: store the vcs pointer in a scoped_ptr
4750         * lyxvc.C: adjust
4751
4752         * lyxsocket.C (serverCallback): exception safety
4753
4754         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4755
4756         * ispell.C (clone): make it return a auto_ptr
4757
4758         * factory.C (createInset): exception safety
4759         (readInset): exception safety
4760
4761         * bufferlist.C (newBuffer): exception safety
4762
4763         * Thesaurus.C (Thesaurus): use initialization for aik_
4764
4765         * MenuBackend.C (expandToc): exception safety.
4766
4767 2003-11-03  André Pönitz  <poenitz@gmx.net>
4768
4769         * buffer.C:
4770         * buffer.h:
4771         * bufferview_funcs.C: remove getInsetFromId()
4772
4773         * lyxcursor.[Ch]:
4774         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4775
4776         * lyxfunc.C:
4777         * text2.C:
4778         * text3.C: adjust
4779
4780 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * PosIterator.C (distance, advance): new
4783         * bufferview_funcs.[Ch] (put_selection_at): new
4784         * iterators.[Ch] (lockPath): new
4785
4786 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4787
4788         * iterators.[Ch] (asPosIterator): added
4789         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4790         * PosIterator.[Ch]: added
4791
4792 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * text3.C:
4795         * lyxfunc.C:
4796         * cursor.C (dispatch):
4797         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4798
4799         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4800         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4801         contructor, add a class function dispatched. Remove operator>=
4802
4803 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * debug.C: only use the default constructor for debugstream
4806         (lyxerr) here.
4807
4808         * main.C (main): include debug.h and setup the lyxerr streambuf
4809         here.
4810
4811 2003-10-31  José Matos  <jamatos@lyx.org>
4812
4813         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4814
4815         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4816         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4817         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4818         * paragraph_pimpl.C (simpleTeXSpecialC):
4819         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4820         add LatexRunParams argument.
4821
4822         * exporter.C (Export): change call accordingly.
4823
4824         * latexrunparams.h: add new member to take care of the other backends.
4825 2003-10-30  José Matos  <jamatos@lyx.org>
4826
4827         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4828         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4829         factorise code for paragraph output.
4830         * buffer.[Ch]:
4831         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4832         move functions.
4833
4834 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4835
4836         * text3.C (dispatch):
4837         * lyxfunc.C (dispatch):
4838         * cursor.C (dispatch):
4839         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4840
4841         * dispatchresult.h: make the dispatch_result_t ctor explicit
4842
4843 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4844
4845         * sgml.[Ch]:
4846         * buffer.C: small refactoring of docbook stuff
4847
4848 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4851         meaning.
4852
4853 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4856         operator dispatch_result_t, and operators for == != and >=
4857
4858         * cursor.C (dispatch): adjust for operator dispatch_result_t
4859         removal. comment out call to update
4860
4861         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4862
4863 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * text3.C:
4866         * text2.C:
4867         * text.C:
4868         * lyxtext.h:
4869         * lyxfunc.C:
4870         * cursor.C:
4871         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4872         (dispatch):
4873
4874         * dispatchresult.h: new file, DispatchResult broken out of
4875         insets/insetbase.h
4876
4877         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4878
4879 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * text.C (rowBreakPoint): put a hack inside #if 0
4882
4883 2003-10-28  André Pönitz  <poenitz@gmx.net>
4884
4885         * lyxtext.h:
4886         * metricsinfo.C:
4887         * paragraph_funcs.C:
4888         * rowpainter.C:
4889         * text.C:
4890         * text2.C: general cleanup (lots of small stuff)
4891
4892 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4893
4894         * text2.C (cursorEnd): simple fix to the "end key goes to one
4895         before the end on last row" bug
4896
4897 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4898
4899         * text.C (backspace): fix the "zombie characters"
4900
4901 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4902
4903         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4904
4905 2003-10-27  André Pönitz  <poenitz@gmx.net>
4906
4907         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4908
4909         * factory.C: handle new InsetPagebreak, InsetLine
4910
4911         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4912         and move handling into new InsetPagebreak, InsetLine
4913
4914         * BufferView_pimpl.C:
4915         * LyXAction.C:
4916         * ParagraphParameters.C:
4917         * ParameterStruct.h:
4918         * lyxfunc.C:
4919         * lyxtext.h:
4920         * paragraph.C:
4921         * paragraph.h:
4922         * paragraph_funcs.C:
4923         * paragraph_pimpl.C:
4924         * rowpainter.C:
4925         * text.C:
4926         * text2.C:
4927         * text3.C: adjust
4928
4929 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * text.C:
4932         * lyxrow_funcs.[Ch]:
4933         * Bidi.C:
4934         * paragraph.C:
4935         * lyxtext.h:
4936         * rowpainter.C:
4937         * text2.C:
4938         * text3.C: remove lastPos uses in favour of Row::endpos
4939
4940 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * undo.C (performUndoOrRedo): fix two crashes by setting a
4943         cursor by hand and reordering some calls. Use bv->lockInset instead
4944         of inset->edit because the latter loses cursor information
4945
4946 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4947
4948         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4949         by Martin
4950         (rowBreakPoint): fix width. change point to point + 1.
4951         Add a missing check.
4952
4953 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4954
4955         * MenuBackend.C:
4956         * lyxfunc.C: fix (at least partly) the problems
4957         with the Nav menu and headers inside branch insets
4958         reported by Kayvan
4959
4960 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4961
4962         * paragraph.C (getChar): add strong asserts
4963
4964         * lyxrow_funcs.C (lastPos): remove hideous hack
4965
4966         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4967         (fill): adjust to that (avoid an infinite loop)
4968
4969 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4970
4971         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4972
4973 2003-10-23  André Pönitz  <poenitz@gmx.net>
4974
4975         * RowList_fwd.h: change list<> to vector<> to gain speed
4976         after suggestion from Alfredo
4977
4978 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * lyxtext.h: move the bidi stuff from here...
4981         * text.C: and here
4982         * text2.C: and here
4983         * Bidi.[Ch]: ... to here
4984
4985 2003-10-23  André Pönitz  <poenitz@gmx.net>
4986
4987         * lyxtext.h:
4988         * text.C (isLastRow, isFirstRow): new functions
4989
4990         * paragraph.h: new width cache member
4991
4992         * rowpainter.C: replace RowList::iterator with Row & where possible
4993
4994         * lyxfunc.C: replace several view()->text with a single call
4995
4996         * toc.C: fix 'unused' warning
4997
4998 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5001         when woring with stream::pos_type
5002         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5003
5004 2003-10-22  André Pönitz  <poenitz@gmx.net>
5005
5006         * lyxtext.h:
5007         * text.C: use Row & instead of RowList::iterator
5008
5009         * lyxrow.h: rename end() to endpos()
5010
5011         * rowpainter.C:
5012         * text.C:
5013         * text2.C: adjust
5014
5015 2003-10-22  Angus Leeming  <leeming@lyx.org>
5016
5017         * buffer.[Ch] (fully_loaded): new member function, returning true
5018         only when the file has been loaded fully.
5019         Used to prevent the premature generation of previews and by the
5020         citation inset to prevent computation of the natbib-style label.
5021
5022         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5023         templates are all set up.
5024
5025         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5026
5027 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5028
5029         * text.C: fixed an "oops" in the "is a bit silly"
5030         bug fix
5031
5032 2003-10-21  André Pönitz  <poenitz@gmx.net>
5033
5034         * FuncStatus.[Ch]: small stuff, whitespace
5035
5036         * lyxfont.[Ch]: operator<<() for debug reasons
5037
5038         * lyxfunc.C:
5039         * lyxrow_funcs.C:
5040         * lyxtext.h: whitespace, spelling
5041
5042         * paragraph.C: naming of variables
5043
5044         * text.C:
5045         * text2.C: small stuff
5046
5047
5048 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5049
5050         * text.C: (1) finish off the inset display() work;
5051         (2) fix the "is a bit silly" bug (accessing char
5052         past end of par).
5053
5054 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5055
5056         * text.C: re-introduce display() for insets, fixing the
5057         various bugs (stretch of line above, math inset
5058         positioning, ...)
5059
5060 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5061
5062         * text.C (rightMargin): remove spurious semicolon
5063
5064         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5065         1415)
5066
5067 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5068
5069         * text3.C: fix one crash due to wrong cursor def
5070
5071 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * vc-backend.C (scanMaster): make the regex static
5074
5075         * LaTeX.C (scanAuxFile): make the regexs static
5076
5077         * text3.C (doInsertInset, dispatch, dispatch):
5078         * text2.C (cursorUp, cursorDown):
5079         * text.C (selectNextWordToSpellcheck):
5080         * BufferView_pimpl.C (dispatch):
5081         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5082
5083 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5084
5085         * lyxsocket.C: include <cerrno>
5086
5087 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * lyxfunc.C (dispatch): remove textcache stuff
5090
5091         * bufferlist.C (release): remove textcache stuff
5092         (closeAll): ditto
5093
5094         * TextCache.C: delete file
5095         * TextCache.h: delete file
5096
5097         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5098
5099         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5100         delete of the bv_->text.
5101         (resizeCurrentBuffer): remove texcache stuff
5102         (workAreaResize): ditto
5103
5104 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5105
5106         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5107         action.
5108
5109 2003-10-16  André Pönitz  <poenitz@gmx.net>
5110
5111         * lyxrow.[Ch]:
5112         * paragraph.h:
5113         * rowpainter.C:
5114         * text.C:
5115         * text2.C:
5116         * text3.C: speed up by storing y positions per paragraph plus per-row
5117         offset instead of having a 'full' y position in the row.
5118
5119 2003-10-15  André Pönitz  <poenitz@gmx.net>
5120
5121         * iterators.[Ch]:
5122         * iterators.[Ch]:
5123         * undo.[Ch]: make undo aware of inner insets
5124
5125 2003-10-14  Angus Leeming  <leeming@lyx.org>
5126
5127         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5128         static member functions LyX::ref() and LyX::cref.
5129         (lastfiles): new accessor functions for the new lastfiles_ member var.
5130         (addLyXView, views_): add a new LyXView to the list of views_.
5131         (updateInset): loop over all LyXViews to call their own updateInset
5132         member function, returning a pointer to the Buffer owning the inset.
5133
5134         * BufferView_pimpl.C (loadLyXFile):
5135         * MenuBackend.C (expandLastfiles):
5136         * bufferlist.C (MenuWrite, QuitLyX):
5137         lastfiles is no longer a global variable.
5138         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5139
5140         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5141         static function. Access through LyX::cref().emergencyCleanup().
5142
5143 2003-10-14  André Pönitz  <poenitz@gmx.net>
5144
5145         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5146
5147         * undo.[Ch]: restoring part of 'undo in insets'
5148
5149         * Makefile.am:
5150         * undo_funcs.[Ch]: merge with undo.[Ch]
5151
5152         * tabular.C: small cleansing stuff
5153
5154 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5155
5156         * paragraph_funcs.C (readParToken): report unknown insets as error
5157         boxes. Use the outer paragraph as location (also for unknown
5158         tokens).
5159
5160         * factory.C (readInset): do not abort on reading an unknown inset.
5161         Eat it and return 0.
5162
5163 2003-10-13  Angus Leeming  <leeming@lyx.org>
5164
5165         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5166
5167         * lyxrc.C: displayTranslator is now a function,
5168         declared in GraphicsTypes.h.
5169
5170 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5171
5172         * format.C: new placeholder $$a to pass the socket address.
5173
5174         * bufferlist.[Ch]: new function getBufferFromTmp.
5175
5176         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5177           files in the temporary dir.
5178
5179 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5180
5181         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5182
5183         * Makefile.am: add lyxsocket.[Ch].
5184
5185         * lyx_main.C (error_handler): handle SIGPIPE.
5186
5187 2003-10-13  André Pönitz  <poenitz@gmx.net>
5188
5189         * BufferView_pimpl.C:
5190         * lyxtext.h:
5191         * text.C:
5192         * text2.C:
5193         * text3.C:
5194         * undo_funcs.[Ch]: use paroffset_type instead of
5195           ParagraphList::iterators to prevent multiple conversion
5196           (and get a more robust interface)
5197
5198 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5201         * lyxtext.h: ditto
5202         * text3.C (dispatch): ditto
5203
5204 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5207         move the onlyfile, use onlyfile instead of foundfile in a couple
5208         of places.
5209
5210         * DepTable.C (update): flush the error stream a bit more
5211
5212 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * lyxserver.C (callback): adjust
5215
5216         * lyxfunc.C (getStatus): add a missing brace in commented code
5217         (ensureBufferClean): reindent
5218         (dispatch): delete version taking a string
5219
5220 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * LaTeX.C (deplog): move found file handlig from here...
5223         (handleFoundFile): .. to new function here.
5224         (deplog): make sure to discover several files mentioned on the
5225         same log line.
5226
5227 2003-10-10  André Pönitz  <poenitz@gmx.net>
5228
5229         * lyxfunc.C:
5230         * lyxtext.h:
5231         * tabular.C:
5232         * text.C:
5233         * text2.C:
5234         * text3.C: fix some of the tabular crashes
5235
5236 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5237
5238         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5239
5240         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5241
5242 2003-10-09  André Pönitz  <poenitz@gmx.net>
5243
5244         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5245
5246         * BufferView.C:
5247         * BufferView_pimpl.C:
5248         * bufferview_funcs.C:
5249         * lyx_cb.C:
5250         * lyxcursor.C:
5251         * lyxfind.C:
5252         * lyxfunc.C:
5253         * lyxtext.h:
5254         * text.C:
5255         * text2.C:
5256         * text3.C:
5257         * text_funcs.[Ch]:
5258         * textcursor.[Ch]:
5259         * undo_funcs.C: adjust
5260
5261 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * text2.C (incrementItemDepth): new function, use a backtracking
5264         algorithm to discover the correct item depth.
5265         (resetEnumCounterIfNeeded): new function, use a backtracking
5266         algorithm to discover if counter reset is needed.
5267         (setCounter): use them. Simplify a bit. Add different labels for
5268         different item depths for itemize.
5269
5270         * paragraph.C (Paragraph): remove initialization of enumdepth
5271         (operator=): ditto
5272
5273         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5274         enumerate and itemize. Change the type of itemdepth to signed char.
5275
5276 2003-10-08  André Pönitz  <poenitz@gmx.net>
5277
5278         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5279           thing assignable.
5280         * text.C:
5281         * text2.C: adjust
5282
5283         * tabular.[Ch]: fix crash after 'row-insert'
5284
5285 2003-10-08  Angus Leeming  <leeming@lyx.org>
5286
5287         Fix doxygen warnings.
5288
5289         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5290         Remove CutAndPaste:: prefix from header file declaration.
5291
5292         * LColor.h (fill): remove LColor:: prefix from declaration.
5293
5294         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5295         use lyx::depth_type rather than Paragraph::depth_type so that
5296         header file and .C file match.
5297
5298         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5299
5300         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5301         * aspell.C: \file aspell_local.C -> \file aspell.C
5302         * gettext.C: \file gettext.C -> \file src/gettext.C
5303         * gettext.h: \file gettext.h -> \file src/gettext.h
5304         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5305         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5306         * text.C: \file text.C -> \file src/text.C
5307
5308         * toc.C: move comment so that doxygen is not confused.
5309
5310 2003-10-07  Angus Leeming  <leeming@lyx.org>
5311
5312         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5313
5314 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5315
5316         * aspell.C:
5317         * aspell_local.h: add forgotten std::string's.
5318
5319 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5320
5321         * LaTeXFeatures.C:
5322         * LyXAction.C:
5323         * factory.C:
5324         * lfuns.h:
5325         * lyxfunc.C:
5326         * text3.C: The Box patch. Fancybox support, minipage, parbox
5327
5328 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5329
5330         * CutAndPaste.h:
5331         * DepTable.h:
5332         * FloatList.h:
5333         * LaTeXFeatures.h:
5334         * ParagraphParameters.h:
5335         * TextCache.h:
5336         * Thesaurus.h:
5337         * bufferlist.h:
5338         * exporter.h:
5339         * importer.h:
5340         * lastfiles.h:
5341         * lyxfind.h:
5342         * lyxfont.h:
5343         * lyxlex.h:
5344         * lyxtextclasslist.h:
5345         * messages.h:
5346         * paragraph.h:
5347         * paragraph_pimpl.C:
5348         * textcursor.h: add <string> and other small fixes to make Lars'
5349         std::string patch compile with STLport.
5350
5351 2003-10-06  Angus Leeming  <leeming@lyx.org>
5352
5353         * LColor.h: Add missing #include <string>.
5354
5355 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * All most all file in all subdirs: Make <string> be the prefered
5358         way of getting to std::string, add using declarations.
5359
5360 2003-10-06  André Pönitz  <poenitz@gmx.net>
5361
5362         * metricsinfo.C: initialize LyXFont before changing attribute.
5363         (fixes the 'math in \emph is upright' bug)
5364
5365 2003-10-06  André Pönitz  <poenitz@gmx.net>
5366
5367         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5368
5369 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5370
5371         * graph.C:
5372         * paragraph_pimpl.C: Small fixes to build using STLport
5373
5374 2003-10-02  André Pönitz  <poenitz@gmx.net>
5375
5376         * lyxfunc.C:
5377         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5378
5379 2003-10-01  André Pönitz  <poenitz@gmx.net>
5380
5381         * factory.C: assert early
5382
5383 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5384
5385         * lyx_main.C: remove the global debug object
5386
5387         * debug.h: adjust for new debugstream
5388
5389         * debug.C: adjust for new debugstream and keep the global debug
5390         object here.
5391
5392 2003-09-22  Angus Leeming  <leeming@lyx.org>
5393
5394         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5395         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5396         an incomplete class LyXFont.
5397
5398 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5399
5400         * factory.C: bug fix in branches
5401
5402 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * lyxfunc.C (processKeySym): adjust
5405         (dispatch): adjust
5406         (dispatch): change arg name from ev to func, adjust
5407         (sendDispatchMessage): ditto
5408
5409         * lyx_main.C (defaultKeyBindings): adjust keybindings
5410         (deadKeyBindings): ditto
5411
5412         * kbsequence.C (addkey): return a FuncRequest
5413
5414         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5415
5416         * kbmap.C (bind): take a FuncRequest as arg, adjust
5417         (read): adjust
5418         (lookup): adjust
5419         (defkey): change to take a FuncRequest as arg, adjust
5420         (findbinding): take a FuncRequest as arg, adjust.
5421
5422         * funcrequest.h (operator=): added
5423
5424         * funcrequest.C (FuncRequest): default kb_action changed from
5425         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5426
5427         * buffer.C (dispatch): simplify
5428         (dispatch): adjust to take a FuncRequest as arg, adjust
5429
5430         * boost.C (assertion_failed): change assertion message slightly
5431
5432         * ToolbarBackend.C (read): simplify
5433
5434         * MenuBackend.C (binding): adjust call to findbinding, add a
5435         message if no binding is found.
5436         (read): simplify
5437         (expandToc): correct by adding a empty FuncRequest
5438
5439         * LyXAction.C: include <boost/assert.hpp>
5440         (isPseudoAction): delete function
5441         (LookupFunc): change name to...
5442         (lookupFunc): this. change return type to FuncRequest.
5443         (getActionName): take kb_action as arg, simplify
5444         (funcHasFlag): add an assert, simplify.
5445
5446 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * toc.C (action): return a FuncRequest, simplify
5449
5450         * lyxfunc.C (processKeySym): adjust
5451         (getStatus): delete version that takes an int.
5452         (getStatus): adjust
5453         (dispatch): delete version that takes action as int
5454         (dispatch): adjust
5455         (sendDispatchMessage): simplify and adjust
5456
5457         * funcrequest.C (getArg): take unsigned int as arg
5458
5459         * ToolbarBackend.C (read): adjust
5460         (add): delete version that takes func as a string.
5461         (getIton): take a FuncRequest as arg
5462
5463         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5464         action.
5465
5466         * MenuBackend.C (MenuItem): add a new construct that only takes a
5467         Kind, simplify the constructor use for submenus.
5468         (add): adjust
5469         (expandLastfiles): adjust
5470         (expandDocuments): adjust
5471         (expandFormats): adjust
5472         (expandFloatListInsert): adjust
5473         (expandFloatInsert): adjust
5474         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5475
5476         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5477         Remove class variables lyx_pseudo_map and lyx_arg_map
5478
5479         * LyXAction.C (searchActionArg): delete function
5480         (getPseudoAction): delete function
5481         (retrieveActionArg): delete function
5482         (LookupFunc): make it return kb_action, simplify.
5483         (getActionName): simplify
5484
5485         * factory.C (createInset): fix new bug
5486
5487 2003-09-19  Angus Leeming  <leeming@lyx.org>
5488
5489         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5490         masterFilename_ parameter in the include inset.
5491
5492         * factory.C (createInset): changes due to the changes to InsetInclude.
5493
5494 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5495
5496         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5497
5498 2003-09-18  Angus Leeming  <leeming@lyx.org>
5499
5500         * buffer.C:
5501         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5502         Inset::fillWithBibKeys.
5503         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5504
5505 2003-09-18  Angus Leeming  <leeming@lyx.org>
5506
5507         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5508         variables.
5509         (ctor): pass and store a 'Buffer const &'
5510         (buffer): new member function.
5511
5512         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5513         '*this' to the LaTeXFeatures ctor.
5514
5515 2003-09-18  Angus Leeming  <leeming@lyx.org>
5516
5517         * LColor.h:
5518         * lyxfont.C:
5519         * lyxfont.h:
5520         * lyxtext.h:
5521         * text.C: rename EnumLColor as LColor_color.
5522
5523 2003-09-18  Angus Leeming  <leeming@lyx.org>
5524
5525         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5526         remove #include "insets/insetbase.h" from cursor.h.
5527
5528 2003-09-18  Angus Leeming  <leeming@lyx.org>
5529
5530         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5531         InsetOld_code to remove #include "inset.h".
5532
5533         * iterators.C: add #include "insets/inset.h"
5534
5535 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5536
5537         * BufferView.C: remove more locking stuff that apparently doesn't
5538         do anything sensible.
5539
5540 2003-09-16  André Pönitz  <poenitz@gmx.net>
5541
5542         * paragraph.[Ch]:
5543         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5544           performance boost.
5545
5546 2003-09-16  Angus Leeming  <leeming@lyx.org>
5547
5548         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5549
5550         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5551         arg/return type.
5552
5553         * paragraph.h: remove #include "lyxfont.h". Forward declare
5554         LyXFont_size.
5555
5556 2003-09-16  Angus Leeming  <leeming@lyx.org>
5557
5558         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5559         of support/textutils.h.
5560         (isWord): move the contents of support/textutils.h's IsWordChar here.
5561
5562         * buffer.C:
5563         * lyxfind.C:
5564         * rowpainter.C:
5565         * text.C:
5566         * text2.C: add #include "paragraph.h".
5567
5568         * rowpainter.C:
5569         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5570
5571 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * main.C:
5574         * lyx_main.C:
5575         * lyx_cb.C:
5576         * buffer.C:
5577         * LaTeX.C: use namespace alias for lyx::support::os
5578
5579 2003-09-16  Angus Leeming  <leeming@lyx.org>
5580
5581         * bufferparams.C:
5582         * bufferview_funcs.C:
5583         * factory.C:
5584         * lyxfunc.C:
5585         * paragraph_pimpl.C:
5586         * rowpainter.C:
5587         * text.C: add #include "LColor.h".
5588
5589 2003-09-16  Angus Leeming  <leeming@lyx.org>
5590
5591         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5592         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5593         return LyXFont &.
5594         Store the FontBits::color variable as an int rather than as an
5595         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5596         file.
5597
5598         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5599         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5600         string calls together.
5601
5602         * lyxrc.C: add #include "LColor.h".
5603
5604 2003-09-15  Angus Leeming  <leeming@lyx.org>
5605
5606         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5607         a cow_ptr.
5608
5609 2003-09-15  Angus Leeming  <leeming@lyx.org>
5610
5611         * LColor.h: add an EnumLColor wrapper for LColor::color.
5612
5613         * lyxfont.[Ch] (color, setColor, realColor):
5614         * lyxtext.h, text.C (backgroundColor):
5615         pass EnumLColor args to/from the functions, rather than LColor::color
5616         ones.
5617
5618         * lyxfont.h:
5619         * lyxtext.h: forward declare EnumLColor.
5620
5621         * lyx_main.C: add #include "LColor.h".
5622
5623 2003-09-15  Angus Leeming  <leeming@lyx.org>
5624
5625         * .cvsignore: add lyx-gtk.
5626
5627 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * Chktex.C
5630         * LaTeX.C
5631         * LaTeXFeatures.C
5632         * ParagraphParameters.C
5633         * Spacing.C
5634         * buffer.C
5635         * bufferparams.C
5636         * bufferview_funcs.C
5637         * chset.C
5638         * counters.C
5639         * funcrequest.C
5640         * lyxfont.C
5641         * lyxgluelength.C
5642         * lyxlength.C
5643         * paragraph.C
5644         * paragraph_funcs.C
5645         * text3.C
5646         * vc-backend.C: remove usage of STRCONV
5647
5648 2003-09-15  Angus Leeming  <leeming@lyx.org>
5649
5650         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5651         explicitly define the color passed to the painter.
5652
5653 2003-09-15  Angus Leeming  <leeming@lyx.org>
5654
5655         * bufferparams.C (BufferParams): reorder member initializers to avoid
5656         compiler warning.
5657
5658 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5659
5660         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5661         * text.C (updateRowPositions): remove an unusual nop
5662
5663 2003-09-12  André Pönitz  <poenitz@gmx.net>
5664
5665         * BufferView_pimpl.C:
5666         * Bullet.C:
5667         * layout.h:
5668         * lyxfunc.C:
5669         * lyxlayout.[Ch]:
5670         * lyxtextclass.C:
5671         * rowpainter.C:
5672         * text.C:
5673         * text2.C:
5674         * Counters.[Ch]: finish the 'automatic counters' job
5675
5676 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5677
5678         * aspell.C: include <boost/assert.cpp> (compile fix)
5679
5680 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5681
5682         * boost.C (assertion_failed): use lyx::support::abort instead of
5683         assert.
5684
5685 2003-09-10  Angus Leeming  <leeming@lyx.org>
5686
5687         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5688         with their _fwd progeny.
5689
5690 2003-09-09  Angus Leeming  <leeming@lyx.org>
5691
5692         134 files throughtout the source tree: replace 'using namespace abc;'
5693         directives with the appropriate 'using abc::xyz;' declarations.
5694
5695 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5696
5697         * boost.C (emergencyCleanup): moved here from LAssert.c
5698         (assertion_failed): new function, called by BOOST_ASSERT
5699
5700         * several files: change Assert to BOOST_ASSERT
5701
5702 2003-09-09  Angus Leeming  <leeming@lyx.org>
5703
5704         * buffer.[Ch]: Add an Impl class and move Buffer's member
5705         variables into it. As a result move several header files out of
5706         buffer.h.
5707
5708         Add header files to lots of .C files all over the tree as a result.
5709
5710 2003-09-09  Angus Leeming  <leeming@lyx.org>
5711
5712         * buffer.[Ch]: make Buffer's member variables private. Add
5713         accessor functions.
5714
5715         Lots of changes all over the tree as a result.
5716
5717 2003-09-08  Angus Leeming  <leeming@lyx.org>
5718
5719         * graph.C: #include <config.h>.
5720
5721 2003-09-08  Angus Leeming  <leeming@lyx.org>
5722
5723         * BranchList.C:
5724         * BufferView.C:
5725         * BufferView_pimpl.C:
5726         * CutAndPaste.C:
5727         * DepTable.C:
5728         * LaTeX.C:
5729         * LaTeXFeatures.C:
5730         * LyXAction.C:
5731         * MenuBackend.C:
5732         * TextCache.C:
5733         * aspell.C:
5734         * buffer.C:
5735         * bufferlist.C:
5736         * changes.C:
5737         * chset.C:
5738         * converter.C:
5739         * counters.C:
5740         * debug.C:
5741         * graph.C:
5742         * ispell.C:
5743         * lyx_cb.C:
5744         * lyxfind.C:
5745         * lyxfunc.C:
5746         * lyxlex_pimpl.C:
5747         * lyxrc.C:
5748         * lyxrow.C:
5749         * paragraph.C:
5750         * rowpainter.C:
5751         * texrow.C:
5752         * text.C:
5753         * text2.C:
5754         * toc.C: remove redundant using directives.
5755
5756 2003-09-07  Angus Leeming  <leeming@lyx.org>
5757
5758         * LaTeXFeatures.h: remove #include "support/types.h".
5759         * ToolbarBackend.h: remove #include <algorithm>.
5760         * changes.h: remove #include <ctime>.
5761         * debug.h: remove #include <iosfwd>.
5762         * graph.h: remove #include "support/std_string.h".
5763         * lyx_main.h: remove #include <csignal>.
5764         * lyxlex_pimpl.h: remove #include <fstream>.
5765         * sgml.h: remove #include <algorithm>, <utility>.
5766         * toc.h: remove #include "support/std_ostream.h".
5767         Add #include <iosfwd>.
5768
5769 2003-09-07  Angus Leeming  <leeming@lyx.org>
5770
5771         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5772
5773         * converter.h: forward declare LatexRunParams.
5774         * encoding.h: remove #include "lyxrc.h".
5775         * lyxtext.h: remove #include "LColor.h".
5776         * lyxtextclass.h: remove #include "support/types.h".
5777         * trans.h: remove #include "tex-accent.h".
5778         * trans_mgr.h: remove #include "tex-accent.h".
5779         * insets/inset.h: remove #include "support/types.h", <vector>.
5780         * insets/insetcollapsable.h: remove #include "LColor.h".
5781         * insets/insetinclude.h: remove #include "dimension.h".
5782         * insets/insetlatexaccent.h: remove #include "dimension.h".
5783         * insets/insetoptarg.h:: remove #include "insettext.h".
5784         * insets/insettext.h: remove #include "dimension.h",
5785         <boost/shared_ptr.hpp>
5786
5787         * insets/renderers.h: add #include "dimension.h".
5788         * insets/updatableinset.h: add #include "support/types.h".
5789
5790         * many .C files: Associated changes.
5791
5792 2003-09-06  Angus Leeming  <leeming@lyx.org>
5793
5794         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5795         one, inside testInvariant.
5796
5797         * PrinterParams.C: new file.
5798         * PrinterParams.[Ch]: move the function bodies out of line.
5799
5800 2003-09-06  Angus Leeming  <leeming@lyx.org>
5801
5802         * ParagraphParameters.h: forward declare ParameterStruct rather than
5803         including its header file.
5804         (depth): moved out-of-line.
5805
5806 2003-09-06  Angus Leeming  <leeming@lyx.org>
5807
5808         * BufferView_pimpl.h:
5809         * kbmap.h:
5810         * kbsequence.h:
5811         * lyxfunc.h: forward declare LyXKeySym rather than
5812         #include "frontends/LyXKeySym.h".
5813
5814         * BufferView_pimpl.C:
5815         * kbmap.C:
5816         * kbsequence.C:
5817         * lyxfunc.C: associated changes.
5818
5819 2003-09-06  Angus Leeming  <leeming@lyx.org>
5820
5821         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5822         As a result, can remove the #include "insets/inset.h" from BufferView.h
5823
5824 2003-09-06  Angus Leeming  <leeming@lyx.org>
5825
5826         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5827         As a result, can remove the #include "insets/inset.h" from BufferView.h
5828
5829 2003-09-06  Angus Leeming  <leeming@lyx.org>
5830
5831         * buffer_funcs.C:
5832         * buffer.h:
5833         * bufferlist.C:
5834         * BufferView.C:
5835         * bufferview_funcs.C:
5836         * BufferView_pimpl.C:
5837         * CutAndPaste.C:
5838         * lyx_cb.C:
5839         * lyxfunc.C:
5840         * paragraph.h:
5841         * ParagraphParameters.C:
5842         * tabular.C:
5843         * text3.C:
5844         * toc.C:
5845         * undo_funcs.C:
5846         * frontends/controllers/ControlDocument.C:
5847         * insets/insetcaption.C: rearrange the #includes into some sort of
5848         coherent order.
5849
5850         * buffer.h: remove #includes ErrorList.h, undo.h
5851
5852 2003-09-06  Angus Leeming  <leeming@lyx.org>
5853
5854         * support/types.h: add a 'depth_type' typedef, used to store the
5855         nesting depth of a paragraph.
5856
5857         * paragraph.h:
5858         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5859         defining explicitly.
5860
5861         * buffer.h:
5862         * paragraph_funcs.h:
5863         * ParagraphParameters.h:
5864         * sgml.h: use lyx::depth_type rather than Paragraph or
5865         ParameterStruct's depth_type.
5866
5867         * buffer.h
5868         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5869
5870         * BufferView.C:
5871         * BufferView_pimpl.C:
5872         * CutAndPaste.C:
5873         * ParagraphParameters.C:
5874         * buffer_funcs.C:
5875         * bufferlist.C:
5876         * bufferview_funcs.C:
5877         * lyx_cb.C:
5878         * lyxfunc.C:
5879         * tabular.C:
5880         * text3.C:
5881         * toc.C:
5882         * undo_funcs.C:
5883         * frontends/LyXView.C:
5884         * frontends/controllers/ControlDocument.C:
5885         * frontends/controllers/ControlErrorList.C:
5886         * insets/insetbibitem.C:
5887         * insets/insetbranch.C:
5888         * insets/insetcaption.C:
5889         * insets/insetcollapsable.C:
5890         * insets/insetenv.C:
5891         * insets/insetert.C:
5892         * insets/insetfloat.C:
5893         * insets/insetfoot.C:
5894         * insets/insetfootlike.C:
5895         * insets/insetnewline.C:
5896         * insets/insetquotes.C:
5897         * insets/insettabular.C:
5898         * insets/insettext.C:
5899         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5900
5901         * frontends/controllers/ControlChanges.C: #include "changes.h".
5902
5903 2003-09-06  Angus Leeming  <leeming@lyx.org>
5904
5905         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5906         than #including paragraph.h.
5907
5908         * ParagraphList.h:
5909         * RowList.h: deleted. Superfluous.
5910
5911         * CutAndPaste.h:
5912         * iterators.h:
5913         * lyxcursor.h:
5914         * lyxtext.h:
5915         * text_funcs.h:
5916         * undo.h:
5917         * undo_funcs.h:
5918         * insets/inset.h:
5919         * insets/insettext.h: use ParagraphList_fwd.h rather than
5920         ParagraphList.h.
5921
5922         * paragraph.h: don't forward declare ParagraphList.
5923
5924         * buffer.h:
5925         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5926         rather than ParagraphList.h. paragraph.h is still needed for the
5927         Paragraph::depth_type parameters.
5928
5929         * textcursor.h: enable it to compile stand-alone in light of the
5930         above changes.
5931
5932         * bufferview_funcs.C:
5933         * iterators.C:
5934         * lyxfunc.C:
5935         * lyxrow_funcs.C:
5936         * paragraph.C:
5937         * rowpainter.C:
5938         * text.C:
5939         * text2.C:
5940         * text3.C:
5941         * text_funcs.C:
5942         * textcursor.C:
5943         * undo.C:
5944         * frontends/controllers/ControlParagraph.C:
5945         * frontends/controllers/ControlTabular.C:
5946         * insets/insetmarginal.C:
5947         * insets/insetminipage.C:
5948         * insets/insetnote.C:
5949         * insets/insetoptarg.C: add header files needed to compile again.
5950
5951 2003-09-06  Angus Leeming  <leeming@lyx.org>
5952
5953         * RowList_fwd.h: new file, forward-declaring Row rather than
5954         #including lyxrow.h.
5955
5956         * lyxrow_funcs.h:
5957         * lyxtext.h:
5958         * paragraph.h:
5959         * insets/insettext.h: use it instead of RowList.h
5960
5961         * bufferview_funcs.C:
5962         * lyxfunc.C:
5963         * lyxrow_funcs.C:
5964         * paragraph.C:
5965         * rowpainter.C:
5966         * text.C:
5967         * text2.C:
5968         * text3.C: #include "RowList.h".
5969
5970 2003-09-05  Angus Leeming  <leeming@lyx.org>
5971
5972         * factory.C (createInset):
5973         * vspace.C (c-tor): replace sscanf call with an istringstream.
5974         * ispell.C: re-add missing HP/UX headers.
5975         * lyxserver.C: re-add missing  os2 headers.
5976
5977 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5978
5979         * BranchList.C:
5980         * graph.C:
5981         * ispell.C:
5982         * lastfiles.C:
5983         * lyx_cb.C:
5984         * lyxserver.C:
5985         * texrow.C:
5986         * text3.C: re-add missing system headers, needed for 2.95.2.
5987
5988 2003-09-05  Angus Leeming  <leeming@lyx.org>
5989
5990         Changes most place everywhere due to the removal of using directives
5991         from support/std_sstream.h.
5992
5993 2003-09-05  Angus Leeming  <leeming@lyx.org>
5994
5995         Replace LString.h with support/std_string.h,
5996         Lsstream.h with support/std_sstream.h,
5997         support/LIstream.h with support/std_istream.h,
5998         support/LOstream.h with support/std_ostream.h.
5999
6000         Changes resulting throughout the tree.
6001
6002 2003-09-05  Angus Leeming  <leeming@lyx.org>
6003
6004         * sgml.h: ensure that the header file can be compiled stand-alone.
6005         * *.C: strip out redundant #includes. (320 in total.)
6006
6007 2003-09-04  Angus Leeming  <leeming@lyx.org>
6008
6009         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6010         here (from getPackages).
6011
6012         * debug.[Ch]: add a new EXTERNAL tag.
6013
6014 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6015
6016         * text2.C (cursorEnd): simplify
6017         (setCursor): adjust
6018         (getColumnNearX): adjust
6019
6020         * text.C (computeBidiTables): adjust
6021         (fill): adjust
6022
6023         * rowpainter.C (paintChars): adjust
6024         (paintSelection): adjust
6025         (paintChangeBar): adjust
6026         (paintText): adjust
6027
6028         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6029         lastPos instead.
6030         (numberOfSeparators): adjust
6031
6032 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6033
6034         * LyXAction.C:
6035         * box.[Ch]:
6036         * lfuns.h:
6037         * lyxfunc.C:
6038         * text3.C: Restricts the mouse click functionality
6039         of insets like bibtex, include, toc and floatlist to the visible
6040         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6041         up the dialogs. Cursor has to be in front of the inset (i.e.
6042         start of row) for this to function.
6043
6044 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6045
6046         * bufferview_funcs.C (currentState): output row information
6047
6048 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6049
6050         * bufferview_funcs.C (currentState): output paragraph position
6051
6052 2003-09-04  Angus Leeming  <leeming@lyx.org>
6053
6054         * FloatList.h: move out #include "Floating.h".
6055         * LaTeX.h: move out #include "DepTable.h".
6056         * LyXAction.h: move out #include "funcrequest.h".
6057         * buffer.h: move out #include "author.h", "iterators.h".
6058         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6059         * lyx_main.h: move out #include "errorlist.h".
6060         * lyxfunc.h: move out #include "FuncStatus.h".
6061         * lyxtext: move out #include "lyxcursor.h".
6062         * paragraph_pimpl.h: move out #include "counters.h".
6063
6064 2003-09-03  Angus Leeming  <leeming@lyx.org>
6065
6066         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6067         preamble_snippets list, enabling us to add snippets to the preamble
6068         only if the snippet was not there already.
6069
6070 2003-09-04  Angus Leeming  <leeming@lyx.org>
6071
6072         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6073
6074 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6077         update
6078
6079 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6080
6081         * BranchList.C: point fix, earlier forgotten
6082
6083 2003-09-02  Angus Leeming  <leeming@lyx.org>
6084
6085         * box.C (contains): renamed from 'contained' after a fantastic
6086         amount of hot air.
6087
6088 2003-09-02  John Levon  <levon@movementarian.org>
6089
6090         * BufferView.C:
6091         * lyxcursor.h:
6092         * lyxcursor.C:
6093         * lyxfunc.C:
6094         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6095
6096 2003-09-02  John Levon  <levon@movementarian.org>
6097
6098         * text2.C: simplification of cursorEnd(), including partial
6099         fix for bug 1376
6100
6101 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6102
6103         * buffer.C (readFile): add a space
6104
6105 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6106
6107         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6108
6109 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * buffer.C (readFile): new function, take a filename and a
6112         ParagraphList::iterator
6113         (readFile): adjust
6114         (readFile): adjust, make it private. don't use setStream, make
6115         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6116         always contain the filename.
6117
6118         * BufferView.C (insertLyXFile): simplify and make it work for
6119         gzipped files.
6120
6121 2003-08-30  John Levon  <levon@movementarian.org>
6122
6123         * Makefile.am: fix dist (from Kayvan)
6124
6125 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * most files: change to use const Buffer refs
6128
6129 2003-08-27  André Pönitz  <poenitz@gmx.net>
6130
6131         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6132         on top of ownerPar().
6133
6134 2003-08-27  John Levon  <levon@movementarian.org>
6135
6136         * funcrequest.C: properly initialise POD members
6137
6138 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6139
6140         * lyxtext.h (top_y): move top_y from here
6141         * text.C:
6142         * text2.C:
6143         * text3.C:
6144         * BufferView.[Ch]:
6145         * BufferView_pimpl.[Ch]: to here
6146         * frontends/screen.C:
6147         * insets/insettabular.C:
6148         * insets/insettext.C: adjust
6149         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6150
6151 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6152
6153         * BufferView.[Ch]:
6154         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6155
6156 2003-08-26  André Pönitz  <poenitz@gmx.net>
6157
6158         * paragraph_func.[Ch] (outerPar): new function
6159
6160         * paragraph.C:
6161         * paragraph_funcs.C:
6162         * paragraph_funcs.h:
6163         * paragraph_pimpl.C:
6164         * text2.C: remove Inset::par_owner
6165
6166 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6167
6168         * lyxrow_funcs.C:
6169         * lyxtext.h:
6170         * text.C:
6171         * text2.C: eliminates the needFullRow/display() stuff
6172         altogether, putting the logic in metrics/draw in the insets.
6173
6174 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6175
6176         * text2.C (redoParagraphInternal, redoParagraphs):
6177         * text.C (redoParagraph): add a call to updateRowPositions at the
6178         end of each 'metrics-like' call. Remove all others.
6179         (getRow): remove the 'y-computing' version.
6180         (getRowNearY): do not compute nor return the real y. Solve the
6181         'y < 0' problem and simplify.
6182
6183 2003-08-22  Angus Leeming  <leeming@lyx.org>
6184
6185         * *.[Ch]: clean-up of licence and author blurbs.
6186         Also move config.h out of a few .h files and into a few .C files.
6187
6188 2003-08-22  André Pönitz  <poenitz@gmx.net>
6189
6190         * lyxrow.[Ch]: add x_ and *fill_ members
6191
6192         * lyxtext.h:
6193         * text.C:
6194         * rowpainter.C:
6195         * text2.C: adjust/remove prepareToPrint() calls
6196
6197 2003-08-22  André Pönitz  <poenitz@gmx.net>
6198
6199         * lyxrow.[Ch]: add  end_ member
6200
6201         * lyxrow_funcs.C: use LyXRow::end_
6202
6203         * lyxtext.h (singleWidth): add LyXFont parameter
6204
6205         * rowpainter.C:
6206         * text2.C: adjust LyXText::singleWidth() calls
6207
6208         * text.C (redoParagraph): simplify row breaking logic
6209
6210
6211 2003-08-19  André Pönitz  <poenitz@gmx.net>
6212
6213         * funcrequest.C: initialize button_ member
6214
6215         * text3.C:
6216         * rowpainter.[Ch]: interface consolidation
6217
6218 2003-08-18  André Pönitz  <poenitz@gmx.net>
6219
6220         * BufferView.C:
6221         * BufferView_pimpl.C:
6222         * lyxfind.C:
6223         * paragraph_funcs.C:
6224         * rowpainter.C:
6225         * text3.C: remove LyXScreen::draw() and fitCursor calls
6226
6227         * BranchList.h: remove spurious semicolons
6228
6229         * MenuBackend.C: fix branchlist related crash
6230
6231 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6232
6233         * BranchList.[Ch]:
6234         * InsetList.[Ch]:
6235         * LColor.[Ch]:
6236         * LyXAction.C:
6237         * Makefile.am:
6238         * MenuBackend.[Ch]:
6239         * bufferparams.[Ch]:
6240         * factory.C:
6241         * lfuns.h:
6242         * lyxfunc.C:
6243         * text3.C: implements the 'branch inset'
6244         idea. This allows the output of various versions of a document
6245         from a single source version, selectively outputing or suppressing
6246         output of parts of the text.
6247         This implementation contains a 'branch list editor' in a separate
6248         tab of the document settings dialog. Branches are user definable
6249         and have a "display colour" to distinguish them on-screen.
6250
6251         ColorHandler was somewhat cleaned up.
6252         (1) make possible a dynamically growing LColor list by allowing
6253         the graphic context cache to grow along (vector);
6254         (2) eliminate an IMHO unnecessary step in colour allocation.
6255
6256 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6257
6258         * BufferView_pimpl.C: compile fix
6259
6260 2003-08-15  André Pönitz  <poenitz@gmx.net>
6261
6262         * rowpainter.C: remove extra metrics calls
6263
6264         * lyxtext.h: merge the two constructors into a single one,
6265           pass reference to owner's par list
6266
6267         * BufferView_pimpl.C:
6268         * text.C:
6269         * text2.C: adjust
6270
6271 2003-08-15  André Pönitz  <poenitz@gmx.net>
6272
6273         * lyxrow_funcs.[Ch]:
6274         * lyxtext.h:
6275         * paragraph.h:
6276         * paragraph_funcs.C:
6277         * rowpainter.C:
6278         * text.C:
6279         * text2.C:
6280         * text3.C:
6281         * text_funcs.C: split LyXText::rowlist_ into individual
6282         Paragraph::rows_ chunks
6283
6284         * BufferView.[Ch]:
6285         * BufferView_pimpl.[Ch]:
6286         * lyxfind.C:
6287         * lyxtext.h:
6288         * text3.C: remove toggleSelection()
6289
6290 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6291
6292         * bufferlist.C: beautify two alerts (shorter text of buttons)
6293         * buffer.C: Remove redundant ' ' from message
6294         * tabular.h:
6295         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6296         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6297         rename VALIGN_CENTER to VALIGN_MIDDLE
6298
6299 2003-08-11  André Pönitz  <poenitz@gmx.net>
6300
6301         * lyxtext.h (getPar):
6302         * text.C: new function
6303
6304 2003-08-11  André Pönitz  <poenitz@gmx.net>
6305
6306         * Makefile.am:
6307         * tracer.[Ch]: remove unneeded files
6308
6309         * InsetList.[Ch]: remove resizeInsetsLyXText()
6310
6311         * lyxtext.h:
6312         * text.C:
6313         * text2.C:
6314         * text3.C: merge insertParagraphs() and appendParagraph()
6315         remove breakAgain(), update()
6316
6317         * BufferView_pimpl.[Ch]:
6318         * bufferview_funcs.[Ch]:
6319         * lyxfunc.C:
6320         * paragraph.[Ch]:
6321         * rowpainter.C:
6322         * tabular.C: adjust after text & InsetList changes.
6323
6324 2003-08-08  André Pönitz  <poenitz@gmx.net>
6325
6326         * text.C (insertChar, backspace): replace rowlist fiddling
6327         with rebreak of full par
6328
6329         * lyxtext.h:
6330         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6331         checkParagraph, updateInset): removed
6332
6333 2003-08-07  André Pönitz  <poenitz@gmx.net>
6334
6335         * paragraph.C:
6336         * text3.C: merge some LFUN handlers, remove dead code
6337
6338 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6339
6340         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6341
6342 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6343
6344         * text2.C (DEPM): fix part of bug 1255 and 1256
6345
6346 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6347
6348         * BufferView_pimpl.C (workAreaDispatch): change to use
6349         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6350         that are no mouse related.
6351
6352 2003-08-05  André Pönitz  <poenitz@gmx.net>
6353
6354         * BufferView.[Ch]:
6355         * BufferView_pimpl.[Ch]:
6356         * bufferview_funcs.C:
6357         * text2.C:
6358         * text3.C: rip out "deep update"
6359
6360         * textcursor.[Ch] (last_sel_cursor): remove unused member
6361
6362 2003-08-04  André Pönitz  <poenitz@gmx.net>
6363
6364         * BufferView.[Ch]:
6365         * BufferView_pimpl.[Ch]:
6366         * ParagraphParameters.C:
6367         * bufferview_funcs.C:
6368         * lyx_cb.C:
6369         * lyxfind.C:
6370         * lyxfunc.C:
6371         * text.C:
6372         * text2.C:
6373         * text3.C: replace "complicated" BufferView::update(...) calls with
6374         simpler ones.
6375
6376         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6377
6378 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6379
6380         * Makefile.am (lyx_SOURCES): add paper.h
6381
6382 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6383
6384         * Makefile.am: move things around so that both lyx-qt and
6385         lyx-xforms can be built (according to --with-frontend). Then lyx
6386         is a symbolic link to lyx-[firstfrontend]
6387
6388 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6389
6390         * Always use std::endl with lyxerr
6391
6392 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6393
6394         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6395
6396 2003-08-01  André Pönitz  <poenitz@gmx.net>
6397
6398         * BufferView.[Ch]:
6399         * BufferView_pimpl.[Ch]:
6400         * lyxfunc.C:
6401         * text3.C: merge BufferView::repaint() and BufferView::update()
6402
6403 2003-08-01  José Matos  <jamatos@lyx.org>
6404
6405         * buffer.[Ch]: file_format is no longer a buffer data element.
6406
6407 2003-08-01  André Pönitz  <poenitz@gmx.net>
6408
6409         * BufferView.C:
6410         * lyxtext.h:
6411         * text.C:
6412         * text2.C: make redoParagraph more independent of current cursor
6413
6414         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6415         * text.C:
6416         * text2.C: remove unneeded members
6417
6418 2003-07-30  André Pönitz  <poenitz@gmx.net>
6419
6420         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6421
6422         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6423           create a single function...
6424
6425         * paragraph_funcs.C (moveItem): ... here.
6426
6427         * text.C:
6428           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6429
6430 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6431
6432         * LColor.[Ch]: Add comment and greyedout logical colors.
6433
6434 2003-07-30  André Pönitz  <poenitz@gmx.net>
6435
6436         * tabular.C: don't use Assert too heavily. This crashes where it
6437           shouldn't
6438
6439 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6440
6441         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6442         is disabled (bug 1232)
6443
6444 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6445
6446         * factory.C: limited 'arg' scope
6447
6448 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6449
6450         * factory.C: fixed Note submenu issues
6451
6452 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6453
6454         * factory.C: submenu for Note/Comment/Greyedout
6455
6456 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6457
6458         * lyx_main.C (LyX):
6459         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6460
6461 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6462
6463         * LaTeXFeatures.C:
6464         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6465         greyedout. Patch provided by Jürgen Spitzmüller.
6466
6467 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6468
6469         * kbmap.C (read): fix error message when reading bind files
6470
6471 2003-07-29  Angus Leeming  <leeming@lyx.org>
6472
6473         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6474         certainly does not do what it purports to do. I am doing it, and
6475         us, a favour by killing it.
6476
6477 2003-07-28  José Matos  <jamatos@lyx.org>
6478
6479         * buffer.C (readBody, do_writeFile):
6480         * paragraph.C(readParagraph): \end_document replaces \the_end.
6481
6482 2003-07-29  André Pönitz  <poenitz@gmx.net>
6483
6484         * BufferView.[Ch]:
6485         * BufferView_pimpl.[Ch]:
6486         * lyxfunc.C:
6487         * text2.C:
6488         * text3.C:
6489         * textcursor.[Ch]: remove toggleToggle & Co
6490
6491 2003-07-28  José Matos  <jamatos@fep.up.pt>
6492
6493         * buffer.C (readParagraph):
6494         * params_func (readParToken, readParagraph):
6495         * paragraph.C (write): \layout -> \begin_layout.
6496
6497 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6498
6499         * lyxlex_pimpl.C (setFile): clean up slightly.
6500
6501         * bufferparams.h: add compressed var
6502
6503         * buffer_funcs.C (readFile): adjust for LyXLex change
6504         (newFile): ditto + simplify
6505
6506         * buffer.C (writeFile): handle writing of compressed files
6507
6508         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6509         Check if the file is compressed and set a bufferparm if so.
6510
6511         * Makefile.am (lyx_LDADD): remove explicit -lz
6512
6513 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6514
6515         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6516         makeDocBookFile): put the real LyX version in the first line of
6517         the file
6518
6519         * version.h:
6520         * version.C.in: remove lyx_docversion
6521
6522         * tabular.C (write_attribute): add a template-based version to
6523         write enums properly
6524
6525 2003-07-28  André Pönitz  <poenitz@gmx.net>
6526
6527         * lyxtext.h:
6528         * text.C:
6529         * text2.C:
6530         * text3.C: use doubles again for x-coordinates. They are needed.
6531
6532 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * messages.C (getLocaleDir): use lyx_localedir()
6535
6536         * lyxlex_pimpl.C (setFile): compress stuff
6537
6538         * buffer.C (writeFile): add some compression stuff
6539         (do_writeFile): new func, dont call expliti close... will this
6540         breake anything?
6541
6542         * Makefile.am (lyx_LDADD): add -lz
6543
6544 2003-07-28  José Matos  <jamatos@fep.up.pt>
6545
6546         * buffer.C: increment file format.
6547         * paragraph_funcs (readParagraph, readParToken):
6548         * paragraph.C (readParagraph): add \end_layout.
6549
6550 2003-07-27  Angus Leeming  <leeming@lyx.org>
6551
6552         * Makefile.am: remove special casing for configure-time setting of
6553         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6554
6555         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6556         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6557
6558 2003-07-26  André Pönitz  <poenitz@gmx.net>
6559
6560         * paragraph_func.[Ch]:
6561         * paragraph.C (realizeFont): inline it whereever it is used
6562
6563         * rowpainter.C:
6564         * text.C:
6565         * text2.C:
6566         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6567
6568
6569 2003-07-26  André Pönitz  <poenitz@gmx.net>
6570
6571         *       lyxtext.h:
6572         * text.C:
6573         * text2.C: get rid of LyXText::need_break_row
6574
6575 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * toc.[Ch]: put namespace toc inside namespace lyx
6578
6579         * MenuBackend.C (expandToc2): adjust for lyx::toc
6580         (expandToc): ditto
6581
6582         * lyxfunc.C (dispatch): adjust for lyx::find
6583
6584         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6585         lyx::find instead. Reorganize a bit.
6586         (LyXReplace): rename to replace
6587         (LyXFind): rename to find
6588
6589         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6590         (dispatch): ditto
6591
6592 2003-07-26  André Pönitz  <poenitz@gmx.net>
6593
6594         * text.C (setHeightOfRow): restrict scope of temporary variable
6595
6596         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6597           code (never has been used?)
6598
6599 2003-07-27  Asger Alstrup  <alstrup@local>
6600
6601         * text.C (fill): Optimise algorithm to exploit that we can reuse
6602         the LyXFont for many characters.
6603         (setHeightOfRow): Same thing.
6604         (rowBreakPoint): Same thing.
6605
6606 2003-07-26  Asger Alstrup  <alstrup@local>
6607
6608         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6609
6610         * text.C (singleWidth): Spurious font copying in hot-spot
6611         singleWidth avoided. Reorder tests for arabic for efficiency.
6612
6613         * text.C (fill): handle empty paragraphs better.
6614
6615 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6616
6617         * ispell.C:
6618         * encoding.h: add includes
6619
6620         * lyxrc.C: remove reading of bind files
6621
6622         * lyx_main.C (init): setup bindings and menus only if we have a
6623         gui.
6624
6625         * kbmap.C (read): new method. Do the actual reading of bind
6626         files.
6627
6628         * converter.C (dvipdfm_options):
6629         * bufferparams.C:
6630         * lyxrc.C (read):
6631         (output): adapt PAPER_* enums.
6632
6633         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6634
6635         * bufferparams.h: remove paper-related enums from there
6636
6637         * paper.h: New file. A trivial header file to hold paper-related
6638         enums. It should later expand to contain many paper-related
6639         horrors access.
6640
6641         * lyxrc.C: declare extern displayTranslator
6642
6643 2003-07-27  José Matos  <jamatos@fep.up.pt>
6644
6645         * tabular.[Ch] (linuxdoc): add support for tables and figures
6646         (linuxdoc).
6647
6648 2003-07-27  José Matos  <jamatos@fep.up.pt>
6649
6650         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6651         consistency in both functions.
6652         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6653
6654 2003-07-26  Asger Alstrup  <alstrup@local>
6655
6656         * rowpainter.C (paintRows): Change algorithm to work directly on
6657         the insets rather than asking every character in the document
6658         whether its an inset.
6659
6660 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6661
6662         * buffer.C (openFileWrite): factorize some code
6663
6664 2003-07-26  Angus Leeming  <leeming@lyx.org>
6665
6666         * lyx_cb.C:
6667         * lyx_main.[Ch]: replace occurances of system_tempdir with
6668         os::getTmpDir().
6669
6670 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * rename Inset to InsetOld
6673
6674 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6675
6676         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6677         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6678         which I think is a bit clearer. EDIT is gone, since it was
6679         premature optimisation, and broken for mathed anyway.
6680         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6681         with cursor positioning in insets as well (math insets still do not
6682         work, but that's a different story anyway.) It mysteriously
6683         crashes sometimes with undo in the first paragraph, but I'm fairly
6684         confident that this is a compiler bug.
6685
6686 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * paragraph.C (Paragraph): adjust for new clone return type
6689         (operator==): ditto
6690         (copyIntoMinibuffer): ditto
6691
6692 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6693
6694         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6695         by not having a special case, and always doing a full rebreak of
6696         the document after undo.
6697
6698 2003-07-23  Angus Leeming  <leeming@lyx.org>
6699
6700         * factory.C (createInset): InsetExternal::setParams now takes a
6701         Buffer const * arg.
6702
6703 2003-07-23  Angus Leeming  <leeming@lyx.org>
6704
6705         * factory.C (createInset): changed interface to the external and
6706         graphics mailers' string2params functions.
6707
6708 2003-07-23  Angus Leeming  <leeming@lyx.org>
6709
6710         * factory.C (createInset): pass a
6711         Buffer const * parameter to InsetExternalMailer's string2params.
6712
6713 2003-07-22  John Levon  <levon@movementarian.org>
6714
6715         * Thesaurus.h: include the right aiksaurus header
6716
6717 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6718
6719         * MenuBackend.C (expand): check menu shortcuts unconditionally
6720
6721 2003-07-21  Angus Leeming  <leeming@lyx.org>
6722
6723         * factory.C (createInset): pass a
6724         buffer_path parameter to InsetGraphicsMailer's string2params.
6725
6726 2003-07-21  Angus Leeming  <leeming@lyx.org>
6727
6728         * BufferView_pimpl.C (buffer):
6729         * buffer.C (d-tor):
6730         * lyx_main.C (LyX):
6731         * lyxfunc.C (dispatch):
6732         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6733         rather than the grfx shortcut.
6734
6735 2003-07-21  André Pönitz  <poenitz@gmx.net>
6736
6737         * rowpainter.C: remove unused variables
6738
6739         * tabular_funcs.C:
6740         * tabular_funcs.h: move to tabular.C
6741         * Makefile.am: adjust
6742
6743         * tabular.[Ch]: basic optical cleaning
6744
6745         * author.h: pass references, not values
6746
6747 2003-07-18  André Pönitz  <poenitz@gmx.net>
6748
6749         * lyxtext.h:
6750         * metricsinfo.C:
6751         * metricsinfo.h:
6752         * rowpainter.C:
6753         * text.C:
6754         * text2.C:
6755         * text3.C: two-phase drawing for InsetText and InsetTabular
6756         some float -> int changes.
6757
6758 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6759
6760         * lyx_main.C: fix the fix
6761
6762 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6763
6764         * lyx_main.C: fix a crash in batch mode if no files specified
6765         * converter.C: ws
6766
6767 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6768
6769         * format.[Ch] (papersize): moved to BufferParams
6770         * converter.[Ch] (dvips_options): moved to BufferParams
6771         (dvipdfm_options): moved to anon namespace
6772         * bufferparams.[Ch]: added above functions.
6773
6774 2003-07-17  André Pönitz  <poenitz@gmx.net>
6775
6776         * lyxtext.h:
6777         * rowpainter.C:
6778         * text2.C: don't call inset->update() anymore
6779
6780         * metricsinfo.[Ch]: add convenience constructor
6781
6782 2003-07-16  André Pönitz  <poenitz@gmx.net>
6783
6784         * lyxcursor.[Ch]:
6785         * lyxfunc.[Ch]:
6786         * text.C:
6787         * text2.C: replace the LyXCursor::irow_ member with
6788          on-demand computation of the value
6789
6790 2003-07-16  John Levon  <levon@movementarian.org>
6791
6792         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6793
6794 2003-07-15  André Pönitz  <poenitz@gmx.net>
6795
6796         * text.C:
6797         * text2.C: remove no more needed refresh_row
6798
6799 2003-07-15  André Pönitz  <poenitz@gmx.net>
6800
6801         * lyxtext.h:
6802         * rowpainter.C:
6803         * text2.C:
6804         * text3.C: refresh_status tristate -> need_update bool
6805
6806 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6807
6808         * lyxtext.h (init): remove reinit argument (act as if always true)
6809         * text2.C: adjust to that
6810
6811 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6812
6813         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6814         * text3.C: use it to delete selections in some cases
6815         (bugs 441, 673, 702, 954).
6816
6817 2003-07-14  André Pönitz  <poenitz@gmx.net>
6818
6819         * rowpainter.[Ch]: reduce interface
6820
6821 2003-07-14  André Pönitz  <poenitz@gmx.net>
6822
6823         * BufferView_pimpl.C:
6824         * text2.C: adjust after removing unused BufferView * argument
6825
6826 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * text2.C (init): fix a crash fired on resize
6829
6830 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6831
6832         * buffer.[Ch]: added new closing signal
6833         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6834         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6835         BufferView::Pimpl via the closing the signal
6836
6837 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6838
6839         * buffer.[Ch]: take out all bv-related from buffer
6840         * BufferView.C:
6841         * BufferView_pimpl.[Ch]: connect to new signals
6842         * CutAndPaste.C: removed useless asserts
6843         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6844         * lyxvc.[Ch]:
6845         * vc-backend.[Ch]:
6846         * lyxfunc.C: moved view-related funciontality from vc here
6847         * paragraph.C: removed outdated comments
6848         * text.C: ws
6849
6850 2003-07-10  André Pönitz  <poenitz@gmx.net>
6851
6852         * BufferView_pimpl.C:
6853         * tabular.h:
6854         * tabular_funcs.C:
6855         * text.C:
6856         * text2.C: remove InsetText::InnerCache, clean up consequences
6857
6858 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6859
6860         * ispell.C: fix two typos in error messages
6861
6862 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6863
6864         * Extend Note inset to other forms of annotation like Comment
6865         and Greyedout. Right button click gives dialog.
6866
6867         Files modified or added (+):
6868
6869         * insetnote.[Ch]
6870         * FormNote.[Ch]      +
6871         * ControlNote.[Ch]   +
6872         * form_note.fd       +
6873         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6874         frontends/controllers
6875         * xforms/Dialogs.C
6876         * factory.C
6877
6878 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6879
6880         * aspell.C: add missing namespace lyx::support
6881
6882 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6883
6884         * BufferView.[Ch] (newFile): Add
6885         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6886         * LaTeX.[Ch] (message): added this signal and use it
6887         * buffer.[Ch] (busy, message): added these signals and use them
6888         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6889         * converter.C:
6890         * exporter.C:
6891         * format.C:
6892         * importer.C: use buffer signals instead of direct bv calling
6893         * lyx_cb.[Ch] (ShowMessage): removed
6894         * lyx_main.C:
6895         * lyxfunc.C:
6896         * paragraph_funcs.C:
6897         * text2.C: use buffer signals
6898
6899 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * introduce namespace lyx::graphics
6902
6903 2003-07-02  André Pönitz  <poenitz@gmx.net>
6904
6905         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6906
6907 2003-07-01  André Pönitz  <poenitz@gmx.net>
6908
6909         * text.C:
6910         * text2.C:
6911         * text3.C:
6912         * text_funcs.[Ch]:
6913         * textcursor.h:
6914         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6915           text*.C to text_func.C
6916
6917 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6918
6919         * introduce namespace lyx::support
6920
6921 2003-06-30  André Pönitz  <poenitz@gmx.net>
6922
6923         * Chktex.C:
6924         * funcrequest.C:
6925         * lyxtext.h:
6926         * text.C: re-enable --with-included-string
6927
6928 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * textcursor.C: add <config.h>
6931
6932         * text.C (getWord): remove const from word_location arg
6933
6934         * lyxvc.C (getLogFile): fix const type order
6935
6936         * lyxtext.h: remove const from word_location arg, add arg name
6937
6938         * lyxlayout.h: currect type on labeltype.
6939
6940         * importer.C: correct \file
6941
6942         * converter.C (intToFormat): use std:: on ret val, ws changes
6943
6944         * bufferlist.h: correct \file
6945
6946         * buffer.C (makeLinuxDocFile): fix const type order
6947         (makeDocBookFile): ditto
6948         (fillWithBibKeys): use std:: on stdlib args.
6949
6950         * CutAndPaste.C: fix authors.
6951         (availableSelections): use std:: on return vector
6952
6953 2003-06-27  André Pönitz  <poenitz@gmx.net>
6954
6955         * BufferView_pimpl.C:
6956         * bufferview_funcs.C:
6957         * lyxcursor.C:
6958         * lyxcursor.h:
6959         * lyxfunc.C:
6960         * lyxtext.h:
6961         * rowpainter.C:
6962         * text.C:
6963         * text2.C:
6964         * text3.C: remove LyXCursor::row_ member
6965
6966         * lyxtext.h:
6967         * text.C: rename fullRebreak() to partialRebreak() and implement
6968           a fullRebreak() that really bereks fully
6969
6970         * textcursor.h: new struct for cursor-related data
6971
6972 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6973
6974         * lyx_main.C (LyX): get full path of document loaded on the
6975         command line
6976
6977 2003-06-26  André Pönitz  <poenitz@gmx.net>
6978
6979         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6980           remove unused/broken operator>,<,>=.
6981
6982         *       text.C: remove only use of broken operator<= in an Assert().
6983
6984 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6985
6986         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6987         moved errorlist_.clear to showErrorList
6988
6989 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6990
6991         * converter.C (scanLog, runLaTeX):
6992         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6993         move the bv->showErrorList call to the callers
6994         * lyxfunc.C: i.e. here...
6995         * text2.C: and here
6996         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6997         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6998         namespace, the second to...
6999         * buffer_funcs (BufferFormat, parseErrors): added
7000         * errorlist.C (ErrorList(TeXErrors const &)): removed
7001
7002 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7003
7004         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7005
7006 2003-06-24  "Garst R. Reese" <reese@isn.net>
7007
7008         * debug.C: fix typo
7009
7010 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7011
7012         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7013
7014         * version.C.in: change docversion to 1.4
7015
7016 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7017
7018         * buffer.C: fix a bug just introduced
7019
7020 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7021
7022         * buffer.[Ch]: added the parseError signal and use it, removed
7023         sgmlError
7024         * BufferView.[Ch] (addError): moved to ...
7025         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7026         to the Buffer::parseError signal to catch (guess what) parse errors
7027         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7028
7029 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7030
7031         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7032         ability to create a buffer and to return an existing one from
7033         the list. Moved these functions to...
7034         * buffer_funcs.[Ch]: added
7035         * BufferView.[Ch] (loadLyXFile): added
7036         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7037         job removed from bufferlist::loadLyXFile.
7038         * buffer.C (setReadOnly): make it work without view
7039         (i.e added an if (users))
7040
7041 2003-06-19  Angus Leeming  <leeming@lyx.org>
7042
7043         * lfuns.h:
7044         * LyXAction.C (init):
7045         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7046         with LFUN_DIALOG_SHOW <name> <data>.
7047
7048 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7049
7050         * CutAndPaste.C (availableSelections): small compilation fix for
7051         ancient (gcc 2.9x) compilers
7052
7053 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7054
7055         * text3.C (cursorNext): add tmp var
7056
7057         * text2.C (updateCounters): for function calling out of for clause
7058         (replaceSelectionWithString): ditto
7059         (insertStringAsParagraphs): ditto
7060         (getColumnNearX): add tmp var
7061         (setCursorFromCoordinates): add tmp var
7062         (cursorDownParagraph): add tmp var
7063         (deleteEmptyParagraphMechanism): add tmp var
7064
7065         * text.C (insertChar): add tmp var
7066
7067         * rowpainter.C (paintDepthBar): add tmp var
7068
7069         * CutAndPaste.C (availableSelections): potentially check all
7070         paragraphs in a cut to fill the shown strings.
7071
7072 2003-06-18  André Pönitz  <poenitz@gmx.net>
7073
7074         * kbmap.[Ch]: use vector<> instead of list<>
7075
7076 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7077
7078         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7079         pasteSelection with index
7080
7081         * text2.C (pasteSelection): modify, call pasteSelection with index
7082
7083         * paragraph.C (asString): reimplement version with no interval to
7084         call the one with interval.
7085
7086         * lyxtext.h: add index arg to pasteSelection
7087
7088         * MenuBackend.C (MenuItem): handle PasteRecent
7089         (Menu::read::Menutags): add md_pasterecent
7090         (read): handle it
7091         (expandPasteRecent): new function
7092         (expand): use it
7093
7094         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7095
7096         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7097         the limited stack
7098         (availableSelections): new function
7099
7100 2003-06-17  Angus Leeming  <leeming@lyx.org>
7101
7102         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7103
7104 2003-06-17  Angus Leeming  <leeming@lyx.org>
7105
7106         * lfuns.h:
7107         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7108
7109         * lyxfunc.C (dispatch): invoke it.
7110
7111 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7112
7113         * iterators.C (operator++, ParPosition): reintroduce some
7114         const_cast for the benefit of older compilers.
7115
7116 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7117
7118         * text3.C (dispatch): do not modify clipboard when doing
7119         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7120         LFUN_DELETE_SKIP on a selection selection
7121
7122 2003-06-16  André Pönitz  <poenitz@gmx.net>
7123
7124         * BufferView.C:
7125         * buffer.C:
7126         * buffer.h:
7127         * paragraph.C:
7128         * tabular.[Ch]: IU of clone() and getLabelList();
7129
7130 2003-06-13  André Pönitz  <poenitz@gmx.net>
7131
7132         * tabular.h: compactification
7133
7134 2003-06-12  André Pönitz  <poenitz@gmx.net>
7135
7136         * tabular.C:
7137         * tabular.h:
7138         * tabular_funcs.h: some renaming plus whitespace
7139
7140 2003-06-12  André Pönitz  <poenitz@gmx.net>
7141
7142         * BufferView.C:
7143         * BufferView_pimpl.C:
7144         * CutAndPaste.C:
7145         * buffer.C:
7146         * iterators.[Ch]:
7147         * lyxfunc.C:
7148         * text.C:
7149         * toc.C: Return a Paragraph & for ParIterator::operator*()
7150
7151 2003-06-11  John Levon  <levon@movementarian.org>
7152
7153         * lyx_main.C:
7154         * ToolbarBackend.h:
7155         * ToolbarBackend.C: add "Toolbars" section and
7156         put the flags there
7157
7158 2003-06-10  Angus Leeming  <leeming@lyx.org>
7159
7160         * lfuns.h:
7161         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7162
7163         * lyxfunc.C (dispatch): invoke it.
7164
7165 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7166
7167         * main.C: protect <ios> with HAVE_IOS
7168         (main): protect sync_with_stdio with HAVE_IOS
7169
7170 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7171
7172         * text2.C (cutSelection): adjust
7173         (pasteSelection): adjust
7174
7175         * messages.C: handle get of empty string
7176
7177         * main.C (main): use sync_with_stdio(false)
7178
7179         * lyxfunc.C (dispatch): adjust
7180
7181         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7182         (WriteAs): remove unneeded BufferView arg.
7183
7184         * bufferparams.h: use correct types on papersize, papersize2 and
7185         paperpackage.
7186
7187         * bufferparams.C (readToken): adjust for type
7188         (writeLaTeX): add missing cases to switch.
7189
7190         * bufferlist.C (quitWriteBuffer): adjust
7191         (close): adjust
7192
7193         * buffer.C (asciiParagraph): remove some commented code.
7194
7195         * CutAndPaste.C: remove current_view extern variable.
7196         (cutSelection): add BufferParams arg.
7197         (eraseSelection): add BufferParams arg.
7198         (pasteSelection): add Buffer const & arg
7199
7200 2003-06-07  John Levon  <levon@movementarian.org>
7201
7202         * buffer.C:
7203         * paragraph_funcs.C:
7204         * paragraph_pimpl.C:
7205         * text.C:
7206         * text2.C:
7207         * paragraph.h:
7208         * paragraph.C: allow InsetERT to freely space lines,
7209         and some consolidation of code
7210
7211 2003-06-06  José Matos  <jamatos@fep.up.pt>
7212
7213         * buffer.C (makeDocBookFile): fix bug #821
7214
7215 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7216
7217         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7218
7219 2003-06-04  Angus Leeming  <leeming@lyx.org>
7220
7221         * buffer.C: bump format to 224.
7222
7223 2003-06-05  André Pönitz  <poenitz@gmx.net>
7224
7225         * text2.C (redoParagraphs): remove two const_cast<>
7226
7227 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7228
7229         * ParagraphList.h: remove last remnants of NO_STD_LIST
7230
7231 2003-06-03  Angus Leeming  <leeming@lyx.org>
7232
7233         * factory.C (createInset): small change to the way InsetExternal's params
7234         are set.
7235
7236 2003-06-04  André Pönitz  <poenitz@gmx.net>
7237
7238         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7239
7240         * paragraph_pimpl.h:
7241         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7242
7243         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7244
7245         * undo_funcs.C: make some simple cases of undo work again
7246
7247 2003-06-03  John Levon  <levon@movementarian.org>
7248
7249         * ispell.C: HPUX doesn't have sys/select.h
7250         (from Albert Chin)
7251
7252 2003-06-03  John Levon  <levon@movementarian.org>
7253
7254         * CutAndPaste.C: update tabular and include inset
7255         buffer references
7256
7257         * buffer.h:
7258         * paragraph.h:
7259         * paragraph.C: remove owningBuffer(), don't pass Buffer
7260         to clone()
7261
7262         * factory.C: insetGraphicsParams changed
7263
7264 2003-06-02  John Levon  <levon@movementarian.org>
7265
7266         * LyXAction.C:
7267         * factory.C:
7268         * lfuns.h:
7269         * lyxfunc.C:
7270         * text3.C: remove insetparent
7271
7272 2003-06-02  John Levon  <levon@movementarian.org>
7273
7274         * buffer.h:
7275         * buffer.C: fix inset_iterator.end(), move out of line
7276         (bug 1149)
7277
7278 2003-06-01  John Levon  <levon@movementarian.org>
7279
7280         * text3.C: use a proper cut/paste when doing inset
7281         insert (from Jürgen Spitzmüller)
7282
7283 2003-06-01  John Levon  <levon@movementarian.org>
7284
7285         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7286
7287 2003-05-30  André Pönitz  <poenitz@gmx.net>
7288
7289         * rowpainter.C: unify second drawing phase
7290
7291 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7292
7293         * trans_mgr.C: remove one case of current_view
7294
7295         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7296
7297         * paragraph_funcs.h: remove paragraph.h include
7298
7299         * paragraph.h: delete NO_STD_LIST stuff
7300
7301         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7302
7303         * buffer.h: remove paragraph.h include
7304
7305         * ParagraphList.C: delete file
7306
7307         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7308
7309         * toc.C (getTocList): adjust
7310
7311         * paragraph_pimpl.C (validate): adjust
7312
7313         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7314
7315         * paragraph.C (Paragraph): adjust
7316         (getPositionOfInset): use const_iterator, adjust
7317         (bibitem): use const_iterator, adjust
7318         (setInsetOwner): adjust
7319
7320         * iterators.C (operator++): adjust
7321
7322         * InsetList.[Ch]: Replace selfmade iterator with standard
7323         vector::iterator also introduce const_iterator. Remove getPos,
7324         getInset and setInset from InsetTable. Adjust accordingly.
7325
7326         * BufferView.C (lockInset): adjust
7327         (ChangeInsets): adjust
7328
7329         * tabular.[Ch]: delete commented same_id functions
7330
7331 2003-05-28  John Levon  <levon@movementarian.org>
7332
7333         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7334
7335 2003-05-28  André Pönitz  <poenitz@gmx.net>
7336
7337         * metricsinfo.[Ch]: remove 'fullredraw' member
7338
7339 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7340
7341         * lyxtextclass.C (operator): remove caching.
7342
7343 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7344
7345         * text3.C: adjust
7346
7347         * text2.C (cursorBottom): adjust
7348         (setCounter): use ParagraphList::find, adjust
7349
7350         * text.C (workWidth): use ParagraphList::find, adjust
7351
7352         * lyxcursor.C (LyXCursor): adjust
7353
7354         * buffer.C (inset_iterator): adjust
7355
7356         * ParagraphList.h: make iterator(value_type) private, make
7357         ParagraphList a friend of iterator.
7358
7359         * ParagraphList.C (find): new function
7360
7361         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7362
7363 2003-05-27  André Pönitz  <poenitz@gmx.net>
7364
7365         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7366
7367 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7368
7369         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7370
7371 2003-05-26  John Levon  <levon@movementarian.org>
7372
7373         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7374
7375 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * remove same_id from function signatures, adjust.
7378
7379 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7382
7383         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7384
7385         * paragraph.C (Paragraph): get rid of same_ids parameter
7386
7387         * ParagraphList.C (insert): adjust
7388         (push_back): adjust
7389
7390 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7391
7392         * paragraph_funcs.C (breakParagraph): adjust
7393         (breakParagraphConservative): adjust
7394
7395         * buffer.C (readParagraph): adjust
7396
7397         * ParagraphList.C (insert): take a reference instead of a pointer
7398         (insert): adjust
7399
7400         * paragraph.[Ch] (id): new function
7401
7402         * bufferlist.C (newFile): adjust
7403
7404         * ParagraphList.C (ParagraphList): adjust
7405         (assign): adjust
7406         (push_back): take a reference instead of a pointer.
7407
7408         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7409
7410         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7411         instead.
7412
7413         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7414         set else use old code.
7415
7416         * ParagraphList.C: remove all NO_NEXT code and only compile this
7417         code of NO_STD_LIST is set.
7418
7419 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7420
7421         * BufferView_pimpl.C:
7422         * TextCache.C:
7423         * TextCache.h:
7424         * bufferlist.C:
7425         * errorlist.h:
7426         * format.C:
7427         * format.h:
7428         * graph.C:
7429         * lyxfunc.C:
7430         * lyxrc.C:
7431         * graphics/GraphicsConverter.C:
7432         * graphics/PreviewLoader.C: header adjustment
7433
7434 2003-05-23  Angus Leeming  <leeming@lyx.org>
7435
7436         * LaTeXFeatures.[Ch] (useBabel): new method.
7437         * bufferparams.C (writeLaTeX): use it.
7438
7439 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * ParagraphList.h (set): remove unused function.
7442
7443 2003-05-23  André Pönitz  <poenitz@gmx.net>
7444
7445         * BufferView.C:
7446         * BufferView_pimpl.C:
7447         * buffer.C:
7448         * buffer.h:
7449         * lyxfunc.C:
7450         * undo_funcs.C: setUndo reworked
7451
7452         * iterators.[Ch]: add access to topmost ParagraphList
7453
7454         * lyxtext.[Ch] (workWidth): add a const
7455
7456 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7457
7458         * texrow.[Ch] (increasePos): remove function
7459         * exporter.C (export): removed unused var and outdated comment
7460
7461 2003-05-23  Angus Leeming  <leeming@lyx.org>
7462
7463         * latexrunparams.h: rename fragile as moving_arg.
7464         * paragraph.C (simpleTeXOnePar): ditto.
7465         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7466
7467 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7470         (createUndo): ditto
7471         (textUndoOrRedo): comment out a currently unused var.
7472
7473         * paragraph.h (NO_NEXT): enable NO_NEXT
7474
7475         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7476
7477         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7478
7479         * exporter.C (Export): adjust for removeAutoInsets removal.
7480
7481         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7482
7483         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7484
7485         * BufferView.[Ch] (removeAutoInsets): delete function
7486
7487 2003-05-22  Angus Leeming  <leeming@lyx.org>
7488
7489         * latexrunparams.h: add a free_spacing variable.
7490
7491         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7492         to pass moving_arg, as the data is stored in runparams.fragile.
7493
7494         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7495         to Inset::latexOptional or to simpleTeXOnePar.
7496
7497         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7498         free_spacing arg to Inset::latexOptional.
7499
7500         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7501         free_spacing arg.
7502
7503 2003-05-22  Angus Leeming  <leeming@lyx.org>
7504
7505         * latexrunparams.h: add fragile and use_babel variables.
7506
7507         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7508         * buffer.C (makeLaTeXFile): store this returned value in
7509         runparams.use_babel, thus passing it to the inset::latex methods.
7510
7511         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7512         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7513
7514         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7515         longer has a fragile arg, as it is stored in runparams.fragile.
7516
7517         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7518         moving_arg parameter as the data is stored in runparams.fragile.
7519
7520         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7521         a fragile parameter as the data is stored in runparams.fragile.
7522
7523 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7524
7525         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7526
7527 2003-05-22  Angus Leeming  <leeming@lyx.org>
7528
7529         * latexrunparams.h: add a 'bool nice' which defaults to false.
7530
7531         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7532         now encapsulated within runparams.
7533
7534         * bufferlist.C (updateIncludedTeXfiles):
7535         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7536
7537 2003-05-22  Angus Leeming  <leeming@lyx.org>
7538
7539         * latexrunparams.h: new file containing struct LatexRunParams.
7540         * Makefile.am: add new file.
7541
7542         * LaTeX.[Ch] (c-tor, run):
7543         * buffer.[Ch] (makeLaTeXFile):
7544         * bufferlist.[Ch] (updateIncludedTeXfiles):
7545         * converter.C (convert, scanLog):
7546         * converter.[Ch] (runLaTeX):
7547         * exporter.C (Export):
7548         * paragraph.[Ch] (simpleTeXOnePar):
7549         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7550         * paragraph_funcs.[Ch] (latexParagraphs):
7551         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7552         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7553         pass around a LatexRunParams parameter.
7554
7555 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * paragraph.[Ch]: remove unused constructor
7558
7559         * ParagraphList.C (erase): new function, taking two iterators
7560
7561 2003-05-22  André Pönitz  <poenitz@gmx.net>
7562
7563         * undo_funcs.C: remove duplicated code
7564
7565         * iterator.[Ch]: operator=
7566
7567 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * tabular.C (SetMultiColumn): ws changes
7570
7571         * rowpainter.C (paintFirst): get rid of a ->previous
7572
7573         * lyx_cb.C (getPossibleLabel): parlist simplification
7574
7575         * BufferView.C (ChangeInsets): simplify slightly.
7576
7577 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7578
7579         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7580         * lfuns.h: new LFUN_SPACE
7581         * lyxfunc.C: protected space has a new lfun
7582         * paragraph_funcs.C: read new space insets
7583         * text3.C:
7584         * factory.C: handle new space insets
7585
7586 2003-05-22  André Pönitz  <poenitz@gmx.net>
7587
7588         * BufferView.C:
7589         * BufferView_pimpl.C:
7590         * buffer.[Ch]:
7591         * lyxfunc.C:
7592         * undo_funcs.C: return a ParIterator from getParFromID.
7593
7594         * iterators.[Ch]: add two const's
7595
7596 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7597
7598         * toc.C (getTocList): adjust
7599
7600         * iterators.[Ch]: rework for parlist
7601
7602         * buffer.C (par_iterator_begin): adjust
7603         (par_iterator_end): adjust
7604
7605         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7606
7607         * BufferView.C (removeAutoInsets): adjust
7608         (ChangeInsets): adjust
7609
7610 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7611
7612         * text.C (top_y): fix bug 1110
7613
7614 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7615
7616         * errorlist.[Ch]: added
7617         * buffer.C:
7618         * BufferView.[Ch]:
7619         * BufferView_pimpl.C:
7620         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7621         instead
7622
7623 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * Makefile.am: ensure that lyx is relinked upon changes to the
7626         various "convenience" libs.
7627
7628 2003-05-20  Angus Leeming  <leeming@lyx.org>
7629
7630         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7631         files are compiled in alphabetical order again.
7632
7633         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7634
7635 2003-05-19  Angus Leeming  <leeming@lyx.org>
7636
7637         * gettext.[Ch]: remove "char const * _(char const *)".
7638
7639 2003-05-19  André Pönitz  <poenitz@gmx.net>
7640
7641         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7642
7643         * Makefile.am:
7644         * BufferView.C:
7645         * DepTable.h:
7646         * LaTeXFeatures.C:
7647         * buffer.C:
7648         * lyxfont.C:
7649         * lyxlex.h:
7650         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7651
7652 2003-05-19  André Pönitz  <poenitz@gmx.net>
7653
7654         * buffer.C:
7655         * lyxlayout.[Ch]:
7656         * lyxtextclass.[Ch]:
7657         * paragraph.C:
7658         * paragraph_funcs.[Ch]:
7659         * text2.C:
7660         * text3.C: more insetenv work
7661
7662 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7663
7664         * ParagraphParameters.C (params2string): small bug fixed
7665
7666 2003-05-16  André Pönitz  <poenitz@gmx.net>
7667
7668         * debug.C:
7669         * bufferview_funcs.C: patch from Kornel Benko to prevent
7670           crash when _(...) is called twice in a statement
7671
7672 2003-05-16  André Pönitz  <poenitz@gmx.net>
7673
7674         * BufferView.C:
7675         * lyxfunc.C:
7676         * text.C:
7677         * text2.C:
7678         * text3.C:
7679         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7680
7681 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7682
7683         * lyx_main.C (init): remove spurious static_cast
7684
7685 2003-05-14  André Pönitz  <poenitz@gmx.net>
7686
7687         * BufferView.C: fix format string
7688
7689 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7690
7691         * BufferView.[Ch] (insertErrors): removed
7692         * BufferView.[Ch] (showErrorList): added
7693         * buffer.C (runChkTeX):
7694         * converter.C (scanLog): call showErrorList instead of inserterrors
7695
7696 2003-05-13  André Pönitz  <poenitz@gmx.net>
7697
7698         * BufferView_pimpl.C:
7699         * buffer.C:
7700         * bufferview_func.C:
7701         * MenuBackend.C:
7702         * lyxfunc.C:
7703         * lyxrc.C:
7704         * tex-accent.C:
7705         * text3.C:
7706         * toc.C:
7707         * tabular_funcs.h: tostr() from its own header
7708
7709         * ParagraphParameters.C:
7710         * ToolbarBackend.C:
7711         * bufferparams.C:
7712         * format.C:
7713         * lyxlex_pimpl.C:
7714         * text3.C: STRCONV()
7715
7716 2003-05-12  André Pönitz  <poenitz@gmx.net>
7717
7718         * BufferView.C:
7719         * BufferView_pimpl.C:
7720         * CutAndPaste.C:
7721         * LaTeX.C:
7722         * LaTeXFeatures.C:
7723         * ParagraphParameters.C:
7724         * buffer.C:
7725         * bufferlist.C:
7726         * bufferparams.C:
7727         * bufferview_funcs.C:
7728         * converter.C:
7729         * counters.C:
7730         * debug.C:
7731         * exporter.C:
7732         * format.C:
7733         * importer.C:
7734         * lyx_cb.C:
7735         * lyx_main.C:
7736         * lyxfont.C:
7737         * lyxfunc.C:
7738         * lyxvc.C:
7739         * paragraph.C:
7740         * paragraph_funcs.C:
7741         * tabular.C:
7742         * tabular_funcs.C:
7743         * text2.C:
7744         * text3.C:  boost::format -> bformat  all over the place
7745
7746
7747 2003-05-09  André Pönitz  <poenitz@gmx.net>
7748
7749         * LColor.[Ch]: Pimpl the #include <map> away
7750
7751 2003-05-09  John Levon  <levon@movementarian.org>
7752
7753         * bufferlist.C: never remove emergency saves
7754
7755 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * Makefile.am: better lib building
7758
7759 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7760
7761         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7762         instead.
7763         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7764         (simpleTeXSpecialChars): adjust
7765         (simpleTeXSpecialChars): adjust
7766         * paragraph.C (simpleTeXOnePar): adjust
7767         * buffer.C (makeLaTeXFile): adjust
7768
7769         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7770
7771         * text2.C (changeDepth): parlist cleanup
7772         (getColumnNearX): ditto
7773
7774         * rowpainter.C (getLabelFont): parlist cleanup
7775
7776         * bufferlist.C (newFile): parlist cleanup
7777
7778         * CutAndPaste.C (eraseSelection): parlist cleanup
7779
7780         * BufferView_pimpl.C (trackChanges): parlist cleanup
7781         (dispatch): ditto
7782
7783         * BufferView.C (lockInset): parlist cleanup.
7784         (ChangeInsets): ditto
7785
7786 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * CutAndPaste.h: Update file header.
7789
7790         * CutAndPaste.C: Update file header.
7791         Store the parts cut out of the Document in a limited_stack.
7792         (copySelection): adjust
7793         (pasteSelection): new function, takes the index in the limited stack.
7794         (nrOfParagraphs): adjust
7795         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7796         simplify error inset insertion.
7797         (checkPastePossible): adjust
7798
7799 2003-05-06  John Levon  <levon@movementarian.org>
7800
7801         * text2.C: don't cast wrap inset to float
7802
7803 2003-05-05  André Pönitz  <poenitz@gmx.net>
7804
7805         * iterator.C:
7806         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7807
7808         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7809           few naked Paragraph *.
7810
7811 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7812
7813         * bufferparams.C: Output warning if a document with missing
7814         TeX document class is loaded
7815         * exporter.C: Disable TeX exports if the document class is missing
7816         * lyxtextclass.C:
7817         * lyxtextclass.h:
7818         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7819         isTeXClassAvailable()
7820
7821 2003-05-03  John Levon  <levon@movementarian.org>
7822
7823         * BufferView.h:
7824         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7825         explicit cursor show/hide
7826
7827         * BufferView_pimpl.h:
7828         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7829         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7830
7831         * lyxfunc.C: hide cursor before dispatching.
7832
7833         * lyx_cb.C:
7834         * lyxfind.C:
7835         * text.C:
7836         * text3.C: remove explicit cursor hides
7837
7838 2003-05-02  André Pönitz  <poenitz@gmx.net>
7839
7840         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7841
7842         * undo_funcs.C:
7843         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7844           linked lists
7845
7846         * text2.C: tiny whitespace
7847
7848 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * undo_funcs.C: almost only ws changes.
7851
7852         * ParagraphList.C (splice): just return if pl is empty.
7853
7854 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * ParagraphList.C (splice): new function.
7857
7858         * CutAndPaste.C (pasteSelection): use it
7859
7860 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * CutAndPaste.C (pasteSelection): remove the last next and
7863         previous from this file.
7864
7865 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7866
7867         * CutAndPaste.C (pasteSelection): more clean up, user proper
7868         ParagraphList functions for pasteing.
7869
7870         * ParagraphList.C (insert): new function, three arg insert
7871
7872 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * ParagraphList.C (insert): new function, three arg insert
7875
7876         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7877         not on paragraphs.
7878
7879 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7882
7883 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7884
7885         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7886
7887 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7890         (copySelection): clean up a bit.
7891         (pasteSelection): use make_pair
7892
7893         * ParagraphList.C (ParagraphList): implement copy constructor
7894         (operator=): implement, base on copy constructor.
7895         (assign): new func
7896
7897         * paragraph.C (erase): return a bool
7898
7899         * paragraph_pimpl.C (erasePos): remove function, move contents...
7900         (erase): ... here. Return a bool.
7901         (erase): call erase instead of erasePos.
7902
7903 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7904
7905         * ParagraphList.h: define PitPosPair
7906         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7907         ParagraphList, fix a bug on pasting multiple pars
7908         * text2.C: change interface to C&P
7909
7910 2003-04-30  André Pönitz  <poenitz@gmx.net>
7911
7912         * undo_func.C: revert part of yesterday's patch 2
7913
7914 2003-04-30  John Levon  <levon@movementarian.org>
7915
7916         * LColor.C: s/tabular/table/
7917
7918 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * text3.C (dispatch): do not convert iterator -> pointer
7921         * undo_funcs.C (setCursorParUndo): ditto
7922         * text_funcs.C (transposeChars): ditto
7923
7924         * text2.C (setLayout): ws changes only
7925
7926         * text.C (breakParagraph): do not convert iterator -> pointer
7927         (insertChar): ditto
7928         (acceptChange): ditto
7929         (rejectChange): ditto
7930         (changeCase): ditto
7931         (Delete): ditto
7932         (backspace): ditto
7933
7934         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7935         pointer
7936
7937 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7938
7939         * text3.C (gotoInset): YABG (yet another bad getChar)
7940
7941 2003-04-29  André Pönitz  <poenitz@gmx.net>
7942
7943         * paragraph.h: make operator= private unimplemented as long as
7944           it is unusable
7945
7946         * ParagraphList.C: whitespace
7947
7948         * paragraph.[Ch]:
7949         * paragraph_pimpl.[Ch]:
7950         * paragraph_funcs.C:
7951         * CutAndPaste.C:
7952         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7953
7954         * text2.C:
7955           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7956
7957 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7958
7959         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7960         * paragraph.[Ch] (erase):
7961         * paragraph_pimpl.[Ch] (erase): change return type and value
7962         * text2.C (cutSelection): some rework
7963
7964 2003-04-28  John Levon  <levon@movementarian.org>
7965
7966         * bufferlist.C: changes for unsaved changes dialog
7967
7968 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * bufferlist.C (newFile): set language (messages_) for new
7971         documents also.
7972
7973         * buffer.C (readFile): ws changes only.
7974
7975 2003-04-28  André Pönitz  <poenitz@gmx.net>
7976
7977         * undo_funcs.C:
7978         * lyxfunc.C:
7979         * buffer.[Ch]:
7980         * BufferView_pimpl.C:
7981         * BufferView.C: getParFromID related ParagraphList::iterator changes
7982
7983 2003-04-28  André Pönitz  <poenitz@gmx.net>
7984
7985         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7986           Changes
7987
7988 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * messages.C: remove one more localedir class variable.
7991
7992 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * messages.C (getLocaleDir): singleton generation function
7995         (Pimpl): use it.
7996         (Messages): add a default constructor.
7997
7998         * main.C (main): do not setup localedir here, do not call
7999         gettext_init.
8000
8001         * gettext.C (_): use it.
8002         (gettext_init): delete funciton
8003
8004 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * gettext.C (getLyXMessages): new singleton generating function.
8007
8008         * buffer.C (updateDocLang): adjust
8009
8010         * Makefile.am (messages.o): add target
8011         (main.o): remove target
8012
8013 2003-04-27  John Levon  <levon@movementarian.org>
8014
8015         * bufferlist.C:
8016         * lyx_cb.C:
8017         * lyxfunc.C:
8018         * lyxvc.C: specify cancel button in Alert::prompt
8019
8020 2003-04-26  John Levon  <levon@movementarian.org>
8021
8022         * text3.C:
8023         * lyxfunc.C:
8024         * lfuns.h:
8025         * LyXAction.C: add LFUN_INSET_SETTINGS
8026
8027         * lyxfunc.C: don't enable tabular-feature when there's
8028         just any locking inset
8029
8030 2003-04-26  John Levon  <levon@movementarian.org>
8031
8032         * bufferlist.C: re-add Cancel to buffer close question
8033
8034         * lyxfunc.C: fix import UI a bit
8035
8036 2003-04-25  John Levon  <levon@movementarian.org>
8037
8038         * gettext.C: remove the broken asserts for now
8039
8040 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8041
8042         * messages.C: make case where setlocale cannot comply work better.
8043
8044         * buffer.C (updateDocLang): new function
8045         (changeLanguage): use it
8046         (readFile): use it
8047
8048         * text2.C (setCounter): use B_ a bit.
8049
8050         * lyxlayout.C (Read): be sure to trim the label strings.
8051
8052         * messages.C (Messages): fix typo in comment
8053
8054         * buffer.C (readFile): set message_ after file is loaded.
8055         (makeDocBookFile): remove double return
8056         (changeLanguage): reset message_ upon language change.
8057         (B_): new func, use this to get translated buffer strings.
8058
8059         * main.C: add myself and Jean Marc as authors.
8060
8061 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * messages.[hC]: pimplify Messages, and three different pimpls to be
8064         used in different circumstances.
8065
8066         * gettext.[Ch]: change for use with new message code.
8067
8068 2003-04-24 André Pönitz <poenitz@gmx.net>
8069
8070         * factory.C: support for eqref
8071
8072 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * messages.[Ch]: add missing char
8075
8076         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8077
8078         * messages.[Ch]: New files
8079
8080 2003-04-18  John Levon  <levon@movementarian.org>
8081
8082         * BufferView.h:
8083         * BufferView.C:
8084         * BufferView_pimpl.C:
8085         * lfuns.h:
8086         * LyXAction.C:
8087         * lyxtext.h:
8088         * text2.C: remove layout-copy/paste (bug 778)
8089
8090 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8091
8092         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8093
8094 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8095
8096         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8097         if they succeed. Act accordingly.
8098
8099 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * text2.C (setCharFont): adjust
8102         (setCounter): adjust
8103         (insertStringAsLines): adjust
8104
8105         * text.C (leftMargin): adjust
8106         (setHeightOfRow): adjust
8107
8108         * rowpainter.C (paintFirst): adjust
8109         (paintLast): adjust
8110
8111         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8112         (outerHook): ditto
8113         (isFirstInSequence): ditto
8114         (getEndLabel): ditto
8115         (outerFont): adjust
8116
8117         * paragraph.C (getParLanguage): comment out some hard stuff.
8118
8119         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8120         (sgmlError): ditto
8121         (simpleDocBookOnePar): ditto
8122         (makeDocBookFile): use ParagraphList::iterator
8123
8124         * CutAndPaste.C (pasteSelection): adjust
8125
8126 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * text2.C (getFont): adjust
8129         (getLayoutFont): adjust
8130         (getLabelFont): adjust
8131
8132         * paragraph_funcs.C (TeXOnePar): adjust
8133
8134         * buffer.C (simpleLinuxDocOnePar): adjust
8135         (simpleDocBookOnePar): adjust
8136
8137         * CutAndPaste.C (pasteSelection): adjust
8138
8139         * BufferView.C (getEncoding): adjust
8140
8141         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8142
8143 2003-04-16  John Levon  <levon@movementarian.org>
8144
8145         * lyxfind.C: use parlist stuff for search/changes
8146
8147 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8148
8149         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8150
8151         * text2.C (deleteEmptyParagraphMechanism): adjust
8152
8153         * text2.[Ch] (ownerParagraph): delete func (both of them
8154
8155 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8156
8157         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8158
8159 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8160
8161         * ParagraphList.C: prepare for NO_NEXT
8162
8163 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * text2.C (getFont): adjust
8166         (getLayoutFont): adjust
8167         (getLabelFont): adjust
8168
8169         * paragraph.C (getFont): adjust
8170         (getLabelFont): adjust
8171         (getLayoutFont): adjust
8172
8173         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8174
8175 2003-04-15  John Levon  <levon@movementarian.org>
8176
8177         From Angus Leeming
8178
8179         * lyx_main.C: handle Include in .ui files
8180
8181 2003-04-15  John Levon  <levon@movementarian.org>
8182
8183         * MenuBackend.C: make the doc files length shorter
8184
8185         * ToolbarBackend.h:
8186         * ToolbarBackend.C: handle toolbar placement flags,
8187         Minibuffer
8188
8189 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8190
8191         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8192         adjust
8193
8194         * paragraph_funcs.C (TeXOnePar): adjust
8195
8196         * paragraph.C (getLabelFont): add outerfont arg, adjust
8197         (getLayoutFont): ditto
8198         (simpleTeXOnePar): adjust
8199
8200         * paragraph_pimpl.C (realizeFont): delete func
8201
8202 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8203
8204         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8205         row argument, constify cur argument.
8206
8207 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * text2.C (getFont): adjust
8210         (getLayoutFont): adjust
8211         (getLabelFont): adjust
8212
8213         * paragraph_funcs.C (TeXOnePar): adjust
8214         (outerFont): new func...
8215         (realizeFont): ...moved out from here, changed this to facilitate
8216         transition
8217
8218         * paragraph.C (getFont): take outerfont as arg, adjust
8219         (simpleTeXOnePar): add outerfont arg, adjust
8220
8221         * buffer.C (simpleLinuxDocOnePar): adjust
8222         (simpleDocBookOnePar): adjust
8223
8224         * CutAndPaste.C (pasteSelection): adjust
8225
8226         * BufferView.C (getEncoding): adjust
8227
8228 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * text2.C (setCharFont): adjust
8231         (setCounter): adjust
8232
8233         * text.C (leftMargin): adjust
8234         (setHeightOfRow): adjust
8235
8236         * rowpainter.C (paintFirst): adjust
8237         (paintLast): adjust
8238
8239         * paragraph_pimpl.C (realizeFont): adjust
8240
8241         * paragraph.C (isFirstInSequence): move from here...
8242         * paragraph_funcs.C (isFirstInSequence): ...to here
8243
8244         * paragraph.C (outerHook): move from here...
8245         * paragraph_funcs.C (outerHook): ...to here
8246
8247         * paragraph.C (depthHook): move from here...
8248         * paragraph_funcs.C (depthHook): ...to here
8249
8250         * paragraph.C (getEndLabel): move from here...
8251         * paragraph_funcs.C (getEndLabel): ...to here
8252
8253         * text2.C (realizeFont): move from here...
8254         * paragraph_funcs.C (realizeFont): ...to here
8255
8256 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8259
8260 2003-04-14  Angus Leeming  <leeming@lyx.org>
8261
8262         * LColor.[Ch]: scrap LColor mathcursor.
8263
8264 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * lyxlex.[Ch] (text): delete function
8267         * trans.C (Load): adjust
8268         * paragraph_funcs.C (readParToken): adjust
8269
8270 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8273         vector<char> instead of a char[].
8274
8275         * lyxlex_pimpl.C (getString): adjust
8276         (next): adjust
8277         (lex): use getString
8278         (eatLine): adjust
8279         (nextToken): adjust
8280
8281         * lyxlex.C (text): use pimpl_->getString()
8282         (getBool): ditto
8283         (findToken): ditto
8284
8285 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8286
8287         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8288         (makeFontEntriesLayoutSpecific): temp var for par.size()
8289         (setLayout): temp var for ownerParagraphs().end()
8290         (fullRebreak): temp var for rows().end()
8291         (selectionAsString): temp var for boost::next(startpit), realize
8292         that the while really is a regular for loop.
8293         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8294         setCursor in one place.
8295         (setParagraph): temp vr for ownerParagraphs().end()
8296         (updateCounters): make the while loop a for loop
8297         (cutSelection): temp var for ownerParagraphs().end()
8298         (updateInset): make the do {} while() a regular for loop
8299         (getCursorX): use temp vars
8300         (setCurrentFont): use temp vars
8301         (getColumnNearX): use temp vars
8302
8303 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8304
8305         * text.C (transformChar): use temp var for getChar
8306         (computeBidiTables): use temp var for row->par()
8307         (fill): move temp vars for row->par() and pit->layout() earlier in
8308         the function.
8309         (labelFill): use temp var for row->par()
8310         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8311         asc and desc, realize that pit never changes and that firstpit is
8312         just a duplicate and not needed. Exchange rit->par() with pit in a
8313         lot of places.
8314         (breakAgain): use a temp var for boost::next(rit)
8315         (breakAgainOneRow): ditto
8316         (breakParagraph): use a temp var for rows().begin()
8317         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8318         (cursorRightOneWord): use temp var for cursor.par() and
8319         cursor.pos(), remove usage of tmpcursor.
8320         (cursorLeftOneWord): use temp var for cursor.par() and
8321         cursor.pos() only set cur at end of function.
8322
8323 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * text.C, text2.C: exchange all usage of Paragraph::next with
8326         boost::next(ParagraphList::iterator)
8327
8328         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8329
8330         * text2.C (cursorTop): simplify implementation
8331         (cursorBottom): ditto
8332         (setParagraph): use ParagraphList::iterator
8333         (setCurrentFont): adjust
8334         (getColumnNearX): adjust
8335         (cursorRight): adjust
8336         (cursorLeft): remove usage of Paragraph::previous
8337         (cursorUpParagraph): ditto
8338         (deleteEmptyParagraphMechanism): slight cleanup
8339
8340         * text.C (isBoundary): take a Paragraph const & instead of a
8341         pointer as arg.
8342         (addressBreakPoint): ditto
8343         (leftMargin): remove usage of Paragraph::previous.
8344         (setHeightOfRow): ditto
8345         (cursorLeftOneWord): ditto
8346         (selectNextWordToSpellcheck): ditto
8347         (Delete): ditto
8348         (backspace): ditto
8349         (breakParagraph): remove one usage of Paragraph::next
8350         (redoParagraph): ditto
8351         (acceptChange): ditto
8352         (insertChar): adjust
8353         (rowBreakPoint): adjust
8354
8355         * bufferview_funcs.C (toggleAndShow): adjust
8356
8357 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8358
8359         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8360         methods to access it.
8361         * lyxtext.h:
8362         * text.C: Added updateRowPositions to compute all row positions.
8363         Make top_y and getRowNearY() to use the cached y position
8364
8365 2003-04-11  John Levon  <levon@movementarian.org>
8366
8367         * text.C (rowBreakPoint): reintroduce the labelEnd
8368         checks, code copied from the row fill stuff. Deep voodoo.
8369
8370         * text.C (fill): add a comment and debugging for the
8371         next poor soul.
8372
8373 2003-04-11  John Levon  <levon@movementarian.org>
8374
8375         * text.C: make sure fullrow insets get wrapped to the next line,
8376         even when they're in a manual label
8377
8378 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * text2.C (insertParagraph): make it take ParagraphList::iterator
8381         as arg.
8382         (setLayout): make it return ParagraphList::iterator
8383         (redoParagraphs): ditto
8384         (setCounter): ditto
8385         (checkParagraph): ditto
8386
8387         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8388
8389         * text2.C: adjust several funcs.
8390         (realizeFont): take a ParagraphList::iterator as arg.
8391         (getLayoutFont): ditto
8392         (getLabelFont): ditto
8393         (setCharFont): ditto
8394
8395         * text.C: adjust several funcs.
8396
8397 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8398
8399         * text.C (selectNextWordToSpellcheck): don't accidentally
8400         skip insets
8401
8402 2003-04-10  John Levon  <levon@movementarian.org>
8403
8404         * ToolbarBackend.C (getIcon): special handling for
8405         LFUN_MATH_DELIM
8406
8407 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8408
8409         * text2.C (cursorRight): a getChar assert fixed
8410
8411 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8412
8413         * text2.C (getFont): change to take a ParagraphList::iterator
8414         instead of Paragraph*
8415         Adjust several functions.
8416
8417         * text.C (transformChar): change to take a ParagraphList::iterator
8418         instead of Paragraph*
8419         (singleWidth): ditto
8420         Adjust several functions.
8421
8422         * rowpainter.C: adjust several functions
8423         * rowpainter.h:store a ParagraphList::iterator and not a
8424         Paragraph&.
8425
8426
8427 2003-04-09  John Levon  <levon@movementarian.org>
8428
8429         * lyxfunc.C:
8430         * lfuns.h:
8431         * LyXAction.h:
8432         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8433         and the "help" bits as well
8434
8435 2003-04-09  John Levon  <levon@movementarian.org>
8436
8437         * ToolbarBackend.h:
8438         * ToolbarBackend.C: allow multiple toolbars
8439
8440 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * undo_funcs.C (setCursorParUndo): adjust
8443
8444         * text_funcs.C (transposeChars): adjust
8445
8446         * text3.C (gotoNextInset): adjust
8447         (dispatch): adjust
8448
8449         * text2.C (setLayout): adjust
8450         (changeDepth): adjust
8451         (setFont): adjust
8452         (redoParagraphs): adjust
8453         (selectionAsString): adjust
8454         (setParagraph): adjust
8455         (insertInset): adjust
8456         (cutSelection): adjust
8457         (copySelection): adjust
8458         (pasteSelection): adjust
8459         (insertStringAsLines): adjust
8460         (updateInset): adjust
8461         (setCursor): change to take a ParagraphList::iterator parameter
8462         (setCursorIntern): change to take a ParagraphList::iterator parameter
8463         (setCurrentFont): adjust
8464         (cursorLeft): adjust
8465         (cursorRight): adjust
8466         (deleteEmptyParagraphMechanism): adjust
8467
8468         * text.C (breakParagraph): adjust
8469         (insertChar): adjust
8470         (acceptChange): adjust
8471         (rejectChange): adjust
8472         (selectNextWordToSpellcheck): adjust
8473         (changeCase): adjust
8474         (Delete): adjust
8475         (backspace): adjust
8476
8477         * lyxfind.C (SearchForward): adjust
8478         (SearchBackward): adjust
8479         (nextChange): adjust
8480
8481         * lyxcursor.C (par): adjust
8482
8483         * lyxcursor.h: store a ParagraphList::iterator instead of a
8484         Paragraph*
8485
8486         * lyx_cb.C (getPossibleLabel): adjust
8487
8488         * bufferview_funcs.C (toggleAndShow): adjust
8489
8490         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8491         (dispatch): adjust
8492
8493         * BufferView.C (removeAutoInsets): adjust
8494         (lockedInsetStoreUndo): adjust
8495
8496 2003-04-09  John Levon  <levon@movementarian.org>
8497
8498         * ToolbarBackend.C: try icon without argument
8499         if with argument fails
8500
8501 2003-04-08  John Levon  <levon@movementarian.org>
8502
8503         * ToolbarBackend.h:
8504         * ToolbarBackend.C: add getIcon(), handle tooltip,
8505         and change from "Icon" to "Item".
8506
8507 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8508
8509         * BufferView.C (lockInset): another bad getchar crunched
8510
8511 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8512
8513         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8514         again)
8515
8516 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8517
8518         * lyxfind.C (searchForward, searchBackwards): bug 782
8519
8520 2003-04-07  John Levon  <levon@movementarian.org>
8521
8522         * paragraph.C: remove dead comment
8523
8524         * text.C: remove troublesome depth-fiddling code
8525         in leftMargin() and rightMargin() (bug 1017)
8526
8527         * text.C: fix breaking of rows in nested lists
8528         (bug 1004)
8529
8530         * text2.C (updateCounters): fix up depth values
8531         (bug 1013)
8532
8533 2003-04-07  John Levon  <levon@movementarian.org>
8534
8535         * BufferView_pimpl.C: clear message when doc finishes resizing,
8536         and after a mouse event
8537
8538         * lyxfunc.C: clear message after exiting inset
8539
8540 2003-04-07  John Levon  <levon@movementarian.org>
8541
8542         * bufferview_funcs.C: show math status not outside
8543         status in the statusbar
8544
8545 2003-04-07  John Levon  <levon@movementarian.org>
8546
8547         * lyxfunc.C: note status changed after a depth change
8548
8549 2003-04-04  Angus Leeming  <leeming@lyx.org>
8550
8551         * LaTeX.h: move AuxInfo operator==, != out of line.
8552         Remove LaTeX virtual destructor; nothing derives from it.
8553         Move operator()() out of public area and rename it startscript().
8554         Change protected for private.
8555
8556 2003-04-04  Angus Leeming  <leeming@lyx.org>
8557
8558         * lyxfunc.C:
8559         * text2.C: remove unneeded #includes.
8560
8561 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8562
8563         * text2.C (dEPM): fix the heigth of the next row
8564
8565 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8566
8567         * text.C: squashed an invalid getChar requester + some ws changes
8568
8569 2003-04-03  John Levon  <levon@movementarian.org>
8570
8571         * bufferview_funcs.h:
8572         * bufferview_funcs.C:
8573         * lyxfunc.C:
8574         * lyxtext.h:
8575         * text2.C: make getStatus work for the env depth lfuns
8576
8577 2003-04-03  John Levon  <levon@movementarian.org>
8578
8579         * bufferview_funcs.h:
8580         * bufferview_funcs.C:
8581         * lyxfunc.C:
8582         * lyxtext.h:
8583         * text2.C: parlistize decDepth(), by merging it with incDepth()
8584
8585 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8586
8587         * lyxrow.h: store a ParagraphList::iterator instead of a
8588         Paragraph* and adjust other class functions to suit.
8589
8590         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8591         above.
8592
8593 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8594
8595         * text2.C (setCursor): do not anchor to cursor row for the time being
8596
8597 2003-04-02  John Levon  <levon@movementarian.org>
8598
8599         * LyXAction.C:
8600         * lfuns.h:
8601         * lyx_main.C:
8602         * lyxtext.h:
8603         * text.C:
8604         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8605
8606 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * paragraph.h: make ParagraphList and ParagraphList::iterator
8609         friends of Paragraph.
8610
8611         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8612
8613         * ParagraphList.C: Use the private next_ and previous_ from
8614         Paragraph.
8615
8616 2003-04-01  John Levon  <levon@movementarian.org>
8617
8618         * ToolbarBackend.h:
8619         * ToolbarBackend.C:
8620         * Makefile.am: rename, remove defaults gunk
8621
8622         * MenuBackend.h:
8623         * MenuBackend.C: remove defaults gunk
8624
8625         * Languages.h:
8626         * Languages.C: remove defaults gunk
8627
8628         * lyx_main.h:
8629         * lyx_main.C: error out if files couldn't be found.
8630
8631 2003-04-02  John Levon  <levon@movementarian.org>
8632
8633         * text2.C: make incDepth() use parlist
8634
8635 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8636
8637         * undo_funcs.C (firstUndoParagraph): adjust
8638
8639         * text3.C (gotoInset): adjust
8640         (dispatch): adjust, and rewrite loop.
8641
8642         * text2.C (init): adjust, and rewrite loop.
8643         (redoParagraphs): adjust
8644         (updateInset): adjust, and rewrite loop.
8645         (deleteEmptyParagraphMechanism): adjust
8646
8647         * tabular.C (LyXTabular): adjust
8648         (SetMultiColumn): adjust
8649         (TeXRow): adjust
8650
8651         * lyxtext.[Ch] (ownerParagraph): delete function
8652         (ownerParagraphs): new function returns a ParagraphList.
8653
8654         * BufferView.C (removeAutoInsets): adjust
8655         (insertErrors): adjust
8656         (setCursorFromRow): adjust
8657
8658 2003-04-01  Angus Leeming  <leeming@lyx.org>
8659
8660         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8661         in the frontends.
8662
8663 2003-04-02  John Levon  <levon@movementarian.org>
8664
8665         * lyxtext.h:
8666         * text.C:
8667         * Makefile.am:
8668         * text_funcs.h:
8669         * text_funcs.C: make transposeChars a free function
8670
8671         * lyxrow_funcs.C: remove wrong comment
8672
8673 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8674
8675         * lyxtext.h: adjust
8676         * rowpainter.C: adjust
8677         * text.C: adjust
8678         * text2.C: adjust
8679         * text3.C: adjust
8680
8681         * lyxrow_funcs. [Ch]: new files
8682
8683         * lyxrow.[Ch]: remove next and previous pointers
8684         (next,previous): remove accessor functions
8685         (isParEnd): move to lyxrow_funcs
8686         (lastPos): move to lyxrow_funcs
8687         (nextRowIsAllInset): move to lyxrow_funcs
8688         (lastPrintablePos): move to lyxrow_funcs
8689         (numberOfSeparators): move to lyxrow_funcs
8690         (numberOfHfills): move to lyxrow_funcs
8691         (numberOfLabelHfills): move to lyxrow_funcs
8692         (hfillExpansion): move to lyxrow_funcs
8693
8694         * lyxfunc.C: adjust
8695
8696         * bufferview_funcs.C (toggleAndShow): adjust
8697
8698         * RowList.h: Remove class RowList from file leave just a
8699         std::list<Row>.
8700
8701         * RowList.C: delete file
8702
8703         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8704         and lyxrow_funcs.h
8705
8706 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * text3.C (cursorPrevious): adjust
8709         (cursorNext): adjust
8710         (dispatch): adjust
8711
8712         * text2.C (redoHeightOfParagraph): adjust
8713         (redoDrawingOfParagraph): adjust
8714         (setCursor): adjust
8715
8716         * text.C (breakParagraph): adjust
8717         (insertChar): adjust
8718         (backspace): adjust
8719
8720         * rowpainter.C (RowPainter): adjust
8721         (leftMargin): simplify and adjust
8722         (most rowpainter functions): adjust.
8723
8724         * rowpainter.h: store the row as RowList::iterator not as Row*
8725
8726         * lyxcursor.C (row): taka RowList::iterator as arg
8727         (irow): ditto
8728
8729         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8730         of Row*.
8731
8732 2003-04-01  Angus Leeming  <leeming@lyx.org>
8733
8734         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8735         stuff like bool Bool.
8736
8737 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8738
8739         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8740         rewrite a loop
8741
8742 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8743
8744         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8745         RowList::iterator.
8746
8747         * lyxtext.h (rows): drop one version and leve a const variant that
8748         returns a RowList::iterator.
8749
8750 2003-03-31  Angus Leeming  <leeming@lyx.org>
8751
8752         * text.C (fill): ensure that the signature is the same as that in the
8753         header file.
8754
8755 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * text2.C (redoParagraphs): adjust
8758         (updateCounters): adjust
8759         (checkParagraph): adjust
8760         (getColumnNearX): adjust and reformat a bit.
8761
8762         * text.C (top_y): adjust
8763         (workWidth): adjust
8764         (leftMargin): adjust
8765         (prepareToPrint): adjust
8766         (getRow): adjust
8767         (getRowNearY): adjust
8768
8769         * lyxtext.h: make rowlist_ mutable.
8770
8771         * RowList.h: add const_iterator
8772         * RowList.C: adjust for RowList::const_iterator.
8773
8774         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8775         adjust.
8776
8777 2003-03-31  John Levon  <levon@movementarian.org>
8778
8779         * lyxrc.h:
8780         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8781
8782         * lyx_main.C: set default fonts from using lyx_gui funcs
8783
8784         * exporter.C: pdf_mode moved from lyxrc
8785
8786         * lyx_cb.C:
8787         * lyxfunc.C: changes from above
8788
8789 2003-03-31  John Levon  <levon@movementarian.org>
8790
8791         * lyx_main.C: fix to the last fix
8792
8793 2003-03-31  John Levon  <levon@movementarian.org>
8794
8795         * bufferlist.C: "Load original" -> "Load Original"
8796
8797         * converter.C:
8798         * exporter.C:
8799         * importer.C:
8800         * lyx_main.C:
8801         * format.C: more Alert cleanups
8802
8803 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8804
8805         * text2.C (removeParagraph): make it take a RowList::iterator as
8806         arg, adjust.
8807         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8808         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8809
8810         * text.C (anchor_row): make it take a RowList::iterator as arg,
8811         adjust.
8812         (computeBidiTables): make it take a const reference to Row instead
8813         of Row pointer, adjust.
8814         (leftMargin): make it take a RowList::iterator as arg, adjust.
8815         (rowBreakPoint): adjust
8816         (breakAgainOneRow): make it take a RowList::iterator as arg,
8817         adjust.
8818         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8819
8820         * bufferview_funcs.C (toggleAndShow): adjust
8821
8822 2003-03-30  John Levon  <levon@movementarian.org>
8823
8824         * Makefile.am:
8825         * BoostFormat.h:
8826         * boost-inst.C: moved to support
8827
8828         * several files: changes as a result
8829
8830 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8831
8832         * text2.C (LyXText): adjust.
8833         (init): adjust
8834         (removeRow): make it take a RowList::iterator as arg, adjust.
8835         (fullRebreak): adjust
8836         (deleteEmptyParagraphMechanism): adjust
8837         (clearPaint): adjust
8838         (postPaint): adjust
8839
8840         * text.C (top_y): adjust
8841         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8842         (breakAgain): make it take a RowList::iterator as arg, adjust.
8843         (breakParagraph): adjust
8844         (insertChar): adjust
8845         (backspace): adjust
8846
8847         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8848         need_break_row, and refresh_row.
8849
8850         * text3.C (dispatch): adjust
8851
8852         * text2.C (checkParagraph): adjust
8853         (setCursor): adjust
8854         (setCursorFromCoordinates): adjust
8855
8856         * text.C (top_y): adjust
8857         (workWidth): adjust
8858         (getRow): make it return a RowList::iterator, adjust
8859         (getRowNearY): make it return a RowList::iterator, adjust
8860
8861         * text2.C (init): adjust
8862         (insertRow): remove function
8863         (insertParagraph): adjust
8864         (redoParagraphs): adjust
8865         (fullRebreak): adjust
8866         (updateCounters): adjust
8867
8868         * text.C (top_y): rewrite to use RowList iterators.
8869         (top_y): adjust
8870         (setHeightOfRow): rewrite to sue RowList iterators.
8871         (appendParagraph): adjust
8872         (breakAgain): adjust
8873         (breakAgainOneRow): adjust
8874         (breakParagraph): adjust
8875         (getRow): adjust
8876         (getRowNearY): adjust, and remove commented code.
8877
8878         * lyxtext.h (firstRow): delete function
8879         (lastRow): delete function
8880         (rows): new function (const and non-const versions.)
8881         (insertRow): delete function
8882
8883         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8884
8885 2003-03-29  John Levon  <levon@movementarian.org>
8886
8887         * BufferView_pimpl.C: always update scrollbar top
8888         because pasting text when we're anchored could mean we
8889         miss an update altogether
8890
8891 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8892
8893         * text2.C (init): use rowlist_.end() and not 0.
8894         (insertRow): change to take a RowList::iterator as arg, adjust
8895         for this.
8896         (insertParagraph): change to take a RowList::iterator as arg,
8897         adjust for this.
8898         (redoParagraphs): remove some debug msgs.
8899
8900         * text.C (appendParagraph): change to take a RowList::iterator
8901         arg, adjust for this.
8902         (breakAgain): add an assert
8903         (breakAgainOneRow): ditto
8904
8905 2003-03-29  John Levon  <levon@movementarian.org>
8906
8907         * text2.C: do not clear selection after inc/decDepth
8908         (bug 550)
8909
8910 2003-03-29  John Levon  <levon@movementarian.org>
8911
8912         * BufferView.C:
8913         * buffer.C: fix broken strerrors according to Lars
8914
8915 2003-03-29  John Levon  <levon@movementarian.org>
8916
8917         * converters.C: more Alert cleanups
8918
8919 2003-03-29  John Levon  <levon@movementarian.org>
8920
8921         * bufferview_funcs.C: remove pointless Alert
8922
8923         * buffer.C: fix confusing error message when
8924         a template is chmoded 000
8925
8926 2003-03-29  John Levon  <levon@movementarian.org>
8927
8928         * BufferView.C:
8929         * BufferView.h:
8930         * BufferView_pimpl.C: Alert fixes
8931
8932         * Makefile.am:
8933         * tabular.C:
8934         * tabular-old.C: remove unused table compat reading
8935
8936 2003-03-29  John Levon  <levon@movementarian.org>
8937
8938         * BufferView.C:
8939         * buffer.C:
8940         * lyx_cb.h:
8941         * lyx_cb.C: more Alert cleanups
8942
8943         * lyxfunc.C: don't allow chktex if not latex document
8944
8945 2003-03-29  John Levon  <levon@movementarian.org>
8946
8947         * lyx_cb.C:
8948         * BufferView.C:
8949         * buffer.C: warnings pushed down from support/,
8950         kill err_alert
8951
8952 2003-03-29  John Levon  <levon@movementarian.org>
8953
8954         * lyxfunc.C: safety check for C-r (revert)
8955
8956 2003-03-29  John Levon  <levon@movementarian.org>
8957
8958         * bufferlist.h:
8959         * bufferlist.C: several UI fixes using Alert::prompt.
8960         Fix the pointless looping quit code. Fix stupid revert
8961         behaviour (bug 938)
8962
8963         * lyxvc.h:
8964         * lyxvc.C:
8965         * lyx_cb.C: use Alert::prompt
8966
8967         * lyx_main.C: remove a silly question
8968
8969         * lyxfunc.C: remove a couple of silly questions,
8970         use Alert::prompt
8971
8972 2003-03-28  John Levon  <levon@movementarian.org>
8973
8974         * text2.C: fix bug 974 (End on empty par)
8975
8976 2003-03-28  John Levon  <levon@movementarian.org>
8977
8978         * BufferView_pimpl.C:
8979         * LyXAction.C:
8980         * lfuns.h: remove do-nothing math greek lfuns
8981
8982 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8983
8984         * lyxgluelength.h (isValidGlueLength): add default arg on
8985         parameter 2. Remove default arg from friend in class.
8986
8987         * lyxlength.h (isValidLength): add default arg on parameter 2.
8988         Remove default arg from friend in class.
8989
8990         * text2.C (LyXText): adjust, initialize refresh_row.
8991         (init): adjust
8992         (removeRow): adjust
8993         (insertRow): adjust
8994         (insertParagraph): adjst
8995         (redoParagraphs): adjust
8996         (fullRebreak): adjust
8997         (updateCounters): adjust
8998         (deleteEmptyParagraphMechanism): first attempt at fixing a
8999         crashing bug.
9000
9001         * text.C (top_y): adjust
9002         (setHeightOfRow): adjust
9003         (getRow): adjust
9004         (getRowNearY): adjust
9005
9006         * lyxtext.h: include RowList.h
9007         (~LyXText): not needed anymore, deleted.
9008         (firstRow): modify for RowList
9009         (lastRow): new function
9010         Delete firstrow and lastrow class variables, add a Rowlist
9011         rowlist_ class variable.
9012
9013         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9014         paragraph is empty.
9015
9016         * RowList.C (insert): fix case where it == begin().
9017
9018 2003-03-26  Angus Leeming  <leeming@lyx.org>
9019
9020         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9021         the thesaurus dialog.
9022
9023 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9024
9025         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9026
9027         * RowList.[Ch]: new files
9028
9029         * ParagraphList.C (erase): handle the case where it == begin
9030         correctly.
9031
9032 2003-03-25  John Levon  <levon@movementarian.org>
9033
9034         * Makefile.am:
9035         * aspell_local.h:
9036         * aspell.C: add new aspell support
9037
9038         * lyxrc.h:
9039         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9040         have it accessible.
9041
9042 2003-03-25  Angus Leeming  <leeming@lyx.org>
9043
9044         * lfuns.h:
9045         * LyXAction.C (init): new LFUN_INSET_INSERT.
9046
9047         * BufferView_pimpl.C (dispatch): split out part of the
9048         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9049
9050         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9051         LFUN_INSET_APPLY.
9052
9053 2003-03-25  Angus Leeming  <leeming@lyx.org>
9054
9055         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9056
9057 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9058
9059         * text2.C:
9060         * text3.C: remove useless row->height(0)
9061
9062 2003-03-25  John Levon  <levon@movementarian.org>
9063
9064         * lyxtext.h:
9065         * text2.C:
9066         * text3.C: rename the refreshing stuff to better names
9067
9068 2003-03-24  John Levon  <levon@movementarian.org>
9069
9070         * BufferView_pimpl.h:
9071         * BufferView_pimpl.C: update layout choice on a mouse
9072         press/release
9073
9074 2003-03-23  John Levon  <levon@movementarian.org>
9075
9076         * Makefile.am: fix commandtags.h reference
9077
9078 2003-03-22  John Levon  <levon@movementarian.org>
9079
9080         * BufferView_pimpl.C:
9081         * lyxtext.h:
9082         * rowpainter.C:
9083         * rowpainter.h:
9084         * text.C:
9085         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9086
9087 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9088
9089         * lyxtext.h:
9090         * text.C: take the rtl methods out of line
9091
9092 2003-03-21 André Pönitz <poenitz@gmx.net>
9093
9094         * metricsinfo.[Ch]: new files containing structures to be passed around
9095         during the two-phase-drawing...
9096
9097 2003-03-21 André Pönitz <poenitz@gmx.net>
9098
9099         * lyxtextclass.C: read 'environment' tag.
9100
9101 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9102
9103         * text2.C (removeRow): fix bug 964
9104
9105 2003-03-20  John Levon  <levon@movementarian.org>
9106
9107         * rowpainter.C:
9108         * text.C:
9109         * text2.C: paint cleanups. Inset::update() dropped font
9110         parameter
9111
9112 2003-03-19  John Levon  <levon@movementarian.org>
9113
9114         * lyxfunc.C: only fitcursor/markDirty if available()
9115
9116 2003-03-19  John Levon  <levon@movementarian.org>
9117
9118         * commandtags.h: rename to ...
9119
9120         * lfuns.h: ... this, and renumber / cleanup
9121
9122 2003-03-19  John Levon  <levon@movementarian.org>
9123
9124         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9125         fit the cursor after an lfun
9126
9127         * BufferView.h:
9128         * BufferView.C:
9129         * BufferView_pimpl.h:
9130         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9131
9132         * LyXAction.C: layout-character should have ReadOnly
9133
9134         * ParagraphParameters.C:
9135         * buffer.C:
9136         * bufferview_funcs.C:
9137         * lyx_cb.C:
9138         * lyxfind.C:
9139         * lyxtext.h:
9140         * text.C:
9141         * text2.C:
9142         * text3.C:
9143         * undo_funcs.C: changes from above
9144
9145 2003-03-18  John Levon  <levon@movementarian.org>
9146
9147         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9148         remove it from update()
9149
9150         * lyxfunc.C: update layout choice after an lfun
9151
9152         * text3.C: remove extra updateLayoutChoice()s
9153
9154 2003-03-18  John Levon  <levon@movementarian.org>
9155
9156         * text.C: top_y change means full repaint, fix
9157         a drawing bug with cursor movement
9158
9159 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9160
9161         * lyxtext.h:
9162         * text.C:
9163         * text2.C: anchor row on setCursor
9164
9165 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9166
9167         * lyxtext.h: remove almost all mutable keywords
9168         * text.C:
9169         * text2.C:
9170         * text3.C: remove const keywords accordingly
9171
9172 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9173
9174         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9175         anon namespace
9176         (TeXEnvironment): ditto
9177         (TeXOnePar): ditto
9178
9179 2003-03-17  John Levon  <levon@movementarian.org>
9180
9181         * text.C (rowBreakPoint): remove attempt to fix displayed
9182         math insets inside a manual label
9183
9184 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9185
9186         * lyxtext.h: remove BufferView* as first arg from almost all class
9187         functions.
9188         * other files: adjust.
9189
9190 2003-03-17  John Levon  <levon@movementarian.org>
9191
9192         * lyxtext.h:
9193         * undo_funcs.C:
9194         * text2.C: more paint cleanups
9195
9196         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9197
9198         * rowpainter.h:
9199         * rowpainter.C: remove "smart" background painting code
9200
9201 2003-03-16  John Levon  <levon@movementarian.org>
9202
9203         * lyxtext.h:
9204         * text.C:
9205         * text2.C:
9206         * text3.C: add helper functions for setting refresh_row/y
9207
9208 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9209
9210         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9211         newline inset which *can* get inserted in the pass_thru layouts.
9212         This is primarily for literate documents.
9213
9214 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9215
9216         * buffer.C: increment LYX_FORMAT to 223
9217
9218 2003-03-14 André Pönitz <poenitz@gmx.net>
9219
9220         * textclass.h: prepare for environment handling, ws changes
9221         * lyxlayout.C: read latexheader and latexfooter tags
9222
9223 2003-03-14  John Levon  <levon@movementarian.org>
9224
9225         * text2.C: rewrite ::status() a bit
9226
9227 2003-03-13  John Levon  <levon@movementarian.org>
9228
9229         * lyxtext.h: add some docs
9230
9231 2003-03-13  John Levon  <levon@movementarian.org>
9232
9233         * lyxtext.h:
9234         * text.C:
9235         * text2.C:
9236         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9237
9238 2003-03-13  John Levon  <levon@movementarian.org>
9239
9240         * text3.C: fix appendix redrawing
9241
9242 2003-03-13  John Levon  <levon@movementarian.org>
9243
9244         * text.C (setHeightOfRow):
9245         * rowpainter.h:
9246         * rowpainter.C: make appendix mark have the text
9247           "Appendix" so the user knows what it is
9248
9249         * LColor.h:
9250         * LColor.C: s/appendixline/appendix/ from above
9251
9252 2003-03-13  John Levon  <levon@movementarian.org>
9253
9254         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9255
9256         * text.C: fix a getChar(pos) bug properly
9257
9258 2003-03-13  Angus Leeming  <leeming@lyx.org>
9259
9260         * commandtags.h:
9261         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9262         Probably only temporary. Let's see how things pan out.
9263
9264         * BufferView.C (unlockInset):
9265         * BufferView_pimpl.C (fitCursor):
9266         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9267
9268         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9269         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9270
9271         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9272         new functions that convert ParagraphParameters to and from a string.
9273
9274         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9275         BufferView::Pimpl's dispatch.
9276         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9277
9278 2003-03-13 André Pönitz <poenitz@gmx.net>
9279
9280         * lyxfunc.C:
9281         * text3.C:
9282         * factory.C: make it aware of InsetEnv
9283
9284 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * text2.C (setCursor): never ask for one past last
9287         (setCursor): add some debugging messages.
9288
9289         * text.C (singleWidth): never ask for one past last
9290         (singleWidth): ditto
9291         (leftMargin): ditto
9292         (rightMargin): ditto
9293         (rowBreakPoint): ditto
9294         (setHeightOfRow): ditto
9295         (prepareToPrint): ditto
9296
9297         * rowpainter.C (paintBackground): never ask for one past last
9298         (paintText): never ask for one past last
9299
9300         * paragraph_pimpl.C (getChar): make the assert stricter, never
9301         allow the one past last pos to be taken
9302
9303         * paragraph.C (getChar): ws changes only
9304
9305         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9306         (numberOfSeparators): ditto
9307         (numberOfHfills): ditto
9308
9309 2003-03-12  John Levon  <levon@movementarian.org>
9310
9311         * author.h:
9312         * author.C:
9313         * bufferparams.h:
9314         * bufferparams.C:
9315         * paragraph_funcs.C: fix per-buffer authorlists
9316
9317 2003-03-12  John Levon  <levon@movementarian.org>
9318
9319         * text.C: fix newline in right address
9320
9321 2003-03-12  Angus Leeming  <leeming@lyx.org>
9322
9323         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9324         duplicate those in LyXFunc::dispatch.
9325
9326         * commandtags.h:
9327         * LyXAction.C:
9328         * ToolbarDefaults.C:
9329         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9330         Add LFUN_FONTFREE_UPDATE.
9331
9332         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9333         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9334
9335         * bufferview_func.[Ch]: several new functions to facilliate
9336         transfer of data to and from the character dialog.
9337
9338 2003-03-12  John Levon  <levon@movementarian.org>
9339
9340         * buffer.C:
9341         * paragraph.h:
9342         * paragraph.C:
9343         * paragraph_funcs.C:
9344         * paragraph_pimpl.C:
9345         * sgml.C:
9346         * tabular.C:
9347         * text.C:
9348         * text3.C: remove META_NEWLINE in favour of an inset
9349
9350         * rowpainter.h:
9351         * rowpainter.C: remove paintNewline (done by inset)
9352
9353 2003-03-12  John Levon  <levon@movementarian.org>
9354
9355         * paragraph_pimpl.C: complain about bad getChar()s
9356         for a while at least
9357
9358 2003-03-12  John Levon  <levon@movementarian.org>
9359
9360         * buffer.h:
9361         * buffer.C: move paragraph read into a separate function,
9362         a little renaming to reflect that.
9363
9364         * bufferparams.h:
9365         * bufferparams.C: remove the author_ids map, not necessary now
9366
9367         * factory.h:
9368         * factory.C: moved Buffer::readInset to here
9369
9370         * paragraph_funcs.h:
9371         * paragraph_funcs.C: readParagraph free function moved from
9372         buffer.C
9373
9374         * tabular.C: name change
9375
9376 2003-03-12  John Levon  <levon@movementarian.org>
9377
9378         * buffer.C:
9379         * ParagraphParameters.C: move par params input to
9380         a read() method
9381
9382         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9383         behave like a normal read from the stream wrt reading
9384         a line vs. a \\token
9385
9386 2003-03-12  John Levon  <levon@movementarian.org>
9387
9388         * paragraph.C:
9389         * ParagraphParameters.h:
9390         * ParagraphParameters.C: move output code to a
9391         ::write() method
9392
9393 2003-03-12  John Levon  <levon@movementarian.org>
9394
9395         * BufferView.C (insertLyXFile):
9396         * buffer.h:
9397         * buffer.C:
9398         * tabular.C: use a parlist iterator for creating the
9399           document.
9400
9401 2003-03-12  John Levon  <levon@movementarian.org>
9402
9403         * buffer.C: make current_change static local not
9404           static file-scope
9405
9406 2003-03-12  John Levon  <levon@movementarian.org>
9407
9408         * buffer.C: fix insertStringAsLines for change tracking
9409
9410 2003-03-12  John Levon  <levon@movementarian.org>
9411
9412         * BufferView.C:
9413         * tabular.C:
9414         * buffer.h:
9415         * buffer.C:
9416         * bufferparams.h:
9417         * bufferparams.C: move author list into params. Rename some
9418           functions. Move the header reading into a separate token
9419           loop. Move the header token reading into BufferParams.
9420
9421 2003-03-12  John Levon  <levon@movementarian.org>
9422
9423         * changes.C: put debug inside lyxerr.debugging() checks
9424
9425 2003-03-11 André Pönitz <poenitz@gmx.net>
9426
9427         * factory.C: make it aware of InsetHFill
9428
9429 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9430
9431         * buffer.C (latexParagraphs): move function from here...
9432         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9433         args.
9434
9435 2003-03-10  Angus Leeming  <leeming@lyx.org>
9436
9437         * LyXAction.C (init): fix bug in poplating array with multiple entries
9438         with the same LFUN (spotted by JMarc).
9439
9440 2003-03-10  John Levon  <levon@movementarian.org>
9441
9442         * text.C:
9443         * text2.C: move getColumnNearX() near its
9444         only call site
9445
9446 2003-03-10  John Levon  <levon@movementarian.org>
9447
9448         * text.C: fix break before a minipage
9449
9450 2003-03-10  John Levon  <levon@movementarian.org>
9451
9452         * text.C: fix the last commit
9453
9454 2003-03-09  John Levon  <levon@movementarian.org>
9455
9456         * lyxtext.h:
9457         * text.C:
9458         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9459         bug 365 (don't break before insets unless needed). Don't
9460         return a value > last under any circumstances.
9461
9462 2003-03-09  Angus Leeming  <leeming@lyx.org>
9463
9464         * BufferView_pimpl.C (trackChanges, dispatch): call
9465         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9466
9467 2003-03-09  Angus Leeming  <leeming@lyx.org>
9468
9469         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9470         than Dialogs::showAboutlyx().
9471
9472 2003-03-09  Angus Leeming  <leeming@lyx.org>
9473
9474         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9475         than Dialogs::showTabularCreate().
9476
9477 2003-03-09  John Levon  <levon@movementarian.org>
9478
9479         * lyxtext.h:
9480         * text.C:
9481         * text2.C: 3rd arg to nextBreakPoint was always the same.
9482           Use references.
9483
9484 2003-03-08  John Levon  <levon@movementarian.org>
9485
9486         * lyxrow.C:
9487         * paragraph.C:
9488         * paragraph.h:
9489         * rowpainter.C:
9490         * text.C:
9491         * text2.C: Remove the "main" bit from the "main body"
9492           notion.
9493
9494 2003-03-08  John Levon  <levon@movementarian.org>
9495
9496         * text.C (leftMargin): The left margin of an empty
9497         manual label paragraph should not include the label width
9498         string length.
9499
9500         * text.C (prepareToPrint): don't attempt to measure hfills
9501         for empty manual label paragraphs - the answer should be 0
9502
9503 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9504
9505         * CutAndPaste.C: remove commented code and reindent.
9506
9507 2003-03-08  John Levon  <levon@movementarian.org>
9508
9509         * lyxfunc.h:
9510         * lyxfunc.C: move reloadBuffer()
9511
9512         * BufferView.h:
9513         * BufferView.C: to here
9514
9515         * lyxvc.C: add comment
9516
9517         * vc-backend.h:
9518         * vc-backend.C: call bv->reload() to avoid
9519           getStatus() check on MENURELOAD
9520
9521 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9522
9523         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9524         to an old format .dep file.
9525
9526 2003-03-07  Angus Leeming  <leeming@lyx.org>
9527
9528         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9529         when the LFUN_MOUSE_RELEASE should have been handled by
9530         inset->localDispatch.
9531
9532 2003-03-07  Angus Leeming  <leeming@lyx.org>
9533
9534         * BufferView_pimpl.C (dispatch):
9535         * LyXAction.C (init):
9536         * ToolbarDefaults.C (init):
9537         * commandtags.h:
9538         * lyxfunc.C (getStatus):
9539         remove LFUN_INSET_GRAPHICS.
9540
9541         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9542
9543 2003-03-07  Angus Leeming  <leeming@lyx.org>
9544
9545         * commandtags.h:
9546         * LyXAction.C (init):
9547         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9548
9549         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9550
9551         * commandtags.h:
9552         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9553
9554         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9555         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9556
9557 2003-03-07  Angus Leeming  <leeming@lyx.org>
9558
9559         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9560         remove "ert".
9561
9562 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9563
9564         * ParagraphList.C (front): new function
9565         (back): implement
9566
9567 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9568
9569         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9570         and top_row_offset_. removed var first_y.
9571         * text.C (top_y):
9572         * text2.C (LyXText, removeRow):
9573         * text3.C:
9574         * BufferView_pimpl.C:
9575         use these methods instead of using first_y
9576
9577 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9578
9579         * text2.C (pasteSelection): adjust for checkPastePossible
9580
9581         * CutAndPaste.C: remove Paragraph * buf and replace with
9582         ParagraphList paragraphs.
9583         (DeleteBuffer): delete
9584         (cutSelection): change the tc type to textclass_type
9585         (copySelection): change the tc type to textclass_type
9586         (copySelection): adjust for ParagraphList
9587         (pasteSelection): change the tc type to textclass_type
9588         (pasteSelection): adjust for Paragraphlist
9589         (nrOfParagraphs): simplify for ParagraphList
9590         (checkPastePossible): simplify for ParagraphList
9591         (checkPastePossible): remove unused arg
9592
9593         * ParagraphList.C (insert): handle the case where there are no
9594         paragraphs yet.
9595
9596         * CutAndPaste.h: make CutAndPaste a namespace.
9597
9598         * text3.C (dispatch): adjust
9599
9600         * text.C (breakParagraph): add a ParagraphList as arg
9601
9602         * paragraph_funcs.C (breakParagraph): change to take a
9603         BufferParams and a ParagraphList as args.
9604         (breakParagraphConservative): ditto
9605         (mergeParagraph): ditto
9606         (TeXDeeper): add a ParagraphList arg
9607         (TeXEnvironment): ditto
9608         (TeXOnePar): ditto
9609
9610         * buffer.C (readLyXformat2): adjust
9611         (insertStringAsLines): adjust
9612         (latexParagraphs): adjust
9613
9614         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9615         (cutSelection): adjust
9616         (pasteSelection): adjust
9617
9618         * BufferView_pimpl.C (insertInset): adjust
9619
9620 2003-03-05  Angus Leeming  <leeming@lyx.org>
9621
9622         * commandtags.h:
9623         * LyXAction.C (init):
9624         * BufferView_pimpl.C (dispatch):
9625         * lyxfunc.C (getStatus):
9626         remove LFUN_CHILD_INSERT.
9627
9628         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9629
9630 2003-03-05  Angus Leeming  <leeming@lyx.org>
9631
9632         * commandtags.h:
9633         * LyXAction.C (init):
9634         * src/factory.C (createInset):
9635         * lyxfunc.C (getStatus):
9636         * text3.C (dispatch):
9637         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9638
9639         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9640
9641 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9642
9643         * ParagraphList.C (insert): handle insert right before end()
9644         (erase): fix cases where it can be first or last paragraph.
9645
9646 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9647
9648         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9649         Paragraph::next and Paragraph::previous
9650         (TeXOnePar): ditto
9651
9652         * text.C (breakParagraph): adjust
9653
9654         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9655         BufferParams& as arg.
9656         (breakParagraph): use ParagraphList::insert
9657         (breakParagraphConservative): take a Buffer* instead of a
9658         BufferParams& as arg.
9659         (breakParagraphConservative): use ParagraphList::insert.
9660
9661         * buffer.C (insertStringAsLines): un-const it
9662         (insertStringAsLines): adjust
9663
9664         * ParagraphList.C (insert): new function
9665
9666         * CutAndPaste.C (pasteSelection): adjust
9667
9668         * text.C (backspace): adjust
9669
9670         * tabular.C (SetMultiColumn): adjust
9671
9672         * CutAndPaste.C (cutSelection): adjust
9673         (pasteSelection): adjust
9674
9675         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9676         Buffer const * as arg
9677
9678         * ParagraphList.C (erase): new function
9679         * paragraph_funcs.C (mergeParagraph): use it
9680         (mergeParagraph): make it take a Buffer* instead of a
9681         BufferParams* as arg
9682
9683         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9684         as arg
9685         (breakParagraphConservative): ditto
9686
9687         * paragraph.h: remove the breakParagraph friend
9688
9689         * paragraph.C (eraseIntern): new function
9690         (setChange): new function
9691
9692         * paragraph_funcs.C (mergeParagraph): make it take a
9693         ParagraphList::iterator instead of a Paragraph *, adjust
9694         accordingly.
9695
9696         * paragraph.h: move an #endif so that the change tracking stuff
9697         also works in the NO_NEXT case.
9698
9699 2003-03-04  Angus Leeming  <leeming@lyx.org>
9700
9701         * commandtags.h:
9702         * LyXAction.C: new LFUN_INSET_MODIFY.
9703
9704         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9705         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9706
9707 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9708
9709         * several files: ws changes only
9710
9711         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9712         (TeXEnvironment): ditto
9713         (TeXDeeper): ditto
9714
9715         * buffer.C (makeLaTeXFile): adjust
9716         (latexParagraphs): make it take ParagraphList::iterator as args
9717
9718 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9719
9720         * buffer.C (latexParagraphs): adjust
9721
9722         * paragraph.C (TeXOnePar): move function...
9723         (optArgInset): move function...
9724         (TeXEnvironment): move function...
9725         * paragraph_pimpl.C (TeXDeeper): move function...
9726         * paragraph_funcs.C: ...here
9727
9728         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9729
9730 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9731
9732         * buffer.C (readInset): remove compability code for old Figure and
9733         InsetInfo insets
9734
9735 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9736
9737         * buffer.C: ws changes
9738         (readInset):
9739
9740         * BufferView_pimpl.C: ditto
9741         * author.C: ditto
9742         * buffer.h: ditto
9743         * bufferlist.h: ditto
9744         * changes.h: ditto
9745         * lyxfunc.C: ditto
9746
9747 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9748
9749         * converter.[Ch]: split into itself +
9750         * graph.[Ch]
9751         * format.[Ch]
9752         * Makefile.am: += graph.[Ch] + format.[Ch]
9753         * MenuBackend.C
9754         * buffer.C
9755         * exporter.C
9756         * importer.C
9757         * lyx_main.C
9758         * lyxfunc.C
9759         * lyxrc.C: added #include "format.h"
9760
9761 2003-02-27  Angus Leeming  <leeming@lyx.org>
9762
9763         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9764           a label.
9765
9766         * factory.C (createInset): add "label" to the factory.
9767
9768         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9769           string and do no more.
9770
9771 2003-02-27  Angus Leeming  <leeming@lyx.org>
9772
9773         * commandtags.h:
9774         * LyXAction.C (init):
9775         * factory.C (createInset):
9776         * BufferView_pimpl.C (dispatch):
9777           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9778
9779         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9780
9781         * lyxfunc.C (dispatch):
9782         * text3.C (dispatch): pass name to params2string.
9783
9784 2003-02-26  Angus Leeming  <leeming@lyx.org>
9785
9786         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9787           blocks together.
9788           Rearrange the ~includes. Strip out the unnecessary ones.
9789
9790         * factory.C (createInset): reformat.
9791           create new insets for the various LFUN_XYZ_APPLY lfuns.
9792
9793 2003-02-26  John Levon  <levon@movementarian.org>
9794
9795         * lyxrow.h:
9796         * lyxrow.C: add isParStart,isParEnd helpers
9797
9798         * paragraph.h: make isInserted/DeletedText take refs
9799
9800         * paragraph_funcs.h:
9801         * paragraph_funcs.C: remove #if 0'd code
9802
9803         * lyxtext.h:
9804         * text3.C:
9805         * text2.C:
9806         * text.C: use lyxrow helpers above.
9807           Move draw and paint routines to RowPainter.
9808           Make several methods use refs not pointers.
9809           Make backgroundColor() const.
9810           Add markChangeInDraw(), isInInset().
9811           Merge changeRegionCase into changeCase.
9812           Make workWidth() shouldn't-happen code into an Assert.
9813
9814         * rowpainter.h:
9815         * rowpainter.C: new class for painting a row.
9816
9817         * vspace.h:
9818         * vspace.C: make inPixels take a ref
9819
9820 2003-02-26  Angus Leeming  <leeming@lyx.org>
9821
9822         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9823         LFUN_REF_APPLY.
9824
9825 2003-02-25  John Levon  <levon@movementarian.org>
9826
9827         * ispell.C: give the forked command a more accurate name
9828
9829 2003-02-22  John Levon  <levon@movementarian.org>
9830
9831         * toc.h:
9832         * toc.C: make TocItem store an id not a Paragraph *
9833           (bug #913)
9834
9835 2003-02-21  Angus Leeming  <leeming@lyx.org>
9836
9837         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9838           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9839           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9840           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9841           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9842           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9843
9844         * BufferView_pimpl.C (dispatch):
9845         * LyXAction.C (init):
9846         * factory.C (createInset):
9847         * lyxfunc.C (getStatus, dispatch):
9848         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9849
9850 2003-02-21  Angus Leeming  <leeming@lyx.org>
9851
9852         * BufferView_pimpl.C (MenuInsertLyXFile):
9853         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9854         * lyxfunc.C (menuNew, open, doImport):
9855           no longer pass a LyXView & to fileDlg.
9856
9857 2003-02-21  Angus Leeming  <leeming@lyx.org>
9858
9859         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9860         * LyXAction.C: change, BIBKEY to BIBITEM.
9861         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9862         Change InsetBibKey to InsetBibitem.
9863         Change BIBKEY_CODE to BIBITEM_CODE.
9864         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9865         * factory.C: replace insetbib.h with insetbibitem.h.
9866         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9867         * paragraph.C: replace insetbib.h with insetbibitem.h.
9868         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9869         Change bibkey() to bibitem().
9870         * text.C: remove insetbib.h.
9871         * text2.C: replace insetbib.h with insetbibitem.h.
9872         change bibkey() to bibitem().
9873         * text3.C: remove insetbib.h.
9874         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9875
9876 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9877
9878         * lyxrc.C (output): enclose user email in quotes (in case there are
9879         several words)
9880
9881 2003-02-18  John Levon  <levon@movementarian.org>
9882
9883         * buffer.h: add std::
9884
9885 2003-02-17  John Levon  <levon@movementarian.org>
9886
9887         * SpellBase.h:
9888         * ispell.h:
9889         * ispell.C:
9890         * pspell.h:
9891         * pspell.C: reworking. Especially in ispell, a large
9892           number of clean ups and bug fixes.
9893
9894         * lyxfunc.C: fix revert to behave sensibly
9895
9896 2003-02-17 André Pönitz <poenitz@gmx.net>
9897
9898         * LyXAction.C:
9899         * commandtags.h: new LFUN_INSERT_BIBKEY
9900
9901         * layout.h:
9902         * lyxlayout.C:
9903         * buffer.C:
9904         * factory.C:
9905         * text.C:
9906         * text2.C:
9907         * text3.C:
9908         * paragraph.[Ch]:
9909         * paragraph_func.C: remove special bibkey handling
9910
9911 2003-02-17  John Levon  <levon@movementarian.org>
9912
9913         * text.C (Delete): fix case where delete at the end of
9914           the very first paragraph would not merge the pars
9915
9916 2003-02-17  John Levon  <levon@movementarian.org>
9917
9918         * lyxrow.C: fix lastPrintablePos()
9919
9920 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9921
9922         * bufferparams.C (writeLaTeX): add a std:here
9923
9924         * buffer.C: and remove a using directive there
9925
9926 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9927
9928         * buffer.C (makeLaTeXFile): move the code that generates the
9929           preamble...
9930
9931         * bufferparams.C (writeLaTeX): ... in this new method
9932
9933         * LaTeXFeatures.C (getEncodingSet): make const
9934           (getLanguages): make const
9935
9936         * MenuBackend.C (binding): returns the binding associated to this
9937           action
9938           (add): sets the status of each item by calling getStatus. Adds
9939           some intelligence.
9940           (read): add support for OptSubMenu
9941           (expand): remove extra separator at the end of expanded menu
9942
9943 2003-02-15  John Levon  <levon@movementarian.org>
9944
9945         * BufferView.C:
9946         * BufferView_pimpl.C:
9947         * bufferlist.h:
9948         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9949           inset code that had no actual effect. Remove unneeded status
9950           code.
9951
9952 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9953
9954         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9955           in preamble
9956
9957 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9958
9959         * text.C (drawLengthMarker): also draw an arrow marker for
9960           symbolic lengths (medskip...)
9961
9962 2003-02-14  John Levon  <levon@movementarian.org>
9963
9964         * tabular.h:
9965         * tabular.C: better method names
9966
9967 2003-02-14  John Levon  <levon@movementarian.org>
9968
9969         * BufferView_pimpl.C:
9970         * bufferlist.C:
9971         * buffer.C:
9972         * converter.C:
9973         * lyx_cb.C:
9974         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9975           it's a more accurate name. Remove some pointless uses.
9976
9977 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9978
9979         * text2.C (LyXText): change order of initilizers to shut off
9980           warnings
9981
9982 2003-02-14  John Levon  <levon@movementarian.org>
9983
9984         * buffer.C: use ParIterator for getParFromID()
9985
9986         * paragraph.h:
9987         * paragraph.C:
9988         * paragraph_pimpl.h:
9989         * paragraph_pimpl.C: remove unused getParFromID()
9990
9991 2003-02-14  John Levon  <levon@movementarian.org>
9992
9993         * buffer.C: remove some very old #if 0'd parse code
9994
9995 2003-02-13  John Levon  <levon@movementarian.org>
9996
9997         * text.h:
9998         * text.C:
9999         * text2.C: move hfillExpansion(), numberOfSeparators(),
10000           rowLast(), rowLastPrintable(), numberofHfills(),
10001           numberOfLabelHfills() ...
10002
10003         * lyxrow.h:
10004         * lyxrow.C: ... to member functions here.
10005
10006         * paragraph.h:
10007         * paragraph.C:
10008         * lyxtext.h:
10009         * text.C: remove LyXText::beginningOfMainBody(), and call
10010           p->beginningOfMainBody() directly. Move the check for
10011           LABEL_MANUAL into the latter.
10012
10013         * text.h:
10014         * text.C:
10015         * text2.C:
10016         * vspace.C:
10017         * BufferView.h:
10018         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10019
10020         * text.h:
10021         * text.C:
10022         * text2.C:
10023         * text3.C:
10024         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10025           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10026
10027 2003-02-13  John Levon  <levon@movementarian.org>
10028
10029         * CutAndPaste.C: remove debug
10030
10031 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10032
10033         * paragraph.C (asString): remove two unused variables
10034
10035         * lyxtextclass.C (readTitleType):
10036           (Read):
10037           (LyXTextClass): handle new members titletype_ and titlename_
10038
10039         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10040
10041 2003-02-09  John Levon  <levon@movementarian.org>
10042
10043         * buffer.h:
10044         * buffer.C: replace hand-coded list with a map for the dep clean
10045
10046 2003-02-08  John Levon  <levon@movementarian.org>
10047
10048         * LaTeX.C: consolidate code into showRunMessage() helper
10049
10050 2003-02-08  John Levon  <levon@movementarian.org>
10051
10052         * lyxfind.C:
10053         * lyxtext.h:
10054         * text2.C:
10055         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10056           and pass the size in explicitly
10057
10058         * BufferView_pimpl.h:
10059         * BufferView_pimpl.C:
10060         * BufferView.h:
10061         * BufferView.C: add getCurrentChange()
10062
10063         * BufferView_pimpl.h:
10064         * BufferView_pimpl.C: handle change lfuns
10065
10066         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10067           for changes. Mark pasted paragraphs as new.
10068
10069         * support/lyxtime.h:
10070         * support/lyxtime.C:
10071         * DepTable.C: abstract time_t as lyx::time_type
10072
10073         * LColor.h:
10074         * LColor.C: add colours for new text, deleted text, changebars
10075
10076         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10077           package use "usenames" option.
10078
10079         * commandtags.h:
10080         * lyxfunc.C:
10081         * LyXAction.C: add change lfuns
10082
10083         * Makefile.am:
10084         * author.h:
10085         * author.C: author handling
10086
10087         * buffer.h:
10088         * buffer.C: add a per-buffer author list, with first entry as
10089           current author. Handle new .lyx tokens for change tracking. Output
10090           author list to .lyx file. Output dvipost stuff to .tex preamble.
10091           Bump lyx format to 222.
10092
10093         * bufferlist.h:
10094         * bufferlist.C: add setCurrentAuthor() to reset current author details
10095           in all buffers.
10096
10097         * bufferparams.h:
10098         * bufferparams.C: add param for tracking
10099
10100         * bufferview_funcs.C: output change info in minibuffer
10101
10102         * Makefile.am:
10103         * changes.h:
10104         * changes.C: add change-tracking structure
10105
10106         * debug.h:
10107         * debug.C: add CHANGES debug flag
10108
10109         * lyxfind.h:
10110         * lyxfind.C: add code for finding the next change piece
10111
10112         * lyxrc.h:
10113         * lyxrc.C: add user_name and user_email
10114
10115         * lyxrow.h:
10116         * lyxrow.C: add a metric for the top of the text line
10117
10118         * lyxtext.h:
10119         * text.C: implement accept/rejectChange()
10120
10121         * lyxtext.h:
10122         * text.C: paint changebars. Paint new/deleted text in the chosen
10123         colours. Strike through deleted text.
10124
10125         * paragraph.h:
10126         * paragraph.C:
10127         * paragraph_pimpl.h:
10128         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10129           in the current change to the insert functions. Rework erase to
10130           mark text as deleted, adding an eraseIntern() and a range-based
10131           erase(). Implement per-paragraph change lookup and
10132           accept/reject.
10133
10134         * paragraph_funcs.C: Fixup paste for change tracking.
10135
10136         * tabular.C: mark added row/columns as new.
10137
10138         * text.C: fix rowLast() to never return -1. Don't allow
10139           spellchecking of deleted text. Track transpose changes. Don't
10140           allow paragraph break or merge where appropriate.
10141
10142         * text2.C: leave cursor at end of selection after a cut.
10143
10144 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10145
10146         * text.C (getLengthMarkerHeight):
10147         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10148         visible on screen too.
10149
10150 2003-02-07  John Levon  <levon@movementarian.org>
10151
10152         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10153
10154 2003-02-05  Angus Leeming  <leeming@lyx.org>
10155
10156         * lyxserver.C (read_ready): revert my patch of 11 September last year
10157         as it sends PC cpu through the roof. Presumably this means that
10158         the lyxserver will no longer run on an Alpha...
10159
10160 2003-01-30  Angus Leeming  <leeming@lyx.org>
10161
10162         * factory.C (createInset): create an InsetCommandParam of type "index"
10163         and use it to 'do the right thing'.
10164
10165         * text2.C (getStringToIndex): ensure that cursor position is always
10166         reset to the reset_cursor position.
10167
10168 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10169
10170         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10171         disabled.
10172
10173 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10174
10175         * bufferview.C:
10176         * lyxcb.C:
10177         * lyxfunc.C: Output messages with identical spelling, punctuation,
10178         and spaces
10179
10180 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10181
10182         * MenuBackend.C (expandFormats): List only viewable export formats
10183         in "View" menu
10184
10185         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10186         message
10187
10188         * lyxfunc.C (getStatus): Make sure that formats other than
10189         "fax" can also be disabled
10190
10191 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10192
10193         * text3.C (dispatch): put the lfuns that insert insets in 3
10194         groups, and call doInsertInset with appropriate arguments.
10195         (doInsertInset): new function, that creates an inset and inserts
10196         it according to some boolean parameters.
10197
10198 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10199
10200         * buffer.C (readFile): remember to pass on 'par' when calling
10201         readFile recursively.
10202
10203 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * MenuBackend.C (expandFormats): add "..." to import formats.
10206
10207 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10208
10209         * paragraph.C (asString): Remove XForms RTL hacks.
10210
10211 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10212         * buffer.C: fix typo
10213
10214 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10215
10216         * Makefile.am (LIBS): delete var
10217         (lyx_LDADD): add @LIBS@ here instead.
10218
10219 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10220
10221         * Clarify the meaning of "wheel mouse jump"
10222
10223 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10224
10225         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10226         tabular in a float
10227
10228 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10229
10230         * importer.C (Loaders): do not preallocate 3 elements in the
10231         vector, since one ends up with 6 elements otherwise
10232
10233 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10234
10235         * DepTable.C (write): write the file name as last element of the
10236         .dep file (because it may contain spaces)
10237         (read): read info in the right order
10238
10239 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10240
10241         * paragraph_pimpl.C (simpleTeXBlanks):
10242         (simpleTeXSpecialChars):
10243         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10244
10245         * tabular.C (latex): add some missing case statements. Reindent.
10246
10247         * MenuBackend.C (expandToc): remove unused variable.
10248
10249 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10250
10251         * LColor.C:
10252         * LaTeX.C:
10253         * LyXAction.C:
10254         * MenuBackend.C:
10255         * buffer.C:
10256         * exporter.C:
10257         * lyxfunc.C:
10258         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10259         and the like.
10260
10261 2003-01-05  John Levon  <levon@movementarian.org>
10262
10263         * BufferView.h:
10264         * BufferView.C: add getEncoding()
10265
10266         * kbsequence.h:
10267         * kbsequence.C: do not store last keypress
10268
10269         * lyxfunc.h:
10270         * lyxfunc.C: store last keypress here instead. Pass encoding
10271           to getISOEncoded()
10272
10273 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10274
10275         * lyx_main.C (init): remove annoying error message when following
10276         symbolic links (bug #780)
10277
10278 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10279
10280         * text.C (insertChar):
10281         * lyxrc.C (getDescription): remove extra spaces
10282
10283 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10284
10285         * lyxrc.C (getDescription): remove extra spaces
10286
10287 2002-12-20  John Levon  <levon@movementarian.org>
10288
10289         * text3.C: hack fix for page up/down across tall rows
10290
10291 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10292
10293         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10294         not been invoked
10295
10296 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10299         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10300         thesaurus is not compiled in
10301
10302 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10303
10304         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10305
10306 2002-12-16  Angus Leeming  <leeming@lyx.org>
10307
10308         * lyxrc.[Ch]:
10309         * lyx_main.C (init): remove override_x_deadkeys stuff.
10310
10311 2002-12-12  John Levon  <levon@movementarian.org>
10312
10313         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10314           insert. Only remove shift modifier under strict
10315           circumstances.
10316
10317 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10318
10319         * MenuBackend.C (expandToc): fix crash.
10320
10321 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10322
10323         * MenuBackend.C (expandToc): gettext on float names.
10324
10325 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10326
10327         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10328         implement bool empty() [bug 490]
10329
10330 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10331
10332         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10333
10334 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10335
10336         * several files: ws changes
10337
10338 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10339
10340         * text2.C (setCounter): clean up a bit, use boost.format.
10341         (updateCounters): initialize par upon declaration.
10342
10343         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10344         if the layout exists. We do not just store the layout any more.
10345         (SwitchLayoutsBetweenClasses): use boost.format
10346
10347 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10348
10349         * converter.C (convert): if from and to files are the same, use a
10350         temporary files as intermediary
10351
10352 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10353
10354         * commandtags.h:
10355         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10356
10357 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10358
10359         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10360
10361 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10362
10363         * tabular.C (asciiPrintCell): use string(size, char) instead of
10364         explicit loop.
10365
10366         * sgml.C (openTag): fix order of arguments to string constructor
10367         (closeTag): ditto
10368
10369         * lyxfunc.C (dispatch): use boost.format
10370
10371         * lots of files: change "c" -> 'c'
10372
10373 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10374
10375         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10376
10377 2002-11-25  Angus Leeming  <leeming@lyx.org>
10378
10379         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10380
10381         * lyx_main.C (init): compile fix.
10382
10383 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10384
10385         * lyx_cb.C (start): boost.formatify
10386         do not include <iostream>
10387
10388         * lengthcommon.C: ws only
10389
10390         * boost-inst.C,BoostFormat.h: add more explict instantations
10391
10392 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10393
10394         * lots of files: handle USE_BOOST_FORMAT
10395
10396 2002-11-21  John Levon  <levon@movementarian.org>
10397
10398         * pspell.C: fix compile
10399
10400 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10401
10402         * lyxfunc.C (dispatch): use boost::format
10403         (open): ditto
10404         (doImport): ditto
10405
10406         * lyxfont.C (stateText): use boost::format
10407
10408         * lyx_main.C (LyX): use boost::format
10409         (init): ditto
10410         (queryUserLyXDir): ditto
10411         (readRcFile): ditto
10412         (parse_dbg): ditto
10413         (typedef boost::function): use the recommened syntax.
10414
10415         * importer.C (Import): use boost::format
10416
10417         * debug.C (showLevel): use boost::format
10418
10419         * converter.C (view): use boost::format
10420         (convert): ditto
10421         (move): ditto
10422         (scanLog): ditto
10423
10424         * bufferview_funcs.C (currentState): use boost::format
10425
10426         * bufferlist.C (emergencyWrite): use boost::format
10427
10428         * buffer.C (readLyXformat2): use boost::format
10429         (parseSingleLyXformat2Token): ditto
10430
10431         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10432
10433         * LaTeX.C (run): use boost::format
10434
10435         * Chktex.C (scanLogFile): use boost::format
10436
10437         * BufferView_pimpl.C (savePosition): use boost::format
10438         (restorePosition): ditto
10439         (MenuInsertLyXFile): ditto
10440
10441         * BoostFormat.h: help file for explicit instation.
10442
10443 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10444
10445         * tabular.C (latex): Support for block alignment in fixed width
10446         columns.
10447
10448 2002-11-17  John Levon  <levon@movementarian.org>
10449
10450         * BufferView_pimpl.C:
10451         * lyx_cb.C:
10452         * lyxfunc.C: split filedialog into open/save
10453
10454 2002-11-08  Juergen Vigna  <jug@sad.it>
10455
10456         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10457         by my last patch (hopefully).
10458
10459 2002-11-08  John Levon  <levon@movementarian.org>
10460
10461         * iterators.h:
10462         * iterators.C:
10463         * buffer.h:
10464         * buffer.C:
10465         * paragraph.h:
10466         * paragraph.C:
10467         * toc.h:
10468         * toc.C: ParConstIterator, and use it (from Lars)
10469
10470 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10471
10472         * lyxtextclass.[Ch]: revise and add doxygen comments
10473
10474 2002-11-07  John Levon  <levon@movementarian.org>
10475
10476         * text.C: fix progress value for spellchecker
10477
10478         * toc.C: fix navigate menu for insetwrap inside minipage
10479
10480         * paragraph_funcs.C: added FIXME for suspect code
10481
10482 2002-11-07  John Levon  <levon@movementarian.org>
10483
10484         * BufferView_pimpl.C: fix redrawing of insets
10485           on buffer switch
10486
10487 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10488
10489         * text2.C (updateCounters): fix bug 668
10490
10491 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10492
10493         * text3.C (dispatch): Do not make the buffer dirty when moving the
10494         cursor.
10495
10496 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10497
10498         * vc-backend.C: STRCONV
10499         (scanMaster): ditto
10500
10501         * text2.C (setCounter): STRCONV
10502
10503         * paragraph.C (asString): STRCONV
10504
10505         * lyxlength.C (asString): STRCONV
10506         (asLatexString): ditto
10507
10508         * lyxgluelength.C (asString): STRCONV
10509         (asLatexString): ditto
10510
10511         * lyxfunc.C (dispatch): STRCONV
10512         (open): ditto
10513
10514         * lyxfont.C (stateText): STRCONV
10515
10516         * importer.C (Import): STRCONV
10517
10518         * counters.C (labelItem): STRCONV
10519         (numberLabel): ditto
10520         (numberLabel): remove unused ostringstream o
10521
10522         * chset.C: STRCONV
10523         (loadFile): ditto
10524
10525         * bufferview_funcs.C (currentState): STRCONV
10526
10527         * buffer.C (readFile): STRCONV
10528         (asciiParagraph): ditto
10529         (makeLaTeXFile): ditto
10530
10531         * Spacing.C (writeEnvirBegin): STRCONV
10532
10533         * LaTeXFeatures.C (getLanguages): STRCONV
10534         (getPackages): ditto
10535         (getMacros): ditto
10536         (getBabelOptions): ditto
10537         (getTClassPreamble): ditto
10538         (getLyXSGMLEntities): ditto
10539         (getIncludedFiles): ditto
10540
10541         * LaTeX.C: STRCONV
10542         (run): ditto
10543         (scanAuxFile): ditto
10544         (deplog): ditto
10545
10546         * LString.h: add the STRCONV macros
10547
10548         * BufferView_pimpl.C (savePosition): STRCONV
10549         (restorePosition): ditto
10550         (MenuInsertLyXFile): ditto
10551
10552         * vc-backend.C (scanMaster): change from submatch[...] to
10553         submatch.str(...)
10554
10555         * funcrequest.C: include config.h
10556
10557         * factory.C: include config.h
10558
10559         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10560
10561         * box.C: include config.h
10562
10563         * LaTeX.C (scanAuxFile): change from submatch[...] to
10564         submatch.str(...)
10565         (deplog): ditto
10566
10567 2002-10-25  Angus Leeming  <leeming@lyx.org>
10568
10569         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10570
10571         * ispell.[Ch] (setError): new method.
10572         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10573         Use setError() insetead of goto END.
10574
10575         * lyx_cb.C (AutoSave): move out child process into new class
10576         AutoSaveBuffer.
10577
10578 2002-10-30  John Levon  <levon@movementarian.org>
10579
10580         * text3.C: make start appendix undoable
10581
10582 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10583
10584         * lyxlength.C (inPixels): Fix returned value.
10585
10586         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10587         environment.
10588
10589 2002-10-24  Angus Leeming  <leeming@lyx.org>
10590
10591         * lyxgluelength.h: no need to forward declare BufferParams
10592         or BufferView, so don't.
10593
10594 2002-10-21  John Levon  <levon@movementarian.org>
10595
10596         * BufferView.C: menuUndo ->undo, redo
10597
10598         * BufferView.h: document, remove dead, make some methods private
10599
10600         * paragraph_funcs.h:
10601         * paragraph_funcs.C:
10602         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10603
10604         * buffer.h:
10605         * buffer.C:
10606         * sgml.h:
10607         * sgml.C: move sgml open/close tag into sgml.C
10608
10609         * bufferview_funcs.h: unused prototype
10610
10611         * lyxfunc.h:
10612         * lyxfunc.C: remove unused
10613
10614         * lyxtext.h:
10615         * text.C: remove unused
10616
10617 2002-10-21  John Levon  <levon@movementarian.org>
10618
10619         * BufferView.h:
10620         * BufferView.C:
10621         * BufferView_pimpl.h:
10622         * BufferView_pimpl.C: fix mouse wheel handling based on
10623           patch from Darren Freeman
10624
10625 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10628
10629 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10630
10631         * lyxlength.C (inPixels): Fix hanfling of negative length.
10632         Fix LyXLength::MU case.
10633
10634 2002-10-16  John Levon  <levon@movementarian.org>
10635
10636         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10637
10638 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10639
10640         * converter.C (view): add support for $$i (file name) and $$p
10641         (file path) for the viewer command. If $$i is not specified, then
10642         it is appended to the command (for compatibility with old syntax)
10643
10644 2002-10-14  Juergen Vigna  <jug@sad.it>
10645
10646         * undo_funcs.C (textHandleUndo): alter the order in which the
10647         new undopar is added to the LyXText, as we have to set first
10648         the right prev/next and then add it as otherwise the rebuild of
10649         LyXText is not correct. Also reset the cursor to the right paragraph,
10650         with this IMO we could remove the hack in "redoParagraphs()".
10651
10652 2002-10-09  Angus Leeming  <leeming@lyx.org>
10653
10654         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10655         to turn off an optimisation if a new inset is to be inserted.
10656
10657 2002-10-11 André Pönitz <poenitz@gmx.net>
10658
10659         * lyxtext.h: make some functions public to allow access
10660         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10661
10662 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10663
10664         * text3.C (dispatch): when changing layout, avoid an infinite loop
10665         [bug #652]
10666
10667 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10668
10669         * lyxrc.C (read): treat a viewer or converter command of "none" as
10670         if it were empty.
10671
10672         * MenuBackend.C (expandFormats): for an update, also allow the
10673         formats that are not viewable
10674
10675         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10676         script if it is newer than the lyxrc.defaults in user directory
10677
10678 2002-10-07 André Pönitz <poenitz@gmx.net>
10679
10680         * text.C: Vitaly Lipatov's small i18n fix
10681
10682 2002-09-25  Angus Leeming  <leeming@lyx.org>
10683
10684         * ispell.h: doxygen fix.
10685
10686 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * buffer.h (readFile): Add a new argument to the method, to allow
10689         reading of old-format templates.
10690
10691 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10692
10693         * toc.C (getTocList): Get TOC from InsetWrap.
10694
10695 2002-09-16  John Levon  <levon@movementarian.org>
10696
10697         * lyxfunc.C: check tabular for cut/copy too
10698
10699 2002-09-12  John Levon  <levon@movementarian.org>
10700
10701         * LyXAction.C: tidy
10702
10703         * factory.h:
10704         * factory.C: add header
10705
10706         * paragraph_funcs.h:
10707         * paragraph_funcs.C: cleanup
10708
10709 2002-09-11  John Levon  <levon@movementarian.org>
10710
10711         * PrinterParams.h: odd/even default to true
10712
10713 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10714
10715         * PrinterParams.h: update printer parameters for new xforms dialog
10716
10717 2002-09-11  Angus Leeming  <leeming@lyx.org>
10718
10719         * lyxserver.C (read_ready): re-write to make it more transparent
10720         and to make it work in coherent fashion under Tru64 Unix.
10721
10722 2002-09-11  André Pönitz <poenitz@gmx.net>
10723
10724         * commandtags.h:
10725         * LyXAction.C:
10726         * text3.C: implement LFUN_WORDSEL
10727
10728 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10729
10730         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10731         make floatlist_ a boost::shared_ptr<FloatList>
10732
10733         * lyxtextclass.C: include FloatList.h
10734         (LyXTextClass): initialize floatlist_
10735         (TextClassTags): add TC_NOFLOAT
10736         (Read): match "nofloat" to TC_NOFLOAT and use it.
10737         (readFloat): modify call to floatlist_
10738         (floats): ditto
10739         (floats): ditto
10740
10741         * FloatList.[Ch] (FloatList): remove commented out float
10742         initialization.
10743         (erase): new function
10744
10745 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10746
10747         * MenuBackend.C (expandToc): fix crash when there is no document
10748         open
10749
10750 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10751
10752         * many files: Add insetwrap.
10753
10754 2002-09-09  John Levon  <levon@movementarian.org>
10755
10756         * text2.C: remove confusing and awkward depth wraparound
10757
10758 2002-09-09  John Levon  <levon@movementarian.org>
10759
10760         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10761
10762         * buffer.h:
10763         * buffer.C: remove getIncludeonlyList()
10764
10765         * paragraph.C:
10766         * lyxfunc.C: remove headers
10767
10768 2002-09-09  Juergen Vigna  <jug@sad.it>
10769
10770         * text.C (getColumnNearX): fix form Michael this is most
10771         probably a cut&paste bug.
10772
10773 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10774
10775         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10776
10777         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10778         references, ws changes.
10779
10780         * text2.C (init): update counters after init
10781         (insertParagraph): no need to set counter on idividual paragraphs.
10782         (setCounter): access the counters object in the textclass object
10783         on in the buffer object.
10784         (updateCounters): ditto
10785
10786         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10787         shared_ptr<Counters> to avoid loading counters.h in all
10788         compilation units.
10789         (LyXTextClass): initialize ctrs_
10790         (TextClassTags): add TC_COUNTER, and ...
10791         (Read): use it here.
10792         (CounterTags): new tags
10793         (readCounter): new function
10794         (counters): new funtion
10795         (defaultLayoutName): return a const reference
10796
10797         * counters.C (Counters): remove contructor
10798         (newCounter): remove a couple of unneeded statements.
10799         (newCounter): simplify a bit.
10800         (numberLabel): some small formatting changes.
10801
10802         * buffer.[Ch]: remove all traces of counters, move the Counters
10803         object to the LyXTextClass.
10804
10805 2002-09-06  Alain Castera  <castera@in2p3.fr>
10806
10807         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10808         package to set the horizontal alignment on fixed width columns.
10809
10810         * lyx_sty.C:
10811         * lyx_sty.h: added tabularnewline macro def.
10812
10813         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10814
10815 2002-09-06  John Levon  <levon@movementarian.org>
10816
10817         * LyXAction.C: tooltips for sub/superscript
10818
10819         * MenuBackend.C: a bit more verbose
10820
10821         * lyxfunc.C: tiny clean
10822
10823         * undo_funcs.C: document undo_frozen
10824
10825 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10826
10827         * counters.C (Counters): add missing algorithm counter.
10828
10829         * text2.C (setCounter): lookup the counter with layouts latexname
10830         instead of by section number.
10831         (setCounter): use a hackish way to lookup the correct enum
10832         counter.
10833         a float name->type change
10834         reset enum couners with counter name directly instead of depth value.
10835
10836         * counters.C (Counters): remove the push_backs, change to use the
10837         float type not the float name.
10838         (labelItem): remove unused string, float name->type change
10839
10840         * counters.h: don't include vector, loose the enums and sects vectors
10841
10842 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10843
10844         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10845         (Read): add float->TC_FLOAT to textclassTags
10846         (Read): and handle it in the switch
10847         (readFloat): new function
10848
10849         * FloatList.C (FloatList): comment out the hardcoded float
10850         definitions.
10851
10852         * lyxlayout.h: ws change.
10853
10854 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10857
10858 2002-09-03  Angus Leeming  <leeming@lyx.org>
10859
10860         * BufferView_pimpl.h: qualified name is not allowed in member
10861         declaration: WorkArea & Pimpl::workarea() const;
10862
10863         * factory.C: added using std::endl directive.
10864
10865         * text3.C: added using std::find and std::vector directives.
10866
10867 2002-08-29  André Pönitz <poenitz@gmx.net>
10868
10869         * lyxtext.h:
10870         * text2.C: remove unused member number_of_rows
10871
10872         * Makefile.am:
10873         * BufferView2.C: remove file, move contents to...
10874         * BufferView.C: ... here
10875
10876         * BufferView_pimpl.C:
10877         * factory.C: move more inset creation to factory
10878
10879         * vspace.C: avoid direct usage of LyXText, ws changes
10880
10881         * BufferView.[Ch]:
10882                 don't provide direct access to WorkArea, use two simple
10883                 acessors haveSelction() and workHeight() instead
10884
10885
10886 2002-08-29  John Levon  <levon@movementarian.org>
10887
10888         * BufferView_pimpl.C (dispatch): do not continue when
10889           no buffer
10890
10891 2002-08-28  André Pönitz <poenitz@gmx.net>
10892
10893         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10894
10895         * BufferView.h:
10896         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10897
10898 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10899
10900         * buffer.C: increment LYX_FORMAT to 221
10901
10902         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10903         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10904
10905         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10906
10907         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10908
10909 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10910
10911         * factory.C (createInset): use LyXTextClass::floats
10912
10913         * MenuBackend.C (expandFloatListInsert):
10914         (expandFloatInsert):
10915         (expandToc):
10916
10917         * text2.C (setCounter):
10918
10919         * LaTeXFeatures.C (useFloat):
10920         (getFloatDefinitions):
10921
10922         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10923
10924         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10925         floatlist_, with accessor floats().
10926
10927         * FloatList.h: remove global FloatList
10928
10929 2002-08-26  André Pönitz <poenitz@gmx.net>
10930
10931         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10932
10933         * BufferView.h:
10934         * BufferView2.C:
10935         * BufferView_pimpl.C:
10936         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10937
10938 2002-08-25  John Levon  <levon@movementarian.org>
10939
10940         * LyXAction.C: fix margin note description
10941
10942 2002-08-24  John Levon  <levon@movementarian.org>
10943
10944         * buffer.C:
10945         * bufferlist.C:
10946         * bufferview_funcs.C:
10947         * lyxfont.C:
10948         * undo_funcs.C: cleanups
10949
10950         * lyxfunc.C: disable CUT/COPY when no selection
10951
10952 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10953
10954         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10955         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10956
10957         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10958         Add backward compatibility to "mono", "gray" and "no".
10959
10960 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10961
10962         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10963         (and file_format >= 200).
10964
10965 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10966
10967         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10968
10969 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10970
10971         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10972
10973 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10974
10975         * BufferView_pimpl.C:
10976         * LyXAction.C:
10977         * buffer.C:
10978         * commandtags.h:
10979         * lyxfunc.C:
10980         * paragraph.[Ch]:
10981         * text2.C:
10982         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10983         inset and code to make it  work with the paragraph code. The inset
10984         can be anywhere in the paragraph, but will only do the expected
10985         thing in LaTeX if the layout file contains the parameter line
10986                         OptionalArgs    1
10987         (or more generally, a nonzero value) for that layout.
10988
10989 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10990
10991         * paragraph.h: remove the declaration of undefined counters class
10992         function.
10993
10994 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10995
10996         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10997         Dr. Richard Hawkins.
10998
10999 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * paragraph_funcs.h: remove some unneeded includes
11002
11003         * text.C (backspace): pasteParagraph now in global scipe
11004
11005         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11006         (pasteSelection): ditto
11007
11008         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11009         * paragraph_funcs.C (pasteParagraph): ... here
11010
11011 2002-08-20  André Pönitz <poenitz@gmx.net>
11012
11013         * commandtags.h: new LFUNs for swapping/copying table row/colums
11014
11015         * LyXAction.C:
11016         * lyxfunc.C: support for new lfuns
11017
11018 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11019
11020         * tabular.C:
11021         * buffer.[Ch]: remove NO_COMPABILITY stuff
11022
11023 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11024
11025         * boost.C (throw_exception): new file, with helper function for
11026         boost compiled without exceptions.
11027
11028         * paragraph.h:
11029         * lyxlength.C:
11030         * buffer.C:
11031         * ParameterStruct.h:
11032         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11033
11034         * bufferlist.C (emergencyWriteAll): use boost bind
11035
11036         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11037
11038         * text.C: include paragraph_funcs.h
11039         (breakParagraph): breakParagraph is now in global scope
11040
11041         * paragraph_funcs.[Ch]: new files
11042
11043         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11044         global scope
11045
11046         * buffer.C: include paragraph_funcs.h
11047         (insertStringAsLines): breakParagraph is now in global scope
11048
11049         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11050         paragraph_funcs.C
11051
11052         * CutAndPaste.C: include paragraph_funcs.h
11053         (cutSelection): breakParagraphConservative is now in global scope
11054         (pasteSelection): ditto
11055
11056         * buffer.h: declare oprator== and operator!= for
11057         Buffer::inset_iterator
11058
11059         * bufferlist.C (emergencyWrite): don't use fmt(...)
11060
11061         * text3.C: add using std::endl
11062
11063         * BufferView.C (moveCursorUpdate): remove default arg
11064
11065 2002-08-20  André Pönitz <poenitz@gmx.net>
11066
11067         * buffer.[Ch]: move inline functions to .C
11068
11069         * BufferView2.C:
11070         * BufferView_pimpl.C:
11071         * text.C:
11072         * buffer.[Ch]: use improved inset_iterator
11073
11074         * buffer.C:
11075         * paragraph.[Ch]: write one paragraph at a time
11076
11077 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11078
11079         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11080         style if style is not specified.
11081
11082 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * text2.C (setCounter): when searching for right label for a
11085         caption, make sure to recurse to parent insets (so that a caption
11086         in a minipage in a figure float works) (bug #568)
11087
11088 2002-08-20  André Pönitz <poenitz@gmx.net>
11089
11090         * text3.C: new file for LyXText::dispatch() and helpers
11091
11092         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11093
11094         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11095
11096 2002-08-19  André Pönitz <poenitz@gmx.net>
11097
11098         * lyxtext.h:
11099         * text.C: new LyXText::dispatch()
11100
11101         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11102
11103 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11106
11107         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11108         Hebrew text.
11109
11110 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11111
11112         * Makefile.am: use $(variables) instead of @substitutions@
11113
11114 2002-08-15  André Pönitz <poenitz@gmx.net>
11115
11116         * lyxfunc.C:
11117         * BufferView_pimpl.C: streamlining mathed <-> outer world
11118         interaction
11119
11120         * commandtags.h:
11121         * LyXAction.C: remove unused LFUN_MATH
11122
11123 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11124
11125         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11126
11127 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11128
11129         * paragraph.C (Paragraph): reformat a bit
11130         (cutIntoMinibuffer): use builtin InsetList function instad of
11131         doing it manually.
11132         (getInset): ditto
11133
11134         * buffer.C: include boost/bind.hpp, add using std::for_each
11135         (writeFileAscii): use ParagraphList iterators
11136         (validate): use for_each for validate traversal of paragraphs
11137         (getBibkeyList): use ParagraphList iterators
11138         (resizeInsets): use for_each to resizeInsetsLyXText for all
11139         paragraphs.
11140         (getParFromID): use ParagraphList iterators
11141
11142         * BufferView2.C (lockInset): use paragraph list and iterators
11143
11144 2002-08-14  John Levon  <levon@movementarian.org>
11145
11146         * lyxserver.C: remove spurious xforms include
11147
11148 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11149
11150         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11151
11152 2002-08-13  André Pönitz <poenitz@gmx.net>
11153
11154         * LyXAction.[Ch]:
11155         * lyxfunc.C: further cleaning
11156
11157 2002-08-13  André Pönitz <poenitz@gmx.net>
11158
11159         * funcrequest.h: new constructor
11160
11161         * funcrequest.C: move stuff here from .h
11162
11163         * Makefile.am:
11164         * BufferView_pimpl.C:
11165         * LyXAction.C:
11166         * toc.C:
11167         * lyxfunc.C: subsequent changes
11168
11169         * lyxfunc.h: new view() member function
11170
11171         * lyxfunc.C: subsequent changes
11172
11173 2002-08-13  Angus Leeming  <leeming@lyx.org>
11174
11175         * BufferView2.C:
11176         * BufferView_pimpl.C:
11177         * buffer.C:
11178         * converter.C:
11179         * importer.C:
11180         * lyxfunc.C:
11181         * lyxvc.C:
11182         * toc.C:
11183         * vc-backend.C:
11184         changes due to the changed LyXView interface that now returns references
11185         to member variables not pointers.
11186
11187 2002-08-13  Angus Leeming  <leeming@lyx.org>
11188
11189         * WordLangTuple (word, lang_code): return references to strings,
11190         not strings.
11191
11192         * BufferView.h:
11193         * SpellBase.h:
11194         * lyxtext.h: forward-declare WordLangTuple.
11195
11196         * BufferView2.C:
11197         * ispell.C:
11198         * pspell.C:
11199         * text.C: #include "WordLangTuple.h".
11200
11201         * lyxtext.h:
11202         * text.C: (selectNextWordToSpellcheck): constify return type.
11203
11204 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11205
11206         * buffer.C:
11207         * buffer.h:
11208         * lyxtext.h:
11209         * paragraph.C:
11210         * paragraph_pimpl.h:
11211         * text.C:
11212         * text2.C:
11213         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11214         suggested by Angus.
11215         Made updateCounter always count from start of buffer, and removed
11216         second argument (par).
11217         Reverted floats number display to '#'. Perhaps I'll try again when the
11218         code base is sanitized a bit.
11219
11220 2002-08-12  Angus Leeming  <leeming@lyx.org>
11221
11222         * buffer.[Ch] (getLabelList): constify.
11223
11224 2002-08-07  André Pönitz <poenitz@gmx.net>
11225
11226         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11227
11228         * funcrequest.h: extension to keep mouse (x,y) position
11229
11230 2002-08-12  Juergen Vigna  <jug@sad.it>
11231
11232         * BufferView2.C (insertErrors): forbid undo when inserting error
11233         insets.
11234
11235         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11236
11237 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11238
11239         * ParagraphList.[Ch]: new files
11240
11241         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11242
11243         * BufferView2.C (lockInset): ParagraphList changes
11244         * toc.C: ditto
11245         * text2.C: ditto
11246         * bufferlist.C: ditto
11247         * buffer.h: ditto
11248         * buffer.C: ditto
11249
11250 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11251
11252         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11253         unused class variable counter_,
11254
11255         * paragraph.[Ch] (getFirstCounter): delete unused function
11256
11257         * counters.C: include LAssert.h
11258         (reset): add a new function with no arg, change other version to
11259         not have def. arg and to not allow empty arg.
11260
11261         * text2.C (setCounter): remove empty arg from call to Counters::reset
11262
11263 2002-08-11  John Levon  <levon@movementarian.org>
11264
11265         * Makefile.am: add WordLangTuple.h
11266
11267 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11268
11269         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11270         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11271
11272         * insets/insettext.C: InsetList changes
11273
11274         * graphics/GraphicsSupport.C (operator()): InsetList changes
11275
11276         * toc.C (getTocList): InsetList changes
11277
11278         * paragraph_pimpl.[Ch]: InsetList changes
11279
11280         * paragraph.[Ch]: InsetList changes
11281
11282         * buffer.C (inset_iterator): InsetList changes
11283         (setParagraph): ditto
11284         * buffer.h (inset_iterator): ditto
11285         * iterators.C (operator++): ditto
11286         * iterators.h: ditto
11287
11288         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11289
11290         * InsetList.[Ch]: new files, most InsetList handling moved out of
11291         paragraph.C.
11292
11293         * BufferView2.C (removeAutoInsets): InsetList changes
11294         (lockInset): ditto
11295         (ChangeInsets): ditto
11296
11297 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11298
11299         * paragraph_pimpl.h (empty): new function
11300
11301         * paragraph.[Ch] (empty): new function
11302
11303         * other files: use the new Paragraph::empty function
11304
11305 2002-08-09  John Levon  <levon@movementarian.org>
11306
11307         * lyxtext.h: remove unused refresh_height
11308
11309 2002-08-09  John Levon  <levon@movementarian.org>
11310
11311         * Makefile.am:
11312         * sgml.h:
11313         * sgml.C:
11314         * buffer.C:
11315         * paragraph.h:
11316         * paragraph.C: move sgml char escaping out of paragraph
11317
11318         * paragraph.h:
11319         * paragraph.C: remove id setter
11320
11321         * buffer.C:
11322         * paragraph.C:
11323         * paragraph_pimpl.C: remove dead tex_code_break_column
11324
11325         * bufferview_funcs.C: small cleanup
11326
11327         * lyxfunc.C: remove dead proto
11328
11329         * lyxtext.h: make some stuff private. Remove some dead stuff.
11330
11331         * lyxgluelength.C: make as[LyX]String() readable
11332
11333 2002-08-08  John Levon  <levon@movementarian.org>
11334
11335         * LyXAction.h:
11336         * LyXAction.C:
11337         * MenuBackend.C:
11338         * ToolbarDefaults.C:
11339         * lyxfunc.C:
11340         * lyxrc.C:
11341         * toc.C: lyxaction cleanup
11342
11343 2002-08-08  John Levon  <levon@movementarian.org>
11344
11345         * BufferView2.C: small cleanup
11346
11347         * lyxfind.h:
11348         * lyxfind.C: move unnecessary header into the .C
11349
11350 2002-08-08  John Levon  <levon@movementarian.org>
11351
11352         * funcrequest.h: just tedious nonsense
11353
11354         * lyx_main.h:
11355         * lyx_main.C: cleanups
11356
11357         * buffer.C:
11358         * vspace.C: remove dead header lyx_main.h
11359
11360 2002-08-07  Angus Leeming  <leeming@lyx.org>
11361
11362         * Paragraph.[Ch]:
11363         * paragraph_pimpl.h:
11364         Forward declare class Counters in paragraph.h by moving the ctrs member
11365         variable into Paragraph::Pimpl.
11366         (counters): new method, returning a reference to pimpl_->ctrs.
11367
11368         * text2.C: ensuing changes.
11369
11370 2002-08-07  John Levon  <levon@movementarian.org>
11371
11372         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11373
11374         * BufferView_pimpl.C: announce X selection on double/triple
11375           click
11376
11377         * lyx_main.C: use correct bool in batch dispatch
11378
11379         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11380
11381 2002-08-07  André Pönitz <poenitz@gmx.net>
11382
11383         * funcrequest.h: new class to wrap a kb_action and its argument
11384
11385         * BufferView.[Ch]:
11386         * BufferView_pimpl[Ch]:
11387         * LaTeX.C:
11388         * LyXAction.[Ch]:
11389         * lyxfunc.[Ch]:
11390         * lyxrc.C: subsequent changes
11391
11392
11393 2002-08-07  John Levon  <levon@movementarian.org>
11394
11395         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11396           document options change.
11397
11398 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11399
11400         * counters.[Ch]
11401         * text2.C
11402         * paragraph.[Ch]
11403         * makefile.am: move counters functionality over from
11404         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11405
11406 2002-08-06  John Levon  <levon@movementarian.org>
11407
11408         * WordLangTuple.h: new file for word + language code tuple
11409
11410         * SpellBase.h:
11411         * pspell.h:
11412         * pspell.C:
11413         * ispell.h:
11414         * ispell.C:
11415         * lyxtext.h:
11416         * text.C:
11417         * text2.C:
11418         * BufferView.h:
11419         * BufferView2.C: use WordLangTuple
11420
11421         * layout.h:
11422         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11423
11424 2002-08-06  John Levon  <levon@movementarian.org>
11425
11426         * lyx_main.C: fix cmdline batch handling
11427
11428 2002-08-06  André Pönitz <poenitz@gmx.net>
11429
11430         * lyxrc.C: set default for show_banner to true
11431
11432 2002-08-06  John Levon  <levon@movementarian.org>
11433
11434         * pspell.C: fix a crash, and allow new aspell to work
11435
11436 2002-08-06  John Levon  <levon@movementarian.org>
11437
11438         * lyxfunc.C:
11439         * kbmap.C: small cleanup
11440
11441         * vspace.h:
11442         * vspace.C: add const
11443
11444 2002-08-05  John Levon  <levon@movementarian.org>
11445
11446         * LyXAction.C: back to tabular-insert
11447
11448 2002-08-04  John Levon  <levon@movementarian.org>
11449
11450         * BufferView.h:
11451         * BufferView.C: cosmetic change
11452
11453         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11454
11455         * bufferlist.C:
11456         * buffer.h:
11457         * buffer.C:
11458         * lyxcb.h:
11459         * lyxcb.C:
11460         * lyxserver.C:
11461         * lyxvc.C:
11462         * vc-backend.C:
11463         * BufferView2.C: purge all "Lyx" not "LyX" strings
11464
11465         * lyxcursor.h:
11466         * lyxcursor.C: attempt to add some documentation
11467
11468         * lyxfunc.C:
11469         * commandtags.h:
11470         * LyXAction.C:
11471         * ToolbarDefaults.C:
11472         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11473           merge with LFUN_TABULAR_INSERT
11474
11475         * Makefile.am:
11476         * SpellBase.h:
11477         * ispell.h:
11478         * ispell.C:
11479         * pspell.h:
11480         * pspell.C: split up i/pspell implementations into separate
11481           files, many cleanups
11482
11483         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11484
11485         * text2.C: some cleanup
11486
11487         * lyxfunc.C: don't check for isp_command == "none" any more, it
11488           didn't make any sense
11489
11490 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11491
11492         * counters.[Ch]
11493         * text2.C
11494         * paragraph.[Ch]
11495         * makefile.am: move counters functionality over
11496         from text2.C/paragraph.[Ch] to counters.[Ch], and
11497         make proper C++.
11498 2002-08-02  John Levon  <levon@movementarian.org>
11499
11500         * buffer.C: s/lyxconvert/lyx2lyx/
11501
11502 2002-08-02  Angus Leeming  <leeming@lyx.org>
11503
11504         * lyxlex.C: revert John's change as it breaks reading of the user
11505         preamble.
11506
11507 2002-08-02  Angus Leeming  <leeming@lyx.org>
11508
11509         * importer.C (Import):
11510         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11511         changes due to LyXView::view() now returning a boost::shared_ptr.
11512
11513 2002-08-02  John Levon  <levon@movementarian.org>
11514
11515         * lyxlex.C: small cleanup
11516
11517 2002-08-02  John Levon  <levon@movementarian.org>
11518
11519         * text2.C (status): small cleanup, no logic change
11520
11521 2002-08-01  John Levon  <levon@movementarian.org>
11522
11523         * buffer.h:
11524         * buffer.C (writeFile): don't output alerts, caller
11525           handles this
11526
11527         * bufferlist.C:
11528         * lyx_cb.C: from above
11529
11530         * lyxfunc.C: allow to open non-existent files
11531
11532 2002-07-31  John Levon  <levon@movementarian.org>
11533
11534         * lyxserver.C: don't let incidental errors get
11535           in the way (errno)
11536
11537 2002-07-30  John Levon  <levon@movementarian.org>
11538
11539         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11540
11541 2002-07-30  John Levon  <levon@movementarian.org>
11542
11543         * lyxserver.h:
11544         * lyxserver.C: remove I/O callback too
11545
11546 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11547
11548         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11549         log.
11550
11551 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11552
11553         * many files: strip,frontStrip -> trim,ltrim,rtrim
11554
11555 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11556
11557         * PrinterParams.h: remove extern containsOnly, and include
11558         support/lstrings.h instead.
11559
11560         * LaTeX.C (scanAuxFile): modify because of strip changes
11561         (deplog): ditto
11562         * buffer.C (makeLaTeXFile): ditto
11563         * bufferparams.C (writeFile): ditt
11564         * lyxfont.C (stateText): ditto
11565         * lyxserver.C (read_ready): ditto
11566         * vc-backend.C (scanMaster): ditto
11567
11568         * BufferView_pimpl.h: ws changes
11569
11570         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11571
11572 2002-07-26  André Pönitz <poenitz@gmx.net>
11573
11574         * kb_sequence.C: remove unnedred usings
11575
11576 2002-07-26  Juergen Vigna  <jug@sad.it>
11577
11578         * lyxfind.C (LyXReplace): we have to check better if the returned
11579         text is not of theLockingInset()->getLockingInset().
11580
11581 2002-07-25  Juergen Vigna  <jug@sad.it>
11582
11583         * lyxfind.C (LyXReplace): don't replace if we don't get the
11584         right LyXText.
11585
11586         * undo_funcs.C (createUndo): remove debugging code.
11587
11588 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11589
11590         * buffer.C (parseSingleLyXformat2Token): Use default placement
11591         when reading old floats.
11592
11593         * FloatList.C (FloatList): Change the default placement of figure
11594         and tables to "tbp".
11595
11596 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * MenuBackend.C: using std::max
11599
11600 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11601
11602         * MenuBackend.C (expandToc):
11603         (expandToc2): code moved from xforms menu frontend. It is now
11604         generic and TOCs are transparent to menu frontends.
11605
11606 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11607
11608         * toc.C (getTocList): protect against buf=0
11609
11610         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11611         Menu as first parameter. Now, this calls itself recursively to
11612         expand a whole tree (this will be useful for TOC handling)
11613         (expandFloatInsert): remove 'wide' version of floats
11614
11615         * MenuBackend.h (submenuname): returns the name of the submenu.
11616         (submenu): returns the submenu itself, provided it has been
11617         created by MenuBackend::expand
11618
11619 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11620
11621         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11622         insets which have noFontChange == true. (bug #172)
11623
11624 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11625
11626         * BufferView_pimpl.C: add connection objects and use them...
11627         (Pimpl): here.
11628
11629 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11630
11631         * MenuBackend.C (expandLastfiles):
11632         (expandDocuments):
11633         (expandFormats):
11634         (expandFloatListInsert):
11635         (expandFloatInsert):
11636         (expand): split expand in parts
11637
11638 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * lyx_gui.C: use lyx_gui::exit()
11641
11642 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * LyXAction.C: show the failing pseudo action
11645
11646 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11647
11648         * buffer.C (readFile): Run the lyxconvert script in order to read
11649         old files.
11650
11651 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * LyXAction.C:
11654         * commandtags.h:
11655         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11656
11657 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * LyXAction.C:
11660         * commandtags.h:
11661         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11662
11663 2002-07-22  Herbert Voss  <voss@lyx.org>
11664
11665         * lengthcommon.C:
11666         * lyxlength.[Ch]: add support for the vertical lengths
11667
11668 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * toc.[Ch]: std:: fixes
11671
11672 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673
11674         * lyxrc.C: do not include lyx_main.h
11675
11676         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11677         for layouts
11678
11679         * lyxrc.C:
11680         * encoding.C:
11681         * bufferlist.C:
11682         * BufferView2.C: include "lyxlex.h"
11683
11684         * tabular.h:
11685         * bufferparams.h: do not #include "lyxlex.h"
11686
11687         * lyxtextclasslist.C (Add): remove method
11688         (classlist): renamed to classlist_
11689
11690         * paragraph_pimpl.C:
11691         * paragraph.C:
11692         * text2.C:
11693         * CutAndPaste.C:
11694         * bufferview_funcs.C:
11695         * bufferlist.C:
11696         * text.C:
11697         * LaTeXFeatures.C:
11698         * buffer.C:
11699         * toc.C (getTocList): use BufferParams::getLyXTextClass
11700
11701         * toc.C (getTocList): use InsetFloat::addToToc
11702
11703         * toc.[Ch]: new files, containing helper functions to handle table
11704         of contents
11705
11706         * lyxfunc.C (dispatch): no need to remove spaces around command
11707         given as a string
11708         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11709         first command of the sequence; it is not very clever, but I do not
11710         have a better idea, actually
11711
11712         * LyXAction.C (LookupFunc): make sure to remove space at the
11713         beginning and end of the command
11714
11715 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11716
11717         * MenuBackend.C (getMenubar): new method: return the menubar of
11718         this menu set
11719         (read): treat differently reading of menu and menubar (in
11720         particular, the menubar has no name now)
11721         (Menu::menubar): remove
11722
11723         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11724         saving is finished
11725
11726 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11727
11728         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11729         a bibitem inset in a RTL paragraph.
11730
11731 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * paragraph_pimpl.C: constify
11734
11735         * BufferView_pimpl.C:
11736         * LaTeX.C:
11737         * lyxfunc.C: fix dispatch in a nicer way
11738
11739 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11740
11741         * lyxfunc.C (dispatch):
11742         * BufferView_pimpl.C:
11743         * BufferView_pimpl.h:
11744         * BufferView.C:
11745         * BufferView.h: rename Dispatch() to dispatch()
11746
11747         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11748
11749         * lyxlayout.C (Read): honor DependsOn tag
11750
11751         * lyxlayout.[Ch] (depends_on): new method
11752
11753         * version.C.in: update lyx_docversion
11754
11755         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11756
11757         * paragraph.C (validate): remove from here...
11758         * paragraph_pimpl.C (validate): ... and move here
11759         (isTextAt): make it const
11760
11761         * buffer.C (getLists): ws cleanup
11762
11763 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11764
11765         * language.C (read): Use iso8859-1 encoding in latex_lang
11766         (this prevents LyX from crashing when using iso10646-1 encoding).
11767
11768 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * text2.C (toggleInset): if cursor is inside an inset, close the
11771         inset and leave cursor _after_ it
11772
11773 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * lyxfunc.C: move minibuffer completion handling out of here
11776
11777 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * BufferView_pimpl.C:
11780         * LaTeX.C: fix dispatch calls
11781
11782 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11783
11784         * text.C (drawChars): Fix Arabic text rendering.
11785
11786 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * LyXAction.C:
11789         * commandtags.h:
11790         * lyxfunc.C: remove message-push/pop
11791
11792         * lyxserver.C:
11793         * lyxfunc.h:
11794         * lyxfunc.C: rationalise some code by removing verboseDispatch
11795           in favour of a bool argument to dispatch()
11796
11797 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * lyx_main.C (init): make sure to read symlinks as absolute paths
11800
11801 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * lyxfunc.h:
11804         * lyxfunc.C: no need for commandshortcut to be a member
11805
11806 2002-07-15  André Pönitz <poenitz@gmx.net>
11807
11808         * converter.C: add support for $$s (scripts from lib/scripts dir)
11809         * lyx_main.C: white space
11810
11811 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * bufferlist.C:
11814         * lyxrc.h:
11815         * lyxrc.C: remove second exit confirmation
11816
11817 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11818
11819         * BufferView.h:
11820         * BufferView.C:
11821         * BufferView2.C:
11822         * BufferView_pimpl.h:
11823         * BufferView_pimpl.C:
11824         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11825
11826 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11827
11828         * MenuBackend.C (expand): add numeric shortcuts to document menu
11829
11830         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11831
11832 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * lyxfont.C (setLyXFamily):
11835         (setLyXSeries):
11836         (setLyXShape):
11837         (setLyXSize):
11838         (setLyXMisc):
11839         (lyxRead):
11840         * debug.C (value):
11841         * buffer.C (asciiParagraph): use ascii_lowercase
11842
11843 2002-07-15  Mike Fabian  <mfabian@suse.de>
11844
11845         * lyxlex_pimpl.C (search_kw):
11846         * lyxlex.C (getLongString):
11847         * converter.h (operator<):
11848         * converter.C (operator<):
11849         * buffer.C (parseSingleLyXformat2Token):
11850         (asciiParagraph):
11851         * ToolbarDefaults.C (read):
11852         * MenuBackend.C (checkShortcuts):
11853         (read):
11854         * LColor.C (getFromGUIName):
11855         (getFromLyXName): use the compare_ascii_no_case instead of
11856         compare_no_case, because in turkish, 'i' is not the lowercase
11857         version of 'I', and thus turkish locale breaks parsing of tags.
11858
11859 2002-07-16  Angus Leeming  <leeming@lyx.org>
11860
11861         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11862         now takes a Buffer const & argument.
11863
11864 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * BufferView.C (resize): check there's a buffer to resize
11867
11868 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * lyxfunc.C: remove dead code
11871
11872         * lyxserver.h:
11873         * lyxserver.C: use lyx_guii::set_read_callback
11874
11875 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11876
11877         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11878         an inset in a RTL paragraph.
11879
11880 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * lyxfunc.C: repaint after a font size update
11883
11884 2002-07-15  André Pönitz <poenitz@gmx.net>
11885
11886         * lyxlength.C: inBP should be able to return negative values
11887
11888 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11889
11890         * lyxfunc.C: use lyx_gui::update_fonts()
11891
11892 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * lyxfunc.C: use lyx_gui::update_color()
11895
11896 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * bufferlist.C:
11899         * lyxfunc.h:
11900         * lyxfunc.C:
11901         * lyxrc.h:
11902         * lyxrc.C: remove file->new asks for name option, and let
11903           buffer-new take an argument
11904
11905 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11906
11907         * BufferView_pimpl.C: remove unneeded extra repaint()
11908
11909 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * LyXAction.C: allow command-sequence with NoBuffer
11912
11913         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11914
11915 2002-07-10  Angus Leeming  <leeming@lyx.org>
11916
11917         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11918
11919 2002-07-09  Angus Leeming  <leeming@lyx.org>
11920
11921         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11922
11923 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * lengthcommon.h: whitespace
11926
11927         * lyxfunc.C: update scrollbar after goto paragraph
11928
11929         * lyxtext.h: factor out page break drawing, and fix it so
11930           page break/added space paints as selected nicely
11931
11932 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * BufferView_pimpl.C: add FIXMEs, clean up a little
11935
11936 2002-07-09  André Pönitz <poenitz@gmx.net>
11937
11938         * lyxfont.[Ch]: support for wasy symbols
11939
11940 2002-07-08  André Pönitz <poenitz@gmx.net>
11941
11942         * BufferView_pimpl.C: apply John's patch for #93.
11943
11944 2002-07-05  Angus Leeming  <leeming@lyx.org>
11945
11946         * BufferView_pimpl.C (buffer): generate previews if desired.
11947
11948         * LColor.h: add "preview" to the color enum.
11949
11950         * LColor.C (LColor): add a corresponding entry to the items array.
11951
11952         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11953         with this buffer.
11954
11955 2002-07-05  Angus Leeming  <leeming@lyx.org>
11956
11957         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11958         The body of the code is now in the method that is passed an ostream &
11959         rather than a file name.
11960         Pass an additional only_preamble parameter, useful for the forthcoming
11961         preview stuff.
11962
11963 2002-07-03  André Pönitz <poenitz@gmx.net>
11964
11965         * lyxfunc.C: simplify getStatus() a bit for math stuff
11966
11967 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11968
11969         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11970
11971 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11972
11973         * text.C (changeRegionCase): do not change case of all the
11974         document when region ends at paragraph end (bug #461)
11975
11976 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11977
11978         * paragraph.C (startTeXParParams):
11979         (endTeXParParams): add \protect when necessary
11980
11981 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11982
11983         * BufferView_pimpl.C (workAreaExpose): remove warning
11984
11985 2002-06-27  Angus Leeming  <leeming@lyx.org>
11986
11987         * Makefile.am: add lyxlayout_ptr_fwd.h.
11988
11989 2002-06-26  André Pönitz <poenitz@gmx.net>
11990
11991         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11992
11993 2002-06-25  Angus Leeming  <leeming@lyx.org>
11994
11995         * lyxfunc.C (dispatch): Comment out the call to
11996         grfx::GCache::changeDisplay. The method no longer exists now that the
11997         pixmap generation part of the graphics loader has been moved into
11998         InsetGraphics.
11999
12000 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12001
12002         * text2.C: layout as layout
12003
12004         * text.C: layout as layout
12005
12006         * tabular.C (OldFormatRead): layout as layout
12007
12008         * paragraph_pimpl.C (TeXDeeper): layout as layout
12009         (realizeFont): layout as layout
12010
12011         * paragraph.C (writeFile): layout as layout
12012         (validate): layout as layout
12013         (getFont): layout as layout
12014         (getLabelFont): layout as layout
12015         (getLayoutFont): layout as layout
12016         (breakParagraph): layout as layout
12017         (stripLeadingSpaces): layout as layout
12018         (getEndLabel): layout as layout
12019         (getMaxDepthAfter): layout as layout
12020         (applyLayout): layout as layout
12021         (TeXOnePar): layout as layout
12022         (simpleTeXOnePar): layout as layout
12023         (TeXEnvironment): layout as layout
12024         (layout): layout as layout
12025         (layout): layout as layout
12026
12027         * lyxtextclass.C (compare_name): new functor to work with
12028         shared_ptr, layout as layout
12029         (Read): layout as layout
12030         (hasLayout): layout as layout
12031         (operator): layout as layout
12032         (delete_layout): layout as layout
12033         (defaultLayout): layout as layout
12034
12035         * lyxlayout_ptr_fwd.h: new file
12036
12037         * lyxlayout.C (Read): layout as layout
12038
12039         * lyx_cb.C (MenuInsertLabel): layout as layout
12040
12041         * bufferlist.C (newFile): layout as layout
12042
12043         * buffer.C (readLyXformat2): layout as layout
12044         (parseSingleLyXformat2Token): layout as layout
12045         (insertStringAsLines): layout as layout
12046         (asciiParagraph): layout as layout
12047         (latexParagraphs): layout as layout
12048         (makeLinuxDocFile): layout as layout
12049         (simpleLinuxDocOnePar): layout as layout
12050         (makeDocBookFile): layout as layout
12051         (simpleDocBookOnePar): layout as layout
12052         (getLists): layout as layout
12053
12054         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12055
12056         * CutAndPaste.C (cutSelection): layout as layout
12057         (pasteSelection): layout as layout
12058         (SwitchLayoutsBetweenClasses): layout as layout
12059
12060         * BufferView_pimpl.C (Dispatch): layout as layout
12061         (smartQuote): layout as layout
12062
12063         * BufferView2.C (unlockInset): layout as layout
12064
12065 2002-06-24  André Pönitz <poenitz@gmx.net>
12066
12067         * lyxfunc.C: fix #487
12068
12069 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12070
12071         * lyxrc.h:
12072         * lyxrc.C:
12073         * lyxfunc.C: remove display_shortcuts, show_banner
12074
12075 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * Buffer_pimpl.C: oops, update on resize
12078
12079 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * buffer.C:
12082         * converter.C:
12083         * exporter.C:
12084         * lyxfunc.C:
12085         * BufferView.h:
12086         * BufferView.C: use repaint()
12087
12088         * BufferView_pimpl.h:
12089         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12090           as it's a clearer description. Remove superfluous
12091           redraws.
12092
12093 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * text.C: fix bug 488. Not ideal, but getting
12096           getWord() to work properly for the insets that
12097           matter is more difficult ...
12098
12099 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * BufferView_pimpl.C:
12102         * LyXAction.C:
12103         * commandtags.h:
12104         * lyxfunc.C: remove the six million index lyxfuncs to just
12105           one, and DTRT (bug 458)
12106
12107 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * BufferView.h:
12110         * BufferView.C:
12111         * BufferView_pimpl.h:
12112         * BufferView_pimpl.C: clean up resize() stuff,
12113           and unnecessary updateScreen()s
12114
12115 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * BufferView.h:
12118         * BufferView.C:
12119         * BufferView_pimpl.h:
12120         * BufferView_pimpl.C:
12121         * lyxfind.h:
12122         * lyxfind.C:
12123         * minibuffer.C: remove focus management of workarea,
12124           not needed. Use screen's greyOut()
12125
12126 2002-06-17  Herbert Voss  <voss@lyx.org>
12127
12128         * converter.C: (convert) do not post a message, when converting
12129         fails, let the calling function decide what to do in this case
12130
12131 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * lyxfunc.C: tidy up a little
12134
12135 2002-06-16    <alstrup@diku.dk>
12136
12137         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12138         Got rid of FORMS_H_LOCATION include. Now we are
12139         GUII.
12140
12141 2002-06-15  LyX Development team  <lyx@rilke>
12142
12143         * buffer.[Ch] (sgmlOpenTag):
12144         (sgmlCloseTag): Added support for avoiding pernicious mixed
12145         content. Return number of lines written.
12146
12147         (makeLinuxDocFile):
12148         (makeDocBookFile): Fixed calls to sgml*Tag.
12149         Simple white space clean.
12150
12151         (simpleDocBookOnePar): Simple white space clean.
12152
12153         * tabular.[Ch] (docBook): Renamed to docbook and got another
12154         argument to related with the pernicious mixed content.
12155
12156         (docbookRow): Fixed calls for docbook inset method.
12157
12158 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12159
12160         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12161         so it's X11 independent.
12162
12163         * kb*.[Ch]: ditto.
12164
12165         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12166
12167 2002-06-15  Lyx Development team  <lyx@electronia>
12168
12169         * intl.h: Renamed getTrans to getTransManager.
12170
12171 2002-06-14  Angus Leeming  <leeming@lyx.org>
12172
12173         * Makefile.am: nuke forgotten stl_string_fwd.h.
12174
12175 2002-06-12  Angus Leeming  <leeming@lyx.org>
12176
12177         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12178
12179 2002-06-13  Angus Leeming  <leeming@lyx.org>
12180
12181         * LaTeX.C:
12182         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12183
12184 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12185
12186         * kbmap.C (getiso): add support for cyrillic and greek
12187
12188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * BufferView.h:
12191         * BufferView.C:
12192         * BufferView_pimpl.h:
12193         * BufferView_pimpl.C: move bogus scrolling logic
12194           to xforms
12195
12196 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * lyxfunc.C:
12199         * BufferView_pimpl.C: view->resize() change
12200
12201 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12202
12203         * BufferView_pimpl.C: topCursorVisible
12204           prototype change
12205
12206 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * Makefile.am:
12209         * lyx_gui.h:
12210         * lyx_gui.C: move to frontends/
12211
12212         * main.C:
12213         * lyx_main.h:
12214         * lyx_main.C: changes from above
12215
12216 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * intl.C:
12219         * intl.h:
12220         * kbmap.C:
12221         * kbsequence.C:
12222         * lyx_cb.C:
12223         * lyx_main.C: minor tidy
12224
12225 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12226
12227         * BufferView_pimpl.h:
12228         * BufferView_pimpl.C:
12229         * BufferView.h:
12230         * BufferView.C: make painter() const,
12231           remove dead code
12232
12233         * BufferView2.C: use screen() accessor
12234
12235         * lyx_main.h:
12236         * lyx_main.C: some minor cleanup
12237
12238 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12239
12240         * BufferView_pimpl.h:
12241         * BufferView_pimpl.C: remove enter/leaveView,
12242           use workHeight()
12243
12244 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * BufferView.h:
12247         * BufferView.C:
12248         * BufferView2.C:
12249         * BufferView_pimpl.h:
12250         * BufferView_pimpl.C: only construct screen once,
12251           rename
12252
12253         * lyxrc.C: remove pointless comment
12254
12255 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * BufferView.h:
12258         * BufferView.C: remove active() and belowMouse()
12259
12260         * BufferView_pimpl.h:
12261         * BufferView_pimpl.C: use workarea() not workarea_,
12262           and make it use a scoped_ptr instead
12263
12264 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * lyx_gui.C: add debug message on BadWindow
12267
12268 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12269
12270         * sp_spell.C: fdopen is not part of the C++ standard.
12271
12272         * paragraph.C (InsetIterator): use >= instead of ==
12273
12274 2002-06-07  Angus Leeming  <leeming@lyx.org>
12275
12276         Fixes needed to compile with Compaq cxx 6.5.
12277         * BufferView_pimpl.C:
12278         * DepTable.C:
12279         * buffer.C:
12280         * converter.C:
12281         * encoding.C:
12282         * lyx_gui.C:
12283         * lyx_main.C:
12284         * lyxtextclasslist.C:
12285         * minibuffer.C:
12286         * sp_spell.C:
12287         * tabular_funcs.C:
12288         * vc-backend.C:
12289         all c-library variables have been moved into namespace std. Wrap
12290         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12291
12292         * lyxlength.C:
12293         * tabular-old.C:
12294         * tabular.C:
12295         Add a using std::abs declaration.
12296
12297         * kbmap.h (modifier_pair):
12298         * paragraph.h (InsetTable, InsetList):
12299         * lyxfont.h (FontBits):
12300         type definition made public.
12301
12302         * bufferlist.C (emergencyWriteAll): the compiler complains that
12303         there is more than one possible lyx::class_fun template to choose from.
12304         I re-named the void specialisation as lyx::void_class_fun.
12305
12306         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12307
12308         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12309         the compiler is is unable to find tostr in write_attribute.
12310
12311 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12312
12313         * buffer.C (sgmlError): hide #warning
12314
12315 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12316
12317         * xtl/*: get rid of xtl, which is not in use anyway
12318
12319         * LyXAction.C (init):
12320         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12321         were unimplemented xtl experimentation
12322
12323 2002-06-04  André Pönitz <poenitz@gmx.net>
12324
12325         * lyxfunc.C: disable array operation on simple formulae
12326
12327 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * converter.C: constify a bit
12330
12331 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * lyx_gui.C: check xforms version correctly
12334
12335 2002-04-30  Herbert Voss  <voss@lyx.org>
12336
12337         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12338         "keep" option
12339
12340 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12341
12342         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12343           attempt to register it with a VCS)
12344
12345 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12346
12347         * lyx_main.C (init): honor variables LYX_DIR_13x and
12348         LYX_USERDIR_13x
12349
12350 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * buffer.h:
12353         * buffer.C:
12354         * lyx_main.C: fix a crash on bad command line,
12355           and give a useful exit status on error
12356
12357         * lyxfunc.C (doImport): allow -i lyx to work
12358
12359 2002-03-30  André Pönitz <poenitz@gmx.net>
12360
12361         * lyxfunc.C: mathed font changes
12362
12363 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * LaTeX.C:
12366         * importer.h:
12367         * importer.C:
12368         * lyx_sty.h:
12369         * lyx_sty.C:
12370         * lyxlex.C:
12371         * lyxrow.h:
12372         * lyxtext.h:
12373         * paragraph.h:
12374         * paragraph.C:
12375         * texrow.h:
12376         * texrow.C:
12377         * text.C:
12378         * trans_mgr.h: srcdocs, and some minor cleanups
12379
12380 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12381
12382         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12383         call getFont all the time)
12384
12385 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12386
12387         * switch from SigC signals to boost::signals
12388
12389 2002-05-29  André Pönitz <poenitz@gmx.net>
12390
12391         * paragraph_pimpl.C (getChar): don't call size() too often...
12392
12393 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12394
12395         * paragraph_pimpl.C (insertChar): do not try to update tables when
12396         appending (pos == size())
12397
12398         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12399         in order to reduce drastically the number of comparisons needed to
12400         parse a large document
12401
12402 2002-05-29  André Pönitz <poenitz@gmx.net>
12403
12404         * text.C:
12405         * text2.C:
12406         * lyxtextclass.C:
12407         * sp_pspell.h:
12408         * textclasslist.[Ch]:
12409         * sp_ispell.h: whitespace change
12410
12411 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12414         lyxaction directly now.
12415
12416 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12417
12418         * trans.C:
12419         * lyxfont.C:
12420         * lyxvc.C: remove unused headers
12421
12422 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * Makefile.am:
12425         * buffer.h:
12426         * undostack.h:
12427         * undostack.C:
12428         * undo_funcs.h:
12429         * undo_funcs.C: some cleanups. Use shared_ptr
12430           and a template for the undo stacks.
12431
12432 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * BufferView_pimpl.h:
12435         * BufferView_pimpl.C:
12436         * kbmap.h:
12437         * kbmap.C:
12438         * kbsequence.h:
12439         * kbsequence.C:
12440         * lyxfunc.h:
12441         * lyxfunc.C:
12442         * text2.C: use key_state/mouse_state
12443
12444 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12445
12446         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12447         and LSubstring
12448
12449         * chset.C: change include order
12450         (loadFile): use boost regex and get rid of LRegex and LSubstring
12451
12452         * Makefile.am (BOOST_LIBS): new variable
12453         (lyx_LDADD): use it
12454
12455         * LaTeX.C: change include order.
12456         (scanAuxFile): use boost regex and get rid of LRegex and
12457         LSubstring
12458         (deplog): ditto
12459
12460 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12461
12462         * ColorHandler.h:
12463         * ColorHandler.C:
12464         * FontInfo.h:
12465         * FontInfo.C: moved to frontends/xforms/
12466
12467         * FontLoader.h:
12468         * FontLoader.C: moved into frontends for GUIIzation
12469
12470         * Makefile.am:
12471         * lyx_gui.C:
12472         * lyxfont.C:
12473         * lyxfunc.C: changes from above
12474
12475 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * LColor.C: remove spurious X include
12478
12479         * BufferView_pimpl.C:
12480         * Makefile.am:
12481         * font.h:
12482         * font.C:
12483         * text.C:
12484         * text2.C: move font metrics to frontends/
12485
12486 2002-05-24  Juergen Vigna  <jug@sad.it>
12487
12488         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12489         setting the undo_cursor.
12490
12491         * ParagraphParameters.h: include local includes first.
12492
12493 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12494
12495         * BufferView_pimpl.C:
12496         * BufferView_pimpl.h:
12497         * Makefile.am:
12498         * WorkArea.h:
12499         * WorkArea.C:
12500         * screen.C: move WorkArea into frontends/
12501
12502         * lyxscreen.h:
12503         * screen.C:
12504         * text.C:
12505         * BufferView.C:
12506         * BufferView2.C: move LyXScreen into frontends/
12507
12508         * lyxlookup.h:
12509         * lyxlookup.C:
12510         * lyx_gui.C: move lyxlookup into frontends/xforms/
12511
12512 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * BufferView2.C:
12515         * BufferView_pimpl.C:
12516         * FontLoader.C:
12517         * LyXView.h:
12518         * LyXView.C:
12519         * Makefile.am:
12520         * WorkArea.C:
12521         * XFormsView.h:
12522         * XFormsView.C:
12523         * buffer.C:
12524         * bufferlist.C:
12525         * bufferview_funcs.C:
12526         * converter.C:
12527         * importer.C:
12528         * lyx_cb.C:
12529         * lyx_gui.C:
12530         * lyx_main.C:
12531         * lyx_find.C:
12532         * lyxfunc.C:
12533         * lyxvc.C:
12534         * minibuffer.C:
12535         * text.C:
12536         * text2.C:
12537         * trans.C:
12538         * vc-backend.C: move LyX/XFormsView into frontends/
12539
12540 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * Makefile.am:
12543         * PainterBase.C:
12544         * PainterBase.h:
12545         * Painter.C:
12546         * Painter.h:
12547         * WorkArea.C:
12548         * WorkArea.h:
12549         * screen.C:
12550         * tabular.C:
12551         * text.C:
12552         * text2.C: move Painter to frontends/
12553
12554 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12555
12556         * buffer.C: comment out some some code that depend upon lyx_format
12557         < 220
12558
12559         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12560         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12561
12562         * buffer.h (NO_COMPABILITY): turn off compability
12563
12564         * ColorHandler.C: include scoped_array.hpp
12565
12566         * font.C: Use more specific smart_ptr header.
12567         * Painter.C: ditto
12568         * gettext.C: ditto
12569         * ShareContainer.h: ditto
12570         * lyx_main.h: ditto
12571         * kbmap.h: ditto
12572         * FontInfo.h: ditto
12573         * BufferView_pimpl.h: ditto
12574         * ColorHandler.h: ditto
12575
12576         * kbmap.C (defkey): change call to shared_ptr::reset
12577
12578 2002-05-21  Juergen Vigna  <jug@sad.it>
12579
12580         * buffer.C (insertErtContents): fix to insert ert asis if it is
12581         non empty. Skip it completely if it contains only whitespaces.
12582
12583 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * BufferView_pimpl.C:
12586         * BufferView2.C: clear selection on paste (bug 393)
12587
12588 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12589
12590         * DepTable.C: include ctime
12591
12592 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12593
12594         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12595
12596 2002-05-14  Juergen Vigna  <jug@sad.it>
12597
12598         * text.C (breakParagraph): fixed function to honor the keepempty
12599         layout in the right maner and also to permit the right breaking
12600         algorithm on empty or non empyt keepempty paragraphs.
12601
12602         * paragraph.C (breakParagraph): we have to check also if the par
12603         is really empty (!size()) for isempty otherwise we do the wrong
12604         paragraph break.
12605
12606 2002-05-10  Juergen Vigna  <jug@sad.it>
12607
12608         * buffer.[Ch] : The following are only changes to the ert
12609         compatibility read reading old LaTeX layout and font stuff and
12610         convert it to ERTInsets.
12611
12612         * buffer.h: added isErtInset().
12613
12614         * buffer.C (struct ErtComp): add a fromlayout bool to check
12615         if we're inside a LaTeX layout.
12616         (isErtInset): new helper function.
12617         (insertErtContents): look for other ert insets before this one
12618         and insert the contents there, so that we don't have subsequent
12619         ERT insets with nothing between them. This way we create only one
12620         inset with multiple paragraphs. Also check if we don't insert only
12621         spaces ' ' as they are ignored anyway afterwards in the .tex file
12622         so if we have only spaces we will ignore this latex part in the
12623         new file.
12624         (parseSingleLyXformat2Token \\layout): better compatibility when
12625         reading layout-latex stuff.
12626         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12627         language tag.
12628         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12629         stuff after reading the inset only get the information back from
12630         the stack.
12631
12632 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12633
12634         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12635
12636         * LaTeXFeatures.C (getBabelOptions): New method.
12637
12638 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12639
12640         * BufferView_pimpl.C (Dispatch): work around missing argument for
12641         'layout'
12642
12643 2002-05-08  Juergen Vigna  <jug@sad.it>
12644
12645         * text.C (leftMargin): handle paragraph leftindent.
12646
12647         * paragraph.C (writeFile): write the new \\leftindent tag.
12648         (validate): handle leftindent code.
12649         (TeXEnvironment): handle paragraphleftindent code again.
12650
12651         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12652
12653         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12654         for paragrap_extra indent code and new token \\leftindent.
12655         (latexParagraphs): handle the leftindent as environment.
12656
12657         * ParameterStruct.h: added leftindent support.
12658
12659         * ParagraphParameters.C (leftIndent): added support functions for
12660         the paragraph left indent.
12661
12662         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12663         more appropriate.
12664
12665 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12666
12667         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12668         inside insetERT.
12669
12670         * text.C (computeBidiTables): No bidi in insetERT.
12671
12672         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12673         in RTL documents.
12674
12675 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * version.C.in: pre 5
12678
12679 2002-05-02  José Matos  <jamatos@fep.up.pt>
12680         * buffer.C (makeDocBookFile): white space changes, add newline to
12681         command styles.
12682         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12683
12684         * tabular.C (docBook): fix typo.
12685
12686 2002-05-03  Juergen Vigna  <jug@sad.it>
12687
12688         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12689         change in LyXText as we can not be sure it was not freed.
12690         (drawOneRow): remove unused code.
12691
12692         * text.C (drawInset): redo the calculation of the need_break_row as
12693         it could have a row which was already freed.
12694         (draw): look at the return value of drawInset and return false if
12695         it also returned false.
12696         (paintRowText): look at the return value of draw and return false if
12697         it also returned false.
12698
12699         * lyxtext.h: added bool return type to drawInset() and draw() so that
12700         if we have a change in the row so that the rowbreak has to be redone
12701         we abort drawing as it will be called again.
12702
12703 2002-05-02  Juergen Vigna  <jug@sad.it>
12704
12705         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12706         a change in the maintext also if we're inside an inset.
12707         (Dispatch): set the cursor again after a break line and after the
12708         screen has been updated as it could be we're in a different row.
12709
12710         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12711         to set the cursor behind the pargraph with > size().
12712         (setCursor): check also for the same paragraph when checking where
12713         to put the cursor if we have a NFR inset.
12714
12715         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12716         parts of layout read further up as it still was in the wrong
12717         position.
12718
12719 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * screen.C (drawFromTo): change sine fullRebreak always return
12722         true.
12723
12724         * buffer.C (parseSingleLyXformat2Token): reindent some
12725
12726         * BufferView_pimpl.C (update): change since fullRebreak always
12727         return true.
12728         (Dispatch): git rid of the last hardcoded "Standard"s.
12729
12730 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12731
12732         * text2.[Ch] (fullRebreak): make it return void now that we always
12733         returned true.
12734
12735 2002-04-30  Juergen Vigna  <jug@sad.it>
12736
12737         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12738         ert compatibility check for "latex" layout.
12739
12740 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12741
12742         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12743         minipages: use col% instead of p%, and also use the current font.
12744         (makeLaTeXFile): Fix use babel condition.
12745         (parseSingleLyXformat2Token): Correct font when reading old floats.
12746
12747 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12748
12749         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12750         inserting list of floats.
12751
12752 2002-04-25  Herbert Voss  <voss@lyx.org>
12753
12754         * MenuBackend.C (expand): don't add the graphics extensions to the
12755         export menu
12756
12757 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12758
12759         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12760         non-existing layout, do not complain if it was the default layout
12761         of the original class (bug #342)
12762
12763 2002-04-24  Juergen Vigna  <jug@sad.it>
12764
12765         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12766         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12767
12768 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12769
12770         * buffer.C (getBibkeyList): If using \bibliography, return the
12771         option field with the reference itself. Enables us to provide natbib
12772         support when using \bibliography.
12773
12774 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12775
12776         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12777
12778         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12779         natbib is provided by the LaTeX class.
12780
12781 2002-04-23  Juergen Vigna  <jug@sad.it>
12782
12783         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12784         Wakeup functions.
12785
12786         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12787
12788 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12789
12790         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12791
12792         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12793         ensuremath around textordmasculine, textordfeminine and
12794         textdegree.
12795
12796 2002-04-19  Juergen Vigna  <jug@sad.it>
12797
12798         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12799         reinitializing the buffer otherwise row-dimensions may be wrong.
12800         (update): reset also the selection cursors if they do exits otherwise
12801         their x/y positions may be wrong.
12802
12803         * text2.C (cursorDown): don't enter the inset if we came from a row
12804         above and are one row over the inset.
12805
12806         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12807         really leaving an inset.
12808
12809 2002-04-18  Juergen Vigna  <jug@sad.it>
12810
12811         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12812         of the selected paragraph does not have the selected layout also if
12813         the last one had!
12814
12815         * text2.C (setLayout): fixed bug which did not change last selected
12816         paragraph.
12817
12818         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12819         changed the read and substituted \\end_float with \\end_inset!
12820
12821         * BufferView_pimpl.C (cursorPrevious):
12822         (cursorNext): fixed to make it work with rows heigher than the work
12823         area without moving the cursor only the draw of the row.
12824         (workAreaMotionNotify): fix jumping over high rows.
12825
12826 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12829         Ressler.
12830
12831 2002-04-16  Juergen Vigna  <jug@sad.it>
12832
12833         * text2.C (setCursor): set also the irow().
12834         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12835         (cursorUp):
12836         (cursorDown): support for locking an inset if the x_fix value goes
12837         inside it. That way I can transverse insets too with cursor up/down.
12838
12839         * lyxrow.h: added irow helper function same as other (i) functions.
12840
12841         * BufferView_pimpl.C (cursorPrevious):
12842         (cursorNext): fixed for insets!
12843
12844 2002-04-15  Juergen Vigna  <jug@sad.it>
12845
12846         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12847         position otherwise it is wrong in some cases.
12848
12849         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12850         inside the inset before the call.
12851
12852 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12853
12854         * buffer.[Ch] (getBibkeyList): make it const.
12855
12856 2002-04-12  Juergen Vigna  <jug@sad.it>
12857
12858         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12859
12860         * text2.C (getCursorX): new helper function
12861         (setCursor): compute also ix_
12862         (setCursorFromCoordinates): set also ix.
12863
12864         * lyxcursor.h: added ix_ and helper functions.
12865
12866         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12867
12868         * buffer.C (insertStringAsLines): dont break paragraph if the this
12869         paragraph is inside an inset which does not permit it!
12870
12871         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12872         also with no chars on this paragraph.
12873         (paintRowText): only paint stuff if it's inside the workarea!
12874
12875         * paragraph.C (breakParagraph): honor keepempty flag and break the
12876         paragraph always below not above.
12877
12878         * BufferView2.C (unlockInset): update the paragraph layout on inset
12879         unlock as we changed paragraph in such a case.
12880
12881         * lyxfind.C (LyXFind): clear the former selection if not found!
12882
12883         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12884         again called in insertChar().
12885
12886         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12887         an inset which uses the whole row!
12888         (rightMargin): ditto.
12889         (insertChar): force a rebreak if we inserted an inset!
12890
12891 2002-03-28  Herbert Voss  <voss@lyx.org>
12892
12893         * lyxlength.[Ch]: add inBP() to get the right PS-point
12894         units (BigPoint). With inPixels we have rounding errors
12895
12896 2002-04-11  Juergen Vigna  <jug@sad.it>
12897
12898         * text2.C (setCursorFromCoordinates): set iy to the right value.
12899         (setCursor): add check if row->previous exists!
12900
12901         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12902         an old float_type as this was the case in the old code!
12903
12904         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12905
12906         * BufferView2.C (showLockedInsetCursor): use iy
12907         (fitLockedInsetCursor): ditto
12908
12909         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12910         locked insets as there we have the right value now.
12911
12912         * lyxcursor.C: added iy_ variable and iy functions to set to the
12913         baseline of cursor-y of the locked inset.
12914
12915         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12916         (setCursor): fixed for insets which need a full row.
12917
12918         * text.C (rowLastPrintable): don't ignore the last space when before
12919         an inset which needs a full row.
12920         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12921         as last character of a row when before a inset which needs a full row.
12922
12923 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * version.C.in: update date
12926
12927         * text2.C (fullRebreak): try to always return true and see what
12928         happens...
12929
12930 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12931
12932         * MenuBackend.C (expand): use Floating::listName
12933
12934         * FloatList.C (FloatList): add listName argument to the built-in
12935         floats
12936
12937         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12938         text associated with the float.
12939
12940 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12941
12942         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12943
12944 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * ShareContainer.h: add a couple of missing typenames.
12947
12948 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12949
12950         * lyxrc.C (getDescription): use _() correctly rather than N_().
12951
12952 2002-03-28  Herbert Voss  <voss@lyx.org>
12953
12954         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12955         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12956
12957 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12958
12959         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12960         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12961
12962 2002-03-29  Juergen Vigna  <jug@sad.it>
12963
12964         * lyxfunc.C (dispatch): add a missing fitCursor call.
12965
12966         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12967         it was scrolled by a cursor move, so return the bool status.
12968
12969         * BufferView.C (fitCursor): return the bool flag also to the outside
12970         world as this is needed.
12971
12972         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12973
12974         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12975         call the edit() as it is not needed (and wrong) IMO.
12976         (workAreaButtonPress): set the screen_first variable before evt.
12977         unlock the inset as this may change screen_first and then we have
12978         a wrong y position for the click!
12979
12980 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12981
12982         * MenuBackend.C (expand): another translation that I missed
12983
12984 2002-03-28  Juergen Vigna  <jug@sad.it>
12985
12986         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12987
12988         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12989
12990 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12991
12992         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12993
12994         * MenuBackend.C (expand): fix export/view/update when there is no
12995         document open.
12996
12997 2002-03-27  Herbert Voss  <voss@lyx.org>
12998
12999         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13000         and text%
13001
13002 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13003
13004         * bufferview_funcs.C (currentState): only show paragraph number
13005         for is DEVEL_VERSION is set.
13006
13007         * lyxfunc.C (dispatch): put warning in INFO channel
13008
13009         * MenuBackend.C (expand): translate the name of floats
13010
13011         * FloatList.C (FloatList): mark the float names for translation
13012
13013         * converter.C (convert): use LibScriptSearch
13014
13015 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13016
13017         * MenuBackend.C (defaults): fix default menu (we might as well get
13018         rid of it...)
13019
13020 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13021
13022         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13023         directory.
13024
13025 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13026
13027         * lyxvc.C: reorder includes.
13028
13029 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13032           properly
13033
13034 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13035
13036         * CutAndPaste.C: change layouts earlier on paste
13037           to avoid crashing when calling getFont()
13038
13039 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13040
13041         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13042         irritating #error.
13043
13044 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * WorkArea.C: remove 'Pending' debug message.
13047
13048         * most files: ws cleanup
13049
13050         * buffer.[Ch]: ws changes
13051
13052         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13053
13054 2002-03-21  Juergen Vigna  <jug@sad.it>
13055
13056         * tabular.C (SetMultiColumn): collapse also the contents of the
13057         cells and set the last border right. Added a Buffer const * param.
13058
13059 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13060
13061         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13062         linking or not.
13063
13064 2002-03-19  Juergen Vigna  <jug@sad.it>
13065
13066         * text2.C (clearSelection): reset also xsel_cache.
13067
13068         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13069         where it needs to be called (John tells us to do so too :)
13070         (selectionLost): reset sel_cache.
13071
13072         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13073
13074 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13075
13076         * text2.C (setCursorIntern): put debuging code in INSETS channel
13077
13078 2002-03-19  André Pönitz <poenitz@gmx.net>
13079
13080         * lyxfunc.C: tiny whitespace change
13081
13082 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13083
13084         * ToolbarDefaults.C (init):
13085         * LyXAction.C (init):
13086         * commandtags.h:
13087         * BufferView_pimpl.C (Dispatch):
13088         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13089
13090 2002-03-19  Allan Rae  <rae@lyx.org>
13091
13092         * exporter.C (Export): removeAutoInsets before doing anything else.
13093         While I've just introduced a dependency on BufferView this really is
13094         the best place to clean the buffer otherwise you need to cleanup in
13095         a dozen places before calling export or cleanup in a dozen functions
13096         that export calls.
13097
13098         * converter.C (runLaTeX):
13099         (scanLog): Better handling of removeAutoInsets and screen updates.
13100
13101         * lyxfunc.C (dispatch): small whitespace changes
13102
13103 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13104
13105         * WorkArea.C (C_WorkAreaEvent): return a value.
13106         (event_cb): return 1 if we handled the event, 0 otherwise.
13107
13108         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13109
13110 2002-03-18  Juergen Vigna  <jug@sad.it>
13111
13112         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13113         (GetAdditionalWidth): ditto.
13114         (RightLine): ditto.
13115         (LeftLine): ditto.
13116
13117         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13118         inset if we're there actually (probably not used right now but this
13119         is the direction to go for unifying code).
13120         (paste): disable code to clear the selection.
13121
13122         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13123         inside an InsetText and move the check further up as it is in the
13124         wrong place.
13125
13126         * text2.C (pasteSelection): set a selection over the pasted text.
13127
13128 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13129
13130         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13131         and libgraphics to build on Cygwin.
13132
13133 2002-03-15  Juergen Vigna  <jug@sad.it>
13134
13135         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13136         inserting an Inset into the paragraph. I know this is not the best
13137         fix but we already use current_view in CutAndPaste so we will remove
13138         all of it's using at the same time.
13139
13140         * buffer.C (sgmlError): deactivated function till it is rewritten in
13141         the right mode, now it can create problems.
13142
13143         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13144         before accessing it.
13145
13146 2002-03-14  Juergen Vigna  <jug@sad.it>
13147
13148         * undo_funcs.C (textHandleUndo): do the right thing when updating
13149         the inset after the undo/redo.
13150
13151         * text2.C (setCursor): just some testcode for #44 not ready yet.
13152
13153         * undo_funcs.C (textHandleUndo): set the next() and previous()
13154         pointers of the paragraph to 0 before deleting otherwise we have
13155         problems with the Paragraph::[destructor].
13156
13157         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13158         on a paragraph insertion.
13159
13160 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13161
13162         * buffer.C (asciiParagraph): use += operator for char append to
13163         string.
13164
13165         * paragraph.C (getFontSettings): compare >= not just >
13166         (highestFontInRange): ditto
13167         (setFont): ditto
13168
13169 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13170
13171         * paragraph.C: change several algorithm to be more appripriate for
13172         the problem domain. This is lookip in FontList and in the InsetList.
13173
13174 2002-03-13  André Pönitz <poenitz@gmx.net>
13175
13176         * commandtags.h:
13177         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13178
13179 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13180
13181         * commandtags.h:
13182         * LyXAction.C:
13183         * lyxfunc.C:
13184         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13185
13186 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13187
13188         * Painter.C (display): anon helper function, adjust code for this
13189         change.
13190         (pixmap): remove function.
13191
13192         * Painter.h: remove private display variable.
13193
13194         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13195
13196 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13197
13198         * WorkArea.[Ch]: remove figinset_canvas cruft.
13199
13200 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * lyxtextclass.C (operator): add one item cache optimization.
13203
13204         * bufferlist.h: doxy changes
13205
13206         * bufferlist.C: ws changes
13207
13208         * DepTable.[Ch] (ext_exist): place const in the right spot.
13209
13210         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13211         call resizeInsets.
13212         (workAreaExpose): call resizeInsets when the with BufferView changes.
13213         (Dispatch): adjust for protectedBlank removal
13214         (specialChar): call updateInset if the insert went ok.
13215
13216         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13217         specialChar instead.
13218
13219         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13220
13221         * BufferView.h: doxy change
13222
13223         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13224
13225         * lyxtextclass.C (operator[]): remove non-const version
13226         (defaultLayout): remove non-const version
13227
13228 2002-03-12  Juergen Vigna  <jug@sad.it>
13229
13230         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13231         did resize the LyXText too.
13232
13233         * buffer.C (readLyXformat2): set layout information on newly allocated
13234         paragraphs.
13235
13236         * tabular.C (OldFormatRead): set layout information on the paragraph.
13237
13238 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13239
13240         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13241
13242 2002-03-11  Juergen Vigna  <jug@sad.it>
13243
13244         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13245         plainly wrong.
13246         (resizeCurrentBuffer): force also the insets to resize themselfes.
13247         (moveCursorUpdate): fixed up for InsetText.
13248
13249 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13250
13251         * commandtags.h:
13252         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13253         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13254         value of Dialogs::tooltipsEnabled().
13255         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13256
13257 2002-03-08  Juergen Vigna  <jug@sad.it>
13258
13259         * BufferView_pimpl.C (updateInset): update inset inside inset also
13260         if it isn't inside theLockingInset().
13261
13262 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13263
13264         * buffer.C (asciiParagraph): redo some of the word and line length
13265         handling.
13266         (getLists): look for Caption instead of caption.
13267
13268 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * buffer.C (Buffer): initialize niceFile to true
13271         (makeLaTeXFile):
13272         (makeLinuxDocFile):
13273         (makeDocBookFile): make sure niceFile is true on exit
13274
13275 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13278
13279 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13280
13281         * LyXSendto.C: remove.
13282         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13283         * lyx_gui.C: remove now-redundant comment.
13284         * ColorHandler.h: remove forward declaration of class WorkArea.
13285         * lyxfunc.C: remove #include "WorkArea.h".
13286
13287 2002-03-07  Juergen Vigna  <jug@sad.it>
13288
13289         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13290         got moved away with the DEPM and also set the inset_owner always
13291         right which before could have been omitted.
13292
13293 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13296         wanted layout is not found.
13297
13298 2002-03-07  Juergen Vigna  <jug@sad.it>
13299
13300         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13301
13302 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * paragraph.C (breakParagraph): use default layout not layout of
13305         prev paragraph.
13306         (Paragraph): clear ParagraphParameters.
13307
13308 2002-03-06  Juergen Vigna  <jug@sad.it>
13309
13310         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13311         otherwise it would not be a valid lenght. Fixed a special case in
13312         the minipage compatibility read where we end the document with a
13313         minipage.
13314
13315         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13316         was set as it could be 0 for InsetTexts first entry.
13317
13318 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13319
13320         * paragraph.C (writeFile): if layout is empty write out
13321         defaultLayoutName().
13322
13323         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13324         file without named layout we set layout to defaultLayoutName().
13325
13326 2002-03-06  Juergen Vigna  <jug@sad.it>
13327
13328         * CutAndPaste.C (copySelection): set layout for new paragraph.
13329
13330         * text.C (prepareToPrint): leave ERT inset left aligned
13331         (leftMargin): don't indent paragraphs inside ERT insets
13332
13333 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13334
13335         * paragraph.C (breakParagraph): dont call clear do the work manually
13336
13337         * paragraph.[Ch] (clear): remove function
13338
13339 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * paragraph.C (Paragraph): dont call clear, the work has already
13342         been done.
13343
13344         * lyxtextclass.C (operator): assert if n is empty
13345
13346         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13347         work manually instead.
13348
13349 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * BufferView_pimpl.C: protect selectionLost against text == 0
13352
13353 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * text.C (breakParagraph): fix a setting layout to '0' problem.
13356
13357 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13358
13359         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13360         final location of file, for the included files, and graphics.
13361
13362 2002-03-05  Juergen Vigna  <jug@sad.it>
13363
13364         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13365
13366 2002-03-04  Juergen Vigna  <jug@sad.it>
13367
13368         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13369
13370         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13371         last column of multicolumn cells.
13372         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13373
13374 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13375
13376         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13377         file if it doesn't go to a temporary file.
13378
13379         * buffer.C (sgmlOpenTag):
13380         (sgmlCloseTag):  remove extra newline insertion.
13381
13382 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * text.C (getRowNearY): comment out debug msg
13385
13386 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13387
13388         * text2.C: first -> first_y
13389
13390         * text.C (getRowNearY): add some attemts at a possible
13391         optimization, not working.
13392
13393         * tabular.[Ch]: add BufferParams to several function so that newly
13394         created paragraph can be initialized to he default layotu for the
13395         buffers textclass.
13396
13397         * tabular-old.C (ReadOld): add buf->params to call of Init
13398
13399         * screen.C: rename text->first to text->first_y
13400
13401         * paragraph.C (breakParagraph): always set layout in the broken
13402         paragraph
13403
13404         * lyxtextclass.C (Read): remove lowercase
13405         (hasLayout): ditto
13406         (operator): ditto
13407         (delete_layout): ditto
13408
13409         * lyxtext.h: rename first -> first_y
13410
13411         * lyxlayout.C (Read): remove lowercase
13412         (name): ditto
13413         (setName): ditto
13414         (obsoleted_by): ditto
13415
13416         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13417
13418         * buffer.C (insertErtContents): add params are to InsetERT
13419         (parseSingleLyXformat2Token): add code to check if a paragraphs
13420         layout really exist.
13421         (parseSingleLyXformat2Token): add params to several inset
13422         constructors
13423         (asciiParagraph): remove lowercase, do the layout comparisons with
13424         no_case
13425
13426         * BufferView_pimpl.C (cursorNext): first -> first_y
13427         (resizeCurrentBuffer): first -> first_y
13428         (updateScrollbar): first -> first_y
13429         (scrollCB): first -> first_y
13430         (workAreaMotionNotify): first -> first_y
13431         (workAreaButtonPress): first -> first_y
13432         (checkInsetHit): first -> first_y
13433         (cursorPrevious): first -> first_y
13434         (cursorNext): first -> first_y
13435         (Dispatch): add buffer_->params to severl inset contructors
13436
13437 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13438
13439         * lyxlayout.C (Read): remove some debug info that I forgot.
13440
13441         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13442         clean up the code slightly.
13443         (makeLinuxDocFile): ditto
13444         (makeDocBookFile): ditto
13445
13446         * text2.C: layout as string
13447
13448         * text.C: layout as string
13449
13450         * paragraph_pimpl.C: layout as string
13451
13452         * paragraph.[Ch]: layout as string
13453
13454         * lyxtextclasslist.[Ch]: layout as string
13455
13456         * lyxtextclass.[Ch]: layout as string
13457
13458         * lyxtext.h: layout as string
13459
13460         * lyxlayout.[Ch]: layout as string
13461
13462         * lyx_cb.C: layout as string
13463
13464         * bufferview_funcs.C: layout as string
13465
13466         * bufferparams.C: layout as string
13467
13468         * buffer.C: layout as string
13469
13470         * LyXView.[Ch]: layout as string
13471
13472         * LaTeXFeatures.[Ch]: layout as string
13473
13474         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13475
13476         * BufferView_pimpl.C: change current_layout to string, remove
13477         lyx::layout_type.
13478         (Dispatch):
13479         (smartQuote):
13480         (insertInset):
13481         (workAreaButtonRelease): layout as string
13482
13483         * BufferView2.C (unlockInset): adjust
13484
13485         * vspace.C (asLatexCommand): use an explict temp variable.
13486
13487 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13488
13489         * Makefile.am: use FRONTEND_*
13490
13491 2002-03-01  Juergen Vigna  <jug@sad.it>
13492
13493         * tabular.C (SetWidthOfMulticolCell): changed to something better
13494         I hope but still work in progress.
13495         (recalculateMulticolumnsOfColumn): renamed function from
13496         recalculateMulticolCells as it is more appropriate now.
13497         (SetWidthOfCell): calculate multicols better.
13498
13499 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13500
13501         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13502
13503         * lyxfunc.C (processKeySym): print sequence also if it is
13504         `deleted' (complete)
13505
13506         * kbsequence.C (print): print sequence even if it is deleted
13507         (complete would be a better word, actually).
13508
13509         * lyxfunc.C (dispatch): print complete options after a prefix key
13510
13511         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13512
13513 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13514
13515         * text2.C (setCharFont): eliminate setCharFont code duplication.
13516
13517 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13518
13519         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13520         LFUN_TABULAR_FEATURE (bug #177)
13521
13522 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13523
13524         * Makefile.am: remove figure.h
13525
13526 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13527
13528         * Bufferview_pimpl.C:
13529         * CutAndPasteC:
13530         * LaTeX.C:
13531         * LyXSendto.C:
13532         * buffer.C:
13533         * bufferlist.C:
13534         * converter.C:
13535         * language.C:
13536         * lyxfunc.C:
13537         * lyxvc.C:
13538         * paragraph.C:
13539         * text.C:
13540         * text2.C: remove #include "lyx_gui_misc.h".
13541
13542         * LaTeX.C: added #include <cstdio>
13543
13544 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13545
13546         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13547         that the paragraph following this one can have.
13548
13549         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13550
13551         * vspace.C (asLatexCommand): fix bogus gcc warning
13552
13553         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13554
13555 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13556
13557         * text2.C (setLayout): get rid of redundant code
13558
13559 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13560
13561         * text2.C (incDepth): make sure depth cannot be increased beyond
13562         reasonable values.
13563
13564 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13567         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13568
13569         * PainterBase.h (image):
13570         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13571         a LyXImage const *.
13572
13573 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13574
13575         * BufferView.C:
13576         * BufferView.h:
13577         * BufferView_pimpl.C:
13578         * BufferView_pimpl.h:
13579         * LaTeXFeatures.C:
13580         * LyXAction.C:
13581         * LyXView.C:
13582         * Makefile.am:
13583         * UpdateList.h:
13584         * UpdateList.C:
13585         * buffer.C:
13586         * figure.h:
13587         * figureForm.C:
13588         * figureForm.h:
13589         * figure_form.C:
13590         * figure_form.h:
13591         * lyx_cb.C:
13592         * lyx_gui.C:
13593         * lyx_gui_misc.C:
13594         * lyxfunc.C:
13595         * sp_base.h:
13596         * sp_ispell.h:
13597         * sp_pspell.h:
13598         * sp_spell.C: remove fig inset, and the crap house of
13599           cards that follows it
13600
13601 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13602
13603         * Makefile.am:
13604         * lyxserver.C:
13605         * os2_defines.h:
13606         * os2_errortable.h:
13607         * nt_defines.h: move .h into support/
13608
13609         * vms_defines.h: remove
13610
13611         * WorkArea.C: add space in debug output
13612
13613         * text2.C:
13614         * paragraph.C:
13615         * buffer.C: add WITH_WARNINGS
13616
13617         * vc-backend.h:
13618         * vc-backend.C:
13619         * bufferlist.C: s/retrive/retrieve/, add docs
13620
13621         * vspace.h:
13622         * vspace.C:
13623         * kbmap.h:
13624         * lyxlength.h:
13625         * lyxgluelength.h:
13626         * length_common.h:
13627         * chset.h:
13628         * chset.C: add docs
13629
13630         * lyxgui.C: add ID to X error handler
13631
13632         * lyxtestclass.c: fix typo
13633
13634 2002-02-26  Juergen Vigna  <jug@sad.it>
13635
13636         * tabular_funcs.C (write_attribute): changed so that some default
13637         attributes are not written at all.
13638         (getTokenValue): set default values before trying to read the
13639         value so we have the return value always set as default if we don't
13640         find the token we search for.
13641
13642         * tabular.C (Write): write bools as bools not as strings!
13643
13644 2002-02-22  Juergen Vigna  <jug@sad.it>
13645
13646         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13647         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13648
13649         * text.C (leftMargin): don't add an indent for paragraphs inside
13650         tabular cells (fix #208).
13651
13652 2002-02-21  José Matos  <jamatos@fep.up.pt>
13653
13654         * tabular.C (docBook): fixed support for long tables.
13655
13656 2002-02-20  Juergen Vigna  <jug@sad.it>
13657
13658         * text2.C (getFont): get the drawing font of the Inset if this
13659         paragraph is inside an inset (only important for InsetERT for now).
13660
13661         * buffer.C (insertErtContents): use new lanugage params in ERT
13662         constructor.
13663
13664         * CutAndPaste.C: commenting out seemingly uneeded code.
13665
13666 2002-02-19  Allan Rae  <rae@lyx.org>
13667
13668         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13669         Iterators might be simple to use but they also get invalidated.
13670         (removeAutoInsets): renamed saved cursor tracking variables and added
13671         some comments to clarify what everything does.
13672
13673 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13674
13675         * Chktex.C:
13676         * LaTeX.C:
13677         * LyXSendto.C:
13678         * converter.C:
13679         * lyx_cb.C:
13680         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13681         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13682
13683         * lyxfunc.C:
13684         * vc-backend.h: remove #include "support/syscall.h"
13685
13686         * LaTeX.C:
13687         * LyXSendto.C:
13688         * converter.C: rearrange #includes in Lars' approved fashion.
13689
13690         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13691         forward declare class Timeout in the header file.
13692
13693         * XFormsView.C: changes due to the above.
13694
13695         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13696         similar to LyXView.
13697
13698         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13699         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13700
13701 2002-02-18  José Matos  <jamatos@fep.up.pt>
13702
13703         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13704         insets contents.
13705
13706 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13707
13708         * a lot of small ws changes
13709         * add a lot of using std::XXX
13710         * use std construcs some places where approp.
13711         * use some exisint stuff from lyxfunctional where approp.
13712         * Make file changes to use partial linking (lets test this now...)
13713
13714 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13715
13716         * Chktex.C:
13717         * buffer.C:
13718         remove #include "support/syscontr.h" as it's redundant. Always has been.
13719
13720         * Chktex.C:
13721         * LaTeX.C:
13722         * LyXSendto.C:
13723         * converter.C:
13724         * lyx_cb.C:
13725         * vc-backend.C:
13726         change Systemcalls::System to Systemcalls::Wait and
13727         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13728         No change of functionality, just reflects the stripped down Systemcalls
13729         class.
13730
13731 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * debug.[Ch]: add a GRAPHICS type to the enum.
13734
13735 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13736
13737         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13738
13739         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13740         there is an inset.
13741
13742 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13743
13744         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13745         match the changes below.
13746
13747         * text2.C (toggleInset): if there is not editable inset at cursor
13748         position, try to see if cursor is _inside_ a collapsable inset
13749         and close it.
13750
13751 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13752
13753         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13754         document menu has a nice checkbox
13755
13756 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13757
13758         * lyxlength.C (asLatexString): change PW to output as percent of
13759         \textwidth.
13760
13761         * lengthcommon.C: change '%' to 't%'
13762
13763         * lyxfunc.C (dispatch): a few comments from Martin
13764
13765 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13766
13767         * WorkArea.h:
13768         * WorkArea.C:
13769         * BufferView_pimpl.h:
13770         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13771           the X selection.
13772
13773 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13774
13775         * vspace.C (inPixels): fix compiler warning
13776
13777 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13778
13779         * lyxfunc.C (getStatus): fix status message for disabled commands.
13780
13781 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * BufferView_pimpl.C: fix crash on close buffer
13784         during selection (#227)
13785
13786 2002-01-27  Herbert Voss  <voss@lyx.org>
13787
13788         * buffer.C: link old Figure to new graphic inset
13789
13790 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * FontLoader.C (getFontinfo): Change the latex font names in order
13793         to match the names of type1inst.
13794
13795 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13796
13797         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13798
13799         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13800         (extchanged): ditto
13801         (ext_exist): ditto
13802         (remove_files_with_extension): ditto
13803         (remove_file): ditto
13804         (write): ditto
13805
13806         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13807         document is smaller than the work area height. Do not initialize
13808         static variables to 0.
13809
13810 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13811
13812         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13813
13814         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13815         LFUN_LAYOUT_PARAGRAPHS.
13816
13817         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13818         tabular. It is possible to provide a possible cell, which will
13819         typically be the actcell from the corresponding insettabular
13820
13821         * lyxfunc.C (getStatus): small cleanup; disable
13822         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13823         true
13824
13825 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13826
13827         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13828
13829         * paragraph.C (startTeXParParams):
13830         (endTeXParParams): new methods. The LaTeX code to
13831         start/end paragraph formatting
13832         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13833         empty (fixes bug #200)
13834
13835         * vspace.C (inPixels): adapt to the change below
13836         (inPixels): [later] more cleanups (remove unused variables)
13837
13838         * lyxlength.C (inPixels): change to use a width and a height as
13839         parameter.
13840
13841 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13842
13843         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13844         Replaced with \paperwidth
13845
13846         * DepTable.C (insert): add std:: qualifier
13847
13848 2002-01-18  Allan Rae  <rae@lyx.org>
13849
13850         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13851         updated also?
13852
13853         * text.C (drawInset): Turned out I didn't know enough about how
13854         rebreaking worked.  This fixes most of the redraw problems.  I see
13855         an occasional cursor trail when a line is broken now and the cursor
13856         placement can seem out by a few pixels also after a rebreak.
13857
13858 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13859
13860         * buffer.C (parseSingleLyXformat2Token): update because minipage
13861         width is now a LyXLength
13862
13863         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13864
13865         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13866         math insets
13867
13868 2002-01-17  Juergen Vigna  <jug@sad.it>
13869
13870         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13871
13872         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13873         is set correctly and the inset is updated correctly.
13874
13875 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13876
13877         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13878         the beginning of the loop.
13879
13880 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13881
13882         * lyxrc.C: improve help for use_scalable_fonts
13883
13884 2002-01-17  Allan Rae  <rae@lyx.org>
13885
13886         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13887
13888 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13889
13890         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13891         make sure to set their inset_owner to the right value (bug #171)
13892
13893 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13894
13895         * DepTable.h
13896         * DepTable.C: Implement mtime checking to reduce time spent doing
13897         CRCs.
13898
13899 2002-01-16  Juergen Vigna  <jug@sad.it>
13900
13901         * tabular.C (GetAdditionalHeight): one of error fixed.
13902
13903         * lyxrc.C (output): small fix in writing use_pspell.
13904
13905 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13906
13907         * sp_base.h: #include LString.h
13908
13909 2002-01-16  Allan Rae  <rae@lyx.org>
13910
13911         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13912         Can someone check this please?
13913
13914         * text.C (drawInset): It was possible that p.row would be removed by
13915         breakAgainOneRow upsetting a few other settings.  There may be another
13916         small tweak possible by setting need_break_row = 0 when p.row has been
13917         removed but I don't know enough about the logic here.
13918
13919 2002-01-15  Allan Rae  <rae@lyx.org>
13920
13921         * text.C (insertChar): removed conditional truism.
13922
13923         * BufferView2.C (removeAutoInsets): More tweaks.
13924         cur_par_prev could be a stray pointer.  Check for trailing empty line
13925         in case last line was cur_par and only had an error inset on it.
13926
13927 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13928
13929         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13930         absolute
13931
13932         * vc-backend.C (most methods):
13933         * exporter.C (Export):
13934         * converter.C (convert):
13935         (runLaTeX):
13936         * LyXSendto.C (SendtoApplyCB):
13937         * lyxfunc.C (dispatch):
13938         (menuNew):
13939         (open):
13940         (doImport):
13941         * lyx_cb.C (AutoSave):
13942         (InsertAsciiFile):
13943         * BufferView_pimpl.C (MenuInsertLyXFile):
13944         * buffer.C (runChktex): use Buffer::filePath().
13945
13946         * buffer.h: rename filename to filename_; rename filepath to
13947         filepath_ and make it private
13948         (filePath): new method
13949
13950         * buffer.C (writeFile): use fileName()
13951         (getLatexName):
13952
13953         * lyx_main.C (init): fix starting  of LyX when the binary is a
13954         link from so,ewhere else.
13955
13956         * minibuffer.C: include <cctype> for isprint
13957
13958 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13959
13960         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13961         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13962         name clash with InsetCollapsable's width function.
13963
13964 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13965
13966         * lastfiles.C: include <iterator>
13967
13968 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13969
13970         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13971         std::count.
13972
13973         * buffer.C (makeLaTeXFile): ditto.
13974         Also make loop operation more transparent.
13975
13976 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13977
13978         * ToolbarDefaults.C: remove trailing comma closing namespace.
13979
13980         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13981
13982         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13983         as in WorkArea.
13984
13985         * trans.C (Load): comment out unused variable, allowed.
13986
13987 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13988
13989         * minibuffer.[Ch] (append_char): new method to recieve input from the
13990         drop-down completion browser. If a key was pressed, then recieve this
13991         char and append it to the existing string.
13992         (peek_event): modify the positioning data passed to the completion
13993         browser so that it can be placed above the minibuffer rather than below.
13994 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13995
13996         * LyXAction.C (init): alloe error-next for readonly documents.
13997
13998         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13999         count.
14000
14001 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14002
14003         * bufferlist.C (readFile): create the buffer _after_ checking that
14004         the file exists.
14005
14006         * lyxfunc.C (verboseDispatch): fix handling of arguments
14007
14008         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14009
14010         * lyxrc.C: use string::erase() instead of initializing to "".
14011
14012
14013 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14014
14015         * BufferView_pimpl.h:
14016         * BufferView_pimpl.C:
14017         * WorkArea.h:
14018         * WorkArea.C:
14019         * text2.C: tell X when we have made a selection for copying
14020
14021 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14022
14023         * BufferView_pimpl.C (MenuInsertLyXFile):
14024         * lyxfunc.C (menuNew):
14025         (open):
14026         (doImport): add shortcuts to directory buttons
14027
14028         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14029         open a float)
14030
14031         * lyxfunc.C (setStatusMessage):
14032         (getStatusMessage): new methods
14033         (getStatus):use setStatusMessage instead of setErrorMessage
14034         (dispatch): when function is disabled, set error message here
14035         [instead of in getStatus previously]
14036
14037         * BufferView_pimpl.C (workAreaButtonRelease): update
14038         toolbar/menubar here too.
14039
14040 2002-01-13  Allan Rae  <rae@lyx.org>
14041
14042         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14043         Now seems indestructible.  Remaining task is to audit all other
14044         code affected by deleteEmptyParagraphMechanism.  One small quirk
14045         left is that an empty document with an error in the preamble can
14046         be made to report an error but no error box appears.  I don't know
14047         where it goes.
14048         (removeAutoInsets): Improved comments.
14049
14050 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14051
14052         * Thesaurus.h:
14053         * Thesaurus.C: update for Aiksaurus 0.14
14054
14055 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * text2.C (firstParagraph): removed member function, all uses
14058         replaces with ownerParagraph
14059         (redoParagraphs): here
14060         (updateInset): here
14061         (toggleAppendix): here
14062         * BufferView2.C (insertErrors): here
14063         (setCursorFromRow): here
14064
14065 2002-01-13  Allan Rae  <rae@lyx.org>
14066
14067         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14068         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14069         There is still a way to segfault this although you may have to do this
14070         multiple times: Have an InsetERT with an unknown command in it.
14071         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14072         <down-arrow>, <Enter> again, View->DVI, BANG!
14073
14074         * text2.C (setCursor):
14075         (deleteEmptyParagraphMechanism):
14076         * lyxtext.h (setCursor):
14077         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14078         Making use of the return value may help fix other bugs.
14079
14080 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14081
14082         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14083
14084         * LyXView.C (updateMenubar): call MenuBar::update here
14085         (updateToolbar): but not here
14086         (showState): do not update toolbar/menubar
14087
14088         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14089         should need to care about that.
14090
14091         * lyxfunc.C (verboseDispatch): simplify a bit
14092         (getStatus): have a version which takes a pseudoaction, and
14093         another which requires a (kb_action,string).
14094
14095         * LyXAction.C (retrieveActionArg): make it work also when action
14096         is not a pseudo-action.
14097         (getActionName): simplify a bit
14098         (helpText):
14099
14100 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14101
14102         * lyxfunc.C (verboseDispatch): new families of methods with
14103         several ways to specify a command and a bool to indicate whether
14104         the command name and shortcut should be displayed in minibuffer
14105         (eventually, we could extend that to a finer bitmask like
14106         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14107         (dispatch): the pristine dispatch command which just, well,
14108         dispatchs! Note it still sets its result to minibuffer; I'm not
14109         sure we want that.
14110
14111         * lyxfunc.h: remove setHintMessage
14112
14113         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14114
14115 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14116
14117         * BufferView_pimpl.C (specialChar): delete new inset if we have
14118         not been able to insert it.
14119
14120         * kbmap.C: revert to using int instead of kb_action, since all we
14121         are dealing with is pseudo-actions.
14122
14123         * LyXAction.C (searchActionArg): change to return int instead of
14124         kb_action, since the result is a pseudoaction.
14125
14126 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * buffer.C (insertErtContents): Fix (partially) the font bug.
14129
14130 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14131
14132         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14133         as the other one is broken on my machine!
14134
14135 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14136
14137         * commandtags.h:
14138         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14139
14140 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14141
14142         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14143         reflect their actual use. Provide compatibility code for older lyxrc
14144         files.
14145
14146         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14147         FL_NORMAL_STYLE.
14148         change names of popup font variables in line with the changes to lyxrc.C
14149
14150 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14151
14152         * buffer.C (asciiParagraph): avoid outputing a word twice after
14153         an inset.
14154
14155         * lyxrc.C (getDescription): document that document_path and
14156         template_path can be empty.
14157
14158 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14159
14160         * LaTeXFeatures.C (getMacros):
14161         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14162
14163         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14164
14165         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14166         getPackages.
14167         (getPackages): rename feature "floats" to "float". Use an array to
14168         iterate over 'simple' features (i.e. just a \usepackage). Add
14169         handling of "amsmath" (renamed from "amsstyle").
14170
14171 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14172
14173         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14174         features list.
14175
14176 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14177
14178         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14179         FuncStaus::FuncStatus & FuncStaus::some_method().
14180
14181 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14182
14183         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14184         of the func_satus stuff. Edited and massaged in various ways by
14185         JMarc.
14186
14187         * lyxfunc.C (getStatus): use FuncStatus
14188
14189 2002-01-08  Juergen Vigna  <jug@sad.it>
14190
14191         * text.C (nextBreakPoint): use function Inset::isChar().
14192
14193         * paragraph.C (TeXOnePar): use function
14194         Inset::forceDefaultParagraphs.
14195
14196         * buffer.C (latexParagraphs): use function
14197         Inset::forceDefaultParagraphs.
14198
14199 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14200
14201         * lyx_gui.C (init): set the style of the menu popups to
14202         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14203
14204 2002-01-07  Juergen Vigna  <jug@sad.it>
14205
14206         * text.C (setHeightOfRow): small fix
14207         (prepareToPrint): don't look at alignment if we don't have the place
14208         for doing it.
14209
14210 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14211
14212         * box.C: New file. Move the Box methods and functions out of box.h,
14213         following Lars' suggestion.
14214
14215 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14216
14217         * box.h: #include "support/LOstream.h", needed for inlined function.
14218
14219         * lyxtextclass.C:
14220         * lyxtextclasslist.C: added some using std declarations.
14221
14222 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14223
14224         * box.h: make signed dimensions to allow insets wider than
14225           the screen (bug #162)
14226
14227         * BufferView_pimpl.C: add some insetHit debug
14228
14229 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14230
14231         * vc-backend.C: add FIXME
14232
14233 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14234
14235         * lyxfunc.C (getStatus): enable code for showing math font status
14236         in toolbar/menu.
14237
14238 2002-01-07  Juergen Vigna  <jug@sad.it>
14239
14240         * text.C (nextBreakPoint): removed debug output not needed anymore.
14241
14242 2002-01-06  Juergen Vigna  <jug@sad.it>
14243
14244         * text.C (nextBreakPoint): fixed up this function we had this bug
14245         since ever but now hopefully we break row better.
14246         (insertChar): we have to check if an inset is the next char as it
14247         could now happen that a large inset is causing a break.
14248
14249 2002-01-05  Juergen Vigna  <jug@sad.it>
14250
14251         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14252         if it doesn't like to be drawed.
14253
14254 2002-01-04  Juergen Vigna  <jug@sad.it>
14255
14256         * BufferView2.C (lockInset): forgot to set a cursor.
14257
14258         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14259
14260 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14261
14262         * FormMathsPanel.C:
14263         * FormMathsPanel.h
14264         * MathsSymbols.C:
14265         * form_maths_panel.C:
14266         * form_maths_panel.h:
14267         * form_maths_panel.fd: implemented sub- and super- buttons in math
14268         panel.
14269
14270         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14271         (or ^ space) to be used as in TeX (req'd by Andr�.
14272
14273         * lyxfunc.C: Allow ^ and _ again to be used both as
14274         super/subscript (mathed) and as themselves (in text).
14275
14276 2002-01-03  Allan Rae  <rae@lyx.org>
14277
14278         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14279         "LyX" or the filename of the current buffer if it has one.  This is a
14280         modified form of John Levon's patch.
14281
14282         * XFormsView.C (setWindowTitle): also set icon title.
14283
14284         * LyXView.h (setWindowTitle): signature changed.
14285         * XFormsView.h (setWindowTitle): ditto.
14286
14287 2002-01-02  Juergen Vigna  <jug@sad.it>
14288
14289         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14290
14291 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14292
14293         * screen.C (topCursorVisible): introduce a temp var for
14294         text->cursor.row(), handle the case where this row is null. (kindo
14295         hachish)
14296
14297         * text2.C (setCursor): add a couple of asserts.
14298
14299         * paragraph.h (inset_iterator): add -> operator
14300
14301         * paragraph.[Ch] (autoDeleteInsets): remove member function
14302
14303         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14304         cursor pos correctly and handle inset deletion by itself.
14305         (insertErrors): move iterator declaration out of for expression
14306
14307         * lyxtextclass.C: add <algorithm>
14308
14309         * Makefile.am: added the new files to sources, removed layout.C
14310
14311         * layout.C: removed file
14312
14313         * layout.h: remove LYX_DUMMY_LAYOUT
14314
14315         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14316         layout.
14317
14318         * lyxlayout.[Ch]:
14319         * lyxtextclass.[Ch]:
14320         * lyxtextclasslist.[Ch]: new files
14321
14322         * include order changes to a lot of files, also changes because of
14323         the six new files.
14324
14325 2001-12-27  Juergen Vigna  <jug@sad.it>
14326
14327         * buffer.C (asciiParagraph): more fixes.
14328
14329         * tabular.C (ascii): make ascii export support export of only the
14330         data separated by a column-delimiter.
14331         (ascii): better support for ascii export.
14332
14333         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14334
14335 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14336
14337         * tabular_funcs.C: use a "using std::getline" instead of the
14338         previous fix from Angus (necessary for cxx + lyxstring)
14339
14340 2001-12-24  Juergen Vigna  <jug@sad.it>
14341
14342         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14343
14344         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14345         problems. First check a minipage also if we have some ert-contents
14346         (not only on par->size(), second set the right depth of the paragraph
14347         on the relink to the root-paragraph-list!
14348
14349         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14350         which then did not anymore update the main paragraphs on undo/redo!
14351
14352 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14353
14354         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14355         code. Support all font-changing funcs (even those which are not in
14356         menu currently). Support for reporting font settings in
14357         mathed (disabled until Andre provides a function on mathed's side).
14358
14359         * func_status.h (toggle): small helper function to set toggle
14360         state on a flag.
14361
14362 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14363
14364         * tabular_funcs.C: getline -> std::getline
14365
14366 2001-12-21  Juergen Vigna  <jug@sad.it>
14367
14368         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14369         accessed and could be 0 (I couldn't generate this but it seems
14370         Michael could!).
14371
14372 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14373
14374         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14375         * tabular_funcs.h: here and include iosfwd
14376
14377 2001-12-20  Juergen Vigna  <jug@sad.it>
14378
14379         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14380         inside inset but undo_par was.
14381
14382 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14383
14384         * Thesaurus.C: always include <config.h> in sources.
14385
14386         * Painter.h:
14387         * lyxlookup.h:
14388         * box.h: do not include <config.h> in header files
14389
14390         * text.C (paintLastRow): remove unused variable
14391
14392         * text.C (transformChar):
14393         (insertChar):
14394         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14395
14396         * Painter.C (text):
14397         * font.C (width): rewrite to use uppercase() instead of
14398         islower/toupper.
14399
14400         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14401
14402 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * lyxfind.C: clean up of find failure position change
14405
14406 2001-12-20  Juergen Vigna  <jug@sad.it>
14407
14408         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14409
14410         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14411         (TeXRow): added to LaTeX a single tabular row.
14412         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14413         (Latex): simplified and finally good LT-h/f support.
14414         (various_functions): just small adaptions for LT-h/f support.
14415
14416         * tabular_funcs.[hC]: added and moved here all not classfunctions
14417         of LyXTabular.
14418
14419 2001-12-19  Juergen Vigna  <jug@sad.it>
14420
14421         * tabular.[Ch]: better support for longtabular options (not finished
14422         yet!)
14423
14424 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14425
14426         * text.C (paintLastRow): use the label font instead of the font of
14427         the last character to compute the size of *_BOX. This makes more
14428         sense and avoids a crash with empty paragraphs.
14429         Use Painter::rectangle to draw EMPTY_BOX.
14430
14431 2001-12-19  Juergen Vigna  <jug@sad.it>
14432
14433         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14434         the paragraphs if the replaced paragraph is not the first one!
14435         Tried to delete not used paragraphs but does not work yet so for
14436         now it's inside #ifdef's and by default off!
14437
14438 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14439
14440         * MenuBackend.C: include "lyx_main.h" instead of declaring
14441         lastfiles (actually was declared as LastFiles* instead of a
14442         scoped_ptr).
14443
14444 2001-12-17  Juergen Vigna  <jug@sad.it>
14445
14446         * tabular.C (AppendColumn): applied John's fix
14447
14448 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14449
14450         * BufferView.h:
14451         * BufferView.C:
14452         * BufferView_pimpl.h:
14453         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14454
14455         * Makefile.am:
14456         * box.h: new start of class for above
14457
14458         * lyxfunc.C: ignore space-only minibuffer dispatches.
14459           Show the command name when it doesn't exist
14460
14461         * minibuffer.C: don't add empty lines to the history
14462
14463         * minibuffer.C: add a space on dropdown completion
14464
14465 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * text.C: fix line above/below drawing in insets
14468
14469 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * lyxlength.C (LyXLength): Initialize private variables.
14472
14473 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14474
14475         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14476         when inserting error insets.
14477
14478 2001-12-13  Juergen Vigna  <jug@sad.it>
14479
14480         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14481         actually sometimes the before-paragraph.
14482         (setUndo): don't clear the redostack if we're not actually undoing!
14483
14484 2001-12-06  Juergen Vigna  <jug@sad.it>
14485
14486         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14487         and fixed redoing of main paragraph, so we can use it now ;)
14488
14489         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14490
14491 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14492
14493         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14494         Juergen's request
14495
14496 2001-12-13  André Pönitz <poenitz@gmx.net>
14497
14498         * undostack.[Ch]:
14499         * undo_func.C: minor cleanup
14500
14501 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14502
14503         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14504         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14505         font in urw-fonts package which is marked as -urw-fontspecific and
14506         does not work (incidentally, changing the encoding in the
14507         fonts.dir of this package to -adobe-fontspecific fixes the
14508         problem).
14509
14510         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14511         is a crash when undoing first paragraph (Juergen, please take a
14512         look). THis does not mean the undo fix is wrong, just that it
14513         uncovers problems.
14514
14515         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14516         the (Paragraph*) version when needed instead of duplicating the
14517         code.
14518
14519         * text.C (workWidth): use Inset::parOwner to find out where the
14520         inset has been inserted. This is a huge performance gain for large
14521         documents with lots of insets. If Inset::parOwner is not set, fall
14522         back on the brute force method
14523
14524         * paragraph_pimpl.C (insertInset):
14525         * paragraph.C (Paragraph):
14526         (cutIntoMinibuffer): set parOwner of insets when
14527         inserting/removing them
14528
14529         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14530
14531 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14532
14533         * commandtags.h:
14534         * LyXAction.C:
14535         * lyx_main.C:
14536         * lyxfunc.C:
14537         * mathed/formulabase.C:
14538         * mathed/math_cursor.[Ch]:
14539         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14540
14541
14542 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14543
14544         * lyxlength.[Ch] (operator!=): new function
14545
14546 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14547
14548         * text.C (workWidth): use Inset::parOwner to find out where the
14549         inset has been inserted. This is a huge performance gain for large
14550         documents with lots of insets. If Inset::parOwner is not set, fall
14551         back on the brute force method
14552
14553         * paragraph_pimpl.C (insertInset):
14554         * paragraph.C (Paragraph):
14555         (cutIntoMinibuffer): set parOwner of insets when
14556         inserting/removing them
14557
14558         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14559
14560 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14561
14562         * tabular-old.C (getTokenValue):
14563         * tabular.C (getTokenValue):
14564         (write_attribute): new versions for LyXLength
14565         (everywhere): adjust the use of widths
14566
14567         * tabular.h: change the type of widths from string to LyXLength
14568
14569 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14570
14571         * paragraph.C: fixed missing line number count when exporting
14572         Environments to LaTeX file
14573
14574         * buffer.C: added informational message for checking line numbers.
14575
14576 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14577
14578         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14579         paragraph, do the 'double space' part, but not the 'empty
14580         paragraph' one.
14581
14582         * text.C (workWidth): small optimization
14583         (getLengthMarkerHeight): use minimal size for negative lengths.
14584
14585 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14586
14587         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14588
14589         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14590
14591 2001-12-11  André Pönitz <poenitz@gmx.net>
14592
14593         * FontLoader.C:
14594         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14595
14596 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14597
14598         * text2.C: keep selection on a setFont()
14599
14600 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14601
14602         * lyx_cb.C: another bv->text misuse, from insert label
14603
14604 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14605
14606         * kbsequence.h:
14607         * kbsequence.C: re-instate nmodifier mask
14608
14609 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14610
14611         * lyx_main.h: make lyxGUI private.
14612
14613 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14614
14615         * lyxfind.C: place the cursor correctly on failed search
14616
14617 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14618
14619         * text.C (getLengthMarkerHeight): for small heights, the arrows
14620         are not always on top/bottom of the text
14621         (drawLengthMarker): smaller arrows; take the left margin in
14622         account; draw also vfills.
14623         (paintFirstRow):
14624         (paintLastRow): remove special code for vfill and standard spaces,
14625         since everything is handled in drawLengthMarker now.
14626
14627 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14628
14629         * buffer.C (insertErtContents): try to handle font and language
14630         interaction a bit better.g
14631
14632         * ColorHandler.C (updateColor): change the hash to cover the whole
14633         LColor enum, ws cleanup
14634         (getGCLinepars): ditto
14635         (getGCLinepars): only lookup in the linecache once.
14636
14637 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14638
14639         * iterators.C (operator++): Make the iterator more robust
14640
14641         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14642         (John's patch)
14643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14644
14645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14646
14647         * lyxtext.h:
14648         * text.C: better added space drawing
14649
14650 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * LyXView.C:
14653         * BufferView2.C: fix layout combo update on inset unlock
14654
14655 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * Makefile.am: don't compile unused files
14658
14659 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14660
14661         * lyxfunc.C:
14662         * commandtags.h:
14663         * LyXAction.C: remove old LFUN_LAYOUTNO
14664
14665 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14666
14667         * paragraph_pimpl.h:
14668         * paragraph_pimpl.C: isTextAt() doesn't need font param
14669
14670 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14671
14672         * lyxlex.h:
14673         * lyxlex.C: little cleanup
14674
14675 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14676
14677         * BufferView_pimpl.C: fix insertAscii for insets
14678
14679 2001-12-05  Juergen Vigna  <jug@sad.it>
14680
14681         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14682         set the right font on the "multi" paragraph paste!
14683
14684 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14685
14686         * trans_decl.h:
14687         * trans_mgr.[Ch]:
14688         * trans.[Ch]:
14689         * lyxgluelength.C:
14690         * lyxlength.C: remove out-commented code.
14691
14692         * BufferView_pimpl:
14693         * CutAndPaste.C:
14694         * DepTable.C:
14695         * buffer.C:
14696         * chset.C:
14697         * lastfiles.C:
14698         * lyxlex.C:
14699         * lyxlex_pimpl.C:
14700         * lyxserver.C:
14701         * screen.C:
14702         * tabular-old.C:
14703         * tabular.C:
14704         * text.C:
14705         * trans_mgr.C:
14706         * vc-backend.C: change "while(" to "while ("
14707
14708         * lyxlength.[Ch]: add zero function to check if length is zero or
14709         not
14710         * lyxgluelength.C: use it
14711
14712 2001-12-05  Allan Rae  <rae@lyx.org>
14713
14714         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14715         Works for 2.95.3, from what I understand of Garst's reports this should
14716         work for other g++ versions.  We're screwed if the abs(int) definition
14717         changed between bugfix releases of gcc.
14718
14719 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * text.C: fix chapter label offset !
14722
14723 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14724
14725         * lyxtext.h:
14726         * text.C: fix hfill at end of line, clean up
14727
14728 2001-12-04  Juergen Vigna  <jug@sad.it>
14729
14730         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14731         that we force an update of the inset and it's owners if neccessary.
14732
14733 2001-12-03  Juergen Vigna  <jug@sad.it>
14734
14735         * text.C (rowLast): simplified code
14736
14737 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * lyxfunc.C: fix show options on timeout
14740
14741 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14742
14743         * screen.C (topCursorVisible): scroll half a page when the cursor
14744         reached top of bottom of screen
14745
14746 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * minibuffer.C: deactivate on loss of focus
14749
14750 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14751
14752         * vspace.[Ch] (operator!=): add operator.
14753
14754 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14755
14756         * BufferView_pimpl.C: refuse to open an inset when
14757         there's a selection.
14758
14759 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * BufferView_pimpl.C: allow to click on RHS of full row insets
14762
14763 2001-11-30  Juergen Vigna  <jug@sad.it>
14764
14765         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14766         insets for undo reasons.
14767
14768 2001-11-28  André Pönitz <poenitz@gmx.net>
14769
14770         * vspace.[Ch]: cosmetical changes
14771
14772 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * LyXAction.h:
14775         * LyXAction.C:
14776         * lyxfunc.h:
14777         * lyxfunc.C:
14778         * kbmap.h:
14779         * kbmap.C:
14780         * lyxrc.C:
14781         * kbsequence.h:
14782         * kbsequence.C: part re-write of old kb code
14783
14784         * Painter.C:
14785         * WorkArea.C: remove Lgb_bug_find_hack
14786
14787 2001-11-30  José Matos <jamatos@fep.up.pt>
14788
14789         * buffer.C (makeDocBookFile): add a comment to point a hack.
14790         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14791         Fixed a double write of labels.
14792
14793 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14794
14795         * LaTeX.C:
14796         * LaTeX.h Fixed bug in LaTeX class where it would not
14797         re-run latex if no depfiles were changed, but the .dvi was removed.
14798
14799 2001-11-28  André Pönitz <poenitz@gmx.net>
14800
14801         * all the files from the change on 2001/11/26:
14802         use lyx::layout_type instead of LyXTextClass::size_type
14803         use lyx::textclass_type instead of LyXTextClassList::size_type
14804
14805 2001-11-29  Juergen Vigna  <jug@sad.it>
14806
14807         * text.C: added support for paragraph::isFreeSpacing()
14808
14809         * buffer.C: same as above
14810
14811         * paragraph.h: inserted isFreeSpacing() function to enable
14812         FreeSpacing inside InsetERT.
14813
14814         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14815         of the paragraph's in the cut/copy buffer to 0!
14816
14817         * text2.C (removeRow): remove the assert as it can!
14818
14819         * lyxtext.h: added helper function firstRow returning firstrow and
14820         made firstrow private again.
14821
14822         * BufferView2.C (lockInset): don't relock if we're already locked!
14823
14824         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14825         the only paragraph.
14826         (removeRow): added Assert::(firstrow)
14827
14828         * debug.C: forgot to add INSETTEXT here.
14829
14830 2001-11-28  Juergen Vigna  <jug@sad.it>
14831
14832         * sp_spell.C (initialize): changed error text to more general
14833         spellchecker command use (not only ispell!)
14834
14835         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14836
14837         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14838
14839 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14840
14841         * vspace.C: initialise lyxgluelength on failure
14842
14843 2001-11-28  Allan Rae  <rae@lyx.org>
14844
14845         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14846         declaration & definition that looks like a function declaration.
14847
14848 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * BufferView2.C (copy):
14851         (copyEnvironment): do not clear the selection when doing a copy.
14852
14853         * text.C (paintFirstRow): compilation fix
14854
14855 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14856
14857         * tabular.C (Latex): correct line count when writing latex.
14858
14859 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14860
14861         * paragraph_pimpl.h:
14862         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14863           bug a bit
14864
14865 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14866
14867         * text.C:
14868         * LColor.h:
14869         * LColor.C: change vfillline->added_space
14870
14871         * text.C: add markers and text for added space
14872
14873         * vspace.C: fix comment
14874
14875 2001-11-28  André Pönitz <poenitz@gmx.net>
14876
14877         * paragraph.C: whitespace changes
14878         * all the other files from the change on 2001/11/26:
14879         change *::pos_type into lyx::pos_type
14880
14881 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14882
14883         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14884         language of the document when inserting error insets.
14885
14886 2001-11-26  André Pönitz <poenitz@gmx.net>
14887
14888         * BufferView_pimpl.[Ch]:
14889         *       CutAndPaste.C:
14890         * buffer.[Ch]:
14891         * lyxcursor.[Ch]:
14892         * lyxfind.C:
14893         * lyxfunc.C:
14894         * lyxrow.[Ch]:
14895         * paragraph.[Ch]:
14896         * paragraph_pimpl.[Ch]:
14897         * sp_spell.C:
14898         * text.C:
14899         * text2.C: reduce header dependencies, introduce type for positions
14900
14901 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14902
14903         * <various>: change to use Alert.h
14904
14905 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14906
14907         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14908         when encountering an unknown token.
14909         (readLyXformat2): Show an error message if there were unknown tokens.
14910
14911 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * BufferView2.C:
14914         * BufferView_pimpl.C:
14915         * buffer.C:
14916         * paragraph.h:
14917         * text.C:
14918         * text2.C: use par->isInset()
14919
14920 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * paragraph_pimpl.h:
14923         * paragraph_pimpl.C: cleanup
14924
14925 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * text2.C (removeRow):
14928         * text.C (setHeightOfRow): remove useless (and costly) call to
14929         getRow.
14930
14931 2001-11-20  Allan Rae  <rae@lyx.org>
14932
14933         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14934         Now need Inset*::checkInsertChar() to return true for appropriate
14935         cases so that the characters in the minibuffer will actually be
14936         inserted.
14937
14938 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14939
14940         * text.C: change the order of the includes.
14941         (workWidth): initialize it at once.
14942         (workWidth): make maxw unsigned
14943         (setHeightOfRow): remove unused variable (inset)
14944         (selectSelectedWord): remove unused variable (inset)
14945         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14946
14947 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14948
14949         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14950         server is not running.
14951         (openConnection):
14952         (closeConnection): add debug info when server is disabled.
14953
14954         * ColorHandler.C (getGCForeground): send debug message to GUI
14955         channel.
14956
14957         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14958
14959         * kbmap.C (bind): modify because return conventions of
14960         kb_sequence::parse have changed.
14961
14962         * kbsequence.C (parse): only ignore spaces and not any stupid
14963         control character. This avoids tests like s[i] <= ' ', which are
14964         guaranteed to fail with 8bit characters and signed chars.
14965         Change return code to string::npos when there have been no error
14966         (0 was a bad idea when error is at first character)
14967
14968 2001-11-14  José Matos  <jamatos@fep.up.pt>
14969
14970         * buffer.h:
14971         * buffer.C (simpleDocBookOnePar): removed unused argument.
14972
14973 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14974
14975         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14976         insets which are part of a word. Paragraph::isLetter takes care of
14977         that now. Use Paragraph::isInset to identify insets.
14978         (selectSelectedWord): do not test for hyphenation break.
14979
14980         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14981         that protected spaces are considered as spaces.
14982
14983         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14984         Inset::isLetter.
14985
14986 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * lyxserver.h:
14989         * lyxserver.C: fix it. and small cleanup.
14990
14991 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * BufferView_pimpl.C: use inline helpers
14994
14995         * LaTeXFeatures.h:
14996         * LaTeXFeatures.C: fix typos
14997
14998         * Spacing.h:
14999         * Spacing.C: move spacing_string into class
15000
15001         * ToolbarDefaults.C: move stuff into namespace anon
15002
15003         * layout.h: update enum
15004
15005         * lyxfunc.C: use better debug
15006
15007         * minibuffer.h: fix typo
15008
15009         * debug.h:
15010         * debug.C:
15011         * WorkArea.C: add and use Debug::WORKAREA
15012
15013         * lyxtext.h:
15014         * text.C:
15015         * text2.C: code re-organisation, inline helpers
15016
15017 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15018
15019         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15020         std::vector.empty().
15021
15022 2001-11-09  Allan Rae  <rae@lyx.org>
15023
15024         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15025         '\n's after tables.  Tabular and ERT inset work now makes this no
15026         longer necessary.
15027
15028 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15029
15030         * minibuffer.h:
15031         * minibuffer.C: fix crash, improve drop-down completion
15032
15033 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * lyxserver.h:
15036         * lyxserver.C: invalidate fd's when doing endPipe()
15037
15038 2001-11-08  José Matos  <jamatos@fep.up.pt>
15039
15040         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15041         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15042
15043         * paragraph.h:
15044         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15045
15046 2001-11-07  José Matos  <jamatos@fep.up.pt>
15047
15048         * buffer.h:
15049         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15050         const qualifier.
15051
15052         * buffer.C (sgmlOpenTag):
15053         * buffer.C (sgmlCloseTag): removed debug info.
15054
15055         * buffer.h (sgmlOpenTag):
15056         * buffer.h (sgmlCloseTag): made public.
15057
15058 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * buffer.C (saveParamsAsDefaults):
15061         * lyx_cb.C (MenuLayoutSave): remove
15062
15063         * LyXAction.C (init):
15064         * commandtags.h:
15065         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15066
15067 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * buffer.C (setPaperStuff): removed from here...
15070
15071         * bufferparams.C (setPaperStuff): ... and moved there.
15072
15073 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15074
15075         * minibuffer.h:
15076         * minibuffer.C:
15077         * XFormsView.C: add support for drop-down completion
15078
15079 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15080
15081         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15082         commands.
15083
15084 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15087         disabled.
15088
15089 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15090
15091         * lyx_main.C: change ref to known bugs
15092
15093 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15094
15095         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15096         to work around older babel problems.
15097
15098 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15099
15100         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15101
15102 2001-10-24  Juergen Vigna  <jug@sad.it>
15103
15104         * tabular-old.C (ReadOld): below variable changes reflected.
15105
15106         * tabular.[Ch]: added ltType struct for longtable header/footer
15107         defines and changed all instances where they are used. Added
15108         future support for double top/bottom rows.
15109
15110 2001-10-24  José Matos  <jamatos@fep.up.pt>
15111
15112         * buffer.h (docbookHandleCaption):
15113         * buffer.C (docbookHandleCaption): removed unused function.
15114         (makeDocBookFile): moved docbook supported version to v4.1.
15115
15116 2001-10-24  José Matos  <jamatos@fep.up.pt>
15117
15118         * tabular.h:
15119         * tabular.C (docbookRow): new function to export docbook code of a row.
15120         (DocBook): now honors the longtable flags.
15121
15122 2001-10-23  José Matos  <jamatos@fep.up.pt>
15123
15124         * LaTeXFeatures.h:
15125         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15126         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15127
15128         * buffer.C (makeLinuxDocFile):
15129         (makeDocBookFile): reworked the preamble, more clean, and with
15130         support for lyx defined entities. Changed the document declaration
15131         to be more XML friendly.
15132
15133         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15134         if we need to output XML that should be done with a filter.
15135
15136 2001-10-22  Juergen Vigna  <jug@sad.it>
15137
15138         * sp_pspell.h (class PSpell): add alive function needed in the
15139         controller to see if the spellchecker could be started.
15140
15141 2001-10-22  Juergen Vigna  <jug@sad.it>
15142
15143         * buffer.C (insertStringAsLines): modify the font for inserting
15144         chars in certain conditions by calling checkInsertChar(font).
15145
15146 2001-10-19  Juergen Vigna  <jug@sad.it>
15147
15148         * text.C (workWidth): use getRow instead of wrong algorithm.
15149         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15150
15151 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15152
15153         * lyxserver.h:
15154         * lyxserver.C:
15155         * lyx_main.h:
15156         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15157
15158 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * text.C (workWidth): do not search for the exact row when
15161         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15162         optimization for big documents.
15163
15164 2001-10-18  Juergen Vigna  <jug@sad.it>
15165
15166         * text.C (workWidth): new function with added Inset * parameter.
15167
15168 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15171
15172         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15173         change return type of getColumnNearX.
15174
15175
15176         * text.C (changeRegionCase): use uppercase/lowercase instead of
15177         toupper/tolower.
15178         (leftMargin):
15179         (rightMargin): simplify code by factoring out the uses of
15180         textclasslist.
15181         (labelFill):
15182         (numberOfHfills):
15183         (setHeightOfRow):
15184         (appendParagraph): use Paragraph::size_type
15185
15186 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15187
15188         * vspace.C (asLatexString): add a missing break
15189
15190 2001-10-15  Herbert Voss  <voss@perce.de>
15191
15192         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15193
15194 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15197         is not available.
15198
15199 2001-10-10  André Pönitz <poenitz@gmx.net>
15200
15201         * lyxfunc.C: removed greek_kb_flag.
15202
15203 2001-10-10  Herbert Voss  <voss@perce.de>
15204
15205         * lyx_main.C: delete global string help_lyxdir.
15206
15207 2001-10-09  Herbert Voss  <voss@perce.de>
15208
15209         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15210
15211         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15212
15213         * lyx_main.C: added global string help_lyxdir.
15214
15215         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15216
15217 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15218
15219         * lyxrc.C (set_font_norm_type): support iso8859-4
15220
15221 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15222
15223         * LaTeX.C (deplog): add another regex for MikTeX
15224
15225 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15226
15227         * lyxrc.C (set_font_norm_type): support iso8859-3
15228
15229 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15232
15233         * LaTeXFeatures.C: remove special case of french and index
15234
15235         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15236         before \begin{document}). This solves several incompatibilities.
15237
15238 2001-10-03  Garst Reese  <reese@isn.net>
15239
15240         * lyx_cb.C: change CheckTex error msg.
15241
15242 2001-10-03  José Matos  <jamatos@fep.up.pt>
15243
15244         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15245
15246 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15247
15248         * .cvsignore: update
15249
15250         * lyx_main.C (commandLineVersionInfo): use new style version info.
15251
15252         * buffer.C (writeFile):
15253         (makeLaTeXFile):
15254         (makeLinuxDocFile):
15255         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15256
15257         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15258
15259         * version.h: update to use stuff in version.C
15260
15261         * version.C.in: new file. Contains version information determined
15262         at compile time. This is a merging of version.h and
15263         version_info.h.in.
15264
15265 2001-10-03  Juergen Vigna  <jug@sad.it>
15266
15267         * BufferView_pimpl.C (update): don't change "dirty" status in
15268         updateInset call.
15269
15270 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15271
15272         * WorkArea.C (c-tor): re-position version string slightly.
15273
15274 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15275
15276         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15277         revert to previous code.
15278
15279         WorkArea.[Ch]: (show, destroySplash): methods removed.
15280
15281         WorkArea.C: rework code so that it's an amalgam of the codes before and
15282         after the splash screen was moved to WorkArea.
15283
15284 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * lyxrc.C (read):
15287         * vspace.C (inPixels):
15288         (lyx_advance):
15289         * kbmap.C (bind):
15290         * buffer.C (insertStringAsLines):
15291         (asciiParagraph): fix types to be large enough
15292
15293         * lyxlex_pimpl.h: change member status from short to int
15294
15295         * layout.h: fix type of endlabeltype
15296
15297         * kbmap.C (bind):
15298         * kbsequence.C (parse): change return type to string::size_type
15299
15300         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15301         variable
15302
15303         * Bullet.C (bulletSize):
15304         (bulletEntry): do not use short ints as parameters
15305
15306         * BufferView2.C (insertLyXFile): change a char to an int.
15307
15308         * WorkArea.C (WorkArea): remove unneeded floats in computation
15309
15310 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15311
15312         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15313
15314         * paragraph.C (asString): Do not ignore newline/hfill chars when
15315         copying to the clipboard.
15316
15317 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15318
15319         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15320         after a multi-line inset.
15321
15322 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15323
15324         * paragraph.C (validate): Set NeedLyXFootnoteCode
15325
15326 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15327
15328         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15329         and decrease-error to decrease.
15330
15331 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15334         it more readable (should be equivalent)
15335
15336 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15337
15338         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15339
15340 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15341
15342         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15343         of a cursor (row, etc.) after a character has been deleted
15344         (deleteEmptyParagraphMechanism): call the method above on _all_
15345         cursors held by the LyXText when a double space has been
15346         detected/deleted.
15347
15348 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15349
15350         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15351         pixmap.
15352         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15353
15354         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15355         background. Use greyOut() and the new show() methods to toggle between
15356         the foreground and background. Add code to remove the splash after
15357         its initial showing.
15358
15359         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15360         (create_forms): no longer call Dialogs::showSplash.
15361
15362 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15363
15364         * .cvsignore: add version_info.h
15365
15366 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15367
15368         * version_info.h.in: new file
15369
15370         * Makefile.am: add version_info.h.in
15371
15372         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15373         version_info.h instead of VERSION_INFO
15374
15375 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15376
15377         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15378         The ERT inset now returns string().
15379
15380 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15381
15382         * lyxtext.h, text.C (selectNextWord): renamed as
15383         selectNextWordToSpellcheck.
15384
15385         * text.C (selectNextWordToSpellcheck): Modified to not select
15386         words inside an ERT inset.
15387
15388 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15389
15390         * lyx_cb.C (MenuLayoutSave): change a bit the question
15391
15392         * sp_base.h: include <sys/types.h>
15393
15394 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15395
15396         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15397
15398 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15399
15400         * several files: fix typos in user-visible strings
15401
15402 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15403
15404         * text2.C (pasteSelection): do not set the selection, since it
15405         will be cleared later. Actually, the intent was to fix the way the
15406         selection was set, but I figured rmoving the code was just as good.
15407
15408 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15409
15410         * FontLoader.C (available): Check if font is available without
15411         loading the font.
15412
15413 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15414
15415         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15416
15417 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15418
15419         * lyxrc.[Ch]: added display_graphics variable and associated code.
15420
15421 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15422
15423         * bufferparams.C (hasClassDefaults): new method. Returns true if
15424         the buffer parameters correspond to known class defaults
15425
15426 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15427
15428         * XFormsView.C (show): set minimum size to the main window.
15429
15430 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * text2.C (copySelection):
15433         (cutSelection):
15434         * lyxfind.C (LyXReplace):
15435         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15436         LyXText::selectionAsString.
15437
15438         * paragraph.C (asString): add "label" argument to the second form
15439
15440         * text2.C (selectionAsString): add "label" argument and pass it to
15441         Paragraph::asString.
15442
15443 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15444
15445         * lyx_main.C (commandLineHelp): remove version information
15446
15447 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15448
15449         * lyx_main.C: add -version commandline option
15450
15451 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15452
15453         * paragraph.h: make the optional constructor arg required instead.
15454         some modifications to other files because of this.
15455
15456         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15457
15458         * lyxserver.C (C_LyXComm_callback): make it static
15459
15460         * lyx_main.C (error_handler): make it static
15461
15462         * lyx_gui.C (LyX_XErrHandler): make it static
15463
15464         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15465
15466         * WorkArea.C: make the extern "C" methods static.
15467
15468         * Makefile.am (lyx_LDADD): simplify
15469
15470 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15471
15472         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15473         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15474
15475         * LyXAction.C (init):
15476         * lyxfunc.C (dispatch): associated code removal.
15477
15478 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * lyxfont.h (isSymbolFont): shut off warning
15481
15482         * text.C (setHeightOfRow):
15483         (getVisibleRow): fix crash with empty paragraphs which have a
15484         bottom line
15485
15486 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15487
15488         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15489         code.
15490
15491 2001-09-04  José Matos  <jamatos@fep.up.pt>
15492         * buffer.C
15493         * buffer.h
15494         * tabular.C (docbook): rename docBook method to docbook.
15495
15496 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15497
15498         * Makefile.am: add dependencies to main.o.
15499
15500 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15501
15502         * FontLoader.C (available): Return false if !lyxrc.use_gui
15503
15504 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15505
15506         * FontInfo.C (query):
15507         * converter.C (view):
15508         * importer.C (Import):
15509         * exporter.C (Export): Can not -> cannot.
15510
15511 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15512
15513         * BufferView_pimpl.C: allow to create index inset even if
15514           string is empty
15515
15516 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15517
15518         * buffer.C (getLists): replace boost::tie code with an explicit pair
15519         as boost::tie can break some compilers.
15520
15521         * iterators.h: Added a std:: declaration to the return type of
15522         ParIterator::size.
15523
15524 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15525
15526         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15527           case.
15528
15529 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15530
15531         * iterators.[Ch]: New files. Provide paragraph iterators.
15532
15533         * buffer.C (changeLanguage): Use paragraph iterators.
15534         (isMultiLingual): ditto
15535
15536         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15537
15538 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15539
15540         * FontLoader.C: Support for cmr font.
15541
15542 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15543
15544         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15545         (available): New method.
15546
15547         * FontInfo.C (getFontname): Use scalable fonts even when
15548         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15549         found.
15550
15551 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * converter.C (Formats::view): reverted! Incorrect fix.
15554
15555 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * converter.C (Formats::view): only output the -paper option
15558         if the dvi viewer is xdvi, thereby fixing bug #233429.
15559
15560 2001-08-23  Herbert Voss  <voss@perce>
15561
15562         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15563
15564 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15565
15566         * Spacing.h (Spacing): Set space to Default on in the default
15567         constructor.
15568
15569 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15570
15571         * vc-backend.h (RCS::versionString): add RCS to version
15572         (CVS::versionString): add CVS to version
15573
15574         * vc-backend.C (scanMaster): do not add CVS to version.
15575         (scanMaster): do not add RCS to version
15576
15577         * lyxvc.C (versionString): new method
15578
15579         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15580
15581 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15582
15583         * Spacing.C (set): initialize fval
15584
15585 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15586
15587         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15588         " or \.
15589
15590 2001-08-16  Juergen Vigna  <jug@sad.it>
15591
15592         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15593
15594 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15595
15596         * BufferView_pimpl.C:
15597         * figureForm.C:
15598         * lyxtext.h:
15599         * text2.C: setParagraph takes linespacing now
15600
15601 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15602
15603         * LyxAction.C: add internal LFUN_CITATION_INSERT
15604
15605         * LyXView.C: actually apply fix
15606
15607         * bufferlist.C: fix open non-existent file
15608
15609         * lyxfind.C: fix indentation
15610
15611         * lyxfunc.C: remove unneeded assert, fix typo
15612
15613 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15614
15615         * MenuBackend.C: use "Floatname List"
15616
15617 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15620         when converting LaTeX layout to insetERT.
15621         Generate a non-collapsed float when reading old float
15622
15623 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15624
15625         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15626         ERT insets.
15627
15628 2001-08-13  Juergen Vigna  <jug@sad.it>
15629
15630         * text.C (fill): return 0 instead of 20 as this seems to be the more
15631         correct value.
15632
15633 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15634
15635         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15636         lyxrc.font_norm.
15637
15638 2001-08-13  Juergen Vigna  <jug@sad.it>
15639
15640         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15641         casesensitive off.
15642         (SearchBackward): comment out the unlocking of the inset_owner this
15643         should not be needed!
15644
15645 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15646
15647         * Many files: Remove inherit_language, and add latex_language
15648
15649         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15650         collapsible insets.
15651
15652 2001-08-10  Juergen Vigna  <jug@sad.it>
15653
15654         * text.C (prepareToPrint): fixed hfill-width in draw!
15655
15656         * BufferView2.C (selectLastWord): save the selection cursor as this
15657         now is cleared in the function LyXText::clearSelection!
15658
15659 2001-08-08  Juergen Vigna  <jug@sad.it>
15660
15661         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15662         BACKSPACE type functions.
15663
15664         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15665         is only cutted from the document but not put in the cut-buffer, where
15666         still the old stuff should be.
15667
15668         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15669
15670         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15671
15672         * tabular.C (SetWidthOfCell): fixed special case where the width
15673         was not updated!
15674         (LeftLine): handle '|' in align_special.
15675         (RightLine): ditto
15676         (LeftAlreadyDrawed): ditto
15677         (SetWidthOfCell): ditto
15678
15679 2001-08-07  Juergen Vigna  <jug@sad.it>
15680
15681         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15682
15683 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15684
15685         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15686         * lyxlex.[hC]: ditto
15687
15688 2001-08-06  Juergen Vigna  <jug@sad.it>
15689
15690         * text.C (getVisibleRow): fix up row clearing a bit.
15691
15692 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15693
15694         * minibuffer.C: make sure the X server sees the changes in the input.
15695
15696 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * paragraph.C (getFont): split into...
15699         (getLabelFont): this
15700         (getLayoutFont): and this
15701         * paragraph_pimpl.C (realizeFont): calling this
15702
15703         * text2.C (getFont): split into...
15704         (getLayoutFont): this
15705         (getLabelFont): and this
15706         (realizeFont): all three calling this
15707
15708         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15709         files where used.
15710
15711 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15714
15715 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15716
15717         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15718         layouts from the Quote inset insertion.
15719
15720 2001-08-03  Juergen Vigna  <jug@sad.it>
15721
15722         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15723
15724         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15725         only if status not is already CHANGED_IN_DRAW (second level).
15726
15727         * text.C (draw): don't set the need_break_row when inside an
15728         InsetText LyXText.
15729
15730 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15731
15732         * buffer.C (parseSingleLyXformat2Token): handle more latex
15733         conversion cases.
15734
15735         * bufferview_funcs.[hC]: change function names to
15736         begin with small char, adjust other files.
15737
15738 2001-08-02  André Pönitz <poenitz@gmx.net>
15739
15740         * lyxfunc.C:
15741         BufferView_pimpl.C: remove broken special code for math-greek
15742
15743 2001-08-02  Juergen Vigna  <jug@sad.it>
15744
15745         * BufferView_pimpl.C (update): redone this function so that we
15746         update the text again if there was a CHANGE_IN_DRAW.
15747
15748         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15749         (drawFromTo): added a new internal bool which is used by draw() and
15750         redraw() function.
15751         (general): some cursor drawing problems fixed.
15752
15753 2001-08-01  Juergen Vigna  <jug@sad.it>
15754
15755         * lyxfind.C (LyXFind): fixed
15756         (SearchForward): ditto
15757         (SearchBackward): ditto
15758
15759         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15760         spurius drawing of the cursor in the main area.
15761
15762         * text2.C (status): small fix which could lead to a segfault!
15763         (clearSelection): remove unneeded BufferView param.
15764
15765 2001-08-01  André Pönitz <poenitz@gmx.net>
15766
15767         * lyxfunc.C: small change due to changed mathed interface
15768
15769 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15770
15771         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15772
15773 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15774
15775         * lyxfunc.c: fail gracefully if file doesn't exist
15776
15777         * LyXSendto.C:
15778         * buffer.C:
15779         * lyxfunc.C:
15780         * BufferView_pimpl.C: IsDirWriteable() proto changed
15781
15782         * LyXView.C: fix updateWindowTitle() to store the last title
15783
15784 2001-07-31  Juergen Vigna  <jug@sad.it>
15785
15786         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15787         the font (wrong since using of Paragraph::highestFontInRange).
15788
15789         * paragraph.C (highestFontInRange): added a default_size parameter.
15790
15791         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15792         (setHeightOfRow): reformat
15793
15794 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15795
15796         * converter.[hC] + affected files: move to (inital-char)lowercase
15797         function names.
15798
15799         * ParagraphParameters.C (ParagraphParameters): remove commented code
15800
15801         * PainterBase.[Ch]: remove commented code
15802
15803         * LaTeXFeatures.h: add "bool floats" for float.sty
15804
15805         * LaTeXFeatures.C (LaTeXFeatures): init floats
15806         (require): handle float
15807         (getPackages): do it with floats
15808
15809 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15810
15811         * BufferView_pimpl.C (Dispatch): improve handling of
15812         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15813
15814         * commandtags.h: #include lyxfont.h here temporarily to avoid
15815         keybinding bug.
15816
15817         * bufferlist.h: include LString.h here.
15818
15819 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15820
15821         * text2.C (getStringToIndex): new method.
15822
15823 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15824
15825         * *: Reduced header file dependencies all over.
15826
15827 2001-07-30  Baruch Even  <baruch@lyx.org>
15828
15829         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15830
15831 2001-07-29  Baruch Even  <baruch@lyx.org>
15832
15833         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15834
15835 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15836
15837         * ParameterStruct.h (endif): add a default constructor to make
15838         sure that all variables is initialized.
15839
15840         * ParagraphParameters.C (ParagraphParameters): adjust
15841
15842 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15843
15844         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15845         index; also, check that there is something to index, and that it
15846         does not span over several paragraphs.
15847         (doubleClick): use WHOLE_WORD_STRICT for double click.
15848
15849         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15850
15851         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15852         scheme.
15853
15854 2001-07-26  Baruch Even  <baruch@lyx.org>
15855
15856         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15857         an InsetFig figure, backwards compatible reading of old figure code.
15858
15859 2001-07-27  Juergen Vigna  <jug@sad.it>
15860
15861         * text2.C: font.realize function adaption.
15862
15863         * text.C (draw): add a warnings lyxerr text if needed.
15864
15865         * layout.C: font.realize function adaption.
15866
15867         * language.C: add inherit_language and implement it's handlings
15868
15869         * bufferview_funcs.C (StyleReset): remove language parameter from
15870         font creation (should be language_inherit now).
15871
15872         * bufferparams.C (writeFile): handle ignore_language.
15873
15874         * paragraph.C (getFontSettings): the language has to be resolved
15875         otherwise we have problems in LyXFont!
15876
15877         * lyxfont.C (lyxWriteChanges): added document_language parameter
15878         (update): removed unneeded language parameter
15879
15880         * paragraph.C (validate): fixed wrong output of color-package when
15881         using interface colors for certain fonts in certain environments,
15882         which should not seen as that on the final output.
15883
15884 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15885
15886         * BufferView_pimpl.C:
15887         * Thesaurus.h:
15888         * Thesaurus.C:
15889         * Makefile.am:
15890         * commandtags.h:
15891         * LyXAction.C: add thesaurus support
15892
15893         * lyxfind.h:
15894         * lyxfind.C: add "once" parameter, for thesaurus, to not
15895           move to the next match
15896
15897 2001-07-26  Juergen Vigna  <jug@sad.it>
15898
15899         * lyxfont.C (realize): honor ignore_language too!
15900         (resolved): ditto.
15901
15902         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15903
15904         * text.C (draw): one place more for ignore_language to not draw
15905         itself!
15906
15907 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15908
15909         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15910
15911 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15912
15913         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15914         the minipage conversion problem.
15915
15916 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15917
15918         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15919         insert an inset.
15920
15921 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15922
15923         * BufferView.h: don't forward declare WorkArea
15924
15925         * BufferView.C: don't include WorkArea.h
15926
15927 2001-07-25  André Pönitz <poenitz@gmx.net>
15928
15929         * commandtags.h:
15930         * LyXAction.C:
15931         * lyxfunc.C:  new LFUN 'math-space'
15932
15933         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15934
15935 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15936
15937         * text2.C (toggleInset): call open/close
15938
15939 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15940
15941         * lyxfunc.C (dispatch): add debug for the disabled case
15942
15943         * font.C (buttonText): make similar to rectText
15944
15945         * buffer.C (readInset): comment out parsing of insetlist and
15946         insttheorem
15947
15948         * PainterBase.C (rectText): small correction
15949
15950         * BufferView_pimpl.C: comment out insettheorem and insetlist
15951         * LyXAction.C: ditto
15952         * commandtags.h: ditto
15953
15954 2001-07-24  Juergen Vigna  <jug@sad.it>
15955
15956         * text.C (draw): honor the ignore_language.
15957
15958         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15959
15960 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15961
15962         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15963         char inset.
15964
15965 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15966
15967         * lyxtext.h: remove unused (and unimplemented) methods
15968
15969 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15970
15971         * text.C (getVisibleRow): honor background color
15972
15973         * PainterBase.h:
15974         * Painter.h: remove default color argument for fillRectangle
15975
15976         * text.C (backgroundColor): new method
15977
15978 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15979
15980         * text.C (getVisibleRow): adjust
15981
15982         * font.[Ch] (rectText): new method, metrics
15983         (buttonText): new method, metrics
15984
15985         * PainterBase.[hC]: make rectText and buttonText always draw and take
15986         fewer paramteres.
15987
15988 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15989
15990         * ToolbarDefaults.C (read):
15991         * MenuBackend.C (read): allow escaping in all strings
15992
15993         * BufferView_pimpl.C (insertAndEditInset): new method.
15994         (Dispatch): use insertAndEditInset whenever appropriate.
15995
15996         * BufferView_pimpl.C (insertNote): removed
15997
15998         * BufferView_pimpl.C (smartQuote): new method, moved from
15999         BufferView; if an insetquote cannot be inserted, insert a '"'
16000         character instead.
16001
16002         * BufferView2.C: remove insertCorrectQuote();
16003
16004         * lyxfunc.C (getStatus): Add support for all remaingin
16005         inset-insert lfuns.
16006
16007         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16008
16009         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16010         command (necessary to pass " as parameter of self-insert.
16011
16012         * text.C (selectWordWhenUnderCursor):
16013         (selectWord): add word_location parameter
16014         (selectWordWhenUnderCursor): same + remove special code for word
16015         boundary.
16016         (selectNextWord): use kind() to guess type of insetspecialchar,
16017         not latex().
16018
16019         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16020         (insertErtContents): create ert insets as collapsed.
16021         (readInset): better compatibility code for Info inset.
16022
16023 2001-07-20  Juergen Vigna  <jug@sad.it>
16024
16025         * lyxfunc.C (dispatch): use always LyXFind now!
16026
16027         * text2.C (init): add a reinit flag so that the LyXText can be
16028         reinited instead of deleted and reallocated (used in InsetText).
16029
16030         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16031
16032         * text.C: ditto
16033
16034         * text2.C: ditto
16035
16036 2001-07-18  Juergen Vigna  <jug@sad.it>
16037
16038         * text.C (selectNextWord): handle insets inside inset by calling
16039         always the bv->text functions so that we can go up the_locking_inset!
16040
16041         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16042         in strange locations when inside an inset!
16043
16044         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16045         handling to include insets.
16046
16047         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16048
16049 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16050
16051         * LyXAction.C (init):
16052         * commandtags.h:
16053         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16054         LIGATURE_BREAK, since the name is so stupid.
16055
16056 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16057
16058         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16059         InsetInfos.
16060
16061         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16062
16063         * sp_form.[Ch]: remove.
16064
16065         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16066
16067         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16068         InsetInfo.
16069
16070         * src/buffer.C (readInset): ditto.
16071
16072 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16073
16074         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16075         menuSeparator(), endOfSentenceDot(), ldots() and
16076         hyphenationPoint(), which are therefore removed.
16077         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16078
16079         * LyXAction.C (init):
16080         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16081
16082         * paragraph.C (getWord): removed.
16083
16084         * BufferView_pimpl.C (Dispatch): use last word or selection for
16085         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16086
16087         * lyx_main.C (queryUserLyXDir): do not ask before creating
16088         user_dir, except if it has been named explicitely.
16089
16090 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16091
16092         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16093         a document of zero size.
16094
16095 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16096
16097         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16098         approriately in the c-tor and in require().
16099         (getPackages): output the appropriate LaTeX for natbib support.
16100
16101         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16102         variables "use_natbib" and "use_numerical_citations" when reading the
16103         LyX file.
16104         (readInset): read the various natbib cite commands.
16105         (validate): white-space change.
16106
16107         * bufferparams.[Ch]: new variables "bool use_natbib" and
16108         "bool use_numerical_citations".
16109         (writeFile): output them in the LyX file.
16110
16111 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16112
16113         * lyxfunc.C (getStatus): add support for all the inset insertion
16114         commands.
16115
16116         * text2.C (insertInset):
16117         * paragraph.C (insetAllowed):
16118         * BufferView_pimpl.C (insertInset): update to take in account the
16119         renaming of insertInsetAllowed
16120
16121         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16122
16123         * text2.C (getInset): new method. returns inset at cursor position.
16124
16125         * BufferView_pimpl.C (Dispatch): changes because of this.
16126
16127         * LyXAction.C (init): rename open-stuff to inset-toggle.
16128
16129         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16130
16131         * text2.C (toggleInset): renamed from openStuff; use
16132         Inset::open().
16133
16134 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16135
16136         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16137
16138         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16139
16140 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16141
16142         * buffer.C (readLyXformat2): Add filename to the error dialog
16143
16144 2001-07-18  Juergen Vigna  <jug@sad.it>
16145
16146         * tabular.C (GetCellNumber): put an assert here instead of the check!
16147
16148 2001-07-17  Juergen Vigna  <jug@sad.it>
16149
16150         * BufferView_pimpl.C (toggleSelection): adapted too.
16151
16152         * text.C (selectNextWord): adapted for use with insets.
16153         (selectSelectedWord): ditto
16154
16155 2001-07-17  Juergen Vigna  <jug@sad.it>
16156
16157         * sp_spell.C (PSpell): fix initialitation order.
16158
16159 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16160
16161         * paragraph.C: spacing
16162
16163 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16164
16165         * sp_spell.C: repair language selection for pspell
16166
16167 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16168
16169         * lyxfunc.h: change more methods to begin with lower char.
16170
16171 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16172
16173         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16174         for unknown layouts.
16175
16176 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16177
16178         * buffer.C (readLyXformat2): Generate an error dialog if there are
16179         unknown layouts.
16180
16181 2001-07-16  Juergen Vigna  <jug@sad.it>
16182
16183         * sp_spell.C: always compile ISpell part.
16184
16185         * lyxrc.C: added use_pspell entry and it's handling.
16186
16187 2001-07-13  Juergen Vigna  <jug@sad.it>
16188
16189         * sp_spell.C: removed double includes.
16190
16191 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16192
16193         Consistent use of Lsstream.h:
16194         * Lsstream.h: added using std::stringstream for consistencies sake.
16195
16196         * buffer.C: removed using std::stringstream
16197
16198         * lyxfont.C (stateText):
16199         * paragraph.C (asString):
16200         * text.C (selectNextWord, selectSelectedWord):
16201         * text2.C (setCounter):
16202         * vspace.C (asString, asLatexString):
16203         std::ostringstream -> ostringstream.
16204
16205 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16206
16207         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16208         * commandtags.h: add LFUN_HELP_ABOUTLYX
16209         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16210
16211 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16212
16213         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16214         cursorToggle()
16215         * lyx_gui_misc.C: remove spellchecker
16216         * lyxfunc.C: showSpellchecker
16217         * sp_base.h: added
16218         * sp_ispell.h: added
16219         * sp_pspell.h: added
16220         * sp_spell.C: added
16221         * sp_form.[Ch]: removed
16222         * spellchecker.[Ch]: removed
16223
16224 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16225
16226         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16227         is set.
16228         (simpleTeXSpecialChars): Simply print the input character without
16229         any special translation if pass_thru is set.
16230
16231         * layout.h: Added bool pass_thru to layout class for being able to
16232         implement pass through of a paragraph for Literate Programming.
16233
16234         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16235         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16236         * layout.C (Read): add "passthru" to list of layout tags and add
16237         code to set the pass_thru boolean when it is read.
16238
16239 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16240
16241         * trans_decl.h: remove allowed from KmodInfo
16242
16243         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16244         remove allowed code
16245         (Load): adjust
16246
16247         * paragraph_pimpl.C (erase): use boost::prior
16248
16249         * Painter.C (text): use data() instead of c_str() when length is
16250         also provided.
16251         * WorkArea.C (putClipboard): ditto
16252         * font.h (width): ditto
16253
16254         * BufferView2.C: use it-> instead of (*it). for iterators
16255         * texrow.C: ditto
16256         * paragraph_pimpl.C: ditto
16257         * paragraph.C: ditto
16258         * minibuffer.C: ditto
16259         * language.C: ditto
16260         * kbmap.C: ditto
16261         * encoding.C: ditto
16262         * counters.C: ditto
16263         * converter.C: ditto
16264         * chset.C: ditto
16265         * Variables.C: ditto
16266         * TextCache.C: ditto
16267         * MenuBackend.C: ditto
16268         * LyXAction.C: ditto
16269         * LColor.C: ditto
16270         * FloatList.C: ditto
16271         * DepTable.C: ditto
16272         * ColorHandler.C (LyXColorHandler): ditto
16273
16274 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16275
16276         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16277
16278         * text2.C (openStuff): reintroduce this method (which had been
16279         nuked in NEW_INSETS frenzy).
16280
16281         * lyxfunc.C (Dispatch): when an action has not been handled, use
16282         its name in the error message, not its number.
16283
16284         * paragraph.C (inInset): change method name to begin with lowercase.
16285
16286         * undo_funcs.C:
16287         * text2.C: updates because of this.
16288
16289 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16290
16291         * ToolbarDefaults.C (add): add spaces in error message
16292
16293 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16294
16295         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16296         (readLyXformat2): rename return_par to first_par, use lyxlex's
16297         pushToken and remove the manual push handling.
16298         (parseSingleLyXformat2Token): add another ert comp. variable:
16299         in_tabular, rename return_par to first_par. handle newlines better
16300
16301 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16302
16303         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16304
16305 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16306
16307         * text2.C (getParFromID): removed
16308
16309         * buffer.C (getParFromID): new method moved form lyxtext.
16310         * BufferView2.C (insertErrors): adjust
16311         (setCursorFromRow): adjust
16312         * BufferView_pimpl.C (restorePosition): adjust
16313         * lyxfunc.C (Dispatch): adjust
16314         * undo_funcs.C (textUndo): adjust
16315         (textRedo): adjust
16316         (textHandleUndo): adjust
16317         (textHandleUndo): adjust
16318
16319 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16320
16321         * buffer.C: up' the LYX_FORMAT
16322
16323         * lyxfont.h: turn NO_LATEX on as default
16324
16325         * buffer.C (insertErtContents): new methods of tex style compability.
16326         (parseSingleLyXformat2Token): use it several places.
16327         * tabular.C (OldFormatRead): and here
16328
16329 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16330
16331         * text2.C: remove some commented code.
16332         reindent file.
16333
16334         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16335         * trans.C: changes because of the above.
16336
16337 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16338
16339         * text2.C (setCounter): Fix counters bug with bibliography layout.
16340
16341 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16342
16343         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16344         own member functions
16345         (simpleTeXSpecialChars): ditto
16346
16347 2001-07-06  Juergen Vigna  <jug@sad.it>
16348
16349         * a lot of files: changed the access to LyXText::status and the
16350         call of undo-functions.
16351
16352         * undo.[Ch]: added a inset_id to the undo informations.
16353
16354         * undo_funcs.[Ch]: added and moved here all undo functions.
16355
16356         * lyxtext.h: give the status enum a weight, made status_ a private
16357         variable and made accessor functions for it, removed the whole bunch
16358         of undo-functions as they are now in their own file, make some
16359         functions publically available. Added function ownerParagraph with
16360         int parameter.
16361
16362         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16363         made InInset() a const function, added getParFromID() function.
16364
16365         * buffer.[Ch]: added const version for inset_iterator functions,
16366         added getInsetFromID() function.
16367
16368         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16369         changed undo functions for new version.
16370
16371 2001-07-05  Juergen Vigna  <jug@sad.it>
16372
16373         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16374         unknow mechanism does not call the proper constructor but only this
16375         one also if I request the other!?
16376
16377 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16378
16379         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16380
16381         * text2.C (LyXText): use initialization lists.
16382
16383         * lyxtext.h (Selection): initialize set_ and mark_
16384         (init): remove method
16385
16386 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16387
16388         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16389
16390 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16391
16392         * screen.[Ch]: change method names to begin with lowercase
16393
16394         * BufferView_pimpl.C (updateScrollbar): simplify further and
16395         hopefully make it a bit faster.
16396
16397 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16398
16399         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16400         calling directly xforms functions.
16401
16402         * Painter.C (Painter):
16403         * lyx_cb.C (MenuWrite):
16404         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16405         fl_display.
16406
16407         * lyx_gui.C: remove bogus guiruntime extern declaration.
16408
16409 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16410
16411         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16412         in NEW_INSETS
16413         (redoDrawingOfParagraph): ditto
16414         (redoParagraphs): ditto
16415         (cutSelection): don't create a object for CutAndPaste use the
16416         static method directly
16417         (pasteSelection): ditto
16418
16419         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16420         LyXview (+ rename)
16421
16422 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16423
16424         * modifications to some other files because of this.
16425
16426         * Makefile.am (lyx_SOURCES): add XFormsView
16427
16428         * XFormsView.[Ch]: new files
16429
16430         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16431         the main window. Move the gui dependent stuff to XFormsView
16432
16433 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16434
16435         * tabular.C (GetCellInset): update cur_cell also in the row/col
16436         version of this function.
16437
16438         * lyxfunc.C: no need to include figure_form.h here.
16439
16440         * FontLoader.h:
16441         * lyxfunc.h:
16442         * lyxscreen.h:
16443         * text2.C:
16444         * lyxvc.C: no need to include forms.h here.
16445
16446 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16447
16448         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16449
16450         * lyxfunc.C (Dispatch):
16451         * Spacing.C (set):
16452         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16453         constructor argument.
16454
16455 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16456
16457         * paragraph.C (Paragraph): dont't clear, and just set layout.
16458         (makeSameLayout): use params's copy contructor.
16459
16460         * ParagraphParameters.[Ch] (makeSame): delete method
16461
16462 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16463
16464         * Variables.[Ch]: fix indentation, rename set to isSet
16465
16466 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16467
16468         * lyxfunc.C (Dispatch): fix typo
16469
16470 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16471
16472         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16473         upper_bound.
16474
16475         * bufferlist.C: include assert.h for emergencyWrite().
16476
16477 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16478
16479         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16480           give up at last (bug #425202) !
16481
16482 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16483
16484         * lyx_gui_misc.C:
16485         * sp_form.h:
16486         * sp_form.C:
16487         * spellchecker.h:
16488         * spellchecker.C: strip spellchecker options and bring up
16489           preferences tab instead
16490
16491 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16492
16493         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16494         the istringstream constructor
16495
16496 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16497
16498         * paragraph.C (getLayout): fix return value
16499
16500         * paragraph.h: do not declare getLayout as inline.
16501
16502         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16503
16504 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16505
16506         * lyxcursor.h (operator<): new func
16507         (operator>): new func
16508         (operator>=): new func
16509         (operator<=): new func
16510
16511         * text.C (changeCase): use selection.start and selection.end
16512         (changeRegionCase): require from to be <= to. Require par to be a
16513         valid paragraph.
16514
16515         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16516
16517 2001-06-27  Juergen Vigna  <jug@sad.it>
16518
16519         * text.C (cursorLeftOneWord): changed to return the cursor and added
16520         overlay with BufferView * parameter which calls this one.
16521         (getWord): added
16522         (selectWord): use new getWord function.
16523         (changeCase): renamed from changeWordCase as and extended to work
16524         also on selections.
16525
16526         * lyxtext.h: added enum word_location
16527
16528         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16529         changeCase as this operates now also on selections.
16530
16531 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16532
16533         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16534
16535         * many files: send debug output to Debug::INFO instead of
16536         Debug::ANY.
16537
16538         * converter.C (View):
16539         (Convert):
16540         (Move): send debug output to Debug::FILES instead of console.
16541
16542 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16543
16544         * lyxfunc.C (getStatus): use func_status
16545
16546         * func_status.h: new header, describing the results of
16547         LyXFunc::getStatus;
16548
16549         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16550         LFUN_MATH_HALIGN.
16551
16552 2001-06-25  The LyX Project  <jug@sad.it>
16553
16554         * buffer.C (sgmlOpenTag):
16555         (sgmlCloseTag):
16556         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16557
16558 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16559
16560         * text2.C: remove some dead code
16561
16562         * tabular.C (GetCellInset): store the last cell checked (gotten)
16563
16564         * tabular.h: add the helper for the speedup
16565
16566         * lyxtext.h: remove some dead code
16567
16568 2001-06-26  The LyX Project  <Asger>
16569
16570         * paragraph.C: Change export to LaTeX of alignment to
16571         \begin{center} and family for better roundtrip work with reLyX.
16572
16573         * Tune the math drawing a bit.
16574
16575 2001-06-25  The LyX Project  <Asger>
16576
16577         * LColor.C (LColor): New color for math background. New color
16578         for buttons.
16579
16580 2001-06-25  The LyX Project  <jug@sad.it>
16581
16582         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16583
16584         * lyxfunc.C (Open):
16585         * bufferlist.C (newFile): do not restrict to files ending with
16586         .lyx
16587
16588         * BufferView_pimpl.C (MenuInsertLyXFile):
16589
16590 2001-06-24  The LyX Project  <jug@sad.it>
16591
16592         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16593         of compare_no_case
16594
16595 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16596
16597         * lyxtext.h: rename most methods to begin with a small char.
16598         Lots of changes because of this.
16599
16600         * paragraph.C (Paragraph): do not call fitToSize
16601         (erase): call Pimpl::erase
16602         (insertChar): call Pimpl::insertChar
16603         (insertInset): call Pipl::insertInset
16604         (breakParagraph): do not call fitToSize
16605         (breakParagraphConservative): do not call fitToSize
16606         (fitToSize): remove method
16607
16608         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16609
16610 2001-06-24  The LyX Project  <Asger>
16611
16612         * Fix Qt compilation^2
16613
16614 2001-06-24  The LyX Project  <jug@sad.it>
16615
16616         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16617         depthHook(getDepth()-1).
16618
16619         * paragraph.h:
16620         * ParagraphParameters.h:
16621         * ParameterStruct.h: change type of depth to unsigned int ==
16622         depth_type. Many adaptations to other files before of that.
16623
16624 2001-06-24  The LyX Project  <Asger>
16625
16626         * Fix Qt compilation.
16627
16628 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16629
16630         * paragraph.h: renamed several methods to begin with small letter.
16631         several changes to many parts of the code because of this.
16632
16633 2001-06-23  The LyX Project  <jug@sad.it>
16634
16635         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16636         rewritten to discard all double spaces when KeepEmpty is off
16637         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16638         to only handle newlines but not fiddle with spaces and friends.
16639
16640         * lyxfunc.C (MenuNew): when doing 'new from template', use
16641         template_path as default directory
16642
16643 2001-06-23  The LyX Project  <Asger>
16644
16645         * Clean-up of header file includes all over
16646         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16647
16648 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16649
16650         * paragraph.h: renamed from lyxparagraph.h
16651
16652 2001-06-23  Asger  <lyx@violet.home.sad.it>
16653
16654         * Buffer.h: Removed Buffer::resize
16655         * BufferList.h: Removed BufferList::resize
16656         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16657         the document lazily when we change the width, or the font settings.
16658
16659 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16660
16661         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16662
16663 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16664
16665         * buffer.h: remove out of date comment
16666
16667 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16668
16669         * lyxscreen.h:
16670         * screen.C: fix "theoretical" GC leak
16671
16672 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16673
16674         * LaTeX.C (scanAuxFile):
16675         (deplog): remove trailing \r when reading stream (useful under
16676         win32)
16677
16678 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16679
16680         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16681         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16682         and BufferView::theLockingInset(Inset*), so should use them and not
16683         access bv_->text->the_locking_inset directly.
16684
16685         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16686
16687 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16688
16689         * Makefile.am:
16690         * tex-defs.h: remove old unused file
16691
16692 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16693
16694         * BufferView_pimpl.C: fix typo, remove minibuffer message
16695           when buffer has loaded
16696
16697 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * lyxfunc.C (Dispatch): use stringstream
16700         (MenuNew): use stringstream
16701         (Open): use stringstream
16702
16703         * importer.C (Import): use stringstream
16704
16705         * bufferview_funcs.C (CurrentState): use stringstream
16706
16707         * LaTeX.C (run): use stringstream
16708
16709         * BufferView_pimpl.C (savePosition): use stringstream
16710         (restorePosition): use stringstream
16711         (MenuInsertLyXFile): use stringstream
16712
16713 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16714
16715         * BufferView.C:
16716         * Bullet.C:
16717         * ColorHandler.C:
16718         * FontInfo.C:
16719         * FontLoader.C:
16720         * LColor.C:
16721         * LaTeXFeatures.C:
16722         * Painter.C:
16723         * gettext.C:
16724         * lyx_gui_misc.C:
16725         * lyxserver.C:
16726         * vspace.C: removed // -*- C++ -*- as first line.
16727
16728         * lyxfind.h:
16729         * version.h: added // -*- C++ -*- as first line.
16730
16731 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16732
16733         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16734
16735         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16736         of string
16737
16738 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16739
16740         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16741         of floats.
16742
16743 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16744
16745         * gettext.C: include LString.h even when --disable-nls is on.
16746
16747 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16748
16749         * converter.h (Get): changed argument type from int to
16750         FormatList::size_type to avoid unnecessary conversion.
16751
16752         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16753         before using it.
16754
16755 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16756
16757         * gettext.h: include LString.h even when --disable-nls is on.
16758
16759 2001-06-07  Juergen Vigna  <jug@sad.it>
16760
16761         * text.C (BreakAgain): subst spaces with tabs.
16762
16763         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16764         (resizeInsetsLyXText): set force on resizeLyXText.
16765
16766 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16767
16768         * gettext.h (gettext_init):
16769         (locale_init): use a real definition instead of a macro
16770
16771 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16772
16773         * Bufferview_pimpl.C:
16774         * LColor.h:
16775         * LColor.C: further lcolor tidies
16776
16777 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16778
16779         * BufferView_pimpl.C (updateScrollbar): simplify.
16780
16781         * BufferView2.C: don't include insets/insetinfo.h, change
16782         prototype for insertInset and call the Pimpl version. let
16783         updateInset call Pimpl version.
16784
16785         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16786         gotoInset to BufferView::Pimpl
16787
16788 2001-06-01  Juergen Vigna  <jug@sad.it>
16789
16790         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16791         inside a LockingInset (is the update needed at all?).
16792
16793 2001-05-31  Juergen Vigna  <jug@sad.it>
16794
16795         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16796         here not the old one otherwise how should we compare it afterwards
16797         if it's the same!
16798
16799 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16800
16801         * lyxfont.C:
16802         * tabular.C:
16803         * tabular-old.C:
16804         * FontInfo.C: bring C functions into global namespace when
16805         necessary
16806
16807 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16808
16809         * LString.h: make sure config.h has been loaded before LString.h.
16810
16811         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16812         (one for each char read by EatLine!).
16813
16814         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16815         variables.
16816
16817 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16818
16819         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16820         to the same as the par we break from
16821
16822 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16823
16824         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16825
16826         * MenuBackend.C (expand): also create menu entries for wide
16827         versions of the floats.
16828
16829         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16830
16831         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16832
16833         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16834         frontends/Makefile.am
16835
16836         * text2.C: adjust
16837         * text.C: adjust
16838
16839
16840         * tabular.C (getTokenValue): add std::
16841
16842         * tabular-old.C (getTokenValue): add std::
16843         (getTokenValue): ditto
16844         (getTokenValue): ditto
16845
16846         * screen.C (ToggleSelection): adjust
16847
16848         * lyxtext.h: put selection cursors inside a Selection struct.
16849
16850         * lyxfunc.C (moveCursorUpdate): adjust
16851
16852         * lyxfont.C (latexWriteStartChanges): add std::
16853
16854         * lyxfind.C: adjust
16855
16856         * font.h: delete with(char const *, LyXFont const &)
16857
16858         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16859
16860         * FontInfo.C (getFontname): add std::
16861
16862         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16863         (workAreaButtonPress): adjust
16864         (tripleClick): adjust
16865         (update): adjust
16866         (moveCursorUpdate): adjust
16867         (Dispatch): adjust
16868
16869         * BufferView2.C (gotoInset): adjust
16870
16871 2001-05-30  Juergen Vigna  <jug@sad.it>
16872
16873         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16874         to check pspell I add this as default as I now have new pspell
16875         libraries and they seem to use this.
16876
16877 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16878
16879         * text2.C (CutSelection): make the cursor valid before the call to
16880         ClearSelection.
16881
16882 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16883
16884         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16885         relied on 0 terminated strings and other horrors. Bug found due to
16886         the new assert in lyxstring!
16887
16888         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16889         KP_ keys.
16890
16891 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16892
16893         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16894         to latinkeys.bind.
16895
16896         * lyxfunc.C (processKeySym): change method of getting to the
16897         self-insert char.
16898
16899         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16900         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16901         * BufferView_pimpl.[Ch]: here as private methods.
16902
16903 2001-05-28  Juergen Vigna  <jug@sad.it>
16904
16905         * text.C (SetHeightOfRow): added the update() call again as it is
16906         needed to initialize inset dimensions!
16907
16908 2001-05-16  Juergen Vigna  <jug@sad.it>
16909
16910         * text2.C (SetCharFont): Add new function with BufferView * and
16911         bool toggleall parameters for setting insets internal fonts.
16912         (SetFont): Freeze the undo as we may change fonts in Insets and
16913         all this change should be inside only one Undo!
16914
16915         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16916         setting font's in insets as for them we have the SetFont function!
16917
16918 2001-05-15  Juergen Vigna  <jug@sad.it>
16919
16920         * text2.C (ClearSelection): to be sure we REALLY don't have any
16921         selection anymore!
16922
16923         * tabular.C (TeXCellPreamble): fixed the left border problem for
16924         multicolumn cells.
16925
16926 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16927
16928         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16929         dependancy file
16930
16931 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16932
16933         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16934         LFUN_BREAKPARAGRAPH.
16935
16936         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16937         help test to "internal only", similar for LFUN_INSERT_URL
16938
16939         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16940         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16941         auto_region_delete and deadkeys.
16942
16943 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16944
16945         * LColor.h:
16946         * LColor.C: remove some dead entries, tidy a little
16947
16948 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16949
16950         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16951         commented code.
16952         (Dispatch): implement LFUN_ESCAPE
16953
16954         * commandtags.h: add LFUN_ESCAPE
16955
16956         * LyXAction.C (init): add entry for LFUN_ESCAPE
16957
16958         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16959         Remove commented code.
16960         (insertNote): moved here
16961         (open_new_inset): moved here
16962
16963         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16964         BufferView_pimpl
16965
16966 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16967
16968         * kbmap.C (findbinding): clean it up and make it work correctly.
16969
16970         * lyx_main.C (init): do not pass argc and argv as parameters
16971
16972 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16973
16974         * buffer.C: fix path for OS/2 & Win32
16975
16976         * lyx_gui.C:
16977         * lyx_main:
16978         * lyx_main.C: Added os:: class.
16979
16980         * os2_defines.h: update
16981
16982 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16983
16984         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16985         better by trying again with reduced state.
16986
16987 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16988
16989         * lyxrc.C (read): print error about invalid key sequence only when
16990         debugging (because not all latinX keysyms are known to some X
16991         servers)
16992
16993         * kbsequence.C (getiso): add a few std:: qualifiers
16994         (getiso): comment out extra return statement.
16995
16996 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16997
16998         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16999         handling.
17000         (Dispatch): enhance the accent inset a bit. (not perfect)
17001
17002 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17003
17004         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17005
17006 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17007
17008         * bufferlist.C (emergencyWrite): fix assert() call
17009
17010 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17011
17012         * text.C (InsertChar): Added trivial patch to only send the "you
17013         can not do multiple spaces this way" message once during a
17014         session.
17015
17016 2001-05-08  Baruch Even  <baruch@lyx.org>
17017
17018         * Makefile.am: Changed order of libraries to get LyX to link properly
17019         with the gnome frontend.
17020
17021 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17022
17023         * LaTeXFeatures.h: add a std:: qualifier
17024
17025 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17026
17027         * paragraph.C (String): use stringstream
17028
17029 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17030
17031         * paragraph.C (writeFile): remove footflag arg
17032
17033         * buffer.C (makeLaTeXFile): use stringstream
17034         (latexParagraphs): remove footnot gurba
17035
17036         * LaTeXFeatures.C (getPackages): use stringstream
17037         (getMacros): likewise
17038         (getTClassPreamble): likewise
17039         (getFloatDefinitions): new method
17040
17041         * paragraph.C (writeFile): reindent
17042         (Erase): reindent
17043
17044         * WorkArea.h: revert the xpos + etc changes.
17045
17046         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17047
17048         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17049
17050         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17051         (pasteSelection): likewise
17052         * text2.C (CreateUndo): likewise
17053
17054 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17055
17056         * minibuffer.C (peek_event): temporarily reduce the functionality
17057         of the minibuffer (to allow args on lfuns)
17058
17059         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17060         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17061
17062         * buffer.C (readInset): add compability reading of old float
17063         lists, add reading of new style float list.
17064         (readInset): avoid reevaluation of inscmd.getCmdName()
17065         (getLists): reindent
17066
17067         * MenuBackend.C (MenuItem): implement parsing of
17068         md_floatlistinsert and md_floatinsert.
17069         (expand::LastFiles): move initalizaton of iterators out of loop,
17070         avoid reevaluation.
17071         (expand::Documents): introduce typdedef vector<string> Strings,
17072         and use it.
17073         (expand::ExportFormats): introduce typedef vector<Format const *>
17074         Formats, and use it.
17075         (expand): implement FloatListInsert and FloatInsert.
17076
17077         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17078         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17079         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17080
17081         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17082         handling.
17083         (Dispatch::LFUN_FLOAT_LIST): implement
17084
17085 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17086
17087         * LaTeX.C (run): Fix problem with --export code.
17088
17089 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17090
17091         * BufferView.[Ch] (workarea): removed.
17092         (getClipboard) new method; wrapper for workarea()->getClipboard()
17093
17094         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17095         bug.
17096
17097         * WorkArea.h (width, height, xpos, ypos): These methods all
17098         returned the dimensions of the work_area sub-area of WorkArea,
17099         resulting in a position error if the WorkArea were resized. Now
17100         return the dimensions of the entire WorkArea.
17101
17102         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17103
17104 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17105
17106         * LaTeX.C (deplog): correct the syntax of regex reg1
17107
17108 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17109
17110         * undo.C: remove !NEW_INSETS cruft
17111
17112 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17113
17114         * text2.C: remove !NEW_INSETS cruft
17115
17116         * text.C: remove !NEW_INSETS cruft
17117
17118         * tabular.C: remove !NEW_INSETS cruft
17119
17120         * spellchecker.C: remove !NEW_INSETS cruft
17121
17122         * lyxtext.h: remove !NEW_INSETS cruft
17123
17124         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17125
17126         * lyxfunc.C: remove !NEW_INSETS cruft
17127
17128         * lyxfind.C: remove !NEW_INSETS cruft
17129
17130         * lyx_cb.C: remove !NEW_INSETS cruft
17131
17132         * figureForm.C: remove  !NEW_INSETS cruft
17133
17134         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17135
17136         * buffer.[Ch]: remove !NEW_INSETS cruft
17137
17138         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17139
17140         * CutAndPaste.C: remove !NEW_INSETS cruft
17141
17142         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17143
17144         * BufferView2.C: remove !NEW_INSETS cruft
17145
17146         * BufferView.h: remove !NEW_INSETS cruft
17147
17148 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * Lsstream.h: include LString.h before the sstream headers to
17151         fix problem with gcc 2.95.3 and lyxstring
17152
17153 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17154
17155         * lyx_main.C: add using directives when needed for C functions
17156         declared in std:: namespace.
17157
17158 2001-04-27  Juergen Vigna  <jug@sad.it>
17159
17160         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17161         (SetHeightOfRow): comment out the update call should not be needed!
17162
17163 2001-04-13  Juergen Vigna  <jug@sad.it>
17164
17165         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17166         (LyXTabular): tried to minimize operator= operations (and realized
17167         hopfully Lars wish).
17168
17169 2001-04-27  Juergen Vigna  <jug@sad.it>
17170
17171         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17172
17173 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17174
17175         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17176
17177         * buffer.C (readInset): hack to make listof algorithm work
17178
17179         * BufferView_pimpl.C: hack to make listof algorithm work
17180
17181 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17182
17183         * LyXAction.C: removed all !NEW_INSETS cruft
17184         (init): moved lfun_item in method
17185
17186         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17187
17188 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17189
17190         * BufferView2.C (theLockingInset): white space.
17191
17192 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17193
17194         * minibuffer.C: include <iostream>
17195
17196         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17197
17198         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17199
17200         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17201
17202         * text.[Ch] (TransposeChars): new method
17203
17204 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17205
17206         * call message directly through LyXView instead of through LyXFunc
17207         * BufferView2.C: adjust
17208         * BufferView_pimpl.C: adjust
17209         * FontLoader.C: adjust
17210         * buffer.C: adjust
17211         * bufferview_funcs.C: adjust
17212         * converter.C: adjust
17213         * figureForm.C: adjust
17214         * importer.C: adjust
17215         * lyx_cb.C: adjust
17216         * lyx_gui_misc.C: adjust
17217         * lyxfunc.C: adjust
17218         * lyxvc.C: adjust
17219         * text2.C: adjust
17220         + more files in subdirs
17221
17222         * lyxparagraph.h (size): move up int file
17223         (GetLayout): ditto
17224
17225         * adjust all uses of Assert to lyx::Assert.
17226
17227         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17228         lyxfunctional in namespace lyx
17229         * layout.C (hasLayout): ditto
17230         (GetLayout): ditto
17231         (GetLayout): ditto
17232         (delete_layout): ditto
17233         (NumberOfClass): ditto
17234         * converter.C (GetFormat): ditto
17235         (GetNumber): ditto
17236         (Add): ditto
17237         (Delete): ditto
17238         (SetViewer): ditto
17239         * bufferlist.C (getFileNames): ditto
17240         (emergencyWriteAll): ditto
17241         (exists): ditto
17242         (getBuffer): ditto
17243         * MenuBackend.C (hasSubmenu): ditto
17244         (hasMenu): ditto
17245         (getMenu): ditto
17246         * BufferView_pimpl.C (getInsetByCode): ditto
17247
17248 2001-04-18  Juergen Vigna  <jug@sad.it>
17249
17250         * vspace.C (asLatexString): fixed the 100% problem.
17251
17252 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17253
17254         * lyxfunc.C (Dispatch):
17255         * minibuffer.C:
17256         * minibuffer.h: add a few std:: qualifiers
17257
17258 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17259
17260         * minibuffer.[Ch]: reimplement so that commands is initiated and
17261         run from lyxfunc, simplified som handling, and made the completion
17262         and history code for complete. wip.
17263
17264         * lyxfunc.C (processKeySym): call message
17265         (miniDispatch): new temporary method
17266         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17267         (LFUN_MESSAGE): implement
17268         (LFUN_MESSAGE_PUSH): implement
17269         (LFUN_MESSAGE_POP): implement
17270         (initMiniBuffer): the initial/defualt minibuffer message.
17271
17272         * lyxfont.[Ch]: inline some more getters
17273
17274         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17275
17276         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17277
17278         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17279         (AutoSave): use LFUN_MESSAGE
17280         (Reconfigure): ditto
17281
17282         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17283
17284         * figureForm.C: use LFUN_MESSAGE
17285
17286         * converter.C (runLaTeX): use LFUN_MESSAGE
17287
17288         * bufferview_funcs.C: use LFUN_MESSAGE
17289         (Melt): ditto
17290         (changeDepth): ditto
17291
17292         * bufferparams.h: use boost::
17293
17294         * bufferlist.h: inherit privately from noncopyable
17295
17296         * bufferlist.C (loadLyXFile): remove some commented code.
17297
17298         * buffer.C (runChktex): use LFUN_MESSAGE
17299
17300         * ShareContainer.h: inherit privately from noncopyable
17301
17302         * ParagraphParameters.[hC] (depth): inline it.
17303
17304         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17305         methods.
17306         (message): new method
17307         (messagePush): ditto
17308         (messagePop): ditto
17309         (show): init minibuffer
17310         (showState): direct call
17311
17312         * LaTeX.[Ch]: inherit privately from noncopyable
17313         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17314         instead of WriteStatus.
17315
17316         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17317
17318         * BufferView_pimpl.C (buffer): don't init minibuffer
17319         (workAreaButtonPress): use LFUN_MESSAGE
17320         (workAreaButtonRelease): ditto
17321         (savePosition): ditto
17322         (restorePosition): ditto
17323         (MenuInsertLyXFile): ditto
17324         (workAreaExpose): don't init minibuffer
17325         (update): remove commented code, simplify
17326
17327         * BufferView2.C (openStuff): use LFUN_MESSAGE
17328         (toggleFloat): ditto
17329         (menuUndo): ditto
17330         (menuRedo): ditto
17331         (copyEnvironment): ditto
17332         (pasteEnvironment): ditto
17333         (copy): ditto
17334         (cut): ditto
17335         (paste): ditto
17336         (gotoInset): ditto
17337         (updateInset): remove some commented code
17338
17339         * lastfiles.h: inherit privately from noncopyable
17340         * layout.h: ditto
17341         * lyx_gui.h: ditto
17342         * lyx_main.h: ditto
17343         * lyxlex.h: ditto
17344         * lyxlex_pimpl.h: ditto
17345
17346         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17347         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17348         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17349
17350         * LyXAction.h: inherit privately from noncopyable, add methods
17351         func_begin, func_end, returning iterators to the func map.
17352
17353         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17354         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17355         (func_begin): new method
17356         (func_end): new method
17357
17358         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17359         and not)
17360         (copySelection): ditto
17361         (pasteSelection): ditto
17362
17363         * BufferView.C: whitespace change
17364         * BufferView.h: inherit privately from noncopyable
17365
17366 2001-04-16  Allan Rae  <rae@lyx.org>
17367
17368         * tabular-old.C (l_getline):
17369         * spellchecker.C (sc_check_word):
17370         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17371         an unrecognised preprocessor directive.  So ensure they're wrapped.
17372
17373 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17374
17375         * src/exporter.C (Export): Give an error message when path to file
17376         contains spaces.
17377
17378 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17379
17380         * LaTeX.C (deplog): Always check that foundfile exists.
17381
17382 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17383
17384         * lyx_main.h:
17385         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17386
17387 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17388
17389         * tabular.[Ch] (getLabelList): implement new method
17390
17391         * minibuffer.h: comment ouf setTiimer
17392
17393         * minibuffer.C (ExecutingCB): constify res
17394         (peek_event): constify s
17395         (Set): constify ntext
17396         (Init): constify nicename
17397
17398         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17399
17400         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17401         (savePosition): use two params to Minibuffer::Set
17402         (restorePosition): ditto
17403
17404 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17405
17406         * lyx_main.C: include language.h
17407
17408         * Makefile.am (lyx_main.o): add language.h
17409
17410 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17411
17412         * exporter.C:
17413         * paragraph.C:
17414         * screen.C:
17415         * tabular.C:
17416         * CutAndPaste.C: include gettext.h
17417
17418         * lyxfont.h: remove old hack with ON and OFF.
17419
17420         * lyxparagraph.h:
17421         * lyxfont.h: do not include language.h...
17422
17423         * BufferView2.C:
17424         * LaTeXFeatures.C:
17425         * Painter.C:
17426         * bufferview_funcs.C:
17427         * font.C:
17428         * lyxfont.C:
17429         * text.C:
17430         * text2.C:
17431         * trans_mgr.C:
17432         * paragraph.C: ... but do it here instead
17433
17434 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17435
17436         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17437
17438         * tabular.C: small reformat
17439
17440         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17441         NEW_INSETS version
17442         (GetChar): ditto
17443         (BreakParagraph): ditto
17444         (SetOnlyLayout): ditto
17445         (SetLayout): ditto
17446
17447         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17448         with one arg less.
17449
17450         * lastfiles.C: removed most using decl, add std:: where needed
17451
17452         * buffer.C: ws changes
17453
17454         * MenuBackend.C (class compare_format): put into anon namespace
17455         (expand): constify label, names, action, action2
17456         (expand):
17457
17458         * text.C (SingleWidth): constify font
17459         (IsBoundary): constify rtl2
17460         (GetVisibleRow): constify ww
17461
17462         * LaTeX.C (deplog): constify logfile
17463
17464         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17465         start_x, end_x
17466         (workAreaExpose): constify widthChange, heightChange
17467
17468         * lyxrow.C (par): moved
17469         (height): moved
17470         (next): moved
17471         * lyxrow.h: as inlines here
17472
17473         * lyxfont.h (shape): moved from lyxfont.C
17474         (emph): moved from lyxfont.C
17475
17476         * lyxfont.C (LyXFont): use initialization list for all
17477         constructors
17478         (shape): move to lyxfont.h as inline
17479         (emph): move to lyxfont.h as inline
17480
17481
17482 2001-04-04  Juergen Vigna  <jug@sad.it>
17483
17484         * vspace.C: had to include stdio.h for use of sscanf
17485
17486 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17487
17488         * BufferView.h:
17489         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17490         independent of xforms.
17491
17492 2001-04-02  Juergen Vigna  <jug@sad.it>
17493
17494         * spellchecker.C: fixed namespace placing!
17495
17496 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17497
17498         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17499         the LyXParagraph * is 0.
17500
17501 2001-03-29  Juergen Vigna  <jug@sad.it>
17502
17503         * vspace.C: added support for %, c%, p%, l%.
17504         (stringFromUnit): added helper function.
17505         (asLatexString): changed to give right results for the %-values.
17506
17507         * buffer.C: convert the widthp in a width%.
17508
17509 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17510
17511         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17512         figureForm.[Ch].
17513
17514         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17515         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17516
17517         * lyx_cb.[Ch]: see above.
17518
17519         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17520         form1.[Ch].
17521
17522         * form1.[Ch]:
17523         * lyx.[Ch]: replaced by figure_form.[Ch].
17524
17525         * lyx_gui.C:
17526         * lyx_gui_misc.C:
17527         * lyxfunc.C: changed headers associated with above changes.
17528
17529 2001-03-27  Juergen Vigna  <jug@sad.it>
17530
17531         * BufferView_pimpl.C: set the temporary cursor right!
17532
17533 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17534
17535         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17536
17537 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17538
17539         * LString.h: removed "using std::getline"!
17540
17541         * BufferView_pimpl.C (Dispatch): changes due to changes in
17542         InsetInclude::Params.
17543
17544         * buffer.C (tag_name): removed redundant break statements as they were
17545         producing lots of warnings with my compiler.
17546
17547 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17548
17549         * LString.h: add "using std::getline" when using the real <string>.
17550
17551 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17552
17553         * buffer.C: removed bitset usage.
17554         PAR_TAG moved to an anonymous name space.
17555         (tag_name): new funtion, also in the anonymous namespace.
17556         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17557         (makeDocBookFile): clean code. Completed transition from string arrays
17558         to string vectors.
17559         (SimpleDocBookOnePar): code clean.
17560
17561 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17562
17563         * tabular.C: add some comments.
17564
17565 2001-03-22  Juergen Vigna  <jug@sad.it>
17566
17567         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17568         compatibility read a bit and fixed bug with minipage in different
17569         depth.
17570
17571 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17572
17573         * buffer.C (pop_tag): removed.
17574         (push_tag): removed.
17575         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17576         array replaced with vector. Added support for CDATA sections.
17577         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17578         at any nest level.
17579         (makeDocBookFile): XML conformant declaration of CDATA section,
17580         fixed bug related to <emphasis> in the first paragraph char.
17581         (sgmlOpenTag): exclude empty tags.
17582         (sgmlCloseTag): ditto.
17583
17584         * buffer.h (pop_tag): removed.
17585         (push_tag): removed.
17586
17587 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17588
17589         * language.h (Languages): added size_type and size().
17590
17591 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17592
17593         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17594         response on compability reading of minipages. One probliem is that
17595         the old usage of minipages was flertydig
17596
17597         * several files here and in subdirs: don't use static at file
17598         scope use anon namespaces instead.
17599
17600 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17601
17602         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17603         LaTeX output. This is necessary for Literate document
17604         processing.
17605
17606 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17607
17608         * buffer.C: insert hfill when needed.
17609
17610         * tabular.C (l_getline): use string::erase, small whitespace change.
17611
17612         * BufferView_pimpl.C: try the anon namespace.
17613         * WorkArea.C: ditto
17614
17615 2001-03-16  Juergen Vigna  <jug@sad.it>
17616
17617         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17618         otherwise it won't open options-dialogs.
17619
17620         * buffer.C: honor pextraWidth(p) on converting minipages.
17621
17622         * tabular.C (l_getline): changed the functions to strip trailing \r.
17623
17624 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17625
17626         * BufferView_pimpl.C:
17627         * minibuffer..C: added "using SigC::slot" declaration.
17628
17629 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17630
17631         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17632
17633         * text2.C: ditto
17634
17635         * text.C: ditto
17636
17637         * paragraph.C: ditto
17638
17639         * lyxtext.h: NO_PEXTRA
17640
17641         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17642
17643         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17644         * ParameterStruct.h: ditto
17645         * ParagraphParameters.h: ditto
17646         * lyxparagraph.h: ditto
17647
17648 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17649
17650         * buffer.C: add compability for minipage alignment.
17651         (latexParagraphs): remove unwanted pextra check.
17652
17653         * several files: remove CXX_WORKING_NAMESPACES
17654
17655         * buffer.C (pop_tag): tie is in namespace boost
17656
17657         * BufferView.h: noncopyable is in namespace boost
17658         * lyxlex.h: ditto
17659         * lyx_main.h: ditto
17660         * lyx_gui.h: ditto
17661         * layout.h: ditto
17662         * lastfiles.h: ditto
17663         * bufferlist.h: ditto
17664         * ShareContainer.h: ditto
17665         * LyXView.h: ditto
17666         * LyXAction.h: ditto
17667         * LaTeX.h: ditto
17668
17669 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17670
17671         * Merging changes from BRANCH_MVC back into HEAD.
17672
17673         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17674
17675 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17676
17677         * BufferView_pimpl.C: change from intl.C
17678
17679         * combox.h:
17680         * combox.C:
17681         * Makefile.am: move combox.*
17682
17683         * form1.h:
17684         * form1.C:
17685         * lyx_gui.C:
17686         * intl.h:
17687         * intl.C: remove dialog (covered by prefs)
17688
17689 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17690
17691         * lyxfunc.C (Dispatch): removed redundant break statement.
17692
17693 2001-03-14  Juergen Vigna  <jug@sad.it>
17694
17695         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17696
17697 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17698
17699         * buffer.C: add hack to fix compability reading of minipages.
17700
17701 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17702
17703         * buffer.C (getLists): Cleanup.
17704
17705 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17706
17707         * lyxfont.C (update): don't honor toggleall on font size.
17708
17709 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17710
17711         * bmtable.c:
17712         * bmtable.h:
17713         * Makefile.am: moved to frontends/xforms/
17714
17715         * lyx_gui_misc.C:
17716         * lyxfunc.C:
17717         * BufferView_pimpl.C: changes for moved mathpanel
17718
17719 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17720
17721         * gettext.h: fix gettext_init() in --disable-nls
17722
17723 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17724
17725         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17726
17727 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17728
17729         * lyx.C:
17730         * lyx.h: strip external form
17731
17732 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17733
17734         * BufferView_pimpl.C: add comment, destroySplash()
17735
17736 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17737
17738         * BufferView_pimpl.C:
17739         * LyXAction.C:
17740         * buffer.C:
17741         * commandtags.h:
17742         * lyxfunc.C: use re-worked insetinclude
17743
17744 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17745
17746         * buffer.C: add using std::stringstream.
17747
17748         * lyx_cb.C: readd using std::ios.
17749
17750         * buffer.C: add using std::map.
17751
17752         * BufferView_pimpl.C: add using std::vector.
17753
17754         * ShareContainer.h: add std:: to swap.
17755
17756         * buffer.h: add some typedefs
17757         * buffer.C (getLists): use them
17758         (getLists): renamed from getTocList.
17759         add a counter for the different float types and use it in the
17760         generated string.
17761         (getLists): use the same counter for the NEW_INSETS and the "non"
17762         NEW_INSETS
17763
17764         * lyx_cb.h: remove unused items, includes, using etc.
17765
17766         * ShareContainer.h: remove some commented code, add more comments
17767         and "documentation".
17768
17769 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17770
17771         * buffer.C (getTocList): make the list also when NEW_INSETS is
17772         defined.
17773
17774         * buffer.h: remove TocType
17775
17776         * buffer.C (getTocList): change to return a map<string,
17777         vector<TocItem> >, implement for dynamic number of list.
17778
17779         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17780         * text2.C (PasteSelection): adjust
17781         * CutAndPaste.C (pasteSelection): adjust
17782
17783         * FloatList.C (FloatList): update from the new_insets branch.
17784         * Floating.[Ch]: ditto
17785         * LaTeXFeatures.C: ditto
17786         * buffer.C: ditto
17787         * lyxlex_pimpl.C: ditto
17788
17789         * paragraph.C (Last): remove when NEW_INSETS is defined.
17790
17791         * other file: changes because of the above.
17792
17793 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17794
17795         * lyxparagraph.h: rename next to next_, previous to previous_,
17796         make them private for NEW_INSETS. Rename Next() to next(),
17797         Previous() to previous().
17798
17799         * other files: changes because of the above.
17800
17801 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17802
17803         * BufferView.h:
17804         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17805         problem.
17806
17807 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17808
17809         * main.C (main): pass lyx_localedir to gettext_init().
17810
17811         * gettext.h: remove locale_init and gettext_init macros
17812
17813         * gettext.C (locale_init): new function
17814         (gettext_init): new function
17815
17816         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17817         setlocale().
17818
17819 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17820
17821         * Moved credits to frontends:
17822         * credits.[Ch]: removed
17823         * credits_form.[Ch]: removed
17824         * lyx_gui_misc.C: remove credits stuff
17825         * Makefile.am:
17826
17827 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17828
17829         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17830
17831         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17832         unneeded destructor.
17833
17834         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17835         a standalone pointer again.
17836
17837         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17838
17839 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17840
17841         * Makefile.am:
17842         * filedlg.h:
17843         * filedlg.C:
17844         * LyXAction.C:
17845         * ToolbarDefaults.C:
17846         * bufferlist.C:
17847         * commandtags.h:
17848         * form1.C:
17849         * form1.h:
17850         * lyx_cb.C:
17851         * lyx_cb.h:
17852         * lyxfunc.h:
17853         * lyxfunc.C:
17854         * BufferView_pimpl.C: use new file dialog in GUII
17855
17856         * lyx_cb.h:
17857         * lyx_cb.C: remove LayoutsCB to Toolbar
17858
17859 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17860
17861         * ShareContainer.h (get): add std:: qualifier
17862
17863 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17864
17865         * ShareContainer.h: define a proper ShareContainer::value_type
17866         type (and use typename to please compaq cxx)
17867
17868 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17869
17870         * lyxparagraph.h: move serveral local vars to
17871         ParameterStruct/ParagraphParameters., use ShareContainer in
17872         FontTable., make vars in FontTable private and add getter and
17873         setter.
17874
17875         * paragraph.C: changes because of the above.
17876
17877         * lyxfont.h: remove copy constructor and copy assignment. (the
17878         default ones is ok), move number inside FontBits. move inlines to
17879         lyxfont.C
17880
17881         * lyxfont.C: add number to initializaton of statics, move several
17882         inlines here. constify several local vars. some whitespace
17883         cleanup. Dont hide outerscope variables.
17884
17885         * Spacing.h: add two new constructors to match the set methods.
17886
17887         * ShareContainer.h: new file, will perhaps be moved to support
17888
17889         * ParameterStruct.h: new file
17890
17891         * ParagraphParameters.h: new file
17892
17893         * ParagraphParameters.C: new file
17894
17895         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17896         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17897
17898         * BufferView_pimpl.C: ParagraphParameter changes.
17899         * buffer.C: Likewise.
17900         * bufferview_funcs.C: Likewise.
17901         * text.C: Likewise.
17902         * text2.C: Likewise.
17903
17904 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17905
17906         * lyxfind.C (LyXReplace): do not redefine default argument in
17907         implementation.
17908         (IsStringInText): ditto
17909         (SearchForward): ditto
17910         (SearchBackward): ditto
17911
17912 2001-03-06  Juergen Vigna  <jug@sad.it>
17913
17914         * lyxfind.C (IsStringInText): put parentes around expressions.
17915
17916 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17917
17918         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17919
17920 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17921
17922         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17923
17924         * stl_string_fwd.h: add comment
17925
17926         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17927
17928         * tabular.h:
17929         * tabular.C: remove unused DocBook methods
17930
17931         * intl.C:
17932         * language.C:
17933         * paragraph.C:
17934         * buffer.C:
17935         killed DO_USE_DEFAULT_LANGUAGE
17936
17937 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17938
17939         * lyx_gui.C: do not include language.h.
17940
17941         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17942         arguments in function implementation.
17943
17944 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17945
17946         * BufferView_pimpl.C: add <ctime>
17947
17948 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17949
17950         * BufferView_pimpl.C: add using std::find_if
17951
17952 2001-02-27  José Matos  <jamatos@fep.up.pt>
17953
17954         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17955         by OnlyPath.
17956
17957 2001-02-11  José Matos  <jamatos@fep.up.pt>
17958
17959         * buffer.C (makeDocBookFile): command styles now have a parameter as
17960         "title" by default.
17961
17962 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17963
17964         * layout_forms.[Ch]: removed
17965         * lyx_cb.[Ch]: out character
17966         * lyx_gui.C: out character
17967         * lyx_gui_misc.C: out character
17968         * bufferview_funcs.C: : out character,
17969         added toggleall as parameter in ToggleAndShow
17970
17971 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17972
17973         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17974
17975         * text2.C (SetCurrentFont): Disable number property at boundary.
17976
17977 2001-02-26  Juergen Vigna  <jug@sad.it>
17978
17979         * lyxfunc.C (getStatus): added a string argument override function so
17980         that this is correctly called from LyXFunc::Dispatch if it contains a
17981         do_not_use_argument which is used!
17982         (Dispatch): added check for "custom" export and call appropriate func.
17983
17984 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17985
17986         * lyxrc.C: Add language_command_local, language_use_babel and
17987         language_global_options.
17988
17989         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17990
17991         * buffer.C (makeLaTeXFile): Use language_use_babel and
17992         language_global_options.
17993
17994 2001-02-23  Juergen Vigna  <jug@sad.it>
17995
17996         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17997         which works with LyXText and putted it inside BufferView. Here now we
17998         only call for that part the BufferView::Dispatch() function.
17999
18000         * BufferView.C (Dispatch): added.
18001
18002         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18003         functions which needs to use a LyXText over from LyXFunc.
18004         (MenuInsertLyXFile): added
18005         (getInsetByCode): added
18006         (moveCursorUpdate): added
18007         (static TEXT): added
18008
18009 2001-02-22  Juergen Vigna  <jug@sad.it>
18010
18011         * BufferView_pimpl.C (update): call a status update to see if LyXText
18012         needs it.
18013
18014 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18015
18016         * vc-backend.C (revert): implement for CVS
18017         (getLog): implement for CVS
18018
18019 2001-02-20  Juergen Vigna  <jug@sad.it>
18020
18021         * text2.C (ClearSelection): added BufferView param for inset_owner call
18022
18023         * lyxfunc.C (TEXT): added this function and use it instead of
18024         directly owner->view()-text of getLyXText().
18025
18026 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18027
18028         * src/layout_forms.C: out preamble
18029         * src/layout_forms.h: out preamble
18030         * src/lyx_cb.C: out preamble
18031         * src/lyx_cb.h: out preamble
18032         * src/lyx_gui.C: out preamble
18033         * src/lyx_gui_misc.C: out preamble
18034         * src/lyxfunc.C: connect with guii preamble
18035
18036 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18037
18038         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18039
18040 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18041
18042         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18043         whether to run bibtex.
18044
18045 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18046
18047         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18048
18049 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18050
18051         * Makefile.am (lyx_SOURCES): removed bibforms.h
18052
18053         * vspace.h: doxygen
18054
18055         * text.C (GetVisibleRow): make several local vars const
18056
18057         * tabular.C: small cleanup.
18058
18059         * lyxserver.C (callback): use compare instead of strncmp
18060
18061         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18062         inlines to after class or to paragraph.C
18063
18064         * lyxfont.h: remove friend operator!=
18065
18066         * converter.h: move friend bool operator< to non friend and after
18067         class def.
18068
18069         * combox.h: small cleanup
18070
18071         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18072         to inlines after class def.
18073
18074         * buffer.C (pop_tag): use string operations instead of strcmp
18075
18076         * bmtable.c: doxygen, small cleanup
18077
18078         * LaTeX.h: remove friend operator==
18079
18080 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18081
18082         * screen.C:
18083         * lyxrc.[Ch]:
18084         * lyxfunc.C:
18085         * lyxfont.[Ch]:
18086         * lyx_cb.C:
18087         * intl.[Ch]:
18088         * commandtags.h:
18089         * buffer.C:
18090         * WorkArea.[Ch]:
18091         * LyXAction.C:
18092         * BufferView_pimpl.C:
18093         * BufferView.[Ch]: remove cruft
18094
18095 2001-02-14  Juergen Vigna  <jug@sad.it>
18096
18097         * lyxfunc.C: removed #if 0 unused code
18098
18099         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18100
18101         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18102
18103         * text2.C (SetSelection): added a BufferView * parameter
18104
18105 2001-02-13  Juergen Vigna  <jug@sad.it>
18106
18107         * lyxfunc.C (Dispatch): fixed protected blank problem.
18108         * BufferView2.C (protectedBlank): added LyxText * parameter.
18109
18110         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18111         (AppendColumn): same as above for column_info.
18112
18113         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18114         (moveCursorUpdate): use a LyXText param for support of InsetText.
18115
18116         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18117         (tripleClick): ditto
18118
18119         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18120
18121         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18122
18123         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18124
18125         * text2.C (SetSelection): set correct update status if inset_owner
18126         (ToggleFree): ditto
18127
18128 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18129
18130         * tabular.C: remove some commented code.
18131
18132 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18133
18134         * BufferView_pimpl.C: call hideSplash()
18135
18136         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18137
18138         * include_form.h:
18139         * bibforms.h: remove
18140
18141         * lyxfunc.C:
18142         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18143           add LFUN_CHILD_CREATE
18144
18145         * counters.h: fix tiny typo
18146
18147         * lyx_cb.C:
18148         * lyx.h:
18149         * lyx_gui.C:
18150         * lyx.C: move splash to frontends/xforms/
18151
18152         * lyx_gui_misc.C: move Include and Bibform to frontends
18153
18154         * lyxvc.h: clarify comment
18155
18156         * vspace.C: tiny housekeeping
18157
18158 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18159
18160         * text.C (PrepareToPrint): RTL Fix.
18161
18162         * paragraph.C (GetUChar): New method.
18163         (String):  Use GetUChar.
18164
18165         * buffer.C (asciiParagraph): Use GetUChar.
18166
18167 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18168
18169         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18170
18171 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18172
18173         * buffer.h:
18174         * buffer.C: rename to getLogName(), handle
18175           build log / latex log nicely
18176
18177 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18178
18179         * MenuBackend.C:
18180         * MenuBackend.h: remove support for reference menuitem type.
18181
18182 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18183
18184         * BufferView_pimpl.C: housekeeping
18185         * BufferView_pimpl.h:
18186         * LyXView.h:
18187         * Makefile.am:
18188         * Timeout.C:
18189         * Timeout.h:
18190         * minibuffer.h: move Timeout GUI-I
18191
18192 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18193
18194         * lyxrc.C (read): Update converters data-structures.
18195
18196 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18197
18198         * LaTeX.h (operator!=): add operator != for Aux_Info
18199
18200 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18201
18202         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18203
18204         * LaTeXLog.C: deleted, useful code moved to Buffer
18205
18206         * buffer.h:
18207         * buffer.C: new function getLatexLogName()
18208
18209         * lyx_gui_misc.C:
18210         * lyx_gui.C:
18211         * lyxvc.C:
18212         * lyxvc.h:
18213         * lyxfunc.C: use frontends for LaTeX and VC logs
18214
18215 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18216
18217         * LaTeX.h: yet another std:: that Allan forgot.
18218
18219         * Variables.C (set): renamed from isset(), because this clashes
18220         with some HP-UX macros (grr).
18221
18222 2001-02-06  Allan Rae  <rae@lyx.org>
18223
18224         * LaTeX.h: Another bug fix.  Missing std:: this time.
18225
18226 2001-02-04  Allan Rae  <rae@lyx.org>
18227
18228         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18229         floats problem. I've left it commented out because it's not quite
18230         correct.  It should also test that the current object is a table or
18231         figure inset.  But I haven't gotten around to figuring out how to do
18232         that.  I *think* it'll be something like: "table" == inset.type()
18233
18234         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18235         bool.
18236
18237 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18238
18239         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18240         all the citation/databases/styles in the auxilary file.
18241         (run): Rerun latex if there was a babel language error.
18242
18243 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18244
18245         * text.C (Backspace): Preserve the font when changing newline char
18246         with a space.
18247         (BreakParagraph): If the cursor is before a space, delete the space.
18248
18249         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18250
18251 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18252
18253         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18254         new argument (code).
18255         (ChangeCitationsIfUnique): New method.
18256
18257         * paragraph.C (GetPositionOfInset): Handle bibkey.
18258
18259 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18260
18261         * BufferView_pimpl.h: change type of Position::par_pos to
18262         LyXParagraph::size_type.
18263
18264 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18265
18266         * BufferView_pimpl.C (savePosition, restorePosition): Write
18267         messages to minibuffer.
18268
18269 2001-01-28  José Matos  <jamatos@fep.up.pt>
18270
18271         * buffer.C (makeDocBookFile): adds support for document language.
18272         A silly restriction on the name of LatexCommand types where removed.
18273         Added support for CDATA sections, allows to chars unescaped, used
18274         among others in code, to avoid escape < and >.
18275
18276 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18277
18278         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18279         saved positions instrad of a stack. Furthermore, a position is
18280         stored using paragraph id/paragraph position.
18281
18282         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18283         Remove LFUN_REF_BACK.
18284
18285 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18286
18287         * converter.C (dvipdfm_options): New method.
18288
18289 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18290
18291         * vspace.C (isValidLength): Fix for empty input string.
18292
18293 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18294
18295         * LyXAction.C (init): change description of LFUN_FIGURE to
18296         "Insert Graphics"
18297
18298 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18299
18300         * LaTeX.C: add using directive
18301
18302 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18303
18304         * MenuBackend.C (expand): Fix the sorting of the formats.
18305
18306 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18307
18308         * lyx_main.C: tiny error message fix
18309
18310 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18311
18312         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18313         calling fl_initialize(). This fixes the problem with ',' as
18314         decimal separator in text files.
18315
18316 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18317
18318         * trans.C (process): Fix the keymap bug.
18319
18320 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18321
18322         * LaTeX.C (scanAuxFiles): New method. Provides support for
18323         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18324         (scanLogFile) Scan for "run BibTeX" messages.
18325
18326         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18327         OT1 font encoding. Also, load the aecompl package if the ae
18328         package is loaded.
18329
18330         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18331
18332 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18333
18334         * texrow.C (increasePos): turn two error messages into debug
18335         messages.
18336
18337 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18338
18339         * LaTeX.C (scanAux): Handle the \@input macro.
18340         (runBibTeX): Use scanAux().
18341
18342         * language.C (latex_options_): New field.
18343
18344         * LaTeXFeatures.C (getMacros): Add language macros.
18345
18346         * buffer.C (makeLaTeXFile): Small fix.
18347
18348 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18349
18350         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18351
18352         * text2.C: add a using directive.
18353
18354 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18355
18356         * BufferView2.C:
18357         * lyx_gui_misc.h:
18358         * lyxfr1.C:
18359         * lyxfunc.C: kill LyXBell.
18360
18361 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18362
18363         * text.C (IsBoundary): Remove the error message
18364
18365         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18366
18367         * lyxrc.C (setDefaults): Correct initialization value for
18368         font_norm_type.
18369
18370 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18371
18372         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18373         gotoError().
18374
18375         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18376         and GotoNextNote().
18377
18378         * src/LyXAction.C: Added reference-next.
18379
18380         * text.C (InsertChar): Use contains instead of strchr.
18381
18382         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18383
18384 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18385
18386         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18387         alignment commands (when needed).
18388
18389         * text.C (InsertChar): Add ':' to number separator chars.