]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5117a5a8fd13e536b65db1ef7b9c1bd29f3b5cac
[lyx.git] / src / ChangeLog
1 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * BufferView_pimpl.C: comment layout change
4
5 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * LyXAction.C:
8         * lfuns.h:
9         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
10         by bibliography managers (bug 2071).
11
12 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
13
14         * BufferView_pimpl.C (update): choose arguments to update call so
15         that single-par update works most times
16         * text3.C (dispatch): carefully tune updating separately for
17         whole-screen and current-paragraph
18         * rowpainter.C (paintText): 1) replace painting by caching for
19         the two extra paragraphs, because we can;
20         2) suppress greying out of areas below/above drawn area in case of
21         single-par refresh
22         * lyxfunc.C (dispatch): remove superfluous update
23         * LyXAction.[Ch]: introduce SingleParUpdate
24
25 2005-10-05  Angus Leeming  <leeming@lyx.org>
26
27         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
28         always initialised before use.
29
30         * text.C (setHeightOfRow): squash warning about comparison
31         of signed and unsigned types.
32
33 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
34
35         * text.C (cursorX): two fixes involving RtL text drawing
36
37 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
40         items, not only large ones (part of bug 2057)
41
42 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
43
44         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
45         argument, use "newcommand".
46
47 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
48
49         * cursor.C (setSelection): do not open collapsable insets;
50         the insets do by themselves now (autoopen).
51
52 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
53
54         * buffer.C: format is up to 244.
55
56 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
57
58         * text.C (redoParagraph): fix calcultation of inset width wrt 
59         leftMargin (bug 1957).
60
61         * text3.C (dispatch): leave inset to the right when hitting ESC 
62         (bug 2034).
63
64 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * text2.C: 
67         * text.C: 
68         * factory.C:
69         * messages.C: include <boost/current_function.hpp> 
70
71 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
74         when command is internal. (bug 1941)
75
76 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
77
78         * text2.C (cursorRight): do not honor boundary when at the end of
79         a paragraph. (bug 2010 again)
80
81 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
84
85 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
86
87         * rowpainter.C (paintText): fix RtL space width display bug (2029)
88
89 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
90
91         * text2.C (setCursor): remove the unused 'boundary' parameter for
92         the CursorSlice version; adapt the LCursor version.
93
94         * lyxrc.C (write): 
95         * paragraph_pimpl.C (markErased): 
96         * cursor.C (bruteFind2, bruteFond3): fix warnings.
97
98 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
99
100         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
101         as is already done for "chapter".
102
103 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
106         textclass; do not record undo if nothing is changed.
107
108 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
109
110         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
111
112 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
113
114         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
115
116 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
119         combox, it is necessary to search for the topmost paragraph in the
120         cursor stack (bug 1926)
121
122 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
125         end of paragraph. (bug 2010)
126
127 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
128
129         * text.C (leftMargin): check for inInset == 0
130
131 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * text.C (leftMargin): test for insetbase's new neverIndent()
134         bool instead of listing each and every inset that does not
135         wish par indendation.
136
137 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * buffer_funcs.C (setCounter): put the code to compute enum label
140         here (where it belongs).
141
142         * counters.C (enumLabel): move code to buffer_funcs.C.
143
144 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
145
146         * outputparams.[Ch]: store local_font instead of local_language
147         * paragraph.C (simpleTeXOnePar): adapt to the change above
148
149 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
150
151         * buffer_funcs.C:
152         * counters.[Ch]: clean up special code for Hebrew.
153
154 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
157         than 2.
158
159 2005-09-08  Angus Leeming  <leeming@lyx.org>
160
161         * ispell.C:
162         * lyxrc.C: correct grammar describing invocation of the
163         spellchecker.
164
165 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * text.C (read): remove unused variable.
168         (readParToken): remove static Change variable (never good in
169         recursive settings...); add it as a parameter instead.
170
171         * paragraph_pimpl.C (acceptChange): make debug info conditional.
172
173         * metricsinfo.C (PainterInfo): add new member erased_.
174
175         * rowpainter.C (RowPainter): add erased_ member, initialized from
176         PainterInfo. 
177         (paintInset): pass erased_ to Inset::draw.
178
179         * lyxfunc.C (lookupChange): new function. Tells whether change 
180         tracking is disabled at a given postion.
181         (getStatus): disable some actions when in deleted text with change
182         tracking. 
183
184 2005-08-03  John Levon  <levon@movementarian.org>
185         
186         * tabular.C (appendColumn, setMultiColumn): adapt to change to
187         InsetText::clear().
188
189         * paragraph_pimpl.C (markErased): add bool argument and handle it.
190         Also make sure to mark insets recursively.
191         (rejectChange, erase): be recursive
192
193         * paragraph.C (markErased): add bool argument.
194 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * lyxfind.C (findNextChange): tiny cleanup.
197
198         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
199         change tracking with the cursor in an inset; make sure the first
200         change is not skipped.
201
202 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
203
204         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
205         tabularStackDirty to work around bug 1919 (tabular needs
206         to know whether its own cell paste buffer or the one of 
207         texted is newer.
208         * CutAndPaste.C: mark tabular_stack_ clean after copy.
209
210 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
211
212         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
213
214 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
215
216         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
217         use old deleteion algorithm when changetracking is on.
218
219 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
220
221         * messages.C (get): add debug output.
222
223 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
224
225         * text.C (cursorX): fix bug 1965: cursor movement at
226         line end broken in RtL.
227         (drawSelection): fix bug 1970: drawing of single-line 
228         selection broken for RtL.
229
230 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
231
232         bug 465.
233
234         * dociterator.h (clear, push_back, pop_back): change from
235         protected to public.
236
237         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
238         and changed to just return the value of the item depth; take a
239         ParIterator as argument; take the itemdepth at outer nesting level
240         in account if necessary; cleanup and comment the code.
241         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
242         and changed to just return true if reset is needed; take a
243         ParIterator as argument; cleanup and comment the code.
244         (setCounter): adapt to above changes.
245
246 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * text3.C (dispatch): make debug message optional
249
250 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
251
252         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
253         inset. (bug 1963)
254
255 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
258
259 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
260
261         * text.C (insertChar):
262         * text2.C (deleteEmptyParagraphMechanism): take care whether 
263         a blank has been deleted (in change tracking mode) (bug 1254).
264
265 2005-07-20  John Levon  <levon@movementarian.org>
266
267         * text2.C (insertStringAsLines): remove old dubious code,
268         fixing bug 1939.
269
270 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
271
272         * MenuBackend.C (expandToc): use Floating::listName() as title of
273         the floats submenus.
274
275 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
276
277         * toc.[Ch]: Do not use translatable strings (bug 1870).
278
279 2005-07-20  John Levon  <levon@movementarian.org>
280
281         * tabular.C: fix 1748 - setting multicolumn adds
282           left line to the first cell
283
284 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
285
286         bug 1920
287         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
288         pars in one go.
289
290 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
291
292         * messages.C: supress some lyxerr messages
293
294 2005-07-18  Juergen Vigna  <jug@lyx.org>
295
296         * text.C (drawSelection): honor boundary when asking for cursorX.
297
298 2005-07-17  José Matos  <jamatos@fc.up.pt>
299
300         * tabular.C (recalculateMulticolumns): fix handling of one column
301         tables.
302
303 2005-07-17  Juergen Vigna  <jug@lyx.org>
304
305         * text.C (Delete, backspace): fixed so that paragraph with the
306         same layout can be merged by Delete/Backspace.
307
308 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
309
310         * text.C (readParToken): fix spelling.
311
312 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * text2.C: fix counter update for DEPM problem reported by
315         Georg Baum
316
317 2005-07-17  Juergen Vigna  <jug@lyx.org>
318
319         * BufferView_pimpl.C (setBuffer): save/restore the
320         cursor/selection when switching buffers
321
322         * buffer.h: 
323         * buffer.C (saveCursor): add saveDocumentIterators to save the
324         cursor when switching buffer.
325
326 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
327
328         * debug.C: fix typo
329         * buffer.C: clarify message
330         
331 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
332
333         * dociterator.C (DocIterator): fix initialization order
334
335 2005-07-17  Juergen Vigna  <jug@lyx.org>
336
337         * text2.C (cursorHome): 
338         * text.C (drawSelection, cursorX): 
339         * dociterator.C (textRow): add boundary to getRow() call
340
341         * paragraph.C (getRow): implementation of below
342
343         * paragraph.h: add parameter boundary for getRow() function
344
345 2005-07-17  José Matos  <jamatos@fc.up.pt>
346
347         * buffer.C:
348         * bufferparams.[Ch]:
349         * tex-strings.[Ch]: new file format, remove support for a4.sty,
350         a4wide.sty and a4widemargins.
351
352 2005-07-17  Juergen Vigna  <jug@lyx.org>
353
354         * text2.C (cursorLeft): fix one of error
355
356 2005-07-17  Juergen Vigna  <jug@lyx.org>
357
358         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
359                    cursorEnd):
360         more fixes for boundary handling
361
362         * text3.C (dispatch): don't reset cursor if boundary has changed
363         on cursor movement.
364
365 2005-07-16  Juergen Vigna  <jug@lyx.org>
366
367         * text2.C (getColumnNearX): hopefully got it right now,
368         check if we are on column 0 for special case.
369
370 2005-07-16  Juergen Vigna  <jug@lyx.org>
371
372         * text2.C (getColumnNearX): handle special case Newline Inset
373
374         * text.C (singleWidth): Just remove bogus check
375
376 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
377
378         * funcrequest.C (split): avoid reading uninitialized char c
379
380 2005-07-16  José Matos  <jamatos@fc.up.pt>
381
382         * buffer.C:
383         * converter.C:
384         * lyxrc.C:
385         * paper.h:
386         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
387         single papersize variable.
388
389 2005-07-16  Juergen Vigna  <jug@lyx.org>
390
391         * text3.C (dispatch): honor boundary when checking if a cursor
392         movement has been done
393
394         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
395         (setCursor, setCursorIntern): fix cursor movement with boundary
396
397 2005-07-16  Juergen Vigna  <jug@lyx.org>
398
399         * text.C (currentState): output the actual Boundary
400
401 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * factory.C (createInset): fix bad logic for tabular creation
404
405 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
406
407         * lyx_main.C (init): change some reLyX reference to tex2lyx
408
409 2005-07-16  Juergen Vigna  <jug@lyx.org>
410
411         * dociterator.C (DocIterator): initialize boundary
412
413 2005-07-16  Juergen Vigna  <jug@lyx.org>
414
415         * text2.C (getColumnNearX): Consider rows without trailing blank.  
416
417 2005-07-16  André Pönitz  <poenitz@gmx.net>
418
419         * lyxfont.h: Change order of declarations to give the compiler
420         a better chance to inline things
421
422         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
423         questions on unsaved docs for better scritability
424
425 2005-07-16  André Pönitz  <poenitz@gmx.net>
426
427         * paragraph.h (getChar): remove asserts as the same kind of security
428         can be achieved by using a suitable standard library implementation
429         and the function was in the critical path (25.9% in profiler)
430
431 2005-07-16  Juergen Vigna  <jug@lyx.org>
432
433         * cursor.C (bruteFind2):
434         * bufferview_funcs.C (coordOffset): 
435         * text.C (cursorX,cursorY): Handle cursor position after last char
436         in row before a inset which uses a whole row.
437
438 2005-07-15  José Matos <jamatos@lyx.org>
439
440         * output_plaintext.[Ch] (writeFileAscii): control reference title
441         printing.
442         (asciiParagraph): noparbreak was already deal and was incorrectly
443         used.
444
445 2005-07-15  Juergen Vigna <jug@lyx.org>
446
447         * lyxfunc.C (dispatch): save and restore the cursor after a
448         textclass switch.
449
450 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
451
452         * text.C (backspace): bug 806 for empty keepempty paragraphs we
453         change the layout to default before letting DEPM do its thing.
454
455         * paragraph_funcs.C (breakParagraph): dont reset the layout on
456         keepEmpty paragraphs
457
458         * text.C (setCursorFromCoordinates): add a debug statement
459
460         * text2.C (getColumnNearX): bug 1825 make sure that we don't
461         return a pos that is not on the row
462
463         * output_latex.C (TeXDeeper): get rid of potential dereferencing
464         of past the end iterator
465
466 2005-07-14  André Pönitz  <poenitz@gmx.net>
467
468         * undo.C (recordUndoFullBuffer): implement undo for
469         textclass switches
470
471 2005-07-14  André Pönitz  <poenitz@gmx.net>
472
473         * cursor.C (setSelection): open insets when selection is set there
474         to avoid crashs with cold coord cache
475
476 2005-07-14  André Pönitz  <poenitz@gmx.net>
477
478         * trans_mgr.C (insert): move cursor to the right after inserting
479         a char.
480
481 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
482
483         * BufferView_pimpl.C (update): dampen some of the debug blabbering
484         * factory.C (readInset): ditto
485         * text.C, text2.C: ditto
486
487 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * buffer.C: format incremented to 242. There is no file format per
490         se, but the "frenchb" language has been removed from lib/language
491         and has to be translated to "french" by lyx2lyx.
492
493 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
494
495         * cursor_slice.h, dociterator.h: add some documentation
496         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
497
498 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
499
500         * text.C (leftMargin): do not add identation to display() style
501         insets, because they are always centered (bug 1293).
502
503 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
506         formatted_time methods in support/lyxtime.
507
508 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
509
510         * toc.[Ch]: new method getGuiName, which is used by the frontends 
511         to set the toc combo (fixes bug 1870). Make TOC string translatable.
512
513 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
514
515         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
516         StableDocIterator const &)
517         * undo.C (recordUndo): use the above instead of cell.size() comparison
518         (fixes bug 1808; instructed by Andr�.
519
520 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
521
522         * cursor_slice.h: 
523         * dociterator.h: Fix the assert when copying rows/cols in math
524
525 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
526
527         * BufferView_pimpl.C:
528         * LyXAction.C:
529         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
530
531         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
532         (findInset): new functions, refactored from goto Inset that return 
533         the position of a certain inset without setting the buffer's cursor
534         (by Jean-Marc); 
535         (gotoInset): rewrite to call findInset and then set the cursor
536         (by Jean-Marc).
537
538 2005-06-16  Angus Leeming  <leeming@lyx.org>
539
540         * lyxrc.C (output, read): wrap all input and output of paths with
541         calls to os::internal_path and os::external_path, respectively.
542         (output): wrap bind_file inside quotes.
543
544         * format.C (view): enable the viewer to use the '$$s' placeholder.
545
546 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
547
548         * LColor.[Ch] (getFromLaTeXName): new
549
550 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
553
554 2005-06-14  Angus Leeming  <leeming@lyx.org>
555
556         * lyx_main.C (init): ensure that the LyX binary dir is the first
557         element in the PATH on non-POSIX builds.
558
559 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
560
561         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
562
563 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * rowpainter.C (paintInset, paintHebrewComposeChar)
566         (paintArabicComposeChar, paintChars): add a LyXFont argument.
567         (paintChars): use getFontSpan to reduce calls to getFont to a
568         minimum; use Paragraph::lookupChange instead of isXXXText.
569         (paintForeignMark): rename LyXFont argument.
570         (paintFromPos): pass a LyXFont object to the various paintXXX
571         methods.
572
573         * FontIterator.C (FontIterator, operator++): use
574         Paragraph::getFontSpan
575
576         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
577         version that returns the font span as a pair.
578
579 2005-06-09  Angus Leeming  <leeming@lyx.org>
580
581         * converter.C (convert): Don't forget "outfile = real_outfile" as
582         the final step in a conversion where the input and output file names
583         are the same. Otherwise, future conversion steps won't work...
584
585 2005-06-09  Angus Leeming  <leeming@lyx.org>
586
587         * lyxsocket.C: remove stub code as it isn't needed by
588         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
589
590 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
591
592         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
593         effectively disabled -x
594
595 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
596
597         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
598         when it actually makes sense.
599
600 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
601
602         * BufferView_pimpl.C: revert to showCursor in connection with
603         Lars's front-end stack
604
605 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
606
607         * text.C (redoParagraph): move cursor right after a bibitem
608         has been inserted.
609
610         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
611
612 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
613
614         * buffer_funcs.C (bufferErrors): fix computation of the end of an
615         error range.
616
617 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
618
619         * BufferView.[Ch] (update):
620         * BufferView_pimpl.[Ch] (update, metrics):
621         * dimension.h (operator==):
622         * lyxfunc.C (dispatch):
623         * metricsinfo.h (ViewMetricsInfo):
624         * rowpainter.C (paintText):
625         * lyxtext.h:
626         * text.C (redoParagraph):
627         * text3.C (dispatch): Make LyX only repaint current paragraph in
628         case of character insert --> speedup. Also fix cursor draw
629         artifacts
630
631 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
632
633         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
634         avoid a crash (bug 1891)
635
636 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
637
638         Fix bug 1892:
639
640         * text2.C (getStringToIndex): constify cur argument.
641
642         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
643         argument has been given
644         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
645         try to invoke LFUN_INSET_APPLY).
646
647         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
648         if no inset was created by doInsertInset
649         (doInsertInset): return true if an inset has been inserted.
650
651 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * vspace.C (asGUIName): new method. A version of the space
654         suitable for showing on screen.
655
656 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
657
658         * MenuBackend.C:
659         * lyxrc.C: rename "ASCII" to "Plain Text"
660
661 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * buffer_funcs.C (expandLabel): take a Buffer as argument;
664         translate the labelstring.
665         (setCounter): translate labelstring as needed.
666
667         * output_docbook.C (makeCommand): fix expandLabel invokation
668
669 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
670
671         * BufferView.C: fix dialog title
672
673 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
674
675         * lyx_main.C (priv_exec): fix logic error with help from Angus
676         * lyx_main.C (parse_execute): set is_gui = false and remove now
677         obsolete comment about a segfault
678
679 2005-05-18  Angus Leeming  <leeming@lyx.org>
680
681         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
682
683 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
684
685         * tabular.[hC]: added setCellInset to fix tabular paste.
686
687 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
688
689         * buffer.C (save): check if destination is writable before trying
690         to copy a file
691
692 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
693
694         * BufferView_pimpl.C (update): fix processEvents -caused update
695         recursion bug
696
697 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * buffer_funcs.C (setCounter): fix test for numbering of
700         environments.
701
702         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
703         depth correctly; use optional argument when it exists
704
705         * lyxtextclass.C: remove unused MaxCounterTags enum
706         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
707         (max_toclevel, min_toclevel): new methods.
708
709         * MenuBackend.C (expandToc2): fix case where depth is smaller than
710         the smallest depth in toc.
711
712         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
713         layouts that should not appear in a table of contents.
714
715 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
716
717         * cursor.h (undispatched, noUpdate): add comments from Andr�
718 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
719
720         * lfuns.h:
721         * LyXAction.C:
722         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
723
724 2005-05-07  André Pönitz  <poenitz@gmx.net>
725
726         * cursor.[Ch] (leaveInset): new function
727
728 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
729
730         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
731
732 2005-05-04  Angus Leeming  <leeming@lyx.org>
733
734         * lyxfunc.C (getStatus): disable the spell checker dialog if
735         none of USE_[AIP]SPELL are defined.
736
737 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
738
739         * tabular.C (setWidthOfCell): remove obsolete comment
740
741 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
742
743         * paragraph.C (bibitem):
744         * buffer_funcs.C (setCounter):
745         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
746
747 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
748
749         * text3.C (getStatus): immediately return after setOnOff
750
751         * rowpainter.C: fix drawing of appendix start
752
753 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
754
755         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
756         SwitchBetweenClasses and remove the unused return value.
757         Handle character styles, too
758
759 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
760
761         * factory.C (createInset): handle undefined character styles
762
763 2005-05-02  Angus Leeming  <leeming@lyx.org>
764
765         * buffer.C: protect the #include of utime.h with a preprocessor
766         guard.
767
768 2005-05-02  Angus Leeming  <leeming@lyx.org>
769
770         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
771         function so that auto-saving works, albeit in a blocking manner.
772
773         * Makefile.am: make compilation of the client sub directory, of
774         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
775         on conditionals set at configure time.
776
777         * SpellBase.[Ch]: no longer an abstract base class. Instead,
778         it can be compiled in its own right but has no-op functionality.
779
780         * aspell.C, pspell.C: remove preprocessor guards. The files should
781         be compiled only if the necessary functionality exists.
782
783         * lyxserver.C, lyxsocket.C: disable on Windows.
784
785 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
786
787         * text.C (leftMargin): Fix the parindent use bug (1764)
788         by dirty trick
789
790 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
791
792         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
793         argument.
794
795 2005-04-25  Angus Leeming  <leeming@lyx.org>
796
797         * Bidi.[Ch]:
798         * coordcache.[Ch]:
799         * ispell.C:
800         * lyxserver.C:
801         * mover.C:
802         * pch.h:
803         include <config.h> in .C files, not .h ones.
804         add licence blurb.
805         protect headers inside preprocessor guards.
806
807 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
808
809         * FuncStatus.h (StatusCodes): document
810
811 2005-04-21  André Pönitz  <poenitz@gmx.net>
812
813         * FuncStatus.h (enabled, onoff): document
814
815 2005-04-19  Angus Leeming  <leeming@lyx.org>
816
817         * BufferView_pimpl.C (cursorToggle): no longer test whether
818         any child processes have been reaped before calling
819         handleCompletedProcesses().
820
821 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
822
823         * text3.C (dispatch): fix, finally fix, the language problem in
824         new lyxtexts, without disabling on-the-fly font changes (Helge's
825         bug report)
826
827 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
828
829         * text3.C (dispatch): set cursor on double/triple click events
830         (bug 1811)
831
832 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
833
834         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
835         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
836
837         * rowpainter.C (paintFirst): simplify the code a little bit. In
838         particular, remove the test for secnumdepth.
839         * text.C (setHeightOfRow): only allocate space for chapter number
840         when updateCounters provided an actual label, instead of looking
841         at secnumdepth directly.
842
843         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
844
845         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
846         paragraphs when secnumdepth is large enough or, for environments,
847         when they are not the first in a sequence.
848
849 2005-04-17  Angus Leeming  <leeming@lyx.org>
850
851         * buffer.C (makeLaTeXFile): replace code to manipulate a path
852         containing space and '~' characters with a call to latex_path().
853
854 2005-04-17  Angus Leeming  <leeming@lyx.org>
855
856         * converter.C (convert): protect all args of convertDefault.sh
857         script with quotes.
858
859 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
860
861         * text3.C (dispatch): change the layout to "Caption" after inserting
862         a float.
863
864 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * text3.C (dispatch): fix language problem in newly created
867         textinsets (and main text) in non-english docs
868
869 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
870
871         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
872         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
873         * text3.C (getStatus): disable LFUN_INSET_MODIFY
874
875 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
876
877         * lyxtext.h:
878         * text.C (metrics):
879         * text2.C (getFont):
880         * rowpainter.C (getFont): Fix metrics bug introduced by inset
881         fonts fix
882
883 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
884
885         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
886         output of \item arguments without trailing text.
887
888 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
889
890         * FontIterator.C (operator*): avoid a copy of the font.
891
892 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
893
894         * rowpainter.C (getFont): fix language bug from previous fix
895
896 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
897
898         * rowpainter.C (RowPainter, getFont): fix font inside inset
899         (bugs 1766, 1809)
900
901 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
902
903         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
904         preventing inserted font, deco, delim insets jumping to start of
905         surrounding inset.
906
907 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
908
909         * lyxfunc.C (dispatch): translate message before sending it to the
910         minibuffer.
911
912 2005-03-29  Angus Leeming  <leeming@lyx.org>
913
914         * lyx_main.C (priv_exec): call os::internal_path on each file passed
915         to LyX on the command line.
916
917 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
918
919         * vc-backend.C: use QuoteName to protect file names wherever
920         necessary.
921
922 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * buffer.[Ch]:
925         * BranchList.h: fix bugs 1844,1845: document settings don't
926         stick
927
928 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * lyxrc.C (setDefaults, read, output, getDescription): add support
931         for tex_allows_spaces.
932
933         * exporter.C (Export): allows files in directory containing spaces
934         if tex_allows_spaces is true.
935
936         * buffer.C (makeLaTeXFile): if the document path contains spaces,
937         output it in double quotes.
938
939 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
940
941         * rowpainter.C: use default text height for drawing change tracker
942         strikeout lines.
943
944 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
945
946         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
947
948 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
949
950         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
951         directory is missing.
952
953 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * text2.C: fixed the fix, extended to other case.
956
957 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
958
959         * text2.C: fix for cursor up/down stuck in math [bug 1792]
960
961 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
962
963         * text2.C (cursorUp): get rid of a crash
964         * text.C (x2pos): add an assert
965
966 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * lyxfunc.C (getStatus): fix warning when assertions are disabled
969
970         * text3.C:
971         * lyxfunc.C:
972         * dociterator.C: include <boost/current_function.hpp>, which is
973         needed when assertions are disabled.
974
975 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
976
977         * text2.C: fix for stuck cursor when traversing two
978         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
979
980 2005-02-25  Andreas Vox  <avox@arcor.de>
981
982         * output_docbook.C (makeParagraph): suppress trailing newline
983         after a run of paragraphs
984
985 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
986
987         * paragraph.C: fix for confused change tracker when pasting
988         text that begins with a lineseparator. [bug 1827]
989         (setChange(0, Change::INSERTED);)
990
991         * paragraph_funcs.C: fix for lost changes on triple-paste
992         in change tracking mode [bug 1827] (par.setChange()).
993
994 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * text2.C (updateCounters, setCounter, expandLabel): move to
997         buffer_funcs.
998
999         * buffer_funcs.C (updateCounters): turn into a free standing
1000         function and add a buffer parameter. Remove dead code for tracking
1001         labelstring change.
1002         (setCounter): change into a free-standing function which gets a
1003         dociterator as argument. Use this iterator to fix captions in a
1004         simple way. When no float is found above the caption, use the
1005         labelstring of the caption layout as default.
1006
1007         * text.C (breakParagraph, backspace):
1008         * text2.C (init, setLayout, changeDepth):
1009         * text3.C (dispatch):
1010         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1011         updateCounters.
1012
1013         * dociterator.C (forwardPar): make it much faster by calling
1014         forwardPos() only when really necessary.
1015
1016         * output_docbook.C (makeCommand): adapt to expandLabel move.
1017
1018         * cursor.C: remove unused variable
1019
1020 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1021
1022         * paragraph_funcs.C: fix crash when pasting insets in change
1023         tracking mode [bug 1277] (honour change type in moveItem).
1024
1025 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1026
1027         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1028
1029 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * BufferView.C (setCursor): change to use a DocIterator.
1032         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1033         (putSelectionAt): adapt to BufferView::setCursor change.
1034
1035         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1036         moved here from LyXText and rewritten to use proper cursor
1037         methods. Fixes bug 1787, 616 and 835.
1038
1039         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1040         when inside an inset (part of bug 781).
1041         (dispatch): adapt to change of BufferView::setCursor.
1042         (getStatus, dispatch): handle LFUN_GOTOERROR,
1043         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1044
1045         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1046         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1047         * text3.C (gotoNextInset, gotoInset): removed.
1048
1049 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1052
1053 2005-02-15  Angus Leeming  <leeming@lyx.org>
1054
1055         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1056         can be used meaningfully in a comparison.
1057
1058 2005-02-13  André Pönitz  <poenitz@gmx.net>
1059
1060         * bufferview_funcs.C (coordOffset): improve cursor drawing
1061
1062 2005-02-13  André Pönitz  <poenitz@gmx.net>
1063
1064         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1065         * Cursor.C (dispatch): use fixIfBroken
1066         * lyxfunc.C (getStatus): use fixIfBroken
1067
1068 2005-02-15  Angus Leeming  <leeming@lyx.org>
1069
1070         * lyx_main.C (error_handler):
1071         * lyxfunc.C:
1072         * lyxrc.C (setDefaults):
1073         s/GetEnv/getEnv/.
1074         #include "environment.h".
1075
1076         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1077
1078 2005-02-15  Angus Leeming  <leeming@lyx.org>
1079
1080         * lyxserver.C (startPipe): squash MSVC warning "local variable
1081         'fd' used without having been initialized".
1082
1083 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1084
1085         * BufferView_pimpl.C: revert accidental commit.
1086
1087 2005-02-14  André Pönitz  <poenitz@gmx.net>
1088
1089         * dociterator.[Ch]: new member forwardPosNoDescent(),
1090         which doesn't enter nested insets.
1091         * text2.C (setFont): use forwardPosNoDescent() instead
1092         of ForwardPos() (fixes crash on font change).
1093
1094 2005-02-13  Angus Leeming  <leeming@lyx.org>
1095
1096         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1097         only if lyxrc.path_prefix is not empty.
1098
1099 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1100
1101         * bufferparams.C (readGraphicsDriver): prevent crash
1102
1103 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1104
1105         * text2.C (setCounter): check for inInset() == 0
1106
1107 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1108
1109         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1110         but use update() to get correct screen display; use convert
1111         instead of istringstream.
1112         (getStatus): handle LFUN_GOTO_PARAGRAPH
1113
1114         * lyxfunc.C (dispatch, getStatus): do not handle
1115         LFUN_GOTO_PARAGRAPH here.
1116
1117 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1118
1119         * text3.C (dispatch): size() -> depth()
1120
1121         * text2.C: remove some debug output
1122
1123         * paragraph.C: ws changes only
1124
1125         * lyxfunc.C (getStatus): size() -> depth()
1126
1127         * dociterator.h (clear, push_back, pop_back, internalData,
1128         operator[], resize, empty): new functions
1129         Make StableDocIterator and operator== be friends. Don't inherit
1130         from std::vector use a privat class variable slices_ instead.
1131         Modify to fit.
1132
1133         * dociterator.C: update because of not inheriting from std::vector
1134         anymore. Call explictly to slices_ instead. Use depth() instead of
1135         size() and top() instead of back()
1136
1137         * cursor.C: chagne size() -> depth and back() -> top(). Also
1138         remove some direct operator[](i) calls in favour of foo[i]
1139         (getFont): remove some dead code
1140
1141         * bufferview_funcs.C (coordOffset): size() -> depth()
1142
1143         * buffer.C: ws changes only
1144
1145         * CutAndPaste.C (eraseSelection): back() -> top()
1146
1147         * BufferView_pimpl.C (selectionRequested): back() -> top()
1148
1149         * BufferView.C (setCursor): size() -> depth()
1150
1151 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1152
1153         * text3.C (cursorPrevious): return true if depm changed something
1154         (cursorNext): ditto
1155         (dispatch): rename sl to oldTopSlice, remove moving use the new
1156         NoUpdate func attrib instead. Make sure that needsUpdate is set
1157         for function that have NoUpdate, but where depm might have changed
1158         the buffer anyway.
1159
1160         * text2.C (cursorLeft): make us return true if depm changed
1161         something
1162         (cursorRight): ditto
1163         (cursorUpParagraph): ditto
1164         (curosrDownParagraph): ditto
1165         (cursorUp, cursorDown): ditto, make sure to read comments in code
1166         (deleteEmptyParagraphMechanism): remove an assert, also return
1167         true if just a single char was deleted.
1168
1169         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1170         cursor that we modify, to avoid modifying an active cursor before
1171         we call setCursor. This allows depm to run. Also return true if
1172         depm deleted something.
1173
1174         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1175         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1176         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1177         something was changed in the buffer because of them (ie. depm run)
1178
1179         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1180         debug messages. Make update by default be false. Make sure that
1181         the result of update is retained throught several calls down to
1182         dispatch.
1183
1184         * LyXAction.h: add a new func_attrib: NoUpdate
1185
1186         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1187         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1188         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1189         and LFUN_WORDLEFT
1190         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1191
1192 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1195         bv_->owner(), bv_->buffer() by direct references to the private
1196         members.
1197         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1198         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1199         (fitCursor): center() is in BufferView::Pimpl.
1200         (getStatus, trackChanges, dispatch): no need for a temporary buf
1201         variable
1202         (fitCursor, workAreaDispatch): use workarea().workheight()
1203
1204 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1205
1206         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1207
1208 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1209
1210         * buffer.C: format up to 241.
1211         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1212         break if pasting into ERT
1213         * lyxfunc.C (getStatus): suppress mathpanel and
1214         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1215
1216 2005-02-01  Angus Leeming  <leeming@lyx.org>
1217
1218         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1219
1220 2005-02-01  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1223         calling fs::is_directory().
1224
1225 2005-01-31  Angus Leeming  <leeming@lyx.org>
1226
1227         * lyx_main.C (priv_exec): specify explicitly the relative location
1228         of the top level build directory when run in-place.
1229
1230 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1233         LyXText containing the cursor, not the top-level one.
1234
1235         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1236         true.
1237         (insertStringAsLines): rename par to pit; use temporary variable
1238         par to hold a Paragraph; do not store par.layout() in a variable,
1239         since the pointer may die when breaking paragraphs; pass pars to
1240         breakParagraph() instead of Buffer::paragraphs().
1241
1242 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1243
1244         * lyxlex_pimpl.h: #include <fstream>.
1245
1246         * BufferView.[Ch] (getLyXText): add a const version.
1247
1248         * BufferView_pimpl.C: add debug aids.
1249
1250         * RowList_fwd.h:
1251         * buffer.h:
1252         * lyxrow.h:
1253         * paragraph_funcs.h: add commentary explaining what the class does.
1254
1255
1256         * coordcache.[Ch]: add lots of commentary.
1257         (startUpdating, doneUpdating): debug aids.
1258         (arrays, insets, parPos, getParPos): accessors to private data.
1259
1260         * cursor_slice.[Ch] (text): add a const version.
1261         * dociterator.[Ch] (text, innerText): add const versions.
1262
1263         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1264         bool.
1265
1266         * paragraph.C (getRow, pos2ros): add asserts.
1267
1268         * paragraph.h: add commentary. Lots of.
1269
1270         * paragraph.[Ch] (metrucs, draw): removed.
1271
1272         * cursor.C:
1273         * rowpainter.[Ch]: const-correct changes.
1274
1275         * text.C: various obvious clean-ups. Removal of ancient cruft.
1276         Bug fixes, even.
1277
1278 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1279
1280         * vc-backend.C (find_file): rewrite to use boost.filesystem
1281         (scanMaster): ditto
1282
1283         * main.C (main): set default name check for boost.filesystem to
1284         no check
1285
1286         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1287         (open): ditto
1288         (doImport): ditto
1289         (actOnUpdatedPrefs): ditto
1290
1291         * lyx_main.C (init): rewrite to use boost.filesystem
1292         (queryUserLyXDir): ditto
1293
1294         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1295         (getContentsOfAsciiFile): ditto
1296
1297         * lastfiles.C (readFile): rewrite to use boost.filesystem
1298
1299         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1300
1301         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1302         (loadLyXFile): ditto
1303
1304         * buffer.C (Buffer): adjust for destroydir
1305         (getLogName): rewrite to use boost.filesystem
1306         (setFileName): ditto
1307         (save): use fs::copy_file (from fs_extras)
1308
1309         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1310
1311         * LaTeX.C (run): rewrite to use boost.filesystem
1312         (scanAuxFiles): ditto
1313         (handleFoundFile): ditto
1314
1315 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1316
1317         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1318
1319         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1320
1321 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1322
1323         * lyxlayout.[Ch]: change some vars from float to double
1324
1325         * buffer.C (readFile): make a local var const
1326
1327         * Several files: use convert<> instead of atoi,strToXXX and friends
1328
1329 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1330
1331         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1332         holds the contents of packages.lst. New functions getAvailable
1333         and isAvailable to parse and check that list, resp.
1334
1335         * LyXAction.C:
1336         * lfuns.h:
1337         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1338
1339         * bufferparams.[Ch]: new param output_changes.
1340
1341         * Buffer.C: increase file format to 240.
1342         Use output_changes and isVailable.
1343
1344         * changes.[Ch]:
1345         * paragraph.C:
1346         * paragraph_pimpl.C: Use output_changes and isVailable.
1347
1348 2005-01-23  Angus Leeming  <leeming@lyx.org>
1349
1350         * output_latex.C: #include "insetbibitem.h", rather than
1351         forward declare function bibitemWidest.
1352
1353 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1354
1355         * lyx_main.C (init): make it compile on the Mac.
1356
1357 2005-01-20  Angus Leeming  <leeming@lyx.org>
1358
1359         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1360         (setLyXMisc): (char string literal) != (char string literal) is
1361         performing a comparison on the addresses. Convert one operand
1362         explicitly to string to guarantee expected behaviour.
1363         From MSVC warning.
1364
1365 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1366
1367         * buffer.C:
1368         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1369
1370         * output_plaintext.C: remove unneeded #include gzstream.h.
1371
1372 2005-01-20  Angus Leeming  <leeming@lyx.org>
1373
1374         * SpellBase.h: rename some of the elements of the Result enum.
1375
1376         * aspell_local.h:
1377         * ispell.h:
1378         * pspell.h:
1379         * aspell.C (check):
1380         * ispell.C (check):
1381         * pspell.C (check): ditto
1382
1383 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1384
1385         * buffer.C: add #include <fstream>.
1386
1387         * lyx_main.C (init): Compile fix.
1388
1389         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1390
1391 2005-01-20  Angus Leeming  <leeming@lyx.org>
1392
1393         * mover.h: change commentary to reflect the changed meaning of
1394         the $$s placeholder.
1395
1396 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1399
1400         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1401
1402 2005-01-20  Angus Leeming  <leeming@lyx.org>
1403
1404         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1405         printing diagnostic data by not dereferecing an iterator past the
1406         end.
1407
1408 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1409
1410         * buffer.C (readHeader): use "&&" rather than "and".
1411
1412         * lyxserver.h (inPipeName, outPipeName): make these const.
1413
1414 2005-01-19  Angus Leeming  <leeming@lyx.org>
1415
1416         * lyx_main.C (error_handler, init): protect SIGHUP with
1417         #ifdef SIGHUP guards.
1418
1419 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1420
1421         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1422
1423 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1424
1425         * text.C (setHeightOfRow): add a margin at the top and bottom of
1426         the document (bug 1761)
1427
1428 2005-01-17  Angus Leeming  <leeming@lyx.org>
1429
1430         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1431         with "python ". Workaround for a brain-dead Windows.
1432
1433 2005-01-16  Angus Leeming  <leeming@lyx.org>
1434
1435         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1436         for MacOSX and Windows to use prependEnvPath.
1437         Strip out the hard-coded block to add elements to the PATH for
1438         MacOSX and replace it with a call to prependEnvPath using the
1439         contents of LyXRC::path_prefix.
1440         (queryUserLyXDir): strip out the code to run reconfigure, instead
1441         returning a boolean indicating the necessity to do so.
1442         (reconfigureUserLyXDir): contains the code to reconfigure the
1443         user support directory. Is now called after the various LyXRC data
1444         files have been read.
1445
1446         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1447
1448 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1449
1450         * converter.[Ch] (convert): take a new parameter try_default. Use
1451         a default converter (imagemagick) if try_default is true.
1452
1453 2005-01-13  Angus Leeming  <leeming@lyx.org>
1454
1455         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1456         os::cygwin_path_fix.
1457         (write): output LyXRC::cygwin_path_fix as necessary.
1458
1459 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1460
1461         * lyxrc.h:
1462         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1463
1464 2005-01-12  Angus Leeming  <leeming@lyx.org>
1465
1466         * lyx_main.C (init): set the PATH variable to include the
1467         directory containing the LyX binary when running on Mac or Windows.
1468
1469 2005-01-12  Angus Leeming  <leeming@lyx.org>
1470
1471         * lyx_main.C (init): remove cruft that purports to set the locale
1472         dir. It doesn't and is not needed anyway.
1473
1474 2005-01-10  Angus Leeming  <leeming@lyx.org>
1475
1476         * Makefile.am: remove the lyx_main.C special casing.
1477
1478         * BufferView_pimpl.C:
1479         * bufferlist.C:
1480         * exporter.C:
1481         * lyx_cb.C:
1482         * lyx_main.C:
1483         * lyxfunc.C:
1484         * messages.C: use support/package.h to provide the paths to the
1485         various directories used by LyX.
1486
1487 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1488
1489         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1490         layout if pasting into an empty paragraph)
1491
1492 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1493
1494         * tex-accent.C: add <string>
1495
1496 2005-01-06  José Matos  <jamatos@lyx.org>
1497
1498         * ParagraphParameters.C (write): put every parameter in its own line.
1499         * paragraph.C (write): reduce number of consecutive empty lines exported.
1500         * buffer.C (LYX_FORMAT): increase file format to 239.
1501
1502 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1503
1504         * everywhere: change support/tostr.h -> support/convert.h
1505
1506         * tabular.C: make all write_attributes templates, tostr -> convert
1507
1508         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1509         (emptyTag): and -> &&, and fix type for ret from getChar
1510         (getFirstWord): fix type for ret from getChar
1511         (onlyText): and -> &&
1512         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1513         getChar
1514
1515         * toc.C (goTo, action):
1516         * text3.C (dispatch):
1517         * text.C (currentState):
1518         * tex-accent.C (DoAccent):
1519         * sgml.C:
1520         * lyxrc.C:
1521         * lyxfunc.C (menuNew):
1522         * lyxfinc.C (replace):
1523         * counters.C (laberItem):
1524         * bufferview_funcs.C (font2string):
1525         * bufferparams.C (writeFile):
1526         * buffer.C (readFile):
1527         * Spacing.C (set):
1528         * MenuBackend.C: tostr -> convert
1529
1530         * LaTeX.C (runMessage): fix format
1531         (scanAuxFiles): tostr -> convert
1532
1533         * BufferView_pimpl.C (savePosition): fix format
1534         (restorePosition): ditto
1535         (dispatch): ditto
1536
1537 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1538
1539         * Spacing.[Ch]: New method getValueAsString().
1540
1541         * Spacing.[Ch]:
1542         * bufferparams.C:
1543         * ParagraphParameters.C:
1544         * lyxlayout.C:
1545         * text.C:
1546         * text3.C: store/read spacing value as string.
1547
1548         * rowpainter.C: change float value (spacing_val) to double.
1549
1550         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1551         broken custom document spacing).
1552
1553 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1556         namespace, also more use of temp references and const
1557
1558         * cursor.[Ch] (getStatus): move to lyxfunc.C
1559
1560         * bufferparams.C: reformat slightly
1561
1562         * bufferview_funcs.C (font2string): constify arg
1563
1564         * changes.C:
1565         * converter.C:
1566         * counters.C:
1567         * bufferlist.C:
1568         * buffer_funcs.C: (many funcs): constify arg on function
1569         definitions, also make more local vars const, also add ASSERTS on
1570         pointer args.
1571
1572         * buffer.C (LYX_FORMAT): put const in correct place
1573         (many funcs): constify arg on function definitions, also make
1574         more local vars const
1575
1576         * aspell_local.h: remove "struct" from typdef setup
1577
1578         * aspell.C (check): make word_ok const
1579         (nextMiss): simplify slightly
1580         (error): ditto
1581
1582 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1583
1584         * lyxrc.[Ch]: store all float values as strings.
1585         use int (not float) for lyxrc.dpi.
1586
1587 2005-01-04  Angus Leeming  <leeming@lyx.org>
1588
1589         * lyx_cb.C (Reconfigure):
1590         * lyx_main.C (queryUserLyXDir):
1591         to run the <system_lyxdir>/configure correctly on Windows, prefix
1592         the path to the script with "sh " when generating the string that
1593         is passed to system().
1594
1595 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1596
1597         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1598
1599 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * lyxlength.C (asLatexString): get rid of setprecision
1602
1603 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1604
1605         * text2.C (setLayout): remove unused variable endpit.
1606         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1607
1608         * paragraph.C (onlyText): remove unused variable style.
1609
1610         * cursor.C (bruteFind): remove unused variables beg and end.
1611
1612         * Makefile.am (dist_noinset_DATA): not needed anymore
1613
1614         * cheaders/*: remove.
1615
1616 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1617
1618         * text3.C: fix LFUN_MATH_MODE.
1619
1620 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * buffer_funcs.C (countWords): new function. Counts words between
1623         two iterators.
1624
1625         * BufferView_pimpl.C (getStatus, dispatch): handle
1626         LFUN_WORDS_COUNT.
1627
1628         * LyXAction.C (init):
1629         * lfuns.h: add LFUN_WORDS_COUNT.
1630
1631 2004-12-19  Angus Leeming  <leeming@lyx.org>
1632
1633         * buffer.C (save): s/slashify_path/internal_path/.
1634
1635 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1636
1637         * lyxfind.C (findChange): do not search for end of pars, because
1638         the change tracker cannot handle this (fixes bug 1719).
1639
1640 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1641
1642         * paragraph.[Ch] (autoBreakRows): remove
1643
1644         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1645
1646         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1647         avoid using the paragraph one
1648
1649         * text2.C (LyXText, insertStringAsLines): adjust
1650
1651 2004-12-16  Angus Leeming  <leeming@lyx.org>
1652
1653         * bufferlist.C:
1654         * lyx_main.C:
1655         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1656
1657 2004-12-14  Angus Leeming  <leeming@lyx.org>
1658
1659         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1660
1661         * bufferlist.C (emergencyWrite):
1662         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1663         GetEnvPath("HOME").
1664
1665 2004-12-14  Angus Leeming  <leeming@lyx.org>
1666
1667         * main.C: (main): no longer pass pointers to os::init.
1668
1669 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1670
1671         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1672         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1673
1674 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1675
1676         * lyxfunc.C:
1677         * text3.C: remove selection_possible global flag
1678
1679 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1680
1681         * text2.C (getSelectionSpan): remove
1682         (changeDepth, changeDepthAllowed): adjust
1683
1684 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1685
1686         * Makefile.am (BOOST_LIBS): use boost variables
1687
1688 2004-12-03  José Matos  <jamatos@lyx.org>
1689
1690         * buffer.C: format up to 238.
1691
1692 2004-12-03  José Matos  <jamatos@lyx.org>
1693
1694         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1695
1696 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1697
1698         * cursor.C (goUpDown): remove call to idxUpDown2
1699
1700 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1701
1702         * tabular.[Ch]: use size_t-like types for cell, row and column
1703         indices
1704
1705 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * lyxfunc.C (getStatus): do not lose previous information when
1708         calling BufferView::getStatus; do not set a default "Command
1709         disabled" message at the beginning, but just before returning.
1710
1711 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1712
1713         * cursor.h (getStatus): add better comment from src/cursor.C
1714
1715 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * text3.C (getStatus): return false when the lfun is not handled
1718
1719 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1720
1721         * broken_headers.h: remove
1722
1723         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1724
1725 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1726
1727         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1728         offset_ref accessors
1729
1730         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1731         top_y_, merge fitcursor with update
1732         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1733         coord scheme
1734         (metrics): introduce
1735         (workAreaDispatch): adapt to new coord scheme
1736         (redoCurrentBuffer): remove
1737
1738         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1739
1740         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1741         CurStatus enum.
1742
1743         * coordcache.[Ch]: add paragraph cache and helpers
1744
1745         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1746         adjust everywhere
1747
1748         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1749         (targetX, setTargetX): introduce
1750
1751         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1752         baseline -> ascent, as the rest of lyx
1753
1754         * lyxtext.h: remove redoParagraphs, updateParPositions,
1755         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1756         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1757         have ascent/descent (ascent is ascent of first par)
1758
1759         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1760         step of BufferView
1761
1762         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1763
1764         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1765
1766         * pariterator.C: fix infinite loop introduced in par->pit renaming
1767
1768         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1769         in insets and LyXText, draw two off-screen paragraphs using
1770         NullPainter, and adapt to new coord scheme
1771
1772         * text.C:
1773         * text2.C:
1774         * text3.C: adapt lfun handlers to the new coord scheme, which
1775         means: there's only guaranteed coord information for onscreen pars
1776         plus one above and one below. This implies that one can do search
1777         from y coordinates in the range [-1,workHeight]
1778
1779 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1780
1781         * rename a lot of InsetOld to InsetBase
1782
1783 2004-11-25  Angus Leeming  <leeming@lyx.org>
1784
1785         * BufferView_pimpl.C:
1786         * lyx_cb.C:
1787         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1788
1789 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1790
1791         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1792         call BufferView::getStatus if LCursor::getStatus did nothing
1793         (setStatusMessage, getStatusMessage): removed.
1794
1795         * FuncStatus.C (message): new methods. Used to provide an error
1796         message indicating why a command is disabled.
1797         (clear, |=, FuncStatus): update for message.
1798
1799 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1800
1801         * lyxfunc.C (dispatch): always call sendDispatchMessage
1802
1803 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1804
1805         * BufferView.C:
1806         * BufferView_pimpl.C:
1807         * CutAndPaste.C:
1808         * FontIterator.C:
1809         * buffer.C:
1810         * cursor.C:
1811         * cursor_slice.[Ch]:
1812         * dociterator.[Ch]:
1813         * lyxfind.C:
1814         * paragraph_funcs.C:
1815         * pariterator.C:
1816         * rowpainter.C:
1817         * text.C:
1818         * text2.C:
1819         * text3.C:
1820         * undo.C: par->pit renaming
1821
1822 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1823
1824         * tabular.C (cellstruct): use initialization, store a shared_ptr
1825         to insettext instead of the insettext directly, adjust to fit.
1826         (operator=):  new function
1827         (swap): new function
1828         (rowstruct): use initialization
1829         (columnstruct): use initialization
1830         (ltType): use initialization
1831
1832
1833         * lyxlength.h (swap): new function
1834
1835         * LColor.[Ch] (operator=): use the common semantics
1836
1837 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * lyxfind.C (findNextChange): update the bufferview after setting
1840         the selection.
1841
1842 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1843
1844         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1845         number of InsetOptArgs has already been inserted.
1846
1847         * output_latex.C (latexOptArgInsets): new method. This outputs all
1848         the optarg insets, up to the limit defined in the layout file.
1849         (optArgInset): removed
1850         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1851
1852 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1853
1854         * paragraph.C (isLetter): remove special spellchecker-related
1855         code; return true also for digits
1856         (isWord, isKomma): remove
1857
1858         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1859         * lyxfind.C (MatchString()): use isLetter instead of isWord
1860
1861 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1862
1863         * pariterator.h (operatir=): comment out un-implemented member
1864         function.
1865
1866         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1867         static cast.
1868
1869 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1870
1871         * lyxfont.h: include LColor.h to satisfy concept checks.
1872
1873 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * pariterator.h: add typdefs for value_type, difference_type,
1876         pointer and reference to satisfy concept checks. Also add default
1877         constructor for same reason.
1878
1879         * pariterator.C (operator++): add post-increment operator to
1880         satisfy concept checks.
1881
1882         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1883         checks.
1884
1885         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1886
1887         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1888         checks. Also rename base_type to BaseType to follow naming
1889         standard better.
1890
1891         * FloatList.h: include Floating.h to satisfy concept checks.
1892
1893 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1894
1895         * lyxfunc.C (getStatus): when the origin of the request is menu or
1896         toolbar, and the LyXView does not have focus, do as if there was
1897         no buffer (bug 1720)
1898
1899         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1900         FuncRequest to individual entries of LFUN_SEQUENCE
1901
1902 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1903
1904         * output_latex.C (TeXOnePar): override runparams.moving_arg
1905         according to the needprotect value of the current paragraph (bug
1906         1739)
1907
1908         * paragraph.C (simpleTeXOnePar): no need to override
1909         runparams.moving_args here
1910
1911 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1912
1913         * vspace.C: fix off-by-one-error, related to fix #1682
1914
1915 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1916
1917         * lengthcommon.C: a more general fix for bug 1682
1918
1919 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1920
1921         * text.C (backspace): fix crash
1922
1923 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1924
1925         * format.[Ch] (getFormatFromFile): new method
1926         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1927
1928 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1931
1932 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1933
1934         * lyxfunc.C (dispatch): remove the verbose argument
1935         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1936         instead
1937
1938         * kbmap.C (defkey): set the origin of func to KEYBOARD
1939
1940         * MenuBackend.C (MenuItem):
1941         * ToolbarBackend.C (add): set the origin of func to UI
1942
1943         * funcrequest.[Ch]: add origin member, which indicates which part
1944         of LyX requests an action
1945
1946 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1947
1948         * converter.C (move): don't lie in the error message
1949         * converter.h (isReachable, move): document
1950
1951 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1952
1953         * buffer.C: remove unused using lyx::support::atoi
1954         * paragraph_funcs.C: ditto
1955
1956 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1957
1958         * bufferlist.C (exists): use bind and equal_to instead of
1959         compare_memfun
1960         (getBuffer): ditto
1961         * lyxtextclasslist.C (NumberOfClass): ditto
1962
1963         * cursor.C (insert): use for_each instead of explicit for loop
1964
1965         * bufferlist.C (getFileNames): use std::transform and
1966         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1967
1968         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1969         for loop
1970
1971         * buffer.C (changeLanguage): use for_each instead of explicit for
1972         loop
1973         (hasParWithID): implement using getParFromID
1974
1975         * LaTeXFeatures.C: ws change only
1976
1977         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1978         to cleanup a bit.
1979
1980         * BufferView_pimpl.C (trackChanges): use for_each instead of
1981         expilicit for loop
1982
1983 2004-11-04  André Pönitz  <poenitz@gmx.net>
1984
1985         * undo.h:
1986         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1987
1988         * dociterator.C (asDocIterator): use hard assert again.
1989
1990 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1991
1992         * lyxlength.C (asLatexString): rewrite so that it does not use
1993         snprintf anymore
1994
1995 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1996
1997         * text3.C (specialChar, dispatch): make sure cursor moves to the
1998         right after inserting an inset
1999
2000 2004-11-02  José Matos  <jamatos@lyx.org>
2001
2002         * output_docbook.C (docbook):
2003         * paragraph.C (getID):
2004         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2005         garantee that the output is always legal.
2006
2007         * tabular.C (docbook):
2008         * outputprams.[Ch]: remove mixed contents.
2009
2010 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2011
2012         * text2.C (setCounter): prevent endless loop
2013
2014 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2015
2016         * exporter.C (copyFile): use the mover instead of support::copy()
2017         * exporter.C (Export): pass format and latex name to copyFile()
2018         * exporter.h (addExternalFile): document
2019         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2020
2021 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2022
2023         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2024
2025 2004-10-30  José Matos  <jamatos@lyx.org>
2026
2027         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2028         text and no inset or font change. This allows to use CDATA
2029         sections just for the whole paragraph.
2030
2031 2004-10-30  José Matos  <jamatos@lyx.org>
2032
2033         * paragraph.C (getFirstWord): remove unused variable.
2034
2035 2004-10-30  José Matos  <jamatos@lyx.org>
2036
2037         * paragraph.C (getFirstWord): the content should always be escaped
2038         there.
2039         (simpleDocBookOnePar):
2040         * output_docbook.C (makeEnvironment): replace reference to CDATA
2041         to style pass_thru.
2042
2043 2004-10-30  José Matos  <jamatos@lyx.org>
2044
2045         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2046
2047 2004-10-30  José Matos  <jamatos@lyx.org>
2048
2049         * output_docbook.C (makeParagraphs):
2050         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2051         standard paragraph has only a given type of content drop the wrapper.
2052
2053 2004-10-29  José Matos  <jamatos@lyx.org>
2054
2055         * output_docbook.C (makeEnvironment):
2056         * sgml.C (openTag):
2057         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2058
2059 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2060
2061         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2062         (cleanID): sanitize any id.
2063
2064 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2065
2066         * buffer.C, lyxlex_pimpl.C:
2067         * lyxlex_pimpl.C (setFile):
2068         s/getExtFromContents/getFormatFromContents/
2069
2070 2004-10-28  José Matos  <jamatos@lyx.org>
2071
2072         * output_docbook.C (makeEnvironment): move id to broadest possible
2073         scope.
2074
2075         * sgml.C (openTag): apply substitution of <> for all attributes.
2076
2077 2004-10-28  José Matos  <jamatos@lyx.org>
2078
2079         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2080         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2081         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2082
2083         * sgml.[Ch]: new version for open and closeTag for paragraph and
2084         for strings. Now they handle the ids of paragraphs.
2085
2086 2004-10-26  Angus Leeming  <leeming@lyx.org>
2087
2088         * Makefile.am: add mover.[Ch].
2089
2090         * converter.C (convert, move): use the new Movers to move external
2091         files to the temp directory.
2092
2093         * lyx_main.C (init): ensure that the global system_movers data
2094         is initialised.
2095
2096         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2097         preferences file.
2098
2099         * mover.[Ch]: new files, defining a Mover as a utility to move an
2100         external file between directories and, if necessary, manipulate this
2101         file using a helper script.
2102
2103 2004-10-25  José Matos  <jamatos@lyx.org>
2104
2105         * output_docbook.C (makeCommand): merge two if's that tested the
2106         same condition.
2107
2108 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * sgml.C (escapeString): fix warning in a better way
2111
2112 2004-10-25  José Matos  <jamatos@lyx.org>
2113
2114         * sgml.C (escapeString): import the require boosts header file for
2115         tie, and avoid a signed unsigned comparison.
2116
2117 2004-10-25  José Matos  <jamatos@lyx.org>
2118
2119         * sgml.h: add #include <string>
2120
2121 2004-10-25  José Matos  <jamatos@lyx.org>
2122
2123         * sgml.[Ch] (escapeString): new function to escape all the string.
2124
2125 2004-10-24  José Matos  <jamatos@lyx.org>
2126
2127         * paragraph.[Ch] (getFirstWord): new function to get the first
2128         word. Useful for description.
2129         (simpleDocBookOnePar): remove depth argument, add another that
2130         says where to start the paragraph.
2131
2132         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2133         use the new functions to fix cleanly the support for descriptions.
2134
2135 2004-10-24  José Matos  <jamatos@lyx.org>
2136
2137         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2138         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2139         * output_linuxdoc.C (linuxdocParagraphs):
2140         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2141         add buffer as argument.
2142
2143 2004-10-24  José Matos  <jamatos@lyx.org>
2144
2145         * output_docbook.C (makeEnvironment, searchEnvironment): place
2146         CDATA inside paragraphs and fix scope for listitems.
2147
2148 2004-10-24  José Matos  <jamatos@lyx.org>
2149
2150         * output_docbook.C: remove using statement for stack.
2151
2152 2004-10-23  José Matos  <jamatos@lyx.org>
2153
2154         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2155         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2156         docbook. The new scheme is recursive and makes use of iterators, the
2157         same as latex export works.
2158         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2159         directly with the paragraph contents. This code was moved up to
2160         output_docbook.C (docbookParagraphs).
2161         * sgml.C (openTag, closeTag): removed unneeded newlines.
2162         (closeEnvTags) removed.
2163
2164 2004-10-23  André Pönitz  <poenitz@gmx.net>
2165
2166         * undo.C (textUndoOrRedo):
2167         * dociterator.C (asDocIterator): work around crash
2168
2169         * cursor.C (getStatus): replace ASSERT by more verbose error message
2170           and manual correction of the problem. Should increase stability
2171           while providing more sensible information.
2172
2173 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2174
2175         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2176
2177         * bufferlist.C (previous, next): new methods
2178
2179         * lfuns.h:
2180         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2181
2182 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2183
2184         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2185         entities to preamble.
2186
2187 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2188
2189         * messages.C (Pimpl): strip off translation context information
2190
2191 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2192
2193         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2194         the cursor is correct (bug 1694)
2195
2196 2004-10-13  José Matos  <jamatos@lyx.org>
2197
2198         * output_docbook.C (docbookParagraphs): fix closing tags in the
2199         end of the document.
2200
2201 2004-10-09  José Matos  <jamatos@lyx.org>
2202
2203         * buffer.C: format up to 237.
2204         * bufferparams.C (write): use tostr to convert booleans to strings.
2205
2206 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2209
2210 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2211
2212         * LaTeX.C: implement use of babel language in xindy.
2213
2214 2004-10-05  José Matos  <jamatos@lyx.org>
2215
2216         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2217         Add new translators to help reading and writing the lyx file.
2218
2219 2004-10-05  José Matos  <jamatos@lyx.org>
2220
2221         * ParagraphParameters.C (read):
2222         * text.C (readParToken): replace nexToken by more appropriate lex
2223         methods.
2224
2225 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2226
2227         * LaTeX.C (runMakeIndex):
2228         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2229         (usually 'makeindex') configurable.
2230
2231         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2232         with a variable rather than with a number.
2233
2234 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2235
2236         * output_latex.C (TeXOnePar): make sure font setting is the first
2237         thing that gets output (and the last at the end). Should fix bug
2238         1404.
2239
2240 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * pch.h: use proper signal include
2243
2244         * LaTeX.h: Use preferred calling of Boost.Signal
2245         * buffer.h: ditto
2246
2247 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2248
2249         * pch.h: dont include <boost/function/function0.hpp>
2250
2251         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2252
2253         * paragraph_pimpl.h: remove usage of ShareContainer
2254
2255         * paragraph_pimpl.C: remove initialization of ShareContainer.
2256
2257 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2258
2259         Fix bug #1666
2260
2261         * BufferView.C (putSelectionAt): change the semantics when
2262         backwards == true: now, this just swaps cursor and anchor wrt the
2263         forward case
2264
2265         * BufferView.h (putSelectionAt): add some documentation
2266
2267         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2268         make sure backwardChar is done at least once (to avoid getting
2269         stuck)
2270         (findNextChange): use putSelectionAt in the forward direction
2271         (operator()): use Paragraph::isWord
2272
2273 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2274
2275         * Spacing.C (set): c_str fix
2276
2277 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2278
2279         * lyx_cb.C (Reconfigure): quote the name of configure script in
2280         case it contains spaces
2281
2282 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2283
2284         * client: new dir
2285
2286         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2287         (BOOST_LIBS): use top_buildir when looking for the file
2288
2289 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2290
2291         * pch.h: do not use include boost/format.hpp, multiple symbols
2292                 will result (gcc bug)
2293
2294
2295 2004-08-23  José Matos  <jamatos@lyx.org>
2296
2297         * bufferparams.C (readToken): fix reading of the author field.
2298
2299 2004-08-20  José Matos  <jamatos@lyx.org>
2300
2301         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2302
2303 2004-08-20  José Matos  <jamatos@lyx.org>
2304
2305         * lyxlex.[Ch] (findToken): remove function.
2306
2307         * ParagraphParameters.C (findToken):
2308         * bufferparams.C (findToken): replace call for previous function
2309         with local copy. This local function has one more argument, the
2310         read string argument.
2311
2312 2004-08-16  José Matos  <jamatos@lyx.org>
2313
2314         * ParagraphParameters.C (write):
2315         * Spacing.C (writeFile):
2316         * bufferparams.C (writeLaTeX):
2317         * lyx_cb.C (Reconfigure):
2318         * paragraph.C (write):
2319         * tabular.C (write): remove unnecessary space at end of line.
2320
2321
2322 2004-08-16  José Matos  <jamatos@lyx.org>
2323
2324         * text.C (readParagraph): remove debug message.
2325
2326 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2327
2328         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2329         crash
2330
2331         * output_plaintext.C (asciiParagraph): set depth correctly
2332
2333         * outputparams.h: add member depth
2334
2335         * paragraph_funcs.C (ownerPar): remove.
2336
2337         * text2.C (setCounter): remove first_pit; comment out some
2338         non-working code that uses ownerPar
2339
2340         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2341         uses ownerPar
2342
2343 2004-08-16  José Matos  <jamatos@lyx.org>
2344
2345         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2346         For the same level of importance use the same chanel to report problems.
2347         (read): add code to deal with \begin_body and \end_body.
2348
2349
2350 2004-08-15  José Matos  <jamatos@lyx.org>
2351
2352         * lyxlex.C (getString): fix comment, buffer::readBody is now
2353         buffer:readDocument.
2354
2355         * tex-strings.C (string_papersize): Default -> default,
2356         Custom -> custom, for consistency with other options.
2357
2358 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * pch.h: new file
2361
2362         * Makefile.am: support pch
2363
2364 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2365
2366         * text.C (readParToken): remove the static LyXFont variable and
2367         pass it as a parameter instead. This fixes a nasty bug where an
2368         inset will be inserted with a bad font in some situations
2369         (readParagraph): adapt
2370
2371         * text2.C (setCounter): reduce number of calls to pars_[pit]
2372
2373         * text.C (singleWidth): add an assert, fix a test
2374
2375         * rowpainter.C (paintText): reduce number of calls to singleWidth
2376
2377         * paragraph.C (isHfill):
2378         (isNewline): ws only
2379
2380 2004-08-14  André Pönitz  <poenitz@gmx.net>
2381
2382         * text.C:
2383         * text2.C:
2384         * rowpainter.C:
2385         * lyxtext.h (several functions): use a Paragraph & argument
2386         instead of par_type
2387
2388 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2391
2392         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2393
2394         * text.C (singleWidth): remove useless test
2395
2396 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2397
2398         * tabular.h: remove bogus comments
2399
2400         * tabular.C (getDescentOfRow):
2401         (isPartOfMultiColumn): add assertions
2402
2403         * lyxlength.C (inPixels): remove #warning
2404
2405 2004-08-14  André Pönitz  <poenitz@gmx.net>
2406
2407         * paragraph.h: inline getChar()
2408
2409         * BufferView.h: remove unused declarations
2410
2411 2004-08-14  José Matos  <jamatos@lyx.org>
2412
2413         * Buffer.[Ch] (readDocument): new name for old readBody.
2414         * Buffer.C: new file format, new keywords: \begin_document,
2415         \begin_header, \begin_body, \end_body.
2416
2417         * bufferparams.C (readToken): replace all calls to lex.nextToken
2418         by lex.next(). Do the same to eatLine except where really needed.
2419
2420         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2421         line when writing to the lyx file.
2422
2423         * output_plaintext.C (asciiParagraph): fix Bibliography style
2424         handling.
2425
2426         * text.C (read): fix end of file handling.
2427
2428 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * MenuBackend.C (Menu::operator[]): new method to access
2431         individual menu items
2432         (Menu::hasFunc): new method. search for an item that corresponds
2433         to a given func
2434         (MenuBackend::specialMenu): new method
2435         (MenuBackend::expand): if a special menu has been set, skip
2436         entries whose func() appears in this menu
2437
2438 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2439
2440         * text3.C: use Debug::DEBUG a bit more
2441
2442         * text.C (leftMargin): try to simplify a tiny bit change var x to
2443         l_margin. Dont output the wide margins always.
2444         (rightMargin): no margin in inner texts
2445
2446         * rowpainter.h (nestMargin): new func
2447         (changebarMargin): new func
2448         (rightMargin): new func
2449
2450         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2451         now functions.
2452         (paintLast): ditto
2453
2454         * factory.C (createInset): modify setDrawFrame
2455
2456         * cursor.C: use Debug::DEBUG a bit more
2457
2458 2004-08-14  André Pönitz  <poenitz@gmx.net>
2459
2460         * coordcache.[Ch]:
2461         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2462         cache for all insets in (at least partially) visible (top-level)
2463         paragraphs.
2464
2465         * BufferView_pimpl.C: reset external coord cache before every update.
2466         This means the coord cache only contains valid entries.
2467
2468 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2469
2470         bug 1096
2471         * BufferView_pimpl.C (getInsetByCode): move function out of class
2472         and change in to a template in anon namespace. Also fix to do what
2473         suits us better.
2474
2475 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2476
2477         bug 1305
2478         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2479         of char
2480         (breakParagraph): rename par to par_offset and use a local
2481         reference. Add code to keep the language over a rebreak.
2482         (breakParagraphConservative): rename par to par_offset, use a
2483         local reference
2484         (mergeParagraph): ditto
2485         (outerHook): ditto
2486         (isFirstInSequence): ditto
2487         (outerFont): rename pit to par_offset
2488
2489         * paragraph.C: ws change
2490         * paragraph.h: ditto
2491         * text3.C: ditto
2492         * text.C: ditto
2493
2494 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2495
2496         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2497         treatment for ']'
2498
2499         * paragraph.C (simpleTeXOnePar): when we have a \item with
2500         optional argument, enclose the argument with curly brackets (in
2501         case it contains a closing square bracket)
2502
2503         * text2.C (editXY):
2504         * text2.C (editXY):
2505         * text3.C (checkInsetHit): constify
2506
2507 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2510         documents (bug 1629)
2511
2512 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         Fix toggling of collapsable insets with the mouse (bug 1558)
2515
2516         * lyxfunc.C (dispatch): adapt to LCursor changes
2517
2518         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2519         make sure that dispatch is not invoked twice
2520
2521         * cursor.C (needsUpdate): new method
2522         (dispatch): return void
2523         (result): new method, to access the DispatchResult of the cursor.
2524
2525 2004-08-13  José Matos  <jamatos@lyx.org>
2526
2527         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2528
2529 2004-08-13  André Pönitz  <poenitz@gmx.net>
2530
2531         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2532
2533         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2534           multiple cells
2535
2536 2004-08-12  André Pönitz  <poenitz@gmx.net>
2537
2538         * text3.C: take out the 'cursor right' form insertInset and only
2539         do it in those places when it is really needed. Fixes crash on
2540         C-m...
2541
2542 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2543
2544         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2545
2546         * BufferView_pimpl.C (setBuffer): initialize the current font of
2547         the underlying LyXText
2548
2549 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2550
2551         * kbsequence.C (print): use UI native formatting for menu
2552         shortcuts
2553
2554         * text.C (insertChar): call Paragraph::insertChar with a font
2555         argument (cosmetic)
2556
2557         * paragraph.C (insertInset, insertChar): the version that takes a
2558         LyXFont argument is now a wrapper around the other one (the
2559         opposite used to be true).
2560
2561         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2562         argument. Font setting is done in Paragraph now.
2563
2564 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2565
2566         * outputparams.h: add new members intitle and lang.
2567
2568         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2569         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2570
2571 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * text3.C (dispatch): remove special handling of button 4 and 5,
2574         it is now taken care of in the frontend code.
2575
2576 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2577
2578         * Spacing.h: add <string> (STLPort compile fix)
2579
2580 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2581
2582         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2583
2584 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2587         to bool.
2588
2589         * converter.C (showMessage): inherit from unary_function, make
2590         operator() const.
2591
2592         * buffer.C (writeFile): initialize retval
2593
2594         * InsetList.h: rename private variable list to list_
2595         * InsetList.[Ch]: adjust accordingly.
2596
2597 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2600         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2601         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2602         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2603         * ParagraphParameters.C, LaTeXFeatures.C: replace
2604         "support/std_sstream.h" with <sstream>
2605
2606 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2609         * lyxsocket.C (LyXServerSocket): ditto
2610         (serverCallback): ditto
2611
2612 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2613
2614         * LaTeXFeatures.C: check release date when loading jurabib.
2615
2616 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * lyxserver.C (startPipe): call register_socket_callback
2619         (endPipe): call unregister_socket_callback
2620
2621 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2624         (LyXServerSocket): register the callback
2625         (LyXServerSocket): unregister the callback
2626         (fd): delete function
2627         (serverCallback): improve error checking and setup the callbacks.
2628         (dataCallback): change arg to fd.
2629         (writeln): new func (copied fro the client socket) used for server
2630         write to client.
2631         (LyXDataSocket): simplify
2632         (~LyXDataSocket): close ann unregiser callback
2633         (server): delete function
2634         (fd): delete function
2635         (readln): small changes, improve some std::string usage
2636         (writeln): constify a bit
2637
2638 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2639
2640         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2641         Qt frontend
2642
2643 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2644
2645         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2646         after it has been populated
2647
2648 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2649
2650         * text2.C (insertInset): move cursor when inserting inset.
2651
2652 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2653
2654         * kbmap.C (findbindings): a couple of new methods. returns a
2655         container of kb_sequence objects. The real work is done by the
2656         private recursive version
2657         (printbindings): uses findbindings to print out a bracketed list
2658         of bindings (renamed from findbinding).
2659
2660         * MenuBackend.C (binding): use kb_keymap::findbindings
2661
2662         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2663
2664 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2665
2666         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2667
2668 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2669
2670         * paragraph.C (isWord): return true on insets that report
2671         isLetter().
2672
2673         * text.C (getWord): use Paragraph::isWord to decide what is in a
2674         word and what is not; fix bug 1609.
2675
2676 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2677
2678         * tex-strings.C: add "none" to string_paperpackages[], fixes
2679         off-by-one-error in the paperpackage selection.
2680
2681         * lyxlex.[Ch]:
2682         * tex-strings.[Ch]: char const * string[n]
2683         -> char const * const string[]
2684
2685 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2686
2687         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2688         command, return early.
2689
2690 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2691
2692         * debug.h: add DEBUG to enum and fix size of ANY.
2693
2694         * debug.C: add support for Debug::DEBUG
2695         (showTags): cast errorTags.level to unsigned int
2696
2697         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2698         (redoCurrentBuffer): ditto
2699         (updateScrollbar): ditto
2700         * cursor.C (dispatch): ditto
2701         * text2.C (setLayout): ditto
2702         (setFont): ditto
2703         (updateCounters): ditto
2704         (editXY): ditto
2705         (deleteEmptyParagraphMechanism): ditto
2706
2707 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2708
2709         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2710         annotations to cleanup the Makefile slightly.
2711
2712 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2713
2714         * lyxrc.C: do not set user_email to a default value but use empty
2715         instead. The entry used to be translated, which does not work
2716         since at the point where lyxrc is constructed there is no
2717         translation service available
2718
2719         * messages.C (getLocaleDir): remove and use directly
2720         lyx_localedir() instead
2721
2722 2004-06-02  Angus Leeming  <leeming@lyx.org>
2723
2724         Fix crash caused by dereferencing null pointer 'exportdata' in
2725         OutputParams by creating a new ExportData variable on the heap,
2726         storing it in a boost::shared_ptr.
2727         The crash was triggered when generating an Instant Preview
2728         of an external inset.
2729
2730         * Makefile.am: add outputparams.C
2731
2732         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2733         (c-tor): allocate memory to it.
2734
2735         * exporter.C (c-tor): associated changes.
2736
2737 2004-06-01  Angus Leeming  <leeming@lyx.org>
2738
2739         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2740         contains data before calling isInset(0). (Bug 1513.)
2741
2742 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2743
2744         * exporter.C (checkOverwrite): new method
2745         * exporter.C (copyFile): new method
2746         * exporter.C (Export): copy referenced files to the document dir
2747         * exporter.[Ch]: new class ExportedFile
2748         * exporter.[Ch]: new class ExportData. Contains currently the
2749         names of referenced external files
2750         * outputparams.h: add exportdata member.
2751
2752 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2753
2754         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2755         version.C-tmp
2756
2757 2004-05-19  Angus Leeming  <leeming@lyx.org>
2758
2759         * LaTeXFeatures.C:
2760         * ToolbarBackend.C:
2761         * bufferparams.C:
2762         * lyxfunc.C: small changes due to the introduction of namespace
2763         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2764
2765 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2766
2767         * text3.C (dispatch): supress update when only moving the cursor
2768         * cursor.C (selHandle): remove commented code
2769
2770 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2771
2772         * paragraph.C (startTeXParParams): correct column count
2773         * CutAndPaste.C (pasteSelection): remove const_cast
2774         * output_docbook.C (docbookParagraphs): remove const_cast
2775         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2776         const_cast and return ParagraphList::const_iterator
2777         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2778         * output_plaintext.C (writeFileAscii): remove const_cast
2779         * paragraph.[Ch] (simpleTeXOnePar): make const
2780         * paragraph_funcs.C (outerPar): use const iterators
2781         * paragraph_pimpl.C (validate): use const iterators
2782         * text.C (setHeightOfRow): use const iterators
2783
2784 2004-05-17  Angus Leeming  <leeming@lyx.org>
2785
2786         * lfuns.h:
2787         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2788
2789         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2790         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2791         if the citation engine has changed.
2792
2793 2004-05-14  José Matos  <jamatos@lyx.org>
2794
2795         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2796         if the textclass does not provide it. Have it different for sgml and
2797         xml.
2798         support the language of document.
2799         * output_docbook.C (docbookParagraphs):
2800         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2801         first anchor as the id of the paragraph, remove special case code.
2802         * sgml.C (escapeChar): escape only < & >.
2803
2804 2004-05-14  Angus Leeming  <leeming@lyx.org>
2805
2806         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2807         dependencies on src/frontends/controllers/biblio.h. Define a
2808         CiteEngine_enum wrapper class to enable the enum to be forward
2809         declared.
2810
2811 2004-05-12  Angus Leeming  <leeming@lyx.org>
2812
2813         * buffer.C: up LYX_FORMAT to 234.
2814         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2815         use_numerical_citations with a single biblio::CiteEngine cite_engine
2816         variable.
2817         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2818
2819 2004-05-13  José Matos  <jamatos@lyx.org>
2820
2821         * converter.h:
2822         * converter.C (Converter, readFlags): add xml member.
2823         * outputparams.h: add XML flavor.
2824         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2825
2826 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2827
2828         * lyxfunc.C (dispatch):
2829         (getStatus): fix handling of LFUN_SEQUENCE
2830
2831 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2832
2833         * debug.C (showLevel): do not forget the end-of-line marker
2834
2835 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2836
2837         * kbmap.C (read): do not stop parsing a bind file when an error
2838         occurs (bug 1575)
2839
2840 2004-04-29  Angus Leeming  <leeming@lyx.org>
2841
2842         * cursor.C:
2843         * factory.C:
2844         * pariterator.C:
2845         * text2.C: wrap a bunch of #warning statements
2846         inside #ifdef WITH_WARNINGS blocks.
2847
2848 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2849
2850         * buffer.C: increment format to 233.
2851
2852 2004-04-28  Angus Leeming  <leeming@lyx.org>
2853
2854         * BufferView_pimpl.C:
2855         * lyxfunc.C:
2856         * text3.C:
2857         s/updateToolbar()/updateToolbars()/
2858         s/Toolbar.h/Toolbars.h/
2859
2860 2004-04-28  Angus Leeming  <leeming@lyx.org>
2861
2862         * BufferView.[Ch] (c-tor):
2863         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2864         No longer passes these data to the WorkArea generator.
2865
2866 2004-04-28  Angus Leeming  <leeming@lyx.org>
2867
2868         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2869
2870 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2871
2872         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2873
2874 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * output_latex.C (TeXEnvironment): make sure that there is a line
2877         break before \end{foo} for the last paragraph of a document
2878         (TeXOnePar): if the paragraph is at the end of the document (or
2879         inset) and the language has to be reset, then make sure that the
2880         line break is _before_ the language command, not after (fixes bug
2881         1225); also make sure that the language reset command is the first
2882         thing after the paragraph (to ensure proper nesting of
2883         environments and thus fix bug 1404)
2884
2885 2004-04-21  John Levon  <levon@movementarian.org>
2886
2887         * ToolbarBackend.h:
2888         * ToolbarBackend.C: make "name" be a programmatic name
2889         and a gui_name field.
2890
2891         * lyxfunc.C: display the minibuffer on M-x
2892
2893 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894
2895         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2896         (bug 1526)
2897
2898 2004-04-19  Angus Leeming  <leeming@lyx.org>
2899
2900         * BufferView_pimpl.C (setBuffer): changed preview interface.
2901
2902         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2903         possible values.
2904
2905 2004-04-19  John Levon  <levon@movementarian.org>
2906
2907         * BufferView_pimpl.C:
2908         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2909
2910 2004-04-05  Angus Leeming  <leeming@lyx.org>
2911
2912         * text.C (redoParagraphs): add call to updateCounters(), thereby
2913         fixing the missing "Figure #:" label from the caption of a
2914         figure float.
2915
2916 2004-04-13  Angus Leeming  <leeming@lyx.org>
2917
2918         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2919         cursor is clicked out of an inset.
2920
2921 2004-04-13  Angus Leeming  <leeming@lyx.org>
2922
2923         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2924         than an InsetOld one.
2925
2926 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2927
2928         * format.[Ch]: add editor to Format
2929         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2930         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2931
2932 2004-04-08  André Pönitz  <poenitz@gmx.net>
2933
2934         * metricsinfo.h: remove PainterInfo::width member
2935
2936 2004-04-08  Angus Leeming  <leeming@lyx.org>
2937
2938         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2939         "\providecommand" rather than "\newcommand", thereby preventing
2940         clashes with packages that define "\boldsymbol" themselves.
2941         Eg, beamer.
2942
2943 2004-04-08  Angus Leeming  <leeming@lyx.org>
2944
2945         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2946         thereby squashing an unnecessary warning.
2947
2948 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2949
2950         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2951         setBuffer()
2952
2953 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2954
2955         * BufferView.C (setCursor): call redoParagraph (some insets could
2956         have been opened)
2957         (putSelectionAt): remove the 'double update' trick
2958
2959         * BufferView_pimpl.C (fitCursor): call refreshPar
2960         (workAreaDispatch): remove an uneeded update call
2961         (dispatch): remove some manual update calls
2962
2963         * cursor.[Ch]: remove cached_y_, updatePos
2964         (selHandle): set noUpdate when appropriate
2965
2966         * lyxfunc.C (dispatch): track if we need an update
2967
2968         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2969
2970         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2971         (paintSelection): cheap optimization, do not call cursorX when not
2972         needed
2973         (paintPars): change signature
2974         (refreshPar): add
2975         (paintText): adjust
2976         (paintTextInset): adjust
2977
2978         * text.C: adjust
2979
2980 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * lengthcommon.C: compilation fix: remove explicit array size from
2983         unit_name[] and friends
2984
2985 2004-04-05  Angus Leeming  <leeming@lyx.org>
2986
2987         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2988
2989         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2990         present only for the preferences dialog.
2991         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2992
2993 2004-04-05  Angus Leeming  <leeming@lyx.org>
2994
2995         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2996         to enable the frontends to export changes to lyxrc correctly.
2997
2998         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2999
3000 2004-04-07  André Pönitz  <poenitz@gmx.net>
3001
3002         * cursor.[Ch] (selClear, adjust): remove math
3003
3004         * cursor_slice.C: more agressive assert
3005
3006         * lyxfunc.C:
3007         * BufferView_pimpl.C: rework mouse event dispatch
3008
3009         * dociterator.C:
3010         * paragraph.C:
3011         * text2.C:
3012         * text3.C: adjust
3013
3014 2004-04-05  André Pönitz  <poenitz@gmx.net>
3015
3016         * cursor.[Ch] (valign, halign...): remove unneeded functions
3017
3018 2004-04-05  Angus Leeming  <leeming@lyx.org>
3019
3020         * lyxlength.[Ch] (unit_name et al.): const-correct.
3021
3022 2004-04-05  Angus Leeming  <leeming@lyx.org>
3023
3024         * BufferView_pimpl.C:
3025         * buffer.C:
3026         * counters.C:
3027         * cursor.C:
3028         * lyxfunc.C
3029         * paragraph.C:
3030         * pariterator.C:
3031         * text.C:
3032         * text2.C:
3033         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3034
3035 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3036
3037         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3038
3039 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3040
3041         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3042         * BufferView_pimpl.[Ch] (getStatus)
3043         * BufferView.[Ch] (getStatus): add
3044         * lyxfunc.C (getStatus): move lfuns handled in
3045         BufferView::dispatch to te function above
3046         * Cursor.C (setSelection): set selection() = true
3047
3048 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3049
3050         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3051
3052 2004-03-31  Angus Leeming  <leeming@lyx.org>
3053
3054         * lyxfunc.C (dispatch): Fall through to the generic
3055         Dialogs::show("preamble").
3056
3057 2004-03-31  Angus Leeming  <leeming@lyx.org>
3058
3059         * lyxfunc.C (dispatch): Fall through to the generic
3060         Dialogs::show("spellchecker").
3061
3062 2004-03-31  Angus Leeming  <leeming@lyx.org>
3063
3064         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3065         preferences dialog.
3066
3067 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3068
3069         * BufferView.C
3070         * cursor.[Ch]
3071         * dociterator.[Ch]:
3072         * insetiterator.[Ch]:
3073         * lyxfind.C:
3074         * lyxfunc.C:
3075         * pariterator.[Ch]:
3076         * text2.C:
3077         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3078
3079 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3082         insets where we are putting the cursor.
3083
3084 2004-03-31  Angus Leeming  <leeming@lyx.org>
3085
3086         * lfuns.h:
3087         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3088
3089         * lyxrc.[Ch] (read, write): overloaded member functions taking
3090         a std::[io]stream arguments.
3091
3092         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3093
3094 2004-03-31  Angus Leeming  <leeming@lyx.org>
3095
3096         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3097         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3098
3099         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3100         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3101
3102 2004-03-31  Angus Leeming  <leeming@lyx.org>
3103
3104         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3105         the LFUN_ALL_INSETS_TOGGLE code.
3106
3107 2004-03-30  Angus Leeming  <leeming@lyx.org>
3108
3109         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3110         has died. Fall through to the generic Dialogs::show("document").
3111
3112 2004-03-30  Angus Leeming  <leeming@lyx.org>
3113
3114         * lfuns.h:
3115         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3116         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3117
3118         * lyxfunc.C (getStatus, dispatch): define the actions for these
3119         lfuns. Little more than a cut and pste job from ControlDocument.C
3120
3121         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3122
3123 2004-03-30  Angus Leeming  <leeming@lyx.org>
3124
3125         * lfuns.h:
3126         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3127         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3128
3129         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3130         open/closed state of ollapsable insets. Usage:
3131
3132         all-inset-toggle <state> <name>, where
3133         <state> == "open" || "closed" || "toggle" and
3134         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3135
3136         * lyxtext.h, text2.C (toggleInset): removed.
3137
3138         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3139         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3140         now passes LFUN_INSET_TOGGLE to the found inset.
3141
3142         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3143         is now invoked as "all-insets-toggle toggle branch".
3144
3145 2004-03-30  Angus Leeming  <leeming@lyx.org>
3146
3147         * dociterator.C:
3148         * insetiterator.C:
3149         * pariterator.[Ch]: added/corrected header blurb.
3150
3151 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3152
3153         * dociterator.[Ch]: add an inset_ member
3154         (backwardPos): implemented
3155         (backwardPos, forwardPos): use inset_ when the stack is empty.
3156         (doc_iterator_begin, doc_iterator_end): implemented
3157         * pariterator.[Ch]: adjust, add begin, end
3158         * insetiterator.[Ch]: adjust, add begin, end
3159         * cursor.C:
3160         * document.C:
3161         * BufferView.C:
3162         * BufferView_pimpl.C:
3163         * CutAndPaste.C: adjust
3164
3165 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3166
3167         * buffer.C: increment file format to 232.
3168         * LaTeXFeatures.C: add bibtopic package.
3169         * bufferparams.[Ch]: param \use_bibtopic.
3170
3171         * lyxrc.[Ch]: add lyxrc bibtex_command
3172         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3173
3174         * buffer.C: increment file format to 231.
3175
3176 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3177
3178         * dociterator.C: implement forwardPar
3179         * iterators.[Ch]: remove, replaced by
3180         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3181         * BufferView.C:
3182         * BufferView_pimpl.C:
3183         * CutAndPaste.C:
3184         * buffer.C:
3185         * bufferview_funcs.C:
3186         * cursor.C:
3187         * lyxfind.C
3188         * lyxfunc.C
3189         * paragraph_funcs.C
3190         * toc.C:
3191         * Makefile.am: adjust
3192
3193 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3194
3195         * CutAndPaste.C (pasteSelection): fix 2 crashes
3196         (eraseSelection): fix a crash
3197         * paragraph_funcs.C: remove a warning
3198
3199 2004-03-28  Angus Leeming  <leeming@lyx.org>
3200
3201         * lfuns.h:
3202         * LyXAction.C (init): new LFUN_PRINT.
3203
3204         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3205
3206 2004-03-27  Angus Leeming  <leeming@lyx.org>
3207
3208         * lfuns.h:
3209         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3210
3211         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3212
3213 2004-03-27  Angus Leeming  <leeming@lyx.org>
3214
3215         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3216         insetlist always contains non-null pointers to insets.
3217
3218 2004-03-26  Angus Leeming  <leeming@lyx.org>
3219
3220         * src/BufferView_pimpl.C:
3221         * src/CutAndPaste.C:
3222         * src/buffer.C:
3223         * src/iterators.C:
3224         * src/output_plaintext.C:
3225         * src/outputparams.h:
3226         * src/paragraph_funcs.C:
3227         * src/rowpainter.C:
3228         * src/text.C:
3229         * src/text2.C:
3230         * src/frontends/controllers/ControlErrorList.C:
3231         * src/frontends/gtk/FileDialogPrivate.C:
3232         * src/frontends/gtk/GPainter.C:
3233         * src/frontends/gtk/GToolbar.C:
3234         * src/frontends/qt2/QRef.C:
3235         * src/mathed/math_scriptinset.C: squash compiler warnings.
3236
3237 2004-03-26  Angus Leeming  <leeming@lyx.org>
3238
3239         * ispell.C (LaunchIspell::start):
3240         * lyx_cb.C (AutoSaveBuffer::start):
3241         invoke run(DontWait) rather than runNonBlocking().
3242
3243 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3244
3245         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3246
3247 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3248
3249         * kbsequence.C (print): adjust
3250
3251         * kbmap.C (printKeySym): rename and change signature
3252         (printKey): use LyXKeySym::print()
3253
3254 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3255
3256         * undo.C: add using std::advance to compile for stlport
3257
3258 2004-03-24  Angus Leeming  <leeming@lyx.org>
3259
3260         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3261         it leads to a crash when no buffer is present.
3262
3263 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3264             Martin Vermeer  <martin.vermeer@hut.fi>
3265
3266         * lyxfunc.C (dispatch):
3267         * bufferparams.C (readToken): use the new LColor::setColor
3268
3269         * LColor.[Ch] (setColor): new version that takes two strings as
3270         argument and creates a new color entry if necessary
3271
3272 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3273
3274         * buffer.C (makeLaTeXFile): if the main latex file that is
3275         processed is usually a subdocument of some master, then pretend
3276         for a while that it is actually the master
3277
3278 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3279
3280         * buffer.C (getLabelList):
3281         (getBibkeyList): use getMasterBuffer()
3282         (getMasterBuffer): new method. Returns the main document in the
3283         case where one is using included documents.
3284
3285 2004-03-25  André Pönitz  <poenitz@gmx.net>
3286
3287         * Makefile.am:
3288         * iterators.[Ch]:
3289         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3290
3291         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3292
3293         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3294         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3295
3296         * ParameterStruct.h: merge with ParagraphParameters
3297
3298         * lyxtext.h: remove LyXText::parOffset() and getPar()
3299
3300         * text3.C: Remove all 'manual' update calls. We do now one per user
3301         interaction which is completely sufficient.
3302
3303         * Bidi.C:
3304         * BufferView.[Ch]:
3305         * BufferView_pimpl.C:
3306         * FontIterator.[Ch]:
3307         * MenuBackend.C:
3308         * ParagraphParameters.[Ch]:
3309         * buffer.C:
3310         * buffer.h:
3311         * bufferlist.C:
3312         * cursor.[Ch]:
3313         * cursor_slice.[Ch]:
3314         * dociterator.[Ch]:
3315         * errorlist.[Ch]:
3316         * factory.C:
3317         * lfuns.h:
3318         * lyxfind.C:
3319         * lyxfunc.C:
3320         * output_docbook.[Ch]:
3321         * output_latex.[Ch]:
3322         * output_linuxdoc.[Ch]:
3323         * output_plaintext.[Ch]:
3324         * paragraph.[Ch]:
3325         * paragraph_funcs.[Ch]:
3326         * paragraph_pimpl.[Ch]:
3327         * rowpainter.C:
3328         * tabular.[Ch]:
3329         * text.C:
3330         * text2.C:
3331         * toc.C:
3332         * undo.[Ch]: adjust
3333
3334         * frontends/controllers/ControlDocument.C:
3335         * frontends/controllers/ControlErrorList.C:
3336         * frontends/controllers/ControlSpellchecker.C:
3337         * insets/inset.C:
3338         * insets/inset.h:
3339         * insets/insetbase.h:
3340         * insets/insetbibitem.C:
3341         * insets/insetbox.C:
3342         * insets/insetbranch.C:
3343         * insets/insetcaption.C:
3344         * insets/insetcharstyle.C:
3345         * insets/insetcharstyle.h:
3346         * insets/insetcollapsable.C:
3347         * insets/insetcollapsable.h:
3348         * insets/insetert.C:
3349         * insets/insetfloat.C:
3350         * insets/insetfoot.C:
3351         * insets/insetmarginal.C:
3352         * insets/insetnote.C:
3353         * insets/insetoptarg.C:
3354         * insets/insettabular.C:
3355         * insets/insettext.C:
3356         * insets/insettext.h:
3357         * insets/insetwrap.C:
3358         * mathed/math_mboxinset.C:
3359         * mathed/math_nestinset.C:
3360         * mathed/math_scriptinset.C:
3361         * mathed/math_scriptinset.h:
3362         * support/types.h:
3363
3364 2004-03-24  Angus Leeming  <leeming@lyx.org>
3365
3366         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3367         deal with any child processes that have finished but are waiting to
3368         communicate this fact to the rest of LyX.
3369
3370 2004-03-24  Angus Leeming  <leeming@lyx.org>
3371
3372         64-bit compile fixes.
3373
3374         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3375         (c-tor): pass lyx::pos_types rather than ints.
3376
3377         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3378         lyx::pos_type.
3379
3380         * text.C (Delete): compile fix.
3381         (getPar): ensure that function declaration is the same as that in
3382         the header file.
3383
3384 2004-03-23  Angus Leeming  <leeming@lyx.org>
3385
3386         * ispell.C (LaunchIspell):
3387         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3388         a boost::shred_ptr rather than a std::auto_ptr.
3389
3390 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3391
3392         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3393         handle LFUN_FILE_INSERT_*
3394
3395         * lyxrc.C (setDefaults, getDescription, output, read):
3396         * lyxrc.h: remove ps_command
3397
3398 2004-03-22  Angus Leeming  <leeming@lyx.org>
3399
3400         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3401         Ensure that error_handler is processed once only and that all data
3402         is saved before attempting to output any warning messages.
3403
3404         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3405
3406 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3407
3408         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3409
3410 2004-03-19  André Pönitz  <poenitz@gmx.net>
3411
3412         * cursor.[Ch] (reset): take main text inset as argument
3413
3414         * BufferView: adjust
3415         * BufferView_pimpl.C: adjust
3416
3417         * paragraph.[Ch]: fix completely broken operator=()
3418
3419 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3420
3421         * LColor.C (getFromLyXName): make sure that the color name is used
3422         as lowercase.
3423
3424 2004-03-17  Angus Leeming  <leeming@lyx.org>
3425
3426         * lfuns.h:
3427         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3428
3429         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3430         dialog and to kill a forked process.
3431
3432 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3433
3434         * text2.C (setCursorFromCoordinates): fix font problem
3435
3436 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3437
3438         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3439         bogus "rebuild cursor" code
3440
3441 2004-03-11  André Pönitz  <poenitz@gmx.net>
3442
3443         * buffer.[Ch]: use InsetText instead of LyXText as container for
3444         the main lyx text.
3445
3446         * dociterator.[Ch]: drop the BufferView * member which is not needed
3447         anymore after the change to buffer.C
3448
3449         * paragraph_funcs.C:
3450         * text.C:
3451         * text2.C:
3452         * BufferView.[Ch]:
3453         * BufferView_pimpl.[Ch]:
3454         * cursor.[Ch]:
3455         * cursor_slice.[Ch]: adjust
3456
3457         * text3.C: fix bug in mathDispatch
3458
3459 2004-03-08  André Pönitz  <poenitz@gmx.net>
3460
3461         * undo.[Ch]: use 'StableDocumentIterator' as base for
3462         the Undo struct.
3463
3464 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3465
3466         * LaTeXFeatures.C:
3467         * bufferparams.[Ch]: add jurabib support and param.
3468
3469         * LaTeX.C: add FIXME/comment.
3470
3471 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3472
3473         * buffer.C: increment file format to 230.
3474
3475 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3476
3477         * cursor.C (dispatch): avoid infinite loops
3478
3479 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3480
3481         * rowpainter.C (paintSelection): fix x coordinates
3482
3483 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * text.C (rowBreakPoint): fix breaking before displayed insets
3486
3487 2004-03-01  André Pönitz  <poenitz@gmx.net>
3488
3489         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3490
3491         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3492
3493         * Makefile.am:
3494         * BufferView.C:
3495         * BufferView_pimpl.C:
3496         * buffer.C:
3497         * lyxfind.C:
3498         * lyxfunc.C:
3499         * text.C:
3500         * text2.C:
3501         * text3.C: adjust
3502
3503 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3504
3505         * lyxtext.h:
3506         * text.C:
3507         * text2.C:
3508         * rowpainter.C:
3509         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3510         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3511
3512 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3513
3514         * Bidi.[Ch] (computeTables): const correctness
3515         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3516         fill_hfill, fill_label_hfill and x from Row
3517         * lyxtext.h: prepareToPrint returns a RowMetrics
3518         * rowPainter.C: adjust
3519         * text.C (prepareToPrint): use width, not textWidth. adjust
3520         (redoParagraphInternal, cursorX): adjust
3521         * text2.C (getColumnNearX): adjust
3522         (init): put a default value to the top LyXText::width
3523
3524 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3525
3526         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3527
3528 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3529
3530         * lyxtext.h: add FontIterator class
3531
3532         * text.C (FontIterator, operator*, operator->, operator++): add
3533         (rowBreakPoint, setRowWidth): adjust (fixing a
3534         rebreaking bug)
3535
3536 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3537
3538         * BufferView_pimpl.C (workAreaDispatch): allow also
3539         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3540
3541 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3542
3543         * text.C (rowBreakPoint): fix a bug showing with very large insets
3544
3545 2004-02-25  André Pönitz  <poenitz@gmx.net>
3546
3547         * text3.C:
3548         * cursor.[Ch]: move some mathed specific code to mathed
3549
3550 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3551
3552         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3553         use_tempdir in preferences
3554         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3555         tempfile creation
3556         * lyx_main.C: ensure that tempdir is valid
3557         * lyxlex.h: correct typo
3558         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3559         * paragraph.[Ch] (isMultiLingual): make const
3560         * cursor.[Ch] (openable): make const
3561
3562 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3563
3564         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3565
3566 2004-02-20  André Pönitz  <poenitz@gmx.net>
3567
3568         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3569
3570         * cursor.[Ch]: prepare for localized getStatus()
3571
3572         * lyxtext.h:
3573         * tabular.C:
3574         * text.C:
3575         * text2.C:
3576         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3577
3578 2004-02-20  André Pönitz  <poenitz@gmx.net>
3579
3580         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3581
3582 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3583
3584         * text2.C (setCursorFromCoordinates): switch to absolute coords
3585         (cursorUp): adjust
3586         (cursorDown): adjust
3587         * text3.C (dispatch): adjust
3588
3589 2004-02-16  André Pönitz  <poenitz@gmx.net>
3590
3591         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3592           insets/ChangeLog)
3593
3594         * cursor_slice.[Ch]: remove unneeded acessor function
3595
3596         * lyxtext.h: rename rtl() to isRTL()
3597
3598         * rowpainter.C:
3599         * tabular.C:
3600         * text.C:
3601         * text2.C:
3602         * text3.C: adjust
3603
3604 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3605
3606         * rowpainter.C (paintSelection): coord fix
3607
3608 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3609
3610         * Spacing.C: compile fix
3611
3612 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3613
3614         * cursor.C (dispatch): restore current_ before returning
3615
3616 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3617
3618         * text2.C (cursorUp, cursorDown): fix coords
3619         (moveUp): fix crash
3620
3621 2004-02-12  André Pönitz  <poenitz@gmx.net>
3622
3623         * lyxtext.h:
3624         * text.C:
3625         * text2.C:
3626         * text3.C: add LCursor & parameter to most cursor movement functions
3627           remove usage of LyXText::cursorRow() and cursorPar()
3628
3629         * cursor.[Ch]: add textRow() needed members
3630
3631         * BufferView.C:
3632         * BufferView_pimpl.C:
3633         * paragraph.[Ch]:
3634         * BufferView.C:
3635         * BufferView_pimpl.C: adjust
3636
3637 2004-02-11  André Pönitz  <poenitz@gmx.net>
3638
3639         * lyxfunc.C:
3640         * BufferView.[Ch]:
3641         * BufferView_pimpl.C: shift undo/redo handling
3642
3643         * cursor.[Ch]: fix mathed crash
3644
3645         * lyxfind.C:
3646         * lyxtext.h: move selectionAsText to LCursor
3647
3648         * output_latex.C:
3649         * paragraph.C:
3650         * text.C:
3651         * text2.C:
3652         * text3.C: adjust
3653
3654         * rowpainter.C: fix excessive drawing
3655
3656 2004-02-06  André Pönitz  <poenitz@gmx.net>
3657
3658         * BufferView.[Ch]:
3659         * BufferView_pimpl.[Ch]:
3660         * text3.C: move some text specific LFUN handling
3661
3662 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3663
3664         * text3.C (checkInsetHit): adjust coords
3665         * text2.C (getColumnNearX): adjust coords
3666         (edit): adjust coords
3667         * text.C (getRowNearY): add two asserts
3668
3669 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3670
3671         * converter.C:
3672         * format.C: add using std::distance to compile on gcc 2.95/stlport
3673
3674 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3677
3678 2004-02-04  André Pönitz  <poenitz@gmx.net>
3679
3680         * BufferView.[Ch] (insertInset):
3681         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3682
3683         * text2.C:
3684         * text3.C: adjust
3685
3686 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3687
3688         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3689         on the default clause of the switch
3690         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3691         wasn't catched by LCursor::dispatch
3692
3693 2004-02-03  André Pönitz  <poenitz@gmx.net>
3694
3695         * BufferView.C:
3696         * cursor.[Ch]: some additional asserts
3697
3698         * undo.[Ch]: remove LyXText dependency in interface
3699
3700         * lyxfunc.C: adjust
3701
3702         * lyxtext.h (firstPar, lastPar): remove dead functions
3703
3704         * text.C:
3705         * text2.C:
3706         * text3.C:
3707         * paragraph.[Ch]: adjust
3708
3709 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3710
3711         * lyxfind.C (find): fix argument order in call to ::find
3712
3713 2004-02-02  André Pönitz  <poenitz@gmx.net>
3714
3715         * cursor.[Ch]: remove direct access to anchor
3716
3717         * text.C: remove findText() hack
3718
3719 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3720
3721         * iterators.[Ch] (lockPath): remove in favour of...
3722         * BufferView.[Ch] (setCursor): this addition
3723         * BufferView.C (putSelectionAt): adjust
3724         * undo.C (performUndoOrRedo): adjust
3725         * lyxfunc.C (dispatch): adjust
3726
3727 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3728
3729         * iterators.C (lockPath): add a missing slice
3730         * undo.C (performUndoOrRedo): remove redundant positioning code
3731
3732 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * vc-backend.C (scanMaster): ";" -> ';'
3735
3736 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3739         std::binary_function
3740
3741         * lyxtextclass.C (compare_name): rename to...
3742         (LayoutNamesEqual): ...this
3743
3744         * lyxlex_pimpl.C (compare_tags): inherit from
3745         std::binary_function, put back into anon namespace
3746
3747         * lyxfind.C (MatchString): inherig from std::binary_function
3748         (findChange): use empty() istead of !size()
3749
3750         * format.C (FormatNamesEqual): new functor
3751         (getFormat): use it
3752         (getNumber): use it
3753         (add): use it
3754         (erase): use it
3755         (setViewer): use it
3756
3757         * converter.C (compare_Converter): rename to...
3758         (ConverterEqual): ...this, and fixup a bit.
3759         (getConverter): use it, and make function const
3760         (getNumber): use it, and make function const
3761         (add): use it
3762         (erase): use it:
3763
3764         * bufferlist.C: add using boost::bind
3765
3766         * MenuBackend.C (MenuNamesEqual): new functor
3767         (hasMenu): use it, and make function const
3768         (hasSubmenu): use nested bind to get rid of compare_memfun.
3769
3770 2004-01-30  André Pönitz  <poenitz@gmx.net>
3771
3772         * BufferView_pimpl.C:
3773         * cursor.C:
3774         * cursor.h:
3775         * cursor_slice.[Ch]:
3776         * lyxfunc.C:
3777         * lyxtext.h:
3778         * paragraph_funcs.C:
3779         * paragraph_funcs.h:
3780         * rowpainter.C:
3781         * text.C:
3782         * text2.C:
3783         * text3.C: move some of the edit(x,y) handling to the insets
3784         some coordinate changes.
3785
3786 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * text.C: add using statements for std::advance and std::distance
3789
3790         * paragraph.C: add using statement for std::distance
3791
3792         * lyxfind.C: add using statement for std::advance
3793
3794         * cursor.C (region): remove std:: from swap
3795         (openable): use nucleus in stead of operator->
3796
3797         * BufferView.C: add using statements for std::distance and std::swap
3798
3799 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3800
3801         * iterators.C: Remove the pimple, move the needed structures to
3802         the header file. Create accessor for the positions stack.
3803         (asPosIterator): remove function
3804
3805         * PosIterator.C (PosIterator): move constructors to top of file
3806         (PosIterator): reimplement the constructor taking a ParIterator in
3807         terms of setFrom.
3808         (setFrom): new function
3809         (operator!=): inline it
3810
3811 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3812
3813         * lyxfind.C (replaceAll): use std::advance
3814
3815         * iterators.h: inherit from std::iterator.
3816
3817         * PosIterator.C (advance, distance): remove
3818         * PosIterator.h: interit from std::iterator.
3819
3820 2004-01-26  André Pönitz  <poenitz@gmx.net>
3821
3822         * BufferView.[Ch]:
3823         * BufferView_pimpl.[Ch]:
3824         * InsetList.[Ch]:
3825         * PosIterator.[Ch]:
3826         * buffer.h:
3827         * bufferview_funcs.C:
3828         * cursor.[Ch]:
3829         * cursor_slice.h:
3830         * factory.[Ch]:
3831         * iterators.[Ch]:
3832         * lyxfind.C:
3833         * lyxfunc.C:
3834         * lyxtext.h:
3835         * output_docbook.C:
3836         * output_latex.C:
3837         * output_linuxdoc.C:
3838         * output_plaintext.C:
3839         * paragraph.[Ch]:
3840         * paragraph_funcs.[Ch]:
3841         * paragraph_pimpl.[Ch]:
3842         * rowpainter.C:
3843         * tabular.C:
3844         * tabular.h:
3845         * text.C:
3846         * text2.C:
3847         * text3.C: more IU:  dumps most of the rest of the mathcursor
3848     implementation into cursor.[Ch]; "globalize" a bit of it.
3849
3850 2004-01-25  Angus Leeming  <leeming@lyx.org>
3851
3852         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3853
3854 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3855
3856         * LaTeXFeatures.h: add nice_ and nice() const
3857         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3858
3859 2004-01-20  André Pönitz  <poenitz@gmx.net>
3860
3861         * BufferView.[Ch]:
3862         * BufferView_pimpl.C:
3863         * PosIterator.C:
3864         * bufferview_funcs.C:
3865         * cursor.[Ch]:
3866         * cursor_slice.[Ch]:
3867         * factory.C:
3868         * iterators.C:
3869         * lyx_cb.C:
3870         * lyxfind.C:
3871         * lyxfunc.C:
3872         * lyxtext.h:
3873         * rowpainter.C:
3874         * text.C:
3875         * text2.C:
3876         * text3.C:
3877         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3878           LCursor and mathcursor parts to LCursor and InsetBase.
3879
3880 2004-01-15  André Pönitz  <poenitz@gmx.net>
3881
3882         * cursor_slice.[Ch]: add a few covienience functions
3883
3884         * funcrequest.[Ch]: remove BufferView * member
3885
3886         * BufferView_pimpl.C:
3887         * cursor.C:
3888         * factory.[Ch]:
3889         * lyxfind.[Ch]:
3890         * lyxfunc.C:
3891         * lyxtext.h:
3892         * text3.C:
3893         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3894
3895 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3896
3897         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3898         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3899
3900 2004-01-13  André Pönitz  <poenitz@gmx.net>
3901
3902         * textcursor.[Ch]:
3903         * lyxtext.h: hide cursor and selection anchor behind accessor function
3904
3905         * BufferView.C:
3906         * BufferView_pimpl.[Ch]:
3907         * PosIterator.C:
3908         * bufferview_funcs.C:
3909         * cursor.h:
3910         * lyxfind.C:
3911         * lyxfunc.C:
3912         * text.C:
3913         * text2.C:
3914         * text3.C:
3915         * undo.C: adjust
3916
3917         * cursor.h:
3918         * cursor_slice.[Ch]: some integer type changes for inset unification
3919
3920         * lyxcursor.[hC]: remove, it's CursorSlice now.
3921
3922         * Makefile.am:
3923         * BufferView_pimpl.[Ch]:
3924         * bufferview_funcs.C:
3925         * cursor_slice.C:
3926         * lyxtext.h:
3927         * text.C:
3928         * text2.C:
3929         * text3.C:
3930         * textcursor.[Ch]: adjust
3931
3932 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3933
3934         * text2.C (undoSpan): add and use
3935         * text.C (breakParagraph): use undoSpan (fix bug 578)
3936         * lyxtext.h: adjust
3937
3938 2004-01-08  Angus Leeming  <leeming@lyx.org>
3939
3940         * BufferView_pimpl.C (MenuInsertLyXFile):
3941         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3942         * lyxfunc.C (menuNew, open, doImport):
3943         FileFilterList change to the FileDialog open and save functions.
3944
3945 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * ShareContainer.h: make isEqual and isUnique adaptable
3948
3949         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3950
3951 2004-01-07  Angus Leeming  <leeming@lyx.org>
3952
3953         * LyXAction.C:
3954         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3955
3956         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3957
3958         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3959         functions replacing find, replace and replaceAll.
3960
3961         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3962         LFUN_WORDFIND(FORWARD|BACKWARD).
3963
3964 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3965
3966         * text.C (breakParagraph): remove an outdated #warning
3967
3968 2004-01-07  André Pönitz  <poenitz@gmx.net>
3969
3970         * lyxfind.C: somewhat clearer logic
3971
3972         * text.C: prevent crash in cursorX on unitialized row cache
3973
3974 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3975
3976         * lyxcursor.[Ch] (operator>): add
3977         * textcursor.C (selStart, selEnd): use std::min and std::max
3978
3979 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3980
3981         * Chktex.C: include boost/format.hpp
3982
3983 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3984
3985         * InsetList.C: replace functor MathcIt with adaptable functor
3986         InsetTablePosLess
3987         (insetIterator): modify accordingly
3988
3989         * BranchList.h: move the BranchNamesEqual functor here from...
3990         * BranchList.C: ... to here
3991
3992         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3993         SameName and match.
3994         (add): replace a finding loop with std::find_if.
3995
3996 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3997
3998         * output_docbook.C: moving LatexParam functionality into
3999         .layout files
4000
4001 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4002
4003         * buffer.C: increment format to 229.
4004
4005 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4006
4007         * LaTeXFeatures.C:
4008         * lyx_sty.[Ch]: remove minipageindent_def
4009
4010         * LyXAction.C:
4011         * factory.C:
4012         * lfuns.h:
4013         * lyxfunc.C:
4014         * text3.C: remove LFUN_INSET_MINIPAGE
4015
4016 2003-12-28  Angus Leeming  <leeming@lyx.org>
4017
4018         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4019
4020 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4021
4022         * text2.C (setParagraph): fix off-by-one crash
4023
4024 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * output_docbook.C: header stuff for AGU
4027
4028 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4029
4030         * text2.C (redoCursor): remove
4031         * text.C:
4032         * text3.C:
4033         * BufferView_pimpl.C: remove calls to redoCursor and
4034         setCursor(cursor.par(), cursor.pos()) all around
4035
4036 2003-12-15  Angus Leeming  <leeming@lyx.org>
4037
4038         * buffer.C: up the format to 228.
4039
4040 2003-12-15  André Pönitz  <poenitz@gmx.net>
4041
4042         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4043         slices
4044
4045         * Makefile.am:
4046
4047         * BufferView_pimpl.C:
4048         * cursor.[Ch]:
4049         * lyxcursor.[Ch]:
4050         * rowpainter.[Ch]:
4051         * lyxtext.h:
4052         * text.C:
4053         * text2.C:
4054         * text3.C: adjust
4055
4056 2003-12-15  Angus Leeming  <leeming@lyx.org>
4057
4058         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4059         than getFromGUIName to manipulate the color.
4060
4061 2003-12-14  Angus Leeming  <leeming@lyx.org>
4062
4063         * BranchList.[Ch]: minimize the API.
4064         (Branch::getBranch, getColor): now return a 'const &'.
4065         (Branch::setSelected) now returns a bool set to true if the
4066         selection status changes.
4067         (BranchList::clear, size, getColor, setColor, setSelected,
4068         allBranches, allSelected, separator): removed.
4069         (BranchList::find): new functions, returning the Branch with
4070         the given name.
4071         (BranchList::add, remove): return a bool indicating that
4072         the operation was successful.
4073
4074         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4075         new InsetBranch::isBranchSlected member function.
4076
4077         * LColor.[Ch]: mimimize the API.
4078         (fill): renamed as addColor and made private.
4079         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4080         versions of these functions taking a string arg have been removed.
4081
4082         * bufferparams.C (readToken):
4083         * lyxfunc.C (dispatch):
4084         * lyxrc.C (read): changes due to the altered BranchList and
4085         LColor APIs.
4086
4087         * factory.C (createInset, readInset): changes due to altered
4088         InsetBranch c-tor.
4089
4090 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4091
4092         * factory.C:
4093         * lyxfunc.C: remove insetminipage. "minipage-insert"
4094         now produces a frameless minipage box inset.
4095
4096 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4097
4098         * textcursor.[Ch] (selStart,selEnd): add new methods
4099         remove selection::start, end, use LyXCursor::operator<
4100         * lyxcursor.[Ch] (operator<): add
4101         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4102         * BufferView.[Ch] (unsetXSel): add
4103         * text2.C (clearSelection): use unsetXSel,adjust
4104         * text.C: adjust
4105         * text3.C: adjust
4106         * rowpainter.C: adjust
4107         * bufferview_funcs.C (put_selection_at): adjust
4108
4109 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4110
4111         * BufferView_pimpl.C: small coord. correction
4112
4113 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4114
4115         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4116         dragging over the splash screen.
4117
4118 2003-12-11  Angus Leeming  <leeming@lyx.org>
4119
4120         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4121         as it is now handled in LyXText::dispatch.
4122
4123         * text3.C (doInsertInset): remove a level of nesting.
4124
4125 2003-12-11  Angus Leeming  <leeming@lyx.org>
4126
4127         * factory.C (createInset): changes due to the changed interface to
4128         InsetCommandMailer::string2params.
4129
4130 2003-12-10  Angus Leeming  <leeming@lyx.org>
4131
4132         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4133         'dialog-show-new-inset <inset name>'
4134
4135 2003-12-10  Angus Leeming  <leeming@lyx.org>
4136
4137         * buffer.C: up the format to 227.
4138
4139         * factory.C: the box inset is now identified simply by 'Box'.
4140
4141 2003-12-10  Angus Leeming  <leeming@lyx.org>
4142
4143         * buffer.C: up the format to 226.
4144
4145         * factory.C: the note inset is now identified simply by 'Note'.
4146
4147 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4150         when a pit is enough. Standarize a couple of loops.
4151
4152 2003-12-05  Angus Leeming  <leeming@lyx.org>
4153
4154         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4155         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4156         data to the re-worked "log" dialog.
4157
4158 2003-12-03  André Pönitz  <poenitz@gmx.net>
4159
4160         * PosIterator.C:
4161         * iterators.C:
4162         * lyxtext.h:
4163         * output_latex.C:
4164         * paragraph_funcs.C:
4165         * text.C:
4166         * text2.C: use Inset::getText instead of Inset::getParagraph
4167
4168 2003-12-03  André Pönitz  <poenitz@gmx.net>
4169
4170         * buffer.[Ch]:
4171         * lyxtext.h:
4172         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4173         InsetText::read() as LyXText::read()
4174
4175 2003-12-02  Angus Leeming  <leeming@lyx.org>
4176
4177         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4178         type. Add a comment in the implementation that the function uses
4179         the stream's bad() function rather than fail() as the std::streams
4180         would do.
4181
4182 2003-12-02  André Pönitz  <poenitz@gmx.net>
4183
4184         * lyxlex.[Ch]: make interface more similar to std::stream
4185
4186         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4187
4188 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4189
4190         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4191
4192 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4193
4194         * vspace.[Ch]: remove VSpace::NONE
4195
4196 2003-12-01  André Pönitz  <poenitz@gmx.net>
4197
4198         * buffer.[Ch]:
4199         * lyxtext.h: move ParagraphList member to LyXText
4200         rename LyXText::ownerParagraphs to LyXText::paragraph
4201
4202         * CutAndPaste.C:
4203         * bufferview_funcs.C:
4204         * iterators.[Ch]:
4205         * lyx_cb.C:
4206         * paragraph.C:
4207         * rowpainter.C:
4208         * tabular.C:
4209         * text.C:
4210         * text2.C:
4211         * text3.C: adjust
4212
4213         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4214
4215         * undo.C: fix cursor positioning
4216
4217 2003-12-01  John Levon  <levon@movementarian.org>
4218
4219         * BufferView_pimpl.C: fix a crash on exit with
4220         a buffer open
4221
4222 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4223
4224         * BranchList.C: fix setSelected() method.
4225
4226 2003-11-28  André Pönitz  <poenitz@gmx.net>
4227
4228         * ParagraphParameters.[Ch]:
4229         * ParameterStruct.h: remove space above/below from Paragraph to
4230          InsetVSpace
4231
4232         * BufferView_pimpl.C:
4233         * factory.C:
4234         * lyxfunc.C:
4235         * lyxtext.h:
4236         * output_latex.C:
4237         * paragraph.C:
4238         * paragraph_funcs.C:
4239         * rowpainter.[Ch]:
4240         * text.C:
4241         * text2.C:
4242         * text3.C: adjust
4243
4244 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4245
4246         * factory.C: Syntax change for CharStyles
4247
4248 2003-11-28  André Pönitz  <poenitz@gmx.net>
4249
4250         * BufferView.[Ch]:
4251         * BufferView.[Ch]:
4252         * buffer.[Ch]:
4253         * buffer.[Ch]: move LyXText member
4254
4255 2003-11-28  André Pönitz  <poenitz@gmx.net>
4256
4257         * BufferView.[Ch]: make LyXText * text a private member
4258
4259         * BufferView_pimpl.C:
4260         * cursor.C:
4261         * iterators.C:
4262         * lyx_cb.C:
4263         * lyxfind.C:
4264         * lyxtext.h:
4265         * rowpainter.[Ch]:
4266         * text.C:
4267         * text2.C:
4268         * undo.C: adjust
4269
4270         * output_plaintext.C: cleanup
4271
4272 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4273
4274         * buffer.C:
4275         * lyxtextclass.[Ch]: parametrize SGML document header
4276
4277 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4278
4279         * converter.[Ch]:
4280         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4281         getFlavor().
4282
4283 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4284
4285         * text2.C (setFont): rework using PosIterator (no more recursive)
4286         (setCharFont): no more needed
4287         (setLayout): no more selection cursors fiddling (done by redoCursor)
4288         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4289         destroy remaining ones)
4290
4291 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4292
4293         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4294         * lyxtext.h: ditto
4295         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4296         selection cursors
4297         * lyxfunc.C: adjust
4298         * text3.C: adjust + re-allow multi par depth changes
4299         * textcursor.C: simplify a bit
4300
4301 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4302
4303         * src/buffer.C:
4304         * src/lyxlayout.C:
4305         * src/lyxlayout.h:
4306         * src/lyxtext.h:
4307         * src/output_docbook.C:
4308         * src/output_latex.C:
4309         * src/paragraph.C:
4310         * src/paragraph.h:
4311         * src/sgml.C:
4312         * src/sgml.h:
4313         * src/text2.C: Introducing a number of tags parametrizing various
4314         XML formats that we may want to support
4315
4316 2003-11-25  André Pönitz  <poenitz@gmx.net>
4317
4318         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4319
4320         * lyxtext.h (leftMargin/rightMargin): simplify interface
4321
4322         * rowpainter.C:
4323         * text.C:
4324         * text2.C:
4325         * text3.C: adjust
4326
4327 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4328
4329         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4330         master file to any child files. Fixes bug 546.
4331
4332 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4333
4334         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4335
4336 2003-11-24  André Pönitz  <poenitz@gmx.net>
4337
4338         * rowpainter.C: simplification
4339
4340         * text2.C (updateCounters): remove call to redoParagraph on
4341         changed labels as this is far too expensive.
4342
4343 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4344
4345         * converter.C (convert): fix a crash: this function gets
4346         called with buffer == 0 from importer code.
4347
4348 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4349
4350         * text3.C (cursorPrevious): make sure that we do not compare
4351         iterators form different containers.
4352         (cursorNext): ditto
4353
4354         * rowpainter.C (paintSelection): make sure that we do not compare
4355         iterators from different containers.
4356
4357         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4358         iterators from different ParagraphList containers.
4359         [NEXT] ditto
4360
4361         * text2.C (LyXText): change order of initialization slightly
4362         (operator=): new function. copy all variables except cache_par_
4363         (moveUp): make sure that we do not compare iterators from
4364         different ParagraphList constainers.
4365         (moveDown): ditto
4366
4367         * text.C (firstPar): new function
4368         (lastPar): new function
4369         (endPar): new function
4370
4371         * lyxtext.h: move things around and group public functions, public
4372         variables, private functions, private variables
4373
4374 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4375
4376         * factory.C: change call to InsetERT constructor to avoid
4377         additional invocation of method status
4378         * text2.C (toggleInset): remove redundant update() call
4379         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4380         instead of a Bufferview pointer
4381
4382 2003-11-21  André Pönitz  <poenitz@gmx.net>
4383
4384         * rowpainter.C: simplification
4385
4386 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4387
4388         * text3.C (dispatch): make possible to extend a word/row selection
4389         with the mouse
4390
4391 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4392
4393         * lyxtext.h: x0_,y0_ -> xo_,yo_
4394         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4395         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4396         * rowpainter.C (paintRows): paint full paragraphs
4397
4398 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4399
4400         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4401         screen coordinates)
4402
4403 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4404
4405         * lyxtext.h: add x0_, y0_
4406         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4407         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4408
4409 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4410
4411         * text2.C (setCursorIntern): move the x_target update here *
4412         * text3.C: change some bv() to true/false in calls to
4413         cursorUp/Down/Right/Left
4414         * cursor.C: use helper function.
4415
4416 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4417
4418         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4419         * paragraph_funcs.[Ch]: correct comment
4420         * rowpainter.C: do not paint selections away from bv->cursor()
4421         Fix a long standing selection painting bug.
4422         * text3.C: generalize mouse-selection code to LyXTexts other that
4423         top one
4424         * textcursor.C: do not use y coords if we can use par offsets
4425
4426 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4427
4428         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4429         cursor position after e.g. inset insert)
4430
4431 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4432
4433         * lyxfind.C (replace): adjust to locking removal + some
4434         code simplification
4435
4436 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4437
4438         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4439         of the path
4440
4441 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4442
4443         * lyxlayout.[Ch]:
4444         * output_docbook.C: XML sanitation: new layout
4445         parameters InnerTag and CommandDepth
4446
4447 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4448
4449         * BufferView_pimpl.C:
4450         * factory.C:
4451         * text3.C: Fix the insertion and modification of button-style
4452         insets
4453
4454 2003-11-13  André Pönitz  <poenitz@gmx.net>
4455
4456         * InsetList.[Ch]: remove deleteLyXText
4457
4458         * paragraph.[Ch]: cache beginOfBody position
4459
4460         * Bidi.C:
4461         * text.C:
4462         * text2.C:
4463         * text3.C: remove superfluous update() calls
4464
4465         * vspace.C: cleanup
4466
4467 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4468
4469         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4470         * BufferView.C (fitLockedInsetCursor): remove
4471         * cursor.[Ch] (getDim): add
4472         * text.C (getRowNearY): add faster version
4473         * text3.C: remove some update calls
4474
4475 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4476
4477         * LaTeXFeatures.C:
4478         * LyXAction.C:
4479         * MenuBackend.C:
4480         * MenuBackend.h:
4481         * dispatchresult.h:
4482         * factory.C:
4483         * lfuns.h:
4484         * lyxfunc.C:
4485         * lyxtextclass.C:
4486         * lyxtextclass.h:
4487         * text3.C: The Character Style /XML short element patch.
4488
4489 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4490
4491         * text3.C:
4492         * factory.C: Small step to solving 'unable to insert some insets'
4493         problem
4494
4495 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4496
4497         * cursor.[Ch] (updatePos): new function for updating the y
4498         position of the tip inset
4499         * bufferview_funcs.C (put_selection_at):
4500         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4501
4502 2003-11-11  André Pönitz  <poenitz@gmx.net>
4503
4504         * text.C: remove big comment on invalid Paragraph pointers as it is
4505         not valid anymore
4506
4507 2003-11-11  André Pönitz  <poenitz@gmx.net>
4508
4509         * text_funcs.[Ch]: merge with ...
4510
4511         * text.C: ... this
4512
4513         * lyxtext.h:
4514         * text2.C:
4515         * text3.C: adjust
4516
4517         * Makefile.am: remove text_funcs.[Ch]
4518
4519 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * cursor.C (getPos): return absolute cached y coord
4522
4523         * BufferView_pimpl.C (fitCursor): new simplistic code
4524         (workAreaDispatch): add a fitCursor call
4525
4526 2003-11-10  André Pönitz  <poenitz@gmx.net>
4527
4528         * BufferView.[Ch]:
4529         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4530
4531 2003-11-10  André Pönitz  <poenitz@gmx.net>
4532
4533         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4534         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4535         indicate that the cursor needs to leave an inset
4536
4537         * lyxtext.h: remove inset locking
4538
4539         * cursor.[Ch]: re-implement functionality provided by inset locking
4540
4541         * BufferView.[Ch]:
4542         * BufferView_pimpl.[Ch]:
4543         * LyXAction.C:
4544         * bufferview_funcs.[Ch]:
4545         * factory.C:
4546         * funcrequest.[Ch]:
4547         * iterators.C:
4548         * lyx_cb.C:
4549         * lyxfind.C:
4550         * lyxfunc.C:
4551         * text.C:
4552         * text2.C:
4553         * text3.C:
4554         * undo.C: adjust
4555
4556 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4557
4558         * PosIterator.[Ch]: replace the stack with a vector, add inset
4559         accesor
4560         * iterators.[C]: adjust
4561
4562 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4563
4564         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4565         replaced
4566         * paragraph_funcs.C (readParToken): put the correct id in the
4567         error item, not the id of the top paragraph
4568
4569 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4570
4571         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4572         * bufferview_funcs.C (put_selection_at): use the above
4573
4574 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4575
4576         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4577
4578 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4579
4580         * output_linuxdoc.h:
4581         * output_plaintext.h:
4582         * output.h:
4583         * output_docbook.h: add #include statements
4584
4585 2003-11-05  José Matos  <jamatos@lyx.org>
4586
4587         * output_docbook.[Ch]:
4588         * output_latex.[Ch]:
4589         * output_linuxdoc.[Ch]:
4590         * output_plaintext.[Ch]: New files for output formats.
4591         * output.[Ch]: New file for helper functions.
4592
4593         * buffer.[Ch]:
4594         * paragraph_funcs.[Ch]: output functions moved to new files.
4595
4596         * outputparams.h: rename of latexrunparams.h
4597
4598         * LaTeX.[Ch]:
4599         * buffer.[Ch]:
4600         * bufferlist.[Ch]:
4601         * converter.[Ch]:
4602         * exporter.C:
4603         * paragraph.[Ch]:
4604         * paragraph_funcs.[Ch]:
4605         * paragraph_pimpl.[Ch]:
4606         * tabular.[Ch]: rename ascii to plaintext
4607         and LatexRunParams to OutputParams.
4608
4609 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * iterators.[Ch] (text): require bv argument
4612         * undo.C (recordUndo):
4613         * lyxfunc.C (dispatch):
4614         * bufferview_funcs.C (put_selection_at): adjust
4615
4616 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4617
4618         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4619
4620 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4621
4622         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4623         nestings
4624
4625 2003-11-04  André Pönitz  <poenitz@gmx.net>
4626
4627         * cursor.[Ch]: restructure
4628
4629         * BufferView.[Ch]:
4630         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4631
4632         * iterators.[Ch] (asCursor): remove
4633
4634         * lfuns.h: remove LFUN_INSET_EDIT
4635
4636         * lyxfunc.C:
4637         * tabular.C:
4638         * text.C:
4639         * text2.C:
4640         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4641
4642 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4643
4644         * lyxfind.[Ch]: complete overhaul
4645         * BufferView_pimpl.C:
4646         * lyxfunc.C: adjust
4647         * paragraph.[Ch] (insert): add
4648
4649 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4650
4651         * BufferView.[Ch]:
4652         * lyxtext.h:
4653         * text.C: remove dead spellcheck code
4654
4655 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4656
4657         * dispatchresult.h: add a val setter
4658
4659         * cursor.C (dispatch): use a tempvar for data_[i]
4660
4661 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4662
4663         * PosIterator.[Ch]: compile fix
4664
4665 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4666
4667         * text.C (cursorPar): deactivate the cursor cache
4668
4669 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4672
4673 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4674
4675         * text3.C (dispatch): adjust for new DisptchResult semantics.
4676
4677         * lyxfunc.C (dispatch): handle update when return from
4678         Cursor::dispatch, adjust for new DispatchResult semantics.
4679
4680         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4681         DispatchResult(true) mean to not update. Add class functions for
4682         setting dispatched and update, as well as reading.
4683
4684         * cursor.C (dispatch): don't handle update here
4685
4686 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4689         * trans_mgr.C: adjust
4690
4691         * paragraph_funcs.C (readParToken): exception safety
4692
4693         * lyxvc.h: store the vcs pointer in a scoped_ptr
4694         * lyxvc.C: adjust
4695
4696         * lyxsocket.C (serverCallback): exception safety
4697
4698         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4699
4700         * ispell.C (clone): make it return a auto_ptr
4701
4702         * factory.C (createInset): exception safety
4703         (readInset): exception safety
4704
4705         * bufferlist.C (newBuffer): exception safety
4706
4707         * Thesaurus.C (Thesaurus): use initialization for aik_
4708
4709         * MenuBackend.C (expandToc): exception safety.
4710
4711 2003-11-03  André Pönitz  <poenitz@gmx.net>
4712
4713         * buffer.C:
4714         * buffer.h:
4715         * bufferview_funcs.C: remove getInsetFromId()
4716
4717         * lyxcursor.[Ch]:
4718         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4719
4720         * lyxfunc.C:
4721         * text2.C:
4722         * text3.C: adjust
4723
4724 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * PosIterator.C (distance, advance): new
4727         * bufferview_funcs.[Ch] (put_selection_at): new
4728         * iterators.[Ch] (lockPath): new
4729
4730 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4731
4732         * iterators.[Ch] (asPosIterator): added
4733         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4734         * PosIterator.[Ch]: added
4735
4736 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * text3.C:
4739         * lyxfunc.C:
4740         * cursor.C (dispatch):
4741         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4742
4743         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4744         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4745         contructor, add a class function dispatched. Remove operator>=
4746
4747 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * debug.C: only use the default constructor for debugstream
4750         (lyxerr) here.
4751
4752         * main.C (main): include debug.h and setup the lyxerr streambuf
4753         here.
4754
4755 2003-10-31  José Matos  <jamatos@lyx.org>
4756
4757         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4758
4759         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4760         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4761         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4762         * paragraph_pimpl.C (simpleTeXSpecialC):
4763         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4764         add LatexRunParams argument.
4765
4766         * exporter.C (Export): change call accordingly.
4767
4768         * latexrunparams.h: add new member to take care of the other backends.
4769 2003-10-30  José Matos  <jamatos@lyx.org>
4770
4771         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4772         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4773         factorise code for paragraph output.
4774         * buffer.[Ch]:
4775         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4776         move functions.
4777
4778 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4779
4780         * text3.C (dispatch):
4781         * lyxfunc.C (dispatch):
4782         * cursor.C (dispatch):
4783         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4784
4785         * dispatchresult.h: make the dispatch_result_t ctor explicit
4786
4787 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4788
4789         * sgml.[Ch]:
4790         * buffer.C: small refactoring of docbook stuff
4791
4792 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4795         meaning.
4796
4797 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4800         operator dispatch_result_t, and operators for == != and >=
4801
4802         * cursor.C (dispatch): adjust for operator dispatch_result_t
4803         removal. comment out call to update
4804
4805         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4806
4807 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * text3.C:
4810         * text2.C:
4811         * text.C:
4812         * lyxtext.h:
4813         * lyxfunc.C:
4814         * cursor.C:
4815         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4816         (dispatch):
4817
4818         * dispatchresult.h: new file, DispatchResult broken out of
4819         insets/insetbase.h
4820
4821         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4822
4823 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * text.C (rowBreakPoint): put a hack inside #if 0
4826
4827 2003-10-28  André Pönitz  <poenitz@gmx.net>
4828
4829         * lyxtext.h:
4830         * metricsinfo.C:
4831         * paragraph_funcs.C:
4832         * rowpainter.C:
4833         * text.C:
4834         * text2.C: general cleanup (lots of small stuff)
4835
4836 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4837
4838         * text2.C (cursorEnd): simple fix to the "end key goes to one
4839         before the end on last row" bug
4840
4841 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4842
4843         * text.C (backspace): fix the "zombie characters"
4844
4845 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4846
4847         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4848
4849 2003-10-27  André Pönitz  <poenitz@gmx.net>
4850
4851         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4852
4853         * factory.C: handle new InsetPagebreak, InsetLine
4854
4855         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4856         and move handling into new InsetPagebreak, InsetLine
4857
4858         * BufferView_pimpl.C:
4859         * LyXAction.C:
4860         * ParagraphParameters.C:
4861         * ParameterStruct.h:
4862         * lyxfunc.C:
4863         * lyxtext.h:
4864         * paragraph.C:
4865         * paragraph.h:
4866         * paragraph_funcs.C:
4867         * paragraph_pimpl.C:
4868         * rowpainter.C:
4869         * text.C:
4870         * text2.C:
4871         * text3.C: adjust
4872
4873 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4874
4875         * text.C:
4876         * lyxrow_funcs.[Ch]:
4877         * Bidi.C:
4878         * paragraph.C:
4879         * lyxtext.h:
4880         * rowpainter.C:
4881         * text2.C:
4882         * text3.C: remove lastPos uses in favour of Row::endpos
4883
4884 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4885
4886         * undo.C (performUndoOrRedo): fix two crashes by setting a
4887         cursor by hand and reordering some calls. Use bv->lockInset instead
4888         of inset->edit because the latter loses cursor information
4889
4890 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4891
4892         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4893         by Martin
4894         (rowBreakPoint): fix width. change point to point + 1.
4895         Add a missing check.
4896
4897 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4898
4899         * MenuBackend.C:
4900         * lyxfunc.C: fix (at least partly) the problems
4901         with the Nav menu and headers inside branch insets
4902         reported by Kayvan
4903
4904 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4905
4906         * paragraph.C (getChar): add strong asserts
4907
4908         * lyxrow_funcs.C (lastPos): remove hideous hack
4909
4910         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4911         (fill): adjust to that (avoid an infinite loop)
4912
4913 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4914
4915         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4916
4917 2003-10-23  André Pönitz  <poenitz@gmx.net>
4918
4919         * RowList_fwd.h: change list<> to vector<> to gain speed
4920         after suggestion from Alfredo
4921
4922 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4923
4924         * lyxtext.h: move the bidi stuff from here...
4925         * text.C: and here
4926         * text2.C: and here
4927         * Bidi.[Ch]: ... to here
4928
4929 2003-10-23  André Pönitz  <poenitz@gmx.net>
4930
4931         * lyxtext.h:
4932         * text.C (isLastRow, isFirstRow): new functions
4933
4934         * paragraph.h: new width cache member
4935
4936         * rowpainter.C: replace RowList::iterator with Row & where possible
4937
4938         * lyxfunc.C: replace several view()->text with a single call
4939
4940         * toc.C: fix 'unused' warning
4941
4942 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4945         when woring with stream::pos_type
4946         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4947
4948 2003-10-22  André Pönitz  <poenitz@gmx.net>
4949
4950         * lyxtext.h:
4951         * text.C: use Row & instead of RowList::iterator
4952
4953         * lyxrow.h: rename end() to endpos()
4954
4955         * rowpainter.C:
4956         * text.C:
4957         * text2.C: adjust
4958
4959 2003-10-22  Angus Leeming  <leeming@lyx.org>
4960
4961         * buffer.[Ch] (fully_loaded): new member function, returning true
4962         only when the file has been loaded fully.
4963         Used to prevent the premature generation of previews and by the
4964         citation inset to prevent computation of the natbib-style label.
4965
4966         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4967         templates are all set up.
4968
4969         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4970
4971 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4972
4973         * text.C: fixed an "oops" in the "is a bit silly"
4974         bug fix
4975
4976 2003-10-21  André Pönitz  <poenitz@gmx.net>
4977
4978         * FuncStatus.[Ch]: small stuff, whitespace
4979
4980         * lyxfont.[Ch]: operator<<() for debug reasons
4981
4982         * lyxfunc.C:
4983         * lyxrow_funcs.C:
4984         * lyxtext.h: whitespace, spelling
4985
4986         * paragraph.C: naming of variables
4987
4988         * text.C:
4989         * text2.C: small stuff
4990
4991
4992 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4993
4994         * text.C: (1) finish off the inset display() work;
4995         (2) fix the "is a bit silly" bug (accessing char
4996         past end of par).
4997
4998 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4999
5000         * text.C: re-introduce display() for insets, fixing the
5001         various bugs (stretch of line above, math inset
5002         positioning, ...)
5003
5004 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5005
5006         * text.C (rightMargin): remove spurious semicolon
5007
5008         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5009         1415)
5010
5011 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5012
5013         * text3.C: fix one crash due to wrong cursor def
5014
5015 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5016
5017         * vc-backend.C (scanMaster): make the regex static
5018
5019         * LaTeX.C (scanAuxFile): make the regexs static
5020
5021         * text3.C (doInsertInset, dispatch, dispatch):
5022         * text2.C (cursorUp, cursorDown):
5023         * text.C (selectNextWordToSpellcheck):
5024         * BufferView_pimpl.C (dispatch):
5025         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5026
5027 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5028
5029         * lyxsocket.C: include <cerrno>
5030
5031 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5032
5033         * lyxfunc.C (dispatch): remove textcache stuff
5034
5035         * bufferlist.C (release): remove textcache stuff
5036         (closeAll): ditto
5037
5038         * TextCache.C: delete file
5039         * TextCache.h: delete file
5040
5041         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5042
5043         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5044         delete of the bv_->text.
5045         (resizeCurrentBuffer): remove texcache stuff
5046         (workAreaResize): ditto
5047
5048 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5051         action.
5052
5053 2003-10-16  André Pönitz  <poenitz@gmx.net>
5054
5055         * lyxrow.[Ch]:
5056         * paragraph.h:
5057         * rowpainter.C:
5058         * text.C:
5059         * text2.C:
5060         * text3.C: speed up by storing y positions per paragraph plus per-row
5061         offset instead of having a 'full' y position in the row.
5062
5063 2003-10-15  André Pönitz  <poenitz@gmx.net>
5064
5065         * iterators.[Ch]:
5066         * iterators.[Ch]:
5067         * undo.[Ch]: make undo aware of inner insets
5068
5069 2003-10-14  Angus Leeming  <leeming@lyx.org>
5070
5071         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5072         static member functions LyX::ref() and LyX::cref.
5073         (lastfiles): new accessor functions for the new lastfiles_ member var.
5074         (addLyXView, views_): add a new LyXView to the list of views_.
5075         (updateInset): loop over all LyXViews to call their own updateInset
5076         member function, returning a pointer to the Buffer owning the inset.
5077
5078         * BufferView_pimpl.C (loadLyXFile):
5079         * MenuBackend.C (expandLastfiles):
5080         * bufferlist.C (MenuWrite, QuitLyX):
5081         lastfiles is no longer a global variable.
5082         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5083
5084         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5085         static function. Access through LyX::cref().emergencyCleanup().
5086
5087 2003-10-14  André Pönitz  <poenitz@gmx.net>
5088
5089         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5090
5091         * undo.[Ch]: restoring part of 'undo in insets'
5092
5093         * Makefile.am:
5094         * undo_funcs.[Ch]: merge with undo.[Ch]
5095
5096         * tabular.C: small cleansing stuff
5097
5098 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * paragraph_funcs.C (readParToken): report unknown insets as error
5101         boxes. Use the outer paragraph as location (also for unknown
5102         tokens).
5103
5104         * factory.C (readInset): do not abort on reading an unknown inset.
5105         Eat it and return 0.
5106
5107 2003-10-13  Angus Leeming  <leeming@lyx.org>
5108
5109         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5110
5111         * lyxrc.C: displayTranslator is now a function,
5112         declared in GraphicsTypes.h.
5113
5114 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5115
5116         * format.C: new placeholder $$a to pass the socket address.
5117
5118         * bufferlist.[Ch]: new function getBufferFromTmp.
5119
5120         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5121           files in the temporary dir.
5122
5123 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5124
5125         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5126
5127         * Makefile.am: add lyxsocket.[Ch].
5128
5129         * lyx_main.C (error_handler): handle SIGPIPE.
5130
5131 2003-10-13  André Pönitz  <poenitz@gmx.net>
5132
5133         * BufferView_pimpl.C:
5134         * lyxtext.h:
5135         * text.C:
5136         * text2.C:
5137         * text3.C:
5138         * undo_funcs.[Ch]: use paroffset_type instead of
5139           ParagraphList::iterators to prevent multiple conversion
5140           (and get a more robust interface)
5141
5142 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5145         * lyxtext.h: ditto
5146         * text3.C (dispatch): ditto
5147
5148 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5149
5150         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5151         move the onlyfile, use onlyfile instead of foundfile in a couple
5152         of places.
5153
5154         * DepTable.C (update): flush the error stream a bit more
5155
5156 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * lyxserver.C (callback): adjust
5159
5160         * lyxfunc.C (getStatus): add a missing brace in commented code
5161         (ensureBufferClean): reindent
5162         (dispatch): delete version taking a string
5163
5164 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5165
5166         * LaTeX.C (deplog): move found file handlig from here...
5167         (handleFoundFile): .. to new function here.
5168         (deplog): make sure to discover several files mentioned on the
5169         same log line.
5170
5171 2003-10-10  André Pönitz  <poenitz@gmx.net>
5172
5173         * lyxfunc.C:
5174         * lyxtext.h:
5175         * tabular.C:
5176         * text.C:
5177         * text2.C:
5178         * text3.C: fix some of the tabular crashes
5179
5180 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5181
5182         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5183
5184         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5185
5186 2003-10-09  André Pönitz  <poenitz@gmx.net>
5187
5188         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5189
5190         * BufferView.C:
5191         * BufferView_pimpl.C:
5192         * bufferview_funcs.C:
5193         * lyx_cb.C:
5194         * lyxcursor.C:
5195         * lyxfind.C:
5196         * lyxfunc.C:
5197         * lyxtext.h:
5198         * text.C:
5199         * text2.C:
5200         * text3.C:
5201         * text_funcs.[Ch]:
5202         * textcursor.[Ch]:
5203         * undo_funcs.C: adjust
5204
5205 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * text2.C (incrementItemDepth): new function, use a backtracking
5208         algorithm to discover the correct item depth.
5209         (resetEnumCounterIfNeeded): new function, use a backtracking
5210         algorithm to discover if counter reset is needed.
5211         (setCounter): use them. Simplify a bit. Add different labels for
5212         different item depths for itemize.
5213
5214         * paragraph.C (Paragraph): remove initialization of enumdepth
5215         (operator=): ditto
5216
5217         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5218         enumerate and itemize. Change the type of itemdepth to signed char.
5219
5220 2003-10-08  André Pönitz  <poenitz@gmx.net>
5221
5222         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5223           thing assignable.
5224         * text.C:
5225         * text2.C: adjust
5226
5227         * tabular.[Ch]: fix crash after 'row-insert'
5228
5229 2003-10-08  Angus Leeming  <leeming@lyx.org>
5230
5231         Fix doxygen warnings.
5232
5233         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5234         Remove CutAndPaste:: prefix from header file declaration.
5235
5236         * LColor.h (fill): remove LColor:: prefix from declaration.
5237
5238         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5239         use lyx::depth_type rather than Paragraph::depth_type so that
5240         header file and .C file match.
5241
5242         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5243
5244         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5245         * aspell.C: \file aspell_local.C -> \file aspell.C
5246         * gettext.C: \file gettext.C -> \file src/gettext.C
5247         * gettext.h: \file gettext.h -> \file src/gettext.h
5248         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5249         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5250         * text.C: \file text.C -> \file src/text.C
5251
5252         * toc.C: move comment so that doxygen is not confused.
5253
5254 2003-10-07  Angus Leeming  <leeming@lyx.org>
5255
5256         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5257
5258 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5259
5260         * aspell.C:
5261         * aspell_local.h: add forgotten std::string's.
5262
5263 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5264
5265         * LaTeXFeatures.C:
5266         * LyXAction.C:
5267         * factory.C:
5268         * lfuns.h:
5269         * lyxfunc.C:
5270         * text3.C: The Box patch. Fancybox support, minipage, parbox
5271
5272 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5273
5274         * CutAndPaste.h:
5275         * DepTable.h:
5276         * FloatList.h:
5277         * LaTeXFeatures.h:
5278         * ParagraphParameters.h:
5279         * TextCache.h:
5280         * Thesaurus.h:
5281         * bufferlist.h:
5282         * exporter.h:
5283         * importer.h:
5284         * lastfiles.h:
5285         * lyxfind.h:
5286         * lyxfont.h:
5287         * lyxlex.h:
5288         * lyxtextclasslist.h:
5289         * messages.h:
5290         * paragraph.h:
5291         * paragraph_pimpl.C:
5292         * textcursor.h: add <string> and other small fixes to make Lars'
5293         std::string patch compile with STLport.
5294
5295 2003-10-06  Angus Leeming  <leeming@lyx.org>
5296
5297         * LColor.h: Add missing #include <string>.
5298
5299 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * All most all file in all subdirs: Make <string> be the prefered
5302         way of getting to std::string, add using declarations.
5303
5304 2003-10-06  André Pönitz  <poenitz@gmx.net>
5305
5306         * metricsinfo.C: initialize LyXFont before changing attribute.
5307         (fixes the 'math in \emph is upright' bug)
5308
5309 2003-10-06  André Pönitz  <poenitz@gmx.net>
5310
5311         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5312
5313 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5314
5315         * graph.C:
5316         * paragraph_pimpl.C: Small fixes to build using STLport
5317
5318 2003-10-02  André Pönitz  <poenitz@gmx.net>
5319
5320         * lyxfunc.C:
5321         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5322
5323 2003-10-01  André Pönitz  <poenitz@gmx.net>
5324
5325         * factory.C: assert early
5326
5327 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * lyx_main.C: remove the global debug object
5330
5331         * debug.h: adjust for new debugstream
5332
5333         * debug.C: adjust for new debugstream and keep the global debug
5334         object here.
5335
5336 2003-09-22  Angus Leeming  <leeming@lyx.org>
5337
5338         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5339         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5340         an incomplete class LyXFont.
5341
5342 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5343
5344         * factory.C: bug fix in branches
5345
5346 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5347
5348         * lyxfunc.C (processKeySym): adjust
5349         (dispatch): adjust
5350         (dispatch): change arg name from ev to func, adjust
5351         (sendDispatchMessage): ditto
5352
5353         * lyx_main.C (defaultKeyBindings): adjust keybindings
5354         (deadKeyBindings): ditto
5355
5356         * kbsequence.C (addkey): return a FuncRequest
5357
5358         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5359
5360         * kbmap.C (bind): take a FuncRequest as arg, adjust
5361         (read): adjust
5362         (lookup): adjust
5363         (defkey): change to take a FuncRequest as arg, adjust
5364         (findbinding): take a FuncRequest as arg, adjust.
5365
5366         * funcrequest.h (operator=): added
5367
5368         * funcrequest.C (FuncRequest): default kb_action changed from
5369         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5370
5371         * buffer.C (dispatch): simplify
5372         (dispatch): adjust to take a FuncRequest as arg, adjust
5373
5374         * boost.C (assertion_failed): change assertion message slightly
5375
5376         * ToolbarBackend.C (read): simplify
5377
5378         * MenuBackend.C (binding): adjust call to findbinding, add a
5379         message if no binding is found.
5380         (read): simplify
5381         (expandToc): correct by adding a empty FuncRequest
5382
5383         * LyXAction.C: include <boost/assert.hpp>
5384         (isPseudoAction): delete function
5385         (LookupFunc): change name to...
5386         (lookupFunc): this. change return type to FuncRequest.
5387         (getActionName): take kb_action as arg, simplify
5388         (funcHasFlag): add an assert, simplify.
5389
5390 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5391
5392         * toc.C (action): return a FuncRequest, simplify
5393
5394         * lyxfunc.C (processKeySym): adjust
5395         (getStatus): delete version that takes an int.
5396         (getStatus): adjust
5397         (dispatch): delete version that takes action as int
5398         (dispatch): adjust
5399         (sendDispatchMessage): simplify and adjust
5400
5401         * funcrequest.C (getArg): take unsigned int as arg
5402
5403         * ToolbarBackend.C (read): adjust
5404         (add): delete version that takes func as a string.
5405         (getIton): take a FuncRequest as arg
5406
5407         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5408         action.
5409
5410         * MenuBackend.C (MenuItem): add a new construct that only takes a
5411         Kind, simplify the constructor use for submenus.
5412         (add): adjust
5413         (expandLastfiles): adjust
5414         (expandDocuments): adjust
5415         (expandFormats): adjust
5416         (expandFloatListInsert): adjust
5417         (expandFloatInsert): adjust
5418         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5419
5420         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5421         Remove class variables lyx_pseudo_map and lyx_arg_map
5422
5423         * LyXAction.C (searchActionArg): delete function
5424         (getPseudoAction): delete function
5425         (retrieveActionArg): delete function
5426         (LookupFunc): make it return kb_action, simplify.
5427         (getActionName): simplify
5428
5429         * factory.C (createInset): fix new bug
5430
5431 2003-09-19  Angus Leeming  <leeming@lyx.org>
5432
5433         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5434         masterFilename_ parameter in the include inset.
5435
5436         * factory.C (createInset): changes due to the changes to InsetInclude.
5437
5438 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5439
5440         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5441
5442 2003-09-18  Angus Leeming  <leeming@lyx.org>
5443
5444         * buffer.C:
5445         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5446         Inset::fillWithBibKeys.
5447         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5448
5449 2003-09-18  Angus Leeming  <leeming@lyx.org>
5450
5451         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5452         variables.
5453         (ctor): pass and store a 'Buffer const &'
5454         (buffer): new member function.
5455
5456         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5457         '*this' to the LaTeXFeatures ctor.
5458
5459 2003-09-18  Angus Leeming  <leeming@lyx.org>
5460
5461         * LColor.h:
5462         * lyxfont.C:
5463         * lyxfont.h:
5464         * lyxtext.h:
5465         * text.C: rename EnumLColor as LColor_color.
5466
5467 2003-09-18  Angus Leeming  <leeming@lyx.org>
5468
5469         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5470         remove #include "insets/insetbase.h" from cursor.h.
5471
5472 2003-09-18  Angus Leeming  <leeming@lyx.org>
5473
5474         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5475         InsetOld_code to remove #include "inset.h".
5476
5477         * iterators.C: add #include "insets/inset.h"
5478
5479 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5480
5481         * BufferView.C: remove more locking stuff that apparently doesn't
5482         do anything sensible.
5483
5484 2003-09-16  André Pönitz  <poenitz@gmx.net>
5485
5486         * paragraph.[Ch]:
5487         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5488           performance boost.
5489
5490 2003-09-16  Angus Leeming  <leeming@lyx.org>
5491
5492         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5493
5494         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5495         arg/return type.
5496
5497         * paragraph.h: remove #include "lyxfont.h". Forward declare
5498         LyXFont_size.
5499
5500 2003-09-16  Angus Leeming  <leeming@lyx.org>
5501
5502         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5503         of support/textutils.h.
5504         (isWord): move the contents of support/textutils.h's IsWordChar here.
5505
5506         * buffer.C:
5507         * lyxfind.C:
5508         * rowpainter.C:
5509         * text.C:
5510         * text2.C: add #include "paragraph.h".
5511
5512         * rowpainter.C:
5513         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5514
5515 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * main.C:
5518         * lyx_main.C:
5519         * lyx_cb.C:
5520         * buffer.C:
5521         * LaTeX.C: use namespace alias for lyx::support::os
5522
5523 2003-09-16  Angus Leeming  <leeming@lyx.org>
5524
5525         * bufferparams.C:
5526         * bufferview_funcs.C:
5527         * factory.C:
5528         * lyxfunc.C:
5529         * paragraph_pimpl.C:
5530         * rowpainter.C:
5531         * text.C: add #include "LColor.h".
5532
5533 2003-09-16  Angus Leeming  <leeming@lyx.org>
5534
5535         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5536         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5537         return LyXFont &.
5538         Store the FontBits::color variable as an int rather than as an
5539         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5540         file.
5541
5542         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5543         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5544         string calls together.
5545
5546         * lyxrc.C: add #include "LColor.h".
5547
5548 2003-09-15  Angus Leeming  <leeming@lyx.org>
5549
5550         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5551         a cow_ptr.
5552
5553 2003-09-15  Angus Leeming  <leeming@lyx.org>
5554
5555         * LColor.h: add an EnumLColor wrapper for LColor::color.
5556
5557         * lyxfont.[Ch] (color, setColor, realColor):
5558         * lyxtext.h, text.C (backgroundColor):
5559         pass EnumLColor args to/from the functions, rather than LColor::color
5560         ones.
5561
5562         * lyxfont.h:
5563         * lyxtext.h: forward declare EnumLColor.
5564
5565         * lyx_main.C: add #include "LColor.h".
5566
5567 2003-09-15  Angus Leeming  <leeming@lyx.org>
5568
5569         * .cvsignore: add lyx-gtk.
5570
5571 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * Chktex.C
5574         * LaTeX.C
5575         * LaTeXFeatures.C
5576         * ParagraphParameters.C
5577         * Spacing.C
5578         * buffer.C
5579         * bufferparams.C
5580         * bufferview_funcs.C
5581         * chset.C
5582         * counters.C
5583         * funcrequest.C
5584         * lyxfont.C
5585         * lyxgluelength.C
5586         * lyxlength.C
5587         * paragraph.C
5588         * paragraph_funcs.C
5589         * text3.C
5590         * vc-backend.C: remove usage of STRCONV
5591
5592 2003-09-15  Angus Leeming  <leeming@lyx.org>
5593
5594         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5595         explicitly define the color passed to the painter.
5596
5597 2003-09-15  Angus Leeming  <leeming@lyx.org>
5598
5599         * bufferparams.C (BufferParams): reorder member initializers to avoid
5600         compiler warning.
5601
5602 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5603
5604         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5605         * text.C (updateRowPositions): remove an unusual nop
5606
5607 2003-09-12  André Pönitz  <poenitz@gmx.net>
5608
5609         * BufferView_pimpl.C:
5610         * Bullet.C:
5611         * layout.h:
5612         * lyxfunc.C:
5613         * lyxlayout.[Ch]:
5614         * lyxtextclass.C:
5615         * rowpainter.C:
5616         * text.C:
5617         * text2.C:
5618         * Counters.[Ch]: finish the 'automatic counters' job
5619
5620 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5621
5622         * aspell.C: include <boost/assert.cpp> (compile fix)
5623
5624 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5625
5626         * boost.C (assertion_failed): use lyx::support::abort instead of
5627         assert.
5628
5629 2003-09-10  Angus Leeming  <leeming@lyx.org>
5630
5631         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5632         with their _fwd progeny.
5633
5634 2003-09-09  Angus Leeming  <leeming@lyx.org>
5635
5636         134 files throughtout the source tree: replace 'using namespace abc;'
5637         directives with the appropriate 'using abc::xyz;' declarations.
5638
5639 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5640
5641         * boost.C (emergencyCleanup): moved here from LAssert.c
5642         (assertion_failed): new function, called by BOOST_ASSERT
5643
5644         * several files: change Assert to BOOST_ASSERT
5645
5646 2003-09-09  Angus Leeming  <leeming@lyx.org>
5647
5648         * buffer.[Ch]: Add an Impl class and move Buffer's member
5649         variables into it. As a result move several header files out of
5650         buffer.h.
5651
5652         Add header files to lots of .C files all over the tree as a result.
5653
5654 2003-09-09  Angus Leeming  <leeming@lyx.org>
5655
5656         * buffer.[Ch]: make Buffer's member variables private. Add
5657         accessor functions.
5658
5659         Lots of changes all over the tree as a result.
5660
5661 2003-09-08  Angus Leeming  <leeming@lyx.org>
5662
5663         * graph.C: #include <config.h>.
5664
5665 2003-09-08  Angus Leeming  <leeming@lyx.org>
5666
5667         * BranchList.C:
5668         * BufferView.C:
5669         * BufferView_pimpl.C:
5670         * CutAndPaste.C:
5671         * DepTable.C:
5672         * LaTeX.C:
5673         * LaTeXFeatures.C:
5674         * LyXAction.C:
5675         * MenuBackend.C:
5676         * TextCache.C:
5677         * aspell.C:
5678         * buffer.C:
5679         * bufferlist.C:
5680         * changes.C:
5681         * chset.C:
5682         * converter.C:
5683         * counters.C:
5684         * debug.C:
5685         * graph.C:
5686         * ispell.C:
5687         * lyx_cb.C:
5688         * lyxfind.C:
5689         * lyxfunc.C:
5690         * lyxlex_pimpl.C:
5691         * lyxrc.C:
5692         * lyxrow.C:
5693         * paragraph.C:
5694         * rowpainter.C:
5695         * texrow.C:
5696         * text.C:
5697         * text2.C:
5698         * toc.C: remove redundant using directives.
5699
5700 2003-09-07  Angus Leeming  <leeming@lyx.org>
5701
5702         * LaTeXFeatures.h: remove #include "support/types.h".
5703         * ToolbarBackend.h: remove #include <algorithm>.
5704         * changes.h: remove #include <ctime>.
5705         * debug.h: remove #include <iosfwd>.
5706         * graph.h: remove #include "support/std_string.h".
5707         * lyx_main.h: remove #include <csignal>.
5708         * lyxlex_pimpl.h: remove #include <fstream>.
5709         * sgml.h: remove #include <algorithm>, <utility>.
5710         * toc.h: remove #include "support/std_ostream.h".
5711         Add #include <iosfwd>.
5712
5713 2003-09-07  Angus Leeming  <leeming@lyx.org>
5714
5715         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5716
5717         * converter.h: forward declare LatexRunParams.
5718         * encoding.h: remove #include "lyxrc.h".
5719         * lyxtext.h: remove #include "LColor.h".
5720         * lyxtextclass.h: remove #include "support/types.h".
5721         * trans.h: remove #include "tex-accent.h".
5722         * trans_mgr.h: remove #include "tex-accent.h".
5723         * insets/inset.h: remove #include "support/types.h", <vector>.
5724         * insets/insetcollapsable.h: remove #include "LColor.h".
5725         * insets/insetinclude.h: remove #include "dimension.h".
5726         * insets/insetlatexaccent.h: remove #include "dimension.h".
5727         * insets/insetoptarg.h:: remove #include "insettext.h".
5728         * insets/insettext.h: remove #include "dimension.h",
5729         <boost/shared_ptr.hpp>
5730
5731         * insets/renderers.h: add #include "dimension.h".
5732         * insets/updatableinset.h: add #include "support/types.h".
5733
5734         * many .C files: Associated changes.
5735
5736 2003-09-06  Angus Leeming  <leeming@lyx.org>
5737
5738         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5739         one, inside testInvariant.
5740
5741         * PrinterParams.C: new file.
5742         * PrinterParams.[Ch]: move the function bodies out of line.
5743
5744 2003-09-06  Angus Leeming  <leeming@lyx.org>
5745
5746         * ParagraphParameters.h: forward declare ParameterStruct rather than
5747         including its header file.
5748         (depth): moved out-of-line.
5749
5750 2003-09-06  Angus Leeming  <leeming@lyx.org>
5751
5752         * BufferView_pimpl.h:
5753         * kbmap.h:
5754         * kbsequence.h:
5755         * lyxfunc.h: forward declare LyXKeySym rather than
5756         #include "frontends/LyXKeySym.h".
5757
5758         * BufferView_pimpl.C:
5759         * kbmap.C:
5760         * kbsequence.C:
5761         * lyxfunc.C: associated changes.
5762
5763 2003-09-06  Angus Leeming  <leeming@lyx.org>
5764
5765         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5766         As a result, can remove the #include "insets/inset.h" from BufferView.h
5767
5768 2003-09-06  Angus Leeming  <leeming@lyx.org>
5769
5770         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5771         As a result, can remove the #include "insets/inset.h" from BufferView.h
5772
5773 2003-09-06  Angus Leeming  <leeming@lyx.org>
5774
5775         * buffer_funcs.C:
5776         * buffer.h:
5777         * bufferlist.C:
5778         * BufferView.C:
5779         * bufferview_funcs.C:
5780         * BufferView_pimpl.C:
5781         * CutAndPaste.C:
5782         * lyx_cb.C:
5783         * lyxfunc.C:
5784         * paragraph.h:
5785         * ParagraphParameters.C:
5786         * tabular.C:
5787         * text3.C:
5788         * toc.C:
5789         * undo_funcs.C:
5790         * frontends/controllers/ControlDocument.C:
5791         * insets/insetcaption.C: rearrange the #includes into some sort of
5792         coherent order.
5793
5794         * buffer.h: remove #includes ErrorList.h, undo.h
5795
5796 2003-09-06  Angus Leeming  <leeming@lyx.org>
5797
5798         * support/types.h: add a 'depth_type' typedef, used to store the
5799         nesting depth of a paragraph.
5800
5801         * paragraph.h:
5802         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5803         defining explicitly.
5804
5805         * buffer.h:
5806         * paragraph_funcs.h:
5807         * ParagraphParameters.h:
5808         * sgml.h: use lyx::depth_type rather than Paragraph or
5809         ParameterStruct's depth_type.
5810
5811         * buffer.h
5812         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5813
5814         * BufferView.C:
5815         * BufferView_pimpl.C:
5816         * CutAndPaste.C:
5817         * ParagraphParameters.C:
5818         * buffer_funcs.C:
5819         * bufferlist.C:
5820         * bufferview_funcs.C:
5821         * lyx_cb.C:
5822         * lyxfunc.C:
5823         * tabular.C:
5824         * text3.C:
5825         * toc.C:
5826         * undo_funcs.C:
5827         * frontends/LyXView.C:
5828         * frontends/controllers/ControlDocument.C:
5829         * frontends/controllers/ControlErrorList.C:
5830         * insets/insetbibitem.C:
5831         * insets/insetbranch.C:
5832         * insets/insetcaption.C:
5833         * insets/insetcollapsable.C:
5834         * insets/insetenv.C:
5835         * insets/insetert.C:
5836         * insets/insetfloat.C:
5837         * insets/insetfoot.C:
5838         * insets/insetfootlike.C:
5839         * insets/insetnewline.C:
5840         * insets/insetquotes.C:
5841         * insets/insettabular.C:
5842         * insets/insettext.C:
5843         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5844
5845         * frontends/controllers/ControlChanges.C: #include "changes.h".
5846
5847 2003-09-06  Angus Leeming  <leeming@lyx.org>
5848
5849         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5850         than #including paragraph.h.
5851
5852         * ParagraphList.h:
5853         * RowList.h: deleted. Superfluous.
5854
5855         * CutAndPaste.h:
5856         * iterators.h:
5857         * lyxcursor.h:
5858         * lyxtext.h:
5859         * text_funcs.h:
5860         * undo.h:
5861         * undo_funcs.h:
5862         * insets/inset.h:
5863         * insets/insettext.h: use ParagraphList_fwd.h rather than
5864         ParagraphList.h.
5865
5866         * paragraph.h: don't forward declare ParagraphList.
5867
5868         * buffer.h:
5869         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5870         rather than ParagraphList.h. paragraph.h is still needed for the
5871         Paragraph::depth_type parameters.
5872
5873         * textcursor.h: enable it to compile stand-alone in light of the
5874         above changes.
5875
5876         * bufferview_funcs.C:
5877         * iterators.C:
5878         * lyxfunc.C:
5879         * lyxrow_funcs.C:
5880         * paragraph.C:
5881         * rowpainter.C:
5882         * text.C:
5883         * text2.C:
5884         * text3.C:
5885         * text_funcs.C:
5886         * textcursor.C:
5887         * undo.C:
5888         * frontends/controllers/ControlParagraph.C:
5889         * frontends/controllers/ControlTabular.C:
5890         * insets/insetmarginal.C:
5891         * insets/insetminipage.C:
5892         * insets/insetnote.C:
5893         * insets/insetoptarg.C: add header files needed to compile again.
5894
5895 2003-09-06  Angus Leeming  <leeming@lyx.org>
5896
5897         * RowList_fwd.h: new file, forward-declaring Row rather than
5898         #including lyxrow.h.
5899
5900         * lyxrow_funcs.h:
5901         * lyxtext.h:
5902         * paragraph.h:
5903         * insets/insettext.h: use it instead of RowList.h
5904
5905         * bufferview_funcs.C:
5906         * lyxfunc.C:
5907         * lyxrow_funcs.C:
5908         * paragraph.C:
5909         * rowpainter.C:
5910         * text.C:
5911         * text2.C:
5912         * text3.C: #include "RowList.h".
5913
5914 2003-09-05  Angus Leeming  <leeming@lyx.org>
5915
5916         * factory.C (createInset):
5917         * vspace.C (c-tor): replace sscanf call with an istringstream.
5918         * ispell.C: re-add missing HP/UX headers.
5919         * lyxserver.C: re-add missing  os2 headers.
5920
5921 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5922
5923         * BranchList.C:
5924         * graph.C:
5925         * ispell.C:
5926         * lastfiles.C:
5927         * lyx_cb.C:
5928         * lyxserver.C:
5929         * texrow.C:
5930         * text3.C: re-add missing system headers, needed for 2.95.2.
5931
5932 2003-09-05  Angus Leeming  <leeming@lyx.org>
5933
5934         Changes most place everywhere due to the removal of using directives
5935         from support/std_sstream.h.
5936
5937 2003-09-05  Angus Leeming  <leeming@lyx.org>
5938
5939         Replace LString.h with support/std_string.h,
5940         Lsstream.h with support/std_sstream.h,
5941         support/LIstream.h with support/std_istream.h,
5942         support/LOstream.h with support/std_ostream.h.
5943
5944         Changes resulting throughout the tree.
5945
5946 2003-09-05  Angus Leeming  <leeming@lyx.org>
5947
5948         * sgml.h: ensure that the header file can be compiled stand-alone.
5949         * *.C: strip out redundant #includes. (320 in total.)
5950
5951 2003-09-04  Angus Leeming  <leeming@lyx.org>
5952
5953         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5954         here (from getPackages).
5955
5956         * debug.[Ch]: add a new EXTERNAL tag.
5957
5958 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5959
5960         * text2.C (cursorEnd): simplify
5961         (setCursor): adjust
5962         (getColumnNearX): adjust
5963
5964         * text.C (computeBidiTables): adjust
5965         (fill): adjust
5966
5967         * rowpainter.C (paintChars): adjust
5968         (paintSelection): adjust
5969         (paintChangeBar): adjust
5970         (paintText): adjust
5971
5972         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5973         lastPos instead.
5974         (numberOfSeparators): adjust
5975
5976 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5977
5978         * LyXAction.C:
5979         * box.[Ch]:
5980         * lfuns.h:
5981         * lyxfunc.C:
5982         * text3.C: Restricts the mouse click functionality
5983         of insets like bibtex, include, toc and floatlist to the visible
5984         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5985         up the dialogs. Cursor has to be in front of the inset (i.e.
5986         start of row) for this to function.
5987
5988 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5989
5990         * bufferview_funcs.C (currentState): output row information
5991
5992 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5993
5994         * bufferview_funcs.C (currentState): output paragraph position
5995
5996 2003-09-04  Angus Leeming  <leeming@lyx.org>
5997
5998         * FloatList.h: move out #include "Floating.h".
5999         * LaTeX.h: move out #include "DepTable.h".
6000         * LyXAction.h: move out #include "funcrequest.h".
6001         * buffer.h: move out #include "author.h", "iterators.h".
6002         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6003         * lyx_main.h: move out #include "errorlist.h".
6004         * lyxfunc.h: move out #include "FuncStatus.h".
6005         * lyxtext: move out #include "lyxcursor.h".
6006         * paragraph_pimpl.h: move out #include "counters.h".
6007
6008 2003-09-03  Angus Leeming  <leeming@lyx.org>
6009
6010         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6011         preamble_snippets list, enabling us to add snippets to the preamble
6012         only if the snippet was not there already.
6013
6014 2003-09-04  Angus Leeming  <leeming@lyx.org>
6015
6016         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6017
6018 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6019
6020         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6021         update
6022
6023 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6024
6025         * BranchList.C: point fix, earlier forgotten
6026
6027 2003-09-02  Angus Leeming  <leeming@lyx.org>
6028
6029         * box.C (contains): renamed from 'contained' after a fantastic
6030         amount of hot air.
6031
6032 2003-09-02  John Levon  <levon@movementarian.org>
6033
6034         * BufferView.C:
6035         * lyxcursor.h:
6036         * lyxcursor.C:
6037         * lyxfunc.C:
6038         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6039
6040 2003-09-02  John Levon  <levon@movementarian.org>
6041
6042         * text2.C: simplification of cursorEnd(), including partial
6043         fix for bug 1376
6044
6045 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * buffer.C (readFile): add a space
6048
6049 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6050
6051         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6052
6053 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6054
6055         * buffer.C (readFile): new function, take a filename and a
6056         ParagraphList::iterator
6057         (readFile): adjust
6058         (readFile): adjust, make it private. don't use setStream, make
6059         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6060         always contain the filename.
6061
6062         * BufferView.C (insertLyXFile): simplify and make it work for
6063         gzipped files.
6064
6065 2003-08-30  John Levon  <levon@movementarian.org>
6066
6067         * Makefile.am: fix dist (from Kayvan)
6068
6069 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * most files: change to use const Buffer refs
6072
6073 2003-08-27  André Pönitz  <poenitz@gmx.net>
6074
6075         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6076         on top of ownerPar().
6077
6078 2003-08-27  John Levon  <levon@movementarian.org>
6079
6080         * funcrequest.C: properly initialise POD members
6081
6082 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6083
6084         * lyxtext.h (top_y): move top_y from here
6085         * text.C:
6086         * text2.C:
6087         * text3.C:
6088         * BufferView.[Ch]:
6089         * BufferView_pimpl.[Ch]: to here
6090         * frontends/screen.C:
6091         * insets/insettabular.C:
6092         * insets/insettext.C: adjust
6093         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6094
6095 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6096
6097         * BufferView.[Ch]:
6098         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6099
6100 2003-08-26  André Pönitz  <poenitz@gmx.net>
6101
6102         * paragraph_func.[Ch] (outerPar): new function
6103
6104         * paragraph.C:
6105         * paragraph_funcs.C:
6106         * paragraph_funcs.h:
6107         * paragraph_pimpl.C:
6108         * text2.C: remove Inset::par_owner
6109
6110 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6111
6112         * lyxrow_funcs.C:
6113         * lyxtext.h:
6114         * text.C:
6115         * text2.C: eliminates the needFullRow/display() stuff
6116         altogether, putting the logic in metrics/draw in the insets.
6117
6118 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6119
6120         * text2.C (redoParagraphInternal, redoParagraphs):
6121         * text.C (redoParagraph): add a call to updateRowPositions at the
6122         end of each 'metrics-like' call. Remove all others.
6123         (getRow): remove the 'y-computing' version.
6124         (getRowNearY): do not compute nor return the real y. Solve the
6125         'y < 0' problem and simplify.
6126
6127 2003-08-22  Angus Leeming  <leeming@lyx.org>
6128
6129         * *.[Ch]: clean-up of licence and author blurbs.
6130         Also move config.h out of a few .h files and into a few .C files.
6131
6132 2003-08-22  André Pönitz  <poenitz@gmx.net>
6133
6134         * lyxrow.[Ch]: add x_ and *fill_ members
6135
6136         * lyxtext.h:
6137         * text.C:
6138         * rowpainter.C:
6139         * text2.C: adjust/remove prepareToPrint() calls
6140
6141 2003-08-22  André Pönitz  <poenitz@gmx.net>
6142
6143         * lyxrow.[Ch]: add  end_ member
6144
6145         * lyxrow_funcs.C: use LyXRow::end_
6146
6147         * lyxtext.h (singleWidth): add LyXFont parameter
6148
6149         * rowpainter.C:
6150         * text2.C: adjust LyXText::singleWidth() calls
6151
6152         * text.C (redoParagraph): simplify row breaking logic
6153
6154
6155 2003-08-19  André Pönitz  <poenitz@gmx.net>
6156
6157         * funcrequest.C: initialize button_ member
6158
6159         * text3.C:
6160         * rowpainter.[Ch]: interface consolidation
6161
6162 2003-08-18  André Pönitz  <poenitz@gmx.net>
6163
6164         * BufferView.C:
6165         * BufferView_pimpl.C:
6166         * lyxfind.C:
6167         * paragraph_funcs.C:
6168         * rowpainter.C:
6169         * text3.C: remove LyXScreen::draw() and fitCursor calls
6170
6171         * BranchList.h: remove spurious semicolons
6172
6173         * MenuBackend.C: fix branchlist related crash
6174
6175 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6176
6177         * BranchList.[Ch]:
6178         * InsetList.[Ch]:
6179         * LColor.[Ch]:
6180         * LyXAction.C:
6181         * Makefile.am:
6182         * MenuBackend.[Ch]:
6183         * bufferparams.[Ch]:
6184         * factory.C:
6185         * lfuns.h:
6186         * lyxfunc.C:
6187         * text3.C: implements the 'branch inset'
6188         idea. This allows the output of various versions of a document
6189         from a single source version, selectively outputing or suppressing
6190         output of parts of the text.
6191         This implementation contains a 'branch list editor' in a separate
6192         tab of the document settings dialog. Branches are user definable
6193         and have a "display colour" to distinguish them on-screen.
6194
6195         ColorHandler was somewhat cleaned up.
6196         (1) make possible a dynamically growing LColor list by allowing
6197         the graphic context cache to grow along (vector);
6198         (2) eliminate an IMHO unnecessary step in colour allocation.
6199
6200 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6201
6202         * BufferView_pimpl.C: compile fix
6203
6204 2003-08-15  André Pönitz  <poenitz@gmx.net>
6205
6206         * rowpainter.C: remove extra metrics calls
6207
6208         * lyxtext.h: merge the two constructors into a single one,
6209           pass reference to owner's par list
6210
6211         * BufferView_pimpl.C:
6212         * text.C:
6213         * text2.C: adjust
6214
6215 2003-08-15  André Pönitz  <poenitz@gmx.net>
6216
6217         * lyxrow_funcs.[Ch]:
6218         * lyxtext.h:
6219         * paragraph.h:
6220         * paragraph_funcs.C:
6221         * rowpainter.C:
6222         * text.C:
6223         * text2.C:
6224         * text3.C:
6225         * text_funcs.C: split LyXText::rowlist_ into individual
6226         Paragraph::rows_ chunks
6227
6228         * BufferView.[Ch]:
6229         * BufferView_pimpl.[Ch]:
6230         * lyxfind.C:
6231         * lyxtext.h:
6232         * text3.C: remove toggleSelection()
6233
6234 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6235
6236         * bufferlist.C: beautify two alerts (shorter text of buttons)
6237         * buffer.C: Remove redundant ' ' from message
6238         * tabular.h:
6239         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6240         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6241         rename VALIGN_CENTER to VALIGN_MIDDLE
6242
6243 2003-08-11  André Pönitz  <poenitz@gmx.net>
6244
6245         * lyxtext.h (getPar):
6246         * text.C: new function
6247
6248 2003-08-11  André Pönitz  <poenitz@gmx.net>
6249
6250         * Makefile.am:
6251         * tracer.[Ch]: remove unneeded files
6252
6253         * InsetList.[Ch]: remove resizeInsetsLyXText()
6254
6255         * lyxtext.h:
6256         * text.C:
6257         * text2.C:
6258         * text3.C: merge insertParagraphs() and appendParagraph()
6259         remove breakAgain(), update()
6260
6261         * BufferView_pimpl.[Ch]:
6262         * bufferview_funcs.[Ch]:
6263         * lyxfunc.C:
6264         * paragraph.[Ch]:
6265         * rowpainter.C:
6266         * tabular.C: adjust after text & InsetList changes.
6267
6268 2003-08-08  André Pönitz  <poenitz@gmx.net>
6269
6270         * text.C (insertChar, backspace): replace rowlist fiddling
6271         with rebreak of full par
6272
6273         * lyxtext.h:
6274         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6275         checkParagraph, updateInset): removed
6276
6277 2003-08-07  André Pönitz  <poenitz@gmx.net>
6278
6279         * paragraph.C:
6280         * text3.C: merge some LFUN handlers, remove dead code
6281
6282 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6283
6284         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6285
6286 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6287
6288         * text2.C (DEPM): fix part of bug 1255 and 1256
6289
6290 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6291
6292         * BufferView_pimpl.C (workAreaDispatch): change to use
6293         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6294         that are no mouse related.
6295
6296 2003-08-05  André Pönitz  <poenitz@gmx.net>
6297
6298         * BufferView.[Ch]:
6299         * BufferView_pimpl.[Ch]:
6300         * bufferview_funcs.C:
6301         * text2.C:
6302         * text3.C: rip out "deep update"
6303
6304         * textcursor.[Ch] (last_sel_cursor): remove unused member
6305
6306 2003-08-04  André Pönitz  <poenitz@gmx.net>
6307
6308         * BufferView.[Ch]:
6309         * BufferView_pimpl.[Ch]:
6310         * ParagraphParameters.C:
6311         * bufferview_funcs.C:
6312         * lyx_cb.C:
6313         * lyxfind.C:
6314         * lyxfunc.C:
6315         * text.C:
6316         * text2.C:
6317         * text3.C: replace "complicated" BufferView::update(...) calls with
6318         simpler ones.
6319
6320         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6321
6322 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6323
6324         * Makefile.am (lyx_SOURCES): add paper.h
6325
6326 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6327
6328         * Makefile.am: move things around so that both lyx-qt and
6329         lyx-xforms can be built (according to --with-frontend). Then lyx
6330         is a symbolic link to lyx-[firstfrontend]
6331
6332 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6333
6334         * Always use std::endl with lyxerr
6335
6336 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6337
6338         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6339
6340 2003-08-01  André Pönitz  <poenitz@gmx.net>
6341
6342         * BufferView.[Ch]:
6343         * BufferView_pimpl.[Ch]:
6344         * lyxfunc.C:
6345         * text3.C: merge BufferView::repaint() and BufferView::update()
6346
6347 2003-08-01  José Matos  <jamatos@lyx.org>
6348
6349         * buffer.[Ch]: file_format is no longer a buffer data element.
6350
6351 2003-08-01  André Pönitz  <poenitz@gmx.net>
6352
6353         * BufferView.C:
6354         * lyxtext.h:
6355         * text.C:
6356         * text2.C: make redoParagraph more independent of current cursor
6357
6358         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6359         * text.C:
6360         * text2.C: remove unneeded members
6361
6362 2003-07-30  André Pönitz  <poenitz@gmx.net>
6363
6364         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6365
6366         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6367           create a single function...
6368
6369         * paragraph_funcs.C (moveItem): ... here.
6370
6371         * text.C:
6372           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6373
6374 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6375
6376         * LColor.[Ch]: Add comment and greyedout logical colors.
6377
6378 2003-07-30  André Pönitz  <poenitz@gmx.net>
6379
6380         * tabular.C: don't use Assert too heavily. This crashes where it
6381           shouldn't
6382
6383 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6384
6385         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6386         is disabled (bug 1232)
6387
6388 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6389
6390         * factory.C: limited 'arg' scope
6391
6392 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6393
6394         * factory.C: fixed Note submenu issues
6395
6396 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6397
6398         * factory.C: submenu for Note/Comment/Greyedout
6399
6400 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * lyx_main.C (LyX):
6403         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6404
6405 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6406
6407         * LaTeXFeatures.C:
6408         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6409         greyedout. Patch provided by Jürgen Spitzmüller.
6410
6411 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6412
6413         * kbmap.C (read): fix error message when reading bind files
6414
6415 2003-07-29  Angus Leeming  <leeming@lyx.org>
6416
6417         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6418         certainly does not do what it purports to do. I am doing it, and
6419         us, a favour by killing it.
6420
6421 2003-07-28  José Matos  <jamatos@lyx.org>
6422
6423         * buffer.C (readBody, do_writeFile):
6424         * paragraph.C(readParagraph): \end_document replaces \the_end.
6425
6426 2003-07-29  André Pönitz  <poenitz@gmx.net>
6427
6428         * BufferView.[Ch]:
6429         * BufferView_pimpl.[Ch]:
6430         * lyxfunc.C:
6431         * text2.C:
6432         * text3.C:
6433         * textcursor.[Ch]: remove toggleToggle & Co
6434
6435 2003-07-28  José Matos  <jamatos@fep.up.pt>
6436
6437         * buffer.C (readParagraph):
6438         * params_func (readParToken, readParagraph):
6439         * paragraph.C (write): \layout -> \begin_layout.
6440
6441 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * lyxlex_pimpl.C (setFile): clean up slightly.
6444
6445         * bufferparams.h: add compressed var
6446
6447         * buffer_funcs.C (readFile): adjust for LyXLex change
6448         (newFile): ditto + simplify
6449
6450         * buffer.C (writeFile): handle writing of compressed files
6451
6452         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6453         Check if the file is compressed and set a bufferparm if so.
6454
6455         * Makefile.am (lyx_LDADD): remove explicit -lz
6456
6457 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6458
6459         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6460         makeDocBookFile): put the real LyX version in the first line of
6461         the file
6462
6463         * version.h:
6464         * version.C.in: remove lyx_docversion
6465
6466         * tabular.C (write_attribute): add a template-based version to
6467         write enums properly
6468
6469 2003-07-28  André Pönitz  <poenitz@gmx.net>
6470
6471         * lyxtext.h:
6472         * text.C:
6473         * text2.C:
6474         * text3.C: use doubles again for x-coordinates. They are needed.
6475
6476 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * messages.C (getLocaleDir): use lyx_localedir()
6479
6480         * lyxlex_pimpl.C (setFile): compress stuff
6481
6482         * buffer.C (writeFile): add some compression stuff
6483         (do_writeFile): new func, dont call expliti close... will this
6484         breake anything?
6485
6486         * Makefile.am (lyx_LDADD): add -lz
6487
6488 2003-07-28  José Matos  <jamatos@fep.up.pt>
6489
6490         * buffer.C: increment file format.
6491         * paragraph_funcs (readParagraph, readParToken):
6492         * paragraph.C (readParagraph): add \end_layout.
6493
6494 2003-07-27  Angus Leeming  <leeming@lyx.org>
6495
6496         * Makefile.am: remove special casing for configure-time setting of
6497         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6498
6499         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6500         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6501
6502 2003-07-26  André Pönitz  <poenitz@gmx.net>
6503
6504         * paragraph_func.[Ch]:
6505         * paragraph.C (realizeFont): inline it whereever it is used
6506
6507         * rowpainter.C:
6508         * text.C:
6509         * text2.C:
6510         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6511
6512
6513 2003-07-26  André Pönitz  <poenitz@gmx.net>
6514
6515         *       lyxtext.h:
6516         * text.C:
6517         * text2.C: get rid of LyXText::need_break_row
6518
6519 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * toc.[Ch]: put namespace toc inside namespace lyx
6522
6523         * MenuBackend.C (expandToc2): adjust for lyx::toc
6524         (expandToc): ditto
6525
6526         * lyxfunc.C (dispatch): adjust for lyx::find
6527
6528         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6529         lyx::find instead. Reorganize a bit.
6530         (LyXReplace): rename to replace
6531         (LyXFind): rename to find
6532
6533         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6534         (dispatch): ditto
6535
6536 2003-07-26  André Pönitz  <poenitz@gmx.net>
6537
6538         * text.C (setHeightOfRow): restrict scope of temporary variable
6539
6540         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6541           code (never has been used?)
6542
6543 2003-07-27  Asger Alstrup  <alstrup@local>
6544
6545         * text.C (fill): Optimise algorithm to exploit that we can reuse
6546         the LyXFont for many characters.
6547         (setHeightOfRow): Same thing.
6548         (rowBreakPoint): Same thing.
6549
6550 2003-07-26  Asger Alstrup  <alstrup@local>
6551
6552         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6553
6554         * text.C (singleWidth): Spurious font copying in hot-spot
6555         singleWidth avoided. Reorder tests for arabic for efficiency.
6556
6557         * text.C (fill): handle empty paragraphs better.
6558
6559 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6560
6561         * ispell.C:
6562         * encoding.h: add includes
6563
6564         * lyxrc.C: remove reading of bind files
6565
6566         * lyx_main.C (init): setup bindings and menus only if we have a
6567         gui.
6568
6569         * kbmap.C (read): new method. Do the actual reading of bind
6570         files.
6571
6572         * converter.C (dvipdfm_options):
6573         * bufferparams.C:
6574         * lyxrc.C (read):
6575         (output): adapt PAPER_* enums.
6576
6577         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6578
6579         * bufferparams.h: remove paper-related enums from there
6580
6581         * paper.h: New file. A trivial header file to hold paper-related
6582         enums. It should later expand to contain many paper-related
6583         horrors access.
6584
6585         * lyxrc.C: declare extern displayTranslator
6586
6587 2003-07-27  José Matos  <jamatos@fep.up.pt>
6588
6589         * tabular.[Ch] (linuxdoc): add support for tables and figures
6590         (linuxdoc).
6591
6592 2003-07-27  José Matos  <jamatos@fep.up.pt>
6593
6594         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6595         consistency in both functions.
6596         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6597
6598 2003-07-26  Asger Alstrup  <alstrup@local>
6599
6600         * rowpainter.C (paintRows): Change algorithm to work directly on
6601         the insets rather than asking every character in the document
6602         whether its an inset.
6603
6604 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6605
6606         * buffer.C (openFileWrite): factorize some code
6607
6608 2003-07-26  Angus Leeming  <leeming@lyx.org>
6609
6610         * lyx_cb.C:
6611         * lyx_main.[Ch]: replace occurances of system_tempdir with
6612         os::getTmpDir().
6613
6614 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6615
6616         * rename Inset to InsetOld
6617
6618 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6619
6620         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6621         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6622         which I think is a bit clearer. EDIT is gone, since it was
6623         premature optimisation, and broken for mathed anyway.
6624         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6625         with cursor positioning in insets as well (math insets still do not
6626         work, but that's a different story anyway.) It mysteriously
6627         crashes sometimes with undo in the first paragraph, but I'm fairly
6628         confident that this is a compiler bug.
6629
6630 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * paragraph.C (Paragraph): adjust for new clone return type
6633         (operator==): ditto
6634         (copyIntoMinibuffer): ditto
6635
6636 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6637
6638         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6639         by not having a special case, and always doing a full rebreak of
6640         the document after undo.
6641
6642 2003-07-23  Angus Leeming  <leeming@lyx.org>
6643
6644         * factory.C (createInset): InsetExternal::setParams now takes a
6645         Buffer const * arg.
6646
6647 2003-07-23  Angus Leeming  <leeming@lyx.org>
6648
6649         * factory.C (createInset): changed interface to the external and
6650         graphics mailers' string2params functions.
6651
6652 2003-07-23  Angus Leeming  <leeming@lyx.org>
6653
6654         * factory.C (createInset): pass a
6655         Buffer const * parameter to InsetExternalMailer's string2params.
6656
6657 2003-07-22  John Levon  <levon@movementarian.org>
6658
6659         * Thesaurus.h: include the right aiksaurus header
6660
6661 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6662
6663         * MenuBackend.C (expand): check menu shortcuts unconditionally
6664
6665 2003-07-21  Angus Leeming  <leeming@lyx.org>
6666
6667         * factory.C (createInset): pass a
6668         buffer_path parameter to InsetGraphicsMailer's string2params.
6669
6670 2003-07-21  Angus Leeming  <leeming@lyx.org>
6671
6672         * BufferView_pimpl.C (buffer):
6673         * buffer.C (d-tor):
6674         * lyx_main.C (LyX):
6675         * lyxfunc.C (dispatch):
6676         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6677         rather than the grfx shortcut.
6678
6679 2003-07-21  André Pönitz  <poenitz@gmx.net>
6680
6681         * rowpainter.C: remove unused variables
6682
6683         * tabular_funcs.C:
6684         * tabular_funcs.h: move to tabular.C
6685         * Makefile.am: adjust
6686
6687         * tabular.[Ch]: basic optical cleaning
6688
6689         * author.h: pass references, not values
6690
6691 2003-07-18  André Pönitz  <poenitz@gmx.net>
6692
6693         * lyxtext.h:
6694         * metricsinfo.C:
6695         * metricsinfo.h:
6696         * rowpainter.C:
6697         * text.C:
6698         * text2.C:
6699         * text3.C: two-phase drawing for InsetText and InsetTabular
6700         some float -> int changes.
6701
6702 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6703
6704         * lyx_main.C: fix the fix
6705
6706 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6707
6708         * lyx_main.C: fix a crash in batch mode if no files specified
6709         * converter.C: ws
6710
6711 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6712
6713         * format.[Ch] (papersize): moved to BufferParams
6714         * converter.[Ch] (dvips_options): moved to BufferParams
6715         (dvipdfm_options): moved to anon namespace
6716         * bufferparams.[Ch]: added above functions.
6717
6718 2003-07-17  André Pönitz  <poenitz@gmx.net>
6719
6720         * lyxtext.h:
6721         * rowpainter.C:
6722         * text2.C: don't call inset->update() anymore
6723
6724         * metricsinfo.[Ch]: add convenience constructor
6725
6726 2003-07-16  André Pönitz  <poenitz@gmx.net>
6727
6728         * lyxcursor.[Ch]:
6729         * lyxfunc.[Ch]:
6730         * text.C:
6731         * text2.C: replace the LyXCursor::irow_ member with
6732          on-demand computation of the value
6733
6734 2003-07-16  John Levon  <levon@movementarian.org>
6735
6736         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6737
6738 2003-07-15  André Pönitz  <poenitz@gmx.net>
6739
6740         * text.C:
6741         * text2.C: remove no more needed refresh_row
6742
6743 2003-07-15  André Pönitz  <poenitz@gmx.net>
6744
6745         * lyxtext.h:
6746         * rowpainter.C:
6747         * text2.C:
6748         * text3.C: refresh_status tristate -> need_update bool
6749
6750 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6751
6752         * lyxtext.h (init): remove reinit argument (act as if always true)
6753         * text2.C: adjust to that
6754
6755 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6756
6757         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6758         * text3.C: use it to delete selections in some cases
6759         (bugs 441, 673, 702, 954).
6760
6761 2003-07-14  André Pönitz  <poenitz@gmx.net>
6762
6763         * rowpainter.[Ch]: reduce interface
6764
6765 2003-07-14  André Pönitz  <poenitz@gmx.net>
6766
6767         * BufferView_pimpl.C:
6768         * text2.C: adjust after removing unused BufferView * argument
6769
6770 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6771
6772         * text2.C (init): fix a crash fired on resize
6773
6774 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6775
6776         * buffer.[Ch]: added new closing signal
6777         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6778         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6779         BufferView::Pimpl via the closing the signal
6780
6781 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6782
6783         * buffer.[Ch]: take out all bv-related from buffer
6784         * BufferView.C:
6785         * BufferView_pimpl.[Ch]: connect to new signals
6786         * CutAndPaste.C: removed useless asserts
6787         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6788         * lyxvc.[Ch]:
6789         * vc-backend.[Ch]:
6790         * lyxfunc.C: moved view-related funciontality from vc here
6791         * paragraph.C: removed outdated comments
6792         * text.C: ws
6793
6794 2003-07-10  André Pönitz  <poenitz@gmx.net>
6795
6796         * BufferView_pimpl.C:
6797         * tabular.h:
6798         * tabular_funcs.C:
6799         * text.C:
6800         * text2.C: remove InsetText::InnerCache, clean up consequences
6801
6802 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6803
6804         * ispell.C: fix two typos in error messages
6805
6806 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6807
6808         * Extend Note inset to other forms of annotation like Comment
6809         and Greyedout. Right button click gives dialog.
6810
6811         Files modified or added (+):
6812
6813         * insetnote.[Ch]
6814         * FormNote.[Ch]      +
6815         * ControlNote.[Ch]   +
6816         * form_note.fd       +
6817         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6818         frontends/controllers
6819         * xforms/Dialogs.C
6820         * factory.C
6821
6822 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6823
6824         * aspell.C: add missing namespace lyx::support
6825
6826 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6827
6828         * BufferView.[Ch] (newFile): Add
6829         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6830         * LaTeX.[Ch] (message): added this signal and use it
6831         * buffer.[Ch] (busy, message): added these signals and use them
6832         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6833         * converter.C:
6834         * exporter.C:
6835         * format.C:
6836         * importer.C: use buffer signals instead of direct bv calling
6837         * lyx_cb.[Ch] (ShowMessage): removed
6838         * lyx_main.C:
6839         * lyxfunc.C:
6840         * paragraph_funcs.C:
6841         * text2.C: use buffer signals
6842
6843 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * introduce namespace lyx::graphics
6846
6847 2003-07-02  André Pönitz  <poenitz@gmx.net>
6848
6849         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6850
6851 2003-07-01  André Pönitz  <poenitz@gmx.net>
6852
6853         * text.C:
6854         * text2.C:
6855         * text3.C:
6856         * text_funcs.[Ch]:
6857         * textcursor.h:
6858         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6859           text*.C to text_func.C
6860
6861 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * introduce namespace lyx::support
6864
6865 2003-06-30  André Pönitz  <poenitz@gmx.net>
6866
6867         * Chktex.C:
6868         * funcrequest.C:
6869         * lyxtext.h:
6870         * text.C: re-enable --with-included-string
6871
6872 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * textcursor.C: add <config.h>
6875
6876         * text.C (getWord): remove const from word_location arg
6877
6878         * lyxvc.C (getLogFile): fix const type order
6879
6880         * lyxtext.h: remove const from word_location arg, add arg name
6881
6882         * lyxlayout.h: currect type on labeltype.
6883
6884         * importer.C: correct \file
6885
6886         * converter.C (intToFormat): use std:: on ret val, ws changes
6887
6888         * bufferlist.h: correct \file
6889
6890         * buffer.C (makeLinuxDocFile): fix const type order
6891         (makeDocBookFile): ditto
6892         (fillWithBibKeys): use std:: on stdlib args.
6893
6894         * CutAndPaste.C: fix authors.
6895         (availableSelections): use std:: on return vector
6896
6897 2003-06-27  André Pönitz  <poenitz@gmx.net>
6898
6899         * BufferView_pimpl.C:
6900         * bufferview_funcs.C:
6901         * lyxcursor.C:
6902         * lyxcursor.h:
6903         * lyxfunc.C:
6904         * lyxtext.h:
6905         * rowpainter.C:
6906         * text.C:
6907         * text2.C:
6908         * text3.C: remove LyXCursor::row_ member
6909
6910         * lyxtext.h:
6911         * text.C: rename fullRebreak() to partialRebreak() and implement
6912           a fullRebreak() that really bereks fully
6913
6914         * textcursor.h: new struct for cursor-related data
6915
6916 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6917
6918         * lyx_main.C (LyX): get full path of document loaded on the
6919         command line
6920
6921 2003-06-26  André Pönitz  <poenitz@gmx.net>
6922
6923         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6924           remove unused/broken operator>,<,>=.
6925
6926         *       text.C: remove only use of broken operator<= in an Assert().
6927
6928 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6929
6930         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6931         moved errorlist_.clear to showErrorList
6932
6933 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6934
6935         * converter.C (scanLog, runLaTeX):
6936         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6937         move the bv->showErrorList call to the callers
6938         * lyxfunc.C: i.e. here...
6939         * text2.C: and here
6940         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6941         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6942         namespace, the second to...
6943         * buffer_funcs (BufferFormat, parseErrors): added
6944         * errorlist.C (ErrorList(TeXErrors const &)): removed
6945
6946 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6947
6948         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6949
6950 2003-06-24  "Garst R. Reese" <reese@isn.net>
6951
6952         * debug.C: fix typo
6953
6954 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6955
6956         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6957
6958         * version.C.in: change docversion to 1.4
6959
6960 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6961
6962         * buffer.C: fix a bug just introduced
6963
6964 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6965
6966         * buffer.[Ch]: added the parseError signal and use it, removed
6967         sgmlError
6968         * BufferView.[Ch] (addError): moved to ...
6969         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6970         to the Buffer::parseError signal to catch (guess what) parse errors
6971         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6972
6973 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6974
6975         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6976         ability to create a buffer and to return an existing one from
6977         the list. Moved these functions to...
6978         * buffer_funcs.[Ch]: added
6979         * BufferView.[Ch] (loadLyXFile): added
6980         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6981         job removed from bufferlist::loadLyXFile.
6982         * buffer.C (setReadOnly): make it work without view
6983         (i.e added an if (users))
6984
6985 2003-06-19  Angus Leeming  <leeming@lyx.org>
6986
6987         * lfuns.h:
6988         * LyXAction.C (init):
6989         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6990         with LFUN_DIALOG_SHOW <name> <data>.
6991
6992 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6993
6994         * CutAndPaste.C (availableSelections): small compilation fix for
6995         ancient (gcc 2.9x) compilers
6996
6997 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * text3.C (cursorNext): add tmp var
7000
7001         * text2.C (updateCounters): for function calling out of for clause
7002         (replaceSelectionWithString): ditto
7003         (insertStringAsParagraphs): ditto
7004         (getColumnNearX): add tmp var
7005         (setCursorFromCoordinates): add tmp var
7006         (cursorDownParagraph): add tmp var
7007         (deleteEmptyParagraphMechanism): add tmp var
7008
7009         * text.C (insertChar): add tmp var
7010
7011         * rowpainter.C (paintDepthBar): add tmp var
7012
7013         * CutAndPaste.C (availableSelections): potentially check all
7014         paragraphs in a cut to fill the shown strings.
7015
7016 2003-06-18  André Pönitz  <poenitz@gmx.net>
7017
7018         * kbmap.[Ch]: use vector<> instead of list<>
7019
7020 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7021
7022         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7023         pasteSelection with index
7024
7025         * text2.C (pasteSelection): modify, call pasteSelection with index
7026
7027         * paragraph.C (asString): reimplement version with no interval to
7028         call the one with interval.
7029
7030         * lyxtext.h: add index arg to pasteSelection
7031
7032         * MenuBackend.C (MenuItem): handle PasteRecent
7033         (Menu::read::Menutags): add md_pasterecent
7034         (read): handle it
7035         (expandPasteRecent): new function
7036         (expand): use it
7037
7038         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7039
7040         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7041         the limited stack
7042         (availableSelections): new function
7043
7044 2003-06-17  Angus Leeming  <leeming@lyx.org>
7045
7046         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7047
7048 2003-06-17  Angus Leeming  <leeming@lyx.org>
7049
7050         * lfuns.h:
7051         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7052
7053         * lyxfunc.C (dispatch): invoke it.
7054
7055 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7056
7057         * iterators.C (operator++, ParPosition): reintroduce some
7058         const_cast for the benefit of older compilers.
7059
7060 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7061
7062         * text3.C (dispatch): do not modify clipboard when doing
7063         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7064         LFUN_DELETE_SKIP on a selection selection
7065
7066 2003-06-16  André Pönitz  <poenitz@gmx.net>
7067
7068         * BufferView.C:
7069         * buffer.C:
7070         * buffer.h:
7071         * paragraph.C:
7072         * tabular.[Ch]: IU of clone() and getLabelList();
7073
7074 2003-06-13  André Pönitz  <poenitz@gmx.net>
7075
7076         * tabular.h: compactification
7077
7078 2003-06-12  André Pönitz  <poenitz@gmx.net>
7079
7080         * tabular.C:
7081         * tabular.h:
7082         * tabular_funcs.h: some renaming plus whitespace
7083
7084 2003-06-12  André Pönitz  <poenitz@gmx.net>
7085
7086         * BufferView.C:
7087         * BufferView_pimpl.C:
7088         * CutAndPaste.C:
7089         * buffer.C:
7090         * iterators.[Ch]:
7091         * lyxfunc.C:
7092         * text.C:
7093         * toc.C: Return a Paragraph & for ParIterator::operator*()
7094
7095 2003-06-11  John Levon  <levon@movementarian.org>
7096
7097         * lyx_main.C:
7098         * ToolbarBackend.h:
7099         * ToolbarBackend.C: add "Toolbars" section and
7100         put the flags there
7101
7102 2003-06-10  Angus Leeming  <leeming@lyx.org>
7103
7104         * lfuns.h:
7105         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7106
7107         * lyxfunc.C (dispatch): invoke it.
7108
7109 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7110
7111         * main.C: protect <ios> with HAVE_IOS
7112         (main): protect sync_with_stdio with HAVE_IOS
7113
7114 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7115
7116         * text2.C (cutSelection): adjust
7117         (pasteSelection): adjust
7118
7119         * messages.C: handle get of empty string
7120
7121         * main.C (main): use sync_with_stdio(false)
7122
7123         * lyxfunc.C (dispatch): adjust
7124
7125         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7126         (WriteAs): remove unneeded BufferView arg.
7127
7128         * bufferparams.h: use correct types on papersize, papersize2 and
7129         paperpackage.
7130
7131         * bufferparams.C (readToken): adjust for type
7132         (writeLaTeX): add missing cases to switch.
7133
7134         * bufferlist.C (quitWriteBuffer): adjust
7135         (close): adjust
7136
7137         * buffer.C (asciiParagraph): remove some commented code.
7138
7139         * CutAndPaste.C: remove current_view extern variable.
7140         (cutSelection): add BufferParams arg.
7141         (eraseSelection): add BufferParams arg.
7142         (pasteSelection): add Buffer const & arg
7143
7144 2003-06-07  John Levon  <levon@movementarian.org>
7145
7146         * buffer.C:
7147         * paragraph_funcs.C:
7148         * paragraph_pimpl.C:
7149         * text.C:
7150         * text2.C:
7151         * paragraph.h:
7152         * paragraph.C: allow InsetERT to freely space lines,
7153         and some consolidation of code
7154
7155 2003-06-06  José Matos  <jamatos@fep.up.pt>
7156
7157         * buffer.C (makeDocBookFile): fix bug #821
7158
7159 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7160
7161         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7162
7163 2003-06-04  Angus Leeming  <leeming@lyx.org>
7164
7165         * buffer.C: bump format to 224.
7166
7167 2003-06-05  André Pönitz  <poenitz@gmx.net>
7168
7169         * text2.C (redoParagraphs): remove two const_cast<>
7170
7171 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7172
7173         * ParagraphList.h: remove last remnants of NO_STD_LIST
7174
7175 2003-06-03  Angus Leeming  <leeming@lyx.org>
7176
7177         * factory.C (createInset): small change to the way InsetExternal's params
7178         are set.
7179
7180 2003-06-04  André Pönitz  <poenitz@gmx.net>
7181
7182         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7183
7184         * paragraph_pimpl.h:
7185         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7186
7187         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7188
7189         * undo_funcs.C: make some simple cases of undo work again
7190
7191 2003-06-03  John Levon  <levon@movementarian.org>
7192
7193         * ispell.C: HPUX doesn't have sys/select.h
7194         (from Albert Chin)
7195
7196 2003-06-03  John Levon  <levon@movementarian.org>
7197
7198         * CutAndPaste.C: update tabular and include inset
7199         buffer references
7200
7201         * buffer.h:
7202         * paragraph.h:
7203         * paragraph.C: remove owningBuffer(), don't pass Buffer
7204         to clone()
7205
7206         * factory.C: insetGraphicsParams changed
7207
7208 2003-06-02  John Levon  <levon@movementarian.org>
7209
7210         * LyXAction.C:
7211         * factory.C:
7212         * lfuns.h:
7213         * lyxfunc.C:
7214         * text3.C: remove insetparent
7215
7216 2003-06-02  John Levon  <levon@movementarian.org>
7217
7218         * buffer.h:
7219         * buffer.C: fix inset_iterator.end(), move out of line
7220         (bug 1149)
7221
7222 2003-06-01  John Levon  <levon@movementarian.org>
7223
7224         * text3.C: use a proper cut/paste when doing inset
7225         insert (from Jürgen Spitzmüller)
7226
7227 2003-06-01  John Levon  <levon@movementarian.org>
7228
7229         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7230
7231 2003-05-30  André Pönitz  <poenitz@gmx.net>
7232
7233         * rowpainter.C: unify second drawing phase
7234
7235 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7236
7237         * trans_mgr.C: remove one case of current_view
7238
7239         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7240
7241         * paragraph_funcs.h: remove paragraph.h include
7242
7243         * paragraph.h: delete NO_STD_LIST stuff
7244
7245         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7246
7247         * buffer.h: remove paragraph.h include
7248
7249         * ParagraphList.C: delete file
7250
7251         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7252
7253         * toc.C (getTocList): adjust
7254
7255         * paragraph_pimpl.C (validate): adjust
7256
7257         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7258
7259         * paragraph.C (Paragraph): adjust
7260         (getPositionOfInset): use const_iterator, adjust
7261         (bibitem): use const_iterator, adjust
7262         (setInsetOwner): adjust
7263
7264         * iterators.C (operator++): adjust
7265
7266         * InsetList.[Ch]: Replace selfmade iterator with standard
7267         vector::iterator also introduce const_iterator. Remove getPos,
7268         getInset and setInset from InsetTable. Adjust accordingly.
7269
7270         * BufferView.C (lockInset): adjust
7271         (ChangeInsets): adjust
7272
7273         * tabular.[Ch]: delete commented same_id functions
7274
7275 2003-05-28  John Levon  <levon@movementarian.org>
7276
7277         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7278
7279 2003-05-28  André Pönitz  <poenitz@gmx.net>
7280
7281         * metricsinfo.[Ch]: remove 'fullredraw' member
7282
7283 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7284
7285         * lyxtextclass.C (operator): remove caching.
7286
7287 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * text3.C: adjust
7290
7291         * text2.C (cursorBottom): adjust
7292         (setCounter): use ParagraphList::find, adjust
7293
7294         * text.C (workWidth): use ParagraphList::find, adjust
7295
7296         * lyxcursor.C (LyXCursor): adjust
7297
7298         * buffer.C (inset_iterator): adjust
7299
7300         * ParagraphList.h: make iterator(value_type) private, make
7301         ParagraphList a friend of iterator.
7302
7303         * ParagraphList.C (find): new function
7304
7305         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7306
7307 2003-05-27  André Pönitz  <poenitz@gmx.net>
7308
7309         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7310
7311 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7312
7313         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7314
7315 2003-05-26  John Levon  <levon@movementarian.org>
7316
7317         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7318
7319 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * remove same_id from function signatures, adjust.
7322
7323 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7326
7327         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7328
7329         * paragraph.C (Paragraph): get rid of same_ids parameter
7330
7331         * ParagraphList.C (insert): adjust
7332         (push_back): adjust
7333
7334 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * paragraph_funcs.C (breakParagraph): adjust
7337         (breakParagraphConservative): adjust
7338
7339         * buffer.C (readParagraph): adjust
7340
7341         * ParagraphList.C (insert): take a reference instead of a pointer
7342         (insert): adjust
7343
7344         * paragraph.[Ch] (id): new function
7345
7346         * bufferlist.C (newFile): adjust
7347
7348         * ParagraphList.C (ParagraphList): adjust
7349         (assign): adjust
7350         (push_back): take a reference instead of a pointer.
7351
7352         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7353
7354         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7355         instead.
7356
7357         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7358         set else use old code.
7359
7360         * ParagraphList.C: remove all NO_NEXT code and only compile this
7361         code of NO_STD_LIST is set.
7362
7363 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7364
7365         * BufferView_pimpl.C:
7366         * TextCache.C:
7367         * TextCache.h:
7368         * bufferlist.C:
7369         * errorlist.h:
7370         * format.C:
7371         * format.h:
7372         * graph.C:
7373         * lyxfunc.C:
7374         * lyxrc.C:
7375         * graphics/GraphicsConverter.C:
7376         * graphics/PreviewLoader.C: header adjustment
7377
7378 2003-05-23  Angus Leeming  <leeming@lyx.org>
7379
7380         * LaTeXFeatures.[Ch] (useBabel): new method.
7381         * bufferparams.C (writeLaTeX): use it.
7382
7383 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7384
7385         * ParagraphList.h (set): remove unused function.
7386
7387 2003-05-23  André Pönitz  <poenitz@gmx.net>
7388
7389         * BufferView.C:
7390         * BufferView_pimpl.C:
7391         * buffer.C:
7392         * buffer.h:
7393         * lyxfunc.C:
7394         * undo_funcs.C: setUndo reworked
7395
7396         * iterators.[Ch]: add access to topmost ParagraphList
7397
7398         * lyxtext.[Ch] (workWidth): add a const
7399
7400 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7401
7402         * texrow.[Ch] (increasePos): remove function
7403         * exporter.C (export): removed unused var and outdated comment
7404
7405 2003-05-23  Angus Leeming  <leeming@lyx.org>
7406
7407         * latexrunparams.h: rename fragile as moving_arg.
7408         * paragraph.C (simpleTeXOnePar): ditto.
7409         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7410
7411 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7414         (createUndo): ditto
7415         (textUndoOrRedo): comment out a currently unused var.
7416
7417         * paragraph.h (NO_NEXT): enable NO_NEXT
7418
7419         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7420
7421         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7422
7423         * exporter.C (Export): adjust for removeAutoInsets removal.
7424
7425         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7426
7427         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7428
7429         * BufferView.[Ch] (removeAutoInsets): delete function
7430
7431 2003-05-22  Angus Leeming  <leeming@lyx.org>
7432
7433         * latexrunparams.h: add a free_spacing variable.
7434
7435         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7436         to pass moving_arg, as the data is stored in runparams.fragile.
7437
7438         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7439         to Inset::latexOptional or to simpleTeXOnePar.
7440
7441         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7442         free_spacing arg to Inset::latexOptional.
7443
7444         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7445         free_spacing arg.
7446
7447 2003-05-22  Angus Leeming  <leeming@lyx.org>
7448
7449         * latexrunparams.h: add fragile and use_babel variables.
7450
7451         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7452         * buffer.C (makeLaTeXFile): store this returned value in
7453         runparams.use_babel, thus passing it to the inset::latex methods.
7454
7455         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7456         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7457
7458         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7459         longer has a fragile arg, as it is stored in runparams.fragile.
7460
7461         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7462         moving_arg parameter as the data is stored in runparams.fragile.
7463
7464         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7465         a fragile parameter as the data is stored in runparams.fragile.
7466
7467 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7468
7469         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7470
7471 2003-05-22  Angus Leeming  <leeming@lyx.org>
7472
7473         * latexrunparams.h: add a 'bool nice' which defaults to false.
7474
7475         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7476         now encapsulated within runparams.
7477
7478         * bufferlist.C (updateIncludedTeXfiles):
7479         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7480
7481 2003-05-22  Angus Leeming  <leeming@lyx.org>
7482
7483         * latexrunparams.h: new file containing struct LatexRunParams.
7484         * Makefile.am: add new file.
7485
7486         * LaTeX.[Ch] (c-tor, run):
7487         * buffer.[Ch] (makeLaTeXFile):
7488         * bufferlist.[Ch] (updateIncludedTeXfiles):
7489         * converter.C (convert, scanLog):
7490         * converter.[Ch] (runLaTeX):
7491         * exporter.C (Export):
7492         * paragraph.[Ch] (simpleTeXOnePar):
7493         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7494         * paragraph_funcs.[Ch] (latexParagraphs):
7495         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7496         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7497         pass around a LatexRunParams parameter.
7498
7499 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * paragraph.[Ch]: remove unused constructor
7502
7503         * ParagraphList.C (erase): new function, taking two iterators
7504
7505 2003-05-22  André Pönitz  <poenitz@gmx.net>
7506
7507         * undo_funcs.C: remove duplicated code
7508
7509         * iterator.[Ch]: operator=
7510
7511 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7512
7513         * tabular.C (SetMultiColumn): ws changes
7514
7515         * rowpainter.C (paintFirst): get rid of a ->previous
7516
7517         * lyx_cb.C (getPossibleLabel): parlist simplification
7518
7519         * BufferView.C (ChangeInsets): simplify slightly.
7520
7521 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7522
7523         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7524         * lfuns.h: new LFUN_SPACE
7525         * lyxfunc.C: protected space has a new lfun
7526         * paragraph_funcs.C: read new space insets
7527         * text3.C:
7528         * factory.C: handle new space insets
7529
7530 2003-05-22  André Pönitz  <poenitz@gmx.net>
7531
7532         * BufferView.C:
7533         * BufferView_pimpl.C:
7534         * buffer.[Ch]:
7535         * lyxfunc.C:
7536         * undo_funcs.C: return a ParIterator from getParFromID.
7537
7538         * iterators.[Ch]: add two const's
7539
7540 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * toc.C (getTocList): adjust
7543
7544         * iterators.[Ch]: rework for parlist
7545
7546         * buffer.C (par_iterator_begin): adjust
7547         (par_iterator_end): adjust
7548
7549         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7550
7551         * BufferView.C (removeAutoInsets): adjust
7552         (ChangeInsets): adjust
7553
7554 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7555
7556         * text.C (top_y): fix bug 1110
7557
7558 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7559
7560         * errorlist.[Ch]: added
7561         * buffer.C:
7562         * BufferView.[Ch]:
7563         * BufferView_pimpl.C:
7564         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7565         instead
7566
7567 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * Makefile.am: ensure that lyx is relinked upon changes to the
7570         various "convenience" libs.
7571
7572 2003-05-20  Angus Leeming  <leeming@lyx.org>
7573
7574         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7575         files are compiled in alphabetical order again.
7576
7577         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7578
7579 2003-05-19  Angus Leeming  <leeming@lyx.org>
7580
7581         * gettext.[Ch]: remove "char const * _(char const *)".
7582
7583 2003-05-19  André Pönitz  <poenitz@gmx.net>
7584
7585         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7586
7587         * Makefile.am:
7588         * BufferView.C:
7589         * DepTable.h:
7590         * LaTeXFeatures.C:
7591         * buffer.C:
7592         * lyxfont.C:
7593         * lyxlex.h:
7594         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7595
7596 2003-05-19  André Pönitz  <poenitz@gmx.net>
7597
7598         * buffer.C:
7599         * lyxlayout.[Ch]:
7600         * lyxtextclass.[Ch]:
7601         * paragraph.C:
7602         * paragraph_funcs.[Ch]:
7603         * text2.C:
7604         * text3.C: more insetenv work
7605
7606 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7607
7608         * ParagraphParameters.C (params2string): small bug fixed
7609
7610 2003-05-16  André Pönitz  <poenitz@gmx.net>
7611
7612         * debug.C:
7613         * bufferview_funcs.C: patch from Kornel Benko to prevent
7614           crash when _(...) is called twice in a statement
7615
7616 2003-05-16  André Pönitz  <poenitz@gmx.net>
7617
7618         * BufferView.C:
7619         * lyxfunc.C:
7620         * text.C:
7621         * text2.C:
7622         * text3.C:
7623         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7624
7625 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7626
7627         * lyx_main.C (init): remove spurious static_cast
7628
7629 2003-05-14  André Pönitz  <poenitz@gmx.net>
7630
7631         * BufferView.C: fix format string
7632
7633 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7634
7635         * BufferView.[Ch] (insertErrors): removed
7636         * BufferView.[Ch] (showErrorList): added
7637         * buffer.C (runChkTeX):
7638         * converter.C (scanLog): call showErrorList instead of inserterrors
7639
7640 2003-05-13  André Pönitz  <poenitz@gmx.net>
7641
7642         * BufferView_pimpl.C:
7643         * buffer.C:
7644         * bufferview_func.C:
7645         * MenuBackend.C:
7646         * lyxfunc.C:
7647         * lyxrc.C:
7648         * tex-accent.C:
7649         * text3.C:
7650         * toc.C:
7651         * tabular_funcs.h: tostr() from its own header
7652
7653         * ParagraphParameters.C:
7654         * ToolbarBackend.C:
7655         * bufferparams.C:
7656         * format.C:
7657         * lyxlex_pimpl.C:
7658         * text3.C: STRCONV()
7659
7660 2003-05-12  André Pönitz  <poenitz@gmx.net>
7661
7662         * BufferView.C:
7663         * BufferView_pimpl.C:
7664         * CutAndPaste.C:
7665         * LaTeX.C:
7666         * LaTeXFeatures.C:
7667         * ParagraphParameters.C:
7668         * buffer.C:
7669         * bufferlist.C:
7670         * bufferparams.C:
7671         * bufferview_funcs.C:
7672         * converter.C:
7673         * counters.C:
7674         * debug.C:
7675         * exporter.C:
7676         * format.C:
7677         * importer.C:
7678         * lyx_cb.C:
7679         * lyx_main.C:
7680         * lyxfont.C:
7681         * lyxfunc.C:
7682         * lyxvc.C:
7683         * paragraph.C:
7684         * paragraph_funcs.C:
7685         * tabular.C:
7686         * tabular_funcs.C:
7687         * text2.C:
7688         * text3.C:  boost::format -> bformat  all over the place
7689
7690
7691 2003-05-09  André Pönitz  <poenitz@gmx.net>
7692
7693         * LColor.[Ch]: Pimpl the #include <map> away
7694
7695 2003-05-09  John Levon  <levon@movementarian.org>
7696
7697         * bufferlist.C: never remove emergency saves
7698
7699 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * Makefile.am: better lib building
7702
7703 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7704
7705         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7706         instead.
7707         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7708         (simpleTeXSpecialChars): adjust
7709         (simpleTeXSpecialChars): adjust
7710         * paragraph.C (simpleTeXOnePar): adjust
7711         * buffer.C (makeLaTeXFile): adjust
7712
7713         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7714
7715         * text2.C (changeDepth): parlist cleanup
7716         (getColumnNearX): ditto
7717
7718         * rowpainter.C (getLabelFont): parlist cleanup
7719
7720         * bufferlist.C (newFile): parlist cleanup
7721
7722         * CutAndPaste.C (eraseSelection): parlist cleanup
7723
7724         * BufferView_pimpl.C (trackChanges): parlist cleanup
7725         (dispatch): ditto
7726
7727         * BufferView.C (lockInset): parlist cleanup.
7728         (ChangeInsets): ditto
7729
7730 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * CutAndPaste.h: Update file header.
7733
7734         * CutAndPaste.C: Update file header.
7735         Store the parts cut out of the Document in a limited_stack.
7736         (copySelection): adjust
7737         (pasteSelection): new function, takes the index in the limited stack.
7738         (nrOfParagraphs): adjust
7739         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7740         simplify error inset insertion.
7741         (checkPastePossible): adjust
7742
7743 2003-05-06  John Levon  <levon@movementarian.org>
7744
7745         * text2.C: don't cast wrap inset to float
7746
7747 2003-05-05  André Pönitz  <poenitz@gmx.net>
7748
7749         * iterator.C:
7750         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7751
7752         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7753           few naked Paragraph *.
7754
7755 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7756
7757         * bufferparams.C: Output warning if a document with missing
7758         TeX document class is loaded
7759         * exporter.C: Disable TeX exports if the document class is missing
7760         * lyxtextclass.C:
7761         * lyxtextclass.h:
7762         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7763         isTeXClassAvailable()
7764
7765 2003-05-03  John Levon  <levon@movementarian.org>
7766
7767         * BufferView.h:
7768         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7769         explicit cursor show/hide
7770
7771         * BufferView_pimpl.h:
7772         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7773         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7774
7775         * lyxfunc.C: hide cursor before dispatching.
7776
7777         * lyx_cb.C:
7778         * lyxfind.C:
7779         * text.C:
7780         * text3.C: remove explicit cursor hides
7781
7782 2003-05-02  André Pönitz  <poenitz@gmx.net>
7783
7784         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7785
7786         * undo_funcs.C:
7787         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7788           linked lists
7789
7790         * text2.C: tiny whitespace
7791
7792 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * undo_funcs.C: almost only ws changes.
7795
7796         * ParagraphList.C (splice): just return if pl is empty.
7797
7798 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * ParagraphList.C (splice): new function.
7801
7802         * CutAndPaste.C (pasteSelection): use it
7803
7804 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * CutAndPaste.C (pasteSelection): remove the last next and
7807         previous from this file.
7808
7809 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * CutAndPaste.C (pasteSelection): more clean up, user proper
7812         ParagraphList functions for pasteing.
7813
7814         * ParagraphList.C (insert): new function, three arg insert
7815
7816 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * ParagraphList.C (insert): new function, three arg insert
7819
7820         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7821         not on paragraphs.
7822
7823 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7826
7827 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7830
7831 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7834         (copySelection): clean up a bit.
7835         (pasteSelection): use make_pair
7836
7837         * ParagraphList.C (ParagraphList): implement copy constructor
7838         (operator=): implement, base on copy constructor.
7839         (assign): new func
7840
7841         * paragraph.C (erase): return a bool
7842
7843         * paragraph_pimpl.C (erasePos): remove function, move contents...
7844         (erase): ... here. Return a bool.
7845         (erase): call erase instead of erasePos.
7846
7847 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7848
7849         * ParagraphList.h: define PitPosPair
7850         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7851         ParagraphList, fix a bug on pasting multiple pars
7852         * text2.C: change interface to C&P
7853
7854 2003-04-30  André Pönitz  <poenitz@gmx.net>
7855
7856         * undo_func.C: revert part of yesterday's patch 2
7857
7858 2003-04-30  John Levon  <levon@movementarian.org>
7859
7860         * LColor.C: s/tabular/table/
7861
7862 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7863
7864         * text3.C (dispatch): do not convert iterator -> pointer
7865         * undo_funcs.C (setCursorParUndo): ditto
7866         * text_funcs.C (transposeChars): ditto
7867
7868         * text2.C (setLayout): ws changes only
7869
7870         * text.C (breakParagraph): do not convert iterator -> pointer
7871         (insertChar): ditto
7872         (acceptChange): ditto
7873         (rejectChange): ditto
7874         (changeCase): ditto
7875         (Delete): ditto
7876         (backspace): ditto
7877
7878         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7879         pointer
7880
7881 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7882
7883         * text3.C (gotoInset): YABG (yet another bad getChar)
7884
7885 2003-04-29  André Pönitz  <poenitz@gmx.net>
7886
7887         * paragraph.h: make operator= private unimplemented as long as
7888           it is unusable
7889
7890         * ParagraphList.C: whitespace
7891
7892         * paragraph.[Ch]:
7893         * paragraph_pimpl.[Ch]:
7894         * paragraph_funcs.C:
7895         * CutAndPaste.C:
7896         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7897
7898         * text2.C:
7899           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7900
7901 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7902
7903         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7904         * paragraph.[Ch] (erase):
7905         * paragraph_pimpl.[Ch] (erase): change return type and value
7906         * text2.C (cutSelection): some rework
7907
7908 2003-04-28  John Levon  <levon@movementarian.org>
7909
7910         * bufferlist.C: changes for unsaved changes dialog
7911
7912 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * bufferlist.C (newFile): set language (messages_) for new
7915         documents also.
7916
7917         * buffer.C (readFile): ws changes only.
7918
7919 2003-04-28  André Pönitz  <poenitz@gmx.net>
7920
7921         * undo_funcs.C:
7922         * lyxfunc.C:
7923         * buffer.[Ch]:
7924         * BufferView_pimpl.C:
7925         * BufferView.C: getParFromID related ParagraphList::iterator changes
7926
7927 2003-04-28  André Pönitz  <poenitz@gmx.net>
7928
7929         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7930           Changes
7931
7932 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7933
7934         * messages.C: remove one more localedir class variable.
7935
7936 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7937
7938         * messages.C (getLocaleDir): singleton generation function
7939         (Pimpl): use it.
7940         (Messages): add a default constructor.
7941
7942         * main.C (main): do not setup localedir here, do not call
7943         gettext_init.
7944
7945         * gettext.C (_): use it.
7946         (gettext_init): delete funciton
7947
7948 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * gettext.C (getLyXMessages): new singleton generating function.
7951
7952         * buffer.C (updateDocLang): adjust
7953
7954         * Makefile.am (messages.o): add target
7955         (main.o): remove target
7956
7957 2003-04-27  John Levon  <levon@movementarian.org>
7958
7959         * bufferlist.C:
7960         * lyx_cb.C:
7961         * lyxfunc.C:
7962         * lyxvc.C: specify cancel button in Alert::prompt
7963
7964 2003-04-26  John Levon  <levon@movementarian.org>
7965
7966         * text3.C:
7967         * lyxfunc.C:
7968         * lfuns.h:
7969         * LyXAction.C: add LFUN_INSET_SETTINGS
7970
7971         * lyxfunc.C: don't enable tabular-feature when there's
7972         just any locking inset
7973
7974 2003-04-26  John Levon  <levon@movementarian.org>
7975
7976         * bufferlist.C: re-add Cancel to buffer close question
7977
7978         * lyxfunc.C: fix import UI a bit
7979
7980 2003-04-25  John Levon  <levon@movementarian.org>
7981
7982         * gettext.C: remove the broken asserts for now
7983
7984 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * messages.C: make case where setlocale cannot comply work better.
7987
7988         * buffer.C (updateDocLang): new function
7989         (changeLanguage): use it
7990         (readFile): use it
7991
7992         * text2.C (setCounter): use B_ a bit.
7993
7994         * lyxlayout.C (Read): be sure to trim the label strings.
7995
7996         * messages.C (Messages): fix typo in comment
7997
7998         * buffer.C (readFile): set message_ after file is loaded.
7999         (makeDocBookFile): remove double return
8000         (changeLanguage): reset message_ upon language change.
8001         (B_): new func, use this to get translated buffer strings.
8002
8003         * main.C: add myself and Jean Marc as authors.
8004
8005 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * messages.[hC]: pimplify Messages, and three different pimpls to be
8008         used in different circumstances.
8009
8010         * gettext.[Ch]: change for use with new message code.
8011
8012 2003-04-24 André Pönitz <poenitz@gmx.net>
8013
8014         * factory.C: support for eqref
8015
8016 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * messages.[Ch]: add missing char
8019
8020         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8021
8022         * messages.[Ch]: New files
8023
8024 2003-04-18  John Levon  <levon@movementarian.org>
8025
8026         * BufferView.h:
8027         * BufferView.C:
8028         * BufferView_pimpl.C:
8029         * lfuns.h:
8030         * LyXAction.C:
8031         * lyxtext.h:
8032         * text2.C: remove layout-copy/paste (bug 778)
8033
8034 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8035
8036         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8037
8038 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8039
8040         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8041         if they succeed. Act accordingly.
8042
8043 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * text2.C (setCharFont): adjust
8046         (setCounter): adjust
8047         (insertStringAsLines): adjust
8048
8049         * text.C (leftMargin): adjust
8050         (setHeightOfRow): adjust
8051
8052         * rowpainter.C (paintFirst): adjust
8053         (paintLast): adjust
8054
8055         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8056         (outerHook): ditto
8057         (isFirstInSequence): ditto
8058         (getEndLabel): ditto
8059         (outerFont): adjust
8060
8061         * paragraph.C (getParLanguage): comment out some hard stuff.
8062
8063         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8064         (sgmlError): ditto
8065         (simpleDocBookOnePar): ditto
8066         (makeDocBookFile): use ParagraphList::iterator
8067
8068         * CutAndPaste.C (pasteSelection): adjust
8069
8070 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * text2.C (getFont): adjust
8073         (getLayoutFont): adjust
8074         (getLabelFont): adjust
8075
8076         * paragraph_funcs.C (TeXOnePar): adjust
8077
8078         * buffer.C (simpleLinuxDocOnePar): adjust
8079         (simpleDocBookOnePar): adjust
8080
8081         * CutAndPaste.C (pasteSelection): adjust
8082
8083         * BufferView.C (getEncoding): adjust
8084
8085         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8086
8087 2003-04-16  John Levon  <levon@movementarian.org>
8088
8089         * lyxfind.C: use parlist stuff for search/changes
8090
8091 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8092
8093         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8094
8095         * text2.C (deleteEmptyParagraphMechanism): adjust
8096
8097         * text2.[Ch] (ownerParagraph): delete func (both of them
8098
8099 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8102
8103 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * ParagraphList.C: prepare for NO_NEXT
8106
8107 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8108
8109         * text2.C (getFont): adjust
8110         (getLayoutFont): adjust
8111         (getLabelFont): adjust
8112
8113         * paragraph.C (getFont): adjust
8114         (getLabelFont): adjust
8115         (getLayoutFont): adjust
8116
8117         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8118
8119 2003-04-15  John Levon  <levon@movementarian.org>
8120
8121         From Angus Leeming
8122
8123         * lyx_main.C: handle Include in .ui files
8124
8125 2003-04-15  John Levon  <levon@movementarian.org>
8126
8127         * MenuBackend.C: make the doc files length shorter
8128
8129         * ToolbarBackend.h:
8130         * ToolbarBackend.C: handle toolbar placement flags,
8131         Minibuffer
8132
8133 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8134
8135         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8136         adjust
8137
8138         * paragraph_funcs.C (TeXOnePar): adjust
8139
8140         * paragraph.C (getLabelFont): add outerfont arg, adjust
8141         (getLayoutFont): ditto
8142         (simpleTeXOnePar): adjust
8143
8144         * paragraph_pimpl.C (realizeFont): delete func
8145
8146 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8147
8148         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8149         row argument, constify cur argument.
8150
8151 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * text2.C (getFont): adjust
8154         (getLayoutFont): adjust
8155         (getLabelFont): adjust
8156
8157         * paragraph_funcs.C (TeXOnePar): adjust
8158         (outerFont): new func...
8159         (realizeFont): ...moved out from here, changed this to facilitate
8160         transition
8161
8162         * paragraph.C (getFont): take outerfont as arg, adjust
8163         (simpleTeXOnePar): add outerfont arg, adjust
8164
8165         * buffer.C (simpleLinuxDocOnePar): adjust
8166         (simpleDocBookOnePar): adjust
8167
8168         * CutAndPaste.C (pasteSelection): adjust
8169
8170         * BufferView.C (getEncoding): adjust
8171
8172 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * text2.C (setCharFont): adjust
8175         (setCounter): adjust
8176
8177         * text.C (leftMargin): adjust
8178         (setHeightOfRow): adjust
8179
8180         * rowpainter.C (paintFirst): adjust
8181         (paintLast): adjust
8182
8183         * paragraph_pimpl.C (realizeFont): adjust
8184
8185         * paragraph.C (isFirstInSequence): move from here...
8186         * paragraph_funcs.C (isFirstInSequence): ...to here
8187
8188         * paragraph.C (outerHook): move from here...
8189         * paragraph_funcs.C (outerHook): ...to here
8190
8191         * paragraph.C (depthHook): move from here...
8192         * paragraph_funcs.C (depthHook): ...to here
8193
8194         * paragraph.C (getEndLabel): move from here...
8195         * paragraph_funcs.C (getEndLabel): ...to here
8196
8197         * text2.C (realizeFont): move from here...
8198         * paragraph_funcs.C (realizeFont): ...to here
8199
8200 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8203
8204 2003-04-14  Angus Leeming  <leeming@lyx.org>
8205
8206         * LColor.[Ch]: scrap LColor mathcursor.
8207
8208 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8209
8210         * lyxlex.[Ch] (text): delete function
8211         * trans.C (Load): adjust
8212         * paragraph_funcs.C (readParToken): adjust
8213
8214 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8217         vector<char> instead of a char[].
8218
8219         * lyxlex_pimpl.C (getString): adjust
8220         (next): adjust
8221         (lex): use getString
8222         (eatLine): adjust
8223         (nextToken): adjust
8224
8225         * lyxlex.C (text): use pimpl_->getString()
8226         (getBool): ditto
8227         (findToken): ditto
8228
8229 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8232         (makeFontEntriesLayoutSpecific): temp var for par.size()
8233         (setLayout): temp var for ownerParagraphs().end()
8234         (fullRebreak): temp var for rows().end()
8235         (selectionAsString): temp var for boost::next(startpit), realize
8236         that the while really is a regular for loop.
8237         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8238         setCursor in one place.
8239         (setParagraph): temp vr for ownerParagraphs().end()
8240         (updateCounters): make the while loop a for loop
8241         (cutSelection): temp var for ownerParagraphs().end()
8242         (updateInset): make the do {} while() a regular for loop
8243         (getCursorX): use temp vars
8244         (setCurrentFont): use temp vars
8245         (getColumnNearX): use temp vars
8246
8247 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * text.C (transformChar): use temp var for getChar
8250         (computeBidiTables): use temp var for row->par()
8251         (fill): move temp vars for row->par() and pit->layout() earlier in
8252         the function.
8253         (labelFill): use temp var for row->par()
8254         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8255         asc and desc, realize that pit never changes and that firstpit is
8256         just a duplicate and not needed. Exchange rit->par() with pit in a
8257         lot of places.
8258         (breakAgain): use a temp var for boost::next(rit)
8259         (breakAgainOneRow): ditto
8260         (breakParagraph): use a temp var for rows().begin()
8261         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8262         (cursorRightOneWord): use temp var for cursor.par() and
8263         cursor.pos(), remove usage of tmpcursor.
8264         (cursorLeftOneWord): use temp var for cursor.par() and
8265         cursor.pos() only set cur at end of function.
8266
8267 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * text.C, text2.C: exchange all usage of Paragraph::next with
8270         boost::next(ParagraphList::iterator)
8271
8272         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8273
8274         * text2.C (cursorTop): simplify implementation
8275         (cursorBottom): ditto
8276         (setParagraph): use ParagraphList::iterator
8277         (setCurrentFont): adjust
8278         (getColumnNearX): adjust
8279         (cursorRight): adjust
8280         (cursorLeft): remove usage of Paragraph::previous
8281         (cursorUpParagraph): ditto
8282         (deleteEmptyParagraphMechanism): slight cleanup
8283
8284         * text.C (isBoundary): take a Paragraph const & instead of a
8285         pointer as arg.
8286         (addressBreakPoint): ditto
8287         (leftMargin): remove usage of Paragraph::previous.
8288         (setHeightOfRow): ditto
8289         (cursorLeftOneWord): ditto
8290         (selectNextWordToSpellcheck): ditto
8291         (Delete): ditto
8292         (backspace): ditto
8293         (breakParagraph): remove one usage of Paragraph::next
8294         (redoParagraph): ditto
8295         (acceptChange): ditto
8296         (insertChar): adjust
8297         (rowBreakPoint): adjust
8298
8299         * bufferview_funcs.C (toggleAndShow): adjust
8300
8301 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8302
8303         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8304         methods to access it.
8305         * lyxtext.h:
8306         * text.C: Added updateRowPositions to compute all row positions.
8307         Make top_y and getRowNearY() to use the cached y position
8308
8309 2003-04-11  John Levon  <levon@movementarian.org>
8310
8311         * text.C (rowBreakPoint): reintroduce the labelEnd
8312         checks, code copied from the row fill stuff. Deep voodoo.
8313
8314         * text.C (fill): add a comment and debugging for the
8315         next poor soul.
8316
8317 2003-04-11  John Levon  <levon@movementarian.org>
8318
8319         * text.C: make sure fullrow insets get wrapped to the next line,
8320         even when they're in a manual label
8321
8322 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8323
8324         * text2.C (insertParagraph): make it take ParagraphList::iterator
8325         as arg.
8326         (setLayout): make it return ParagraphList::iterator
8327         (redoParagraphs): ditto
8328         (setCounter): ditto
8329         (checkParagraph): ditto
8330
8331         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8332
8333         * text2.C: adjust several funcs.
8334         (realizeFont): take a ParagraphList::iterator as arg.
8335         (getLayoutFont): ditto
8336         (getLabelFont): ditto
8337         (setCharFont): ditto
8338
8339         * text.C: adjust several funcs.
8340
8341 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8342
8343         * text.C (selectNextWordToSpellcheck): don't accidentally
8344         skip insets
8345
8346 2003-04-10  John Levon  <levon@movementarian.org>
8347
8348         * ToolbarBackend.C (getIcon): special handling for
8349         LFUN_MATH_DELIM
8350
8351 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8352
8353         * text2.C (cursorRight): a getChar assert fixed
8354
8355 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * text2.C (getFont): change to take a ParagraphList::iterator
8358         instead of Paragraph*
8359         Adjust several functions.
8360
8361         * text.C (transformChar): change to take a ParagraphList::iterator
8362         instead of Paragraph*
8363         (singleWidth): ditto
8364         Adjust several functions.
8365
8366         * rowpainter.C: adjust several functions
8367         * rowpainter.h:store a ParagraphList::iterator and not a
8368         Paragraph&.
8369
8370
8371 2003-04-09  John Levon  <levon@movementarian.org>
8372
8373         * lyxfunc.C:
8374         * lfuns.h:
8375         * LyXAction.h:
8376         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8377         and the "help" bits as well
8378
8379 2003-04-09  John Levon  <levon@movementarian.org>
8380
8381         * ToolbarBackend.h:
8382         * ToolbarBackend.C: allow multiple toolbars
8383
8384 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * undo_funcs.C (setCursorParUndo): adjust
8387
8388         * text_funcs.C (transposeChars): adjust
8389
8390         * text3.C (gotoNextInset): adjust
8391         (dispatch): adjust
8392
8393         * text2.C (setLayout): adjust
8394         (changeDepth): adjust
8395         (setFont): adjust
8396         (redoParagraphs): adjust
8397         (selectionAsString): adjust
8398         (setParagraph): adjust
8399         (insertInset): adjust
8400         (cutSelection): adjust
8401         (copySelection): adjust
8402         (pasteSelection): adjust
8403         (insertStringAsLines): adjust
8404         (updateInset): adjust
8405         (setCursor): change to take a ParagraphList::iterator parameter
8406         (setCursorIntern): change to take a ParagraphList::iterator parameter
8407         (setCurrentFont): adjust
8408         (cursorLeft): adjust
8409         (cursorRight): adjust
8410         (deleteEmptyParagraphMechanism): adjust
8411
8412         * text.C (breakParagraph): adjust
8413         (insertChar): adjust
8414         (acceptChange): adjust
8415         (rejectChange): adjust
8416         (selectNextWordToSpellcheck): adjust
8417         (changeCase): adjust
8418         (Delete): adjust
8419         (backspace): adjust
8420
8421         * lyxfind.C (SearchForward): adjust
8422         (SearchBackward): adjust
8423         (nextChange): adjust
8424
8425         * lyxcursor.C (par): adjust
8426
8427         * lyxcursor.h: store a ParagraphList::iterator instead of a
8428         Paragraph*
8429
8430         * lyx_cb.C (getPossibleLabel): adjust
8431
8432         * bufferview_funcs.C (toggleAndShow): adjust
8433
8434         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8435         (dispatch): adjust
8436
8437         * BufferView.C (removeAutoInsets): adjust
8438         (lockedInsetStoreUndo): adjust
8439
8440 2003-04-09  John Levon  <levon@movementarian.org>
8441
8442         * ToolbarBackend.C: try icon without argument
8443         if with argument fails
8444
8445 2003-04-08  John Levon  <levon@movementarian.org>
8446
8447         * ToolbarBackend.h:
8448         * ToolbarBackend.C: add getIcon(), handle tooltip,
8449         and change from "Icon" to "Item".
8450
8451 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8452
8453         * BufferView.C (lockInset): another bad getchar crunched
8454
8455 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8456
8457         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8458         again)
8459
8460 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8461
8462         * lyxfind.C (searchForward, searchBackwards): bug 782
8463
8464 2003-04-07  John Levon  <levon@movementarian.org>
8465
8466         * paragraph.C: remove dead comment
8467
8468         * text.C: remove troublesome depth-fiddling code
8469         in leftMargin() and rightMargin() (bug 1017)
8470
8471         * text.C: fix breaking of rows in nested lists
8472         (bug 1004)
8473
8474         * text2.C (updateCounters): fix up depth values
8475         (bug 1013)
8476
8477 2003-04-07  John Levon  <levon@movementarian.org>
8478
8479         * BufferView_pimpl.C: clear message when doc finishes resizing,
8480         and after a mouse event
8481
8482         * lyxfunc.C: clear message after exiting inset
8483
8484 2003-04-07  John Levon  <levon@movementarian.org>
8485
8486         * bufferview_funcs.C: show math status not outside
8487         status in the statusbar
8488
8489 2003-04-07  John Levon  <levon@movementarian.org>
8490
8491         * lyxfunc.C: note status changed after a depth change
8492
8493 2003-04-04  Angus Leeming  <leeming@lyx.org>
8494
8495         * LaTeX.h: move AuxInfo operator==, != out of line.
8496         Remove LaTeX virtual destructor; nothing derives from it.
8497         Move operator()() out of public area and rename it startscript().
8498         Change protected for private.
8499
8500 2003-04-04  Angus Leeming  <leeming@lyx.org>
8501
8502         * lyxfunc.C:
8503         * text2.C: remove unneeded #includes.
8504
8505 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8506
8507         * text2.C (dEPM): fix the heigth of the next row
8508
8509 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8510
8511         * text.C: squashed an invalid getChar requester + some ws changes
8512
8513 2003-04-03  John Levon  <levon@movementarian.org>
8514
8515         * bufferview_funcs.h:
8516         * bufferview_funcs.C:
8517         * lyxfunc.C:
8518         * lyxtext.h:
8519         * text2.C: make getStatus work for the env depth lfuns
8520
8521 2003-04-03  John Levon  <levon@movementarian.org>
8522
8523         * bufferview_funcs.h:
8524         * bufferview_funcs.C:
8525         * lyxfunc.C:
8526         * lyxtext.h:
8527         * text2.C: parlistize decDepth(), by merging it with incDepth()
8528
8529 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * lyxrow.h: store a ParagraphList::iterator instead of a
8532         Paragraph* and adjust other class functions to suit.
8533
8534         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8535         above.
8536
8537 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8538
8539         * text2.C (setCursor): do not anchor to cursor row for the time being
8540
8541 2003-04-02  John Levon  <levon@movementarian.org>
8542
8543         * LyXAction.C:
8544         * lfuns.h:
8545         * lyx_main.C:
8546         * lyxtext.h:
8547         * text.C:
8548         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8549
8550 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * paragraph.h: make ParagraphList and ParagraphList::iterator
8553         friends of Paragraph.
8554
8555         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8556
8557         * ParagraphList.C: Use the private next_ and previous_ from
8558         Paragraph.
8559
8560 2003-04-01  John Levon  <levon@movementarian.org>
8561
8562         * ToolbarBackend.h:
8563         * ToolbarBackend.C:
8564         * Makefile.am: rename, remove defaults gunk
8565
8566         * MenuBackend.h:
8567         * MenuBackend.C: remove defaults gunk
8568
8569         * Languages.h:
8570         * Languages.C: remove defaults gunk
8571
8572         * lyx_main.h:
8573         * lyx_main.C: error out if files couldn't be found.
8574
8575 2003-04-02  John Levon  <levon@movementarian.org>
8576
8577         * text2.C: make incDepth() use parlist
8578
8579 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8580
8581         * undo_funcs.C (firstUndoParagraph): adjust
8582
8583         * text3.C (gotoInset): adjust
8584         (dispatch): adjust, and rewrite loop.
8585
8586         * text2.C (init): adjust, and rewrite loop.
8587         (redoParagraphs): adjust
8588         (updateInset): adjust, and rewrite loop.
8589         (deleteEmptyParagraphMechanism): adjust
8590
8591         * tabular.C (LyXTabular): adjust
8592         (SetMultiColumn): adjust
8593         (TeXRow): adjust
8594
8595         * lyxtext.[Ch] (ownerParagraph): delete function
8596         (ownerParagraphs): new function returns a ParagraphList.
8597
8598         * BufferView.C (removeAutoInsets): adjust
8599         (insertErrors): adjust
8600         (setCursorFromRow): adjust
8601
8602 2003-04-01  Angus Leeming  <leeming@lyx.org>
8603
8604         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8605         in the frontends.
8606
8607 2003-04-02  John Levon  <levon@movementarian.org>
8608
8609         * lyxtext.h:
8610         * text.C:
8611         * Makefile.am:
8612         * text_funcs.h:
8613         * text_funcs.C: make transposeChars a free function
8614
8615         * lyxrow_funcs.C: remove wrong comment
8616
8617 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8618
8619         * lyxtext.h: adjust
8620         * rowpainter.C: adjust
8621         * text.C: adjust
8622         * text2.C: adjust
8623         * text3.C: adjust
8624
8625         * lyxrow_funcs. [Ch]: new files
8626
8627         * lyxrow.[Ch]: remove next and previous pointers
8628         (next,previous): remove accessor functions
8629         (isParEnd): move to lyxrow_funcs
8630         (lastPos): move to lyxrow_funcs
8631         (nextRowIsAllInset): move to lyxrow_funcs
8632         (lastPrintablePos): move to lyxrow_funcs
8633         (numberOfSeparators): move to lyxrow_funcs
8634         (numberOfHfills): move to lyxrow_funcs
8635         (numberOfLabelHfills): move to lyxrow_funcs
8636         (hfillExpansion): move to lyxrow_funcs
8637
8638         * lyxfunc.C: adjust
8639
8640         * bufferview_funcs.C (toggleAndShow): adjust
8641
8642         * RowList.h: Remove class RowList from file leave just a
8643         std::list<Row>.
8644
8645         * RowList.C: delete file
8646
8647         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8648         and lyxrow_funcs.h
8649
8650 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8651
8652         * text3.C (cursorPrevious): adjust
8653         (cursorNext): adjust
8654         (dispatch): adjust
8655
8656         * text2.C (redoHeightOfParagraph): adjust
8657         (redoDrawingOfParagraph): adjust
8658         (setCursor): adjust
8659
8660         * text.C (breakParagraph): adjust
8661         (insertChar): adjust
8662         (backspace): adjust
8663
8664         * rowpainter.C (RowPainter): adjust
8665         (leftMargin): simplify and adjust
8666         (most rowpainter functions): adjust.
8667
8668         * rowpainter.h: store the row as RowList::iterator not as Row*
8669
8670         * lyxcursor.C (row): taka RowList::iterator as arg
8671         (irow): ditto
8672
8673         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8674         of Row*.
8675
8676 2003-04-01  Angus Leeming  <leeming@lyx.org>
8677
8678         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8679         stuff like bool Bool.
8680
8681 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8682
8683         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8684         rewrite a loop
8685
8686 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8687
8688         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8689         RowList::iterator.
8690
8691         * lyxtext.h (rows): drop one version and leve a const variant that
8692         returns a RowList::iterator.
8693
8694 2003-03-31  Angus Leeming  <leeming@lyx.org>
8695
8696         * text.C (fill): ensure that the signature is the same as that in the
8697         header file.
8698
8699 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8700
8701         * text2.C (redoParagraphs): adjust
8702         (updateCounters): adjust
8703         (checkParagraph): adjust
8704         (getColumnNearX): adjust and reformat a bit.
8705
8706         * text.C (top_y): adjust
8707         (workWidth): adjust
8708         (leftMargin): adjust
8709         (prepareToPrint): adjust
8710         (getRow): adjust
8711         (getRowNearY): adjust
8712
8713         * lyxtext.h: make rowlist_ mutable.
8714
8715         * RowList.h: add const_iterator
8716         * RowList.C: adjust for RowList::const_iterator.
8717
8718         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8719         adjust.
8720
8721 2003-03-31  John Levon  <levon@movementarian.org>
8722
8723         * lyxrc.h:
8724         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8725
8726         * lyx_main.C: set default fonts from using lyx_gui funcs
8727
8728         * exporter.C: pdf_mode moved from lyxrc
8729
8730         * lyx_cb.C:
8731         * lyxfunc.C: changes from above
8732
8733 2003-03-31  John Levon  <levon@movementarian.org>
8734
8735         * lyx_main.C: fix to the last fix
8736
8737 2003-03-31  John Levon  <levon@movementarian.org>
8738
8739         * bufferlist.C: "Load original" -> "Load Original"
8740
8741         * converter.C:
8742         * exporter.C:
8743         * importer.C:
8744         * lyx_main.C:
8745         * format.C: more Alert cleanups
8746
8747 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8748
8749         * text2.C (removeParagraph): make it take a RowList::iterator as
8750         arg, adjust.
8751         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8752         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8753
8754         * text.C (anchor_row): make it take a RowList::iterator as arg,
8755         adjust.
8756         (computeBidiTables): make it take a const reference to Row instead
8757         of Row pointer, adjust.
8758         (leftMargin): make it take a RowList::iterator as arg, adjust.
8759         (rowBreakPoint): adjust
8760         (breakAgainOneRow): make it take a RowList::iterator as arg,
8761         adjust.
8762         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8763
8764         * bufferview_funcs.C (toggleAndShow): adjust
8765
8766 2003-03-30  John Levon  <levon@movementarian.org>
8767
8768         * Makefile.am:
8769         * BoostFormat.h:
8770         * boost-inst.C: moved to support
8771
8772         * several files: changes as a result
8773
8774 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * text2.C (LyXText): adjust.
8777         (init): adjust
8778         (removeRow): make it take a RowList::iterator as arg, adjust.
8779         (fullRebreak): adjust
8780         (deleteEmptyParagraphMechanism): adjust
8781         (clearPaint): adjust
8782         (postPaint): adjust
8783
8784         * text.C (top_y): adjust
8785         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8786         (breakAgain): make it take a RowList::iterator as arg, adjust.
8787         (breakParagraph): adjust
8788         (insertChar): adjust
8789         (backspace): adjust
8790
8791         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8792         need_break_row, and refresh_row.
8793
8794         * text3.C (dispatch): adjust
8795
8796         * text2.C (checkParagraph): adjust
8797         (setCursor): adjust
8798         (setCursorFromCoordinates): adjust
8799
8800         * text.C (top_y): adjust
8801         (workWidth): adjust
8802         (getRow): make it return a RowList::iterator, adjust
8803         (getRowNearY): make it return a RowList::iterator, adjust
8804
8805         * text2.C (init): adjust
8806         (insertRow): remove function
8807         (insertParagraph): adjust
8808         (redoParagraphs): adjust
8809         (fullRebreak): adjust
8810         (updateCounters): adjust
8811
8812         * text.C (top_y): rewrite to use RowList iterators.
8813         (top_y): adjust
8814         (setHeightOfRow): rewrite to sue RowList iterators.
8815         (appendParagraph): adjust
8816         (breakAgain): adjust
8817         (breakAgainOneRow): adjust
8818         (breakParagraph): adjust
8819         (getRow): adjust
8820         (getRowNearY): adjust, and remove commented code.
8821
8822         * lyxtext.h (firstRow): delete function
8823         (lastRow): delete function
8824         (rows): new function (const and non-const versions.)
8825         (insertRow): delete function
8826
8827         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8828
8829 2003-03-29  John Levon  <levon@movementarian.org>
8830
8831         * BufferView_pimpl.C: always update scrollbar top
8832         because pasting text when we're anchored could mean we
8833         miss an update altogether
8834
8835 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8836
8837         * text2.C (init): use rowlist_.end() and not 0.
8838         (insertRow): change to take a RowList::iterator as arg, adjust
8839         for this.
8840         (insertParagraph): change to take a RowList::iterator as arg,
8841         adjust for this.
8842         (redoParagraphs): remove some debug msgs.
8843
8844         * text.C (appendParagraph): change to take a RowList::iterator
8845         arg, adjust for this.
8846         (breakAgain): add an assert
8847         (breakAgainOneRow): ditto
8848
8849 2003-03-29  John Levon  <levon@movementarian.org>
8850
8851         * text2.C: do not clear selection after inc/decDepth
8852         (bug 550)
8853
8854 2003-03-29  John Levon  <levon@movementarian.org>
8855
8856         * BufferView.C:
8857         * buffer.C: fix broken strerrors according to Lars
8858
8859 2003-03-29  John Levon  <levon@movementarian.org>
8860
8861         * converters.C: more Alert cleanups
8862
8863 2003-03-29  John Levon  <levon@movementarian.org>
8864
8865         * bufferview_funcs.C: remove pointless Alert
8866
8867         * buffer.C: fix confusing error message when
8868         a template is chmoded 000
8869
8870 2003-03-29  John Levon  <levon@movementarian.org>
8871
8872         * BufferView.C:
8873         * BufferView.h:
8874         * BufferView_pimpl.C: Alert fixes
8875
8876         * Makefile.am:
8877         * tabular.C:
8878         * tabular-old.C: remove unused table compat reading
8879
8880 2003-03-29  John Levon  <levon@movementarian.org>
8881
8882         * BufferView.C:
8883         * buffer.C:
8884         * lyx_cb.h:
8885         * lyx_cb.C: more Alert cleanups
8886
8887         * lyxfunc.C: don't allow chktex if not latex document
8888
8889 2003-03-29  John Levon  <levon@movementarian.org>
8890
8891         * lyx_cb.C:
8892         * BufferView.C:
8893         * buffer.C: warnings pushed down from support/,
8894         kill err_alert
8895
8896 2003-03-29  John Levon  <levon@movementarian.org>
8897
8898         * lyxfunc.C: safety check for C-r (revert)
8899
8900 2003-03-29  John Levon  <levon@movementarian.org>
8901
8902         * bufferlist.h:
8903         * bufferlist.C: several UI fixes using Alert::prompt.
8904         Fix the pointless looping quit code. Fix stupid revert
8905         behaviour (bug 938)
8906
8907         * lyxvc.h:
8908         * lyxvc.C:
8909         * lyx_cb.C: use Alert::prompt
8910
8911         * lyx_main.C: remove a silly question
8912
8913         * lyxfunc.C: remove a couple of silly questions,
8914         use Alert::prompt
8915
8916 2003-03-28  John Levon  <levon@movementarian.org>
8917
8918         * text2.C: fix bug 974 (End on empty par)
8919
8920 2003-03-28  John Levon  <levon@movementarian.org>
8921
8922         * BufferView_pimpl.C:
8923         * LyXAction.C:
8924         * lfuns.h: remove do-nothing math greek lfuns
8925
8926 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8927
8928         * lyxgluelength.h (isValidGlueLength): add default arg on
8929         parameter 2. Remove default arg from friend in class.
8930
8931         * lyxlength.h (isValidLength): add default arg on parameter 2.
8932         Remove default arg from friend in class.
8933
8934         * text2.C (LyXText): adjust, initialize refresh_row.
8935         (init): adjust
8936         (removeRow): adjust
8937         (insertRow): adjust
8938         (insertParagraph): adjst
8939         (redoParagraphs): adjust
8940         (fullRebreak): adjust
8941         (updateCounters): adjust
8942         (deleteEmptyParagraphMechanism): first attempt at fixing a
8943         crashing bug.
8944
8945         * text.C (top_y): adjust
8946         (setHeightOfRow): adjust
8947         (getRow): adjust
8948         (getRowNearY): adjust
8949
8950         * lyxtext.h: include RowList.h
8951         (~LyXText): not needed anymore, deleted.
8952         (firstRow): modify for RowList
8953         (lastRow): new function
8954         Delete firstrow and lastrow class variables, add a Rowlist
8955         rowlist_ class variable.
8956
8957         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8958         paragraph is empty.
8959
8960         * RowList.C (insert): fix case where it == begin().
8961
8962 2003-03-26  Angus Leeming  <leeming@lyx.org>
8963
8964         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8965         the thesaurus dialog.
8966
8967 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8968
8969         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8970
8971         * RowList.[Ch]: new files
8972
8973         * ParagraphList.C (erase): handle the case where it == begin
8974         correctly.
8975
8976 2003-03-25  John Levon  <levon@movementarian.org>
8977
8978         * Makefile.am:
8979         * aspell_local.h:
8980         * aspell.C: add new aspell support
8981
8982         * lyxrc.h:
8983         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8984         have it accessible.
8985
8986 2003-03-25  Angus Leeming  <leeming@lyx.org>
8987
8988         * lfuns.h:
8989         * LyXAction.C (init): new LFUN_INSET_INSERT.
8990
8991         * BufferView_pimpl.C (dispatch): split out part of the
8992         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8993
8994         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8995         LFUN_INSET_APPLY.
8996
8997 2003-03-25  Angus Leeming  <leeming@lyx.org>
8998
8999         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9000
9001 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9002
9003         * text2.C:
9004         * text3.C: remove useless row->height(0)
9005
9006 2003-03-25  John Levon  <levon@movementarian.org>
9007
9008         * lyxtext.h:
9009         * text2.C:
9010         * text3.C: rename the refreshing stuff to better names
9011
9012 2003-03-24  John Levon  <levon@movementarian.org>
9013
9014         * BufferView_pimpl.h:
9015         * BufferView_pimpl.C: update layout choice on a mouse
9016         press/release
9017
9018 2003-03-23  John Levon  <levon@movementarian.org>
9019
9020         * Makefile.am: fix commandtags.h reference
9021
9022 2003-03-22  John Levon  <levon@movementarian.org>
9023
9024         * BufferView_pimpl.C:
9025         * lyxtext.h:
9026         * rowpainter.C:
9027         * rowpainter.h:
9028         * text.C:
9029         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9030
9031 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9032
9033         * lyxtext.h:
9034         * text.C: take the rtl methods out of line
9035
9036 2003-03-21 André Pönitz <poenitz@gmx.net>
9037
9038         * metricsinfo.[Ch]: new files containing structures to be passed around
9039         during the two-phase-drawing...
9040
9041 2003-03-21 André Pönitz <poenitz@gmx.net>
9042
9043         * lyxtextclass.C: read 'environment' tag.
9044
9045 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9046
9047         * text2.C (removeRow): fix bug 964
9048
9049 2003-03-20  John Levon  <levon@movementarian.org>
9050
9051         * rowpainter.C:
9052         * text.C:
9053         * text2.C: paint cleanups. Inset::update() dropped font
9054         parameter
9055
9056 2003-03-19  John Levon  <levon@movementarian.org>
9057
9058         * lyxfunc.C: only fitcursor/markDirty if available()
9059
9060 2003-03-19  John Levon  <levon@movementarian.org>
9061
9062         * commandtags.h: rename to ...
9063
9064         * lfuns.h: ... this, and renumber / cleanup
9065
9066 2003-03-19  John Levon  <levon@movementarian.org>
9067
9068         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9069         fit the cursor after an lfun
9070
9071         * BufferView.h:
9072         * BufferView.C:
9073         * BufferView_pimpl.h:
9074         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9075
9076         * LyXAction.C: layout-character should have ReadOnly
9077
9078         * ParagraphParameters.C:
9079         * buffer.C:
9080         * bufferview_funcs.C:
9081         * lyx_cb.C:
9082         * lyxfind.C:
9083         * lyxtext.h:
9084         * text.C:
9085         * text2.C:
9086         * text3.C:
9087         * undo_funcs.C: changes from above
9088
9089 2003-03-18  John Levon  <levon@movementarian.org>
9090
9091         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9092         remove it from update()
9093
9094         * lyxfunc.C: update layout choice after an lfun
9095
9096         * text3.C: remove extra updateLayoutChoice()s
9097
9098 2003-03-18  John Levon  <levon@movementarian.org>
9099
9100         * text.C: top_y change means full repaint, fix
9101         a drawing bug with cursor movement
9102
9103 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9104
9105         * lyxtext.h:
9106         * text.C:
9107         * text2.C: anchor row on setCursor
9108
9109 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9110
9111         * lyxtext.h: remove almost all mutable keywords
9112         * text.C:
9113         * text2.C:
9114         * text3.C: remove const keywords accordingly
9115
9116 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9117
9118         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9119         anon namespace
9120         (TeXEnvironment): ditto
9121         (TeXOnePar): ditto
9122
9123 2003-03-17  John Levon  <levon@movementarian.org>
9124
9125         * text.C (rowBreakPoint): remove attempt to fix displayed
9126         math insets inside a manual label
9127
9128 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * lyxtext.h: remove BufferView* as first arg from almost all class
9131         functions.
9132         * other files: adjust.
9133
9134 2003-03-17  John Levon  <levon@movementarian.org>
9135
9136         * lyxtext.h:
9137         * undo_funcs.C:
9138         * text2.C: more paint cleanups
9139
9140         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9141
9142         * rowpainter.h:
9143         * rowpainter.C: remove "smart" background painting code
9144
9145 2003-03-16  John Levon  <levon@movementarian.org>
9146
9147         * lyxtext.h:
9148         * text.C:
9149         * text2.C:
9150         * text3.C: add helper functions for setting refresh_row/y
9151
9152 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9153
9154         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9155         newline inset which *can* get inserted in the pass_thru layouts.
9156         This is primarily for literate documents.
9157
9158 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9159
9160         * buffer.C: increment LYX_FORMAT to 223
9161
9162 2003-03-14 André Pönitz <poenitz@gmx.net>
9163
9164         * textclass.h: prepare for environment handling, ws changes
9165         * lyxlayout.C: read latexheader and latexfooter tags
9166
9167 2003-03-14  John Levon  <levon@movementarian.org>
9168
9169         * text2.C: rewrite ::status() a bit
9170
9171 2003-03-13  John Levon  <levon@movementarian.org>
9172
9173         * lyxtext.h: add some docs
9174
9175 2003-03-13  John Levon  <levon@movementarian.org>
9176
9177         * lyxtext.h:
9178         * text.C:
9179         * text2.C:
9180         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9181
9182 2003-03-13  John Levon  <levon@movementarian.org>
9183
9184         * text3.C: fix appendix redrawing
9185
9186 2003-03-13  John Levon  <levon@movementarian.org>
9187
9188         * text.C (setHeightOfRow):
9189         * rowpainter.h:
9190         * rowpainter.C: make appendix mark have the text
9191           "Appendix" so the user knows what it is
9192
9193         * LColor.h:
9194         * LColor.C: s/appendixline/appendix/ from above
9195
9196 2003-03-13  John Levon  <levon@movementarian.org>
9197
9198         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9199
9200         * text.C: fix a getChar(pos) bug properly
9201
9202 2003-03-13  Angus Leeming  <leeming@lyx.org>
9203
9204         * commandtags.h:
9205         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9206         Probably only temporary. Let's see how things pan out.
9207
9208         * BufferView.C (unlockInset):
9209         * BufferView_pimpl.C (fitCursor):
9210         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9211
9212         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9213         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9214
9215         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9216         new functions that convert ParagraphParameters to and from a string.
9217
9218         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9219         BufferView::Pimpl's dispatch.
9220         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9221
9222 2003-03-13 André Pönitz <poenitz@gmx.net>
9223
9224         * lyxfunc.C:
9225         * text3.C:
9226         * factory.C: make it aware of InsetEnv
9227
9228 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9229
9230         * text2.C (setCursor): never ask for one past last
9231         (setCursor): add some debugging messages.
9232
9233         * text.C (singleWidth): never ask for one past last
9234         (singleWidth): ditto
9235         (leftMargin): ditto
9236         (rightMargin): ditto
9237         (rowBreakPoint): ditto
9238         (setHeightOfRow): ditto
9239         (prepareToPrint): ditto
9240
9241         * rowpainter.C (paintBackground): never ask for one past last
9242         (paintText): never ask for one past last
9243
9244         * paragraph_pimpl.C (getChar): make the assert stricter, never
9245         allow the one past last pos to be taken
9246
9247         * paragraph.C (getChar): ws changes only
9248
9249         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9250         (numberOfSeparators): ditto
9251         (numberOfHfills): ditto
9252
9253 2003-03-12  John Levon  <levon@movementarian.org>
9254
9255         * author.h:
9256         * author.C:
9257         * bufferparams.h:
9258         * bufferparams.C:
9259         * paragraph_funcs.C: fix per-buffer authorlists
9260
9261 2003-03-12  John Levon  <levon@movementarian.org>
9262
9263         * text.C: fix newline in right address
9264
9265 2003-03-12  Angus Leeming  <leeming@lyx.org>
9266
9267         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9268         duplicate those in LyXFunc::dispatch.
9269
9270         * commandtags.h:
9271         * LyXAction.C:
9272         * ToolbarDefaults.C:
9273         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9274         Add LFUN_FONTFREE_UPDATE.
9275
9276         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9277         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9278
9279         * bufferview_func.[Ch]: several new functions to facilliate
9280         transfer of data to and from the character dialog.
9281
9282 2003-03-12  John Levon  <levon@movementarian.org>
9283
9284         * buffer.C:
9285         * paragraph.h:
9286         * paragraph.C:
9287         * paragraph_funcs.C:
9288         * paragraph_pimpl.C:
9289         * sgml.C:
9290         * tabular.C:
9291         * text.C:
9292         * text3.C: remove META_NEWLINE in favour of an inset
9293
9294         * rowpainter.h:
9295         * rowpainter.C: remove paintNewline (done by inset)
9296
9297 2003-03-12  John Levon  <levon@movementarian.org>
9298
9299         * paragraph_pimpl.C: complain about bad getChar()s
9300         for a while at least
9301
9302 2003-03-12  John Levon  <levon@movementarian.org>
9303
9304         * buffer.h:
9305         * buffer.C: move paragraph read into a separate function,
9306         a little renaming to reflect that.
9307
9308         * bufferparams.h:
9309         * bufferparams.C: remove the author_ids map, not necessary now
9310
9311         * factory.h:
9312         * factory.C: moved Buffer::readInset to here
9313
9314         * paragraph_funcs.h:
9315         * paragraph_funcs.C: readParagraph free function moved from
9316         buffer.C
9317
9318         * tabular.C: name change
9319
9320 2003-03-12  John Levon  <levon@movementarian.org>
9321
9322         * buffer.C:
9323         * ParagraphParameters.C: move par params input to
9324         a read() method
9325
9326         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9327         behave like a normal read from the stream wrt reading
9328         a line vs. a \\token
9329
9330 2003-03-12  John Levon  <levon@movementarian.org>
9331
9332         * paragraph.C:
9333         * ParagraphParameters.h:
9334         * ParagraphParameters.C: move output code to a
9335         ::write() method
9336
9337 2003-03-12  John Levon  <levon@movementarian.org>
9338
9339         * BufferView.C (insertLyXFile):
9340         * buffer.h:
9341         * buffer.C:
9342         * tabular.C: use a parlist iterator for creating the
9343           document.
9344
9345 2003-03-12  John Levon  <levon@movementarian.org>
9346
9347         * buffer.C: make current_change static local not
9348           static file-scope
9349
9350 2003-03-12  John Levon  <levon@movementarian.org>
9351
9352         * buffer.C: fix insertStringAsLines for change tracking
9353
9354 2003-03-12  John Levon  <levon@movementarian.org>
9355
9356         * BufferView.C:
9357         * tabular.C:
9358         * buffer.h:
9359         * buffer.C:
9360         * bufferparams.h:
9361         * bufferparams.C: move author list into params. Rename some
9362           functions. Move the header reading into a separate token
9363           loop. Move the header token reading into BufferParams.
9364
9365 2003-03-12  John Levon  <levon@movementarian.org>
9366
9367         * changes.C: put debug inside lyxerr.debugging() checks
9368
9369 2003-03-11 André Pönitz <poenitz@gmx.net>
9370
9371         * factory.C: make it aware of InsetHFill
9372
9373 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9374
9375         * buffer.C (latexParagraphs): move function from here...
9376         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9377         args.
9378
9379 2003-03-10  Angus Leeming  <leeming@lyx.org>
9380
9381         * LyXAction.C (init): fix bug in poplating array with multiple entries
9382         with the same LFUN (spotted by JMarc).
9383
9384 2003-03-10  John Levon  <levon@movementarian.org>
9385
9386         * text.C:
9387         * text2.C: move getColumnNearX() near its
9388         only call site
9389
9390 2003-03-10  John Levon  <levon@movementarian.org>
9391
9392         * text.C: fix break before a minipage
9393
9394 2003-03-10  John Levon  <levon@movementarian.org>
9395
9396         * text.C: fix the last commit
9397
9398 2003-03-09  John Levon  <levon@movementarian.org>
9399
9400         * lyxtext.h:
9401         * text.C:
9402         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9403         bug 365 (don't break before insets unless needed). Don't
9404         return a value > last under any circumstances.
9405
9406 2003-03-09  Angus Leeming  <leeming@lyx.org>
9407
9408         * BufferView_pimpl.C (trackChanges, dispatch): call
9409         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9410
9411 2003-03-09  Angus Leeming  <leeming@lyx.org>
9412
9413         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9414         than Dialogs::showAboutlyx().
9415
9416 2003-03-09  Angus Leeming  <leeming@lyx.org>
9417
9418         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9419         than Dialogs::showTabularCreate().
9420
9421 2003-03-09  John Levon  <levon@movementarian.org>
9422
9423         * lyxtext.h:
9424         * text.C:
9425         * text2.C: 3rd arg to nextBreakPoint was always the same.
9426           Use references.
9427
9428 2003-03-08  John Levon  <levon@movementarian.org>
9429
9430         * lyxrow.C:
9431         * paragraph.C:
9432         * paragraph.h:
9433         * rowpainter.C:
9434         * text.C:
9435         * text2.C: Remove the "main" bit from the "main body"
9436           notion.
9437
9438 2003-03-08  John Levon  <levon@movementarian.org>
9439
9440         * text.C (leftMargin): The left margin of an empty
9441         manual label paragraph should not include the label width
9442         string length.
9443
9444         * text.C (prepareToPrint): don't attempt to measure hfills
9445         for empty manual label paragraphs - the answer should be 0
9446
9447 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9448
9449         * CutAndPaste.C: remove commented code and reindent.
9450
9451 2003-03-08  John Levon  <levon@movementarian.org>
9452
9453         * lyxfunc.h:
9454         * lyxfunc.C: move reloadBuffer()
9455
9456         * BufferView.h:
9457         * BufferView.C: to here
9458
9459         * lyxvc.C: add comment
9460
9461         * vc-backend.h:
9462         * vc-backend.C: call bv->reload() to avoid
9463           getStatus() check on MENURELOAD
9464
9465 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9466
9467         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9468         to an old format .dep file.
9469
9470 2003-03-07  Angus Leeming  <leeming@lyx.org>
9471
9472         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9473         when the LFUN_MOUSE_RELEASE should have been handled by
9474         inset->localDispatch.
9475
9476 2003-03-07  Angus Leeming  <leeming@lyx.org>
9477
9478         * BufferView_pimpl.C (dispatch):
9479         * LyXAction.C (init):
9480         * ToolbarDefaults.C (init):
9481         * commandtags.h:
9482         * lyxfunc.C (getStatus):
9483         remove LFUN_INSET_GRAPHICS.
9484
9485         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9486
9487 2003-03-07  Angus Leeming  <leeming@lyx.org>
9488
9489         * commandtags.h:
9490         * LyXAction.C (init):
9491         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9492
9493         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9494
9495         * commandtags.h:
9496         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9497
9498         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9499         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9500
9501 2003-03-07  Angus Leeming  <leeming@lyx.org>
9502
9503         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9504         remove "ert".
9505
9506 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9507
9508         * ParagraphList.C (front): new function
9509         (back): implement
9510
9511 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9512
9513         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9514         and top_row_offset_. removed var first_y.
9515         * text.C (top_y):
9516         * text2.C (LyXText, removeRow):
9517         * text3.C:
9518         * BufferView_pimpl.C:
9519         use these methods instead of using first_y
9520
9521 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9522
9523         * text2.C (pasteSelection): adjust for checkPastePossible
9524
9525         * CutAndPaste.C: remove Paragraph * buf and replace with
9526         ParagraphList paragraphs.
9527         (DeleteBuffer): delete
9528         (cutSelection): change the tc type to textclass_type
9529         (copySelection): change the tc type to textclass_type
9530         (copySelection): adjust for ParagraphList
9531         (pasteSelection): change the tc type to textclass_type
9532         (pasteSelection): adjust for Paragraphlist
9533         (nrOfParagraphs): simplify for ParagraphList
9534         (checkPastePossible): simplify for ParagraphList
9535         (checkPastePossible): remove unused arg
9536
9537         * ParagraphList.C (insert): handle the case where there are no
9538         paragraphs yet.
9539
9540         * CutAndPaste.h: make CutAndPaste a namespace.
9541
9542         * text3.C (dispatch): adjust
9543
9544         * text.C (breakParagraph): add a ParagraphList as arg
9545
9546         * paragraph_funcs.C (breakParagraph): change to take a
9547         BufferParams and a ParagraphList as args.
9548         (breakParagraphConservative): ditto
9549         (mergeParagraph): ditto
9550         (TeXDeeper): add a ParagraphList arg
9551         (TeXEnvironment): ditto
9552         (TeXOnePar): ditto
9553
9554         * buffer.C (readLyXformat2): adjust
9555         (insertStringAsLines): adjust
9556         (latexParagraphs): adjust
9557
9558         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9559         (cutSelection): adjust
9560         (pasteSelection): adjust
9561
9562         * BufferView_pimpl.C (insertInset): adjust
9563
9564 2003-03-05  Angus Leeming  <leeming@lyx.org>
9565
9566         * commandtags.h:
9567         * LyXAction.C (init):
9568         * BufferView_pimpl.C (dispatch):
9569         * lyxfunc.C (getStatus):
9570         remove LFUN_CHILD_INSERT.
9571
9572         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9573
9574 2003-03-05  Angus Leeming  <leeming@lyx.org>
9575
9576         * commandtags.h:
9577         * LyXAction.C (init):
9578         * src/factory.C (createInset):
9579         * lyxfunc.C (getStatus):
9580         * text3.C (dispatch):
9581         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9582
9583         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9584
9585 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9586
9587         * ParagraphList.C (insert): handle insert right before end()
9588         (erase): fix cases where it can be first or last paragraph.
9589
9590 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9591
9592         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9593         Paragraph::next and Paragraph::previous
9594         (TeXOnePar): ditto
9595
9596         * text.C (breakParagraph): adjust
9597
9598         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9599         BufferParams& as arg.
9600         (breakParagraph): use ParagraphList::insert
9601         (breakParagraphConservative): take a Buffer* instead of a
9602         BufferParams& as arg.
9603         (breakParagraphConservative): use ParagraphList::insert.
9604
9605         * buffer.C (insertStringAsLines): un-const it
9606         (insertStringAsLines): adjust
9607
9608         * ParagraphList.C (insert): new function
9609
9610         * CutAndPaste.C (pasteSelection): adjust
9611
9612         * text.C (backspace): adjust
9613
9614         * tabular.C (SetMultiColumn): adjust
9615
9616         * CutAndPaste.C (cutSelection): adjust
9617         (pasteSelection): adjust
9618
9619         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9620         Buffer const * as arg
9621
9622         * ParagraphList.C (erase): new function
9623         * paragraph_funcs.C (mergeParagraph): use it
9624         (mergeParagraph): make it take a Buffer* instead of a
9625         BufferParams* as arg
9626
9627         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9628         as arg
9629         (breakParagraphConservative): ditto
9630
9631         * paragraph.h: remove the breakParagraph friend
9632
9633         * paragraph.C (eraseIntern): new function
9634         (setChange): new function
9635
9636         * paragraph_funcs.C (mergeParagraph): make it take a
9637         ParagraphList::iterator instead of a Paragraph *, adjust
9638         accordingly.
9639
9640         * paragraph.h: move an #endif so that the change tracking stuff
9641         also works in the NO_NEXT case.
9642
9643 2003-03-04  Angus Leeming  <leeming@lyx.org>
9644
9645         * commandtags.h:
9646         * LyXAction.C: new LFUN_INSET_MODIFY.
9647
9648         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9649         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9650
9651 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9652
9653         * several files: ws changes only
9654
9655         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9656         (TeXEnvironment): ditto
9657         (TeXDeeper): ditto
9658
9659         * buffer.C (makeLaTeXFile): adjust
9660         (latexParagraphs): make it take ParagraphList::iterator as args
9661
9662 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9663
9664         * buffer.C (latexParagraphs): adjust
9665
9666         * paragraph.C (TeXOnePar): move function...
9667         (optArgInset): move function...
9668         (TeXEnvironment): move function...
9669         * paragraph_pimpl.C (TeXDeeper): move function...
9670         * paragraph_funcs.C: ...here
9671
9672         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9673
9674 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9675
9676         * buffer.C (readInset): remove compability code for old Figure and
9677         InsetInfo insets
9678
9679 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * buffer.C: ws changes
9682         (readInset):
9683
9684         * BufferView_pimpl.C: ditto
9685         * author.C: ditto
9686         * buffer.h: ditto
9687         * bufferlist.h: ditto
9688         * changes.h: ditto
9689         * lyxfunc.C: ditto
9690
9691 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9692
9693         * converter.[Ch]: split into itself +
9694         * graph.[Ch]
9695         * format.[Ch]
9696         * Makefile.am: += graph.[Ch] + format.[Ch]
9697         * MenuBackend.C
9698         * buffer.C
9699         * exporter.C
9700         * importer.C
9701         * lyx_main.C
9702         * lyxfunc.C
9703         * lyxrc.C: added #include "format.h"
9704
9705 2003-02-27  Angus Leeming  <leeming@lyx.org>
9706
9707         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9708           a label.
9709
9710         * factory.C (createInset): add "label" to the factory.
9711
9712         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9713           string and do no more.
9714
9715 2003-02-27  Angus Leeming  <leeming@lyx.org>
9716
9717         * commandtags.h:
9718         * LyXAction.C (init):
9719         * factory.C (createInset):
9720         * BufferView_pimpl.C (dispatch):
9721           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9722
9723         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9724
9725         * lyxfunc.C (dispatch):
9726         * text3.C (dispatch): pass name to params2string.
9727
9728 2003-02-26  Angus Leeming  <leeming@lyx.org>
9729
9730         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9731           blocks together.
9732           Rearrange the ~includes. Strip out the unnecessary ones.
9733
9734         * factory.C (createInset): reformat.
9735           create new insets for the various LFUN_XYZ_APPLY lfuns.
9736
9737 2003-02-26  John Levon  <levon@movementarian.org>
9738
9739         * lyxrow.h:
9740         * lyxrow.C: add isParStart,isParEnd helpers
9741
9742         * paragraph.h: make isInserted/DeletedText take refs
9743
9744         * paragraph_funcs.h:
9745         * paragraph_funcs.C: remove #if 0'd code
9746
9747         * lyxtext.h:
9748         * text3.C:
9749         * text2.C:
9750         * text.C: use lyxrow helpers above.
9751           Move draw and paint routines to RowPainter.
9752           Make several methods use refs not pointers.
9753           Make backgroundColor() const.
9754           Add markChangeInDraw(), isInInset().
9755           Merge changeRegionCase into changeCase.
9756           Make workWidth() shouldn't-happen code into an Assert.
9757
9758         * rowpainter.h:
9759         * rowpainter.C: new class for painting a row.
9760
9761         * vspace.h:
9762         * vspace.C: make inPixels take a ref
9763
9764 2003-02-26  Angus Leeming  <leeming@lyx.org>
9765
9766         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9767         LFUN_REF_APPLY.
9768
9769 2003-02-25  John Levon  <levon@movementarian.org>
9770
9771         * ispell.C: give the forked command a more accurate name
9772
9773 2003-02-22  John Levon  <levon@movementarian.org>
9774
9775         * toc.h:
9776         * toc.C: make TocItem store an id not a Paragraph *
9777           (bug #913)
9778
9779 2003-02-21  Angus Leeming  <leeming@lyx.org>
9780
9781         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9782           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9783           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9784           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9785           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9786           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9787
9788         * BufferView_pimpl.C (dispatch):
9789         * LyXAction.C (init):
9790         * factory.C (createInset):
9791         * lyxfunc.C (getStatus, dispatch):
9792         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9793
9794 2003-02-21  Angus Leeming  <leeming@lyx.org>
9795
9796         * BufferView_pimpl.C (MenuInsertLyXFile):
9797         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9798         * lyxfunc.C (menuNew, open, doImport):
9799           no longer pass a LyXView & to fileDlg.
9800
9801 2003-02-21  Angus Leeming  <leeming@lyx.org>
9802
9803         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9804         * LyXAction.C: change, BIBKEY to BIBITEM.
9805         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9806         Change InsetBibKey to InsetBibitem.
9807         Change BIBKEY_CODE to BIBITEM_CODE.
9808         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9809         * factory.C: replace insetbib.h with insetbibitem.h.
9810         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9811         * paragraph.C: replace insetbib.h with insetbibitem.h.
9812         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9813         Change bibkey() to bibitem().
9814         * text.C: remove insetbib.h.
9815         * text2.C: replace insetbib.h with insetbibitem.h.
9816         change bibkey() to bibitem().
9817         * text3.C: remove insetbib.h.
9818         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9819
9820 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9821
9822         * lyxrc.C (output): enclose user email in quotes (in case there are
9823         several words)
9824
9825 2003-02-18  John Levon  <levon@movementarian.org>
9826
9827         * buffer.h: add std::
9828
9829 2003-02-17  John Levon  <levon@movementarian.org>
9830
9831         * SpellBase.h:
9832         * ispell.h:
9833         * ispell.C:
9834         * pspell.h:
9835         * pspell.C: reworking. Especially in ispell, a large
9836           number of clean ups and bug fixes.
9837
9838         * lyxfunc.C: fix revert to behave sensibly
9839
9840 2003-02-17 André Pönitz <poenitz@gmx.net>
9841
9842         * LyXAction.C:
9843         * commandtags.h: new LFUN_INSERT_BIBKEY
9844
9845         * layout.h:
9846         * lyxlayout.C:
9847         * buffer.C:
9848         * factory.C:
9849         * text.C:
9850         * text2.C:
9851         * text3.C:
9852         * paragraph.[Ch]:
9853         * paragraph_func.C: remove special bibkey handling
9854
9855 2003-02-17  John Levon  <levon@movementarian.org>
9856
9857         * text.C (Delete): fix case where delete at the end of
9858           the very first paragraph would not merge the pars
9859
9860 2003-02-17  John Levon  <levon@movementarian.org>
9861
9862         * lyxrow.C: fix lastPrintablePos()
9863
9864 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9865
9866         * bufferparams.C (writeLaTeX): add a std:here
9867
9868         * buffer.C: and remove a using directive there
9869
9870 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9871
9872         * buffer.C (makeLaTeXFile): move the code that generates the
9873           preamble...
9874
9875         * bufferparams.C (writeLaTeX): ... in this new method
9876
9877         * LaTeXFeatures.C (getEncodingSet): make const
9878           (getLanguages): make const
9879
9880         * MenuBackend.C (binding): returns the binding associated to this
9881           action
9882           (add): sets the status of each item by calling getStatus. Adds
9883           some intelligence.
9884           (read): add support for OptSubMenu
9885           (expand): remove extra separator at the end of expanded menu
9886
9887 2003-02-15  John Levon  <levon@movementarian.org>
9888
9889         * BufferView.C:
9890         * BufferView_pimpl.C:
9891         * bufferlist.h:
9892         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9893           inset code that had no actual effect. Remove unneeded status
9894           code.
9895
9896 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9899           in preamble
9900
9901 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9902
9903         * text.C (drawLengthMarker): also draw an arrow marker for
9904           symbolic lengths (medskip...)
9905
9906 2003-02-14  John Levon  <levon@movementarian.org>
9907
9908         * tabular.h:
9909         * tabular.C: better method names
9910
9911 2003-02-14  John Levon  <levon@movementarian.org>
9912
9913         * BufferView_pimpl.C:
9914         * bufferlist.C:
9915         * buffer.C:
9916         * converter.C:
9917         * lyx_cb.C:
9918         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9919           it's a more accurate name. Remove some pointless uses.
9920
9921 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9922
9923         * text2.C (LyXText): change order of initilizers to shut off
9924           warnings
9925
9926 2003-02-14  John Levon  <levon@movementarian.org>
9927
9928         * buffer.C: use ParIterator for getParFromID()
9929
9930         * paragraph.h:
9931         * paragraph.C:
9932         * paragraph_pimpl.h:
9933         * paragraph_pimpl.C: remove unused getParFromID()
9934
9935 2003-02-14  John Levon  <levon@movementarian.org>
9936
9937         * buffer.C: remove some very old #if 0'd parse code
9938
9939 2003-02-13  John Levon  <levon@movementarian.org>
9940
9941         * text.h:
9942         * text.C:
9943         * text2.C: move hfillExpansion(), numberOfSeparators(),
9944           rowLast(), rowLastPrintable(), numberofHfills(),
9945           numberOfLabelHfills() ...
9946
9947         * lyxrow.h:
9948         * lyxrow.C: ... to member functions here.
9949
9950         * paragraph.h:
9951         * paragraph.C:
9952         * lyxtext.h:
9953         * text.C: remove LyXText::beginningOfMainBody(), and call
9954           p->beginningOfMainBody() directly. Move the check for
9955           LABEL_MANUAL into the latter.
9956
9957         * text.h:
9958         * text.C:
9959         * text2.C:
9960         * vspace.C:
9961         * BufferView.h:
9962         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9963
9964         * text.h:
9965         * text.C:
9966         * text2.C:
9967         * text3.C:
9968         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9969           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9970
9971 2003-02-13  John Levon  <levon@movementarian.org>
9972
9973         * CutAndPaste.C: remove debug
9974
9975 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * paragraph.C (asString): remove two unused variables
9978
9979         * lyxtextclass.C (readTitleType):
9980           (Read):
9981           (LyXTextClass): handle new members titletype_ and titlename_
9982
9983         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9984
9985 2003-02-09  John Levon  <levon@movementarian.org>
9986
9987         * buffer.h:
9988         * buffer.C: replace hand-coded list with a map for the dep clean
9989
9990 2003-02-08  John Levon  <levon@movementarian.org>
9991
9992         * LaTeX.C: consolidate code into showRunMessage() helper
9993
9994 2003-02-08  John Levon  <levon@movementarian.org>
9995
9996         * lyxfind.C:
9997         * lyxtext.h:
9998         * text2.C:
9999         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10000           and pass the size in explicitly
10001
10002         * BufferView_pimpl.h:
10003         * BufferView_pimpl.C:
10004         * BufferView.h:
10005         * BufferView.C: add getCurrentChange()
10006
10007         * BufferView_pimpl.h:
10008         * BufferView_pimpl.C: handle change lfuns
10009
10010         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10011           for changes. Mark pasted paragraphs as new.
10012
10013         * support/lyxtime.h:
10014         * support/lyxtime.C:
10015         * DepTable.C: abstract time_t as lyx::time_type
10016
10017         * LColor.h:
10018         * LColor.C: add colours for new text, deleted text, changebars
10019
10020         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10021           package use "usenames" option.
10022
10023         * commandtags.h:
10024         * lyxfunc.C:
10025         * LyXAction.C: add change lfuns
10026
10027         * Makefile.am:
10028         * author.h:
10029         * author.C: author handling
10030
10031         * buffer.h:
10032         * buffer.C: add a per-buffer author list, with first entry as
10033           current author. Handle new .lyx tokens for change tracking. Output
10034           author list to .lyx file. Output dvipost stuff to .tex preamble.
10035           Bump lyx format to 222.
10036
10037         * bufferlist.h:
10038         * bufferlist.C: add setCurrentAuthor() to reset current author details
10039           in all buffers.
10040
10041         * bufferparams.h:
10042         * bufferparams.C: add param for tracking
10043
10044         * bufferview_funcs.C: output change info in minibuffer
10045
10046         * Makefile.am:
10047         * changes.h:
10048         * changes.C: add change-tracking structure
10049
10050         * debug.h:
10051         * debug.C: add CHANGES debug flag
10052
10053         * lyxfind.h:
10054         * lyxfind.C: add code for finding the next change piece
10055
10056         * lyxrc.h:
10057         * lyxrc.C: add user_name and user_email
10058
10059         * lyxrow.h:
10060         * lyxrow.C: add a metric for the top of the text line
10061
10062         * lyxtext.h:
10063         * text.C: implement accept/rejectChange()
10064
10065         * lyxtext.h:
10066         * text.C: paint changebars. Paint new/deleted text in the chosen
10067         colours. Strike through deleted text.
10068
10069         * paragraph.h:
10070         * paragraph.C:
10071         * paragraph_pimpl.h:
10072         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10073           in the current change to the insert functions. Rework erase to
10074           mark text as deleted, adding an eraseIntern() and a range-based
10075           erase(). Implement per-paragraph change lookup and
10076           accept/reject.
10077
10078         * paragraph_funcs.C: Fixup paste for change tracking.
10079
10080         * tabular.C: mark added row/columns as new.
10081
10082         * text.C: fix rowLast() to never return -1. Don't allow
10083           spellchecking of deleted text. Track transpose changes. Don't
10084           allow paragraph break or merge where appropriate.
10085
10086         * text2.C: leave cursor at end of selection after a cut.
10087
10088 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10089
10090         * text.C (getLengthMarkerHeight):
10091         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10092         visible on screen too.
10093
10094 2003-02-07  John Levon  <levon@movementarian.org>
10095
10096         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10097
10098 2003-02-05  Angus Leeming  <leeming@lyx.org>
10099
10100         * lyxserver.C (read_ready): revert my patch of 11 September last year
10101         as it sends PC cpu through the roof. Presumably this means that
10102         the lyxserver will no longer run on an Alpha...
10103
10104 2003-01-30  Angus Leeming  <leeming@lyx.org>
10105
10106         * factory.C (createInset): create an InsetCommandParam of type "index"
10107         and use it to 'do the right thing'.
10108
10109         * text2.C (getStringToIndex): ensure that cursor position is always
10110         reset to the reset_cursor position.
10111
10112 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10113
10114         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10115         disabled.
10116
10117 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10118
10119         * bufferview.C:
10120         * lyxcb.C:
10121         * lyxfunc.C: Output messages with identical spelling, punctuation,
10122         and spaces
10123
10124 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10125
10126         * MenuBackend.C (expandFormats): List only viewable export formats
10127         in "View" menu
10128
10129         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10130         message
10131
10132         * lyxfunc.C (getStatus): Make sure that formats other than
10133         "fax" can also be disabled
10134
10135 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10136
10137         * text3.C (dispatch): put the lfuns that insert insets in 3
10138         groups, and call doInsertInset with appropriate arguments.
10139         (doInsertInset): new function, that creates an inset and inserts
10140         it according to some boolean parameters.
10141
10142 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10143
10144         * buffer.C (readFile): remember to pass on 'par' when calling
10145         readFile recursively.
10146
10147 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10148
10149         * MenuBackend.C (expandFormats): add "..." to import formats.
10150
10151 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10152
10153         * paragraph.C (asString): Remove XForms RTL hacks.
10154
10155 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10156         * buffer.C: fix typo
10157
10158 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10159
10160         * Makefile.am (LIBS): delete var
10161         (lyx_LDADD): add @LIBS@ here instead.
10162
10163 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10164
10165         * Clarify the meaning of "wheel mouse jump"
10166
10167 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10168
10169         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10170         tabular in a float
10171
10172 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10173
10174         * importer.C (Loaders): do not preallocate 3 elements in the
10175         vector, since one ends up with 6 elements otherwise
10176
10177 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10178
10179         * DepTable.C (write): write the file name as last element of the
10180         .dep file (because it may contain spaces)
10181         (read): read info in the right order
10182
10183 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10184
10185         * paragraph_pimpl.C (simpleTeXBlanks):
10186         (simpleTeXSpecialChars):
10187         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10188
10189         * tabular.C (latex): add some missing case statements. Reindent.
10190
10191         * MenuBackend.C (expandToc): remove unused variable.
10192
10193 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10194
10195         * LColor.C:
10196         * LaTeX.C:
10197         * LyXAction.C:
10198         * MenuBackend.C:
10199         * buffer.C:
10200         * exporter.C:
10201         * lyxfunc.C:
10202         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10203         and the like.
10204
10205 2003-01-05  John Levon  <levon@movementarian.org>
10206
10207         * BufferView.h:
10208         * BufferView.C: add getEncoding()
10209
10210         * kbsequence.h:
10211         * kbsequence.C: do not store last keypress
10212
10213         * lyxfunc.h:
10214         * lyxfunc.C: store last keypress here instead. Pass encoding
10215           to getISOEncoded()
10216
10217 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10218
10219         * lyx_main.C (init): remove annoying error message when following
10220         symbolic links (bug #780)
10221
10222 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10223
10224         * text.C (insertChar):
10225         * lyxrc.C (getDescription): remove extra spaces
10226
10227 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10228
10229         * lyxrc.C (getDescription): remove extra spaces
10230
10231 2002-12-20  John Levon  <levon@movementarian.org>
10232
10233         * text3.C: hack fix for page up/down across tall rows
10234
10235 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10236
10237         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10238         not been invoked
10239
10240 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10241
10242         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10243         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10244         thesaurus is not compiled in
10245
10246 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10247
10248         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10249
10250 2002-12-16  Angus Leeming  <leeming@lyx.org>
10251
10252         * lyxrc.[Ch]:
10253         * lyx_main.C (init): remove override_x_deadkeys stuff.
10254
10255 2002-12-12  John Levon  <levon@movementarian.org>
10256
10257         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10258           insert. Only remove shift modifier under strict
10259           circumstances.
10260
10261 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10262
10263         * MenuBackend.C (expandToc): fix crash.
10264
10265 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10266
10267         * MenuBackend.C (expandToc): gettext on float names.
10268
10269 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10270
10271         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10272         implement bool empty() [bug 490]
10273
10274 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10275
10276         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10277
10278 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10279
10280         * several files: ws changes
10281
10282 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10283
10284         * text2.C (setCounter): clean up a bit, use boost.format.
10285         (updateCounters): initialize par upon declaration.
10286
10287         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10288         if the layout exists. We do not just store the layout any more.
10289         (SwitchLayoutsBetweenClasses): use boost.format
10290
10291 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10292
10293         * converter.C (convert): if from and to files are the same, use a
10294         temporary files as intermediary
10295
10296 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * commandtags.h:
10299         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10300
10301 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10304
10305 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10306
10307         * tabular.C (asciiPrintCell): use string(size, char) instead of
10308         explicit loop.
10309
10310         * sgml.C (openTag): fix order of arguments to string constructor
10311         (closeTag): ditto
10312
10313         * lyxfunc.C (dispatch): use boost.format
10314
10315         * lots of files: change "c" -> 'c'
10316
10317 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10318
10319         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10320
10321 2002-11-25  Angus Leeming  <leeming@lyx.org>
10322
10323         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10324
10325         * lyx_main.C (init): compile fix.
10326
10327 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10328
10329         * lyx_cb.C (start): boost.formatify
10330         do not include <iostream>
10331
10332         * lengthcommon.C: ws only
10333
10334         * boost-inst.C,BoostFormat.h: add more explict instantations
10335
10336 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10337
10338         * lots of files: handle USE_BOOST_FORMAT
10339
10340 2002-11-21  John Levon  <levon@movementarian.org>
10341
10342         * pspell.C: fix compile
10343
10344 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10345
10346         * lyxfunc.C (dispatch): use boost::format
10347         (open): ditto
10348         (doImport): ditto
10349
10350         * lyxfont.C (stateText): use boost::format
10351
10352         * lyx_main.C (LyX): use boost::format
10353         (init): ditto
10354         (queryUserLyXDir): ditto
10355         (readRcFile): ditto
10356         (parse_dbg): ditto
10357         (typedef boost::function): use the recommened syntax.
10358
10359         * importer.C (Import): use boost::format
10360
10361         * debug.C (showLevel): use boost::format
10362
10363         * converter.C (view): use boost::format
10364         (convert): ditto
10365         (move): ditto
10366         (scanLog): ditto
10367
10368         * bufferview_funcs.C (currentState): use boost::format
10369
10370         * bufferlist.C (emergencyWrite): use boost::format
10371
10372         * buffer.C (readLyXformat2): use boost::format
10373         (parseSingleLyXformat2Token): ditto
10374
10375         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10376
10377         * LaTeX.C (run): use boost::format
10378
10379         * Chktex.C (scanLogFile): use boost::format
10380
10381         * BufferView_pimpl.C (savePosition): use boost::format
10382         (restorePosition): ditto
10383         (MenuInsertLyXFile): ditto
10384
10385         * BoostFormat.h: help file for explicit instation.
10386
10387 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10388
10389         * tabular.C (latex): Support for block alignment in fixed width
10390         columns.
10391
10392 2002-11-17  John Levon  <levon@movementarian.org>
10393
10394         * BufferView_pimpl.C:
10395         * lyx_cb.C:
10396         * lyxfunc.C: split filedialog into open/save
10397
10398 2002-11-08  Juergen Vigna  <jug@sad.it>
10399
10400         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10401         by my last patch (hopefully).
10402
10403 2002-11-08  John Levon  <levon@movementarian.org>
10404
10405         * iterators.h:
10406         * iterators.C:
10407         * buffer.h:
10408         * buffer.C:
10409         * paragraph.h:
10410         * paragraph.C:
10411         * toc.h:
10412         * toc.C: ParConstIterator, and use it (from Lars)
10413
10414 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10415
10416         * lyxtextclass.[Ch]: revise and add doxygen comments
10417
10418 2002-11-07  John Levon  <levon@movementarian.org>
10419
10420         * text.C: fix progress value for spellchecker
10421
10422         * toc.C: fix navigate menu for insetwrap inside minipage
10423
10424         * paragraph_funcs.C: added FIXME for suspect code
10425
10426 2002-11-07  John Levon  <levon@movementarian.org>
10427
10428         * BufferView_pimpl.C: fix redrawing of insets
10429           on buffer switch
10430
10431 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10432
10433         * text2.C (updateCounters): fix bug 668
10434
10435 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * text3.C (dispatch): Do not make the buffer dirty when moving the
10438         cursor.
10439
10440 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10441
10442         * vc-backend.C: STRCONV
10443         (scanMaster): ditto
10444
10445         * text2.C (setCounter): STRCONV
10446
10447         * paragraph.C (asString): STRCONV
10448
10449         * lyxlength.C (asString): STRCONV
10450         (asLatexString): ditto
10451
10452         * lyxgluelength.C (asString): STRCONV
10453         (asLatexString): ditto
10454
10455         * lyxfunc.C (dispatch): STRCONV
10456         (open): ditto
10457
10458         * lyxfont.C (stateText): STRCONV
10459
10460         * importer.C (Import): STRCONV
10461
10462         * counters.C (labelItem): STRCONV
10463         (numberLabel): ditto
10464         (numberLabel): remove unused ostringstream o
10465
10466         * chset.C: STRCONV
10467         (loadFile): ditto
10468
10469         * bufferview_funcs.C (currentState): STRCONV
10470
10471         * buffer.C (readFile): STRCONV
10472         (asciiParagraph): ditto
10473         (makeLaTeXFile): ditto
10474
10475         * Spacing.C (writeEnvirBegin): STRCONV
10476
10477         * LaTeXFeatures.C (getLanguages): STRCONV
10478         (getPackages): ditto
10479         (getMacros): ditto
10480         (getBabelOptions): ditto
10481         (getTClassPreamble): ditto
10482         (getLyXSGMLEntities): ditto
10483         (getIncludedFiles): ditto
10484
10485         * LaTeX.C: STRCONV
10486         (run): ditto
10487         (scanAuxFile): ditto
10488         (deplog): ditto
10489
10490         * LString.h: add the STRCONV macros
10491
10492         * BufferView_pimpl.C (savePosition): STRCONV
10493         (restorePosition): ditto
10494         (MenuInsertLyXFile): ditto
10495
10496         * vc-backend.C (scanMaster): change from submatch[...] to
10497         submatch.str(...)
10498
10499         * funcrequest.C: include config.h
10500
10501         * factory.C: include config.h
10502
10503         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10504
10505         * box.C: include config.h
10506
10507         * LaTeX.C (scanAuxFile): change from submatch[...] to
10508         submatch.str(...)
10509         (deplog): ditto
10510
10511 2002-10-25  Angus Leeming  <leeming@lyx.org>
10512
10513         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10514
10515         * ispell.[Ch] (setError): new method.
10516         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10517         Use setError() insetead of goto END.
10518
10519         * lyx_cb.C (AutoSave): move out child process into new class
10520         AutoSaveBuffer.
10521
10522 2002-10-30  John Levon  <levon@movementarian.org>
10523
10524         * text3.C: make start appendix undoable
10525
10526 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10527
10528         * lyxlength.C (inPixels): Fix returned value.
10529
10530         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10531         environment.
10532
10533 2002-10-24  Angus Leeming  <leeming@lyx.org>
10534
10535         * lyxgluelength.h: no need to forward declare BufferParams
10536         or BufferView, so don't.
10537
10538 2002-10-21  John Levon  <levon@movementarian.org>
10539
10540         * BufferView.C: menuUndo ->undo, redo
10541
10542         * BufferView.h: document, remove dead, make some methods private
10543
10544         * paragraph_funcs.h:
10545         * paragraph_funcs.C:
10546         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10547
10548         * buffer.h:
10549         * buffer.C:
10550         * sgml.h:
10551         * sgml.C: move sgml open/close tag into sgml.C
10552
10553         * bufferview_funcs.h: unused prototype
10554
10555         * lyxfunc.h:
10556         * lyxfunc.C: remove unused
10557
10558         * lyxtext.h:
10559         * text.C: remove unused
10560
10561 2002-10-21  John Levon  <levon@movementarian.org>
10562
10563         * BufferView.h:
10564         * BufferView.C:
10565         * BufferView_pimpl.h:
10566         * BufferView_pimpl.C: fix mouse wheel handling based on
10567           patch from Darren Freeman
10568
10569 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10570
10571         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10572
10573 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10574
10575         * lyxlength.C (inPixels): Fix hanfling of negative length.
10576         Fix LyXLength::MU case.
10577
10578 2002-10-16  John Levon  <levon@movementarian.org>
10579
10580         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10581
10582 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10583
10584         * converter.C (view): add support for $$i (file name) and $$p
10585         (file path) for the viewer command. If $$i is not specified, then
10586         it is appended to the command (for compatibility with old syntax)
10587
10588 2002-10-14  Juergen Vigna  <jug@sad.it>
10589
10590         * undo_funcs.C (textHandleUndo): alter the order in which the
10591         new undopar is added to the LyXText, as we have to set first
10592         the right prev/next and then add it as otherwise the rebuild of
10593         LyXText is not correct. Also reset the cursor to the right paragraph,
10594         with this IMO we could remove the hack in "redoParagraphs()".
10595
10596 2002-10-09  Angus Leeming  <leeming@lyx.org>
10597
10598         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10599         to turn off an optimisation if a new inset is to be inserted.
10600
10601 2002-10-11 André Pönitz <poenitz@gmx.net>
10602
10603         * lyxtext.h: make some functions public to allow access
10604         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10605
10606 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10607
10608         * text3.C (dispatch): when changing layout, avoid an infinite loop
10609         [bug #652]
10610
10611 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10612
10613         * lyxrc.C (read): treat a viewer or converter command of "none" as
10614         if it were empty.
10615
10616         * MenuBackend.C (expandFormats): for an update, also allow the
10617         formats that are not viewable
10618
10619         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10620         script if it is newer than the lyxrc.defaults in user directory
10621
10622 2002-10-07 André Pönitz <poenitz@gmx.net>
10623
10624         * text.C: Vitaly Lipatov's small i18n fix
10625
10626 2002-09-25  Angus Leeming  <leeming@lyx.org>
10627
10628         * ispell.h: doxygen fix.
10629
10630 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10631
10632         * buffer.h (readFile): Add a new argument to the method, to allow
10633         reading of old-format templates.
10634
10635 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10636
10637         * toc.C (getTocList): Get TOC from InsetWrap.
10638
10639 2002-09-16  John Levon  <levon@movementarian.org>
10640
10641         * lyxfunc.C: check tabular for cut/copy too
10642
10643 2002-09-12  John Levon  <levon@movementarian.org>
10644
10645         * LyXAction.C: tidy
10646
10647         * factory.h:
10648         * factory.C: add header
10649
10650         * paragraph_funcs.h:
10651         * paragraph_funcs.C: cleanup
10652
10653 2002-09-11  John Levon  <levon@movementarian.org>
10654
10655         * PrinterParams.h: odd/even default to true
10656
10657 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10658
10659         * PrinterParams.h: update printer parameters for new xforms dialog
10660
10661 2002-09-11  Angus Leeming  <leeming@lyx.org>
10662
10663         * lyxserver.C (read_ready): re-write to make it more transparent
10664         and to make it work in coherent fashion under Tru64 Unix.
10665
10666 2002-09-11  André Pönitz <poenitz@gmx.net>
10667
10668         * commandtags.h:
10669         * LyXAction.C:
10670         * text3.C: implement LFUN_WORDSEL
10671
10672 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10673
10674         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10675         make floatlist_ a boost::shared_ptr<FloatList>
10676
10677         * lyxtextclass.C: include FloatList.h
10678         (LyXTextClass): initialize floatlist_
10679         (TextClassTags): add TC_NOFLOAT
10680         (Read): match "nofloat" to TC_NOFLOAT and use it.
10681         (readFloat): modify call to floatlist_
10682         (floats): ditto
10683         (floats): ditto
10684
10685         * FloatList.[Ch] (FloatList): remove commented out float
10686         initialization.
10687         (erase): new function
10688
10689 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10690
10691         * MenuBackend.C (expandToc): fix crash when there is no document
10692         open
10693
10694 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10695
10696         * many files: Add insetwrap.
10697
10698 2002-09-09  John Levon  <levon@movementarian.org>
10699
10700         * text2.C: remove confusing and awkward depth wraparound
10701
10702 2002-09-09  John Levon  <levon@movementarian.org>
10703
10704         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10705
10706         * buffer.h:
10707         * buffer.C: remove getIncludeonlyList()
10708
10709         * paragraph.C:
10710         * lyxfunc.C: remove headers
10711
10712 2002-09-09  Juergen Vigna  <jug@sad.it>
10713
10714         * text.C (getColumnNearX): fix form Michael this is most
10715         probably a cut&paste bug.
10716
10717 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10718
10719         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10720
10721         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10722         references, ws changes.
10723
10724         * text2.C (init): update counters after init
10725         (insertParagraph): no need to set counter on idividual paragraphs.
10726         (setCounter): access the counters object in the textclass object
10727         on in the buffer object.
10728         (updateCounters): ditto
10729
10730         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10731         shared_ptr<Counters> to avoid loading counters.h in all
10732         compilation units.
10733         (LyXTextClass): initialize ctrs_
10734         (TextClassTags): add TC_COUNTER, and ...
10735         (Read): use it here.
10736         (CounterTags): new tags
10737         (readCounter): new function
10738         (counters): new funtion
10739         (defaultLayoutName): return a const reference
10740
10741         * counters.C (Counters): remove contructor
10742         (newCounter): remove a couple of unneeded statements.
10743         (newCounter): simplify a bit.
10744         (numberLabel): some small formatting changes.
10745
10746         * buffer.[Ch]: remove all traces of counters, move the Counters
10747         object to the LyXTextClass.
10748
10749 2002-09-06  Alain Castera  <castera@in2p3.fr>
10750
10751         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10752         package to set the horizontal alignment on fixed width columns.
10753
10754         * lyx_sty.C:
10755         * lyx_sty.h: added tabularnewline macro def.
10756
10757         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10758
10759 2002-09-06  John Levon  <levon@movementarian.org>
10760
10761         * LyXAction.C: tooltips for sub/superscript
10762
10763         * MenuBackend.C: a bit more verbose
10764
10765         * lyxfunc.C: tiny clean
10766
10767         * undo_funcs.C: document undo_frozen
10768
10769 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10770
10771         * counters.C (Counters): add missing algorithm counter.
10772
10773         * text2.C (setCounter): lookup the counter with layouts latexname
10774         instead of by section number.
10775         (setCounter): use a hackish way to lookup the correct enum
10776         counter.
10777         a float name->type change
10778         reset enum couners with counter name directly instead of depth value.
10779
10780         * counters.C (Counters): remove the push_backs, change to use the
10781         float type not the float name.
10782         (labelItem): remove unused string, float name->type change
10783
10784         * counters.h: don't include vector, loose the enums and sects vectors
10785
10786 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10787
10788         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10789         (Read): add float->TC_FLOAT to textclassTags
10790         (Read): and handle it in the switch
10791         (readFloat): new function
10792
10793         * FloatList.C (FloatList): comment out the hardcoded float
10794         definitions.
10795
10796         * lyxlayout.h: ws change.
10797
10798 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10799
10800         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10801
10802 2002-09-03  Angus Leeming  <leeming@lyx.org>
10803
10804         * BufferView_pimpl.h: qualified name is not allowed in member
10805         declaration: WorkArea & Pimpl::workarea() const;
10806
10807         * factory.C: added using std::endl directive.
10808
10809         * text3.C: added using std::find and std::vector directives.
10810
10811 2002-08-29  André Pönitz <poenitz@gmx.net>
10812
10813         * lyxtext.h:
10814         * text2.C: remove unused member number_of_rows
10815
10816         * Makefile.am:
10817         * BufferView2.C: remove file, move contents to...
10818         * BufferView.C: ... here
10819
10820         * BufferView_pimpl.C:
10821         * factory.C: move more inset creation to factory
10822
10823         * vspace.C: avoid direct usage of LyXText, ws changes
10824
10825         * BufferView.[Ch]:
10826                 don't provide direct access to WorkArea, use two simple
10827                 acessors haveSelction() and workHeight() instead
10828
10829
10830 2002-08-29  John Levon  <levon@movementarian.org>
10831
10832         * BufferView_pimpl.C (dispatch): do not continue when
10833           no buffer
10834
10835 2002-08-28  André Pönitz <poenitz@gmx.net>
10836
10837         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10838
10839         * BufferView.h:
10840         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10841
10842 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10843
10844         * buffer.C: increment LYX_FORMAT to 221
10845
10846         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10847         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10848
10849         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10850
10851         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10852
10853 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10854
10855         * factory.C (createInset): use LyXTextClass::floats
10856
10857         * MenuBackend.C (expandFloatListInsert):
10858         (expandFloatInsert):
10859         (expandToc):
10860
10861         * text2.C (setCounter):
10862
10863         * LaTeXFeatures.C (useFloat):
10864         (getFloatDefinitions):
10865
10866         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10867
10868         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10869         floatlist_, with accessor floats().
10870
10871         * FloatList.h: remove global FloatList
10872
10873 2002-08-26  André Pönitz <poenitz@gmx.net>
10874
10875         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10876
10877         * BufferView.h:
10878         * BufferView2.C:
10879         * BufferView_pimpl.C:
10880         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10881
10882 2002-08-25  John Levon  <levon@movementarian.org>
10883
10884         * LyXAction.C: fix margin note description
10885
10886 2002-08-24  John Levon  <levon@movementarian.org>
10887
10888         * buffer.C:
10889         * bufferlist.C:
10890         * bufferview_funcs.C:
10891         * lyxfont.C:
10892         * undo_funcs.C: cleanups
10893
10894         * lyxfunc.C: disable CUT/COPY when no selection
10895
10896 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10897
10898         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10899         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10900
10901         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10902         Add backward compatibility to "mono", "gray" and "no".
10903
10904 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10905
10906         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10907         (and file_format >= 200).
10908
10909 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10910
10911         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10912
10913 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10914
10915         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10916
10917 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10918
10919         * BufferView_pimpl.C:
10920         * LyXAction.C:
10921         * buffer.C:
10922         * commandtags.h:
10923         * lyxfunc.C:
10924         * paragraph.[Ch]:
10925         * text2.C:
10926         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10927         inset and code to make it  work with the paragraph code. The inset
10928         can be anywhere in the paragraph, but will only do the expected
10929         thing in LaTeX if the layout file contains the parameter line
10930                         OptionalArgs    1
10931         (or more generally, a nonzero value) for that layout.
10932
10933 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10934
10935         * paragraph.h: remove the declaration of undefined counters class
10936         function.
10937
10938 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10939
10940         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10941         Dr. Richard Hawkins.
10942
10943 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * paragraph_funcs.h: remove some unneeded includes
10946
10947         * text.C (backspace): pasteParagraph now in global scipe
10948
10949         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10950         (pasteSelection): ditto
10951
10952         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10953         * paragraph_funcs.C (pasteParagraph): ... here
10954
10955 2002-08-20  André Pönitz <poenitz@gmx.net>
10956
10957         * commandtags.h: new LFUNs for swapping/copying table row/colums
10958
10959         * LyXAction.C:
10960         * lyxfunc.C: support for new lfuns
10961
10962 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10963
10964         * tabular.C:
10965         * buffer.[Ch]: remove NO_COMPABILITY stuff
10966
10967 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10968
10969         * boost.C (throw_exception): new file, with helper function for
10970         boost compiled without exceptions.
10971
10972         * paragraph.h:
10973         * lyxlength.C:
10974         * buffer.C:
10975         * ParameterStruct.h:
10976         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10977
10978         * bufferlist.C (emergencyWriteAll): use boost bind
10979
10980         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10981
10982         * text.C: include paragraph_funcs.h
10983         (breakParagraph): breakParagraph is now in global scope
10984
10985         * paragraph_funcs.[Ch]: new files
10986
10987         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10988         global scope
10989
10990         * buffer.C: include paragraph_funcs.h
10991         (insertStringAsLines): breakParagraph is now in global scope
10992
10993         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10994         paragraph_funcs.C
10995
10996         * CutAndPaste.C: include paragraph_funcs.h
10997         (cutSelection): breakParagraphConservative is now in global scope
10998         (pasteSelection): ditto
10999
11000         * buffer.h: declare oprator== and operator!= for
11001         Buffer::inset_iterator
11002
11003         * bufferlist.C (emergencyWrite): don't use fmt(...)
11004
11005         * text3.C: add using std::endl
11006
11007         * BufferView.C (moveCursorUpdate): remove default arg
11008
11009 2002-08-20  André Pönitz <poenitz@gmx.net>
11010
11011         * buffer.[Ch]: move inline functions to .C
11012
11013         * BufferView2.C:
11014         * BufferView_pimpl.C:
11015         * text.C:
11016         * buffer.[Ch]: use improved inset_iterator
11017
11018         * buffer.C:
11019         * paragraph.[Ch]: write one paragraph at a time
11020
11021 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11022
11023         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11024         style if style is not specified.
11025
11026 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11027
11028         * text2.C (setCounter): when searching for right label for a
11029         caption, make sure to recurse to parent insets (so that a caption
11030         in a minipage in a figure float works) (bug #568)
11031
11032 2002-08-20  André Pönitz <poenitz@gmx.net>
11033
11034         * text3.C: new file for LyXText::dispatch() and helpers
11035
11036         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11037
11038         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11039
11040 2002-08-19  André Pönitz <poenitz@gmx.net>
11041
11042         * lyxtext.h:
11043         * text.C: new LyXText::dispatch()
11044
11045         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11046
11047 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11048
11049         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11050
11051         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11052         Hebrew text.
11053
11054 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11055
11056         * Makefile.am: use $(variables) instead of @substitutions@
11057
11058 2002-08-15  André Pönitz <poenitz@gmx.net>
11059
11060         * lyxfunc.C:
11061         * BufferView_pimpl.C: streamlining mathed <-> outer world
11062         interaction
11063
11064         * commandtags.h:
11065         * LyXAction.C: remove unused LFUN_MATH
11066
11067 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11068
11069         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11070
11071 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11072
11073         * paragraph.C (Paragraph): reformat a bit
11074         (cutIntoMinibuffer): use builtin InsetList function instad of
11075         doing it manually.
11076         (getInset): ditto
11077
11078         * buffer.C: include boost/bind.hpp, add using std::for_each
11079         (writeFileAscii): use ParagraphList iterators
11080         (validate): use for_each for validate traversal of paragraphs
11081         (getBibkeyList): use ParagraphList iterators
11082         (resizeInsets): use for_each to resizeInsetsLyXText for all
11083         paragraphs.
11084         (getParFromID): use ParagraphList iterators
11085
11086         * BufferView2.C (lockInset): use paragraph list and iterators
11087
11088 2002-08-14  John Levon  <levon@movementarian.org>
11089
11090         * lyxserver.C: remove spurious xforms include
11091
11092 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11093
11094         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11095
11096 2002-08-13  André Pönitz <poenitz@gmx.net>
11097
11098         * LyXAction.[Ch]:
11099         * lyxfunc.C: further cleaning
11100
11101 2002-08-13  André Pönitz <poenitz@gmx.net>
11102
11103         * funcrequest.h: new constructor
11104
11105         * funcrequest.C: move stuff here from .h
11106
11107         * Makefile.am:
11108         * BufferView_pimpl.C:
11109         * LyXAction.C:
11110         * toc.C:
11111         * lyxfunc.C: subsequent changes
11112
11113         * lyxfunc.h: new view() member function
11114
11115         * lyxfunc.C: subsequent changes
11116
11117 2002-08-13  Angus Leeming  <leeming@lyx.org>
11118
11119         * BufferView2.C:
11120         * BufferView_pimpl.C:
11121         * buffer.C:
11122         * converter.C:
11123         * importer.C:
11124         * lyxfunc.C:
11125         * lyxvc.C:
11126         * toc.C:
11127         * vc-backend.C:
11128         changes due to the changed LyXView interface that now returns references
11129         to member variables not pointers.
11130
11131 2002-08-13  Angus Leeming  <leeming@lyx.org>
11132
11133         * WordLangTuple (word, lang_code): return references to strings,
11134         not strings.
11135
11136         * BufferView.h:
11137         * SpellBase.h:
11138         * lyxtext.h: forward-declare WordLangTuple.
11139
11140         * BufferView2.C:
11141         * ispell.C:
11142         * pspell.C:
11143         * text.C: #include "WordLangTuple.h".
11144
11145         * lyxtext.h:
11146         * text.C: (selectNextWordToSpellcheck): constify return type.
11147
11148 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11149
11150         * buffer.C:
11151         * buffer.h:
11152         * lyxtext.h:
11153         * paragraph.C:
11154         * paragraph_pimpl.h:
11155         * text.C:
11156         * text2.C:
11157         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11158         suggested by Angus.
11159         Made updateCounter always count from start of buffer, and removed
11160         second argument (par).
11161         Reverted floats number display to '#'. Perhaps I'll try again when the
11162         code base is sanitized a bit.
11163
11164 2002-08-12  Angus Leeming  <leeming@lyx.org>
11165
11166         * buffer.[Ch] (getLabelList): constify.
11167
11168 2002-08-07  André Pönitz <poenitz@gmx.net>
11169
11170         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11171
11172         * funcrequest.h: extension to keep mouse (x,y) position
11173
11174 2002-08-12  Juergen Vigna  <jug@sad.it>
11175
11176         * BufferView2.C (insertErrors): forbid undo when inserting error
11177         insets.
11178
11179         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11180
11181 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11182
11183         * ParagraphList.[Ch]: new files
11184
11185         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11186
11187         * BufferView2.C (lockInset): ParagraphList changes
11188         * toc.C: ditto
11189         * text2.C: ditto
11190         * bufferlist.C: ditto
11191         * buffer.h: ditto
11192         * buffer.C: ditto
11193
11194 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11195
11196         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11197         unused class variable counter_,
11198
11199         * paragraph.[Ch] (getFirstCounter): delete unused function
11200
11201         * counters.C: include LAssert.h
11202         (reset): add a new function with no arg, change other version to
11203         not have def. arg and to not allow empty arg.
11204
11205         * text2.C (setCounter): remove empty arg from call to Counters::reset
11206
11207 2002-08-11  John Levon  <levon@movementarian.org>
11208
11209         * Makefile.am: add WordLangTuple.h
11210
11211 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11212
11213         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11214         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11215
11216         * insets/insettext.C: InsetList changes
11217
11218         * graphics/GraphicsSupport.C (operator()): InsetList changes
11219
11220         * toc.C (getTocList): InsetList changes
11221
11222         * paragraph_pimpl.[Ch]: InsetList changes
11223
11224         * paragraph.[Ch]: InsetList changes
11225
11226         * buffer.C (inset_iterator): InsetList changes
11227         (setParagraph): ditto
11228         * buffer.h (inset_iterator): ditto
11229         * iterators.C (operator++): ditto
11230         * iterators.h: ditto
11231
11232         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11233
11234         * InsetList.[Ch]: new files, most InsetList handling moved out of
11235         paragraph.C.
11236
11237         * BufferView2.C (removeAutoInsets): InsetList changes
11238         (lockInset): ditto
11239         (ChangeInsets): ditto
11240
11241 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11242
11243         * paragraph_pimpl.h (empty): new function
11244
11245         * paragraph.[Ch] (empty): new function
11246
11247         * other files: use the new Paragraph::empty function
11248
11249 2002-08-09  John Levon  <levon@movementarian.org>
11250
11251         * lyxtext.h: remove unused refresh_height
11252
11253 2002-08-09  John Levon  <levon@movementarian.org>
11254
11255         * Makefile.am:
11256         * sgml.h:
11257         * sgml.C:
11258         * buffer.C:
11259         * paragraph.h:
11260         * paragraph.C: move sgml char escaping out of paragraph
11261
11262         * paragraph.h:
11263         * paragraph.C: remove id setter
11264
11265         * buffer.C:
11266         * paragraph.C:
11267         * paragraph_pimpl.C: remove dead tex_code_break_column
11268
11269         * bufferview_funcs.C: small cleanup
11270
11271         * lyxfunc.C: remove dead proto
11272
11273         * lyxtext.h: make some stuff private. Remove some dead stuff.
11274
11275         * lyxgluelength.C: make as[LyX]String() readable
11276
11277 2002-08-08  John Levon  <levon@movementarian.org>
11278
11279         * LyXAction.h:
11280         * LyXAction.C:
11281         * MenuBackend.C:
11282         * ToolbarDefaults.C:
11283         * lyxfunc.C:
11284         * lyxrc.C:
11285         * toc.C: lyxaction cleanup
11286
11287 2002-08-08  John Levon  <levon@movementarian.org>
11288
11289         * BufferView2.C: small cleanup
11290
11291         * lyxfind.h:
11292         * lyxfind.C: move unnecessary header into the .C
11293
11294 2002-08-08  John Levon  <levon@movementarian.org>
11295
11296         * funcrequest.h: just tedious nonsense
11297
11298         * lyx_main.h:
11299         * lyx_main.C: cleanups
11300
11301         * buffer.C:
11302         * vspace.C: remove dead header lyx_main.h
11303
11304 2002-08-07  Angus Leeming  <leeming@lyx.org>
11305
11306         * Paragraph.[Ch]:
11307         * paragraph_pimpl.h:
11308         Forward declare class Counters in paragraph.h by moving the ctrs member
11309         variable into Paragraph::Pimpl.
11310         (counters): new method, returning a reference to pimpl_->ctrs.
11311
11312         * text2.C: ensuing changes.
11313
11314 2002-08-07  John Levon  <levon@movementarian.org>
11315
11316         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11317
11318         * BufferView_pimpl.C: announce X selection on double/triple
11319           click
11320
11321         * lyx_main.C: use correct bool in batch dispatch
11322
11323         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11324
11325 2002-08-07  André Pönitz <poenitz@gmx.net>
11326
11327         * funcrequest.h: new class to wrap a kb_action and its argument
11328
11329         * BufferView.[Ch]:
11330         * BufferView_pimpl[Ch]:
11331         * LaTeX.C:
11332         * LyXAction.[Ch]:
11333         * lyxfunc.[Ch]:
11334         * lyxrc.C: subsequent changes
11335
11336
11337 2002-08-07  John Levon  <levon@movementarian.org>
11338
11339         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11340           document options change.
11341
11342 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11343
11344         * counters.[Ch]
11345         * text2.C
11346         * paragraph.[Ch]
11347         * makefile.am: move counters functionality over from
11348         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11349
11350 2002-08-06  John Levon  <levon@movementarian.org>
11351
11352         * WordLangTuple.h: new file for word + language code tuple
11353
11354         * SpellBase.h:
11355         * pspell.h:
11356         * pspell.C:
11357         * ispell.h:
11358         * ispell.C:
11359         * lyxtext.h:
11360         * text.C:
11361         * text2.C:
11362         * BufferView.h:
11363         * BufferView2.C: use WordLangTuple
11364
11365         * layout.h:
11366         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11367
11368 2002-08-06  John Levon  <levon@movementarian.org>
11369
11370         * lyx_main.C: fix cmdline batch handling
11371
11372 2002-08-06  André Pönitz <poenitz@gmx.net>
11373
11374         * lyxrc.C: set default for show_banner to true
11375
11376 2002-08-06  John Levon  <levon@movementarian.org>
11377
11378         * pspell.C: fix a crash, and allow new aspell to work
11379
11380 2002-08-06  John Levon  <levon@movementarian.org>
11381
11382         * lyxfunc.C:
11383         * kbmap.C: small cleanup
11384
11385         * vspace.h:
11386         * vspace.C: add const
11387
11388 2002-08-05  John Levon  <levon@movementarian.org>
11389
11390         * LyXAction.C: back to tabular-insert
11391
11392 2002-08-04  John Levon  <levon@movementarian.org>
11393
11394         * BufferView.h:
11395         * BufferView.C: cosmetic change
11396
11397         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11398
11399         * bufferlist.C:
11400         * buffer.h:
11401         * buffer.C:
11402         * lyxcb.h:
11403         * lyxcb.C:
11404         * lyxserver.C:
11405         * lyxvc.C:
11406         * vc-backend.C:
11407         * BufferView2.C: purge all "Lyx" not "LyX" strings
11408
11409         * lyxcursor.h:
11410         * lyxcursor.C: attempt to add some documentation
11411
11412         * lyxfunc.C:
11413         * commandtags.h:
11414         * LyXAction.C:
11415         * ToolbarDefaults.C:
11416         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11417           merge with LFUN_TABULAR_INSERT
11418
11419         * Makefile.am:
11420         * SpellBase.h:
11421         * ispell.h:
11422         * ispell.C:
11423         * pspell.h:
11424         * pspell.C: split up i/pspell implementations into separate
11425           files, many cleanups
11426
11427         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11428
11429         * text2.C: some cleanup
11430
11431         * lyxfunc.C: don't check for isp_command == "none" any more, it
11432           didn't make any sense
11433
11434 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11435
11436         * counters.[Ch]
11437         * text2.C
11438         * paragraph.[Ch]
11439         * makefile.am: move counters functionality over
11440         from text2.C/paragraph.[Ch] to counters.[Ch], and
11441         make proper C++.
11442 2002-08-02  John Levon  <levon@movementarian.org>
11443
11444         * buffer.C: s/lyxconvert/lyx2lyx/
11445
11446 2002-08-02  Angus Leeming  <leeming@lyx.org>
11447
11448         * lyxlex.C: revert John's change as it breaks reading of the user
11449         preamble.
11450
11451 2002-08-02  Angus Leeming  <leeming@lyx.org>
11452
11453         * importer.C (Import):
11454         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11455         changes due to LyXView::view() now returning a boost::shared_ptr.
11456
11457 2002-08-02  John Levon  <levon@movementarian.org>
11458
11459         * lyxlex.C: small cleanup
11460
11461 2002-08-02  John Levon  <levon@movementarian.org>
11462
11463         * text2.C (status): small cleanup, no logic change
11464
11465 2002-08-01  John Levon  <levon@movementarian.org>
11466
11467         * buffer.h:
11468         * buffer.C (writeFile): don't output alerts, caller
11469           handles this
11470
11471         * bufferlist.C:
11472         * lyx_cb.C: from above
11473
11474         * lyxfunc.C: allow to open non-existent files
11475
11476 2002-07-31  John Levon  <levon@movementarian.org>
11477
11478         * lyxserver.C: don't let incidental errors get
11479           in the way (errno)
11480
11481 2002-07-30  John Levon  <levon@movementarian.org>
11482
11483         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11484
11485 2002-07-30  John Levon  <levon@movementarian.org>
11486
11487         * lyxserver.h:
11488         * lyxserver.C: remove I/O callback too
11489
11490 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11493         log.
11494
11495 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11496
11497         * many files: strip,frontStrip -> trim,ltrim,rtrim
11498
11499 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11500
11501         * PrinterParams.h: remove extern containsOnly, and include
11502         support/lstrings.h instead.
11503
11504         * LaTeX.C (scanAuxFile): modify because of strip changes
11505         (deplog): ditto
11506         * buffer.C (makeLaTeXFile): ditto
11507         * bufferparams.C (writeFile): ditt
11508         * lyxfont.C (stateText): ditto
11509         * lyxserver.C (read_ready): ditto
11510         * vc-backend.C (scanMaster): ditto
11511
11512         * BufferView_pimpl.h: ws changes
11513
11514         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11515
11516 2002-07-26  André Pönitz <poenitz@gmx.net>
11517
11518         * kb_sequence.C: remove unnedred usings
11519
11520 2002-07-26  Juergen Vigna  <jug@sad.it>
11521
11522         * lyxfind.C (LyXReplace): we have to check better if the returned
11523         text is not of theLockingInset()->getLockingInset().
11524
11525 2002-07-25  Juergen Vigna  <jug@sad.it>
11526
11527         * lyxfind.C (LyXReplace): don't replace if we don't get the
11528         right LyXText.
11529
11530         * undo_funcs.C (createUndo): remove debugging code.
11531
11532 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11533
11534         * buffer.C (parseSingleLyXformat2Token): Use default placement
11535         when reading old floats.
11536
11537         * FloatList.C (FloatList): Change the default placement of figure
11538         and tables to "tbp".
11539
11540 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11541
11542         * MenuBackend.C: using std::max
11543
11544 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11545
11546         * MenuBackend.C (expandToc):
11547         (expandToc2): code moved from xforms menu frontend. It is now
11548         generic and TOCs are transparent to menu frontends.
11549
11550 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11551
11552         * toc.C (getTocList): protect against buf=0
11553
11554         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11555         Menu as first parameter. Now, this calls itself recursively to
11556         expand a whole tree (this will be useful for TOC handling)
11557         (expandFloatInsert): remove 'wide' version of floats
11558
11559         * MenuBackend.h (submenuname): returns the name of the submenu.
11560         (submenu): returns the submenu itself, provided it has been
11561         created by MenuBackend::expand
11562
11563 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11566         insets which have noFontChange == true. (bug #172)
11567
11568 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11569
11570         * BufferView_pimpl.C: add connection objects and use them...
11571         (Pimpl): here.
11572
11573 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11574
11575         * MenuBackend.C (expandLastfiles):
11576         (expandDocuments):
11577         (expandFormats):
11578         (expandFloatListInsert):
11579         (expandFloatInsert):
11580         (expand): split expand in parts
11581
11582 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11583
11584         * lyx_gui.C: use lyx_gui::exit()
11585
11586 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * LyXAction.C: show the failing pseudo action
11589
11590 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11591
11592         * buffer.C (readFile): Run the lyxconvert script in order to read
11593         old files.
11594
11595 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * LyXAction.C:
11598         * commandtags.h:
11599         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11600
11601 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * LyXAction.C:
11604         * commandtags.h:
11605         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11606
11607 2002-07-22  Herbert Voss  <voss@lyx.org>
11608
11609         * lengthcommon.C:
11610         * lyxlength.[Ch]: add support for the vertical lengths
11611
11612 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * toc.[Ch]: std:: fixes
11615
11616 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11617
11618         * lyxrc.C: do not include lyx_main.h
11619
11620         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11621         for layouts
11622
11623         * lyxrc.C:
11624         * encoding.C:
11625         * bufferlist.C:
11626         * BufferView2.C: include "lyxlex.h"
11627
11628         * tabular.h:
11629         * bufferparams.h: do not #include "lyxlex.h"
11630
11631         * lyxtextclasslist.C (Add): remove method
11632         (classlist): renamed to classlist_
11633
11634         * paragraph_pimpl.C:
11635         * paragraph.C:
11636         * text2.C:
11637         * CutAndPaste.C:
11638         * bufferview_funcs.C:
11639         * bufferlist.C:
11640         * text.C:
11641         * LaTeXFeatures.C:
11642         * buffer.C:
11643         * toc.C (getTocList): use BufferParams::getLyXTextClass
11644
11645         * toc.C (getTocList): use InsetFloat::addToToc
11646
11647         * toc.[Ch]: new files, containing helper functions to handle table
11648         of contents
11649
11650         * lyxfunc.C (dispatch): no need to remove spaces around command
11651         given as a string
11652         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11653         first command of the sequence; it is not very clever, but I do not
11654         have a better idea, actually
11655
11656         * LyXAction.C (LookupFunc): make sure to remove space at the
11657         beginning and end of the command
11658
11659 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11660
11661         * MenuBackend.C (getMenubar): new method: return the menubar of
11662         this menu set
11663         (read): treat differently reading of menu and menubar (in
11664         particular, the menubar has no name now)
11665         (Menu::menubar): remove
11666
11667         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11668         saving is finished
11669
11670 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11671
11672         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11673         a bibitem inset in a RTL paragraph.
11674
11675 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11676
11677         * paragraph_pimpl.C: constify
11678
11679         * BufferView_pimpl.C:
11680         * LaTeX.C:
11681         * lyxfunc.C: fix dispatch in a nicer way
11682
11683 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11684
11685         * lyxfunc.C (dispatch):
11686         * BufferView_pimpl.C:
11687         * BufferView_pimpl.h:
11688         * BufferView.C:
11689         * BufferView.h: rename Dispatch() to dispatch()
11690
11691         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11692
11693         * lyxlayout.C (Read): honor DependsOn tag
11694
11695         * lyxlayout.[Ch] (depends_on): new method
11696
11697         * version.C.in: update lyx_docversion
11698
11699         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11700
11701         * paragraph.C (validate): remove from here...
11702         * paragraph_pimpl.C (validate): ... and move here
11703         (isTextAt): make it const
11704
11705         * buffer.C (getLists): ws cleanup
11706
11707 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11708
11709         * language.C (read): Use iso8859-1 encoding in latex_lang
11710         (this prevents LyX from crashing when using iso10646-1 encoding).
11711
11712 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11713
11714         * text2.C (toggleInset): if cursor is inside an inset, close the
11715         inset and leave cursor _after_ it
11716
11717 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * lyxfunc.C: move minibuffer completion handling out of here
11720
11721 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * BufferView_pimpl.C:
11724         * LaTeX.C: fix dispatch calls
11725
11726 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11727
11728         * text.C (drawChars): Fix Arabic text rendering.
11729
11730 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11731
11732         * LyXAction.C:
11733         * commandtags.h:
11734         * lyxfunc.C: remove message-push/pop
11735
11736         * lyxserver.C:
11737         * lyxfunc.h:
11738         * lyxfunc.C: rationalise some code by removing verboseDispatch
11739           in favour of a bool argument to dispatch()
11740
11741 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * lyx_main.C (init): make sure to read symlinks as absolute paths
11744
11745 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * lyxfunc.h:
11748         * lyxfunc.C: no need for commandshortcut to be a member
11749
11750 2002-07-15  André Pönitz <poenitz@gmx.net>
11751
11752         * converter.C: add support for $$s (scripts from lib/scripts dir)
11753         * lyx_main.C: white space
11754
11755 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * bufferlist.C:
11758         * lyxrc.h:
11759         * lyxrc.C: remove second exit confirmation
11760
11761 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11762
11763         * BufferView.h:
11764         * BufferView.C:
11765         * BufferView2.C:
11766         * BufferView_pimpl.h:
11767         * BufferView_pimpl.C:
11768         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11769
11770 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11771
11772         * MenuBackend.C (expand): add numeric shortcuts to document menu
11773
11774         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11775
11776 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * lyxfont.C (setLyXFamily):
11779         (setLyXSeries):
11780         (setLyXShape):
11781         (setLyXSize):
11782         (setLyXMisc):
11783         (lyxRead):
11784         * debug.C (value):
11785         * buffer.C (asciiParagraph): use ascii_lowercase
11786
11787 2002-07-15  Mike Fabian  <mfabian@suse.de>
11788
11789         * lyxlex_pimpl.C (search_kw):
11790         * lyxlex.C (getLongString):
11791         * converter.h (operator<):
11792         * converter.C (operator<):
11793         * buffer.C (parseSingleLyXformat2Token):
11794         (asciiParagraph):
11795         * ToolbarDefaults.C (read):
11796         * MenuBackend.C (checkShortcuts):
11797         (read):
11798         * LColor.C (getFromGUIName):
11799         (getFromLyXName): use the compare_ascii_no_case instead of
11800         compare_no_case, because in turkish, 'i' is not the lowercase
11801         version of 'I', and thus turkish locale breaks parsing of tags.
11802
11803 2002-07-16  Angus Leeming  <leeming@lyx.org>
11804
11805         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11806         now takes a Buffer const & argument.
11807
11808 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * BufferView.C (resize): check there's a buffer to resize
11811
11812 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * lyxfunc.C: remove dead code
11815
11816         * lyxserver.h:
11817         * lyxserver.C: use lyx_guii::set_read_callback
11818
11819 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11820
11821         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11822         an inset in a RTL paragraph.
11823
11824 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * lyxfunc.C: repaint after a font size update
11827
11828 2002-07-15  André Pönitz <poenitz@gmx.net>
11829
11830         * lyxlength.C: inBP should be able to return negative values
11831
11832 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * lyxfunc.C: use lyx_gui::update_fonts()
11835
11836 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * lyxfunc.C: use lyx_gui::update_color()
11839
11840 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * bufferlist.C:
11843         * lyxfunc.h:
11844         * lyxfunc.C:
11845         * lyxrc.h:
11846         * lyxrc.C: remove file->new asks for name option, and let
11847           buffer-new take an argument
11848
11849 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * BufferView_pimpl.C: remove unneeded extra repaint()
11852
11853 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * LyXAction.C: allow command-sequence with NoBuffer
11856
11857         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11858
11859 2002-07-10  Angus Leeming  <leeming@lyx.org>
11860
11861         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11862
11863 2002-07-09  Angus Leeming  <leeming@lyx.org>
11864
11865         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11866
11867 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11868
11869         * lengthcommon.h: whitespace
11870
11871         * lyxfunc.C: update scrollbar after goto paragraph
11872
11873         * lyxtext.h: factor out page break drawing, and fix it so
11874           page break/added space paints as selected nicely
11875
11876 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * BufferView_pimpl.C: add FIXMEs, clean up a little
11879
11880 2002-07-09  André Pönitz <poenitz@gmx.net>
11881
11882         * lyxfont.[Ch]: support for wasy symbols
11883
11884 2002-07-08  André Pönitz <poenitz@gmx.net>
11885
11886         * BufferView_pimpl.C: apply John's patch for #93.
11887
11888 2002-07-05  Angus Leeming  <leeming@lyx.org>
11889
11890         * BufferView_pimpl.C (buffer): generate previews if desired.
11891
11892         * LColor.h: add "preview" to the color enum.
11893
11894         * LColor.C (LColor): add a corresponding entry to the items array.
11895
11896         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11897         with this buffer.
11898
11899 2002-07-05  Angus Leeming  <leeming@lyx.org>
11900
11901         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11902         The body of the code is now in the method that is passed an ostream &
11903         rather than a file name.
11904         Pass an additional only_preamble parameter, useful for the forthcoming
11905         preview stuff.
11906
11907 2002-07-03  André Pönitz <poenitz@gmx.net>
11908
11909         * lyxfunc.C: simplify getStatus() a bit for math stuff
11910
11911 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11912
11913         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11914
11915 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * text.C (changeRegionCase): do not change case of all the
11918         document when region ends at paragraph end (bug #461)
11919
11920 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11921
11922         * paragraph.C (startTeXParParams):
11923         (endTeXParParams): add \protect when necessary
11924
11925 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * BufferView_pimpl.C (workAreaExpose): remove warning
11928
11929 2002-06-27  Angus Leeming  <leeming@lyx.org>
11930
11931         * Makefile.am: add lyxlayout_ptr_fwd.h.
11932
11933 2002-06-26  André Pönitz <poenitz@gmx.net>
11934
11935         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11936
11937 2002-06-25  Angus Leeming  <leeming@lyx.org>
11938
11939         * lyxfunc.C (dispatch): Comment out the call to
11940         grfx::GCache::changeDisplay. The method no longer exists now that the
11941         pixmap generation part of the graphics loader has been moved into
11942         InsetGraphics.
11943
11944 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11945
11946         * text2.C: layout as layout
11947
11948         * text.C: layout as layout
11949
11950         * tabular.C (OldFormatRead): layout as layout
11951
11952         * paragraph_pimpl.C (TeXDeeper): layout as layout
11953         (realizeFont): layout as layout
11954
11955         * paragraph.C (writeFile): layout as layout
11956         (validate): layout as layout
11957         (getFont): layout as layout
11958         (getLabelFont): layout as layout
11959         (getLayoutFont): layout as layout
11960         (breakParagraph): layout as layout
11961         (stripLeadingSpaces): layout as layout
11962         (getEndLabel): layout as layout
11963         (getMaxDepthAfter): layout as layout
11964         (applyLayout): layout as layout
11965         (TeXOnePar): layout as layout
11966         (simpleTeXOnePar): layout as layout
11967         (TeXEnvironment): layout as layout
11968         (layout): layout as layout
11969         (layout): layout as layout
11970
11971         * lyxtextclass.C (compare_name): new functor to work with
11972         shared_ptr, layout as layout
11973         (Read): layout as layout
11974         (hasLayout): layout as layout
11975         (operator): layout as layout
11976         (delete_layout): layout as layout
11977         (defaultLayout): layout as layout
11978
11979         * lyxlayout_ptr_fwd.h: new file
11980
11981         * lyxlayout.C (Read): layout as layout
11982
11983         * lyx_cb.C (MenuInsertLabel): layout as layout
11984
11985         * bufferlist.C (newFile): layout as layout
11986
11987         * buffer.C (readLyXformat2): layout as layout
11988         (parseSingleLyXformat2Token): layout as layout
11989         (insertStringAsLines): layout as layout
11990         (asciiParagraph): layout as layout
11991         (latexParagraphs): layout as layout
11992         (makeLinuxDocFile): layout as layout
11993         (simpleLinuxDocOnePar): layout as layout
11994         (makeDocBookFile): layout as layout
11995         (simpleDocBookOnePar): layout as layout
11996         (getLists): layout as layout
11997
11998         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11999
12000         * CutAndPaste.C (cutSelection): layout as layout
12001         (pasteSelection): layout as layout
12002         (SwitchLayoutsBetweenClasses): layout as layout
12003
12004         * BufferView_pimpl.C (Dispatch): layout as layout
12005         (smartQuote): layout as layout
12006
12007         * BufferView2.C (unlockInset): layout as layout
12008
12009 2002-06-24  André Pönitz <poenitz@gmx.net>
12010
12011         * lyxfunc.C: fix #487
12012
12013 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * lyxrc.h:
12016         * lyxrc.C:
12017         * lyxfunc.C: remove display_shortcuts, show_banner
12018
12019 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * Buffer_pimpl.C: oops, update on resize
12022
12023 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12024
12025         * buffer.C:
12026         * converter.C:
12027         * exporter.C:
12028         * lyxfunc.C:
12029         * BufferView.h:
12030         * BufferView.C: use repaint()
12031
12032         * BufferView_pimpl.h:
12033         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12034           as it's a clearer description. Remove superfluous
12035           redraws.
12036
12037 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * text.C: fix bug 488. Not ideal, but getting
12040           getWord() to work properly for the insets that
12041           matter is more difficult ...
12042
12043 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * BufferView_pimpl.C:
12046         * LyXAction.C:
12047         * commandtags.h:
12048         * lyxfunc.C: remove the six million index lyxfuncs to just
12049           one, and DTRT (bug 458)
12050
12051 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * BufferView.h:
12054         * BufferView.C:
12055         * BufferView_pimpl.h:
12056         * BufferView_pimpl.C: clean up resize() stuff,
12057           and unnecessary updateScreen()s
12058
12059 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12060
12061         * BufferView.h:
12062         * BufferView.C:
12063         * BufferView_pimpl.h:
12064         * BufferView_pimpl.C:
12065         * lyxfind.h:
12066         * lyxfind.C:
12067         * minibuffer.C: remove focus management of workarea,
12068           not needed. Use screen's greyOut()
12069
12070 2002-06-17  Herbert Voss  <voss@lyx.org>
12071
12072         * converter.C: (convert) do not post a message, when converting
12073         fails, let the calling function decide what to do in this case
12074
12075 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * lyxfunc.C: tidy up a little
12078
12079 2002-06-16    <alstrup@diku.dk>
12080
12081         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12082         Got rid of FORMS_H_LOCATION include. Now we are
12083         GUII.
12084
12085 2002-06-15  LyX Development team  <lyx@rilke>
12086
12087         * buffer.[Ch] (sgmlOpenTag):
12088         (sgmlCloseTag): Added support for avoiding pernicious mixed
12089         content. Return number of lines written.
12090
12091         (makeLinuxDocFile):
12092         (makeDocBookFile): Fixed calls to sgml*Tag.
12093         Simple white space clean.
12094
12095         (simpleDocBookOnePar): Simple white space clean.
12096
12097         * tabular.[Ch] (docBook): Renamed to docbook and got another
12098         argument to related with the pernicious mixed content.
12099
12100         (docbookRow): Fixed calls for docbook inset method.
12101
12102 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12103
12104         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12105         so it's X11 independent.
12106
12107         * kb*.[Ch]: ditto.
12108
12109         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12110
12111 2002-06-15  Lyx Development team  <lyx@electronia>
12112
12113         * intl.h: Renamed getTrans to getTransManager.
12114
12115 2002-06-14  Angus Leeming  <leeming@lyx.org>
12116
12117         * Makefile.am: nuke forgotten stl_string_fwd.h.
12118
12119 2002-06-12  Angus Leeming  <leeming@lyx.org>
12120
12121         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12122
12123 2002-06-13  Angus Leeming  <leeming@lyx.org>
12124
12125         * LaTeX.C:
12126         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12127
12128 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12129
12130         * kbmap.C (getiso): add support for cyrillic and greek
12131
12132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * BufferView.h:
12135         * BufferView.C:
12136         * BufferView_pimpl.h:
12137         * BufferView_pimpl.C: move bogus scrolling logic
12138           to xforms
12139
12140 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12141
12142         * lyxfunc.C:
12143         * BufferView_pimpl.C: view->resize() change
12144
12145 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * BufferView_pimpl.C: topCursorVisible
12148           prototype change
12149
12150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * Makefile.am:
12153         * lyx_gui.h:
12154         * lyx_gui.C: move to frontends/
12155
12156         * main.C:
12157         * lyx_main.h:
12158         * lyx_main.C: changes from above
12159
12160 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * intl.C:
12163         * intl.h:
12164         * kbmap.C:
12165         * kbsequence.C:
12166         * lyx_cb.C:
12167         * lyx_main.C: minor tidy
12168
12169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12170
12171         * BufferView_pimpl.h:
12172         * BufferView_pimpl.C:
12173         * BufferView.h:
12174         * BufferView.C: make painter() const,
12175           remove dead code
12176
12177         * BufferView2.C: use screen() accessor
12178
12179         * lyx_main.h:
12180         * lyx_main.C: some minor cleanup
12181
12182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * BufferView_pimpl.h:
12185         * BufferView_pimpl.C: remove enter/leaveView,
12186           use workHeight()
12187
12188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * BufferView.h:
12191         * BufferView.C:
12192         * BufferView2.C:
12193         * BufferView_pimpl.h:
12194         * BufferView_pimpl.C: only construct screen once,
12195           rename
12196
12197         * lyxrc.C: remove pointless comment
12198
12199 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12200
12201         * BufferView.h:
12202         * BufferView.C: remove active() and belowMouse()
12203
12204         * BufferView_pimpl.h:
12205         * BufferView_pimpl.C: use workarea() not workarea_,
12206           and make it use a scoped_ptr instead
12207
12208 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * lyx_gui.C: add debug message on BadWindow
12211
12212 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * sp_spell.C: fdopen is not part of the C++ standard.
12215
12216         * paragraph.C (InsetIterator): use >= instead of ==
12217
12218 2002-06-07  Angus Leeming  <leeming@lyx.org>
12219
12220         Fixes needed to compile with Compaq cxx 6.5.
12221         * BufferView_pimpl.C:
12222         * DepTable.C:
12223         * buffer.C:
12224         * converter.C:
12225         * encoding.C:
12226         * lyx_gui.C:
12227         * lyx_main.C:
12228         * lyxtextclasslist.C:
12229         * minibuffer.C:
12230         * sp_spell.C:
12231         * tabular_funcs.C:
12232         * vc-backend.C:
12233         all c-library variables have been moved into namespace std. Wrap
12234         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12235
12236         * lyxlength.C:
12237         * tabular-old.C:
12238         * tabular.C:
12239         Add a using std::abs declaration.
12240
12241         * kbmap.h (modifier_pair):
12242         * paragraph.h (InsetTable, InsetList):
12243         * lyxfont.h (FontBits):
12244         type definition made public.
12245
12246         * bufferlist.C (emergencyWriteAll): the compiler complains that
12247         there is more than one possible lyx::class_fun template to choose from.
12248         I re-named the void specialisation as lyx::void_class_fun.
12249
12250         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12251
12252         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12253         the compiler is is unable to find tostr in write_attribute.
12254
12255 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12256
12257         * buffer.C (sgmlError): hide #warning
12258
12259 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12260
12261         * xtl/*: get rid of xtl, which is not in use anyway
12262
12263         * LyXAction.C (init):
12264         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12265         were unimplemented xtl experimentation
12266
12267 2002-06-04  André Pönitz <poenitz@gmx.net>
12268
12269         * lyxfunc.C: disable array operation on simple formulae
12270
12271 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * converter.C: constify a bit
12274
12275 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * lyx_gui.C: check xforms version correctly
12278
12279 2002-04-30  Herbert Voss  <voss@lyx.org>
12280
12281         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12282         "keep" option
12283
12284 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12287           attempt to register it with a VCS)
12288
12289 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12290
12291         * lyx_main.C (init): honor variables LYX_DIR_13x and
12292         LYX_USERDIR_13x
12293
12294 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * buffer.h:
12297         * buffer.C:
12298         * lyx_main.C: fix a crash on bad command line,
12299           and give a useful exit status on error
12300
12301         * lyxfunc.C (doImport): allow -i lyx to work
12302
12303 2002-03-30  André Pönitz <poenitz@gmx.net>
12304
12305         * lyxfunc.C: mathed font changes
12306
12307 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12308
12309         * LaTeX.C:
12310         * importer.h:
12311         * importer.C:
12312         * lyx_sty.h:
12313         * lyx_sty.C:
12314         * lyxlex.C:
12315         * lyxrow.h:
12316         * lyxtext.h:
12317         * paragraph.h:
12318         * paragraph.C:
12319         * texrow.h:
12320         * texrow.C:
12321         * text.C:
12322         * trans_mgr.h: srcdocs, and some minor cleanups
12323
12324 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12325
12326         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12327         call getFont all the time)
12328
12329 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12330
12331         * switch from SigC signals to boost::signals
12332
12333 2002-05-29  André Pönitz <poenitz@gmx.net>
12334
12335         * paragraph_pimpl.C (getChar): don't call size() too often...
12336
12337 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * paragraph_pimpl.C (insertChar): do not try to update tables when
12340         appending (pos == size())
12341
12342         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12343         in order to reduce drastically the number of comparisons needed to
12344         parse a large document
12345
12346 2002-05-29  André Pönitz <poenitz@gmx.net>
12347
12348         * text.C:
12349         * text2.C:
12350         * lyxtextclass.C:
12351         * sp_pspell.h:
12352         * textclasslist.[Ch]:
12353         * sp_ispell.h: whitespace change
12354
12355 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12356
12357         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12358         lyxaction directly now.
12359
12360 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12361
12362         * trans.C:
12363         * lyxfont.C:
12364         * lyxvc.C: remove unused headers
12365
12366 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12367
12368         * Makefile.am:
12369         * buffer.h:
12370         * undostack.h:
12371         * undostack.C:
12372         * undo_funcs.h:
12373         * undo_funcs.C: some cleanups. Use shared_ptr
12374           and a template for the undo stacks.
12375
12376 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * BufferView_pimpl.h:
12379         * BufferView_pimpl.C:
12380         * kbmap.h:
12381         * kbmap.C:
12382         * kbsequence.h:
12383         * kbsequence.C:
12384         * lyxfunc.h:
12385         * lyxfunc.C:
12386         * text2.C: use key_state/mouse_state
12387
12388 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12389
12390         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12391         and LSubstring
12392
12393         * chset.C: change include order
12394         (loadFile): use boost regex and get rid of LRegex and LSubstring
12395
12396         * Makefile.am (BOOST_LIBS): new variable
12397         (lyx_LDADD): use it
12398
12399         * LaTeX.C: change include order.
12400         (scanAuxFile): use boost regex and get rid of LRegex and
12401         LSubstring
12402         (deplog): ditto
12403
12404 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * ColorHandler.h:
12407         * ColorHandler.C:
12408         * FontInfo.h:
12409         * FontInfo.C: moved to frontends/xforms/
12410
12411         * FontLoader.h:
12412         * FontLoader.C: moved into frontends for GUIIzation
12413
12414         * Makefile.am:
12415         * lyx_gui.C:
12416         * lyxfont.C:
12417         * lyxfunc.C: changes from above
12418
12419 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12420
12421         * LColor.C: remove spurious X include
12422
12423         * BufferView_pimpl.C:
12424         * Makefile.am:
12425         * font.h:
12426         * font.C:
12427         * text.C:
12428         * text2.C: move font metrics to frontends/
12429
12430 2002-05-24  Juergen Vigna  <jug@sad.it>
12431
12432         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12433         setting the undo_cursor.
12434
12435         * ParagraphParameters.h: include local includes first.
12436
12437 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * BufferView_pimpl.C:
12440         * BufferView_pimpl.h:
12441         * Makefile.am:
12442         * WorkArea.h:
12443         * WorkArea.C:
12444         * screen.C: move WorkArea into frontends/
12445
12446         * lyxscreen.h:
12447         * screen.C:
12448         * text.C:
12449         * BufferView.C:
12450         * BufferView2.C: move LyXScreen into frontends/
12451
12452         * lyxlookup.h:
12453         * lyxlookup.C:
12454         * lyx_gui.C: move lyxlookup into frontends/xforms/
12455
12456 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * BufferView2.C:
12459         * BufferView_pimpl.C:
12460         * FontLoader.C:
12461         * LyXView.h:
12462         * LyXView.C:
12463         * Makefile.am:
12464         * WorkArea.C:
12465         * XFormsView.h:
12466         * XFormsView.C:
12467         * buffer.C:
12468         * bufferlist.C:
12469         * bufferview_funcs.C:
12470         * converter.C:
12471         * importer.C:
12472         * lyx_cb.C:
12473         * lyx_gui.C:
12474         * lyx_main.C:
12475         * lyx_find.C:
12476         * lyxfunc.C:
12477         * lyxvc.C:
12478         * minibuffer.C:
12479         * text.C:
12480         * text2.C:
12481         * trans.C:
12482         * vc-backend.C: move LyX/XFormsView into frontends/
12483
12484 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * Makefile.am:
12487         * PainterBase.C:
12488         * PainterBase.h:
12489         * Painter.C:
12490         * Painter.h:
12491         * WorkArea.C:
12492         * WorkArea.h:
12493         * screen.C:
12494         * tabular.C:
12495         * text.C:
12496         * text2.C: move Painter to frontends/
12497
12498 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * buffer.C: comment out some some code that depend upon lyx_format
12501         < 220
12502
12503         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12504         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12505
12506         * buffer.h (NO_COMPABILITY): turn off compability
12507
12508         * ColorHandler.C: include scoped_array.hpp
12509
12510         * font.C: Use more specific smart_ptr header.
12511         * Painter.C: ditto
12512         * gettext.C: ditto
12513         * ShareContainer.h: ditto
12514         * lyx_main.h: ditto
12515         * kbmap.h: ditto
12516         * FontInfo.h: ditto
12517         * BufferView_pimpl.h: ditto
12518         * ColorHandler.h: ditto
12519
12520         * kbmap.C (defkey): change call to shared_ptr::reset
12521
12522 2002-05-21  Juergen Vigna  <jug@sad.it>
12523
12524         * buffer.C (insertErtContents): fix to insert ert asis if it is
12525         non empty. Skip it completely if it contains only whitespaces.
12526
12527 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * BufferView_pimpl.C:
12530         * BufferView2.C: clear selection on paste (bug 393)
12531
12532 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12533
12534         * DepTable.C: include ctime
12535
12536 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12537
12538         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12539
12540 2002-05-14  Juergen Vigna  <jug@sad.it>
12541
12542         * text.C (breakParagraph): fixed function to honor the keepempty
12543         layout in the right maner and also to permit the right breaking
12544         algorithm on empty or non empyt keepempty paragraphs.
12545
12546         * paragraph.C (breakParagraph): we have to check also if the par
12547         is really empty (!size()) for isempty otherwise we do the wrong
12548         paragraph break.
12549
12550 2002-05-10  Juergen Vigna  <jug@sad.it>
12551
12552         * buffer.[Ch] : The following are only changes to the ert
12553         compatibility read reading old LaTeX layout and font stuff and
12554         convert it to ERTInsets.
12555
12556         * buffer.h: added isErtInset().
12557
12558         * buffer.C (struct ErtComp): add a fromlayout bool to check
12559         if we're inside a LaTeX layout.
12560         (isErtInset): new helper function.
12561         (insertErtContents): look for other ert insets before this one
12562         and insert the contents there, so that we don't have subsequent
12563         ERT insets with nothing between them. This way we create only one
12564         inset with multiple paragraphs. Also check if we don't insert only
12565         spaces ' ' as they are ignored anyway afterwards in the .tex file
12566         so if we have only spaces we will ignore this latex part in the
12567         new file.
12568         (parseSingleLyXformat2Token \\layout): better compatibility when
12569         reading layout-latex stuff.
12570         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12571         language tag.
12572         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12573         stuff after reading the inset only get the information back from
12574         the stack.
12575
12576 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12577
12578         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12579
12580         * LaTeXFeatures.C (getBabelOptions): New method.
12581
12582 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * BufferView_pimpl.C (Dispatch): work around missing argument for
12585         'layout'
12586
12587 2002-05-08  Juergen Vigna  <jug@sad.it>
12588
12589         * text.C (leftMargin): handle paragraph leftindent.
12590
12591         * paragraph.C (writeFile): write the new \\leftindent tag.
12592         (validate): handle leftindent code.
12593         (TeXEnvironment): handle paragraphleftindent code again.
12594
12595         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12596
12597         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12598         for paragrap_extra indent code and new token \\leftindent.
12599         (latexParagraphs): handle the leftindent as environment.
12600
12601         * ParameterStruct.h: added leftindent support.
12602
12603         * ParagraphParameters.C (leftIndent): added support functions for
12604         the paragraph left indent.
12605
12606         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12607         more appropriate.
12608
12609 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12610
12611         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12612         inside insetERT.
12613
12614         * text.C (computeBidiTables): No bidi in insetERT.
12615
12616         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12617         in RTL documents.
12618
12619 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12620
12621         * version.C.in: pre 5
12622
12623 2002-05-02  José Matos  <jamatos@fep.up.pt>
12624         * buffer.C (makeDocBookFile): white space changes, add newline to
12625         command styles.
12626         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12627
12628         * tabular.C (docBook): fix typo.
12629
12630 2002-05-03  Juergen Vigna  <jug@sad.it>
12631
12632         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12633         change in LyXText as we can not be sure it was not freed.
12634         (drawOneRow): remove unused code.
12635
12636         * text.C (drawInset): redo the calculation of the need_break_row as
12637         it could have a row which was already freed.
12638         (draw): look at the return value of drawInset and return false if
12639         it also returned false.
12640         (paintRowText): look at the return value of draw and return false if
12641         it also returned false.
12642
12643         * lyxtext.h: added bool return type to drawInset() and draw() so that
12644         if we have a change in the row so that the rowbreak has to be redone
12645         we abort drawing as it will be called again.
12646
12647 2002-05-02  Juergen Vigna  <jug@sad.it>
12648
12649         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12650         a change in the maintext also if we're inside an inset.
12651         (Dispatch): set the cursor again after a break line and after the
12652         screen has been updated as it could be we're in a different row.
12653
12654         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12655         to set the cursor behind the pargraph with > size().
12656         (setCursor): check also for the same paragraph when checking where
12657         to put the cursor if we have a NFR inset.
12658
12659         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12660         parts of layout read further up as it still was in the wrong
12661         position.
12662
12663 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * screen.C (drawFromTo): change sine fullRebreak always return
12666         true.
12667
12668         * buffer.C (parseSingleLyXformat2Token): reindent some
12669
12670         * BufferView_pimpl.C (update): change since fullRebreak always
12671         return true.
12672         (Dispatch): git rid of the last hardcoded "Standard"s.
12673
12674 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * text2.[Ch] (fullRebreak): make it return void now that we always
12677         returned true.
12678
12679 2002-04-30  Juergen Vigna  <jug@sad.it>
12680
12681         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12682         ert compatibility check for "latex" layout.
12683
12684 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12685
12686         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12687         minipages: use col% instead of p%, and also use the current font.
12688         (makeLaTeXFile): Fix use babel condition.
12689         (parseSingleLyXformat2Token): Correct font when reading old floats.
12690
12691 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12694         inserting list of floats.
12695
12696 2002-04-25  Herbert Voss  <voss@lyx.org>
12697
12698         * MenuBackend.C (expand): don't add the graphics extensions to the
12699         export menu
12700
12701 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12702
12703         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12704         non-existing layout, do not complain if it was the default layout
12705         of the original class (bug #342)
12706
12707 2002-04-24  Juergen Vigna  <jug@sad.it>
12708
12709         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12710         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12711
12712 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         * buffer.C (getBibkeyList): If using \bibliography, return the
12715         option field with the reference itself. Enables us to provide natbib
12716         support when using \bibliography.
12717
12718 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12719
12720         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12721
12722         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12723         natbib is provided by the LaTeX class.
12724
12725 2002-04-23  Juergen Vigna  <jug@sad.it>
12726
12727         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12728         Wakeup functions.
12729
12730         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12731
12732 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12733
12734         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12735
12736         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12737         ensuremath around textordmasculine, textordfeminine and
12738         textdegree.
12739
12740 2002-04-19  Juergen Vigna  <jug@sad.it>
12741
12742         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12743         reinitializing the buffer otherwise row-dimensions may be wrong.
12744         (update): reset also the selection cursors if they do exits otherwise
12745         their x/y positions may be wrong.
12746
12747         * text2.C (cursorDown): don't enter the inset if we came from a row
12748         above and are one row over the inset.
12749
12750         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12751         really leaving an inset.
12752
12753 2002-04-18  Juergen Vigna  <jug@sad.it>
12754
12755         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12756         of the selected paragraph does not have the selected layout also if
12757         the last one had!
12758
12759         * text2.C (setLayout): fixed bug which did not change last selected
12760         paragraph.
12761
12762         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12763         changed the read and substituted \\end_float with \\end_inset!
12764
12765         * BufferView_pimpl.C (cursorPrevious):
12766         (cursorNext): fixed to make it work with rows heigher than the work
12767         area without moving the cursor only the draw of the row.
12768         (workAreaMotionNotify): fix jumping over high rows.
12769
12770 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12773         Ressler.
12774
12775 2002-04-16  Juergen Vigna  <jug@sad.it>
12776
12777         * text2.C (setCursor): set also the irow().
12778         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12779         (cursorUp):
12780         (cursorDown): support for locking an inset if the x_fix value goes
12781         inside it. That way I can transverse insets too with cursor up/down.
12782
12783         * lyxrow.h: added irow helper function same as other (i) functions.
12784
12785         * BufferView_pimpl.C (cursorPrevious):
12786         (cursorNext): fixed for insets!
12787
12788 2002-04-15  Juergen Vigna  <jug@sad.it>
12789
12790         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12791         position otherwise it is wrong in some cases.
12792
12793         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12794         inside the inset before the call.
12795
12796 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12797
12798         * buffer.[Ch] (getBibkeyList): make it const.
12799
12800 2002-04-12  Juergen Vigna  <jug@sad.it>
12801
12802         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12803
12804         * text2.C (getCursorX): new helper function
12805         (setCursor): compute also ix_
12806         (setCursorFromCoordinates): set also ix.
12807
12808         * lyxcursor.h: added ix_ and helper functions.
12809
12810         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12811
12812         * buffer.C (insertStringAsLines): dont break paragraph if the this
12813         paragraph is inside an inset which does not permit it!
12814
12815         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12816         also with no chars on this paragraph.
12817         (paintRowText): only paint stuff if it's inside the workarea!
12818
12819         * paragraph.C (breakParagraph): honor keepempty flag and break the
12820         paragraph always below not above.
12821
12822         * BufferView2.C (unlockInset): update the paragraph layout on inset
12823         unlock as we changed paragraph in such a case.
12824
12825         * lyxfind.C (LyXFind): clear the former selection if not found!
12826
12827         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12828         again called in insertChar().
12829
12830         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12831         an inset which uses the whole row!
12832         (rightMargin): ditto.
12833         (insertChar): force a rebreak if we inserted an inset!
12834
12835 2002-03-28  Herbert Voss  <voss@lyx.org>
12836
12837         * lyxlength.[Ch]: add inBP() to get the right PS-point
12838         units (BigPoint). With inPixels we have rounding errors
12839
12840 2002-04-11  Juergen Vigna  <jug@sad.it>
12841
12842         * text2.C (setCursorFromCoordinates): set iy to the right value.
12843         (setCursor): add check if row->previous exists!
12844
12845         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12846         an old float_type as this was the case in the old code!
12847
12848         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12849
12850         * BufferView2.C (showLockedInsetCursor): use iy
12851         (fitLockedInsetCursor): ditto
12852
12853         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12854         locked insets as there we have the right value now.
12855
12856         * lyxcursor.C: added iy_ variable and iy functions to set to the
12857         baseline of cursor-y of the locked inset.
12858
12859         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12860         (setCursor): fixed for insets which need a full row.
12861
12862         * text.C (rowLastPrintable): don't ignore the last space when before
12863         an inset which needs a full row.
12864         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12865         as last character of a row when before a inset which needs a full row.
12866
12867 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * version.C.in: update date
12870
12871         * text2.C (fullRebreak): try to always return true and see what
12872         happens...
12873
12874 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12875
12876         * MenuBackend.C (expand): use Floating::listName
12877
12878         * FloatList.C (FloatList): add listName argument to the built-in
12879         floats
12880
12881         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12882         text associated with the float.
12883
12884 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12885
12886         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12887
12888 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * ShareContainer.h: add a couple of missing typenames.
12891
12892 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12893
12894         * lyxrc.C (getDescription): use _() correctly rather than N_().
12895
12896 2002-03-28  Herbert Voss  <voss@lyx.org>
12897
12898         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12899         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12900
12901 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12902
12903         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12904         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12905
12906 2002-03-29  Juergen Vigna  <jug@sad.it>
12907
12908         * lyxfunc.C (dispatch): add a missing fitCursor call.
12909
12910         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12911         it was scrolled by a cursor move, so return the bool status.
12912
12913         * BufferView.C (fitCursor): return the bool flag also to the outside
12914         world as this is needed.
12915
12916         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12917
12918         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12919         call the edit() as it is not needed (and wrong) IMO.
12920         (workAreaButtonPress): set the screen_first variable before evt.
12921         unlock the inset as this may change screen_first and then we have
12922         a wrong y position for the click!
12923
12924 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12925
12926         * MenuBackend.C (expand): another translation that I missed
12927
12928 2002-03-28  Juergen Vigna  <jug@sad.it>
12929
12930         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12931
12932         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12933
12934 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12935
12936         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12937
12938         * MenuBackend.C (expand): fix export/view/update when there is no
12939         document open.
12940
12941 2002-03-27  Herbert Voss  <voss@lyx.org>
12942
12943         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12944         and text%
12945
12946 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12947
12948         * bufferview_funcs.C (currentState): only show paragraph number
12949         for is DEVEL_VERSION is set.
12950
12951         * lyxfunc.C (dispatch): put warning in INFO channel
12952
12953         * MenuBackend.C (expand): translate the name of floats
12954
12955         * FloatList.C (FloatList): mark the float names for translation
12956
12957         * converter.C (convert): use LibScriptSearch
12958
12959 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12960
12961         * MenuBackend.C (defaults): fix default menu (we might as well get
12962         rid of it...)
12963
12964 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12967         directory.
12968
12969 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * lyxvc.C: reorder includes.
12972
12973 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12974
12975         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12976           properly
12977
12978 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12979
12980         * CutAndPaste.C: change layouts earlier on paste
12981           to avoid crashing when calling getFont()
12982
12983 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12984
12985         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12986         irritating #error.
12987
12988 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12989
12990         * WorkArea.C: remove 'Pending' debug message.
12991
12992         * most files: ws cleanup
12993
12994         * buffer.[Ch]: ws changes
12995
12996         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12997
12998 2002-03-21  Juergen Vigna  <jug@sad.it>
12999
13000         * tabular.C (SetMultiColumn): collapse also the contents of the
13001         cells and set the last border right. Added a Buffer const * param.
13002
13003 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13004
13005         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13006         linking or not.
13007
13008 2002-03-19  Juergen Vigna  <jug@sad.it>
13009
13010         * text2.C (clearSelection): reset also xsel_cache.
13011
13012         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13013         where it needs to be called (John tells us to do so too :)
13014         (selectionLost): reset sel_cache.
13015
13016         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13017
13018 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13019
13020         * text2.C (setCursorIntern): put debuging code in INSETS channel
13021
13022 2002-03-19  André Pönitz <poenitz@gmx.net>
13023
13024         * lyxfunc.C: tiny whitespace change
13025
13026 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13027
13028         * ToolbarDefaults.C (init):
13029         * LyXAction.C (init):
13030         * commandtags.h:
13031         * BufferView_pimpl.C (Dispatch):
13032         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13033
13034 2002-03-19  Allan Rae  <rae@lyx.org>
13035
13036         * exporter.C (Export): removeAutoInsets before doing anything else.
13037         While I've just introduced a dependency on BufferView this really is
13038         the best place to clean the buffer otherwise you need to cleanup in
13039         a dozen places before calling export or cleanup in a dozen functions
13040         that export calls.
13041
13042         * converter.C (runLaTeX):
13043         (scanLog): Better handling of removeAutoInsets and screen updates.
13044
13045         * lyxfunc.C (dispatch): small whitespace changes
13046
13047 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13048
13049         * WorkArea.C (C_WorkAreaEvent): return a value.
13050         (event_cb): return 1 if we handled the event, 0 otherwise.
13051
13052         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13053
13054 2002-03-18  Juergen Vigna  <jug@sad.it>
13055
13056         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13057         (GetAdditionalWidth): ditto.
13058         (RightLine): ditto.
13059         (LeftLine): ditto.
13060
13061         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13062         inset if we're there actually (probably not used right now but this
13063         is the direction to go for unifying code).
13064         (paste): disable code to clear the selection.
13065
13066         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13067         inside an InsetText and move the check further up as it is in the
13068         wrong place.
13069
13070         * text2.C (pasteSelection): set a selection over the pasted text.
13071
13072 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13073
13074         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13075         and libgraphics to build on Cygwin.
13076
13077 2002-03-15  Juergen Vigna  <jug@sad.it>
13078
13079         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13080         inserting an Inset into the paragraph. I know this is not the best
13081         fix but we already use current_view in CutAndPaste so we will remove
13082         all of it's using at the same time.
13083
13084         * buffer.C (sgmlError): deactivated function till it is rewritten in
13085         the right mode, now it can create problems.
13086
13087         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13088         before accessing it.
13089
13090 2002-03-14  Juergen Vigna  <jug@sad.it>
13091
13092         * undo_funcs.C (textHandleUndo): do the right thing when updating
13093         the inset after the undo/redo.
13094
13095         * text2.C (setCursor): just some testcode for #44 not ready yet.
13096
13097         * undo_funcs.C (textHandleUndo): set the next() and previous()
13098         pointers of the paragraph to 0 before deleting otherwise we have
13099         problems with the Paragraph::[destructor].
13100
13101         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13102         on a paragraph insertion.
13103
13104 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * buffer.C (asciiParagraph): use += operator for char append to
13107         string.
13108
13109         * paragraph.C (getFontSettings): compare >= not just >
13110         (highestFontInRange): ditto
13111         (setFont): ditto
13112
13113 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * paragraph.C: change several algorithm to be more appripriate for
13116         the problem domain. This is lookip in FontList and in the InsetList.
13117
13118 2002-03-13  André Pönitz <poenitz@gmx.net>
13119
13120         * commandtags.h:
13121         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13122
13123 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13124
13125         * commandtags.h:
13126         * LyXAction.C:
13127         * lyxfunc.C:
13128         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13129
13130 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * Painter.C (display): anon helper function, adjust code for this
13133         change.
13134         (pixmap): remove function.
13135
13136         * Painter.h: remove private display variable.
13137
13138         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13139
13140 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * WorkArea.[Ch]: remove figinset_canvas cruft.
13143
13144 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * lyxtextclass.C (operator): add one item cache optimization.
13147
13148         * bufferlist.h: doxy changes
13149
13150         * bufferlist.C: ws changes
13151
13152         * DepTable.[Ch] (ext_exist): place const in the right spot.
13153
13154         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13155         call resizeInsets.
13156         (workAreaExpose): call resizeInsets when the with BufferView changes.
13157         (Dispatch): adjust for protectedBlank removal
13158         (specialChar): call updateInset if the insert went ok.
13159
13160         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13161         specialChar instead.
13162
13163         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13164
13165         * BufferView.h: doxy change
13166
13167         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13168
13169         * lyxtextclass.C (operator[]): remove non-const version
13170         (defaultLayout): remove non-const version
13171
13172 2002-03-12  Juergen Vigna  <jug@sad.it>
13173
13174         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13175         did resize the LyXText too.
13176
13177         * buffer.C (readLyXformat2): set layout information on newly allocated
13178         paragraphs.
13179
13180         * tabular.C (OldFormatRead): set layout information on the paragraph.
13181
13182 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13183
13184         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13185
13186 2002-03-11  Juergen Vigna  <jug@sad.it>
13187
13188         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13189         plainly wrong.
13190         (resizeCurrentBuffer): force also the insets to resize themselfes.
13191         (moveCursorUpdate): fixed up for InsetText.
13192
13193 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13194
13195         * commandtags.h:
13196         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13197         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13198         value of Dialogs::tooltipsEnabled().
13199         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13200
13201 2002-03-08  Juergen Vigna  <jug@sad.it>
13202
13203         * BufferView_pimpl.C (updateInset): update inset inside inset also
13204         if it isn't inside theLockingInset().
13205
13206 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13207
13208         * buffer.C (asciiParagraph): redo some of the word and line length
13209         handling.
13210         (getLists): look for Caption instead of caption.
13211
13212 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13213
13214         * buffer.C (Buffer): initialize niceFile to true
13215         (makeLaTeXFile):
13216         (makeLinuxDocFile):
13217         (makeDocBookFile): make sure niceFile is true on exit
13218
13219 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13220
13221         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13222
13223 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13224
13225         * LyXSendto.C: remove.
13226         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13227         * lyx_gui.C: remove now-redundant comment.
13228         * ColorHandler.h: remove forward declaration of class WorkArea.
13229         * lyxfunc.C: remove #include "WorkArea.h".
13230
13231 2002-03-07  Juergen Vigna  <jug@sad.it>
13232
13233         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13234         got moved away with the DEPM and also set the inset_owner always
13235         right which before could have been omitted.
13236
13237 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13238
13239         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13240         wanted layout is not found.
13241
13242 2002-03-07  Juergen Vigna  <jug@sad.it>
13243
13244         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13245
13246 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13247
13248         * paragraph.C (breakParagraph): use default layout not layout of
13249         prev paragraph.
13250         (Paragraph): clear ParagraphParameters.
13251
13252 2002-03-06  Juergen Vigna  <jug@sad.it>
13253
13254         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13255         otherwise it would not be a valid lenght. Fixed a special case in
13256         the minipage compatibility read where we end the document with a
13257         minipage.
13258
13259         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13260         was set as it could be 0 for InsetTexts first entry.
13261
13262 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13263
13264         * paragraph.C (writeFile): if layout is empty write out
13265         defaultLayoutName().
13266
13267         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13268         file without named layout we set layout to defaultLayoutName().
13269
13270 2002-03-06  Juergen Vigna  <jug@sad.it>
13271
13272         * CutAndPaste.C (copySelection): set layout for new paragraph.
13273
13274         * text.C (prepareToPrint): leave ERT inset left aligned
13275         (leftMargin): don't indent paragraphs inside ERT insets
13276
13277 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13278
13279         * paragraph.C (breakParagraph): dont call clear do the work manually
13280
13281         * paragraph.[Ch] (clear): remove function
13282
13283 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * paragraph.C (Paragraph): dont call clear, the work has already
13286         been done.
13287
13288         * lyxtextclass.C (operator): assert if n is empty
13289
13290         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13291         work manually instead.
13292
13293 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13294
13295         * BufferView_pimpl.C: protect selectionLost against text == 0
13296
13297 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13298
13299         * text.C (breakParagraph): fix a setting layout to '0' problem.
13300
13301 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13302
13303         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13304         final location of file, for the included files, and graphics.
13305
13306 2002-03-05  Juergen Vigna  <jug@sad.it>
13307
13308         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13309
13310 2002-03-04  Juergen Vigna  <jug@sad.it>
13311
13312         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13313
13314         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13315         last column of multicolumn cells.
13316         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13317
13318 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13319
13320         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13321         file if it doesn't go to a temporary file.
13322
13323         * buffer.C (sgmlOpenTag):
13324         (sgmlCloseTag):  remove extra newline insertion.
13325
13326 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13327
13328         * text.C (getRowNearY): comment out debug msg
13329
13330 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * text2.C: first -> first_y
13333
13334         * text.C (getRowNearY): add some attemts at a possible
13335         optimization, not working.
13336
13337         * tabular.[Ch]: add BufferParams to several function so that newly
13338         created paragraph can be initialized to he default layotu for the
13339         buffers textclass.
13340
13341         * tabular-old.C (ReadOld): add buf->params to call of Init
13342
13343         * screen.C: rename text->first to text->first_y
13344
13345         * paragraph.C (breakParagraph): always set layout in the broken
13346         paragraph
13347
13348         * lyxtextclass.C (Read): remove lowercase
13349         (hasLayout): ditto
13350         (operator): ditto
13351         (delete_layout): ditto
13352
13353         * lyxtext.h: rename first -> first_y
13354
13355         * lyxlayout.C (Read): remove lowercase
13356         (name): ditto
13357         (setName): ditto
13358         (obsoleted_by): ditto
13359
13360         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13361
13362         * buffer.C (insertErtContents): add params are to InsetERT
13363         (parseSingleLyXformat2Token): add code to check if a paragraphs
13364         layout really exist.
13365         (parseSingleLyXformat2Token): add params to several inset
13366         constructors
13367         (asciiParagraph): remove lowercase, do the layout comparisons with
13368         no_case
13369
13370         * BufferView_pimpl.C (cursorNext): first -> first_y
13371         (resizeCurrentBuffer): first -> first_y
13372         (updateScrollbar): first -> first_y
13373         (scrollCB): first -> first_y
13374         (workAreaMotionNotify): first -> first_y
13375         (workAreaButtonPress): first -> first_y
13376         (checkInsetHit): first -> first_y
13377         (cursorPrevious): first -> first_y
13378         (cursorNext): first -> first_y
13379         (Dispatch): add buffer_->params to severl inset contructors
13380
13381 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * lyxlayout.C (Read): remove some debug info that I forgot.
13384
13385         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13386         clean up the code slightly.
13387         (makeLinuxDocFile): ditto
13388         (makeDocBookFile): ditto
13389
13390         * text2.C: layout as string
13391
13392         * text.C: layout as string
13393
13394         * paragraph_pimpl.C: layout as string
13395
13396         * paragraph.[Ch]: layout as string
13397
13398         * lyxtextclasslist.[Ch]: layout as string
13399
13400         * lyxtextclass.[Ch]: layout as string
13401
13402         * lyxtext.h: layout as string
13403
13404         * lyxlayout.[Ch]: layout as string
13405
13406         * lyx_cb.C: layout as string
13407
13408         * bufferview_funcs.C: layout as string
13409
13410         * bufferparams.C: layout as string
13411
13412         * buffer.C: layout as string
13413
13414         * LyXView.[Ch]: layout as string
13415
13416         * LaTeXFeatures.[Ch]: layout as string
13417
13418         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13419
13420         * BufferView_pimpl.C: change current_layout to string, remove
13421         lyx::layout_type.
13422         (Dispatch):
13423         (smartQuote):
13424         (insertInset):
13425         (workAreaButtonRelease): layout as string
13426
13427         * BufferView2.C (unlockInset): adjust
13428
13429         * vspace.C (asLatexCommand): use an explict temp variable.
13430
13431 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13432
13433         * Makefile.am: use FRONTEND_*
13434
13435 2002-03-01  Juergen Vigna  <jug@sad.it>
13436
13437         * tabular.C (SetWidthOfMulticolCell): changed to something better
13438         I hope but still work in progress.
13439         (recalculateMulticolumnsOfColumn): renamed function from
13440         recalculateMulticolCells as it is more appropriate now.
13441         (SetWidthOfCell): calculate multicols better.
13442
13443 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13444
13445         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13446
13447         * lyxfunc.C (processKeySym): print sequence also if it is
13448         `deleted' (complete)
13449
13450         * kbsequence.C (print): print sequence even if it is deleted
13451         (complete would be a better word, actually).
13452
13453         * lyxfunc.C (dispatch): print complete options after a prefix key
13454
13455         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13456
13457 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13458
13459         * text2.C (setCharFont): eliminate setCharFont code duplication.
13460
13461 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13462
13463         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13464         LFUN_TABULAR_FEATURE (bug #177)
13465
13466 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13467
13468         * Makefile.am: remove figure.h
13469
13470 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13471
13472         * Bufferview_pimpl.C:
13473         * CutAndPasteC:
13474         * LaTeX.C:
13475         * LyXSendto.C:
13476         * buffer.C:
13477         * bufferlist.C:
13478         * converter.C:
13479         * language.C:
13480         * lyxfunc.C:
13481         * lyxvc.C:
13482         * paragraph.C:
13483         * text.C:
13484         * text2.C: remove #include "lyx_gui_misc.h".
13485
13486         * LaTeX.C: added #include <cstdio>
13487
13488 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13489
13490         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13491         that the paragraph following this one can have.
13492
13493         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13494
13495         * vspace.C (asLatexCommand): fix bogus gcc warning
13496
13497         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13498
13499 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13500
13501         * text2.C (setLayout): get rid of redundant code
13502
13503 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13504
13505         * text2.C (incDepth): make sure depth cannot be increased beyond
13506         reasonable values.
13507
13508 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13509
13510         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13511         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13512
13513         * PainterBase.h (image):
13514         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13515         a LyXImage const *.
13516
13517 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * BufferView.C:
13520         * BufferView.h:
13521         * BufferView_pimpl.C:
13522         * BufferView_pimpl.h:
13523         * LaTeXFeatures.C:
13524         * LyXAction.C:
13525         * LyXView.C:
13526         * Makefile.am:
13527         * UpdateList.h:
13528         * UpdateList.C:
13529         * buffer.C:
13530         * figure.h:
13531         * figureForm.C:
13532         * figureForm.h:
13533         * figure_form.C:
13534         * figure_form.h:
13535         * lyx_cb.C:
13536         * lyx_gui.C:
13537         * lyx_gui_misc.C:
13538         * lyxfunc.C:
13539         * sp_base.h:
13540         * sp_ispell.h:
13541         * sp_pspell.h:
13542         * sp_spell.C: remove fig inset, and the crap house of
13543           cards that follows it
13544
13545 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * Makefile.am:
13548         * lyxserver.C:
13549         * os2_defines.h:
13550         * os2_errortable.h:
13551         * nt_defines.h: move .h into support/
13552
13553         * vms_defines.h: remove
13554
13555         * WorkArea.C: add space in debug output
13556
13557         * text2.C:
13558         * paragraph.C:
13559         * buffer.C: add WITH_WARNINGS
13560
13561         * vc-backend.h:
13562         * vc-backend.C:
13563         * bufferlist.C: s/retrive/retrieve/, add docs
13564
13565         * vspace.h:
13566         * vspace.C:
13567         * kbmap.h:
13568         * lyxlength.h:
13569         * lyxgluelength.h:
13570         * length_common.h:
13571         * chset.h:
13572         * chset.C: add docs
13573
13574         * lyxgui.C: add ID to X error handler
13575
13576         * lyxtestclass.c: fix typo
13577
13578 2002-02-26  Juergen Vigna  <jug@sad.it>
13579
13580         * tabular_funcs.C (write_attribute): changed so that some default
13581         attributes are not written at all.
13582         (getTokenValue): set default values before trying to read the
13583         value so we have the return value always set as default if we don't
13584         find the token we search for.
13585
13586         * tabular.C (Write): write bools as bools not as strings!
13587
13588 2002-02-22  Juergen Vigna  <jug@sad.it>
13589
13590         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13591         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13592
13593         * text.C (leftMargin): don't add an indent for paragraphs inside
13594         tabular cells (fix #208).
13595
13596 2002-02-21  José Matos  <jamatos@fep.up.pt>
13597
13598         * tabular.C (docBook): fixed support for long tables.
13599
13600 2002-02-20  Juergen Vigna  <jug@sad.it>
13601
13602         * text2.C (getFont): get the drawing font of the Inset if this
13603         paragraph is inside an inset (only important for InsetERT for now).
13604
13605         * buffer.C (insertErtContents): use new lanugage params in ERT
13606         constructor.
13607
13608         * CutAndPaste.C: commenting out seemingly uneeded code.
13609
13610 2002-02-19  Allan Rae  <rae@lyx.org>
13611
13612         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13613         Iterators might be simple to use but they also get invalidated.
13614         (removeAutoInsets): renamed saved cursor tracking variables and added
13615         some comments to clarify what everything does.
13616
13617 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13618
13619         * Chktex.C:
13620         * LaTeX.C:
13621         * LyXSendto.C:
13622         * converter.C:
13623         * lyx_cb.C:
13624         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13625         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13626
13627         * lyxfunc.C:
13628         * vc-backend.h: remove #include "support/syscall.h"
13629
13630         * LaTeX.C:
13631         * LyXSendto.C:
13632         * converter.C: rearrange #includes in Lars' approved fashion.
13633
13634         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13635         forward declare class Timeout in the header file.
13636
13637         * XFormsView.C: changes due to the above.
13638
13639         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13640         similar to LyXView.
13641
13642         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13643         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13644
13645 2002-02-18  José Matos  <jamatos@fep.up.pt>
13646
13647         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13648         insets contents.
13649
13650 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13651
13652         * a lot of small ws changes
13653         * add a lot of using std::XXX
13654         * use std construcs some places where approp.
13655         * use some exisint stuff from lyxfunctional where approp.
13656         * Make file changes to use partial linking (lets test this now...)
13657
13658 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13659
13660         * Chktex.C:
13661         * buffer.C:
13662         remove #include "support/syscontr.h" as it's redundant. Always has been.
13663
13664         * Chktex.C:
13665         * LaTeX.C:
13666         * LyXSendto.C:
13667         * converter.C:
13668         * lyx_cb.C:
13669         * vc-backend.C:
13670         change Systemcalls::System to Systemcalls::Wait and
13671         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13672         No change of functionality, just reflects the stripped down Systemcalls
13673         class.
13674
13675 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13676
13677         * debug.[Ch]: add a GRAPHICS type to the enum.
13678
13679 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13680
13681         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13682
13683         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13684         there is an inset.
13685
13686 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13687
13688         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13689         match the changes below.
13690
13691         * text2.C (toggleInset): if there is not editable inset at cursor
13692         position, try to see if cursor is _inside_ a collapsable inset
13693         and close it.
13694
13695 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13696
13697         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13698         document menu has a nice checkbox
13699
13700 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13701
13702         * lyxlength.C (asLatexString): change PW to output as percent of
13703         \textwidth.
13704
13705         * lengthcommon.C: change '%' to 't%'
13706
13707         * lyxfunc.C (dispatch): a few comments from Martin
13708
13709 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13710
13711         * WorkArea.h:
13712         * WorkArea.C:
13713         * BufferView_pimpl.h:
13714         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13715           the X selection.
13716
13717 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13718
13719         * vspace.C (inPixels): fix compiler warning
13720
13721 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13722
13723         * lyxfunc.C (getStatus): fix status message for disabled commands.
13724
13725 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13726
13727         * BufferView_pimpl.C: fix crash on close buffer
13728         during selection (#227)
13729
13730 2002-01-27  Herbert Voss  <voss@lyx.org>
13731
13732         * buffer.C: link old Figure to new graphic inset
13733
13734 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13735
13736         * FontLoader.C (getFontinfo): Change the latex font names in order
13737         to match the names of type1inst.
13738
13739 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13740
13741         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13742
13743         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13744         (extchanged): ditto
13745         (ext_exist): ditto
13746         (remove_files_with_extension): ditto
13747         (remove_file): ditto
13748         (write): ditto
13749
13750         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13751         document is smaller than the work area height. Do not initialize
13752         static variables to 0.
13753
13754 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13755
13756         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13757
13758         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13759         LFUN_LAYOUT_PARAGRAPHS.
13760
13761         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13762         tabular. It is possible to provide a possible cell, which will
13763         typically be the actcell from the corresponding insettabular
13764
13765         * lyxfunc.C (getStatus): small cleanup; disable
13766         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13767         true
13768
13769 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13770
13771         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13772
13773         * paragraph.C (startTeXParParams):
13774         (endTeXParParams): new methods. The LaTeX code to
13775         start/end paragraph formatting
13776         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13777         empty (fixes bug #200)
13778
13779         * vspace.C (inPixels): adapt to the change below
13780         (inPixels): [later] more cleanups (remove unused variables)
13781
13782         * lyxlength.C (inPixels): change to use a width and a height as
13783         parameter.
13784
13785 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13786
13787         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13788         Replaced with \paperwidth
13789
13790         * DepTable.C (insert): add std:: qualifier
13791
13792 2002-01-18  Allan Rae  <rae@lyx.org>
13793
13794         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13795         updated also?
13796
13797         * text.C (drawInset): Turned out I didn't know enough about how
13798         rebreaking worked.  This fixes most of the redraw problems.  I see
13799         an occasional cursor trail when a line is broken now and the cursor
13800         placement can seem out by a few pixels also after a rebreak.
13801
13802 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13803
13804         * buffer.C (parseSingleLyXformat2Token): update because minipage
13805         width is now a LyXLength
13806
13807         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13808
13809         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13810         math insets
13811
13812 2002-01-17  Juergen Vigna  <jug@sad.it>
13813
13814         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13815
13816         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13817         is set correctly and the inset is updated correctly.
13818
13819 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13820
13821         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13822         the beginning of the loop.
13823
13824 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13825
13826         * lyxrc.C: improve help for use_scalable_fonts
13827
13828 2002-01-17  Allan Rae  <rae@lyx.org>
13829
13830         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13831
13832 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13833
13834         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13835         make sure to set their inset_owner to the right value (bug #171)
13836
13837 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13838
13839         * DepTable.h
13840         * DepTable.C: Implement mtime checking to reduce time spent doing
13841         CRCs.
13842
13843 2002-01-16  Juergen Vigna  <jug@sad.it>
13844
13845         * tabular.C (GetAdditionalHeight): one of error fixed.
13846
13847         * lyxrc.C (output): small fix in writing use_pspell.
13848
13849 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13850
13851         * sp_base.h: #include LString.h
13852
13853 2002-01-16  Allan Rae  <rae@lyx.org>
13854
13855         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13856         Can someone check this please?
13857
13858         * text.C (drawInset): It was possible that p.row would be removed by
13859         breakAgainOneRow upsetting a few other settings.  There may be another
13860         small tweak possible by setting need_break_row = 0 when p.row has been
13861         removed but I don't know enough about the logic here.
13862
13863 2002-01-15  Allan Rae  <rae@lyx.org>
13864
13865         * text.C (insertChar): removed conditional truism.
13866
13867         * BufferView2.C (removeAutoInsets): More tweaks.
13868         cur_par_prev could be a stray pointer.  Check for trailing empty line
13869         in case last line was cur_par and only had an error inset on it.
13870
13871 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13872
13873         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13874         absolute
13875
13876         * vc-backend.C (most methods):
13877         * exporter.C (Export):
13878         * converter.C (convert):
13879         (runLaTeX):
13880         * LyXSendto.C (SendtoApplyCB):
13881         * lyxfunc.C (dispatch):
13882         (menuNew):
13883         (open):
13884         (doImport):
13885         * lyx_cb.C (AutoSave):
13886         (InsertAsciiFile):
13887         * BufferView_pimpl.C (MenuInsertLyXFile):
13888         * buffer.C (runChktex): use Buffer::filePath().
13889
13890         * buffer.h: rename filename to filename_; rename filepath to
13891         filepath_ and make it private
13892         (filePath): new method
13893
13894         * buffer.C (writeFile): use fileName()
13895         (getLatexName):
13896
13897         * lyx_main.C (init): fix starting  of LyX when the binary is a
13898         link from so,ewhere else.
13899
13900         * minibuffer.C: include <cctype> for isprint
13901
13902 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13903
13904         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13905         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13906         name clash with InsetCollapsable's width function.
13907
13908 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13909
13910         * lastfiles.C: include <iterator>
13911
13912 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13913
13914         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13915         std::count.
13916
13917         * buffer.C (makeLaTeXFile): ditto.
13918         Also make loop operation more transparent.
13919
13920 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13921
13922         * ToolbarDefaults.C: remove trailing comma closing namespace.
13923
13924         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13925
13926         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13927         as in WorkArea.
13928
13929         * trans.C (Load): comment out unused variable, allowed.
13930
13931 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13932
13933         * minibuffer.[Ch] (append_char): new method to recieve input from the
13934         drop-down completion browser. If a key was pressed, then recieve this
13935         char and append it to the existing string.
13936         (peek_event): modify the positioning data passed to the completion
13937         browser so that it can be placed above the minibuffer rather than below.
13938 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * LyXAction.C (init): alloe error-next for readonly documents.
13941
13942         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13943         count.
13944
13945 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13946
13947         * bufferlist.C (readFile): create the buffer _after_ checking that
13948         the file exists.
13949
13950         * lyxfunc.C (verboseDispatch): fix handling of arguments
13951
13952         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13953
13954         * lyxrc.C: use string::erase() instead of initializing to "".
13955
13956
13957 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13958
13959         * BufferView_pimpl.h:
13960         * BufferView_pimpl.C:
13961         * WorkArea.h:
13962         * WorkArea.C:
13963         * text2.C: tell X when we have made a selection for copying
13964
13965 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13966
13967         * BufferView_pimpl.C (MenuInsertLyXFile):
13968         * lyxfunc.C (menuNew):
13969         (open):
13970         (doImport): add shortcuts to directory buttons
13971
13972         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13973         open a float)
13974
13975         * lyxfunc.C (setStatusMessage):
13976         (getStatusMessage): new methods
13977         (getStatus):use setStatusMessage instead of setErrorMessage
13978         (dispatch): when function is disabled, set error message here
13979         [instead of in getStatus previously]
13980
13981         * BufferView_pimpl.C (workAreaButtonRelease): update
13982         toolbar/menubar here too.
13983
13984 2002-01-13  Allan Rae  <rae@lyx.org>
13985
13986         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13987         Now seems indestructible.  Remaining task is to audit all other
13988         code affected by deleteEmptyParagraphMechanism.  One small quirk
13989         left is that an empty document with an error in the preamble can
13990         be made to report an error but no error box appears.  I don't know
13991         where it goes.
13992         (removeAutoInsets): Improved comments.
13993
13994 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13995
13996         * Thesaurus.h:
13997         * Thesaurus.C: update for Aiksaurus 0.14
13998
13999 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14000
14001         * text2.C (firstParagraph): removed member function, all uses
14002         replaces with ownerParagraph
14003         (redoParagraphs): here
14004         (updateInset): here
14005         (toggleAppendix): here
14006         * BufferView2.C (insertErrors): here
14007         (setCursorFromRow): here
14008
14009 2002-01-13  Allan Rae  <rae@lyx.org>
14010
14011         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14012         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14013         There is still a way to segfault this although you may have to do this
14014         multiple times: Have an InsetERT with an unknown command in it.
14015         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14016         <down-arrow>, <Enter> again, View->DVI, BANG!
14017
14018         * text2.C (setCursor):
14019         (deleteEmptyParagraphMechanism):
14020         * lyxtext.h (setCursor):
14021         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14022         Making use of the return value may help fix other bugs.
14023
14024 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14027
14028         * LyXView.C (updateMenubar): call MenuBar::update here
14029         (updateToolbar): but not here
14030         (showState): do not update toolbar/menubar
14031
14032         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14033         should need to care about that.
14034
14035         * lyxfunc.C (verboseDispatch): simplify a bit
14036         (getStatus): have a version which takes a pseudoaction, and
14037         another which requires a (kb_action,string).
14038
14039         * LyXAction.C (retrieveActionArg): make it work also when action
14040         is not a pseudo-action.
14041         (getActionName): simplify a bit
14042         (helpText):
14043
14044 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14045
14046         * lyxfunc.C (verboseDispatch): new families of methods with
14047         several ways to specify a command and a bool to indicate whether
14048         the command name and shortcut should be displayed in minibuffer
14049         (eventually, we could extend that to a finer bitmask like
14050         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14051         (dispatch): the pristine dispatch command which just, well,
14052         dispatchs! Note it still sets its result to minibuffer; I'm not
14053         sure we want that.
14054
14055         * lyxfunc.h: remove setHintMessage
14056
14057         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14058
14059 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14060
14061         * BufferView_pimpl.C (specialChar): delete new inset if we have
14062         not been able to insert it.
14063
14064         * kbmap.C: revert to using int instead of kb_action, since all we
14065         are dealing with is pseudo-actions.
14066
14067         * LyXAction.C (searchActionArg): change to return int instead of
14068         kb_action, since the result is a pseudoaction.
14069
14070 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14071
14072         * buffer.C (insertErtContents): Fix (partially) the font bug.
14073
14074 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14075
14076         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14077         as the other one is broken on my machine!
14078
14079 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14080
14081         * commandtags.h:
14082         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14083
14084 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14085
14086         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14087         reflect their actual use. Provide compatibility code for older lyxrc
14088         files.
14089
14090         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14091         FL_NORMAL_STYLE.
14092         change names of popup font variables in line with the changes to lyxrc.C
14093
14094 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14095
14096         * buffer.C (asciiParagraph): avoid outputing a word twice after
14097         an inset.
14098
14099         * lyxrc.C (getDescription): document that document_path and
14100         template_path can be empty.
14101
14102 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * LaTeXFeatures.C (getMacros):
14105         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14106
14107         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14108
14109         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14110         getPackages.
14111         (getPackages): rename feature "floats" to "float". Use an array to
14112         iterate over 'simple' features (i.e. just a \usepackage). Add
14113         handling of "amsmath" (renamed from "amsstyle").
14114
14115 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14116
14117         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14118         features list.
14119
14120 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14121
14122         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14123         FuncStaus::FuncStatus & FuncStaus::some_method().
14124
14125 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14126
14127         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14128         of the func_satus stuff. Edited and massaged in various ways by
14129         JMarc.
14130
14131         * lyxfunc.C (getStatus): use FuncStatus
14132
14133 2002-01-08  Juergen Vigna  <jug@sad.it>
14134
14135         * text.C (nextBreakPoint): use function Inset::isChar().
14136
14137         * paragraph.C (TeXOnePar): use function
14138         Inset::forceDefaultParagraphs.
14139
14140         * buffer.C (latexParagraphs): use function
14141         Inset::forceDefaultParagraphs.
14142
14143 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14144
14145         * lyx_gui.C (init): set the style of the menu popups to
14146         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14147
14148 2002-01-07  Juergen Vigna  <jug@sad.it>
14149
14150         * text.C (setHeightOfRow): small fix
14151         (prepareToPrint): don't look at alignment if we don't have the place
14152         for doing it.
14153
14154 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14155
14156         * box.C: New file. Move the Box methods and functions out of box.h,
14157         following Lars' suggestion.
14158
14159 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14160
14161         * box.h: #include "support/LOstream.h", needed for inlined function.
14162
14163         * lyxtextclass.C:
14164         * lyxtextclasslist.C: added some using std declarations.
14165
14166 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * box.h: make signed dimensions to allow insets wider than
14169           the screen (bug #162)
14170
14171         * BufferView_pimpl.C: add some insetHit debug
14172
14173 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14174
14175         * vc-backend.C: add FIXME
14176
14177 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14178
14179         * lyxfunc.C (getStatus): enable code for showing math font status
14180         in toolbar/menu.
14181
14182 2002-01-07  Juergen Vigna  <jug@sad.it>
14183
14184         * text.C (nextBreakPoint): removed debug output not needed anymore.
14185
14186 2002-01-06  Juergen Vigna  <jug@sad.it>
14187
14188         * text.C (nextBreakPoint): fixed up this function we had this bug
14189         since ever but now hopefully we break row better.
14190         (insertChar): we have to check if an inset is the next char as it
14191         could now happen that a large inset is causing a break.
14192
14193 2002-01-05  Juergen Vigna  <jug@sad.it>
14194
14195         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14196         if it doesn't like to be drawed.
14197
14198 2002-01-04  Juergen Vigna  <jug@sad.it>
14199
14200         * BufferView2.C (lockInset): forgot to set a cursor.
14201
14202         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14203
14204 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14205
14206         * FormMathsPanel.C:
14207         * FormMathsPanel.h
14208         * MathsSymbols.C:
14209         * form_maths_panel.C:
14210         * form_maths_panel.h:
14211         * form_maths_panel.fd: implemented sub- and super- buttons in math
14212         panel.
14213
14214         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14215         (or ^ space) to be used as in TeX (req'd by Andr�.
14216
14217         * lyxfunc.C: Allow ^ and _ again to be used both as
14218         super/subscript (mathed) and as themselves (in text).
14219
14220 2002-01-03  Allan Rae  <rae@lyx.org>
14221
14222         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14223         "LyX" or the filename of the current buffer if it has one.  This is a
14224         modified form of John Levon's patch.
14225
14226         * XFormsView.C (setWindowTitle): also set icon title.
14227
14228         * LyXView.h (setWindowTitle): signature changed.
14229         * XFormsView.h (setWindowTitle): ditto.
14230
14231 2002-01-02  Juergen Vigna  <jug@sad.it>
14232
14233         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14234
14235 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * screen.C (topCursorVisible): introduce a temp var for
14238         text->cursor.row(), handle the case where this row is null. (kindo
14239         hachish)
14240
14241         * text2.C (setCursor): add a couple of asserts.
14242
14243         * paragraph.h (inset_iterator): add -> operator
14244
14245         * paragraph.[Ch] (autoDeleteInsets): remove member function
14246
14247         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14248         cursor pos correctly and handle inset deletion by itself.
14249         (insertErrors): move iterator declaration out of for expression
14250
14251         * lyxtextclass.C: add <algorithm>
14252
14253         * Makefile.am: added the new files to sources, removed layout.C
14254
14255         * layout.C: removed file
14256
14257         * layout.h: remove LYX_DUMMY_LAYOUT
14258
14259         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14260         layout.
14261
14262         * lyxlayout.[Ch]:
14263         * lyxtextclass.[Ch]:
14264         * lyxtextclasslist.[Ch]: new files
14265
14266         * include order changes to a lot of files, also changes because of
14267         the six new files.
14268
14269 2001-12-27  Juergen Vigna  <jug@sad.it>
14270
14271         * buffer.C (asciiParagraph): more fixes.
14272
14273         * tabular.C (ascii): make ascii export support export of only the
14274         data separated by a column-delimiter.
14275         (ascii): better support for ascii export.
14276
14277         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14278
14279 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14280
14281         * tabular_funcs.C: use a "using std::getline" instead of the
14282         previous fix from Angus (necessary for cxx + lyxstring)
14283
14284 2001-12-24  Juergen Vigna  <jug@sad.it>
14285
14286         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14287
14288         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14289         problems. First check a minipage also if we have some ert-contents
14290         (not only on par->size(), second set the right depth of the paragraph
14291         on the relink to the root-paragraph-list!
14292
14293         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14294         which then did not anymore update the main paragraphs on undo/redo!
14295
14296 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14297
14298         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14299         code. Support all font-changing funcs (even those which are not in
14300         menu currently). Support for reporting font settings in
14301         mathed (disabled until Andre provides a function on mathed's side).
14302
14303         * func_status.h (toggle): small helper function to set toggle
14304         state on a flag.
14305
14306 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14307
14308         * tabular_funcs.C: getline -> std::getline
14309
14310 2001-12-21  Juergen Vigna  <jug@sad.it>
14311
14312         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14313         accessed and could be 0 (I couldn't generate this but it seems
14314         Michael could!).
14315
14316 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14317
14318         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14319         * tabular_funcs.h: here and include iosfwd
14320
14321 2001-12-20  Juergen Vigna  <jug@sad.it>
14322
14323         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14324         inside inset but undo_par was.
14325
14326 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14327
14328         * Thesaurus.C: always include <config.h> in sources.
14329
14330         * Painter.h:
14331         * lyxlookup.h:
14332         * box.h: do not include <config.h> in header files
14333
14334         * text.C (paintLastRow): remove unused variable
14335
14336         * text.C (transformChar):
14337         (insertChar):
14338         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14339
14340         * Painter.C (text):
14341         * font.C (width): rewrite to use uppercase() instead of
14342         islower/toupper.
14343
14344         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14345
14346 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14347
14348         * lyxfind.C: clean up of find failure position change
14349
14350 2001-12-20  Juergen Vigna  <jug@sad.it>
14351
14352         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14353
14354         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14355         (TeXRow): added to LaTeX a single tabular row.
14356         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14357         (Latex): simplified and finally good LT-h/f support.
14358         (various_functions): just small adaptions for LT-h/f support.
14359
14360         * tabular_funcs.[hC]: added and moved here all not classfunctions
14361         of LyXTabular.
14362
14363 2001-12-19  Juergen Vigna  <jug@sad.it>
14364
14365         * tabular.[Ch]: better support for longtabular options (not finished
14366         yet!)
14367
14368 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14369
14370         * text.C (paintLastRow): use the label font instead of the font of
14371         the last character to compute the size of *_BOX. This makes more
14372         sense and avoids a crash with empty paragraphs.
14373         Use Painter::rectangle to draw EMPTY_BOX.
14374
14375 2001-12-19  Juergen Vigna  <jug@sad.it>
14376
14377         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14378         the paragraphs if the replaced paragraph is not the first one!
14379         Tried to delete not used paragraphs but does not work yet so for
14380         now it's inside #ifdef's and by default off!
14381
14382 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14383
14384         * MenuBackend.C: include "lyx_main.h" instead of declaring
14385         lastfiles (actually was declared as LastFiles* instead of a
14386         scoped_ptr).
14387
14388 2001-12-17  Juergen Vigna  <jug@sad.it>
14389
14390         * tabular.C (AppendColumn): applied John's fix
14391
14392 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * BufferView.h:
14395         * BufferView.C:
14396         * BufferView_pimpl.h:
14397         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14398
14399         * Makefile.am:
14400         * box.h: new start of class for above
14401
14402         * lyxfunc.C: ignore space-only minibuffer dispatches.
14403           Show the command name when it doesn't exist
14404
14405         * minibuffer.C: don't add empty lines to the history
14406
14407         * minibuffer.C: add a space on dropdown completion
14408
14409 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14410
14411         * text.C: fix line above/below drawing in insets
14412
14413 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14414
14415         * lyxlength.C (LyXLength): Initialize private variables.
14416
14417 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14418
14419         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14420         when inserting error insets.
14421
14422 2001-12-13  Juergen Vigna  <jug@sad.it>
14423
14424         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14425         actually sometimes the before-paragraph.
14426         (setUndo): don't clear the redostack if we're not actually undoing!
14427
14428 2001-12-06  Juergen Vigna  <jug@sad.it>
14429
14430         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14431         and fixed redoing of main paragraph, so we can use it now ;)
14432
14433         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14434
14435 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14436
14437         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14438         Juergen's request
14439
14440 2001-12-13  André Pönitz <poenitz@gmx.net>
14441
14442         * undostack.[Ch]:
14443         * undo_func.C: minor cleanup
14444
14445 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14446
14447         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14448         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14449         font in urw-fonts package which is marked as -urw-fontspecific and
14450         does not work (incidentally, changing the encoding in the
14451         fonts.dir of this package to -adobe-fontspecific fixes the
14452         problem).
14453
14454         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14455         is a crash when undoing first paragraph (Juergen, please take a
14456         look). THis does not mean the undo fix is wrong, just that it
14457         uncovers problems.
14458
14459         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14460         the (Paragraph*) version when needed instead of duplicating the
14461         code.
14462
14463         * text.C (workWidth): use Inset::parOwner to find out where the
14464         inset has been inserted. This is a huge performance gain for large
14465         documents with lots of insets. If Inset::parOwner is not set, fall
14466         back on the brute force method
14467
14468         * paragraph_pimpl.C (insertInset):
14469         * paragraph.C (Paragraph):
14470         (cutIntoMinibuffer): set parOwner of insets when
14471         inserting/removing them
14472
14473         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14474
14475 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14476
14477         * commandtags.h:
14478         * LyXAction.C:
14479         * lyx_main.C:
14480         * lyxfunc.C:
14481         * mathed/formulabase.C:
14482         * mathed/math_cursor.[Ch]:
14483         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14484
14485
14486 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * lyxlength.[Ch] (operator!=): new function
14489
14490 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14491
14492         * text.C (workWidth): use Inset::parOwner to find out where the
14493         inset has been inserted. This is a huge performance gain for large
14494         documents with lots of insets. If Inset::parOwner is not set, fall
14495         back on the brute force method
14496
14497         * paragraph_pimpl.C (insertInset):
14498         * paragraph.C (Paragraph):
14499         (cutIntoMinibuffer): set parOwner of insets when
14500         inserting/removing them
14501
14502         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14503
14504 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14505
14506         * tabular-old.C (getTokenValue):
14507         * tabular.C (getTokenValue):
14508         (write_attribute): new versions for LyXLength
14509         (everywhere): adjust the use of widths
14510
14511         * tabular.h: change the type of widths from string to LyXLength
14512
14513 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14514
14515         * paragraph.C: fixed missing line number count when exporting
14516         Environments to LaTeX file
14517
14518         * buffer.C: added informational message for checking line numbers.
14519
14520 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14521
14522         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14523         paragraph, do the 'double space' part, but not the 'empty
14524         paragraph' one.
14525
14526         * text.C (workWidth): small optimization
14527         (getLengthMarkerHeight): use minimal size for negative lengths.
14528
14529 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14530
14531         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14532
14533         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14534
14535 2001-12-11  André Pönitz <poenitz@gmx.net>
14536
14537         * FontLoader.C:
14538         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14539
14540 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14541
14542         * text2.C: keep selection on a setFont()
14543
14544 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14545
14546         * lyx_cb.C: another bv->text misuse, from insert label
14547
14548 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14549
14550         * kbsequence.h:
14551         * kbsequence.C: re-instate nmodifier mask
14552
14553 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14554
14555         * lyx_main.h: make lyxGUI private.
14556
14557 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14558
14559         * lyxfind.C: place the cursor correctly on failed search
14560
14561 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14562
14563         * text.C (getLengthMarkerHeight): for small heights, the arrows
14564         are not always on top/bottom of the text
14565         (drawLengthMarker): smaller arrows; take the left margin in
14566         account; draw also vfills.
14567         (paintFirstRow):
14568         (paintLastRow): remove special code for vfill and standard spaces,
14569         since everything is handled in drawLengthMarker now.
14570
14571 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14572
14573         * buffer.C (insertErtContents): try to handle font and language
14574         interaction a bit better.g
14575
14576         * ColorHandler.C (updateColor): change the hash to cover the whole
14577         LColor enum, ws cleanup
14578         (getGCLinepars): ditto
14579         (getGCLinepars): only lookup in the linecache once.
14580
14581 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14582
14583         * iterators.C (operator++): Make the iterator more robust
14584
14585         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14586         (John's patch)
14587         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14588
14589 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14590
14591         * lyxtext.h:
14592         * text.C: better added space drawing
14593
14594 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * LyXView.C:
14597         * BufferView2.C: fix layout combo update on inset unlock
14598
14599 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14600
14601         * Makefile.am: don't compile unused files
14602
14603 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14604
14605         * lyxfunc.C:
14606         * commandtags.h:
14607         * LyXAction.C: remove old LFUN_LAYOUTNO
14608
14609 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * paragraph_pimpl.h:
14612         * paragraph_pimpl.C: isTextAt() doesn't need font param
14613
14614 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14615
14616         * lyxlex.h:
14617         * lyxlex.C: little cleanup
14618
14619 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14620
14621         * BufferView_pimpl.C: fix insertAscii for insets
14622
14623 2001-12-05  Juergen Vigna  <jug@sad.it>
14624
14625         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14626         set the right font on the "multi" paragraph paste!
14627
14628 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14629
14630         * trans_decl.h:
14631         * trans_mgr.[Ch]:
14632         * trans.[Ch]:
14633         * lyxgluelength.C:
14634         * lyxlength.C: remove out-commented code.
14635
14636         * BufferView_pimpl:
14637         * CutAndPaste.C:
14638         * DepTable.C:
14639         * buffer.C:
14640         * chset.C:
14641         * lastfiles.C:
14642         * lyxlex.C:
14643         * lyxlex_pimpl.C:
14644         * lyxserver.C:
14645         * screen.C:
14646         * tabular-old.C:
14647         * tabular.C:
14648         * text.C:
14649         * trans_mgr.C:
14650         * vc-backend.C: change "while(" to "while ("
14651
14652         * lyxlength.[Ch]: add zero function to check if length is zero or
14653         not
14654         * lyxgluelength.C: use it
14655
14656 2001-12-05  Allan Rae  <rae@lyx.org>
14657
14658         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14659         Works for 2.95.3, from what I understand of Garst's reports this should
14660         work for other g++ versions.  We're screwed if the abs(int) definition
14661         changed between bugfix releases of gcc.
14662
14663 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * text.C: fix chapter label offset !
14666
14667 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14668
14669         * lyxtext.h:
14670         * text.C: fix hfill at end of line, clean up
14671
14672 2001-12-04  Juergen Vigna  <jug@sad.it>
14673
14674         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14675         that we force an update of the inset and it's owners if neccessary.
14676
14677 2001-12-03  Juergen Vigna  <jug@sad.it>
14678
14679         * text.C (rowLast): simplified code
14680
14681 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14682
14683         * lyxfunc.C: fix show options on timeout
14684
14685 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14686
14687         * screen.C (topCursorVisible): scroll half a page when the cursor
14688         reached top of bottom of screen
14689
14690 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * minibuffer.C: deactivate on loss of focus
14693
14694 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14695
14696         * vspace.[Ch] (operator!=): add operator.
14697
14698 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14699
14700         * BufferView_pimpl.C: refuse to open an inset when
14701         there's a selection.
14702
14703 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14704
14705         * BufferView_pimpl.C: allow to click on RHS of full row insets
14706
14707 2001-11-30  Juergen Vigna  <jug@sad.it>
14708
14709         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14710         insets for undo reasons.
14711
14712 2001-11-28  André Pönitz <poenitz@gmx.net>
14713
14714         * vspace.[Ch]: cosmetical changes
14715
14716 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14717
14718         * LyXAction.h:
14719         * LyXAction.C:
14720         * lyxfunc.h:
14721         * lyxfunc.C:
14722         * kbmap.h:
14723         * kbmap.C:
14724         * lyxrc.C:
14725         * kbsequence.h:
14726         * kbsequence.C: part re-write of old kb code
14727
14728         * Painter.C:
14729         * WorkArea.C: remove Lgb_bug_find_hack
14730
14731 2001-11-30  José Matos <jamatos@fep.up.pt>
14732
14733         * buffer.C (makeDocBookFile): add a comment to point a hack.
14734         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14735         Fixed a double write of labels.
14736
14737 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14738
14739         * LaTeX.C:
14740         * LaTeX.h Fixed bug in LaTeX class where it would not
14741         re-run latex if no depfiles were changed, but the .dvi was removed.
14742
14743 2001-11-28  André Pönitz <poenitz@gmx.net>
14744
14745         * all the files from the change on 2001/11/26:
14746         use lyx::layout_type instead of LyXTextClass::size_type
14747         use lyx::textclass_type instead of LyXTextClassList::size_type
14748
14749 2001-11-29  Juergen Vigna  <jug@sad.it>
14750
14751         * text.C: added support for paragraph::isFreeSpacing()
14752
14753         * buffer.C: same as above
14754
14755         * paragraph.h: inserted isFreeSpacing() function to enable
14756         FreeSpacing inside InsetERT.
14757
14758         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14759         of the paragraph's in the cut/copy buffer to 0!
14760
14761         * text2.C (removeRow): remove the assert as it can!
14762
14763         * lyxtext.h: added helper function firstRow returning firstrow and
14764         made firstrow private again.
14765
14766         * BufferView2.C (lockInset): don't relock if we're already locked!
14767
14768         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14769         the only paragraph.
14770         (removeRow): added Assert::(firstrow)
14771
14772         * debug.C: forgot to add INSETTEXT here.
14773
14774 2001-11-28  Juergen Vigna  <jug@sad.it>
14775
14776         * sp_spell.C (initialize): changed error text to more general
14777         spellchecker command use (not only ispell!)
14778
14779         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14780
14781         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14782
14783 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14784
14785         * vspace.C: initialise lyxgluelength on failure
14786
14787 2001-11-28  Allan Rae  <rae@lyx.org>
14788
14789         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14790         declaration & definition that looks like a function declaration.
14791
14792 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14793
14794         * BufferView2.C (copy):
14795         (copyEnvironment): do not clear the selection when doing a copy.
14796
14797         * text.C (paintFirstRow): compilation fix
14798
14799 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14800
14801         * tabular.C (Latex): correct line count when writing latex.
14802
14803 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14804
14805         * paragraph_pimpl.h:
14806         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14807           bug a bit
14808
14809 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * text.C:
14812         * LColor.h:
14813         * LColor.C: change vfillline->added_space
14814
14815         * text.C: add markers and text for added space
14816
14817         * vspace.C: fix comment
14818
14819 2001-11-28  André Pönitz <poenitz@gmx.net>
14820
14821         * paragraph.C: whitespace changes
14822         * all the other files from the change on 2001/11/26:
14823         change *::pos_type into lyx::pos_type
14824
14825 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14828         language of the document when inserting error insets.
14829
14830 2001-11-26  André Pönitz <poenitz@gmx.net>
14831
14832         * BufferView_pimpl.[Ch]:
14833         *       CutAndPaste.C:
14834         * buffer.[Ch]:
14835         * lyxcursor.[Ch]:
14836         * lyxfind.C:
14837         * lyxfunc.C:
14838         * lyxrow.[Ch]:
14839         * paragraph.[Ch]:
14840         * paragraph_pimpl.[Ch]:
14841         * sp_spell.C:
14842         * text.C:
14843         * text2.C: reduce header dependencies, introduce type for positions
14844
14845 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14846
14847         * <various>: change to use Alert.h
14848
14849 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14850
14851         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14852         when encountering an unknown token.
14853         (readLyXformat2): Show an error message if there were unknown tokens.
14854
14855 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14856
14857         * BufferView2.C:
14858         * BufferView_pimpl.C:
14859         * buffer.C:
14860         * paragraph.h:
14861         * text.C:
14862         * text2.C: use par->isInset()
14863
14864 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * paragraph_pimpl.h:
14867         * paragraph_pimpl.C: cleanup
14868
14869 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14870
14871         * text2.C (removeRow):
14872         * text.C (setHeightOfRow): remove useless (and costly) call to
14873         getRow.
14874
14875 2001-11-20  Allan Rae  <rae@lyx.org>
14876
14877         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14878         Now need Inset*::checkInsertChar() to return true for appropriate
14879         cases so that the characters in the minibuffer will actually be
14880         inserted.
14881
14882 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14883
14884         * text.C: change the order of the includes.
14885         (workWidth): initialize it at once.
14886         (workWidth): make maxw unsigned
14887         (setHeightOfRow): remove unused variable (inset)
14888         (selectSelectedWord): remove unused variable (inset)
14889         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14890
14891 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14892
14893         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14894         server is not running.
14895         (openConnection):
14896         (closeConnection): add debug info when server is disabled.
14897
14898         * ColorHandler.C (getGCForeground): send debug message to GUI
14899         channel.
14900
14901         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14902
14903         * kbmap.C (bind): modify because return conventions of
14904         kb_sequence::parse have changed.
14905
14906         * kbsequence.C (parse): only ignore spaces and not any stupid
14907         control character. This avoids tests like s[i] <= ' ', which are
14908         guaranteed to fail with 8bit characters and signed chars.
14909         Change return code to string::npos when there have been no error
14910         (0 was a bad idea when error is at first character)
14911
14912 2001-11-14  José Matos  <jamatos@fep.up.pt>
14913
14914         * buffer.h:
14915         * buffer.C (simpleDocBookOnePar): removed unused argument.
14916
14917 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14920         insets which are part of a word. Paragraph::isLetter takes care of
14921         that now. Use Paragraph::isInset to identify insets.
14922         (selectSelectedWord): do not test for hyphenation break.
14923
14924         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14925         that protected spaces are considered as spaces.
14926
14927         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14928         Inset::isLetter.
14929
14930 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14931
14932         * lyxserver.h:
14933         * lyxserver.C: fix it. and small cleanup.
14934
14935 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14936
14937         * BufferView_pimpl.C: use inline helpers
14938
14939         * LaTeXFeatures.h:
14940         * LaTeXFeatures.C: fix typos
14941
14942         * Spacing.h:
14943         * Spacing.C: move spacing_string into class
14944
14945         * ToolbarDefaults.C: move stuff into namespace anon
14946
14947         * layout.h: update enum
14948
14949         * lyxfunc.C: use better debug
14950
14951         * minibuffer.h: fix typo
14952
14953         * debug.h:
14954         * debug.C:
14955         * WorkArea.C: add and use Debug::WORKAREA
14956
14957         * lyxtext.h:
14958         * text.C:
14959         * text2.C: code re-organisation, inline helpers
14960
14961 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14962
14963         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14964         std::vector.empty().
14965
14966 2001-11-09  Allan Rae  <rae@lyx.org>
14967
14968         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14969         '\n's after tables.  Tabular and ERT inset work now makes this no
14970         longer necessary.
14971
14972 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * minibuffer.h:
14975         * minibuffer.C: fix crash, improve drop-down completion
14976
14977 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * lyxserver.h:
14980         * lyxserver.C: invalidate fd's when doing endPipe()
14981
14982 2001-11-08  José Matos  <jamatos@fep.up.pt>
14983
14984         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14985         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14986
14987         * paragraph.h:
14988         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14989
14990 2001-11-07  José Matos  <jamatos@fep.up.pt>
14991
14992         * buffer.h:
14993         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14994         const qualifier.
14995
14996         * buffer.C (sgmlOpenTag):
14997         * buffer.C (sgmlCloseTag): removed debug info.
14998
14999         * buffer.h (sgmlOpenTag):
15000         * buffer.h (sgmlCloseTag): made public.
15001
15002 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15003
15004         * buffer.C (saveParamsAsDefaults):
15005         * lyx_cb.C (MenuLayoutSave): remove
15006
15007         * LyXAction.C (init):
15008         * commandtags.h:
15009         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15010
15011 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * buffer.C (setPaperStuff): removed from here...
15014
15015         * bufferparams.C (setPaperStuff): ... and moved there.
15016
15017 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * minibuffer.h:
15020         * minibuffer.C:
15021         * XFormsView.C: add support for drop-down completion
15022
15023 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15026         commands.
15027
15028 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15031         disabled.
15032
15033 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * lyx_main.C: change ref to known bugs
15036
15037 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15038
15039         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15040         to work around older babel problems.
15041
15042 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15043
15044         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15045
15046 2001-10-24  Juergen Vigna  <jug@sad.it>
15047
15048         * tabular-old.C (ReadOld): below variable changes reflected.
15049
15050         * tabular.[Ch]: added ltType struct for longtable header/footer
15051         defines and changed all instances where they are used. Added
15052         future support for double top/bottom rows.
15053
15054 2001-10-24  José Matos  <jamatos@fep.up.pt>
15055
15056         * buffer.h (docbookHandleCaption):
15057         * buffer.C (docbookHandleCaption): removed unused function.
15058         (makeDocBookFile): moved docbook supported version to v4.1.
15059
15060 2001-10-24  José Matos  <jamatos@fep.up.pt>
15061
15062         * tabular.h:
15063         * tabular.C (docbookRow): new function to export docbook code of a row.
15064         (DocBook): now honors the longtable flags.
15065
15066 2001-10-23  José Matos  <jamatos@fep.up.pt>
15067
15068         * LaTeXFeatures.h:
15069         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15070         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15071
15072         * buffer.C (makeLinuxDocFile):
15073         (makeDocBookFile): reworked the preamble, more clean, and with
15074         support for lyx defined entities. Changed the document declaration
15075         to be more XML friendly.
15076
15077         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15078         if we need to output XML that should be done with a filter.
15079
15080 2001-10-22  Juergen Vigna  <jug@sad.it>
15081
15082         * sp_pspell.h (class PSpell): add alive function needed in the
15083         controller to see if the spellchecker could be started.
15084
15085 2001-10-22  Juergen Vigna  <jug@sad.it>
15086
15087         * buffer.C (insertStringAsLines): modify the font for inserting
15088         chars in certain conditions by calling checkInsertChar(font).
15089
15090 2001-10-19  Juergen Vigna  <jug@sad.it>
15091
15092         * text.C (workWidth): use getRow instead of wrong algorithm.
15093         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15094
15095 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15096
15097         * lyxserver.h:
15098         * lyxserver.C:
15099         * lyx_main.h:
15100         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15101
15102 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * text.C (workWidth): do not search for the exact row when
15105         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15106         optimization for big documents.
15107
15108 2001-10-18  Juergen Vigna  <jug@sad.it>
15109
15110         * text.C (workWidth): new function with added Inset * parameter.
15111
15112 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15113
15114         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15115
15116         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15117         change return type of getColumnNearX.
15118
15119
15120         * text.C (changeRegionCase): use uppercase/lowercase instead of
15121         toupper/tolower.
15122         (leftMargin):
15123         (rightMargin): simplify code by factoring out the uses of
15124         textclasslist.
15125         (labelFill):
15126         (numberOfHfills):
15127         (setHeightOfRow):
15128         (appendParagraph): use Paragraph::size_type
15129
15130 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * vspace.C (asLatexString): add a missing break
15133
15134 2001-10-15  Herbert Voss  <voss@perce.de>
15135
15136         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15137
15138 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15139
15140         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15141         is not available.
15142
15143 2001-10-10  André Pönitz <poenitz@gmx.net>
15144
15145         * lyxfunc.C: removed greek_kb_flag.
15146
15147 2001-10-10  Herbert Voss  <voss@perce.de>
15148
15149         * lyx_main.C: delete global string help_lyxdir.
15150
15151 2001-10-09  Herbert Voss  <voss@perce.de>
15152
15153         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15154
15155         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15156
15157         * lyx_main.C: added global string help_lyxdir.
15158
15159         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15160
15161 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15162
15163         * lyxrc.C (set_font_norm_type): support iso8859-4
15164
15165 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15166
15167         * LaTeX.C (deplog): add another regex for MikTeX
15168
15169 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15170
15171         * lyxrc.C (set_font_norm_type): support iso8859-3
15172
15173 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15176
15177         * LaTeXFeatures.C: remove special case of french and index
15178
15179         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15180         before \begin{document}). This solves several incompatibilities.
15181
15182 2001-10-03  Garst Reese  <reese@isn.net>
15183
15184         * lyx_cb.C: change CheckTex error msg.
15185
15186 2001-10-03  José Matos  <jamatos@fep.up.pt>
15187
15188         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15189
15190 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15191
15192         * .cvsignore: update
15193
15194         * lyx_main.C (commandLineVersionInfo): use new style version info.
15195
15196         * buffer.C (writeFile):
15197         (makeLaTeXFile):
15198         (makeLinuxDocFile):
15199         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15200
15201         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15202
15203         * version.h: update to use stuff in version.C
15204
15205         * version.C.in: new file. Contains version information determined
15206         at compile time. This is a merging of version.h and
15207         version_info.h.in.
15208
15209 2001-10-03  Juergen Vigna  <jug@sad.it>
15210
15211         * BufferView_pimpl.C (update): don't change "dirty" status in
15212         updateInset call.
15213
15214 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15215
15216         * WorkArea.C (c-tor): re-position version string slightly.
15217
15218 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15219
15220         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15221         revert to previous code.
15222
15223         WorkArea.[Ch]: (show, destroySplash): methods removed.
15224
15225         WorkArea.C: rework code so that it's an amalgam of the codes before and
15226         after the splash screen was moved to WorkArea.
15227
15228 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * lyxrc.C (read):
15231         * vspace.C (inPixels):
15232         (lyx_advance):
15233         * kbmap.C (bind):
15234         * buffer.C (insertStringAsLines):
15235         (asciiParagraph): fix types to be large enough
15236
15237         * lyxlex_pimpl.h: change member status from short to int
15238
15239         * layout.h: fix type of endlabeltype
15240
15241         * kbmap.C (bind):
15242         * kbsequence.C (parse): change return type to string::size_type
15243
15244         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15245         variable
15246
15247         * Bullet.C (bulletSize):
15248         (bulletEntry): do not use short ints as parameters
15249
15250         * BufferView2.C (insertLyXFile): change a char to an int.
15251
15252         * WorkArea.C (WorkArea): remove unneeded floats in computation
15253
15254 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15255
15256         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15257
15258         * paragraph.C (asString): Do not ignore newline/hfill chars when
15259         copying to the clipboard.
15260
15261 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15262
15263         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15264         after a multi-line inset.
15265
15266 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15267
15268         * paragraph.C (validate): Set NeedLyXFootnoteCode
15269
15270 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15271
15272         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15273         and decrease-error to decrease.
15274
15275 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15276
15277         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15278         it more readable (should be equivalent)
15279
15280 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15281
15282         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15283
15284 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15285
15286         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15287         of a cursor (row, etc.) after a character has been deleted
15288         (deleteEmptyParagraphMechanism): call the method above on _all_
15289         cursors held by the LyXText when a double space has been
15290         detected/deleted.
15291
15292 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15293
15294         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15295         pixmap.
15296         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15297
15298         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15299         background. Use greyOut() and the new show() methods to toggle between
15300         the foreground and background. Add code to remove the splash after
15301         its initial showing.
15302
15303         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15304         (create_forms): no longer call Dialogs::showSplash.
15305
15306 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15307
15308         * .cvsignore: add version_info.h
15309
15310 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15311
15312         * version_info.h.in: new file
15313
15314         * Makefile.am: add version_info.h.in
15315
15316         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15317         version_info.h instead of VERSION_INFO
15318
15319 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15320
15321         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15322         The ERT inset now returns string().
15323
15324 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15325
15326         * lyxtext.h, text.C (selectNextWord): renamed as
15327         selectNextWordToSpellcheck.
15328
15329         * text.C (selectNextWordToSpellcheck): Modified to not select
15330         words inside an ERT inset.
15331
15332 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15333
15334         * lyx_cb.C (MenuLayoutSave): change a bit the question
15335
15336         * sp_base.h: include <sys/types.h>
15337
15338 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15339
15340         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15341
15342 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15343
15344         * several files: fix typos in user-visible strings
15345
15346 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * text2.C (pasteSelection): do not set the selection, since it
15349         will be cleared later. Actually, the intent was to fix the way the
15350         selection was set, but I figured rmoving the code was just as good.
15351
15352 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15353
15354         * FontLoader.C (available): Check if font is available without
15355         loading the font.
15356
15357 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15358
15359         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15360
15361 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15362
15363         * lyxrc.[Ch]: added display_graphics variable and associated code.
15364
15365 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15366
15367         * bufferparams.C (hasClassDefaults): new method. Returns true if
15368         the buffer parameters correspond to known class defaults
15369
15370 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15371
15372         * XFormsView.C (show): set minimum size to the main window.
15373
15374 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375
15376         * text2.C (copySelection):
15377         (cutSelection):
15378         * lyxfind.C (LyXReplace):
15379         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15380         LyXText::selectionAsString.
15381
15382         * paragraph.C (asString): add "label" argument to the second form
15383
15384         * text2.C (selectionAsString): add "label" argument and pass it to
15385         Paragraph::asString.
15386
15387 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * lyx_main.C (commandLineHelp): remove version information
15390
15391 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15392
15393         * lyx_main.C: add -version commandline option
15394
15395 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15396
15397         * paragraph.h: make the optional constructor arg required instead.
15398         some modifications to other files because of this.
15399
15400         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15401
15402         * lyxserver.C (C_LyXComm_callback): make it static
15403
15404         * lyx_main.C (error_handler): make it static
15405
15406         * lyx_gui.C (LyX_XErrHandler): make it static
15407
15408         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15409
15410         * WorkArea.C: make the extern "C" methods static.
15411
15412         * Makefile.am (lyx_LDADD): simplify
15413
15414 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15415
15416         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15417         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15418
15419         * LyXAction.C (init):
15420         * lyxfunc.C (dispatch): associated code removal.
15421
15422 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15423
15424         * lyxfont.h (isSymbolFont): shut off warning
15425
15426         * text.C (setHeightOfRow):
15427         (getVisibleRow): fix crash with empty paragraphs which have a
15428         bottom line
15429
15430 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15431
15432         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15433         code.
15434
15435 2001-09-04  José Matos  <jamatos@fep.up.pt>
15436         * buffer.C
15437         * buffer.h
15438         * tabular.C (docbook): rename docBook method to docbook.
15439
15440 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15441
15442         * Makefile.am: add dependencies to main.o.
15443
15444 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15445
15446         * FontLoader.C (available): Return false if !lyxrc.use_gui
15447
15448 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15449
15450         * FontInfo.C (query):
15451         * converter.C (view):
15452         * importer.C (Import):
15453         * exporter.C (Export): Can not -> cannot.
15454
15455 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15456
15457         * BufferView_pimpl.C: allow to create index inset even if
15458           string is empty
15459
15460 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15461
15462         * buffer.C (getLists): replace boost::tie code with an explicit pair
15463         as boost::tie can break some compilers.
15464
15465         * iterators.h: Added a std:: declaration to the return type of
15466         ParIterator::size.
15467
15468 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15469
15470         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15471           case.
15472
15473 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15474
15475         * iterators.[Ch]: New files. Provide paragraph iterators.
15476
15477         * buffer.C (changeLanguage): Use paragraph iterators.
15478         (isMultiLingual): ditto
15479
15480         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15481
15482 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15483
15484         * FontLoader.C: Support for cmr font.
15485
15486 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15487
15488         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15489         (available): New method.
15490
15491         * FontInfo.C (getFontname): Use scalable fonts even when
15492         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15493         found.
15494
15495 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15496
15497         * converter.C (Formats::view): reverted! Incorrect fix.
15498
15499 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15500
15501         * converter.C (Formats::view): only output the -paper option
15502         if the dvi viewer is xdvi, thereby fixing bug #233429.
15503
15504 2001-08-23  Herbert Voss  <voss@perce>
15505
15506         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15507
15508 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15509
15510         * Spacing.h (Spacing): Set space to Default on in the default
15511         constructor.
15512
15513 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15514
15515         * vc-backend.h (RCS::versionString): add RCS to version
15516         (CVS::versionString): add CVS to version
15517
15518         * vc-backend.C (scanMaster): do not add CVS to version.
15519         (scanMaster): do not add RCS to version
15520
15521         * lyxvc.C (versionString): new method
15522
15523         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15524
15525 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * Spacing.C (set): initialize fval
15528
15529 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15530
15531         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15532         " or \.
15533
15534 2001-08-16  Juergen Vigna  <jug@sad.it>
15535
15536         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15537
15538 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15539
15540         * BufferView_pimpl.C:
15541         * figureForm.C:
15542         * lyxtext.h:
15543         * text2.C: setParagraph takes linespacing now
15544
15545 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15546
15547         * LyxAction.C: add internal LFUN_CITATION_INSERT
15548
15549         * LyXView.C: actually apply fix
15550
15551         * bufferlist.C: fix open non-existent file
15552
15553         * lyxfind.C: fix indentation
15554
15555         * lyxfunc.C: remove unneeded assert, fix typo
15556
15557 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15558
15559         * MenuBackend.C: use "Floatname List"
15560
15561 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15562
15563         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15564         when converting LaTeX layout to insetERT.
15565         Generate a non-collapsed float when reading old float
15566
15567 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15568
15569         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15570         ERT insets.
15571
15572 2001-08-13  Juergen Vigna  <jug@sad.it>
15573
15574         * text.C (fill): return 0 instead of 20 as this seems to be the more
15575         correct value.
15576
15577 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15578
15579         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15580         lyxrc.font_norm.
15581
15582 2001-08-13  Juergen Vigna  <jug@sad.it>
15583
15584         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15585         casesensitive off.
15586         (SearchBackward): comment out the unlocking of the inset_owner this
15587         should not be needed!
15588
15589 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15590
15591         * Many files: Remove inherit_language, and add latex_language
15592
15593         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15594         collapsible insets.
15595
15596 2001-08-10  Juergen Vigna  <jug@sad.it>
15597
15598         * text.C (prepareToPrint): fixed hfill-width in draw!
15599
15600         * BufferView2.C (selectLastWord): save the selection cursor as this
15601         now is cleared in the function LyXText::clearSelection!
15602
15603 2001-08-08  Juergen Vigna  <jug@sad.it>
15604
15605         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15606         BACKSPACE type functions.
15607
15608         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15609         is only cutted from the document but not put in the cut-buffer, where
15610         still the old stuff should be.
15611
15612         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15613
15614         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15615
15616         * tabular.C (SetWidthOfCell): fixed special case where the width
15617         was not updated!
15618         (LeftLine): handle '|' in align_special.
15619         (RightLine): ditto
15620         (LeftAlreadyDrawed): ditto
15621         (SetWidthOfCell): ditto
15622
15623 2001-08-07  Juergen Vigna  <jug@sad.it>
15624
15625         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15626
15627 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15628
15629         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15630         * lyxlex.[hC]: ditto
15631
15632 2001-08-06  Juergen Vigna  <jug@sad.it>
15633
15634         * text.C (getVisibleRow): fix up row clearing a bit.
15635
15636 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15637
15638         * minibuffer.C: make sure the X server sees the changes in the input.
15639
15640 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15641
15642         * paragraph.C (getFont): split into...
15643         (getLabelFont): this
15644         (getLayoutFont): and this
15645         * paragraph_pimpl.C (realizeFont): calling this
15646
15647         * text2.C (getFont): split into...
15648         (getLayoutFont): this
15649         (getLabelFont): and this
15650         (realizeFont): all three calling this
15651
15652         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15653         files where used.
15654
15655 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15656
15657         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15658
15659 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15660
15661         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15662         layouts from the Quote inset insertion.
15663
15664 2001-08-03  Juergen Vigna  <jug@sad.it>
15665
15666         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15667
15668         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15669         only if status not is already CHANGED_IN_DRAW (second level).
15670
15671         * text.C (draw): don't set the need_break_row when inside an
15672         InsetText LyXText.
15673
15674 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15675
15676         * buffer.C (parseSingleLyXformat2Token): handle more latex
15677         conversion cases.
15678
15679         * bufferview_funcs.[hC]: change function names to
15680         begin with small char, adjust other files.
15681
15682 2001-08-02  André Pönitz <poenitz@gmx.net>
15683
15684         * lyxfunc.C:
15685         BufferView_pimpl.C: remove broken special code for math-greek
15686
15687 2001-08-02  Juergen Vigna  <jug@sad.it>
15688
15689         * BufferView_pimpl.C (update): redone this function so that we
15690         update the text again if there was a CHANGE_IN_DRAW.
15691
15692         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15693         (drawFromTo): added a new internal bool which is used by draw() and
15694         redraw() function.
15695         (general): some cursor drawing problems fixed.
15696
15697 2001-08-01  Juergen Vigna  <jug@sad.it>
15698
15699         * lyxfind.C (LyXFind): fixed
15700         (SearchForward): ditto
15701         (SearchBackward): ditto
15702
15703         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15704         spurius drawing of the cursor in the main area.
15705
15706         * text2.C (status): small fix which could lead to a segfault!
15707         (clearSelection): remove unneeded BufferView param.
15708
15709 2001-08-01  André Pönitz <poenitz@gmx.net>
15710
15711         * lyxfunc.C: small change due to changed mathed interface
15712
15713 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15716
15717 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15718
15719         * lyxfunc.c: fail gracefully if file doesn't exist
15720
15721         * LyXSendto.C:
15722         * buffer.C:
15723         * lyxfunc.C:
15724         * BufferView_pimpl.C: IsDirWriteable() proto changed
15725
15726         * LyXView.C: fix updateWindowTitle() to store the last title
15727
15728 2001-07-31  Juergen Vigna  <jug@sad.it>
15729
15730         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15731         the font (wrong since using of Paragraph::highestFontInRange).
15732
15733         * paragraph.C (highestFontInRange): added a default_size parameter.
15734
15735         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15736         (setHeightOfRow): reformat
15737
15738 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15739
15740         * converter.[hC] + affected files: move to (inital-char)lowercase
15741         function names.
15742
15743         * ParagraphParameters.C (ParagraphParameters): remove commented code
15744
15745         * PainterBase.[Ch]: remove commented code
15746
15747         * LaTeXFeatures.h: add "bool floats" for float.sty
15748
15749         * LaTeXFeatures.C (LaTeXFeatures): init floats
15750         (require): handle float
15751         (getPackages): do it with floats
15752
15753 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15754
15755         * BufferView_pimpl.C (Dispatch): improve handling of
15756         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15757
15758         * commandtags.h: #include lyxfont.h here temporarily to avoid
15759         keybinding bug.
15760
15761         * bufferlist.h: include LString.h here.
15762
15763 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15764
15765         * text2.C (getStringToIndex): new method.
15766
15767 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15768
15769         * *: Reduced header file dependencies all over.
15770
15771 2001-07-30  Baruch Even  <baruch@lyx.org>
15772
15773         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15774
15775 2001-07-29  Baruch Even  <baruch@lyx.org>
15776
15777         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15778
15779 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * ParameterStruct.h (endif): add a default constructor to make
15782         sure that all variables is initialized.
15783
15784         * ParagraphParameters.C (ParagraphParameters): adjust
15785
15786 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15787
15788         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15789         index; also, check that there is something to index, and that it
15790         does not span over several paragraphs.
15791         (doubleClick): use WHOLE_WORD_STRICT for double click.
15792
15793         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15794
15795         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15796         scheme.
15797
15798 2001-07-26  Baruch Even  <baruch@lyx.org>
15799
15800         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15801         an InsetFig figure, backwards compatible reading of old figure code.
15802
15803 2001-07-27  Juergen Vigna  <jug@sad.it>
15804
15805         * text2.C: font.realize function adaption.
15806
15807         * text.C (draw): add a warnings lyxerr text if needed.
15808
15809         * layout.C: font.realize function adaption.
15810
15811         * language.C: add inherit_language and implement it's handlings
15812
15813         * bufferview_funcs.C (StyleReset): remove language parameter from
15814         font creation (should be language_inherit now).
15815
15816         * bufferparams.C (writeFile): handle ignore_language.
15817
15818         * paragraph.C (getFontSettings): the language has to be resolved
15819         otherwise we have problems in LyXFont!
15820
15821         * lyxfont.C (lyxWriteChanges): added document_language parameter
15822         (update): removed unneeded language parameter
15823
15824         * paragraph.C (validate): fixed wrong output of color-package when
15825         using interface colors for certain fonts in certain environments,
15826         which should not seen as that on the final output.
15827
15828 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15829
15830         * BufferView_pimpl.C:
15831         * Thesaurus.h:
15832         * Thesaurus.C:
15833         * Makefile.am:
15834         * commandtags.h:
15835         * LyXAction.C: add thesaurus support
15836
15837         * lyxfind.h:
15838         * lyxfind.C: add "once" parameter, for thesaurus, to not
15839           move to the next match
15840
15841 2001-07-26  Juergen Vigna  <jug@sad.it>
15842
15843         * lyxfont.C (realize): honor ignore_language too!
15844         (resolved): ditto.
15845
15846         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15847
15848         * text.C (draw): one place more for ignore_language to not draw
15849         itself!
15850
15851 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15852
15853         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15854
15855 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15856
15857         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15858         the minipage conversion problem.
15859
15860 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15861
15862         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15863         insert an inset.
15864
15865 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * BufferView.h: don't forward declare WorkArea
15868
15869         * BufferView.C: don't include WorkArea.h
15870
15871 2001-07-25  André Pönitz <poenitz@gmx.net>
15872
15873         * commandtags.h:
15874         * LyXAction.C:
15875         * lyxfunc.C:  new LFUN 'math-space'
15876
15877         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15878
15879 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * text2.C (toggleInset): call open/close
15882
15883 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * lyxfunc.C (dispatch): add debug for the disabled case
15886
15887         * font.C (buttonText): make similar to rectText
15888
15889         * buffer.C (readInset): comment out parsing of insetlist and
15890         insttheorem
15891
15892         * PainterBase.C (rectText): small correction
15893
15894         * BufferView_pimpl.C: comment out insettheorem and insetlist
15895         * LyXAction.C: ditto
15896         * commandtags.h: ditto
15897
15898 2001-07-24  Juergen Vigna  <jug@sad.it>
15899
15900         * text.C (draw): honor the ignore_language.
15901
15902         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15903
15904 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15907         char inset.
15908
15909 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15910
15911         * lyxtext.h: remove unused (and unimplemented) methods
15912
15913 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15914
15915         * text.C (getVisibleRow): honor background color
15916
15917         * PainterBase.h:
15918         * Painter.h: remove default color argument for fillRectangle
15919
15920         * text.C (backgroundColor): new method
15921
15922 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * text.C (getVisibleRow): adjust
15925
15926         * font.[Ch] (rectText): new method, metrics
15927         (buttonText): new method, metrics
15928
15929         * PainterBase.[hC]: make rectText and buttonText always draw and take
15930         fewer paramteres.
15931
15932 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15933
15934         * ToolbarDefaults.C (read):
15935         * MenuBackend.C (read): allow escaping in all strings
15936
15937         * BufferView_pimpl.C (insertAndEditInset): new method.
15938         (Dispatch): use insertAndEditInset whenever appropriate.
15939
15940         * BufferView_pimpl.C (insertNote): removed
15941
15942         * BufferView_pimpl.C (smartQuote): new method, moved from
15943         BufferView; if an insetquote cannot be inserted, insert a '"'
15944         character instead.
15945
15946         * BufferView2.C: remove insertCorrectQuote();
15947
15948         * lyxfunc.C (getStatus): Add support for all remaingin
15949         inset-insert lfuns.
15950
15951         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15952
15953         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15954         command (necessary to pass " as parameter of self-insert.
15955
15956         * text.C (selectWordWhenUnderCursor):
15957         (selectWord): add word_location parameter
15958         (selectWordWhenUnderCursor): same + remove special code for word
15959         boundary.
15960         (selectNextWord): use kind() to guess type of insetspecialchar,
15961         not latex().
15962
15963         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15964         (insertErtContents): create ert insets as collapsed.
15965         (readInset): better compatibility code for Info inset.
15966
15967 2001-07-20  Juergen Vigna  <jug@sad.it>
15968
15969         * lyxfunc.C (dispatch): use always LyXFind now!
15970
15971         * text2.C (init): add a reinit flag so that the LyXText can be
15972         reinited instead of deleted and reallocated (used in InsetText).
15973
15974         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15975
15976         * text.C: ditto
15977
15978         * text2.C: ditto
15979
15980 2001-07-18  Juergen Vigna  <jug@sad.it>
15981
15982         * text.C (selectNextWord): handle insets inside inset by calling
15983         always the bv->text functions so that we can go up the_locking_inset!
15984
15985         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15986         in strange locations when inside an inset!
15987
15988         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15989         handling to include insets.
15990
15991         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15992
15993 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15994
15995         * LyXAction.C (init):
15996         * commandtags.h:
15997         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15998         LIGATURE_BREAK, since the name is so stupid.
15999
16000 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16001
16002         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16003         InsetInfos.
16004
16005         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16006
16007         * sp_form.[Ch]: remove.
16008
16009         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16010
16011         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16012         InsetInfo.
16013
16014         * src/buffer.C (readInset): ditto.
16015
16016 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16017
16018         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16019         menuSeparator(), endOfSentenceDot(), ldots() and
16020         hyphenationPoint(), which are therefore removed.
16021         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16022
16023         * LyXAction.C (init):
16024         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16025
16026         * paragraph.C (getWord): removed.
16027
16028         * BufferView_pimpl.C (Dispatch): use last word or selection for
16029         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16030
16031         * lyx_main.C (queryUserLyXDir): do not ask before creating
16032         user_dir, except if it has been named explicitely.
16033
16034 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16035
16036         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16037         a document of zero size.
16038
16039 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16042         approriately in the c-tor and in require().
16043         (getPackages): output the appropriate LaTeX for natbib support.
16044
16045         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16046         variables "use_natbib" and "use_numerical_citations" when reading the
16047         LyX file.
16048         (readInset): read the various natbib cite commands.
16049         (validate): white-space change.
16050
16051         * bufferparams.[Ch]: new variables "bool use_natbib" and
16052         "bool use_numerical_citations".
16053         (writeFile): output them in the LyX file.
16054
16055 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16056
16057         * lyxfunc.C (getStatus): add support for all the inset insertion
16058         commands.
16059
16060         * text2.C (insertInset):
16061         * paragraph.C (insetAllowed):
16062         * BufferView_pimpl.C (insertInset): update to take in account the
16063         renaming of insertInsetAllowed
16064
16065         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16066
16067         * text2.C (getInset): new method. returns inset at cursor position.
16068
16069         * BufferView_pimpl.C (Dispatch): changes because of this.
16070
16071         * LyXAction.C (init): rename open-stuff to inset-toggle.
16072
16073         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16074
16075         * text2.C (toggleInset): renamed from openStuff; use
16076         Inset::open().
16077
16078 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16079
16080         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16081
16082         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16083
16084 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16085
16086         * buffer.C (readLyXformat2): Add filename to the error dialog
16087
16088 2001-07-18  Juergen Vigna  <jug@sad.it>
16089
16090         * tabular.C (GetCellNumber): put an assert here instead of the check!
16091
16092 2001-07-17  Juergen Vigna  <jug@sad.it>
16093
16094         * BufferView_pimpl.C (toggleSelection): adapted too.
16095
16096         * text.C (selectNextWord): adapted for use with insets.
16097         (selectSelectedWord): ditto
16098
16099 2001-07-17  Juergen Vigna  <jug@sad.it>
16100
16101         * sp_spell.C (PSpell): fix initialitation order.
16102
16103 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16104
16105         * paragraph.C: spacing
16106
16107 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16108
16109         * sp_spell.C: repair language selection for pspell
16110
16111 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16112
16113         * lyxfunc.h: change more methods to begin with lower char.
16114
16115 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16116
16117         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16118         for unknown layouts.
16119
16120 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16121
16122         * buffer.C (readLyXformat2): Generate an error dialog if there are
16123         unknown layouts.
16124
16125 2001-07-16  Juergen Vigna  <jug@sad.it>
16126
16127         * sp_spell.C: always compile ISpell part.
16128
16129         * lyxrc.C: added use_pspell entry and it's handling.
16130
16131 2001-07-13  Juergen Vigna  <jug@sad.it>
16132
16133         * sp_spell.C: removed double includes.
16134
16135 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16136
16137         Consistent use of Lsstream.h:
16138         * Lsstream.h: added using std::stringstream for consistencies sake.
16139
16140         * buffer.C: removed using std::stringstream
16141
16142         * lyxfont.C (stateText):
16143         * paragraph.C (asString):
16144         * text.C (selectNextWord, selectSelectedWord):
16145         * text2.C (setCounter):
16146         * vspace.C (asString, asLatexString):
16147         std::ostringstream -> ostringstream.
16148
16149 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16150
16151         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16152         * commandtags.h: add LFUN_HELP_ABOUTLYX
16153         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16154
16155 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16156
16157         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16158         cursorToggle()
16159         * lyx_gui_misc.C: remove spellchecker
16160         * lyxfunc.C: showSpellchecker
16161         * sp_base.h: added
16162         * sp_ispell.h: added
16163         * sp_pspell.h: added
16164         * sp_spell.C: added
16165         * sp_form.[Ch]: removed
16166         * spellchecker.[Ch]: removed
16167
16168 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16169
16170         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16171         is set.
16172         (simpleTeXSpecialChars): Simply print the input character without
16173         any special translation if pass_thru is set.
16174
16175         * layout.h: Added bool pass_thru to layout class for being able to
16176         implement pass through of a paragraph for Literate Programming.
16177
16178         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16179         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16180         * layout.C (Read): add "passthru" to list of layout tags and add
16181         code to set the pass_thru boolean when it is read.
16182
16183 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16184
16185         * trans_decl.h: remove allowed from KmodInfo
16186
16187         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16188         remove allowed code
16189         (Load): adjust
16190
16191         * paragraph_pimpl.C (erase): use boost::prior
16192
16193         * Painter.C (text): use data() instead of c_str() when length is
16194         also provided.
16195         * WorkArea.C (putClipboard): ditto
16196         * font.h (width): ditto
16197
16198         * BufferView2.C: use it-> instead of (*it). for iterators
16199         * texrow.C: ditto
16200         * paragraph_pimpl.C: ditto
16201         * paragraph.C: ditto
16202         * minibuffer.C: ditto
16203         * language.C: ditto
16204         * kbmap.C: ditto
16205         * encoding.C: ditto
16206         * counters.C: ditto
16207         * converter.C: ditto
16208         * chset.C: ditto
16209         * Variables.C: ditto
16210         * TextCache.C: ditto
16211         * MenuBackend.C: ditto
16212         * LyXAction.C: ditto
16213         * LColor.C: ditto
16214         * FloatList.C: ditto
16215         * DepTable.C: ditto
16216         * ColorHandler.C (LyXColorHandler): ditto
16217
16218 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16219
16220         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16221
16222         * text2.C (openStuff): reintroduce this method (which had been
16223         nuked in NEW_INSETS frenzy).
16224
16225         * lyxfunc.C (Dispatch): when an action has not been handled, use
16226         its name in the error message, not its number.
16227
16228         * paragraph.C (inInset): change method name to begin with lowercase.
16229
16230         * undo_funcs.C:
16231         * text2.C: updates because of this.
16232
16233 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16234
16235         * ToolbarDefaults.C (add): add spaces in error message
16236
16237 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16238
16239         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16240         (readLyXformat2): rename return_par to first_par, use lyxlex's
16241         pushToken and remove the manual push handling.
16242         (parseSingleLyXformat2Token): add another ert comp. variable:
16243         in_tabular, rename return_par to first_par. handle newlines better
16244
16245 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16246
16247         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16248
16249 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16250
16251         * text2.C (getParFromID): removed
16252
16253         * buffer.C (getParFromID): new method moved form lyxtext.
16254         * BufferView2.C (insertErrors): adjust
16255         (setCursorFromRow): adjust
16256         * BufferView_pimpl.C (restorePosition): adjust
16257         * lyxfunc.C (Dispatch): adjust
16258         * undo_funcs.C (textUndo): adjust
16259         (textRedo): adjust
16260         (textHandleUndo): adjust
16261         (textHandleUndo): adjust
16262
16263 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16264
16265         * buffer.C: up' the LYX_FORMAT
16266
16267         * lyxfont.h: turn NO_LATEX on as default
16268
16269         * buffer.C (insertErtContents): new methods of tex style compability.
16270         (parseSingleLyXformat2Token): use it several places.
16271         * tabular.C (OldFormatRead): and here
16272
16273 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16274
16275         * text2.C: remove some commented code.
16276         reindent file.
16277
16278         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16279         * trans.C: changes because of the above.
16280
16281 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16282
16283         * text2.C (setCounter): Fix counters bug with bibliography layout.
16284
16285 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16286
16287         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16288         own member functions
16289         (simpleTeXSpecialChars): ditto
16290
16291 2001-07-06  Juergen Vigna  <jug@sad.it>
16292
16293         * a lot of files: changed the access to LyXText::status and the
16294         call of undo-functions.
16295
16296         * undo.[Ch]: added a inset_id to the undo informations.
16297
16298         * undo_funcs.[Ch]: added and moved here all undo functions.
16299
16300         * lyxtext.h: give the status enum a weight, made status_ a private
16301         variable and made accessor functions for it, removed the whole bunch
16302         of undo-functions as they are now in their own file, make some
16303         functions publically available. Added function ownerParagraph with
16304         int parameter.
16305
16306         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16307         made InInset() a const function, added getParFromID() function.
16308
16309         * buffer.[Ch]: added const version for inset_iterator functions,
16310         added getInsetFromID() function.
16311
16312         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16313         changed undo functions for new version.
16314
16315 2001-07-05  Juergen Vigna  <jug@sad.it>
16316
16317         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16318         unknow mechanism does not call the proper constructor but only this
16319         one also if I request the other!?
16320
16321 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16322
16323         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16324
16325         * text2.C (LyXText): use initialization lists.
16326
16327         * lyxtext.h (Selection): initialize set_ and mark_
16328         (init): remove method
16329
16330 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16331
16332         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16333
16334 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16335
16336         * screen.[Ch]: change method names to begin with lowercase
16337
16338         * BufferView_pimpl.C (updateScrollbar): simplify further and
16339         hopefully make it a bit faster.
16340
16341 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16342
16343         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16344         calling directly xforms functions.
16345
16346         * Painter.C (Painter):
16347         * lyx_cb.C (MenuWrite):
16348         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16349         fl_display.
16350
16351         * lyx_gui.C: remove bogus guiruntime extern declaration.
16352
16353 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16354
16355         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16356         in NEW_INSETS
16357         (redoDrawingOfParagraph): ditto
16358         (redoParagraphs): ditto
16359         (cutSelection): don't create a object for CutAndPaste use the
16360         static method directly
16361         (pasteSelection): ditto
16362
16363         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16364         LyXview (+ rename)
16365
16366 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16367
16368         * modifications to some other files because of this.
16369
16370         * Makefile.am (lyx_SOURCES): add XFormsView
16371
16372         * XFormsView.[Ch]: new files
16373
16374         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16375         the main window. Move the gui dependent stuff to XFormsView
16376
16377 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16378
16379         * tabular.C (GetCellInset): update cur_cell also in the row/col
16380         version of this function.
16381
16382         * lyxfunc.C: no need to include figure_form.h here.
16383
16384         * FontLoader.h:
16385         * lyxfunc.h:
16386         * lyxscreen.h:
16387         * text2.C:
16388         * lyxvc.C: no need to include forms.h here.
16389
16390 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16393
16394         * lyxfunc.C (Dispatch):
16395         * Spacing.C (set):
16396         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16397         constructor argument.
16398
16399 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16400
16401         * paragraph.C (Paragraph): dont't clear, and just set layout.
16402         (makeSameLayout): use params's copy contructor.
16403
16404         * ParagraphParameters.[Ch] (makeSame): delete method
16405
16406 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16407
16408         * Variables.[Ch]: fix indentation, rename set to isSet
16409
16410 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16411
16412         * lyxfunc.C (Dispatch): fix typo
16413
16414 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16415
16416         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16417         upper_bound.
16418
16419         * bufferlist.C: include assert.h for emergencyWrite().
16420
16421 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16422
16423         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16424           give up at last (bug #425202) !
16425
16426 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16427
16428         * lyx_gui_misc.C:
16429         * sp_form.h:
16430         * sp_form.C:
16431         * spellchecker.h:
16432         * spellchecker.C: strip spellchecker options and bring up
16433           preferences tab instead
16434
16435 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16438         the istringstream constructor
16439
16440 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16441
16442         * paragraph.C (getLayout): fix return value
16443
16444         * paragraph.h: do not declare getLayout as inline.
16445
16446         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16447
16448 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16449
16450         * lyxcursor.h (operator<): new func
16451         (operator>): new func
16452         (operator>=): new func
16453         (operator<=): new func
16454
16455         * text.C (changeCase): use selection.start and selection.end
16456         (changeRegionCase): require from to be <= to. Require par to be a
16457         valid paragraph.
16458
16459         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16460
16461 2001-06-27  Juergen Vigna  <jug@sad.it>
16462
16463         * text.C (cursorLeftOneWord): changed to return the cursor and added
16464         overlay with BufferView * parameter which calls this one.
16465         (getWord): added
16466         (selectWord): use new getWord function.
16467         (changeCase): renamed from changeWordCase as and extended to work
16468         also on selections.
16469
16470         * lyxtext.h: added enum word_location
16471
16472         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16473         changeCase as this operates now also on selections.
16474
16475 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16476
16477         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16478
16479         * many files: send debug output to Debug::INFO instead of
16480         Debug::ANY.
16481
16482         * converter.C (View):
16483         (Convert):
16484         (Move): send debug output to Debug::FILES instead of console.
16485
16486 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16487
16488         * lyxfunc.C (getStatus): use func_status
16489
16490         * func_status.h: new header, describing the results of
16491         LyXFunc::getStatus;
16492
16493         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16494         LFUN_MATH_HALIGN.
16495
16496 2001-06-25  The LyX Project  <jug@sad.it>
16497
16498         * buffer.C (sgmlOpenTag):
16499         (sgmlCloseTag):
16500         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16501
16502 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16503
16504         * text2.C: remove some dead code
16505
16506         * tabular.C (GetCellInset): store the last cell checked (gotten)
16507
16508         * tabular.h: add the helper for the speedup
16509
16510         * lyxtext.h: remove some dead code
16511
16512 2001-06-26  The LyX Project  <Asger>
16513
16514         * paragraph.C: Change export to LaTeX of alignment to
16515         \begin{center} and family for better roundtrip work with reLyX.
16516
16517         * Tune the math drawing a bit.
16518
16519 2001-06-25  The LyX Project  <Asger>
16520
16521         * LColor.C (LColor): New color for math background. New color
16522         for buttons.
16523
16524 2001-06-25  The LyX Project  <jug@sad.it>
16525
16526         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16527
16528         * lyxfunc.C (Open):
16529         * bufferlist.C (newFile): do not restrict to files ending with
16530         .lyx
16531
16532         * BufferView_pimpl.C (MenuInsertLyXFile):
16533
16534 2001-06-24  The LyX Project  <jug@sad.it>
16535
16536         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16537         of compare_no_case
16538
16539 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16540
16541         * lyxtext.h: rename most methods to begin with a small char.
16542         Lots of changes because of this.
16543
16544         * paragraph.C (Paragraph): do not call fitToSize
16545         (erase): call Pimpl::erase
16546         (insertChar): call Pimpl::insertChar
16547         (insertInset): call Pipl::insertInset
16548         (breakParagraph): do not call fitToSize
16549         (breakParagraphConservative): do not call fitToSize
16550         (fitToSize): remove method
16551
16552         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16553
16554 2001-06-24  The LyX Project  <Asger>
16555
16556         * Fix Qt compilation^2
16557
16558 2001-06-24  The LyX Project  <jug@sad.it>
16559
16560         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16561         depthHook(getDepth()-1).
16562
16563         * paragraph.h:
16564         * ParagraphParameters.h:
16565         * ParameterStruct.h: change type of depth to unsigned int ==
16566         depth_type. Many adaptations to other files before of that.
16567
16568 2001-06-24  The LyX Project  <Asger>
16569
16570         * Fix Qt compilation.
16571
16572 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * paragraph.h: renamed several methods to begin with small letter.
16575         several changes to many parts of the code because of this.
16576
16577 2001-06-23  The LyX Project  <jug@sad.it>
16578
16579         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16580         rewritten to discard all double spaces when KeepEmpty is off
16581         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16582         to only handle newlines but not fiddle with spaces and friends.
16583
16584         * lyxfunc.C (MenuNew): when doing 'new from template', use
16585         template_path as default directory
16586
16587 2001-06-23  The LyX Project  <Asger>
16588
16589         * Clean-up of header file includes all over
16590         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16591
16592 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16593
16594         * paragraph.h: renamed from lyxparagraph.h
16595
16596 2001-06-23  Asger  <lyx@violet.home.sad.it>
16597
16598         * Buffer.h: Removed Buffer::resize
16599         * BufferList.h: Removed BufferList::resize
16600         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16601         the document lazily when we change the width, or the font settings.
16602
16603 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16604
16605         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16606
16607 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16608
16609         * buffer.h: remove out of date comment
16610
16611 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16612
16613         * lyxscreen.h:
16614         * screen.C: fix "theoretical" GC leak
16615
16616 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16617
16618         * LaTeX.C (scanAuxFile):
16619         (deplog): remove trailing \r when reading stream (useful under
16620         win32)
16621
16622 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16623
16624         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16625         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16626         and BufferView::theLockingInset(Inset*), so should use them and not
16627         access bv_->text->the_locking_inset directly.
16628
16629         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16630
16631 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16632
16633         * Makefile.am:
16634         * tex-defs.h: remove old unused file
16635
16636 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16637
16638         * BufferView_pimpl.C: fix typo, remove minibuffer message
16639           when buffer has loaded
16640
16641 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16642
16643         * lyxfunc.C (Dispatch): use stringstream
16644         (MenuNew): use stringstream
16645         (Open): use stringstream
16646
16647         * importer.C (Import): use stringstream
16648
16649         * bufferview_funcs.C (CurrentState): use stringstream
16650
16651         * LaTeX.C (run): use stringstream
16652
16653         * BufferView_pimpl.C (savePosition): use stringstream
16654         (restorePosition): use stringstream
16655         (MenuInsertLyXFile): use stringstream
16656
16657 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16658
16659         * BufferView.C:
16660         * Bullet.C:
16661         * ColorHandler.C:
16662         * FontInfo.C:
16663         * FontLoader.C:
16664         * LColor.C:
16665         * LaTeXFeatures.C:
16666         * Painter.C:
16667         * gettext.C:
16668         * lyx_gui_misc.C:
16669         * lyxserver.C:
16670         * vspace.C: removed // -*- C++ -*- as first line.
16671
16672         * lyxfind.h:
16673         * version.h: added // -*- C++ -*- as first line.
16674
16675 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16676
16677         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16678
16679         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16680         of string
16681
16682 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16683
16684         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16685         of floats.
16686
16687 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16688
16689         * gettext.C: include LString.h even when --disable-nls is on.
16690
16691 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16692
16693         * converter.h (Get): changed argument type from int to
16694         FormatList::size_type to avoid unnecessary conversion.
16695
16696         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16697         before using it.
16698
16699 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16700
16701         * gettext.h: include LString.h even when --disable-nls is on.
16702
16703 2001-06-07  Juergen Vigna  <jug@sad.it>
16704
16705         * text.C (BreakAgain): subst spaces with tabs.
16706
16707         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16708         (resizeInsetsLyXText): set force on resizeLyXText.
16709
16710 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16711
16712         * gettext.h (gettext_init):
16713         (locale_init): use a real definition instead of a macro
16714
16715 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16716
16717         * Bufferview_pimpl.C:
16718         * LColor.h:
16719         * LColor.C: further lcolor tidies
16720
16721 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16722
16723         * BufferView_pimpl.C (updateScrollbar): simplify.
16724
16725         * BufferView2.C: don't include insets/insetinfo.h, change
16726         prototype for insertInset and call the Pimpl version. let
16727         updateInset call Pimpl version.
16728
16729         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16730         gotoInset to BufferView::Pimpl
16731
16732 2001-06-01  Juergen Vigna  <jug@sad.it>
16733
16734         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16735         inside a LockingInset (is the update needed at all?).
16736
16737 2001-05-31  Juergen Vigna  <jug@sad.it>
16738
16739         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16740         here not the old one otherwise how should we compare it afterwards
16741         if it's the same!
16742
16743 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16744
16745         * lyxfont.C:
16746         * tabular.C:
16747         * tabular-old.C:
16748         * FontInfo.C: bring C functions into global namespace when
16749         necessary
16750
16751 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * LString.h: make sure config.h has been loaded before LString.h.
16754
16755         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16756         (one for each char read by EatLine!).
16757
16758         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16759         variables.
16760
16761 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16762
16763         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16764         to the same as the par we break from
16765
16766 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16767
16768         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16769
16770         * MenuBackend.C (expand): also create menu entries for wide
16771         versions of the floats.
16772
16773         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16774
16775         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16776
16777         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16778         frontends/Makefile.am
16779
16780         * text2.C: adjust
16781         * text.C: adjust
16782
16783
16784         * tabular.C (getTokenValue): add std::
16785
16786         * tabular-old.C (getTokenValue): add std::
16787         (getTokenValue): ditto
16788         (getTokenValue): ditto
16789
16790         * screen.C (ToggleSelection): adjust
16791
16792         * lyxtext.h: put selection cursors inside a Selection struct.
16793
16794         * lyxfunc.C (moveCursorUpdate): adjust
16795
16796         * lyxfont.C (latexWriteStartChanges): add std::
16797
16798         * lyxfind.C: adjust
16799
16800         * font.h: delete with(char const *, LyXFont const &)
16801
16802         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16803
16804         * FontInfo.C (getFontname): add std::
16805
16806         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16807         (workAreaButtonPress): adjust
16808         (tripleClick): adjust
16809         (update): adjust
16810         (moveCursorUpdate): adjust
16811         (Dispatch): adjust
16812
16813         * BufferView2.C (gotoInset): adjust
16814
16815 2001-05-30  Juergen Vigna  <jug@sad.it>
16816
16817         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16818         to check pspell I add this as default as I now have new pspell
16819         libraries and they seem to use this.
16820
16821 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16822
16823         * text2.C (CutSelection): make the cursor valid before the call to
16824         ClearSelection.
16825
16826 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16827
16828         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16829         relied on 0 terminated strings and other horrors. Bug found due to
16830         the new assert in lyxstring!
16831
16832         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16833         KP_ keys.
16834
16835 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16836
16837         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16838         to latinkeys.bind.
16839
16840         * lyxfunc.C (processKeySym): change method of getting to the
16841         self-insert char.
16842
16843         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16844         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16845         * BufferView_pimpl.[Ch]: here as private methods.
16846
16847 2001-05-28  Juergen Vigna  <jug@sad.it>
16848
16849         * text.C (SetHeightOfRow): added the update() call again as it is
16850         needed to initialize inset dimensions!
16851
16852 2001-05-16  Juergen Vigna  <jug@sad.it>
16853
16854         * text2.C (SetCharFont): Add new function with BufferView * and
16855         bool toggleall parameters for setting insets internal fonts.
16856         (SetFont): Freeze the undo as we may change fonts in Insets and
16857         all this change should be inside only one Undo!
16858
16859         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16860         setting font's in insets as for them we have the SetFont function!
16861
16862 2001-05-15  Juergen Vigna  <jug@sad.it>
16863
16864         * text2.C (ClearSelection): to be sure we REALLY don't have any
16865         selection anymore!
16866
16867         * tabular.C (TeXCellPreamble): fixed the left border problem for
16868         multicolumn cells.
16869
16870 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16871
16872         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16873         dependancy file
16874
16875 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16876
16877         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16878         LFUN_BREAKPARAGRAPH.
16879
16880         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16881         help test to "internal only", similar for LFUN_INSERT_URL
16882
16883         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16884         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16885         auto_region_delete and deadkeys.
16886
16887 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16888
16889         * LColor.h:
16890         * LColor.C: remove some dead entries, tidy a little
16891
16892 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16893
16894         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16895         commented code.
16896         (Dispatch): implement LFUN_ESCAPE
16897
16898         * commandtags.h: add LFUN_ESCAPE
16899
16900         * LyXAction.C (init): add entry for LFUN_ESCAPE
16901
16902         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16903         Remove commented code.
16904         (insertNote): moved here
16905         (open_new_inset): moved here
16906
16907         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16908         BufferView_pimpl
16909
16910 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16911
16912         * kbmap.C (findbinding): clean it up and make it work correctly.
16913
16914         * lyx_main.C (init): do not pass argc and argv as parameters
16915
16916 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16917
16918         * buffer.C: fix path for OS/2 & Win32
16919
16920         * lyx_gui.C:
16921         * lyx_main:
16922         * lyx_main.C: Added os:: class.
16923
16924         * os2_defines.h: update
16925
16926 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16927
16928         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16929         better by trying again with reduced state.
16930
16931 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16932
16933         * lyxrc.C (read): print error about invalid key sequence only when
16934         debugging (because not all latinX keysyms are known to some X
16935         servers)
16936
16937         * kbsequence.C (getiso): add a few std:: qualifiers
16938         (getiso): comment out extra return statement.
16939
16940 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16941
16942         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16943         handling.
16944         (Dispatch): enhance the accent inset a bit. (not perfect)
16945
16946 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16947
16948         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16949
16950 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16951
16952         * bufferlist.C (emergencyWrite): fix assert() call
16953
16954 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16955
16956         * text.C (InsertChar): Added trivial patch to only send the "you
16957         can not do multiple spaces this way" message once during a
16958         session.
16959
16960 2001-05-08  Baruch Even  <baruch@lyx.org>
16961
16962         * Makefile.am: Changed order of libraries to get LyX to link properly
16963         with the gnome frontend.
16964
16965 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16966
16967         * LaTeXFeatures.h: add a std:: qualifier
16968
16969 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16970
16971         * paragraph.C (String): use stringstream
16972
16973 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16974
16975         * paragraph.C (writeFile): remove footflag arg
16976
16977         * buffer.C (makeLaTeXFile): use stringstream
16978         (latexParagraphs): remove footnot gurba
16979
16980         * LaTeXFeatures.C (getPackages): use stringstream
16981         (getMacros): likewise
16982         (getTClassPreamble): likewise
16983         (getFloatDefinitions): new method
16984
16985         * paragraph.C (writeFile): reindent
16986         (Erase): reindent
16987
16988         * WorkArea.h: revert the xpos + etc changes.
16989
16990         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16991
16992         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16993
16994         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16995         (pasteSelection): likewise
16996         * text2.C (CreateUndo): likewise
16997
16998 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16999
17000         * minibuffer.C (peek_event): temporarily reduce the functionality
17001         of the minibuffer (to allow args on lfuns)
17002
17003         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17004         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17005
17006         * buffer.C (readInset): add compability reading of old float
17007         lists, add reading of new style float list.
17008         (readInset): avoid reevaluation of inscmd.getCmdName()
17009         (getLists): reindent
17010
17011         * MenuBackend.C (MenuItem): implement parsing of
17012         md_floatlistinsert and md_floatinsert.
17013         (expand::LastFiles): move initalizaton of iterators out of loop,
17014         avoid reevaluation.
17015         (expand::Documents): introduce typdedef vector<string> Strings,
17016         and use it.
17017         (expand::ExportFormats): introduce typedef vector<Format const *>
17018         Formats, and use it.
17019         (expand): implement FloatListInsert and FloatInsert.
17020
17021         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17022         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17023         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17024
17025         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17026         handling.
17027         (Dispatch::LFUN_FLOAT_LIST): implement
17028
17029 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17030
17031         * LaTeX.C (run): Fix problem with --export code.
17032
17033 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17034
17035         * BufferView.[Ch] (workarea): removed.
17036         (getClipboard) new method; wrapper for workarea()->getClipboard()
17037
17038         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17039         bug.
17040
17041         * WorkArea.h (width, height, xpos, ypos): These methods all
17042         returned the dimensions of the work_area sub-area of WorkArea,
17043         resulting in a position error if the WorkArea were resized. Now
17044         return the dimensions of the entire WorkArea.
17045
17046         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17047
17048 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17049
17050         * LaTeX.C (deplog): correct the syntax of regex reg1
17051
17052 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17053
17054         * undo.C: remove !NEW_INSETS cruft
17055
17056 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17057
17058         * text2.C: remove !NEW_INSETS cruft
17059
17060         * text.C: remove !NEW_INSETS cruft
17061
17062         * tabular.C: remove !NEW_INSETS cruft
17063
17064         * spellchecker.C: remove !NEW_INSETS cruft
17065
17066         * lyxtext.h: remove !NEW_INSETS cruft
17067
17068         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17069
17070         * lyxfunc.C: remove !NEW_INSETS cruft
17071
17072         * lyxfind.C: remove !NEW_INSETS cruft
17073
17074         * lyx_cb.C: remove !NEW_INSETS cruft
17075
17076         * figureForm.C: remove  !NEW_INSETS cruft
17077
17078         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17079
17080         * buffer.[Ch]: remove !NEW_INSETS cruft
17081
17082         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17083
17084         * CutAndPaste.C: remove !NEW_INSETS cruft
17085
17086         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17087
17088         * BufferView2.C: remove !NEW_INSETS cruft
17089
17090         * BufferView.h: remove !NEW_INSETS cruft
17091
17092 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17093
17094         * Lsstream.h: include LString.h before the sstream headers to
17095         fix problem with gcc 2.95.3 and lyxstring
17096
17097 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17098
17099         * lyx_main.C: add using directives when needed for C functions
17100         declared in std:: namespace.
17101
17102 2001-04-27  Juergen Vigna  <jug@sad.it>
17103
17104         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17105         (SetHeightOfRow): comment out the update call should not be needed!
17106
17107 2001-04-13  Juergen Vigna  <jug@sad.it>
17108
17109         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17110         (LyXTabular): tried to minimize operator= operations (and realized
17111         hopfully Lars wish).
17112
17113 2001-04-27  Juergen Vigna  <jug@sad.it>
17114
17115         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17116
17117 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17118
17119         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17120
17121         * buffer.C (readInset): hack to make listof algorithm work
17122
17123         * BufferView_pimpl.C: hack to make listof algorithm work
17124
17125 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17126
17127         * LyXAction.C: removed all !NEW_INSETS cruft
17128         (init): moved lfun_item in method
17129
17130         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17131
17132 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17133
17134         * BufferView2.C (theLockingInset): white space.
17135
17136 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17137
17138         * minibuffer.C: include <iostream>
17139
17140         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17141
17142         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17143
17144         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17145
17146         * text.[Ch] (TransposeChars): new method
17147
17148 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17149
17150         * call message directly through LyXView instead of through LyXFunc
17151         * BufferView2.C: adjust
17152         * BufferView_pimpl.C: adjust
17153         * FontLoader.C: adjust
17154         * buffer.C: adjust
17155         * bufferview_funcs.C: adjust
17156         * converter.C: adjust
17157         * figureForm.C: adjust
17158         * importer.C: adjust
17159         * lyx_cb.C: adjust
17160         * lyx_gui_misc.C: adjust
17161         * lyxfunc.C: adjust
17162         * lyxvc.C: adjust
17163         * text2.C: adjust
17164         + more files in subdirs
17165
17166         * lyxparagraph.h (size): move up int file
17167         (GetLayout): ditto
17168
17169         * adjust all uses of Assert to lyx::Assert.
17170
17171         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17172         lyxfunctional in namespace lyx
17173         * layout.C (hasLayout): ditto
17174         (GetLayout): ditto
17175         (GetLayout): ditto
17176         (delete_layout): ditto
17177         (NumberOfClass): ditto
17178         * converter.C (GetFormat): ditto
17179         (GetNumber): ditto
17180         (Add): ditto
17181         (Delete): ditto
17182         (SetViewer): ditto
17183         * bufferlist.C (getFileNames): ditto
17184         (emergencyWriteAll): ditto
17185         (exists): ditto
17186         (getBuffer): ditto
17187         * MenuBackend.C (hasSubmenu): ditto
17188         (hasMenu): ditto
17189         (getMenu): ditto
17190         * BufferView_pimpl.C (getInsetByCode): ditto
17191
17192 2001-04-18  Juergen Vigna  <jug@sad.it>
17193
17194         * vspace.C (asLatexString): fixed the 100% problem.
17195
17196 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17197
17198         * lyxfunc.C (Dispatch):
17199         * minibuffer.C:
17200         * minibuffer.h: add a few std:: qualifiers
17201
17202 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17203
17204         * minibuffer.[Ch]: reimplement so that commands is initiated and
17205         run from lyxfunc, simplified som handling, and made the completion
17206         and history code for complete. wip.
17207
17208         * lyxfunc.C (processKeySym): call message
17209         (miniDispatch): new temporary method
17210         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17211         (LFUN_MESSAGE): implement
17212         (LFUN_MESSAGE_PUSH): implement
17213         (LFUN_MESSAGE_POP): implement
17214         (initMiniBuffer): the initial/defualt minibuffer message.
17215
17216         * lyxfont.[Ch]: inline some more getters
17217
17218         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17219
17220         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17221
17222         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17223         (AutoSave): use LFUN_MESSAGE
17224         (Reconfigure): ditto
17225
17226         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17227
17228         * figureForm.C: use LFUN_MESSAGE
17229
17230         * converter.C (runLaTeX): use LFUN_MESSAGE
17231
17232         * bufferview_funcs.C: use LFUN_MESSAGE
17233         (Melt): ditto
17234         (changeDepth): ditto
17235
17236         * bufferparams.h: use boost::
17237
17238         * bufferlist.h: inherit privately from noncopyable
17239
17240         * bufferlist.C (loadLyXFile): remove some commented code.
17241
17242         * buffer.C (runChktex): use LFUN_MESSAGE
17243
17244         * ShareContainer.h: inherit privately from noncopyable
17245
17246         * ParagraphParameters.[hC] (depth): inline it.
17247
17248         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17249         methods.
17250         (message): new method
17251         (messagePush): ditto
17252         (messagePop): ditto
17253         (show): init minibuffer
17254         (showState): direct call
17255
17256         * LaTeX.[Ch]: inherit privately from noncopyable
17257         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17258         instead of WriteStatus.
17259
17260         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17261
17262         * BufferView_pimpl.C (buffer): don't init minibuffer
17263         (workAreaButtonPress): use LFUN_MESSAGE
17264         (workAreaButtonRelease): ditto
17265         (savePosition): ditto
17266         (restorePosition): ditto
17267         (MenuInsertLyXFile): ditto
17268         (workAreaExpose): don't init minibuffer
17269         (update): remove commented code, simplify
17270
17271         * BufferView2.C (openStuff): use LFUN_MESSAGE
17272         (toggleFloat): ditto
17273         (menuUndo): ditto
17274         (menuRedo): ditto
17275         (copyEnvironment): ditto
17276         (pasteEnvironment): ditto
17277         (copy): ditto
17278         (cut): ditto
17279         (paste): ditto
17280         (gotoInset): ditto
17281         (updateInset): remove some commented code
17282
17283         * lastfiles.h: inherit privately from noncopyable
17284         * layout.h: ditto
17285         * lyx_gui.h: ditto
17286         * lyx_main.h: ditto
17287         * lyxlex.h: ditto
17288         * lyxlex_pimpl.h: ditto
17289
17290         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17291         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17292         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17293
17294         * LyXAction.h: inherit privately from noncopyable, add methods
17295         func_begin, func_end, returning iterators to the func map.
17296
17297         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17298         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17299         (func_begin): new method
17300         (func_end): new method
17301
17302         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17303         and not)
17304         (copySelection): ditto
17305         (pasteSelection): ditto
17306
17307         * BufferView.C: whitespace change
17308         * BufferView.h: inherit privately from noncopyable
17309
17310 2001-04-16  Allan Rae  <rae@lyx.org>
17311
17312         * tabular-old.C (l_getline):
17313         * spellchecker.C (sc_check_word):
17314         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17315         an unrecognised preprocessor directive.  So ensure they're wrapped.
17316
17317 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17318
17319         * src/exporter.C (Export): Give an error message when path to file
17320         contains spaces.
17321
17322 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17323
17324         * LaTeX.C (deplog): Always check that foundfile exists.
17325
17326 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17327
17328         * lyx_main.h:
17329         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17330
17331 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17332
17333         * tabular.[Ch] (getLabelList): implement new method
17334
17335         * minibuffer.h: comment ouf setTiimer
17336
17337         * minibuffer.C (ExecutingCB): constify res
17338         (peek_event): constify s
17339         (Set): constify ntext
17340         (Init): constify nicename
17341
17342         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17343
17344         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17345         (savePosition): use two params to Minibuffer::Set
17346         (restorePosition): ditto
17347
17348 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17349
17350         * lyx_main.C: include language.h
17351
17352         * Makefile.am (lyx_main.o): add language.h
17353
17354 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17355
17356         * exporter.C:
17357         * paragraph.C:
17358         * screen.C:
17359         * tabular.C:
17360         * CutAndPaste.C: include gettext.h
17361
17362         * lyxfont.h: remove old hack with ON and OFF.
17363
17364         * lyxparagraph.h:
17365         * lyxfont.h: do not include language.h...
17366
17367         * BufferView2.C:
17368         * LaTeXFeatures.C:
17369         * Painter.C:
17370         * bufferview_funcs.C:
17371         * font.C:
17372         * lyxfont.C:
17373         * text.C:
17374         * text2.C:
17375         * trans_mgr.C:
17376         * paragraph.C: ... but do it here instead
17377
17378 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17379
17380         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17381
17382         * tabular.C: small reformat
17383
17384         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17385         NEW_INSETS version
17386         (GetChar): ditto
17387         (BreakParagraph): ditto
17388         (SetOnlyLayout): ditto
17389         (SetLayout): ditto
17390
17391         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17392         with one arg less.
17393
17394         * lastfiles.C: removed most using decl, add std:: where needed
17395
17396         * buffer.C: ws changes
17397
17398         * MenuBackend.C (class compare_format): put into anon namespace
17399         (expand): constify label, names, action, action2
17400         (expand):
17401
17402         * text.C (SingleWidth): constify font
17403         (IsBoundary): constify rtl2
17404         (GetVisibleRow): constify ww
17405
17406         * LaTeX.C (deplog): constify logfile
17407
17408         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17409         start_x, end_x
17410         (workAreaExpose): constify widthChange, heightChange
17411
17412         * lyxrow.C (par): moved
17413         (height): moved
17414         (next): moved
17415         * lyxrow.h: as inlines here
17416
17417         * lyxfont.h (shape): moved from lyxfont.C
17418         (emph): moved from lyxfont.C
17419
17420         * lyxfont.C (LyXFont): use initialization list for all
17421         constructors
17422         (shape): move to lyxfont.h as inline
17423         (emph): move to lyxfont.h as inline
17424
17425
17426 2001-04-04  Juergen Vigna  <jug@sad.it>
17427
17428         * vspace.C: had to include stdio.h for use of sscanf
17429
17430 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17431
17432         * BufferView.h:
17433         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17434         independent of xforms.
17435
17436 2001-04-02  Juergen Vigna  <jug@sad.it>
17437
17438         * spellchecker.C: fixed namespace placing!
17439
17440 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17441
17442         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17443         the LyXParagraph * is 0.
17444
17445 2001-03-29  Juergen Vigna  <jug@sad.it>
17446
17447         * vspace.C: added support for %, c%, p%, l%.
17448         (stringFromUnit): added helper function.
17449         (asLatexString): changed to give right results for the %-values.
17450
17451         * buffer.C: convert the widthp in a width%.
17452
17453 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17454
17455         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17456         figureForm.[Ch].
17457
17458         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17459         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17460
17461         * lyx_cb.[Ch]: see above.
17462
17463         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17464         form1.[Ch].
17465
17466         * form1.[Ch]:
17467         * lyx.[Ch]: replaced by figure_form.[Ch].
17468
17469         * lyx_gui.C:
17470         * lyx_gui_misc.C:
17471         * lyxfunc.C: changed headers associated with above changes.
17472
17473 2001-03-27  Juergen Vigna  <jug@sad.it>
17474
17475         * BufferView_pimpl.C: set the temporary cursor right!
17476
17477 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17478
17479         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17480
17481 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17482
17483         * LString.h: removed "using std::getline"!
17484
17485         * BufferView_pimpl.C (Dispatch): changes due to changes in
17486         InsetInclude::Params.
17487
17488         * buffer.C (tag_name): removed redundant break statements as they were
17489         producing lots of warnings with my compiler.
17490
17491 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17492
17493         * LString.h: add "using std::getline" when using the real <string>.
17494
17495 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17496
17497         * buffer.C: removed bitset usage.
17498         PAR_TAG moved to an anonymous name space.
17499         (tag_name): new funtion, also in the anonymous namespace.
17500         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17501         (makeDocBookFile): clean code. Completed transition from string arrays
17502         to string vectors.
17503         (SimpleDocBookOnePar): code clean.
17504
17505 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17506
17507         * tabular.C: add some comments.
17508
17509 2001-03-22  Juergen Vigna  <jug@sad.it>
17510
17511         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17512         compatibility read a bit and fixed bug with minipage in different
17513         depth.
17514
17515 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17516
17517         * buffer.C (pop_tag): removed.
17518         (push_tag): removed.
17519         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17520         array replaced with vector. Added support for CDATA sections.
17521         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17522         at any nest level.
17523         (makeDocBookFile): XML conformant declaration of CDATA section,
17524         fixed bug related to <emphasis> in the first paragraph char.
17525         (sgmlOpenTag): exclude empty tags.
17526         (sgmlCloseTag): ditto.
17527
17528         * buffer.h (pop_tag): removed.
17529         (push_tag): removed.
17530
17531 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17532
17533         * language.h (Languages): added size_type and size().
17534
17535 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17536
17537         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17538         response on compability reading of minipages. One probliem is that
17539         the old usage of minipages was flertydig
17540
17541         * several files here and in subdirs: don't use static at file
17542         scope use anon namespaces instead.
17543
17544 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17545
17546         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17547         LaTeX output. This is necessary for Literate document
17548         processing.
17549
17550 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17551
17552         * buffer.C: insert hfill when needed.
17553
17554         * tabular.C (l_getline): use string::erase, small whitespace change.
17555
17556         * BufferView_pimpl.C: try the anon namespace.
17557         * WorkArea.C: ditto
17558
17559 2001-03-16  Juergen Vigna  <jug@sad.it>
17560
17561         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17562         otherwise it won't open options-dialogs.
17563
17564         * buffer.C: honor pextraWidth(p) on converting minipages.
17565
17566         * tabular.C (l_getline): changed the functions to strip trailing \r.
17567
17568 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17569
17570         * BufferView_pimpl.C:
17571         * minibuffer..C: added "using SigC::slot" declaration.
17572
17573 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17574
17575         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17576
17577         * text2.C: ditto
17578
17579         * text.C: ditto
17580
17581         * paragraph.C: ditto
17582
17583         * lyxtext.h: NO_PEXTRA
17584
17585         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17586
17587         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17588         * ParameterStruct.h: ditto
17589         * ParagraphParameters.h: ditto
17590         * lyxparagraph.h: ditto
17591
17592 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17593
17594         * buffer.C: add compability for minipage alignment.
17595         (latexParagraphs): remove unwanted pextra check.
17596
17597         * several files: remove CXX_WORKING_NAMESPACES
17598
17599         * buffer.C (pop_tag): tie is in namespace boost
17600
17601         * BufferView.h: noncopyable is in namespace boost
17602         * lyxlex.h: ditto
17603         * lyx_main.h: ditto
17604         * lyx_gui.h: ditto
17605         * layout.h: ditto
17606         * lastfiles.h: ditto
17607         * bufferlist.h: ditto
17608         * ShareContainer.h: ditto
17609         * LyXView.h: ditto
17610         * LyXAction.h: ditto
17611         * LaTeX.h: ditto
17612
17613 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17614
17615         * Merging changes from BRANCH_MVC back into HEAD.
17616
17617         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17618
17619 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17620
17621         * BufferView_pimpl.C: change from intl.C
17622
17623         * combox.h:
17624         * combox.C:
17625         * Makefile.am: move combox.*
17626
17627         * form1.h:
17628         * form1.C:
17629         * lyx_gui.C:
17630         * intl.h:
17631         * intl.C: remove dialog (covered by prefs)
17632
17633 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17634
17635         * lyxfunc.C (Dispatch): removed redundant break statement.
17636
17637 2001-03-14  Juergen Vigna  <jug@sad.it>
17638
17639         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17640
17641 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17642
17643         * buffer.C: add hack to fix compability reading of minipages.
17644
17645 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17646
17647         * buffer.C (getLists): Cleanup.
17648
17649 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17650
17651         * lyxfont.C (update): don't honor toggleall on font size.
17652
17653 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17654
17655         * bmtable.c:
17656         * bmtable.h:
17657         * Makefile.am: moved to frontends/xforms/
17658
17659         * lyx_gui_misc.C:
17660         * lyxfunc.C:
17661         * BufferView_pimpl.C: changes for moved mathpanel
17662
17663 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17664
17665         * gettext.h: fix gettext_init() in --disable-nls
17666
17667 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17668
17669         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17670
17671 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17672
17673         * lyx.C:
17674         * lyx.h: strip external form
17675
17676 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17677
17678         * BufferView_pimpl.C: add comment, destroySplash()
17679
17680 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17681
17682         * BufferView_pimpl.C:
17683         * LyXAction.C:
17684         * buffer.C:
17685         * commandtags.h:
17686         * lyxfunc.C: use re-worked insetinclude
17687
17688 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17689
17690         * buffer.C: add using std::stringstream.
17691
17692         * lyx_cb.C: readd using std::ios.
17693
17694         * buffer.C: add using std::map.
17695
17696         * BufferView_pimpl.C: add using std::vector.
17697
17698         * ShareContainer.h: add std:: to swap.
17699
17700         * buffer.h: add some typedefs
17701         * buffer.C (getLists): use them
17702         (getLists): renamed from getTocList.
17703         add a counter for the different float types and use it in the
17704         generated string.
17705         (getLists): use the same counter for the NEW_INSETS and the "non"
17706         NEW_INSETS
17707
17708         * lyx_cb.h: remove unused items, includes, using etc.
17709
17710         * ShareContainer.h: remove some commented code, add more comments
17711         and "documentation".
17712
17713 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17714
17715         * buffer.C (getTocList): make the list also when NEW_INSETS is
17716         defined.
17717
17718         * buffer.h: remove TocType
17719
17720         * buffer.C (getTocList): change to return a map<string,
17721         vector<TocItem> >, implement for dynamic number of list.
17722
17723         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17724         * text2.C (PasteSelection): adjust
17725         * CutAndPaste.C (pasteSelection): adjust
17726
17727         * FloatList.C (FloatList): update from the new_insets branch.
17728         * Floating.[Ch]: ditto
17729         * LaTeXFeatures.C: ditto
17730         * buffer.C: ditto
17731         * lyxlex_pimpl.C: ditto
17732
17733         * paragraph.C (Last): remove when NEW_INSETS is defined.
17734
17735         * other file: changes because of the above.
17736
17737 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17738
17739         * lyxparagraph.h: rename next to next_, previous to previous_,
17740         make them private for NEW_INSETS. Rename Next() to next(),
17741         Previous() to previous().
17742
17743         * other files: changes because of the above.
17744
17745 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17746
17747         * BufferView.h:
17748         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17749         problem.
17750
17751 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17752
17753         * main.C (main): pass lyx_localedir to gettext_init().
17754
17755         * gettext.h: remove locale_init and gettext_init macros
17756
17757         * gettext.C (locale_init): new function
17758         (gettext_init): new function
17759
17760         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17761         setlocale().
17762
17763 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17764
17765         * Moved credits to frontends:
17766         * credits.[Ch]: removed
17767         * credits_form.[Ch]: removed
17768         * lyx_gui_misc.C: remove credits stuff
17769         * Makefile.am:
17770
17771 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17772
17773         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17774
17775         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17776         unneeded destructor.
17777
17778         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17779         a standalone pointer again.
17780
17781         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17782
17783 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17784
17785         * Makefile.am:
17786         * filedlg.h:
17787         * filedlg.C:
17788         * LyXAction.C:
17789         * ToolbarDefaults.C:
17790         * bufferlist.C:
17791         * commandtags.h:
17792         * form1.C:
17793         * form1.h:
17794         * lyx_cb.C:
17795         * lyx_cb.h:
17796         * lyxfunc.h:
17797         * lyxfunc.C:
17798         * BufferView_pimpl.C: use new file dialog in GUII
17799
17800         * lyx_cb.h:
17801         * lyx_cb.C: remove LayoutsCB to Toolbar
17802
17803 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17804
17805         * ShareContainer.h (get): add std:: qualifier
17806
17807 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17808
17809         * ShareContainer.h: define a proper ShareContainer::value_type
17810         type (and use typename to please compaq cxx)
17811
17812 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17813
17814         * lyxparagraph.h: move serveral local vars to
17815         ParameterStruct/ParagraphParameters., use ShareContainer in
17816         FontTable., make vars in FontTable private and add getter and
17817         setter.
17818
17819         * paragraph.C: changes because of the above.
17820
17821         * lyxfont.h: remove copy constructor and copy assignment. (the
17822         default ones is ok), move number inside FontBits. move inlines to
17823         lyxfont.C
17824
17825         * lyxfont.C: add number to initializaton of statics, move several
17826         inlines here. constify several local vars. some whitespace
17827         cleanup. Dont hide outerscope variables.
17828
17829         * Spacing.h: add two new constructors to match the set methods.
17830
17831         * ShareContainer.h: new file, will perhaps be moved to support
17832
17833         * ParameterStruct.h: new file
17834
17835         * ParagraphParameters.h: new file
17836
17837         * ParagraphParameters.C: new file
17838
17839         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17840         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17841
17842         * BufferView_pimpl.C: ParagraphParameter changes.
17843         * buffer.C: Likewise.
17844         * bufferview_funcs.C: Likewise.
17845         * text.C: Likewise.
17846         * text2.C: Likewise.
17847
17848 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17849
17850         * lyxfind.C (LyXReplace): do not redefine default argument in
17851         implementation.
17852         (IsStringInText): ditto
17853         (SearchForward): ditto
17854         (SearchBackward): ditto
17855
17856 2001-03-06  Juergen Vigna  <jug@sad.it>
17857
17858         * lyxfind.C (IsStringInText): put parentes around expressions.
17859
17860 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17861
17862         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17863
17864 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17865
17866         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17867
17868         * stl_string_fwd.h: add comment
17869
17870         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17871
17872         * tabular.h:
17873         * tabular.C: remove unused DocBook methods
17874
17875         * intl.C:
17876         * language.C:
17877         * paragraph.C:
17878         * buffer.C:
17879         killed DO_USE_DEFAULT_LANGUAGE
17880
17881 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17882
17883         * lyx_gui.C: do not include language.h.
17884
17885         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17886         arguments in function implementation.
17887
17888 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17889
17890         * BufferView_pimpl.C: add <ctime>
17891
17892 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17893
17894         * BufferView_pimpl.C: add using std::find_if
17895
17896 2001-02-27  José Matos  <jamatos@fep.up.pt>
17897
17898         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17899         by OnlyPath.
17900
17901 2001-02-11  José Matos  <jamatos@fep.up.pt>
17902
17903         * buffer.C (makeDocBookFile): command styles now have a parameter as
17904         "title" by default.
17905
17906 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17907
17908         * layout_forms.[Ch]: removed
17909         * lyx_cb.[Ch]: out character
17910         * lyx_gui.C: out character
17911         * lyx_gui_misc.C: out character
17912         * bufferview_funcs.C: : out character,
17913         added toggleall as parameter in ToggleAndShow
17914
17915 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17916
17917         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17918
17919         * text2.C (SetCurrentFont): Disable number property at boundary.
17920
17921 2001-02-26  Juergen Vigna  <jug@sad.it>
17922
17923         * lyxfunc.C (getStatus): added a string argument override function so
17924         that this is correctly called from LyXFunc::Dispatch if it contains a
17925         do_not_use_argument which is used!
17926         (Dispatch): added check for "custom" export and call appropriate func.
17927
17928 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17929
17930         * lyxrc.C: Add language_command_local, language_use_babel and
17931         language_global_options.
17932
17933         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17934
17935         * buffer.C (makeLaTeXFile): Use language_use_babel and
17936         language_global_options.
17937
17938 2001-02-23  Juergen Vigna  <jug@sad.it>
17939
17940         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17941         which works with LyXText and putted it inside BufferView. Here now we
17942         only call for that part the BufferView::Dispatch() function.
17943
17944         * BufferView.C (Dispatch): added.
17945
17946         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17947         functions which needs to use a LyXText over from LyXFunc.
17948         (MenuInsertLyXFile): added
17949         (getInsetByCode): added
17950         (moveCursorUpdate): added
17951         (static TEXT): added
17952
17953 2001-02-22  Juergen Vigna  <jug@sad.it>
17954
17955         * BufferView_pimpl.C (update): call a status update to see if LyXText
17956         needs it.
17957
17958 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17959
17960         * vc-backend.C (revert): implement for CVS
17961         (getLog): implement for CVS
17962
17963 2001-02-20  Juergen Vigna  <jug@sad.it>
17964
17965         * text2.C (ClearSelection): added BufferView param for inset_owner call
17966
17967         * lyxfunc.C (TEXT): added this function and use it instead of
17968         directly owner->view()-text of getLyXText().
17969
17970 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17971
17972         * src/layout_forms.C: out preamble
17973         * src/layout_forms.h: out preamble
17974         * src/lyx_cb.C: out preamble
17975         * src/lyx_cb.h: out preamble
17976         * src/lyx_gui.C: out preamble
17977         * src/lyx_gui_misc.C: out preamble
17978         * src/lyxfunc.C: connect with guii preamble
17979
17980 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17981
17982         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17983
17984 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17985
17986         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17987         whether to run bibtex.
17988
17989 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17990
17991         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17992
17993 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17994
17995         * Makefile.am (lyx_SOURCES): removed bibforms.h
17996
17997         * vspace.h: doxygen
17998
17999         * text.C (GetVisibleRow): make several local vars const
18000
18001         * tabular.C: small cleanup.
18002
18003         * lyxserver.C (callback): use compare instead of strncmp
18004
18005         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18006         inlines to after class or to paragraph.C
18007
18008         * lyxfont.h: remove friend operator!=
18009
18010         * converter.h: move friend bool operator< to non friend and after
18011         class def.
18012
18013         * combox.h: small cleanup
18014
18015         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18016         to inlines after class def.
18017
18018         * buffer.C (pop_tag): use string operations instead of strcmp
18019
18020         * bmtable.c: doxygen, small cleanup
18021
18022         * LaTeX.h: remove friend operator==
18023
18024 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18025
18026         * screen.C:
18027         * lyxrc.[Ch]:
18028         * lyxfunc.C:
18029         * lyxfont.[Ch]:
18030         * lyx_cb.C:
18031         * intl.[Ch]:
18032         * commandtags.h:
18033         * buffer.C:
18034         * WorkArea.[Ch]:
18035         * LyXAction.C:
18036         * BufferView_pimpl.C:
18037         * BufferView.[Ch]: remove cruft
18038
18039 2001-02-14  Juergen Vigna  <jug@sad.it>
18040
18041         * lyxfunc.C: removed #if 0 unused code
18042
18043         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18044
18045         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18046
18047         * text2.C (SetSelection): added a BufferView * parameter
18048
18049 2001-02-13  Juergen Vigna  <jug@sad.it>
18050
18051         * lyxfunc.C (Dispatch): fixed protected blank problem.
18052         * BufferView2.C (protectedBlank): added LyxText * parameter.
18053
18054         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18055         (AppendColumn): same as above for column_info.
18056
18057         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18058         (moveCursorUpdate): use a LyXText param for support of InsetText.
18059
18060         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18061         (tripleClick): ditto
18062
18063         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18064
18065         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18066
18067         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18068
18069         * text2.C (SetSelection): set correct update status if inset_owner
18070         (ToggleFree): ditto
18071
18072 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18073
18074         * tabular.C: remove some commented code.
18075
18076 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18077
18078         * BufferView_pimpl.C: call hideSplash()
18079
18080         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18081
18082         * include_form.h:
18083         * bibforms.h: remove
18084
18085         * lyxfunc.C:
18086         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18087           add LFUN_CHILD_CREATE
18088
18089         * counters.h: fix tiny typo
18090
18091         * lyx_cb.C:
18092         * lyx.h:
18093         * lyx_gui.C:
18094         * lyx.C: move splash to frontends/xforms/
18095
18096         * lyx_gui_misc.C: move Include and Bibform to frontends
18097
18098         * lyxvc.h: clarify comment
18099
18100         * vspace.C: tiny housekeeping
18101
18102 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18103
18104         * text.C (PrepareToPrint): RTL Fix.
18105
18106         * paragraph.C (GetUChar): New method.
18107         (String):  Use GetUChar.
18108
18109         * buffer.C (asciiParagraph): Use GetUChar.
18110
18111 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18112
18113         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18114
18115 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18116
18117         * buffer.h:
18118         * buffer.C: rename to getLogName(), handle
18119           build log / latex log nicely
18120
18121 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18122
18123         * MenuBackend.C:
18124         * MenuBackend.h: remove support for reference menuitem type.
18125
18126 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18127
18128         * BufferView_pimpl.C: housekeeping
18129         * BufferView_pimpl.h:
18130         * LyXView.h:
18131         * Makefile.am:
18132         * Timeout.C:
18133         * Timeout.h:
18134         * minibuffer.h: move Timeout GUI-I
18135
18136 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18137
18138         * lyxrc.C (read): Update converters data-structures.
18139
18140 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18141
18142         * LaTeX.h (operator!=): add operator != for Aux_Info
18143
18144 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18145
18146         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18147
18148         * LaTeXLog.C: deleted, useful code moved to Buffer
18149
18150         * buffer.h:
18151         * buffer.C: new function getLatexLogName()
18152
18153         * lyx_gui_misc.C:
18154         * lyx_gui.C:
18155         * lyxvc.C:
18156         * lyxvc.h:
18157         * lyxfunc.C: use frontends for LaTeX and VC logs
18158
18159 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18160
18161         * LaTeX.h: yet another std:: that Allan forgot.
18162
18163         * Variables.C (set): renamed from isset(), because this clashes
18164         with some HP-UX macros (grr).
18165
18166 2001-02-06  Allan Rae  <rae@lyx.org>
18167
18168         * LaTeX.h: Another bug fix.  Missing std:: this time.
18169
18170 2001-02-04  Allan Rae  <rae@lyx.org>
18171
18172         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18173         floats problem. I've left it commented out because it's not quite
18174         correct.  It should also test that the current object is a table or
18175         figure inset.  But I haven't gotten around to figuring out how to do
18176         that.  I *think* it'll be something like: "table" == inset.type()
18177
18178         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18179         bool.
18180
18181 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18182
18183         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18184         all the citation/databases/styles in the auxilary file.
18185         (run): Rerun latex if there was a babel language error.
18186
18187 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18188
18189         * text.C (Backspace): Preserve the font when changing newline char
18190         with a space.
18191         (BreakParagraph): If the cursor is before a space, delete the space.
18192
18193         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18194
18195 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18196
18197         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18198         new argument (code).
18199         (ChangeCitationsIfUnique): New method.
18200
18201         * paragraph.C (GetPositionOfInset): Handle bibkey.
18202
18203 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18204
18205         * BufferView_pimpl.h: change type of Position::par_pos to
18206         LyXParagraph::size_type.
18207
18208 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18209
18210         * BufferView_pimpl.C (savePosition, restorePosition): Write
18211         messages to minibuffer.
18212
18213 2001-01-28  José Matos  <jamatos@fep.up.pt>
18214
18215         * buffer.C (makeDocBookFile): adds support for document language.
18216         A silly restriction on the name of LatexCommand types where removed.
18217         Added support for CDATA sections, allows to chars unescaped, used
18218         among others in code, to avoid escape < and >.
18219
18220 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18221
18222         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18223         saved positions instrad of a stack. Furthermore, a position is
18224         stored using paragraph id/paragraph position.
18225
18226         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18227         Remove LFUN_REF_BACK.
18228
18229 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18230
18231         * converter.C (dvipdfm_options): New method.
18232
18233 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18234
18235         * vspace.C (isValidLength): Fix for empty input string.
18236
18237 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18238
18239         * LyXAction.C (init): change description of LFUN_FIGURE to
18240         "Insert Graphics"
18241
18242 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18243
18244         * LaTeX.C: add using directive
18245
18246 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18247
18248         * MenuBackend.C (expand): Fix the sorting of the formats.
18249
18250 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18251
18252         * lyx_main.C: tiny error message fix
18253
18254 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18255
18256         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18257         calling fl_initialize(). This fixes the problem with ',' as
18258         decimal separator in text files.
18259
18260 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18261
18262         * trans.C (process): Fix the keymap bug.
18263
18264 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18265
18266         * LaTeX.C (scanAuxFiles): New method. Provides support for
18267         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18268         (scanLogFile) Scan for "run BibTeX" messages.
18269
18270         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18271         OT1 font encoding. Also, load the aecompl package if the ae
18272         package is loaded.
18273
18274         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18275
18276 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18277
18278         * texrow.C (increasePos): turn two error messages into debug
18279         messages.
18280
18281 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18282
18283         * LaTeX.C (scanAux): Handle the \@input macro.
18284         (runBibTeX): Use scanAux().
18285
18286         * language.C (latex_options_): New field.
18287
18288         * LaTeXFeatures.C (getMacros): Add language macros.
18289
18290         * buffer.C (makeLaTeXFile): Small fix.
18291
18292 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18293
18294         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18295
18296         * text2.C: add a using directive.
18297
18298 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18299
18300         * BufferView2.C:
18301         * lyx_gui_misc.h:
18302         * lyxfr1.C:
18303         * lyxfunc.C: kill LyXBell.
18304
18305 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18306
18307         * text.C (IsBoundary): Remove the error message
18308
18309         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18310
18311         * lyxrc.C (setDefaults): Correct initialization value for
18312         font_norm_type.
18313
18314 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18315
18316         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18317         gotoError().
18318
18319         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18320         and GotoNextNote().
18321
18322         * src/LyXAction.C: Added reference-next.
18323
18324         * text.C (InsertChar): Use contains instead of strchr.
18325
18326         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18327
18328 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18329
18330         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18331         alignment commands (when needed).
18332
18333         * text.C (InsertChar): Add ':' to number separator chars.