]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix bug 2010 (boundary effects at the end of text insets)
[lyx.git] / src / ChangeLog
1 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
4         end of paragraph. (bug 2010)
5
6 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * text.C (leftMargin): check for inInset == 0
9
10 2005-08-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11
12         * text.C (leftMargin): test for insetbase's new neverIndent()
13         bool instead of listing each and every inset that does not
14         wish par indendation.
15
16 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
17
18         * buffer_funcs.C (setCounter): put the code to compute enum label
19         here (where it belongs).
20
21         * counters.C (enumLabel): move code to buffer_funcs.C.
22
23 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
24
25         * outputparams.[Ch]: store local_font instead of local_language
26         * paragraph.C (simpleTeXOnePar): adapt to the change above
27
28 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * buffer_funcs.C:
31         * counters.[Ch]: clean up special code for Hebrew.
32
33 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
36         than 2.
37
38 2005-09-08  Angus Leeming  <leeming@lyx.org>
39
40         * ispell.C:
41         * lyxrc.C: correct grammar describing invocation of the
42         spellchecker.
43
44 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
45
46         * text.C (read): remove unused variable.
47         (readParToken): remove static Change variable (never good in
48         recursive settings...); add it as a parameter instead.
49
50         * paragraph_pimpl.C (acceptChange): make debug info conditional.
51
52         * metricsinfo.C (PainterInfo): add new member erased_.
53
54         * rowpainter.C (RowPainter): add erased_ member, initialized from
55         PainterInfo. 
56         (paintInset): pass erased_ to Inset::draw.
57
58         * lyxfunc.C (lookupChange): new function. Tells whether change 
59         tracking is disabled at a given postion.
60         (getStatus): disable some actions when in deleted text with change
61         tracking. 
62
63 2005-08-03  John Levon  <levon@movementarian.org>
64         
65         * tabular.C (appendColumn, setMultiColumn): adapt to change to
66         InsetText::clear().
67
68         * paragraph_pimpl.C (markErased): add bool argument and handle it.
69         Also make sure to mark insets recursively.
70         (rejectChange, erase): be recursive
71
72         * paragraph.C (markErased): add bool argument.
73 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * lyxfind.C (findNextChange): tiny cleanup.
76
77         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
78         change tracking with the cursor in an inset; make sure the first
79         change is not skipped.
80
81 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
82
83         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
84         tabularStackDirty to work around bug 1919 (tabular needs
85         to know whether its own cell paste buffer or the one of 
86         texted is newer.
87         * CutAndPaste.C: mark tabular_stack_ clean after copy.
88
89 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
90
91         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
92
93 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
94
95         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
96         use old deleteion algorithm when changetracking is on.
97
98 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * messages.C (get): add debug output.
101
102 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * text.C (cursorX): fix bug 1965: cursor movement at
105         line end broken in RtL.
106         (drawSelection): fix bug 1970: drawing of single-line 
107         selection broken for RtL.
108
109 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
110
111         bug 465.
112
113         * dociterator.h (clear, push_back, pop_back): change from
114         protected to public.
115
116         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
117         and changed to just return the value of the item depth; take a
118         ParIterator as argument; take the itemdepth at outer nesting level
119         in account if necessary; cleanup and comment the code.
120         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
121         and changed to just return true if reset is needed; take a
122         ParIterator as argument; cleanup and comment the code.
123         (setCounter): adapt to above changes.
124
125 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * text3.C (dispatch): make debug message optional
128
129 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
130
131         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
132         inset. (bug 1963)
133
134 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
135
136         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
137
138 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
139
140         * text.C (insertChar):
141         * text2.C (deleteEmptyParagraphMechanism): take care whether 
142         a blank has been deleted (in change tracking mode) (bug 1254).
143
144 2005-07-20  John Levon  <levon@movementarian.org>
145
146         * text2.C (insertStringAsLines): remove old dubious code,
147         fixing bug 1939.
148
149 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * MenuBackend.C (expandToc): use Floating::listName() as title of
152         the floats submenus.
153
154 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
155
156         * toc.[Ch]: Do not use translatable strings (bug 1870).
157
158 2005-07-20  John Levon  <levon@movementarian.org>
159
160         * tabular.C: fix 1748 - setting multicolumn adds
161           left line to the first cell
162
163 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
164
165         bug 1920
166         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
167         pars in one go.
168
169 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
170
171         * messages.C: supress some lyxerr messages
172
173 2005-07-18  Juergen Vigna  <jug@lyx.org>
174
175         * text.C (drawSelection): honor boundary when asking for cursorX.
176
177 2005-07-17  José Matos  <jamatos@fc.up.pt>
178
179         * tabular.C (recalculateMulticolumns): fix handling of one column
180         tables.
181
182 2005-07-17  Juergen Vigna  <jug@lyx.org>
183
184         * text.C (Delete, backspace): fixed so that paragraph with the
185         same layout can be merged by Delete/Backspace.
186
187 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
188
189         * text.C (readParToken): fix spelling.
190
191 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * text2.C: fix counter update for DEPM problem reported by
194         Georg Baum
195
196 2005-07-17  Juergen Vigna  <jug@lyx.org>
197
198         * BufferView_pimpl.C (setBuffer): save/restore the
199         cursor/selection when switching buffers
200
201         * buffer.h: 
202         * buffer.C (saveCursor): add saveDocumentIterators to save the
203         cursor when switching buffer.
204
205 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
206
207         * debug.C: fix typo
208         * buffer.C: clarify message
209         
210 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
211
212         * dociterator.C (DocIterator): fix initialization order
213
214 2005-07-17  Juergen Vigna  <jug@lyx.org>
215
216         * text2.C (cursorHome): 
217         * text.C (drawSelection, cursorX): 
218         * dociterator.C (textRow): add boundary to getRow() call
219
220         * paragraph.C (getRow): implementation of below
221
222         * paragraph.h: add parameter boundary for getRow() function
223
224 2005-07-17  José Matos  <jamatos@fc.up.pt>
225
226         * buffer.C:
227         * bufferparams.[Ch]:
228         * tex-strings.[Ch]: new file format, remove support for a4.sty,
229         a4wide.sty and a4widemargins.
230
231 2005-07-17  Juergen Vigna  <jug@lyx.org>
232
233         * text2.C (cursorLeft): fix one of error
234
235 2005-07-17  Juergen Vigna  <jug@lyx.org>
236
237         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
238                    cursorEnd):
239         more fixes for boundary handling
240
241         * text3.C (dispatch): don't reset cursor if boundary has changed
242         on cursor movement.
243
244 2005-07-16  Juergen Vigna  <jug@lyx.org>
245
246         * text2.C (getColumnNearX): hopefully got it right now,
247         check if we are on column 0 for special case.
248
249 2005-07-16  Juergen Vigna  <jug@lyx.org>
250
251         * text2.C (getColumnNearX): handle special case Newline Inset
252
253         * text.C (singleWidth): Just remove bogus check
254
255 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
256
257         * funcrequest.C (split): avoid reading uninitialized char c
258
259 2005-07-16  José Matos  <jamatos@fc.up.pt>
260
261         * buffer.C:
262         * converter.C:
263         * lyxrc.C:
264         * paper.h:
265         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
266         single papersize variable.
267
268 2005-07-16  Juergen Vigna  <jug@lyx.org>
269
270         * text3.C (dispatch): honor boundary when checking if a cursor
271         movement has been done
272
273         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
274         (setCursor, setCursorIntern): fix cursor movement with boundary
275
276 2005-07-16  Juergen Vigna  <jug@lyx.org>
277
278         * text.C (currentState): output the actual Boundary
279
280 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * factory.C (createInset): fix bad logic for tabular creation
283
284 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
285
286         * lyx_main.C (init): change some reLyX reference to tex2lyx
287
288 2005-07-16  Juergen Vigna  <jug@lyx.org>
289
290         * dociterator.C (DocIterator): initialize boundary
291
292 2005-07-16  Juergen Vigna  <jug@lyx.org>
293
294         * text2.C (getColumnNearX): Consider rows without trailing blank.  
295
296 2005-07-16  André Pönitz  <poenitz@gmx.net>
297
298         * lyxfont.h: Change order of declarations to give the compiler
299         a better chance to inline things
300
301         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
302         questions on unsaved docs for better scritability
303
304 2005-07-16  André Pönitz  <poenitz@gmx.net>
305
306         * paragraph.h (getChar): remove asserts as the same kind of security
307         can be achieved by using a suitable standard library implementation
308         and the function was in the critical path (25.9% in profiler)
309
310 2005-07-16  Juergen Vigna  <jug@lyx.org>
311
312         * cursor.C (bruteFind2):
313         * bufferview_funcs.C (coordOffset): 
314         * text.C (cursorX,cursorY): Handle cursor position after last char
315         in row before a inset which uses a whole row.
316
317 2005-07-15  José Matos <jamatos@lyx.org>
318
319         * output_plaintext.[Ch] (writeFileAscii): control reference title
320         printing.
321         (asciiParagraph): noparbreak was already deal and was incorrectly
322         used.
323
324 2005-07-15  Juergen Vigna <jug@lyx.org>
325
326         * lyxfunc.C (dispatch): save and restore the cursor after a
327         textclass switch.
328
329 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
330
331         * text.C (backspace): bug 806 for empty keepempty paragraphs we
332         change the layout to default before letting DEPM do its thing.
333
334         * paragraph_funcs.C (breakParagraph): dont reset the layout on
335         keepEmpty paragraphs
336
337         * text.C (setCursorFromCoordinates): add a debug statement
338
339         * text2.C (getColumnNearX): bug 1825 make sure that we don't
340         return a pos that is not on the row
341
342         * output_latex.C (TeXDeeper): get rid of potential dereferencing
343         of past the end iterator
344
345 2005-07-14  André Pönitz  <poenitz@gmx.net>
346
347         * undo.C (recordUndoFullBuffer): implement undo for
348         textclass switches
349
350 2005-07-14  André Pönitz  <poenitz@gmx.net>
351
352         * cursor.C (setSelection): open insets when selection is set there
353         to avoid crashs with cold coord cache
354
355 2005-07-14  André Pönitz  <poenitz@gmx.net>
356
357         * trans_mgr.C (insert): move cursor to the right after inserting
358         a char.
359
360 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
361
362         * BufferView_pimpl.C (update): dampen some of the debug blabbering
363         * factory.C (readInset): ditto
364         * text.C, text2.C: ditto
365
366 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
367
368         * buffer.C: format incremented to 242. There is no file format per
369         se, but the "frenchb" language has been removed from lib/language
370         and has to be translated to "french" by lyx2lyx.
371
372 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
373
374         * cursor_slice.h, dociterator.h: add some documentation
375         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
376
377 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
378
379         * text.C (leftMargin): do not add identation to display() style
380         insets, because they are always centered (bug 1293).
381
382 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
385         formatted_time methods in support/lyxtime.
386
387 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * toc.[Ch]: new method getGuiName, which is used by the frontends 
390         to set the toc combo (fixes bug 1870). Make TOC string translatable.
391
392 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
395         StableDocIterator const &)
396         * undo.C (recordUndo): use the above instead of cell.size() comparison
397         (fixes bug 1808; instructed by Andr�.
398
399 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
400
401         * cursor_slice.h: 
402         * dociterator.h: Fix the assert when copying rows/cols in math
403
404 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
405
406         * BufferView_pimpl.C:
407         * LyXAction.C:
408         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
409
410         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
411         (findInset): new functions, refactored from goto Inset that return 
412         the position of a certain inset without setting the buffer's cursor
413         (by Jean-Marc); 
414         (gotoInset): rewrite to call findInset and then set the cursor
415         (by Jean-Marc).
416
417 2005-06-16  Angus Leeming  <leeming@lyx.org>
418
419         * lyxrc.C (output, read): wrap all input and output of paths with
420         calls to os::internal_path and os::external_path, respectively.
421         (output): wrap bind_file inside quotes.
422
423         * format.C (view): enable the viewer to use the '$$s' placeholder.
424
425 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
426
427         * LColor.[Ch] (getFromLaTeXName): new
428
429 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
432
433 2005-06-14  Angus Leeming  <leeming@lyx.org>
434
435         * lyx_main.C (init): ensure that the LyX binary dir is the first
436         element in the PATH on non-POSIX builds.
437
438 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
439
440         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
441
442 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * rowpainter.C (paintInset, paintHebrewComposeChar)
445         (paintArabicComposeChar, paintChars): add a LyXFont argument.
446         (paintChars): use getFontSpan to reduce calls to getFont to a
447         minimum; use Paragraph::lookupChange instead of isXXXText.
448         (paintForeignMark): rename LyXFont argument.
449         (paintFromPos): pass a LyXFont object to the various paintXXX
450         methods.
451
452         * FontIterator.C (FontIterator, operator++): use
453         Paragraph::getFontSpan
454
455         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
456         version that returns the font span as a pair.
457
458 2005-06-09  Angus Leeming  <leeming@lyx.org>
459
460         * converter.C (convert): Don't forget "outfile = real_outfile" as
461         the final step in a conversion where the input and output file names
462         are the same. Otherwise, future conversion steps won't work...
463
464 2005-06-09  Angus Leeming  <leeming@lyx.org>
465
466         * lyxsocket.C: remove stub code as it isn't needed by
467         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
468
469 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
472         effectively disabled -x
473
474 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
475
476         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
477         when it actually makes sense.
478
479 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
480
481         * BufferView_pimpl.C: revert to showCursor in connection with
482         Lars's front-end stack
483
484 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
485
486         * text.C (redoParagraph): move cursor right after a bibitem
487         has been inserted.
488
489         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
490
491 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
492
493         * buffer_funcs.C (bufferErrors): fix computation of the end of an
494         error range.
495
496 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
497
498         * BufferView.[Ch] (update):
499         * BufferView_pimpl.[Ch] (update, metrics):
500         * dimension.h (operator==):
501         * lyxfunc.C (dispatch):
502         * metricsinfo.h (ViewMetricsInfo):
503         * rowpainter.C (paintText):
504         * lyxtext.h:
505         * text.C (redoParagraph):
506         * text3.C (dispatch): Make LyX only repaint current paragraph in
507         case of character insert --> speedup. Also fix cursor draw
508         artifacts
509
510 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
513         avoid a crash (bug 1891)
514
515 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         Fix bug 1892:
518
519         * text2.C (getStringToIndex): constify cur argument.
520
521         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
522         argument has been given
523         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
524         try to invoke LFUN_INSET_APPLY).
525
526         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
527         if no inset was created by doInsertInset
528         (doInsertInset): return true if an inset has been inserted.
529
530 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * vspace.C (asGUIName): new method. A version of the space
533         suitable for showing on screen.
534
535 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
536
537         * MenuBackend.C:
538         * lyxrc.C: rename "ASCII" to "Plain Text"
539
540 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * buffer_funcs.C (expandLabel): take a Buffer as argument;
543         translate the labelstring.
544         (setCounter): translate labelstring as needed.
545
546         * output_docbook.C (makeCommand): fix expandLabel invokation
547
548 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
549
550         * BufferView.C: fix dialog title
551
552 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
553
554         * lyx_main.C (priv_exec): fix logic error with help from Angus
555         * lyx_main.C (parse_execute): set is_gui = false and remove now
556         obsolete comment about a segfault
557
558 2005-05-18  Angus Leeming  <leeming@lyx.org>
559
560         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
561
562 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
563
564         * tabular.[hC]: added setCellInset to fix tabular paste.
565
566 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
567
568         * buffer.C (save): check if destination is writable before trying
569         to copy a file
570
571 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * BufferView_pimpl.C (update): fix processEvents -caused update
574         recursion bug
575
576 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
577
578         * buffer_funcs.C (setCounter): fix test for numbering of
579         environments.
580
581         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
582         depth correctly; use optional argument when it exists
583
584         * lyxtextclass.C: remove unused MaxCounterTags enum
585         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
586         (max_toclevel, min_toclevel): new methods.
587
588         * MenuBackend.C (expandToc2): fix case where depth is smaller than
589         the smallest depth in toc.
590
591         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
592         layouts that should not appear in a table of contents.
593
594 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
595
596         * cursor.h (undispatched, noUpdate): add comments from Andr�
597 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
598
599         * lfuns.h:
600         * LyXAction.C:
601         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
602
603 2005-05-07  André Pönitz  <poenitz@gmx.net>
604
605         * cursor.[Ch] (leaveInset): new function
606
607 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
608
609         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
610
611 2005-05-04  Angus Leeming  <leeming@lyx.org>
612
613         * lyxfunc.C (getStatus): disable the spell checker dialog if
614         none of USE_[AIP]SPELL are defined.
615
616 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
617
618         * tabular.C (setWidthOfCell): remove obsolete comment
619
620 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
621
622         * paragraph.C (bibitem):
623         * buffer_funcs.C (setCounter):
624         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
625
626 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
627
628         * text3.C (getStatus): immediately return after setOnOff
629
630         * rowpainter.C: fix drawing of appendix start
631
632 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
633
634         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
635         SwitchBetweenClasses and remove the unused return value.
636         Handle character styles, too
637
638 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
639
640         * factory.C (createInset): handle undefined character styles
641
642 2005-05-02  Angus Leeming  <leeming@lyx.org>
643
644         * buffer.C: protect the #include of utime.h with a preprocessor
645         guard.
646
647 2005-05-02  Angus Leeming  <leeming@lyx.org>
648
649         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
650         function so that auto-saving works, albeit in a blocking manner.
651
652         * Makefile.am: make compilation of the client sub directory, of
653         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
654         on conditionals set at configure time.
655
656         * SpellBase.[Ch]: no longer an abstract base class. Instead,
657         it can be compiled in its own right but has no-op functionality.
658
659         * aspell.C, pspell.C: remove preprocessor guards. The files should
660         be compiled only if the necessary functionality exists.
661
662         * lyxserver.C, lyxsocket.C: disable on Windows.
663
664 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
665
666         * text.C (leftMargin): Fix the parindent use bug (1764)
667         by dirty trick
668
669 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
670
671         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
672         argument.
673
674 2005-04-25  Angus Leeming  <leeming@lyx.org>
675
676         * Bidi.[Ch]:
677         * coordcache.[Ch]:
678         * ispell.C:
679         * lyxserver.C:
680         * mover.C:
681         * pch.h:
682         include <config.h> in .C files, not .h ones.
683         add licence blurb.
684         protect headers inside preprocessor guards.
685
686 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
687
688         * FuncStatus.h (StatusCodes): document
689
690 2005-04-21  André Pönitz  <poenitz@gmx.net>
691
692         * FuncStatus.h (enabled, onoff): document
693
694 2005-04-19  Angus Leeming  <leeming@lyx.org>
695
696         * BufferView_pimpl.C (cursorToggle): no longer test whether
697         any child processes have been reaped before calling
698         handleCompletedProcesses().
699
700 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
701
702         * text3.C (dispatch): fix, finally fix, the language problem in
703         new lyxtexts, without disabling on-the-fly font changes (Helge's
704         bug report)
705
706 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
707
708         * text3.C (dispatch): set cursor on double/triple click events
709         (bug 1811)
710
711 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
714         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
715
716         * rowpainter.C (paintFirst): simplify the code a little bit. In
717         particular, remove the test for secnumdepth.
718         * text.C (setHeightOfRow): only allocate space for chapter number
719         when updateCounters provided an actual label, instead of looking
720         at secnumdepth directly.
721
722         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
723
724         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
725         paragraphs when secnumdepth is large enough or, for environments,
726         when they are not the first in a sequence.
727
728 2005-04-17  Angus Leeming  <leeming@lyx.org>
729
730         * buffer.C (makeLaTeXFile): replace code to manipulate a path
731         containing space and '~' characters with a call to latex_path().
732
733 2005-04-17  Angus Leeming  <leeming@lyx.org>
734
735         * converter.C (convert): protect all args of convertDefault.sh
736         script with quotes.
737
738 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
739
740         * text3.C (dispatch): change the layout to "Caption" after inserting
741         a float.
742
743 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * text3.C (dispatch): fix language problem in newly created
746         textinsets (and main text) in non-english docs
747
748 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
749
750         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
751         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
752         * text3.C (getStatus): disable LFUN_INSET_MODIFY
753
754 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
755
756         * lyxtext.h:
757         * text.C (metrics):
758         * text2.C (getFont):
759         * rowpainter.C (getFont): Fix metrics bug introduced by inset
760         fonts fix
761
762 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
763
764         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
765         output of \item arguments without trailing text.
766
767 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
768
769         * FontIterator.C (operator*): avoid a copy of the font.
770
771 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
772
773         * rowpainter.C (getFont): fix language bug from previous fix
774
775 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
776
777         * rowpainter.C (RowPainter, getFont): fix font inside inset
778         (bugs 1766, 1809)
779
780 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
783         preventing inserted font, deco, delim insets jumping to start of
784         surrounding inset.
785
786 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
787
788         * lyxfunc.C (dispatch): translate message before sending it to the
789         minibuffer.
790
791 2005-03-29  Angus Leeming  <leeming@lyx.org>
792
793         * lyx_main.C (priv_exec): call os::internal_path on each file passed
794         to LyX on the command line.
795
796 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
797
798         * vc-backend.C: use QuoteName to protect file names wherever
799         necessary.
800
801 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
802
803         * buffer.[Ch]:
804         * BranchList.h: fix bugs 1844,1845: document settings don't
805         stick
806
807 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * lyxrc.C (setDefaults, read, output, getDescription): add support
810         for tex_allows_spaces.
811
812         * exporter.C (Export): allows files in directory containing spaces
813         if tex_allows_spaces is true.
814
815         * buffer.C (makeLaTeXFile): if the document path contains spaces,
816         output it in double quotes.
817
818 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
819
820         * rowpainter.C: use default text height for drawing change tracker
821         strikeout lines.
822
823 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
824
825         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
826
827 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
830         directory is missing.
831
832 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
833
834         * text2.C: fixed the fix, extended to other case.
835
836 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
837
838         * text2.C: fix for cursor up/down stuck in math [bug 1792]
839
840 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
841
842         * text2.C (cursorUp): get rid of a crash
843         * text.C (x2pos): add an assert
844
845 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * lyxfunc.C (getStatus): fix warning when assertions are disabled
848
849         * text3.C:
850         * lyxfunc.C:
851         * dociterator.C: include <boost/current_function.hpp>, which is
852         needed when assertions are disabled.
853
854 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
855
856         * text2.C: fix for stuck cursor when traversing two
857         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
858
859 2005-02-25  Andreas Vox  <avox@arcor.de>
860
861         * output_docbook.C (makeParagraph): suppress trailing newline
862         after a run of paragraphs
863
864 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
865
866         * paragraph.C: fix for confused change tracker when pasting
867         text that begins with a lineseparator. [bug 1827]
868         (setChange(0, Change::INSERTED);)
869
870         * paragraph_funcs.C: fix for lost changes on triple-paste
871         in change tracking mode [bug 1827] (par.setChange()).
872
873 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
874
875         * text2.C (updateCounters, setCounter, expandLabel): move to
876         buffer_funcs.
877
878         * buffer_funcs.C (updateCounters): turn into a free standing
879         function and add a buffer parameter. Remove dead code for tracking
880         labelstring change.
881         (setCounter): change into a free-standing function which gets a
882         dociterator as argument. Use this iterator to fix captions in a
883         simple way. When no float is found above the caption, use the
884         labelstring of the caption layout as default.
885
886         * text.C (breakParagraph, backspace):
887         * text2.C (init, setLayout, changeDepth):
888         * text3.C (dispatch):
889         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
890         updateCounters.
891
892         * dociterator.C (forwardPar): make it much faster by calling
893         forwardPos() only when really necessary.
894
895         * output_docbook.C (makeCommand): adapt to expandLabel move.
896
897         * cursor.C: remove unused variable
898
899 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
900
901         * paragraph_funcs.C: fix crash when pasting insets in change
902         tracking mode [bug 1277] (honour change type in moveItem).
903
904 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
907
908 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * BufferView.C (setCursor): change to use a DocIterator.
911         (gotoLabel): use BufferView::setCursor (other part of bug 781).
912         (putSelectionAt): adapt to BufferView::setCursor change.
913
914         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
915         moved here from LyXText and rewritten to use proper cursor
916         methods. Fixes bug 1787, 616 and 835.
917
918         * BufferView_pimpl.C (restorePosition): set the cursor correctly
919         when inside an inset (part of bug 781).
920         (dispatch): adapt to change of BufferView::setCursor.
921         (getStatus, dispatch): handle LFUN_GOTOERROR,
922         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
923
924         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
925         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
926         * text3.C (gotoNextInset, gotoInset): removed.
927
928 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
931
932 2005-02-15  Angus Leeming  <leeming@lyx.org>
933
934         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
935         can be used meaningfully in a comparison.
936
937 2005-02-13  André Pönitz  <poenitz@gmx.net>
938
939         * bufferview_funcs.C (coordOffset): improve cursor drawing
940
941 2005-02-13  André Pönitz  <poenitz@gmx.net>
942
943         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
944         * Cursor.C (dispatch): use fixIfBroken
945         * lyxfunc.C (getStatus): use fixIfBroken
946
947 2005-02-15  Angus Leeming  <leeming@lyx.org>
948
949         * lyx_main.C (error_handler):
950         * lyxfunc.C:
951         * lyxrc.C (setDefaults):
952         s/GetEnv/getEnv/.
953         #include "environment.h".
954
955         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
956
957 2005-02-15  Angus Leeming  <leeming@lyx.org>
958
959         * lyxserver.C (startPipe): squash MSVC warning "local variable
960         'fd' used without having been initialized".
961
962 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
963
964         * BufferView_pimpl.C: revert accidental commit.
965
966 2005-02-14  André Pönitz  <poenitz@gmx.net>
967
968         * dociterator.[Ch]: new member forwardPosNoDescent(),
969         which doesn't enter nested insets.
970         * text2.C (setFont): use forwardPosNoDescent() instead
971         of ForwardPos() (fixes crash on font change).
972
973 2005-02-13  Angus Leeming  <leeming@lyx.org>
974
975         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
976         only if lyxrc.path_prefix is not empty.
977
978 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
979
980         * bufferparams.C (readGraphicsDriver): prevent crash
981
982 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
983
984         * text2.C (setCounter): check for inInset() == 0
985
986 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
987
988         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
989         but use update() to get correct screen display; use convert
990         instead of istringstream.
991         (getStatus): handle LFUN_GOTO_PARAGRAPH
992
993         * lyxfunc.C (dispatch, getStatus): do not handle
994         LFUN_GOTO_PARAGRAPH here.
995
996 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
997
998         * text3.C (dispatch): size() -> depth()
999
1000         * text2.C: remove some debug output
1001
1002         * paragraph.C: ws changes only
1003
1004         * lyxfunc.C (getStatus): size() -> depth()
1005
1006         * dociterator.h (clear, push_back, pop_back, internalData,
1007         operator[], resize, empty): new functions
1008         Make StableDocIterator and operator== be friends. Don't inherit
1009         from std::vector use a privat class variable slices_ instead.
1010         Modify to fit.
1011
1012         * dociterator.C: update because of not inheriting from std::vector
1013         anymore. Call explictly to slices_ instead. Use depth() instead of
1014         size() and top() instead of back()
1015
1016         * cursor.C: chagne size() -> depth and back() -> top(). Also
1017         remove some direct operator[](i) calls in favour of foo[i]
1018         (getFont): remove some dead code
1019
1020         * bufferview_funcs.C (coordOffset): size() -> depth()
1021
1022         * buffer.C: ws changes only
1023
1024         * CutAndPaste.C (eraseSelection): back() -> top()
1025
1026         * BufferView_pimpl.C (selectionRequested): back() -> top()
1027
1028         * BufferView.C (setCursor): size() -> depth()
1029
1030 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1031
1032         * text3.C (cursorPrevious): return true if depm changed something
1033         (cursorNext): ditto
1034         (dispatch): rename sl to oldTopSlice, remove moving use the new
1035         NoUpdate func attrib instead. Make sure that needsUpdate is set
1036         for function that have NoUpdate, but where depm might have changed
1037         the buffer anyway.
1038
1039         * text2.C (cursorLeft): make us return true if depm changed
1040         something
1041         (cursorRight): ditto
1042         (cursorUpParagraph): ditto
1043         (curosrDownParagraph): ditto
1044         (cursorUp, cursorDown): ditto, make sure to read comments in code
1045         (deleteEmptyParagraphMechanism): remove an assert, also return
1046         true if just a single char was deleted.
1047
1048         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1049         cursor that we modify, to avoid modifying an active cursor before
1050         we call setCursor. This allows depm to run. Also return true if
1051         depm deleted something.
1052
1053         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1054         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1055         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1056         something was changed in the buffer because of them (ie. depm run)
1057
1058         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1059         debug messages. Make update by default be false. Make sure that
1060         the result of update is retained throught several calls down to
1061         dispatch.
1062
1063         * LyXAction.h: add a new func_attrib: NoUpdate
1064
1065         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1066         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1067         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1068         and LFUN_WORDLEFT
1069         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1070
1071 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1072
1073         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1074         bv_->owner(), bv_->buffer() by direct references to the private
1075         members.
1076         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1077         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1078         (fitCursor): center() is in BufferView::Pimpl.
1079         (getStatus, trackChanges, dispatch): no need for a temporary buf
1080         variable
1081         (fitCursor, workAreaDispatch): use workarea().workheight()
1082
1083 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1084
1085         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1086
1087 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1088
1089         * buffer.C: format up to 241.
1090         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1091         break if pasting into ERT
1092         * lyxfunc.C (getStatus): suppress mathpanel and
1093         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1094
1095 2005-02-01  Angus Leeming  <leeming@lyx.org>
1096
1097         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1098
1099 2005-02-01  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1102         calling fs::is_directory().
1103
1104 2005-01-31  Angus Leeming  <leeming@lyx.org>
1105
1106         * lyx_main.C (priv_exec): specify explicitly the relative location
1107         of the top level build directory when run in-place.
1108
1109 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1110
1111         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1112         LyXText containing the cursor, not the top-level one.
1113
1114         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1115         true.
1116         (insertStringAsLines): rename par to pit; use temporary variable
1117         par to hold a Paragraph; do not store par.layout() in a variable,
1118         since the pointer may die when breaking paragraphs; pass pars to
1119         breakParagraph() instead of Buffer::paragraphs().
1120
1121 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1122
1123         * lyxlex_pimpl.h: #include <fstream>.
1124
1125         * BufferView.[Ch] (getLyXText): add a const version.
1126
1127         * BufferView_pimpl.C: add debug aids.
1128
1129         * RowList_fwd.h:
1130         * buffer.h:
1131         * lyxrow.h:
1132         * paragraph_funcs.h: add commentary explaining what the class does.
1133
1134
1135         * coordcache.[Ch]: add lots of commentary.
1136         (startUpdating, doneUpdating): debug aids.
1137         (arrays, insets, parPos, getParPos): accessors to private data.
1138
1139         * cursor_slice.[Ch] (text): add a const version.
1140         * dociterator.[Ch] (text, innerText): add const versions.
1141
1142         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1143         bool.
1144
1145         * paragraph.C (getRow, pos2ros): add asserts.
1146
1147         * paragraph.h: add commentary. Lots of.
1148
1149         * paragraph.[Ch] (metrucs, draw): removed.
1150
1151         * cursor.C:
1152         * rowpainter.[Ch]: const-correct changes.
1153
1154         * text.C: various obvious clean-ups. Removal of ancient cruft.
1155         Bug fixes, even.
1156
1157 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1158
1159         * vc-backend.C (find_file): rewrite to use boost.filesystem
1160         (scanMaster): ditto
1161
1162         * main.C (main): set default name check for boost.filesystem to
1163         no check
1164
1165         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1166         (open): ditto
1167         (doImport): ditto
1168         (actOnUpdatedPrefs): ditto
1169
1170         * lyx_main.C (init): rewrite to use boost.filesystem
1171         (queryUserLyXDir): ditto
1172
1173         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1174         (getContentsOfAsciiFile): ditto
1175
1176         * lastfiles.C (readFile): rewrite to use boost.filesystem
1177
1178         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1179
1180         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1181         (loadLyXFile): ditto
1182
1183         * buffer.C (Buffer): adjust for destroydir
1184         (getLogName): rewrite to use boost.filesystem
1185         (setFileName): ditto
1186         (save): use fs::copy_file (from fs_extras)
1187
1188         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1189
1190         * LaTeX.C (run): rewrite to use boost.filesystem
1191         (scanAuxFiles): ditto
1192         (handleFoundFile): ditto
1193
1194 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1195
1196         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1197
1198         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1199
1200 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1201
1202         * lyxlayout.[Ch]: change some vars from float to double
1203
1204         * buffer.C (readFile): make a local var const
1205
1206         * Several files: use convert<> instead of atoi,strToXXX and friends
1207
1208 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1209
1210         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1211         holds the contents of packages.lst. New functions getAvailable
1212         and isAvailable to parse and check that list, resp.
1213
1214         * LyXAction.C:
1215         * lfuns.h:
1216         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1217
1218         * bufferparams.[Ch]: new param output_changes.
1219
1220         * Buffer.C: increase file format to 240.
1221         Use output_changes and isVailable.
1222
1223         * changes.[Ch]:
1224         * paragraph.C:
1225         * paragraph_pimpl.C: Use output_changes and isVailable.
1226
1227 2005-01-23  Angus Leeming  <leeming@lyx.org>
1228
1229         * output_latex.C: #include "insetbibitem.h", rather than
1230         forward declare function bibitemWidest.
1231
1232 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1233
1234         * lyx_main.C (init): make it compile on the Mac.
1235
1236 2005-01-20  Angus Leeming  <leeming@lyx.org>
1237
1238         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1239         (setLyXMisc): (char string literal) != (char string literal) is
1240         performing a comparison on the addresses. Convert one operand
1241         explicitly to string to guarantee expected behaviour.
1242         From MSVC warning.
1243
1244 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1245
1246         * buffer.C:
1247         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1248
1249         * output_plaintext.C: remove unneeded #include gzstream.h.
1250
1251 2005-01-20  Angus Leeming  <leeming@lyx.org>
1252
1253         * SpellBase.h: rename some of the elements of the Result enum.
1254
1255         * aspell_local.h:
1256         * ispell.h:
1257         * pspell.h:
1258         * aspell.C (check):
1259         * ispell.C (check):
1260         * pspell.C (check): ditto
1261
1262 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1263
1264         * buffer.C: add #include <fstream>.
1265
1266         * lyx_main.C (init): Compile fix.
1267
1268         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1269
1270 2005-01-20  Angus Leeming  <leeming@lyx.org>
1271
1272         * mover.h: change commentary to reflect the changed meaning of
1273         the $$s placeholder.
1274
1275 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1276
1277         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1278
1279         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1280
1281 2005-01-20  Angus Leeming  <leeming@lyx.org>
1282
1283         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1284         printing diagnostic data by not dereferecing an iterator past the
1285         end.
1286
1287 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1288
1289         * buffer.C (readHeader): use "&&" rather than "and".
1290
1291         * lyxserver.h (inPipeName, outPipeName): make these const.
1292
1293 2005-01-19  Angus Leeming  <leeming@lyx.org>
1294
1295         * lyx_main.C (error_handler, init): protect SIGHUP with
1296         #ifdef SIGHUP guards.
1297
1298 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1299
1300         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1301
1302 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * text.C (setHeightOfRow): add a margin at the top and bottom of
1305         the document (bug 1761)
1306
1307 2005-01-17  Angus Leeming  <leeming@lyx.org>
1308
1309         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1310         with "python ". Workaround for a brain-dead Windows.
1311
1312 2005-01-16  Angus Leeming  <leeming@lyx.org>
1313
1314         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1315         for MacOSX and Windows to use prependEnvPath.
1316         Strip out the hard-coded block to add elements to the PATH for
1317         MacOSX and replace it with a call to prependEnvPath using the
1318         contents of LyXRC::path_prefix.
1319         (queryUserLyXDir): strip out the code to run reconfigure, instead
1320         returning a boolean indicating the necessity to do so.
1321         (reconfigureUserLyXDir): contains the code to reconfigure the
1322         user support directory. Is now called after the various LyXRC data
1323         files have been read.
1324
1325         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1326
1327 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1328
1329         * converter.[Ch] (convert): take a new parameter try_default. Use
1330         a default converter (imagemagick) if try_default is true.
1331
1332 2005-01-13  Angus Leeming  <leeming@lyx.org>
1333
1334         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1335         os::cygwin_path_fix.
1336         (write): output LyXRC::cygwin_path_fix as necessary.
1337
1338 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1339
1340         * lyxrc.h:
1341         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1342
1343 2005-01-12  Angus Leeming  <leeming@lyx.org>
1344
1345         * lyx_main.C (init): set the PATH variable to include the
1346         directory containing the LyX binary when running on Mac or Windows.
1347
1348 2005-01-12  Angus Leeming  <leeming@lyx.org>
1349
1350         * lyx_main.C (init): remove cruft that purports to set the locale
1351         dir. It doesn't and is not needed anyway.
1352
1353 2005-01-10  Angus Leeming  <leeming@lyx.org>
1354
1355         * Makefile.am: remove the lyx_main.C special casing.
1356
1357         * BufferView_pimpl.C:
1358         * bufferlist.C:
1359         * exporter.C:
1360         * lyx_cb.C:
1361         * lyx_main.C:
1362         * lyxfunc.C:
1363         * messages.C: use support/package.h to provide the paths to the
1364         various directories used by LyX.
1365
1366 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1367
1368         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1369         layout if pasting into an empty paragraph)
1370
1371 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1372
1373         * tex-accent.C: add <string>
1374
1375 2005-01-06  José Matos  <jamatos@lyx.org>
1376
1377         * ParagraphParameters.C (write): put every parameter in its own line.
1378         * paragraph.C (write): reduce number of consecutive empty lines exported.
1379         * buffer.C (LYX_FORMAT): increase file format to 239.
1380
1381 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1382
1383         * everywhere: change support/tostr.h -> support/convert.h
1384
1385         * tabular.C: make all write_attributes templates, tostr -> convert
1386
1387         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1388         (emptyTag): and -> &&, and fix type for ret from getChar
1389         (getFirstWord): fix type for ret from getChar
1390         (onlyText): and -> &&
1391         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1392         getChar
1393
1394         * toc.C (goTo, action):
1395         * text3.C (dispatch):
1396         * text.C (currentState):
1397         * tex-accent.C (DoAccent):
1398         * sgml.C:
1399         * lyxrc.C:
1400         * lyxfunc.C (menuNew):
1401         * lyxfinc.C (replace):
1402         * counters.C (laberItem):
1403         * bufferview_funcs.C (font2string):
1404         * bufferparams.C (writeFile):
1405         * buffer.C (readFile):
1406         * Spacing.C (set):
1407         * MenuBackend.C: tostr -> convert
1408
1409         * LaTeX.C (runMessage): fix format
1410         (scanAuxFiles): tostr -> convert
1411
1412         * BufferView_pimpl.C (savePosition): fix format
1413         (restorePosition): ditto
1414         (dispatch): ditto
1415
1416 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1417
1418         * Spacing.[Ch]: New method getValueAsString().
1419
1420         * Spacing.[Ch]:
1421         * bufferparams.C:
1422         * ParagraphParameters.C:
1423         * lyxlayout.C:
1424         * text.C:
1425         * text3.C: store/read spacing value as string.
1426
1427         * rowpainter.C: change float value (spacing_val) to double.
1428
1429         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1430         broken custom document spacing).
1431
1432 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1433
1434         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1435         namespace, also more use of temp references and const
1436
1437         * cursor.[Ch] (getStatus): move to lyxfunc.C
1438
1439         * bufferparams.C: reformat slightly
1440
1441         * bufferview_funcs.C (font2string): constify arg
1442
1443         * changes.C:
1444         * converter.C:
1445         * counters.C:
1446         * bufferlist.C:
1447         * buffer_funcs.C: (many funcs): constify arg on function
1448         definitions, also make more local vars const, also add ASSERTS on
1449         pointer args.
1450
1451         * buffer.C (LYX_FORMAT): put const in correct place
1452         (many funcs): constify arg on function definitions, also make
1453         more local vars const
1454
1455         * aspell_local.h: remove "struct" from typdef setup
1456
1457         * aspell.C (check): make word_ok const
1458         (nextMiss): simplify slightly
1459         (error): ditto
1460
1461 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1462
1463         * lyxrc.[Ch]: store all float values as strings.
1464         use int (not float) for lyxrc.dpi.
1465
1466 2005-01-04  Angus Leeming  <leeming@lyx.org>
1467
1468         * lyx_cb.C (Reconfigure):
1469         * lyx_main.C (queryUserLyXDir):
1470         to run the <system_lyxdir>/configure correctly on Windows, prefix
1471         the path to the script with "sh " when generating the string that
1472         is passed to system().
1473
1474 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1475
1476         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1477
1478 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1479
1480         * lyxlength.C (asLatexString): get rid of setprecision
1481
1482 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * text2.C (setLayout): remove unused variable endpit.
1485         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1486
1487         * paragraph.C (onlyText): remove unused variable style.
1488
1489         * cursor.C (bruteFind): remove unused variables beg and end.
1490
1491         * Makefile.am (dist_noinset_DATA): not needed anymore
1492
1493         * cheaders/*: remove.
1494
1495 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1496
1497         * text3.C: fix LFUN_MATH_MODE.
1498
1499 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * buffer_funcs.C (countWords): new function. Counts words between
1502         two iterators.
1503
1504         * BufferView_pimpl.C (getStatus, dispatch): handle
1505         LFUN_WORDS_COUNT.
1506
1507         * LyXAction.C (init):
1508         * lfuns.h: add LFUN_WORDS_COUNT.
1509
1510 2004-12-19  Angus Leeming  <leeming@lyx.org>
1511
1512         * buffer.C (save): s/slashify_path/internal_path/.
1513
1514 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1515
1516         * lyxfind.C (findChange): do not search for end of pars, because
1517         the change tracker cannot handle this (fixes bug 1719).
1518
1519 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1520
1521         * paragraph.[Ch] (autoBreakRows): remove
1522
1523         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1524
1525         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1526         avoid using the paragraph one
1527
1528         * text2.C (LyXText, insertStringAsLines): adjust
1529
1530 2004-12-16  Angus Leeming  <leeming@lyx.org>
1531
1532         * bufferlist.C:
1533         * lyx_main.C:
1534         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1535
1536 2004-12-14  Angus Leeming  <leeming@lyx.org>
1537
1538         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1539
1540         * bufferlist.C (emergencyWrite):
1541         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1542         GetEnvPath("HOME").
1543
1544 2004-12-14  Angus Leeming  <leeming@lyx.org>
1545
1546         * main.C: (main): no longer pass pointers to os::init.
1547
1548 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1549
1550         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1551         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1552
1553 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1554
1555         * lyxfunc.C:
1556         * text3.C: remove selection_possible global flag
1557
1558 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * text2.C (getSelectionSpan): remove
1561         (changeDepth, changeDepthAllowed): adjust
1562
1563 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1564
1565         * Makefile.am (BOOST_LIBS): use boost variables
1566
1567 2004-12-03  José Matos  <jamatos@lyx.org>
1568
1569         * buffer.C: format up to 238.
1570
1571 2004-12-03  José Matos  <jamatos@lyx.org>
1572
1573         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1574
1575 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1576
1577         * cursor.C (goUpDown): remove call to idxUpDown2
1578
1579 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1580
1581         * tabular.[Ch]: use size_t-like types for cell, row and column
1582         indices
1583
1584 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1585
1586         * lyxfunc.C (getStatus): do not lose previous information when
1587         calling BufferView::getStatus; do not set a default "Command
1588         disabled" message at the beginning, but just before returning.
1589
1590 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1591
1592         * cursor.h (getStatus): add better comment from src/cursor.C
1593
1594 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1595
1596         * text3.C (getStatus): return false when the lfun is not handled
1597
1598 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1599
1600         * broken_headers.h: remove
1601
1602         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1603
1604 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1605
1606         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1607         offset_ref accessors
1608
1609         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1610         top_y_, merge fitcursor with update
1611         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1612         coord scheme
1613         (metrics): introduce
1614         (workAreaDispatch): adapt to new coord scheme
1615         (redoCurrentBuffer): remove
1616
1617         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1618
1619         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1620         CurStatus enum.
1621
1622         * coordcache.[Ch]: add paragraph cache and helpers
1623
1624         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1625         adjust everywhere
1626
1627         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1628         (targetX, setTargetX): introduce
1629
1630         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1631         baseline -> ascent, as the rest of lyx
1632
1633         * lyxtext.h: remove redoParagraphs, updateParPositions,
1634         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1635         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1636         have ascent/descent (ascent is ascent of first par)
1637
1638         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1639         step of BufferView
1640
1641         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1642
1643         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1644
1645         * pariterator.C: fix infinite loop introduced in par->pit renaming
1646
1647         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1648         in insets and LyXText, draw two off-screen paragraphs using
1649         NullPainter, and adapt to new coord scheme
1650
1651         * text.C:
1652         * text2.C:
1653         * text3.C: adapt lfun handlers to the new coord scheme, which
1654         means: there's only guaranteed coord information for onscreen pars
1655         plus one above and one below. This implies that one can do search
1656         from y coordinates in the range [-1,workHeight]
1657
1658 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1659
1660         * rename a lot of InsetOld to InsetBase
1661
1662 2004-11-25  Angus Leeming  <leeming@lyx.org>
1663
1664         * BufferView_pimpl.C:
1665         * lyx_cb.C:
1666         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1667
1668 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1669
1670         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1671         call BufferView::getStatus if LCursor::getStatus did nothing
1672         (setStatusMessage, getStatusMessage): removed.
1673
1674         * FuncStatus.C (message): new methods. Used to provide an error
1675         message indicating why a command is disabled.
1676         (clear, |=, FuncStatus): update for message.
1677
1678 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1679
1680         * lyxfunc.C (dispatch): always call sendDispatchMessage
1681
1682 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1683
1684         * BufferView.C:
1685         * BufferView_pimpl.C:
1686         * CutAndPaste.C:
1687         * FontIterator.C:
1688         * buffer.C:
1689         * cursor.C:
1690         * cursor_slice.[Ch]:
1691         * dociterator.[Ch]:
1692         * lyxfind.C:
1693         * paragraph_funcs.C:
1694         * pariterator.C:
1695         * rowpainter.C:
1696         * text.C:
1697         * text2.C:
1698         * text3.C:
1699         * undo.C: par->pit renaming
1700
1701 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1702
1703         * tabular.C (cellstruct): use initialization, store a shared_ptr
1704         to insettext instead of the insettext directly, adjust to fit.
1705         (operator=):  new function
1706         (swap): new function
1707         (rowstruct): use initialization
1708         (columnstruct): use initialization
1709         (ltType): use initialization
1710
1711
1712         * lyxlength.h (swap): new function
1713
1714         * LColor.[Ch] (operator=): use the common semantics
1715
1716 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1717
1718         * lyxfind.C (findNextChange): update the bufferview after setting
1719         the selection.
1720
1721 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1722
1723         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1724         number of InsetOptArgs has already been inserted.
1725
1726         * output_latex.C (latexOptArgInsets): new method. This outputs all
1727         the optarg insets, up to the limit defined in the layout file.
1728         (optArgInset): removed
1729         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1730
1731 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1732
1733         * paragraph.C (isLetter): remove special spellchecker-related
1734         code; return true also for digits
1735         (isWord, isKomma): remove
1736
1737         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1738         * lyxfind.C (MatchString()): use isLetter instead of isWord
1739
1740 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1741
1742         * pariterator.h (operatir=): comment out un-implemented member
1743         function.
1744
1745         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1746         static cast.
1747
1748 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1749
1750         * lyxfont.h: include LColor.h to satisfy concept checks.
1751
1752 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1753
1754         * pariterator.h: add typdefs for value_type, difference_type,
1755         pointer and reference to satisfy concept checks. Also add default
1756         constructor for same reason.
1757
1758         * pariterator.C (operator++): add post-increment operator to
1759         satisfy concept checks.
1760
1761         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1762         checks.
1763
1764         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1765
1766         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1767         checks. Also rename base_type to BaseType to follow naming
1768         standard better.
1769
1770         * FloatList.h: include Floating.h to satisfy concept checks.
1771
1772 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1773
1774         * lyxfunc.C (getStatus): when the origin of the request is menu or
1775         toolbar, and the LyXView does not have focus, do as if there was
1776         no buffer (bug 1720)
1777
1778         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1779         FuncRequest to individual entries of LFUN_SEQUENCE
1780
1781 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * output_latex.C (TeXOnePar): override runparams.moving_arg
1784         according to the needprotect value of the current paragraph (bug
1785         1739)
1786
1787         * paragraph.C (simpleTeXOnePar): no need to override
1788         runparams.moving_args here
1789
1790 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1791
1792         * vspace.C: fix off-by-one-error, related to fix #1682
1793
1794 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1795
1796         * lengthcommon.C: a more general fix for bug 1682
1797
1798 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * text.C (backspace): fix crash
1801
1802 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1803
1804         * format.[Ch] (getFormatFromFile): new method
1805         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1806
1807 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1808
1809         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1810
1811 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812
1813         * lyxfunc.C (dispatch): remove the verbose argument
1814         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1815         instead
1816
1817         * kbmap.C (defkey): set the origin of func to KEYBOARD
1818
1819         * MenuBackend.C (MenuItem):
1820         * ToolbarBackend.C (add): set the origin of func to UI
1821
1822         * funcrequest.[Ch]: add origin member, which indicates which part
1823         of LyX requests an action
1824
1825 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1826
1827         * converter.C (move): don't lie in the error message
1828         * converter.h (isReachable, move): document
1829
1830 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1831
1832         * buffer.C: remove unused using lyx::support::atoi
1833         * paragraph_funcs.C: ditto
1834
1835 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1836
1837         * bufferlist.C (exists): use bind and equal_to instead of
1838         compare_memfun
1839         (getBuffer): ditto
1840         * lyxtextclasslist.C (NumberOfClass): ditto
1841
1842         * cursor.C (insert): use for_each instead of explicit for loop
1843
1844         * bufferlist.C (getFileNames): use std::transform and
1845         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1846
1847         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1848         for loop
1849
1850         * buffer.C (changeLanguage): use for_each instead of explicit for
1851         loop
1852         (hasParWithID): implement using getParFromID
1853
1854         * LaTeXFeatures.C: ws change only
1855
1856         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1857         to cleanup a bit.
1858
1859         * BufferView_pimpl.C (trackChanges): use for_each instead of
1860         expilicit for loop
1861
1862 2004-11-04  André Pönitz  <poenitz@gmx.net>
1863
1864         * undo.h:
1865         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1866
1867         * dociterator.C (asDocIterator): use hard assert again.
1868
1869 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * lyxlength.C (asLatexString): rewrite so that it does not use
1872         snprintf anymore
1873
1874 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1875
1876         * text3.C (specialChar, dispatch): make sure cursor moves to the
1877         right after inserting an inset
1878
1879 2004-11-02  José Matos  <jamatos@lyx.org>
1880
1881         * output_docbook.C (docbook):
1882         * paragraph.C (getID):
1883         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1884         garantee that the output is always legal.
1885
1886         * tabular.C (docbook):
1887         * outputprams.[Ch]: remove mixed contents.
1888
1889 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1890
1891         * text2.C (setCounter): prevent endless loop
1892
1893 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1894
1895         * exporter.C (copyFile): use the mover instead of support::copy()
1896         * exporter.C (Export): pass format and latex name to copyFile()
1897         * exporter.h (addExternalFile): document
1898         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1899
1900 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1901
1902         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1903
1904 2004-10-30  José Matos  <jamatos@lyx.org>
1905
1906         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1907         text and no inset or font change. This allows to use CDATA
1908         sections just for the whole paragraph.
1909
1910 2004-10-30  José Matos  <jamatos@lyx.org>
1911
1912         * paragraph.C (getFirstWord): remove unused variable.
1913
1914 2004-10-30  José Matos  <jamatos@lyx.org>
1915
1916         * paragraph.C (getFirstWord): the content should always be escaped
1917         there.
1918         (simpleDocBookOnePar):
1919         * output_docbook.C (makeEnvironment): replace reference to CDATA
1920         to style pass_thru.
1921
1922 2004-10-30  José Matos  <jamatos@lyx.org>
1923
1924         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1925
1926 2004-10-30  José Matos  <jamatos@lyx.org>
1927
1928         * output_docbook.C (makeParagraphs):
1929         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1930         standard paragraph has only a given type of content drop the wrapper.
1931
1932 2004-10-29  José Matos  <jamatos@lyx.org>
1933
1934         * output_docbook.C (makeEnvironment):
1935         * sgml.C (openTag):
1936         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1937
1938 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1939
1940         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1941         (cleanID): sanitize any id.
1942
1943 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1944
1945         * buffer.C, lyxlex_pimpl.C:
1946         * lyxlex_pimpl.C (setFile):
1947         s/getExtFromContents/getFormatFromContents/
1948
1949 2004-10-28  José Matos  <jamatos@lyx.org>
1950
1951         * output_docbook.C (makeEnvironment): move id to broadest possible
1952         scope.
1953
1954         * sgml.C (openTag): apply substitution of <> for all attributes.
1955
1956 2004-10-28  José Matos  <jamatos@lyx.org>
1957
1958         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1959         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1960         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1961
1962         * sgml.[Ch]: new version for open and closeTag for paragraph and
1963         for strings. Now they handle the ids of paragraphs.
1964
1965 2004-10-26  Angus Leeming  <leeming@lyx.org>
1966
1967         * Makefile.am: add mover.[Ch].
1968
1969         * converter.C (convert, move): use the new Movers to move external
1970         files to the temp directory.
1971
1972         * lyx_main.C (init): ensure that the global system_movers data
1973         is initialised.
1974
1975         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1976         preferences file.
1977
1978         * mover.[Ch]: new files, defining a Mover as a utility to move an
1979         external file between directories and, if necessary, manipulate this
1980         file using a helper script.
1981
1982 2004-10-25  José Matos  <jamatos@lyx.org>
1983
1984         * output_docbook.C (makeCommand): merge two if's that tested the
1985         same condition.
1986
1987 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1988
1989         * sgml.C (escapeString): fix warning in a better way
1990
1991 2004-10-25  José Matos  <jamatos@lyx.org>
1992
1993         * sgml.C (escapeString): import the require boosts header file for
1994         tie, and avoid a signed unsigned comparison.
1995
1996 2004-10-25  José Matos  <jamatos@lyx.org>
1997
1998         * sgml.h: add #include <string>
1999
2000 2004-10-25  José Matos  <jamatos@lyx.org>
2001
2002         * sgml.[Ch] (escapeString): new function to escape all the string.
2003
2004 2004-10-24  José Matos  <jamatos@lyx.org>
2005
2006         * paragraph.[Ch] (getFirstWord): new function to get the first
2007         word. Useful for description.
2008         (simpleDocBookOnePar): remove depth argument, add another that
2009         says where to start the paragraph.
2010
2011         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2012         use the new functions to fix cleanly the support for descriptions.
2013
2014 2004-10-24  José Matos  <jamatos@lyx.org>
2015
2016         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2017         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2018         * output_linuxdoc.C (linuxdocParagraphs):
2019         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2020         add buffer as argument.
2021
2022 2004-10-24  José Matos  <jamatos@lyx.org>
2023
2024         * output_docbook.C (makeEnvironment, searchEnvironment): place
2025         CDATA inside paragraphs and fix scope for listitems.
2026
2027 2004-10-24  José Matos  <jamatos@lyx.org>
2028
2029         * output_docbook.C: remove using statement for stack.
2030
2031 2004-10-23  José Matos  <jamatos@lyx.org>
2032
2033         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2034         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2035         docbook. The new scheme is recursive and makes use of iterators, the
2036         same as latex export works.
2037         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2038         directly with the paragraph contents. This code was moved up to
2039         output_docbook.C (docbookParagraphs).
2040         * sgml.C (openTag, closeTag): removed unneeded newlines.
2041         (closeEnvTags) removed.
2042
2043 2004-10-23  André Pönitz  <poenitz@gmx.net>
2044
2045         * undo.C (textUndoOrRedo):
2046         * dociterator.C (asDocIterator): work around crash
2047
2048         * cursor.C (getStatus): replace ASSERT by more verbose error message
2049           and manual correction of the problem. Should increase stability
2050           while providing more sensible information.
2051
2052 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2053
2054         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2055
2056         * bufferlist.C (previous, next): new methods
2057
2058         * lfuns.h:
2059         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2060
2061 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2062
2063         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2064         entities to preamble.
2065
2066 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2067
2068         * messages.C (Pimpl): strip off translation context information
2069
2070 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2071
2072         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2073         the cursor is correct (bug 1694)
2074
2075 2004-10-13  José Matos  <jamatos@lyx.org>
2076
2077         * output_docbook.C (docbookParagraphs): fix closing tags in the
2078         end of the document.
2079
2080 2004-10-09  José Matos  <jamatos@lyx.org>
2081
2082         * buffer.C: format up to 237.
2083         * bufferparams.C (write): use tostr to convert booleans to strings.
2084
2085 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2086
2087         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2088
2089 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2090
2091         * LaTeX.C: implement use of babel language in xindy.
2092
2093 2004-10-05  José Matos  <jamatos@lyx.org>
2094
2095         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2096         Add new translators to help reading and writing the lyx file.
2097
2098 2004-10-05  José Matos  <jamatos@lyx.org>
2099
2100         * ParagraphParameters.C (read):
2101         * text.C (readParToken): replace nexToken by more appropriate lex
2102         methods.
2103
2104 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2105
2106         * LaTeX.C (runMakeIndex):
2107         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2108         (usually 'makeindex') configurable.
2109
2110         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2111         with a variable rather than with a number.
2112
2113 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * output_latex.C (TeXOnePar): make sure font setting is the first
2116         thing that gets output (and the last at the end). Should fix bug
2117         1404.
2118
2119 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2120
2121         * pch.h: use proper signal include
2122
2123         * LaTeX.h: Use preferred calling of Boost.Signal
2124         * buffer.h: ditto
2125
2126 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2127
2128         * pch.h: dont include <boost/function/function0.hpp>
2129
2130         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2131
2132         * paragraph_pimpl.h: remove usage of ShareContainer
2133
2134         * paragraph_pimpl.C: remove initialization of ShareContainer.
2135
2136 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2137
2138         Fix bug #1666
2139
2140         * BufferView.C (putSelectionAt): change the semantics when
2141         backwards == true: now, this just swaps cursor and anchor wrt the
2142         forward case
2143
2144         * BufferView.h (putSelectionAt): add some documentation
2145
2146         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2147         make sure backwardChar is done at least once (to avoid getting
2148         stuck)
2149         (findNextChange): use putSelectionAt in the forward direction
2150         (operator()): use Paragraph::isWord
2151
2152 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2153
2154         * Spacing.C (set): c_str fix
2155
2156 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * lyx_cb.C (Reconfigure): quote the name of configure script in
2159         case it contains spaces
2160
2161 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2162
2163         * client: new dir
2164
2165         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2166         (BOOST_LIBS): use top_buildir when looking for the file
2167
2168 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2169
2170         * pch.h: do not use include boost/format.hpp, multiple symbols
2171                 will result (gcc bug)
2172
2173
2174 2004-08-23  José Matos  <jamatos@lyx.org>
2175
2176         * bufferparams.C (readToken): fix reading of the author field.
2177
2178 2004-08-20  José Matos  <jamatos@lyx.org>
2179
2180         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2181
2182 2004-08-20  José Matos  <jamatos@lyx.org>
2183
2184         * lyxlex.[Ch] (findToken): remove function.
2185
2186         * ParagraphParameters.C (findToken):
2187         * bufferparams.C (findToken): replace call for previous function
2188         with local copy. This local function has one more argument, the
2189         read string argument.
2190
2191 2004-08-16  José Matos  <jamatos@lyx.org>
2192
2193         * ParagraphParameters.C (write):
2194         * Spacing.C (writeFile):
2195         * bufferparams.C (writeLaTeX):
2196         * lyx_cb.C (Reconfigure):
2197         * paragraph.C (write):
2198         * tabular.C (write): remove unnecessary space at end of line.
2199
2200
2201 2004-08-16  José Matos  <jamatos@lyx.org>
2202
2203         * text.C (readParagraph): remove debug message.
2204
2205 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2206
2207         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2208         crash
2209
2210         * output_plaintext.C (asciiParagraph): set depth correctly
2211
2212         * outputparams.h: add member depth
2213
2214         * paragraph_funcs.C (ownerPar): remove.
2215
2216         * text2.C (setCounter): remove first_pit; comment out some
2217         non-working code that uses ownerPar
2218
2219         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2220         uses ownerPar
2221
2222 2004-08-16  José Matos  <jamatos@lyx.org>
2223
2224         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2225         For the same level of importance use the same chanel to report problems.
2226         (read): add code to deal with \begin_body and \end_body.
2227
2228
2229 2004-08-15  José Matos  <jamatos@lyx.org>
2230
2231         * lyxlex.C (getString): fix comment, buffer::readBody is now
2232         buffer:readDocument.
2233
2234         * tex-strings.C (string_papersize): Default -> default,
2235         Custom -> custom, for consistency with other options.
2236
2237 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2238
2239         * pch.h: new file
2240
2241         * Makefile.am: support pch
2242
2243 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2244
2245         * text.C (readParToken): remove the static LyXFont variable and
2246         pass it as a parameter instead. This fixes a nasty bug where an
2247         inset will be inserted with a bad font in some situations
2248         (readParagraph): adapt
2249
2250         * text2.C (setCounter): reduce number of calls to pars_[pit]
2251
2252         * text.C (singleWidth): add an assert, fix a test
2253
2254         * rowpainter.C (paintText): reduce number of calls to singleWidth
2255
2256         * paragraph.C (isHfill):
2257         (isNewline): ws only
2258
2259 2004-08-14  André Pönitz  <poenitz@gmx.net>
2260
2261         * text.C:
2262         * text2.C:
2263         * rowpainter.C:
2264         * lyxtext.h (several functions): use a Paragraph & argument
2265         instead of par_type
2266
2267 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2268
2269         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2270
2271         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2272
2273         * text.C (singleWidth): remove useless test
2274
2275 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2276
2277         * tabular.h: remove bogus comments
2278
2279         * tabular.C (getDescentOfRow):
2280         (isPartOfMultiColumn): add assertions
2281
2282         * lyxlength.C (inPixels): remove #warning
2283
2284 2004-08-14  André Pönitz  <poenitz@gmx.net>
2285
2286         * paragraph.h: inline getChar()
2287
2288         * BufferView.h: remove unused declarations
2289
2290 2004-08-14  José Matos  <jamatos@lyx.org>
2291
2292         * Buffer.[Ch] (readDocument): new name for old readBody.
2293         * Buffer.C: new file format, new keywords: \begin_document,
2294         \begin_header, \begin_body, \end_body.
2295
2296         * bufferparams.C (readToken): replace all calls to lex.nextToken
2297         by lex.next(). Do the same to eatLine except where really needed.
2298
2299         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2300         line when writing to the lyx file.
2301
2302         * output_plaintext.C (asciiParagraph): fix Bibliography style
2303         handling.
2304
2305         * text.C (read): fix end of file handling.
2306
2307 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2308
2309         * MenuBackend.C (Menu::operator[]): new method to access
2310         individual menu items
2311         (Menu::hasFunc): new method. search for an item that corresponds
2312         to a given func
2313         (MenuBackend::specialMenu): new method
2314         (MenuBackend::expand): if a special menu has been set, skip
2315         entries whose func() appears in this menu
2316
2317 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2318
2319         * text3.C: use Debug::DEBUG a bit more
2320
2321         * text.C (leftMargin): try to simplify a tiny bit change var x to
2322         l_margin. Dont output the wide margins always.
2323         (rightMargin): no margin in inner texts
2324
2325         * rowpainter.h (nestMargin): new func
2326         (changebarMargin): new func
2327         (rightMargin): new func
2328
2329         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2330         now functions.
2331         (paintLast): ditto
2332
2333         * factory.C (createInset): modify setDrawFrame
2334
2335         * cursor.C: use Debug::DEBUG a bit more
2336
2337 2004-08-14  André Pönitz  <poenitz@gmx.net>
2338
2339         * coordcache.[Ch]:
2340         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2341         cache for all insets in (at least partially) visible (top-level)
2342         paragraphs.
2343
2344         * BufferView_pimpl.C: reset external coord cache before every update.
2345         This means the coord cache only contains valid entries.
2346
2347 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2348
2349         bug 1096
2350         * BufferView_pimpl.C (getInsetByCode): move function out of class
2351         and change in to a template in anon namespace. Also fix to do what
2352         suits us better.
2353
2354 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2355
2356         bug 1305
2357         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2358         of char
2359         (breakParagraph): rename par to par_offset and use a local
2360         reference. Add code to keep the language over a rebreak.
2361         (breakParagraphConservative): rename par to par_offset, use a
2362         local reference
2363         (mergeParagraph): ditto
2364         (outerHook): ditto
2365         (isFirstInSequence): ditto
2366         (outerFont): rename pit to par_offset
2367
2368         * paragraph.C: ws change
2369         * paragraph.h: ditto
2370         * text3.C: ditto
2371         * text.C: ditto
2372
2373 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2374
2375         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2376         treatment for ']'
2377
2378         * paragraph.C (simpleTeXOnePar): when we have a \item with
2379         optional argument, enclose the argument with curly brackets (in
2380         case it contains a closing square bracket)
2381
2382         * text2.C (editXY):
2383         * text2.C (editXY):
2384         * text3.C (checkInsetHit): constify
2385
2386 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2387
2388         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2389         documents (bug 1629)
2390
2391 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2392
2393         Fix toggling of collapsable insets with the mouse (bug 1558)
2394
2395         * lyxfunc.C (dispatch): adapt to LCursor changes
2396
2397         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2398         make sure that dispatch is not invoked twice
2399
2400         * cursor.C (needsUpdate): new method
2401         (dispatch): return void
2402         (result): new method, to access the DispatchResult of the cursor.
2403
2404 2004-08-13  José Matos  <jamatos@lyx.org>
2405
2406         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2407
2408 2004-08-13  André Pönitz  <poenitz@gmx.net>
2409
2410         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2411
2412         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2413           multiple cells
2414
2415 2004-08-12  André Pönitz  <poenitz@gmx.net>
2416
2417         * text3.C: take out the 'cursor right' form insertInset and only
2418         do it in those places when it is really needed. Fixes crash on
2419         C-m...
2420
2421 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2422
2423         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2424
2425         * BufferView_pimpl.C (setBuffer): initialize the current font of
2426         the underlying LyXText
2427
2428 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * kbsequence.C (print): use UI native formatting for menu
2431         shortcuts
2432
2433         * text.C (insertChar): call Paragraph::insertChar with a font
2434         argument (cosmetic)
2435
2436         * paragraph.C (insertInset, insertChar): the version that takes a
2437         LyXFont argument is now a wrapper around the other one (the
2438         opposite used to be true).
2439
2440         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2441         argument. Font setting is done in Paragraph now.
2442
2443 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2444
2445         * outputparams.h: add new members intitle and lang.
2446
2447         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2448         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2449
2450 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * text3.C (dispatch): remove special handling of button 4 and 5,
2453         it is now taken care of in the frontend code.
2454
2455 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2456
2457         * Spacing.h: add <string> (STLPort compile fix)
2458
2459 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2460
2461         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2462
2463 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2464
2465         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2466         to bool.
2467
2468         * converter.C (showMessage): inherit from unary_function, make
2469         operator() const.
2470
2471         * buffer.C (writeFile): initialize retval
2472
2473         * InsetList.h: rename private variable list to list_
2474         * InsetList.[Ch]: adjust accordingly.
2475
2476 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2477
2478         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2479         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2480         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2481         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2482         * ParagraphParameters.C, LaTeXFeatures.C: replace
2483         "support/std_sstream.h" with <sstream>
2484
2485 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2488         * lyxsocket.C (LyXServerSocket): ditto
2489         (serverCallback): ditto
2490
2491 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2492
2493         * LaTeXFeatures.C: check release date when loading jurabib.
2494
2495 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * lyxserver.C (startPipe): call register_socket_callback
2498         (endPipe): call unregister_socket_callback
2499
2500 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2501
2502         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2503         (LyXServerSocket): register the callback
2504         (LyXServerSocket): unregister the callback
2505         (fd): delete function
2506         (serverCallback): improve error checking and setup the callbacks.
2507         (dataCallback): change arg to fd.
2508         (writeln): new func (copied fro the client socket) used for server
2509         write to client.
2510         (LyXDataSocket): simplify
2511         (~LyXDataSocket): close ann unregiser callback
2512         (server): delete function
2513         (fd): delete function
2514         (readln): small changes, improve some std::string usage
2515         (writeln): constify a bit
2516
2517 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2520         Qt frontend
2521
2522 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2523
2524         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2525         after it has been populated
2526
2527 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         * text2.C (insertInset): move cursor when inserting inset.
2530
2531 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2532
2533         * kbmap.C (findbindings): a couple of new methods. returns a
2534         container of kb_sequence objects. The real work is done by the
2535         private recursive version
2536         (printbindings): uses findbindings to print out a bracketed list
2537         of bindings (renamed from findbinding).
2538
2539         * MenuBackend.C (binding): use kb_keymap::findbindings
2540
2541         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2542
2543 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2544
2545         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2546
2547 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2548
2549         * paragraph.C (isWord): return true on insets that report
2550         isLetter().
2551
2552         * text.C (getWord): use Paragraph::isWord to decide what is in a
2553         word and what is not; fix bug 1609.
2554
2555 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2556
2557         * tex-strings.C: add "none" to string_paperpackages[], fixes
2558         off-by-one-error in the paperpackage selection.
2559
2560         * lyxlex.[Ch]:
2561         * tex-strings.[Ch]: char const * string[n]
2562         -> char const * const string[]
2563
2564 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2565
2566         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2567         command, return early.
2568
2569 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2570
2571         * debug.h: add DEBUG to enum and fix size of ANY.
2572
2573         * debug.C: add support for Debug::DEBUG
2574         (showTags): cast errorTags.level to unsigned int
2575
2576         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2577         (redoCurrentBuffer): ditto
2578         (updateScrollbar): ditto
2579         * cursor.C (dispatch): ditto
2580         * text2.C (setLayout): ditto
2581         (setFont): ditto
2582         (updateCounters): ditto
2583         (editXY): ditto
2584         (deleteEmptyParagraphMechanism): ditto
2585
2586 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2589         annotations to cleanup the Makefile slightly.
2590
2591 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2592
2593         * lyxrc.C: do not set user_email to a default value but use empty
2594         instead. The entry used to be translated, which does not work
2595         since at the point where lyxrc is constructed there is no
2596         translation service available
2597
2598         * messages.C (getLocaleDir): remove and use directly
2599         lyx_localedir() instead
2600
2601 2004-06-02  Angus Leeming  <leeming@lyx.org>
2602
2603         Fix crash caused by dereferencing null pointer 'exportdata' in
2604         OutputParams by creating a new ExportData variable on the heap,
2605         storing it in a boost::shared_ptr.
2606         The crash was triggered when generating an Instant Preview
2607         of an external inset.
2608
2609         * Makefile.am: add outputparams.C
2610
2611         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2612         (c-tor): allocate memory to it.
2613
2614         * exporter.C (c-tor): associated changes.
2615
2616 2004-06-01  Angus Leeming  <leeming@lyx.org>
2617
2618         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2619         contains data before calling isInset(0). (Bug 1513.)
2620
2621 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2622
2623         * exporter.C (checkOverwrite): new method
2624         * exporter.C (copyFile): new method
2625         * exporter.C (Export): copy referenced files to the document dir
2626         * exporter.[Ch]: new class ExportedFile
2627         * exporter.[Ch]: new class ExportData. Contains currently the
2628         names of referenced external files
2629         * outputparams.h: add exportdata member.
2630
2631 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2634         version.C-tmp
2635
2636 2004-05-19  Angus Leeming  <leeming@lyx.org>
2637
2638         * LaTeXFeatures.C:
2639         * ToolbarBackend.C:
2640         * bufferparams.C:
2641         * lyxfunc.C: small changes due to the introduction of namespace
2642         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2643
2644 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * text3.C (dispatch): supress update when only moving the cursor
2647         * cursor.C (selHandle): remove commented code
2648
2649 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2650
2651         * paragraph.C (startTeXParParams): correct column count
2652         * CutAndPaste.C (pasteSelection): remove const_cast
2653         * output_docbook.C (docbookParagraphs): remove const_cast
2654         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2655         const_cast and return ParagraphList::const_iterator
2656         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2657         * output_plaintext.C (writeFileAscii): remove const_cast
2658         * paragraph.[Ch] (simpleTeXOnePar): make const
2659         * paragraph_funcs.C (outerPar): use const iterators
2660         * paragraph_pimpl.C (validate): use const iterators
2661         * text.C (setHeightOfRow): use const iterators
2662
2663 2004-05-17  Angus Leeming  <leeming@lyx.org>
2664
2665         * lfuns.h:
2666         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2667
2668         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2669         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2670         if the citation engine has changed.
2671
2672 2004-05-14  José Matos  <jamatos@lyx.org>
2673
2674         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2675         if the textclass does not provide it. Have it different for sgml and
2676         xml.
2677         support the language of document.
2678         * output_docbook.C (docbookParagraphs):
2679         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2680         first anchor as the id of the paragraph, remove special case code.
2681         * sgml.C (escapeChar): escape only < & >.
2682
2683 2004-05-14  Angus Leeming  <leeming@lyx.org>
2684
2685         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2686         dependencies on src/frontends/controllers/biblio.h. Define a
2687         CiteEngine_enum wrapper class to enable the enum to be forward
2688         declared.
2689
2690 2004-05-12  Angus Leeming  <leeming@lyx.org>
2691
2692         * buffer.C: up LYX_FORMAT to 234.
2693         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2694         use_numerical_citations with a single biblio::CiteEngine cite_engine
2695         variable.
2696         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2697
2698 2004-05-13  José Matos  <jamatos@lyx.org>
2699
2700         * converter.h:
2701         * converter.C (Converter, readFlags): add xml member.
2702         * outputparams.h: add XML flavor.
2703         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2704
2705 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2706
2707         * lyxfunc.C (dispatch):
2708         (getStatus): fix handling of LFUN_SEQUENCE
2709
2710 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * debug.C (showLevel): do not forget the end-of-line marker
2713
2714 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2715
2716         * kbmap.C (read): do not stop parsing a bind file when an error
2717         occurs (bug 1575)
2718
2719 2004-04-29  Angus Leeming  <leeming@lyx.org>
2720
2721         * cursor.C:
2722         * factory.C:
2723         * pariterator.C:
2724         * text2.C: wrap a bunch of #warning statements
2725         inside #ifdef WITH_WARNINGS blocks.
2726
2727 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2728
2729         * buffer.C: increment format to 233.
2730
2731 2004-04-28  Angus Leeming  <leeming@lyx.org>
2732
2733         * BufferView_pimpl.C:
2734         * lyxfunc.C:
2735         * text3.C:
2736         s/updateToolbar()/updateToolbars()/
2737         s/Toolbar.h/Toolbars.h/
2738
2739 2004-04-28  Angus Leeming  <leeming@lyx.org>
2740
2741         * BufferView.[Ch] (c-tor):
2742         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2743         No longer passes these data to the WorkArea generator.
2744
2745 2004-04-28  Angus Leeming  <leeming@lyx.org>
2746
2747         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2748
2749 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2750
2751         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2752
2753 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2754
2755         * output_latex.C (TeXEnvironment): make sure that there is a line
2756         break before \end{foo} for the last paragraph of a document
2757         (TeXOnePar): if the paragraph is at the end of the document (or
2758         inset) and the language has to be reset, then make sure that the
2759         line break is _before_ the language command, not after (fixes bug
2760         1225); also make sure that the language reset command is the first
2761         thing after the paragraph (to ensure proper nesting of
2762         environments and thus fix bug 1404)
2763
2764 2004-04-21  John Levon  <levon@movementarian.org>
2765
2766         * ToolbarBackend.h:
2767         * ToolbarBackend.C: make "name" be a programmatic name
2768         and a gui_name field.
2769
2770         * lyxfunc.C: display the minibuffer on M-x
2771
2772 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2773
2774         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2775         (bug 1526)
2776
2777 2004-04-19  Angus Leeming  <leeming@lyx.org>
2778
2779         * BufferView_pimpl.C (setBuffer): changed preview interface.
2780
2781         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2782         possible values.
2783
2784 2004-04-19  John Levon  <levon@movementarian.org>
2785
2786         * BufferView_pimpl.C:
2787         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2788
2789 2004-04-05  Angus Leeming  <leeming@lyx.org>
2790
2791         * text.C (redoParagraphs): add call to updateCounters(), thereby
2792         fixing the missing "Figure #:" label from the caption of a
2793         figure float.
2794
2795 2004-04-13  Angus Leeming  <leeming@lyx.org>
2796
2797         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2798         cursor is clicked out of an inset.
2799
2800 2004-04-13  Angus Leeming  <leeming@lyx.org>
2801
2802         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2803         than an InsetOld one.
2804
2805 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2806
2807         * format.[Ch]: add editor to Format
2808         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2809         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2810
2811 2004-04-08  André Pönitz  <poenitz@gmx.net>
2812
2813         * metricsinfo.h: remove PainterInfo::width member
2814
2815 2004-04-08  Angus Leeming  <leeming@lyx.org>
2816
2817         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2818         "\providecommand" rather than "\newcommand", thereby preventing
2819         clashes with packages that define "\boldsymbol" themselves.
2820         Eg, beamer.
2821
2822 2004-04-08  Angus Leeming  <leeming@lyx.org>
2823
2824         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2825         thereby squashing an unnecessary warning.
2826
2827 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2828
2829         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2830         setBuffer()
2831
2832 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2833
2834         * BufferView.C (setCursor): call redoParagraph (some insets could
2835         have been opened)
2836         (putSelectionAt): remove the 'double update' trick
2837
2838         * BufferView_pimpl.C (fitCursor): call refreshPar
2839         (workAreaDispatch): remove an uneeded update call
2840         (dispatch): remove some manual update calls
2841
2842         * cursor.[Ch]: remove cached_y_, updatePos
2843         (selHandle): set noUpdate when appropriate
2844
2845         * lyxfunc.C (dispatch): track if we need an update
2846
2847         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2848
2849         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2850         (paintSelection): cheap optimization, do not call cursorX when not
2851         needed
2852         (paintPars): change signature
2853         (refreshPar): add
2854         (paintText): adjust
2855         (paintTextInset): adjust
2856
2857         * text.C: adjust
2858
2859 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2860
2861         * lengthcommon.C: compilation fix: remove explicit array size from
2862         unit_name[] and friends
2863
2864 2004-04-05  Angus Leeming  <leeming@lyx.org>
2865
2866         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2867
2868         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2869         present only for the preferences dialog.
2870         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2871
2872 2004-04-05  Angus Leeming  <leeming@lyx.org>
2873
2874         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2875         to enable the frontends to export changes to lyxrc correctly.
2876
2877         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2878
2879 2004-04-07  André Pönitz  <poenitz@gmx.net>
2880
2881         * cursor.[Ch] (selClear, adjust): remove math
2882
2883         * cursor_slice.C: more agressive assert
2884
2885         * lyxfunc.C:
2886         * BufferView_pimpl.C: rework mouse event dispatch
2887
2888         * dociterator.C:
2889         * paragraph.C:
2890         * text2.C:
2891         * text3.C: adjust
2892
2893 2004-04-05  André Pönitz  <poenitz@gmx.net>
2894
2895         * cursor.[Ch] (valign, halign...): remove unneeded functions
2896
2897 2004-04-05  Angus Leeming  <leeming@lyx.org>
2898
2899         * lyxlength.[Ch] (unit_name et al.): const-correct.
2900
2901 2004-04-05  Angus Leeming  <leeming@lyx.org>
2902
2903         * BufferView_pimpl.C:
2904         * buffer.C:
2905         * counters.C:
2906         * cursor.C:
2907         * lyxfunc.C
2908         * paragraph.C:
2909         * pariterator.C:
2910         * text.C:
2911         * text2.C:
2912         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2913
2914 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2915
2916         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2917
2918 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2919
2920         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2921         * BufferView_pimpl.[Ch] (getStatus)
2922         * BufferView.[Ch] (getStatus): add
2923         * lyxfunc.C (getStatus): move lfuns handled in
2924         BufferView::dispatch to te function above
2925         * Cursor.C (setSelection): set selection() = true
2926
2927 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2930
2931 2004-03-31  Angus Leeming  <leeming@lyx.org>
2932
2933         * lyxfunc.C (dispatch): Fall through to the generic
2934         Dialogs::show("preamble").
2935
2936 2004-03-31  Angus Leeming  <leeming@lyx.org>
2937
2938         * lyxfunc.C (dispatch): Fall through to the generic
2939         Dialogs::show("spellchecker").
2940
2941 2004-03-31  Angus Leeming  <leeming@lyx.org>
2942
2943         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2944         preferences dialog.
2945
2946 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * BufferView.C
2949         * cursor.[Ch]
2950         * dociterator.[Ch]:
2951         * insetiterator.[Ch]:
2952         * lyxfind.C:
2953         * lyxfunc.C:
2954         * pariterator.[Ch]:
2955         * text2.C:
2956         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2957
2958 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2961         insets where we are putting the cursor.
2962
2963 2004-03-31  Angus Leeming  <leeming@lyx.org>
2964
2965         * lfuns.h:
2966         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2967
2968         * lyxrc.[Ch] (read, write): overloaded member functions taking
2969         a std::[io]stream arguments.
2970
2971         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2972
2973 2004-03-31  Angus Leeming  <leeming@lyx.org>
2974
2975         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2976         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2977
2978         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2979         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2980
2981 2004-03-31  Angus Leeming  <leeming@lyx.org>
2982
2983         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2984         the LFUN_ALL_INSETS_TOGGLE code.
2985
2986 2004-03-30  Angus Leeming  <leeming@lyx.org>
2987
2988         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2989         has died. Fall through to the generic Dialogs::show("document").
2990
2991 2004-03-30  Angus Leeming  <leeming@lyx.org>
2992
2993         * lfuns.h:
2994         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2995         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2996
2997         * lyxfunc.C (getStatus, dispatch): define the actions for these
2998         lfuns. Little more than a cut and pste job from ControlDocument.C
2999
3000         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3001
3002 2004-03-30  Angus Leeming  <leeming@lyx.org>
3003
3004         * lfuns.h:
3005         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3006         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3007
3008         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3009         open/closed state of ollapsable insets. Usage:
3010
3011         all-inset-toggle <state> <name>, where
3012         <state> == "open" || "closed" || "toggle" and
3013         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3014
3015         * lyxtext.h, text2.C (toggleInset): removed.
3016
3017         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3018         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3019         now passes LFUN_INSET_TOGGLE to the found inset.
3020
3021         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3022         is now invoked as "all-insets-toggle toggle branch".
3023
3024 2004-03-30  Angus Leeming  <leeming@lyx.org>
3025
3026         * dociterator.C:
3027         * insetiterator.C:
3028         * pariterator.[Ch]: added/corrected header blurb.
3029
3030 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * dociterator.[Ch]: add an inset_ member
3033         (backwardPos): implemented
3034         (backwardPos, forwardPos): use inset_ when the stack is empty.
3035         (doc_iterator_begin, doc_iterator_end): implemented
3036         * pariterator.[Ch]: adjust, add begin, end
3037         * insetiterator.[Ch]: adjust, add begin, end
3038         * cursor.C:
3039         * document.C:
3040         * BufferView.C:
3041         * BufferView_pimpl.C:
3042         * CutAndPaste.C: adjust
3043
3044 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3045
3046         * buffer.C: increment file format to 232.
3047         * LaTeXFeatures.C: add bibtopic package.
3048         * bufferparams.[Ch]: param \use_bibtopic.
3049
3050         * lyxrc.[Ch]: add lyxrc bibtex_command
3051         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3052
3053         * buffer.C: increment file format to 231.
3054
3055 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3056
3057         * dociterator.C: implement forwardPar
3058         * iterators.[Ch]: remove, replaced by
3059         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3060         * BufferView.C:
3061         * BufferView_pimpl.C:
3062         * CutAndPaste.C:
3063         * buffer.C:
3064         * bufferview_funcs.C:
3065         * cursor.C:
3066         * lyxfind.C
3067         * lyxfunc.C
3068         * paragraph_funcs.C
3069         * toc.C:
3070         * Makefile.am: adjust
3071
3072 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * CutAndPaste.C (pasteSelection): fix 2 crashes
3075         (eraseSelection): fix a crash
3076         * paragraph_funcs.C: remove a warning
3077
3078 2004-03-28  Angus Leeming  <leeming@lyx.org>
3079
3080         * lfuns.h:
3081         * LyXAction.C (init): new LFUN_PRINT.
3082
3083         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3084
3085 2004-03-27  Angus Leeming  <leeming@lyx.org>
3086
3087         * lfuns.h:
3088         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3089
3090         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3091
3092 2004-03-27  Angus Leeming  <leeming@lyx.org>
3093
3094         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3095         insetlist always contains non-null pointers to insets.
3096
3097 2004-03-26  Angus Leeming  <leeming@lyx.org>
3098
3099         * src/BufferView_pimpl.C:
3100         * src/CutAndPaste.C:
3101         * src/buffer.C:
3102         * src/iterators.C:
3103         * src/output_plaintext.C:
3104         * src/outputparams.h:
3105         * src/paragraph_funcs.C:
3106         * src/rowpainter.C:
3107         * src/text.C:
3108         * src/text2.C:
3109         * src/frontends/controllers/ControlErrorList.C:
3110         * src/frontends/gtk/FileDialogPrivate.C:
3111         * src/frontends/gtk/GPainter.C:
3112         * src/frontends/gtk/GToolbar.C:
3113         * src/frontends/qt2/QRef.C:
3114         * src/mathed/math_scriptinset.C: squash compiler warnings.
3115
3116 2004-03-26  Angus Leeming  <leeming@lyx.org>
3117
3118         * ispell.C (LaunchIspell::start):
3119         * lyx_cb.C (AutoSaveBuffer::start):
3120         invoke run(DontWait) rather than runNonBlocking().
3121
3122 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3123
3124         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3125
3126 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3127
3128         * kbsequence.C (print): adjust
3129
3130         * kbmap.C (printKeySym): rename and change signature
3131         (printKey): use LyXKeySym::print()
3132
3133 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3134
3135         * undo.C: add using std::advance to compile for stlport
3136
3137 2004-03-24  Angus Leeming  <leeming@lyx.org>
3138
3139         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3140         it leads to a crash when no buffer is present.
3141
3142 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3143             Martin Vermeer  <martin.vermeer@hut.fi>
3144
3145         * lyxfunc.C (dispatch):
3146         * bufferparams.C (readToken): use the new LColor::setColor
3147
3148         * LColor.[Ch] (setColor): new version that takes two strings as
3149         argument and creates a new color entry if necessary
3150
3151 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3152
3153         * buffer.C (makeLaTeXFile): if the main latex file that is
3154         processed is usually a subdocument of some master, then pretend
3155         for a while that it is actually the master
3156
3157 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3158
3159         * buffer.C (getLabelList):
3160         (getBibkeyList): use getMasterBuffer()
3161         (getMasterBuffer): new method. Returns the main document in the
3162         case where one is using included documents.
3163
3164 2004-03-25  André Pönitz  <poenitz@gmx.net>
3165
3166         * Makefile.am:
3167         * iterators.[Ch]:
3168         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3169
3170         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3171
3172         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3173         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3174
3175         * ParameterStruct.h: merge with ParagraphParameters
3176
3177         * lyxtext.h: remove LyXText::parOffset() and getPar()
3178
3179         * text3.C: Remove all 'manual' update calls. We do now one per user
3180         interaction which is completely sufficient.
3181
3182         * Bidi.C:
3183         * BufferView.[Ch]:
3184         * BufferView_pimpl.C:
3185         * FontIterator.[Ch]:
3186         * MenuBackend.C:
3187         * ParagraphParameters.[Ch]:
3188         * buffer.C:
3189         * buffer.h:
3190         * bufferlist.C:
3191         * cursor.[Ch]:
3192         * cursor_slice.[Ch]:
3193         * dociterator.[Ch]:
3194         * errorlist.[Ch]:
3195         * factory.C:
3196         * lfuns.h:
3197         * lyxfind.C:
3198         * lyxfunc.C:
3199         * output_docbook.[Ch]:
3200         * output_latex.[Ch]:
3201         * output_linuxdoc.[Ch]:
3202         * output_plaintext.[Ch]:
3203         * paragraph.[Ch]:
3204         * paragraph_funcs.[Ch]:
3205         * paragraph_pimpl.[Ch]:
3206         * rowpainter.C:
3207         * tabular.[Ch]:
3208         * text.C:
3209         * text2.C:
3210         * toc.C:
3211         * undo.[Ch]: adjust
3212
3213         * frontends/controllers/ControlDocument.C:
3214         * frontends/controllers/ControlErrorList.C:
3215         * frontends/controllers/ControlSpellchecker.C:
3216         * insets/inset.C:
3217         * insets/inset.h:
3218         * insets/insetbase.h:
3219         * insets/insetbibitem.C:
3220         * insets/insetbox.C:
3221         * insets/insetbranch.C:
3222         * insets/insetcaption.C:
3223         * insets/insetcharstyle.C:
3224         * insets/insetcharstyle.h:
3225         * insets/insetcollapsable.C:
3226         * insets/insetcollapsable.h:
3227         * insets/insetert.C:
3228         * insets/insetfloat.C:
3229         * insets/insetfoot.C:
3230         * insets/insetmarginal.C:
3231         * insets/insetnote.C:
3232         * insets/insetoptarg.C:
3233         * insets/insettabular.C:
3234         * insets/insettext.C:
3235         * insets/insettext.h:
3236         * insets/insetwrap.C:
3237         * mathed/math_mboxinset.C:
3238         * mathed/math_nestinset.C:
3239         * mathed/math_scriptinset.C:
3240         * mathed/math_scriptinset.h:
3241         * support/types.h:
3242
3243 2004-03-24  Angus Leeming  <leeming@lyx.org>
3244
3245         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3246         deal with any child processes that have finished but are waiting to
3247         communicate this fact to the rest of LyX.
3248
3249 2004-03-24  Angus Leeming  <leeming@lyx.org>
3250
3251         64-bit compile fixes.
3252
3253         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3254         (c-tor): pass lyx::pos_types rather than ints.
3255
3256         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3257         lyx::pos_type.
3258
3259         * text.C (Delete): compile fix.
3260         (getPar): ensure that function declaration is the same as that in
3261         the header file.
3262
3263 2004-03-23  Angus Leeming  <leeming@lyx.org>
3264
3265         * ispell.C (LaunchIspell):
3266         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3267         a boost::shred_ptr rather than a std::auto_ptr.
3268
3269 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3270
3271         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3272         handle LFUN_FILE_INSERT_*
3273
3274         * lyxrc.C (setDefaults, getDescription, output, read):
3275         * lyxrc.h: remove ps_command
3276
3277 2004-03-22  Angus Leeming  <leeming@lyx.org>
3278
3279         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3280         Ensure that error_handler is processed once only and that all data
3281         is saved before attempting to output any warning messages.
3282
3283         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3284
3285 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3286
3287         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3288
3289 2004-03-19  André Pönitz  <poenitz@gmx.net>
3290
3291         * cursor.[Ch] (reset): take main text inset as argument
3292
3293         * BufferView: adjust
3294         * BufferView_pimpl.C: adjust
3295
3296         * paragraph.[Ch]: fix completely broken operator=()
3297
3298 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3299
3300         * LColor.C (getFromLyXName): make sure that the color name is used
3301         as lowercase.
3302
3303 2004-03-17  Angus Leeming  <leeming@lyx.org>
3304
3305         * lfuns.h:
3306         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3307
3308         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3309         dialog and to kill a forked process.
3310
3311 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3312
3313         * text2.C (setCursorFromCoordinates): fix font problem
3314
3315 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3316
3317         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3318         bogus "rebuild cursor" code
3319
3320 2004-03-11  André Pönitz  <poenitz@gmx.net>
3321
3322         * buffer.[Ch]: use InsetText instead of LyXText as container for
3323         the main lyx text.
3324
3325         * dociterator.[Ch]: drop the BufferView * member which is not needed
3326         anymore after the change to buffer.C
3327
3328         * paragraph_funcs.C:
3329         * text.C:
3330         * text2.C:
3331         * BufferView.[Ch]:
3332         * BufferView_pimpl.[Ch]:
3333         * cursor.[Ch]:
3334         * cursor_slice.[Ch]: adjust
3335
3336         * text3.C: fix bug in mathDispatch
3337
3338 2004-03-08  André Pönitz  <poenitz@gmx.net>
3339
3340         * undo.[Ch]: use 'StableDocumentIterator' as base for
3341         the Undo struct.
3342
3343 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3344
3345         * LaTeXFeatures.C:
3346         * bufferparams.[Ch]: add jurabib support and param.
3347
3348         * LaTeX.C: add FIXME/comment.
3349
3350 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3351
3352         * buffer.C: increment file format to 230.
3353
3354 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3355
3356         * cursor.C (dispatch): avoid infinite loops
3357
3358 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3359
3360         * rowpainter.C (paintSelection): fix x coordinates
3361
3362 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3363
3364         * text.C (rowBreakPoint): fix breaking before displayed insets
3365
3366 2004-03-01  André Pönitz  <poenitz@gmx.net>
3367
3368         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3369
3370         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3371
3372         * Makefile.am:
3373         * BufferView.C:
3374         * BufferView_pimpl.C:
3375         * buffer.C:
3376         * lyxfind.C:
3377         * lyxfunc.C:
3378         * text.C:
3379         * text2.C:
3380         * text3.C: adjust
3381
3382 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3383
3384         * lyxtext.h:
3385         * text.C:
3386         * text2.C:
3387         * rowpainter.C:
3388         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3389         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3390
3391 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3392
3393         * Bidi.[Ch] (computeTables): const correctness
3394         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3395         fill_hfill, fill_label_hfill and x from Row
3396         * lyxtext.h: prepareToPrint returns a RowMetrics
3397         * rowPainter.C: adjust
3398         * text.C (prepareToPrint): use width, not textWidth. adjust
3399         (redoParagraphInternal, cursorX): adjust
3400         * text2.C (getColumnNearX): adjust
3401         (init): put a default value to the top LyXText::width
3402
3403 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3404
3405         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3406
3407 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3408
3409         * lyxtext.h: add FontIterator class
3410
3411         * text.C (FontIterator, operator*, operator->, operator++): add
3412         (rowBreakPoint, setRowWidth): adjust (fixing a
3413         rebreaking bug)
3414
3415 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3416
3417         * BufferView_pimpl.C (workAreaDispatch): allow also
3418         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3419
3420 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3421
3422         * text.C (rowBreakPoint): fix a bug showing with very large insets
3423
3424 2004-02-25  André Pönitz  <poenitz@gmx.net>
3425
3426         * text3.C:
3427         * cursor.[Ch]: move some mathed specific code to mathed
3428
3429 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3430
3431         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3432         use_tempdir in preferences
3433         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3434         tempfile creation
3435         * lyx_main.C: ensure that tempdir is valid
3436         * lyxlex.h: correct typo
3437         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3438         * paragraph.[Ch] (isMultiLingual): make const
3439         * cursor.[Ch] (openable): make const
3440
3441 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3442
3443         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3444
3445 2004-02-20  André Pönitz  <poenitz@gmx.net>
3446
3447         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3448
3449         * cursor.[Ch]: prepare for localized getStatus()
3450
3451         * lyxtext.h:
3452         * tabular.C:
3453         * text.C:
3454         * text2.C:
3455         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3456
3457 2004-02-20  André Pönitz  <poenitz@gmx.net>
3458
3459         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3460
3461 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3462
3463         * text2.C (setCursorFromCoordinates): switch to absolute coords
3464         (cursorUp): adjust
3465         (cursorDown): adjust
3466         * text3.C (dispatch): adjust
3467
3468 2004-02-16  André Pönitz  <poenitz@gmx.net>
3469
3470         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3471           insets/ChangeLog)
3472
3473         * cursor_slice.[Ch]: remove unneeded acessor function
3474
3475         * lyxtext.h: rename rtl() to isRTL()
3476
3477         * rowpainter.C:
3478         * tabular.C:
3479         * text.C:
3480         * text2.C:
3481         * text3.C: adjust
3482
3483 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3484
3485         * rowpainter.C (paintSelection): coord fix
3486
3487 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3488
3489         * Spacing.C: compile fix
3490
3491 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3492
3493         * cursor.C (dispatch): restore current_ before returning
3494
3495 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3496
3497         * text2.C (cursorUp, cursorDown): fix coords
3498         (moveUp): fix crash
3499
3500 2004-02-12  André Pönitz  <poenitz@gmx.net>
3501
3502         * lyxtext.h:
3503         * text.C:
3504         * text2.C:
3505         * text3.C: add LCursor & parameter to most cursor movement functions
3506           remove usage of LyXText::cursorRow() and cursorPar()
3507
3508         * cursor.[Ch]: add textRow() needed members
3509
3510         * BufferView.C:
3511         * BufferView_pimpl.C:
3512         * paragraph.[Ch]:
3513         * BufferView.C:
3514         * BufferView_pimpl.C: adjust
3515
3516 2004-02-11  André Pönitz  <poenitz@gmx.net>
3517
3518         * lyxfunc.C:
3519         * BufferView.[Ch]:
3520         * BufferView_pimpl.C: shift undo/redo handling
3521
3522         * cursor.[Ch]: fix mathed crash
3523
3524         * lyxfind.C:
3525         * lyxtext.h: move selectionAsText to LCursor
3526
3527         * output_latex.C:
3528         * paragraph.C:
3529         * text.C:
3530         * text2.C:
3531         * text3.C: adjust
3532
3533         * rowpainter.C: fix excessive drawing
3534
3535 2004-02-06  André Pönitz  <poenitz@gmx.net>
3536
3537         * BufferView.[Ch]:
3538         * BufferView_pimpl.[Ch]:
3539         * text3.C: move some text specific LFUN handling
3540
3541 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3542
3543         * text3.C (checkInsetHit): adjust coords
3544         * text2.C (getColumnNearX): adjust coords
3545         (edit): adjust coords
3546         * text.C (getRowNearY): add two asserts
3547
3548 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3549
3550         * converter.C:
3551         * format.C: add using std::distance to compile on gcc 2.95/stlport
3552
3553 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3554
3555         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3556
3557 2004-02-04  André Pönitz  <poenitz@gmx.net>
3558
3559         * BufferView.[Ch] (insertInset):
3560         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3561
3562         * text2.C:
3563         * text3.C: adjust
3564
3565 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3566
3567         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3568         on the default clause of the switch
3569         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3570         wasn't catched by LCursor::dispatch
3571
3572 2004-02-03  André Pönitz  <poenitz@gmx.net>
3573
3574         * BufferView.C:
3575         * cursor.[Ch]: some additional asserts
3576
3577         * undo.[Ch]: remove LyXText dependency in interface
3578
3579         * lyxfunc.C: adjust
3580
3581         * lyxtext.h (firstPar, lastPar): remove dead functions
3582
3583         * text.C:
3584         * text2.C:
3585         * text3.C:
3586         * paragraph.[Ch]: adjust
3587
3588 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3589
3590         * lyxfind.C (find): fix argument order in call to ::find
3591
3592 2004-02-02  André Pönitz  <poenitz@gmx.net>
3593
3594         * cursor.[Ch]: remove direct access to anchor
3595
3596         * text.C: remove findText() hack
3597
3598 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * iterators.[Ch] (lockPath): remove in favour of...
3601         * BufferView.[Ch] (setCursor): this addition
3602         * BufferView.C (putSelectionAt): adjust
3603         * undo.C (performUndoOrRedo): adjust
3604         * lyxfunc.C (dispatch): adjust
3605
3606 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3607
3608         * iterators.C (lockPath): add a missing slice
3609         * undo.C (performUndoOrRedo): remove redundant positioning code
3610
3611 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * vc-backend.C (scanMaster): ";" -> ';'
3614
3615 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3616
3617         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3618         std::binary_function
3619
3620         * lyxtextclass.C (compare_name): rename to...
3621         (LayoutNamesEqual): ...this
3622
3623         * lyxlex_pimpl.C (compare_tags): inherit from
3624         std::binary_function, put back into anon namespace
3625
3626         * lyxfind.C (MatchString): inherig from std::binary_function
3627         (findChange): use empty() istead of !size()
3628
3629         * format.C (FormatNamesEqual): new functor
3630         (getFormat): use it
3631         (getNumber): use it
3632         (add): use it
3633         (erase): use it
3634         (setViewer): use it
3635
3636         * converter.C (compare_Converter): rename to...
3637         (ConverterEqual): ...this, and fixup a bit.
3638         (getConverter): use it, and make function const
3639         (getNumber): use it, and make function const
3640         (add): use it
3641         (erase): use it:
3642
3643         * bufferlist.C: add using boost::bind
3644
3645         * MenuBackend.C (MenuNamesEqual): new functor
3646         (hasMenu): use it, and make function const
3647         (hasSubmenu): use nested bind to get rid of compare_memfun.
3648
3649 2004-01-30  André Pönitz  <poenitz@gmx.net>
3650
3651         * BufferView_pimpl.C:
3652         * cursor.C:
3653         * cursor.h:
3654         * cursor_slice.[Ch]:
3655         * lyxfunc.C:
3656         * lyxtext.h:
3657         * paragraph_funcs.C:
3658         * paragraph_funcs.h:
3659         * rowpainter.C:
3660         * text.C:
3661         * text2.C:
3662         * text3.C: move some of the edit(x,y) handling to the insets
3663         some coordinate changes.
3664
3665 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * text.C: add using statements for std::advance and std::distance
3668
3669         * paragraph.C: add using statement for std::distance
3670
3671         * lyxfind.C: add using statement for std::advance
3672
3673         * cursor.C (region): remove std:: from swap
3674         (openable): use nucleus in stead of operator->
3675
3676         * BufferView.C: add using statements for std::distance and std::swap
3677
3678 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3679
3680         * iterators.C: Remove the pimple, move the needed structures to
3681         the header file. Create accessor for the positions stack.
3682         (asPosIterator): remove function
3683
3684         * PosIterator.C (PosIterator): move constructors to top of file
3685         (PosIterator): reimplement the constructor taking a ParIterator in
3686         terms of setFrom.
3687         (setFrom): new function
3688         (operator!=): inline it
3689
3690 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * lyxfind.C (replaceAll): use std::advance
3693
3694         * iterators.h: inherit from std::iterator.
3695
3696         * PosIterator.C (advance, distance): remove
3697         * PosIterator.h: interit from std::iterator.
3698
3699 2004-01-26  André Pönitz  <poenitz@gmx.net>
3700
3701         * BufferView.[Ch]:
3702         * BufferView_pimpl.[Ch]:
3703         * InsetList.[Ch]:
3704         * PosIterator.[Ch]:
3705         * buffer.h:
3706         * bufferview_funcs.C:
3707         * cursor.[Ch]:
3708         * cursor_slice.h:
3709         * factory.[Ch]:
3710         * iterators.[Ch]:
3711         * lyxfind.C:
3712         * lyxfunc.C:
3713         * lyxtext.h:
3714         * output_docbook.C:
3715         * output_latex.C:
3716         * output_linuxdoc.C:
3717         * output_plaintext.C:
3718         * paragraph.[Ch]:
3719         * paragraph_funcs.[Ch]:
3720         * paragraph_pimpl.[Ch]:
3721         * rowpainter.C:
3722         * tabular.C:
3723         * tabular.h:
3724         * text.C:
3725         * text2.C:
3726         * text3.C: more IU:  dumps most of the rest of the mathcursor
3727     implementation into cursor.[Ch]; "globalize" a bit of it.
3728
3729 2004-01-25  Angus Leeming  <leeming@lyx.org>
3730
3731         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3732
3733 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3734
3735         * LaTeXFeatures.h: add nice_ and nice() const
3736         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3737
3738 2004-01-20  André Pönitz  <poenitz@gmx.net>
3739
3740         * BufferView.[Ch]:
3741         * BufferView_pimpl.C:
3742         * PosIterator.C:
3743         * bufferview_funcs.C:
3744         * cursor.[Ch]:
3745         * cursor_slice.[Ch]:
3746         * factory.C:
3747         * iterators.C:
3748         * lyx_cb.C:
3749         * lyxfind.C:
3750         * lyxfunc.C:
3751         * lyxtext.h:
3752         * rowpainter.C:
3753         * text.C:
3754         * text2.C:
3755         * text3.C:
3756         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3757           LCursor and mathcursor parts to LCursor and InsetBase.
3758
3759 2004-01-15  André Pönitz  <poenitz@gmx.net>
3760
3761         * cursor_slice.[Ch]: add a few covienience functions
3762
3763         * funcrequest.[Ch]: remove BufferView * member
3764
3765         * BufferView_pimpl.C:
3766         * cursor.C:
3767         * factory.[Ch]:
3768         * lyxfind.[Ch]:
3769         * lyxfunc.C:
3770         * lyxtext.h:
3771         * text3.C:
3772         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3773
3774 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3775
3776         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3777         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3778
3779 2004-01-13  André Pönitz  <poenitz@gmx.net>
3780
3781         * textcursor.[Ch]:
3782         * lyxtext.h: hide cursor and selection anchor behind accessor function
3783
3784         * BufferView.C:
3785         * BufferView_pimpl.[Ch]:
3786         * PosIterator.C:
3787         * bufferview_funcs.C:
3788         * cursor.h:
3789         * lyxfind.C:
3790         * lyxfunc.C:
3791         * text.C:
3792         * text2.C:
3793         * text3.C:
3794         * undo.C: adjust
3795
3796         * cursor.h:
3797         * cursor_slice.[Ch]: some integer type changes for inset unification
3798
3799         * lyxcursor.[hC]: remove, it's CursorSlice now.
3800
3801         * Makefile.am:
3802         * BufferView_pimpl.[Ch]:
3803         * bufferview_funcs.C:
3804         * cursor_slice.C:
3805         * lyxtext.h:
3806         * text.C:
3807         * text2.C:
3808         * text3.C:
3809         * textcursor.[Ch]: adjust
3810
3811 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * text2.C (undoSpan): add and use
3814         * text.C (breakParagraph): use undoSpan (fix bug 578)
3815         * lyxtext.h: adjust
3816
3817 2004-01-08  Angus Leeming  <leeming@lyx.org>
3818
3819         * BufferView_pimpl.C (MenuInsertLyXFile):
3820         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3821         * lyxfunc.C (menuNew, open, doImport):
3822         FileFilterList change to the FileDialog open and save functions.
3823
3824 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * ShareContainer.h: make isEqual and isUnique adaptable
3827
3828         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3829
3830 2004-01-07  Angus Leeming  <leeming@lyx.org>
3831
3832         * LyXAction.C:
3833         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3834
3835         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3836
3837         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3838         functions replacing find, replace and replaceAll.
3839
3840         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3841         LFUN_WORDFIND(FORWARD|BACKWARD).
3842
3843 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * text.C (breakParagraph): remove an outdated #warning
3846
3847 2004-01-07  André Pönitz  <poenitz@gmx.net>
3848
3849         * lyxfind.C: somewhat clearer logic
3850
3851         * text.C: prevent crash in cursorX on unitialized row cache
3852
3853 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * lyxcursor.[Ch] (operator>): add
3856         * textcursor.C (selStart, selEnd): use std::min and std::max
3857
3858 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3859
3860         * Chktex.C: include boost/format.hpp
3861
3862 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3863
3864         * InsetList.C: replace functor MathcIt with adaptable functor
3865         InsetTablePosLess
3866         (insetIterator): modify accordingly
3867
3868         * BranchList.h: move the BranchNamesEqual functor here from...
3869         * BranchList.C: ... to here
3870
3871         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3872         SameName and match.
3873         (add): replace a finding loop with std::find_if.
3874
3875 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3876
3877         * output_docbook.C: moving LatexParam functionality into
3878         .layout files
3879
3880 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3881
3882         * buffer.C: increment format to 229.
3883
3884 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3885
3886         * LaTeXFeatures.C:
3887         * lyx_sty.[Ch]: remove minipageindent_def
3888
3889         * LyXAction.C:
3890         * factory.C:
3891         * lfuns.h:
3892         * lyxfunc.C:
3893         * text3.C: remove LFUN_INSET_MINIPAGE
3894
3895 2003-12-28  Angus Leeming  <leeming@lyx.org>
3896
3897         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3898
3899 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3900
3901         * text2.C (setParagraph): fix off-by-one crash
3902
3903 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3904
3905         * output_docbook.C: header stuff for AGU
3906
3907 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3908
3909         * text2.C (redoCursor): remove
3910         * text.C:
3911         * text3.C:
3912         * BufferView_pimpl.C: remove calls to redoCursor and
3913         setCursor(cursor.par(), cursor.pos()) all around
3914
3915 2003-12-15  Angus Leeming  <leeming@lyx.org>
3916
3917         * buffer.C: up the format to 228.
3918
3919 2003-12-15  André Pönitz  <poenitz@gmx.net>
3920
3921         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3922         slices
3923
3924         * Makefile.am:
3925
3926         * BufferView_pimpl.C:
3927         * cursor.[Ch]:
3928         * lyxcursor.[Ch]:
3929         * rowpainter.[Ch]:
3930         * lyxtext.h:
3931         * text.C:
3932         * text2.C:
3933         * text3.C: adjust
3934
3935 2003-12-15  Angus Leeming  <leeming@lyx.org>
3936
3937         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3938         than getFromGUIName to manipulate the color.
3939
3940 2003-12-14  Angus Leeming  <leeming@lyx.org>
3941
3942         * BranchList.[Ch]: minimize the API.
3943         (Branch::getBranch, getColor): now return a 'const &'.
3944         (Branch::setSelected) now returns a bool set to true if the
3945         selection status changes.
3946         (BranchList::clear, size, getColor, setColor, setSelected,
3947         allBranches, allSelected, separator): removed.
3948         (BranchList::find): new functions, returning the Branch with
3949         the given name.
3950         (BranchList::add, remove): return a bool indicating that
3951         the operation was successful.
3952
3953         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3954         new InsetBranch::isBranchSlected member function.
3955
3956         * LColor.[Ch]: mimimize the API.
3957         (fill): renamed as addColor and made private.
3958         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3959         versions of these functions taking a string arg have been removed.
3960
3961         * bufferparams.C (readToken):
3962         * lyxfunc.C (dispatch):
3963         * lyxrc.C (read): changes due to the altered BranchList and
3964         LColor APIs.
3965
3966         * factory.C (createInset, readInset): changes due to altered
3967         InsetBranch c-tor.
3968
3969 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3970
3971         * factory.C:
3972         * lyxfunc.C: remove insetminipage. "minipage-insert"
3973         now produces a frameless minipage box inset.
3974
3975 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3976
3977         * textcursor.[Ch] (selStart,selEnd): add new methods
3978         remove selection::start, end, use LyXCursor::operator<
3979         * lyxcursor.[Ch] (operator<): add
3980         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3981         * BufferView.[Ch] (unsetXSel): add
3982         * text2.C (clearSelection): use unsetXSel,adjust
3983         * text.C: adjust
3984         * text3.C: adjust
3985         * rowpainter.C: adjust
3986         * bufferview_funcs.C (put_selection_at): adjust
3987
3988 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3989
3990         * BufferView_pimpl.C: small coord. correction
3991
3992 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3993
3994         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3995         dragging over the splash screen.
3996
3997 2003-12-11  Angus Leeming  <leeming@lyx.org>
3998
3999         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4000         as it is now handled in LyXText::dispatch.
4001
4002         * text3.C (doInsertInset): remove a level of nesting.
4003
4004 2003-12-11  Angus Leeming  <leeming@lyx.org>
4005
4006         * factory.C (createInset): changes due to the changed interface to
4007         InsetCommandMailer::string2params.
4008
4009 2003-12-10  Angus Leeming  <leeming@lyx.org>
4010
4011         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4012         'dialog-show-new-inset <inset name>'
4013
4014 2003-12-10  Angus Leeming  <leeming@lyx.org>
4015
4016         * buffer.C: up the format to 227.
4017
4018         * factory.C: the box inset is now identified simply by 'Box'.
4019
4020 2003-12-10  Angus Leeming  <leeming@lyx.org>
4021
4022         * buffer.C: up the format to 226.
4023
4024         * factory.C: the note inset is now identified simply by 'Note'.
4025
4026 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4027
4028         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4029         when a pit is enough. Standarize a couple of loops.
4030
4031 2003-12-05  Angus Leeming  <leeming@lyx.org>
4032
4033         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4034         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4035         data to the re-worked "log" dialog.
4036
4037 2003-12-03  André Pönitz  <poenitz@gmx.net>
4038
4039         * PosIterator.C:
4040         * iterators.C:
4041         * lyxtext.h:
4042         * output_latex.C:
4043         * paragraph_funcs.C:
4044         * text.C:
4045         * text2.C: use Inset::getText instead of Inset::getParagraph
4046
4047 2003-12-03  André Pönitz  <poenitz@gmx.net>
4048
4049         * buffer.[Ch]:
4050         * lyxtext.h:
4051         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4052         InsetText::read() as LyXText::read()
4053
4054 2003-12-02  Angus Leeming  <leeming@lyx.org>
4055
4056         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4057         type. Add a comment in the implementation that the function uses
4058         the stream's bad() function rather than fail() as the std::streams
4059         would do.
4060
4061 2003-12-02  André Pönitz  <poenitz@gmx.net>
4062
4063         * lyxlex.[Ch]: make interface more similar to std::stream
4064
4065         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4066
4067 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4068
4069         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4070
4071 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4072
4073         * vspace.[Ch]: remove VSpace::NONE
4074
4075 2003-12-01  André Pönitz  <poenitz@gmx.net>
4076
4077         * buffer.[Ch]:
4078         * lyxtext.h: move ParagraphList member to LyXText
4079         rename LyXText::ownerParagraphs to LyXText::paragraph
4080
4081         * CutAndPaste.C:
4082         * bufferview_funcs.C:
4083         * iterators.[Ch]:
4084         * lyx_cb.C:
4085         * paragraph.C:
4086         * rowpainter.C:
4087         * tabular.C:
4088         * text.C:
4089         * text2.C:
4090         * text3.C: adjust
4091
4092         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4093
4094         * undo.C: fix cursor positioning
4095
4096 2003-12-01  John Levon  <levon@movementarian.org>
4097
4098         * BufferView_pimpl.C: fix a crash on exit with
4099         a buffer open
4100
4101 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4102
4103         * BranchList.C: fix setSelected() method.
4104
4105 2003-11-28  André Pönitz  <poenitz@gmx.net>
4106
4107         * ParagraphParameters.[Ch]:
4108         * ParameterStruct.h: remove space above/below from Paragraph to
4109          InsetVSpace
4110
4111         * BufferView_pimpl.C:
4112         * factory.C:
4113         * lyxfunc.C:
4114         * lyxtext.h:
4115         * output_latex.C:
4116         * paragraph.C:
4117         * paragraph_funcs.C:
4118         * rowpainter.[Ch]:
4119         * text.C:
4120         * text2.C:
4121         * text3.C: adjust
4122
4123 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4124
4125         * factory.C: Syntax change for CharStyles
4126
4127 2003-11-28  André Pönitz  <poenitz@gmx.net>
4128
4129         * BufferView.[Ch]:
4130         * BufferView.[Ch]:
4131         * buffer.[Ch]:
4132         * buffer.[Ch]: move LyXText member
4133
4134 2003-11-28  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.[Ch]: make LyXText * text a private member
4137
4138         * BufferView_pimpl.C:
4139         * cursor.C:
4140         * iterators.C:
4141         * lyx_cb.C:
4142         * lyxfind.C:
4143         * lyxtext.h:
4144         * rowpainter.[Ch]:
4145         * text.C:
4146         * text2.C:
4147         * undo.C: adjust
4148
4149         * output_plaintext.C: cleanup
4150
4151 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * buffer.C:
4154         * lyxtextclass.[Ch]: parametrize SGML document header
4155
4156 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4157
4158         * converter.[Ch]:
4159         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4160         getFlavor().
4161
4162 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4163
4164         * text2.C (setFont): rework using PosIterator (no more recursive)
4165         (setCharFont): no more needed
4166         (setLayout): no more selection cursors fiddling (done by redoCursor)
4167         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4168         destroy remaining ones)
4169
4170 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4173         * lyxtext.h: ditto
4174         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4175         selection cursors
4176         * lyxfunc.C: adjust
4177         * text3.C: adjust + re-allow multi par depth changes
4178         * textcursor.C: simplify a bit
4179
4180 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4181
4182         * src/buffer.C:
4183         * src/lyxlayout.C:
4184         * src/lyxlayout.h:
4185         * src/lyxtext.h:
4186         * src/output_docbook.C:
4187         * src/output_latex.C:
4188         * src/paragraph.C:
4189         * src/paragraph.h:
4190         * src/sgml.C:
4191         * src/sgml.h:
4192         * src/text2.C: Introducing a number of tags parametrizing various
4193         XML formats that we may want to support
4194
4195 2003-11-25  André Pönitz  <poenitz@gmx.net>
4196
4197         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4198
4199         * lyxtext.h (leftMargin/rightMargin): simplify interface
4200
4201         * rowpainter.C:
4202         * text.C:
4203         * text2.C:
4204         * text3.C: adjust
4205
4206 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4207
4208         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4209         master file to any child files. Fixes bug 546.
4210
4211 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4212
4213         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4214
4215 2003-11-24  André Pönitz  <poenitz@gmx.net>
4216
4217         * rowpainter.C: simplification
4218
4219         * text2.C (updateCounters): remove call to redoParagraph on
4220         changed labels as this is far too expensive.
4221
4222 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4223
4224         * converter.C (convert): fix a crash: this function gets
4225         called with buffer == 0 from importer code.
4226
4227 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4228
4229         * text3.C (cursorPrevious): make sure that we do not compare
4230         iterators form different containers.
4231         (cursorNext): ditto
4232
4233         * rowpainter.C (paintSelection): make sure that we do not compare
4234         iterators from different containers.
4235
4236         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4237         iterators from different ParagraphList containers.
4238         [NEXT] ditto
4239
4240         * text2.C (LyXText): change order of initialization slightly
4241         (operator=): new function. copy all variables except cache_par_
4242         (moveUp): make sure that we do not compare iterators from
4243         different ParagraphList constainers.
4244         (moveDown): ditto
4245
4246         * text.C (firstPar): new function
4247         (lastPar): new function
4248         (endPar): new function
4249
4250         * lyxtext.h: move things around and group public functions, public
4251         variables, private functions, private variables
4252
4253 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4254
4255         * factory.C: change call to InsetERT constructor to avoid
4256         additional invocation of method status
4257         * text2.C (toggleInset): remove redundant update() call
4258         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4259         instead of a Bufferview pointer
4260
4261 2003-11-21  André Pönitz  <poenitz@gmx.net>
4262
4263         * rowpainter.C: simplification
4264
4265 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4266
4267         * text3.C (dispatch): make possible to extend a word/row selection
4268         with the mouse
4269
4270 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4271
4272         * lyxtext.h: x0_,y0_ -> xo_,yo_
4273         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4274         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4275         * rowpainter.C (paintRows): paint full paragraphs
4276
4277 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4278
4279         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4280         screen coordinates)
4281
4282 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4283
4284         * lyxtext.h: add x0_, y0_
4285         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4286         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4287
4288 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4289
4290         * text2.C (setCursorIntern): move the x_target update here *
4291         * text3.C: change some bv() to true/false in calls to
4292         cursorUp/Down/Right/Left
4293         * cursor.C: use helper function.
4294
4295 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4296
4297         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4298         * paragraph_funcs.[Ch]: correct comment
4299         * rowpainter.C: do not paint selections away from bv->cursor()
4300         Fix a long standing selection painting bug.
4301         * text3.C: generalize mouse-selection code to LyXTexts other that
4302         top one
4303         * textcursor.C: do not use y coords if we can use par offsets
4304
4305 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4306
4307         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4308         cursor position after e.g. inset insert)
4309
4310 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4311
4312         * lyxfind.C (replace): adjust to locking removal + some
4313         code simplification
4314
4315 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4316
4317         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4318         of the path
4319
4320 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4321
4322         * lyxlayout.[Ch]:
4323         * output_docbook.C: XML sanitation: new layout
4324         parameters InnerTag and CommandDepth
4325
4326 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4327
4328         * BufferView_pimpl.C:
4329         * factory.C:
4330         * text3.C: Fix the insertion and modification of button-style
4331         insets
4332
4333 2003-11-13  André Pönitz  <poenitz@gmx.net>
4334
4335         * InsetList.[Ch]: remove deleteLyXText
4336
4337         * paragraph.[Ch]: cache beginOfBody position
4338
4339         * Bidi.C:
4340         * text.C:
4341         * text2.C:
4342         * text3.C: remove superfluous update() calls
4343
4344         * vspace.C: cleanup
4345
4346 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4347
4348         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4349         * BufferView.C (fitLockedInsetCursor): remove
4350         * cursor.[Ch] (getDim): add
4351         * text.C (getRowNearY): add faster version
4352         * text3.C: remove some update calls
4353
4354 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4355
4356         * LaTeXFeatures.C:
4357         * LyXAction.C:
4358         * MenuBackend.C:
4359         * MenuBackend.h:
4360         * dispatchresult.h:
4361         * factory.C:
4362         * lfuns.h:
4363         * lyxfunc.C:
4364         * lyxtextclass.C:
4365         * lyxtextclass.h:
4366         * text3.C: The Character Style /XML short element patch.
4367
4368 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4369
4370         * text3.C:
4371         * factory.C: Small step to solving 'unable to insert some insets'
4372         problem
4373
4374 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4375
4376         * cursor.[Ch] (updatePos): new function for updating the y
4377         position of the tip inset
4378         * bufferview_funcs.C (put_selection_at):
4379         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4380
4381 2003-11-11  André Pönitz  <poenitz@gmx.net>
4382
4383         * text.C: remove big comment on invalid Paragraph pointers as it is
4384         not valid anymore
4385
4386 2003-11-11  André Pönitz  <poenitz@gmx.net>
4387
4388         * text_funcs.[Ch]: merge with ...
4389
4390         * text.C: ... this
4391
4392         * lyxtext.h:
4393         * text2.C:
4394         * text3.C: adjust
4395
4396         * Makefile.am: remove text_funcs.[Ch]
4397
4398 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4399
4400         * cursor.C (getPos): return absolute cached y coord
4401
4402         * BufferView_pimpl.C (fitCursor): new simplistic code
4403         (workAreaDispatch): add a fitCursor call
4404
4405 2003-11-10  André Pönitz  <poenitz@gmx.net>
4406
4407         * BufferView.[Ch]:
4408         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4409
4410 2003-11-10  André Pönitz  <poenitz@gmx.net>
4411
4412         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4413         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4414         indicate that the cursor needs to leave an inset
4415
4416         * lyxtext.h: remove inset locking
4417
4418         * cursor.[Ch]: re-implement functionality provided by inset locking
4419
4420         * BufferView.[Ch]:
4421         * BufferView_pimpl.[Ch]:
4422         * LyXAction.C:
4423         * bufferview_funcs.[Ch]:
4424         * factory.C:
4425         * funcrequest.[Ch]:
4426         * iterators.C:
4427         * lyx_cb.C:
4428         * lyxfind.C:
4429         * lyxfunc.C:
4430         * text.C:
4431         * text2.C:
4432         * text3.C:
4433         * undo.C: adjust
4434
4435 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4436
4437         * PosIterator.[Ch]: replace the stack with a vector, add inset
4438         accesor
4439         * iterators.[C]: adjust
4440
4441 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4444         replaced
4445         * paragraph_funcs.C (readParToken): put the correct id in the
4446         error item, not the id of the top paragraph
4447
4448 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4451         * bufferview_funcs.C (put_selection_at): use the above
4452
4453 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4454
4455         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4456
4457 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4458
4459         * output_linuxdoc.h:
4460         * output_plaintext.h:
4461         * output.h:
4462         * output_docbook.h: add #include statements
4463
4464 2003-11-05  José Matos  <jamatos@lyx.org>
4465
4466         * output_docbook.[Ch]:
4467         * output_latex.[Ch]:
4468         * output_linuxdoc.[Ch]:
4469         * output_plaintext.[Ch]: New files for output formats.
4470         * output.[Ch]: New file for helper functions.
4471
4472         * buffer.[Ch]:
4473         * paragraph_funcs.[Ch]: output functions moved to new files.
4474
4475         * outputparams.h: rename of latexrunparams.h
4476
4477         * LaTeX.[Ch]:
4478         * buffer.[Ch]:
4479         * bufferlist.[Ch]:
4480         * converter.[Ch]:
4481         * exporter.C:
4482         * paragraph.[Ch]:
4483         * paragraph_funcs.[Ch]:
4484         * paragraph_pimpl.[Ch]:
4485         * tabular.[Ch]: rename ascii to plaintext
4486         and LatexRunParams to OutputParams.
4487
4488 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4489
4490         * iterators.[Ch] (text): require bv argument
4491         * undo.C (recordUndo):
4492         * lyxfunc.C (dispatch):
4493         * bufferview_funcs.C (put_selection_at): adjust
4494
4495 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4496
4497         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4498
4499 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4500
4501         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4502         nestings
4503
4504 2003-11-04  André Pönitz  <poenitz@gmx.net>
4505
4506         * cursor.[Ch]: restructure
4507
4508         * BufferView.[Ch]:
4509         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4510
4511         * iterators.[Ch] (asCursor): remove
4512
4513         * lfuns.h: remove LFUN_INSET_EDIT
4514
4515         * lyxfunc.C:
4516         * tabular.C:
4517         * text.C:
4518         * text2.C:
4519         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4520
4521 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * lyxfind.[Ch]: complete overhaul
4524         * BufferView_pimpl.C:
4525         * lyxfunc.C: adjust
4526         * paragraph.[Ch] (insert): add
4527
4528 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4529
4530         * BufferView.[Ch]:
4531         * lyxtext.h:
4532         * text.C: remove dead spellcheck code
4533
4534 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * dispatchresult.h: add a val setter
4537
4538         * cursor.C (dispatch): use a tempvar for data_[i]
4539
4540 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * PosIterator.[Ch]: compile fix
4543
4544 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4545
4546         * text.C (cursorPar): deactivate the cursor cache
4547
4548 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4549
4550         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4551
4552 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * text3.C (dispatch): adjust for new DisptchResult semantics.
4555
4556         * lyxfunc.C (dispatch): handle update when return from
4557         Cursor::dispatch, adjust for new DispatchResult semantics.
4558
4559         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4560         DispatchResult(true) mean to not update. Add class functions for
4561         setting dispatched and update, as well as reading.
4562
4563         * cursor.C (dispatch): don't handle update here
4564
4565 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4568         * trans_mgr.C: adjust
4569
4570         * paragraph_funcs.C (readParToken): exception safety
4571
4572         * lyxvc.h: store the vcs pointer in a scoped_ptr
4573         * lyxvc.C: adjust
4574
4575         * lyxsocket.C (serverCallback): exception safety
4576
4577         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4578
4579         * ispell.C (clone): make it return a auto_ptr
4580
4581         * factory.C (createInset): exception safety
4582         (readInset): exception safety
4583
4584         * bufferlist.C (newBuffer): exception safety
4585
4586         * Thesaurus.C (Thesaurus): use initialization for aik_
4587
4588         * MenuBackend.C (expandToc): exception safety.
4589
4590 2003-11-03  André Pönitz  <poenitz@gmx.net>
4591
4592         * buffer.C:
4593         * buffer.h:
4594         * bufferview_funcs.C: remove getInsetFromId()
4595
4596         * lyxcursor.[Ch]:
4597         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4598
4599         * lyxfunc.C:
4600         * text2.C:
4601         * text3.C: adjust
4602
4603 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * PosIterator.C (distance, advance): new
4606         * bufferview_funcs.[Ch] (put_selection_at): new
4607         * iterators.[Ch] (lockPath): new
4608
4609 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * iterators.[Ch] (asPosIterator): added
4612         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4613         * PosIterator.[Ch]: added
4614
4615 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * text3.C:
4618         * lyxfunc.C:
4619         * cursor.C (dispatch):
4620         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4621
4622         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4623         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4624         contructor, add a class function dispatched. Remove operator>=
4625
4626 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4627
4628         * debug.C: only use the default constructor for debugstream
4629         (lyxerr) here.
4630
4631         * main.C (main): include debug.h and setup the lyxerr streambuf
4632         here.
4633
4634 2003-10-31  José Matos  <jamatos@lyx.org>
4635
4636         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4637
4638         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4639         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4640         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4641         * paragraph_pimpl.C (simpleTeXSpecialC):
4642         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4643         add LatexRunParams argument.
4644
4645         * exporter.C (Export): change call accordingly.
4646
4647         * latexrunparams.h: add new member to take care of the other backends.
4648 2003-10-30  José Matos  <jamatos@lyx.org>
4649
4650         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4651         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4652         factorise code for paragraph output.
4653         * buffer.[Ch]:
4654         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4655         move functions.
4656
4657 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * text3.C (dispatch):
4660         * lyxfunc.C (dispatch):
4661         * cursor.C (dispatch):
4662         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4663
4664         * dispatchresult.h: make the dispatch_result_t ctor explicit
4665
4666 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4667
4668         * sgml.[Ch]:
4669         * buffer.C: small refactoring of docbook stuff
4670
4671 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4674         meaning.
4675
4676 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4679         operator dispatch_result_t, and operators for == != and >=
4680
4681         * cursor.C (dispatch): adjust for operator dispatch_result_t
4682         removal. comment out call to update
4683
4684         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4685
4686 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * text3.C:
4689         * text2.C:
4690         * text.C:
4691         * lyxtext.h:
4692         * lyxfunc.C:
4693         * cursor.C:
4694         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4695         (dispatch):
4696
4697         * dispatchresult.h: new file, DispatchResult broken out of
4698         insets/insetbase.h
4699
4700         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4701
4702 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4703
4704         * text.C (rowBreakPoint): put a hack inside #if 0
4705
4706 2003-10-28  André Pönitz  <poenitz@gmx.net>
4707
4708         * lyxtext.h:
4709         * metricsinfo.C:
4710         * paragraph_funcs.C:
4711         * rowpainter.C:
4712         * text.C:
4713         * text2.C: general cleanup (lots of small stuff)
4714
4715 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * text2.C (cursorEnd): simple fix to the "end key goes to one
4718         before the end on last row" bug
4719
4720 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * text.C (backspace): fix the "zombie characters"
4723
4724 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4725
4726         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4727
4728 2003-10-27  André Pönitz  <poenitz@gmx.net>
4729
4730         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4731
4732         * factory.C: handle new InsetPagebreak, InsetLine
4733
4734         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4735         and move handling into new InsetPagebreak, InsetLine
4736
4737         * BufferView_pimpl.C:
4738         * LyXAction.C:
4739         * ParagraphParameters.C:
4740         * ParameterStruct.h:
4741         * lyxfunc.C:
4742         * lyxtext.h:
4743         * paragraph.C:
4744         * paragraph.h:
4745         * paragraph_funcs.C:
4746         * paragraph_pimpl.C:
4747         * rowpainter.C:
4748         * text.C:
4749         * text2.C:
4750         * text3.C: adjust
4751
4752 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4753
4754         * text.C:
4755         * lyxrow_funcs.[Ch]:
4756         * Bidi.C:
4757         * paragraph.C:
4758         * lyxtext.h:
4759         * rowpainter.C:
4760         * text2.C:
4761         * text3.C: remove lastPos uses in favour of Row::endpos
4762
4763 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4764
4765         * undo.C (performUndoOrRedo): fix two crashes by setting a
4766         cursor by hand and reordering some calls. Use bv->lockInset instead
4767         of inset->edit because the latter loses cursor information
4768
4769 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4770
4771         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4772         by Martin
4773         (rowBreakPoint): fix width. change point to point + 1.
4774         Add a missing check.
4775
4776 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4777
4778         * MenuBackend.C:
4779         * lyxfunc.C: fix (at least partly) the problems
4780         with the Nav menu and headers inside branch insets
4781         reported by Kayvan
4782
4783 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4784
4785         * paragraph.C (getChar): add strong asserts
4786
4787         * lyxrow_funcs.C (lastPos): remove hideous hack
4788
4789         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4790         (fill): adjust to that (avoid an infinite loop)
4791
4792 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4795
4796 2003-10-23  André Pönitz  <poenitz@gmx.net>
4797
4798         * RowList_fwd.h: change list<> to vector<> to gain speed
4799         after suggestion from Alfredo
4800
4801 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4802
4803         * lyxtext.h: move the bidi stuff from here...
4804         * text.C: and here
4805         * text2.C: and here
4806         * Bidi.[Ch]: ... to here
4807
4808 2003-10-23  André Pönitz  <poenitz@gmx.net>
4809
4810         * lyxtext.h:
4811         * text.C (isLastRow, isFirstRow): new functions
4812
4813         * paragraph.h: new width cache member
4814
4815         * rowpainter.C: replace RowList::iterator with Row & where possible
4816
4817         * lyxfunc.C: replace several view()->text with a single call
4818
4819         * toc.C: fix 'unused' warning
4820
4821 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4824         when woring with stream::pos_type
4825         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4826
4827 2003-10-22  André Pönitz  <poenitz@gmx.net>
4828
4829         * lyxtext.h:
4830         * text.C: use Row & instead of RowList::iterator
4831
4832         * lyxrow.h: rename end() to endpos()
4833
4834         * rowpainter.C:
4835         * text.C:
4836         * text2.C: adjust
4837
4838 2003-10-22  Angus Leeming  <leeming@lyx.org>
4839
4840         * buffer.[Ch] (fully_loaded): new member function, returning true
4841         only when the file has been loaded fully.
4842         Used to prevent the premature generation of previews and by the
4843         citation inset to prevent computation of the natbib-style label.
4844
4845         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4846         templates are all set up.
4847
4848         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4849
4850 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4851
4852         * text.C: fixed an "oops" in the "is a bit silly"
4853         bug fix
4854
4855 2003-10-21  André Pönitz  <poenitz@gmx.net>
4856
4857         * FuncStatus.[Ch]: small stuff, whitespace
4858
4859         * lyxfont.[Ch]: operator<<() for debug reasons
4860
4861         * lyxfunc.C:
4862         * lyxrow_funcs.C:
4863         * lyxtext.h: whitespace, spelling
4864
4865         * paragraph.C: naming of variables
4866
4867         * text.C:
4868         * text2.C: small stuff
4869
4870
4871 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4872
4873         * text.C: (1) finish off the inset display() work;
4874         (2) fix the "is a bit silly" bug (accessing char
4875         past end of par).
4876
4877 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4878
4879         * text.C: re-introduce display() for insets, fixing the
4880         various bugs (stretch of line above, math inset
4881         positioning, ...)
4882
4883 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4884
4885         * text.C (rightMargin): remove spurious semicolon
4886
4887         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4888         1415)
4889
4890 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4891
4892         * text3.C: fix one crash due to wrong cursor def
4893
4894 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * vc-backend.C (scanMaster): make the regex static
4897
4898         * LaTeX.C (scanAuxFile): make the regexs static
4899
4900         * text3.C (doInsertInset, dispatch, dispatch):
4901         * text2.C (cursorUp, cursorDown):
4902         * text.C (selectNextWordToSpellcheck):
4903         * BufferView_pimpl.C (dispatch):
4904         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4905
4906 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4907
4908         * lyxsocket.C: include <cerrno>
4909
4910 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * lyxfunc.C (dispatch): remove textcache stuff
4913
4914         * bufferlist.C (release): remove textcache stuff
4915         (closeAll): ditto
4916
4917         * TextCache.C: delete file
4918         * TextCache.h: delete file
4919
4920         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4921
4922         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4923         delete of the bv_->text.
4924         (resizeCurrentBuffer): remove texcache stuff
4925         (workAreaResize): ditto
4926
4927 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4930         action.
4931
4932 2003-10-16  André Pönitz  <poenitz@gmx.net>
4933
4934         * lyxrow.[Ch]:
4935         * paragraph.h:
4936         * rowpainter.C:
4937         * text.C:
4938         * text2.C:
4939         * text3.C: speed up by storing y positions per paragraph plus per-row
4940         offset instead of having a 'full' y position in the row.
4941
4942 2003-10-15  André Pönitz  <poenitz@gmx.net>
4943
4944         * iterators.[Ch]:
4945         * iterators.[Ch]:
4946         * undo.[Ch]: make undo aware of inner insets
4947
4948 2003-10-14  Angus Leeming  <leeming@lyx.org>
4949
4950         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4951         static member functions LyX::ref() and LyX::cref.
4952         (lastfiles): new accessor functions for the new lastfiles_ member var.
4953         (addLyXView, views_): add a new LyXView to the list of views_.
4954         (updateInset): loop over all LyXViews to call their own updateInset
4955         member function, returning a pointer to the Buffer owning the inset.
4956
4957         * BufferView_pimpl.C (loadLyXFile):
4958         * MenuBackend.C (expandLastfiles):
4959         * bufferlist.C (MenuWrite, QuitLyX):
4960         lastfiles is no longer a global variable.
4961         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4962
4963         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4964         static function. Access through LyX::cref().emergencyCleanup().
4965
4966 2003-10-14  André Pönitz  <poenitz@gmx.net>
4967
4968         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4969
4970         * undo.[Ch]: restoring part of 'undo in insets'
4971
4972         * Makefile.am:
4973         * undo_funcs.[Ch]: merge with undo.[Ch]
4974
4975         * tabular.C: small cleansing stuff
4976
4977 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4978
4979         * paragraph_funcs.C (readParToken): report unknown insets as error
4980         boxes. Use the outer paragraph as location (also for unknown
4981         tokens).
4982
4983         * factory.C (readInset): do not abort on reading an unknown inset.
4984         Eat it and return 0.
4985
4986 2003-10-13  Angus Leeming  <leeming@lyx.org>
4987
4988         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4989
4990         * lyxrc.C: displayTranslator is now a function,
4991         declared in GraphicsTypes.h.
4992
4993 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4994
4995         * format.C: new placeholder $$a to pass the socket address.
4996
4997         * bufferlist.[Ch]: new function getBufferFromTmp.
4998
4999         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5000           files in the temporary dir.
5001
5002 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5003
5004         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5005
5006         * Makefile.am: add lyxsocket.[Ch].
5007
5008         * lyx_main.C (error_handler): handle SIGPIPE.
5009
5010 2003-10-13  André Pönitz  <poenitz@gmx.net>
5011
5012         * BufferView_pimpl.C:
5013         * lyxtext.h:
5014         * text.C:
5015         * text2.C:
5016         * text3.C:
5017         * undo_funcs.[Ch]: use paroffset_type instead of
5018           ParagraphList::iterators to prevent multiple conversion
5019           (and get a more robust interface)
5020
5021 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5022
5023         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5024         * lyxtext.h: ditto
5025         * text3.C (dispatch): ditto
5026
5027 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5030         move the onlyfile, use onlyfile instead of foundfile in a couple
5031         of places.
5032
5033         * DepTable.C (update): flush the error stream a bit more
5034
5035 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * lyxserver.C (callback): adjust
5038
5039         * lyxfunc.C (getStatus): add a missing brace in commented code
5040         (ensureBufferClean): reindent
5041         (dispatch): delete version taking a string
5042
5043 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * LaTeX.C (deplog): move found file handlig from here...
5046         (handleFoundFile): .. to new function here.
5047         (deplog): make sure to discover several files mentioned on the
5048         same log line.
5049
5050 2003-10-10  André Pönitz  <poenitz@gmx.net>
5051
5052         * lyxfunc.C:
5053         * lyxtext.h:
5054         * tabular.C:
5055         * text.C:
5056         * text2.C:
5057         * text3.C: fix some of the tabular crashes
5058
5059 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5060
5061         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5062
5063         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5064
5065 2003-10-09  André Pönitz  <poenitz@gmx.net>
5066
5067         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5068
5069         * BufferView.C:
5070         * BufferView_pimpl.C:
5071         * bufferview_funcs.C:
5072         * lyx_cb.C:
5073         * lyxcursor.C:
5074         * lyxfind.C:
5075         * lyxfunc.C:
5076         * lyxtext.h:
5077         * text.C:
5078         * text2.C:
5079         * text3.C:
5080         * text_funcs.[Ch]:
5081         * textcursor.[Ch]:
5082         * undo_funcs.C: adjust
5083
5084 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * text2.C (incrementItemDepth): new function, use a backtracking
5087         algorithm to discover the correct item depth.
5088         (resetEnumCounterIfNeeded): new function, use a backtracking
5089         algorithm to discover if counter reset is needed.
5090         (setCounter): use them. Simplify a bit. Add different labels for
5091         different item depths for itemize.
5092
5093         * paragraph.C (Paragraph): remove initialization of enumdepth
5094         (operator=): ditto
5095
5096         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5097         enumerate and itemize. Change the type of itemdepth to signed char.
5098
5099 2003-10-08  André Pönitz  <poenitz@gmx.net>
5100
5101         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5102           thing assignable.
5103         * text.C:
5104         * text2.C: adjust
5105
5106         * tabular.[Ch]: fix crash after 'row-insert'
5107
5108 2003-10-08  Angus Leeming  <leeming@lyx.org>
5109
5110         Fix doxygen warnings.
5111
5112         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5113         Remove CutAndPaste:: prefix from header file declaration.
5114
5115         * LColor.h (fill): remove LColor:: prefix from declaration.
5116
5117         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5118         use lyx::depth_type rather than Paragraph::depth_type so that
5119         header file and .C file match.
5120
5121         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5122
5123         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5124         * aspell.C: \file aspell_local.C -> \file aspell.C
5125         * gettext.C: \file gettext.C -> \file src/gettext.C
5126         * gettext.h: \file gettext.h -> \file src/gettext.h
5127         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5128         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5129         * text.C: \file text.C -> \file src/text.C
5130
5131         * toc.C: move comment so that doxygen is not confused.
5132
5133 2003-10-07  Angus Leeming  <leeming@lyx.org>
5134
5135         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5136
5137 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5138
5139         * aspell.C:
5140         * aspell_local.h: add forgotten std::string's.
5141
5142 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5143
5144         * LaTeXFeatures.C:
5145         * LyXAction.C:
5146         * factory.C:
5147         * lfuns.h:
5148         * lyxfunc.C:
5149         * text3.C: The Box patch. Fancybox support, minipage, parbox
5150
5151 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5152
5153         * CutAndPaste.h:
5154         * DepTable.h:
5155         * FloatList.h:
5156         * LaTeXFeatures.h:
5157         * ParagraphParameters.h:
5158         * TextCache.h:
5159         * Thesaurus.h:
5160         * bufferlist.h:
5161         * exporter.h:
5162         * importer.h:
5163         * lastfiles.h:
5164         * lyxfind.h:
5165         * lyxfont.h:
5166         * lyxlex.h:
5167         * lyxtextclasslist.h:
5168         * messages.h:
5169         * paragraph.h:
5170         * paragraph_pimpl.C:
5171         * textcursor.h: add <string> and other small fixes to make Lars'
5172         std::string patch compile with STLport.
5173
5174 2003-10-06  Angus Leeming  <leeming@lyx.org>
5175
5176         * LColor.h: Add missing #include <string>.
5177
5178 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * All most all file in all subdirs: Make <string> be the prefered
5181         way of getting to std::string, add using declarations.
5182
5183 2003-10-06  André Pönitz  <poenitz@gmx.net>
5184
5185         * metricsinfo.C: initialize LyXFont before changing attribute.
5186         (fixes the 'math in \emph is upright' bug)
5187
5188 2003-10-06  André Pönitz  <poenitz@gmx.net>
5189
5190         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5191
5192 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5193
5194         * graph.C:
5195         * paragraph_pimpl.C: Small fixes to build using STLport
5196
5197 2003-10-02  André Pönitz  <poenitz@gmx.net>
5198
5199         * lyxfunc.C:
5200         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5201
5202 2003-10-01  André Pönitz  <poenitz@gmx.net>
5203
5204         * factory.C: assert early
5205
5206 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5207
5208         * lyx_main.C: remove the global debug object
5209
5210         * debug.h: adjust for new debugstream
5211
5212         * debug.C: adjust for new debugstream and keep the global debug
5213         object here.
5214
5215 2003-09-22  Angus Leeming  <leeming@lyx.org>
5216
5217         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5218         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5219         an incomplete class LyXFont.
5220
5221 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5222
5223         * factory.C: bug fix in branches
5224
5225 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5226
5227         * lyxfunc.C (processKeySym): adjust
5228         (dispatch): adjust
5229         (dispatch): change arg name from ev to func, adjust
5230         (sendDispatchMessage): ditto
5231
5232         * lyx_main.C (defaultKeyBindings): adjust keybindings
5233         (deadKeyBindings): ditto
5234
5235         * kbsequence.C (addkey): return a FuncRequest
5236
5237         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5238
5239         * kbmap.C (bind): take a FuncRequest as arg, adjust
5240         (read): adjust
5241         (lookup): adjust
5242         (defkey): change to take a FuncRequest as arg, adjust
5243         (findbinding): take a FuncRequest as arg, adjust.
5244
5245         * funcrequest.h (operator=): added
5246
5247         * funcrequest.C (FuncRequest): default kb_action changed from
5248         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5249
5250         * buffer.C (dispatch): simplify
5251         (dispatch): adjust to take a FuncRequest as arg, adjust
5252
5253         * boost.C (assertion_failed): change assertion message slightly
5254
5255         * ToolbarBackend.C (read): simplify
5256
5257         * MenuBackend.C (binding): adjust call to findbinding, add a
5258         message if no binding is found.
5259         (read): simplify
5260         (expandToc): correct by adding a empty FuncRequest
5261
5262         * LyXAction.C: include <boost/assert.hpp>
5263         (isPseudoAction): delete function
5264         (LookupFunc): change name to...
5265         (lookupFunc): this. change return type to FuncRequest.
5266         (getActionName): take kb_action as arg, simplify
5267         (funcHasFlag): add an assert, simplify.
5268
5269 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * toc.C (action): return a FuncRequest, simplify
5272
5273         * lyxfunc.C (processKeySym): adjust
5274         (getStatus): delete version that takes an int.
5275         (getStatus): adjust
5276         (dispatch): delete version that takes action as int
5277         (dispatch): adjust
5278         (sendDispatchMessage): simplify and adjust
5279
5280         * funcrequest.C (getArg): take unsigned int as arg
5281
5282         * ToolbarBackend.C (read): adjust
5283         (add): delete version that takes func as a string.
5284         (getIton): take a FuncRequest as arg
5285
5286         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5287         action.
5288
5289         * MenuBackend.C (MenuItem): add a new construct that only takes a
5290         Kind, simplify the constructor use for submenus.
5291         (add): adjust
5292         (expandLastfiles): adjust
5293         (expandDocuments): adjust
5294         (expandFormats): adjust
5295         (expandFloatListInsert): adjust
5296         (expandFloatInsert): adjust
5297         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5298
5299         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5300         Remove class variables lyx_pseudo_map and lyx_arg_map
5301
5302         * LyXAction.C (searchActionArg): delete function
5303         (getPseudoAction): delete function
5304         (retrieveActionArg): delete function
5305         (LookupFunc): make it return kb_action, simplify.
5306         (getActionName): simplify
5307
5308         * factory.C (createInset): fix new bug
5309
5310 2003-09-19  Angus Leeming  <leeming@lyx.org>
5311
5312         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5313         masterFilename_ parameter in the include inset.
5314
5315         * factory.C (createInset): changes due to the changes to InsetInclude.
5316
5317 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5318
5319         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5320
5321 2003-09-18  Angus Leeming  <leeming@lyx.org>
5322
5323         * buffer.C:
5324         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5325         Inset::fillWithBibKeys.
5326         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5327
5328 2003-09-18  Angus Leeming  <leeming@lyx.org>
5329
5330         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5331         variables.
5332         (ctor): pass and store a 'Buffer const &'
5333         (buffer): new member function.
5334
5335         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5336         '*this' to the LaTeXFeatures ctor.
5337
5338 2003-09-18  Angus Leeming  <leeming@lyx.org>
5339
5340         * LColor.h:
5341         * lyxfont.C:
5342         * lyxfont.h:
5343         * lyxtext.h:
5344         * text.C: rename EnumLColor as LColor_color.
5345
5346 2003-09-18  Angus Leeming  <leeming@lyx.org>
5347
5348         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5349         remove #include "insets/insetbase.h" from cursor.h.
5350
5351 2003-09-18  Angus Leeming  <leeming@lyx.org>
5352
5353         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5354         InsetOld_code to remove #include "inset.h".
5355
5356         * iterators.C: add #include "insets/inset.h"
5357
5358 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5359
5360         * BufferView.C: remove more locking stuff that apparently doesn't
5361         do anything sensible.
5362
5363 2003-09-16  André Pönitz  <poenitz@gmx.net>
5364
5365         * paragraph.[Ch]:
5366         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5367           performance boost.
5368
5369 2003-09-16  Angus Leeming  <leeming@lyx.org>
5370
5371         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5372
5373         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5374         arg/return type.
5375
5376         * paragraph.h: remove #include "lyxfont.h". Forward declare
5377         LyXFont_size.
5378
5379 2003-09-16  Angus Leeming  <leeming@lyx.org>
5380
5381         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5382         of support/textutils.h.
5383         (isWord): move the contents of support/textutils.h's IsWordChar here.
5384
5385         * buffer.C:
5386         * lyxfind.C:
5387         * rowpainter.C:
5388         * text.C:
5389         * text2.C: add #include "paragraph.h".
5390
5391         * rowpainter.C:
5392         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5393
5394 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * main.C:
5397         * lyx_main.C:
5398         * lyx_cb.C:
5399         * buffer.C:
5400         * LaTeX.C: use namespace alias for lyx::support::os
5401
5402 2003-09-16  Angus Leeming  <leeming@lyx.org>
5403
5404         * bufferparams.C:
5405         * bufferview_funcs.C:
5406         * factory.C:
5407         * lyxfunc.C:
5408         * paragraph_pimpl.C:
5409         * rowpainter.C:
5410         * text.C: add #include "LColor.h".
5411
5412 2003-09-16  Angus Leeming  <leeming@lyx.org>
5413
5414         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5415         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5416         return LyXFont &.
5417         Store the FontBits::color variable as an int rather than as an
5418         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5419         file.
5420
5421         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5422         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5423         string calls together.
5424
5425         * lyxrc.C: add #include "LColor.h".
5426
5427 2003-09-15  Angus Leeming  <leeming@lyx.org>
5428
5429         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5430         a cow_ptr.
5431
5432 2003-09-15  Angus Leeming  <leeming@lyx.org>
5433
5434         * LColor.h: add an EnumLColor wrapper for LColor::color.
5435
5436         * lyxfont.[Ch] (color, setColor, realColor):
5437         * lyxtext.h, text.C (backgroundColor):
5438         pass EnumLColor args to/from the functions, rather than LColor::color
5439         ones.
5440
5441         * lyxfont.h:
5442         * lyxtext.h: forward declare EnumLColor.
5443
5444         * lyx_main.C: add #include "LColor.h".
5445
5446 2003-09-15  Angus Leeming  <leeming@lyx.org>
5447
5448         * .cvsignore: add lyx-gtk.
5449
5450 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * Chktex.C
5453         * LaTeX.C
5454         * LaTeXFeatures.C
5455         * ParagraphParameters.C
5456         * Spacing.C
5457         * buffer.C
5458         * bufferparams.C
5459         * bufferview_funcs.C
5460         * chset.C
5461         * counters.C
5462         * funcrequest.C
5463         * lyxfont.C
5464         * lyxgluelength.C
5465         * lyxlength.C
5466         * paragraph.C
5467         * paragraph_funcs.C
5468         * text3.C
5469         * vc-backend.C: remove usage of STRCONV
5470
5471 2003-09-15  Angus Leeming  <leeming@lyx.org>
5472
5473         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5474         explicitly define the color passed to the painter.
5475
5476 2003-09-15  Angus Leeming  <leeming@lyx.org>
5477
5478         * bufferparams.C (BufferParams): reorder member initializers to avoid
5479         compiler warning.
5480
5481 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5482
5483         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5484         * text.C (updateRowPositions): remove an unusual nop
5485
5486 2003-09-12  André Pönitz  <poenitz@gmx.net>
5487
5488         * BufferView_pimpl.C:
5489         * Bullet.C:
5490         * layout.h:
5491         * lyxfunc.C:
5492         * lyxlayout.[Ch]:
5493         * lyxtextclass.C:
5494         * rowpainter.C:
5495         * text.C:
5496         * text2.C:
5497         * Counters.[Ch]: finish the 'automatic counters' job
5498
5499 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5500
5501         * aspell.C: include <boost/assert.cpp> (compile fix)
5502
5503 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5504
5505         * boost.C (assertion_failed): use lyx::support::abort instead of
5506         assert.
5507
5508 2003-09-10  Angus Leeming  <leeming@lyx.org>
5509
5510         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5511         with their _fwd progeny.
5512
5513 2003-09-09  Angus Leeming  <leeming@lyx.org>
5514
5515         134 files throughtout the source tree: replace 'using namespace abc;'
5516         directives with the appropriate 'using abc::xyz;' declarations.
5517
5518 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5519
5520         * boost.C (emergencyCleanup): moved here from LAssert.c
5521         (assertion_failed): new function, called by BOOST_ASSERT
5522
5523         * several files: change Assert to BOOST_ASSERT
5524
5525 2003-09-09  Angus Leeming  <leeming@lyx.org>
5526
5527         * buffer.[Ch]: Add an Impl class and move Buffer's member
5528         variables into it. As a result move several header files out of
5529         buffer.h.
5530
5531         Add header files to lots of .C files all over the tree as a result.
5532
5533 2003-09-09  Angus Leeming  <leeming@lyx.org>
5534
5535         * buffer.[Ch]: make Buffer's member variables private. Add
5536         accessor functions.
5537
5538         Lots of changes all over the tree as a result.
5539
5540 2003-09-08  Angus Leeming  <leeming@lyx.org>
5541
5542         * graph.C: #include <config.h>.
5543
5544 2003-09-08  Angus Leeming  <leeming@lyx.org>
5545
5546         * BranchList.C:
5547         * BufferView.C:
5548         * BufferView_pimpl.C:
5549         * CutAndPaste.C:
5550         * DepTable.C:
5551         * LaTeX.C:
5552         * LaTeXFeatures.C:
5553         * LyXAction.C:
5554         * MenuBackend.C:
5555         * TextCache.C:
5556         * aspell.C:
5557         * buffer.C:
5558         * bufferlist.C:
5559         * changes.C:
5560         * chset.C:
5561         * converter.C:
5562         * counters.C:
5563         * debug.C:
5564         * graph.C:
5565         * ispell.C:
5566         * lyx_cb.C:
5567         * lyxfind.C:
5568         * lyxfunc.C:
5569         * lyxlex_pimpl.C:
5570         * lyxrc.C:
5571         * lyxrow.C:
5572         * paragraph.C:
5573         * rowpainter.C:
5574         * texrow.C:
5575         * text.C:
5576         * text2.C:
5577         * toc.C: remove redundant using directives.
5578
5579 2003-09-07  Angus Leeming  <leeming@lyx.org>
5580
5581         * LaTeXFeatures.h: remove #include "support/types.h".
5582         * ToolbarBackend.h: remove #include <algorithm>.
5583         * changes.h: remove #include <ctime>.
5584         * debug.h: remove #include <iosfwd>.
5585         * graph.h: remove #include "support/std_string.h".
5586         * lyx_main.h: remove #include <csignal>.
5587         * lyxlex_pimpl.h: remove #include <fstream>.
5588         * sgml.h: remove #include <algorithm>, <utility>.
5589         * toc.h: remove #include "support/std_ostream.h".
5590         Add #include <iosfwd>.
5591
5592 2003-09-07  Angus Leeming  <leeming@lyx.org>
5593
5594         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5595
5596         * converter.h: forward declare LatexRunParams.
5597         * encoding.h: remove #include "lyxrc.h".
5598         * lyxtext.h: remove #include "LColor.h".
5599         * lyxtextclass.h: remove #include "support/types.h".
5600         * trans.h: remove #include "tex-accent.h".
5601         * trans_mgr.h: remove #include "tex-accent.h".
5602         * insets/inset.h: remove #include "support/types.h", <vector>.
5603         * insets/insetcollapsable.h: remove #include "LColor.h".
5604         * insets/insetinclude.h: remove #include "dimension.h".
5605         * insets/insetlatexaccent.h: remove #include "dimension.h".
5606         * insets/insetoptarg.h:: remove #include "insettext.h".
5607         * insets/insettext.h: remove #include "dimension.h",
5608         <boost/shared_ptr.hpp>
5609
5610         * insets/renderers.h: add #include "dimension.h".
5611         * insets/updatableinset.h: add #include "support/types.h".
5612
5613         * many .C files: Associated changes.
5614
5615 2003-09-06  Angus Leeming  <leeming@lyx.org>
5616
5617         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5618         one, inside testInvariant.
5619
5620         * PrinterParams.C: new file.
5621         * PrinterParams.[Ch]: move the function bodies out of line.
5622
5623 2003-09-06  Angus Leeming  <leeming@lyx.org>
5624
5625         * ParagraphParameters.h: forward declare ParameterStruct rather than
5626         including its header file.
5627         (depth): moved out-of-line.
5628
5629 2003-09-06  Angus Leeming  <leeming@lyx.org>
5630
5631         * BufferView_pimpl.h:
5632         * kbmap.h:
5633         * kbsequence.h:
5634         * lyxfunc.h: forward declare LyXKeySym rather than
5635         #include "frontends/LyXKeySym.h".
5636
5637         * BufferView_pimpl.C:
5638         * kbmap.C:
5639         * kbsequence.C:
5640         * lyxfunc.C: associated changes.
5641
5642 2003-09-06  Angus Leeming  <leeming@lyx.org>
5643
5644         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5645         As a result, can remove the #include "insets/inset.h" from BufferView.h
5646
5647 2003-09-06  Angus Leeming  <leeming@lyx.org>
5648
5649         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5650         As a result, can remove the #include "insets/inset.h" from BufferView.h
5651
5652 2003-09-06  Angus Leeming  <leeming@lyx.org>
5653
5654         * buffer_funcs.C:
5655         * buffer.h:
5656         * bufferlist.C:
5657         * BufferView.C:
5658         * bufferview_funcs.C:
5659         * BufferView_pimpl.C:
5660         * CutAndPaste.C:
5661         * lyx_cb.C:
5662         * lyxfunc.C:
5663         * paragraph.h:
5664         * ParagraphParameters.C:
5665         * tabular.C:
5666         * text3.C:
5667         * toc.C:
5668         * undo_funcs.C:
5669         * frontends/controllers/ControlDocument.C:
5670         * insets/insetcaption.C: rearrange the #includes into some sort of
5671         coherent order.
5672
5673         * buffer.h: remove #includes ErrorList.h, undo.h
5674
5675 2003-09-06  Angus Leeming  <leeming@lyx.org>
5676
5677         * support/types.h: add a 'depth_type' typedef, used to store the
5678         nesting depth of a paragraph.
5679
5680         * paragraph.h:
5681         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5682         defining explicitly.
5683
5684         * buffer.h:
5685         * paragraph_funcs.h:
5686         * ParagraphParameters.h:
5687         * sgml.h: use lyx::depth_type rather than Paragraph or
5688         ParameterStruct's depth_type.
5689
5690         * buffer.h
5691         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5692
5693         * BufferView.C:
5694         * BufferView_pimpl.C:
5695         * CutAndPaste.C:
5696         * ParagraphParameters.C:
5697         * buffer_funcs.C:
5698         * bufferlist.C:
5699         * bufferview_funcs.C:
5700         * lyx_cb.C:
5701         * lyxfunc.C:
5702         * tabular.C:
5703         * text3.C:
5704         * toc.C:
5705         * undo_funcs.C:
5706         * frontends/LyXView.C:
5707         * frontends/controllers/ControlDocument.C:
5708         * frontends/controllers/ControlErrorList.C:
5709         * insets/insetbibitem.C:
5710         * insets/insetbranch.C:
5711         * insets/insetcaption.C:
5712         * insets/insetcollapsable.C:
5713         * insets/insetenv.C:
5714         * insets/insetert.C:
5715         * insets/insetfloat.C:
5716         * insets/insetfoot.C:
5717         * insets/insetfootlike.C:
5718         * insets/insetnewline.C:
5719         * insets/insetquotes.C:
5720         * insets/insettabular.C:
5721         * insets/insettext.C:
5722         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5723
5724         * frontends/controllers/ControlChanges.C: #include "changes.h".
5725
5726 2003-09-06  Angus Leeming  <leeming@lyx.org>
5727
5728         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5729         than #including paragraph.h.
5730
5731         * ParagraphList.h:
5732         * RowList.h: deleted. Superfluous.
5733
5734         * CutAndPaste.h:
5735         * iterators.h:
5736         * lyxcursor.h:
5737         * lyxtext.h:
5738         * text_funcs.h:
5739         * undo.h:
5740         * undo_funcs.h:
5741         * insets/inset.h:
5742         * insets/insettext.h: use ParagraphList_fwd.h rather than
5743         ParagraphList.h.
5744
5745         * paragraph.h: don't forward declare ParagraphList.
5746
5747         * buffer.h:
5748         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5749         rather than ParagraphList.h. paragraph.h is still needed for the
5750         Paragraph::depth_type parameters.
5751
5752         * textcursor.h: enable it to compile stand-alone in light of the
5753         above changes.
5754
5755         * bufferview_funcs.C:
5756         * iterators.C:
5757         * lyxfunc.C:
5758         * lyxrow_funcs.C:
5759         * paragraph.C:
5760         * rowpainter.C:
5761         * text.C:
5762         * text2.C:
5763         * text3.C:
5764         * text_funcs.C:
5765         * textcursor.C:
5766         * undo.C:
5767         * frontends/controllers/ControlParagraph.C:
5768         * frontends/controllers/ControlTabular.C:
5769         * insets/insetmarginal.C:
5770         * insets/insetminipage.C:
5771         * insets/insetnote.C:
5772         * insets/insetoptarg.C: add header files needed to compile again.
5773
5774 2003-09-06  Angus Leeming  <leeming@lyx.org>
5775
5776         * RowList_fwd.h: new file, forward-declaring Row rather than
5777         #including lyxrow.h.
5778
5779         * lyxrow_funcs.h:
5780         * lyxtext.h:
5781         * paragraph.h:
5782         * insets/insettext.h: use it instead of RowList.h
5783
5784         * bufferview_funcs.C:
5785         * lyxfunc.C:
5786         * lyxrow_funcs.C:
5787         * paragraph.C:
5788         * rowpainter.C:
5789         * text.C:
5790         * text2.C:
5791         * text3.C: #include "RowList.h".
5792
5793 2003-09-05  Angus Leeming  <leeming@lyx.org>
5794
5795         * factory.C (createInset):
5796         * vspace.C (c-tor): replace sscanf call with an istringstream.
5797         * ispell.C: re-add missing HP/UX headers.
5798         * lyxserver.C: re-add missing  os2 headers.
5799
5800 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5801
5802         * BranchList.C:
5803         * graph.C:
5804         * ispell.C:
5805         * lastfiles.C:
5806         * lyx_cb.C:
5807         * lyxserver.C:
5808         * texrow.C:
5809         * text3.C: re-add missing system headers, needed for 2.95.2.
5810
5811 2003-09-05  Angus Leeming  <leeming@lyx.org>
5812
5813         Changes most place everywhere due to the removal of using directives
5814         from support/std_sstream.h.
5815
5816 2003-09-05  Angus Leeming  <leeming@lyx.org>
5817
5818         Replace LString.h with support/std_string.h,
5819         Lsstream.h with support/std_sstream.h,
5820         support/LIstream.h with support/std_istream.h,
5821         support/LOstream.h with support/std_ostream.h.
5822
5823         Changes resulting throughout the tree.
5824
5825 2003-09-05  Angus Leeming  <leeming@lyx.org>
5826
5827         * sgml.h: ensure that the header file can be compiled stand-alone.
5828         * *.C: strip out redundant #includes. (320 in total.)
5829
5830 2003-09-04  Angus Leeming  <leeming@lyx.org>
5831
5832         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5833         here (from getPackages).
5834
5835         * debug.[Ch]: add a new EXTERNAL tag.
5836
5837 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5838
5839         * text2.C (cursorEnd): simplify
5840         (setCursor): adjust
5841         (getColumnNearX): adjust
5842
5843         * text.C (computeBidiTables): adjust
5844         (fill): adjust
5845
5846         * rowpainter.C (paintChars): adjust
5847         (paintSelection): adjust
5848         (paintChangeBar): adjust
5849         (paintText): adjust
5850
5851         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5852         lastPos instead.
5853         (numberOfSeparators): adjust
5854
5855 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5856
5857         * LyXAction.C:
5858         * box.[Ch]:
5859         * lfuns.h:
5860         * lyxfunc.C:
5861         * text3.C: Restricts the mouse click functionality
5862         of insets like bibtex, include, toc and floatlist to the visible
5863         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5864         up the dialogs. Cursor has to be in front of the inset (i.e.
5865         start of row) for this to function.
5866
5867 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5868
5869         * bufferview_funcs.C (currentState): output row information
5870
5871 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5872
5873         * bufferview_funcs.C (currentState): output paragraph position
5874
5875 2003-09-04  Angus Leeming  <leeming@lyx.org>
5876
5877         * FloatList.h: move out #include "Floating.h".
5878         * LaTeX.h: move out #include "DepTable.h".
5879         * LyXAction.h: move out #include "funcrequest.h".
5880         * buffer.h: move out #include "author.h", "iterators.h".
5881         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5882         * lyx_main.h: move out #include "errorlist.h".
5883         * lyxfunc.h: move out #include "FuncStatus.h".
5884         * lyxtext: move out #include "lyxcursor.h".
5885         * paragraph_pimpl.h: move out #include "counters.h".
5886
5887 2003-09-03  Angus Leeming  <leeming@lyx.org>
5888
5889         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5890         preamble_snippets list, enabling us to add snippets to the preamble
5891         only if the snippet was not there already.
5892
5893 2003-09-04  Angus Leeming  <leeming@lyx.org>
5894
5895         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5896
5897 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5898
5899         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5900         update
5901
5902 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5903
5904         * BranchList.C: point fix, earlier forgotten
5905
5906 2003-09-02  Angus Leeming  <leeming@lyx.org>
5907
5908         * box.C (contains): renamed from 'contained' after a fantastic
5909         amount of hot air.
5910
5911 2003-09-02  John Levon  <levon@movementarian.org>
5912
5913         * BufferView.C:
5914         * lyxcursor.h:
5915         * lyxcursor.C:
5916         * lyxfunc.C:
5917         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5918
5919 2003-09-02  John Levon  <levon@movementarian.org>
5920
5921         * text2.C: simplification of cursorEnd(), including partial
5922         fix for bug 1376
5923
5924 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * buffer.C (readFile): add a space
5927
5928 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5929
5930         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5931
5932 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5933
5934         * buffer.C (readFile): new function, take a filename and a
5935         ParagraphList::iterator
5936         (readFile): adjust
5937         (readFile): adjust, make it private. don't use setStream, make
5938         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5939         always contain the filename.
5940
5941         * BufferView.C (insertLyXFile): simplify and make it work for
5942         gzipped files.
5943
5944 2003-08-30  John Levon  <levon@movementarian.org>
5945
5946         * Makefile.am: fix dist (from Kayvan)
5947
5948 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * most files: change to use const Buffer refs
5951
5952 2003-08-27  André Pönitz  <poenitz@gmx.net>
5953
5954         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5955         on top of ownerPar().
5956
5957 2003-08-27  John Levon  <levon@movementarian.org>
5958
5959         * funcrequest.C: properly initialise POD members
5960
5961 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5962
5963         * lyxtext.h (top_y): move top_y from here
5964         * text.C:
5965         * text2.C:
5966         * text3.C:
5967         * BufferView.[Ch]:
5968         * BufferView_pimpl.[Ch]: to here
5969         * frontends/screen.C:
5970         * insets/insettabular.C:
5971         * insets/insettext.C: adjust
5972         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5973
5974 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5975
5976         * BufferView.[Ch]:
5977         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5978
5979 2003-08-26  André Pönitz  <poenitz@gmx.net>
5980
5981         * paragraph_func.[Ch] (outerPar): new function
5982
5983         * paragraph.C:
5984         * paragraph_funcs.C:
5985         * paragraph_funcs.h:
5986         * paragraph_pimpl.C:
5987         * text2.C: remove Inset::par_owner
5988
5989 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5990
5991         * lyxrow_funcs.C:
5992         * lyxtext.h:
5993         * text.C:
5994         * text2.C: eliminates the needFullRow/display() stuff
5995         altogether, putting the logic in metrics/draw in the insets.
5996
5997 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5998
5999         * text2.C (redoParagraphInternal, redoParagraphs):
6000         * text.C (redoParagraph): add a call to updateRowPositions at the
6001         end of each 'metrics-like' call. Remove all others.
6002         (getRow): remove the 'y-computing' version.
6003         (getRowNearY): do not compute nor return the real y. Solve the
6004         'y < 0' problem and simplify.
6005
6006 2003-08-22  Angus Leeming  <leeming@lyx.org>
6007
6008         * *.[Ch]: clean-up of licence and author blurbs.
6009         Also move config.h out of a few .h files and into a few .C files.
6010
6011 2003-08-22  André Pönitz  <poenitz@gmx.net>
6012
6013         * lyxrow.[Ch]: add x_ and *fill_ members
6014
6015         * lyxtext.h:
6016         * text.C:
6017         * rowpainter.C:
6018         * text2.C: adjust/remove prepareToPrint() calls
6019
6020 2003-08-22  André Pönitz  <poenitz@gmx.net>
6021
6022         * lyxrow.[Ch]: add  end_ member
6023
6024         * lyxrow_funcs.C: use LyXRow::end_
6025
6026         * lyxtext.h (singleWidth): add LyXFont parameter
6027
6028         * rowpainter.C:
6029         * text2.C: adjust LyXText::singleWidth() calls
6030
6031         * text.C (redoParagraph): simplify row breaking logic
6032
6033
6034 2003-08-19  André Pönitz  <poenitz@gmx.net>
6035
6036         * funcrequest.C: initialize button_ member
6037
6038         * text3.C:
6039         * rowpainter.[Ch]: interface consolidation
6040
6041 2003-08-18  André Pönitz  <poenitz@gmx.net>
6042
6043         * BufferView.C:
6044         * BufferView_pimpl.C:
6045         * lyxfind.C:
6046         * paragraph_funcs.C:
6047         * rowpainter.C:
6048         * text3.C: remove LyXScreen::draw() and fitCursor calls
6049
6050         * BranchList.h: remove spurious semicolons
6051
6052         * MenuBackend.C: fix branchlist related crash
6053
6054 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6055
6056         * BranchList.[Ch]:
6057         * InsetList.[Ch]:
6058         * LColor.[Ch]:
6059         * LyXAction.C:
6060         * Makefile.am:
6061         * MenuBackend.[Ch]:
6062         * bufferparams.[Ch]:
6063         * factory.C:
6064         * lfuns.h:
6065         * lyxfunc.C:
6066         * text3.C: implements the 'branch inset'
6067         idea. This allows the output of various versions of a document
6068         from a single source version, selectively outputing or suppressing
6069         output of parts of the text.
6070         This implementation contains a 'branch list editor' in a separate
6071         tab of the document settings dialog. Branches are user definable
6072         and have a "display colour" to distinguish them on-screen.
6073
6074         ColorHandler was somewhat cleaned up.
6075         (1) make possible a dynamically growing LColor list by allowing
6076         the graphic context cache to grow along (vector);
6077         (2) eliminate an IMHO unnecessary step in colour allocation.
6078
6079 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6080
6081         * BufferView_pimpl.C: compile fix
6082
6083 2003-08-15  André Pönitz  <poenitz@gmx.net>
6084
6085         * rowpainter.C: remove extra metrics calls
6086
6087         * lyxtext.h: merge the two constructors into a single one,
6088           pass reference to owner's par list
6089
6090         * BufferView_pimpl.C:
6091         * text.C:
6092         * text2.C: adjust
6093
6094 2003-08-15  André Pönitz  <poenitz@gmx.net>
6095
6096         * lyxrow_funcs.[Ch]:
6097         * lyxtext.h:
6098         * paragraph.h:
6099         * paragraph_funcs.C:
6100         * rowpainter.C:
6101         * text.C:
6102         * text2.C:
6103         * text3.C:
6104         * text_funcs.C: split LyXText::rowlist_ into individual
6105         Paragraph::rows_ chunks
6106
6107         * BufferView.[Ch]:
6108         * BufferView_pimpl.[Ch]:
6109         * lyxfind.C:
6110         * lyxtext.h:
6111         * text3.C: remove toggleSelection()
6112
6113 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6114
6115         * bufferlist.C: beautify two alerts (shorter text of buttons)
6116         * buffer.C: Remove redundant ' ' from message
6117         * tabular.h:
6118         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6119         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6120         rename VALIGN_CENTER to VALIGN_MIDDLE
6121
6122 2003-08-11  André Pönitz  <poenitz@gmx.net>
6123
6124         * lyxtext.h (getPar):
6125         * text.C: new function
6126
6127 2003-08-11  André Pönitz  <poenitz@gmx.net>
6128
6129         * Makefile.am:
6130         * tracer.[Ch]: remove unneeded files
6131
6132         * InsetList.[Ch]: remove resizeInsetsLyXText()
6133
6134         * lyxtext.h:
6135         * text.C:
6136         * text2.C:
6137         * text3.C: merge insertParagraphs() and appendParagraph()
6138         remove breakAgain(), update()
6139
6140         * BufferView_pimpl.[Ch]:
6141         * bufferview_funcs.[Ch]:
6142         * lyxfunc.C:
6143         * paragraph.[Ch]:
6144         * rowpainter.C:
6145         * tabular.C: adjust after text & InsetList changes.
6146
6147 2003-08-08  André Pönitz  <poenitz@gmx.net>
6148
6149         * text.C (insertChar, backspace): replace rowlist fiddling
6150         with rebreak of full par
6151
6152         * lyxtext.h:
6153         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6154         checkParagraph, updateInset): removed
6155
6156 2003-08-07  André Pönitz  <poenitz@gmx.net>
6157
6158         * paragraph.C:
6159         * text3.C: merge some LFUN handlers, remove dead code
6160
6161 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6162
6163         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6164
6165 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6166
6167         * text2.C (DEPM): fix part of bug 1255 and 1256
6168
6169 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6170
6171         * BufferView_pimpl.C (workAreaDispatch): change to use
6172         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6173         that are no mouse related.
6174
6175 2003-08-05  André Pönitz  <poenitz@gmx.net>
6176
6177         * BufferView.[Ch]:
6178         * BufferView_pimpl.[Ch]:
6179         * bufferview_funcs.C:
6180         * text2.C:
6181         * text3.C: rip out "deep update"
6182
6183         * textcursor.[Ch] (last_sel_cursor): remove unused member
6184
6185 2003-08-04  André Pönitz  <poenitz@gmx.net>
6186
6187         * BufferView.[Ch]:
6188         * BufferView_pimpl.[Ch]:
6189         * ParagraphParameters.C:
6190         * bufferview_funcs.C:
6191         * lyx_cb.C:
6192         * lyxfind.C:
6193         * lyxfunc.C:
6194         * text.C:
6195         * text2.C:
6196         * text3.C: replace "complicated" BufferView::update(...) calls with
6197         simpler ones.
6198
6199         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6200
6201 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6202
6203         * Makefile.am (lyx_SOURCES): add paper.h
6204
6205 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6206
6207         * Makefile.am: move things around so that both lyx-qt and
6208         lyx-xforms can be built (according to --with-frontend). Then lyx
6209         is a symbolic link to lyx-[firstfrontend]
6210
6211 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6212
6213         * Always use std::endl with lyxerr
6214
6215 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6216
6217         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6218
6219 2003-08-01  André Pönitz  <poenitz@gmx.net>
6220
6221         * BufferView.[Ch]:
6222         * BufferView_pimpl.[Ch]:
6223         * lyxfunc.C:
6224         * text3.C: merge BufferView::repaint() and BufferView::update()
6225
6226 2003-08-01  José Matos  <jamatos@lyx.org>
6227
6228         * buffer.[Ch]: file_format is no longer a buffer data element.
6229
6230 2003-08-01  André Pönitz  <poenitz@gmx.net>
6231
6232         * BufferView.C:
6233         * lyxtext.h:
6234         * text.C:
6235         * text2.C: make redoParagraph more independent of current cursor
6236
6237         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6238         * text.C:
6239         * text2.C: remove unneeded members
6240
6241 2003-07-30  André Pönitz  <poenitz@gmx.net>
6242
6243         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6244
6245         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6246           create a single function...
6247
6248         * paragraph_funcs.C (moveItem): ... here.
6249
6250         * text.C:
6251           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6252
6253 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6254
6255         * LColor.[Ch]: Add comment and greyedout logical colors.
6256
6257 2003-07-30  André Pönitz  <poenitz@gmx.net>
6258
6259         * tabular.C: don't use Assert too heavily. This crashes where it
6260           shouldn't
6261
6262 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6263
6264         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6265         is disabled (bug 1232)
6266
6267 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6268
6269         * factory.C: limited 'arg' scope
6270
6271 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6272
6273         * factory.C: fixed Note submenu issues
6274
6275 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6276
6277         * factory.C: submenu for Note/Comment/Greyedout
6278
6279 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6280
6281         * lyx_main.C (LyX):
6282         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6283
6284 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6285
6286         * LaTeXFeatures.C:
6287         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6288         greyedout. Patch provided by Jürgen Spitzmüller.
6289
6290 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6291
6292         * kbmap.C (read): fix error message when reading bind files
6293
6294 2003-07-29  Angus Leeming  <leeming@lyx.org>
6295
6296         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6297         certainly does not do what it purports to do. I am doing it, and
6298         us, a favour by killing it.
6299
6300 2003-07-28  José Matos  <jamatos@lyx.org>
6301
6302         * buffer.C (readBody, do_writeFile):
6303         * paragraph.C(readParagraph): \end_document replaces \the_end.
6304
6305 2003-07-29  André Pönitz  <poenitz@gmx.net>
6306
6307         * BufferView.[Ch]:
6308         * BufferView_pimpl.[Ch]:
6309         * lyxfunc.C:
6310         * text2.C:
6311         * text3.C:
6312         * textcursor.[Ch]: remove toggleToggle & Co
6313
6314 2003-07-28  José Matos  <jamatos@fep.up.pt>
6315
6316         * buffer.C (readParagraph):
6317         * params_func (readParToken, readParagraph):
6318         * paragraph.C (write): \layout -> \begin_layout.
6319
6320 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * lyxlex_pimpl.C (setFile): clean up slightly.
6323
6324         * bufferparams.h: add compressed var
6325
6326         * buffer_funcs.C (readFile): adjust for LyXLex change
6327         (newFile): ditto + simplify
6328
6329         * buffer.C (writeFile): handle writing of compressed files
6330
6331         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6332         Check if the file is compressed and set a bufferparm if so.
6333
6334         * Makefile.am (lyx_LDADD): remove explicit -lz
6335
6336 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6337
6338         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6339         makeDocBookFile): put the real LyX version in the first line of
6340         the file
6341
6342         * version.h:
6343         * version.C.in: remove lyx_docversion
6344
6345         * tabular.C (write_attribute): add a template-based version to
6346         write enums properly
6347
6348 2003-07-28  André Pönitz  <poenitz@gmx.net>
6349
6350         * lyxtext.h:
6351         * text.C:
6352         * text2.C:
6353         * text3.C: use doubles again for x-coordinates. They are needed.
6354
6355 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * messages.C (getLocaleDir): use lyx_localedir()
6358
6359         * lyxlex_pimpl.C (setFile): compress stuff
6360
6361         * buffer.C (writeFile): add some compression stuff
6362         (do_writeFile): new func, dont call expliti close... will this
6363         breake anything?
6364
6365         * Makefile.am (lyx_LDADD): add -lz
6366
6367 2003-07-28  José Matos  <jamatos@fep.up.pt>
6368
6369         * buffer.C: increment file format.
6370         * paragraph_funcs (readParagraph, readParToken):
6371         * paragraph.C (readParagraph): add \end_layout.
6372
6373 2003-07-27  Angus Leeming  <leeming@lyx.org>
6374
6375         * Makefile.am: remove special casing for configure-time setting of
6376         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6377
6378         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6379         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6380
6381 2003-07-26  André Pönitz  <poenitz@gmx.net>
6382
6383         * paragraph_func.[Ch]:
6384         * paragraph.C (realizeFont): inline it whereever it is used
6385
6386         * rowpainter.C:
6387         * text.C:
6388         * text2.C:
6389         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6390
6391
6392 2003-07-26  André Pönitz  <poenitz@gmx.net>
6393
6394         *       lyxtext.h:
6395         * text.C:
6396         * text2.C: get rid of LyXText::need_break_row
6397
6398 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * toc.[Ch]: put namespace toc inside namespace lyx
6401
6402         * MenuBackend.C (expandToc2): adjust for lyx::toc
6403         (expandToc): ditto
6404
6405         * lyxfunc.C (dispatch): adjust for lyx::find
6406
6407         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6408         lyx::find instead. Reorganize a bit.
6409         (LyXReplace): rename to replace
6410         (LyXFind): rename to find
6411
6412         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6413         (dispatch): ditto
6414
6415 2003-07-26  André Pönitz  <poenitz@gmx.net>
6416
6417         * text.C (setHeightOfRow): restrict scope of temporary variable
6418
6419         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6420           code (never has been used?)
6421
6422 2003-07-27  Asger Alstrup  <alstrup@local>
6423
6424         * text.C (fill): Optimise algorithm to exploit that we can reuse
6425         the LyXFont for many characters.
6426         (setHeightOfRow): Same thing.
6427         (rowBreakPoint): Same thing.
6428
6429 2003-07-26  Asger Alstrup  <alstrup@local>
6430
6431         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6432
6433         * text.C (singleWidth): Spurious font copying in hot-spot
6434         singleWidth avoided. Reorder tests for arabic for efficiency.
6435
6436         * text.C (fill): handle empty paragraphs better.
6437
6438 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6439
6440         * ispell.C:
6441         * encoding.h: add includes
6442
6443         * lyxrc.C: remove reading of bind files
6444
6445         * lyx_main.C (init): setup bindings and menus only if we have a
6446         gui.
6447
6448         * kbmap.C (read): new method. Do the actual reading of bind
6449         files.
6450
6451         * converter.C (dvipdfm_options):
6452         * bufferparams.C:
6453         * lyxrc.C (read):
6454         (output): adapt PAPER_* enums.
6455
6456         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6457
6458         * bufferparams.h: remove paper-related enums from there
6459
6460         * paper.h: New file. A trivial header file to hold paper-related
6461         enums. It should later expand to contain many paper-related
6462         horrors access.
6463
6464         * lyxrc.C: declare extern displayTranslator
6465
6466 2003-07-27  José Matos  <jamatos@fep.up.pt>
6467
6468         * tabular.[Ch] (linuxdoc): add support for tables and figures
6469         (linuxdoc).
6470
6471 2003-07-27  José Matos  <jamatos@fep.up.pt>
6472
6473         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6474         consistency in both functions.
6475         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6476
6477 2003-07-26  Asger Alstrup  <alstrup@local>
6478
6479         * rowpainter.C (paintRows): Change algorithm to work directly on
6480         the insets rather than asking every character in the document
6481         whether its an inset.
6482
6483 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6484
6485         * buffer.C (openFileWrite): factorize some code
6486
6487 2003-07-26  Angus Leeming  <leeming@lyx.org>
6488
6489         * lyx_cb.C:
6490         * lyx_main.[Ch]: replace occurances of system_tempdir with
6491         os::getTmpDir().
6492
6493 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * rename Inset to InsetOld
6496
6497 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6498
6499         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6500         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6501         which I think is a bit clearer. EDIT is gone, since it was
6502         premature optimisation, and broken for mathed anyway.
6503         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6504         with cursor positioning in insets as well (math insets still do not
6505         work, but that's a different story anyway.) It mysteriously
6506         crashes sometimes with undo in the first paragraph, but I'm fairly
6507         confident that this is a compiler bug.
6508
6509 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * paragraph.C (Paragraph): adjust for new clone return type
6512         (operator==): ditto
6513         (copyIntoMinibuffer): ditto
6514
6515 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6516
6517         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6518         by not having a special case, and always doing a full rebreak of
6519         the document after undo.
6520
6521 2003-07-23  Angus Leeming  <leeming@lyx.org>
6522
6523         * factory.C (createInset): InsetExternal::setParams now takes a
6524         Buffer const * arg.
6525
6526 2003-07-23  Angus Leeming  <leeming@lyx.org>
6527
6528         * factory.C (createInset): changed interface to the external and
6529         graphics mailers' string2params functions.
6530
6531 2003-07-23  Angus Leeming  <leeming@lyx.org>
6532
6533         * factory.C (createInset): pass a
6534         Buffer const * parameter to InsetExternalMailer's string2params.
6535
6536 2003-07-22  John Levon  <levon@movementarian.org>
6537
6538         * Thesaurus.h: include the right aiksaurus header
6539
6540 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6541
6542         * MenuBackend.C (expand): check menu shortcuts unconditionally
6543
6544 2003-07-21  Angus Leeming  <leeming@lyx.org>
6545
6546         * factory.C (createInset): pass a
6547         buffer_path parameter to InsetGraphicsMailer's string2params.
6548
6549 2003-07-21  Angus Leeming  <leeming@lyx.org>
6550
6551         * BufferView_pimpl.C (buffer):
6552         * buffer.C (d-tor):
6553         * lyx_main.C (LyX):
6554         * lyxfunc.C (dispatch):
6555         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6556         rather than the grfx shortcut.
6557
6558 2003-07-21  André Pönitz  <poenitz@gmx.net>
6559
6560         * rowpainter.C: remove unused variables
6561
6562         * tabular_funcs.C:
6563         * tabular_funcs.h: move to tabular.C
6564         * Makefile.am: adjust
6565
6566         * tabular.[Ch]: basic optical cleaning
6567
6568         * author.h: pass references, not values
6569
6570 2003-07-18  André Pönitz  <poenitz@gmx.net>
6571
6572         * lyxtext.h:
6573         * metricsinfo.C:
6574         * metricsinfo.h:
6575         * rowpainter.C:
6576         * text.C:
6577         * text2.C:
6578         * text3.C: two-phase drawing for InsetText and InsetTabular
6579         some float -> int changes.
6580
6581 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6582
6583         * lyx_main.C: fix the fix
6584
6585 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6586
6587         * lyx_main.C: fix a crash in batch mode if no files specified
6588         * converter.C: ws
6589
6590 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6591
6592         * format.[Ch] (papersize): moved to BufferParams
6593         * converter.[Ch] (dvips_options): moved to BufferParams
6594         (dvipdfm_options): moved to anon namespace
6595         * bufferparams.[Ch]: added above functions.
6596
6597 2003-07-17  André Pönitz  <poenitz@gmx.net>
6598
6599         * lyxtext.h:
6600         * rowpainter.C:
6601         * text2.C: don't call inset->update() anymore
6602
6603         * metricsinfo.[Ch]: add convenience constructor
6604
6605 2003-07-16  André Pönitz  <poenitz@gmx.net>
6606
6607         * lyxcursor.[Ch]:
6608         * lyxfunc.[Ch]:
6609         * text.C:
6610         * text2.C: replace the LyXCursor::irow_ member with
6611          on-demand computation of the value
6612
6613 2003-07-16  John Levon  <levon@movementarian.org>
6614
6615         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6616
6617 2003-07-15  André Pönitz  <poenitz@gmx.net>
6618
6619         * text.C:
6620         * text2.C: remove no more needed refresh_row
6621
6622 2003-07-15  André Pönitz  <poenitz@gmx.net>
6623
6624         * lyxtext.h:
6625         * rowpainter.C:
6626         * text2.C:
6627         * text3.C: refresh_status tristate -> need_update bool
6628
6629 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6630
6631         * lyxtext.h (init): remove reinit argument (act as if always true)
6632         * text2.C: adjust to that
6633
6634 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6635
6636         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6637         * text3.C: use it to delete selections in some cases
6638         (bugs 441, 673, 702, 954).
6639
6640 2003-07-14  André Pönitz  <poenitz@gmx.net>
6641
6642         * rowpainter.[Ch]: reduce interface
6643
6644 2003-07-14  André Pönitz  <poenitz@gmx.net>
6645
6646         * BufferView_pimpl.C:
6647         * text2.C: adjust after removing unused BufferView * argument
6648
6649 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6650
6651         * text2.C (init): fix a crash fired on resize
6652
6653 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6654
6655         * buffer.[Ch]: added new closing signal
6656         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6657         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6658         BufferView::Pimpl via the closing the signal
6659
6660 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6661
6662         * buffer.[Ch]: take out all bv-related from buffer
6663         * BufferView.C:
6664         * BufferView_pimpl.[Ch]: connect to new signals
6665         * CutAndPaste.C: removed useless asserts
6666         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6667         * lyxvc.[Ch]:
6668         * vc-backend.[Ch]:
6669         * lyxfunc.C: moved view-related funciontality from vc here
6670         * paragraph.C: removed outdated comments
6671         * text.C: ws
6672
6673 2003-07-10  André Pönitz  <poenitz@gmx.net>
6674
6675         * BufferView_pimpl.C:
6676         * tabular.h:
6677         * tabular_funcs.C:
6678         * text.C:
6679         * text2.C: remove InsetText::InnerCache, clean up consequences
6680
6681 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6682
6683         * ispell.C: fix two typos in error messages
6684
6685 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6686
6687         * Extend Note inset to other forms of annotation like Comment
6688         and Greyedout. Right button click gives dialog.
6689
6690         Files modified or added (+):
6691
6692         * insetnote.[Ch]
6693         * FormNote.[Ch]      +
6694         * ControlNote.[Ch]   +
6695         * form_note.fd       +
6696         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6697         frontends/controllers
6698         * xforms/Dialogs.C
6699         * factory.C
6700
6701 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6702
6703         * aspell.C: add missing namespace lyx::support
6704
6705 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6706
6707         * BufferView.[Ch] (newFile): Add
6708         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6709         * LaTeX.[Ch] (message): added this signal and use it
6710         * buffer.[Ch] (busy, message): added these signals and use them
6711         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6712         * converter.C:
6713         * exporter.C:
6714         * format.C:
6715         * importer.C: use buffer signals instead of direct bv calling
6716         * lyx_cb.[Ch] (ShowMessage): removed
6717         * lyx_main.C:
6718         * lyxfunc.C:
6719         * paragraph_funcs.C:
6720         * text2.C: use buffer signals
6721
6722 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6723
6724         * introduce namespace lyx::graphics
6725
6726 2003-07-02  André Pönitz  <poenitz@gmx.net>
6727
6728         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6729
6730 2003-07-01  André Pönitz  <poenitz@gmx.net>
6731
6732         * text.C:
6733         * text2.C:
6734         * text3.C:
6735         * text_funcs.[Ch]:
6736         * textcursor.h:
6737         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6738           text*.C to text_func.C
6739
6740 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * introduce namespace lyx::support
6743
6744 2003-06-30  André Pönitz  <poenitz@gmx.net>
6745
6746         * Chktex.C:
6747         * funcrequest.C:
6748         * lyxtext.h:
6749         * text.C: re-enable --with-included-string
6750
6751 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * textcursor.C: add <config.h>
6754
6755         * text.C (getWord): remove const from word_location arg
6756
6757         * lyxvc.C (getLogFile): fix const type order
6758
6759         * lyxtext.h: remove const from word_location arg, add arg name
6760
6761         * lyxlayout.h: currect type on labeltype.
6762
6763         * importer.C: correct \file
6764
6765         * converter.C (intToFormat): use std:: on ret val, ws changes
6766
6767         * bufferlist.h: correct \file
6768
6769         * buffer.C (makeLinuxDocFile): fix const type order
6770         (makeDocBookFile): ditto
6771         (fillWithBibKeys): use std:: on stdlib args.
6772
6773         * CutAndPaste.C: fix authors.
6774         (availableSelections): use std:: on return vector
6775
6776 2003-06-27  André Pönitz  <poenitz@gmx.net>
6777
6778         * BufferView_pimpl.C:
6779         * bufferview_funcs.C:
6780         * lyxcursor.C:
6781         * lyxcursor.h:
6782         * lyxfunc.C:
6783         * lyxtext.h:
6784         * rowpainter.C:
6785         * text.C:
6786         * text2.C:
6787         * text3.C: remove LyXCursor::row_ member
6788
6789         * lyxtext.h:
6790         * text.C: rename fullRebreak() to partialRebreak() and implement
6791           a fullRebreak() that really bereks fully
6792
6793         * textcursor.h: new struct for cursor-related data
6794
6795 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6796
6797         * lyx_main.C (LyX): get full path of document loaded on the
6798         command line
6799
6800 2003-06-26  André Pönitz  <poenitz@gmx.net>
6801
6802         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6803           remove unused/broken operator>,<,>=.
6804
6805         *       text.C: remove only use of broken operator<= in an Assert().
6806
6807 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6808
6809         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6810         moved errorlist_.clear to showErrorList
6811
6812 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6813
6814         * converter.C (scanLog, runLaTeX):
6815         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6816         move the bv->showErrorList call to the callers
6817         * lyxfunc.C: i.e. here...
6818         * text2.C: and here
6819         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6820         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6821         namespace, the second to...
6822         * buffer_funcs (BufferFormat, parseErrors): added
6823         * errorlist.C (ErrorList(TeXErrors const &)): removed
6824
6825 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6826
6827         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6828
6829 2003-06-24  "Garst R. Reese" <reese@isn.net>
6830
6831         * debug.C: fix typo
6832
6833 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6834
6835         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6836
6837         * version.C.in: change docversion to 1.4
6838
6839 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6840
6841         * buffer.C: fix a bug just introduced
6842
6843 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6844
6845         * buffer.[Ch]: added the parseError signal and use it, removed
6846         sgmlError
6847         * BufferView.[Ch] (addError): moved to ...
6848         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6849         to the Buffer::parseError signal to catch (guess what) parse errors
6850         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6851
6852 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6853
6854         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6855         ability to create a buffer and to return an existing one from
6856         the list. Moved these functions to...
6857         * buffer_funcs.[Ch]: added
6858         * BufferView.[Ch] (loadLyXFile): added
6859         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6860         job removed from bufferlist::loadLyXFile.
6861         * buffer.C (setReadOnly): make it work without view
6862         (i.e added an if (users))
6863
6864 2003-06-19  Angus Leeming  <leeming@lyx.org>
6865
6866         * lfuns.h:
6867         * LyXAction.C (init):
6868         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6869         with LFUN_DIALOG_SHOW <name> <data>.
6870
6871 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6872
6873         * CutAndPaste.C (availableSelections): small compilation fix for
6874         ancient (gcc 2.9x) compilers
6875
6876 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * text3.C (cursorNext): add tmp var
6879
6880         * text2.C (updateCounters): for function calling out of for clause
6881         (replaceSelectionWithString): ditto
6882         (insertStringAsParagraphs): ditto
6883         (getColumnNearX): add tmp var
6884         (setCursorFromCoordinates): add tmp var
6885         (cursorDownParagraph): add tmp var
6886         (deleteEmptyParagraphMechanism): add tmp var
6887
6888         * text.C (insertChar): add tmp var
6889
6890         * rowpainter.C (paintDepthBar): add tmp var
6891
6892         * CutAndPaste.C (availableSelections): potentially check all
6893         paragraphs in a cut to fill the shown strings.
6894
6895 2003-06-18  André Pönitz  <poenitz@gmx.net>
6896
6897         * kbmap.[Ch]: use vector<> instead of list<>
6898
6899 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6900
6901         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6902         pasteSelection with index
6903
6904         * text2.C (pasteSelection): modify, call pasteSelection with index
6905
6906         * paragraph.C (asString): reimplement version with no interval to
6907         call the one with interval.
6908
6909         * lyxtext.h: add index arg to pasteSelection
6910
6911         * MenuBackend.C (MenuItem): handle PasteRecent
6912         (Menu::read::Menutags): add md_pasterecent
6913         (read): handle it
6914         (expandPasteRecent): new function
6915         (expand): use it
6916
6917         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6918
6919         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6920         the limited stack
6921         (availableSelections): new function
6922
6923 2003-06-17  Angus Leeming  <leeming@lyx.org>
6924
6925         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6926
6927 2003-06-17  Angus Leeming  <leeming@lyx.org>
6928
6929         * lfuns.h:
6930         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6931
6932         * lyxfunc.C (dispatch): invoke it.
6933
6934 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6935
6936         * iterators.C (operator++, ParPosition): reintroduce some
6937         const_cast for the benefit of older compilers.
6938
6939 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6940
6941         * text3.C (dispatch): do not modify clipboard when doing
6942         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6943         LFUN_DELETE_SKIP on a selection selection
6944
6945 2003-06-16  André Pönitz  <poenitz@gmx.net>
6946
6947         * BufferView.C:
6948         * buffer.C:
6949         * buffer.h:
6950         * paragraph.C:
6951         * tabular.[Ch]: IU of clone() and getLabelList();
6952
6953 2003-06-13  André Pönitz  <poenitz@gmx.net>
6954
6955         * tabular.h: compactification
6956
6957 2003-06-12  André Pönitz  <poenitz@gmx.net>
6958
6959         * tabular.C:
6960         * tabular.h:
6961         * tabular_funcs.h: some renaming plus whitespace
6962
6963 2003-06-12  André Pönitz  <poenitz@gmx.net>
6964
6965         * BufferView.C:
6966         * BufferView_pimpl.C:
6967         * CutAndPaste.C:
6968         * buffer.C:
6969         * iterators.[Ch]:
6970         * lyxfunc.C:
6971         * text.C:
6972         * toc.C: Return a Paragraph & for ParIterator::operator*()
6973
6974 2003-06-11  John Levon  <levon@movementarian.org>
6975
6976         * lyx_main.C:
6977         * ToolbarBackend.h:
6978         * ToolbarBackend.C: add "Toolbars" section and
6979         put the flags there
6980
6981 2003-06-10  Angus Leeming  <leeming@lyx.org>
6982
6983         * lfuns.h:
6984         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6985
6986         * lyxfunc.C (dispatch): invoke it.
6987
6988 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6989
6990         * main.C: protect <ios> with HAVE_IOS
6991         (main): protect sync_with_stdio with HAVE_IOS
6992
6993 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6994
6995         * text2.C (cutSelection): adjust
6996         (pasteSelection): adjust
6997
6998         * messages.C: handle get of empty string
6999
7000         * main.C (main): use sync_with_stdio(false)
7001
7002         * lyxfunc.C (dispatch): adjust
7003
7004         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7005         (WriteAs): remove unneeded BufferView arg.
7006
7007         * bufferparams.h: use correct types on papersize, papersize2 and
7008         paperpackage.
7009
7010         * bufferparams.C (readToken): adjust for type
7011         (writeLaTeX): add missing cases to switch.
7012
7013         * bufferlist.C (quitWriteBuffer): adjust
7014         (close): adjust
7015
7016         * buffer.C (asciiParagraph): remove some commented code.
7017
7018         * CutAndPaste.C: remove current_view extern variable.
7019         (cutSelection): add BufferParams arg.
7020         (eraseSelection): add BufferParams arg.
7021         (pasteSelection): add Buffer const & arg
7022
7023 2003-06-07  John Levon  <levon@movementarian.org>
7024
7025         * buffer.C:
7026         * paragraph_funcs.C:
7027         * paragraph_pimpl.C:
7028         * text.C:
7029         * text2.C:
7030         * paragraph.h:
7031         * paragraph.C: allow InsetERT to freely space lines,
7032         and some consolidation of code
7033
7034 2003-06-06  José Matos  <jamatos@fep.up.pt>
7035
7036         * buffer.C (makeDocBookFile): fix bug #821
7037
7038 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7039
7040         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7041
7042 2003-06-04  Angus Leeming  <leeming@lyx.org>
7043
7044         * buffer.C: bump format to 224.
7045
7046 2003-06-05  André Pönitz  <poenitz@gmx.net>
7047
7048         * text2.C (redoParagraphs): remove two const_cast<>
7049
7050 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7051
7052         * ParagraphList.h: remove last remnants of NO_STD_LIST
7053
7054 2003-06-03  Angus Leeming  <leeming@lyx.org>
7055
7056         * factory.C (createInset): small change to the way InsetExternal's params
7057         are set.
7058
7059 2003-06-04  André Pönitz  <poenitz@gmx.net>
7060
7061         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7062
7063         * paragraph_pimpl.h:
7064         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7065
7066         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7067
7068         * undo_funcs.C: make some simple cases of undo work again
7069
7070 2003-06-03  John Levon  <levon@movementarian.org>
7071
7072         * ispell.C: HPUX doesn't have sys/select.h
7073         (from Albert Chin)
7074
7075 2003-06-03  John Levon  <levon@movementarian.org>
7076
7077         * CutAndPaste.C: update tabular and include inset
7078         buffer references
7079
7080         * buffer.h:
7081         * paragraph.h:
7082         * paragraph.C: remove owningBuffer(), don't pass Buffer
7083         to clone()
7084
7085         * factory.C: insetGraphicsParams changed
7086
7087 2003-06-02  John Levon  <levon@movementarian.org>
7088
7089         * LyXAction.C:
7090         * factory.C:
7091         * lfuns.h:
7092         * lyxfunc.C:
7093         * text3.C: remove insetparent
7094
7095 2003-06-02  John Levon  <levon@movementarian.org>
7096
7097         * buffer.h:
7098         * buffer.C: fix inset_iterator.end(), move out of line
7099         (bug 1149)
7100
7101 2003-06-01  John Levon  <levon@movementarian.org>
7102
7103         * text3.C: use a proper cut/paste when doing inset
7104         insert (from Jürgen Spitzmüller)
7105
7106 2003-06-01  John Levon  <levon@movementarian.org>
7107
7108         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7109
7110 2003-05-30  André Pönitz  <poenitz@gmx.net>
7111
7112         * rowpainter.C: unify second drawing phase
7113
7114 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * trans_mgr.C: remove one case of current_view
7117
7118         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7119
7120         * paragraph_funcs.h: remove paragraph.h include
7121
7122         * paragraph.h: delete NO_STD_LIST stuff
7123
7124         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7125
7126         * buffer.h: remove paragraph.h include
7127
7128         * ParagraphList.C: delete file
7129
7130         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7131
7132         * toc.C (getTocList): adjust
7133
7134         * paragraph_pimpl.C (validate): adjust
7135
7136         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7137
7138         * paragraph.C (Paragraph): adjust
7139         (getPositionOfInset): use const_iterator, adjust
7140         (bibitem): use const_iterator, adjust
7141         (setInsetOwner): adjust
7142
7143         * iterators.C (operator++): adjust
7144
7145         * InsetList.[Ch]: Replace selfmade iterator with standard
7146         vector::iterator also introduce const_iterator. Remove getPos,
7147         getInset and setInset from InsetTable. Adjust accordingly.
7148
7149         * BufferView.C (lockInset): adjust
7150         (ChangeInsets): adjust
7151
7152         * tabular.[Ch]: delete commented same_id functions
7153
7154 2003-05-28  John Levon  <levon@movementarian.org>
7155
7156         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7157
7158 2003-05-28  André Pönitz  <poenitz@gmx.net>
7159
7160         * metricsinfo.[Ch]: remove 'fullredraw' member
7161
7162 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7163
7164         * lyxtextclass.C (operator): remove caching.
7165
7166 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * text3.C: adjust
7169
7170         * text2.C (cursorBottom): adjust
7171         (setCounter): use ParagraphList::find, adjust
7172
7173         * text.C (workWidth): use ParagraphList::find, adjust
7174
7175         * lyxcursor.C (LyXCursor): adjust
7176
7177         * buffer.C (inset_iterator): adjust
7178
7179         * ParagraphList.h: make iterator(value_type) private, make
7180         ParagraphList a friend of iterator.
7181
7182         * ParagraphList.C (find): new function
7183
7184         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7185
7186 2003-05-27  André Pönitz  <poenitz@gmx.net>
7187
7188         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7189
7190 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7191
7192         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7193
7194 2003-05-26  John Levon  <levon@movementarian.org>
7195
7196         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7197
7198 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * remove same_id from function signatures, adjust.
7201
7202 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7205
7206         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7207
7208         * paragraph.C (Paragraph): get rid of same_ids parameter
7209
7210         * ParagraphList.C (insert): adjust
7211         (push_back): adjust
7212
7213 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * paragraph_funcs.C (breakParagraph): adjust
7216         (breakParagraphConservative): adjust
7217
7218         * buffer.C (readParagraph): adjust
7219
7220         * ParagraphList.C (insert): take a reference instead of a pointer
7221         (insert): adjust
7222
7223         * paragraph.[Ch] (id): new function
7224
7225         * bufferlist.C (newFile): adjust
7226
7227         * ParagraphList.C (ParagraphList): adjust
7228         (assign): adjust
7229         (push_back): take a reference instead of a pointer.
7230
7231         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7232
7233         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7234         instead.
7235
7236         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7237         set else use old code.
7238
7239         * ParagraphList.C: remove all NO_NEXT code and only compile this
7240         code of NO_STD_LIST is set.
7241
7242 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7243
7244         * BufferView_pimpl.C:
7245         * TextCache.C:
7246         * TextCache.h:
7247         * bufferlist.C:
7248         * errorlist.h:
7249         * format.C:
7250         * format.h:
7251         * graph.C:
7252         * lyxfunc.C:
7253         * lyxrc.C:
7254         * graphics/GraphicsConverter.C:
7255         * graphics/PreviewLoader.C: header adjustment
7256
7257 2003-05-23  Angus Leeming  <leeming@lyx.org>
7258
7259         * LaTeXFeatures.[Ch] (useBabel): new method.
7260         * bufferparams.C (writeLaTeX): use it.
7261
7262 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * ParagraphList.h (set): remove unused function.
7265
7266 2003-05-23  André Pönitz  <poenitz@gmx.net>
7267
7268         * BufferView.C:
7269         * BufferView_pimpl.C:
7270         * buffer.C:
7271         * buffer.h:
7272         * lyxfunc.C:
7273         * undo_funcs.C: setUndo reworked
7274
7275         * iterators.[Ch]: add access to topmost ParagraphList
7276
7277         * lyxtext.[Ch] (workWidth): add a const
7278
7279 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7280
7281         * texrow.[Ch] (increasePos): remove function
7282         * exporter.C (export): removed unused var and outdated comment
7283
7284 2003-05-23  Angus Leeming  <leeming@lyx.org>
7285
7286         * latexrunparams.h: rename fragile as moving_arg.
7287         * paragraph.C (simpleTeXOnePar): ditto.
7288         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7289
7290 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7293         (createUndo): ditto
7294         (textUndoOrRedo): comment out a currently unused var.
7295
7296         * paragraph.h (NO_NEXT): enable NO_NEXT
7297
7298         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7299
7300         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7301
7302         * exporter.C (Export): adjust for removeAutoInsets removal.
7303
7304         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7305
7306         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7307
7308         * BufferView.[Ch] (removeAutoInsets): delete function
7309
7310 2003-05-22  Angus Leeming  <leeming@lyx.org>
7311
7312         * latexrunparams.h: add a free_spacing variable.
7313
7314         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7315         to pass moving_arg, as the data is stored in runparams.fragile.
7316
7317         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7318         to Inset::latexOptional or to simpleTeXOnePar.
7319
7320         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7321         free_spacing arg to Inset::latexOptional.
7322
7323         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7324         free_spacing arg.
7325
7326 2003-05-22  Angus Leeming  <leeming@lyx.org>
7327
7328         * latexrunparams.h: add fragile and use_babel variables.
7329
7330         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7331         * buffer.C (makeLaTeXFile): store this returned value in
7332         runparams.use_babel, thus passing it to the inset::latex methods.
7333
7334         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7335         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7336
7337         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7338         longer has a fragile arg, as it is stored in runparams.fragile.
7339
7340         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7341         moving_arg parameter as the data is stored in runparams.fragile.
7342
7343         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7344         a fragile parameter as the data is stored in runparams.fragile.
7345
7346 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7349
7350 2003-05-22  Angus Leeming  <leeming@lyx.org>
7351
7352         * latexrunparams.h: add a 'bool nice' which defaults to false.
7353
7354         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7355         now encapsulated within runparams.
7356
7357         * bufferlist.C (updateIncludedTeXfiles):
7358         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7359
7360 2003-05-22  Angus Leeming  <leeming@lyx.org>
7361
7362         * latexrunparams.h: new file containing struct LatexRunParams.
7363         * Makefile.am: add new file.
7364
7365         * LaTeX.[Ch] (c-tor, run):
7366         * buffer.[Ch] (makeLaTeXFile):
7367         * bufferlist.[Ch] (updateIncludedTeXfiles):
7368         * converter.C (convert, scanLog):
7369         * converter.[Ch] (runLaTeX):
7370         * exporter.C (Export):
7371         * paragraph.[Ch] (simpleTeXOnePar):
7372         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7373         * paragraph_funcs.[Ch] (latexParagraphs):
7374         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7375         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7376         pass around a LatexRunParams parameter.
7377
7378 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7379
7380         * paragraph.[Ch]: remove unused constructor
7381
7382         * ParagraphList.C (erase): new function, taking two iterators
7383
7384 2003-05-22  André Pönitz  <poenitz@gmx.net>
7385
7386         * undo_funcs.C: remove duplicated code
7387
7388         * iterator.[Ch]: operator=
7389
7390 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7391
7392         * tabular.C (SetMultiColumn): ws changes
7393
7394         * rowpainter.C (paintFirst): get rid of a ->previous
7395
7396         * lyx_cb.C (getPossibleLabel): parlist simplification
7397
7398         * BufferView.C (ChangeInsets): simplify slightly.
7399
7400 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7401
7402         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7403         * lfuns.h: new LFUN_SPACE
7404         * lyxfunc.C: protected space has a new lfun
7405         * paragraph_funcs.C: read new space insets
7406         * text3.C:
7407         * factory.C: handle new space insets
7408
7409 2003-05-22  André Pönitz  <poenitz@gmx.net>
7410
7411         * BufferView.C:
7412         * BufferView_pimpl.C:
7413         * buffer.[Ch]:
7414         * lyxfunc.C:
7415         * undo_funcs.C: return a ParIterator from getParFromID.
7416
7417         * iterators.[Ch]: add two const's
7418
7419 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * toc.C (getTocList): adjust
7422
7423         * iterators.[Ch]: rework for parlist
7424
7425         * buffer.C (par_iterator_begin): adjust
7426         (par_iterator_end): adjust
7427
7428         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7429
7430         * BufferView.C (removeAutoInsets): adjust
7431         (ChangeInsets): adjust
7432
7433 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7434
7435         * text.C (top_y): fix bug 1110
7436
7437 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7438
7439         * errorlist.[Ch]: added
7440         * buffer.C:
7441         * BufferView.[Ch]:
7442         * BufferView_pimpl.C:
7443         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7444         instead
7445
7446 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * Makefile.am: ensure that lyx is relinked upon changes to the
7449         various "convenience" libs.
7450
7451 2003-05-20  Angus Leeming  <leeming@lyx.org>
7452
7453         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7454         files are compiled in alphabetical order again.
7455
7456         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7457
7458 2003-05-19  Angus Leeming  <leeming@lyx.org>
7459
7460         * gettext.[Ch]: remove "char const * _(char const *)".
7461
7462 2003-05-19  André Pönitz  <poenitz@gmx.net>
7463
7464         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7465
7466         * Makefile.am:
7467         * BufferView.C:
7468         * DepTable.h:
7469         * LaTeXFeatures.C:
7470         * buffer.C:
7471         * lyxfont.C:
7472         * lyxlex.h:
7473         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7474
7475 2003-05-19  André Pönitz  <poenitz@gmx.net>
7476
7477         * buffer.C:
7478         * lyxlayout.[Ch]:
7479         * lyxtextclass.[Ch]:
7480         * paragraph.C:
7481         * paragraph_funcs.[Ch]:
7482         * text2.C:
7483         * text3.C: more insetenv work
7484
7485 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7486
7487         * ParagraphParameters.C (params2string): small bug fixed
7488
7489 2003-05-16  André Pönitz  <poenitz@gmx.net>
7490
7491         * debug.C:
7492         * bufferview_funcs.C: patch from Kornel Benko to prevent
7493           crash when _(...) is called twice in a statement
7494
7495 2003-05-16  André Pönitz  <poenitz@gmx.net>
7496
7497         * BufferView.C:
7498         * lyxfunc.C:
7499         * text.C:
7500         * text2.C:
7501         * text3.C:
7502         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7503
7504 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7505
7506         * lyx_main.C (init): remove spurious static_cast
7507
7508 2003-05-14  André Pönitz  <poenitz@gmx.net>
7509
7510         * BufferView.C: fix format string
7511
7512 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7513
7514         * BufferView.[Ch] (insertErrors): removed
7515         * BufferView.[Ch] (showErrorList): added
7516         * buffer.C (runChkTeX):
7517         * converter.C (scanLog): call showErrorList instead of inserterrors
7518
7519 2003-05-13  André Pönitz  <poenitz@gmx.net>
7520
7521         * BufferView_pimpl.C:
7522         * buffer.C:
7523         * bufferview_func.C:
7524         * MenuBackend.C:
7525         * lyxfunc.C:
7526         * lyxrc.C:
7527         * tex-accent.C:
7528         * text3.C:
7529         * toc.C:
7530         * tabular_funcs.h: tostr() from its own header
7531
7532         * ParagraphParameters.C:
7533         * ToolbarBackend.C:
7534         * bufferparams.C:
7535         * format.C:
7536         * lyxlex_pimpl.C:
7537         * text3.C: STRCONV()
7538
7539 2003-05-12  André Pönitz  <poenitz@gmx.net>
7540
7541         * BufferView.C:
7542         * BufferView_pimpl.C:
7543         * CutAndPaste.C:
7544         * LaTeX.C:
7545         * LaTeXFeatures.C:
7546         * ParagraphParameters.C:
7547         * buffer.C:
7548         * bufferlist.C:
7549         * bufferparams.C:
7550         * bufferview_funcs.C:
7551         * converter.C:
7552         * counters.C:
7553         * debug.C:
7554         * exporter.C:
7555         * format.C:
7556         * importer.C:
7557         * lyx_cb.C:
7558         * lyx_main.C:
7559         * lyxfont.C:
7560         * lyxfunc.C:
7561         * lyxvc.C:
7562         * paragraph.C:
7563         * paragraph_funcs.C:
7564         * tabular.C:
7565         * tabular_funcs.C:
7566         * text2.C:
7567         * text3.C:  boost::format -> bformat  all over the place
7568
7569
7570 2003-05-09  André Pönitz  <poenitz@gmx.net>
7571
7572         * LColor.[Ch]: Pimpl the #include <map> away
7573
7574 2003-05-09  John Levon  <levon@movementarian.org>
7575
7576         * bufferlist.C: never remove emergency saves
7577
7578 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7579
7580         * Makefile.am: better lib building
7581
7582 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7583
7584         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7585         instead.
7586         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7587         (simpleTeXSpecialChars): adjust
7588         (simpleTeXSpecialChars): adjust
7589         * paragraph.C (simpleTeXOnePar): adjust
7590         * buffer.C (makeLaTeXFile): adjust
7591
7592         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7593
7594         * text2.C (changeDepth): parlist cleanup
7595         (getColumnNearX): ditto
7596
7597         * rowpainter.C (getLabelFont): parlist cleanup
7598
7599         * bufferlist.C (newFile): parlist cleanup
7600
7601         * CutAndPaste.C (eraseSelection): parlist cleanup
7602
7603         * BufferView_pimpl.C (trackChanges): parlist cleanup
7604         (dispatch): ditto
7605
7606         * BufferView.C (lockInset): parlist cleanup.
7607         (ChangeInsets): ditto
7608
7609 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7610
7611         * CutAndPaste.h: Update file header.
7612
7613         * CutAndPaste.C: Update file header.
7614         Store the parts cut out of the Document in a limited_stack.
7615         (copySelection): adjust
7616         (pasteSelection): new function, takes the index in the limited stack.
7617         (nrOfParagraphs): adjust
7618         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7619         simplify error inset insertion.
7620         (checkPastePossible): adjust
7621
7622 2003-05-06  John Levon  <levon@movementarian.org>
7623
7624         * text2.C: don't cast wrap inset to float
7625
7626 2003-05-05  André Pönitz  <poenitz@gmx.net>
7627
7628         * iterator.C:
7629         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7630
7631         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7632           few naked Paragraph *.
7633
7634 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7635
7636         * bufferparams.C: Output warning if a document with missing
7637         TeX document class is loaded
7638         * exporter.C: Disable TeX exports if the document class is missing
7639         * lyxtextclass.C:
7640         * lyxtextclass.h:
7641         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7642         isTeXClassAvailable()
7643
7644 2003-05-03  John Levon  <levon@movementarian.org>
7645
7646         * BufferView.h:
7647         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7648         explicit cursor show/hide
7649
7650         * BufferView_pimpl.h:
7651         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7652         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7653
7654         * lyxfunc.C: hide cursor before dispatching.
7655
7656         * lyx_cb.C:
7657         * lyxfind.C:
7658         * text.C:
7659         * text3.C: remove explicit cursor hides
7660
7661 2003-05-02  André Pönitz  <poenitz@gmx.net>
7662
7663         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7664
7665         * undo_funcs.C:
7666         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7667           linked lists
7668
7669         * text2.C: tiny whitespace
7670
7671 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * undo_funcs.C: almost only ws changes.
7674
7675         * ParagraphList.C (splice): just return if pl is empty.
7676
7677 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * ParagraphList.C (splice): new function.
7680
7681         * CutAndPaste.C (pasteSelection): use it
7682
7683 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * CutAndPaste.C (pasteSelection): remove the last next and
7686         previous from this file.
7687
7688 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * CutAndPaste.C (pasteSelection): more clean up, user proper
7691         ParagraphList functions for pasteing.
7692
7693         * ParagraphList.C (insert): new function, three arg insert
7694
7695 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * ParagraphList.C (insert): new function, three arg insert
7698
7699         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7700         not on paragraphs.
7701
7702 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7703
7704         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7705
7706 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7707
7708         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7709
7710 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7711
7712         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7713         (copySelection): clean up a bit.
7714         (pasteSelection): use make_pair
7715
7716         * ParagraphList.C (ParagraphList): implement copy constructor
7717         (operator=): implement, base on copy constructor.
7718         (assign): new func
7719
7720         * paragraph.C (erase): return a bool
7721
7722         * paragraph_pimpl.C (erasePos): remove function, move contents...
7723         (erase): ... here. Return a bool.
7724         (erase): call erase instead of erasePos.
7725
7726 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7727
7728         * ParagraphList.h: define PitPosPair
7729         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7730         ParagraphList, fix a bug on pasting multiple pars
7731         * text2.C: change interface to C&P
7732
7733 2003-04-30  André Pönitz  <poenitz@gmx.net>
7734
7735         * undo_func.C: revert part of yesterday's patch 2
7736
7737 2003-04-30  John Levon  <levon@movementarian.org>
7738
7739         * LColor.C: s/tabular/table/
7740
7741 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7742
7743         * text3.C (dispatch): do not convert iterator -> pointer
7744         * undo_funcs.C (setCursorParUndo): ditto
7745         * text_funcs.C (transposeChars): ditto
7746
7747         * text2.C (setLayout): ws changes only
7748
7749         * text.C (breakParagraph): do not convert iterator -> pointer
7750         (insertChar): ditto
7751         (acceptChange): ditto
7752         (rejectChange): ditto
7753         (changeCase): ditto
7754         (Delete): ditto
7755         (backspace): ditto
7756
7757         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7758         pointer
7759
7760 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7761
7762         * text3.C (gotoInset): YABG (yet another bad getChar)
7763
7764 2003-04-29  André Pönitz  <poenitz@gmx.net>
7765
7766         * paragraph.h: make operator= private unimplemented as long as
7767           it is unusable
7768
7769         * ParagraphList.C: whitespace
7770
7771         * paragraph.[Ch]:
7772         * paragraph_pimpl.[Ch]:
7773         * paragraph_funcs.C:
7774         * CutAndPaste.C:
7775         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7776
7777         * text2.C:
7778           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7779
7780 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7781
7782         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7783         * paragraph.[Ch] (erase):
7784         * paragraph_pimpl.[Ch] (erase): change return type and value
7785         * text2.C (cutSelection): some rework
7786
7787 2003-04-28  John Levon  <levon@movementarian.org>
7788
7789         * bufferlist.C: changes for unsaved changes dialog
7790
7791 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7792
7793         * bufferlist.C (newFile): set language (messages_) for new
7794         documents also.
7795
7796         * buffer.C (readFile): ws changes only.
7797
7798 2003-04-28  André Pönitz  <poenitz@gmx.net>
7799
7800         * undo_funcs.C:
7801         * lyxfunc.C:
7802         * buffer.[Ch]:
7803         * BufferView_pimpl.C:
7804         * BufferView.C: getParFromID related ParagraphList::iterator changes
7805
7806 2003-04-28  André Pönitz  <poenitz@gmx.net>
7807
7808         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7809           Changes
7810
7811 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * messages.C: remove one more localedir class variable.
7814
7815 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * messages.C (getLocaleDir): singleton generation function
7818         (Pimpl): use it.
7819         (Messages): add a default constructor.
7820
7821         * main.C (main): do not setup localedir here, do not call
7822         gettext_init.
7823
7824         * gettext.C (_): use it.
7825         (gettext_init): delete funciton
7826
7827 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * gettext.C (getLyXMessages): new singleton generating function.
7830
7831         * buffer.C (updateDocLang): adjust
7832
7833         * Makefile.am (messages.o): add target
7834         (main.o): remove target
7835
7836 2003-04-27  John Levon  <levon@movementarian.org>
7837
7838         * bufferlist.C:
7839         * lyx_cb.C:
7840         * lyxfunc.C:
7841         * lyxvc.C: specify cancel button in Alert::prompt
7842
7843 2003-04-26  John Levon  <levon@movementarian.org>
7844
7845         * text3.C:
7846         * lyxfunc.C:
7847         * lfuns.h:
7848         * LyXAction.C: add LFUN_INSET_SETTINGS
7849
7850         * lyxfunc.C: don't enable tabular-feature when there's
7851         just any locking inset
7852
7853 2003-04-26  John Levon  <levon@movementarian.org>
7854
7855         * bufferlist.C: re-add Cancel to buffer close question
7856
7857         * lyxfunc.C: fix import UI a bit
7858
7859 2003-04-25  John Levon  <levon@movementarian.org>
7860
7861         * gettext.C: remove the broken asserts for now
7862
7863 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7864
7865         * messages.C: make case where setlocale cannot comply work better.
7866
7867         * buffer.C (updateDocLang): new function
7868         (changeLanguage): use it
7869         (readFile): use it
7870
7871         * text2.C (setCounter): use B_ a bit.
7872
7873         * lyxlayout.C (Read): be sure to trim the label strings.
7874
7875         * messages.C (Messages): fix typo in comment
7876
7877         * buffer.C (readFile): set message_ after file is loaded.
7878         (makeDocBookFile): remove double return
7879         (changeLanguage): reset message_ upon language change.
7880         (B_): new func, use this to get translated buffer strings.
7881
7882         * main.C: add myself and Jean Marc as authors.
7883
7884 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * messages.[hC]: pimplify Messages, and three different pimpls to be
7887         used in different circumstances.
7888
7889         * gettext.[Ch]: change for use with new message code.
7890
7891 2003-04-24 André Pönitz <poenitz@gmx.net>
7892
7893         * factory.C: support for eqref
7894
7895 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7896
7897         * messages.[Ch]: add missing char
7898
7899         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7900
7901         * messages.[Ch]: New files
7902
7903 2003-04-18  John Levon  <levon@movementarian.org>
7904
7905         * BufferView.h:
7906         * BufferView.C:
7907         * BufferView_pimpl.C:
7908         * lfuns.h:
7909         * LyXAction.C:
7910         * lyxtext.h:
7911         * text2.C: remove layout-copy/paste (bug 778)
7912
7913 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7914
7915         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7916
7917 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7918
7919         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7920         if they succeed. Act accordingly.
7921
7922 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7923
7924         * text2.C (setCharFont): adjust
7925         (setCounter): adjust
7926         (insertStringAsLines): adjust
7927
7928         * text.C (leftMargin): adjust
7929         (setHeightOfRow): adjust
7930
7931         * rowpainter.C (paintFirst): adjust
7932         (paintLast): adjust
7933
7934         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7935         (outerHook): ditto
7936         (isFirstInSequence): ditto
7937         (getEndLabel): ditto
7938         (outerFont): adjust
7939
7940         * paragraph.C (getParLanguage): comment out some hard stuff.
7941
7942         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7943         (sgmlError): ditto
7944         (simpleDocBookOnePar): ditto
7945         (makeDocBookFile): use ParagraphList::iterator
7946
7947         * CutAndPaste.C (pasteSelection): adjust
7948
7949 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7950
7951         * text2.C (getFont): adjust
7952         (getLayoutFont): adjust
7953         (getLabelFont): adjust
7954
7955         * paragraph_funcs.C (TeXOnePar): adjust
7956
7957         * buffer.C (simpleLinuxDocOnePar): adjust
7958         (simpleDocBookOnePar): adjust
7959
7960         * CutAndPaste.C (pasteSelection): adjust
7961
7962         * BufferView.C (getEncoding): adjust
7963
7964         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7965
7966 2003-04-16  John Levon  <levon@movementarian.org>
7967
7968         * lyxfind.C: use parlist stuff for search/changes
7969
7970 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7973
7974         * text2.C (deleteEmptyParagraphMechanism): adjust
7975
7976         * text2.[Ch] (ownerParagraph): delete func (both of them
7977
7978 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7981
7982 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7983
7984         * ParagraphList.C: prepare for NO_NEXT
7985
7986 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7987
7988         * text2.C (getFont): adjust
7989         (getLayoutFont): adjust
7990         (getLabelFont): adjust
7991
7992         * paragraph.C (getFont): adjust
7993         (getLabelFont): adjust
7994         (getLayoutFont): adjust
7995
7996         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7997
7998 2003-04-15  John Levon  <levon@movementarian.org>
7999
8000         From Angus Leeming
8001
8002         * lyx_main.C: handle Include in .ui files
8003
8004 2003-04-15  John Levon  <levon@movementarian.org>
8005
8006         * MenuBackend.C: make the doc files length shorter
8007
8008         * ToolbarBackend.h:
8009         * ToolbarBackend.C: handle toolbar placement flags,
8010         Minibuffer
8011
8012 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8015         adjust
8016
8017         * paragraph_funcs.C (TeXOnePar): adjust
8018
8019         * paragraph.C (getLabelFont): add outerfont arg, adjust
8020         (getLayoutFont): ditto
8021         (simpleTeXOnePar): adjust
8022
8023         * paragraph_pimpl.C (realizeFont): delete func
8024
8025 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8026
8027         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8028         row argument, constify cur argument.
8029
8030 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * text2.C (getFont): adjust
8033         (getLayoutFont): adjust
8034         (getLabelFont): adjust
8035
8036         * paragraph_funcs.C (TeXOnePar): adjust
8037         (outerFont): new func...
8038         (realizeFont): ...moved out from here, changed this to facilitate
8039         transition
8040
8041         * paragraph.C (getFont): take outerfont as arg, adjust
8042         (simpleTeXOnePar): add outerfont arg, adjust
8043
8044         * buffer.C (simpleLinuxDocOnePar): adjust
8045         (simpleDocBookOnePar): adjust
8046
8047         * CutAndPaste.C (pasteSelection): adjust
8048
8049         * BufferView.C (getEncoding): adjust
8050
8051 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * text2.C (setCharFont): adjust
8054         (setCounter): adjust
8055
8056         * text.C (leftMargin): adjust
8057         (setHeightOfRow): adjust
8058
8059         * rowpainter.C (paintFirst): adjust
8060         (paintLast): adjust
8061
8062         * paragraph_pimpl.C (realizeFont): adjust
8063
8064         * paragraph.C (isFirstInSequence): move from here...
8065         * paragraph_funcs.C (isFirstInSequence): ...to here
8066
8067         * paragraph.C (outerHook): move from here...
8068         * paragraph_funcs.C (outerHook): ...to here
8069
8070         * paragraph.C (depthHook): move from here...
8071         * paragraph_funcs.C (depthHook): ...to here
8072
8073         * paragraph.C (getEndLabel): move from here...
8074         * paragraph_funcs.C (getEndLabel): ...to here
8075
8076         * text2.C (realizeFont): move from here...
8077         * paragraph_funcs.C (realizeFont): ...to here
8078
8079 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8082
8083 2003-04-14  Angus Leeming  <leeming@lyx.org>
8084
8085         * LColor.[Ch]: scrap LColor mathcursor.
8086
8087 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8088
8089         * lyxlex.[Ch] (text): delete function
8090         * trans.C (Load): adjust
8091         * paragraph_funcs.C (readParToken): adjust
8092
8093 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8096         vector<char> instead of a char[].
8097
8098         * lyxlex_pimpl.C (getString): adjust
8099         (next): adjust
8100         (lex): use getString
8101         (eatLine): adjust
8102         (nextToken): adjust
8103
8104         * lyxlex.C (text): use pimpl_->getString()
8105         (getBool): ditto
8106         (findToken): ditto
8107
8108 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8109
8110         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8111         (makeFontEntriesLayoutSpecific): temp var for par.size()
8112         (setLayout): temp var for ownerParagraphs().end()
8113         (fullRebreak): temp var for rows().end()
8114         (selectionAsString): temp var for boost::next(startpit), realize
8115         that the while really is a regular for loop.
8116         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8117         setCursor in one place.
8118         (setParagraph): temp vr for ownerParagraphs().end()
8119         (updateCounters): make the while loop a for loop
8120         (cutSelection): temp var for ownerParagraphs().end()
8121         (updateInset): make the do {} while() a regular for loop
8122         (getCursorX): use temp vars
8123         (setCurrentFont): use temp vars
8124         (getColumnNearX): use temp vars
8125
8126 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * text.C (transformChar): use temp var for getChar
8129         (computeBidiTables): use temp var for row->par()
8130         (fill): move temp vars for row->par() and pit->layout() earlier in
8131         the function.
8132         (labelFill): use temp var for row->par()
8133         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8134         asc and desc, realize that pit never changes and that firstpit is
8135         just a duplicate and not needed. Exchange rit->par() with pit in a
8136         lot of places.
8137         (breakAgain): use a temp var for boost::next(rit)
8138         (breakAgainOneRow): ditto
8139         (breakParagraph): use a temp var for rows().begin()
8140         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8141         (cursorRightOneWord): use temp var for cursor.par() and
8142         cursor.pos(), remove usage of tmpcursor.
8143         (cursorLeftOneWord): use temp var for cursor.par() and
8144         cursor.pos() only set cur at end of function.
8145
8146 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * text.C, text2.C: exchange all usage of Paragraph::next with
8149         boost::next(ParagraphList::iterator)
8150
8151         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8152
8153         * text2.C (cursorTop): simplify implementation
8154         (cursorBottom): ditto
8155         (setParagraph): use ParagraphList::iterator
8156         (setCurrentFont): adjust
8157         (getColumnNearX): adjust
8158         (cursorRight): adjust
8159         (cursorLeft): remove usage of Paragraph::previous
8160         (cursorUpParagraph): ditto
8161         (deleteEmptyParagraphMechanism): slight cleanup
8162
8163         * text.C (isBoundary): take a Paragraph const & instead of a
8164         pointer as arg.
8165         (addressBreakPoint): ditto
8166         (leftMargin): remove usage of Paragraph::previous.
8167         (setHeightOfRow): ditto
8168         (cursorLeftOneWord): ditto
8169         (selectNextWordToSpellcheck): ditto
8170         (Delete): ditto
8171         (backspace): ditto
8172         (breakParagraph): remove one usage of Paragraph::next
8173         (redoParagraph): ditto
8174         (acceptChange): ditto
8175         (insertChar): adjust
8176         (rowBreakPoint): adjust
8177
8178         * bufferview_funcs.C (toggleAndShow): adjust
8179
8180 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8181
8182         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8183         methods to access it.
8184         * lyxtext.h:
8185         * text.C: Added updateRowPositions to compute all row positions.
8186         Make top_y and getRowNearY() to use the cached y position
8187
8188 2003-04-11  John Levon  <levon@movementarian.org>
8189
8190         * text.C (rowBreakPoint): reintroduce the labelEnd
8191         checks, code copied from the row fill stuff. Deep voodoo.
8192
8193         * text.C (fill): add a comment and debugging for the
8194         next poor soul.
8195
8196 2003-04-11  John Levon  <levon@movementarian.org>
8197
8198         * text.C: make sure fullrow insets get wrapped to the next line,
8199         even when they're in a manual label
8200
8201 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * text2.C (insertParagraph): make it take ParagraphList::iterator
8204         as arg.
8205         (setLayout): make it return ParagraphList::iterator
8206         (redoParagraphs): ditto
8207         (setCounter): ditto
8208         (checkParagraph): ditto
8209
8210         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8211
8212         * text2.C: adjust several funcs.
8213         (realizeFont): take a ParagraphList::iterator as arg.
8214         (getLayoutFont): ditto
8215         (getLabelFont): ditto
8216         (setCharFont): ditto
8217
8218         * text.C: adjust several funcs.
8219
8220 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8221
8222         * text.C (selectNextWordToSpellcheck): don't accidentally
8223         skip insets
8224
8225 2003-04-10  John Levon  <levon@movementarian.org>
8226
8227         * ToolbarBackend.C (getIcon): special handling for
8228         LFUN_MATH_DELIM
8229
8230 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8231
8232         * text2.C (cursorRight): a getChar assert fixed
8233
8234 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8235
8236         * text2.C (getFont): change to take a ParagraphList::iterator
8237         instead of Paragraph*
8238         Adjust several functions.
8239
8240         * text.C (transformChar): change to take a ParagraphList::iterator
8241         instead of Paragraph*
8242         (singleWidth): ditto
8243         Adjust several functions.
8244
8245         * rowpainter.C: adjust several functions
8246         * rowpainter.h:store a ParagraphList::iterator and not a
8247         Paragraph&.
8248
8249
8250 2003-04-09  John Levon  <levon@movementarian.org>
8251
8252         * lyxfunc.C:
8253         * lfuns.h:
8254         * LyXAction.h:
8255         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8256         and the "help" bits as well
8257
8258 2003-04-09  John Levon  <levon@movementarian.org>
8259
8260         * ToolbarBackend.h:
8261         * ToolbarBackend.C: allow multiple toolbars
8262
8263 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * undo_funcs.C (setCursorParUndo): adjust
8266
8267         * text_funcs.C (transposeChars): adjust
8268
8269         * text3.C (gotoNextInset): adjust
8270         (dispatch): adjust
8271
8272         * text2.C (setLayout): adjust
8273         (changeDepth): adjust
8274         (setFont): adjust
8275         (redoParagraphs): adjust
8276         (selectionAsString): adjust
8277         (setParagraph): adjust
8278         (insertInset): adjust
8279         (cutSelection): adjust
8280         (copySelection): adjust
8281         (pasteSelection): adjust
8282         (insertStringAsLines): adjust
8283         (updateInset): adjust
8284         (setCursor): change to take a ParagraphList::iterator parameter
8285         (setCursorIntern): change to take a ParagraphList::iterator parameter
8286         (setCurrentFont): adjust
8287         (cursorLeft): adjust
8288         (cursorRight): adjust
8289         (deleteEmptyParagraphMechanism): adjust
8290
8291         * text.C (breakParagraph): adjust
8292         (insertChar): adjust
8293         (acceptChange): adjust
8294         (rejectChange): adjust
8295         (selectNextWordToSpellcheck): adjust
8296         (changeCase): adjust
8297         (Delete): adjust
8298         (backspace): adjust
8299
8300         * lyxfind.C (SearchForward): adjust
8301         (SearchBackward): adjust
8302         (nextChange): adjust
8303
8304         * lyxcursor.C (par): adjust
8305
8306         * lyxcursor.h: store a ParagraphList::iterator instead of a
8307         Paragraph*
8308
8309         * lyx_cb.C (getPossibleLabel): adjust
8310
8311         * bufferview_funcs.C (toggleAndShow): adjust
8312
8313         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8314         (dispatch): adjust
8315
8316         * BufferView.C (removeAutoInsets): adjust
8317         (lockedInsetStoreUndo): adjust
8318
8319 2003-04-09  John Levon  <levon@movementarian.org>
8320
8321         * ToolbarBackend.C: try icon without argument
8322         if with argument fails
8323
8324 2003-04-08  John Levon  <levon@movementarian.org>
8325
8326         * ToolbarBackend.h:
8327         * ToolbarBackend.C: add getIcon(), handle tooltip,
8328         and change from "Icon" to "Item".
8329
8330 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8331
8332         * BufferView.C (lockInset): another bad getchar crunched
8333
8334 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8335
8336         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8337         again)
8338
8339 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8340
8341         * lyxfind.C (searchForward, searchBackwards): bug 782
8342
8343 2003-04-07  John Levon  <levon@movementarian.org>
8344
8345         * paragraph.C: remove dead comment
8346
8347         * text.C: remove troublesome depth-fiddling code
8348         in leftMargin() and rightMargin() (bug 1017)
8349
8350         * text.C: fix breaking of rows in nested lists
8351         (bug 1004)
8352
8353         * text2.C (updateCounters): fix up depth values
8354         (bug 1013)
8355
8356 2003-04-07  John Levon  <levon@movementarian.org>
8357
8358         * BufferView_pimpl.C: clear message when doc finishes resizing,
8359         and after a mouse event
8360
8361         * lyxfunc.C: clear message after exiting inset
8362
8363 2003-04-07  John Levon  <levon@movementarian.org>
8364
8365         * bufferview_funcs.C: show math status not outside
8366         status in the statusbar
8367
8368 2003-04-07  John Levon  <levon@movementarian.org>
8369
8370         * lyxfunc.C: note status changed after a depth change
8371
8372 2003-04-04  Angus Leeming  <leeming@lyx.org>
8373
8374         * LaTeX.h: move AuxInfo operator==, != out of line.
8375         Remove LaTeX virtual destructor; nothing derives from it.
8376         Move operator()() out of public area and rename it startscript().
8377         Change protected for private.
8378
8379 2003-04-04  Angus Leeming  <leeming@lyx.org>
8380
8381         * lyxfunc.C:
8382         * text2.C: remove unneeded #includes.
8383
8384 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8385
8386         * text2.C (dEPM): fix the heigth of the next row
8387
8388 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8389
8390         * text.C: squashed an invalid getChar requester + some ws changes
8391
8392 2003-04-03  John Levon  <levon@movementarian.org>
8393
8394         * bufferview_funcs.h:
8395         * bufferview_funcs.C:
8396         * lyxfunc.C:
8397         * lyxtext.h:
8398         * text2.C: make getStatus work for the env depth lfuns
8399
8400 2003-04-03  John Levon  <levon@movementarian.org>
8401
8402         * bufferview_funcs.h:
8403         * bufferview_funcs.C:
8404         * lyxfunc.C:
8405         * lyxtext.h:
8406         * text2.C: parlistize decDepth(), by merging it with incDepth()
8407
8408 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * lyxrow.h: store a ParagraphList::iterator instead of a
8411         Paragraph* and adjust other class functions to suit.
8412
8413         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8414         above.
8415
8416 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8417
8418         * text2.C (setCursor): do not anchor to cursor row for the time being
8419
8420 2003-04-02  John Levon  <levon@movementarian.org>
8421
8422         * LyXAction.C:
8423         * lfuns.h:
8424         * lyx_main.C:
8425         * lyxtext.h:
8426         * text.C:
8427         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8428
8429 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8430
8431         * paragraph.h: make ParagraphList and ParagraphList::iterator
8432         friends of Paragraph.
8433
8434         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8435
8436         * ParagraphList.C: Use the private next_ and previous_ from
8437         Paragraph.
8438
8439 2003-04-01  John Levon  <levon@movementarian.org>
8440
8441         * ToolbarBackend.h:
8442         * ToolbarBackend.C:
8443         * Makefile.am: rename, remove defaults gunk
8444
8445         * MenuBackend.h:
8446         * MenuBackend.C: remove defaults gunk
8447
8448         * Languages.h:
8449         * Languages.C: remove defaults gunk
8450
8451         * lyx_main.h:
8452         * lyx_main.C: error out if files couldn't be found.
8453
8454 2003-04-02  John Levon  <levon@movementarian.org>
8455
8456         * text2.C: make incDepth() use parlist
8457
8458 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8459
8460         * undo_funcs.C (firstUndoParagraph): adjust
8461
8462         * text3.C (gotoInset): adjust
8463         (dispatch): adjust, and rewrite loop.
8464
8465         * text2.C (init): adjust, and rewrite loop.
8466         (redoParagraphs): adjust
8467         (updateInset): adjust, and rewrite loop.
8468         (deleteEmptyParagraphMechanism): adjust
8469
8470         * tabular.C (LyXTabular): adjust
8471         (SetMultiColumn): adjust
8472         (TeXRow): adjust
8473
8474         * lyxtext.[Ch] (ownerParagraph): delete function
8475         (ownerParagraphs): new function returns a ParagraphList.
8476
8477         * BufferView.C (removeAutoInsets): adjust
8478         (insertErrors): adjust
8479         (setCursorFromRow): adjust
8480
8481 2003-04-01  Angus Leeming  <leeming@lyx.org>
8482
8483         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8484         in the frontends.
8485
8486 2003-04-02  John Levon  <levon@movementarian.org>
8487
8488         * lyxtext.h:
8489         * text.C:
8490         * Makefile.am:
8491         * text_funcs.h:
8492         * text_funcs.C: make transposeChars a free function
8493
8494         * lyxrow_funcs.C: remove wrong comment
8495
8496 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8497
8498         * lyxtext.h: adjust
8499         * rowpainter.C: adjust
8500         * text.C: adjust
8501         * text2.C: adjust
8502         * text3.C: adjust
8503
8504         * lyxrow_funcs. [Ch]: new files
8505
8506         * lyxrow.[Ch]: remove next and previous pointers
8507         (next,previous): remove accessor functions
8508         (isParEnd): move to lyxrow_funcs
8509         (lastPos): move to lyxrow_funcs
8510         (nextRowIsAllInset): move to lyxrow_funcs
8511         (lastPrintablePos): move to lyxrow_funcs
8512         (numberOfSeparators): move to lyxrow_funcs
8513         (numberOfHfills): move to lyxrow_funcs
8514         (numberOfLabelHfills): move to lyxrow_funcs
8515         (hfillExpansion): move to lyxrow_funcs
8516
8517         * lyxfunc.C: adjust
8518
8519         * bufferview_funcs.C (toggleAndShow): adjust
8520
8521         * RowList.h: Remove class RowList from file leave just a
8522         std::list<Row>.
8523
8524         * RowList.C: delete file
8525
8526         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8527         and lyxrow_funcs.h
8528
8529 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8530
8531         * text3.C (cursorPrevious): adjust
8532         (cursorNext): adjust
8533         (dispatch): adjust
8534
8535         * text2.C (redoHeightOfParagraph): adjust
8536         (redoDrawingOfParagraph): adjust
8537         (setCursor): adjust
8538
8539         * text.C (breakParagraph): adjust
8540         (insertChar): adjust
8541         (backspace): adjust
8542
8543         * rowpainter.C (RowPainter): adjust
8544         (leftMargin): simplify and adjust
8545         (most rowpainter functions): adjust.
8546
8547         * rowpainter.h: store the row as RowList::iterator not as Row*
8548
8549         * lyxcursor.C (row): taka RowList::iterator as arg
8550         (irow): ditto
8551
8552         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8553         of Row*.
8554
8555 2003-04-01  Angus Leeming  <leeming@lyx.org>
8556
8557         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8558         stuff like bool Bool.
8559
8560 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8561
8562         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8563         rewrite a loop
8564
8565 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8568         RowList::iterator.
8569
8570         * lyxtext.h (rows): drop one version and leve a const variant that
8571         returns a RowList::iterator.
8572
8573 2003-03-31  Angus Leeming  <leeming@lyx.org>
8574
8575         * text.C (fill): ensure that the signature is the same as that in the
8576         header file.
8577
8578 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8579
8580         * text2.C (redoParagraphs): adjust
8581         (updateCounters): adjust
8582         (checkParagraph): adjust
8583         (getColumnNearX): adjust and reformat a bit.
8584
8585         * text.C (top_y): adjust
8586         (workWidth): adjust
8587         (leftMargin): adjust
8588         (prepareToPrint): adjust
8589         (getRow): adjust
8590         (getRowNearY): adjust
8591
8592         * lyxtext.h: make rowlist_ mutable.
8593
8594         * RowList.h: add const_iterator
8595         * RowList.C: adjust for RowList::const_iterator.
8596
8597         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8598         adjust.
8599
8600 2003-03-31  John Levon  <levon@movementarian.org>
8601
8602         * lyxrc.h:
8603         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8604
8605         * lyx_main.C: set default fonts from using lyx_gui funcs
8606
8607         * exporter.C: pdf_mode moved from lyxrc
8608
8609         * lyx_cb.C:
8610         * lyxfunc.C: changes from above
8611
8612 2003-03-31  John Levon  <levon@movementarian.org>
8613
8614         * lyx_main.C: fix to the last fix
8615
8616 2003-03-31  John Levon  <levon@movementarian.org>
8617
8618         * bufferlist.C: "Load original" -> "Load Original"
8619
8620         * converter.C:
8621         * exporter.C:
8622         * importer.C:
8623         * lyx_main.C:
8624         * format.C: more Alert cleanups
8625
8626 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * text2.C (removeParagraph): make it take a RowList::iterator as
8629         arg, adjust.
8630         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8631         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8632
8633         * text.C (anchor_row): make it take a RowList::iterator as arg,
8634         adjust.
8635         (computeBidiTables): make it take a const reference to Row instead
8636         of Row pointer, adjust.
8637         (leftMargin): make it take a RowList::iterator as arg, adjust.
8638         (rowBreakPoint): adjust
8639         (breakAgainOneRow): make it take a RowList::iterator as arg,
8640         adjust.
8641         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8642
8643         * bufferview_funcs.C (toggleAndShow): adjust
8644
8645 2003-03-30  John Levon  <levon@movementarian.org>
8646
8647         * Makefile.am:
8648         * BoostFormat.h:
8649         * boost-inst.C: moved to support
8650
8651         * several files: changes as a result
8652
8653 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * text2.C (LyXText): adjust.
8656         (init): adjust
8657         (removeRow): make it take a RowList::iterator as arg, adjust.
8658         (fullRebreak): adjust
8659         (deleteEmptyParagraphMechanism): adjust
8660         (clearPaint): adjust
8661         (postPaint): adjust
8662
8663         * text.C (top_y): adjust
8664         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8665         (breakAgain): make it take a RowList::iterator as arg, adjust.
8666         (breakParagraph): adjust
8667         (insertChar): adjust
8668         (backspace): adjust
8669
8670         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8671         need_break_row, and refresh_row.
8672
8673         * text3.C (dispatch): adjust
8674
8675         * text2.C (checkParagraph): adjust
8676         (setCursor): adjust
8677         (setCursorFromCoordinates): adjust
8678
8679         * text.C (top_y): adjust
8680         (workWidth): adjust
8681         (getRow): make it return a RowList::iterator, adjust
8682         (getRowNearY): make it return a RowList::iterator, adjust
8683
8684         * text2.C (init): adjust
8685         (insertRow): remove function
8686         (insertParagraph): adjust
8687         (redoParagraphs): adjust
8688         (fullRebreak): adjust
8689         (updateCounters): adjust
8690
8691         * text.C (top_y): rewrite to use RowList iterators.
8692         (top_y): adjust
8693         (setHeightOfRow): rewrite to sue RowList iterators.
8694         (appendParagraph): adjust
8695         (breakAgain): adjust
8696         (breakAgainOneRow): adjust
8697         (breakParagraph): adjust
8698         (getRow): adjust
8699         (getRowNearY): adjust, and remove commented code.
8700
8701         * lyxtext.h (firstRow): delete function
8702         (lastRow): delete function
8703         (rows): new function (const and non-const versions.)
8704         (insertRow): delete function
8705
8706         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8707
8708 2003-03-29  John Levon  <levon@movementarian.org>
8709
8710         * BufferView_pimpl.C: always update scrollbar top
8711         because pasting text when we're anchored could mean we
8712         miss an update altogether
8713
8714 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * text2.C (init): use rowlist_.end() and not 0.
8717         (insertRow): change to take a RowList::iterator as arg, adjust
8718         for this.
8719         (insertParagraph): change to take a RowList::iterator as arg,
8720         adjust for this.
8721         (redoParagraphs): remove some debug msgs.
8722
8723         * text.C (appendParagraph): change to take a RowList::iterator
8724         arg, adjust for this.
8725         (breakAgain): add an assert
8726         (breakAgainOneRow): ditto
8727
8728 2003-03-29  John Levon  <levon@movementarian.org>
8729
8730         * text2.C: do not clear selection after inc/decDepth
8731         (bug 550)
8732
8733 2003-03-29  John Levon  <levon@movementarian.org>
8734
8735         * BufferView.C:
8736         * buffer.C: fix broken strerrors according to Lars
8737
8738 2003-03-29  John Levon  <levon@movementarian.org>
8739
8740         * converters.C: more Alert cleanups
8741
8742 2003-03-29  John Levon  <levon@movementarian.org>
8743
8744         * bufferview_funcs.C: remove pointless Alert
8745
8746         * buffer.C: fix confusing error message when
8747         a template is chmoded 000
8748
8749 2003-03-29  John Levon  <levon@movementarian.org>
8750
8751         * BufferView.C:
8752         * BufferView.h:
8753         * BufferView_pimpl.C: Alert fixes
8754
8755         * Makefile.am:
8756         * tabular.C:
8757         * tabular-old.C: remove unused table compat reading
8758
8759 2003-03-29  John Levon  <levon@movementarian.org>
8760
8761         * BufferView.C:
8762         * buffer.C:
8763         * lyx_cb.h:
8764         * lyx_cb.C: more Alert cleanups
8765
8766         * lyxfunc.C: don't allow chktex if not latex document
8767
8768 2003-03-29  John Levon  <levon@movementarian.org>
8769
8770         * lyx_cb.C:
8771         * BufferView.C:
8772         * buffer.C: warnings pushed down from support/,
8773         kill err_alert
8774
8775 2003-03-29  John Levon  <levon@movementarian.org>
8776
8777         * lyxfunc.C: safety check for C-r (revert)
8778
8779 2003-03-29  John Levon  <levon@movementarian.org>
8780
8781         * bufferlist.h:
8782         * bufferlist.C: several UI fixes using Alert::prompt.
8783         Fix the pointless looping quit code. Fix stupid revert
8784         behaviour (bug 938)
8785
8786         * lyxvc.h:
8787         * lyxvc.C:
8788         * lyx_cb.C: use Alert::prompt
8789
8790         * lyx_main.C: remove a silly question
8791
8792         * lyxfunc.C: remove a couple of silly questions,
8793         use Alert::prompt
8794
8795 2003-03-28  John Levon  <levon@movementarian.org>
8796
8797         * text2.C: fix bug 974 (End on empty par)
8798
8799 2003-03-28  John Levon  <levon@movementarian.org>
8800
8801         * BufferView_pimpl.C:
8802         * LyXAction.C:
8803         * lfuns.h: remove do-nothing math greek lfuns
8804
8805 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * lyxgluelength.h (isValidGlueLength): add default arg on
8808         parameter 2. Remove default arg from friend in class.
8809
8810         * lyxlength.h (isValidLength): add default arg on parameter 2.
8811         Remove default arg from friend in class.
8812
8813         * text2.C (LyXText): adjust, initialize refresh_row.
8814         (init): adjust
8815         (removeRow): adjust
8816         (insertRow): adjust
8817         (insertParagraph): adjst
8818         (redoParagraphs): adjust
8819         (fullRebreak): adjust
8820         (updateCounters): adjust
8821         (deleteEmptyParagraphMechanism): first attempt at fixing a
8822         crashing bug.
8823
8824         * text.C (top_y): adjust
8825         (setHeightOfRow): adjust
8826         (getRow): adjust
8827         (getRowNearY): adjust
8828
8829         * lyxtext.h: include RowList.h
8830         (~LyXText): not needed anymore, deleted.
8831         (firstRow): modify for RowList
8832         (lastRow): new function
8833         Delete firstrow and lastrow class variables, add a Rowlist
8834         rowlist_ class variable.
8835
8836         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8837         paragraph is empty.
8838
8839         * RowList.C (insert): fix case where it == begin().
8840
8841 2003-03-26  Angus Leeming  <leeming@lyx.org>
8842
8843         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8844         the thesaurus dialog.
8845
8846 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8847
8848         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8849
8850         * RowList.[Ch]: new files
8851
8852         * ParagraphList.C (erase): handle the case where it == begin
8853         correctly.
8854
8855 2003-03-25  John Levon  <levon@movementarian.org>
8856
8857         * Makefile.am:
8858         * aspell_local.h:
8859         * aspell.C: add new aspell support
8860
8861         * lyxrc.h:
8862         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8863         have it accessible.
8864
8865 2003-03-25  Angus Leeming  <leeming@lyx.org>
8866
8867         * lfuns.h:
8868         * LyXAction.C (init): new LFUN_INSET_INSERT.
8869
8870         * BufferView_pimpl.C (dispatch): split out part of the
8871         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8872
8873         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8874         LFUN_INSET_APPLY.
8875
8876 2003-03-25  Angus Leeming  <leeming@lyx.org>
8877
8878         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8879
8880 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8881
8882         * text2.C:
8883         * text3.C: remove useless row->height(0)
8884
8885 2003-03-25  John Levon  <levon@movementarian.org>
8886
8887         * lyxtext.h:
8888         * text2.C:
8889         * text3.C: rename the refreshing stuff to better names
8890
8891 2003-03-24  John Levon  <levon@movementarian.org>
8892
8893         * BufferView_pimpl.h:
8894         * BufferView_pimpl.C: update layout choice on a mouse
8895         press/release
8896
8897 2003-03-23  John Levon  <levon@movementarian.org>
8898
8899         * Makefile.am: fix commandtags.h reference
8900
8901 2003-03-22  John Levon  <levon@movementarian.org>
8902
8903         * BufferView_pimpl.C:
8904         * lyxtext.h:
8905         * rowpainter.C:
8906         * rowpainter.h:
8907         * text.C:
8908         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8909
8910 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8911
8912         * lyxtext.h:
8913         * text.C: take the rtl methods out of line
8914
8915 2003-03-21 André Pönitz <poenitz@gmx.net>
8916
8917         * metricsinfo.[Ch]: new files containing structures to be passed around
8918         during the two-phase-drawing...
8919
8920 2003-03-21 André Pönitz <poenitz@gmx.net>
8921
8922         * lyxtextclass.C: read 'environment' tag.
8923
8924 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8925
8926         * text2.C (removeRow): fix bug 964
8927
8928 2003-03-20  John Levon  <levon@movementarian.org>
8929
8930         * rowpainter.C:
8931         * text.C:
8932         * text2.C: paint cleanups. Inset::update() dropped font
8933         parameter
8934
8935 2003-03-19  John Levon  <levon@movementarian.org>
8936
8937         * lyxfunc.C: only fitcursor/markDirty if available()
8938
8939 2003-03-19  John Levon  <levon@movementarian.org>
8940
8941         * commandtags.h: rename to ...
8942
8943         * lfuns.h: ... this, and renumber / cleanup
8944
8945 2003-03-19  John Levon  <levon@movementarian.org>
8946
8947         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8948         fit the cursor after an lfun
8949
8950         * BufferView.h:
8951         * BufferView.C:
8952         * BufferView_pimpl.h:
8953         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8954
8955         * LyXAction.C: layout-character should have ReadOnly
8956
8957         * ParagraphParameters.C:
8958         * buffer.C:
8959         * bufferview_funcs.C:
8960         * lyx_cb.C:
8961         * lyxfind.C:
8962         * lyxtext.h:
8963         * text.C:
8964         * text2.C:
8965         * text3.C:
8966         * undo_funcs.C: changes from above
8967
8968 2003-03-18  John Levon  <levon@movementarian.org>
8969
8970         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8971         remove it from update()
8972
8973         * lyxfunc.C: update layout choice after an lfun
8974
8975         * text3.C: remove extra updateLayoutChoice()s
8976
8977 2003-03-18  John Levon  <levon@movementarian.org>
8978
8979         * text.C: top_y change means full repaint, fix
8980         a drawing bug with cursor movement
8981
8982 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8983
8984         * lyxtext.h:
8985         * text.C:
8986         * text2.C: anchor row on setCursor
8987
8988 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8989
8990         * lyxtext.h: remove almost all mutable keywords
8991         * text.C:
8992         * text2.C:
8993         * text3.C: remove const keywords accordingly
8994
8995 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8996
8997         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8998         anon namespace
8999         (TeXEnvironment): ditto
9000         (TeXOnePar): ditto
9001
9002 2003-03-17  John Levon  <levon@movementarian.org>
9003
9004         * text.C (rowBreakPoint): remove attempt to fix displayed
9005         math insets inside a manual label
9006
9007 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9008
9009         * lyxtext.h: remove BufferView* as first arg from almost all class
9010         functions.
9011         * other files: adjust.
9012
9013 2003-03-17  John Levon  <levon@movementarian.org>
9014
9015         * lyxtext.h:
9016         * undo_funcs.C:
9017         * text2.C: more paint cleanups
9018
9019         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9020
9021         * rowpainter.h:
9022         * rowpainter.C: remove "smart" background painting code
9023
9024 2003-03-16  John Levon  <levon@movementarian.org>
9025
9026         * lyxtext.h:
9027         * text.C:
9028         * text2.C:
9029         * text3.C: add helper functions for setting refresh_row/y
9030
9031 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9032
9033         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9034         newline inset which *can* get inserted in the pass_thru layouts.
9035         This is primarily for literate documents.
9036
9037 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9038
9039         * buffer.C: increment LYX_FORMAT to 223
9040
9041 2003-03-14 André Pönitz <poenitz@gmx.net>
9042
9043         * textclass.h: prepare for environment handling, ws changes
9044         * lyxlayout.C: read latexheader and latexfooter tags
9045
9046 2003-03-14  John Levon  <levon@movementarian.org>
9047
9048         * text2.C: rewrite ::status() a bit
9049
9050 2003-03-13  John Levon  <levon@movementarian.org>
9051
9052         * lyxtext.h: add some docs
9053
9054 2003-03-13  John Levon  <levon@movementarian.org>
9055
9056         * lyxtext.h:
9057         * text.C:
9058         * text2.C:
9059         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9060
9061 2003-03-13  John Levon  <levon@movementarian.org>
9062
9063         * text3.C: fix appendix redrawing
9064
9065 2003-03-13  John Levon  <levon@movementarian.org>
9066
9067         * text.C (setHeightOfRow):
9068         * rowpainter.h:
9069         * rowpainter.C: make appendix mark have the text
9070           "Appendix" so the user knows what it is
9071
9072         * LColor.h:
9073         * LColor.C: s/appendixline/appendix/ from above
9074
9075 2003-03-13  John Levon  <levon@movementarian.org>
9076
9077         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9078
9079         * text.C: fix a getChar(pos) bug properly
9080
9081 2003-03-13  Angus Leeming  <leeming@lyx.org>
9082
9083         * commandtags.h:
9084         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9085         Probably only temporary. Let's see how things pan out.
9086
9087         * BufferView.C (unlockInset):
9088         * BufferView_pimpl.C (fitCursor):
9089         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9090
9091         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9092         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9093
9094         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9095         new functions that convert ParagraphParameters to and from a string.
9096
9097         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9098         BufferView::Pimpl's dispatch.
9099         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9100
9101 2003-03-13 André Pönitz <poenitz@gmx.net>
9102
9103         * lyxfunc.C:
9104         * text3.C:
9105         * factory.C: make it aware of InsetEnv
9106
9107 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9108
9109         * text2.C (setCursor): never ask for one past last
9110         (setCursor): add some debugging messages.
9111
9112         * text.C (singleWidth): never ask for one past last
9113         (singleWidth): ditto
9114         (leftMargin): ditto
9115         (rightMargin): ditto
9116         (rowBreakPoint): ditto
9117         (setHeightOfRow): ditto
9118         (prepareToPrint): ditto
9119
9120         * rowpainter.C (paintBackground): never ask for one past last
9121         (paintText): never ask for one past last
9122
9123         * paragraph_pimpl.C (getChar): make the assert stricter, never
9124         allow the one past last pos to be taken
9125
9126         * paragraph.C (getChar): ws changes only
9127
9128         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9129         (numberOfSeparators): ditto
9130         (numberOfHfills): ditto
9131
9132 2003-03-12  John Levon  <levon@movementarian.org>
9133
9134         * author.h:
9135         * author.C:
9136         * bufferparams.h:
9137         * bufferparams.C:
9138         * paragraph_funcs.C: fix per-buffer authorlists
9139
9140 2003-03-12  John Levon  <levon@movementarian.org>
9141
9142         * text.C: fix newline in right address
9143
9144 2003-03-12  Angus Leeming  <leeming@lyx.org>
9145
9146         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9147         duplicate those in LyXFunc::dispatch.
9148
9149         * commandtags.h:
9150         * LyXAction.C:
9151         * ToolbarDefaults.C:
9152         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9153         Add LFUN_FONTFREE_UPDATE.
9154
9155         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9156         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9157
9158         * bufferview_func.[Ch]: several new functions to facilliate
9159         transfer of data to and from the character dialog.
9160
9161 2003-03-12  John Levon  <levon@movementarian.org>
9162
9163         * buffer.C:
9164         * paragraph.h:
9165         * paragraph.C:
9166         * paragraph_funcs.C:
9167         * paragraph_pimpl.C:
9168         * sgml.C:
9169         * tabular.C:
9170         * text.C:
9171         * text3.C: remove META_NEWLINE in favour of an inset
9172
9173         * rowpainter.h:
9174         * rowpainter.C: remove paintNewline (done by inset)
9175
9176 2003-03-12  John Levon  <levon@movementarian.org>
9177
9178         * paragraph_pimpl.C: complain about bad getChar()s
9179         for a while at least
9180
9181 2003-03-12  John Levon  <levon@movementarian.org>
9182
9183         * buffer.h:
9184         * buffer.C: move paragraph read into a separate function,
9185         a little renaming to reflect that.
9186
9187         * bufferparams.h:
9188         * bufferparams.C: remove the author_ids map, not necessary now
9189
9190         * factory.h:
9191         * factory.C: moved Buffer::readInset to here
9192
9193         * paragraph_funcs.h:
9194         * paragraph_funcs.C: readParagraph free function moved from
9195         buffer.C
9196
9197         * tabular.C: name change
9198
9199 2003-03-12  John Levon  <levon@movementarian.org>
9200
9201         * buffer.C:
9202         * ParagraphParameters.C: move par params input to
9203         a read() method
9204
9205         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9206         behave like a normal read from the stream wrt reading
9207         a line vs. a \\token
9208
9209 2003-03-12  John Levon  <levon@movementarian.org>
9210
9211         * paragraph.C:
9212         * ParagraphParameters.h:
9213         * ParagraphParameters.C: move output code to a
9214         ::write() method
9215
9216 2003-03-12  John Levon  <levon@movementarian.org>
9217
9218         * BufferView.C (insertLyXFile):
9219         * buffer.h:
9220         * buffer.C:
9221         * tabular.C: use a parlist iterator for creating the
9222           document.
9223
9224 2003-03-12  John Levon  <levon@movementarian.org>
9225
9226         * buffer.C: make current_change static local not
9227           static file-scope
9228
9229 2003-03-12  John Levon  <levon@movementarian.org>
9230
9231         * buffer.C: fix insertStringAsLines for change tracking
9232
9233 2003-03-12  John Levon  <levon@movementarian.org>
9234
9235         * BufferView.C:
9236         * tabular.C:
9237         * buffer.h:
9238         * buffer.C:
9239         * bufferparams.h:
9240         * bufferparams.C: move author list into params. Rename some
9241           functions. Move the header reading into a separate token
9242           loop. Move the header token reading into BufferParams.
9243
9244 2003-03-12  John Levon  <levon@movementarian.org>
9245
9246         * changes.C: put debug inside lyxerr.debugging() checks
9247
9248 2003-03-11 André Pönitz <poenitz@gmx.net>
9249
9250         * factory.C: make it aware of InsetHFill
9251
9252 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9253
9254         * buffer.C (latexParagraphs): move function from here...
9255         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9256         args.
9257
9258 2003-03-10  Angus Leeming  <leeming@lyx.org>
9259
9260         * LyXAction.C (init): fix bug in poplating array with multiple entries
9261         with the same LFUN (spotted by JMarc).
9262
9263 2003-03-10  John Levon  <levon@movementarian.org>
9264
9265         * text.C:
9266         * text2.C: move getColumnNearX() near its
9267         only call site
9268
9269 2003-03-10  John Levon  <levon@movementarian.org>
9270
9271         * text.C: fix break before a minipage
9272
9273 2003-03-10  John Levon  <levon@movementarian.org>
9274
9275         * text.C: fix the last commit
9276
9277 2003-03-09  John Levon  <levon@movementarian.org>
9278
9279         * lyxtext.h:
9280         * text.C:
9281         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9282         bug 365 (don't break before insets unless needed). Don't
9283         return a value > last under any circumstances.
9284
9285 2003-03-09  Angus Leeming  <leeming@lyx.org>
9286
9287         * BufferView_pimpl.C (trackChanges, dispatch): call
9288         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9289
9290 2003-03-09  Angus Leeming  <leeming@lyx.org>
9291
9292         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9293         than Dialogs::showAboutlyx().
9294
9295 2003-03-09  Angus Leeming  <leeming@lyx.org>
9296
9297         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9298         than Dialogs::showTabularCreate().
9299
9300 2003-03-09  John Levon  <levon@movementarian.org>
9301
9302         * lyxtext.h:
9303         * text.C:
9304         * text2.C: 3rd arg to nextBreakPoint was always the same.
9305           Use references.
9306
9307 2003-03-08  John Levon  <levon@movementarian.org>
9308
9309         * lyxrow.C:
9310         * paragraph.C:
9311         * paragraph.h:
9312         * rowpainter.C:
9313         * text.C:
9314         * text2.C: Remove the "main" bit from the "main body"
9315           notion.
9316
9317 2003-03-08  John Levon  <levon@movementarian.org>
9318
9319         * text.C (leftMargin): The left margin of an empty
9320         manual label paragraph should not include the label width
9321         string length.
9322
9323         * text.C (prepareToPrint): don't attempt to measure hfills
9324         for empty manual label paragraphs - the answer should be 0
9325
9326 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9327
9328         * CutAndPaste.C: remove commented code and reindent.
9329
9330 2003-03-08  John Levon  <levon@movementarian.org>
9331
9332         * lyxfunc.h:
9333         * lyxfunc.C: move reloadBuffer()
9334
9335         * BufferView.h:
9336         * BufferView.C: to here
9337
9338         * lyxvc.C: add comment
9339
9340         * vc-backend.h:
9341         * vc-backend.C: call bv->reload() to avoid
9342           getStatus() check on MENURELOAD
9343
9344 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9345
9346         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9347         to an old format .dep file.
9348
9349 2003-03-07  Angus Leeming  <leeming@lyx.org>
9350
9351         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9352         when the LFUN_MOUSE_RELEASE should have been handled by
9353         inset->localDispatch.
9354
9355 2003-03-07  Angus Leeming  <leeming@lyx.org>
9356
9357         * BufferView_pimpl.C (dispatch):
9358         * LyXAction.C (init):
9359         * ToolbarDefaults.C (init):
9360         * commandtags.h:
9361         * lyxfunc.C (getStatus):
9362         remove LFUN_INSET_GRAPHICS.
9363
9364         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9365
9366 2003-03-07  Angus Leeming  <leeming@lyx.org>
9367
9368         * commandtags.h:
9369         * LyXAction.C (init):
9370         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9371
9372         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9373
9374         * commandtags.h:
9375         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9376
9377         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9378         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9379
9380 2003-03-07  Angus Leeming  <leeming@lyx.org>
9381
9382         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9383         remove "ert".
9384
9385 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9386
9387         * ParagraphList.C (front): new function
9388         (back): implement
9389
9390 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9391
9392         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9393         and top_row_offset_. removed var first_y.
9394         * text.C (top_y):
9395         * text2.C (LyXText, removeRow):
9396         * text3.C:
9397         * BufferView_pimpl.C:
9398         use these methods instead of using first_y
9399
9400 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9401
9402         * text2.C (pasteSelection): adjust for checkPastePossible
9403
9404         * CutAndPaste.C: remove Paragraph * buf and replace with
9405         ParagraphList paragraphs.
9406         (DeleteBuffer): delete
9407         (cutSelection): change the tc type to textclass_type
9408         (copySelection): change the tc type to textclass_type
9409         (copySelection): adjust for ParagraphList
9410         (pasteSelection): change the tc type to textclass_type
9411         (pasteSelection): adjust for Paragraphlist
9412         (nrOfParagraphs): simplify for ParagraphList
9413         (checkPastePossible): simplify for ParagraphList
9414         (checkPastePossible): remove unused arg
9415
9416         * ParagraphList.C (insert): handle the case where there are no
9417         paragraphs yet.
9418
9419         * CutAndPaste.h: make CutAndPaste a namespace.
9420
9421         * text3.C (dispatch): adjust
9422
9423         * text.C (breakParagraph): add a ParagraphList as arg
9424
9425         * paragraph_funcs.C (breakParagraph): change to take a
9426         BufferParams and a ParagraphList as args.
9427         (breakParagraphConservative): ditto
9428         (mergeParagraph): ditto
9429         (TeXDeeper): add a ParagraphList arg
9430         (TeXEnvironment): ditto
9431         (TeXOnePar): ditto
9432
9433         * buffer.C (readLyXformat2): adjust
9434         (insertStringAsLines): adjust
9435         (latexParagraphs): adjust
9436
9437         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9438         (cutSelection): adjust
9439         (pasteSelection): adjust
9440
9441         * BufferView_pimpl.C (insertInset): adjust
9442
9443 2003-03-05  Angus Leeming  <leeming@lyx.org>
9444
9445         * commandtags.h:
9446         * LyXAction.C (init):
9447         * BufferView_pimpl.C (dispatch):
9448         * lyxfunc.C (getStatus):
9449         remove LFUN_CHILD_INSERT.
9450
9451         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9452
9453 2003-03-05  Angus Leeming  <leeming@lyx.org>
9454
9455         * commandtags.h:
9456         * LyXAction.C (init):
9457         * src/factory.C (createInset):
9458         * lyxfunc.C (getStatus):
9459         * text3.C (dispatch):
9460         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9461
9462         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9463
9464 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9465
9466         * ParagraphList.C (insert): handle insert right before end()
9467         (erase): fix cases where it can be first or last paragraph.
9468
9469 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9470
9471         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9472         Paragraph::next and Paragraph::previous
9473         (TeXOnePar): ditto
9474
9475         * text.C (breakParagraph): adjust
9476
9477         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9478         BufferParams& as arg.
9479         (breakParagraph): use ParagraphList::insert
9480         (breakParagraphConservative): take a Buffer* instead of a
9481         BufferParams& as arg.
9482         (breakParagraphConservative): use ParagraphList::insert.
9483
9484         * buffer.C (insertStringAsLines): un-const it
9485         (insertStringAsLines): adjust
9486
9487         * ParagraphList.C (insert): new function
9488
9489         * CutAndPaste.C (pasteSelection): adjust
9490
9491         * text.C (backspace): adjust
9492
9493         * tabular.C (SetMultiColumn): adjust
9494
9495         * CutAndPaste.C (cutSelection): adjust
9496         (pasteSelection): adjust
9497
9498         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9499         Buffer const * as arg
9500
9501         * ParagraphList.C (erase): new function
9502         * paragraph_funcs.C (mergeParagraph): use it
9503         (mergeParagraph): make it take a Buffer* instead of a
9504         BufferParams* as arg
9505
9506         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9507         as arg
9508         (breakParagraphConservative): ditto
9509
9510         * paragraph.h: remove the breakParagraph friend
9511
9512         * paragraph.C (eraseIntern): new function
9513         (setChange): new function
9514
9515         * paragraph_funcs.C (mergeParagraph): make it take a
9516         ParagraphList::iterator instead of a Paragraph *, adjust
9517         accordingly.
9518
9519         * paragraph.h: move an #endif so that the change tracking stuff
9520         also works in the NO_NEXT case.
9521
9522 2003-03-04  Angus Leeming  <leeming@lyx.org>
9523
9524         * commandtags.h:
9525         * LyXAction.C: new LFUN_INSET_MODIFY.
9526
9527         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9528         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9529
9530 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9531
9532         * several files: ws changes only
9533
9534         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9535         (TeXEnvironment): ditto
9536         (TeXDeeper): ditto
9537
9538         * buffer.C (makeLaTeXFile): adjust
9539         (latexParagraphs): make it take ParagraphList::iterator as args
9540
9541 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9542
9543         * buffer.C (latexParagraphs): adjust
9544
9545         * paragraph.C (TeXOnePar): move function...
9546         (optArgInset): move function...
9547         (TeXEnvironment): move function...
9548         * paragraph_pimpl.C (TeXDeeper): move function...
9549         * paragraph_funcs.C: ...here
9550
9551         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9552
9553 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9554
9555         * buffer.C (readInset): remove compability code for old Figure and
9556         InsetInfo insets
9557
9558 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9559
9560         * buffer.C: ws changes
9561         (readInset):
9562
9563         * BufferView_pimpl.C: ditto
9564         * author.C: ditto
9565         * buffer.h: ditto
9566         * bufferlist.h: ditto
9567         * changes.h: ditto
9568         * lyxfunc.C: ditto
9569
9570 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9571
9572         * converter.[Ch]: split into itself +
9573         * graph.[Ch]
9574         * format.[Ch]
9575         * Makefile.am: += graph.[Ch] + format.[Ch]
9576         * MenuBackend.C
9577         * buffer.C
9578         * exporter.C
9579         * importer.C
9580         * lyx_main.C
9581         * lyxfunc.C
9582         * lyxrc.C: added #include "format.h"
9583
9584 2003-02-27  Angus Leeming  <leeming@lyx.org>
9585
9586         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9587           a label.
9588
9589         * factory.C (createInset): add "label" to the factory.
9590
9591         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9592           string and do no more.
9593
9594 2003-02-27  Angus Leeming  <leeming@lyx.org>
9595
9596         * commandtags.h:
9597         * LyXAction.C (init):
9598         * factory.C (createInset):
9599         * BufferView_pimpl.C (dispatch):
9600           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9601
9602         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9603
9604         * lyxfunc.C (dispatch):
9605         * text3.C (dispatch): pass name to params2string.
9606
9607 2003-02-26  Angus Leeming  <leeming@lyx.org>
9608
9609         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9610           blocks together.
9611           Rearrange the ~includes. Strip out the unnecessary ones.
9612
9613         * factory.C (createInset): reformat.
9614           create new insets for the various LFUN_XYZ_APPLY lfuns.
9615
9616 2003-02-26  John Levon  <levon@movementarian.org>
9617
9618         * lyxrow.h:
9619         * lyxrow.C: add isParStart,isParEnd helpers
9620
9621         * paragraph.h: make isInserted/DeletedText take refs
9622
9623         * paragraph_funcs.h:
9624         * paragraph_funcs.C: remove #if 0'd code
9625
9626         * lyxtext.h:
9627         * text3.C:
9628         * text2.C:
9629         * text.C: use lyxrow helpers above.
9630           Move draw and paint routines to RowPainter.
9631           Make several methods use refs not pointers.
9632           Make backgroundColor() const.
9633           Add markChangeInDraw(), isInInset().
9634           Merge changeRegionCase into changeCase.
9635           Make workWidth() shouldn't-happen code into an Assert.
9636
9637         * rowpainter.h:
9638         * rowpainter.C: new class for painting a row.
9639
9640         * vspace.h:
9641         * vspace.C: make inPixels take a ref
9642
9643 2003-02-26  Angus Leeming  <leeming@lyx.org>
9644
9645         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9646         LFUN_REF_APPLY.
9647
9648 2003-02-25  John Levon  <levon@movementarian.org>
9649
9650         * ispell.C: give the forked command a more accurate name
9651
9652 2003-02-22  John Levon  <levon@movementarian.org>
9653
9654         * toc.h:
9655         * toc.C: make TocItem store an id not a Paragraph *
9656           (bug #913)
9657
9658 2003-02-21  Angus Leeming  <leeming@lyx.org>
9659
9660         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9661           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9662           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9663           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9664           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9665           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9666
9667         * BufferView_pimpl.C (dispatch):
9668         * LyXAction.C (init):
9669         * factory.C (createInset):
9670         * lyxfunc.C (getStatus, dispatch):
9671         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9672
9673 2003-02-21  Angus Leeming  <leeming@lyx.org>
9674
9675         * BufferView_pimpl.C (MenuInsertLyXFile):
9676         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9677         * lyxfunc.C (menuNew, open, doImport):
9678           no longer pass a LyXView & to fileDlg.
9679
9680 2003-02-21  Angus Leeming  <leeming@lyx.org>
9681
9682         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9683         * LyXAction.C: change, BIBKEY to BIBITEM.
9684         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9685         Change InsetBibKey to InsetBibitem.
9686         Change BIBKEY_CODE to BIBITEM_CODE.
9687         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9688         * factory.C: replace insetbib.h with insetbibitem.h.
9689         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9690         * paragraph.C: replace insetbib.h with insetbibitem.h.
9691         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9692         Change bibkey() to bibitem().
9693         * text.C: remove insetbib.h.
9694         * text2.C: replace insetbib.h with insetbibitem.h.
9695         change bibkey() to bibitem().
9696         * text3.C: remove insetbib.h.
9697         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9698
9699 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9700
9701         * lyxrc.C (output): enclose user email in quotes (in case there are
9702         several words)
9703
9704 2003-02-18  John Levon  <levon@movementarian.org>
9705
9706         * buffer.h: add std::
9707
9708 2003-02-17  John Levon  <levon@movementarian.org>
9709
9710         * SpellBase.h:
9711         * ispell.h:
9712         * ispell.C:
9713         * pspell.h:
9714         * pspell.C: reworking. Especially in ispell, a large
9715           number of clean ups and bug fixes.
9716
9717         * lyxfunc.C: fix revert to behave sensibly
9718
9719 2003-02-17 André Pönitz <poenitz@gmx.net>
9720
9721         * LyXAction.C:
9722         * commandtags.h: new LFUN_INSERT_BIBKEY
9723
9724         * layout.h:
9725         * lyxlayout.C:
9726         * buffer.C:
9727         * factory.C:
9728         * text.C:
9729         * text2.C:
9730         * text3.C:
9731         * paragraph.[Ch]:
9732         * paragraph_func.C: remove special bibkey handling
9733
9734 2003-02-17  John Levon  <levon@movementarian.org>
9735
9736         * text.C (Delete): fix case where delete at the end of
9737           the very first paragraph would not merge the pars
9738
9739 2003-02-17  John Levon  <levon@movementarian.org>
9740
9741         * lyxrow.C: fix lastPrintablePos()
9742
9743 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * bufferparams.C (writeLaTeX): add a std:here
9746
9747         * buffer.C: and remove a using directive there
9748
9749 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * buffer.C (makeLaTeXFile): move the code that generates the
9752           preamble...
9753
9754         * bufferparams.C (writeLaTeX): ... in this new method
9755
9756         * LaTeXFeatures.C (getEncodingSet): make const
9757           (getLanguages): make const
9758
9759         * MenuBackend.C (binding): returns the binding associated to this
9760           action
9761           (add): sets the status of each item by calling getStatus. Adds
9762           some intelligence.
9763           (read): add support for OptSubMenu
9764           (expand): remove extra separator at the end of expanded menu
9765
9766 2003-02-15  John Levon  <levon@movementarian.org>
9767
9768         * BufferView.C:
9769         * BufferView_pimpl.C:
9770         * bufferlist.h:
9771         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9772           inset code that had no actual effect. Remove unneeded status
9773           code.
9774
9775 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9776
9777         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9778           in preamble
9779
9780 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9781
9782         * text.C (drawLengthMarker): also draw an arrow marker for
9783           symbolic lengths (medskip...)
9784
9785 2003-02-14  John Levon  <levon@movementarian.org>
9786
9787         * tabular.h:
9788         * tabular.C: better method names
9789
9790 2003-02-14  John Levon  <levon@movementarian.org>
9791
9792         * BufferView_pimpl.C:
9793         * bufferlist.C:
9794         * buffer.C:
9795         * converter.C:
9796         * lyx_cb.C:
9797         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9798           it's a more accurate name. Remove some pointless uses.
9799
9800 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * text2.C (LyXText): change order of initilizers to shut off
9803           warnings
9804
9805 2003-02-14  John Levon  <levon@movementarian.org>
9806
9807         * buffer.C: use ParIterator for getParFromID()
9808
9809         * paragraph.h:
9810         * paragraph.C:
9811         * paragraph_pimpl.h:
9812         * paragraph_pimpl.C: remove unused getParFromID()
9813
9814 2003-02-14  John Levon  <levon@movementarian.org>
9815
9816         * buffer.C: remove some very old #if 0'd parse code
9817
9818 2003-02-13  John Levon  <levon@movementarian.org>
9819
9820         * text.h:
9821         * text.C:
9822         * text2.C: move hfillExpansion(), numberOfSeparators(),
9823           rowLast(), rowLastPrintable(), numberofHfills(),
9824           numberOfLabelHfills() ...
9825
9826         * lyxrow.h:
9827         * lyxrow.C: ... to member functions here.
9828
9829         * paragraph.h:
9830         * paragraph.C:
9831         * lyxtext.h:
9832         * text.C: remove LyXText::beginningOfMainBody(), and call
9833           p->beginningOfMainBody() directly. Move the check for
9834           LABEL_MANUAL into the latter.
9835
9836         * text.h:
9837         * text.C:
9838         * text2.C:
9839         * vspace.C:
9840         * BufferView.h:
9841         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9842
9843         * text.h:
9844         * text.C:
9845         * text2.C:
9846         * text3.C:
9847         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9848           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9849
9850 2003-02-13  John Levon  <levon@movementarian.org>
9851
9852         * CutAndPaste.C: remove debug
9853
9854 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9855
9856         * paragraph.C (asString): remove two unused variables
9857
9858         * lyxtextclass.C (readTitleType):
9859           (Read):
9860           (LyXTextClass): handle new members titletype_ and titlename_
9861
9862         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9863
9864 2003-02-09  John Levon  <levon@movementarian.org>
9865
9866         * buffer.h:
9867         * buffer.C: replace hand-coded list with a map for the dep clean
9868
9869 2003-02-08  John Levon  <levon@movementarian.org>
9870
9871         * LaTeX.C: consolidate code into showRunMessage() helper
9872
9873 2003-02-08  John Levon  <levon@movementarian.org>
9874
9875         * lyxfind.C:
9876         * lyxtext.h:
9877         * text2.C:
9878         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9879           and pass the size in explicitly
9880
9881         * BufferView_pimpl.h:
9882         * BufferView_pimpl.C:
9883         * BufferView.h:
9884         * BufferView.C: add getCurrentChange()
9885
9886         * BufferView_pimpl.h:
9887         * BufferView_pimpl.C: handle change lfuns
9888
9889         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9890           for changes. Mark pasted paragraphs as new.
9891
9892         * support/lyxtime.h:
9893         * support/lyxtime.C:
9894         * DepTable.C: abstract time_t as lyx::time_type
9895
9896         * LColor.h:
9897         * LColor.C: add colours for new text, deleted text, changebars
9898
9899         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9900           package use "usenames" option.
9901
9902         * commandtags.h:
9903         * lyxfunc.C:
9904         * LyXAction.C: add change lfuns
9905
9906         * Makefile.am:
9907         * author.h:
9908         * author.C: author handling
9909
9910         * buffer.h:
9911         * buffer.C: add a per-buffer author list, with first entry as
9912           current author. Handle new .lyx tokens for change tracking. Output
9913           author list to .lyx file. Output dvipost stuff to .tex preamble.
9914           Bump lyx format to 222.
9915
9916         * bufferlist.h:
9917         * bufferlist.C: add setCurrentAuthor() to reset current author details
9918           in all buffers.
9919
9920         * bufferparams.h:
9921         * bufferparams.C: add param for tracking
9922
9923         * bufferview_funcs.C: output change info in minibuffer
9924
9925         * Makefile.am:
9926         * changes.h:
9927         * changes.C: add change-tracking structure
9928
9929         * debug.h:
9930         * debug.C: add CHANGES debug flag
9931
9932         * lyxfind.h:
9933         * lyxfind.C: add code for finding the next change piece
9934
9935         * lyxrc.h:
9936         * lyxrc.C: add user_name and user_email
9937
9938         * lyxrow.h:
9939         * lyxrow.C: add a metric for the top of the text line
9940
9941         * lyxtext.h:
9942         * text.C: implement accept/rejectChange()
9943
9944         * lyxtext.h:
9945         * text.C: paint changebars. Paint new/deleted text in the chosen
9946         colours. Strike through deleted text.
9947
9948         * paragraph.h:
9949         * paragraph.C:
9950         * paragraph_pimpl.h:
9951         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9952           in the current change to the insert functions. Rework erase to
9953           mark text as deleted, adding an eraseIntern() and a range-based
9954           erase(). Implement per-paragraph change lookup and
9955           accept/reject.
9956
9957         * paragraph_funcs.C: Fixup paste for change tracking.
9958
9959         * tabular.C: mark added row/columns as new.
9960
9961         * text.C: fix rowLast() to never return -1. Don't allow
9962           spellchecking of deleted text. Track transpose changes. Don't
9963           allow paragraph break or merge where appropriate.
9964
9965         * text2.C: leave cursor at end of selection after a cut.
9966
9967 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9968
9969         * text.C (getLengthMarkerHeight):
9970         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9971         visible on screen too.
9972
9973 2003-02-07  John Levon  <levon@movementarian.org>
9974
9975         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9976
9977 2003-02-05  Angus Leeming  <leeming@lyx.org>
9978
9979         * lyxserver.C (read_ready): revert my patch of 11 September last year
9980         as it sends PC cpu through the roof. Presumably this means that
9981         the lyxserver will no longer run on an Alpha...
9982
9983 2003-01-30  Angus Leeming  <leeming@lyx.org>
9984
9985         * factory.C (createInset): create an InsetCommandParam of type "index"
9986         and use it to 'do the right thing'.
9987
9988         * text2.C (getStringToIndex): ensure that cursor position is always
9989         reset to the reset_cursor position.
9990
9991 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9992
9993         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9994         disabled.
9995
9996 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9997
9998         * bufferview.C:
9999         * lyxcb.C:
10000         * lyxfunc.C: Output messages with identical spelling, punctuation,
10001         and spaces
10002
10003 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10004
10005         * MenuBackend.C (expandFormats): List only viewable export formats
10006         in "View" menu
10007
10008         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10009         message
10010
10011         * lyxfunc.C (getStatus): Make sure that formats other than
10012         "fax" can also be disabled
10013
10014 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * text3.C (dispatch): put the lfuns that insert insets in 3
10017         groups, and call doInsertInset with appropriate arguments.
10018         (doInsertInset): new function, that creates an inset and inserts
10019         it according to some boolean parameters.
10020
10021 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10022
10023         * buffer.C (readFile): remember to pass on 'par' when calling
10024         readFile recursively.
10025
10026 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10027
10028         * MenuBackend.C (expandFormats): add "..." to import formats.
10029
10030 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10031
10032         * paragraph.C (asString): Remove XForms RTL hacks.
10033
10034 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10035         * buffer.C: fix typo
10036
10037 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10038
10039         * Makefile.am (LIBS): delete var
10040         (lyx_LDADD): add @LIBS@ here instead.
10041
10042 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10043
10044         * Clarify the meaning of "wheel mouse jump"
10045
10046 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10047
10048         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10049         tabular in a float
10050
10051 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10052
10053         * importer.C (Loaders): do not preallocate 3 elements in the
10054         vector, since one ends up with 6 elements otherwise
10055
10056 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10057
10058         * DepTable.C (write): write the file name as last element of the
10059         .dep file (because it may contain spaces)
10060         (read): read info in the right order
10061
10062 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10063
10064         * paragraph_pimpl.C (simpleTeXBlanks):
10065         (simpleTeXSpecialChars):
10066         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10067
10068         * tabular.C (latex): add some missing case statements. Reindent.
10069
10070         * MenuBackend.C (expandToc): remove unused variable.
10071
10072 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10073
10074         * LColor.C:
10075         * LaTeX.C:
10076         * LyXAction.C:
10077         * MenuBackend.C:
10078         * buffer.C:
10079         * exporter.C:
10080         * lyxfunc.C:
10081         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10082         and the like.
10083
10084 2003-01-05  John Levon  <levon@movementarian.org>
10085
10086         * BufferView.h:
10087         * BufferView.C: add getEncoding()
10088
10089         * kbsequence.h:
10090         * kbsequence.C: do not store last keypress
10091
10092         * lyxfunc.h:
10093         * lyxfunc.C: store last keypress here instead. Pass encoding
10094           to getISOEncoded()
10095
10096 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10097
10098         * lyx_main.C (init): remove annoying error message when following
10099         symbolic links (bug #780)
10100
10101 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10102
10103         * text.C (insertChar):
10104         * lyxrc.C (getDescription): remove extra spaces
10105
10106 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * lyxrc.C (getDescription): remove extra spaces
10109
10110 2002-12-20  John Levon  <levon@movementarian.org>
10111
10112         * text3.C: hack fix for page up/down across tall rows
10113
10114 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10115
10116         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10117         not been invoked
10118
10119 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10120
10121         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10122         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10123         thesaurus is not compiled in
10124
10125 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10126
10127         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10128
10129 2002-12-16  Angus Leeming  <leeming@lyx.org>
10130
10131         * lyxrc.[Ch]:
10132         * lyx_main.C (init): remove override_x_deadkeys stuff.
10133
10134 2002-12-12  John Levon  <levon@movementarian.org>
10135
10136         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10137           insert. Only remove shift modifier under strict
10138           circumstances.
10139
10140 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10141
10142         * MenuBackend.C (expandToc): fix crash.
10143
10144 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10145
10146         * MenuBackend.C (expandToc): gettext on float names.
10147
10148 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10149
10150         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10151         implement bool empty() [bug 490]
10152
10153 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10154
10155         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10156
10157 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10158
10159         * several files: ws changes
10160
10161 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10162
10163         * text2.C (setCounter): clean up a bit, use boost.format.
10164         (updateCounters): initialize par upon declaration.
10165
10166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10167         if the layout exists. We do not just store the layout any more.
10168         (SwitchLayoutsBetweenClasses): use boost.format
10169
10170 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10171
10172         * converter.C (convert): if from and to files are the same, use a
10173         temporary files as intermediary
10174
10175 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10176
10177         * commandtags.h:
10178         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10179
10180 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10181
10182         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10183
10184 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10185
10186         * tabular.C (asciiPrintCell): use string(size, char) instead of
10187         explicit loop.
10188
10189         * sgml.C (openTag): fix order of arguments to string constructor
10190         (closeTag): ditto
10191
10192         * lyxfunc.C (dispatch): use boost.format
10193
10194         * lots of files: change "c" -> 'c'
10195
10196 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10197
10198         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10199
10200 2002-11-25  Angus Leeming  <leeming@lyx.org>
10201
10202         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10203
10204         * lyx_main.C (init): compile fix.
10205
10206 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10207
10208         * lyx_cb.C (start): boost.formatify
10209         do not include <iostream>
10210
10211         * lengthcommon.C: ws only
10212
10213         * boost-inst.C,BoostFormat.h: add more explict instantations
10214
10215 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10216
10217         * lots of files: handle USE_BOOST_FORMAT
10218
10219 2002-11-21  John Levon  <levon@movementarian.org>
10220
10221         * pspell.C: fix compile
10222
10223 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10224
10225         * lyxfunc.C (dispatch): use boost::format
10226         (open): ditto
10227         (doImport): ditto
10228
10229         * lyxfont.C (stateText): use boost::format
10230
10231         * lyx_main.C (LyX): use boost::format
10232         (init): ditto
10233         (queryUserLyXDir): ditto
10234         (readRcFile): ditto
10235         (parse_dbg): ditto
10236         (typedef boost::function): use the recommened syntax.
10237
10238         * importer.C (Import): use boost::format
10239
10240         * debug.C (showLevel): use boost::format
10241
10242         * converter.C (view): use boost::format
10243         (convert): ditto
10244         (move): ditto
10245         (scanLog): ditto
10246
10247         * bufferview_funcs.C (currentState): use boost::format
10248
10249         * bufferlist.C (emergencyWrite): use boost::format
10250
10251         * buffer.C (readLyXformat2): use boost::format
10252         (parseSingleLyXformat2Token): ditto
10253
10254         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10255
10256         * LaTeX.C (run): use boost::format
10257
10258         * Chktex.C (scanLogFile): use boost::format
10259
10260         * BufferView_pimpl.C (savePosition): use boost::format
10261         (restorePosition): ditto
10262         (MenuInsertLyXFile): ditto
10263
10264         * BoostFormat.h: help file for explicit instation.
10265
10266 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10267
10268         * tabular.C (latex): Support for block alignment in fixed width
10269         columns.
10270
10271 2002-11-17  John Levon  <levon@movementarian.org>
10272
10273         * BufferView_pimpl.C:
10274         * lyx_cb.C:
10275         * lyxfunc.C: split filedialog into open/save
10276
10277 2002-11-08  Juergen Vigna  <jug@sad.it>
10278
10279         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10280         by my last patch (hopefully).
10281
10282 2002-11-08  John Levon  <levon@movementarian.org>
10283
10284         * iterators.h:
10285         * iterators.C:
10286         * buffer.h:
10287         * buffer.C:
10288         * paragraph.h:
10289         * paragraph.C:
10290         * toc.h:
10291         * toc.C: ParConstIterator, and use it (from Lars)
10292
10293 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10294
10295         * lyxtextclass.[Ch]: revise and add doxygen comments
10296
10297 2002-11-07  John Levon  <levon@movementarian.org>
10298
10299         * text.C: fix progress value for spellchecker
10300
10301         * toc.C: fix navigate menu for insetwrap inside minipage
10302
10303         * paragraph_funcs.C: added FIXME for suspect code
10304
10305 2002-11-07  John Levon  <levon@movementarian.org>
10306
10307         * BufferView_pimpl.C: fix redrawing of insets
10308           on buffer switch
10309
10310 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10311
10312         * text2.C (updateCounters): fix bug 668
10313
10314 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10315
10316         * text3.C (dispatch): Do not make the buffer dirty when moving the
10317         cursor.
10318
10319 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10320
10321         * vc-backend.C: STRCONV
10322         (scanMaster): ditto
10323
10324         * text2.C (setCounter): STRCONV
10325
10326         * paragraph.C (asString): STRCONV
10327
10328         * lyxlength.C (asString): STRCONV
10329         (asLatexString): ditto
10330
10331         * lyxgluelength.C (asString): STRCONV
10332         (asLatexString): ditto
10333
10334         * lyxfunc.C (dispatch): STRCONV
10335         (open): ditto
10336
10337         * lyxfont.C (stateText): STRCONV
10338
10339         * importer.C (Import): STRCONV
10340
10341         * counters.C (labelItem): STRCONV
10342         (numberLabel): ditto
10343         (numberLabel): remove unused ostringstream o
10344
10345         * chset.C: STRCONV
10346         (loadFile): ditto
10347
10348         * bufferview_funcs.C (currentState): STRCONV
10349
10350         * buffer.C (readFile): STRCONV
10351         (asciiParagraph): ditto
10352         (makeLaTeXFile): ditto
10353
10354         * Spacing.C (writeEnvirBegin): STRCONV
10355
10356         * LaTeXFeatures.C (getLanguages): STRCONV
10357         (getPackages): ditto
10358         (getMacros): ditto
10359         (getBabelOptions): ditto
10360         (getTClassPreamble): ditto
10361         (getLyXSGMLEntities): ditto
10362         (getIncludedFiles): ditto
10363
10364         * LaTeX.C: STRCONV
10365         (run): ditto
10366         (scanAuxFile): ditto
10367         (deplog): ditto
10368
10369         * LString.h: add the STRCONV macros
10370
10371         * BufferView_pimpl.C (savePosition): STRCONV
10372         (restorePosition): ditto
10373         (MenuInsertLyXFile): ditto
10374
10375         * vc-backend.C (scanMaster): change from submatch[...] to
10376         submatch.str(...)
10377
10378         * funcrequest.C: include config.h
10379
10380         * factory.C: include config.h
10381
10382         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10383
10384         * box.C: include config.h
10385
10386         * LaTeX.C (scanAuxFile): change from submatch[...] to
10387         submatch.str(...)
10388         (deplog): ditto
10389
10390 2002-10-25  Angus Leeming  <leeming@lyx.org>
10391
10392         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10393
10394         * ispell.[Ch] (setError): new method.
10395         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10396         Use setError() insetead of goto END.
10397
10398         * lyx_cb.C (AutoSave): move out child process into new class
10399         AutoSaveBuffer.
10400
10401 2002-10-30  John Levon  <levon@movementarian.org>
10402
10403         * text3.C: make start appendix undoable
10404
10405 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10406
10407         * lyxlength.C (inPixels): Fix returned value.
10408
10409         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10410         environment.
10411
10412 2002-10-24  Angus Leeming  <leeming@lyx.org>
10413
10414         * lyxgluelength.h: no need to forward declare BufferParams
10415         or BufferView, so don't.
10416
10417 2002-10-21  John Levon  <levon@movementarian.org>
10418
10419         * BufferView.C: menuUndo ->undo, redo
10420
10421         * BufferView.h: document, remove dead, make some methods private
10422
10423         * paragraph_funcs.h:
10424         * paragraph_funcs.C:
10425         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10426
10427         * buffer.h:
10428         * buffer.C:
10429         * sgml.h:
10430         * sgml.C: move sgml open/close tag into sgml.C
10431
10432         * bufferview_funcs.h: unused prototype
10433
10434         * lyxfunc.h:
10435         * lyxfunc.C: remove unused
10436
10437         * lyxtext.h:
10438         * text.C: remove unused
10439
10440 2002-10-21  John Levon  <levon@movementarian.org>
10441
10442         * BufferView.h:
10443         * BufferView.C:
10444         * BufferView_pimpl.h:
10445         * BufferView_pimpl.C: fix mouse wheel handling based on
10446           patch from Darren Freeman
10447
10448 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10449
10450         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10451
10452 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10453
10454         * lyxlength.C (inPixels): Fix hanfling of negative length.
10455         Fix LyXLength::MU case.
10456
10457 2002-10-16  John Levon  <levon@movementarian.org>
10458
10459         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10460
10461 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10462
10463         * converter.C (view): add support for $$i (file name) and $$p
10464         (file path) for the viewer command. If $$i is not specified, then
10465         it is appended to the command (for compatibility with old syntax)
10466
10467 2002-10-14  Juergen Vigna  <jug@sad.it>
10468
10469         * undo_funcs.C (textHandleUndo): alter the order in which the
10470         new undopar is added to the LyXText, as we have to set first
10471         the right prev/next and then add it as otherwise the rebuild of
10472         LyXText is not correct. Also reset the cursor to the right paragraph,
10473         with this IMO we could remove the hack in "redoParagraphs()".
10474
10475 2002-10-09  Angus Leeming  <leeming@lyx.org>
10476
10477         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10478         to turn off an optimisation if a new inset is to be inserted.
10479
10480 2002-10-11 André Pönitz <poenitz@gmx.net>
10481
10482         * lyxtext.h: make some functions public to allow access
10483         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10484
10485 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10486
10487         * text3.C (dispatch): when changing layout, avoid an infinite loop
10488         [bug #652]
10489
10490 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10491
10492         * lyxrc.C (read): treat a viewer or converter command of "none" as
10493         if it were empty.
10494
10495         * MenuBackend.C (expandFormats): for an update, also allow the
10496         formats that are not viewable
10497
10498         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10499         script if it is newer than the lyxrc.defaults in user directory
10500
10501 2002-10-07 André Pönitz <poenitz@gmx.net>
10502
10503         * text.C: Vitaly Lipatov's small i18n fix
10504
10505 2002-09-25  Angus Leeming  <leeming@lyx.org>
10506
10507         * ispell.h: doxygen fix.
10508
10509 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10510
10511         * buffer.h (readFile): Add a new argument to the method, to allow
10512         reading of old-format templates.
10513
10514 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10515
10516         * toc.C (getTocList): Get TOC from InsetWrap.
10517
10518 2002-09-16  John Levon  <levon@movementarian.org>
10519
10520         * lyxfunc.C: check tabular for cut/copy too
10521
10522 2002-09-12  John Levon  <levon@movementarian.org>
10523
10524         * LyXAction.C: tidy
10525
10526         * factory.h:
10527         * factory.C: add header
10528
10529         * paragraph_funcs.h:
10530         * paragraph_funcs.C: cleanup
10531
10532 2002-09-11  John Levon  <levon@movementarian.org>
10533
10534         * PrinterParams.h: odd/even default to true
10535
10536 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10537
10538         * PrinterParams.h: update printer parameters for new xforms dialog
10539
10540 2002-09-11  Angus Leeming  <leeming@lyx.org>
10541
10542         * lyxserver.C (read_ready): re-write to make it more transparent
10543         and to make it work in coherent fashion under Tru64 Unix.
10544
10545 2002-09-11  André Pönitz <poenitz@gmx.net>
10546
10547         * commandtags.h:
10548         * LyXAction.C:
10549         * text3.C: implement LFUN_WORDSEL
10550
10551 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10552
10553         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10554         make floatlist_ a boost::shared_ptr<FloatList>
10555
10556         * lyxtextclass.C: include FloatList.h
10557         (LyXTextClass): initialize floatlist_
10558         (TextClassTags): add TC_NOFLOAT
10559         (Read): match "nofloat" to TC_NOFLOAT and use it.
10560         (readFloat): modify call to floatlist_
10561         (floats): ditto
10562         (floats): ditto
10563
10564         * FloatList.[Ch] (FloatList): remove commented out float
10565         initialization.
10566         (erase): new function
10567
10568 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10569
10570         * MenuBackend.C (expandToc): fix crash when there is no document
10571         open
10572
10573 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10574
10575         * many files: Add insetwrap.
10576
10577 2002-09-09  John Levon  <levon@movementarian.org>
10578
10579         * text2.C: remove confusing and awkward depth wraparound
10580
10581 2002-09-09  John Levon  <levon@movementarian.org>
10582
10583         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10584
10585         * buffer.h:
10586         * buffer.C: remove getIncludeonlyList()
10587
10588         * paragraph.C:
10589         * lyxfunc.C: remove headers
10590
10591 2002-09-09  Juergen Vigna  <jug@sad.it>
10592
10593         * text.C (getColumnNearX): fix form Michael this is most
10594         probably a cut&paste bug.
10595
10596 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10597
10598         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10599
10600         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10601         references, ws changes.
10602
10603         * text2.C (init): update counters after init
10604         (insertParagraph): no need to set counter on idividual paragraphs.
10605         (setCounter): access the counters object in the textclass object
10606         on in the buffer object.
10607         (updateCounters): ditto
10608
10609         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10610         shared_ptr<Counters> to avoid loading counters.h in all
10611         compilation units.
10612         (LyXTextClass): initialize ctrs_
10613         (TextClassTags): add TC_COUNTER, and ...
10614         (Read): use it here.
10615         (CounterTags): new tags
10616         (readCounter): new function
10617         (counters): new funtion
10618         (defaultLayoutName): return a const reference
10619
10620         * counters.C (Counters): remove contructor
10621         (newCounter): remove a couple of unneeded statements.
10622         (newCounter): simplify a bit.
10623         (numberLabel): some small formatting changes.
10624
10625         * buffer.[Ch]: remove all traces of counters, move the Counters
10626         object to the LyXTextClass.
10627
10628 2002-09-06  Alain Castera  <castera@in2p3.fr>
10629
10630         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10631         package to set the horizontal alignment on fixed width columns.
10632
10633         * lyx_sty.C:
10634         * lyx_sty.h: added tabularnewline macro def.
10635
10636         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10637
10638 2002-09-06  John Levon  <levon@movementarian.org>
10639
10640         * LyXAction.C: tooltips for sub/superscript
10641
10642         * MenuBackend.C: a bit more verbose
10643
10644         * lyxfunc.C: tiny clean
10645
10646         * undo_funcs.C: document undo_frozen
10647
10648 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10649
10650         * counters.C (Counters): add missing algorithm counter.
10651
10652         * text2.C (setCounter): lookup the counter with layouts latexname
10653         instead of by section number.
10654         (setCounter): use a hackish way to lookup the correct enum
10655         counter.
10656         a float name->type change
10657         reset enum couners with counter name directly instead of depth value.
10658
10659         * counters.C (Counters): remove the push_backs, change to use the
10660         float type not the float name.
10661         (labelItem): remove unused string, float name->type change
10662
10663         * counters.h: don't include vector, loose the enums and sects vectors
10664
10665 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10666
10667         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10668         (Read): add float->TC_FLOAT to textclassTags
10669         (Read): and handle it in the switch
10670         (readFloat): new function
10671
10672         * FloatList.C (FloatList): comment out the hardcoded float
10673         definitions.
10674
10675         * lyxlayout.h: ws change.
10676
10677 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10678
10679         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10680
10681 2002-09-03  Angus Leeming  <leeming@lyx.org>
10682
10683         * BufferView_pimpl.h: qualified name is not allowed in member
10684         declaration: WorkArea & Pimpl::workarea() const;
10685
10686         * factory.C: added using std::endl directive.
10687
10688         * text3.C: added using std::find and std::vector directives.
10689
10690 2002-08-29  André Pönitz <poenitz@gmx.net>
10691
10692         * lyxtext.h:
10693         * text2.C: remove unused member number_of_rows
10694
10695         * Makefile.am:
10696         * BufferView2.C: remove file, move contents to...
10697         * BufferView.C: ... here
10698
10699         * BufferView_pimpl.C:
10700         * factory.C: move more inset creation to factory
10701
10702         * vspace.C: avoid direct usage of LyXText, ws changes
10703
10704         * BufferView.[Ch]:
10705                 don't provide direct access to WorkArea, use two simple
10706                 acessors haveSelction() and workHeight() instead
10707
10708
10709 2002-08-29  John Levon  <levon@movementarian.org>
10710
10711         * BufferView_pimpl.C (dispatch): do not continue when
10712           no buffer
10713
10714 2002-08-28  André Pönitz <poenitz@gmx.net>
10715
10716         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10717
10718         * BufferView.h:
10719         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10720
10721 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10722
10723         * buffer.C: increment LYX_FORMAT to 221
10724
10725         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10726         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10727
10728         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10729
10730         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10731
10732 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10733
10734         * factory.C (createInset): use LyXTextClass::floats
10735
10736         * MenuBackend.C (expandFloatListInsert):
10737         (expandFloatInsert):
10738         (expandToc):
10739
10740         * text2.C (setCounter):
10741
10742         * LaTeXFeatures.C (useFloat):
10743         (getFloatDefinitions):
10744
10745         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10746
10747         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10748         floatlist_, with accessor floats().
10749
10750         * FloatList.h: remove global FloatList
10751
10752 2002-08-26  André Pönitz <poenitz@gmx.net>
10753
10754         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10755
10756         * BufferView.h:
10757         * BufferView2.C:
10758         * BufferView_pimpl.C:
10759         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10760
10761 2002-08-25  John Levon  <levon@movementarian.org>
10762
10763         * LyXAction.C: fix margin note description
10764
10765 2002-08-24  John Levon  <levon@movementarian.org>
10766
10767         * buffer.C:
10768         * bufferlist.C:
10769         * bufferview_funcs.C:
10770         * lyxfont.C:
10771         * undo_funcs.C: cleanups
10772
10773         * lyxfunc.C: disable CUT/COPY when no selection
10774
10775 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10776
10777         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10778         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10779
10780         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10781         Add backward compatibility to "mono", "gray" and "no".
10782
10783 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10784
10785         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10786         (and file_format >= 200).
10787
10788 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10789
10790         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10791
10792 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10793
10794         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10795
10796 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10797
10798         * BufferView_pimpl.C:
10799         * LyXAction.C:
10800         * buffer.C:
10801         * commandtags.h:
10802         * lyxfunc.C:
10803         * paragraph.[Ch]:
10804         * text2.C:
10805         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10806         inset and code to make it  work with the paragraph code. The inset
10807         can be anywhere in the paragraph, but will only do the expected
10808         thing in LaTeX if the layout file contains the parameter line
10809                         OptionalArgs    1
10810         (or more generally, a nonzero value) for that layout.
10811
10812 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10813
10814         * paragraph.h: remove the declaration of undefined counters class
10815         function.
10816
10817 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10818
10819         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10820         Dr. Richard Hawkins.
10821
10822 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * paragraph_funcs.h: remove some unneeded includes
10825
10826         * text.C (backspace): pasteParagraph now in global scipe
10827
10828         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10829         (pasteSelection): ditto
10830
10831         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10832         * paragraph_funcs.C (pasteParagraph): ... here
10833
10834 2002-08-20  André Pönitz <poenitz@gmx.net>
10835
10836         * commandtags.h: new LFUNs for swapping/copying table row/colums
10837
10838         * LyXAction.C:
10839         * lyxfunc.C: support for new lfuns
10840
10841 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10842
10843         * tabular.C:
10844         * buffer.[Ch]: remove NO_COMPABILITY stuff
10845
10846 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10847
10848         * boost.C (throw_exception): new file, with helper function for
10849         boost compiled without exceptions.
10850
10851         * paragraph.h:
10852         * lyxlength.C:
10853         * buffer.C:
10854         * ParameterStruct.h:
10855         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10856
10857         * bufferlist.C (emergencyWriteAll): use boost bind
10858
10859         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10860
10861         * text.C: include paragraph_funcs.h
10862         (breakParagraph): breakParagraph is now in global scope
10863
10864         * paragraph_funcs.[Ch]: new files
10865
10866         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10867         global scope
10868
10869         * buffer.C: include paragraph_funcs.h
10870         (insertStringAsLines): breakParagraph is now in global scope
10871
10872         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10873         paragraph_funcs.C
10874
10875         * CutAndPaste.C: include paragraph_funcs.h
10876         (cutSelection): breakParagraphConservative is now in global scope
10877         (pasteSelection): ditto
10878
10879         * buffer.h: declare oprator== and operator!= for
10880         Buffer::inset_iterator
10881
10882         * bufferlist.C (emergencyWrite): don't use fmt(...)
10883
10884         * text3.C: add using std::endl
10885
10886         * BufferView.C (moveCursorUpdate): remove default arg
10887
10888 2002-08-20  André Pönitz <poenitz@gmx.net>
10889
10890         * buffer.[Ch]: move inline functions to .C
10891
10892         * BufferView2.C:
10893         * BufferView_pimpl.C:
10894         * text.C:
10895         * buffer.[Ch]: use improved inset_iterator
10896
10897         * buffer.C:
10898         * paragraph.[Ch]: write one paragraph at a time
10899
10900 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10901
10902         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10903         style if style is not specified.
10904
10905 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10906
10907         * text2.C (setCounter): when searching for right label for a
10908         caption, make sure to recurse to parent insets (so that a caption
10909         in a minipage in a figure float works) (bug #568)
10910
10911 2002-08-20  André Pönitz <poenitz@gmx.net>
10912
10913         * text3.C: new file for LyXText::dispatch() and helpers
10914
10915         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10916
10917         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10918
10919 2002-08-19  André Pönitz <poenitz@gmx.net>
10920
10921         * lyxtext.h:
10922         * text.C: new LyXText::dispatch()
10923
10924         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10925
10926 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10927
10928         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10929
10930         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10931         Hebrew text.
10932
10933 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * Makefile.am: use $(variables) instead of @substitutions@
10936
10937 2002-08-15  André Pönitz <poenitz@gmx.net>
10938
10939         * lyxfunc.C:
10940         * BufferView_pimpl.C: streamlining mathed <-> outer world
10941         interaction
10942
10943         * commandtags.h:
10944         * LyXAction.C: remove unused LFUN_MATH
10945
10946 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10947
10948         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10949
10950 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10951
10952         * paragraph.C (Paragraph): reformat a bit
10953         (cutIntoMinibuffer): use builtin InsetList function instad of
10954         doing it manually.
10955         (getInset): ditto
10956
10957         * buffer.C: include boost/bind.hpp, add using std::for_each
10958         (writeFileAscii): use ParagraphList iterators
10959         (validate): use for_each for validate traversal of paragraphs
10960         (getBibkeyList): use ParagraphList iterators
10961         (resizeInsets): use for_each to resizeInsetsLyXText for all
10962         paragraphs.
10963         (getParFromID): use ParagraphList iterators
10964
10965         * BufferView2.C (lockInset): use paragraph list and iterators
10966
10967 2002-08-14  John Levon  <levon@movementarian.org>
10968
10969         * lyxserver.C: remove spurious xforms include
10970
10971 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10972
10973         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10974
10975 2002-08-13  André Pönitz <poenitz@gmx.net>
10976
10977         * LyXAction.[Ch]:
10978         * lyxfunc.C: further cleaning
10979
10980 2002-08-13  André Pönitz <poenitz@gmx.net>
10981
10982         * funcrequest.h: new constructor
10983
10984         * funcrequest.C: move stuff here from .h
10985
10986         * Makefile.am:
10987         * BufferView_pimpl.C:
10988         * LyXAction.C:
10989         * toc.C:
10990         * lyxfunc.C: subsequent changes
10991
10992         * lyxfunc.h: new view() member function
10993
10994         * lyxfunc.C: subsequent changes
10995
10996 2002-08-13  Angus Leeming  <leeming@lyx.org>
10997
10998         * BufferView2.C:
10999         * BufferView_pimpl.C:
11000         * buffer.C:
11001         * converter.C:
11002         * importer.C:
11003         * lyxfunc.C:
11004         * lyxvc.C:
11005         * toc.C:
11006         * vc-backend.C:
11007         changes due to the changed LyXView interface that now returns references
11008         to member variables not pointers.
11009
11010 2002-08-13  Angus Leeming  <leeming@lyx.org>
11011
11012         * WordLangTuple (word, lang_code): return references to strings,
11013         not strings.
11014
11015         * BufferView.h:
11016         * SpellBase.h:
11017         * lyxtext.h: forward-declare WordLangTuple.
11018
11019         * BufferView2.C:
11020         * ispell.C:
11021         * pspell.C:
11022         * text.C: #include "WordLangTuple.h".
11023
11024         * lyxtext.h:
11025         * text.C: (selectNextWordToSpellcheck): constify return type.
11026
11027 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11028
11029         * buffer.C:
11030         * buffer.h:
11031         * lyxtext.h:
11032         * paragraph.C:
11033         * paragraph_pimpl.h:
11034         * text.C:
11035         * text2.C:
11036         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11037         suggested by Angus.
11038         Made updateCounter always count from start of buffer, and removed
11039         second argument (par).
11040         Reverted floats number display to '#'. Perhaps I'll try again when the
11041         code base is sanitized a bit.
11042
11043 2002-08-12  Angus Leeming  <leeming@lyx.org>
11044
11045         * buffer.[Ch] (getLabelList): constify.
11046
11047 2002-08-07  André Pönitz <poenitz@gmx.net>
11048
11049         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11050
11051         * funcrequest.h: extension to keep mouse (x,y) position
11052
11053 2002-08-12  Juergen Vigna  <jug@sad.it>
11054
11055         * BufferView2.C (insertErrors): forbid undo when inserting error
11056         insets.
11057
11058         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11059
11060 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11061
11062         * ParagraphList.[Ch]: new files
11063
11064         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11065
11066         * BufferView2.C (lockInset): ParagraphList changes
11067         * toc.C: ditto
11068         * text2.C: ditto
11069         * bufferlist.C: ditto
11070         * buffer.h: ditto
11071         * buffer.C: ditto
11072
11073 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11074
11075         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11076         unused class variable counter_,
11077
11078         * paragraph.[Ch] (getFirstCounter): delete unused function
11079
11080         * counters.C: include LAssert.h
11081         (reset): add a new function with no arg, change other version to
11082         not have def. arg and to not allow empty arg.
11083
11084         * text2.C (setCounter): remove empty arg from call to Counters::reset
11085
11086 2002-08-11  John Levon  <levon@movementarian.org>
11087
11088         * Makefile.am: add WordLangTuple.h
11089
11090 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11091
11092         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11093         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11094
11095         * insets/insettext.C: InsetList changes
11096
11097         * graphics/GraphicsSupport.C (operator()): InsetList changes
11098
11099         * toc.C (getTocList): InsetList changes
11100
11101         * paragraph_pimpl.[Ch]: InsetList changes
11102
11103         * paragraph.[Ch]: InsetList changes
11104
11105         * buffer.C (inset_iterator): InsetList changes
11106         (setParagraph): ditto
11107         * buffer.h (inset_iterator): ditto
11108         * iterators.C (operator++): ditto
11109         * iterators.h: ditto
11110
11111         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11112
11113         * InsetList.[Ch]: new files, most InsetList handling moved out of
11114         paragraph.C.
11115
11116         * BufferView2.C (removeAutoInsets): InsetList changes
11117         (lockInset): ditto
11118         (ChangeInsets): ditto
11119
11120 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11121
11122         * paragraph_pimpl.h (empty): new function
11123
11124         * paragraph.[Ch] (empty): new function
11125
11126         * other files: use the new Paragraph::empty function
11127
11128 2002-08-09  John Levon  <levon@movementarian.org>
11129
11130         * lyxtext.h: remove unused refresh_height
11131
11132 2002-08-09  John Levon  <levon@movementarian.org>
11133
11134         * Makefile.am:
11135         * sgml.h:
11136         * sgml.C:
11137         * buffer.C:
11138         * paragraph.h:
11139         * paragraph.C: move sgml char escaping out of paragraph
11140
11141         * paragraph.h:
11142         * paragraph.C: remove id setter
11143
11144         * buffer.C:
11145         * paragraph.C:
11146         * paragraph_pimpl.C: remove dead tex_code_break_column
11147
11148         * bufferview_funcs.C: small cleanup
11149
11150         * lyxfunc.C: remove dead proto
11151
11152         * lyxtext.h: make some stuff private. Remove some dead stuff.
11153
11154         * lyxgluelength.C: make as[LyX]String() readable
11155
11156 2002-08-08  John Levon  <levon@movementarian.org>
11157
11158         * LyXAction.h:
11159         * LyXAction.C:
11160         * MenuBackend.C:
11161         * ToolbarDefaults.C:
11162         * lyxfunc.C:
11163         * lyxrc.C:
11164         * toc.C: lyxaction cleanup
11165
11166 2002-08-08  John Levon  <levon@movementarian.org>
11167
11168         * BufferView2.C: small cleanup
11169
11170         * lyxfind.h:
11171         * lyxfind.C: move unnecessary header into the .C
11172
11173 2002-08-08  John Levon  <levon@movementarian.org>
11174
11175         * funcrequest.h: just tedious nonsense
11176
11177         * lyx_main.h:
11178         * lyx_main.C: cleanups
11179
11180         * buffer.C:
11181         * vspace.C: remove dead header lyx_main.h
11182
11183 2002-08-07  Angus Leeming  <leeming@lyx.org>
11184
11185         * Paragraph.[Ch]:
11186         * paragraph_pimpl.h:
11187         Forward declare class Counters in paragraph.h by moving the ctrs member
11188         variable into Paragraph::Pimpl.
11189         (counters): new method, returning a reference to pimpl_->ctrs.
11190
11191         * text2.C: ensuing changes.
11192
11193 2002-08-07  John Levon  <levon@movementarian.org>
11194
11195         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11196
11197         * BufferView_pimpl.C: announce X selection on double/triple
11198           click
11199
11200         * lyx_main.C: use correct bool in batch dispatch
11201
11202         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11203
11204 2002-08-07  André Pönitz <poenitz@gmx.net>
11205
11206         * funcrequest.h: new class to wrap a kb_action and its argument
11207
11208         * BufferView.[Ch]:
11209         * BufferView_pimpl[Ch]:
11210         * LaTeX.C:
11211         * LyXAction.[Ch]:
11212         * lyxfunc.[Ch]:
11213         * lyxrc.C: subsequent changes
11214
11215
11216 2002-08-07  John Levon  <levon@movementarian.org>
11217
11218         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11219           document options change.
11220
11221 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11222
11223         * counters.[Ch]
11224         * text2.C
11225         * paragraph.[Ch]
11226         * makefile.am: move counters functionality over from
11227         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11228
11229 2002-08-06  John Levon  <levon@movementarian.org>
11230
11231         * WordLangTuple.h: new file for word + language code tuple
11232
11233         * SpellBase.h:
11234         * pspell.h:
11235         * pspell.C:
11236         * ispell.h:
11237         * ispell.C:
11238         * lyxtext.h:
11239         * text.C:
11240         * text2.C:
11241         * BufferView.h:
11242         * BufferView2.C: use WordLangTuple
11243
11244         * layout.h:
11245         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11246
11247 2002-08-06  John Levon  <levon@movementarian.org>
11248
11249         * lyx_main.C: fix cmdline batch handling
11250
11251 2002-08-06  André Pönitz <poenitz@gmx.net>
11252
11253         * lyxrc.C: set default for show_banner to true
11254
11255 2002-08-06  John Levon  <levon@movementarian.org>
11256
11257         * pspell.C: fix a crash, and allow new aspell to work
11258
11259 2002-08-06  John Levon  <levon@movementarian.org>
11260
11261         * lyxfunc.C:
11262         * kbmap.C: small cleanup
11263
11264         * vspace.h:
11265         * vspace.C: add const
11266
11267 2002-08-05  John Levon  <levon@movementarian.org>
11268
11269         * LyXAction.C: back to tabular-insert
11270
11271 2002-08-04  John Levon  <levon@movementarian.org>
11272
11273         * BufferView.h:
11274         * BufferView.C: cosmetic change
11275
11276         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11277
11278         * bufferlist.C:
11279         * buffer.h:
11280         * buffer.C:
11281         * lyxcb.h:
11282         * lyxcb.C:
11283         * lyxserver.C:
11284         * lyxvc.C:
11285         * vc-backend.C:
11286         * BufferView2.C: purge all "Lyx" not "LyX" strings
11287
11288         * lyxcursor.h:
11289         * lyxcursor.C: attempt to add some documentation
11290
11291         * lyxfunc.C:
11292         * commandtags.h:
11293         * LyXAction.C:
11294         * ToolbarDefaults.C:
11295         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11296           merge with LFUN_TABULAR_INSERT
11297
11298         * Makefile.am:
11299         * SpellBase.h:
11300         * ispell.h:
11301         * ispell.C:
11302         * pspell.h:
11303         * pspell.C: split up i/pspell implementations into separate
11304           files, many cleanups
11305
11306         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11307
11308         * text2.C: some cleanup
11309
11310         * lyxfunc.C: don't check for isp_command == "none" any more, it
11311           didn't make any sense
11312
11313 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11314
11315         * counters.[Ch]
11316         * text2.C
11317         * paragraph.[Ch]
11318         * makefile.am: move counters functionality over
11319         from text2.C/paragraph.[Ch] to counters.[Ch], and
11320         make proper C++.
11321 2002-08-02  John Levon  <levon@movementarian.org>
11322
11323         * buffer.C: s/lyxconvert/lyx2lyx/
11324
11325 2002-08-02  Angus Leeming  <leeming@lyx.org>
11326
11327         * lyxlex.C: revert John's change as it breaks reading of the user
11328         preamble.
11329
11330 2002-08-02  Angus Leeming  <leeming@lyx.org>
11331
11332         * importer.C (Import):
11333         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11334         changes due to LyXView::view() now returning a boost::shared_ptr.
11335
11336 2002-08-02  John Levon  <levon@movementarian.org>
11337
11338         * lyxlex.C: small cleanup
11339
11340 2002-08-02  John Levon  <levon@movementarian.org>
11341
11342         * text2.C (status): small cleanup, no logic change
11343
11344 2002-08-01  John Levon  <levon@movementarian.org>
11345
11346         * buffer.h:
11347         * buffer.C (writeFile): don't output alerts, caller
11348           handles this
11349
11350         * bufferlist.C:
11351         * lyx_cb.C: from above
11352
11353         * lyxfunc.C: allow to open non-existent files
11354
11355 2002-07-31  John Levon  <levon@movementarian.org>
11356
11357         * lyxserver.C: don't let incidental errors get
11358           in the way (errno)
11359
11360 2002-07-30  John Levon  <levon@movementarian.org>
11361
11362         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11363
11364 2002-07-30  John Levon  <levon@movementarian.org>
11365
11366         * lyxserver.h:
11367         * lyxserver.C: remove I/O callback too
11368
11369 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11370
11371         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11372         log.
11373
11374 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11375
11376         * many files: strip,frontStrip -> trim,ltrim,rtrim
11377
11378 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11379
11380         * PrinterParams.h: remove extern containsOnly, and include
11381         support/lstrings.h instead.
11382
11383         * LaTeX.C (scanAuxFile): modify because of strip changes
11384         (deplog): ditto
11385         * buffer.C (makeLaTeXFile): ditto
11386         * bufferparams.C (writeFile): ditt
11387         * lyxfont.C (stateText): ditto
11388         * lyxserver.C (read_ready): ditto
11389         * vc-backend.C (scanMaster): ditto
11390
11391         * BufferView_pimpl.h: ws changes
11392
11393         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11394
11395 2002-07-26  André Pönitz <poenitz@gmx.net>
11396
11397         * kb_sequence.C: remove unnedred usings
11398
11399 2002-07-26  Juergen Vigna  <jug@sad.it>
11400
11401         * lyxfind.C (LyXReplace): we have to check better if the returned
11402         text is not of theLockingInset()->getLockingInset().
11403
11404 2002-07-25  Juergen Vigna  <jug@sad.it>
11405
11406         * lyxfind.C (LyXReplace): don't replace if we don't get the
11407         right LyXText.
11408
11409         * undo_funcs.C (createUndo): remove debugging code.
11410
11411 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11412
11413         * buffer.C (parseSingleLyXformat2Token): Use default placement
11414         when reading old floats.
11415
11416         * FloatList.C (FloatList): Change the default placement of figure
11417         and tables to "tbp".
11418
11419 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11420
11421         * MenuBackend.C: using std::max
11422
11423 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * MenuBackend.C (expandToc):
11426         (expandToc2): code moved from xforms menu frontend. It is now
11427         generic and TOCs are transparent to menu frontends.
11428
11429 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * toc.C (getTocList): protect against buf=0
11432
11433         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11434         Menu as first parameter. Now, this calls itself recursively to
11435         expand a whole tree (this will be useful for TOC handling)
11436         (expandFloatInsert): remove 'wide' version of floats
11437
11438         * MenuBackend.h (submenuname): returns the name of the submenu.
11439         (submenu): returns the submenu itself, provided it has been
11440         created by MenuBackend::expand
11441
11442 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11445         insets which have noFontChange == true. (bug #172)
11446
11447 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11448
11449         * BufferView_pimpl.C: add connection objects and use them...
11450         (Pimpl): here.
11451
11452 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * MenuBackend.C (expandLastfiles):
11455         (expandDocuments):
11456         (expandFormats):
11457         (expandFloatListInsert):
11458         (expandFloatInsert):
11459         (expand): split expand in parts
11460
11461 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11462
11463         * lyx_gui.C: use lyx_gui::exit()
11464
11465 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * LyXAction.C: show the failing pseudo action
11468
11469 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11470
11471         * buffer.C (readFile): Run the lyxconvert script in order to read
11472         old files.
11473
11474 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11475
11476         * LyXAction.C:
11477         * commandtags.h:
11478         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11479
11480 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11481
11482         * LyXAction.C:
11483         * commandtags.h:
11484         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11485
11486 2002-07-22  Herbert Voss  <voss@lyx.org>
11487
11488         * lengthcommon.C:
11489         * lyxlength.[Ch]: add support for the vertical lengths
11490
11491 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11492
11493         * toc.[Ch]: std:: fixes
11494
11495 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11496
11497         * lyxrc.C: do not include lyx_main.h
11498
11499         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11500         for layouts
11501
11502         * lyxrc.C:
11503         * encoding.C:
11504         * bufferlist.C:
11505         * BufferView2.C: include "lyxlex.h"
11506
11507         * tabular.h:
11508         * bufferparams.h: do not #include "lyxlex.h"
11509
11510         * lyxtextclasslist.C (Add): remove method
11511         (classlist): renamed to classlist_
11512
11513         * paragraph_pimpl.C:
11514         * paragraph.C:
11515         * text2.C:
11516         * CutAndPaste.C:
11517         * bufferview_funcs.C:
11518         * bufferlist.C:
11519         * text.C:
11520         * LaTeXFeatures.C:
11521         * buffer.C:
11522         * toc.C (getTocList): use BufferParams::getLyXTextClass
11523
11524         * toc.C (getTocList): use InsetFloat::addToToc
11525
11526         * toc.[Ch]: new files, containing helper functions to handle table
11527         of contents
11528
11529         * lyxfunc.C (dispatch): no need to remove spaces around command
11530         given as a string
11531         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11532         first command of the sequence; it is not very clever, but I do not
11533         have a better idea, actually
11534
11535         * LyXAction.C (LookupFunc): make sure to remove space at the
11536         beginning and end of the command
11537
11538 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11539
11540         * MenuBackend.C (getMenubar): new method: return the menubar of
11541         this menu set
11542         (read): treat differently reading of menu and menubar (in
11543         particular, the menubar has no name now)
11544         (Menu::menubar): remove
11545
11546         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11547         saving is finished
11548
11549 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11550
11551         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11552         a bibitem inset in a RTL paragraph.
11553
11554 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * paragraph_pimpl.C: constify
11557
11558         * BufferView_pimpl.C:
11559         * LaTeX.C:
11560         * lyxfunc.C: fix dispatch in a nicer way
11561
11562 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * lyxfunc.C (dispatch):
11565         * BufferView_pimpl.C:
11566         * BufferView_pimpl.h:
11567         * BufferView.C:
11568         * BufferView.h: rename Dispatch() to dispatch()
11569
11570         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11571
11572         * lyxlayout.C (Read): honor DependsOn tag
11573
11574         * lyxlayout.[Ch] (depends_on): new method
11575
11576         * version.C.in: update lyx_docversion
11577
11578         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11579
11580         * paragraph.C (validate): remove from here...
11581         * paragraph_pimpl.C (validate): ... and move here
11582         (isTextAt): make it const
11583
11584         * buffer.C (getLists): ws cleanup
11585
11586 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11587
11588         * language.C (read): Use iso8859-1 encoding in latex_lang
11589         (this prevents LyX from crashing when using iso10646-1 encoding).
11590
11591 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * text2.C (toggleInset): if cursor is inside an inset, close the
11594         inset and leave cursor _after_ it
11595
11596 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * lyxfunc.C: move minibuffer completion handling out of here
11599
11600 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView_pimpl.C:
11603         * LaTeX.C: fix dispatch calls
11604
11605 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11606
11607         * text.C (drawChars): Fix Arabic text rendering.
11608
11609 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * LyXAction.C:
11612         * commandtags.h:
11613         * lyxfunc.C: remove message-push/pop
11614
11615         * lyxserver.C:
11616         * lyxfunc.h:
11617         * lyxfunc.C: rationalise some code by removing verboseDispatch
11618           in favour of a bool argument to dispatch()
11619
11620 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * lyx_main.C (init): make sure to read symlinks as absolute paths
11623
11624 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11625
11626         * lyxfunc.h:
11627         * lyxfunc.C: no need for commandshortcut to be a member
11628
11629 2002-07-15  André Pönitz <poenitz@gmx.net>
11630
11631         * converter.C: add support for $$s (scripts from lib/scripts dir)
11632         * lyx_main.C: white space
11633
11634 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * bufferlist.C:
11637         * lyxrc.h:
11638         * lyxrc.C: remove second exit confirmation
11639
11640 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * BufferView.h:
11643         * BufferView.C:
11644         * BufferView2.C:
11645         * BufferView_pimpl.h:
11646         * BufferView_pimpl.C:
11647         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11648
11649 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11650
11651         * MenuBackend.C (expand): add numeric shortcuts to document menu
11652
11653         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11654
11655 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11656
11657         * lyxfont.C (setLyXFamily):
11658         (setLyXSeries):
11659         (setLyXShape):
11660         (setLyXSize):
11661         (setLyXMisc):
11662         (lyxRead):
11663         * debug.C (value):
11664         * buffer.C (asciiParagraph): use ascii_lowercase
11665
11666 2002-07-15  Mike Fabian  <mfabian@suse.de>
11667
11668         * lyxlex_pimpl.C (search_kw):
11669         * lyxlex.C (getLongString):
11670         * converter.h (operator<):
11671         * converter.C (operator<):
11672         * buffer.C (parseSingleLyXformat2Token):
11673         (asciiParagraph):
11674         * ToolbarDefaults.C (read):
11675         * MenuBackend.C (checkShortcuts):
11676         (read):
11677         * LColor.C (getFromGUIName):
11678         (getFromLyXName): use the compare_ascii_no_case instead of
11679         compare_no_case, because in turkish, 'i' is not the lowercase
11680         version of 'I', and thus turkish locale breaks parsing of tags.
11681
11682 2002-07-16  Angus Leeming  <leeming@lyx.org>
11683
11684         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11685         now takes a Buffer const & argument.
11686
11687 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * BufferView.C (resize): check there's a buffer to resize
11690
11691 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * lyxfunc.C: remove dead code
11694
11695         * lyxserver.h:
11696         * lyxserver.C: use lyx_guii::set_read_callback
11697
11698 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11699
11700         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11701         an inset in a RTL paragraph.
11702
11703 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * lyxfunc.C: repaint after a font size update
11706
11707 2002-07-15  André Pönitz <poenitz@gmx.net>
11708
11709         * lyxlength.C: inBP should be able to return negative values
11710
11711 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * lyxfunc.C: use lyx_gui::update_fonts()
11714
11715 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11716
11717         * lyxfunc.C: use lyx_gui::update_color()
11718
11719 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11720
11721         * bufferlist.C:
11722         * lyxfunc.h:
11723         * lyxfunc.C:
11724         * lyxrc.h:
11725         * lyxrc.C: remove file->new asks for name option, and let
11726           buffer-new take an argument
11727
11728 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * BufferView_pimpl.C: remove unneeded extra repaint()
11731
11732 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11733
11734         * LyXAction.C: allow command-sequence with NoBuffer
11735
11736         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11737
11738 2002-07-10  Angus Leeming  <leeming@lyx.org>
11739
11740         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11741
11742 2002-07-09  Angus Leeming  <leeming@lyx.org>
11743
11744         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11745
11746 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * lengthcommon.h: whitespace
11749
11750         * lyxfunc.C: update scrollbar after goto paragraph
11751
11752         * lyxtext.h: factor out page break drawing, and fix it so
11753           page break/added space paints as selected nicely
11754
11755 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11756
11757         * BufferView_pimpl.C: add FIXMEs, clean up a little
11758
11759 2002-07-09  André Pönitz <poenitz@gmx.net>
11760
11761         * lyxfont.[Ch]: support for wasy symbols
11762
11763 2002-07-08  André Pönitz <poenitz@gmx.net>
11764
11765         * BufferView_pimpl.C: apply John's patch for #93.
11766
11767 2002-07-05  Angus Leeming  <leeming@lyx.org>
11768
11769         * BufferView_pimpl.C (buffer): generate previews if desired.
11770
11771         * LColor.h: add "preview" to the color enum.
11772
11773         * LColor.C (LColor): add a corresponding entry to the items array.
11774
11775         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11776         with this buffer.
11777
11778 2002-07-05  Angus Leeming  <leeming@lyx.org>
11779
11780         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11781         The body of the code is now in the method that is passed an ostream &
11782         rather than a file name.
11783         Pass an additional only_preamble parameter, useful for the forthcoming
11784         preview stuff.
11785
11786 2002-07-03  André Pönitz <poenitz@gmx.net>
11787
11788         * lyxfunc.C: simplify getStatus() a bit for math stuff
11789
11790 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11793
11794 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * text.C (changeRegionCase): do not change case of all the
11797         document when region ends at paragraph end (bug #461)
11798
11799 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * paragraph.C (startTeXParParams):
11802         (endTeXParParams): add \protect when necessary
11803
11804 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * BufferView_pimpl.C (workAreaExpose): remove warning
11807
11808 2002-06-27  Angus Leeming  <leeming@lyx.org>
11809
11810         * Makefile.am: add lyxlayout_ptr_fwd.h.
11811
11812 2002-06-26  André Pönitz <poenitz@gmx.net>
11813
11814         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11815
11816 2002-06-25  Angus Leeming  <leeming@lyx.org>
11817
11818         * lyxfunc.C (dispatch): Comment out the call to
11819         grfx::GCache::changeDisplay. The method no longer exists now that the
11820         pixmap generation part of the graphics loader has been moved into
11821         InsetGraphics.
11822
11823 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11824
11825         * text2.C: layout as layout
11826
11827         * text.C: layout as layout
11828
11829         * tabular.C (OldFormatRead): layout as layout
11830
11831         * paragraph_pimpl.C (TeXDeeper): layout as layout
11832         (realizeFont): layout as layout
11833
11834         * paragraph.C (writeFile): layout as layout
11835         (validate): layout as layout
11836         (getFont): layout as layout
11837         (getLabelFont): layout as layout
11838         (getLayoutFont): layout as layout
11839         (breakParagraph): layout as layout
11840         (stripLeadingSpaces): layout as layout
11841         (getEndLabel): layout as layout
11842         (getMaxDepthAfter): layout as layout
11843         (applyLayout): layout as layout
11844         (TeXOnePar): layout as layout
11845         (simpleTeXOnePar): layout as layout
11846         (TeXEnvironment): layout as layout
11847         (layout): layout as layout
11848         (layout): layout as layout
11849
11850         * lyxtextclass.C (compare_name): new functor to work with
11851         shared_ptr, layout as layout
11852         (Read): layout as layout
11853         (hasLayout): layout as layout
11854         (operator): layout as layout
11855         (delete_layout): layout as layout
11856         (defaultLayout): layout as layout
11857
11858         * lyxlayout_ptr_fwd.h: new file
11859
11860         * lyxlayout.C (Read): layout as layout
11861
11862         * lyx_cb.C (MenuInsertLabel): layout as layout
11863
11864         * bufferlist.C (newFile): layout as layout
11865
11866         * buffer.C (readLyXformat2): layout as layout
11867         (parseSingleLyXformat2Token): layout as layout
11868         (insertStringAsLines): layout as layout
11869         (asciiParagraph): layout as layout
11870         (latexParagraphs): layout as layout
11871         (makeLinuxDocFile): layout as layout
11872         (simpleLinuxDocOnePar): layout as layout
11873         (makeDocBookFile): layout as layout
11874         (simpleDocBookOnePar): layout as layout
11875         (getLists): layout as layout
11876
11877         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11878
11879         * CutAndPaste.C (cutSelection): layout as layout
11880         (pasteSelection): layout as layout
11881         (SwitchLayoutsBetweenClasses): layout as layout
11882
11883         * BufferView_pimpl.C (Dispatch): layout as layout
11884         (smartQuote): layout as layout
11885
11886         * BufferView2.C (unlockInset): layout as layout
11887
11888 2002-06-24  André Pönitz <poenitz@gmx.net>
11889
11890         * lyxfunc.C: fix #487
11891
11892 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * lyxrc.h:
11895         * lyxrc.C:
11896         * lyxfunc.C: remove display_shortcuts, show_banner
11897
11898 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * Buffer_pimpl.C: oops, update on resize
11901
11902 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * buffer.C:
11905         * converter.C:
11906         * exporter.C:
11907         * lyxfunc.C:
11908         * BufferView.h:
11909         * BufferView.C: use repaint()
11910
11911         * BufferView_pimpl.h:
11912         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11913           as it's a clearer description. Remove superfluous
11914           redraws.
11915
11916 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * text.C: fix bug 488. Not ideal, but getting
11919           getWord() to work properly for the insets that
11920           matter is more difficult ...
11921
11922 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * BufferView_pimpl.C:
11925         * LyXAction.C:
11926         * commandtags.h:
11927         * lyxfunc.C: remove the six million index lyxfuncs to just
11928           one, and DTRT (bug 458)
11929
11930 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * BufferView.h:
11933         * BufferView.C:
11934         * BufferView_pimpl.h:
11935         * BufferView_pimpl.C: clean up resize() stuff,
11936           and unnecessary updateScreen()s
11937
11938 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * BufferView.h:
11941         * BufferView.C:
11942         * BufferView_pimpl.h:
11943         * BufferView_pimpl.C:
11944         * lyxfind.h:
11945         * lyxfind.C:
11946         * minibuffer.C: remove focus management of workarea,
11947           not needed. Use screen's greyOut()
11948
11949 2002-06-17  Herbert Voss  <voss@lyx.org>
11950
11951         * converter.C: (convert) do not post a message, when converting
11952         fails, let the calling function decide what to do in this case
11953
11954 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * lyxfunc.C: tidy up a little
11957
11958 2002-06-16    <alstrup@diku.dk>
11959
11960         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11961         Got rid of FORMS_H_LOCATION include. Now we are
11962         GUII.
11963
11964 2002-06-15  LyX Development team  <lyx@rilke>
11965
11966         * buffer.[Ch] (sgmlOpenTag):
11967         (sgmlCloseTag): Added support for avoiding pernicious mixed
11968         content. Return number of lines written.
11969
11970         (makeLinuxDocFile):
11971         (makeDocBookFile): Fixed calls to sgml*Tag.
11972         Simple white space clean.
11973
11974         (simpleDocBookOnePar): Simple white space clean.
11975
11976         * tabular.[Ch] (docBook): Renamed to docbook and got another
11977         argument to related with the pernicious mixed content.
11978
11979         (docbookRow): Fixed calls for docbook inset method.
11980
11981 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11982
11983         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11984         so it's X11 independent.
11985
11986         * kb*.[Ch]: ditto.
11987
11988         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11989
11990 2002-06-15  Lyx Development team  <lyx@electronia>
11991
11992         * intl.h: Renamed getTrans to getTransManager.
11993
11994 2002-06-14  Angus Leeming  <leeming@lyx.org>
11995
11996         * Makefile.am: nuke forgotten stl_string_fwd.h.
11997
11998 2002-06-12  Angus Leeming  <leeming@lyx.org>
11999
12000         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12001
12002 2002-06-13  Angus Leeming  <leeming@lyx.org>
12003
12004         * LaTeX.C:
12005         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12006
12007 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12008
12009         * kbmap.C (getiso): add support for cyrillic and greek
12010
12011 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12012
12013         * BufferView.h:
12014         * BufferView.C:
12015         * BufferView_pimpl.h:
12016         * BufferView_pimpl.C: move bogus scrolling logic
12017           to xforms
12018
12019 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * lyxfunc.C:
12022         * BufferView_pimpl.C: view->resize() change
12023
12024 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * BufferView_pimpl.C: topCursorVisible
12027           prototype change
12028
12029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * Makefile.am:
12032         * lyx_gui.h:
12033         * lyx_gui.C: move to frontends/
12034
12035         * main.C:
12036         * lyx_main.h:
12037         * lyx_main.C: changes from above
12038
12039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12040
12041         * intl.C:
12042         * intl.h:
12043         * kbmap.C:
12044         * kbsequence.C:
12045         * lyx_cb.C:
12046         * lyx_main.C: minor tidy
12047
12048 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * BufferView_pimpl.h:
12051         * BufferView_pimpl.C:
12052         * BufferView.h:
12053         * BufferView.C: make painter() const,
12054           remove dead code
12055
12056         * BufferView2.C: use screen() accessor
12057
12058         * lyx_main.h:
12059         * lyx_main.C: some minor cleanup
12060
12061 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * BufferView_pimpl.h:
12064         * BufferView_pimpl.C: remove enter/leaveView,
12065           use workHeight()
12066
12067 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12068
12069         * BufferView.h:
12070         * BufferView.C:
12071         * BufferView2.C:
12072         * BufferView_pimpl.h:
12073         * BufferView_pimpl.C: only construct screen once,
12074           rename
12075
12076         * lyxrc.C: remove pointless comment
12077
12078 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * BufferView.h:
12081         * BufferView.C: remove active() and belowMouse()
12082
12083         * BufferView_pimpl.h:
12084         * BufferView_pimpl.C: use workarea() not workarea_,
12085           and make it use a scoped_ptr instead
12086
12087 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * lyx_gui.C: add debug message on BadWindow
12090
12091 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * sp_spell.C: fdopen is not part of the C++ standard.
12094
12095         * paragraph.C (InsetIterator): use >= instead of ==
12096
12097 2002-06-07  Angus Leeming  <leeming@lyx.org>
12098
12099         Fixes needed to compile with Compaq cxx 6.5.
12100         * BufferView_pimpl.C:
12101         * DepTable.C:
12102         * buffer.C:
12103         * converter.C:
12104         * encoding.C:
12105         * lyx_gui.C:
12106         * lyx_main.C:
12107         * lyxtextclasslist.C:
12108         * minibuffer.C:
12109         * sp_spell.C:
12110         * tabular_funcs.C:
12111         * vc-backend.C:
12112         all c-library variables have been moved into namespace std. Wrap
12113         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12114
12115         * lyxlength.C:
12116         * tabular-old.C:
12117         * tabular.C:
12118         Add a using std::abs declaration.
12119
12120         * kbmap.h (modifier_pair):
12121         * paragraph.h (InsetTable, InsetList):
12122         * lyxfont.h (FontBits):
12123         type definition made public.
12124
12125         * bufferlist.C (emergencyWriteAll): the compiler complains that
12126         there is more than one possible lyx::class_fun template to choose from.
12127         I re-named the void specialisation as lyx::void_class_fun.
12128
12129         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12130
12131         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12132         the compiler is is unable to find tostr in write_attribute.
12133
12134 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * buffer.C (sgmlError): hide #warning
12137
12138 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12139
12140         * xtl/*: get rid of xtl, which is not in use anyway
12141
12142         * LyXAction.C (init):
12143         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12144         were unimplemented xtl experimentation
12145
12146 2002-06-04  André Pönitz <poenitz@gmx.net>
12147
12148         * lyxfunc.C: disable array operation on simple formulae
12149
12150 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12151
12152         * converter.C: constify a bit
12153
12154 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * lyx_gui.C: check xforms version correctly
12157
12158 2002-04-30  Herbert Voss  <voss@lyx.org>
12159
12160         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12161         "keep" option
12162
12163 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12166           attempt to register it with a VCS)
12167
12168 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12169
12170         * lyx_main.C (init): honor variables LYX_DIR_13x and
12171         LYX_USERDIR_13x
12172
12173 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * buffer.h:
12176         * buffer.C:
12177         * lyx_main.C: fix a crash on bad command line,
12178           and give a useful exit status on error
12179
12180         * lyxfunc.C (doImport): allow -i lyx to work
12181
12182 2002-03-30  André Pönitz <poenitz@gmx.net>
12183
12184         * lyxfunc.C: mathed font changes
12185
12186 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * LaTeX.C:
12189         * importer.h:
12190         * importer.C:
12191         * lyx_sty.h:
12192         * lyx_sty.C:
12193         * lyxlex.C:
12194         * lyxrow.h:
12195         * lyxtext.h:
12196         * paragraph.h:
12197         * paragraph.C:
12198         * texrow.h:
12199         * texrow.C:
12200         * text.C:
12201         * trans_mgr.h: srcdocs, and some minor cleanups
12202
12203 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12204
12205         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12206         call getFont all the time)
12207
12208 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * switch from SigC signals to boost::signals
12211
12212 2002-05-29  André Pönitz <poenitz@gmx.net>
12213
12214         * paragraph_pimpl.C (getChar): don't call size() too often...
12215
12216 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * paragraph_pimpl.C (insertChar): do not try to update tables when
12219         appending (pos == size())
12220
12221         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12222         in order to reduce drastically the number of comparisons needed to
12223         parse a large document
12224
12225 2002-05-29  André Pönitz <poenitz@gmx.net>
12226
12227         * text.C:
12228         * text2.C:
12229         * lyxtextclass.C:
12230         * sp_pspell.h:
12231         * textclasslist.[Ch]:
12232         * sp_ispell.h: whitespace change
12233
12234 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12237         lyxaction directly now.
12238
12239 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * trans.C:
12242         * lyxfont.C:
12243         * lyxvc.C: remove unused headers
12244
12245 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12246
12247         * Makefile.am:
12248         * buffer.h:
12249         * undostack.h:
12250         * undostack.C:
12251         * undo_funcs.h:
12252         * undo_funcs.C: some cleanups. Use shared_ptr
12253           and a template for the undo stacks.
12254
12255 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12256
12257         * BufferView_pimpl.h:
12258         * BufferView_pimpl.C:
12259         * kbmap.h:
12260         * kbmap.C:
12261         * kbsequence.h:
12262         * kbsequence.C:
12263         * lyxfunc.h:
12264         * lyxfunc.C:
12265         * text2.C: use key_state/mouse_state
12266
12267 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12268
12269         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12270         and LSubstring
12271
12272         * chset.C: change include order
12273         (loadFile): use boost regex and get rid of LRegex and LSubstring
12274
12275         * Makefile.am (BOOST_LIBS): new variable
12276         (lyx_LDADD): use it
12277
12278         * LaTeX.C: change include order.
12279         (scanAuxFile): use boost regex and get rid of LRegex and
12280         LSubstring
12281         (deplog): ditto
12282
12283 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * ColorHandler.h:
12286         * ColorHandler.C:
12287         * FontInfo.h:
12288         * FontInfo.C: moved to frontends/xforms/
12289
12290         * FontLoader.h:
12291         * FontLoader.C: moved into frontends for GUIIzation
12292
12293         * Makefile.am:
12294         * lyx_gui.C:
12295         * lyxfont.C:
12296         * lyxfunc.C: changes from above
12297
12298 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * LColor.C: remove spurious X include
12301
12302         * BufferView_pimpl.C:
12303         * Makefile.am:
12304         * font.h:
12305         * font.C:
12306         * text.C:
12307         * text2.C: move font metrics to frontends/
12308
12309 2002-05-24  Juergen Vigna  <jug@sad.it>
12310
12311         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12312         setting the undo_cursor.
12313
12314         * ParagraphParameters.h: include local includes first.
12315
12316 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12317
12318         * BufferView_pimpl.C:
12319         * BufferView_pimpl.h:
12320         * Makefile.am:
12321         * WorkArea.h:
12322         * WorkArea.C:
12323         * screen.C: move WorkArea into frontends/
12324
12325         * lyxscreen.h:
12326         * screen.C:
12327         * text.C:
12328         * BufferView.C:
12329         * BufferView2.C: move LyXScreen into frontends/
12330
12331         * lyxlookup.h:
12332         * lyxlookup.C:
12333         * lyx_gui.C: move lyxlookup into frontends/xforms/
12334
12335 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * BufferView2.C:
12338         * BufferView_pimpl.C:
12339         * FontLoader.C:
12340         * LyXView.h:
12341         * LyXView.C:
12342         * Makefile.am:
12343         * WorkArea.C:
12344         * XFormsView.h:
12345         * XFormsView.C:
12346         * buffer.C:
12347         * bufferlist.C:
12348         * bufferview_funcs.C:
12349         * converter.C:
12350         * importer.C:
12351         * lyx_cb.C:
12352         * lyx_gui.C:
12353         * lyx_main.C:
12354         * lyx_find.C:
12355         * lyxfunc.C:
12356         * lyxvc.C:
12357         * minibuffer.C:
12358         * text.C:
12359         * text2.C:
12360         * trans.C:
12361         * vc-backend.C: move LyX/XFormsView into frontends/
12362
12363 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12364
12365         * Makefile.am:
12366         * PainterBase.C:
12367         * PainterBase.h:
12368         * Painter.C:
12369         * Painter.h:
12370         * WorkArea.C:
12371         * WorkArea.h:
12372         * screen.C:
12373         * tabular.C:
12374         * text.C:
12375         * text2.C: move Painter to frontends/
12376
12377 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * buffer.C: comment out some some code that depend upon lyx_format
12380         < 220
12381
12382         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12383         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12384
12385         * buffer.h (NO_COMPABILITY): turn off compability
12386
12387         * ColorHandler.C: include scoped_array.hpp
12388
12389         * font.C: Use more specific smart_ptr header.
12390         * Painter.C: ditto
12391         * gettext.C: ditto
12392         * ShareContainer.h: ditto
12393         * lyx_main.h: ditto
12394         * kbmap.h: ditto
12395         * FontInfo.h: ditto
12396         * BufferView_pimpl.h: ditto
12397         * ColorHandler.h: ditto
12398
12399         * kbmap.C (defkey): change call to shared_ptr::reset
12400
12401 2002-05-21  Juergen Vigna  <jug@sad.it>
12402
12403         * buffer.C (insertErtContents): fix to insert ert asis if it is
12404         non empty. Skip it completely if it contains only whitespaces.
12405
12406 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12407
12408         * BufferView_pimpl.C:
12409         * BufferView2.C: clear selection on paste (bug 393)
12410
12411 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12412
12413         * DepTable.C: include ctime
12414
12415 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12416
12417         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12418
12419 2002-05-14  Juergen Vigna  <jug@sad.it>
12420
12421         * text.C (breakParagraph): fixed function to honor the keepempty
12422         layout in the right maner and also to permit the right breaking
12423         algorithm on empty or non empyt keepempty paragraphs.
12424
12425         * paragraph.C (breakParagraph): we have to check also if the par
12426         is really empty (!size()) for isempty otherwise we do the wrong
12427         paragraph break.
12428
12429 2002-05-10  Juergen Vigna  <jug@sad.it>
12430
12431         * buffer.[Ch] : The following are only changes to the ert
12432         compatibility read reading old LaTeX layout and font stuff and
12433         convert it to ERTInsets.
12434
12435         * buffer.h: added isErtInset().
12436
12437         * buffer.C (struct ErtComp): add a fromlayout bool to check
12438         if we're inside a LaTeX layout.
12439         (isErtInset): new helper function.
12440         (insertErtContents): look for other ert insets before this one
12441         and insert the contents there, so that we don't have subsequent
12442         ERT insets with nothing between them. This way we create only one
12443         inset with multiple paragraphs. Also check if we don't insert only
12444         spaces ' ' as they are ignored anyway afterwards in the .tex file
12445         so if we have only spaces we will ignore this latex part in the
12446         new file.
12447         (parseSingleLyXformat2Token \\layout): better compatibility when
12448         reading layout-latex stuff.
12449         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12450         language tag.
12451         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12452         stuff after reading the inset only get the information back from
12453         the stack.
12454
12455 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12456
12457         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12458
12459         * LaTeXFeatures.C (getBabelOptions): New method.
12460
12461 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * BufferView_pimpl.C (Dispatch): work around missing argument for
12464         'layout'
12465
12466 2002-05-08  Juergen Vigna  <jug@sad.it>
12467
12468         * text.C (leftMargin): handle paragraph leftindent.
12469
12470         * paragraph.C (writeFile): write the new \\leftindent tag.
12471         (validate): handle leftindent code.
12472         (TeXEnvironment): handle paragraphleftindent code again.
12473
12474         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12475
12476         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12477         for paragrap_extra indent code and new token \\leftindent.
12478         (latexParagraphs): handle the leftindent as environment.
12479
12480         * ParameterStruct.h: added leftindent support.
12481
12482         * ParagraphParameters.C (leftIndent): added support functions for
12483         the paragraph left indent.
12484
12485         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12486         more appropriate.
12487
12488 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12489
12490         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12491         inside insetERT.
12492
12493         * text.C (computeBidiTables): No bidi in insetERT.
12494
12495         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12496         in RTL documents.
12497
12498 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12499
12500         * version.C.in: pre 5
12501
12502 2002-05-02  José Matos  <jamatos@fep.up.pt>
12503         * buffer.C (makeDocBookFile): white space changes, add newline to
12504         command styles.
12505         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12506
12507         * tabular.C (docBook): fix typo.
12508
12509 2002-05-03  Juergen Vigna  <jug@sad.it>
12510
12511         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12512         change in LyXText as we can not be sure it was not freed.
12513         (drawOneRow): remove unused code.
12514
12515         * text.C (drawInset): redo the calculation of the need_break_row as
12516         it could have a row which was already freed.
12517         (draw): look at the return value of drawInset and return false if
12518         it also returned false.
12519         (paintRowText): look at the return value of draw and return false if
12520         it also returned false.
12521
12522         * lyxtext.h: added bool return type to drawInset() and draw() so that
12523         if we have a change in the row so that the rowbreak has to be redone
12524         we abort drawing as it will be called again.
12525
12526 2002-05-02  Juergen Vigna  <jug@sad.it>
12527
12528         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12529         a change in the maintext also if we're inside an inset.
12530         (Dispatch): set the cursor again after a break line and after the
12531         screen has been updated as it could be we're in a different row.
12532
12533         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12534         to set the cursor behind the pargraph with > size().
12535         (setCursor): check also for the same paragraph when checking where
12536         to put the cursor if we have a NFR inset.
12537
12538         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12539         parts of layout read further up as it still was in the wrong
12540         position.
12541
12542 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * screen.C (drawFromTo): change sine fullRebreak always return
12545         true.
12546
12547         * buffer.C (parseSingleLyXformat2Token): reindent some
12548
12549         * BufferView_pimpl.C (update): change since fullRebreak always
12550         return true.
12551         (Dispatch): git rid of the last hardcoded "Standard"s.
12552
12553 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * text2.[Ch] (fullRebreak): make it return void now that we always
12556         returned true.
12557
12558 2002-04-30  Juergen Vigna  <jug@sad.it>
12559
12560         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12561         ert compatibility check for "latex" layout.
12562
12563 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12564
12565         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12566         minipages: use col% instead of p%, and also use the current font.
12567         (makeLaTeXFile): Fix use babel condition.
12568         (parseSingleLyXformat2Token): Correct font when reading old floats.
12569
12570 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12571
12572         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12573         inserting list of floats.
12574
12575 2002-04-25  Herbert Voss  <voss@lyx.org>
12576
12577         * MenuBackend.C (expand): don't add the graphics extensions to the
12578         export menu
12579
12580 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12581
12582         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12583         non-existing layout, do not complain if it was the default layout
12584         of the original class (bug #342)
12585
12586 2002-04-24  Juergen Vigna  <jug@sad.it>
12587
12588         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12589         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12590
12591 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12592
12593         * buffer.C (getBibkeyList): If using \bibliography, return the
12594         option field with the reference itself. Enables us to provide natbib
12595         support when using \bibliography.
12596
12597 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12598
12599         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12600
12601         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12602         natbib is provided by the LaTeX class.
12603
12604 2002-04-23  Juergen Vigna  <jug@sad.it>
12605
12606         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12607         Wakeup functions.
12608
12609         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12610
12611 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12612
12613         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12614
12615         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12616         ensuremath around textordmasculine, textordfeminine and
12617         textdegree.
12618
12619 2002-04-19  Juergen Vigna  <jug@sad.it>
12620
12621         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12622         reinitializing the buffer otherwise row-dimensions may be wrong.
12623         (update): reset also the selection cursors if they do exits otherwise
12624         their x/y positions may be wrong.
12625
12626         * text2.C (cursorDown): don't enter the inset if we came from a row
12627         above and are one row over the inset.
12628
12629         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12630         really leaving an inset.
12631
12632 2002-04-18  Juergen Vigna  <jug@sad.it>
12633
12634         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12635         of the selected paragraph does not have the selected layout also if
12636         the last one had!
12637
12638         * text2.C (setLayout): fixed bug which did not change last selected
12639         paragraph.
12640
12641         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12642         changed the read and substituted \\end_float with \\end_inset!
12643
12644         * BufferView_pimpl.C (cursorPrevious):
12645         (cursorNext): fixed to make it work with rows heigher than the work
12646         area without moving the cursor only the draw of the row.
12647         (workAreaMotionNotify): fix jumping over high rows.
12648
12649 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12652         Ressler.
12653
12654 2002-04-16  Juergen Vigna  <jug@sad.it>
12655
12656         * text2.C (setCursor): set also the irow().
12657         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12658         (cursorUp):
12659         (cursorDown): support for locking an inset if the x_fix value goes
12660         inside it. That way I can transverse insets too with cursor up/down.
12661
12662         * lyxrow.h: added irow helper function same as other (i) functions.
12663
12664         * BufferView_pimpl.C (cursorPrevious):
12665         (cursorNext): fixed for insets!
12666
12667 2002-04-15  Juergen Vigna  <jug@sad.it>
12668
12669         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12670         position otherwise it is wrong in some cases.
12671
12672         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12673         inside the inset before the call.
12674
12675 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12676
12677         * buffer.[Ch] (getBibkeyList): make it const.
12678
12679 2002-04-12  Juergen Vigna  <jug@sad.it>
12680
12681         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12682
12683         * text2.C (getCursorX): new helper function
12684         (setCursor): compute also ix_
12685         (setCursorFromCoordinates): set also ix.
12686
12687         * lyxcursor.h: added ix_ and helper functions.
12688
12689         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12690
12691         * buffer.C (insertStringAsLines): dont break paragraph if the this
12692         paragraph is inside an inset which does not permit it!
12693
12694         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12695         also with no chars on this paragraph.
12696         (paintRowText): only paint stuff if it's inside the workarea!
12697
12698         * paragraph.C (breakParagraph): honor keepempty flag and break the
12699         paragraph always below not above.
12700
12701         * BufferView2.C (unlockInset): update the paragraph layout on inset
12702         unlock as we changed paragraph in such a case.
12703
12704         * lyxfind.C (LyXFind): clear the former selection if not found!
12705
12706         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12707         again called in insertChar().
12708
12709         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12710         an inset which uses the whole row!
12711         (rightMargin): ditto.
12712         (insertChar): force a rebreak if we inserted an inset!
12713
12714 2002-03-28  Herbert Voss  <voss@lyx.org>
12715
12716         * lyxlength.[Ch]: add inBP() to get the right PS-point
12717         units (BigPoint). With inPixels we have rounding errors
12718
12719 2002-04-11  Juergen Vigna  <jug@sad.it>
12720
12721         * text2.C (setCursorFromCoordinates): set iy to the right value.
12722         (setCursor): add check if row->previous exists!
12723
12724         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12725         an old float_type as this was the case in the old code!
12726
12727         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12728
12729         * BufferView2.C (showLockedInsetCursor): use iy
12730         (fitLockedInsetCursor): ditto
12731
12732         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12733         locked insets as there we have the right value now.
12734
12735         * lyxcursor.C: added iy_ variable and iy functions to set to the
12736         baseline of cursor-y of the locked inset.
12737
12738         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12739         (setCursor): fixed for insets which need a full row.
12740
12741         * text.C (rowLastPrintable): don't ignore the last space when before
12742         an inset which needs a full row.
12743         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12744         as last character of a row when before a inset which needs a full row.
12745
12746 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * version.C.in: update date
12749
12750         * text2.C (fullRebreak): try to always return true and see what
12751         happens...
12752
12753 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12754
12755         * MenuBackend.C (expand): use Floating::listName
12756
12757         * FloatList.C (FloatList): add listName argument to the built-in
12758         floats
12759
12760         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12761         text associated with the float.
12762
12763 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12764
12765         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12766
12767 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * ShareContainer.h: add a couple of missing typenames.
12770
12771 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12772
12773         * lyxrc.C (getDescription): use _() correctly rather than N_().
12774
12775 2002-03-28  Herbert Voss  <voss@lyx.org>
12776
12777         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12778         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12779
12780 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12781
12782         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12783         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12784
12785 2002-03-29  Juergen Vigna  <jug@sad.it>
12786
12787         * lyxfunc.C (dispatch): add a missing fitCursor call.
12788
12789         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12790         it was scrolled by a cursor move, so return the bool status.
12791
12792         * BufferView.C (fitCursor): return the bool flag also to the outside
12793         world as this is needed.
12794
12795         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12796
12797         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12798         call the edit() as it is not needed (and wrong) IMO.
12799         (workAreaButtonPress): set the screen_first variable before evt.
12800         unlock the inset as this may change screen_first and then we have
12801         a wrong y position for the click!
12802
12803 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12804
12805         * MenuBackend.C (expand): another translation that I missed
12806
12807 2002-03-28  Juergen Vigna  <jug@sad.it>
12808
12809         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12810
12811         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12812
12813 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12816
12817         * MenuBackend.C (expand): fix export/view/update when there is no
12818         document open.
12819
12820 2002-03-27  Herbert Voss  <voss@lyx.org>
12821
12822         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12823         and text%
12824
12825 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * bufferview_funcs.C (currentState): only show paragraph number
12828         for is DEVEL_VERSION is set.
12829
12830         * lyxfunc.C (dispatch): put warning in INFO channel
12831
12832         * MenuBackend.C (expand): translate the name of floats
12833
12834         * FloatList.C (FloatList): mark the float names for translation
12835
12836         * converter.C (convert): use LibScriptSearch
12837
12838 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12839
12840         * MenuBackend.C (defaults): fix default menu (we might as well get
12841         rid of it...)
12842
12843 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12846         directory.
12847
12848 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12849
12850         * lyxvc.C: reorder includes.
12851
12852 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12855           properly
12856
12857 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * CutAndPaste.C: change layouts earlier on paste
12860           to avoid crashing when calling getFont()
12861
12862 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12863
12864         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12865         irritating #error.
12866
12867 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * WorkArea.C: remove 'Pending' debug message.
12870
12871         * most files: ws cleanup
12872
12873         * buffer.[Ch]: ws changes
12874
12875         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12876
12877 2002-03-21  Juergen Vigna  <jug@sad.it>
12878
12879         * tabular.C (SetMultiColumn): collapse also the contents of the
12880         cells and set the last border right. Added a Buffer const * param.
12881
12882 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12883
12884         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12885         linking or not.
12886
12887 2002-03-19  Juergen Vigna  <jug@sad.it>
12888
12889         * text2.C (clearSelection): reset also xsel_cache.
12890
12891         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12892         where it needs to be called (John tells us to do so too :)
12893         (selectionLost): reset sel_cache.
12894
12895         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12896
12897 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12898
12899         * text2.C (setCursorIntern): put debuging code in INSETS channel
12900
12901 2002-03-19  André Pönitz <poenitz@gmx.net>
12902
12903         * lyxfunc.C: tiny whitespace change
12904
12905 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * ToolbarDefaults.C (init):
12908         * LyXAction.C (init):
12909         * commandtags.h:
12910         * BufferView_pimpl.C (Dispatch):
12911         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12912
12913 2002-03-19  Allan Rae  <rae@lyx.org>
12914
12915         * exporter.C (Export): removeAutoInsets before doing anything else.
12916         While I've just introduced a dependency on BufferView this really is
12917         the best place to clean the buffer otherwise you need to cleanup in
12918         a dozen places before calling export or cleanup in a dozen functions
12919         that export calls.
12920
12921         * converter.C (runLaTeX):
12922         (scanLog): Better handling of removeAutoInsets and screen updates.
12923
12924         * lyxfunc.C (dispatch): small whitespace changes
12925
12926 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12927
12928         * WorkArea.C (C_WorkAreaEvent): return a value.
12929         (event_cb): return 1 if we handled the event, 0 otherwise.
12930
12931         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12932
12933 2002-03-18  Juergen Vigna  <jug@sad.it>
12934
12935         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12936         (GetAdditionalWidth): ditto.
12937         (RightLine): ditto.
12938         (LeftLine): ditto.
12939
12940         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12941         inset if we're there actually (probably not used right now but this
12942         is the direction to go for unifying code).
12943         (paste): disable code to clear the selection.
12944
12945         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12946         inside an InsetText and move the check further up as it is in the
12947         wrong place.
12948
12949         * text2.C (pasteSelection): set a selection over the pasted text.
12950
12951 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12952
12953         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12954         and libgraphics to build on Cygwin.
12955
12956 2002-03-15  Juergen Vigna  <jug@sad.it>
12957
12958         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12959         inserting an Inset into the paragraph. I know this is not the best
12960         fix but we already use current_view in CutAndPaste so we will remove
12961         all of it's using at the same time.
12962
12963         * buffer.C (sgmlError): deactivated function till it is rewritten in
12964         the right mode, now it can create problems.
12965
12966         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12967         before accessing it.
12968
12969 2002-03-14  Juergen Vigna  <jug@sad.it>
12970
12971         * undo_funcs.C (textHandleUndo): do the right thing when updating
12972         the inset after the undo/redo.
12973
12974         * text2.C (setCursor): just some testcode for #44 not ready yet.
12975
12976         * undo_funcs.C (textHandleUndo): set the next() and previous()
12977         pointers of the paragraph to 0 before deleting otherwise we have
12978         problems with the Paragraph::[destructor].
12979
12980         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12981         on a paragraph insertion.
12982
12983 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * buffer.C (asciiParagraph): use += operator for char append to
12986         string.
12987
12988         * paragraph.C (getFontSettings): compare >= not just >
12989         (highestFontInRange): ditto
12990         (setFont): ditto
12991
12992 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * paragraph.C: change several algorithm to be more appripriate for
12995         the problem domain. This is lookip in FontList and in the InsetList.
12996
12997 2002-03-13  André Pönitz <poenitz@gmx.net>
12998
12999         * commandtags.h:
13000         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13001
13002 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13003
13004         * commandtags.h:
13005         * LyXAction.C:
13006         * lyxfunc.C:
13007         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13008
13009 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * Painter.C (display): anon helper function, adjust code for this
13012         change.
13013         (pixmap): remove function.
13014
13015         * Painter.h: remove private display variable.
13016
13017         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13018
13019 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13020
13021         * WorkArea.[Ch]: remove figinset_canvas cruft.
13022
13023 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * lyxtextclass.C (operator): add one item cache optimization.
13026
13027         * bufferlist.h: doxy changes
13028
13029         * bufferlist.C: ws changes
13030
13031         * DepTable.[Ch] (ext_exist): place const in the right spot.
13032
13033         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13034         call resizeInsets.
13035         (workAreaExpose): call resizeInsets when the with BufferView changes.
13036         (Dispatch): adjust for protectedBlank removal
13037         (specialChar): call updateInset if the insert went ok.
13038
13039         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13040         specialChar instead.
13041
13042         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13043
13044         * BufferView.h: doxy change
13045
13046         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13047
13048         * lyxtextclass.C (operator[]): remove non-const version
13049         (defaultLayout): remove non-const version
13050
13051 2002-03-12  Juergen Vigna  <jug@sad.it>
13052
13053         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13054         did resize the LyXText too.
13055
13056         * buffer.C (readLyXformat2): set layout information on newly allocated
13057         paragraphs.
13058
13059         * tabular.C (OldFormatRead): set layout information on the paragraph.
13060
13061 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13062
13063         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13064
13065 2002-03-11  Juergen Vigna  <jug@sad.it>
13066
13067         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13068         plainly wrong.
13069         (resizeCurrentBuffer): force also the insets to resize themselfes.
13070         (moveCursorUpdate): fixed up for InsetText.
13071
13072 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * commandtags.h:
13075         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13076         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13077         value of Dialogs::tooltipsEnabled().
13078         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13079
13080 2002-03-08  Juergen Vigna  <jug@sad.it>
13081
13082         * BufferView_pimpl.C (updateInset): update inset inside inset also
13083         if it isn't inside theLockingInset().
13084
13085 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * buffer.C (asciiParagraph): redo some of the word and line length
13088         handling.
13089         (getLists): look for Caption instead of caption.
13090
13091 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * buffer.C (Buffer): initialize niceFile to true
13094         (makeLaTeXFile):
13095         (makeLinuxDocFile):
13096         (makeDocBookFile): make sure niceFile is true on exit
13097
13098 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13099
13100         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13101
13102 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13103
13104         * LyXSendto.C: remove.
13105         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13106         * lyx_gui.C: remove now-redundant comment.
13107         * ColorHandler.h: remove forward declaration of class WorkArea.
13108         * lyxfunc.C: remove #include "WorkArea.h".
13109
13110 2002-03-07  Juergen Vigna  <jug@sad.it>
13111
13112         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13113         got moved away with the DEPM and also set the inset_owner always
13114         right which before could have been omitted.
13115
13116 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13117
13118         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13119         wanted layout is not found.
13120
13121 2002-03-07  Juergen Vigna  <jug@sad.it>
13122
13123         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13124
13125 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * paragraph.C (breakParagraph): use default layout not layout of
13128         prev paragraph.
13129         (Paragraph): clear ParagraphParameters.
13130
13131 2002-03-06  Juergen Vigna  <jug@sad.it>
13132
13133         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13134         otherwise it would not be a valid lenght. Fixed a special case in
13135         the minipage compatibility read where we end the document with a
13136         minipage.
13137
13138         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13139         was set as it could be 0 for InsetTexts first entry.
13140
13141 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * paragraph.C (writeFile): if layout is empty write out
13144         defaultLayoutName().
13145
13146         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13147         file without named layout we set layout to defaultLayoutName().
13148
13149 2002-03-06  Juergen Vigna  <jug@sad.it>
13150
13151         * CutAndPaste.C (copySelection): set layout for new paragraph.
13152
13153         * text.C (prepareToPrint): leave ERT inset left aligned
13154         (leftMargin): don't indent paragraphs inside ERT insets
13155
13156 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * paragraph.C (breakParagraph): dont call clear do the work manually
13159
13160         * paragraph.[Ch] (clear): remove function
13161
13162 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * paragraph.C (Paragraph): dont call clear, the work has already
13165         been done.
13166
13167         * lyxtextclass.C (operator): assert if n is empty
13168
13169         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13170         work manually instead.
13171
13172 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * BufferView_pimpl.C: protect selectionLost against text == 0
13175
13176 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * text.C (breakParagraph): fix a setting layout to '0' problem.
13179
13180 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13181
13182         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13183         final location of file, for the included files, and graphics.
13184
13185 2002-03-05  Juergen Vigna  <jug@sad.it>
13186
13187         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13188
13189 2002-03-04  Juergen Vigna  <jug@sad.it>
13190
13191         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13192
13193         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13194         last column of multicolumn cells.
13195         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13196
13197 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13198
13199         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13200         file if it doesn't go to a temporary file.
13201
13202         * buffer.C (sgmlOpenTag):
13203         (sgmlCloseTag):  remove extra newline insertion.
13204
13205 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13206
13207         * text.C (getRowNearY): comment out debug msg
13208
13209 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13210
13211         * text2.C: first -> first_y
13212
13213         * text.C (getRowNearY): add some attemts at a possible
13214         optimization, not working.
13215
13216         * tabular.[Ch]: add BufferParams to several function so that newly
13217         created paragraph can be initialized to he default layotu for the
13218         buffers textclass.
13219
13220         * tabular-old.C (ReadOld): add buf->params to call of Init
13221
13222         * screen.C: rename text->first to text->first_y
13223
13224         * paragraph.C (breakParagraph): always set layout in the broken
13225         paragraph
13226
13227         * lyxtextclass.C (Read): remove lowercase
13228         (hasLayout): ditto
13229         (operator): ditto
13230         (delete_layout): ditto
13231
13232         * lyxtext.h: rename first -> first_y
13233
13234         * lyxlayout.C (Read): remove lowercase
13235         (name): ditto
13236         (setName): ditto
13237         (obsoleted_by): ditto
13238
13239         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13240
13241         * buffer.C (insertErtContents): add params are to InsetERT
13242         (parseSingleLyXformat2Token): add code to check if a paragraphs
13243         layout really exist.
13244         (parseSingleLyXformat2Token): add params to several inset
13245         constructors
13246         (asciiParagraph): remove lowercase, do the layout comparisons with
13247         no_case
13248
13249         * BufferView_pimpl.C (cursorNext): first -> first_y
13250         (resizeCurrentBuffer): first -> first_y
13251         (updateScrollbar): first -> first_y
13252         (scrollCB): first -> first_y
13253         (workAreaMotionNotify): first -> first_y
13254         (workAreaButtonPress): first -> first_y
13255         (checkInsetHit): first -> first_y
13256         (cursorPrevious): first -> first_y
13257         (cursorNext): first -> first_y
13258         (Dispatch): add buffer_->params to severl inset contructors
13259
13260 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * lyxlayout.C (Read): remove some debug info that I forgot.
13263
13264         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13265         clean up the code slightly.
13266         (makeLinuxDocFile): ditto
13267         (makeDocBookFile): ditto
13268
13269         * text2.C: layout as string
13270
13271         * text.C: layout as string
13272
13273         * paragraph_pimpl.C: layout as string
13274
13275         * paragraph.[Ch]: layout as string
13276
13277         * lyxtextclasslist.[Ch]: layout as string
13278
13279         * lyxtextclass.[Ch]: layout as string
13280
13281         * lyxtext.h: layout as string
13282
13283         * lyxlayout.[Ch]: layout as string
13284
13285         * lyx_cb.C: layout as string
13286
13287         * bufferview_funcs.C: layout as string
13288
13289         * bufferparams.C: layout as string
13290
13291         * buffer.C: layout as string
13292
13293         * LyXView.[Ch]: layout as string
13294
13295         * LaTeXFeatures.[Ch]: layout as string
13296
13297         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13298
13299         * BufferView_pimpl.C: change current_layout to string, remove
13300         lyx::layout_type.
13301         (Dispatch):
13302         (smartQuote):
13303         (insertInset):
13304         (workAreaButtonRelease): layout as string
13305
13306         * BufferView2.C (unlockInset): adjust
13307
13308         * vspace.C (asLatexCommand): use an explict temp variable.
13309
13310 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * Makefile.am: use FRONTEND_*
13313
13314 2002-03-01  Juergen Vigna  <jug@sad.it>
13315
13316         * tabular.C (SetWidthOfMulticolCell): changed to something better
13317         I hope but still work in progress.
13318         (recalculateMulticolumnsOfColumn): renamed function from
13319         recalculateMulticolCells as it is more appropriate now.
13320         (SetWidthOfCell): calculate multicols better.
13321
13322 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13325
13326         * lyxfunc.C (processKeySym): print sequence also if it is
13327         `deleted' (complete)
13328
13329         * kbsequence.C (print): print sequence even if it is deleted
13330         (complete would be a better word, actually).
13331
13332         * lyxfunc.C (dispatch): print complete options after a prefix key
13333
13334         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13335
13336 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13337
13338         * text2.C (setCharFont): eliminate setCharFont code duplication.
13339
13340 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13343         LFUN_TABULAR_FEATURE (bug #177)
13344
13345 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13346
13347         * Makefile.am: remove figure.h
13348
13349 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13350
13351         * Bufferview_pimpl.C:
13352         * CutAndPasteC:
13353         * LaTeX.C:
13354         * LyXSendto.C:
13355         * buffer.C:
13356         * bufferlist.C:
13357         * converter.C:
13358         * language.C:
13359         * lyxfunc.C:
13360         * lyxvc.C:
13361         * paragraph.C:
13362         * text.C:
13363         * text2.C: remove #include "lyx_gui_misc.h".
13364
13365         * LaTeX.C: added #include <cstdio>
13366
13367 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13368
13369         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13370         that the paragraph following this one can have.
13371
13372         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13373
13374         * vspace.C (asLatexCommand): fix bogus gcc warning
13375
13376         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13377
13378 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13379
13380         * text2.C (setLayout): get rid of redundant code
13381
13382 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13383
13384         * text2.C (incDepth): make sure depth cannot be increased beyond
13385         reasonable values.
13386
13387 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13388
13389         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13390         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13391
13392         * PainterBase.h (image):
13393         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13394         a LyXImage const *.
13395
13396 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * BufferView.C:
13399         * BufferView.h:
13400         * BufferView_pimpl.C:
13401         * BufferView_pimpl.h:
13402         * LaTeXFeatures.C:
13403         * LyXAction.C:
13404         * LyXView.C:
13405         * Makefile.am:
13406         * UpdateList.h:
13407         * UpdateList.C:
13408         * buffer.C:
13409         * figure.h:
13410         * figureForm.C:
13411         * figureForm.h:
13412         * figure_form.C:
13413         * figure_form.h:
13414         * lyx_cb.C:
13415         * lyx_gui.C:
13416         * lyx_gui_misc.C:
13417         * lyxfunc.C:
13418         * sp_base.h:
13419         * sp_ispell.h:
13420         * sp_pspell.h:
13421         * sp_spell.C: remove fig inset, and the crap house of
13422           cards that follows it
13423
13424 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * Makefile.am:
13427         * lyxserver.C:
13428         * os2_defines.h:
13429         * os2_errortable.h:
13430         * nt_defines.h: move .h into support/
13431
13432         * vms_defines.h: remove
13433
13434         * WorkArea.C: add space in debug output
13435
13436         * text2.C:
13437         * paragraph.C:
13438         * buffer.C: add WITH_WARNINGS
13439
13440         * vc-backend.h:
13441         * vc-backend.C:
13442         * bufferlist.C: s/retrive/retrieve/, add docs
13443
13444         * vspace.h:
13445         * vspace.C:
13446         * kbmap.h:
13447         * lyxlength.h:
13448         * lyxgluelength.h:
13449         * length_common.h:
13450         * chset.h:
13451         * chset.C: add docs
13452
13453         * lyxgui.C: add ID to X error handler
13454
13455         * lyxtestclass.c: fix typo
13456
13457 2002-02-26  Juergen Vigna  <jug@sad.it>
13458
13459         * tabular_funcs.C (write_attribute): changed so that some default
13460         attributes are not written at all.
13461         (getTokenValue): set default values before trying to read the
13462         value so we have the return value always set as default if we don't
13463         find the token we search for.
13464
13465         * tabular.C (Write): write bools as bools not as strings!
13466
13467 2002-02-22  Juergen Vigna  <jug@sad.it>
13468
13469         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13470         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13471
13472         * text.C (leftMargin): don't add an indent for paragraphs inside
13473         tabular cells (fix #208).
13474
13475 2002-02-21  José Matos  <jamatos@fep.up.pt>
13476
13477         * tabular.C (docBook): fixed support for long tables.
13478
13479 2002-02-20  Juergen Vigna  <jug@sad.it>
13480
13481         * text2.C (getFont): get the drawing font of the Inset if this
13482         paragraph is inside an inset (only important for InsetERT for now).
13483
13484         * buffer.C (insertErtContents): use new lanugage params in ERT
13485         constructor.
13486
13487         * CutAndPaste.C: commenting out seemingly uneeded code.
13488
13489 2002-02-19  Allan Rae  <rae@lyx.org>
13490
13491         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13492         Iterators might be simple to use but they also get invalidated.
13493         (removeAutoInsets): renamed saved cursor tracking variables and added
13494         some comments to clarify what everything does.
13495
13496 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13497
13498         * Chktex.C:
13499         * LaTeX.C:
13500         * LyXSendto.C:
13501         * converter.C:
13502         * lyx_cb.C:
13503         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13504         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13505
13506         * lyxfunc.C:
13507         * vc-backend.h: remove #include "support/syscall.h"
13508
13509         * LaTeX.C:
13510         * LyXSendto.C:
13511         * converter.C: rearrange #includes in Lars' approved fashion.
13512
13513         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13514         forward declare class Timeout in the header file.
13515
13516         * XFormsView.C: changes due to the above.
13517
13518         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13519         similar to LyXView.
13520
13521         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13522         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13523
13524 2002-02-18  José Matos  <jamatos@fep.up.pt>
13525
13526         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13527         insets contents.
13528
13529 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13530
13531         * a lot of small ws changes
13532         * add a lot of using std::XXX
13533         * use std construcs some places where approp.
13534         * use some exisint stuff from lyxfunctional where approp.
13535         * Make file changes to use partial linking (lets test this now...)
13536
13537 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * Chktex.C:
13540         * buffer.C:
13541         remove #include "support/syscontr.h" as it's redundant. Always has been.
13542
13543         * Chktex.C:
13544         * LaTeX.C:
13545         * LyXSendto.C:
13546         * converter.C:
13547         * lyx_cb.C:
13548         * vc-backend.C:
13549         change Systemcalls::System to Systemcalls::Wait and
13550         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13551         No change of functionality, just reflects the stripped down Systemcalls
13552         class.
13553
13554 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13555
13556         * debug.[Ch]: add a GRAPHICS type to the enum.
13557
13558 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13559
13560         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13561
13562         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13563         there is an inset.
13564
13565 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13566
13567         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13568         match the changes below.
13569
13570         * text2.C (toggleInset): if there is not editable inset at cursor
13571         position, try to see if cursor is _inside_ a collapsable inset
13572         and close it.
13573
13574 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13575
13576         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13577         document menu has a nice checkbox
13578
13579 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13580
13581         * lyxlength.C (asLatexString): change PW to output as percent of
13582         \textwidth.
13583
13584         * lengthcommon.C: change '%' to 't%'
13585
13586         * lyxfunc.C (dispatch): a few comments from Martin
13587
13588 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * WorkArea.h:
13591         * WorkArea.C:
13592         * BufferView_pimpl.h:
13593         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13594           the X selection.
13595
13596 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13597
13598         * vspace.C (inPixels): fix compiler warning
13599
13600 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13601
13602         * lyxfunc.C (getStatus): fix status message for disabled commands.
13603
13604 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * BufferView_pimpl.C: fix crash on close buffer
13607         during selection (#227)
13608
13609 2002-01-27  Herbert Voss  <voss@lyx.org>
13610
13611         * buffer.C: link old Figure to new graphic inset
13612
13613 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13614
13615         * FontLoader.C (getFontinfo): Change the latex font names in order
13616         to match the names of type1inst.
13617
13618 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13621
13622         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13623         (extchanged): ditto
13624         (ext_exist): ditto
13625         (remove_files_with_extension): ditto
13626         (remove_file): ditto
13627         (write): ditto
13628
13629         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13630         document is smaller than the work area height. Do not initialize
13631         static variables to 0.
13632
13633 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13634
13635         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13636
13637         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13638         LFUN_LAYOUT_PARAGRAPHS.
13639
13640         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13641         tabular. It is possible to provide a possible cell, which will
13642         typically be the actcell from the corresponding insettabular
13643
13644         * lyxfunc.C (getStatus): small cleanup; disable
13645         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13646         true
13647
13648 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13649
13650         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13651
13652         * paragraph.C (startTeXParParams):
13653         (endTeXParParams): new methods. The LaTeX code to
13654         start/end paragraph formatting
13655         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13656         empty (fixes bug #200)
13657
13658         * vspace.C (inPixels): adapt to the change below
13659         (inPixels): [later] more cleanups (remove unused variables)
13660
13661         * lyxlength.C (inPixels): change to use a width and a height as
13662         parameter.
13663
13664 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13665
13666         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13667         Replaced with \paperwidth
13668
13669         * DepTable.C (insert): add std:: qualifier
13670
13671 2002-01-18  Allan Rae  <rae@lyx.org>
13672
13673         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13674         updated also?
13675
13676         * text.C (drawInset): Turned out I didn't know enough about how
13677         rebreaking worked.  This fixes most of the redraw problems.  I see
13678         an occasional cursor trail when a line is broken now and the cursor
13679         placement can seem out by a few pixels also after a rebreak.
13680
13681 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13682
13683         * buffer.C (parseSingleLyXformat2Token): update because minipage
13684         width is now a LyXLength
13685
13686         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13687
13688         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13689         math insets
13690
13691 2002-01-17  Juergen Vigna  <jug@sad.it>
13692
13693         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13694
13695         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13696         is set correctly and the inset is updated correctly.
13697
13698 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13699
13700         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13701         the beginning of the loop.
13702
13703 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13704
13705         * lyxrc.C: improve help for use_scalable_fonts
13706
13707 2002-01-17  Allan Rae  <rae@lyx.org>
13708
13709         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13710
13711 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13712
13713         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13714         make sure to set their inset_owner to the right value (bug #171)
13715
13716 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13717
13718         * DepTable.h
13719         * DepTable.C: Implement mtime checking to reduce time spent doing
13720         CRCs.
13721
13722 2002-01-16  Juergen Vigna  <jug@sad.it>
13723
13724         * tabular.C (GetAdditionalHeight): one of error fixed.
13725
13726         * lyxrc.C (output): small fix in writing use_pspell.
13727
13728 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13729
13730         * sp_base.h: #include LString.h
13731
13732 2002-01-16  Allan Rae  <rae@lyx.org>
13733
13734         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13735         Can someone check this please?
13736
13737         * text.C (drawInset): It was possible that p.row would be removed by
13738         breakAgainOneRow upsetting a few other settings.  There may be another
13739         small tweak possible by setting need_break_row = 0 when p.row has been
13740         removed but I don't know enough about the logic here.
13741
13742 2002-01-15  Allan Rae  <rae@lyx.org>
13743
13744         * text.C (insertChar): removed conditional truism.
13745
13746         * BufferView2.C (removeAutoInsets): More tweaks.
13747         cur_par_prev could be a stray pointer.  Check for trailing empty line
13748         in case last line was cur_par and only had an error inset on it.
13749
13750 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13751
13752         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13753         absolute
13754
13755         * vc-backend.C (most methods):
13756         * exporter.C (Export):
13757         * converter.C (convert):
13758         (runLaTeX):
13759         * LyXSendto.C (SendtoApplyCB):
13760         * lyxfunc.C (dispatch):
13761         (menuNew):
13762         (open):
13763         (doImport):
13764         * lyx_cb.C (AutoSave):
13765         (InsertAsciiFile):
13766         * BufferView_pimpl.C (MenuInsertLyXFile):
13767         * buffer.C (runChktex): use Buffer::filePath().
13768
13769         * buffer.h: rename filename to filename_; rename filepath to
13770         filepath_ and make it private
13771         (filePath): new method
13772
13773         * buffer.C (writeFile): use fileName()
13774         (getLatexName):
13775
13776         * lyx_main.C (init): fix starting  of LyX when the binary is a
13777         link from so,ewhere else.
13778
13779         * minibuffer.C: include <cctype> for isprint
13780
13781 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13782
13783         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13784         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13785         name clash with InsetCollapsable's width function.
13786
13787 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13788
13789         * lastfiles.C: include <iterator>
13790
13791 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13794         std::count.
13795
13796         * buffer.C (makeLaTeXFile): ditto.
13797         Also make loop operation more transparent.
13798
13799 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13800
13801         * ToolbarDefaults.C: remove trailing comma closing namespace.
13802
13803         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13804
13805         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13806         as in WorkArea.
13807
13808         * trans.C (Load): comment out unused variable, allowed.
13809
13810 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13811
13812         * minibuffer.[Ch] (append_char): new method to recieve input from the
13813         drop-down completion browser. If a key was pressed, then recieve this
13814         char and append it to the existing string.
13815         (peek_event): modify the positioning data passed to the completion
13816         browser so that it can be placed above the minibuffer rather than below.
13817 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13818
13819         * LyXAction.C (init): alloe error-next for readonly documents.
13820
13821         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13822         count.
13823
13824 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13825
13826         * bufferlist.C (readFile): create the buffer _after_ checking that
13827         the file exists.
13828
13829         * lyxfunc.C (verboseDispatch): fix handling of arguments
13830
13831         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13832
13833         * lyxrc.C: use string::erase() instead of initializing to "".
13834
13835
13836 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * BufferView_pimpl.h:
13839         * BufferView_pimpl.C:
13840         * WorkArea.h:
13841         * WorkArea.C:
13842         * text2.C: tell X when we have made a selection for copying
13843
13844 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13845
13846         * BufferView_pimpl.C (MenuInsertLyXFile):
13847         * lyxfunc.C (menuNew):
13848         (open):
13849         (doImport): add shortcuts to directory buttons
13850
13851         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13852         open a float)
13853
13854         * lyxfunc.C (setStatusMessage):
13855         (getStatusMessage): new methods
13856         (getStatus):use setStatusMessage instead of setErrorMessage
13857         (dispatch): when function is disabled, set error message here
13858         [instead of in getStatus previously]
13859
13860         * BufferView_pimpl.C (workAreaButtonRelease): update
13861         toolbar/menubar here too.
13862
13863 2002-01-13  Allan Rae  <rae@lyx.org>
13864
13865         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13866         Now seems indestructible.  Remaining task is to audit all other
13867         code affected by deleteEmptyParagraphMechanism.  One small quirk
13868         left is that an empty document with an error in the preamble can
13869         be made to report an error but no error box appears.  I don't know
13870         where it goes.
13871         (removeAutoInsets): Improved comments.
13872
13873 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13874
13875         * Thesaurus.h:
13876         * Thesaurus.C: update for Aiksaurus 0.14
13877
13878 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13879
13880         * text2.C (firstParagraph): removed member function, all uses
13881         replaces with ownerParagraph
13882         (redoParagraphs): here
13883         (updateInset): here
13884         (toggleAppendix): here
13885         * BufferView2.C (insertErrors): here
13886         (setCursorFromRow): here
13887
13888 2002-01-13  Allan Rae  <rae@lyx.org>
13889
13890         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13891         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13892         There is still a way to segfault this although you may have to do this
13893         multiple times: Have an InsetERT with an unknown command in it.
13894         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13895         <down-arrow>, <Enter> again, View->DVI, BANG!
13896
13897         * text2.C (setCursor):
13898         (deleteEmptyParagraphMechanism):
13899         * lyxtext.h (setCursor):
13900         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13901         Making use of the return value may help fix other bugs.
13902
13903 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13904
13905         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13906
13907         * LyXView.C (updateMenubar): call MenuBar::update here
13908         (updateToolbar): but not here
13909         (showState): do not update toolbar/menubar
13910
13911         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13912         should need to care about that.
13913
13914         * lyxfunc.C (verboseDispatch): simplify a bit
13915         (getStatus): have a version which takes a pseudoaction, and
13916         another which requires a (kb_action,string).
13917
13918         * LyXAction.C (retrieveActionArg): make it work also when action
13919         is not a pseudo-action.
13920         (getActionName): simplify a bit
13921         (helpText):
13922
13923 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13924
13925         * lyxfunc.C (verboseDispatch): new families of methods with
13926         several ways to specify a command and a bool to indicate whether
13927         the command name and shortcut should be displayed in minibuffer
13928         (eventually, we could extend that to a finer bitmask like
13929         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13930         (dispatch): the pristine dispatch command which just, well,
13931         dispatchs! Note it still sets its result to minibuffer; I'm not
13932         sure we want that.
13933
13934         * lyxfunc.h: remove setHintMessage
13935
13936         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13937
13938 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * BufferView_pimpl.C (specialChar): delete new inset if we have
13941         not been able to insert it.
13942
13943         * kbmap.C: revert to using int instead of kb_action, since all we
13944         are dealing with is pseudo-actions.
13945
13946         * LyXAction.C (searchActionArg): change to return int instead of
13947         kb_action, since the result is a pseudoaction.
13948
13949 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13950
13951         * buffer.C (insertErtContents): Fix (partially) the font bug.
13952
13953 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13954
13955         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13956         as the other one is broken on my machine!
13957
13958 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13959
13960         * commandtags.h:
13961         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13962
13963 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13964
13965         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13966         reflect their actual use. Provide compatibility code for older lyxrc
13967         files.
13968
13969         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13970         FL_NORMAL_STYLE.
13971         change names of popup font variables in line with the changes to lyxrc.C
13972
13973 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13974
13975         * buffer.C (asciiParagraph): avoid outputing a word twice after
13976         an inset.
13977
13978         * lyxrc.C (getDescription): document that document_path and
13979         template_path can be empty.
13980
13981 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13982
13983         * LaTeXFeatures.C (getMacros):
13984         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13985
13986         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13987
13988         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13989         getPackages.
13990         (getPackages): rename feature "floats" to "float". Use an array to
13991         iterate over 'simple' features (i.e. just a \usepackage). Add
13992         handling of "amsmath" (renamed from "amsstyle").
13993
13994 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13995
13996         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13997         features list.
13998
13999 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14000
14001         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14002         FuncStaus::FuncStatus & FuncStaus::some_method().
14003
14004 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14005
14006         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14007         of the func_satus stuff. Edited and massaged in various ways by
14008         JMarc.
14009
14010         * lyxfunc.C (getStatus): use FuncStatus
14011
14012 2002-01-08  Juergen Vigna  <jug@sad.it>
14013
14014         * text.C (nextBreakPoint): use function Inset::isChar().
14015
14016         * paragraph.C (TeXOnePar): use function
14017         Inset::forceDefaultParagraphs.
14018
14019         * buffer.C (latexParagraphs): use function
14020         Inset::forceDefaultParagraphs.
14021
14022 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14023
14024         * lyx_gui.C (init): set the style of the menu popups to
14025         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14026
14027 2002-01-07  Juergen Vigna  <jug@sad.it>
14028
14029         * text.C (setHeightOfRow): small fix
14030         (prepareToPrint): don't look at alignment if we don't have the place
14031         for doing it.
14032
14033 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * box.C: New file. Move the Box methods and functions out of box.h,
14036         following Lars' suggestion.
14037
14038 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * box.h: #include "support/LOstream.h", needed for inlined function.
14041
14042         * lyxtextclass.C:
14043         * lyxtextclasslist.C: added some using std declarations.
14044
14045 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14046
14047         * box.h: make signed dimensions to allow insets wider than
14048           the screen (bug #162)
14049
14050         * BufferView_pimpl.C: add some insetHit debug
14051
14052 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14053
14054         * vc-backend.C: add FIXME
14055
14056 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14057
14058         * lyxfunc.C (getStatus): enable code for showing math font status
14059         in toolbar/menu.
14060
14061 2002-01-07  Juergen Vigna  <jug@sad.it>
14062
14063         * text.C (nextBreakPoint): removed debug output not needed anymore.
14064
14065 2002-01-06  Juergen Vigna  <jug@sad.it>
14066
14067         * text.C (nextBreakPoint): fixed up this function we had this bug
14068         since ever but now hopefully we break row better.
14069         (insertChar): we have to check if an inset is the next char as it
14070         could now happen that a large inset is causing a break.
14071
14072 2002-01-05  Juergen Vigna  <jug@sad.it>
14073
14074         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14075         if it doesn't like to be drawed.
14076
14077 2002-01-04  Juergen Vigna  <jug@sad.it>
14078
14079         * BufferView2.C (lockInset): forgot to set a cursor.
14080
14081         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14082
14083 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14084
14085         * FormMathsPanel.C:
14086         * FormMathsPanel.h
14087         * MathsSymbols.C:
14088         * form_maths_panel.C:
14089         * form_maths_panel.h:
14090         * form_maths_panel.fd: implemented sub- and super- buttons in math
14091         panel.
14092
14093         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14094         (or ^ space) to be used as in TeX (req'd by Andr�.
14095
14096         * lyxfunc.C: Allow ^ and _ again to be used both as
14097         super/subscript (mathed) and as themselves (in text).
14098
14099 2002-01-03  Allan Rae  <rae@lyx.org>
14100
14101         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14102         "LyX" or the filename of the current buffer if it has one.  This is a
14103         modified form of John Levon's patch.
14104
14105         * XFormsView.C (setWindowTitle): also set icon title.
14106
14107         * LyXView.h (setWindowTitle): signature changed.
14108         * XFormsView.h (setWindowTitle): ditto.
14109
14110 2002-01-02  Juergen Vigna  <jug@sad.it>
14111
14112         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14113
14114 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14115
14116         * screen.C (topCursorVisible): introduce a temp var for
14117         text->cursor.row(), handle the case where this row is null. (kindo
14118         hachish)
14119
14120         * text2.C (setCursor): add a couple of asserts.
14121
14122         * paragraph.h (inset_iterator): add -> operator
14123
14124         * paragraph.[Ch] (autoDeleteInsets): remove member function
14125
14126         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14127         cursor pos correctly and handle inset deletion by itself.
14128         (insertErrors): move iterator declaration out of for expression
14129
14130         * lyxtextclass.C: add <algorithm>
14131
14132         * Makefile.am: added the new files to sources, removed layout.C
14133
14134         * layout.C: removed file
14135
14136         * layout.h: remove LYX_DUMMY_LAYOUT
14137
14138         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14139         layout.
14140
14141         * lyxlayout.[Ch]:
14142         * lyxtextclass.[Ch]:
14143         * lyxtextclasslist.[Ch]: new files
14144
14145         * include order changes to a lot of files, also changes because of
14146         the six new files.
14147
14148 2001-12-27  Juergen Vigna  <jug@sad.it>
14149
14150         * buffer.C (asciiParagraph): more fixes.
14151
14152         * tabular.C (ascii): make ascii export support export of only the
14153         data separated by a column-delimiter.
14154         (ascii): better support for ascii export.
14155
14156         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14157
14158 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14159
14160         * tabular_funcs.C: use a "using std::getline" instead of the
14161         previous fix from Angus (necessary for cxx + lyxstring)
14162
14163 2001-12-24  Juergen Vigna  <jug@sad.it>
14164
14165         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14166
14167         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14168         problems. First check a minipage also if we have some ert-contents
14169         (not only on par->size(), second set the right depth of the paragraph
14170         on the relink to the root-paragraph-list!
14171
14172         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14173         which then did not anymore update the main paragraphs on undo/redo!
14174
14175 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14176
14177         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14178         code. Support all font-changing funcs (even those which are not in
14179         menu currently). Support for reporting font settings in
14180         mathed (disabled until Andre provides a function on mathed's side).
14181
14182         * func_status.h (toggle): small helper function to set toggle
14183         state on a flag.
14184
14185 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14186
14187         * tabular_funcs.C: getline -> std::getline
14188
14189 2001-12-21  Juergen Vigna  <jug@sad.it>
14190
14191         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14192         accessed and could be 0 (I couldn't generate this but it seems
14193         Michael could!).
14194
14195 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14196
14197         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14198         * tabular_funcs.h: here and include iosfwd
14199
14200 2001-12-20  Juergen Vigna  <jug@sad.it>
14201
14202         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14203         inside inset but undo_par was.
14204
14205 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14206
14207         * Thesaurus.C: always include <config.h> in sources.
14208
14209         * Painter.h:
14210         * lyxlookup.h:
14211         * box.h: do not include <config.h> in header files
14212
14213         * text.C (paintLastRow): remove unused variable
14214
14215         * text.C (transformChar):
14216         (insertChar):
14217         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14218
14219         * Painter.C (text):
14220         * font.C (width): rewrite to use uppercase() instead of
14221         islower/toupper.
14222
14223         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14224
14225 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14226
14227         * lyxfind.C: clean up of find failure position change
14228
14229 2001-12-20  Juergen Vigna  <jug@sad.it>
14230
14231         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14232
14233         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14234         (TeXRow): added to LaTeX a single tabular row.
14235         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14236         (Latex): simplified and finally good LT-h/f support.
14237         (various_functions): just small adaptions for LT-h/f support.
14238
14239         * tabular_funcs.[hC]: added and moved here all not classfunctions
14240         of LyXTabular.
14241
14242 2001-12-19  Juergen Vigna  <jug@sad.it>
14243
14244         * tabular.[Ch]: better support for longtabular options (not finished
14245         yet!)
14246
14247 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14248
14249         * text.C (paintLastRow): use the label font instead of the font of
14250         the last character to compute the size of *_BOX. This makes more
14251         sense and avoids a crash with empty paragraphs.
14252         Use Painter::rectangle to draw EMPTY_BOX.
14253
14254 2001-12-19  Juergen Vigna  <jug@sad.it>
14255
14256         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14257         the paragraphs if the replaced paragraph is not the first one!
14258         Tried to delete not used paragraphs but does not work yet so for
14259         now it's inside #ifdef's and by default off!
14260
14261 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14262
14263         * MenuBackend.C: include "lyx_main.h" instead of declaring
14264         lastfiles (actually was declared as LastFiles* instead of a
14265         scoped_ptr).
14266
14267 2001-12-17  Juergen Vigna  <jug@sad.it>
14268
14269         * tabular.C (AppendColumn): applied John's fix
14270
14271 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14272
14273         * BufferView.h:
14274         * BufferView.C:
14275         * BufferView_pimpl.h:
14276         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14277
14278         * Makefile.am:
14279         * box.h: new start of class for above
14280
14281         * lyxfunc.C: ignore space-only minibuffer dispatches.
14282           Show the command name when it doesn't exist
14283
14284         * minibuffer.C: don't add empty lines to the history
14285
14286         * minibuffer.C: add a space on dropdown completion
14287
14288 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14289
14290         * text.C: fix line above/below drawing in insets
14291
14292 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14293
14294         * lyxlength.C (LyXLength): Initialize private variables.
14295
14296 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14297
14298         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14299         when inserting error insets.
14300
14301 2001-12-13  Juergen Vigna  <jug@sad.it>
14302
14303         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14304         actually sometimes the before-paragraph.
14305         (setUndo): don't clear the redostack if we're not actually undoing!
14306
14307 2001-12-06  Juergen Vigna  <jug@sad.it>
14308
14309         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14310         and fixed redoing of main paragraph, so we can use it now ;)
14311
14312         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14313
14314 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14315
14316         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14317         Juergen's request
14318
14319 2001-12-13  André Pönitz <poenitz@gmx.net>
14320
14321         * undostack.[Ch]:
14322         * undo_func.C: minor cleanup
14323
14324 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14325
14326         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14327         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14328         font in urw-fonts package which is marked as -urw-fontspecific and
14329         does not work (incidentally, changing the encoding in the
14330         fonts.dir of this package to -adobe-fontspecific fixes the
14331         problem).
14332
14333         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14334         is a crash when undoing first paragraph (Juergen, please take a
14335         look). THis does not mean the undo fix is wrong, just that it
14336         uncovers problems.
14337
14338         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14339         the (Paragraph*) version when needed instead of duplicating the
14340         code.
14341
14342         * text.C (workWidth): use Inset::parOwner to find out where the
14343         inset has been inserted. This is a huge performance gain for large
14344         documents with lots of insets. If Inset::parOwner is not set, fall
14345         back on the brute force method
14346
14347         * paragraph_pimpl.C (insertInset):
14348         * paragraph.C (Paragraph):
14349         (cutIntoMinibuffer): set parOwner of insets when
14350         inserting/removing them
14351
14352         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14353
14354 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14355
14356         * commandtags.h:
14357         * LyXAction.C:
14358         * lyx_main.C:
14359         * lyxfunc.C:
14360         * mathed/formulabase.C:
14361         * mathed/math_cursor.[Ch]:
14362         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14363
14364
14365 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14366
14367         * lyxlength.[Ch] (operator!=): new function
14368
14369 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14370
14371         * text.C (workWidth): use Inset::parOwner to find out where the
14372         inset has been inserted. This is a huge performance gain for large
14373         documents with lots of insets. If Inset::parOwner is not set, fall
14374         back on the brute force method
14375
14376         * paragraph_pimpl.C (insertInset):
14377         * paragraph.C (Paragraph):
14378         (cutIntoMinibuffer): set parOwner of insets when
14379         inserting/removing them
14380
14381         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14382
14383 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14384
14385         * tabular-old.C (getTokenValue):
14386         * tabular.C (getTokenValue):
14387         (write_attribute): new versions for LyXLength
14388         (everywhere): adjust the use of widths
14389
14390         * tabular.h: change the type of widths from string to LyXLength
14391
14392 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14393
14394         * paragraph.C: fixed missing line number count when exporting
14395         Environments to LaTeX file
14396
14397         * buffer.C: added informational message for checking line numbers.
14398
14399 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14400
14401         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14402         paragraph, do the 'double space' part, but not the 'empty
14403         paragraph' one.
14404
14405         * text.C (workWidth): small optimization
14406         (getLengthMarkerHeight): use minimal size for negative lengths.
14407
14408 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14409
14410         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14411
14412         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14413
14414 2001-12-11  André Pönitz <poenitz@gmx.net>
14415
14416         * FontLoader.C:
14417         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14418
14419 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14420
14421         * text2.C: keep selection on a setFont()
14422
14423 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14424
14425         * lyx_cb.C: another bv->text misuse, from insert label
14426
14427 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * kbsequence.h:
14430         * kbsequence.C: re-instate nmodifier mask
14431
14432 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * lyx_main.h: make lyxGUI private.
14435
14436 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * lyxfind.C: place the cursor correctly on failed search
14439
14440 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14441
14442         * text.C (getLengthMarkerHeight): for small heights, the arrows
14443         are not always on top/bottom of the text
14444         (drawLengthMarker): smaller arrows; take the left margin in
14445         account; draw also vfills.
14446         (paintFirstRow):
14447         (paintLastRow): remove special code for vfill and standard spaces,
14448         since everything is handled in drawLengthMarker now.
14449
14450 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14451
14452         * buffer.C (insertErtContents): try to handle font and language
14453         interaction a bit better.g
14454
14455         * ColorHandler.C (updateColor): change the hash to cover the whole
14456         LColor enum, ws cleanup
14457         (getGCLinepars): ditto
14458         (getGCLinepars): only lookup in the linecache once.
14459
14460 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14461
14462         * iterators.C (operator++): Make the iterator more robust
14463
14464         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14465         (John's patch)
14466         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14467
14468 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14469
14470         * lyxtext.h:
14471         * text.C: better added space drawing
14472
14473 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14474
14475         * LyXView.C:
14476         * BufferView2.C: fix layout combo update on inset unlock
14477
14478 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14479
14480         * Makefile.am: don't compile unused files
14481
14482 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * lyxfunc.C:
14485         * commandtags.h:
14486         * LyXAction.C: remove old LFUN_LAYOUTNO
14487
14488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14489
14490         * paragraph_pimpl.h:
14491         * paragraph_pimpl.C: isTextAt() doesn't need font param
14492
14493 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14494
14495         * lyxlex.h:
14496         * lyxlex.C: little cleanup
14497
14498 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14499
14500         * BufferView_pimpl.C: fix insertAscii for insets
14501
14502 2001-12-05  Juergen Vigna  <jug@sad.it>
14503
14504         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14505         set the right font on the "multi" paragraph paste!
14506
14507 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14508
14509         * trans_decl.h:
14510         * trans_mgr.[Ch]:
14511         * trans.[Ch]:
14512         * lyxgluelength.C:
14513         * lyxlength.C: remove out-commented code.
14514
14515         * BufferView_pimpl:
14516         * CutAndPaste.C:
14517         * DepTable.C:
14518         * buffer.C:
14519         * chset.C:
14520         * lastfiles.C:
14521         * lyxlex.C:
14522         * lyxlex_pimpl.C:
14523         * lyxserver.C:
14524         * screen.C:
14525         * tabular-old.C:
14526         * tabular.C:
14527         * text.C:
14528         * trans_mgr.C:
14529         * vc-backend.C: change "while(" to "while ("
14530
14531         * lyxlength.[Ch]: add zero function to check if length is zero or
14532         not
14533         * lyxgluelength.C: use it
14534
14535 2001-12-05  Allan Rae  <rae@lyx.org>
14536
14537         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14538         Works for 2.95.3, from what I understand of Garst's reports this should
14539         work for other g++ versions.  We're screwed if the abs(int) definition
14540         changed between bugfix releases of gcc.
14541
14542 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14543
14544         * text.C: fix chapter label offset !
14545
14546 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14547
14548         * lyxtext.h:
14549         * text.C: fix hfill at end of line, clean up
14550
14551 2001-12-04  Juergen Vigna  <jug@sad.it>
14552
14553         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14554         that we force an update of the inset and it's owners if neccessary.
14555
14556 2001-12-03  Juergen Vigna  <jug@sad.it>
14557
14558         * text.C (rowLast): simplified code
14559
14560 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14561
14562         * lyxfunc.C: fix show options on timeout
14563
14564 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14565
14566         * screen.C (topCursorVisible): scroll half a page when the cursor
14567         reached top of bottom of screen
14568
14569 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14570
14571         * minibuffer.C: deactivate on loss of focus
14572
14573 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14574
14575         * vspace.[Ch] (operator!=): add operator.
14576
14577 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14578
14579         * BufferView_pimpl.C: refuse to open an inset when
14580         there's a selection.
14581
14582 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * BufferView_pimpl.C: allow to click on RHS of full row insets
14585
14586 2001-11-30  Juergen Vigna  <jug@sad.it>
14587
14588         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14589         insets for undo reasons.
14590
14591 2001-11-28  André Pönitz <poenitz@gmx.net>
14592
14593         * vspace.[Ch]: cosmetical changes
14594
14595 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * LyXAction.h:
14598         * LyXAction.C:
14599         * lyxfunc.h:
14600         * lyxfunc.C:
14601         * kbmap.h:
14602         * kbmap.C:
14603         * lyxrc.C:
14604         * kbsequence.h:
14605         * kbsequence.C: part re-write of old kb code
14606
14607         * Painter.C:
14608         * WorkArea.C: remove Lgb_bug_find_hack
14609
14610 2001-11-30  José Matos <jamatos@fep.up.pt>
14611
14612         * buffer.C (makeDocBookFile): add a comment to point a hack.
14613         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14614         Fixed a double write of labels.
14615
14616 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14617
14618         * LaTeX.C:
14619         * LaTeX.h Fixed bug in LaTeX class where it would not
14620         re-run latex if no depfiles were changed, but the .dvi was removed.
14621
14622 2001-11-28  André Pönitz <poenitz@gmx.net>
14623
14624         * all the files from the change on 2001/11/26:
14625         use lyx::layout_type instead of LyXTextClass::size_type
14626         use lyx::textclass_type instead of LyXTextClassList::size_type
14627
14628 2001-11-29  Juergen Vigna  <jug@sad.it>
14629
14630         * text.C: added support for paragraph::isFreeSpacing()
14631
14632         * buffer.C: same as above
14633
14634         * paragraph.h: inserted isFreeSpacing() function to enable
14635         FreeSpacing inside InsetERT.
14636
14637         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14638         of the paragraph's in the cut/copy buffer to 0!
14639
14640         * text2.C (removeRow): remove the assert as it can!
14641
14642         * lyxtext.h: added helper function firstRow returning firstrow and
14643         made firstrow private again.
14644
14645         * BufferView2.C (lockInset): don't relock if we're already locked!
14646
14647         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14648         the only paragraph.
14649         (removeRow): added Assert::(firstrow)
14650
14651         * debug.C: forgot to add INSETTEXT here.
14652
14653 2001-11-28  Juergen Vigna  <jug@sad.it>
14654
14655         * sp_spell.C (initialize): changed error text to more general
14656         spellchecker command use (not only ispell!)
14657
14658         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14659
14660         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14661
14662 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14663
14664         * vspace.C: initialise lyxgluelength on failure
14665
14666 2001-11-28  Allan Rae  <rae@lyx.org>
14667
14668         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14669         declaration & definition that looks like a function declaration.
14670
14671 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14672
14673         * BufferView2.C (copy):
14674         (copyEnvironment): do not clear the selection when doing a copy.
14675
14676         * text.C (paintFirstRow): compilation fix
14677
14678 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14679
14680         * tabular.C (Latex): correct line count when writing latex.
14681
14682 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14683
14684         * paragraph_pimpl.h:
14685         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14686           bug a bit
14687
14688 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14689
14690         * text.C:
14691         * LColor.h:
14692         * LColor.C: change vfillline->added_space
14693
14694         * text.C: add markers and text for added space
14695
14696         * vspace.C: fix comment
14697
14698 2001-11-28  André Pönitz <poenitz@gmx.net>
14699
14700         * paragraph.C: whitespace changes
14701         * all the other files from the change on 2001/11/26:
14702         change *::pos_type into lyx::pos_type
14703
14704 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14705
14706         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14707         language of the document when inserting error insets.
14708
14709 2001-11-26  André Pönitz <poenitz@gmx.net>
14710
14711         * BufferView_pimpl.[Ch]:
14712         *       CutAndPaste.C:
14713         * buffer.[Ch]:
14714         * lyxcursor.[Ch]:
14715         * lyxfind.C:
14716         * lyxfunc.C:
14717         * lyxrow.[Ch]:
14718         * paragraph.[Ch]:
14719         * paragraph_pimpl.[Ch]:
14720         * sp_spell.C:
14721         * text.C:
14722         * text2.C: reduce header dependencies, introduce type for positions
14723
14724 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14725
14726         * <various>: change to use Alert.h
14727
14728 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14729
14730         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14731         when encountering an unknown token.
14732         (readLyXformat2): Show an error message if there were unknown tokens.
14733
14734 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14735
14736         * BufferView2.C:
14737         * BufferView_pimpl.C:
14738         * buffer.C:
14739         * paragraph.h:
14740         * text.C:
14741         * text2.C: use par->isInset()
14742
14743 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * paragraph_pimpl.h:
14746         * paragraph_pimpl.C: cleanup
14747
14748 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * text2.C (removeRow):
14751         * text.C (setHeightOfRow): remove useless (and costly) call to
14752         getRow.
14753
14754 2001-11-20  Allan Rae  <rae@lyx.org>
14755
14756         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14757         Now need Inset*::checkInsertChar() to return true for appropriate
14758         cases so that the characters in the minibuffer will actually be
14759         inserted.
14760
14761 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14762
14763         * text.C: change the order of the includes.
14764         (workWidth): initialize it at once.
14765         (workWidth): make maxw unsigned
14766         (setHeightOfRow): remove unused variable (inset)
14767         (selectSelectedWord): remove unused variable (inset)
14768         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14769
14770 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14773         server is not running.
14774         (openConnection):
14775         (closeConnection): add debug info when server is disabled.
14776
14777         * ColorHandler.C (getGCForeground): send debug message to GUI
14778         channel.
14779
14780         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14781
14782         * kbmap.C (bind): modify because return conventions of
14783         kb_sequence::parse have changed.
14784
14785         * kbsequence.C (parse): only ignore spaces and not any stupid
14786         control character. This avoids tests like s[i] <= ' ', which are
14787         guaranteed to fail with 8bit characters and signed chars.
14788         Change return code to string::npos when there have been no error
14789         (0 was a bad idea when error is at first character)
14790
14791 2001-11-14  José Matos  <jamatos@fep.up.pt>
14792
14793         * buffer.h:
14794         * buffer.C (simpleDocBookOnePar): removed unused argument.
14795
14796 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14799         insets which are part of a word. Paragraph::isLetter takes care of
14800         that now. Use Paragraph::isInset to identify insets.
14801         (selectSelectedWord): do not test for hyphenation break.
14802
14803         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14804         that protected spaces are considered as spaces.
14805
14806         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14807         Inset::isLetter.
14808
14809 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * lyxserver.h:
14812         * lyxserver.C: fix it. and small cleanup.
14813
14814 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14815
14816         * BufferView_pimpl.C: use inline helpers
14817
14818         * LaTeXFeatures.h:
14819         * LaTeXFeatures.C: fix typos
14820
14821         * Spacing.h:
14822         * Spacing.C: move spacing_string into class
14823
14824         * ToolbarDefaults.C: move stuff into namespace anon
14825
14826         * layout.h: update enum
14827
14828         * lyxfunc.C: use better debug
14829
14830         * minibuffer.h: fix typo
14831
14832         * debug.h:
14833         * debug.C:
14834         * WorkArea.C: add and use Debug::WORKAREA
14835
14836         * lyxtext.h:
14837         * text.C:
14838         * text2.C: code re-organisation, inline helpers
14839
14840 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14841
14842         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14843         std::vector.empty().
14844
14845 2001-11-09  Allan Rae  <rae@lyx.org>
14846
14847         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14848         '\n's after tables.  Tabular and ERT inset work now makes this no
14849         longer necessary.
14850
14851 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14852
14853         * minibuffer.h:
14854         * minibuffer.C: fix crash, improve drop-down completion
14855
14856 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14857
14858         * lyxserver.h:
14859         * lyxserver.C: invalidate fd's when doing endPipe()
14860
14861 2001-11-08  José Matos  <jamatos@fep.up.pt>
14862
14863         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14864         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14865
14866         * paragraph.h:
14867         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14868
14869 2001-11-07  José Matos  <jamatos@fep.up.pt>
14870
14871         * buffer.h:
14872         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14873         const qualifier.
14874
14875         * buffer.C (sgmlOpenTag):
14876         * buffer.C (sgmlCloseTag): removed debug info.
14877
14878         * buffer.h (sgmlOpenTag):
14879         * buffer.h (sgmlCloseTag): made public.
14880
14881 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * buffer.C (saveParamsAsDefaults):
14884         * lyx_cb.C (MenuLayoutSave): remove
14885
14886         * LyXAction.C (init):
14887         * commandtags.h:
14888         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14889
14890 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14891
14892         * buffer.C (setPaperStuff): removed from here...
14893
14894         * bufferparams.C (setPaperStuff): ... and moved there.
14895
14896 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14897
14898         * minibuffer.h:
14899         * minibuffer.C:
14900         * XFormsView.C: add support for drop-down completion
14901
14902 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14903
14904         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14905         commands.
14906
14907 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14910         disabled.
14911
14912 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14913
14914         * lyx_main.C: change ref to known bugs
14915
14916 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14917
14918         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14919         to work around older babel problems.
14920
14921 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14922
14923         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14924
14925 2001-10-24  Juergen Vigna  <jug@sad.it>
14926
14927         * tabular-old.C (ReadOld): below variable changes reflected.
14928
14929         * tabular.[Ch]: added ltType struct for longtable header/footer
14930         defines and changed all instances where they are used. Added
14931         future support for double top/bottom rows.
14932
14933 2001-10-24  José Matos  <jamatos@fep.up.pt>
14934
14935         * buffer.h (docbookHandleCaption):
14936         * buffer.C (docbookHandleCaption): removed unused function.
14937         (makeDocBookFile): moved docbook supported version to v4.1.
14938
14939 2001-10-24  José Matos  <jamatos@fep.up.pt>
14940
14941         * tabular.h:
14942         * tabular.C (docbookRow): new function to export docbook code of a row.
14943         (DocBook): now honors the longtable flags.
14944
14945 2001-10-23  José Matos  <jamatos@fep.up.pt>
14946
14947         * LaTeXFeatures.h:
14948         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14949         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14950
14951         * buffer.C (makeLinuxDocFile):
14952         (makeDocBookFile): reworked the preamble, more clean, and with
14953         support for lyx defined entities. Changed the document declaration
14954         to be more XML friendly.
14955
14956         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14957         if we need to output XML that should be done with a filter.
14958
14959 2001-10-22  Juergen Vigna  <jug@sad.it>
14960
14961         * sp_pspell.h (class PSpell): add alive function needed in the
14962         controller to see if the spellchecker could be started.
14963
14964 2001-10-22  Juergen Vigna  <jug@sad.it>
14965
14966         * buffer.C (insertStringAsLines): modify the font for inserting
14967         chars in certain conditions by calling checkInsertChar(font).
14968
14969 2001-10-19  Juergen Vigna  <jug@sad.it>
14970
14971         * text.C (workWidth): use getRow instead of wrong algorithm.
14972         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14973
14974 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * lyxserver.h:
14977         * lyxserver.C:
14978         * lyx_main.h:
14979         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14980
14981 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14982
14983         * text.C (workWidth): do not search for the exact row when
14984         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14985         optimization for big documents.
14986
14987 2001-10-18  Juergen Vigna  <jug@sad.it>
14988
14989         * text.C (workWidth): new function with added Inset * parameter.
14990
14991 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14994
14995         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14996         change return type of getColumnNearX.
14997
14998
14999         * text.C (changeRegionCase): use uppercase/lowercase instead of
15000         toupper/tolower.
15001         (leftMargin):
15002         (rightMargin): simplify code by factoring out the uses of
15003         textclasslist.
15004         (labelFill):
15005         (numberOfHfills):
15006         (setHeightOfRow):
15007         (appendParagraph): use Paragraph::size_type
15008
15009 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15010
15011         * vspace.C (asLatexString): add a missing break
15012
15013 2001-10-15  Herbert Voss  <voss@perce.de>
15014
15015         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15016
15017 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15018
15019         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15020         is not available.
15021
15022 2001-10-10  André Pönitz <poenitz@gmx.net>
15023
15024         * lyxfunc.C: removed greek_kb_flag.
15025
15026 2001-10-10  Herbert Voss  <voss@perce.de>
15027
15028         * lyx_main.C: delete global string help_lyxdir.
15029
15030 2001-10-09  Herbert Voss  <voss@perce.de>
15031
15032         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15033
15034         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15035
15036         * lyx_main.C: added global string help_lyxdir.
15037
15038         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15039
15040 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15041
15042         * lyxrc.C (set_font_norm_type): support iso8859-4
15043
15044 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15045
15046         * LaTeX.C (deplog): add another regex for MikTeX
15047
15048 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15049
15050         * lyxrc.C (set_font_norm_type): support iso8859-3
15051
15052 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15053
15054         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15055
15056         * LaTeXFeatures.C: remove special case of french and index
15057
15058         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15059         before \begin{document}). This solves several incompatibilities.
15060
15061 2001-10-03  Garst Reese  <reese@isn.net>
15062
15063         * lyx_cb.C: change CheckTex error msg.
15064
15065 2001-10-03  José Matos  <jamatos@fep.up.pt>
15066
15067         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15068
15069 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15070
15071         * .cvsignore: update
15072
15073         * lyx_main.C (commandLineVersionInfo): use new style version info.
15074
15075         * buffer.C (writeFile):
15076         (makeLaTeXFile):
15077         (makeLinuxDocFile):
15078         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15079
15080         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15081
15082         * version.h: update to use stuff in version.C
15083
15084         * version.C.in: new file. Contains version information determined
15085         at compile time. This is a merging of version.h and
15086         version_info.h.in.
15087
15088 2001-10-03  Juergen Vigna  <jug@sad.it>
15089
15090         * BufferView_pimpl.C (update): don't change "dirty" status in
15091         updateInset call.
15092
15093 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15094
15095         * WorkArea.C (c-tor): re-position version string slightly.
15096
15097 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15098
15099         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15100         revert to previous code.
15101
15102         WorkArea.[Ch]: (show, destroySplash): methods removed.
15103
15104         WorkArea.C: rework code so that it's an amalgam of the codes before and
15105         after the splash screen was moved to WorkArea.
15106
15107 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15108
15109         * lyxrc.C (read):
15110         * vspace.C (inPixels):
15111         (lyx_advance):
15112         * kbmap.C (bind):
15113         * buffer.C (insertStringAsLines):
15114         (asciiParagraph): fix types to be large enough
15115
15116         * lyxlex_pimpl.h: change member status from short to int
15117
15118         * layout.h: fix type of endlabeltype
15119
15120         * kbmap.C (bind):
15121         * kbsequence.C (parse): change return type to string::size_type
15122
15123         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15124         variable
15125
15126         * Bullet.C (bulletSize):
15127         (bulletEntry): do not use short ints as parameters
15128
15129         * BufferView2.C (insertLyXFile): change a char to an int.
15130
15131         * WorkArea.C (WorkArea): remove unneeded floats in computation
15132
15133 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15134
15135         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15136
15137         * paragraph.C (asString): Do not ignore newline/hfill chars when
15138         copying to the clipboard.
15139
15140 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15143         after a multi-line inset.
15144
15145 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15146
15147         * paragraph.C (validate): Set NeedLyXFootnoteCode
15148
15149 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15150
15151         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15152         and decrease-error to decrease.
15153
15154 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15155
15156         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15157         it more readable (should be equivalent)
15158
15159 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15160
15161         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15162
15163 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15164
15165         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15166         of a cursor (row, etc.) after a character has been deleted
15167         (deleteEmptyParagraphMechanism): call the method above on _all_
15168         cursors held by the LyXText when a double space has been
15169         detected/deleted.
15170
15171 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15172
15173         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15174         pixmap.
15175         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15176
15177         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15178         background. Use greyOut() and the new show() methods to toggle between
15179         the foreground and background. Add code to remove the splash after
15180         its initial showing.
15181
15182         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15183         (create_forms): no longer call Dialogs::showSplash.
15184
15185 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15186
15187         * .cvsignore: add version_info.h
15188
15189 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15190
15191         * version_info.h.in: new file
15192
15193         * Makefile.am: add version_info.h.in
15194
15195         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15196         version_info.h instead of VERSION_INFO
15197
15198 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15199
15200         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15201         The ERT inset now returns string().
15202
15203 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15204
15205         * lyxtext.h, text.C (selectNextWord): renamed as
15206         selectNextWordToSpellcheck.
15207
15208         * text.C (selectNextWordToSpellcheck): Modified to not select
15209         words inside an ERT inset.
15210
15211 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * lyx_cb.C (MenuLayoutSave): change a bit the question
15214
15215         * sp_base.h: include <sys/types.h>
15216
15217 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15218
15219         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15220
15221 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15222
15223         * several files: fix typos in user-visible strings
15224
15225 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15226
15227         * text2.C (pasteSelection): do not set the selection, since it
15228         will be cleared later. Actually, the intent was to fix the way the
15229         selection was set, but I figured rmoving the code was just as good.
15230
15231 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * FontLoader.C (available): Check if font is available without
15234         loading the font.
15235
15236 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15237
15238         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15239
15240 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15241
15242         * lyxrc.[Ch]: added display_graphics variable and associated code.
15243
15244 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * bufferparams.C (hasClassDefaults): new method. Returns true if
15247         the buffer parameters correspond to known class defaults
15248
15249 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15250
15251         * XFormsView.C (show): set minimum size to the main window.
15252
15253 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15254
15255         * text2.C (copySelection):
15256         (cutSelection):
15257         * lyxfind.C (LyXReplace):
15258         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15259         LyXText::selectionAsString.
15260
15261         * paragraph.C (asString): add "label" argument to the second form
15262
15263         * text2.C (selectionAsString): add "label" argument and pass it to
15264         Paragraph::asString.
15265
15266 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15267
15268         * lyx_main.C (commandLineHelp): remove version information
15269
15270 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15271
15272         * lyx_main.C: add -version commandline option
15273
15274 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15275
15276         * paragraph.h: make the optional constructor arg required instead.
15277         some modifications to other files because of this.
15278
15279         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15280
15281         * lyxserver.C (C_LyXComm_callback): make it static
15282
15283         * lyx_main.C (error_handler): make it static
15284
15285         * lyx_gui.C (LyX_XErrHandler): make it static
15286
15287         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15288
15289         * WorkArea.C: make the extern "C" methods static.
15290
15291         * Makefile.am (lyx_LDADD): simplify
15292
15293 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15294
15295         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15296         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15297
15298         * LyXAction.C (init):
15299         * lyxfunc.C (dispatch): associated code removal.
15300
15301 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * lyxfont.h (isSymbolFont): shut off warning
15304
15305         * text.C (setHeightOfRow):
15306         (getVisibleRow): fix crash with empty paragraphs which have a
15307         bottom line
15308
15309 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15310
15311         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15312         code.
15313
15314 2001-09-04  José Matos  <jamatos@fep.up.pt>
15315         * buffer.C
15316         * buffer.h
15317         * tabular.C (docbook): rename docBook method to docbook.
15318
15319 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15320
15321         * Makefile.am: add dependencies to main.o.
15322
15323 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15324
15325         * FontLoader.C (available): Return false if !lyxrc.use_gui
15326
15327 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15328
15329         * FontInfo.C (query):
15330         * converter.C (view):
15331         * importer.C (Import):
15332         * exporter.C (Export): Can not -> cannot.
15333
15334 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15335
15336         * BufferView_pimpl.C: allow to create index inset even if
15337           string is empty
15338
15339 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15340
15341         * buffer.C (getLists): replace boost::tie code with an explicit pair
15342         as boost::tie can break some compilers.
15343
15344         * iterators.h: Added a std:: declaration to the return type of
15345         ParIterator::size.
15346
15347 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15348
15349         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15350           case.
15351
15352 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15353
15354         * iterators.[Ch]: New files. Provide paragraph iterators.
15355
15356         * buffer.C (changeLanguage): Use paragraph iterators.
15357         (isMultiLingual): ditto
15358
15359         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15360
15361 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15362
15363         * FontLoader.C: Support for cmr font.
15364
15365 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15366
15367         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15368         (available): New method.
15369
15370         * FontInfo.C (getFontname): Use scalable fonts even when
15371         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15372         found.
15373
15374 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15375
15376         * converter.C (Formats::view): reverted! Incorrect fix.
15377
15378 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15379
15380         * converter.C (Formats::view): only output the -paper option
15381         if the dvi viewer is xdvi, thereby fixing bug #233429.
15382
15383 2001-08-23  Herbert Voss  <voss@perce>
15384
15385         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15386
15387 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15388
15389         * Spacing.h (Spacing): Set space to Default on in the default
15390         constructor.
15391
15392 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * vc-backend.h (RCS::versionString): add RCS to version
15395         (CVS::versionString): add CVS to version
15396
15397         * vc-backend.C (scanMaster): do not add CVS to version.
15398         (scanMaster): do not add RCS to version
15399
15400         * lyxvc.C (versionString): new method
15401
15402         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15403
15404 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15405
15406         * Spacing.C (set): initialize fval
15407
15408 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15409
15410         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15411         " or \.
15412
15413 2001-08-16  Juergen Vigna  <jug@sad.it>
15414
15415         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15416
15417 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15418
15419         * BufferView_pimpl.C:
15420         * figureForm.C:
15421         * lyxtext.h:
15422         * text2.C: setParagraph takes linespacing now
15423
15424 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15425
15426         * LyxAction.C: add internal LFUN_CITATION_INSERT
15427
15428         * LyXView.C: actually apply fix
15429
15430         * bufferlist.C: fix open non-existent file
15431
15432         * lyxfind.C: fix indentation
15433
15434         * lyxfunc.C: remove unneeded assert, fix typo
15435
15436 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15437
15438         * MenuBackend.C: use "Floatname List"
15439
15440 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15441
15442         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15443         when converting LaTeX layout to insetERT.
15444         Generate a non-collapsed float when reading old float
15445
15446 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15447
15448         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15449         ERT insets.
15450
15451 2001-08-13  Juergen Vigna  <jug@sad.it>
15452
15453         * text.C (fill): return 0 instead of 20 as this seems to be the more
15454         correct value.
15455
15456 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15457
15458         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15459         lyxrc.font_norm.
15460
15461 2001-08-13  Juergen Vigna  <jug@sad.it>
15462
15463         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15464         casesensitive off.
15465         (SearchBackward): comment out the unlocking of the inset_owner this
15466         should not be needed!
15467
15468 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15469
15470         * Many files: Remove inherit_language, and add latex_language
15471
15472         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15473         collapsible insets.
15474
15475 2001-08-10  Juergen Vigna  <jug@sad.it>
15476
15477         * text.C (prepareToPrint): fixed hfill-width in draw!
15478
15479         * BufferView2.C (selectLastWord): save the selection cursor as this
15480         now is cleared in the function LyXText::clearSelection!
15481
15482 2001-08-08  Juergen Vigna  <jug@sad.it>
15483
15484         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15485         BACKSPACE type functions.
15486
15487         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15488         is only cutted from the document but not put in the cut-buffer, where
15489         still the old stuff should be.
15490
15491         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15492
15493         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15494
15495         * tabular.C (SetWidthOfCell): fixed special case where the width
15496         was not updated!
15497         (LeftLine): handle '|' in align_special.
15498         (RightLine): ditto
15499         (LeftAlreadyDrawed): ditto
15500         (SetWidthOfCell): ditto
15501
15502 2001-08-07  Juergen Vigna  <jug@sad.it>
15503
15504         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15505
15506 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15509         * lyxlex.[hC]: ditto
15510
15511 2001-08-06  Juergen Vigna  <jug@sad.it>
15512
15513         * text.C (getVisibleRow): fix up row clearing a bit.
15514
15515 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * minibuffer.C: make sure the X server sees the changes in the input.
15518
15519 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * paragraph.C (getFont): split into...
15522         (getLabelFont): this
15523         (getLayoutFont): and this
15524         * paragraph_pimpl.C (realizeFont): calling this
15525
15526         * text2.C (getFont): split into...
15527         (getLayoutFont): this
15528         (getLabelFont): and this
15529         (realizeFont): all three calling this
15530
15531         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15532         files where used.
15533
15534 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15535
15536         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15537
15538 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15539
15540         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15541         layouts from the Quote inset insertion.
15542
15543 2001-08-03  Juergen Vigna  <jug@sad.it>
15544
15545         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15546
15547         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15548         only if status not is already CHANGED_IN_DRAW (second level).
15549
15550         * text.C (draw): don't set the need_break_row when inside an
15551         InsetText LyXText.
15552
15553 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15554
15555         * buffer.C (parseSingleLyXformat2Token): handle more latex
15556         conversion cases.
15557
15558         * bufferview_funcs.[hC]: change function names to
15559         begin with small char, adjust other files.
15560
15561 2001-08-02  André Pönitz <poenitz@gmx.net>
15562
15563         * lyxfunc.C:
15564         BufferView_pimpl.C: remove broken special code for math-greek
15565
15566 2001-08-02  Juergen Vigna  <jug@sad.it>
15567
15568         * BufferView_pimpl.C (update): redone this function so that we
15569         update the text again if there was a CHANGE_IN_DRAW.
15570
15571         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15572         (drawFromTo): added a new internal bool which is used by draw() and
15573         redraw() function.
15574         (general): some cursor drawing problems fixed.
15575
15576 2001-08-01  Juergen Vigna  <jug@sad.it>
15577
15578         * lyxfind.C (LyXFind): fixed
15579         (SearchForward): ditto
15580         (SearchBackward): ditto
15581
15582         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15583         spurius drawing of the cursor in the main area.
15584
15585         * text2.C (status): small fix which could lead to a segfault!
15586         (clearSelection): remove unneeded BufferView param.
15587
15588 2001-08-01  André Pönitz <poenitz@gmx.net>
15589
15590         * lyxfunc.C: small change due to changed mathed interface
15591
15592 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15593
15594         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15595
15596 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15597
15598         * lyxfunc.c: fail gracefully if file doesn't exist
15599
15600         * LyXSendto.C:
15601         * buffer.C:
15602         * lyxfunc.C:
15603         * BufferView_pimpl.C: IsDirWriteable() proto changed
15604
15605         * LyXView.C: fix updateWindowTitle() to store the last title
15606
15607 2001-07-31  Juergen Vigna  <jug@sad.it>
15608
15609         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15610         the font (wrong since using of Paragraph::highestFontInRange).
15611
15612         * paragraph.C (highestFontInRange): added a default_size parameter.
15613
15614         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15615         (setHeightOfRow): reformat
15616
15617 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15618
15619         * converter.[hC] + affected files: move to (inital-char)lowercase
15620         function names.
15621
15622         * ParagraphParameters.C (ParagraphParameters): remove commented code
15623
15624         * PainterBase.[Ch]: remove commented code
15625
15626         * LaTeXFeatures.h: add "bool floats" for float.sty
15627
15628         * LaTeXFeatures.C (LaTeXFeatures): init floats
15629         (require): handle float
15630         (getPackages): do it with floats
15631
15632 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15633
15634         * BufferView_pimpl.C (Dispatch): improve handling of
15635         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15636
15637         * commandtags.h: #include lyxfont.h here temporarily to avoid
15638         keybinding bug.
15639
15640         * bufferlist.h: include LString.h here.
15641
15642 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15643
15644         * text2.C (getStringToIndex): new method.
15645
15646 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15647
15648         * *: Reduced header file dependencies all over.
15649
15650 2001-07-30  Baruch Even  <baruch@lyx.org>
15651
15652         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15653
15654 2001-07-29  Baruch Even  <baruch@lyx.org>
15655
15656         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15657
15658 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15659
15660         * ParameterStruct.h (endif): add a default constructor to make
15661         sure that all variables is initialized.
15662
15663         * ParagraphParameters.C (ParagraphParameters): adjust
15664
15665 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15668         index; also, check that there is something to index, and that it
15669         does not span over several paragraphs.
15670         (doubleClick): use WHOLE_WORD_STRICT for double click.
15671
15672         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15673
15674         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15675         scheme.
15676
15677 2001-07-26  Baruch Even  <baruch@lyx.org>
15678
15679         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15680         an InsetFig figure, backwards compatible reading of old figure code.
15681
15682 2001-07-27  Juergen Vigna  <jug@sad.it>
15683
15684         * text2.C: font.realize function adaption.
15685
15686         * text.C (draw): add a warnings lyxerr text if needed.
15687
15688         * layout.C: font.realize function adaption.
15689
15690         * language.C: add inherit_language and implement it's handlings
15691
15692         * bufferview_funcs.C (StyleReset): remove language parameter from
15693         font creation (should be language_inherit now).
15694
15695         * bufferparams.C (writeFile): handle ignore_language.
15696
15697         * paragraph.C (getFontSettings): the language has to be resolved
15698         otherwise we have problems in LyXFont!
15699
15700         * lyxfont.C (lyxWriteChanges): added document_language parameter
15701         (update): removed unneeded language parameter
15702
15703         * paragraph.C (validate): fixed wrong output of color-package when
15704         using interface colors for certain fonts in certain environments,
15705         which should not seen as that on the final output.
15706
15707 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15708
15709         * BufferView_pimpl.C:
15710         * Thesaurus.h:
15711         * Thesaurus.C:
15712         * Makefile.am:
15713         * commandtags.h:
15714         * LyXAction.C: add thesaurus support
15715
15716         * lyxfind.h:
15717         * lyxfind.C: add "once" parameter, for thesaurus, to not
15718           move to the next match
15719
15720 2001-07-26  Juergen Vigna  <jug@sad.it>
15721
15722         * lyxfont.C (realize): honor ignore_language too!
15723         (resolved): ditto.
15724
15725         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15726
15727         * text.C (draw): one place more for ignore_language to not draw
15728         itself!
15729
15730 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15731
15732         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15733
15734 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15735
15736         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15737         the minipage conversion problem.
15738
15739 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15742         insert an inset.
15743
15744 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15745
15746         * BufferView.h: don't forward declare WorkArea
15747
15748         * BufferView.C: don't include WorkArea.h
15749
15750 2001-07-25  André Pönitz <poenitz@gmx.net>
15751
15752         * commandtags.h:
15753         * LyXAction.C:
15754         * lyxfunc.C:  new LFUN 'math-space'
15755
15756         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15757
15758 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15759
15760         * text2.C (toggleInset): call open/close
15761
15762 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15763
15764         * lyxfunc.C (dispatch): add debug for the disabled case
15765
15766         * font.C (buttonText): make similar to rectText
15767
15768         * buffer.C (readInset): comment out parsing of insetlist and
15769         insttheorem
15770
15771         * PainterBase.C (rectText): small correction
15772
15773         * BufferView_pimpl.C: comment out insettheorem and insetlist
15774         * LyXAction.C: ditto
15775         * commandtags.h: ditto
15776
15777 2001-07-24  Juergen Vigna  <jug@sad.it>
15778
15779         * text.C (draw): honor the ignore_language.
15780
15781         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15782
15783 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15784
15785         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15786         char inset.
15787
15788 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15789
15790         * lyxtext.h: remove unused (and unimplemented) methods
15791
15792 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15793
15794         * text.C (getVisibleRow): honor background color
15795
15796         * PainterBase.h:
15797         * Painter.h: remove default color argument for fillRectangle
15798
15799         * text.C (backgroundColor): new method
15800
15801 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15802
15803         * text.C (getVisibleRow): adjust
15804
15805         * font.[Ch] (rectText): new method, metrics
15806         (buttonText): new method, metrics
15807
15808         * PainterBase.[hC]: make rectText and buttonText always draw and take
15809         fewer paramteres.
15810
15811 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15812
15813         * ToolbarDefaults.C (read):
15814         * MenuBackend.C (read): allow escaping in all strings
15815
15816         * BufferView_pimpl.C (insertAndEditInset): new method.
15817         (Dispatch): use insertAndEditInset whenever appropriate.
15818
15819         * BufferView_pimpl.C (insertNote): removed
15820
15821         * BufferView_pimpl.C (smartQuote): new method, moved from
15822         BufferView; if an insetquote cannot be inserted, insert a '"'
15823         character instead.
15824
15825         * BufferView2.C: remove insertCorrectQuote();
15826
15827         * lyxfunc.C (getStatus): Add support for all remaingin
15828         inset-insert lfuns.
15829
15830         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15831
15832         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15833         command (necessary to pass " as parameter of self-insert.
15834
15835         * text.C (selectWordWhenUnderCursor):
15836         (selectWord): add word_location parameter
15837         (selectWordWhenUnderCursor): same + remove special code for word
15838         boundary.
15839         (selectNextWord): use kind() to guess type of insetspecialchar,
15840         not latex().
15841
15842         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15843         (insertErtContents): create ert insets as collapsed.
15844         (readInset): better compatibility code for Info inset.
15845
15846 2001-07-20  Juergen Vigna  <jug@sad.it>
15847
15848         * lyxfunc.C (dispatch): use always LyXFind now!
15849
15850         * text2.C (init): add a reinit flag so that the LyXText can be
15851         reinited instead of deleted and reallocated (used in InsetText).
15852
15853         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15854
15855         * text.C: ditto
15856
15857         * text2.C: ditto
15858
15859 2001-07-18  Juergen Vigna  <jug@sad.it>
15860
15861         * text.C (selectNextWord): handle insets inside inset by calling
15862         always the bv->text functions so that we can go up the_locking_inset!
15863
15864         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15865         in strange locations when inside an inset!
15866
15867         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15868         handling to include insets.
15869
15870         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15871
15872 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15873
15874         * LyXAction.C (init):
15875         * commandtags.h:
15876         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15877         LIGATURE_BREAK, since the name is so stupid.
15878
15879 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15880
15881         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15882         InsetInfos.
15883
15884         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15885
15886         * sp_form.[Ch]: remove.
15887
15888         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15889
15890         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15891         InsetInfo.
15892
15893         * src/buffer.C (readInset): ditto.
15894
15895 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15896
15897         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15898         menuSeparator(), endOfSentenceDot(), ldots() and
15899         hyphenationPoint(), which are therefore removed.
15900         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15901
15902         * LyXAction.C (init):
15903         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15904
15905         * paragraph.C (getWord): removed.
15906
15907         * BufferView_pimpl.C (Dispatch): use last word or selection for
15908         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15909
15910         * lyx_main.C (queryUserLyXDir): do not ask before creating
15911         user_dir, except if it has been named explicitely.
15912
15913 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15914
15915         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15916         a document of zero size.
15917
15918 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15919
15920         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15921         approriately in the c-tor and in require().
15922         (getPackages): output the appropriate LaTeX for natbib support.
15923
15924         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15925         variables "use_natbib" and "use_numerical_citations" when reading the
15926         LyX file.
15927         (readInset): read the various natbib cite commands.
15928         (validate): white-space change.
15929
15930         * bufferparams.[Ch]: new variables "bool use_natbib" and
15931         "bool use_numerical_citations".
15932         (writeFile): output them in the LyX file.
15933
15934 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15935
15936         * lyxfunc.C (getStatus): add support for all the inset insertion
15937         commands.
15938
15939         * text2.C (insertInset):
15940         * paragraph.C (insetAllowed):
15941         * BufferView_pimpl.C (insertInset): update to take in account the
15942         renaming of insertInsetAllowed
15943
15944         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15945
15946         * text2.C (getInset): new method. returns inset at cursor position.
15947
15948         * BufferView_pimpl.C (Dispatch): changes because of this.
15949
15950         * LyXAction.C (init): rename open-stuff to inset-toggle.
15951
15952         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15953
15954         * text2.C (toggleInset): renamed from openStuff; use
15955         Inset::open().
15956
15957 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15958
15959         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15960
15961         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15962
15963 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15964
15965         * buffer.C (readLyXformat2): Add filename to the error dialog
15966
15967 2001-07-18  Juergen Vigna  <jug@sad.it>
15968
15969         * tabular.C (GetCellNumber): put an assert here instead of the check!
15970
15971 2001-07-17  Juergen Vigna  <jug@sad.it>
15972
15973         * BufferView_pimpl.C (toggleSelection): adapted too.
15974
15975         * text.C (selectNextWord): adapted for use with insets.
15976         (selectSelectedWord): ditto
15977
15978 2001-07-17  Juergen Vigna  <jug@sad.it>
15979
15980         * sp_spell.C (PSpell): fix initialitation order.
15981
15982 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15983
15984         * paragraph.C: spacing
15985
15986 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15987
15988         * sp_spell.C: repair language selection for pspell
15989
15990 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15991
15992         * lyxfunc.h: change more methods to begin with lower char.
15993
15994 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15995
15996         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15997         for unknown layouts.
15998
15999 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16000
16001         * buffer.C (readLyXformat2): Generate an error dialog if there are
16002         unknown layouts.
16003
16004 2001-07-16  Juergen Vigna  <jug@sad.it>
16005
16006         * sp_spell.C: always compile ISpell part.
16007
16008         * lyxrc.C: added use_pspell entry and it's handling.
16009
16010 2001-07-13  Juergen Vigna  <jug@sad.it>
16011
16012         * sp_spell.C: removed double includes.
16013
16014 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16015
16016         Consistent use of Lsstream.h:
16017         * Lsstream.h: added using std::stringstream for consistencies sake.
16018
16019         * buffer.C: removed using std::stringstream
16020
16021         * lyxfont.C (stateText):
16022         * paragraph.C (asString):
16023         * text.C (selectNextWord, selectSelectedWord):
16024         * text2.C (setCounter):
16025         * vspace.C (asString, asLatexString):
16026         std::ostringstream -> ostringstream.
16027
16028 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16029
16030         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16031         * commandtags.h: add LFUN_HELP_ABOUTLYX
16032         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16033
16034 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16035
16036         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16037         cursorToggle()
16038         * lyx_gui_misc.C: remove spellchecker
16039         * lyxfunc.C: showSpellchecker
16040         * sp_base.h: added
16041         * sp_ispell.h: added
16042         * sp_pspell.h: added
16043         * sp_spell.C: added
16044         * sp_form.[Ch]: removed
16045         * spellchecker.[Ch]: removed
16046
16047 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16048
16049         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16050         is set.
16051         (simpleTeXSpecialChars): Simply print the input character without
16052         any special translation if pass_thru is set.
16053
16054         * layout.h: Added bool pass_thru to layout class for being able to
16055         implement pass through of a paragraph for Literate Programming.
16056
16057         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16058         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16059         * layout.C (Read): add "passthru" to list of layout tags and add
16060         code to set the pass_thru boolean when it is read.
16061
16062 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16063
16064         * trans_decl.h: remove allowed from KmodInfo
16065
16066         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16067         remove allowed code
16068         (Load): adjust
16069
16070         * paragraph_pimpl.C (erase): use boost::prior
16071
16072         * Painter.C (text): use data() instead of c_str() when length is
16073         also provided.
16074         * WorkArea.C (putClipboard): ditto
16075         * font.h (width): ditto
16076
16077         * BufferView2.C: use it-> instead of (*it). for iterators
16078         * texrow.C: ditto
16079         * paragraph_pimpl.C: ditto
16080         * paragraph.C: ditto
16081         * minibuffer.C: ditto
16082         * language.C: ditto
16083         * kbmap.C: ditto
16084         * encoding.C: ditto
16085         * counters.C: ditto
16086         * converter.C: ditto
16087         * chset.C: ditto
16088         * Variables.C: ditto
16089         * TextCache.C: ditto
16090         * MenuBackend.C: ditto
16091         * LyXAction.C: ditto
16092         * LColor.C: ditto
16093         * FloatList.C: ditto
16094         * DepTable.C: ditto
16095         * ColorHandler.C (LyXColorHandler): ditto
16096
16097 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16100
16101         * text2.C (openStuff): reintroduce this method (which had been
16102         nuked in NEW_INSETS frenzy).
16103
16104         * lyxfunc.C (Dispatch): when an action has not been handled, use
16105         its name in the error message, not its number.
16106
16107         * paragraph.C (inInset): change method name to begin with lowercase.
16108
16109         * undo_funcs.C:
16110         * text2.C: updates because of this.
16111
16112 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16113
16114         * ToolbarDefaults.C (add): add spaces in error message
16115
16116 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16117
16118         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16119         (readLyXformat2): rename return_par to first_par, use lyxlex's
16120         pushToken and remove the manual push handling.
16121         (parseSingleLyXformat2Token): add another ert comp. variable:
16122         in_tabular, rename return_par to first_par. handle newlines better
16123
16124 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16125
16126         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16127
16128 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * text2.C (getParFromID): removed
16131
16132         * buffer.C (getParFromID): new method moved form lyxtext.
16133         * BufferView2.C (insertErrors): adjust
16134         (setCursorFromRow): adjust
16135         * BufferView_pimpl.C (restorePosition): adjust
16136         * lyxfunc.C (Dispatch): adjust
16137         * undo_funcs.C (textUndo): adjust
16138         (textRedo): adjust
16139         (textHandleUndo): adjust
16140         (textHandleUndo): adjust
16141
16142 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16143
16144         * buffer.C: up' the LYX_FORMAT
16145
16146         * lyxfont.h: turn NO_LATEX on as default
16147
16148         * buffer.C (insertErtContents): new methods of tex style compability.
16149         (parseSingleLyXformat2Token): use it several places.
16150         * tabular.C (OldFormatRead): and here
16151
16152 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16153
16154         * text2.C: remove some commented code.
16155         reindent file.
16156
16157         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16158         * trans.C: changes because of the above.
16159
16160 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16161
16162         * text2.C (setCounter): Fix counters bug with bibliography layout.
16163
16164 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16165
16166         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16167         own member functions
16168         (simpleTeXSpecialChars): ditto
16169
16170 2001-07-06  Juergen Vigna  <jug@sad.it>
16171
16172         * a lot of files: changed the access to LyXText::status and the
16173         call of undo-functions.
16174
16175         * undo.[Ch]: added a inset_id to the undo informations.
16176
16177         * undo_funcs.[Ch]: added and moved here all undo functions.
16178
16179         * lyxtext.h: give the status enum a weight, made status_ a private
16180         variable and made accessor functions for it, removed the whole bunch
16181         of undo-functions as they are now in their own file, make some
16182         functions publically available. Added function ownerParagraph with
16183         int parameter.
16184
16185         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16186         made InInset() a const function, added getParFromID() function.
16187
16188         * buffer.[Ch]: added const version for inset_iterator functions,
16189         added getInsetFromID() function.
16190
16191         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16192         changed undo functions for new version.
16193
16194 2001-07-05  Juergen Vigna  <jug@sad.it>
16195
16196         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16197         unknow mechanism does not call the proper constructor but only this
16198         one also if I request the other!?
16199
16200 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16201
16202         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16203
16204         * text2.C (LyXText): use initialization lists.
16205
16206         * lyxtext.h (Selection): initialize set_ and mark_
16207         (init): remove method
16208
16209 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16210
16211         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16212
16213 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16214
16215         * screen.[Ch]: change method names to begin with lowercase
16216
16217         * BufferView_pimpl.C (updateScrollbar): simplify further and
16218         hopefully make it a bit faster.
16219
16220 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16221
16222         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16223         calling directly xforms functions.
16224
16225         * Painter.C (Painter):
16226         * lyx_cb.C (MenuWrite):
16227         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16228         fl_display.
16229
16230         * lyx_gui.C: remove bogus guiruntime extern declaration.
16231
16232 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16233
16234         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16235         in NEW_INSETS
16236         (redoDrawingOfParagraph): ditto
16237         (redoParagraphs): ditto
16238         (cutSelection): don't create a object for CutAndPaste use the
16239         static method directly
16240         (pasteSelection): ditto
16241
16242         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16243         LyXview (+ rename)
16244
16245 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16246
16247         * modifications to some other files because of this.
16248
16249         * Makefile.am (lyx_SOURCES): add XFormsView
16250
16251         * XFormsView.[Ch]: new files
16252
16253         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16254         the main window. Move the gui dependent stuff to XFormsView
16255
16256 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16257
16258         * tabular.C (GetCellInset): update cur_cell also in the row/col
16259         version of this function.
16260
16261         * lyxfunc.C: no need to include figure_form.h here.
16262
16263         * FontLoader.h:
16264         * lyxfunc.h:
16265         * lyxscreen.h:
16266         * text2.C:
16267         * lyxvc.C: no need to include forms.h here.
16268
16269 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16270
16271         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16272
16273         * lyxfunc.C (Dispatch):
16274         * Spacing.C (set):
16275         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16276         constructor argument.
16277
16278 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16279
16280         * paragraph.C (Paragraph): dont't clear, and just set layout.
16281         (makeSameLayout): use params's copy contructor.
16282
16283         * ParagraphParameters.[Ch] (makeSame): delete method
16284
16285 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16286
16287         * Variables.[Ch]: fix indentation, rename set to isSet
16288
16289 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16290
16291         * lyxfunc.C (Dispatch): fix typo
16292
16293 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16294
16295         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16296         upper_bound.
16297
16298         * bufferlist.C: include assert.h for emergencyWrite().
16299
16300 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16301
16302         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16303           give up at last (bug #425202) !
16304
16305 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16306
16307         * lyx_gui_misc.C:
16308         * sp_form.h:
16309         * sp_form.C:
16310         * spellchecker.h:
16311         * spellchecker.C: strip spellchecker options and bring up
16312           preferences tab instead
16313
16314 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16315
16316         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16317         the istringstream constructor
16318
16319 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16320
16321         * paragraph.C (getLayout): fix return value
16322
16323         * paragraph.h: do not declare getLayout as inline.
16324
16325         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16326
16327 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16328
16329         * lyxcursor.h (operator<): new func
16330         (operator>): new func
16331         (operator>=): new func
16332         (operator<=): new func
16333
16334         * text.C (changeCase): use selection.start and selection.end
16335         (changeRegionCase): require from to be <= to. Require par to be a
16336         valid paragraph.
16337
16338         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16339
16340 2001-06-27  Juergen Vigna  <jug@sad.it>
16341
16342         * text.C (cursorLeftOneWord): changed to return the cursor and added
16343         overlay with BufferView * parameter which calls this one.
16344         (getWord): added
16345         (selectWord): use new getWord function.
16346         (changeCase): renamed from changeWordCase as and extended to work
16347         also on selections.
16348
16349         * lyxtext.h: added enum word_location
16350
16351         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16352         changeCase as this operates now also on selections.
16353
16354 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16355
16356         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16357
16358         * many files: send debug output to Debug::INFO instead of
16359         Debug::ANY.
16360
16361         * converter.C (View):
16362         (Convert):
16363         (Move): send debug output to Debug::FILES instead of console.
16364
16365 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16366
16367         * lyxfunc.C (getStatus): use func_status
16368
16369         * func_status.h: new header, describing the results of
16370         LyXFunc::getStatus;
16371
16372         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16373         LFUN_MATH_HALIGN.
16374
16375 2001-06-25  The LyX Project  <jug@sad.it>
16376
16377         * buffer.C (sgmlOpenTag):
16378         (sgmlCloseTag):
16379         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16380
16381 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16382
16383         * text2.C: remove some dead code
16384
16385         * tabular.C (GetCellInset): store the last cell checked (gotten)
16386
16387         * tabular.h: add the helper for the speedup
16388
16389         * lyxtext.h: remove some dead code
16390
16391 2001-06-26  The LyX Project  <Asger>
16392
16393         * paragraph.C: Change export to LaTeX of alignment to
16394         \begin{center} and family for better roundtrip work with reLyX.
16395
16396         * Tune the math drawing a bit.
16397
16398 2001-06-25  The LyX Project  <Asger>
16399
16400         * LColor.C (LColor): New color for math background. New color
16401         for buttons.
16402
16403 2001-06-25  The LyX Project  <jug@sad.it>
16404
16405         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16406
16407         * lyxfunc.C (Open):
16408         * bufferlist.C (newFile): do not restrict to files ending with
16409         .lyx
16410
16411         * BufferView_pimpl.C (MenuInsertLyXFile):
16412
16413 2001-06-24  The LyX Project  <jug@sad.it>
16414
16415         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16416         of compare_no_case
16417
16418 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * lyxtext.h: rename most methods to begin with a small char.
16421         Lots of changes because of this.
16422
16423         * paragraph.C (Paragraph): do not call fitToSize
16424         (erase): call Pimpl::erase
16425         (insertChar): call Pimpl::insertChar
16426         (insertInset): call Pipl::insertInset
16427         (breakParagraph): do not call fitToSize
16428         (breakParagraphConservative): do not call fitToSize
16429         (fitToSize): remove method
16430
16431         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16432
16433 2001-06-24  The LyX Project  <Asger>
16434
16435         * Fix Qt compilation^2
16436
16437 2001-06-24  The LyX Project  <jug@sad.it>
16438
16439         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16440         depthHook(getDepth()-1).
16441
16442         * paragraph.h:
16443         * ParagraphParameters.h:
16444         * ParameterStruct.h: change type of depth to unsigned int ==
16445         depth_type. Many adaptations to other files before of that.
16446
16447 2001-06-24  The LyX Project  <Asger>
16448
16449         * Fix Qt compilation.
16450
16451 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16452
16453         * paragraph.h: renamed several methods to begin with small letter.
16454         several changes to many parts of the code because of this.
16455
16456 2001-06-23  The LyX Project  <jug@sad.it>
16457
16458         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16459         rewritten to discard all double spaces when KeepEmpty is off
16460         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16461         to only handle newlines but not fiddle with spaces and friends.
16462
16463         * lyxfunc.C (MenuNew): when doing 'new from template', use
16464         template_path as default directory
16465
16466 2001-06-23  The LyX Project  <Asger>
16467
16468         * Clean-up of header file includes all over
16469         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16470
16471 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16472
16473         * paragraph.h: renamed from lyxparagraph.h
16474
16475 2001-06-23  Asger  <lyx@violet.home.sad.it>
16476
16477         * Buffer.h: Removed Buffer::resize
16478         * BufferList.h: Removed BufferList::resize
16479         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16480         the document lazily when we change the width, or the font settings.
16481
16482 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16483
16484         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16485
16486 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16487
16488         * buffer.h: remove out of date comment
16489
16490 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16491
16492         * lyxscreen.h:
16493         * screen.C: fix "theoretical" GC leak
16494
16495 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16496
16497         * LaTeX.C (scanAuxFile):
16498         (deplog): remove trailing \r when reading stream (useful under
16499         win32)
16500
16501 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16502
16503         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16504         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16505         and BufferView::theLockingInset(Inset*), so should use them and not
16506         access bv_->text->the_locking_inset directly.
16507
16508         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16509
16510 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16511
16512         * Makefile.am:
16513         * tex-defs.h: remove old unused file
16514
16515 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16516
16517         * BufferView_pimpl.C: fix typo, remove minibuffer message
16518           when buffer has loaded
16519
16520 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16521
16522         * lyxfunc.C (Dispatch): use stringstream
16523         (MenuNew): use stringstream
16524         (Open): use stringstream
16525
16526         * importer.C (Import): use stringstream
16527
16528         * bufferview_funcs.C (CurrentState): use stringstream
16529
16530         * LaTeX.C (run): use stringstream
16531
16532         * BufferView_pimpl.C (savePosition): use stringstream
16533         (restorePosition): use stringstream
16534         (MenuInsertLyXFile): use stringstream
16535
16536 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16537
16538         * BufferView.C:
16539         * Bullet.C:
16540         * ColorHandler.C:
16541         * FontInfo.C:
16542         * FontLoader.C:
16543         * LColor.C:
16544         * LaTeXFeatures.C:
16545         * Painter.C:
16546         * gettext.C:
16547         * lyx_gui_misc.C:
16548         * lyxserver.C:
16549         * vspace.C: removed // -*- C++ -*- as first line.
16550
16551         * lyxfind.h:
16552         * version.h: added // -*- C++ -*- as first line.
16553
16554 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16555
16556         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16557
16558         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16559         of string
16560
16561 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16562
16563         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16564         of floats.
16565
16566 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16567
16568         * gettext.C: include LString.h even when --disable-nls is on.
16569
16570 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16571
16572         * converter.h (Get): changed argument type from int to
16573         FormatList::size_type to avoid unnecessary conversion.
16574
16575         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16576         before using it.
16577
16578 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16579
16580         * gettext.h: include LString.h even when --disable-nls is on.
16581
16582 2001-06-07  Juergen Vigna  <jug@sad.it>
16583
16584         * text.C (BreakAgain): subst spaces with tabs.
16585
16586         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16587         (resizeInsetsLyXText): set force on resizeLyXText.
16588
16589 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16590
16591         * gettext.h (gettext_init):
16592         (locale_init): use a real definition instead of a macro
16593
16594 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16595
16596         * Bufferview_pimpl.C:
16597         * LColor.h:
16598         * LColor.C: further lcolor tidies
16599
16600 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16601
16602         * BufferView_pimpl.C (updateScrollbar): simplify.
16603
16604         * BufferView2.C: don't include insets/insetinfo.h, change
16605         prototype for insertInset and call the Pimpl version. let
16606         updateInset call Pimpl version.
16607
16608         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16609         gotoInset to BufferView::Pimpl
16610
16611 2001-06-01  Juergen Vigna  <jug@sad.it>
16612
16613         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16614         inside a LockingInset (is the update needed at all?).
16615
16616 2001-05-31  Juergen Vigna  <jug@sad.it>
16617
16618         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16619         here not the old one otherwise how should we compare it afterwards
16620         if it's the same!
16621
16622 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16623
16624         * lyxfont.C:
16625         * tabular.C:
16626         * tabular-old.C:
16627         * FontInfo.C: bring C functions into global namespace when
16628         necessary
16629
16630 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16631
16632         * LString.h: make sure config.h has been loaded before LString.h.
16633
16634         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16635         (one for each char read by EatLine!).
16636
16637         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16638         variables.
16639
16640 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16643         to the same as the par we break from
16644
16645 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16648
16649         * MenuBackend.C (expand): also create menu entries for wide
16650         versions of the floats.
16651
16652         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16653
16654         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16655
16656         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16657         frontends/Makefile.am
16658
16659         * text2.C: adjust
16660         * text.C: adjust
16661
16662
16663         * tabular.C (getTokenValue): add std::
16664
16665         * tabular-old.C (getTokenValue): add std::
16666         (getTokenValue): ditto
16667         (getTokenValue): ditto
16668
16669         * screen.C (ToggleSelection): adjust
16670
16671         * lyxtext.h: put selection cursors inside a Selection struct.
16672
16673         * lyxfunc.C (moveCursorUpdate): adjust
16674
16675         * lyxfont.C (latexWriteStartChanges): add std::
16676
16677         * lyxfind.C: adjust
16678
16679         * font.h: delete with(char const *, LyXFont const &)
16680
16681         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16682
16683         * FontInfo.C (getFontname): add std::
16684
16685         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16686         (workAreaButtonPress): adjust
16687         (tripleClick): adjust
16688         (update): adjust
16689         (moveCursorUpdate): adjust
16690         (Dispatch): adjust
16691
16692         * BufferView2.C (gotoInset): adjust
16693
16694 2001-05-30  Juergen Vigna  <jug@sad.it>
16695
16696         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16697         to check pspell I add this as default as I now have new pspell
16698         libraries and they seem to use this.
16699
16700 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16701
16702         * text2.C (CutSelection): make the cursor valid before the call to
16703         ClearSelection.
16704
16705 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16706
16707         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16708         relied on 0 terminated strings and other horrors. Bug found due to
16709         the new assert in lyxstring!
16710
16711         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16712         KP_ keys.
16713
16714 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16715
16716         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16717         to latinkeys.bind.
16718
16719         * lyxfunc.C (processKeySym): change method of getting to the
16720         self-insert char.
16721
16722         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16723         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16724         * BufferView_pimpl.[Ch]: here as private methods.
16725
16726 2001-05-28  Juergen Vigna  <jug@sad.it>
16727
16728         * text.C (SetHeightOfRow): added the update() call again as it is
16729         needed to initialize inset dimensions!
16730
16731 2001-05-16  Juergen Vigna  <jug@sad.it>
16732
16733         * text2.C (SetCharFont): Add new function with BufferView * and
16734         bool toggleall parameters for setting insets internal fonts.
16735         (SetFont): Freeze the undo as we may change fonts in Insets and
16736         all this change should be inside only one Undo!
16737
16738         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16739         setting font's in insets as for them we have the SetFont function!
16740
16741 2001-05-15  Juergen Vigna  <jug@sad.it>
16742
16743         * text2.C (ClearSelection): to be sure we REALLY don't have any
16744         selection anymore!
16745
16746         * tabular.C (TeXCellPreamble): fixed the left border problem for
16747         multicolumn cells.
16748
16749 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16750
16751         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16752         dependancy file
16753
16754 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16755
16756         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16757         LFUN_BREAKPARAGRAPH.
16758
16759         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16760         help test to "internal only", similar for LFUN_INSERT_URL
16761
16762         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16763         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16764         auto_region_delete and deadkeys.
16765
16766 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16767
16768         * LColor.h:
16769         * LColor.C: remove some dead entries, tidy a little
16770
16771 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16772
16773         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16774         commented code.
16775         (Dispatch): implement LFUN_ESCAPE
16776
16777         * commandtags.h: add LFUN_ESCAPE
16778
16779         * LyXAction.C (init): add entry for LFUN_ESCAPE
16780
16781         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16782         Remove commented code.
16783         (insertNote): moved here
16784         (open_new_inset): moved here
16785
16786         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16787         BufferView_pimpl
16788
16789 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16790
16791         * kbmap.C (findbinding): clean it up and make it work correctly.
16792
16793         * lyx_main.C (init): do not pass argc and argv as parameters
16794
16795 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16796
16797         * buffer.C: fix path for OS/2 & Win32
16798
16799         * lyx_gui.C:
16800         * lyx_main:
16801         * lyx_main.C: Added os:: class.
16802
16803         * os2_defines.h: update
16804
16805 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16806
16807         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16808         better by trying again with reduced state.
16809
16810 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16811
16812         * lyxrc.C (read): print error about invalid key sequence only when
16813         debugging (because not all latinX keysyms are known to some X
16814         servers)
16815
16816         * kbsequence.C (getiso): add a few std:: qualifiers
16817         (getiso): comment out extra return statement.
16818
16819 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16820
16821         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16822         handling.
16823         (Dispatch): enhance the accent inset a bit. (not perfect)
16824
16825 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16826
16827         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16828
16829 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * bufferlist.C (emergencyWrite): fix assert() call
16832
16833 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16834
16835         * text.C (InsertChar): Added trivial patch to only send the "you
16836         can not do multiple spaces this way" message once during a
16837         session.
16838
16839 2001-05-08  Baruch Even  <baruch@lyx.org>
16840
16841         * Makefile.am: Changed order of libraries to get LyX to link properly
16842         with the gnome frontend.
16843
16844 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16845
16846         * LaTeXFeatures.h: add a std:: qualifier
16847
16848 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16849
16850         * paragraph.C (String): use stringstream
16851
16852 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16853
16854         * paragraph.C (writeFile): remove footflag arg
16855
16856         * buffer.C (makeLaTeXFile): use stringstream
16857         (latexParagraphs): remove footnot gurba
16858
16859         * LaTeXFeatures.C (getPackages): use stringstream
16860         (getMacros): likewise
16861         (getTClassPreamble): likewise
16862         (getFloatDefinitions): new method
16863
16864         * paragraph.C (writeFile): reindent
16865         (Erase): reindent
16866
16867         * WorkArea.h: revert the xpos + etc changes.
16868
16869         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16870
16871         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16872
16873         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16874         (pasteSelection): likewise
16875         * text2.C (CreateUndo): likewise
16876
16877 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16878
16879         * minibuffer.C (peek_event): temporarily reduce the functionality
16880         of the minibuffer (to allow args on lfuns)
16881
16882         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16883         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16884
16885         * buffer.C (readInset): add compability reading of old float
16886         lists, add reading of new style float list.
16887         (readInset): avoid reevaluation of inscmd.getCmdName()
16888         (getLists): reindent
16889
16890         * MenuBackend.C (MenuItem): implement parsing of
16891         md_floatlistinsert and md_floatinsert.
16892         (expand::LastFiles): move initalizaton of iterators out of loop,
16893         avoid reevaluation.
16894         (expand::Documents): introduce typdedef vector<string> Strings,
16895         and use it.
16896         (expand::ExportFormats): introduce typedef vector<Format const *>
16897         Formats, and use it.
16898         (expand): implement FloatListInsert and FloatInsert.
16899
16900         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16901         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16902         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16903
16904         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16905         handling.
16906         (Dispatch::LFUN_FLOAT_LIST): implement
16907
16908 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16909
16910         * LaTeX.C (run): Fix problem with --export code.
16911
16912 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16913
16914         * BufferView.[Ch] (workarea): removed.
16915         (getClipboard) new method; wrapper for workarea()->getClipboard()
16916
16917         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16918         bug.
16919
16920         * WorkArea.h (width, height, xpos, ypos): These methods all
16921         returned the dimensions of the work_area sub-area of WorkArea,
16922         resulting in a position error if the WorkArea were resized. Now
16923         return the dimensions of the entire WorkArea.
16924
16925         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16926
16927 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16928
16929         * LaTeX.C (deplog): correct the syntax of regex reg1
16930
16931 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16932
16933         * undo.C: remove !NEW_INSETS cruft
16934
16935 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16936
16937         * text2.C: remove !NEW_INSETS cruft
16938
16939         * text.C: remove !NEW_INSETS cruft
16940
16941         * tabular.C: remove !NEW_INSETS cruft
16942
16943         * spellchecker.C: remove !NEW_INSETS cruft
16944
16945         * lyxtext.h: remove !NEW_INSETS cruft
16946
16947         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16948
16949         * lyxfunc.C: remove !NEW_INSETS cruft
16950
16951         * lyxfind.C: remove !NEW_INSETS cruft
16952
16953         * lyx_cb.C: remove !NEW_INSETS cruft
16954
16955         * figureForm.C: remove  !NEW_INSETS cruft
16956
16957         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16958
16959         * buffer.[Ch]: remove !NEW_INSETS cruft
16960
16961         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16962
16963         * CutAndPaste.C: remove !NEW_INSETS cruft
16964
16965         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16966
16967         * BufferView2.C: remove !NEW_INSETS cruft
16968
16969         * BufferView.h: remove !NEW_INSETS cruft
16970
16971 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * Lsstream.h: include LString.h before the sstream headers to
16974         fix problem with gcc 2.95.3 and lyxstring
16975
16976 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16977
16978         * lyx_main.C: add using directives when needed for C functions
16979         declared in std:: namespace.
16980
16981 2001-04-27  Juergen Vigna  <jug@sad.it>
16982
16983         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16984         (SetHeightOfRow): comment out the update call should not be needed!
16985
16986 2001-04-13  Juergen Vigna  <jug@sad.it>
16987
16988         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16989         (LyXTabular): tried to minimize operator= operations (and realized
16990         hopfully Lars wish).
16991
16992 2001-04-27  Juergen Vigna  <jug@sad.it>
16993
16994         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16995
16996 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16997
16998         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16999
17000         * buffer.C (readInset): hack to make listof algorithm work
17001
17002         * BufferView_pimpl.C: hack to make listof algorithm work
17003
17004 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17005
17006         * LyXAction.C: removed all !NEW_INSETS cruft
17007         (init): moved lfun_item in method
17008
17009         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17010
17011 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17012
17013         * BufferView2.C (theLockingInset): white space.
17014
17015 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17016
17017         * minibuffer.C: include <iostream>
17018
17019         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17020
17021         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17022
17023         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17024
17025         * text.[Ch] (TransposeChars): new method
17026
17027 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17028
17029         * call message directly through LyXView instead of through LyXFunc
17030         * BufferView2.C: adjust
17031         * BufferView_pimpl.C: adjust
17032         * FontLoader.C: adjust
17033         * buffer.C: adjust
17034         * bufferview_funcs.C: adjust
17035         * converter.C: adjust
17036         * figureForm.C: adjust
17037         * importer.C: adjust
17038         * lyx_cb.C: adjust
17039         * lyx_gui_misc.C: adjust
17040         * lyxfunc.C: adjust
17041         * lyxvc.C: adjust
17042         * text2.C: adjust
17043         + more files in subdirs
17044
17045         * lyxparagraph.h (size): move up int file
17046         (GetLayout): ditto
17047
17048         * adjust all uses of Assert to lyx::Assert.
17049
17050         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17051         lyxfunctional in namespace lyx
17052         * layout.C (hasLayout): ditto
17053         (GetLayout): ditto
17054         (GetLayout): ditto
17055         (delete_layout): ditto
17056         (NumberOfClass): ditto
17057         * converter.C (GetFormat): ditto
17058         (GetNumber): ditto
17059         (Add): ditto
17060         (Delete): ditto
17061         (SetViewer): ditto
17062         * bufferlist.C (getFileNames): ditto
17063         (emergencyWriteAll): ditto
17064         (exists): ditto
17065         (getBuffer): ditto
17066         * MenuBackend.C (hasSubmenu): ditto
17067         (hasMenu): ditto
17068         (getMenu): ditto
17069         * BufferView_pimpl.C (getInsetByCode): ditto
17070
17071 2001-04-18  Juergen Vigna  <jug@sad.it>
17072
17073         * vspace.C (asLatexString): fixed the 100% problem.
17074
17075 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17076
17077         * lyxfunc.C (Dispatch):
17078         * minibuffer.C:
17079         * minibuffer.h: add a few std:: qualifiers
17080
17081 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17082
17083         * minibuffer.[Ch]: reimplement so that commands is initiated and
17084         run from lyxfunc, simplified som handling, and made the completion
17085         and history code for complete. wip.
17086
17087         * lyxfunc.C (processKeySym): call message
17088         (miniDispatch): new temporary method
17089         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17090         (LFUN_MESSAGE): implement
17091         (LFUN_MESSAGE_PUSH): implement
17092         (LFUN_MESSAGE_POP): implement
17093         (initMiniBuffer): the initial/defualt minibuffer message.
17094
17095         * lyxfont.[Ch]: inline some more getters
17096
17097         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17098
17099         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17100
17101         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17102         (AutoSave): use LFUN_MESSAGE
17103         (Reconfigure): ditto
17104
17105         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17106
17107         * figureForm.C: use LFUN_MESSAGE
17108
17109         * converter.C (runLaTeX): use LFUN_MESSAGE
17110
17111         * bufferview_funcs.C: use LFUN_MESSAGE
17112         (Melt): ditto
17113         (changeDepth): ditto
17114
17115         * bufferparams.h: use boost::
17116
17117         * bufferlist.h: inherit privately from noncopyable
17118
17119         * bufferlist.C (loadLyXFile): remove some commented code.
17120
17121         * buffer.C (runChktex): use LFUN_MESSAGE
17122
17123         * ShareContainer.h: inherit privately from noncopyable
17124
17125         * ParagraphParameters.[hC] (depth): inline it.
17126
17127         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17128         methods.
17129         (message): new method
17130         (messagePush): ditto
17131         (messagePop): ditto
17132         (show): init minibuffer
17133         (showState): direct call
17134
17135         * LaTeX.[Ch]: inherit privately from noncopyable
17136         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17137         instead of WriteStatus.
17138
17139         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17140
17141         * BufferView_pimpl.C (buffer): don't init minibuffer
17142         (workAreaButtonPress): use LFUN_MESSAGE
17143         (workAreaButtonRelease): ditto
17144         (savePosition): ditto
17145         (restorePosition): ditto
17146         (MenuInsertLyXFile): ditto
17147         (workAreaExpose): don't init minibuffer
17148         (update): remove commented code, simplify
17149
17150         * BufferView2.C (openStuff): use LFUN_MESSAGE
17151         (toggleFloat): ditto
17152         (menuUndo): ditto
17153         (menuRedo): ditto
17154         (copyEnvironment): ditto
17155         (pasteEnvironment): ditto
17156         (copy): ditto
17157         (cut): ditto
17158         (paste): ditto
17159         (gotoInset): ditto
17160         (updateInset): remove some commented code
17161
17162         * lastfiles.h: inherit privately from noncopyable
17163         * layout.h: ditto
17164         * lyx_gui.h: ditto
17165         * lyx_main.h: ditto
17166         * lyxlex.h: ditto
17167         * lyxlex_pimpl.h: ditto
17168
17169         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17170         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17171         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17172
17173         * LyXAction.h: inherit privately from noncopyable, add methods
17174         func_begin, func_end, returning iterators to the func map.
17175
17176         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17177         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17178         (func_begin): new method
17179         (func_end): new method
17180
17181         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17182         and not)
17183         (copySelection): ditto
17184         (pasteSelection): ditto
17185
17186         * BufferView.C: whitespace change
17187         * BufferView.h: inherit privately from noncopyable
17188
17189 2001-04-16  Allan Rae  <rae@lyx.org>
17190
17191         * tabular-old.C (l_getline):
17192         * spellchecker.C (sc_check_word):
17193         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17194         an unrecognised preprocessor directive.  So ensure they're wrapped.
17195
17196 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17197
17198         * src/exporter.C (Export): Give an error message when path to file
17199         contains spaces.
17200
17201 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17202
17203         * LaTeX.C (deplog): Always check that foundfile exists.
17204
17205 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17206
17207         * lyx_main.h:
17208         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17209
17210 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17211
17212         * tabular.[Ch] (getLabelList): implement new method
17213
17214         * minibuffer.h: comment ouf setTiimer
17215
17216         * minibuffer.C (ExecutingCB): constify res
17217         (peek_event): constify s
17218         (Set): constify ntext
17219         (Init): constify nicename
17220
17221         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17222
17223         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17224         (savePosition): use two params to Minibuffer::Set
17225         (restorePosition): ditto
17226
17227 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17228
17229         * lyx_main.C: include language.h
17230
17231         * Makefile.am (lyx_main.o): add language.h
17232
17233 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17234
17235         * exporter.C:
17236         * paragraph.C:
17237         * screen.C:
17238         * tabular.C:
17239         * CutAndPaste.C: include gettext.h
17240
17241         * lyxfont.h: remove old hack with ON and OFF.
17242
17243         * lyxparagraph.h:
17244         * lyxfont.h: do not include language.h...
17245
17246         * BufferView2.C:
17247         * LaTeXFeatures.C:
17248         * Painter.C:
17249         * bufferview_funcs.C:
17250         * font.C:
17251         * lyxfont.C:
17252         * text.C:
17253         * text2.C:
17254         * trans_mgr.C:
17255         * paragraph.C: ... but do it here instead
17256
17257 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17258
17259         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17260
17261         * tabular.C: small reformat
17262
17263         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17264         NEW_INSETS version
17265         (GetChar): ditto
17266         (BreakParagraph): ditto
17267         (SetOnlyLayout): ditto
17268         (SetLayout): ditto
17269
17270         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17271         with one arg less.
17272
17273         * lastfiles.C: removed most using decl, add std:: where needed
17274
17275         * buffer.C: ws changes
17276
17277         * MenuBackend.C (class compare_format): put into anon namespace
17278         (expand): constify label, names, action, action2
17279         (expand):
17280
17281         * text.C (SingleWidth): constify font
17282         (IsBoundary): constify rtl2
17283         (GetVisibleRow): constify ww
17284
17285         * LaTeX.C (deplog): constify logfile
17286
17287         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17288         start_x, end_x
17289         (workAreaExpose): constify widthChange, heightChange
17290
17291         * lyxrow.C (par): moved
17292         (height): moved
17293         (next): moved
17294         * lyxrow.h: as inlines here
17295
17296         * lyxfont.h (shape): moved from lyxfont.C
17297         (emph): moved from lyxfont.C
17298
17299         * lyxfont.C (LyXFont): use initialization list for all
17300         constructors
17301         (shape): move to lyxfont.h as inline
17302         (emph): move to lyxfont.h as inline
17303
17304
17305 2001-04-04  Juergen Vigna  <jug@sad.it>
17306
17307         * vspace.C: had to include stdio.h for use of sscanf
17308
17309 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17310
17311         * BufferView.h:
17312         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17313         independent of xforms.
17314
17315 2001-04-02  Juergen Vigna  <jug@sad.it>
17316
17317         * spellchecker.C: fixed namespace placing!
17318
17319 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17320
17321         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17322         the LyXParagraph * is 0.
17323
17324 2001-03-29  Juergen Vigna  <jug@sad.it>
17325
17326         * vspace.C: added support for %, c%, p%, l%.
17327         (stringFromUnit): added helper function.
17328         (asLatexString): changed to give right results for the %-values.
17329
17330         * buffer.C: convert the widthp in a width%.
17331
17332 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17333
17334         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17335         figureForm.[Ch].
17336
17337         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17338         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17339
17340         * lyx_cb.[Ch]: see above.
17341
17342         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17343         form1.[Ch].
17344
17345         * form1.[Ch]:
17346         * lyx.[Ch]: replaced by figure_form.[Ch].
17347
17348         * lyx_gui.C:
17349         * lyx_gui_misc.C:
17350         * lyxfunc.C: changed headers associated with above changes.
17351
17352 2001-03-27  Juergen Vigna  <jug@sad.it>
17353
17354         * BufferView_pimpl.C: set the temporary cursor right!
17355
17356 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17357
17358         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17359
17360 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17361
17362         * LString.h: removed "using std::getline"!
17363
17364         * BufferView_pimpl.C (Dispatch): changes due to changes in
17365         InsetInclude::Params.
17366
17367         * buffer.C (tag_name): removed redundant break statements as they were
17368         producing lots of warnings with my compiler.
17369
17370 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17371
17372         * LString.h: add "using std::getline" when using the real <string>.
17373
17374 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17375
17376         * buffer.C: removed bitset usage.
17377         PAR_TAG moved to an anonymous name space.
17378         (tag_name): new funtion, also in the anonymous namespace.
17379         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17380         (makeDocBookFile): clean code. Completed transition from string arrays
17381         to string vectors.
17382         (SimpleDocBookOnePar): code clean.
17383
17384 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17385
17386         * tabular.C: add some comments.
17387
17388 2001-03-22  Juergen Vigna  <jug@sad.it>
17389
17390         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17391         compatibility read a bit and fixed bug with minipage in different
17392         depth.
17393
17394 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17395
17396         * buffer.C (pop_tag): removed.
17397         (push_tag): removed.
17398         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17399         array replaced with vector. Added support for CDATA sections.
17400         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17401         at any nest level.
17402         (makeDocBookFile): XML conformant declaration of CDATA section,
17403         fixed bug related to <emphasis> in the first paragraph char.
17404         (sgmlOpenTag): exclude empty tags.
17405         (sgmlCloseTag): ditto.
17406
17407         * buffer.h (pop_tag): removed.
17408         (push_tag): removed.
17409
17410 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17411
17412         * language.h (Languages): added size_type and size().
17413
17414 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17415
17416         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17417         response on compability reading of minipages. One probliem is that
17418         the old usage of minipages was flertydig
17419
17420         * several files here and in subdirs: don't use static at file
17421         scope use anon namespaces instead.
17422
17423 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17424
17425         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17426         LaTeX output. This is necessary for Literate document
17427         processing.
17428
17429 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17430
17431         * buffer.C: insert hfill when needed.
17432
17433         * tabular.C (l_getline): use string::erase, small whitespace change.
17434
17435         * BufferView_pimpl.C: try the anon namespace.
17436         * WorkArea.C: ditto
17437
17438 2001-03-16  Juergen Vigna  <jug@sad.it>
17439
17440         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17441         otherwise it won't open options-dialogs.
17442
17443         * buffer.C: honor pextraWidth(p) on converting minipages.
17444
17445         * tabular.C (l_getline): changed the functions to strip trailing \r.
17446
17447 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17448
17449         * BufferView_pimpl.C:
17450         * minibuffer..C: added "using SigC::slot" declaration.
17451
17452 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17453
17454         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17455
17456         * text2.C: ditto
17457
17458         * text.C: ditto
17459
17460         * paragraph.C: ditto
17461
17462         * lyxtext.h: NO_PEXTRA
17463
17464         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17465
17466         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17467         * ParameterStruct.h: ditto
17468         * ParagraphParameters.h: ditto
17469         * lyxparagraph.h: ditto
17470
17471 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17472
17473         * buffer.C: add compability for minipage alignment.
17474         (latexParagraphs): remove unwanted pextra check.
17475
17476         * several files: remove CXX_WORKING_NAMESPACES
17477
17478         * buffer.C (pop_tag): tie is in namespace boost
17479
17480         * BufferView.h: noncopyable is in namespace boost
17481         * lyxlex.h: ditto
17482         * lyx_main.h: ditto
17483         * lyx_gui.h: ditto
17484         * layout.h: ditto
17485         * lastfiles.h: ditto
17486         * bufferlist.h: ditto
17487         * ShareContainer.h: ditto
17488         * LyXView.h: ditto
17489         * LyXAction.h: ditto
17490         * LaTeX.h: ditto
17491
17492 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17493
17494         * Merging changes from BRANCH_MVC back into HEAD.
17495
17496         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17497
17498 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17499
17500         * BufferView_pimpl.C: change from intl.C
17501
17502         * combox.h:
17503         * combox.C:
17504         * Makefile.am: move combox.*
17505
17506         * form1.h:
17507         * form1.C:
17508         * lyx_gui.C:
17509         * intl.h:
17510         * intl.C: remove dialog (covered by prefs)
17511
17512 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17513
17514         * lyxfunc.C (Dispatch): removed redundant break statement.
17515
17516 2001-03-14  Juergen Vigna  <jug@sad.it>
17517
17518         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17519
17520 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17521
17522         * buffer.C: add hack to fix compability reading of minipages.
17523
17524 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17525
17526         * buffer.C (getLists): Cleanup.
17527
17528 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17529
17530         * lyxfont.C (update): don't honor toggleall on font size.
17531
17532 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17533
17534         * bmtable.c:
17535         * bmtable.h:
17536         * Makefile.am: moved to frontends/xforms/
17537
17538         * lyx_gui_misc.C:
17539         * lyxfunc.C:
17540         * BufferView_pimpl.C: changes for moved mathpanel
17541
17542 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17543
17544         * gettext.h: fix gettext_init() in --disable-nls
17545
17546 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17547
17548         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17549
17550 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17551
17552         * lyx.C:
17553         * lyx.h: strip external form
17554
17555 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17556
17557         * BufferView_pimpl.C: add comment, destroySplash()
17558
17559 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17560
17561         * BufferView_pimpl.C:
17562         * LyXAction.C:
17563         * buffer.C:
17564         * commandtags.h:
17565         * lyxfunc.C: use re-worked insetinclude
17566
17567 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17568
17569         * buffer.C: add using std::stringstream.
17570
17571         * lyx_cb.C: readd using std::ios.
17572
17573         * buffer.C: add using std::map.
17574
17575         * BufferView_pimpl.C: add using std::vector.
17576
17577         * ShareContainer.h: add std:: to swap.
17578
17579         * buffer.h: add some typedefs
17580         * buffer.C (getLists): use them
17581         (getLists): renamed from getTocList.
17582         add a counter for the different float types and use it in the
17583         generated string.
17584         (getLists): use the same counter for the NEW_INSETS and the "non"
17585         NEW_INSETS
17586
17587         * lyx_cb.h: remove unused items, includes, using etc.
17588
17589         * ShareContainer.h: remove some commented code, add more comments
17590         and "documentation".
17591
17592 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17593
17594         * buffer.C (getTocList): make the list also when NEW_INSETS is
17595         defined.
17596
17597         * buffer.h: remove TocType
17598
17599         * buffer.C (getTocList): change to return a map<string,
17600         vector<TocItem> >, implement for dynamic number of list.
17601
17602         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17603         * text2.C (PasteSelection): adjust
17604         * CutAndPaste.C (pasteSelection): adjust
17605
17606         * FloatList.C (FloatList): update from the new_insets branch.
17607         * Floating.[Ch]: ditto
17608         * LaTeXFeatures.C: ditto
17609         * buffer.C: ditto
17610         * lyxlex_pimpl.C: ditto
17611
17612         * paragraph.C (Last): remove when NEW_INSETS is defined.
17613
17614         * other file: changes because of the above.
17615
17616 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17617
17618         * lyxparagraph.h: rename next to next_, previous to previous_,
17619         make them private for NEW_INSETS. Rename Next() to next(),
17620         Previous() to previous().
17621
17622         * other files: changes because of the above.
17623
17624 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17625
17626         * BufferView.h:
17627         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17628         problem.
17629
17630 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17631
17632         * main.C (main): pass lyx_localedir to gettext_init().
17633
17634         * gettext.h: remove locale_init and gettext_init macros
17635
17636         * gettext.C (locale_init): new function
17637         (gettext_init): new function
17638
17639         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17640         setlocale().
17641
17642 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17643
17644         * Moved credits to frontends:
17645         * credits.[Ch]: removed
17646         * credits_form.[Ch]: removed
17647         * lyx_gui_misc.C: remove credits stuff
17648         * Makefile.am:
17649
17650 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17651
17652         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17653
17654         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17655         unneeded destructor.
17656
17657         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17658         a standalone pointer again.
17659
17660         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17661
17662 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17663
17664         * Makefile.am:
17665         * filedlg.h:
17666         * filedlg.C:
17667         * LyXAction.C:
17668         * ToolbarDefaults.C:
17669         * bufferlist.C:
17670         * commandtags.h:
17671         * form1.C:
17672         * form1.h:
17673         * lyx_cb.C:
17674         * lyx_cb.h:
17675         * lyxfunc.h:
17676         * lyxfunc.C:
17677         * BufferView_pimpl.C: use new file dialog in GUII
17678
17679         * lyx_cb.h:
17680         * lyx_cb.C: remove LayoutsCB to Toolbar
17681
17682 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17683
17684         * ShareContainer.h (get): add std:: qualifier
17685
17686 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17687
17688         * ShareContainer.h: define a proper ShareContainer::value_type
17689         type (and use typename to please compaq cxx)
17690
17691 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17692
17693         * lyxparagraph.h: move serveral local vars to
17694         ParameterStruct/ParagraphParameters., use ShareContainer in
17695         FontTable., make vars in FontTable private and add getter and
17696         setter.
17697
17698         * paragraph.C: changes because of the above.
17699
17700         * lyxfont.h: remove copy constructor and copy assignment. (the
17701         default ones is ok), move number inside FontBits. move inlines to
17702         lyxfont.C
17703
17704         * lyxfont.C: add number to initializaton of statics, move several
17705         inlines here. constify several local vars. some whitespace
17706         cleanup. Dont hide outerscope variables.
17707
17708         * Spacing.h: add two new constructors to match the set methods.
17709
17710         * ShareContainer.h: new file, will perhaps be moved to support
17711
17712         * ParameterStruct.h: new file
17713
17714         * ParagraphParameters.h: new file
17715
17716         * ParagraphParameters.C: new file
17717
17718         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17719         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17720
17721         * BufferView_pimpl.C: ParagraphParameter changes.
17722         * buffer.C: Likewise.
17723         * bufferview_funcs.C: Likewise.
17724         * text.C: Likewise.
17725         * text2.C: Likewise.
17726
17727 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17728
17729         * lyxfind.C (LyXReplace): do not redefine default argument in
17730         implementation.
17731         (IsStringInText): ditto
17732         (SearchForward): ditto
17733         (SearchBackward): ditto
17734
17735 2001-03-06  Juergen Vigna  <jug@sad.it>
17736
17737         * lyxfind.C (IsStringInText): put parentes around expressions.
17738
17739 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17740
17741         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17742
17743 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17744
17745         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17746
17747         * stl_string_fwd.h: add comment
17748
17749         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17750
17751         * tabular.h:
17752         * tabular.C: remove unused DocBook methods
17753
17754         * intl.C:
17755         * language.C:
17756         * paragraph.C:
17757         * buffer.C:
17758         killed DO_USE_DEFAULT_LANGUAGE
17759
17760 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17761
17762         * lyx_gui.C: do not include language.h.
17763
17764         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17765         arguments in function implementation.
17766
17767 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17768
17769         * BufferView_pimpl.C: add <ctime>
17770
17771 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17772
17773         * BufferView_pimpl.C: add using std::find_if
17774
17775 2001-02-27  José Matos  <jamatos@fep.up.pt>
17776
17777         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17778         by OnlyPath.
17779
17780 2001-02-11  José Matos  <jamatos@fep.up.pt>
17781
17782         * buffer.C (makeDocBookFile): command styles now have a parameter as
17783         "title" by default.
17784
17785 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17786
17787         * layout_forms.[Ch]: removed
17788         * lyx_cb.[Ch]: out character
17789         * lyx_gui.C: out character
17790         * lyx_gui_misc.C: out character
17791         * bufferview_funcs.C: : out character,
17792         added toggleall as parameter in ToggleAndShow
17793
17794 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17795
17796         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17797
17798         * text2.C (SetCurrentFont): Disable number property at boundary.
17799
17800 2001-02-26  Juergen Vigna  <jug@sad.it>
17801
17802         * lyxfunc.C (getStatus): added a string argument override function so
17803         that this is correctly called from LyXFunc::Dispatch if it contains a
17804         do_not_use_argument which is used!
17805         (Dispatch): added check for "custom" export and call appropriate func.
17806
17807 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17808
17809         * lyxrc.C: Add language_command_local, language_use_babel and
17810         language_global_options.
17811
17812         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17813
17814         * buffer.C (makeLaTeXFile): Use language_use_babel and
17815         language_global_options.
17816
17817 2001-02-23  Juergen Vigna  <jug@sad.it>
17818
17819         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17820         which works with LyXText and putted it inside BufferView. Here now we
17821         only call for that part the BufferView::Dispatch() function.
17822
17823         * BufferView.C (Dispatch): added.
17824
17825         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17826         functions which needs to use a LyXText over from LyXFunc.
17827         (MenuInsertLyXFile): added
17828         (getInsetByCode): added
17829         (moveCursorUpdate): added
17830         (static TEXT): added
17831
17832 2001-02-22  Juergen Vigna  <jug@sad.it>
17833
17834         * BufferView_pimpl.C (update): call a status update to see if LyXText
17835         needs it.
17836
17837 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17838
17839         * vc-backend.C (revert): implement for CVS
17840         (getLog): implement for CVS
17841
17842 2001-02-20  Juergen Vigna  <jug@sad.it>
17843
17844         * text2.C (ClearSelection): added BufferView param for inset_owner call
17845
17846         * lyxfunc.C (TEXT): added this function and use it instead of
17847         directly owner->view()-text of getLyXText().
17848
17849 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17850
17851         * src/layout_forms.C: out preamble
17852         * src/layout_forms.h: out preamble
17853         * src/lyx_cb.C: out preamble
17854         * src/lyx_cb.h: out preamble
17855         * src/lyx_gui.C: out preamble
17856         * src/lyx_gui_misc.C: out preamble
17857         * src/lyxfunc.C: connect with guii preamble
17858
17859 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17860
17861         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17862
17863 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17864
17865         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17866         whether to run bibtex.
17867
17868 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17869
17870         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17871
17872 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17873
17874         * Makefile.am (lyx_SOURCES): removed bibforms.h
17875
17876         * vspace.h: doxygen
17877
17878         * text.C (GetVisibleRow): make several local vars const
17879
17880         * tabular.C: small cleanup.
17881
17882         * lyxserver.C (callback): use compare instead of strncmp
17883
17884         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17885         inlines to after class or to paragraph.C
17886
17887         * lyxfont.h: remove friend operator!=
17888
17889         * converter.h: move friend bool operator< to non friend and after
17890         class def.
17891
17892         * combox.h: small cleanup
17893
17894         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17895         to inlines after class def.
17896
17897         * buffer.C (pop_tag): use string operations instead of strcmp
17898
17899         * bmtable.c: doxygen, small cleanup
17900
17901         * LaTeX.h: remove friend operator==
17902
17903 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17904
17905         * screen.C:
17906         * lyxrc.[Ch]:
17907         * lyxfunc.C:
17908         * lyxfont.[Ch]:
17909         * lyx_cb.C:
17910         * intl.[Ch]:
17911         * commandtags.h:
17912         * buffer.C:
17913         * WorkArea.[Ch]:
17914         * LyXAction.C:
17915         * BufferView_pimpl.C:
17916         * BufferView.[Ch]: remove cruft
17917
17918 2001-02-14  Juergen Vigna  <jug@sad.it>
17919
17920         * lyxfunc.C: removed #if 0 unused code
17921
17922         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17923
17924         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17925
17926         * text2.C (SetSelection): added a BufferView * parameter
17927
17928 2001-02-13  Juergen Vigna  <jug@sad.it>
17929
17930         * lyxfunc.C (Dispatch): fixed protected blank problem.
17931         * BufferView2.C (protectedBlank): added LyxText * parameter.
17932
17933         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17934         (AppendColumn): same as above for column_info.
17935
17936         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17937         (moveCursorUpdate): use a LyXText param for support of InsetText.
17938
17939         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17940         (tripleClick): ditto
17941
17942         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17943
17944         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17945
17946         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17947
17948         * text2.C (SetSelection): set correct update status if inset_owner
17949         (ToggleFree): ditto
17950
17951 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17952
17953         * tabular.C: remove some commented code.
17954
17955 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17956
17957         * BufferView_pimpl.C: call hideSplash()
17958
17959         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17960
17961         * include_form.h:
17962         * bibforms.h: remove
17963
17964         * lyxfunc.C:
17965         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17966           add LFUN_CHILD_CREATE
17967
17968         * counters.h: fix tiny typo
17969
17970         * lyx_cb.C:
17971         * lyx.h:
17972         * lyx_gui.C:
17973         * lyx.C: move splash to frontends/xforms/
17974
17975         * lyx_gui_misc.C: move Include and Bibform to frontends
17976
17977         * lyxvc.h: clarify comment
17978
17979         * vspace.C: tiny housekeeping
17980
17981 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17982
17983         * text.C (PrepareToPrint): RTL Fix.
17984
17985         * paragraph.C (GetUChar): New method.
17986         (String):  Use GetUChar.
17987
17988         * buffer.C (asciiParagraph): Use GetUChar.
17989
17990 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17991
17992         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17993
17994 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17995
17996         * buffer.h:
17997         * buffer.C: rename to getLogName(), handle
17998           build log / latex log nicely
17999
18000 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18001
18002         * MenuBackend.C:
18003         * MenuBackend.h: remove support for reference menuitem type.
18004
18005 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18006
18007         * BufferView_pimpl.C: housekeeping
18008         * BufferView_pimpl.h:
18009         * LyXView.h:
18010         * Makefile.am:
18011         * Timeout.C:
18012         * Timeout.h:
18013         * minibuffer.h: move Timeout GUI-I
18014
18015 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18016
18017         * lyxrc.C (read): Update converters data-structures.
18018
18019 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18020
18021         * LaTeX.h (operator!=): add operator != for Aux_Info
18022
18023 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18024
18025         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18026
18027         * LaTeXLog.C: deleted, useful code moved to Buffer
18028
18029         * buffer.h:
18030         * buffer.C: new function getLatexLogName()
18031
18032         * lyx_gui_misc.C:
18033         * lyx_gui.C:
18034         * lyxvc.C:
18035         * lyxvc.h:
18036         * lyxfunc.C: use frontends for LaTeX and VC logs
18037
18038 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18039
18040         * LaTeX.h: yet another std:: that Allan forgot.
18041
18042         * Variables.C (set): renamed from isset(), because this clashes
18043         with some HP-UX macros (grr).
18044
18045 2001-02-06  Allan Rae  <rae@lyx.org>
18046
18047         * LaTeX.h: Another bug fix.  Missing std:: this time.
18048
18049 2001-02-04  Allan Rae  <rae@lyx.org>
18050
18051         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18052         floats problem. I've left it commented out because it's not quite
18053         correct.  It should also test that the current object is a table or
18054         figure inset.  But I haven't gotten around to figuring out how to do
18055         that.  I *think* it'll be something like: "table" == inset.type()
18056
18057         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18058         bool.
18059
18060 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18061
18062         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18063         all the citation/databases/styles in the auxilary file.
18064         (run): Rerun latex if there was a babel language error.
18065
18066 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18067
18068         * text.C (Backspace): Preserve the font when changing newline char
18069         with a space.
18070         (BreakParagraph): If the cursor is before a space, delete the space.
18071
18072         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18073
18074 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18075
18076         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18077         new argument (code).
18078         (ChangeCitationsIfUnique): New method.
18079
18080         * paragraph.C (GetPositionOfInset): Handle bibkey.
18081
18082 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18083
18084         * BufferView_pimpl.h: change type of Position::par_pos to
18085         LyXParagraph::size_type.
18086
18087 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18088
18089         * BufferView_pimpl.C (savePosition, restorePosition): Write
18090         messages to minibuffer.
18091
18092 2001-01-28  José Matos  <jamatos@fep.up.pt>
18093
18094         * buffer.C (makeDocBookFile): adds support for document language.
18095         A silly restriction on the name of LatexCommand types where removed.
18096         Added support for CDATA sections, allows to chars unescaped, used
18097         among others in code, to avoid escape < and >.
18098
18099 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18100
18101         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18102         saved positions instrad of a stack. Furthermore, a position is
18103         stored using paragraph id/paragraph position.
18104
18105         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18106         Remove LFUN_REF_BACK.
18107
18108 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18109
18110         * converter.C (dvipdfm_options): New method.
18111
18112 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18113
18114         * vspace.C (isValidLength): Fix for empty input string.
18115
18116 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18117
18118         * LyXAction.C (init): change description of LFUN_FIGURE to
18119         "Insert Graphics"
18120
18121 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18122
18123         * LaTeX.C: add using directive
18124
18125 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18126
18127         * MenuBackend.C (expand): Fix the sorting of the formats.
18128
18129 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18130
18131         * lyx_main.C: tiny error message fix
18132
18133 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18134
18135         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18136         calling fl_initialize(). This fixes the problem with ',' as
18137         decimal separator in text files.
18138
18139 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18140
18141         * trans.C (process): Fix the keymap bug.
18142
18143 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18144
18145         * LaTeX.C (scanAuxFiles): New method. Provides support for
18146         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18147         (scanLogFile) Scan for "run BibTeX" messages.
18148
18149         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18150         OT1 font encoding. Also, load the aecompl package if the ae
18151         package is loaded.
18152
18153         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18154
18155 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18156
18157         * texrow.C (increasePos): turn two error messages into debug
18158         messages.
18159
18160 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18161
18162         * LaTeX.C (scanAux): Handle the \@input macro.
18163         (runBibTeX): Use scanAux().
18164
18165         * language.C (latex_options_): New field.
18166
18167         * LaTeXFeatures.C (getMacros): Add language macros.
18168
18169         * buffer.C (makeLaTeXFile): Small fix.
18170
18171 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18172
18173         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18174
18175         * text2.C: add a using directive.
18176
18177 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18178
18179         * BufferView2.C:
18180         * lyx_gui_misc.h:
18181         * lyxfr1.C:
18182         * lyxfunc.C: kill LyXBell.
18183
18184 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18185
18186         * text.C (IsBoundary): Remove the error message
18187
18188         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18189
18190         * lyxrc.C (setDefaults): Correct initialization value for
18191         font_norm_type.
18192
18193 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18194
18195         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18196         gotoError().
18197
18198         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18199         and GotoNextNote().
18200
18201         * src/LyXAction.C: Added reference-next.
18202
18203         * text.C (InsertChar): Use contains instead of strchr.
18204
18205         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18206
18207 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18208
18209         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18210         alignment commands (when needed).
18211
18212         * text.C (InsertChar): Add ':' to number separator chars.