]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3e91e1a0c54ca68307abcf566696aced4be8425b
[lyx.git] / src / ChangeLog
1 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
2         * buffer_funcs.C: Trivial fix - added {} around
3         the statements to be affected by a if-test. Now
4         label in a minipage in a float looks ok on screen again.
5
6 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * text2.C: fix bug 2015: on screen fonts in nested environments 
9         can be wrong
10
11 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
12
13         * converter.C (convert): handle unknown formats
14
15 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16
17         * cursor.C (goUpDown): comment out some debug messages.
18
19         * counters.C (newCounter): make error messages more explicit
20         (these appear with some textclasses like beamer)
21
22 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * kbmap.C (defkey): 
25         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
26         have origin set to KEYBOARD. (bug 2221)
27
28 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
29
30         * rowpainter.C (isCursorOnRow): do not exclude endpos().
31
32 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
33
34         * cursor.C (macroModeClose): returns true if an inset actually got
35         inserted; revert faulty fix to bug 2034.
36
37 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * tabular.C (getLabelList): remove (not used anymore).
40
41 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * outputparams.[Ch]: add new flag inComment
44
45 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
46
47         * text2.C (deleteEmptyParagraphMechanism): since we delete a
48         paragraph, recordUndo should span two paragraphs (bug 2155).
49
50 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * rowpainter.C (paintPar): always repaint the row with the
53         cursor in it
54
55 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
56
57         * MenuBackend.h: 
58         * bufferlist.h: 
59         * lyxtext.h: 
60         * paragraph.h:
61         * vspace.h: fix syntax error
62
63 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
64
65         * text3.C (dispatch): Force refresh if typing into inset changes its
66                               metrics
67
68 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * RowList_fwd.h:
71         * paragraph.C:
72         * paragraph.h:
73         * rowpainter.C: Speed up rendering by only re-painting rows that
74         have changed. When selection or whole-screen update active, all rows
75         are repainted, as are all rows within insets.
76
77 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
78
79         * version.C.in: Use PACKAGE_VERSION instead of VERSION
80
81 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * tabular.C (toggleFixedWidth): Use default layout of text class
84         instead of hardcoded "Standard"
85
86 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * lyxfunc.C (dispatch): do not call getStatus again to determine
89         whether a lfun is disabled (bug 2172).
90
91 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
92
93         * cursor.C (macroModeClose): set the cursor inside the new math
94         atom if relevant (think \frac{}{}) (bug 2034)
95
96 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
97
98         * lyxtext.h:
99         * text.C:
100         * text3.C (Delete, backspace): force update when merging paragraphs
101
102 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * BufferView.C (mouseSetCursor): clear the selection properly (bug
105         2163). 
106
107 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * text.C (redoParagraph): honor inset->noFontChange()
110         * rowpainter.C (paintInset): ditto
111
112 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
113
114         * lyx_main.C (priv_exec): don't initialize Math on startup 
115         (initMath() has been moved to math_hullinset).
116
117 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
118
119         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
120         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
121         * paper.h: dispose dead PAPER_PACKAGES enum.
122
123 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
126         without X support.
127
128 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
129
130         * exporter.C (Export): Don't try to copy a file if it does not exist
131         (bug 1888)
132
133 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * text2.C (makeFontEntriesLayoutSpecific): remove.
136         (setLayout): adapt.
137
138         * text.C (insertChar): remove bogus caching of fonts (did not do
139         anything). 
140
141         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
142         ALL_SANE). (bug 2146)
143
144 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * rowpainter.C (paintFirst): fix centering of
147         LABEL_CENTERED_TOP_ENVIRONMENT. 
148
149 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
150
151         * BufferView.C (mouseSetCursor): new method. Calls
152         deleteEmptyParagraphMechanism if necessary.
153
154         * lyxtext.h: make deleteEmptyParagraphMechanism public.
155
156         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
157         BufferView::mouseSetCursor (bug 2109).
158         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
159
160 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
161
162         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
163         do not remove it (this inset behaves differently from the others).
164
165 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         Fix bug 2096.
168         
169         * BufferView_pimpl.C (getStatus): it is only possible to insert a
170         file in a text inset.
171
172         * buffer.C (readDocument): remove pit argument and code releated
173         to it; set the inset owner correctly (unrelated, but useful).
174         (readFile): get rid of pit argument.
175
176         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
177         textclass instead of a selection index.
178         (pasteParagraphList): new function.
179         (pasteSelection): make it a wrapper around pasteParagraphList.
180
181         * BufferView_pimpl.C (MenuInsertLyXFile): use
182         cap::pasteParagraphList to insert a file.
183
184 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
185
186         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
187
188 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
189
190         * exporter.C: fix typo in text message
191
192 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
193
194         * text2.C (setLayout): move recUndo call to other setLayout method
195         * tabular.C (toggleFixedWidth): new, handle cell width changes
196         * tabular.C (setColumnPWidth): move some code from insettabular.C here
197         and use toggleFixedWidth
198         * tabular.C (setMColumnPWidth): ditto
199
200 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
201
202         * paragraph.C (asString): use new inset->textString method (fix
203         bug 2089) 
204
205 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * CutAndPaste.C (numberOfSelections): new helper function.
208
209         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
210
211         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
212         LyXFunc::getStatus; implement LFUN_PASTE.
213
214 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
215
216         * dociterator.[Ch]: new member realInset() that returns the cell
217         for tabulars and the inset for the rest (bug 1952).
218         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
219         (bug 1952).
220
221 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
224
225 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
226
227         * lyxfunc.C:
228         * paragraph.C:
229         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
230         argument.
231
232 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
233
234         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
235         line after typing ctrl-enter
236
237 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
238
239         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
240         math insets do not return a proper editable() state yet (bug 2124).
241
242 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
243
244         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
245         docs containing very large paragraphs.
246
247 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
248
249         * cursor.C (selectionBegin, selectionEnd):
250         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
251         cursor at different depths.
252
253 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
254
255         * bufferview_funcs.C (coordOffset): do not call cursorPos
256         for collapsed collapsables (fix bug 2094).
257
258 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * paragraph.C (fontSpan): make sure that the FontSpan does not
261         span across beginOfBody (bug 1947).
262
263 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
266
267 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
268
269         * messages.C: fix crash and localization on MinGW/Windows platform
270
271 2005-11-02  Angus Leeming  <leeming@lyx.org>
272
273         * Bidi.C:
274         * lyxtextclass.C: trivial fixes to some MSVS warnings.
275
276 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * text3.C (getStatus): re-enable disabled code. (bug 2081)
279
280         * BranchList.h (empty): constify.
281
282 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * text3.C (getStatus): 
285         * MenuBackend.C (expandBranches): take the branch list from the
286         master document (bug 2092).
287         
288         * MenuBackend.C (expandBranches): 
289         * bufferparams.C (writeFile): use BranchList type.
290
291 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * text3.C (dispatch, getStatus): 
294         * LyXAction.C (init): 
295         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
296
297 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
300
301 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * text.C (insertChar): do not reset boundary (bug 2061)
304
305 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * dociterator.C (updateInsets): new method. Updates the inset_
308         cache of all the slices of the iterator.
309
310         * text2.C (deleteEmptyParagraphMechanism): compare also containing
311         insets when comparing pit/pos; pass the right cursor to
312         recordUndo; when a paragraph has been deleted, compare `old.top()' to
313         the right cursor slice of `cur'; use updateInsets on cur to make
314         sure that the inset caches are correct; general cleanup.
315
316 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
319         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
320         containg inset. If this does not work, the same command will be
321         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
322
323         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
324         a dispatch.
325
326 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
327
328         * lyxtextclass.C (Read): convert layout file if the format is wrong
329         * lyxtextclass.C (layout2layout): new, needed for the above
330
331 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * messages.C: do not forget to include <cerrno>.
334
335 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
336
337         * dociterator.h (StableDocIterator): add access to pos().
338         * undo.C (samePar): new method to check if two
339         iterators are in the same paragraph
340         * undo.C (recordUndo): check for samePar instead of cell identity
341         (which includes pos() and is too strict) (fixes bug 2097)
342
343 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
344
345         * text.C (setCursorFromCoordinates): return a bool telling whether
346         dEPM triggered.
347
348         * text3.C (cursorPrevious): update if needed after
349         setCursorFromCoordinates (when dEPM triggered).
350
351         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
352         (otherwise the anchor may be completely wrong and make dEPM assert).
353
354 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
355
356         * buffer.C: version upgrade to 245.
357         * bufferparams.C: remove \quotes_times (bug 2090).
358         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
359         quotation marks as default.
360
361 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
362
363         * CutAndPaste.C (nrOfParagraphs): remove (unused)
364         * CutAndPaste.C (cutSelection): Remove debug message
365         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
366         undo information and only copy if this is a real cut
367         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
368         call
369         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
370         (bug 2059)
371         * CutAndPaste.C (eraseSelection): prevent cursor corruption
372         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
373         superflous cur.selection() setting
374         * CutAndPaste.[Ch] (grabSelection): take a const cursor
375         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
376
377 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
378
379         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
380         change anything.
381
382 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
383
384         * BufferView_pimpl.C: comment layout change
385
386 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
387
388         * LyXAction.C:
389         * lfuns.h:
390         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
391         by bibliography managers (bug 2071).
392
393 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
394
395         * BufferView_pimpl.C (update): choose arguments to update call so
396         that single-par update works most times
397         * text3.C (dispatch): carefully tune updating separately for
398         whole-screen and current-paragraph
399         * rowpainter.C (paintText): 1) replace painting by caching for
400         the two extra paragraphs, because we can;
401         2) suppress greying out of areas below/above drawn area in case of
402         single-par refresh
403         * lyxfunc.C (dispatch): remove superfluous update
404         * LyXAction.[Ch]: introduce SingleParUpdate
405
406 2005-10-05  Angus Leeming  <leeming@lyx.org>
407
408         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
409         always initialised before use.
410
411         * text.C (setHeightOfRow): squash warning about comparison
412         of signed and unsigned types.
413
414 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
415
416         * text.C (cursorX): two fixes involving RtL text drawing
417
418 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
421         items, not only large ones (part of bug 2057)
422
423 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
426         argument, use "newcommand".
427
428 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
429
430         * cursor.C (setSelection): do not open collapsable insets;
431         the insets do by themselves now (autoopen).
432
433 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
434
435         * buffer.C: format is up to 244.
436
437 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
438
439         * text.C (redoParagraph): fix calcultation of inset width wrt 
440         leftMargin (bug 1957).
441
442         * text3.C (dispatch): leave inset to the right when hitting ESC 
443         (bug 2034).
444
445 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * text2.C: 
448         * text.C: 
449         * factory.C:
450         * messages.C: include <boost/current_function.hpp> 
451
452 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
455         when command is internal. (bug 1941)
456
457 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * text2.C (cursorRight): do not honor boundary when at the end of
460         a paragraph. (bug 2010 again)
461
462 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
463
464         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
465
466 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
467
468         * rowpainter.C (paintText): fix RtL space width display bug (2029)
469
470 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
471
472         * text2.C (setCursor): remove the unused 'boundary' parameter for
473         the CursorSlice version; adapt the LCursor version.
474
475         * lyxrc.C (write): 
476         * paragraph_pimpl.C (markErased): 
477         * cursor.C (bruteFind2, bruteFond3): fix warnings.
478
479 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
482         as is already done for "chapter".
483
484 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
487         textclass; do not record undo if nothing is changed.
488
489 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
490
491         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
492
493 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
494
495         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
496
497 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
500         combox, it is necessary to search for the topmost paragraph in the
501         cursor stack (bug 1926)
502
503 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
506         end of paragraph. (bug 2010)
507
508 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
509
510         * text.C (leftMargin): check for inInset == 0
511
512 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
513
514         * text.C (leftMargin): test for insetbase's new neverIndent()
515         bool instead of listing each and every inset that does not
516         wish par indendation.
517
518 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * buffer_funcs.C (setCounter): put the code to compute enum label
521         here (where it belongs).
522
523         * counters.C (enumLabel): move code to buffer_funcs.C.
524
525 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
526
527         * outputparams.[Ch]: store local_font instead of local_language
528         * paragraph.C (simpleTeXOnePar): adapt to the change above
529
530 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
531
532         * buffer_funcs.C:
533         * counters.[Ch]: clean up special code for Hebrew.
534
535 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
538         than 2.
539
540 2005-09-08  Angus Leeming  <leeming@lyx.org>
541
542         * ispell.C:
543         * lyxrc.C: correct grammar describing invocation of the
544         spellchecker.
545
546 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
547
548         * text.C (read): remove unused variable.
549         (readParToken): remove static Change variable (never good in
550         recursive settings...); add it as a parameter instead.
551
552         * paragraph_pimpl.C (acceptChange): make debug info conditional.
553
554         * metricsinfo.C (PainterInfo): add new member erased_.
555
556         * rowpainter.C (RowPainter): add erased_ member, initialized from
557         PainterInfo. 
558         (paintInset): pass erased_ to Inset::draw.
559
560         * lyxfunc.C (lookupChange): new function. Tells whether change 
561         tracking is disabled at a given postion.
562         (getStatus): disable some actions when in deleted text with change
563         tracking. 
564
565 2005-08-03  John Levon  <levon@movementarian.org>
566         
567         * tabular.C (appendColumn, setMultiColumn): adapt to change to
568         InsetText::clear().
569
570         * paragraph_pimpl.C (markErased): add bool argument and handle it.
571         Also make sure to mark insets recursively.
572         (rejectChange, erase): be recursive
573
574         * paragraph.C (markErased): add bool argument.
575 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * lyxfind.C (findNextChange): tiny cleanup.
578
579         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
580         change tracking with the cursor in an inset; make sure the first
581         change is not skipped.
582
583 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
584
585         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
586         tabularStackDirty to work around bug 1919 (tabular needs
587         to know whether its own cell paste buffer or the one of 
588         texted is newer.
589         * CutAndPaste.C: mark tabular_stack_ clean after copy.
590
591 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
592
593         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
594
595 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
596
597         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
598         use old deleteion algorithm when changetracking is on.
599
600 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
601
602         * messages.C (get): add debug output.
603
604 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
605
606         * text.C (cursorX): fix bug 1965: cursor movement at
607         line end broken in RtL.
608         (drawSelection): fix bug 1970: drawing of single-line 
609         selection broken for RtL.
610
611 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         bug 465.
614
615         * dociterator.h (clear, push_back, pop_back): change from
616         protected to public.
617
618         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
619         and changed to just return the value of the item depth; take a
620         ParIterator as argument; take the itemdepth at outer nesting level
621         in account if necessary; cleanup and comment the code.
622         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
623         and changed to just return true if reset is needed; take a
624         ParIterator as argument; cleanup and comment the code.
625         (setCounter): adapt to above changes.
626
627 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * text3.C (dispatch): make debug message optional
630
631 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
632
633         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
634         inset. (bug 1963)
635
636 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
637
638         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
639
640 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
641
642         * text.C (insertChar):
643         * text2.C (deleteEmptyParagraphMechanism): take care whether 
644         a blank has been deleted (in change tracking mode) (bug 1254).
645
646 2005-07-20  John Levon  <levon@movementarian.org>
647
648         * text2.C (insertStringAsLines): remove old dubious code,
649         fixing bug 1939.
650
651 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * MenuBackend.C (expandToc): use Floating::listName() as title of
654         the floats submenus.
655
656 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
657
658         * toc.[Ch]: Do not use translatable strings (bug 1870).
659
660 2005-07-20  John Levon  <levon@movementarian.org>
661
662         * tabular.C: fix 1748 - setting multicolumn adds
663           left line to the first cell
664
665 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
666
667         bug 1920
668         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
669         pars in one go.
670
671 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
672
673         * messages.C: supress some lyxerr messages
674
675 2005-07-18  Juergen Vigna  <jug@lyx.org>
676
677         * text.C (drawSelection): honor boundary when asking for cursorX.
678
679 2005-07-17  José Matos  <jamatos@fc.up.pt>
680
681         * tabular.C (recalculateMulticolumns): fix handling of one column
682         tables.
683
684 2005-07-17  Juergen Vigna  <jug@lyx.org>
685
686         * text.C (Delete, backspace): fixed so that paragraph with the
687         same layout can be merged by Delete/Backspace.
688
689 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
690
691         * text.C (readParToken): fix spelling.
692
693 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
694
695         * text2.C: fix counter update for DEPM problem reported by
696         Georg Baum
697
698 2005-07-17  Juergen Vigna  <jug@lyx.org>
699
700         * BufferView_pimpl.C (setBuffer): save/restore the
701         cursor/selection when switching buffers
702
703         * buffer.h: 
704         * buffer.C (saveCursor): add saveDocumentIterators to save the
705         cursor when switching buffer.
706
707 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
708
709         * debug.C: fix typo
710         * buffer.C: clarify message
711         
712 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
713
714         * dociterator.C (DocIterator): fix initialization order
715
716 2005-07-17  Juergen Vigna  <jug@lyx.org>
717
718         * text2.C (cursorHome): 
719         * text.C (drawSelection, cursorX): 
720         * dociterator.C (textRow): add boundary to getRow() call
721
722         * paragraph.C (getRow): implementation of below
723
724         * paragraph.h: add parameter boundary for getRow() function
725
726 2005-07-17  José Matos  <jamatos@fc.up.pt>
727
728         * buffer.C:
729         * bufferparams.[Ch]:
730         * tex-strings.[Ch]: new file format, remove support for a4.sty,
731         a4wide.sty and a4widemargins.
732
733 2005-07-17  Juergen Vigna  <jug@lyx.org>
734
735         * text2.C (cursorLeft): fix one of error
736
737 2005-07-17  Juergen Vigna  <jug@lyx.org>
738
739         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
740                    cursorEnd):
741         more fixes for boundary handling
742
743         * text3.C (dispatch): don't reset cursor if boundary has changed
744         on cursor movement.
745
746 2005-07-16  Juergen Vigna  <jug@lyx.org>
747
748         * text2.C (getColumnNearX): hopefully got it right now,
749         check if we are on column 0 for special case.
750
751 2005-07-16  Juergen Vigna  <jug@lyx.org>
752
753         * text2.C (getColumnNearX): handle special case Newline Inset
754
755         * text.C (singleWidth): Just remove bogus check
756
757 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
758
759         * funcrequest.C (split): avoid reading uninitialized char c
760
761 2005-07-16  José Matos  <jamatos@fc.up.pt>
762
763         * buffer.C:
764         * converter.C:
765         * lyxrc.C:
766         * paper.h:
767         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
768         single papersize variable.
769
770 2005-07-16  Juergen Vigna  <jug@lyx.org>
771
772         * text3.C (dispatch): honor boundary when checking if a cursor
773         movement has been done
774
775         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
776         (setCursor, setCursorIntern): fix cursor movement with boundary
777
778 2005-07-16  Juergen Vigna  <jug@lyx.org>
779
780         * text.C (currentState): output the actual Boundary
781
782 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
783
784         * factory.C (createInset): fix bad logic for tabular creation
785
786 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
787
788         * lyx_main.C (init): change some reLyX reference to tex2lyx
789
790 2005-07-16  Juergen Vigna  <jug@lyx.org>
791
792         * dociterator.C (DocIterator): initialize boundary
793
794 2005-07-16  Juergen Vigna  <jug@lyx.org>
795
796         * text2.C (getColumnNearX): Consider rows without trailing blank.  
797
798 2005-07-16  André Pönitz  <poenitz@gmx.net>
799
800         * lyxfont.h: Change order of declarations to give the compiler
801         a better chance to inline things
802
803         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
804         questions on unsaved docs for better scritability
805
806 2005-07-16  André Pönitz  <poenitz@gmx.net>
807
808         * paragraph.h (getChar): remove asserts as the same kind of security
809         can be achieved by using a suitable standard library implementation
810         and the function was in the critical path (25.9% in profiler)
811
812 2005-07-16  Juergen Vigna  <jug@lyx.org>
813
814         * cursor.C (bruteFind2):
815         * bufferview_funcs.C (coordOffset): 
816         * text.C (cursorX,cursorY): Handle cursor position after last char
817         in row before a inset which uses a whole row.
818
819 2005-07-15  José Matos <jamatos@lyx.org>
820
821         * output_plaintext.[Ch] (writeFileAscii): control reference title
822         printing.
823         (asciiParagraph): noparbreak was already deal and was incorrectly
824         used.
825
826 2005-07-15  Juergen Vigna <jug@lyx.org>
827
828         * lyxfunc.C (dispatch): save and restore the cursor after a
829         textclass switch.
830
831 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
832
833         * text.C (backspace): bug 806 for empty keepempty paragraphs we
834         change the layout to default before letting DEPM do its thing.
835
836         * paragraph_funcs.C (breakParagraph): dont reset the layout on
837         keepEmpty paragraphs
838
839         * text.C (setCursorFromCoordinates): add a debug statement
840
841         * text2.C (getColumnNearX): bug 1825 make sure that we don't
842         return a pos that is not on the row
843
844         * output_latex.C (TeXDeeper): get rid of potential dereferencing
845         of past the end iterator
846
847 2005-07-14  André Pönitz  <poenitz@gmx.net>
848
849         * undo.C (recordUndoFullBuffer): implement undo for
850         textclass switches
851
852 2005-07-14  André Pönitz  <poenitz@gmx.net>
853
854         * cursor.C (setSelection): open insets when selection is set there
855         to avoid crashs with cold coord cache
856
857 2005-07-14  André Pönitz  <poenitz@gmx.net>
858
859         * trans_mgr.C (insert): move cursor to the right after inserting
860         a char.
861
862 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
863
864         * BufferView_pimpl.C (update): dampen some of the debug blabbering
865         * factory.C (readInset): ditto
866         * text.C, text2.C: ditto
867
868 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * buffer.C: format incremented to 242. There is no file format per
871         se, but the "frenchb" language has been removed from lib/language
872         and has to be translated to "french" by lyx2lyx.
873
874 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
875
876         * cursor_slice.h, dociterator.h: add some documentation
877         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
878
879 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
880
881         * text.C (leftMargin): do not add identation to display() style
882         insets, because they are always centered (bug 1293).
883
884 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
885
886         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
887         formatted_time methods in support/lyxtime.
888
889 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
890
891         * toc.[Ch]: new method getGuiName, which is used by the frontends 
892         to set the toc combo (fixes bug 1870). Make TOC string translatable.
893
894 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
895
896         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
897         StableDocIterator const &)
898         * undo.C (recordUndo): use the above instead of cell.size() comparison
899         (fixes bug 1808; instructed by Andr�.
900
901 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
902
903         * cursor_slice.h: 
904         * dociterator.h: Fix the assert when copying rows/cols in math
905
906 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
907
908         * BufferView_pimpl.C:
909         * LyXAction.C:
910         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
911
912         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
913         (findInset): new functions, refactored from goto Inset that return 
914         the position of a certain inset without setting the buffer's cursor
915         (by Jean-Marc); 
916         (gotoInset): rewrite to call findInset and then set the cursor
917         (by Jean-Marc).
918
919 2005-06-16  Angus Leeming  <leeming@lyx.org>
920
921         * lyxrc.C (output, read): wrap all input and output of paths with
922         calls to os::internal_path and os::external_path, respectively.
923         (output): wrap bind_file inside quotes.
924
925         * format.C (view): enable the viewer to use the '$$s' placeholder.
926
927 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
928
929         * LColor.[Ch] (getFromLaTeXName): new
930
931 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
932
933         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
934
935 2005-06-14  Angus Leeming  <leeming@lyx.org>
936
937         * lyx_main.C (init): ensure that the LyX binary dir is the first
938         element in the PATH on non-POSIX builds.
939
940 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
941
942         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
943
944 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * rowpainter.C (paintInset, paintHebrewComposeChar)
947         (paintArabicComposeChar, paintChars): add a LyXFont argument.
948         (paintChars): use getFontSpan to reduce calls to getFont to a
949         minimum; use Paragraph::lookupChange instead of isXXXText.
950         (paintForeignMark): rename LyXFont argument.
951         (paintFromPos): pass a LyXFont object to the various paintXXX
952         methods.
953
954         * FontIterator.C (FontIterator, operator++): use
955         Paragraph::getFontSpan
956
957         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
958         version that returns the font span as a pair.
959
960 2005-06-09  Angus Leeming  <leeming@lyx.org>
961
962         * converter.C (convert): Don't forget "outfile = real_outfile" as
963         the final step in a conversion where the input and output file names
964         are the same. Otherwise, future conversion steps won't work...
965
966 2005-06-09  Angus Leeming  <leeming@lyx.org>
967
968         * lyxsocket.C: remove stub code as it isn't needed by
969         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
970
971 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
972
973         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
974         effectively disabled -x
975
976 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
977
978         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
979         when it actually makes sense.
980
981 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
982
983         * BufferView_pimpl.C: revert to showCursor in connection with
984         Lars's front-end stack
985
986 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
987
988         * text.C (redoParagraph): move cursor right after a bibitem
989         has been inserted.
990
991         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
992
993 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * buffer_funcs.C (bufferErrors): fix computation of the end of an
996         error range.
997
998 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
999
1000         * BufferView.[Ch] (update):
1001         * BufferView_pimpl.[Ch] (update, metrics):
1002         * dimension.h (operator==):
1003         * lyxfunc.C (dispatch):
1004         * metricsinfo.h (ViewMetricsInfo):
1005         * rowpainter.C (paintText):
1006         * lyxtext.h:
1007         * text.C (redoParagraph):
1008         * text3.C (dispatch): Make LyX only repaint current paragraph in
1009         case of character insert --> speedup. Also fix cursor draw
1010         artifacts
1011
1012 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1015         avoid a crash (bug 1891)
1016
1017 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         Fix bug 1892:
1020
1021         * text2.C (getStringToIndex): constify cur argument.
1022
1023         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1024         argument has been given
1025         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1026         try to invoke LFUN_INSET_APPLY).
1027
1028         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1029         if no inset was created by doInsertInset
1030         (doInsertInset): return true if an inset has been inserted.
1031
1032 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1033
1034         * vspace.C (asGUIName): new method. A version of the space
1035         suitable for showing on screen.
1036
1037 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1038
1039         * MenuBackend.C:
1040         * lyxrc.C: rename "ASCII" to "Plain Text"
1041
1042 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1045         translate the labelstring.
1046         (setCounter): translate labelstring as needed.
1047
1048         * output_docbook.C (makeCommand): fix expandLabel invokation
1049
1050 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1051
1052         * BufferView.C: fix dialog title
1053
1054 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1055
1056         * lyx_main.C (priv_exec): fix logic error with help from Angus
1057         * lyx_main.C (parse_execute): set is_gui = false and remove now
1058         obsolete comment about a segfault
1059
1060 2005-05-18  Angus Leeming  <leeming@lyx.org>
1061
1062         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1063
1064 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1065
1066         * tabular.[hC]: added setCellInset to fix tabular paste.
1067
1068 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1069
1070         * buffer.C (save): check if destination is writable before trying
1071         to copy a file
1072
1073 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1074
1075         * BufferView_pimpl.C (update): fix processEvents -caused update
1076         recursion bug
1077
1078 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1079
1080         * buffer_funcs.C (setCounter): fix test for numbering of
1081         environments.
1082
1083         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1084         depth correctly; use optional argument when it exists
1085
1086         * lyxtextclass.C: remove unused MaxCounterTags enum
1087         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1088         (max_toclevel, min_toclevel): new methods.
1089
1090         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1091         the smallest depth in toc.
1092
1093         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1094         layouts that should not appear in a table of contents.
1095
1096 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1097
1098         * cursor.h (undispatched, noUpdate): add comments from Andr�
1099 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1100
1101         * lfuns.h:
1102         * LyXAction.C:
1103         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1104
1105 2005-05-07  André Pönitz  <poenitz@gmx.net>
1106
1107         * cursor.[Ch] (leaveInset): new function
1108
1109 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1110
1111         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1112
1113 2005-05-04  Angus Leeming  <leeming@lyx.org>
1114
1115         * lyxfunc.C (getStatus): disable the spell checker dialog if
1116         none of USE_[AIP]SPELL are defined.
1117
1118 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * tabular.C (setWidthOfCell): remove obsolete comment
1121
1122 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1123
1124         * paragraph.C (bibitem):
1125         * buffer_funcs.C (setCounter):
1126         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1127
1128 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1129
1130         * text3.C (getStatus): immediately return after setOnOff
1131
1132         * rowpainter.C: fix drawing of appendix start
1133
1134 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1135
1136         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1137         SwitchBetweenClasses and remove the unused return value.
1138         Handle character styles, too
1139
1140 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1141
1142         * factory.C (createInset): handle undefined character styles
1143
1144 2005-05-02  Angus Leeming  <leeming@lyx.org>
1145
1146         * buffer.C: protect the #include of utime.h with a preprocessor
1147         guard.
1148
1149 2005-05-02  Angus Leeming  <leeming@lyx.org>
1150
1151         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1152         function so that auto-saving works, albeit in a blocking manner.
1153
1154         * Makefile.am: make compilation of the client sub directory, of
1155         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1156         on conditionals set at configure time.
1157
1158         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1159         it can be compiled in its own right but has no-op functionality.
1160
1161         * aspell.C, pspell.C: remove preprocessor guards. The files should
1162         be compiled only if the necessary functionality exists.
1163
1164         * lyxserver.C, lyxsocket.C: disable on Windows.
1165
1166 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * text.C (leftMargin): Fix the parindent use bug (1764)
1169         by dirty trick
1170
1171 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1172
1173         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1174         argument.
1175
1176 2005-04-25  Angus Leeming  <leeming@lyx.org>
1177
1178         * Bidi.[Ch]:
1179         * coordcache.[Ch]:
1180         * ispell.C:
1181         * lyxserver.C:
1182         * mover.C:
1183         * pch.h:
1184         include <config.h> in .C files, not .h ones.
1185         add licence blurb.
1186         protect headers inside preprocessor guards.
1187
1188 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1189
1190         * FuncStatus.h (StatusCodes): document
1191
1192 2005-04-21  André Pönitz  <poenitz@gmx.net>
1193
1194         * FuncStatus.h (enabled, onoff): document
1195
1196 2005-04-19  Angus Leeming  <leeming@lyx.org>
1197
1198         * BufferView_pimpl.C (cursorToggle): no longer test whether
1199         any child processes have been reaped before calling
1200         handleCompletedProcesses().
1201
1202 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1203
1204         * text3.C (dispatch): fix, finally fix, the language problem in
1205         new lyxtexts, without disabling on-the-fly font changes (Helge's
1206         bug report)
1207
1208 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1209
1210         * text3.C (dispatch): set cursor on double/triple click events
1211         (bug 1811)
1212
1213 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1214
1215         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1216         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1217
1218         * rowpainter.C (paintFirst): simplify the code a little bit. In
1219         particular, remove the test for secnumdepth.
1220         * text.C (setHeightOfRow): only allocate space for chapter number
1221         when updateCounters provided an actual label, instead of looking
1222         at secnumdepth directly.
1223
1224         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1225
1226         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1227         paragraphs when secnumdepth is large enough or, for environments,
1228         when they are not the first in a sequence.
1229
1230 2005-04-17  Angus Leeming  <leeming@lyx.org>
1231
1232         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1233         containing space and '~' characters with a call to latex_path().
1234
1235 2005-04-17  Angus Leeming  <leeming@lyx.org>
1236
1237         * converter.C (convert): protect all args of convertDefault.sh
1238         script with quotes.
1239
1240 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1241
1242         * text3.C (dispatch): change the layout to "Caption" after inserting
1243         a float.
1244
1245 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1246
1247         * text3.C (dispatch): fix language problem in newly created
1248         textinsets (and main text) in non-english docs
1249
1250 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1251
1252         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1253         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1254         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1255
1256 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1257
1258         * lyxtext.h:
1259         * text.C (metrics):
1260         * text2.C (getFont):
1261         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1262         fonts fix
1263
1264 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1265
1266         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1267         output of \item arguments without trailing text.
1268
1269 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270
1271         * FontIterator.C (operator*): avoid a copy of the font.
1272
1273 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1274
1275         * rowpainter.C (getFont): fix language bug from previous fix
1276
1277 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1278
1279         * rowpainter.C (RowPainter, getFont): fix font inside inset
1280         (bugs 1766, 1809)
1281
1282 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1283
1284         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1285         preventing inserted font, deco, delim insets jumping to start of
1286         surrounding inset.
1287
1288 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1289
1290         * lyxfunc.C (dispatch): translate message before sending it to the
1291         minibuffer.
1292
1293 2005-03-29  Angus Leeming  <leeming@lyx.org>
1294
1295         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1296         to LyX on the command line.
1297
1298 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1299
1300         * vc-backend.C: use QuoteName to protect file names wherever
1301         necessary.
1302
1303 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * buffer.[Ch]:
1306         * BranchList.h: fix bugs 1844,1845: document settings don't
1307         stick
1308
1309 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1310
1311         * lyxrc.C (setDefaults, read, output, getDescription): add support
1312         for tex_allows_spaces.
1313
1314         * exporter.C (Export): allows files in directory containing spaces
1315         if tex_allows_spaces is true.
1316
1317         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1318         output it in double quotes.
1319
1320 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1321
1322         * rowpainter.C: use default text height for drawing change tracker
1323         strikeout lines.
1324
1325 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1326
1327         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1328
1329 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1332         directory is missing.
1333
1334 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1335
1336         * text2.C: fixed the fix, extended to other case.
1337
1338 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1339
1340         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1341
1342 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1343
1344         * text2.C (cursorUp): get rid of a crash
1345         * text.C (x2pos): add an assert
1346
1347 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1348
1349         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1350
1351         * text3.C:
1352         * lyxfunc.C:
1353         * dociterator.C: include <boost/current_function.hpp>, which is
1354         needed when assertions are disabled.
1355
1356 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1357
1358         * text2.C: fix for stuck cursor when traversing two
1359         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1360
1361 2005-02-25  Andreas Vox  <avox@arcor.de>
1362
1363         * output_docbook.C (makeParagraph): suppress trailing newline
1364         after a run of paragraphs
1365
1366 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1367
1368         * paragraph.C: fix for confused change tracker when pasting
1369         text that begins with a lineseparator. [bug 1827]
1370         (setChange(0, Change::INSERTED);)
1371
1372         * paragraph_funcs.C: fix for lost changes on triple-paste
1373         in change tracking mode [bug 1827] (par.setChange()).
1374
1375 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1376
1377         * text2.C (updateCounters, setCounter, expandLabel): move to
1378         buffer_funcs.
1379
1380         * buffer_funcs.C (updateCounters): turn into a free standing
1381         function and add a buffer parameter. Remove dead code for tracking
1382         labelstring change.
1383         (setCounter): change into a free-standing function which gets a
1384         dociterator as argument. Use this iterator to fix captions in a
1385         simple way. When no float is found above the caption, use the
1386         labelstring of the caption layout as default.
1387
1388         * text.C (breakParagraph, backspace):
1389         * text2.C (init, setLayout, changeDepth):
1390         * text3.C (dispatch):
1391         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1392         updateCounters.
1393
1394         * dociterator.C (forwardPar): make it much faster by calling
1395         forwardPos() only when really necessary.
1396
1397         * output_docbook.C (makeCommand): adapt to expandLabel move.
1398
1399         * cursor.C: remove unused variable
1400
1401 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1402
1403         * paragraph_funcs.C: fix crash when pasting insets in change
1404         tracking mode [bug 1277] (honour change type in moveItem).
1405
1406 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1407
1408         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1409
1410 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         * BufferView.C (setCursor): change to use a DocIterator.
1413         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1414         (putSelectionAt): adapt to BufferView::setCursor change.
1415
1416         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1417         moved here from LyXText and rewritten to use proper cursor
1418         methods. Fixes bug 1787, 616 and 835.
1419
1420         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1421         when inside an inset (part of bug 781).
1422         (dispatch): adapt to change of BufferView::setCursor.
1423         (getStatus, dispatch): handle LFUN_GOTOERROR,
1424         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1425
1426         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1427         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1428         * text3.C (gotoNextInset, gotoInset): removed.
1429
1430 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1433
1434 2005-02-15  Angus Leeming  <leeming@lyx.org>
1435
1436         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1437         can be used meaningfully in a comparison.
1438
1439 2005-02-13  André Pönitz  <poenitz@gmx.net>
1440
1441         * bufferview_funcs.C (coordOffset): improve cursor drawing
1442
1443 2005-02-13  André Pönitz  <poenitz@gmx.net>
1444
1445         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1446         * Cursor.C (dispatch): use fixIfBroken
1447         * lyxfunc.C (getStatus): use fixIfBroken
1448
1449 2005-02-15  Angus Leeming  <leeming@lyx.org>
1450
1451         * lyx_main.C (error_handler):
1452         * lyxfunc.C:
1453         * lyxrc.C (setDefaults):
1454         s/GetEnv/getEnv/.
1455         #include "environment.h".
1456
1457         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1458
1459 2005-02-15  Angus Leeming  <leeming@lyx.org>
1460
1461         * lyxserver.C (startPipe): squash MSVC warning "local variable
1462         'fd' used without having been initialized".
1463
1464 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1465
1466         * BufferView_pimpl.C: revert accidental commit.
1467
1468 2005-02-14  André Pönitz  <poenitz@gmx.net>
1469
1470         * dociterator.[Ch]: new member forwardPosNoDescent(),
1471         which doesn't enter nested insets.
1472         * text2.C (setFont): use forwardPosNoDescent() instead
1473         of ForwardPos() (fixes crash on font change).
1474
1475 2005-02-13  Angus Leeming  <leeming@lyx.org>
1476
1477         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1478         only if lyxrc.path_prefix is not empty.
1479
1480 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1481
1482         * bufferparams.C (readGraphicsDriver): prevent crash
1483
1484 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1485
1486         * text2.C (setCounter): check for inInset() == 0
1487
1488 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1489
1490         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1491         but use update() to get correct screen display; use convert
1492         instead of istringstream.
1493         (getStatus): handle LFUN_GOTO_PARAGRAPH
1494
1495         * lyxfunc.C (dispatch, getStatus): do not handle
1496         LFUN_GOTO_PARAGRAPH here.
1497
1498 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1499
1500         * text3.C (dispatch): size() -> depth()
1501
1502         * text2.C: remove some debug output
1503
1504         * paragraph.C: ws changes only
1505
1506         * lyxfunc.C (getStatus): size() -> depth()
1507
1508         * dociterator.h (clear, push_back, pop_back, internalData,
1509         operator[], resize, empty): new functions
1510         Make StableDocIterator and operator== be friends. Don't inherit
1511         from std::vector use a privat class variable slices_ instead.
1512         Modify to fit.
1513
1514         * dociterator.C: update because of not inheriting from std::vector
1515         anymore. Call explictly to slices_ instead. Use depth() instead of
1516         size() and top() instead of back()
1517
1518         * cursor.C: chagne size() -> depth and back() -> top(). Also
1519         remove some direct operator[](i) calls in favour of foo[i]
1520         (getFont): remove some dead code
1521
1522         * bufferview_funcs.C (coordOffset): size() -> depth()
1523
1524         * buffer.C: ws changes only
1525
1526         * CutAndPaste.C (eraseSelection): back() -> top()
1527
1528         * BufferView_pimpl.C (selectionRequested): back() -> top()
1529
1530         * BufferView.C (setCursor): size() -> depth()
1531
1532 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1533
1534         * text3.C (cursorPrevious): return true if depm changed something
1535         (cursorNext): ditto
1536         (dispatch): rename sl to oldTopSlice, remove moving use the new
1537         NoUpdate func attrib instead. Make sure that needsUpdate is set
1538         for function that have NoUpdate, but where depm might have changed
1539         the buffer anyway.
1540
1541         * text2.C (cursorLeft): make us return true if depm changed
1542         something
1543         (cursorRight): ditto
1544         (cursorUpParagraph): ditto
1545         (curosrDownParagraph): ditto
1546         (cursorUp, cursorDown): ditto, make sure to read comments in code
1547         (deleteEmptyParagraphMechanism): remove an assert, also return
1548         true if just a single char was deleted.
1549
1550         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1551         cursor that we modify, to avoid modifying an active cursor before
1552         we call setCursor. This allows depm to run. Also return true if
1553         depm deleted something.
1554
1555         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1556         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1557         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1558         something was changed in the buffer because of them (ie. depm run)
1559
1560         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1561         debug messages. Make update by default be false. Make sure that
1562         the result of update is retained throught several calls down to
1563         dispatch.
1564
1565         * LyXAction.h: add a new func_attrib: NoUpdate
1566
1567         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1568         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1569         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1570         and LFUN_WORDLEFT
1571         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1572
1573 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1576         bv_->owner(), bv_->buffer() by direct references to the private
1577         members.
1578         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1579         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1580         (fitCursor): center() is in BufferView::Pimpl.
1581         (getStatus, trackChanges, dispatch): no need for a temporary buf
1582         variable
1583         (fitCursor, workAreaDispatch): use workarea().workheight()
1584
1585 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1586
1587         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1588
1589 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1590
1591         * buffer.C: format up to 241.
1592         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1593         break if pasting into ERT
1594         * lyxfunc.C (getStatus): suppress mathpanel and
1595         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1596
1597 2005-02-01  Angus Leeming  <leeming@lyx.org>
1598
1599         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1600
1601 2005-02-01  Angus Leeming  <leeming@lyx.org>
1602
1603         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1604         calling fs::is_directory().
1605
1606 2005-01-31  Angus Leeming  <leeming@lyx.org>
1607
1608         * lyx_main.C (priv_exec): specify explicitly the relative location
1609         of the top level build directory when run in-place.
1610
1611 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1612
1613         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1614         LyXText containing the cursor, not the top-level one.
1615
1616         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1617         true.
1618         (insertStringAsLines): rename par to pit; use temporary variable
1619         par to hold a Paragraph; do not store par.layout() in a variable,
1620         since the pointer may die when breaking paragraphs; pass pars to
1621         breakParagraph() instead of Buffer::paragraphs().
1622
1623 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1624
1625         * lyxlex_pimpl.h: #include <fstream>.
1626
1627         * BufferView.[Ch] (getLyXText): add a const version.
1628
1629         * BufferView_pimpl.C: add debug aids.
1630
1631         * RowList_fwd.h:
1632         * buffer.h:
1633         * lyxrow.h:
1634         * paragraph_funcs.h: add commentary explaining what the class does.
1635
1636
1637         * coordcache.[Ch]: add lots of commentary.
1638         (startUpdating, doneUpdating): debug aids.
1639         (arrays, insets, parPos, getParPos): accessors to private data.
1640
1641         * cursor_slice.[Ch] (text): add a const version.
1642         * dociterator.[Ch] (text, innerText): add const versions.
1643
1644         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1645         bool.
1646
1647         * paragraph.C (getRow, pos2ros): add asserts.
1648
1649         * paragraph.h: add commentary. Lots of.
1650
1651         * paragraph.[Ch] (metrucs, draw): removed.
1652
1653         * cursor.C:
1654         * rowpainter.[Ch]: const-correct changes.
1655
1656         * text.C: various obvious clean-ups. Removal of ancient cruft.
1657         Bug fixes, even.
1658
1659 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1660
1661         * vc-backend.C (find_file): rewrite to use boost.filesystem
1662         (scanMaster): ditto
1663
1664         * main.C (main): set default name check for boost.filesystem to
1665         no check
1666
1667         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1668         (open): ditto
1669         (doImport): ditto
1670         (actOnUpdatedPrefs): ditto
1671
1672         * lyx_main.C (init): rewrite to use boost.filesystem
1673         (queryUserLyXDir): ditto
1674
1675         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1676         (getContentsOfAsciiFile): ditto
1677
1678         * lastfiles.C (readFile): rewrite to use boost.filesystem
1679
1680         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1681
1682         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1683         (loadLyXFile): ditto
1684
1685         * buffer.C (Buffer): adjust for destroydir
1686         (getLogName): rewrite to use boost.filesystem
1687         (setFileName): ditto
1688         (save): use fs::copy_file (from fs_extras)
1689
1690         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1691
1692         * LaTeX.C (run): rewrite to use boost.filesystem
1693         (scanAuxFiles): ditto
1694         (handleFoundFile): ditto
1695
1696 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1697
1698         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1699
1700         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1701
1702 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1703
1704         * lyxlayout.[Ch]: change some vars from float to double
1705
1706         * buffer.C (readFile): make a local var const
1707
1708         * Several files: use convert<> instead of atoi,strToXXX and friends
1709
1710 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1711
1712         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1713         holds the contents of packages.lst. New functions getAvailable
1714         and isAvailable to parse and check that list, resp.
1715
1716         * LyXAction.C:
1717         * lfuns.h:
1718         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1719
1720         * bufferparams.[Ch]: new param output_changes.
1721
1722         * Buffer.C: increase file format to 240.
1723         Use output_changes and isVailable.
1724
1725         * changes.[Ch]:
1726         * paragraph.C:
1727         * paragraph_pimpl.C: Use output_changes and isVailable.
1728
1729 2005-01-23  Angus Leeming  <leeming@lyx.org>
1730
1731         * output_latex.C: #include "insetbibitem.h", rather than
1732         forward declare function bibitemWidest.
1733
1734 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1735
1736         * lyx_main.C (init): make it compile on the Mac.
1737
1738 2005-01-20  Angus Leeming  <leeming@lyx.org>
1739
1740         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1741         (setLyXMisc): (char string literal) != (char string literal) is
1742         performing a comparison on the addresses. Convert one operand
1743         explicitly to string to guarantee expected behaviour.
1744         From MSVC warning.
1745
1746 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1747
1748         * buffer.C:
1749         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1750
1751         * output_plaintext.C: remove unneeded #include gzstream.h.
1752
1753 2005-01-20  Angus Leeming  <leeming@lyx.org>
1754
1755         * SpellBase.h: rename some of the elements of the Result enum.
1756
1757         * aspell_local.h:
1758         * ispell.h:
1759         * pspell.h:
1760         * aspell.C (check):
1761         * ispell.C (check):
1762         * pspell.C (check): ditto
1763
1764 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1765
1766         * buffer.C: add #include <fstream>.
1767
1768         * lyx_main.C (init): Compile fix.
1769
1770         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1771
1772 2005-01-20  Angus Leeming  <leeming@lyx.org>
1773
1774         * mover.h: change commentary to reflect the changed meaning of
1775         the $$s placeholder.
1776
1777 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1780
1781         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1782
1783 2005-01-20  Angus Leeming  <leeming@lyx.org>
1784
1785         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1786         printing diagnostic data by not dereferecing an iterator past the
1787         end.
1788
1789 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1790
1791         * buffer.C (readHeader): use "&&" rather than "and".
1792
1793         * lyxserver.h (inPipeName, outPipeName): make these const.
1794
1795 2005-01-19  Angus Leeming  <leeming@lyx.org>
1796
1797         * lyx_main.C (error_handler, init): protect SIGHUP with
1798         #ifdef SIGHUP guards.
1799
1800 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801
1802         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1803
1804 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1805
1806         * text.C (setHeightOfRow): add a margin at the top and bottom of
1807         the document (bug 1761)
1808
1809 2005-01-17  Angus Leeming  <leeming@lyx.org>
1810
1811         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1812         with "python ". Workaround for a brain-dead Windows.
1813
1814 2005-01-16  Angus Leeming  <leeming@lyx.org>
1815
1816         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1817         for MacOSX and Windows to use prependEnvPath.
1818         Strip out the hard-coded block to add elements to the PATH for
1819         MacOSX and replace it with a call to prependEnvPath using the
1820         contents of LyXRC::path_prefix.
1821         (queryUserLyXDir): strip out the code to run reconfigure, instead
1822         returning a boolean indicating the necessity to do so.
1823         (reconfigureUserLyXDir): contains the code to reconfigure the
1824         user support directory. Is now called after the various LyXRC data
1825         files have been read.
1826
1827         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1828
1829 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1830
1831         * converter.[Ch] (convert): take a new parameter try_default. Use
1832         a default converter (imagemagick) if try_default is true.
1833
1834 2005-01-13  Angus Leeming  <leeming@lyx.org>
1835
1836         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1837         os::cygwin_path_fix.
1838         (write): output LyXRC::cygwin_path_fix as necessary.
1839
1840 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1841
1842         * lyxrc.h:
1843         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1844
1845 2005-01-12  Angus Leeming  <leeming@lyx.org>
1846
1847         * lyx_main.C (init): set the PATH variable to include the
1848         directory containing the LyX binary when running on Mac or Windows.
1849
1850 2005-01-12  Angus Leeming  <leeming@lyx.org>
1851
1852         * lyx_main.C (init): remove cruft that purports to set the locale
1853         dir. It doesn't and is not needed anyway.
1854
1855 2005-01-10  Angus Leeming  <leeming@lyx.org>
1856
1857         * Makefile.am: remove the lyx_main.C special casing.
1858
1859         * BufferView_pimpl.C:
1860         * bufferlist.C:
1861         * exporter.C:
1862         * lyx_cb.C:
1863         * lyx_main.C:
1864         * lyxfunc.C:
1865         * messages.C: use support/package.h to provide the paths to the
1866         various directories used by LyX.
1867
1868 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1869
1870         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1871         layout if pasting into an empty paragraph)
1872
1873 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * tex-accent.C: add <string>
1876
1877 2005-01-06  José Matos  <jamatos@lyx.org>
1878
1879         * ParagraphParameters.C (write): put every parameter in its own line.
1880         * paragraph.C (write): reduce number of consecutive empty lines exported.
1881         * buffer.C (LYX_FORMAT): increase file format to 239.
1882
1883 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1884
1885         * everywhere: change support/tostr.h -> support/convert.h
1886
1887         * tabular.C: make all write_attributes templates, tostr -> convert
1888
1889         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1890         (emptyTag): and -> &&, and fix type for ret from getChar
1891         (getFirstWord): fix type for ret from getChar
1892         (onlyText): and -> &&
1893         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1894         getChar
1895
1896         * toc.C (goTo, action):
1897         * text3.C (dispatch):
1898         * text.C (currentState):
1899         * tex-accent.C (DoAccent):
1900         * sgml.C:
1901         * lyxrc.C:
1902         * lyxfunc.C (menuNew):
1903         * lyxfinc.C (replace):
1904         * counters.C (laberItem):
1905         * bufferview_funcs.C (font2string):
1906         * bufferparams.C (writeFile):
1907         * buffer.C (readFile):
1908         * Spacing.C (set):
1909         * MenuBackend.C: tostr -> convert
1910
1911         * LaTeX.C (runMessage): fix format
1912         (scanAuxFiles): tostr -> convert
1913
1914         * BufferView_pimpl.C (savePosition): fix format
1915         (restorePosition): ditto
1916         (dispatch): ditto
1917
1918 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1919
1920         * Spacing.[Ch]: New method getValueAsString().
1921
1922         * Spacing.[Ch]:
1923         * bufferparams.C:
1924         * ParagraphParameters.C:
1925         * lyxlayout.C:
1926         * text.C:
1927         * text3.C: store/read spacing value as string.
1928
1929         * rowpainter.C: change float value (spacing_val) to double.
1930
1931         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1932         broken custom document spacing).
1933
1934 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1935
1936         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1937         namespace, also more use of temp references and const
1938
1939         * cursor.[Ch] (getStatus): move to lyxfunc.C
1940
1941         * bufferparams.C: reformat slightly
1942
1943         * bufferview_funcs.C (font2string): constify arg
1944
1945         * changes.C:
1946         * converter.C:
1947         * counters.C:
1948         * bufferlist.C:
1949         * buffer_funcs.C: (many funcs): constify arg on function
1950         definitions, also make more local vars const, also add ASSERTS on
1951         pointer args.
1952
1953         * buffer.C (LYX_FORMAT): put const in correct place
1954         (many funcs): constify arg on function definitions, also make
1955         more local vars const
1956
1957         * aspell_local.h: remove "struct" from typdef setup
1958
1959         * aspell.C (check): make word_ok const
1960         (nextMiss): simplify slightly
1961         (error): ditto
1962
1963 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1964
1965         * lyxrc.[Ch]: store all float values as strings.
1966         use int (not float) for lyxrc.dpi.
1967
1968 2005-01-04  Angus Leeming  <leeming@lyx.org>
1969
1970         * lyx_cb.C (Reconfigure):
1971         * lyx_main.C (queryUserLyXDir):
1972         to run the <system_lyxdir>/configure correctly on Windows, prefix
1973         the path to the script with "sh " when generating the string that
1974         is passed to system().
1975
1976 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1977
1978         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1979
1980 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1981
1982         * lyxlength.C (asLatexString): get rid of setprecision
1983
1984 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1985
1986         * text2.C (setLayout): remove unused variable endpit.
1987         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1988
1989         * paragraph.C (onlyText): remove unused variable style.
1990
1991         * cursor.C (bruteFind): remove unused variables beg and end.
1992
1993         * Makefile.am (dist_noinset_DATA): not needed anymore
1994
1995         * cheaders/*: remove.
1996
1997 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1998
1999         * text3.C: fix LFUN_MATH_MODE.
2000
2001 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * buffer_funcs.C (countWords): new function. Counts words between
2004         two iterators.
2005
2006         * BufferView_pimpl.C (getStatus, dispatch): handle
2007         LFUN_WORDS_COUNT.
2008
2009         * LyXAction.C (init):
2010         * lfuns.h: add LFUN_WORDS_COUNT.
2011
2012 2004-12-19  Angus Leeming  <leeming@lyx.org>
2013
2014         * buffer.C (save): s/slashify_path/internal_path/.
2015
2016 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2017
2018         * lyxfind.C (findChange): do not search for end of pars, because
2019         the change tracker cannot handle this (fixes bug 1719).
2020
2021 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2022
2023         * paragraph.[Ch] (autoBreakRows): remove
2024
2025         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2026
2027         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2028         avoid using the paragraph one
2029
2030         * text2.C (LyXText, insertStringAsLines): adjust
2031
2032 2004-12-16  Angus Leeming  <leeming@lyx.org>
2033
2034         * bufferlist.C:
2035         * lyx_main.C:
2036         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2037
2038 2004-12-14  Angus Leeming  <leeming@lyx.org>
2039
2040         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2041
2042         * bufferlist.C (emergencyWrite):
2043         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2044         GetEnvPath("HOME").
2045
2046 2004-12-14  Angus Leeming  <leeming@lyx.org>
2047
2048         * main.C: (main): no longer pass pointers to os::init.
2049
2050 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2051
2052         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2053         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2054
2055 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * lyxfunc.C:
2058         * text3.C: remove selection_possible global flag
2059
2060 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * text2.C (getSelectionSpan): remove
2063         (changeDepth, changeDepthAllowed): adjust
2064
2065 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2066
2067         * Makefile.am (BOOST_LIBS): use boost variables
2068
2069 2004-12-03  José Matos  <jamatos@lyx.org>
2070
2071         * buffer.C: format up to 238.
2072
2073 2004-12-03  José Matos  <jamatos@lyx.org>
2074
2075         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2076
2077 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * cursor.C (goUpDown): remove call to idxUpDown2
2080
2081 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2082
2083         * tabular.[Ch]: use size_t-like types for cell, row and column
2084         indices
2085
2086 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * lyxfunc.C (getStatus): do not lose previous information when
2089         calling BufferView::getStatus; do not set a default "Command
2090         disabled" message at the beginning, but just before returning.
2091
2092 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2093
2094         * cursor.h (getStatus): add better comment from src/cursor.C
2095
2096 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * text3.C (getStatus): return false when the lfun is not handled
2099
2100 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2101
2102         * broken_headers.h: remove
2103
2104         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2105
2106 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2107
2108         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2109         offset_ref accessors
2110
2111         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2112         top_y_, merge fitcursor with update
2113         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2114         coord scheme
2115         (metrics): introduce
2116         (workAreaDispatch): adapt to new coord scheme
2117         (redoCurrentBuffer): remove
2118
2119         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2120
2121         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2122         CurStatus enum.
2123
2124         * coordcache.[Ch]: add paragraph cache and helpers
2125
2126         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2127         adjust everywhere
2128
2129         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2130         (targetX, setTargetX): introduce
2131
2132         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2133         baseline -> ascent, as the rest of lyx
2134
2135         * lyxtext.h: remove redoParagraphs, updateParPositions,
2136         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2137         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2138         have ascent/descent (ascent is ascent of first par)
2139
2140         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2141         step of BufferView
2142
2143         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2144
2145         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2146
2147         * pariterator.C: fix infinite loop introduced in par->pit renaming
2148
2149         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2150         in insets and LyXText, draw two off-screen paragraphs using
2151         NullPainter, and adapt to new coord scheme
2152
2153         * text.C:
2154         * text2.C:
2155         * text3.C: adapt lfun handlers to the new coord scheme, which
2156         means: there's only guaranteed coord information for onscreen pars
2157         plus one above and one below. This implies that one can do search
2158         from y coordinates in the range [-1,workHeight]
2159
2160 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2161
2162         * rename a lot of InsetOld to InsetBase
2163
2164 2004-11-25  Angus Leeming  <leeming@lyx.org>
2165
2166         * BufferView_pimpl.C:
2167         * lyx_cb.C:
2168         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2169
2170 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2173         call BufferView::getStatus if LCursor::getStatus did nothing
2174         (setStatusMessage, getStatusMessage): removed.
2175
2176         * FuncStatus.C (message): new methods. Used to provide an error
2177         message indicating why a command is disabled.
2178         (clear, |=, FuncStatus): update for message.
2179
2180 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2181
2182         * lyxfunc.C (dispatch): always call sendDispatchMessage
2183
2184 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2185
2186         * BufferView.C:
2187         * BufferView_pimpl.C:
2188         * CutAndPaste.C:
2189         * FontIterator.C:
2190         * buffer.C:
2191         * cursor.C:
2192         * cursor_slice.[Ch]:
2193         * dociterator.[Ch]:
2194         * lyxfind.C:
2195         * paragraph_funcs.C:
2196         * pariterator.C:
2197         * rowpainter.C:
2198         * text.C:
2199         * text2.C:
2200         * text3.C:
2201         * undo.C: par->pit renaming
2202
2203 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2204
2205         * tabular.C (cellstruct): use initialization, store a shared_ptr
2206         to insettext instead of the insettext directly, adjust to fit.
2207         (operator=):  new function
2208         (swap): new function
2209         (rowstruct): use initialization
2210         (columnstruct): use initialization
2211         (ltType): use initialization
2212
2213
2214         * lyxlength.h (swap): new function
2215
2216         * LColor.[Ch] (operator=): use the common semantics
2217
2218 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2219
2220         * lyxfind.C (findNextChange): update the bufferview after setting
2221         the selection.
2222
2223 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2226         number of InsetOptArgs has already been inserted.
2227
2228         * output_latex.C (latexOptArgInsets): new method. This outputs all
2229         the optarg insets, up to the limit defined in the layout file.
2230         (optArgInset): removed
2231         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2232
2233 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * paragraph.C (isLetter): remove special spellchecker-related
2236         code; return true also for digits
2237         (isWord, isKomma): remove
2238
2239         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2240         * lyxfind.C (MatchString()): use isLetter instead of isWord
2241
2242 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2243
2244         * pariterator.h (operatir=): comment out un-implemented member
2245         function.
2246
2247         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2248         static cast.
2249
2250 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2251
2252         * lyxfont.h: include LColor.h to satisfy concept checks.
2253
2254 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2255
2256         * pariterator.h: add typdefs for value_type, difference_type,
2257         pointer and reference to satisfy concept checks. Also add default
2258         constructor for same reason.
2259
2260         * pariterator.C (operator++): add post-increment operator to
2261         satisfy concept checks.
2262
2263         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2264         checks.
2265
2266         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2267
2268         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2269         checks. Also rename base_type to BaseType to follow naming
2270         standard better.
2271
2272         * FloatList.h: include Floating.h to satisfy concept checks.
2273
2274 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2275
2276         * lyxfunc.C (getStatus): when the origin of the request is menu or
2277         toolbar, and the LyXView does not have focus, do as if there was
2278         no buffer (bug 1720)
2279
2280         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2281         FuncRequest to individual entries of LFUN_SEQUENCE
2282
2283 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2284
2285         * output_latex.C (TeXOnePar): override runparams.moving_arg
2286         according to the needprotect value of the current paragraph (bug
2287         1739)
2288
2289         * paragraph.C (simpleTeXOnePar): no need to override
2290         runparams.moving_args here
2291
2292 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2293
2294         * vspace.C: fix off-by-one-error, related to fix #1682
2295
2296 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2297
2298         * lengthcommon.C: a more general fix for bug 1682
2299
2300 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * text.C (backspace): fix crash
2303
2304 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2305
2306         * format.[Ch] (getFormatFromFile): new method
2307         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2308
2309 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2312
2313 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2314
2315         * lyxfunc.C (dispatch): remove the verbose argument
2316         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2317         instead
2318
2319         * kbmap.C (defkey): set the origin of func to KEYBOARD
2320
2321         * MenuBackend.C (MenuItem):
2322         * ToolbarBackend.C (add): set the origin of func to UI
2323
2324         * funcrequest.[Ch]: add origin member, which indicates which part
2325         of LyX requests an action
2326
2327 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2328
2329         * converter.C (move): don't lie in the error message
2330         * converter.h (isReachable, move): document
2331
2332 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2333
2334         * buffer.C: remove unused using lyx::support::atoi
2335         * paragraph_funcs.C: ditto
2336
2337 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * bufferlist.C (exists): use bind and equal_to instead of
2340         compare_memfun
2341         (getBuffer): ditto
2342         * lyxtextclasslist.C (NumberOfClass): ditto
2343
2344         * cursor.C (insert): use for_each instead of explicit for loop
2345
2346         * bufferlist.C (getFileNames): use std::transform and
2347         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2348
2349         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2350         for loop
2351
2352         * buffer.C (changeLanguage): use for_each instead of explicit for
2353         loop
2354         (hasParWithID): implement using getParFromID
2355
2356         * LaTeXFeatures.C: ws change only
2357
2358         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2359         to cleanup a bit.
2360
2361         * BufferView_pimpl.C (trackChanges): use for_each instead of
2362         expilicit for loop
2363
2364 2004-11-04  André Pönitz  <poenitz@gmx.net>
2365
2366         * undo.h:
2367         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2368
2369         * dociterator.C (asDocIterator): use hard assert again.
2370
2371 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * lyxlength.C (asLatexString): rewrite so that it does not use
2374         snprintf anymore
2375
2376 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2377
2378         * text3.C (specialChar, dispatch): make sure cursor moves to the
2379         right after inserting an inset
2380
2381 2004-11-02  José Matos  <jamatos@lyx.org>
2382
2383         * output_docbook.C (docbook):
2384         * paragraph.C (getID):
2385         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2386         garantee that the output is always legal.
2387
2388         * tabular.C (docbook):
2389         * outputprams.[Ch]: remove mixed contents.
2390
2391 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2392
2393         * text2.C (setCounter): prevent endless loop
2394
2395 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2396
2397         * exporter.C (copyFile): use the mover instead of support::copy()
2398         * exporter.C (Export): pass format and latex name to copyFile()
2399         * exporter.h (addExternalFile): document
2400         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2401
2402 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2403
2404         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2405
2406 2004-10-30  José Matos  <jamatos@lyx.org>
2407
2408         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2409         text and no inset or font change. This allows to use CDATA
2410         sections just for the whole paragraph.
2411
2412 2004-10-30  José Matos  <jamatos@lyx.org>
2413
2414         * paragraph.C (getFirstWord): remove unused variable.
2415
2416 2004-10-30  José Matos  <jamatos@lyx.org>
2417
2418         * paragraph.C (getFirstWord): the content should always be escaped
2419         there.
2420         (simpleDocBookOnePar):
2421         * output_docbook.C (makeEnvironment): replace reference to CDATA
2422         to style pass_thru.
2423
2424 2004-10-30  José Matos  <jamatos@lyx.org>
2425
2426         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2427
2428 2004-10-30  José Matos  <jamatos@lyx.org>
2429
2430         * output_docbook.C (makeParagraphs):
2431         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2432         standard paragraph has only a given type of content drop the wrapper.
2433
2434 2004-10-29  José Matos  <jamatos@lyx.org>
2435
2436         * output_docbook.C (makeEnvironment):
2437         * sgml.C (openTag):
2438         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2439
2440 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2441
2442         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2443         (cleanID): sanitize any id.
2444
2445 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2446
2447         * buffer.C, lyxlex_pimpl.C:
2448         * lyxlex_pimpl.C (setFile):
2449         s/getExtFromContents/getFormatFromContents/
2450
2451 2004-10-28  José Matos  <jamatos@lyx.org>
2452
2453         * output_docbook.C (makeEnvironment): move id to broadest possible
2454         scope.
2455
2456         * sgml.C (openTag): apply substitution of <> for all attributes.
2457
2458 2004-10-28  José Matos  <jamatos@lyx.org>
2459
2460         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2461         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2462         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2463
2464         * sgml.[Ch]: new version for open and closeTag for paragraph and
2465         for strings. Now they handle the ids of paragraphs.
2466
2467 2004-10-26  Angus Leeming  <leeming@lyx.org>
2468
2469         * Makefile.am: add mover.[Ch].
2470
2471         * converter.C (convert, move): use the new Movers to move external
2472         files to the temp directory.
2473
2474         * lyx_main.C (init): ensure that the global system_movers data
2475         is initialised.
2476
2477         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2478         preferences file.
2479
2480         * mover.[Ch]: new files, defining a Mover as a utility to move an
2481         external file between directories and, if necessary, manipulate this
2482         file using a helper script.
2483
2484 2004-10-25  José Matos  <jamatos@lyx.org>
2485
2486         * output_docbook.C (makeCommand): merge two if's that tested the
2487         same condition.
2488
2489 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2490
2491         * sgml.C (escapeString): fix warning in a better way
2492
2493 2004-10-25  José Matos  <jamatos@lyx.org>
2494
2495         * sgml.C (escapeString): import the require boosts header file for
2496         tie, and avoid a signed unsigned comparison.
2497
2498 2004-10-25  José Matos  <jamatos@lyx.org>
2499
2500         * sgml.h: add #include <string>
2501
2502 2004-10-25  José Matos  <jamatos@lyx.org>
2503
2504         * sgml.[Ch] (escapeString): new function to escape all the string.
2505
2506 2004-10-24  José Matos  <jamatos@lyx.org>
2507
2508         * paragraph.[Ch] (getFirstWord): new function to get the first
2509         word. Useful for description.
2510         (simpleDocBookOnePar): remove depth argument, add another that
2511         says where to start the paragraph.
2512
2513         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2514         use the new functions to fix cleanly the support for descriptions.
2515
2516 2004-10-24  José Matos  <jamatos@lyx.org>
2517
2518         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2519         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2520         * output_linuxdoc.C (linuxdocParagraphs):
2521         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2522         add buffer as argument.
2523
2524 2004-10-24  José Matos  <jamatos@lyx.org>
2525
2526         * output_docbook.C (makeEnvironment, searchEnvironment): place
2527         CDATA inside paragraphs and fix scope for listitems.
2528
2529 2004-10-24  José Matos  <jamatos@lyx.org>
2530
2531         * output_docbook.C: remove using statement for stack.
2532
2533 2004-10-23  José Matos  <jamatos@lyx.org>
2534
2535         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2536         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2537         docbook. The new scheme is recursive and makes use of iterators, the
2538         same as latex export works.
2539         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2540         directly with the paragraph contents. This code was moved up to
2541         output_docbook.C (docbookParagraphs).
2542         * sgml.C (openTag, closeTag): removed unneeded newlines.
2543         (closeEnvTags) removed.
2544
2545 2004-10-23  André Pönitz  <poenitz@gmx.net>
2546
2547         * undo.C (textUndoOrRedo):
2548         * dociterator.C (asDocIterator): work around crash
2549
2550         * cursor.C (getStatus): replace ASSERT by more verbose error message
2551           and manual correction of the problem. Should increase stability
2552           while providing more sensible information.
2553
2554 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2555
2556         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2557
2558         * bufferlist.C (previous, next): new methods
2559
2560         * lfuns.h:
2561         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2562
2563 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2564
2565         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2566         entities to preamble.
2567
2568 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2569
2570         * messages.C (Pimpl): strip off translation context information
2571
2572 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2573
2574         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2575         the cursor is correct (bug 1694)
2576
2577 2004-10-13  José Matos  <jamatos@lyx.org>
2578
2579         * output_docbook.C (docbookParagraphs): fix closing tags in the
2580         end of the document.
2581
2582 2004-10-09  José Matos  <jamatos@lyx.org>
2583
2584         * buffer.C: format up to 237.
2585         * bufferparams.C (write): use tostr to convert booleans to strings.
2586
2587 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2588
2589         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2590
2591 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2592
2593         * LaTeX.C: implement use of babel language in xindy.
2594
2595 2004-10-05  José Matos  <jamatos@lyx.org>
2596
2597         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2598         Add new translators to help reading and writing the lyx file.
2599
2600 2004-10-05  José Matos  <jamatos@lyx.org>
2601
2602         * ParagraphParameters.C (read):
2603         * text.C (readParToken): replace nexToken by more appropriate lex
2604         methods.
2605
2606 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2607
2608         * LaTeX.C (runMakeIndex):
2609         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2610         (usually 'makeindex') configurable.
2611
2612         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2613         with a variable rather than with a number.
2614
2615 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2616
2617         * output_latex.C (TeXOnePar): make sure font setting is the first
2618         thing that gets output (and the last at the end). Should fix bug
2619         1404.
2620
2621 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2622
2623         * pch.h: use proper signal include
2624
2625         * LaTeX.h: Use preferred calling of Boost.Signal
2626         * buffer.h: ditto
2627
2628 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2629
2630         * pch.h: dont include <boost/function/function0.hpp>
2631
2632         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2633
2634         * paragraph_pimpl.h: remove usage of ShareContainer
2635
2636         * paragraph_pimpl.C: remove initialization of ShareContainer.
2637
2638 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2639
2640         Fix bug #1666
2641
2642         * BufferView.C (putSelectionAt): change the semantics when
2643         backwards == true: now, this just swaps cursor and anchor wrt the
2644         forward case
2645
2646         * BufferView.h (putSelectionAt): add some documentation
2647
2648         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2649         make sure backwardChar is done at least once (to avoid getting
2650         stuck)
2651         (findNextChange): use putSelectionAt in the forward direction
2652         (operator()): use Paragraph::isWord
2653
2654 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * Spacing.C (set): c_str fix
2657
2658 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2659
2660         * lyx_cb.C (Reconfigure): quote the name of configure script in
2661         case it contains spaces
2662
2663 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2664
2665         * client: new dir
2666
2667         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2668         (BOOST_LIBS): use top_buildir when looking for the file
2669
2670 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * pch.h: do not use include boost/format.hpp, multiple symbols
2673                 will result (gcc bug)
2674
2675
2676 2004-08-23  José Matos  <jamatos@lyx.org>
2677
2678         * bufferparams.C (readToken): fix reading of the author field.
2679
2680 2004-08-20  José Matos  <jamatos@lyx.org>
2681
2682         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2683
2684 2004-08-20  José Matos  <jamatos@lyx.org>
2685
2686         * lyxlex.[Ch] (findToken): remove function.
2687
2688         * ParagraphParameters.C (findToken):
2689         * bufferparams.C (findToken): replace call for previous function
2690         with local copy. This local function has one more argument, the
2691         read string argument.
2692
2693 2004-08-16  José Matos  <jamatos@lyx.org>
2694
2695         * ParagraphParameters.C (write):
2696         * Spacing.C (writeFile):
2697         * bufferparams.C (writeLaTeX):
2698         * lyx_cb.C (Reconfigure):
2699         * paragraph.C (write):
2700         * tabular.C (write): remove unnecessary space at end of line.
2701
2702
2703 2004-08-16  José Matos  <jamatos@lyx.org>
2704
2705         * text.C (readParagraph): remove debug message.
2706
2707 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2708
2709         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2710         crash
2711
2712         * output_plaintext.C (asciiParagraph): set depth correctly
2713
2714         * outputparams.h: add member depth
2715
2716         * paragraph_funcs.C (ownerPar): remove.
2717
2718         * text2.C (setCounter): remove first_pit; comment out some
2719         non-working code that uses ownerPar
2720
2721         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2722         uses ownerPar
2723
2724 2004-08-16  José Matos  <jamatos@lyx.org>
2725
2726         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2727         For the same level of importance use the same chanel to report problems.
2728         (read): add code to deal with \begin_body and \end_body.
2729
2730
2731 2004-08-15  José Matos  <jamatos@lyx.org>
2732
2733         * lyxlex.C (getString): fix comment, buffer::readBody is now
2734         buffer:readDocument.
2735
2736         * tex-strings.C (string_papersize): Default -> default,
2737         Custom -> custom, for consistency with other options.
2738
2739 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2740
2741         * pch.h: new file
2742
2743         * Makefile.am: support pch
2744
2745 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2746
2747         * text.C (readParToken): remove the static LyXFont variable and
2748         pass it as a parameter instead. This fixes a nasty bug where an
2749         inset will be inserted with a bad font in some situations
2750         (readParagraph): adapt
2751
2752         * text2.C (setCounter): reduce number of calls to pars_[pit]
2753
2754         * text.C (singleWidth): add an assert, fix a test
2755
2756         * rowpainter.C (paintText): reduce number of calls to singleWidth
2757
2758         * paragraph.C (isHfill):
2759         (isNewline): ws only
2760
2761 2004-08-14  André Pönitz  <poenitz@gmx.net>
2762
2763         * text.C:
2764         * text2.C:
2765         * rowpainter.C:
2766         * lyxtext.h (several functions): use a Paragraph & argument
2767         instead of par_type
2768
2769 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2770
2771         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2772
2773         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2774
2775         * text.C (singleWidth): remove useless test
2776
2777 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2778
2779         * tabular.h: remove bogus comments
2780
2781         * tabular.C (getDescentOfRow):
2782         (isPartOfMultiColumn): add assertions
2783
2784         * lyxlength.C (inPixels): remove #warning
2785
2786 2004-08-14  André Pönitz  <poenitz@gmx.net>
2787
2788         * paragraph.h: inline getChar()
2789
2790         * BufferView.h: remove unused declarations
2791
2792 2004-08-14  José Matos  <jamatos@lyx.org>
2793
2794         * Buffer.[Ch] (readDocument): new name for old readBody.
2795         * Buffer.C: new file format, new keywords: \begin_document,
2796         \begin_header, \begin_body, \end_body.
2797
2798         * bufferparams.C (readToken): replace all calls to lex.nextToken
2799         by lex.next(). Do the same to eatLine except where really needed.
2800
2801         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2802         line when writing to the lyx file.
2803
2804         * output_plaintext.C (asciiParagraph): fix Bibliography style
2805         handling.
2806
2807         * text.C (read): fix end of file handling.
2808
2809 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2810
2811         * MenuBackend.C (Menu::operator[]): new method to access
2812         individual menu items
2813         (Menu::hasFunc): new method. search for an item that corresponds
2814         to a given func
2815         (MenuBackend::specialMenu): new method
2816         (MenuBackend::expand): if a special menu has been set, skip
2817         entries whose func() appears in this menu
2818
2819 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2820
2821         * text3.C: use Debug::DEBUG a bit more
2822
2823         * text.C (leftMargin): try to simplify a tiny bit change var x to
2824         l_margin. Dont output the wide margins always.
2825         (rightMargin): no margin in inner texts
2826
2827         * rowpainter.h (nestMargin): new func
2828         (changebarMargin): new func
2829         (rightMargin): new func
2830
2831         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2832         now functions.
2833         (paintLast): ditto
2834
2835         * factory.C (createInset): modify setDrawFrame
2836
2837         * cursor.C: use Debug::DEBUG a bit more
2838
2839 2004-08-14  André Pönitz  <poenitz@gmx.net>
2840
2841         * coordcache.[Ch]:
2842         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2843         cache for all insets in (at least partially) visible (top-level)
2844         paragraphs.
2845
2846         * BufferView_pimpl.C: reset external coord cache before every update.
2847         This means the coord cache only contains valid entries.
2848
2849 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2850
2851         bug 1096
2852         * BufferView_pimpl.C (getInsetByCode): move function out of class
2853         and change in to a template in anon namespace. Also fix to do what
2854         suits us better.
2855
2856 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2857
2858         bug 1305
2859         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2860         of char
2861         (breakParagraph): rename par to par_offset and use a local
2862         reference. Add code to keep the language over a rebreak.
2863         (breakParagraphConservative): rename par to par_offset, use a
2864         local reference
2865         (mergeParagraph): ditto
2866         (outerHook): ditto
2867         (isFirstInSequence): ditto
2868         (outerFont): rename pit to par_offset
2869
2870         * paragraph.C: ws change
2871         * paragraph.h: ditto
2872         * text3.C: ditto
2873         * text.C: ditto
2874
2875 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2876
2877         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2878         treatment for ']'
2879
2880         * paragraph.C (simpleTeXOnePar): when we have a \item with
2881         optional argument, enclose the argument with curly brackets (in
2882         case it contains a closing square bracket)
2883
2884         * text2.C (editXY):
2885         * text2.C (editXY):
2886         * text3.C (checkInsetHit): constify
2887
2888 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2889
2890         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2891         documents (bug 1629)
2892
2893 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2894
2895         Fix toggling of collapsable insets with the mouse (bug 1558)
2896
2897         * lyxfunc.C (dispatch): adapt to LCursor changes
2898
2899         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2900         make sure that dispatch is not invoked twice
2901
2902         * cursor.C (needsUpdate): new method
2903         (dispatch): return void
2904         (result): new method, to access the DispatchResult of the cursor.
2905
2906 2004-08-13  José Matos  <jamatos@lyx.org>
2907
2908         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2909
2910 2004-08-13  André Pönitz  <poenitz@gmx.net>
2911
2912         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2913
2914         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2915           multiple cells
2916
2917 2004-08-12  André Pönitz  <poenitz@gmx.net>
2918
2919         * text3.C: take out the 'cursor right' form insertInset and only
2920         do it in those places when it is really needed. Fixes crash on
2921         C-m...
2922
2923 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2926
2927         * BufferView_pimpl.C (setBuffer): initialize the current font of
2928         the underlying LyXText
2929
2930 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2931
2932         * kbsequence.C (print): use UI native formatting for menu
2933         shortcuts
2934
2935         * text.C (insertChar): call Paragraph::insertChar with a font
2936         argument (cosmetic)
2937
2938         * paragraph.C (insertInset, insertChar): the version that takes a
2939         LyXFont argument is now a wrapper around the other one (the
2940         opposite used to be true).
2941
2942         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2943         argument. Font setting is done in Paragraph now.
2944
2945 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2946
2947         * outputparams.h: add new members intitle and lang.
2948
2949         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2950         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2951
2952 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * text3.C (dispatch): remove special handling of button 4 and 5,
2955         it is now taken care of in the frontend code.
2956
2957 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2958
2959         * Spacing.h: add <string> (STLPort compile fix)
2960
2961 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2962
2963         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2964
2965 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2966
2967         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2968         to bool.
2969
2970         * converter.C (showMessage): inherit from unary_function, make
2971         operator() const.
2972
2973         * buffer.C (writeFile): initialize retval
2974
2975         * InsetList.h: rename private variable list to list_
2976         * InsetList.[Ch]: adjust accordingly.
2977
2978 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2981         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2982         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2983         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2984         * ParagraphParameters.C, LaTeXFeatures.C: replace
2985         "support/std_sstream.h" with <sstream>
2986
2987 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2990         * lyxsocket.C (LyXServerSocket): ditto
2991         (serverCallback): ditto
2992
2993 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2994
2995         * LaTeXFeatures.C: check release date when loading jurabib.
2996
2997 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2998
2999         * lyxserver.C (startPipe): call register_socket_callback
3000         (endPipe): call unregister_socket_callback
3001
3002 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3005         (LyXServerSocket): register the callback
3006         (LyXServerSocket): unregister the callback
3007         (fd): delete function
3008         (serverCallback): improve error checking and setup the callbacks.
3009         (dataCallback): change arg to fd.
3010         (writeln): new func (copied fro the client socket) used for server
3011         write to client.
3012         (LyXDataSocket): simplify
3013         (~LyXDataSocket): close ann unregiser callback
3014         (server): delete function
3015         (fd): delete function
3016         (readln): small changes, improve some std::string usage
3017         (writeln): constify a bit
3018
3019 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3020
3021         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3022         Qt frontend
3023
3024 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3025
3026         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3027         after it has been populated
3028
3029 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3030
3031         * text2.C (insertInset): move cursor when inserting inset.
3032
3033 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3034
3035         * kbmap.C (findbindings): a couple of new methods. returns a
3036         container of kb_sequence objects. The real work is done by the
3037         private recursive version
3038         (printbindings): uses findbindings to print out a bracketed list
3039         of bindings (renamed from findbinding).
3040
3041         * MenuBackend.C (binding): use kb_keymap::findbindings
3042
3043         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3044
3045 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3046
3047         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3048
3049 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3050
3051         * paragraph.C (isWord): return true on insets that report
3052         isLetter().
3053
3054         * text.C (getWord): use Paragraph::isWord to decide what is in a
3055         word and what is not; fix bug 1609.
3056
3057 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3058
3059         * tex-strings.C: add "none" to string_paperpackages[], fixes
3060         off-by-one-error in the paperpackage selection.
3061
3062         * lyxlex.[Ch]:
3063         * tex-strings.[Ch]: char const * string[n]
3064         -> char const * const string[]
3065
3066 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3067
3068         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3069         command, return early.
3070
3071 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * debug.h: add DEBUG to enum and fix size of ANY.
3074
3075         * debug.C: add support for Debug::DEBUG
3076         (showTags): cast errorTags.level to unsigned int
3077
3078         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3079         (redoCurrentBuffer): ditto
3080         (updateScrollbar): ditto
3081         * cursor.C (dispatch): ditto
3082         * text2.C (setLayout): ditto
3083         (setFont): ditto
3084         (updateCounters): ditto
3085         (editXY): ditto
3086         (deleteEmptyParagraphMechanism): ditto
3087
3088 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3091         annotations to cleanup the Makefile slightly.
3092
3093 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3094
3095         * lyxrc.C: do not set user_email to a default value but use empty
3096         instead. The entry used to be translated, which does not work
3097         since at the point where lyxrc is constructed there is no
3098         translation service available
3099
3100         * messages.C (getLocaleDir): remove and use directly
3101         lyx_localedir() instead
3102
3103 2004-06-02  Angus Leeming  <leeming@lyx.org>
3104
3105         Fix crash caused by dereferencing null pointer 'exportdata' in
3106         OutputParams by creating a new ExportData variable on the heap,
3107         storing it in a boost::shared_ptr.
3108         The crash was triggered when generating an Instant Preview
3109         of an external inset.
3110
3111         * Makefile.am: add outputparams.C
3112
3113         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3114         (c-tor): allocate memory to it.
3115
3116         * exporter.C (c-tor): associated changes.
3117
3118 2004-06-01  Angus Leeming  <leeming@lyx.org>
3119
3120         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3121         contains data before calling isInset(0). (Bug 1513.)
3122
3123 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3124
3125         * exporter.C (checkOverwrite): new method
3126         * exporter.C (copyFile): new method
3127         * exporter.C (Export): copy referenced files to the document dir
3128         * exporter.[Ch]: new class ExportedFile
3129         * exporter.[Ch]: new class ExportData. Contains currently the
3130         names of referenced external files
3131         * outputparams.h: add exportdata member.
3132
3133 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3136         version.C-tmp
3137
3138 2004-05-19  Angus Leeming  <leeming@lyx.org>
3139
3140         * LaTeXFeatures.C:
3141         * ToolbarBackend.C:
3142         * bufferparams.C:
3143         * lyxfunc.C: small changes due to the introduction of namespace
3144         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3145
3146 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * text3.C (dispatch): supress update when only moving the cursor
3149         * cursor.C (selHandle): remove commented code
3150
3151 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3152
3153         * paragraph.C (startTeXParParams): correct column count
3154         * CutAndPaste.C (pasteSelection): remove const_cast
3155         * output_docbook.C (docbookParagraphs): remove const_cast
3156         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3157         const_cast and return ParagraphList::const_iterator
3158         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3159         * output_plaintext.C (writeFileAscii): remove const_cast
3160         * paragraph.[Ch] (simpleTeXOnePar): make const
3161         * paragraph_funcs.C (outerPar): use const iterators
3162         * paragraph_pimpl.C (validate): use const iterators
3163         * text.C (setHeightOfRow): use const iterators
3164
3165 2004-05-17  Angus Leeming  <leeming@lyx.org>
3166
3167         * lfuns.h:
3168         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3169
3170         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3171         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3172         if the citation engine has changed.
3173
3174 2004-05-14  José Matos  <jamatos@lyx.org>
3175
3176         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3177         if the textclass does not provide it. Have it different for sgml and
3178         xml.
3179         support the language of document.
3180         * output_docbook.C (docbookParagraphs):
3181         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3182         first anchor as the id of the paragraph, remove special case code.
3183         * sgml.C (escapeChar): escape only < & >.
3184
3185 2004-05-14  Angus Leeming  <leeming@lyx.org>
3186
3187         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3188         dependencies on src/frontends/controllers/biblio.h. Define a
3189         CiteEngine_enum wrapper class to enable the enum to be forward
3190         declared.
3191
3192 2004-05-12  Angus Leeming  <leeming@lyx.org>
3193
3194         * buffer.C: up LYX_FORMAT to 234.
3195         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3196         use_numerical_citations with a single biblio::CiteEngine cite_engine
3197         variable.
3198         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3199
3200 2004-05-13  José Matos  <jamatos@lyx.org>
3201
3202         * converter.h:
3203         * converter.C (Converter, readFlags): add xml member.
3204         * outputparams.h: add XML flavor.
3205         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3206
3207 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3208
3209         * lyxfunc.C (dispatch):
3210         (getStatus): fix handling of LFUN_SEQUENCE
3211
3212 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3213
3214         * debug.C (showLevel): do not forget the end-of-line marker
3215
3216 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3217
3218         * kbmap.C (read): do not stop parsing a bind file when an error
3219         occurs (bug 1575)
3220
3221 2004-04-29  Angus Leeming  <leeming@lyx.org>
3222
3223         * cursor.C:
3224         * factory.C:
3225         * pariterator.C:
3226         * text2.C: wrap a bunch of #warning statements
3227         inside #ifdef WITH_WARNINGS blocks.
3228
3229 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3230
3231         * buffer.C: increment format to 233.
3232
3233 2004-04-28  Angus Leeming  <leeming@lyx.org>
3234
3235         * BufferView_pimpl.C:
3236         * lyxfunc.C:
3237         * text3.C:
3238         s/updateToolbar()/updateToolbars()/
3239         s/Toolbar.h/Toolbars.h/
3240
3241 2004-04-28  Angus Leeming  <leeming@lyx.org>
3242
3243         * BufferView.[Ch] (c-tor):
3244         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3245         No longer passes these data to the WorkArea generator.
3246
3247 2004-04-28  Angus Leeming  <leeming@lyx.org>
3248
3249         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3250
3251 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3252
3253         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3254
3255 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3256
3257         * output_latex.C (TeXEnvironment): make sure that there is a line
3258         break before \end{foo} for the last paragraph of a document
3259         (TeXOnePar): if the paragraph is at the end of the document (or
3260         inset) and the language has to be reset, then make sure that the
3261         line break is _before_ the language command, not after (fixes bug
3262         1225); also make sure that the language reset command is the first
3263         thing after the paragraph (to ensure proper nesting of
3264         environments and thus fix bug 1404)
3265
3266 2004-04-21  John Levon  <levon@movementarian.org>
3267
3268         * ToolbarBackend.h:
3269         * ToolbarBackend.C: make "name" be a programmatic name
3270         and a gui_name field.
3271
3272         * lyxfunc.C: display the minibuffer on M-x
3273
3274 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3275
3276         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3277         (bug 1526)
3278
3279 2004-04-19  Angus Leeming  <leeming@lyx.org>
3280
3281         * BufferView_pimpl.C (setBuffer): changed preview interface.
3282
3283         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3284         possible values.
3285
3286 2004-04-19  John Levon  <levon@movementarian.org>
3287
3288         * BufferView_pimpl.C:
3289         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3290
3291 2004-04-05  Angus Leeming  <leeming@lyx.org>
3292
3293         * text.C (redoParagraphs): add call to updateCounters(), thereby
3294         fixing the missing "Figure #:" label from the caption of a
3295         figure float.
3296
3297 2004-04-13  Angus Leeming  <leeming@lyx.org>
3298
3299         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3300         cursor is clicked out of an inset.
3301
3302 2004-04-13  Angus Leeming  <leeming@lyx.org>
3303
3304         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3305         than an InsetOld one.
3306
3307 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3308
3309         * format.[Ch]: add editor to Format
3310         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3311         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3312
3313 2004-04-08  André Pönitz  <poenitz@gmx.net>
3314
3315         * metricsinfo.h: remove PainterInfo::width member
3316
3317 2004-04-08  Angus Leeming  <leeming@lyx.org>
3318
3319         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3320         "\providecommand" rather than "\newcommand", thereby preventing
3321         clashes with packages that define "\boldsymbol" themselves.
3322         Eg, beamer.
3323
3324 2004-04-08  Angus Leeming  <leeming@lyx.org>
3325
3326         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3327         thereby squashing an unnecessary warning.
3328
3329 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3330
3331         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3332         setBuffer()
3333
3334 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3335
3336         * BufferView.C (setCursor): call redoParagraph (some insets could
3337         have been opened)
3338         (putSelectionAt): remove the 'double update' trick
3339
3340         * BufferView_pimpl.C (fitCursor): call refreshPar
3341         (workAreaDispatch): remove an uneeded update call
3342         (dispatch): remove some manual update calls
3343
3344         * cursor.[Ch]: remove cached_y_, updatePos
3345         (selHandle): set noUpdate when appropriate
3346
3347         * lyxfunc.C (dispatch): track if we need an update
3348
3349         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3350
3351         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3352         (paintSelection): cheap optimization, do not call cursorX when not
3353         needed
3354         (paintPars): change signature
3355         (refreshPar): add
3356         (paintText): adjust
3357         (paintTextInset): adjust
3358
3359         * text.C: adjust
3360
3361 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3362
3363         * lengthcommon.C: compilation fix: remove explicit array size from
3364         unit_name[] and friends
3365
3366 2004-04-05  Angus Leeming  <leeming@lyx.org>
3367
3368         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3369
3370         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3371         present only for the preferences dialog.
3372         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3373
3374 2004-04-05  Angus Leeming  <leeming@lyx.org>
3375
3376         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3377         to enable the frontends to export changes to lyxrc correctly.
3378
3379         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3380
3381 2004-04-07  André Pönitz  <poenitz@gmx.net>
3382
3383         * cursor.[Ch] (selClear, adjust): remove math
3384
3385         * cursor_slice.C: more agressive assert
3386
3387         * lyxfunc.C:
3388         * BufferView_pimpl.C: rework mouse event dispatch
3389
3390         * dociterator.C:
3391         * paragraph.C:
3392         * text2.C:
3393         * text3.C: adjust
3394
3395 2004-04-05  André Pönitz  <poenitz@gmx.net>
3396
3397         * cursor.[Ch] (valign, halign...): remove unneeded functions
3398
3399 2004-04-05  Angus Leeming  <leeming@lyx.org>
3400
3401         * lyxlength.[Ch] (unit_name et al.): const-correct.
3402
3403 2004-04-05  Angus Leeming  <leeming@lyx.org>
3404
3405         * BufferView_pimpl.C:
3406         * buffer.C:
3407         * counters.C:
3408         * cursor.C:
3409         * lyxfunc.C
3410         * paragraph.C:
3411         * pariterator.C:
3412         * text.C:
3413         * text2.C:
3414         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3415
3416 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3417
3418         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3419
3420 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3421
3422         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3423         * BufferView_pimpl.[Ch] (getStatus)
3424         * BufferView.[Ch] (getStatus): add
3425         * lyxfunc.C (getStatus): move lfuns handled in
3426         BufferView::dispatch to te function above
3427         * Cursor.C (setSelection): set selection() = true
3428
3429 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3430
3431         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3432
3433 2004-03-31  Angus Leeming  <leeming@lyx.org>
3434
3435         * lyxfunc.C (dispatch): Fall through to the generic
3436         Dialogs::show("preamble").
3437
3438 2004-03-31  Angus Leeming  <leeming@lyx.org>
3439
3440         * lyxfunc.C (dispatch): Fall through to the generic
3441         Dialogs::show("spellchecker").
3442
3443 2004-03-31  Angus Leeming  <leeming@lyx.org>
3444
3445         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3446         preferences dialog.
3447
3448 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3449
3450         * BufferView.C
3451         * cursor.[Ch]
3452         * dociterator.[Ch]:
3453         * insetiterator.[Ch]:
3454         * lyxfind.C:
3455         * lyxfunc.C:
3456         * pariterator.[Ch]:
3457         * text2.C:
3458         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3459
3460 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3463         insets where we are putting the cursor.
3464
3465 2004-03-31  Angus Leeming  <leeming@lyx.org>
3466
3467         * lfuns.h:
3468         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3469
3470         * lyxrc.[Ch] (read, write): overloaded member functions taking
3471         a std::[io]stream arguments.
3472
3473         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3474
3475 2004-03-31  Angus Leeming  <leeming@lyx.org>
3476
3477         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3478         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3479
3480         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3481         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3482
3483 2004-03-31  Angus Leeming  <leeming@lyx.org>
3484
3485         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3486         the LFUN_ALL_INSETS_TOGGLE code.
3487
3488 2004-03-30  Angus Leeming  <leeming@lyx.org>
3489
3490         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3491         has died. Fall through to the generic Dialogs::show("document").
3492
3493 2004-03-30  Angus Leeming  <leeming@lyx.org>
3494
3495         * lfuns.h:
3496         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3497         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3498
3499         * lyxfunc.C (getStatus, dispatch): define the actions for these
3500         lfuns. Little more than a cut and pste job from ControlDocument.C
3501
3502         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3503
3504 2004-03-30  Angus Leeming  <leeming@lyx.org>
3505
3506         * lfuns.h:
3507         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3508         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3509
3510         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3511         open/closed state of ollapsable insets. Usage:
3512
3513         all-inset-toggle <state> <name>, where
3514         <state> == "open" || "closed" || "toggle" and
3515         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3516
3517         * lyxtext.h, text2.C (toggleInset): removed.
3518
3519         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3520         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3521         now passes LFUN_INSET_TOGGLE to the found inset.
3522
3523         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3524         is now invoked as "all-insets-toggle toggle branch".
3525
3526 2004-03-30  Angus Leeming  <leeming@lyx.org>
3527
3528         * dociterator.C:
3529         * insetiterator.C:
3530         * pariterator.[Ch]: added/corrected header blurb.
3531
3532 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3533
3534         * dociterator.[Ch]: add an inset_ member
3535         (backwardPos): implemented
3536         (backwardPos, forwardPos): use inset_ when the stack is empty.
3537         (doc_iterator_begin, doc_iterator_end): implemented
3538         * pariterator.[Ch]: adjust, add begin, end
3539         * insetiterator.[Ch]: adjust, add begin, end
3540         * cursor.C:
3541         * document.C:
3542         * BufferView.C:
3543         * BufferView_pimpl.C:
3544         * CutAndPaste.C: adjust
3545
3546 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3547
3548         * buffer.C: increment file format to 232.
3549         * LaTeXFeatures.C: add bibtopic package.
3550         * bufferparams.[Ch]: param \use_bibtopic.
3551
3552         * lyxrc.[Ch]: add lyxrc bibtex_command
3553         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3554
3555         * buffer.C: increment file format to 231.
3556
3557 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3558
3559         * dociterator.C: implement forwardPar
3560         * iterators.[Ch]: remove, replaced by
3561         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3562         * BufferView.C:
3563         * BufferView_pimpl.C:
3564         * CutAndPaste.C:
3565         * buffer.C:
3566         * bufferview_funcs.C:
3567         * cursor.C:
3568         * lyxfind.C
3569         * lyxfunc.C
3570         * paragraph_funcs.C
3571         * toc.C:
3572         * Makefile.am: adjust
3573
3574 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3575
3576         * CutAndPaste.C (pasteSelection): fix 2 crashes
3577         (eraseSelection): fix a crash
3578         * paragraph_funcs.C: remove a warning
3579
3580 2004-03-28  Angus Leeming  <leeming@lyx.org>
3581
3582         * lfuns.h:
3583         * LyXAction.C (init): new LFUN_PRINT.
3584
3585         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3586
3587 2004-03-27  Angus Leeming  <leeming@lyx.org>
3588
3589         * lfuns.h:
3590         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3591
3592         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3593
3594 2004-03-27  Angus Leeming  <leeming@lyx.org>
3595
3596         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3597         insetlist always contains non-null pointers to insets.
3598
3599 2004-03-26  Angus Leeming  <leeming@lyx.org>
3600
3601         * src/BufferView_pimpl.C:
3602         * src/CutAndPaste.C:
3603         * src/buffer.C:
3604         * src/iterators.C:
3605         * src/output_plaintext.C:
3606         * src/outputparams.h:
3607         * src/paragraph_funcs.C:
3608         * src/rowpainter.C:
3609         * src/text.C:
3610         * src/text2.C:
3611         * src/frontends/controllers/ControlErrorList.C:
3612         * src/frontends/gtk/FileDialogPrivate.C:
3613         * src/frontends/gtk/GPainter.C:
3614         * src/frontends/gtk/GToolbar.C:
3615         * src/frontends/qt2/QRef.C:
3616         * src/mathed/math_scriptinset.C: squash compiler warnings.
3617
3618 2004-03-26  Angus Leeming  <leeming@lyx.org>
3619
3620         * ispell.C (LaunchIspell::start):
3621         * lyx_cb.C (AutoSaveBuffer::start):
3622         invoke run(DontWait) rather than runNonBlocking().
3623
3624 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3625
3626         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3627
3628 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3629
3630         * kbsequence.C (print): adjust
3631
3632         * kbmap.C (printKeySym): rename and change signature
3633         (printKey): use LyXKeySym::print()
3634
3635 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3636
3637         * undo.C: add using std::advance to compile for stlport
3638
3639 2004-03-24  Angus Leeming  <leeming@lyx.org>
3640
3641         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3642         it leads to a crash when no buffer is present.
3643
3644 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3645             Martin Vermeer  <martin.vermeer@hut.fi>
3646
3647         * lyxfunc.C (dispatch):
3648         * bufferparams.C (readToken): use the new LColor::setColor
3649
3650         * LColor.[Ch] (setColor): new version that takes two strings as
3651         argument and creates a new color entry if necessary
3652
3653 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3654
3655         * buffer.C (makeLaTeXFile): if the main latex file that is
3656         processed is usually a subdocument of some master, then pretend
3657         for a while that it is actually the master
3658
3659 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3660
3661         * buffer.C (getLabelList):
3662         (getBibkeyList): use getMasterBuffer()
3663         (getMasterBuffer): new method. Returns the main document in the
3664         case where one is using included documents.
3665
3666 2004-03-25  André Pönitz  <poenitz@gmx.net>
3667
3668         * Makefile.am:
3669         * iterators.[Ch]:
3670         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3671
3672         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3673
3674         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3675         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3676
3677         * ParameterStruct.h: merge with ParagraphParameters
3678
3679         * lyxtext.h: remove LyXText::parOffset() and getPar()
3680
3681         * text3.C: Remove all 'manual' update calls. We do now one per user
3682         interaction which is completely sufficient.
3683
3684         * Bidi.C:
3685         * BufferView.[Ch]:
3686         * BufferView_pimpl.C:
3687         * FontIterator.[Ch]:
3688         * MenuBackend.C:
3689         * ParagraphParameters.[Ch]:
3690         * buffer.C:
3691         * buffer.h:
3692         * bufferlist.C:
3693         * cursor.[Ch]:
3694         * cursor_slice.[Ch]:
3695         * dociterator.[Ch]:
3696         * errorlist.[Ch]:
3697         * factory.C:
3698         * lfuns.h:
3699         * lyxfind.C:
3700         * lyxfunc.C:
3701         * output_docbook.[Ch]:
3702         * output_latex.[Ch]:
3703         * output_linuxdoc.[Ch]:
3704         * output_plaintext.[Ch]:
3705         * paragraph.[Ch]:
3706         * paragraph_funcs.[Ch]:
3707         * paragraph_pimpl.[Ch]:
3708         * rowpainter.C:
3709         * tabular.[Ch]:
3710         * text.C:
3711         * text2.C:
3712         * toc.C:
3713         * undo.[Ch]: adjust
3714
3715         * frontends/controllers/ControlDocument.C:
3716         * frontends/controllers/ControlErrorList.C:
3717         * frontends/controllers/ControlSpellchecker.C:
3718         * insets/inset.C:
3719         * insets/inset.h:
3720         * insets/insetbase.h:
3721         * insets/insetbibitem.C:
3722         * insets/insetbox.C:
3723         * insets/insetbranch.C:
3724         * insets/insetcaption.C:
3725         * insets/insetcharstyle.C:
3726         * insets/insetcharstyle.h:
3727         * insets/insetcollapsable.C:
3728         * insets/insetcollapsable.h:
3729         * insets/insetert.C:
3730         * insets/insetfloat.C:
3731         * insets/insetfoot.C:
3732         * insets/insetmarginal.C:
3733         * insets/insetnote.C:
3734         * insets/insetoptarg.C:
3735         * insets/insettabular.C:
3736         * insets/insettext.C:
3737         * insets/insettext.h:
3738         * insets/insetwrap.C:
3739         * mathed/math_mboxinset.C:
3740         * mathed/math_nestinset.C:
3741         * mathed/math_scriptinset.C:
3742         * mathed/math_scriptinset.h:
3743         * support/types.h:
3744
3745 2004-03-24  Angus Leeming  <leeming@lyx.org>
3746
3747         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3748         deal with any child processes that have finished but are waiting to
3749         communicate this fact to the rest of LyX.
3750
3751 2004-03-24  Angus Leeming  <leeming@lyx.org>
3752
3753         64-bit compile fixes.
3754
3755         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3756         (c-tor): pass lyx::pos_types rather than ints.
3757
3758         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3759         lyx::pos_type.
3760
3761         * text.C (Delete): compile fix.
3762         (getPar): ensure that function declaration is the same as that in
3763         the header file.
3764
3765 2004-03-23  Angus Leeming  <leeming@lyx.org>
3766
3767         * ispell.C (LaunchIspell):
3768         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3769         a boost::shred_ptr rather than a std::auto_ptr.
3770
3771 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3772
3773         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3774         handle LFUN_FILE_INSERT_*
3775
3776         * lyxrc.C (setDefaults, getDescription, output, read):
3777         * lyxrc.h: remove ps_command
3778
3779 2004-03-22  Angus Leeming  <leeming@lyx.org>
3780
3781         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3782         Ensure that error_handler is processed once only and that all data
3783         is saved before attempting to output any warning messages.
3784
3785         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3786
3787 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3788
3789         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3790
3791 2004-03-19  André Pönitz  <poenitz@gmx.net>
3792
3793         * cursor.[Ch] (reset): take main text inset as argument
3794
3795         * BufferView: adjust
3796         * BufferView_pimpl.C: adjust
3797
3798         * paragraph.[Ch]: fix completely broken operator=()
3799
3800 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3801
3802         * LColor.C (getFromLyXName): make sure that the color name is used
3803         as lowercase.
3804
3805 2004-03-17  Angus Leeming  <leeming@lyx.org>
3806
3807         * lfuns.h:
3808         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3809
3810         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3811         dialog and to kill a forked process.
3812
3813 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3814
3815         * text2.C (setCursorFromCoordinates): fix font problem
3816
3817 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3818
3819         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3820         bogus "rebuild cursor" code
3821
3822 2004-03-11  André Pönitz  <poenitz@gmx.net>
3823
3824         * buffer.[Ch]: use InsetText instead of LyXText as container for
3825         the main lyx text.
3826
3827         * dociterator.[Ch]: drop the BufferView * member which is not needed
3828         anymore after the change to buffer.C
3829
3830         * paragraph_funcs.C:
3831         * text.C:
3832         * text2.C:
3833         * BufferView.[Ch]:
3834         * BufferView_pimpl.[Ch]:
3835         * cursor.[Ch]:
3836         * cursor_slice.[Ch]: adjust
3837
3838         * text3.C: fix bug in mathDispatch
3839
3840 2004-03-08  André Pönitz  <poenitz@gmx.net>
3841
3842         * undo.[Ch]: use 'StableDocumentIterator' as base for
3843         the Undo struct.
3844
3845 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3846
3847         * LaTeXFeatures.C:
3848         * bufferparams.[Ch]: add jurabib support and param.
3849
3850         * LaTeX.C: add FIXME/comment.
3851
3852 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3853
3854         * buffer.C: increment file format to 230.
3855
3856 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3857
3858         * cursor.C (dispatch): avoid infinite loops
3859
3860 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3861
3862         * rowpainter.C (paintSelection): fix x coordinates
3863
3864 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3865
3866         * text.C (rowBreakPoint): fix breaking before displayed insets
3867
3868 2004-03-01  André Pönitz  <poenitz@gmx.net>
3869
3870         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3871
3872         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3873
3874         * Makefile.am:
3875         * BufferView.C:
3876         * BufferView_pimpl.C:
3877         * buffer.C:
3878         * lyxfind.C:
3879         * lyxfunc.C:
3880         * text.C:
3881         * text2.C:
3882         * text3.C: adjust
3883
3884 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * lyxtext.h:
3887         * text.C:
3888         * text2.C:
3889         * rowpainter.C:
3890         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3891         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3892
3893 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3894
3895         * Bidi.[Ch] (computeTables): const correctness
3896         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3897         fill_hfill, fill_label_hfill and x from Row
3898         * lyxtext.h: prepareToPrint returns a RowMetrics
3899         * rowPainter.C: adjust
3900         * text.C (prepareToPrint): use width, not textWidth. adjust
3901         (redoParagraphInternal, cursorX): adjust
3902         * text2.C (getColumnNearX): adjust
3903         (init): put a default value to the top LyXText::width
3904
3905 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3906
3907         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3908
3909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3910
3911         * lyxtext.h: add FontIterator class
3912
3913         * text.C (FontIterator, operator*, operator->, operator++): add
3914         (rowBreakPoint, setRowWidth): adjust (fixing a
3915         rebreaking bug)
3916
3917 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3918
3919         * BufferView_pimpl.C (workAreaDispatch): allow also
3920         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3921
3922 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3923
3924         * text.C (rowBreakPoint): fix a bug showing with very large insets
3925
3926 2004-02-25  André Pönitz  <poenitz@gmx.net>
3927
3928         * text3.C:
3929         * cursor.[Ch]: move some mathed specific code to mathed
3930
3931 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3932
3933         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3934         use_tempdir in preferences
3935         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3936         tempfile creation
3937         * lyx_main.C: ensure that tempdir is valid
3938         * lyxlex.h: correct typo
3939         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3940         * paragraph.[Ch] (isMultiLingual): make const
3941         * cursor.[Ch] (openable): make const
3942
3943 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3944
3945         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3946
3947 2004-02-20  André Pönitz  <poenitz@gmx.net>
3948
3949         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3950
3951         * cursor.[Ch]: prepare for localized getStatus()
3952
3953         * lyxtext.h:
3954         * tabular.C:
3955         * text.C:
3956         * text2.C:
3957         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3958
3959 2004-02-20  André Pönitz  <poenitz@gmx.net>
3960
3961         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3962
3963 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * text2.C (setCursorFromCoordinates): switch to absolute coords
3966         (cursorUp): adjust
3967         (cursorDown): adjust
3968         * text3.C (dispatch): adjust
3969
3970 2004-02-16  André Pönitz  <poenitz@gmx.net>
3971
3972         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3973           insets/ChangeLog)
3974
3975         * cursor_slice.[Ch]: remove unneeded acessor function
3976
3977         * lyxtext.h: rename rtl() to isRTL()
3978
3979         * rowpainter.C:
3980         * tabular.C:
3981         * text.C:
3982         * text2.C:
3983         * text3.C: adjust
3984
3985 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3986
3987         * rowpainter.C (paintSelection): coord fix
3988
3989 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3990
3991         * Spacing.C: compile fix
3992
3993 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3994
3995         * cursor.C (dispatch): restore current_ before returning
3996
3997 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3998
3999         * text2.C (cursorUp, cursorDown): fix coords
4000         (moveUp): fix crash
4001
4002 2004-02-12  André Pönitz  <poenitz@gmx.net>
4003
4004         * lyxtext.h:
4005         * text.C:
4006         * text2.C:
4007         * text3.C: add LCursor & parameter to most cursor movement functions
4008           remove usage of LyXText::cursorRow() and cursorPar()
4009
4010         * cursor.[Ch]: add textRow() needed members
4011
4012         * BufferView.C:
4013         * BufferView_pimpl.C:
4014         * paragraph.[Ch]:
4015         * BufferView.C:
4016         * BufferView_pimpl.C: adjust
4017
4018 2004-02-11  André Pönitz  <poenitz@gmx.net>
4019
4020         * lyxfunc.C:
4021         * BufferView.[Ch]:
4022         * BufferView_pimpl.C: shift undo/redo handling
4023
4024         * cursor.[Ch]: fix mathed crash
4025
4026         * lyxfind.C:
4027         * lyxtext.h: move selectionAsText to LCursor
4028
4029         * output_latex.C:
4030         * paragraph.C:
4031         * text.C:
4032         * text2.C:
4033         * text3.C: adjust
4034
4035         * rowpainter.C: fix excessive drawing
4036
4037 2004-02-06  André Pönitz  <poenitz@gmx.net>
4038
4039         * BufferView.[Ch]:
4040         * BufferView_pimpl.[Ch]:
4041         * text3.C: move some text specific LFUN handling
4042
4043 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4044
4045         * text3.C (checkInsetHit): adjust coords
4046         * text2.C (getColumnNearX): adjust coords
4047         (edit): adjust coords
4048         * text.C (getRowNearY): add two asserts
4049
4050 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4051
4052         * converter.C:
4053         * format.C: add using std::distance to compile on gcc 2.95/stlport
4054
4055 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4056
4057         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4058
4059 2004-02-04  André Pönitz  <poenitz@gmx.net>
4060
4061         * BufferView.[Ch] (insertInset):
4062         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4063
4064         * text2.C:
4065         * text3.C: adjust
4066
4067 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4068
4069         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4070         on the default clause of the switch
4071         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4072         wasn't catched by LCursor::dispatch
4073
4074 2004-02-03  André Pönitz  <poenitz@gmx.net>
4075
4076         * BufferView.C:
4077         * cursor.[Ch]: some additional asserts
4078
4079         * undo.[Ch]: remove LyXText dependency in interface
4080
4081         * lyxfunc.C: adjust
4082
4083         * lyxtext.h (firstPar, lastPar): remove dead functions
4084
4085         * text.C:
4086         * text2.C:
4087         * text3.C:
4088         * paragraph.[Ch]: adjust
4089
4090 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4091
4092         * lyxfind.C (find): fix argument order in call to ::find
4093
4094 2004-02-02  André Pönitz  <poenitz@gmx.net>
4095
4096         * cursor.[Ch]: remove direct access to anchor
4097
4098         * text.C: remove findText() hack
4099
4100 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4101
4102         * iterators.[Ch] (lockPath): remove in favour of...
4103         * BufferView.[Ch] (setCursor): this addition
4104         * BufferView.C (putSelectionAt): adjust
4105         * undo.C (performUndoOrRedo): adjust
4106         * lyxfunc.C (dispatch): adjust
4107
4108 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4109
4110         * iterators.C (lockPath): add a missing slice
4111         * undo.C (performUndoOrRedo): remove redundant positioning code
4112
4113 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4114
4115         * vc-backend.C (scanMaster): ";" -> ';'
4116
4117 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4118
4119         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4120         std::binary_function
4121
4122         * lyxtextclass.C (compare_name): rename to...
4123         (LayoutNamesEqual): ...this
4124
4125         * lyxlex_pimpl.C (compare_tags): inherit from
4126         std::binary_function, put back into anon namespace
4127
4128         * lyxfind.C (MatchString): inherig from std::binary_function
4129         (findChange): use empty() istead of !size()
4130
4131         * format.C (FormatNamesEqual): new functor
4132         (getFormat): use it
4133         (getNumber): use it
4134         (add): use it
4135         (erase): use it
4136         (setViewer): use it
4137
4138         * converter.C (compare_Converter): rename to...
4139         (ConverterEqual): ...this, and fixup a bit.
4140         (getConverter): use it, and make function const
4141         (getNumber): use it, and make function const
4142         (add): use it
4143         (erase): use it:
4144
4145         * bufferlist.C: add using boost::bind
4146
4147         * MenuBackend.C (MenuNamesEqual): new functor
4148         (hasMenu): use it, and make function const
4149         (hasSubmenu): use nested bind to get rid of compare_memfun.
4150
4151 2004-01-30  André Pönitz  <poenitz@gmx.net>
4152
4153         * BufferView_pimpl.C:
4154         * cursor.C:
4155         * cursor.h:
4156         * cursor_slice.[Ch]:
4157         * lyxfunc.C:
4158         * lyxtext.h:
4159         * paragraph_funcs.C:
4160         * paragraph_funcs.h:
4161         * rowpainter.C:
4162         * text.C:
4163         * text2.C:
4164         * text3.C: move some of the edit(x,y) handling to the insets
4165         some coordinate changes.
4166
4167 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * text.C: add using statements for std::advance and std::distance
4170
4171         * paragraph.C: add using statement for std::distance
4172
4173         * lyxfind.C: add using statement for std::advance
4174
4175         * cursor.C (region): remove std:: from swap
4176         (openable): use nucleus in stead of operator->
4177
4178         * BufferView.C: add using statements for std::distance and std::swap
4179
4180 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4181
4182         * iterators.C: Remove the pimple, move the needed structures to
4183         the header file. Create accessor for the positions stack.
4184         (asPosIterator): remove function
4185
4186         * PosIterator.C (PosIterator): move constructors to top of file
4187         (PosIterator): reimplement the constructor taking a ParIterator in
4188         terms of setFrom.
4189         (setFrom): new function
4190         (operator!=): inline it
4191
4192 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * lyxfind.C (replaceAll): use std::advance
4195
4196         * iterators.h: inherit from std::iterator.
4197
4198         * PosIterator.C (advance, distance): remove
4199         * PosIterator.h: interit from std::iterator.
4200
4201 2004-01-26  André Pönitz  <poenitz@gmx.net>
4202
4203         * BufferView.[Ch]:
4204         * BufferView_pimpl.[Ch]:
4205         * InsetList.[Ch]:
4206         * PosIterator.[Ch]:
4207         * buffer.h:
4208         * bufferview_funcs.C:
4209         * cursor.[Ch]:
4210         * cursor_slice.h:
4211         * factory.[Ch]:
4212         * iterators.[Ch]:
4213         * lyxfind.C:
4214         * lyxfunc.C:
4215         * lyxtext.h:
4216         * output_docbook.C:
4217         * output_latex.C:
4218         * output_linuxdoc.C:
4219         * output_plaintext.C:
4220         * paragraph.[Ch]:
4221         * paragraph_funcs.[Ch]:
4222         * paragraph_pimpl.[Ch]:
4223         * rowpainter.C:
4224         * tabular.C:
4225         * tabular.h:
4226         * text.C:
4227         * text2.C:
4228         * text3.C: more IU:  dumps most of the rest of the mathcursor
4229     implementation into cursor.[Ch]; "globalize" a bit of it.
4230
4231 2004-01-25  Angus Leeming  <leeming@lyx.org>
4232
4233         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4234
4235 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4236
4237         * LaTeXFeatures.h: add nice_ and nice() const
4238         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4239
4240 2004-01-20  André Pönitz  <poenitz@gmx.net>
4241
4242         * BufferView.[Ch]:
4243         * BufferView_pimpl.C:
4244         * PosIterator.C:
4245         * bufferview_funcs.C:
4246         * cursor.[Ch]:
4247         * cursor_slice.[Ch]:
4248         * factory.C:
4249         * iterators.C:
4250         * lyx_cb.C:
4251         * lyxfind.C:
4252         * lyxfunc.C:
4253         * lyxtext.h:
4254         * rowpainter.C:
4255         * text.C:
4256         * text2.C:
4257         * text3.C:
4258         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4259           LCursor and mathcursor parts to LCursor and InsetBase.
4260
4261 2004-01-15  André Pönitz  <poenitz@gmx.net>
4262
4263         * cursor_slice.[Ch]: add a few covienience functions
4264
4265         * funcrequest.[Ch]: remove BufferView * member
4266
4267         * BufferView_pimpl.C:
4268         * cursor.C:
4269         * factory.[Ch]:
4270         * lyxfind.[Ch]:
4271         * lyxfunc.C:
4272         * lyxtext.h:
4273         * text3.C:
4274         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4275
4276 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4277
4278         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4279         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4280
4281 2004-01-13  André Pönitz  <poenitz@gmx.net>
4282
4283         * textcursor.[Ch]:
4284         * lyxtext.h: hide cursor and selection anchor behind accessor function
4285
4286         * BufferView.C:
4287         * BufferView_pimpl.[Ch]:
4288         * PosIterator.C:
4289         * bufferview_funcs.C:
4290         * cursor.h:
4291         * lyxfind.C:
4292         * lyxfunc.C:
4293         * text.C:
4294         * text2.C:
4295         * text3.C:
4296         * undo.C: adjust
4297
4298         * cursor.h:
4299         * cursor_slice.[Ch]: some integer type changes for inset unification
4300
4301         * lyxcursor.[hC]: remove, it's CursorSlice now.
4302
4303         * Makefile.am:
4304         * BufferView_pimpl.[Ch]:
4305         * bufferview_funcs.C:
4306         * cursor_slice.C:
4307         * lyxtext.h:
4308         * text.C:
4309         * text2.C:
4310         * text3.C:
4311         * textcursor.[Ch]: adjust
4312
4313 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4314
4315         * text2.C (undoSpan): add and use
4316         * text.C (breakParagraph): use undoSpan (fix bug 578)
4317         * lyxtext.h: adjust
4318
4319 2004-01-08  Angus Leeming  <leeming@lyx.org>
4320
4321         * BufferView_pimpl.C (MenuInsertLyXFile):
4322         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4323         * lyxfunc.C (menuNew, open, doImport):
4324         FileFilterList change to the FileDialog open and save functions.
4325
4326 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * ShareContainer.h: make isEqual and isUnique adaptable
4329
4330         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4331
4332 2004-01-07  Angus Leeming  <leeming@lyx.org>
4333
4334         * LyXAction.C:
4335         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4336
4337         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4338
4339         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4340         functions replacing find, replace and replaceAll.
4341
4342         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4343         LFUN_WORDFIND(FORWARD|BACKWARD).
4344
4345 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4346
4347         * text.C (breakParagraph): remove an outdated #warning
4348
4349 2004-01-07  André Pönitz  <poenitz@gmx.net>
4350
4351         * lyxfind.C: somewhat clearer logic
4352
4353         * text.C: prevent crash in cursorX on unitialized row cache
4354
4355 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4356
4357         * lyxcursor.[Ch] (operator>): add
4358         * textcursor.C (selStart, selEnd): use std::min and std::max
4359
4360 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4361
4362         * Chktex.C: include boost/format.hpp
4363
4364 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * InsetList.C: replace functor MathcIt with adaptable functor
4367         InsetTablePosLess
4368         (insetIterator): modify accordingly
4369
4370         * BranchList.h: move the BranchNamesEqual functor here from...
4371         * BranchList.C: ... to here
4372
4373         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4374         SameName and match.
4375         (add): replace a finding loop with std::find_if.
4376
4377 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4378
4379         * output_docbook.C: moving LatexParam functionality into
4380         .layout files
4381
4382 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4383
4384         * buffer.C: increment format to 229.
4385
4386 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4387
4388         * LaTeXFeatures.C:
4389         * lyx_sty.[Ch]: remove minipageindent_def
4390
4391         * LyXAction.C:
4392         * factory.C:
4393         * lfuns.h:
4394         * lyxfunc.C:
4395         * text3.C: remove LFUN_INSET_MINIPAGE
4396
4397 2003-12-28  Angus Leeming  <leeming@lyx.org>
4398
4399         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4400
4401 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4402
4403         * text2.C (setParagraph): fix off-by-one crash
4404
4405 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4406
4407         * output_docbook.C: header stuff for AGU
4408
4409 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4410
4411         * text2.C (redoCursor): remove
4412         * text.C:
4413         * text3.C:
4414         * BufferView_pimpl.C: remove calls to redoCursor and
4415         setCursor(cursor.par(), cursor.pos()) all around
4416
4417 2003-12-15  Angus Leeming  <leeming@lyx.org>
4418
4419         * buffer.C: up the format to 228.
4420
4421 2003-12-15  André Pönitz  <poenitz@gmx.net>
4422
4423         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4424         slices
4425
4426         * Makefile.am:
4427
4428         * BufferView_pimpl.C:
4429         * cursor.[Ch]:
4430         * lyxcursor.[Ch]:
4431         * rowpainter.[Ch]:
4432         * lyxtext.h:
4433         * text.C:
4434         * text2.C:
4435         * text3.C: adjust
4436
4437 2003-12-15  Angus Leeming  <leeming@lyx.org>
4438
4439         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4440         than getFromGUIName to manipulate the color.
4441
4442 2003-12-14  Angus Leeming  <leeming@lyx.org>
4443
4444         * BranchList.[Ch]: minimize the API.
4445         (Branch::getBranch, getColor): now return a 'const &'.
4446         (Branch::setSelected) now returns a bool set to true if the
4447         selection status changes.
4448         (BranchList::clear, size, getColor, setColor, setSelected,
4449         allBranches, allSelected, separator): removed.
4450         (BranchList::find): new functions, returning the Branch with
4451         the given name.
4452         (BranchList::add, remove): return a bool indicating that
4453         the operation was successful.
4454
4455         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4456         new InsetBranch::isBranchSlected member function.
4457
4458         * LColor.[Ch]: mimimize the API.
4459         (fill): renamed as addColor and made private.
4460         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4461         versions of these functions taking a string arg have been removed.
4462
4463         * bufferparams.C (readToken):
4464         * lyxfunc.C (dispatch):
4465         * lyxrc.C (read): changes due to the altered BranchList and
4466         LColor APIs.
4467
4468         * factory.C (createInset, readInset): changes due to altered
4469         InsetBranch c-tor.
4470
4471 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4472
4473         * factory.C:
4474         * lyxfunc.C: remove insetminipage. "minipage-insert"
4475         now produces a frameless minipage box inset.
4476
4477 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4478
4479         * textcursor.[Ch] (selStart,selEnd): add new methods
4480         remove selection::start, end, use LyXCursor::operator<
4481         * lyxcursor.[Ch] (operator<): add
4482         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4483         * BufferView.[Ch] (unsetXSel): add
4484         * text2.C (clearSelection): use unsetXSel,adjust
4485         * text.C: adjust
4486         * text3.C: adjust
4487         * rowpainter.C: adjust
4488         * bufferview_funcs.C (put_selection_at): adjust
4489
4490 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4491
4492         * BufferView_pimpl.C: small coord. correction
4493
4494 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4495
4496         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4497         dragging over the splash screen.
4498
4499 2003-12-11  Angus Leeming  <leeming@lyx.org>
4500
4501         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4502         as it is now handled in LyXText::dispatch.
4503
4504         * text3.C (doInsertInset): remove a level of nesting.
4505
4506 2003-12-11  Angus Leeming  <leeming@lyx.org>
4507
4508         * factory.C (createInset): changes due to the changed interface to
4509         InsetCommandMailer::string2params.
4510
4511 2003-12-10  Angus Leeming  <leeming@lyx.org>
4512
4513         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4514         'dialog-show-new-inset <inset name>'
4515
4516 2003-12-10  Angus Leeming  <leeming@lyx.org>
4517
4518         * buffer.C: up the format to 227.
4519
4520         * factory.C: the box inset is now identified simply by 'Box'.
4521
4522 2003-12-10  Angus Leeming  <leeming@lyx.org>
4523
4524         * buffer.C: up the format to 226.
4525
4526         * factory.C: the note inset is now identified simply by 'Note'.
4527
4528 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4529
4530         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4531         when a pit is enough. Standarize a couple of loops.
4532
4533 2003-12-05  Angus Leeming  <leeming@lyx.org>
4534
4535         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4536         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4537         data to the re-worked "log" dialog.
4538
4539 2003-12-03  André Pönitz  <poenitz@gmx.net>
4540
4541         * PosIterator.C:
4542         * iterators.C:
4543         * lyxtext.h:
4544         * output_latex.C:
4545         * paragraph_funcs.C:
4546         * text.C:
4547         * text2.C: use Inset::getText instead of Inset::getParagraph
4548
4549 2003-12-03  André Pönitz  <poenitz@gmx.net>
4550
4551         * buffer.[Ch]:
4552         * lyxtext.h:
4553         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4554         InsetText::read() as LyXText::read()
4555
4556 2003-12-02  Angus Leeming  <leeming@lyx.org>
4557
4558         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4559         type. Add a comment in the implementation that the function uses
4560         the stream's bad() function rather than fail() as the std::streams
4561         would do.
4562
4563 2003-12-02  André Pönitz  <poenitz@gmx.net>
4564
4565         * lyxlex.[Ch]: make interface more similar to std::stream
4566
4567         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4568
4569 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4570
4571         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4572
4573 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4574
4575         * vspace.[Ch]: remove VSpace::NONE
4576
4577 2003-12-01  André Pönitz  <poenitz@gmx.net>
4578
4579         * buffer.[Ch]:
4580         * lyxtext.h: move ParagraphList member to LyXText
4581         rename LyXText::ownerParagraphs to LyXText::paragraph
4582
4583         * CutAndPaste.C:
4584         * bufferview_funcs.C:
4585         * iterators.[Ch]:
4586         * lyx_cb.C:
4587         * paragraph.C:
4588         * rowpainter.C:
4589         * tabular.C:
4590         * text.C:
4591         * text2.C:
4592         * text3.C: adjust
4593
4594         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4595
4596         * undo.C: fix cursor positioning
4597
4598 2003-12-01  John Levon  <levon@movementarian.org>
4599
4600         * BufferView_pimpl.C: fix a crash on exit with
4601         a buffer open
4602
4603 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4604
4605         * BranchList.C: fix setSelected() method.
4606
4607 2003-11-28  André Pönitz  <poenitz@gmx.net>
4608
4609         * ParagraphParameters.[Ch]:
4610         * ParameterStruct.h: remove space above/below from Paragraph to
4611          InsetVSpace
4612
4613         * BufferView_pimpl.C:
4614         * factory.C:
4615         * lyxfunc.C:
4616         * lyxtext.h:
4617         * output_latex.C:
4618         * paragraph.C:
4619         * paragraph_funcs.C:
4620         * rowpainter.[Ch]:
4621         * text.C:
4622         * text2.C:
4623         * text3.C: adjust
4624
4625 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4626
4627         * factory.C: Syntax change for CharStyles
4628
4629 2003-11-28  André Pönitz  <poenitz@gmx.net>
4630
4631         * BufferView.[Ch]:
4632         * BufferView.[Ch]:
4633         * buffer.[Ch]:
4634         * buffer.[Ch]: move LyXText member
4635
4636 2003-11-28  André Pönitz  <poenitz@gmx.net>
4637
4638         * BufferView.[Ch]: make LyXText * text a private member
4639
4640         * BufferView_pimpl.C:
4641         * cursor.C:
4642         * iterators.C:
4643         * lyx_cb.C:
4644         * lyxfind.C:
4645         * lyxtext.h:
4646         * rowpainter.[Ch]:
4647         * text.C:
4648         * text2.C:
4649         * undo.C: adjust
4650
4651         * output_plaintext.C: cleanup
4652
4653 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4654
4655         * buffer.C:
4656         * lyxtextclass.[Ch]: parametrize SGML document header
4657
4658 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4659
4660         * converter.[Ch]:
4661         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4662         getFlavor().
4663
4664 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4665
4666         * text2.C (setFont): rework using PosIterator (no more recursive)
4667         (setCharFont): no more needed
4668         (setLayout): no more selection cursors fiddling (done by redoCursor)
4669         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4670         destroy remaining ones)
4671
4672 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4673
4674         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4675         * lyxtext.h: ditto
4676         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4677         selection cursors
4678         * lyxfunc.C: adjust
4679         * text3.C: adjust + re-allow multi par depth changes
4680         * textcursor.C: simplify a bit
4681
4682 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4683
4684         * src/buffer.C:
4685         * src/lyxlayout.C:
4686         * src/lyxlayout.h:
4687         * src/lyxtext.h:
4688         * src/output_docbook.C:
4689         * src/output_latex.C:
4690         * src/paragraph.C:
4691         * src/paragraph.h:
4692         * src/sgml.C:
4693         * src/sgml.h:
4694         * src/text2.C: Introducing a number of tags parametrizing various
4695         XML formats that we may want to support
4696
4697 2003-11-25  André Pönitz  <poenitz@gmx.net>
4698
4699         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4700
4701         * lyxtext.h (leftMargin/rightMargin): simplify interface
4702
4703         * rowpainter.C:
4704         * text.C:
4705         * text2.C:
4706         * text3.C: adjust
4707
4708 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4709
4710         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4711         master file to any child files. Fixes bug 546.
4712
4713 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4714
4715         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4716
4717 2003-11-24  André Pönitz  <poenitz@gmx.net>
4718
4719         * rowpainter.C: simplification
4720
4721         * text2.C (updateCounters): remove call to redoParagraph on
4722         changed labels as this is far too expensive.
4723
4724 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4725
4726         * converter.C (convert): fix a crash: this function gets
4727         called with buffer == 0 from importer code.
4728
4729 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4730
4731         * text3.C (cursorPrevious): make sure that we do not compare
4732         iterators form different containers.
4733         (cursorNext): ditto
4734
4735         * rowpainter.C (paintSelection): make sure that we do not compare
4736         iterators from different containers.
4737
4738         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4739         iterators from different ParagraphList containers.
4740         [NEXT] ditto
4741
4742         * text2.C (LyXText): change order of initialization slightly
4743         (operator=): new function. copy all variables except cache_par_
4744         (moveUp): make sure that we do not compare iterators from
4745         different ParagraphList constainers.
4746         (moveDown): ditto
4747
4748         * text.C (firstPar): new function
4749         (lastPar): new function
4750         (endPar): new function
4751
4752         * lyxtext.h: move things around and group public functions, public
4753         variables, private functions, private variables
4754
4755 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4756
4757         * factory.C: change call to InsetERT constructor to avoid
4758         additional invocation of method status
4759         * text2.C (toggleInset): remove redundant update() call
4760         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4761         instead of a Bufferview pointer
4762
4763 2003-11-21  André Pönitz  <poenitz@gmx.net>
4764
4765         * rowpainter.C: simplification
4766
4767 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4768
4769         * text3.C (dispatch): make possible to extend a word/row selection
4770         with the mouse
4771
4772 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4773
4774         * lyxtext.h: x0_,y0_ -> xo_,yo_
4775         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4776         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4777         * rowpainter.C (paintRows): paint full paragraphs
4778
4779 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4780
4781         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4782         screen coordinates)
4783
4784 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4785
4786         * lyxtext.h: add x0_, y0_
4787         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4788         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4789
4790 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4791
4792         * text2.C (setCursorIntern): move the x_target update here *
4793         * text3.C: change some bv() to true/false in calls to
4794         cursorUp/Down/Right/Left
4795         * cursor.C: use helper function.
4796
4797 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4798
4799         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4800         * paragraph_funcs.[Ch]: correct comment
4801         * rowpainter.C: do not paint selections away from bv->cursor()
4802         Fix a long standing selection painting bug.
4803         * text3.C: generalize mouse-selection code to LyXTexts other that
4804         top one
4805         * textcursor.C: do not use y coords if we can use par offsets
4806
4807 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4808
4809         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4810         cursor position after e.g. inset insert)
4811
4812 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4813
4814         * lyxfind.C (replace): adjust to locking removal + some
4815         code simplification
4816
4817 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4818
4819         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4820         of the path
4821
4822 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4823
4824         * lyxlayout.[Ch]:
4825         * output_docbook.C: XML sanitation: new layout
4826         parameters InnerTag and CommandDepth
4827
4828 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4829
4830         * BufferView_pimpl.C:
4831         * factory.C:
4832         * text3.C: Fix the insertion and modification of button-style
4833         insets
4834
4835 2003-11-13  André Pönitz  <poenitz@gmx.net>
4836
4837         * InsetList.[Ch]: remove deleteLyXText
4838
4839         * paragraph.[Ch]: cache beginOfBody position
4840
4841         * Bidi.C:
4842         * text.C:
4843         * text2.C:
4844         * text3.C: remove superfluous update() calls
4845
4846         * vspace.C: cleanup
4847
4848 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4849
4850         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4851         * BufferView.C (fitLockedInsetCursor): remove
4852         * cursor.[Ch] (getDim): add
4853         * text.C (getRowNearY): add faster version
4854         * text3.C: remove some update calls
4855
4856 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4857
4858         * LaTeXFeatures.C:
4859         * LyXAction.C:
4860         * MenuBackend.C:
4861         * MenuBackend.h:
4862         * dispatchresult.h:
4863         * factory.C:
4864         * lfuns.h:
4865         * lyxfunc.C:
4866         * lyxtextclass.C:
4867         * lyxtextclass.h:
4868         * text3.C: The Character Style /XML short element patch.
4869
4870 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4871
4872         * text3.C:
4873         * factory.C: Small step to solving 'unable to insert some insets'
4874         problem
4875
4876 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4877
4878         * cursor.[Ch] (updatePos): new function for updating the y
4879         position of the tip inset
4880         * bufferview_funcs.C (put_selection_at):
4881         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4882
4883 2003-11-11  André Pönitz  <poenitz@gmx.net>
4884
4885         * text.C: remove big comment on invalid Paragraph pointers as it is
4886         not valid anymore
4887
4888 2003-11-11  André Pönitz  <poenitz@gmx.net>
4889
4890         * text_funcs.[Ch]: merge with ...
4891
4892         * text.C: ... this
4893
4894         * lyxtext.h:
4895         * text2.C:
4896         * text3.C: adjust
4897
4898         * Makefile.am: remove text_funcs.[Ch]
4899
4900 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4901
4902         * cursor.C (getPos): return absolute cached y coord
4903
4904         * BufferView_pimpl.C (fitCursor): new simplistic code
4905         (workAreaDispatch): add a fitCursor call
4906
4907 2003-11-10  André Pönitz  <poenitz@gmx.net>
4908
4909         * BufferView.[Ch]:
4910         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4911
4912 2003-11-10  André Pönitz  <poenitz@gmx.net>
4913
4914         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4915         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4916         indicate that the cursor needs to leave an inset
4917
4918         * lyxtext.h: remove inset locking
4919
4920         * cursor.[Ch]: re-implement functionality provided by inset locking
4921
4922         * BufferView.[Ch]:
4923         * BufferView_pimpl.[Ch]:
4924         * LyXAction.C:
4925         * bufferview_funcs.[Ch]:
4926         * factory.C:
4927         * funcrequest.[Ch]:
4928         * iterators.C:
4929         * lyx_cb.C:
4930         * lyxfind.C:
4931         * lyxfunc.C:
4932         * text.C:
4933         * text2.C:
4934         * text3.C:
4935         * undo.C: adjust
4936
4937 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4938
4939         * PosIterator.[Ch]: replace the stack with a vector, add inset
4940         accesor
4941         * iterators.[C]: adjust
4942
4943 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4946         replaced
4947         * paragraph_funcs.C (readParToken): put the correct id in the
4948         error item, not the id of the top paragraph
4949
4950 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4953         * bufferview_funcs.C (put_selection_at): use the above
4954
4955 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4958
4959 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4960
4961         * output_linuxdoc.h:
4962         * output_plaintext.h:
4963         * output.h:
4964         * output_docbook.h: add #include statements
4965
4966 2003-11-05  José Matos  <jamatos@lyx.org>
4967
4968         * output_docbook.[Ch]:
4969         * output_latex.[Ch]:
4970         * output_linuxdoc.[Ch]:
4971         * output_plaintext.[Ch]: New files for output formats.
4972         * output.[Ch]: New file for helper functions.
4973
4974         * buffer.[Ch]:
4975         * paragraph_funcs.[Ch]: output functions moved to new files.
4976
4977         * outputparams.h: rename of latexrunparams.h
4978
4979         * LaTeX.[Ch]:
4980         * buffer.[Ch]:
4981         * bufferlist.[Ch]:
4982         * converter.[Ch]:
4983         * exporter.C:
4984         * paragraph.[Ch]:
4985         * paragraph_funcs.[Ch]:
4986         * paragraph_pimpl.[Ch]:
4987         * tabular.[Ch]: rename ascii to plaintext
4988         and LatexRunParams to OutputParams.
4989
4990 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4991
4992         * iterators.[Ch] (text): require bv argument
4993         * undo.C (recordUndo):
4994         * lyxfunc.C (dispatch):
4995         * bufferview_funcs.C (put_selection_at): adjust
4996
4997 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4998
4999         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5000
5001 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5002
5003         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5004         nestings
5005
5006 2003-11-04  André Pönitz  <poenitz@gmx.net>
5007
5008         * cursor.[Ch]: restructure
5009
5010         * BufferView.[Ch]:
5011         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5012
5013         * iterators.[Ch] (asCursor): remove
5014
5015         * lfuns.h: remove LFUN_INSET_EDIT
5016
5017         * lyxfunc.C:
5018         * tabular.C:
5019         * text.C:
5020         * text2.C:
5021         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5022
5023 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * lyxfind.[Ch]: complete overhaul
5026         * BufferView_pimpl.C:
5027         * lyxfunc.C: adjust
5028         * paragraph.[Ch] (insert): add
5029
5030 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * BufferView.[Ch]:
5033         * lyxtext.h:
5034         * text.C: remove dead spellcheck code
5035
5036 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * dispatchresult.h: add a val setter
5039
5040         * cursor.C (dispatch): use a tempvar for data_[i]
5041
5042 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * PosIterator.[Ch]: compile fix
5045
5046 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * text.C (cursorPar): deactivate the cursor cache
5049
5050 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5053
5054 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * text3.C (dispatch): adjust for new DisptchResult semantics.
5057
5058         * lyxfunc.C (dispatch): handle update when return from
5059         Cursor::dispatch, adjust for new DispatchResult semantics.
5060
5061         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5062         DispatchResult(true) mean to not update. Add class functions for
5063         setting dispatched and update, as well as reading.
5064
5065         * cursor.C (dispatch): don't handle update here
5066
5067 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5068
5069         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5070         * trans_mgr.C: adjust
5071
5072         * paragraph_funcs.C (readParToken): exception safety
5073
5074         * lyxvc.h: store the vcs pointer in a scoped_ptr
5075         * lyxvc.C: adjust
5076
5077         * lyxsocket.C (serverCallback): exception safety
5078
5079         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5080
5081         * ispell.C (clone): make it return a auto_ptr
5082
5083         * factory.C (createInset): exception safety
5084         (readInset): exception safety
5085
5086         * bufferlist.C (newBuffer): exception safety
5087
5088         * Thesaurus.C (Thesaurus): use initialization for aik_
5089
5090         * MenuBackend.C (expandToc): exception safety.
5091
5092 2003-11-03  André Pönitz  <poenitz@gmx.net>
5093
5094         * buffer.C:
5095         * buffer.h:
5096         * bufferview_funcs.C: remove getInsetFromId()
5097
5098         * lyxcursor.[Ch]:
5099         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5100
5101         * lyxfunc.C:
5102         * text2.C:
5103         * text3.C: adjust
5104
5105 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * PosIterator.C (distance, advance): new
5108         * bufferview_funcs.[Ch] (put_selection_at): new
5109         * iterators.[Ch] (lockPath): new
5110
5111 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * iterators.[Ch] (asPosIterator): added
5114         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5115         * PosIterator.[Ch]: added
5116
5117 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5118
5119         * text3.C:
5120         * lyxfunc.C:
5121         * cursor.C (dispatch):
5122         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5123
5124         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5125         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5126         contructor, add a class function dispatched. Remove operator>=
5127
5128 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * debug.C: only use the default constructor for debugstream
5131         (lyxerr) here.
5132
5133         * main.C (main): include debug.h and setup the lyxerr streambuf
5134         here.
5135
5136 2003-10-31  José Matos  <jamatos@lyx.org>
5137
5138         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5139
5140         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5141         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5142         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5143         * paragraph_pimpl.C (simpleTeXSpecialC):
5144         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5145         add LatexRunParams argument.
5146
5147         * exporter.C (Export): change call accordingly.
5148
5149         * latexrunparams.h: add new member to take care of the other backends.
5150 2003-10-30  José Matos  <jamatos@lyx.org>
5151
5152         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5153         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5154         factorise code for paragraph output.
5155         * buffer.[Ch]:
5156         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5157         move functions.
5158
5159 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5160
5161         * text3.C (dispatch):
5162         * lyxfunc.C (dispatch):
5163         * cursor.C (dispatch):
5164         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5165
5166         * dispatchresult.h: make the dispatch_result_t ctor explicit
5167
5168 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5169
5170         * sgml.[Ch]:
5171         * buffer.C: small refactoring of docbook stuff
5172
5173 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5176         meaning.
5177
5178 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5181         operator dispatch_result_t, and operators for == != and >=
5182
5183         * cursor.C (dispatch): adjust for operator dispatch_result_t
5184         removal. comment out call to update
5185
5186         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5187
5188 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5189
5190         * text3.C:
5191         * text2.C:
5192         * text.C:
5193         * lyxtext.h:
5194         * lyxfunc.C:
5195         * cursor.C:
5196         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5197         (dispatch):
5198
5199         * dispatchresult.h: new file, DispatchResult broken out of
5200         insets/insetbase.h
5201
5202         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5203
5204 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5205
5206         * text.C (rowBreakPoint): put a hack inside #if 0
5207
5208 2003-10-28  André Pönitz  <poenitz@gmx.net>
5209
5210         * lyxtext.h:
5211         * metricsinfo.C:
5212         * paragraph_funcs.C:
5213         * rowpainter.C:
5214         * text.C:
5215         * text2.C: general cleanup (lots of small stuff)
5216
5217 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5218
5219         * text2.C (cursorEnd): simple fix to the "end key goes to one
5220         before the end on last row" bug
5221
5222 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5223
5224         * text.C (backspace): fix the "zombie characters"
5225
5226 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5227
5228         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5229
5230 2003-10-27  André Pönitz  <poenitz@gmx.net>
5231
5232         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5233
5234         * factory.C: handle new InsetPagebreak, InsetLine
5235
5236         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5237         and move handling into new InsetPagebreak, InsetLine
5238
5239         * BufferView_pimpl.C:
5240         * LyXAction.C:
5241         * ParagraphParameters.C:
5242         * ParameterStruct.h:
5243         * lyxfunc.C:
5244         * lyxtext.h:
5245         * paragraph.C:
5246         * paragraph.h:
5247         * paragraph_funcs.C:
5248         * paragraph_pimpl.C:
5249         * rowpainter.C:
5250         * text.C:
5251         * text2.C:
5252         * text3.C: adjust
5253
5254 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5255
5256         * text.C:
5257         * lyxrow_funcs.[Ch]:
5258         * Bidi.C:
5259         * paragraph.C:
5260         * lyxtext.h:
5261         * rowpainter.C:
5262         * text2.C:
5263         * text3.C: remove lastPos uses in favour of Row::endpos
5264
5265 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5266
5267         * undo.C (performUndoOrRedo): fix two crashes by setting a
5268         cursor by hand and reordering some calls. Use bv->lockInset instead
5269         of inset->edit because the latter loses cursor information
5270
5271 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5272
5273         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5274         by Martin
5275         (rowBreakPoint): fix width. change point to point + 1.
5276         Add a missing check.
5277
5278 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5279
5280         * MenuBackend.C:
5281         * lyxfunc.C: fix (at least partly) the problems
5282         with the Nav menu and headers inside branch insets
5283         reported by Kayvan
5284
5285 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5286
5287         * paragraph.C (getChar): add strong asserts
5288
5289         * lyxrow_funcs.C (lastPos): remove hideous hack
5290
5291         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5292         (fill): adjust to that (avoid an infinite loop)
5293
5294 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5295
5296         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5297
5298 2003-10-23  André Pönitz  <poenitz@gmx.net>
5299
5300         * RowList_fwd.h: change list<> to vector<> to gain speed
5301         after suggestion from Alfredo
5302
5303 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5304
5305         * lyxtext.h: move the bidi stuff from here...
5306         * text.C: and here
5307         * text2.C: and here
5308         * Bidi.[Ch]: ... to here
5309
5310 2003-10-23  André Pönitz  <poenitz@gmx.net>
5311
5312         * lyxtext.h:
5313         * text.C (isLastRow, isFirstRow): new functions
5314
5315         * paragraph.h: new width cache member
5316
5317         * rowpainter.C: replace RowList::iterator with Row & where possible
5318
5319         * lyxfunc.C: replace several view()->text with a single call
5320
5321         * toc.C: fix 'unused' warning
5322
5323 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5324
5325         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5326         when woring with stream::pos_type
5327         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5328
5329 2003-10-22  André Pönitz  <poenitz@gmx.net>
5330
5331         * lyxtext.h:
5332         * text.C: use Row & instead of RowList::iterator
5333
5334         * lyxrow.h: rename end() to endpos()
5335
5336         * rowpainter.C:
5337         * text.C:
5338         * text2.C: adjust
5339
5340 2003-10-22  Angus Leeming  <leeming@lyx.org>
5341
5342         * buffer.[Ch] (fully_loaded): new member function, returning true
5343         only when the file has been loaded fully.
5344         Used to prevent the premature generation of previews and by the
5345         citation inset to prevent computation of the natbib-style label.
5346
5347         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5348         templates are all set up.
5349
5350         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5351
5352 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5353
5354         * text.C: fixed an "oops" in the "is a bit silly"
5355         bug fix
5356
5357 2003-10-21  André Pönitz  <poenitz@gmx.net>
5358
5359         * FuncStatus.[Ch]: small stuff, whitespace
5360
5361         * lyxfont.[Ch]: operator<<() for debug reasons
5362
5363         * lyxfunc.C:
5364         * lyxrow_funcs.C:
5365         * lyxtext.h: whitespace, spelling
5366
5367         * paragraph.C: naming of variables
5368
5369         * text.C:
5370         * text2.C: small stuff
5371
5372
5373 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5374
5375         * text.C: (1) finish off the inset display() work;
5376         (2) fix the "is a bit silly" bug (accessing char
5377         past end of par).
5378
5379 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5380
5381         * text.C: re-introduce display() for insets, fixing the
5382         various bugs (stretch of line above, math inset
5383         positioning, ...)
5384
5385 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5386
5387         * text.C (rightMargin): remove spurious semicolon
5388
5389         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5390         1415)
5391
5392 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5393
5394         * text3.C: fix one crash due to wrong cursor def
5395
5396 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * vc-backend.C (scanMaster): make the regex static
5399
5400         * LaTeX.C (scanAuxFile): make the regexs static
5401
5402         * text3.C (doInsertInset, dispatch, dispatch):
5403         * text2.C (cursorUp, cursorDown):
5404         * text.C (selectNextWordToSpellcheck):
5405         * BufferView_pimpl.C (dispatch):
5406         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5407
5408 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5409
5410         * lyxsocket.C: include <cerrno>
5411
5412 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * lyxfunc.C (dispatch): remove textcache stuff
5415
5416         * bufferlist.C (release): remove textcache stuff
5417         (closeAll): ditto
5418
5419         * TextCache.C: delete file
5420         * TextCache.h: delete file
5421
5422         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5423
5424         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5425         delete of the bv_->text.
5426         (resizeCurrentBuffer): remove texcache stuff
5427         (workAreaResize): ditto
5428
5429 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5430
5431         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5432         action.
5433
5434 2003-10-16  André Pönitz  <poenitz@gmx.net>
5435
5436         * lyxrow.[Ch]:
5437         * paragraph.h:
5438         * rowpainter.C:
5439         * text.C:
5440         * text2.C:
5441         * text3.C: speed up by storing y positions per paragraph plus per-row
5442         offset instead of having a 'full' y position in the row.
5443
5444 2003-10-15  André Pönitz  <poenitz@gmx.net>
5445
5446         * iterators.[Ch]:
5447         * iterators.[Ch]:
5448         * undo.[Ch]: make undo aware of inner insets
5449
5450 2003-10-14  Angus Leeming  <leeming@lyx.org>
5451
5452         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5453         static member functions LyX::ref() and LyX::cref.
5454         (lastfiles): new accessor functions for the new lastfiles_ member var.
5455         (addLyXView, views_): add a new LyXView to the list of views_.
5456         (updateInset): loop over all LyXViews to call their own updateInset
5457         member function, returning a pointer to the Buffer owning the inset.
5458
5459         * BufferView_pimpl.C (loadLyXFile):
5460         * MenuBackend.C (expandLastfiles):
5461         * bufferlist.C (MenuWrite, QuitLyX):
5462         lastfiles is no longer a global variable.
5463         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5464
5465         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5466         static function. Access through LyX::cref().emergencyCleanup().
5467
5468 2003-10-14  André Pönitz  <poenitz@gmx.net>
5469
5470         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5471
5472         * undo.[Ch]: restoring part of 'undo in insets'
5473
5474         * Makefile.am:
5475         * undo_funcs.[Ch]: merge with undo.[Ch]
5476
5477         * tabular.C: small cleansing stuff
5478
5479 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5480
5481         * paragraph_funcs.C (readParToken): report unknown insets as error
5482         boxes. Use the outer paragraph as location (also for unknown
5483         tokens).
5484
5485         * factory.C (readInset): do not abort on reading an unknown inset.
5486         Eat it and return 0.
5487
5488 2003-10-13  Angus Leeming  <leeming@lyx.org>
5489
5490         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5491
5492         * lyxrc.C: displayTranslator is now a function,
5493         declared in GraphicsTypes.h.
5494
5495 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5496
5497         * format.C: new placeholder $$a to pass the socket address.
5498
5499         * bufferlist.[Ch]: new function getBufferFromTmp.
5500
5501         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5502           files in the temporary dir.
5503
5504 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5505
5506         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5507
5508         * Makefile.am: add lyxsocket.[Ch].
5509
5510         * lyx_main.C (error_handler): handle SIGPIPE.
5511
5512 2003-10-13  André Pönitz  <poenitz@gmx.net>
5513
5514         * BufferView_pimpl.C:
5515         * lyxtext.h:
5516         * text.C:
5517         * text2.C:
5518         * text3.C:
5519         * undo_funcs.[Ch]: use paroffset_type instead of
5520           ParagraphList::iterators to prevent multiple conversion
5521           (and get a more robust interface)
5522
5523 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5524
5525         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5526         * lyxtext.h: ditto
5527         * text3.C (dispatch): ditto
5528
5529 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5532         move the onlyfile, use onlyfile instead of foundfile in a couple
5533         of places.
5534
5535         * DepTable.C (update): flush the error stream a bit more
5536
5537 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * lyxserver.C (callback): adjust
5540
5541         * lyxfunc.C (getStatus): add a missing brace in commented code
5542         (ensureBufferClean): reindent
5543         (dispatch): delete version taking a string
5544
5545 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * LaTeX.C (deplog): move found file handlig from here...
5548         (handleFoundFile): .. to new function here.
5549         (deplog): make sure to discover several files mentioned on the
5550         same log line.
5551
5552 2003-10-10  André Pönitz  <poenitz@gmx.net>
5553
5554         * lyxfunc.C:
5555         * lyxtext.h:
5556         * tabular.C:
5557         * text.C:
5558         * text2.C:
5559         * text3.C: fix some of the tabular crashes
5560
5561 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5562
5563         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5564
5565         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5566
5567 2003-10-09  André Pönitz  <poenitz@gmx.net>
5568
5569         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5570
5571         * BufferView.C:
5572         * BufferView_pimpl.C:
5573         * bufferview_funcs.C:
5574         * lyx_cb.C:
5575         * lyxcursor.C:
5576         * lyxfind.C:
5577         * lyxfunc.C:
5578         * lyxtext.h:
5579         * text.C:
5580         * text2.C:
5581         * text3.C:
5582         * text_funcs.[Ch]:
5583         * textcursor.[Ch]:
5584         * undo_funcs.C: adjust
5585
5586 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5587
5588         * text2.C (incrementItemDepth): new function, use a backtracking
5589         algorithm to discover the correct item depth.
5590         (resetEnumCounterIfNeeded): new function, use a backtracking
5591         algorithm to discover if counter reset is needed.
5592         (setCounter): use them. Simplify a bit. Add different labels for
5593         different item depths for itemize.
5594
5595         * paragraph.C (Paragraph): remove initialization of enumdepth
5596         (operator=): ditto
5597
5598         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5599         enumerate and itemize. Change the type of itemdepth to signed char.
5600
5601 2003-10-08  André Pönitz  <poenitz@gmx.net>
5602
5603         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5604           thing assignable.
5605         * text.C:
5606         * text2.C: adjust
5607
5608         * tabular.[Ch]: fix crash after 'row-insert'
5609
5610 2003-10-08  Angus Leeming  <leeming@lyx.org>
5611
5612         Fix doxygen warnings.
5613
5614         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5615         Remove CutAndPaste:: prefix from header file declaration.
5616
5617         * LColor.h (fill): remove LColor:: prefix from declaration.
5618
5619         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5620         use lyx::depth_type rather than Paragraph::depth_type so that
5621         header file and .C file match.
5622
5623         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5624
5625         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5626         * aspell.C: \file aspell_local.C -> \file aspell.C
5627         * gettext.C: \file gettext.C -> \file src/gettext.C
5628         * gettext.h: \file gettext.h -> \file src/gettext.h
5629         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5630         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5631         * text.C: \file text.C -> \file src/text.C
5632
5633         * toc.C: move comment so that doxygen is not confused.
5634
5635 2003-10-07  Angus Leeming  <leeming@lyx.org>
5636
5637         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5638
5639 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5640
5641         * aspell.C:
5642         * aspell_local.h: add forgotten std::string's.
5643
5644 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5645
5646         * LaTeXFeatures.C:
5647         * LyXAction.C:
5648         * factory.C:
5649         * lfuns.h:
5650         * lyxfunc.C:
5651         * text3.C: The Box patch. Fancybox support, minipage, parbox
5652
5653 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5654
5655         * CutAndPaste.h:
5656         * DepTable.h:
5657         * FloatList.h:
5658         * LaTeXFeatures.h:
5659         * ParagraphParameters.h:
5660         * TextCache.h:
5661         * Thesaurus.h:
5662         * bufferlist.h:
5663         * exporter.h:
5664         * importer.h:
5665         * lastfiles.h:
5666         * lyxfind.h:
5667         * lyxfont.h:
5668         * lyxlex.h:
5669         * lyxtextclasslist.h:
5670         * messages.h:
5671         * paragraph.h:
5672         * paragraph_pimpl.C:
5673         * textcursor.h: add <string> and other small fixes to make Lars'
5674         std::string patch compile with STLport.
5675
5676 2003-10-06  Angus Leeming  <leeming@lyx.org>
5677
5678         * LColor.h: Add missing #include <string>.
5679
5680 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * All most all file in all subdirs: Make <string> be the prefered
5683         way of getting to std::string, add using declarations.
5684
5685 2003-10-06  André Pönitz  <poenitz@gmx.net>
5686
5687         * metricsinfo.C: initialize LyXFont before changing attribute.
5688         (fixes the 'math in \emph is upright' bug)
5689
5690 2003-10-06  André Pönitz  <poenitz@gmx.net>
5691
5692         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5693
5694 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5695
5696         * graph.C:
5697         * paragraph_pimpl.C: Small fixes to build using STLport
5698
5699 2003-10-02  André Pönitz  <poenitz@gmx.net>
5700
5701         * lyxfunc.C:
5702         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5703
5704 2003-10-01  André Pönitz  <poenitz@gmx.net>
5705
5706         * factory.C: assert early
5707
5708 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * lyx_main.C: remove the global debug object
5711
5712         * debug.h: adjust for new debugstream
5713
5714         * debug.C: adjust for new debugstream and keep the global debug
5715         object here.
5716
5717 2003-09-22  Angus Leeming  <leeming@lyx.org>
5718
5719         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5720         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5721         an incomplete class LyXFont.
5722
5723 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5724
5725         * factory.C: bug fix in branches
5726
5727 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5728
5729         * lyxfunc.C (processKeySym): adjust
5730         (dispatch): adjust
5731         (dispatch): change arg name from ev to func, adjust
5732         (sendDispatchMessage): ditto
5733
5734         * lyx_main.C (defaultKeyBindings): adjust keybindings
5735         (deadKeyBindings): ditto
5736
5737         * kbsequence.C (addkey): return a FuncRequest
5738
5739         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5740
5741         * kbmap.C (bind): take a FuncRequest as arg, adjust
5742         (read): adjust
5743         (lookup): adjust
5744         (defkey): change to take a FuncRequest as arg, adjust
5745         (findbinding): take a FuncRequest as arg, adjust.
5746
5747         * funcrequest.h (operator=): added
5748
5749         * funcrequest.C (FuncRequest): default kb_action changed from
5750         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5751
5752         * buffer.C (dispatch): simplify
5753         (dispatch): adjust to take a FuncRequest as arg, adjust
5754
5755         * boost.C (assertion_failed): change assertion message slightly
5756
5757         * ToolbarBackend.C (read): simplify
5758
5759         * MenuBackend.C (binding): adjust call to findbinding, add a
5760         message if no binding is found.
5761         (read): simplify
5762         (expandToc): correct by adding a empty FuncRequest
5763
5764         * LyXAction.C: include <boost/assert.hpp>
5765         (isPseudoAction): delete function
5766         (LookupFunc): change name to...
5767         (lookupFunc): this. change return type to FuncRequest.
5768         (getActionName): take kb_action as arg, simplify
5769         (funcHasFlag): add an assert, simplify.
5770
5771 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5772
5773         * toc.C (action): return a FuncRequest, simplify
5774
5775         * lyxfunc.C (processKeySym): adjust
5776         (getStatus): delete version that takes an int.
5777         (getStatus): adjust
5778         (dispatch): delete version that takes action as int
5779         (dispatch): adjust
5780         (sendDispatchMessage): simplify and adjust
5781
5782         * funcrequest.C (getArg): take unsigned int as arg
5783
5784         * ToolbarBackend.C (read): adjust
5785         (add): delete version that takes func as a string.
5786         (getIton): take a FuncRequest as arg
5787
5788         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5789         action.
5790
5791         * MenuBackend.C (MenuItem): add a new construct that only takes a
5792         Kind, simplify the constructor use for submenus.
5793         (add): adjust
5794         (expandLastfiles): adjust
5795         (expandDocuments): adjust
5796         (expandFormats): adjust
5797         (expandFloatListInsert): adjust
5798         (expandFloatInsert): adjust
5799         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5800
5801         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5802         Remove class variables lyx_pseudo_map and lyx_arg_map
5803
5804         * LyXAction.C (searchActionArg): delete function
5805         (getPseudoAction): delete function
5806         (retrieveActionArg): delete function
5807         (LookupFunc): make it return kb_action, simplify.
5808         (getActionName): simplify
5809
5810         * factory.C (createInset): fix new bug
5811
5812 2003-09-19  Angus Leeming  <leeming@lyx.org>
5813
5814         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5815         masterFilename_ parameter in the include inset.
5816
5817         * factory.C (createInset): changes due to the changes to InsetInclude.
5818
5819 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5820
5821         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5822
5823 2003-09-18  Angus Leeming  <leeming@lyx.org>
5824
5825         * buffer.C:
5826         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5827         Inset::fillWithBibKeys.
5828         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5829
5830 2003-09-18  Angus Leeming  <leeming@lyx.org>
5831
5832         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5833         variables.
5834         (ctor): pass and store a 'Buffer const &'
5835         (buffer): new member function.
5836
5837         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5838         '*this' to the LaTeXFeatures ctor.
5839
5840 2003-09-18  Angus Leeming  <leeming@lyx.org>
5841
5842         * LColor.h:
5843         * lyxfont.C:
5844         * lyxfont.h:
5845         * lyxtext.h:
5846         * text.C: rename EnumLColor as LColor_color.
5847
5848 2003-09-18  Angus Leeming  <leeming@lyx.org>
5849
5850         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5851         remove #include "insets/insetbase.h" from cursor.h.
5852
5853 2003-09-18  Angus Leeming  <leeming@lyx.org>
5854
5855         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5856         InsetOld_code to remove #include "inset.h".
5857
5858         * iterators.C: add #include "insets/inset.h"
5859
5860 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5861
5862         * BufferView.C: remove more locking stuff that apparently doesn't
5863         do anything sensible.
5864
5865 2003-09-16  André Pönitz  <poenitz@gmx.net>
5866
5867         * paragraph.[Ch]:
5868         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5869           performance boost.
5870
5871 2003-09-16  Angus Leeming  <leeming@lyx.org>
5872
5873         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5874
5875         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5876         arg/return type.
5877
5878         * paragraph.h: remove #include "lyxfont.h". Forward declare
5879         LyXFont_size.
5880
5881 2003-09-16  Angus Leeming  <leeming@lyx.org>
5882
5883         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5884         of support/textutils.h.
5885         (isWord): move the contents of support/textutils.h's IsWordChar here.
5886
5887         * buffer.C:
5888         * lyxfind.C:
5889         * rowpainter.C:
5890         * text.C:
5891         * text2.C: add #include "paragraph.h".
5892
5893         * rowpainter.C:
5894         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5895
5896 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * main.C:
5899         * lyx_main.C:
5900         * lyx_cb.C:
5901         * buffer.C:
5902         * LaTeX.C: use namespace alias for lyx::support::os
5903
5904 2003-09-16  Angus Leeming  <leeming@lyx.org>
5905
5906         * bufferparams.C:
5907         * bufferview_funcs.C:
5908         * factory.C:
5909         * lyxfunc.C:
5910         * paragraph_pimpl.C:
5911         * rowpainter.C:
5912         * text.C: add #include "LColor.h".
5913
5914 2003-09-16  Angus Leeming  <leeming@lyx.org>
5915
5916         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5917         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5918         return LyXFont &.
5919         Store the FontBits::color variable as an int rather than as an
5920         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5921         file.
5922
5923         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5924         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5925         string calls together.
5926
5927         * lyxrc.C: add #include "LColor.h".
5928
5929 2003-09-15  Angus Leeming  <leeming@lyx.org>
5930
5931         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5932         a cow_ptr.
5933
5934 2003-09-15  Angus Leeming  <leeming@lyx.org>
5935
5936         * LColor.h: add an EnumLColor wrapper for LColor::color.
5937
5938         * lyxfont.[Ch] (color, setColor, realColor):
5939         * lyxtext.h, text.C (backgroundColor):
5940         pass EnumLColor args to/from the functions, rather than LColor::color
5941         ones.
5942
5943         * lyxfont.h:
5944         * lyxtext.h: forward declare EnumLColor.
5945
5946         * lyx_main.C: add #include "LColor.h".
5947
5948 2003-09-15  Angus Leeming  <leeming@lyx.org>
5949
5950         * .cvsignore: add lyx-gtk.
5951
5952 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * Chktex.C
5955         * LaTeX.C
5956         * LaTeXFeatures.C
5957         * ParagraphParameters.C
5958         * Spacing.C
5959         * buffer.C
5960         * bufferparams.C
5961         * bufferview_funcs.C
5962         * chset.C
5963         * counters.C
5964         * funcrequest.C
5965         * lyxfont.C
5966         * lyxgluelength.C
5967         * lyxlength.C
5968         * paragraph.C
5969         * paragraph_funcs.C
5970         * text3.C
5971         * vc-backend.C: remove usage of STRCONV
5972
5973 2003-09-15  Angus Leeming  <leeming@lyx.org>
5974
5975         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5976         explicitly define the color passed to the painter.
5977
5978 2003-09-15  Angus Leeming  <leeming@lyx.org>
5979
5980         * bufferparams.C (BufferParams): reorder member initializers to avoid
5981         compiler warning.
5982
5983 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5984
5985         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5986         * text.C (updateRowPositions): remove an unusual nop
5987
5988 2003-09-12  André Pönitz  <poenitz@gmx.net>
5989
5990         * BufferView_pimpl.C:
5991         * Bullet.C:
5992         * layout.h:
5993         * lyxfunc.C:
5994         * lyxlayout.[Ch]:
5995         * lyxtextclass.C:
5996         * rowpainter.C:
5997         * text.C:
5998         * text2.C:
5999         * Counters.[Ch]: finish the 'automatic counters' job
6000
6001 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6002
6003         * aspell.C: include <boost/assert.cpp> (compile fix)
6004
6005 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6006
6007         * boost.C (assertion_failed): use lyx::support::abort instead of
6008         assert.
6009
6010 2003-09-10  Angus Leeming  <leeming@lyx.org>
6011
6012         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6013         with their _fwd progeny.
6014
6015 2003-09-09  Angus Leeming  <leeming@lyx.org>
6016
6017         134 files throughtout the source tree: replace 'using namespace abc;'
6018         directives with the appropriate 'using abc::xyz;' declarations.
6019
6020 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6021
6022         * boost.C (emergencyCleanup): moved here from LAssert.c
6023         (assertion_failed): new function, called by BOOST_ASSERT
6024
6025         * several files: change Assert to BOOST_ASSERT
6026
6027 2003-09-09  Angus Leeming  <leeming@lyx.org>
6028
6029         * buffer.[Ch]: Add an Impl class and move Buffer's member
6030         variables into it. As a result move several header files out of
6031         buffer.h.
6032
6033         Add header files to lots of .C files all over the tree as a result.
6034
6035 2003-09-09  Angus Leeming  <leeming@lyx.org>
6036
6037         * buffer.[Ch]: make Buffer's member variables private. Add
6038         accessor functions.
6039
6040         Lots of changes all over the tree as a result.
6041
6042 2003-09-08  Angus Leeming  <leeming@lyx.org>
6043
6044         * graph.C: #include <config.h>.
6045
6046 2003-09-08  Angus Leeming  <leeming@lyx.org>
6047
6048         * BranchList.C:
6049         * BufferView.C:
6050         * BufferView_pimpl.C:
6051         * CutAndPaste.C:
6052         * DepTable.C:
6053         * LaTeX.C:
6054         * LaTeXFeatures.C:
6055         * LyXAction.C:
6056         * MenuBackend.C:
6057         * TextCache.C:
6058         * aspell.C:
6059         * buffer.C:
6060         * bufferlist.C:
6061         * changes.C:
6062         * chset.C:
6063         * converter.C:
6064         * counters.C:
6065         * debug.C:
6066         * graph.C:
6067         * ispell.C:
6068         * lyx_cb.C:
6069         * lyxfind.C:
6070         * lyxfunc.C:
6071         * lyxlex_pimpl.C:
6072         * lyxrc.C:
6073         * lyxrow.C:
6074         * paragraph.C:
6075         * rowpainter.C:
6076         * texrow.C:
6077         * text.C:
6078         * text2.C:
6079         * toc.C: remove redundant using directives.
6080
6081 2003-09-07  Angus Leeming  <leeming@lyx.org>
6082
6083         * LaTeXFeatures.h: remove #include "support/types.h".
6084         * ToolbarBackend.h: remove #include <algorithm>.
6085         * changes.h: remove #include <ctime>.
6086         * debug.h: remove #include <iosfwd>.
6087         * graph.h: remove #include "support/std_string.h".
6088         * lyx_main.h: remove #include <csignal>.
6089         * lyxlex_pimpl.h: remove #include <fstream>.
6090         * sgml.h: remove #include <algorithm>, <utility>.
6091         * toc.h: remove #include "support/std_ostream.h".
6092         Add #include <iosfwd>.
6093
6094 2003-09-07  Angus Leeming  <leeming@lyx.org>
6095
6096         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6097
6098         * converter.h: forward declare LatexRunParams.
6099         * encoding.h: remove #include "lyxrc.h".
6100         * lyxtext.h: remove #include "LColor.h".
6101         * lyxtextclass.h: remove #include "support/types.h".
6102         * trans.h: remove #include "tex-accent.h".
6103         * trans_mgr.h: remove #include "tex-accent.h".
6104         * insets/inset.h: remove #include "support/types.h", <vector>.
6105         * insets/insetcollapsable.h: remove #include "LColor.h".
6106         * insets/insetinclude.h: remove #include "dimension.h".
6107         * insets/insetlatexaccent.h: remove #include "dimension.h".
6108         * insets/insetoptarg.h:: remove #include "insettext.h".
6109         * insets/insettext.h: remove #include "dimension.h",
6110         <boost/shared_ptr.hpp>
6111
6112         * insets/renderers.h: add #include "dimension.h".
6113         * insets/updatableinset.h: add #include "support/types.h".
6114
6115         * many .C files: Associated changes.
6116
6117 2003-09-06  Angus Leeming  <leeming@lyx.org>
6118
6119         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6120         one, inside testInvariant.
6121
6122         * PrinterParams.C: new file.
6123         * PrinterParams.[Ch]: move the function bodies out of line.
6124
6125 2003-09-06  Angus Leeming  <leeming@lyx.org>
6126
6127         * ParagraphParameters.h: forward declare ParameterStruct rather than
6128         including its header file.
6129         (depth): moved out-of-line.
6130
6131 2003-09-06  Angus Leeming  <leeming@lyx.org>
6132
6133         * BufferView_pimpl.h:
6134         * kbmap.h:
6135         * kbsequence.h:
6136         * lyxfunc.h: forward declare LyXKeySym rather than
6137         #include "frontends/LyXKeySym.h".
6138
6139         * BufferView_pimpl.C:
6140         * kbmap.C:
6141         * kbsequence.C:
6142         * lyxfunc.C: associated changes.
6143
6144 2003-09-06  Angus Leeming  <leeming@lyx.org>
6145
6146         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6147         As a result, can remove the #include "insets/inset.h" from BufferView.h
6148
6149 2003-09-06  Angus Leeming  <leeming@lyx.org>
6150
6151         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6152         As a result, can remove the #include "insets/inset.h" from BufferView.h
6153
6154 2003-09-06  Angus Leeming  <leeming@lyx.org>
6155
6156         * buffer_funcs.C:
6157         * buffer.h:
6158         * bufferlist.C:
6159         * BufferView.C:
6160         * bufferview_funcs.C:
6161         * BufferView_pimpl.C:
6162         * CutAndPaste.C:
6163         * lyx_cb.C:
6164         * lyxfunc.C:
6165         * paragraph.h:
6166         * ParagraphParameters.C:
6167         * tabular.C:
6168         * text3.C:
6169         * toc.C:
6170         * undo_funcs.C:
6171         * frontends/controllers/ControlDocument.C:
6172         * insets/insetcaption.C: rearrange the #includes into some sort of
6173         coherent order.
6174
6175         * buffer.h: remove #includes ErrorList.h, undo.h
6176
6177 2003-09-06  Angus Leeming  <leeming@lyx.org>
6178
6179         * support/types.h: add a 'depth_type' typedef, used to store the
6180         nesting depth of a paragraph.
6181
6182         * paragraph.h:
6183         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6184         defining explicitly.
6185
6186         * buffer.h:
6187         * paragraph_funcs.h:
6188         * ParagraphParameters.h:
6189         * sgml.h: use lyx::depth_type rather than Paragraph or
6190         ParameterStruct's depth_type.
6191
6192         * buffer.h
6193         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6194
6195         * BufferView.C:
6196         * BufferView_pimpl.C:
6197         * CutAndPaste.C:
6198         * ParagraphParameters.C:
6199         * buffer_funcs.C:
6200         * bufferlist.C:
6201         * bufferview_funcs.C:
6202         * lyx_cb.C:
6203         * lyxfunc.C:
6204         * tabular.C:
6205         * text3.C:
6206         * toc.C:
6207         * undo_funcs.C:
6208         * frontends/LyXView.C:
6209         * frontends/controllers/ControlDocument.C:
6210         * frontends/controllers/ControlErrorList.C:
6211         * insets/insetbibitem.C:
6212         * insets/insetbranch.C:
6213         * insets/insetcaption.C:
6214         * insets/insetcollapsable.C:
6215         * insets/insetenv.C:
6216         * insets/insetert.C:
6217         * insets/insetfloat.C:
6218         * insets/insetfoot.C:
6219         * insets/insetfootlike.C:
6220         * insets/insetnewline.C:
6221         * insets/insetquotes.C:
6222         * insets/insettabular.C:
6223         * insets/insettext.C:
6224         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6225
6226         * frontends/controllers/ControlChanges.C: #include "changes.h".
6227
6228 2003-09-06  Angus Leeming  <leeming@lyx.org>
6229
6230         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6231         than #including paragraph.h.
6232
6233         * ParagraphList.h:
6234         * RowList.h: deleted. Superfluous.
6235
6236         * CutAndPaste.h:
6237         * iterators.h:
6238         * lyxcursor.h:
6239         * lyxtext.h:
6240         * text_funcs.h:
6241         * undo.h:
6242         * undo_funcs.h:
6243         * insets/inset.h:
6244         * insets/insettext.h: use ParagraphList_fwd.h rather than
6245         ParagraphList.h.
6246
6247         * paragraph.h: don't forward declare ParagraphList.
6248
6249         * buffer.h:
6250         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6251         rather than ParagraphList.h. paragraph.h is still needed for the
6252         Paragraph::depth_type parameters.
6253
6254         * textcursor.h: enable it to compile stand-alone in light of the
6255         above changes.
6256
6257         * bufferview_funcs.C:
6258         * iterators.C:
6259         * lyxfunc.C:
6260         * lyxrow_funcs.C:
6261         * paragraph.C:
6262         * rowpainter.C:
6263         * text.C:
6264         * text2.C:
6265         * text3.C:
6266         * text_funcs.C:
6267         * textcursor.C:
6268         * undo.C:
6269         * frontends/controllers/ControlParagraph.C:
6270         * frontends/controllers/ControlTabular.C:
6271         * insets/insetmarginal.C:
6272         * insets/insetminipage.C:
6273         * insets/insetnote.C:
6274         * insets/insetoptarg.C: add header files needed to compile again.
6275
6276 2003-09-06  Angus Leeming  <leeming@lyx.org>
6277
6278         * RowList_fwd.h: new file, forward-declaring Row rather than
6279         #including lyxrow.h.
6280
6281         * lyxrow_funcs.h:
6282         * lyxtext.h:
6283         * paragraph.h:
6284         * insets/insettext.h: use it instead of RowList.h
6285
6286         * bufferview_funcs.C:
6287         * lyxfunc.C:
6288         * lyxrow_funcs.C:
6289         * paragraph.C:
6290         * rowpainter.C:
6291         * text.C:
6292         * text2.C:
6293         * text3.C: #include "RowList.h".
6294
6295 2003-09-05  Angus Leeming  <leeming@lyx.org>
6296
6297         * factory.C (createInset):
6298         * vspace.C (c-tor): replace sscanf call with an istringstream.
6299         * ispell.C: re-add missing HP/UX headers.
6300         * lyxserver.C: re-add missing  os2 headers.
6301
6302 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6303
6304         * BranchList.C:
6305         * graph.C:
6306         * ispell.C:
6307         * lastfiles.C:
6308         * lyx_cb.C:
6309         * lyxserver.C:
6310         * texrow.C:
6311         * text3.C: re-add missing system headers, needed for 2.95.2.
6312
6313 2003-09-05  Angus Leeming  <leeming@lyx.org>
6314
6315         Changes most place everywhere due to the removal of using directives
6316         from support/std_sstream.h.
6317
6318 2003-09-05  Angus Leeming  <leeming@lyx.org>
6319
6320         Replace LString.h with support/std_string.h,
6321         Lsstream.h with support/std_sstream.h,
6322         support/LIstream.h with support/std_istream.h,
6323         support/LOstream.h with support/std_ostream.h.
6324
6325         Changes resulting throughout the tree.
6326
6327 2003-09-05  Angus Leeming  <leeming@lyx.org>
6328
6329         * sgml.h: ensure that the header file can be compiled stand-alone.
6330         * *.C: strip out redundant #includes. (320 in total.)
6331
6332 2003-09-04  Angus Leeming  <leeming@lyx.org>
6333
6334         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6335         here (from getPackages).
6336
6337         * debug.[Ch]: add a new EXTERNAL tag.
6338
6339 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6340
6341         * text2.C (cursorEnd): simplify
6342         (setCursor): adjust
6343         (getColumnNearX): adjust
6344
6345         * text.C (computeBidiTables): adjust
6346         (fill): adjust
6347
6348         * rowpainter.C (paintChars): adjust
6349         (paintSelection): adjust
6350         (paintChangeBar): adjust
6351         (paintText): adjust
6352
6353         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6354         lastPos instead.
6355         (numberOfSeparators): adjust
6356
6357 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6358
6359         * LyXAction.C:
6360         * box.[Ch]:
6361         * lfuns.h:
6362         * lyxfunc.C:
6363         * text3.C: Restricts the mouse click functionality
6364         of insets like bibtex, include, toc and floatlist to the visible
6365         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6366         up the dialogs. Cursor has to be in front of the inset (i.e.
6367         start of row) for this to function.
6368
6369 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6370
6371         * bufferview_funcs.C (currentState): output row information
6372
6373 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6374
6375         * bufferview_funcs.C (currentState): output paragraph position
6376
6377 2003-09-04  Angus Leeming  <leeming@lyx.org>
6378
6379         * FloatList.h: move out #include "Floating.h".
6380         * LaTeX.h: move out #include "DepTable.h".
6381         * LyXAction.h: move out #include "funcrequest.h".
6382         * buffer.h: move out #include "author.h", "iterators.h".
6383         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6384         * lyx_main.h: move out #include "errorlist.h".
6385         * lyxfunc.h: move out #include "FuncStatus.h".
6386         * lyxtext: move out #include "lyxcursor.h".
6387         * paragraph_pimpl.h: move out #include "counters.h".
6388
6389 2003-09-03  Angus Leeming  <leeming@lyx.org>
6390
6391         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6392         preamble_snippets list, enabling us to add snippets to the preamble
6393         only if the snippet was not there already.
6394
6395 2003-09-04  Angus Leeming  <leeming@lyx.org>
6396
6397         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6398
6399 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6402         update
6403
6404 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6405
6406         * BranchList.C: point fix, earlier forgotten
6407
6408 2003-09-02  Angus Leeming  <leeming@lyx.org>
6409
6410         * box.C (contains): renamed from 'contained' after a fantastic
6411         amount of hot air.
6412
6413 2003-09-02  John Levon  <levon@movementarian.org>
6414
6415         * BufferView.C:
6416         * lyxcursor.h:
6417         * lyxcursor.C:
6418         * lyxfunc.C:
6419         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6420
6421 2003-09-02  John Levon  <levon@movementarian.org>
6422
6423         * text2.C: simplification of cursorEnd(), including partial
6424         fix for bug 1376
6425
6426 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * buffer.C (readFile): add a space
6429
6430 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6431
6432         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6433
6434 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * buffer.C (readFile): new function, take a filename and a
6437         ParagraphList::iterator
6438         (readFile): adjust
6439         (readFile): adjust, make it private. don't use setStream, make
6440         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6441         always contain the filename.
6442
6443         * BufferView.C (insertLyXFile): simplify and make it work for
6444         gzipped files.
6445
6446 2003-08-30  John Levon  <levon@movementarian.org>
6447
6448         * Makefile.am: fix dist (from Kayvan)
6449
6450 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * most files: change to use const Buffer refs
6453
6454 2003-08-27  André Pönitz  <poenitz@gmx.net>
6455
6456         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6457         on top of ownerPar().
6458
6459 2003-08-27  John Levon  <levon@movementarian.org>
6460
6461         * funcrequest.C: properly initialise POD members
6462
6463 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6464
6465         * lyxtext.h (top_y): move top_y from here
6466         * text.C:
6467         * text2.C:
6468         * text3.C:
6469         * BufferView.[Ch]:
6470         * BufferView_pimpl.[Ch]: to here
6471         * frontends/screen.C:
6472         * insets/insettabular.C:
6473         * insets/insettext.C: adjust
6474         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6475
6476 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6477
6478         * BufferView.[Ch]:
6479         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6480
6481 2003-08-26  André Pönitz  <poenitz@gmx.net>
6482
6483         * paragraph_func.[Ch] (outerPar): new function
6484
6485         * paragraph.C:
6486         * paragraph_funcs.C:
6487         * paragraph_funcs.h:
6488         * paragraph_pimpl.C:
6489         * text2.C: remove Inset::par_owner
6490
6491 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6492
6493         * lyxrow_funcs.C:
6494         * lyxtext.h:
6495         * text.C:
6496         * text2.C: eliminates the needFullRow/display() stuff
6497         altogether, putting the logic in metrics/draw in the insets.
6498
6499 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6500
6501         * text2.C (redoParagraphInternal, redoParagraphs):
6502         * text.C (redoParagraph): add a call to updateRowPositions at the
6503         end of each 'metrics-like' call. Remove all others.
6504         (getRow): remove the 'y-computing' version.
6505         (getRowNearY): do not compute nor return the real y. Solve the
6506         'y < 0' problem and simplify.
6507
6508 2003-08-22  Angus Leeming  <leeming@lyx.org>
6509
6510         * *.[Ch]: clean-up of licence and author blurbs.
6511         Also move config.h out of a few .h files and into a few .C files.
6512
6513 2003-08-22  André Pönitz  <poenitz@gmx.net>
6514
6515         * lyxrow.[Ch]: add x_ and *fill_ members
6516
6517         * lyxtext.h:
6518         * text.C:
6519         * rowpainter.C:
6520         * text2.C: adjust/remove prepareToPrint() calls
6521
6522 2003-08-22  André Pönitz  <poenitz@gmx.net>
6523
6524         * lyxrow.[Ch]: add  end_ member
6525
6526         * lyxrow_funcs.C: use LyXRow::end_
6527
6528         * lyxtext.h (singleWidth): add LyXFont parameter
6529
6530         * rowpainter.C:
6531         * text2.C: adjust LyXText::singleWidth() calls
6532
6533         * text.C (redoParagraph): simplify row breaking logic
6534
6535
6536 2003-08-19  André Pönitz  <poenitz@gmx.net>
6537
6538         * funcrequest.C: initialize button_ member
6539
6540         * text3.C:
6541         * rowpainter.[Ch]: interface consolidation
6542
6543 2003-08-18  André Pönitz  <poenitz@gmx.net>
6544
6545         * BufferView.C:
6546         * BufferView_pimpl.C:
6547         * lyxfind.C:
6548         * paragraph_funcs.C:
6549         * rowpainter.C:
6550         * text3.C: remove LyXScreen::draw() and fitCursor calls
6551
6552         * BranchList.h: remove spurious semicolons
6553
6554         * MenuBackend.C: fix branchlist related crash
6555
6556 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6557
6558         * BranchList.[Ch]:
6559         * InsetList.[Ch]:
6560         * LColor.[Ch]:
6561         * LyXAction.C:
6562         * Makefile.am:
6563         * MenuBackend.[Ch]:
6564         * bufferparams.[Ch]:
6565         * factory.C:
6566         * lfuns.h:
6567         * lyxfunc.C:
6568         * text3.C: implements the 'branch inset'
6569         idea. This allows the output of various versions of a document
6570         from a single source version, selectively outputing or suppressing
6571         output of parts of the text.
6572         This implementation contains a 'branch list editor' in a separate
6573         tab of the document settings dialog. Branches are user definable
6574         and have a "display colour" to distinguish them on-screen.
6575
6576         ColorHandler was somewhat cleaned up.
6577         (1) make possible a dynamically growing LColor list by allowing
6578         the graphic context cache to grow along (vector);
6579         (2) eliminate an IMHO unnecessary step in colour allocation.
6580
6581 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6582
6583         * BufferView_pimpl.C: compile fix
6584
6585 2003-08-15  André Pönitz  <poenitz@gmx.net>
6586
6587         * rowpainter.C: remove extra metrics calls
6588
6589         * lyxtext.h: merge the two constructors into a single one,
6590           pass reference to owner's par list
6591
6592         * BufferView_pimpl.C:
6593         * text.C:
6594         * text2.C: adjust
6595
6596 2003-08-15  André Pönitz  <poenitz@gmx.net>
6597
6598         * lyxrow_funcs.[Ch]:
6599         * lyxtext.h:
6600         * paragraph.h:
6601         * paragraph_funcs.C:
6602         * rowpainter.C:
6603         * text.C:
6604         * text2.C:
6605         * text3.C:
6606         * text_funcs.C: split LyXText::rowlist_ into individual
6607         Paragraph::rows_ chunks
6608
6609         * BufferView.[Ch]:
6610         * BufferView_pimpl.[Ch]:
6611         * lyxfind.C:
6612         * lyxtext.h:
6613         * text3.C: remove toggleSelection()
6614
6615 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6616
6617         * bufferlist.C: beautify two alerts (shorter text of buttons)
6618         * buffer.C: Remove redundant ' ' from message
6619         * tabular.h:
6620         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6621         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6622         rename VALIGN_CENTER to VALIGN_MIDDLE
6623
6624 2003-08-11  André Pönitz  <poenitz@gmx.net>
6625
6626         * lyxtext.h (getPar):
6627         * text.C: new function
6628
6629 2003-08-11  André Pönitz  <poenitz@gmx.net>
6630
6631         * Makefile.am:
6632         * tracer.[Ch]: remove unneeded files
6633
6634         * InsetList.[Ch]: remove resizeInsetsLyXText()
6635
6636         * lyxtext.h:
6637         * text.C:
6638         * text2.C:
6639         * text3.C: merge insertParagraphs() and appendParagraph()
6640         remove breakAgain(), update()
6641
6642         * BufferView_pimpl.[Ch]:
6643         * bufferview_funcs.[Ch]:
6644         * lyxfunc.C:
6645         * paragraph.[Ch]:
6646         * rowpainter.C:
6647         * tabular.C: adjust after text & InsetList changes.
6648
6649 2003-08-08  André Pönitz  <poenitz@gmx.net>
6650
6651         * text.C (insertChar, backspace): replace rowlist fiddling
6652         with rebreak of full par
6653
6654         * lyxtext.h:
6655         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6656         checkParagraph, updateInset): removed
6657
6658 2003-08-07  André Pönitz  <poenitz@gmx.net>
6659
6660         * paragraph.C:
6661         * text3.C: merge some LFUN handlers, remove dead code
6662
6663 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6664
6665         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6666
6667 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6668
6669         * text2.C (DEPM): fix part of bug 1255 and 1256
6670
6671 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6672
6673         * BufferView_pimpl.C (workAreaDispatch): change to use
6674         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6675         that are no mouse related.
6676
6677 2003-08-05  André Pönitz  <poenitz@gmx.net>
6678
6679         * BufferView.[Ch]:
6680         * BufferView_pimpl.[Ch]:
6681         * bufferview_funcs.C:
6682         * text2.C:
6683         * text3.C: rip out "deep update"
6684
6685         * textcursor.[Ch] (last_sel_cursor): remove unused member
6686
6687 2003-08-04  André Pönitz  <poenitz@gmx.net>
6688
6689         * BufferView.[Ch]:
6690         * BufferView_pimpl.[Ch]:
6691         * ParagraphParameters.C:
6692         * bufferview_funcs.C:
6693         * lyx_cb.C:
6694         * lyxfind.C:
6695         * lyxfunc.C:
6696         * text.C:
6697         * text2.C:
6698         * text3.C: replace "complicated" BufferView::update(...) calls with
6699         simpler ones.
6700
6701         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6702
6703 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6704
6705         * Makefile.am (lyx_SOURCES): add paper.h
6706
6707 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6708
6709         * Makefile.am: move things around so that both lyx-qt and
6710         lyx-xforms can be built (according to --with-frontend). Then lyx
6711         is a symbolic link to lyx-[firstfrontend]
6712
6713 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6714
6715         * Always use std::endl with lyxerr
6716
6717 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6718
6719         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6720
6721 2003-08-01  André Pönitz  <poenitz@gmx.net>
6722
6723         * BufferView.[Ch]:
6724         * BufferView_pimpl.[Ch]:
6725         * lyxfunc.C:
6726         * text3.C: merge BufferView::repaint() and BufferView::update()
6727
6728 2003-08-01  José Matos  <jamatos@lyx.org>
6729
6730         * buffer.[Ch]: file_format is no longer a buffer data element.
6731
6732 2003-08-01  André Pönitz  <poenitz@gmx.net>
6733
6734         * BufferView.C:
6735         * lyxtext.h:
6736         * text.C:
6737         * text2.C: make redoParagraph more independent of current cursor
6738
6739         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6740         * text.C:
6741         * text2.C: remove unneeded members
6742
6743 2003-07-30  André Pönitz  <poenitz@gmx.net>
6744
6745         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6746
6747         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6748           create a single function...
6749
6750         * paragraph_funcs.C (moveItem): ... here.
6751
6752         * text.C:
6753           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6754
6755 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6756
6757         * LColor.[Ch]: Add comment and greyedout logical colors.
6758
6759 2003-07-30  André Pönitz  <poenitz@gmx.net>
6760
6761         * tabular.C: don't use Assert too heavily. This crashes where it
6762           shouldn't
6763
6764 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6765
6766         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6767         is disabled (bug 1232)
6768
6769 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6770
6771         * factory.C: limited 'arg' scope
6772
6773 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6774
6775         * factory.C: fixed Note submenu issues
6776
6777 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6778
6779         * factory.C: submenu for Note/Comment/Greyedout
6780
6781 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6782
6783         * lyx_main.C (LyX):
6784         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6785
6786 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6787
6788         * LaTeXFeatures.C:
6789         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6790         greyedout. Patch provided by Jürgen Spitzmüller.
6791
6792 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6793
6794         * kbmap.C (read): fix error message when reading bind files
6795
6796 2003-07-29  Angus Leeming  <leeming@lyx.org>
6797
6798         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6799         certainly does not do what it purports to do. I am doing it, and
6800         us, a favour by killing it.
6801
6802 2003-07-28  José Matos  <jamatos@lyx.org>
6803
6804         * buffer.C (readBody, do_writeFile):
6805         * paragraph.C(readParagraph): \end_document replaces \the_end.
6806
6807 2003-07-29  André Pönitz  <poenitz@gmx.net>
6808
6809         * BufferView.[Ch]:
6810         * BufferView_pimpl.[Ch]:
6811         * lyxfunc.C:
6812         * text2.C:
6813         * text3.C:
6814         * textcursor.[Ch]: remove toggleToggle & Co
6815
6816 2003-07-28  José Matos  <jamatos@fep.up.pt>
6817
6818         * buffer.C (readParagraph):
6819         * params_func (readParToken, readParagraph):
6820         * paragraph.C (write): \layout -> \begin_layout.
6821
6822 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * lyxlex_pimpl.C (setFile): clean up slightly.
6825
6826         * bufferparams.h: add compressed var
6827
6828         * buffer_funcs.C (readFile): adjust for LyXLex change
6829         (newFile): ditto + simplify
6830
6831         * buffer.C (writeFile): handle writing of compressed files
6832
6833         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6834         Check if the file is compressed and set a bufferparm if so.
6835
6836         * Makefile.am (lyx_LDADD): remove explicit -lz
6837
6838 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6839
6840         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6841         makeDocBookFile): put the real LyX version in the first line of
6842         the file
6843
6844         * version.h:
6845         * version.C.in: remove lyx_docversion
6846
6847         * tabular.C (write_attribute): add a template-based version to
6848         write enums properly
6849
6850 2003-07-28  André Pönitz  <poenitz@gmx.net>
6851
6852         * lyxtext.h:
6853         * text.C:
6854         * text2.C:
6855         * text3.C: use doubles again for x-coordinates. They are needed.
6856
6857 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * messages.C (getLocaleDir): use lyx_localedir()
6860
6861         * lyxlex_pimpl.C (setFile): compress stuff
6862
6863         * buffer.C (writeFile): add some compression stuff
6864         (do_writeFile): new func, dont call expliti close... will this
6865         breake anything?
6866
6867         * Makefile.am (lyx_LDADD): add -lz
6868
6869 2003-07-28  José Matos  <jamatos@fep.up.pt>
6870
6871         * buffer.C: increment file format.
6872         * paragraph_funcs (readParagraph, readParToken):
6873         * paragraph.C (readParagraph): add \end_layout.
6874
6875 2003-07-27  Angus Leeming  <leeming@lyx.org>
6876
6877         * Makefile.am: remove special casing for configure-time setting of
6878         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6879
6880         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6881         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6882
6883 2003-07-26  André Pönitz  <poenitz@gmx.net>
6884
6885         * paragraph_func.[Ch]:
6886         * paragraph.C (realizeFont): inline it whereever it is used
6887
6888         * rowpainter.C:
6889         * text.C:
6890         * text2.C:
6891         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6892
6893
6894 2003-07-26  André Pönitz  <poenitz@gmx.net>
6895
6896         *       lyxtext.h:
6897         * text.C:
6898         * text2.C: get rid of LyXText::need_break_row
6899
6900 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * toc.[Ch]: put namespace toc inside namespace lyx
6903
6904         * MenuBackend.C (expandToc2): adjust for lyx::toc
6905         (expandToc): ditto
6906
6907         * lyxfunc.C (dispatch): adjust for lyx::find
6908
6909         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6910         lyx::find instead. Reorganize a bit.
6911         (LyXReplace): rename to replace
6912         (LyXFind): rename to find
6913
6914         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6915         (dispatch): ditto
6916
6917 2003-07-26  André Pönitz  <poenitz@gmx.net>
6918
6919         * text.C (setHeightOfRow): restrict scope of temporary variable
6920
6921         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6922           code (never has been used?)
6923
6924 2003-07-27  Asger Alstrup  <alstrup@local>
6925
6926         * text.C (fill): Optimise algorithm to exploit that we can reuse
6927         the LyXFont for many characters.
6928         (setHeightOfRow): Same thing.
6929         (rowBreakPoint): Same thing.
6930
6931 2003-07-26  Asger Alstrup  <alstrup@local>
6932
6933         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6934
6935         * text.C (singleWidth): Spurious font copying in hot-spot
6936         singleWidth avoided. Reorder tests for arabic for efficiency.
6937
6938         * text.C (fill): handle empty paragraphs better.
6939
6940 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6941
6942         * ispell.C:
6943         * encoding.h: add includes
6944
6945         * lyxrc.C: remove reading of bind files
6946
6947         * lyx_main.C (init): setup bindings and menus only if we have a
6948         gui.
6949
6950         * kbmap.C (read): new method. Do the actual reading of bind
6951         files.
6952
6953         * converter.C (dvipdfm_options):
6954         * bufferparams.C:
6955         * lyxrc.C (read):
6956         (output): adapt PAPER_* enums.
6957
6958         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6959
6960         * bufferparams.h: remove paper-related enums from there
6961
6962         * paper.h: New file. A trivial header file to hold paper-related
6963         enums. It should later expand to contain many paper-related
6964         horrors access.
6965
6966         * lyxrc.C: declare extern displayTranslator
6967
6968 2003-07-27  José Matos  <jamatos@fep.up.pt>
6969
6970         * tabular.[Ch] (linuxdoc): add support for tables and figures
6971         (linuxdoc).
6972
6973 2003-07-27  José Matos  <jamatos@fep.up.pt>
6974
6975         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6976         consistency in both functions.
6977         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6978
6979 2003-07-26  Asger Alstrup  <alstrup@local>
6980
6981         * rowpainter.C (paintRows): Change algorithm to work directly on
6982         the insets rather than asking every character in the document
6983         whether its an inset.
6984
6985 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6986
6987         * buffer.C (openFileWrite): factorize some code
6988
6989 2003-07-26  Angus Leeming  <leeming@lyx.org>
6990
6991         * lyx_cb.C:
6992         * lyx_main.[Ch]: replace occurances of system_tempdir with
6993         os::getTmpDir().
6994
6995 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * rename Inset to InsetOld
6998
6999 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7000
7001         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7002         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7003         which I think is a bit clearer. EDIT is gone, since it was
7004         premature optimisation, and broken for mathed anyway.
7005         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7006         with cursor positioning in insets as well (math insets still do not
7007         work, but that's a different story anyway.) It mysteriously
7008         crashes sometimes with undo in the first paragraph, but I'm fairly
7009         confident that this is a compiler bug.
7010
7011 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7012
7013         * paragraph.C (Paragraph): adjust for new clone return type
7014         (operator==): ditto
7015         (copyIntoMinibuffer): ditto
7016
7017 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7018
7019         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7020         by not having a special case, and always doing a full rebreak of
7021         the document after undo.
7022
7023 2003-07-23  Angus Leeming  <leeming@lyx.org>
7024
7025         * factory.C (createInset): InsetExternal::setParams now takes a
7026         Buffer const * arg.
7027
7028 2003-07-23  Angus Leeming  <leeming@lyx.org>
7029
7030         * factory.C (createInset): changed interface to the external and
7031         graphics mailers' string2params functions.
7032
7033 2003-07-23  Angus Leeming  <leeming@lyx.org>
7034
7035         * factory.C (createInset): pass a
7036         Buffer const * parameter to InsetExternalMailer's string2params.
7037
7038 2003-07-22  John Levon  <levon@movementarian.org>
7039
7040         * Thesaurus.h: include the right aiksaurus header
7041
7042 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7043
7044         * MenuBackend.C (expand): check menu shortcuts unconditionally
7045
7046 2003-07-21  Angus Leeming  <leeming@lyx.org>
7047
7048         * factory.C (createInset): pass a
7049         buffer_path parameter to InsetGraphicsMailer's string2params.
7050
7051 2003-07-21  Angus Leeming  <leeming@lyx.org>
7052
7053         * BufferView_pimpl.C (buffer):
7054         * buffer.C (d-tor):
7055         * lyx_main.C (LyX):
7056         * lyxfunc.C (dispatch):
7057         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7058         rather than the grfx shortcut.
7059
7060 2003-07-21  André Pönitz  <poenitz@gmx.net>
7061
7062         * rowpainter.C: remove unused variables
7063
7064         * tabular_funcs.C:
7065         * tabular_funcs.h: move to tabular.C
7066         * Makefile.am: adjust
7067
7068         * tabular.[Ch]: basic optical cleaning
7069
7070         * author.h: pass references, not values
7071
7072 2003-07-18  André Pönitz  <poenitz@gmx.net>
7073
7074         * lyxtext.h:
7075         * metricsinfo.C:
7076         * metricsinfo.h:
7077         * rowpainter.C:
7078         * text.C:
7079         * text2.C:
7080         * text3.C: two-phase drawing for InsetText and InsetTabular
7081         some float -> int changes.
7082
7083 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7084
7085         * lyx_main.C: fix the fix
7086
7087 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7088
7089         * lyx_main.C: fix a crash in batch mode if no files specified
7090         * converter.C: ws
7091
7092 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7093
7094         * format.[Ch] (papersize): moved to BufferParams
7095         * converter.[Ch] (dvips_options): moved to BufferParams
7096         (dvipdfm_options): moved to anon namespace
7097         * bufferparams.[Ch]: added above functions.
7098
7099 2003-07-17  André Pönitz  <poenitz@gmx.net>
7100
7101         * lyxtext.h:
7102         * rowpainter.C:
7103         * text2.C: don't call inset->update() anymore
7104
7105         * metricsinfo.[Ch]: add convenience constructor
7106
7107 2003-07-16  André Pönitz  <poenitz@gmx.net>
7108
7109         * lyxcursor.[Ch]:
7110         * lyxfunc.[Ch]:
7111         * text.C:
7112         * text2.C: replace the LyXCursor::irow_ member with
7113          on-demand computation of the value
7114
7115 2003-07-16  John Levon  <levon@movementarian.org>
7116
7117         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7118
7119 2003-07-15  André Pönitz  <poenitz@gmx.net>
7120
7121         * text.C:
7122         * text2.C: remove no more needed refresh_row
7123
7124 2003-07-15  André Pönitz  <poenitz@gmx.net>
7125
7126         * lyxtext.h:
7127         * rowpainter.C:
7128         * text2.C:
7129         * text3.C: refresh_status tristate -> need_update bool
7130
7131 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7132
7133         * lyxtext.h (init): remove reinit argument (act as if always true)
7134         * text2.C: adjust to that
7135
7136 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7137
7138         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7139         * text3.C: use it to delete selections in some cases
7140         (bugs 441, 673, 702, 954).
7141
7142 2003-07-14  André Pönitz  <poenitz@gmx.net>
7143
7144         * rowpainter.[Ch]: reduce interface
7145
7146 2003-07-14  André Pönitz  <poenitz@gmx.net>
7147
7148         * BufferView_pimpl.C:
7149         * text2.C: adjust after removing unused BufferView * argument
7150
7151 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7152
7153         * text2.C (init): fix a crash fired on resize
7154
7155 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7156
7157         * buffer.[Ch]: added new closing signal
7158         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7159         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7160         BufferView::Pimpl via the closing the signal
7161
7162 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * buffer.[Ch]: take out all bv-related from buffer
7165         * BufferView.C:
7166         * BufferView_pimpl.[Ch]: connect to new signals
7167         * CutAndPaste.C: removed useless asserts
7168         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7169         * lyxvc.[Ch]:
7170         * vc-backend.[Ch]:
7171         * lyxfunc.C: moved view-related funciontality from vc here
7172         * paragraph.C: removed outdated comments
7173         * text.C: ws
7174
7175 2003-07-10  André Pönitz  <poenitz@gmx.net>
7176
7177         * BufferView_pimpl.C:
7178         * tabular.h:
7179         * tabular_funcs.C:
7180         * text.C:
7181         * text2.C: remove InsetText::InnerCache, clean up consequences
7182
7183 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7184
7185         * ispell.C: fix two typos in error messages
7186
7187 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7188
7189         * Extend Note inset to other forms of annotation like Comment
7190         and Greyedout. Right button click gives dialog.
7191
7192         Files modified or added (+):
7193
7194         * insetnote.[Ch]
7195         * FormNote.[Ch]      +
7196         * ControlNote.[Ch]   +
7197         * form_note.fd       +
7198         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7199         frontends/controllers
7200         * xforms/Dialogs.C
7201         * factory.C
7202
7203 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7204
7205         * aspell.C: add missing namespace lyx::support
7206
7207 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7208
7209         * BufferView.[Ch] (newFile): Add
7210         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7211         * LaTeX.[Ch] (message): added this signal and use it
7212         * buffer.[Ch] (busy, message): added these signals and use them
7213         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7214         * converter.C:
7215         * exporter.C:
7216         * format.C:
7217         * importer.C: use buffer signals instead of direct bv calling
7218         * lyx_cb.[Ch] (ShowMessage): removed
7219         * lyx_main.C:
7220         * lyxfunc.C:
7221         * paragraph_funcs.C:
7222         * text2.C: use buffer signals
7223
7224 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * introduce namespace lyx::graphics
7227
7228 2003-07-02  André Pönitz  <poenitz@gmx.net>
7229
7230         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7231
7232 2003-07-01  André Pönitz  <poenitz@gmx.net>
7233
7234         * text.C:
7235         * text2.C:
7236         * text3.C:
7237         * text_funcs.[Ch]:
7238         * textcursor.h:
7239         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7240           text*.C to text_func.C
7241
7242 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * introduce namespace lyx::support
7245
7246 2003-06-30  André Pönitz  <poenitz@gmx.net>
7247
7248         * Chktex.C:
7249         * funcrequest.C:
7250         * lyxtext.h:
7251         * text.C: re-enable --with-included-string
7252
7253 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7254
7255         * textcursor.C: add <config.h>
7256
7257         * text.C (getWord): remove const from word_location arg
7258
7259         * lyxvc.C (getLogFile): fix const type order
7260
7261         * lyxtext.h: remove const from word_location arg, add arg name
7262
7263         * lyxlayout.h: currect type on labeltype.
7264
7265         * importer.C: correct \file
7266
7267         * converter.C (intToFormat): use std:: on ret val, ws changes
7268
7269         * bufferlist.h: correct \file
7270
7271         * buffer.C (makeLinuxDocFile): fix const type order
7272         (makeDocBookFile): ditto
7273         (fillWithBibKeys): use std:: on stdlib args.
7274
7275         * CutAndPaste.C: fix authors.
7276         (availableSelections): use std:: on return vector
7277
7278 2003-06-27  André Pönitz  <poenitz@gmx.net>
7279
7280         * BufferView_pimpl.C:
7281         * bufferview_funcs.C:
7282         * lyxcursor.C:
7283         * lyxcursor.h:
7284         * lyxfunc.C:
7285         * lyxtext.h:
7286         * rowpainter.C:
7287         * text.C:
7288         * text2.C:
7289         * text3.C: remove LyXCursor::row_ member
7290
7291         * lyxtext.h:
7292         * text.C: rename fullRebreak() to partialRebreak() and implement
7293           a fullRebreak() that really bereks fully
7294
7295         * textcursor.h: new struct for cursor-related data
7296
7297 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7298
7299         * lyx_main.C (LyX): get full path of document loaded on the
7300         command line
7301
7302 2003-06-26  André Pönitz  <poenitz@gmx.net>
7303
7304         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7305           remove unused/broken operator>,<,>=.
7306
7307         *       text.C: remove only use of broken operator<= in an Assert().
7308
7309 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7310
7311         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7312         moved errorlist_.clear to showErrorList
7313
7314 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7315
7316         * converter.C (scanLog, runLaTeX):
7317         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7318         move the bv->showErrorList call to the callers
7319         * lyxfunc.C: i.e. here...
7320         * text2.C: and here
7321         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7322         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7323         namespace, the second to...
7324         * buffer_funcs (BufferFormat, parseErrors): added
7325         * errorlist.C (ErrorList(TeXErrors const &)): removed
7326
7327 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7328
7329         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7330
7331 2003-06-24  "Garst R. Reese" <reese@isn.net>
7332
7333         * debug.C: fix typo
7334
7335 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7336
7337         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7338
7339         * version.C.in: change docversion to 1.4
7340
7341 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7342
7343         * buffer.C: fix a bug just introduced
7344
7345 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7346
7347         * buffer.[Ch]: added the parseError signal and use it, removed
7348         sgmlError
7349         * BufferView.[Ch] (addError): moved to ...
7350         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7351         to the Buffer::parseError signal to catch (guess what) parse errors
7352         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7353
7354 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7355
7356         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7357         ability to create a buffer and to return an existing one from
7358         the list. Moved these functions to...
7359         * buffer_funcs.[Ch]: added
7360         * BufferView.[Ch] (loadLyXFile): added
7361         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7362         job removed from bufferlist::loadLyXFile.
7363         * buffer.C (setReadOnly): make it work without view
7364         (i.e added an if (users))
7365
7366 2003-06-19  Angus Leeming  <leeming@lyx.org>
7367
7368         * lfuns.h:
7369         * LyXAction.C (init):
7370         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7371         with LFUN_DIALOG_SHOW <name> <data>.
7372
7373 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7374
7375         * CutAndPaste.C (availableSelections): small compilation fix for
7376         ancient (gcc 2.9x) compilers
7377
7378 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7379
7380         * text3.C (cursorNext): add tmp var
7381
7382         * text2.C (updateCounters): for function calling out of for clause
7383         (replaceSelectionWithString): ditto
7384         (insertStringAsParagraphs): ditto
7385         (getColumnNearX): add tmp var
7386         (setCursorFromCoordinates): add tmp var
7387         (cursorDownParagraph): add tmp var
7388         (deleteEmptyParagraphMechanism): add tmp var
7389
7390         * text.C (insertChar): add tmp var
7391
7392         * rowpainter.C (paintDepthBar): add tmp var
7393
7394         * CutAndPaste.C (availableSelections): potentially check all
7395         paragraphs in a cut to fill the shown strings.
7396
7397 2003-06-18  André Pönitz  <poenitz@gmx.net>
7398
7399         * kbmap.[Ch]: use vector<> instead of list<>
7400
7401 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7402
7403         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7404         pasteSelection with index
7405
7406         * text2.C (pasteSelection): modify, call pasteSelection with index
7407
7408         * paragraph.C (asString): reimplement version with no interval to
7409         call the one with interval.
7410
7411         * lyxtext.h: add index arg to pasteSelection
7412
7413         * MenuBackend.C (MenuItem): handle PasteRecent
7414         (Menu::read::Menutags): add md_pasterecent
7415         (read): handle it
7416         (expandPasteRecent): new function
7417         (expand): use it
7418
7419         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7420
7421         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7422         the limited stack
7423         (availableSelections): new function
7424
7425 2003-06-17  Angus Leeming  <leeming@lyx.org>
7426
7427         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7428
7429 2003-06-17  Angus Leeming  <leeming@lyx.org>
7430
7431         * lfuns.h:
7432         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7433
7434         * lyxfunc.C (dispatch): invoke it.
7435
7436 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7437
7438         * iterators.C (operator++, ParPosition): reintroduce some
7439         const_cast for the benefit of older compilers.
7440
7441 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7442
7443         * text3.C (dispatch): do not modify clipboard when doing
7444         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7445         LFUN_DELETE_SKIP on a selection selection
7446
7447 2003-06-16  André Pönitz  <poenitz@gmx.net>
7448
7449         * BufferView.C:
7450         * buffer.C:
7451         * buffer.h:
7452         * paragraph.C:
7453         * tabular.[Ch]: IU of clone() and getLabelList();
7454
7455 2003-06-13  André Pönitz  <poenitz@gmx.net>
7456
7457         * tabular.h: compactification
7458
7459 2003-06-12  André Pönitz  <poenitz@gmx.net>
7460
7461         * tabular.C:
7462         * tabular.h:
7463         * tabular_funcs.h: some renaming plus whitespace
7464
7465 2003-06-12  André Pönitz  <poenitz@gmx.net>
7466
7467         * BufferView.C:
7468         * BufferView_pimpl.C:
7469         * CutAndPaste.C:
7470         * buffer.C:
7471         * iterators.[Ch]:
7472         * lyxfunc.C:
7473         * text.C:
7474         * toc.C: Return a Paragraph & for ParIterator::operator*()
7475
7476 2003-06-11  John Levon  <levon@movementarian.org>
7477
7478         * lyx_main.C:
7479         * ToolbarBackend.h:
7480         * ToolbarBackend.C: add "Toolbars" section and
7481         put the flags there
7482
7483 2003-06-10  Angus Leeming  <leeming@lyx.org>
7484
7485         * lfuns.h:
7486         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7487
7488         * lyxfunc.C (dispatch): invoke it.
7489
7490 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * main.C: protect <ios> with HAVE_IOS
7493         (main): protect sync_with_stdio with HAVE_IOS
7494
7495 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7496
7497         * text2.C (cutSelection): adjust
7498         (pasteSelection): adjust
7499
7500         * messages.C: handle get of empty string
7501
7502         * main.C (main): use sync_with_stdio(false)
7503
7504         * lyxfunc.C (dispatch): adjust
7505
7506         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7507         (WriteAs): remove unneeded BufferView arg.
7508
7509         * bufferparams.h: use correct types on papersize, papersize2 and
7510         paperpackage.
7511
7512         * bufferparams.C (readToken): adjust for type
7513         (writeLaTeX): add missing cases to switch.
7514
7515         * bufferlist.C (quitWriteBuffer): adjust
7516         (close): adjust
7517
7518         * buffer.C (asciiParagraph): remove some commented code.
7519
7520         * CutAndPaste.C: remove current_view extern variable.
7521         (cutSelection): add BufferParams arg.
7522         (eraseSelection): add BufferParams arg.
7523         (pasteSelection): add Buffer const & arg
7524
7525 2003-06-07  John Levon  <levon@movementarian.org>
7526
7527         * buffer.C:
7528         * paragraph_funcs.C:
7529         * paragraph_pimpl.C:
7530         * text.C:
7531         * text2.C:
7532         * paragraph.h:
7533         * paragraph.C: allow InsetERT to freely space lines,
7534         and some consolidation of code
7535
7536 2003-06-06  José Matos  <jamatos@fep.up.pt>
7537
7538         * buffer.C (makeDocBookFile): fix bug #821
7539
7540 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7541
7542         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7543
7544 2003-06-04  Angus Leeming  <leeming@lyx.org>
7545
7546         * buffer.C: bump format to 224.
7547
7548 2003-06-05  André Pönitz  <poenitz@gmx.net>
7549
7550         * text2.C (redoParagraphs): remove two const_cast<>
7551
7552 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7553
7554         * ParagraphList.h: remove last remnants of NO_STD_LIST
7555
7556 2003-06-03  Angus Leeming  <leeming@lyx.org>
7557
7558         * factory.C (createInset): small change to the way InsetExternal's params
7559         are set.
7560
7561 2003-06-04  André Pönitz  <poenitz@gmx.net>
7562
7563         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7564
7565         * paragraph_pimpl.h:
7566         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7567
7568         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7569
7570         * undo_funcs.C: make some simple cases of undo work again
7571
7572 2003-06-03  John Levon  <levon@movementarian.org>
7573
7574         * ispell.C: HPUX doesn't have sys/select.h
7575         (from Albert Chin)
7576
7577 2003-06-03  John Levon  <levon@movementarian.org>
7578
7579         * CutAndPaste.C: update tabular and include inset
7580         buffer references
7581
7582         * buffer.h:
7583         * paragraph.h:
7584         * paragraph.C: remove owningBuffer(), don't pass Buffer
7585         to clone()
7586
7587         * factory.C: insetGraphicsParams changed
7588
7589 2003-06-02  John Levon  <levon@movementarian.org>
7590
7591         * LyXAction.C:
7592         * factory.C:
7593         * lfuns.h:
7594         * lyxfunc.C:
7595         * text3.C: remove insetparent
7596
7597 2003-06-02  John Levon  <levon@movementarian.org>
7598
7599         * buffer.h:
7600         * buffer.C: fix inset_iterator.end(), move out of line
7601         (bug 1149)
7602
7603 2003-06-01  John Levon  <levon@movementarian.org>
7604
7605         * text3.C: use a proper cut/paste when doing inset
7606         insert (from Jürgen Spitzmüller)
7607
7608 2003-06-01  John Levon  <levon@movementarian.org>
7609
7610         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7611
7612 2003-05-30  André Pönitz  <poenitz@gmx.net>
7613
7614         * rowpainter.C: unify second drawing phase
7615
7616 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * trans_mgr.C: remove one case of current_view
7619
7620         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7621
7622         * paragraph_funcs.h: remove paragraph.h include
7623
7624         * paragraph.h: delete NO_STD_LIST stuff
7625
7626         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7627
7628         * buffer.h: remove paragraph.h include
7629
7630         * ParagraphList.C: delete file
7631
7632         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7633
7634         * toc.C (getTocList): adjust
7635
7636         * paragraph_pimpl.C (validate): adjust
7637
7638         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7639
7640         * paragraph.C (Paragraph): adjust
7641         (getPositionOfInset): use const_iterator, adjust
7642         (bibitem): use const_iterator, adjust
7643         (setInsetOwner): adjust
7644
7645         * iterators.C (operator++): adjust
7646
7647         * InsetList.[Ch]: Replace selfmade iterator with standard
7648         vector::iterator also introduce const_iterator. Remove getPos,
7649         getInset and setInset from InsetTable. Adjust accordingly.
7650
7651         * BufferView.C (lockInset): adjust
7652         (ChangeInsets): adjust
7653
7654         * tabular.[Ch]: delete commented same_id functions
7655
7656 2003-05-28  John Levon  <levon@movementarian.org>
7657
7658         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7659
7660 2003-05-28  André Pönitz  <poenitz@gmx.net>
7661
7662         * metricsinfo.[Ch]: remove 'fullredraw' member
7663
7664 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7665
7666         * lyxtextclass.C (operator): remove caching.
7667
7668 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * text3.C: adjust
7671
7672         * text2.C (cursorBottom): adjust
7673         (setCounter): use ParagraphList::find, adjust
7674
7675         * text.C (workWidth): use ParagraphList::find, adjust
7676
7677         * lyxcursor.C (LyXCursor): adjust
7678
7679         * buffer.C (inset_iterator): adjust
7680
7681         * ParagraphList.h: make iterator(value_type) private, make
7682         ParagraphList a friend of iterator.
7683
7684         * ParagraphList.C (find): new function
7685
7686         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7687
7688 2003-05-27  André Pönitz  <poenitz@gmx.net>
7689
7690         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7691
7692 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7693
7694         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7695
7696 2003-05-26  John Levon  <levon@movementarian.org>
7697
7698         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7699
7700 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * remove same_id from function signatures, adjust.
7703
7704 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7707
7708         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7709
7710         * paragraph.C (Paragraph): get rid of same_ids parameter
7711
7712         * ParagraphList.C (insert): adjust
7713         (push_back): adjust
7714
7715 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * paragraph_funcs.C (breakParagraph): adjust
7718         (breakParagraphConservative): adjust
7719
7720         * buffer.C (readParagraph): adjust
7721
7722         * ParagraphList.C (insert): take a reference instead of a pointer
7723         (insert): adjust
7724
7725         * paragraph.[Ch] (id): new function
7726
7727         * bufferlist.C (newFile): adjust
7728
7729         * ParagraphList.C (ParagraphList): adjust
7730         (assign): adjust
7731         (push_back): take a reference instead of a pointer.
7732
7733         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7734
7735         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7736         instead.
7737
7738         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7739         set else use old code.
7740
7741         * ParagraphList.C: remove all NO_NEXT code and only compile this
7742         code of NO_STD_LIST is set.
7743
7744 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7745
7746         * BufferView_pimpl.C:
7747         * TextCache.C:
7748         * TextCache.h:
7749         * bufferlist.C:
7750         * errorlist.h:
7751         * format.C:
7752         * format.h:
7753         * graph.C:
7754         * lyxfunc.C:
7755         * lyxrc.C:
7756         * graphics/GraphicsConverter.C:
7757         * graphics/PreviewLoader.C: header adjustment
7758
7759 2003-05-23  Angus Leeming  <leeming@lyx.org>
7760
7761         * LaTeXFeatures.[Ch] (useBabel): new method.
7762         * bufferparams.C (writeLaTeX): use it.
7763
7764 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * ParagraphList.h (set): remove unused function.
7767
7768 2003-05-23  André Pönitz  <poenitz@gmx.net>
7769
7770         * BufferView.C:
7771         * BufferView_pimpl.C:
7772         * buffer.C:
7773         * buffer.h:
7774         * lyxfunc.C:
7775         * undo_funcs.C: setUndo reworked
7776
7777         * iterators.[Ch]: add access to topmost ParagraphList
7778
7779         * lyxtext.[Ch] (workWidth): add a const
7780
7781 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7782
7783         * texrow.[Ch] (increasePos): remove function
7784         * exporter.C (export): removed unused var and outdated comment
7785
7786 2003-05-23  Angus Leeming  <leeming@lyx.org>
7787
7788         * latexrunparams.h: rename fragile as moving_arg.
7789         * paragraph.C (simpleTeXOnePar): ditto.
7790         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7791
7792 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7795         (createUndo): ditto
7796         (textUndoOrRedo): comment out a currently unused var.
7797
7798         * paragraph.h (NO_NEXT): enable NO_NEXT
7799
7800         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7801
7802         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7803
7804         * exporter.C (Export): adjust for removeAutoInsets removal.
7805
7806         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7807
7808         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7809
7810         * BufferView.[Ch] (removeAutoInsets): delete function
7811
7812 2003-05-22  Angus Leeming  <leeming@lyx.org>
7813
7814         * latexrunparams.h: add a free_spacing variable.
7815
7816         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7817         to pass moving_arg, as the data is stored in runparams.fragile.
7818
7819         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7820         to Inset::latexOptional or to simpleTeXOnePar.
7821
7822         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7823         free_spacing arg to Inset::latexOptional.
7824
7825         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7826         free_spacing arg.
7827
7828 2003-05-22  Angus Leeming  <leeming@lyx.org>
7829
7830         * latexrunparams.h: add fragile and use_babel variables.
7831
7832         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7833         * buffer.C (makeLaTeXFile): store this returned value in
7834         runparams.use_babel, thus passing it to the inset::latex methods.
7835
7836         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7837         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7838
7839         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7840         longer has a fragile arg, as it is stored in runparams.fragile.
7841
7842         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7843         moving_arg parameter as the data is stored in runparams.fragile.
7844
7845         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7846         a fragile parameter as the data is stored in runparams.fragile.
7847
7848 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7851
7852 2003-05-22  Angus Leeming  <leeming@lyx.org>
7853
7854         * latexrunparams.h: add a 'bool nice' which defaults to false.
7855
7856         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7857         now encapsulated within runparams.
7858
7859         * bufferlist.C (updateIncludedTeXfiles):
7860         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7861
7862 2003-05-22  Angus Leeming  <leeming@lyx.org>
7863
7864         * latexrunparams.h: new file containing struct LatexRunParams.
7865         * Makefile.am: add new file.
7866
7867         * LaTeX.[Ch] (c-tor, run):
7868         * buffer.[Ch] (makeLaTeXFile):
7869         * bufferlist.[Ch] (updateIncludedTeXfiles):
7870         * converter.C (convert, scanLog):
7871         * converter.[Ch] (runLaTeX):
7872         * exporter.C (Export):
7873         * paragraph.[Ch] (simpleTeXOnePar):
7874         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7875         * paragraph_funcs.[Ch] (latexParagraphs):
7876         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7877         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7878         pass around a LatexRunParams parameter.
7879
7880 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * paragraph.[Ch]: remove unused constructor
7883
7884         * ParagraphList.C (erase): new function, taking two iterators
7885
7886 2003-05-22  André Pönitz  <poenitz@gmx.net>
7887
7888         * undo_funcs.C: remove duplicated code
7889
7890         * iterator.[Ch]: operator=
7891
7892 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * tabular.C (SetMultiColumn): ws changes
7895
7896         * rowpainter.C (paintFirst): get rid of a ->previous
7897
7898         * lyx_cb.C (getPossibleLabel): parlist simplification
7899
7900         * BufferView.C (ChangeInsets): simplify slightly.
7901
7902 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7903
7904         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7905         * lfuns.h: new LFUN_SPACE
7906         * lyxfunc.C: protected space has a new lfun
7907         * paragraph_funcs.C: read new space insets
7908         * text3.C:
7909         * factory.C: handle new space insets
7910
7911 2003-05-22  André Pönitz  <poenitz@gmx.net>
7912
7913         * BufferView.C:
7914         * BufferView_pimpl.C:
7915         * buffer.[Ch]:
7916         * lyxfunc.C:
7917         * undo_funcs.C: return a ParIterator from getParFromID.
7918
7919         * iterators.[Ch]: add two const's
7920
7921 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * toc.C (getTocList): adjust
7924
7925         * iterators.[Ch]: rework for parlist
7926
7927         * buffer.C (par_iterator_begin): adjust
7928         (par_iterator_end): adjust
7929
7930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7931
7932         * BufferView.C (removeAutoInsets): adjust
7933         (ChangeInsets): adjust
7934
7935 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7936
7937         * text.C (top_y): fix bug 1110
7938
7939 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7940
7941         * errorlist.[Ch]: added
7942         * buffer.C:
7943         * BufferView.[Ch]:
7944         * BufferView_pimpl.C:
7945         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7946         instead
7947
7948 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * Makefile.am: ensure that lyx is relinked upon changes to the
7951         various "convenience" libs.
7952
7953 2003-05-20  Angus Leeming  <leeming@lyx.org>
7954
7955         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7956         files are compiled in alphabetical order again.
7957
7958         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7959
7960 2003-05-19  Angus Leeming  <leeming@lyx.org>
7961
7962         * gettext.[Ch]: remove "char const * _(char const *)".
7963
7964 2003-05-19  André Pönitz  <poenitz@gmx.net>
7965
7966         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7967
7968         * Makefile.am:
7969         * BufferView.C:
7970         * DepTable.h:
7971         * LaTeXFeatures.C:
7972         * buffer.C:
7973         * lyxfont.C:
7974         * lyxlex.h:
7975         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7976
7977 2003-05-19  André Pönitz  <poenitz@gmx.net>
7978
7979         * buffer.C:
7980         * lyxlayout.[Ch]:
7981         * lyxtextclass.[Ch]:
7982         * paragraph.C:
7983         * paragraph_funcs.[Ch]:
7984         * text2.C:
7985         * text3.C: more insetenv work
7986
7987 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7988
7989         * ParagraphParameters.C (params2string): small bug fixed
7990
7991 2003-05-16  André Pönitz  <poenitz@gmx.net>
7992
7993         * debug.C:
7994         * bufferview_funcs.C: patch from Kornel Benko to prevent
7995           crash when _(...) is called twice in a statement
7996
7997 2003-05-16  André Pönitz  <poenitz@gmx.net>
7998
7999         * BufferView.C:
8000         * lyxfunc.C:
8001         * text.C:
8002         * text2.C:
8003         * text3.C:
8004         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8005
8006 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8007
8008         * lyx_main.C (init): remove spurious static_cast
8009
8010 2003-05-14  André Pönitz  <poenitz@gmx.net>
8011
8012         * BufferView.C: fix format string
8013
8014 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8015
8016         * BufferView.[Ch] (insertErrors): removed
8017         * BufferView.[Ch] (showErrorList): added
8018         * buffer.C (runChkTeX):
8019         * converter.C (scanLog): call showErrorList instead of inserterrors
8020
8021 2003-05-13  André Pönitz  <poenitz@gmx.net>
8022
8023         * BufferView_pimpl.C:
8024         * buffer.C:
8025         * bufferview_func.C:
8026         * MenuBackend.C:
8027         * lyxfunc.C:
8028         * lyxrc.C:
8029         * tex-accent.C:
8030         * text3.C:
8031         * toc.C:
8032         * tabular_funcs.h: tostr() from its own header
8033
8034         * ParagraphParameters.C:
8035         * ToolbarBackend.C:
8036         * bufferparams.C:
8037         * format.C:
8038         * lyxlex_pimpl.C:
8039         * text3.C: STRCONV()
8040
8041 2003-05-12  André Pönitz  <poenitz@gmx.net>
8042
8043         * BufferView.C:
8044         * BufferView_pimpl.C:
8045         * CutAndPaste.C:
8046         * LaTeX.C:
8047         * LaTeXFeatures.C:
8048         * ParagraphParameters.C:
8049         * buffer.C:
8050         * bufferlist.C:
8051         * bufferparams.C:
8052         * bufferview_funcs.C:
8053         * converter.C:
8054         * counters.C:
8055         * debug.C:
8056         * exporter.C:
8057         * format.C:
8058         * importer.C:
8059         * lyx_cb.C:
8060         * lyx_main.C:
8061         * lyxfont.C:
8062         * lyxfunc.C:
8063         * lyxvc.C:
8064         * paragraph.C:
8065         * paragraph_funcs.C:
8066         * tabular.C:
8067         * tabular_funcs.C:
8068         * text2.C:
8069         * text3.C:  boost::format -> bformat  all over the place
8070
8071
8072 2003-05-09  André Pönitz  <poenitz@gmx.net>
8073
8074         * LColor.[Ch]: Pimpl the #include <map> away
8075
8076 2003-05-09  John Levon  <levon@movementarian.org>
8077
8078         * bufferlist.C: never remove emergency saves
8079
8080 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * Makefile.am: better lib building
8083
8084 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8087         instead.
8088         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8089         (simpleTeXSpecialChars): adjust
8090         (simpleTeXSpecialChars): adjust
8091         * paragraph.C (simpleTeXOnePar): adjust
8092         * buffer.C (makeLaTeXFile): adjust
8093
8094         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8095
8096         * text2.C (changeDepth): parlist cleanup
8097         (getColumnNearX): ditto
8098
8099         * rowpainter.C (getLabelFont): parlist cleanup
8100
8101         * bufferlist.C (newFile): parlist cleanup
8102
8103         * CutAndPaste.C (eraseSelection): parlist cleanup
8104
8105         * BufferView_pimpl.C (trackChanges): parlist cleanup
8106         (dispatch): ditto
8107
8108         * BufferView.C (lockInset): parlist cleanup.
8109         (ChangeInsets): ditto
8110
8111 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * CutAndPaste.h: Update file header.
8114
8115         * CutAndPaste.C: Update file header.
8116         Store the parts cut out of the Document in a limited_stack.
8117         (copySelection): adjust
8118         (pasteSelection): new function, takes the index in the limited stack.
8119         (nrOfParagraphs): adjust
8120         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8121         simplify error inset insertion.
8122         (checkPastePossible): adjust
8123
8124 2003-05-06  John Levon  <levon@movementarian.org>
8125
8126         * text2.C: don't cast wrap inset to float
8127
8128 2003-05-05  André Pönitz  <poenitz@gmx.net>
8129
8130         * iterator.C:
8131         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8132
8133         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8134           few naked Paragraph *.
8135
8136 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8137
8138         * bufferparams.C: Output warning if a document with missing
8139         TeX document class is loaded
8140         * exporter.C: Disable TeX exports if the document class is missing
8141         * lyxtextclass.C:
8142         * lyxtextclass.h:
8143         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8144         isTeXClassAvailable()
8145
8146 2003-05-03  John Levon  <levon@movementarian.org>
8147
8148         * BufferView.h:
8149         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8150         explicit cursor show/hide
8151
8152         * BufferView_pimpl.h:
8153         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8154         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8155
8156         * lyxfunc.C: hide cursor before dispatching.
8157
8158         * lyx_cb.C:
8159         * lyxfind.C:
8160         * text.C:
8161         * text3.C: remove explicit cursor hides
8162
8163 2003-05-02  André Pönitz  <poenitz@gmx.net>
8164
8165         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8166
8167         * undo_funcs.C:
8168         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8169           linked lists
8170
8171         * text2.C: tiny whitespace
8172
8173 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * undo_funcs.C: almost only ws changes.
8176
8177         * ParagraphList.C (splice): just return if pl is empty.
8178
8179 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8180
8181         * ParagraphList.C (splice): new function.
8182
8183         * CutAndPaste.C (pasteSelection): use it
8184
8185 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * CutAndPaste.C (pasteSelection): remove the last next and
8188         previous from this file.
8189
8190 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8191
8192         * CutAndPaste.C (pasteSelection): more clean up, user proper
8193         ParagraphList functions for pasteing.
8194
8195         * ParagraphList.C (insert): new function, three arg insert
8196
8197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8198
8199         * ParagraphList.C (insert): new function, three arg insert
8200
8201         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8202         not on paragraphs.
8203
8204 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8205
8206         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8207
8208 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8209
8210         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8211
8212 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8213
8214         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8215         (copySelection): clean up a bit.
8216         (pasteSelection): use make_pair
8217
8218         * ParagraphList.C (ParagraphList): implement copy constructor
8219         (operator=): implement, base on copy constructor.
8220         (assign): new func
8221
8222         * paragraph.C (erase): return a bool
8223
8224         * paragraph_pimpl.C (erasePos): remove function, move contents...
8225         (erase): ... here. Return a bool.
8226         (erase): call erase instead of erasePos.
8227
8228 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8229
8230         * ParagraphList.h: define PitPosPair
8231         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8232         ParagraphList, fix a bug on pasting multiple pars
8233         * text2.C: change interface to C&P
8234
8235 2003-04-30  André Pönitz  <poenitz@gmx.net>
8236
8237         * undo_func.C: revert part of yesterday's patch 2
8238
8239 2003-04-30  John Levon  <levon@movementarian.org>
8240
8241         * LColor.C: s/tabular/table/
8242
8243 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * text3.C (dispatch): do not convert iterator -> pointer
8246         * undo_funcs.C (setCursorParUndo): ditto
8247         * text_funcs.C (transposeChars): ditto
8248
8249         * text2.C (setLayout): ws changes only
8250
8251         * text.C (breakParagraph): do not convert iterator -> pointer
8252         (insertChar): ditto
8253         (acceptChange): ditto
8254         (rejectChange): ditto
8255         (changeCase): ditto
8256         (Delete): ditto
8257         (backspace): ditto
8258
8259         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8260         pointer
8261
8262 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8263
8264         * text3.C (gotoInset): YABG (yet another bad getChar)
8265
8266 2003-04-29  André Pönitz  <poenitz@gmx.net>
8267
8268         * paragraph.h: make operator= private unimplemented as long as
8269           it is unusable
8270
8271         * ParagraphList.C: whitespace
8272
8273         * paragraph.[Ch]:
8274         * paragraph_pimpl.[Ch]:
8275         * paragraph_funcs.C:
8276         * CutAndPaste.C:
8277         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8278
8279         * text2.C:
8280           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8281
8282 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8283
8284         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8285         * paragraph.[Ch] (erase):
8286         * paragraph_pimpl.[Ch] (erase): change return type and value
8287         * text2.C (cutSelection): some rework
8288
8289 2003-04-28  John Levon  <levon@movementarian.org>
8290
8291         * bufferlist.C: changes for unsaved changes dialog
8292
8293 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8294
8295         * bufferlist.C (newFile): set language (messages_) for new
8296         documents also.
8297
8298         * buffer.C (readFile): ws changes only.
8299
8300 2003-04-28  André Pönitz  <poenitz@gmx.net>
8301
8302         * undo_funcs.C:
8303         * lyxfunc.C:
8304         * buffer.[Ch]:
8305         * BufferView_pimpl.C:
8306         * BufferView.C: getParFromID related ParagraphList::iterator changes
8307
8308 2003-04-28  André Pönitz  <poenitz@gmx.net>
8309
8310         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8311           Changes
8312
8313 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8314
8315         * messages.C: remove one more localedir class variable.
8316
8317 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8318
8319         * messages.C (getLocaleDir): singleton generation function
8320         (Pimpl): use it.
8321         (Messages): add a default constructor.
8322
8323         * main.C (main): do not setup localedir here, do not call
8324         gettext_init.
8325
8326         * gettext.C (_): use it.
8327         (gettext_init): delete funciton
8328
8329 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * gettext.C (getLyXMessages): new singleton generating function.
8332
8333         * buffer.C (updateDocLang): adjust
8334
8335         * Makefile.am (messages.o): add target
8336         (main.o): remove target
8337
8338 2003-04-27  John Levon  <levon@movementarian.org>
8339
8340         * bufferlist.C:
8341         * lyx_cb.C:
8342         * lyxfunc.C:
8343         * lyxvc.C: specify cancel button in Alert::prompt
8344
8345 2003-04-26  John Levon  <levon@movementarian.org>
8346
8347         * text3.C:
8348         * lyxfunc.C:
8349         * lfuns.h:
8350         * LyXAction.C: add LFUN_INSET_SETTINGS
8351
8352         * lyxfunc.C: don't enable tabular-feature when there's
8353         just any locking inset
8354
8355 2003-04-26  John Levon  <levon@movementarian.org>
8356
8357         * bufferlist.C: re-add Cancel to buffer close question
8358
8359         * lyxfunc.C: fix import UI a bit
8360
8361 2003-04-25  John Levon  <levon@movementarian.org>
8362
8363         * gettext.C: remove the broken asserts for now
8364
8365 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * messages.C: make case where setlocale cannot comply work better.
8368
8369         * buffer.C (updateDocLang): new function
8370         (changeLanguage): use it
8371         (readFile): use it
8372
8373         * text2.C (setCounter): use B_ a bit.
8374
8375         * lyxlayout.C (Read): be sure to trim the label strings.
8376
8377         * messages.C (Messages): fix typo in comment
8378
8379         * buffer.C (readFile): set message_ after file is loaded.
8380         (makeDocBookFile): remove double return
8381         (changeLanguage): reset message_ upon language change.
8382         (B_): new func, use this to get translated buffer strings.
8383
8384         * main.C: add myself and Jean Marc as authors.
8385
8386 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * messages.[hC]: pimplify Messages, and three different pimpls to be
8389         used in different circumstances.
8390
8391         * gettext.[Ch]: change for use with new message code.
8392
8393 2003-04-24 André Pönitz <poenitz@gmx.net>
8394
8395         * factory.C: support for eqref
8396
8397 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * messages.[Ch]: add missing char
8400
8401         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8402
8403         * messages.[Ch]: New files
8404
8405 2003-04-18  John Levon  <levon@movementarian.org>
8406
8407         * BufferView.h:
8408         * BufferView.C:
8409         * BufferView_pimpl.C:
8410         * lfuns.h:
8411         * LyXAction.C:
8412         * lyxtext.h:
8413         * text2.C: remove layout-copy/paste (bug 778)
8414
8415 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8416
8417         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8418
8419 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8420
8421         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8422         if they succeed. Act accordingly.
8423
8424 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * text2.C (setCharFont): adjust
8427         (setCounter): adjust
8428         (insertStringAsLines): adjust
8429
8430         * text.C (leftMargin): adjust
8431         (setHeightOfRow): adjust
8432
8433         * rowpainter.C (paintFirst): adjust
8434         (paintLast): adjust
8435
8436         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8437         (outerHook): ditto
8438         (isFirstInSequence): ditto
8439         (getEndLabel): ditto
8440         (outerFont): adjust
8441
8442         * paragraph.C (getParLanguage): comment out some hard stuff.
8443
8444         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8445         (sgmlError): ditto
8446         (simpleDocBookOnePar): ditto
8447         (makeDocBookFile): use ParagraphList::iterator
8448
8449         * CutAndPaste.C (pasteSelection): adjust
8450
8451 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8452
8453         * text2.C (getFont): adjust
8454         (getLayoutFont): adjust
8455         (getLabelFont): adjust
8456
8457         * paragraph_funcs.C (TeXOnePar): adjust
8458
8459         * buffer.C (simpleLinuxDocOnePar): adjust
8460         (simpleDocBookOnePar): adjust
8461
8462         * CutAndPaste.C (pasteSelection): adjust
8463
8464         * BufferView.C (getEncoding): adjust
8465
8466         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8467
8468 2003-04-16  John Levon  <levon@movementarian.org>
8469
8470         * lyxfind.C: use parlist stuff for search/changes
8471
8472 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8473
8474         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8475
8476         * text2.C (deleteEmptyParagraphMechanism): adjust
8477
8478         * text2.[Ch] (ownerParagraph): delete func (both of them
8479
8480 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8483
8484 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * ParagraphList.C: prepare for NO_NEXT
8487
8488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * text2.C (getFont): adjust
8491         (getLayoutFont): adjust
8492         (getLabelFont): adjust
8493
8494         * paragraph.C (getFont): adjust
8495         (getLabelFont): adjust
8496         (getLayoutFont): adjust
8497
8498         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8499
8500 2003-04-15  John Levon  <levon@movementarian.org>
8501
8502         From Angus Leeming
8503
8504         * lyx_main.C: handle Include in .ui files
8505
8506 2003-04-15  John Levon  <levon@movementarian.org>
8507
8508         * MenuBackend.C: make the doc files length shorter
8509
8510         * ToolbarBackend.h:
8511         * ToolbarBackend.C: handle toolbar placement flags,
8512         Minibuffer
8513
8514 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8515
8516         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8517         adjust
8518
8519         * paragraph_funcs.C (TeXOnePar): adjust
8520
8521         * paragraph.C (getLabelFont): add outerfont arg, adjust
8522         (getLayoutFont): ditto
8523         (simpleTeXOnePar): adjust
8524
8525         * paragraph_pimpl.C (realizeFont): delete func
8526
8527 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8528
8529         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8530         row argument, constify cur argument.
8531
8532 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8533
8534         * text2.C (getFont): adjust
8535         (getLayoutFont): adjust
8536         (getLabelFont): adjust
8537
8538         * paragraph_funcs.C (TeXOnePar): adjust
8539         (outerFont): new func...
8540         (realizeFont): ...moved out from here, changed this to facilitate
8541         transition
8542
8543         * paragraph.C (getFont): take outerfont as arg, adjust
8544         (simpleTeXOnePar): add outerfont arg, adjust
8545
8546         * buffer.C (simpleLinuxDocOnePar): adjust
8547         (simpleDocBookOnePar): adjust
8548
8549         * CutAndPaste.C (pasteSelection): adjust
8550
8551         * BufferView.C (getEncoding): adjust
8552
8553 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8554
8555         * text2.C (setCharFont): adjust
8556         (setCounter): adjust
8557
8558         * text.C (leftMargin): adjust
8559         (setHeightOfRow): adjust
8560
8561         * rowpainter.C (paintFirst): adjust
8562         (paintLast): adjust
8563
8564         * paragraph_pimpl.C (realizeFont): adjust
8565
8566         * paragraph.C (isFirstInSequence): move from here...
8567         * paragraph_funcs.C (isFirstInSequence): ...to here
8568
8569         * paragraph.C (outerHook): move from here...
8570         * paragraph_funcs.C (outerHook): ...to here
8571
8572         * paragraph.C (depthHook): move from here...
8573         * paragraph_funcs.C (depthHook): ...to here
8574
8575         * paragraph.C (getEndLabel): move from here...
8576         * paragraph_funcs.C (getEndLabel): ...to here
8577
8578         * text2.C (realizeFont): move from here...
8579         * paragraph_funcs.C (realizeFont): ...to here
8580
8581 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8584
8585 2003-04-14  Angus Leeming  <leeming@lyx.org>
8586
8587         * LColor.[Ch]: scrap LColor mathcursor.
8588
8589 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8590
8591         * lyxlex.[Ch] (text): delete function
8592         * trans.C (Load): adjust
8593         * paragraph_funcs.C (readParToken): adjust
8594
8595 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8596
8597         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8598         vector<char> instead of a char[].
8599
8600         * lyxlex_pimpl.C (getString): adjust
8601         (next): adjust
8602         (lex): use getString
8603         (eatLine): adjust
8604         (nextToken): adjust
8605
8606         * lyxlex.C (text): use pimpl_->getString()
8607         (getBool): ditto
8608         (findToken): ditto
8609
8610 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8613         (makeFontEntriesLayoutSpecific): temp var for par.size()
8614         (setLayout): temp var for ownerParagraphs().end()
8615         (fullRebreak): temp var for rows().end()
8616         (selectionAsString): temp var for boost::next(startpit), realize
8617         that the while really is a regular for loop.
8618         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8619         setCursor in one place.
8620         (setParagraph): temp vr for ownerParagraphs().end()
8621         (updateCounters): make the while loop a for loop
8622         (cutSelection): temp var for ownerParagraphs().end()
8623         (updateInset): make the do {} while() a regular for loop
8624         (getCursorX): use temp vars
8625         (setCurrentFont): use temp vars
8626         (getColumnNearX): use temp vars
8627
8628 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8629
8630         * text.C (transformChar): use temp var for getChar
8631         (computeBidiTables): use temp var for row->par()
8632         (fill): move temp vars for row->par() and pit->layout() earlier in
8633         the function.
8634         (labelFill): use temp var for row->par()
8635         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8636         asc and desc, realize that pit never changes and that firstpit is
8637         just a duplicate and not needed. Exchange rit->par() with pit in a
8638         lot of places.
8639         (breakAgain): use a temp var for boost::next(rit)
8640         (breakAgainOneRow): ditto
8641         (breakParagraph): use a temp var for rows().begin()
8642         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8643         (cursorRightOneWord): use temp var for cursor.par() and
8644         cursor.pos(), remove usage of tmpcursor.
8645         (cursorLeftOneWord): use temp var for cursor.par() and
8646         cursor.pos() only set cur at end of function.
8647
8648 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * text.C, text2.C: exchange all usage of Paragraph::next with
8651         boost::next(ParagraphList::iterator)
8652
8653         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8654
8655         * text2.C (cursorTop): simplify implementation
8656         (cursorBottom): ditto
8657         (setParagraph): use ParagraphList::iterator
8658         (setCurrentFont): adjust
8659         (getColumnNearX): adjust
8660         (cursorRight): adjust
8661         (cursorLeft): remove usage of Paragraph::previous
8662         (cursorUpParagraph): ditto
8663         (deleteEmptyParagraphMechanism): slight cleanup
8664
8665         * text.C (isBoundary): take a Paragraph const & instead of a
8666         pointer as arg.
8667         (addressBreakPoint): ditto
8668         (leftMargin): remove usage of Paragraph::previous.
8669         (setHeightOfRow): ditto
8670         (cursorLeftOneWord): ditto
8671         (selectNextWordToSpellcheck): ditto
8672         (Delete): ditto
8673         (backspace): ditto
8674         (breakParagraph): remove one usage of Paragraph::next
8675         (redoParagraph): ditto
8676         (acceptChange): ditto
8677         (insertChar): adjust
8678         (rowBreakPoint): adjust
8679
8680         * bufferview_funcs.C (toggleAndShow): adjust
8681
8682 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8683
8684         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8685         methods to access it.
8686         * lyxtext.h:
8687         * text.C: Added updateRowPositions to compute all row positions.
8688         Make top_y and getRowNearY() to use the cached y position
8689
8690 2003-04-11  John Levon  <levon@movementarian.org>
8691
8692         * text.C (rowBreakPoint): reintroduce the labelEnd
8693         checks, code copied from the row fill stuff. Deep voodoo.
8694
8695         * text.C (fill): add a comment and debugging for the
8696         next poor soul.
8697
8698 2003-04-11  John Levon  <levon@movementarian.org>
8699
8700         * text.C: make sure fullrow insets get wrapped to the next line,
8701         even when they're in a manual label
8702
8703 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8704
8705         * text2.C (insertParagraph): make it take ParagraphList::iterator
8706         as arg.
8707         (setLayout): make it return ParagraphList::iterator
8708         (redoParagraphs): ditto
8709         (setCounter): ditto
8710         (checkParagraph): ditto
8711
8712         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8713
8714         * text2.C: adjust several funcs.
8715         (realizeFont): take a ParagraphList::iterator as arg.
8716         (getLayoutFont): ditto
8717         (getLabelFont): ditto
8718         (setCharFont): ditto
8719
8720         * text.C: adjust several funcs.
8721
8722 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8723
8724         * text.C (selectNextWordToSpellcheck): don't accidentally
8725         skip insets
8726
8727 2003-04-10  John Levon  <levon@movementarian.org>
8728
8729         * ToolbarBackend.C (getIcon): special handling for
8730         LFUN_MATH_DELIM
8731
8732 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8733
8734         * text2.C (cursorRight): a getChar assert fixed
8735
8736 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * text2.C (getFont): change to take a ParagraphList::iterator
8739         instead of Paragraph*
8740         Adjust several functions.
8741
8742         * text.C (transformChar): change to take a ParagraphList::iterator
8743         instead of Paragraph*
8744         (singleWidth): ditto
8745         Adjust several functions.
8746
8747         * rowpainter.C: adjust several functions
8748         * rowpainter.h:store a ParagraphList::iterator and not a
8749         Paragraph&.
8750
8751
8752 2003-04-09  John Levon  <levon@movementarian.org>
8753
8754         * lyxfunc.C:
8755         * lfuns.h:
8756         * LyXAction.h:
8757         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8758         and the "help" bits as well
8759
8760 2003-04-09  John Levon  <levon@movementarian.org>
8761
8762         * ToolbarBackend.h:
8763         * ToolbarBackend.C: allow multiple toolbars
8764
8765 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8766
8767         * undo_funcs.C (setCursorParUndo): adjust
8768
8769         * text_funcs.C (transposeChars): adjust
8770
8771         * text3.C (gotoNextInset): adjust
8772         (dispatch): adjust
8773
8774         * text2.C (setLayout): adjust
8775         (changeDepth): adjust
8776         (setFont): adjust
8777         (redoParagraphs): adjust
8778         (selectionAsString): adjust
8779         (setParagraph): adjust
8780         (insertInset): adjust
8781         (cutSelection): adjust
8782         (copySelection): adjust
8783         (pasteSelection): adjust
8784         (insertStringAsLines): adjust
8785         (updateInset): adjust
8786         (setCursor): change to take a ParagraphList::iterator parameter
8787         (setCursorIntern): change to take a ParagraphList::iterator parameter
8788         (setCurrentFont): adjust
8789         (cursorLeft): adjust
8790         (cursorRight): adjust
8791         (deleteEmptyParagraphMechanism): adjust
8792
8793         * text.C (breakParagraph): adjust
8794         (insertChar): adjust
8795         (acceptChange): adjust
8796         (rejectChange): adjust
8797         (selectNextWordToSpellcheck): adjust
8798         (changeCase): adjust
8799         (Delete): adjust
8800         (backspace): adjust
8801
8802         * lyxfind.C (SearchForward): adjust
8803         (SearchBackward): adjust
8804         (nextChange): adjust
8805
8806         * lyxcursor.C (par): adjust
8807
8808         * lyxcursor.h: store a ParagraphList::iterator instead of a
8809         Paragraph*
8810
8811         * lyx_cb.C (getPossibleLabel): adjust
8812
8813         * bufferview_funcs.C (toggleAndShow): adjust
8814
8815         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8816         (dispatch): adjust
8817
8818         * BufferView.C (removeAutoInsets): adjust
8819         (lockedInsetStoreUndo): adjust
8820
8821 2003-04-09  John Levon  <levon@movementarian.org>
8822
8823         * ToolbarBackend.C: try icon without argument
8824         if with argument fails
8825
8826 2003-04-08  John Levon  <levon@movementarian.org>
8827
8828         * ToolbarBackend.h:
8829         * ToolbarBackend.C: add getIcon(), handle tooltip,
8830         and change from "Icon" to "Item".
8831
8832 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8833
8834         * BufferView.C (lockInset): another bad getchar crunched
8835
8836 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8837
8838         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8839         again)
8840
8841 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8842
8843         * lyxfind.C (searchForward, searchBackwards): bug 782
8844
8845 2003-04-07  John Levon  <levon@movementarian.org>
8846
8847         * paragraph.C: remove dead comment
8848
8849         * text.C: remove troublesome depth-fiddling code
8850         in leftMargin() and rightMargin() (bug 1017)
8851
8852         * text.C: fix breaking of rows in nested lists
8853         (bug 1004)
8854
8855         * text2.C (updateCounters): fix up depth values
8856         (bug 1013)
8857
8858 2003-04-07  John Levon  <levon@movementarian.org>
8859
8860         * BufferView_pimpl.C: clear message when doc finishes resizing,
8861         and after a mouse event
8862
8863         * lyxfunc.C: clear message after exiting inset
8864
8865 2003-04-07  John Levon  <levon@movementarian.org>
8866
8867         * bufferview_funcs.C: show math status not outside
8868         status in the statusbar
8869
8870 2003-04-07  John Levon  <levon@movementarian.org>
8871
8872         * lyxfunc.C: note status changed after a depth change
8873
8874 2003-04-04  Angus Leeming  <leeming@lyx.org>
8875
8876         * LaTeX.h: move AuxInfo operator==, != out of line.
8877         Remove LaTeX virtual destructor; nothing derives from it.
8878         Move operator()() out of public area and rename it startscript().
8879         Change protected for private.
8880
8881 2003-04-04  Angus Leeming  <leeming@lyx.org>
8882
8883         * lyxfunc.C:
8884         * text2.C: remove unneeded #includes.
8885
8886 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8887
8888         * text2.C (dEPM): fix the heigth of the next row
8889
8890 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8891
8892         * text.C: squashed an invalid getChar requester + some ws changes
8893
8894 2003-04-03  John Levon  <levon@movementarian.org>
8895
8896         * bufferview_funcs.h:
8897         * bufferview_funcs.C:
8898         * lyxfunc.C:
8899         * lyxtext.h:
8900         * text2.C: make getStatus work for the env depth lfuns
8901
8902 2003-04-03  John Levon  <levon@movementarian.org>
8903
8904         * bufferview_funcs.h:
8905         * bufferview_funcs.C:
8906         * lyxfunc.C:
8907         * lyxtext.h:
8908         * text2.C: parlistize decDepth(), by merging it with incDepth()
8909
8910 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8911
8912         * lyxrow.h: store a ParagraphList::iterator instead of a
8913         Paragraph* and adjust other class functions to suit.
8914
8915         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8916         above.
8917
8918 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8919
8920         * text2.C (setCursor): do not anchor to cursor row for the time being
8921
8922 2003-04-02  John Levon  <levon@movementarian.org>
8923
8924         * LyXAction.C:
8925         * lfuns.h:
8926         * lyx_main.C:
8927         * lyxtext.h:
8928         * text.C:
8929         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8930
8931 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8932
8933         * paragraph.h: make ParagraphList and ParagraphList::iterator
8934         friends of Paragraph.
8935
8936         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8937
8938         * ParagraphList.C: Use the private next_ and previous_ from
8939         Paragraph.
8940
8941 2003-04-01  John Levon  <levon@movementarian.org>
8942
8943         * ToolbarBackend.h:
8944         * ToolbarBackend.C:
8945         * Makefile.am: rename, remove defaults gunk
8946
8947         * MenuBackend.h:
8948         * MenuBackend.C: remove defaults gunk
8949
8950         * Languages.h:
8951         * Languages.C: remove defaults gunk
8952
8953         * lyx_main.h:
8954         * lyx_main.C: error out if files couldn't be found.
8955
8956 2003-04-02  John Levon  <levon@movementarian.org>
8957
8958         * text2.C: make incDepth() use parlist
8959
8960 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8961
8962         * undo_funcs.C (firstUndoParagraph): adjust
8963
8964         * text3.C (gotoInset): adjust
8965         (dispatch): adjust, and rewrite loop.
8966
8967         * text2.C (init): adjust, and rewrite loop.
8968         (redoParagraphs): adjust
8969         (updateInset): adjust, and rewrite loop.
8970         (deleteEmptyParagraphMechanism): adjust
8971
8972         * tabular.C (LyXTabular): adjust
8973         (SetMultiColumn): adjust
8974         (TeXRow): adjust
8975
8976         * lyxtext.[Ch] (ownerParagraph): delete function
8977         (ownerParagraphs): new function returns a ParagraphList.
8978
8979         * BufferView.C (removeAutoInsets): adjust
8980         (insertErrors): adjust
8981         (setCursorFromRow): adjust
8982
8983 2003-04-01  Angus Leeming  <leeming@lyx.org>
8984
8985         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8986         in the frontends.
8987
8988 2003-04-02  John Levon  <levon@movementarian.org>
8989
8990         * lyxtext.h:
8991         * text.C:
8992         * Makefile.am:
8993         * text_funcs.h:
8994         * text_funcs.C: make transposeChars a free function
8995
8996         * lyxrow_funcs.C: remove wrong comment
8997
8998 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8999
9000         * lyxtext.h: adjust
9001         * rowpainter.C: adjust
9002         * text.C: adjust
9003         * text2.C: adjust
9004         * text3.C: adjust
9005
9006         * lyxrow_funcs. [Ch]: new files
9007
9008         * lyxrow.[Ch]: remove next and previous pointers
9009         (next,previous): remove accessor functions
9010         (isParEnd): move to lyxrow_funcs
9011         (lastPos): move to lyxrow_funcs
9012         (nextRowIsAllInset): move to lyxrow_funcs
9013         (lastPrintablePos): move to lyxrow_funcs
9014         (numberOfSeparators): move to lyxrow_funcs
9015         (numberOfHfills): move to lyxrow_funcs
9016         (numberOfLabelHfills): move to lyxrow_funcs
9017         (hfillExpansion): move to lyxrow_funcs
9018
9019         * lyxfunc.C: adjust
9020
9021         * bufferview_funcs.C (toggleAndShow): adjust
9022
9023         * RowList.h: Remove class RowList from file leave just a
9024         std::list<Row>.
9025
9026         * RowList.C: delete file
9027
9028         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9029         and lyxrow_funcs.h
9030
9031 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9032
9033         * text3.C (cursorPrevious): adjust
9034         (cursorNext): adjust
9035         (dispatch): adjust
9036
9037         * text2.C (redoHeightOfParagraph): adjust
9038         (redoDrawingOfParagraph): adjust
9039         (setCursor): adjust
9040
9041         * text.C (breakParagraph): adjust
9042         (insertChar): adjust
9043         (backspace): adjust
9044
9045         * rowpainter.C (RowPainter): adjust
9046         (leftMargin): simplify and adjust
9047         (most rowpainter functions): adjust.
9048
9049         * rowpainter.h: store the row as RowList::iterator not as Row*
9050
9051         * lyxcursor.C (row): taka RowList::iterator as arg
9052         (irow): ditto
9053
9054         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9055         of Row*.
9056
9057 2003-04-01  Angus Leeming  <leeming@lyx.org>
9058
9059         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9060         stuff like bool Bool.
9061
9062 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9063
9064         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9065         rewrite a loop
9066
9067 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9068
9069         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9070         RowList::iterator.
9071
9072         * lyxtext.h (rows): drop one version and leve a const variant that
9073         returns a RowList::iterator.
9074
9075 2003-03-31  Angus Leeming  <leeming@lyx.org>
9076
9077         * text.C (fill): ensure that the signature is the same as that in the
9078         header file.
9079
9080 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9081
9082         * text2.C (redoParagraphs): adjust
9083         (updateCounters): adjust
9084         (checkParagraph): adjust
9085         (getColumnNearX): adjust and reformat a bit.
9086
9087         * text.C (top_y): adjust
9088         (workWidth): adjust
9089         (leftMargin): adjust
9090         (prepareToPrint): adjust
9091         (getRow): adjust
9092         (getRowNearY): adjust
9093
9094         * lyxtext.h: make rowlist_ mutable.
9095
9096         * RowList.h: add const_iterator
9097         * RowList.C: adjust for RowList::const_iterator.
9098
9099         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9100         adjust.
9101
9102 2003-03-31  John Levon  <levon@movementarian.org>
9103
9104         * lyxrc.h:
9105         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9106
9107         * lyx_main.C: set default fonts from using lyx_gui funcs
9108
9109         * exporter.C: pdf_mode moved from lyxrc
9110
9111         * lyx_cb.C:
9112         * lyxfunc.C: changes from above
9113
9114 2003-03-31  John Levon  <levon@movementarian.org>
9115
9116         * lyx_main.C: fix to the last fix
9117
9118 2003-03-31  John Levon  <levon@movementarian.org>
9119
9120         * bufferlist.C: "Load original" -> "Load Original"
9121
9122         * converter.C:
9123         * exporter.C:
9124         * importer.C:
9125         * lyx_main.C:
9126         * format.C: more Alert cleanups
9127
9128 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9129
9130         * text2.C (removeParagraph): make it take a RowList::iterator as
9131         arg, adjust.
9132         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9133         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9134
9135         * text.C (anchor_row): make it take a RowList::iterator as arg,
9136         adjust.
9137         (computeBidiTables): make it take a const reference to Row instead
9138         of Row pointer, adjust.
9139         (leftMargin): make it take a RowList::iterator as arg, adjust.
9140         (rowBreakPoint): adjust
9141         (breakAgainOneRow): make it take a RowList::iterator as arg,
9142         adjust.
9143         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9144
9145         * bufferview_funcs.C (toggleAndShow): adjust
9146
9147 2003-03-30  John Levon  <levon@movementarian.org>
9148
9149         * Makefile.am:
9150         * BoostFormat.h:
9151         * boost-inst.C: moved to support
9152
9153         * several files: changes as a result
9154
9155 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9156
9157         * text2.C (LyXText): adjust.
9158         (init): adjust
9159         (removeRow): make it take a RowList::iterator as arg, adjust.
9160         (fullRebreak): adjust
9161         (deleteEmptyParagraphMechanism): adjust
9162         (clearPaint): adjust
9163         (postPaint): adjust
9164
9165         * text.C (top_y): adjust
9166         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9167         (breakAgain): make it take a RowList::iterator as arg, adjust.
9168         (breakParagraph): adjust
9169         (insertChar): adjust
9170         (backspace): adjust
9171
9172         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9173         need_break_row, and refresh_row.
9174
9175         * text3.C (dispatch): adjust
9176
9177         * text2.C (checkParagraph): adjust
9178         (setCursor): adjust
9179         (setCursorFromCoordinates): adjust
9180
9181         * text.C (top_y): adjust
9182         (workWidth): adjust
9183         (getRow): make it return a RowList::iterator, adjust
9184         (getRowNearY): make it return a RowList::iterator, adjust
9185
9186         * text2.C (init): adjust
9187         (insertRow): remove function
9188         (insertParagraph): adjust
9189         (redoParagraphs): adjust
9190         (fullRebreak): adjust
9191         (updateCounters): adjust
9192
9193         * text.C (top_y): rewrite to use RowList iterators.
9194         (top_y): adjust
9195         (setHeightOfRow): rewrite to sue RowList iterators.
9196         (appendParagraph): adjust
9197         (breakAgain): adjust
9198         (breakAgainOneRow): adjust
9199         (breakParagraph): adjust
9200         (getRow): adjust
9201         (getRowNearY): adjust, and remove commented code.
9202
9203         * lyxtext.h (firstRow): delete function
9204         (lastRow): delete function
9205         (rows): new function (const and non-const versions.)
9206         (insertRow): delete function
9207
9208         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9209
9210 2003-03-29  John Levon  <levon@movementarian.org>
9211
9212         * BufferView_pimpl.C: always update scrollbar top
9213         because pasting text when we're anchored could mean we
9214         miss an update altogether
9215
9216 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9217
9218         * text2.C (init): use rowlist_.end() and not 0.
9219         (insertRow): change to take a RowList::iterator as arg, adjust
9220         for this.
9221         (insertParagraph): change to take a RowList::iterator as arg,
9222         adjust for this.
9223         (redoParagraphs): remove some debug msgs.
9224
9225         * text.C (appendParagraph): change to take a RowList::iterator
9226         arg, adjust for this.
9227         (breakAgain): add an assert
9228         (breakAgainOneRow): ditto
9229
9230 2003-03-29  John Levon  <levon@movementarian.org>
9231
9232         * text2.C: do not clear selection after inc/decDepth
9233         (bug 550)
9234
9235 2003-03-29  John Levon  <levon@movementarian.org>
9236
9237         * BufferView.C:
9238         * buffer.C: fix broken strerrors according to Lars
9239
9240 2003-03-29  John Levon  <levon@movementarian.org>
9241
9242         * converters.C: more Alert cleanups
9243
9244 2003-03-29  John Levon  <levon@movementarian.org>
9245
9246         * bufferview_funcs.C: remove pointless Alert
9247
9248         * buffer.C: fix confusing error message when
9249         a template is chmoded 000
9250
9251 2003-03-29  John Levon  <levon@movementarian.org>
9252
9253         * BufferView.C:
9254         * BufferView.h:
9255         * BufferView_pimpl.C: Alert fixes
9256
9257         * Makefile.am:
9258         * tabular.C:
9259         * tabular-old.C: remove unused table compat reading
9260
9261 2003-03-29  John Levon  <levon@movementarian.org>
9262
9263         * BufferView.C:
9264         * buffer.C:
9265         * lyx_cb.h:
9266         * lyx_cb.C: more Alert cleanups
9267
9268         * lyxfunc.C: don't allow chktex if not latex document
9269
9270 2003-03-29  John Levon  <levon@movementarian.org>
9271
9272         * lyx_cb.C:
9273         * BufferView.C:
9274         * buffer.C: warnings pushed down from support/,
9275         kill err_alert
9276
9277 2003-03-29  John Levon  <levon@movementarian.org>
9278
9279         * lyxfunc.C: safety check for C-r (revert)
9280
9281 2003-03-29  John Levon  <levon@movementarian.org>
9282
9283         * bufferlist.h:
9284         * bufferlist.C: several UI fixes using Alert::prompt.
9285         Fix the pointless looping quit code. Fix stupid revert
9286         behaviour (bug 938)
9287
9288         * lyxvc.h:
9289         * lyxvc.C:
9290         * lyx_cb.C: use Alert::prompt
9291
9292         * lyx_main.C: remove a silly question
9293
9294         * lyxfunc.C: remove a couple of silly questions,
9295         use Alert::prompt
9296
9297 2003-03-28  John Levon  <levon@movementarian.org>
9298
9299         * text2.C: fix bug 974 (End on empty par)
9300
9301 2003-03-28  John Levon  <levon@movementarian.org>
9302
9303         * BufferView_pimpl.C:
9304         * LyXAction.C:
9305         * lfuns.h: remove do-nothing math greek lfuns
9306
9307 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9308
9309         * lyxgluelength.h (isValidGlueLength): add default arg on
9310         parameter 2. Remove default arg from friend in class.
9311
9312         * lyxlength.h (isValidLength): add default arg on parameter 2.
9313         Remove default arg from friend in class.
9314
9315         * text2.C (LyXText): adjust, initialize refresh_row.
9316         (init): adjust
9317         (removeRow): adjust
9318         (insertRow): adjust
9319         (insertParagraph): adjst
9320         (redoParagraphs): adjust
9321         (fullRebreak): adjust
9322         (updateCounters): adjust
9323         (deleteEmptyParagraphMechanism): first attempt at fixing a
9324         crashing bug.
9325
9326         * text.C (top_y): adjust
9327         (setHeightOfRow): adjust
9328         (getRow): adjust
9329         (getRowNearY): adjust
9330
9331         * lyxtext.h: include RowList.h
9332         (~LyXText): not needed anymore, deleted.
9333         (firstRow): modify for RowList
9334         (lastRow): new function
9335         Delete firstrow and lastrow class variables, add a Rowlist
9336         rowlist_ class variable.
9337
9338         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9339         paragraph is empty.
9340
9341         * RowList.C (insert): fix case where it == begin().
9342
9343 2003-03-26  Angus Leeming  <leeming@lyx.org>
9344
9345         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9346         the thesaurus dialog.
9347
9348 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9349
9350         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9351
9352         * RowList.[Ch]: new files
9353
9354         * ParagraphList.C (erase): handle the case where it == begin
9355         correctly.
9356
9357 2003-03-25  John Levon  <levon@movementarian.org>
9358
9359         * Makefile.am:
9360         * aspell_local.h:
9361         * aspell.C: add new aspell support
9362
9363         * lyxrc.h:
9364         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9365         have it accessible.
9366
9367 2003-03-25  Angus Leeming  <leeming@lyx.org>
9368
9369         * lfuns.h:
9370         * LyXAction.C (init): new LFUN_INSET_INSERT.
9371
9372         * BufferView_pimpl.C (dispatch): split out part of the
9373         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9374
9375         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9376         LFUN_INSET_APPLY.
9377
9378 2003-03-25  Angus Leeming  <leeming@lyx.org>
9379
9380         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9381
9382 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9383
9384         * text2.C:
9385         * text3.C: remove useless row->height(0)
9386
9387 2003-03-25  John Levon  <levon@movementarian.org>
9388
9389         * lyxtext.h:
9390         * text2.C:
9391         * text3.C: rename the refreshing stuff to better names
9392
9393 2003-03-24  John Levon  <levon@movementarian.org>
9394
9395         * BufferView_pimpl.h:
9396         * BufferView_pimpl.C: update layout choice on a mouse
9397         press/release
9398
9399 2003-03-23  John Levon  <levon@movementarian.org>
9400
9401         * Makefile.am: fix commandtags.h reference
9402
9403 2003-03-22  John Levon  <levon@movementarian.org>
9404
9405         * BufferView_pimpl.C:
9406         * lyxtext.h:
9407         * rowpainter.C:
9408         * rowpainter.h:
9409         * text.C:
9410         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9411
9412 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9413
9414         * lyxtext.h:
9415         * text.C: take the rtl methods out of line
9416
9417 2003-03-21 André Pönitz <poenitz@gmx.net>
9418
9419         * metricsinfo.[Ch]: new files containing structures to be passed around
9420         during the two-phase-drawing...
9421
9422 2003-03-21 André Pönitz <poenitz@gmx.net>
9423
9424         * lyxtextclass.C: read 'environment' tag.
9425
9426 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9427
9428         * text2.C (removeRow): fix bug 964
9429
9430 2003-03-20  John Levon  <levon@movementarian.org>
9431
9432         * rowpainter.C:
9433         * text.C:
9434         * text2.C: paint cleanups. Inset::update() dropped font
9435         parameter
9436
9437 2003-03-19  John Levon  <levon@movementarian.org>
9438
9439         * lyxfunc.C: only fitcursor/markDirty if available()
9440
9441 2003-03-19  John Levon  <levon@movementarian.org>
9442
9443         * commandtags.h: rename to ...
9444
9445         * lfuns.h: ... this, and renumber / cleanup
9446
9447 2003-03-19  John Levon  <levon@movementarian.org>
9448
9449         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9450         fit the cursor after an lfun
9451
9452         * BufferView.h:
9453         * BufferView.C:
9454         * BufferView_pimpl.h:
9455         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9456
9457         * LyXAction.C: layout-character should have ReadOnly
9458
9459         * ParagraphParameters.C:
9460         * buffer.C:
9461         * bufferview_funcs.C:
9462         * lyx_cb.C:
9463         * lyxfind.C:
9464         * lyxtext.h:
9465         * text.C:
9466         * text2.C:
9467         * text3.C:
9468         * undo_funcs.C: changes from above
9469
9470 2003-03-18  John Levon  <levon@movementarian.org>
9471
9472         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9473         remove it from update()
9474
9475         * lyxfunc.C: update layout choice after an lfun
9476
9477         * text3.C: remove extra updateLayoutChoice()s
9478
9479 2003-03-18  John Levon  <levon@movementarian.org>
9480
9481         * text.C: top_y change means full repaint, fix
9482         a drawing bug with cursor movement
9483
9484 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9485
9486         * lyxtext.h:
9487         * text.C:
9488         * text2.C: anchor row on setCursor
9489
9490 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9491
9492         * lyxtext.h: remove almost all mutable keywords
9493         * text.C:
9494         * text2.C:
9495         * text3.C: remove const keywords accordingly
9496
9497 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9498
9499         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9500         anon namespace
9501         (TeXEnvironment): ditto
9502         (TeXOnePar): ditto
9503
9504 2003-03-17  John Levon  <levon@movementarian.org>
9505
9506         * text.C (rowBreakPoint): remove attempt to fix displayed
9507         math insets inside a manual label
9508
9509 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9510
9511         * lyxtext.h: remove BufferView* as first arg from almost all class
9512         functions.
9513         * other files: adjust.
9514
9515 2003-03-17  John Levon  <levon@movementarian.org>
9516
9517         * lyxtext.h:
9518         * undo_funcs.C:
9519         * text2.C: more paint cleanups
9520
9521         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9522
9523         * rowpainter.h:
9524         * rowpainter.C: remove "smart" background painting code
9525
9526 2003-03-16  John Levon  <levon@movementarian.org>
9527
9528         * lyxtext.h:
9529         * text.C:
9530         * text2.C:
9531         * text3.C: add helper functions for setting refresh_row/y
9532
9533 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9534
9535         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9536         newline inset which *can* get inserted in the pass_thru layouts.
9537         This is primarily for literate documents.
9538
9539 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9540
9541         * buffer.C: increment LYX_FORMAT to 223
9542
9543 2003-03-14 André Pönitz <poenitz@gmx.net>
9544
9545         * textclass.h: prepare for environment handling, ws changes
9546         * lyxlayout.C: read latexheader and latexfooter tags
9547
9548 2003-03-14  John Levon  <levon@movementarian.org>
9549
9550         * text2.C: rewrite ::status() a bit
9551
9552 2003-03-13  John Levon  <levon@movementarian.org>
9553
9554         * lyxtext.h: add some docs
9555
9556 2003-03-13  John Levon  <levon@movementarian.org>
9557
9558         * lyxtext.h:
9559         * text.C:
9560         * text2.C:
9561         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9562
9563 2003-03-13  John Levon  <levon@movementarian.org>
9564
9565         * text3.C: fix appendix redrawing
9566
9567 2003-03-13  John Levon  <levon@movementarian.org>
9568
9569         * text.C (setHeightOfRow):
9570         * rowpainter.h:
9571         * rowpainter.C: make appendix mark have the text
9572           "Appendix" so the user knows what it is
9573
9574         * LColor.h:
9575         * LColor.C: s/appendixline/appendix/ from above
9576
9577 2003-03-13  John Levon  <levon@movementarian.org>
9578
9579         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9580
9581         * text.C: fix a getChar(pos) bug properly
9582
9583 2003-03-13  Angus Leeming  <leeming@lyx.org>
9584
9585         * commandtags.h:
9586         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9587         Probably only temporary. Let's see how things pan out.
9588
9589         * BufferView.C (unlockInset):
9590         * BufferView_pimpl.C (fitCursor):
9591         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9592
9593         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9594         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9595
9596         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9597         new functions that convert ParagraphParameters to and from a string.
9598
9599         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9600         BufferView::Pimpl's dispatch.
9601         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9602
9603 2003-03-13 André Pönitz <poenitz@gmx.net>
9604
9605         * lyxfunc.C:
9606         * text3.C:
9607         * factory.C: make it aware of InsetEnv
9608
9609 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9610
9611         * text2.C (setCursor): never ask for one past last
9612         (setCursor): add some debugging messages.
9613
9614         * text.C (singleWidth): never ask for one past last
9615         (singleWidth): ditto
9616         (leftMargin): ditto
9617         (rightMargin): ditto
9618         (rowBreakPoint): ditto
9619         (setHeightOfRow): ditto
9620         (prepareToPrint): ditto
9621
9622         * rowpainter.C (paintBackground): never ask for one past last
9623         (paintText): never ask for one past last
9624
9625         * paragraph_pimpl.C (getChar): make the assert stricter, never
9626         allow the one past last pos to be taken
9627
9628         * paragraph.C (getChar): ws changes only
9629
9630         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9631         (numberOfSeparators): ditto
9632         (numberOfHfills): ditto
9633
9634 2003-03-12  John Levon  <levon@movementarian.org>
9635
9636         * author.h:
9637         * author.C:
9638         * bufferparams.h:
9639         * bufferparams.C:
9640         * paragraph_funcs.C: fix per-buffer authorlists
9641
9642 2003-03-12  John Levon  <levon@movementarian.org>
9643
9644         * text.C: fix newline in right address
9645
9646 2003-03-12  Angus Leeming  <leeming@lyx.org>
9647
9648         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9649         duplicate those in LyXFunc::dispatch.
9650
9651         * commandtags.h:
9652         * LyXAction.C:
9653         * ToolbarDefaults.C:
9654         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9655         Add LFUN_FONTFREE_UPDATE.
9656
9657         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9658         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9659
9660         * bufferview_func.[Ch]: several new functions to facilliate
9661         transfer of data to and from the character dialog.
9662
9663 2003-03-12  John Levon  <levon@movementarian.org>
9664
9665         * buffer.C:
9666         * paragraph.h:
9667         * paragraph.C:
9668         * paragraph_funcs.C:
9669         * paragraph_pimpl.C:
9670         * sgml.C:
9671         * tabular.C:
9672         * text.C:
9673         * text3.C: remove META_NEWLINE in favour of an inset
9674
9675         * rowpainter.h:
9676         * rowpainter.C: remove paintNewline (done by inset)
9677
9678 2003-03-12  John Levon  <levon@movementarian.org>
9679
9680         * paragraph_pimpl.C: complain about bad getChar()s
9681         for a while at least
9682
9683 2003-03-12  John Levon  <levon@movementarian.org>
9684
9685         * buffer.h:
9686         * buffer.C: move paragraph read into a separate function,
9687         a little renaming to reflect that.
9688
9689         * bufferparams.h:
9690         * bufferparams.C: remove the author_ids map, not necessary now
9691
9692         * factory.h:
9693         * factory.C: moved Buffer::readInset to here
9694
9695         * paragraph_funcs.h:
9696         * paragraph_funcs.C: readParagraph free function moved from
9697         buffer.C
9698
9699         * tabular.C: name change
9700
9701 2003-03-12  John Levon  <levon@movementarian.org>
9702
9703         * buffer.C:
9704         * ParagraphParameters.C: move par params input to
9705         a read() method
9706
9707         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9708         behave like a normal read from the stream wrt reading
9709         a line vs. a \\token
9710
9711 2003-03-12  John Levon  <levon@movementarian.org>
9712
9713         * paragraph.C:
9714         * ParagraphParameters.h:
9715         * ParagraphParameters.C: move output code to a
9716         ::write() method
9717
9718 2003-03-12  John Levon  <levon@movementarian.org>
9719
9720         * BufferView.C (insertLyXFile):
9721         * buffer.h:
9722         * buffer.C:
9723         * tabular.C: use a parlist iterator for creating the
9724           document.
9725
9726 2003-03-12  John Levon  <levon@movementarian.org>
9727
9728         * buffer.C: make current_change static local not
9729           static file-scope
9730
9731 2003-03-12  John Levon  <levon@movementarian.org>
9732
9733         * buffer.C: fix insertStringAsLines for change tracking
9734
9735 2003-03-12  John Levon  <levon@movementarian.org>
9736
9737         * BufferView.C:
9738         * tabular.C:
9739         * buffer.h:
9740         * buffer.C:
9741         * bufferparams.h:
9742         * bufferparams.C: move author list into params. Rename some
9743           functions. Move the header reading into a separate token
9744           loop. Move the header token reading into BufferParams.
9745
9746 2003-03-12  John Levon  <levon@movementarian.org>
9747
9748         * changes.C: put debug inside lyxerr.debugging() checks
9749
9750 2003-03-11 André Pönitz <poenitz@gmx.net>
9751
9752         * factory.C: make it aware of InsetHFill
9753
9754 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9755
9756         * buffer.C (latexParagraphs): move function from here...
9757         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9758         args.
9759
9760 2003-03-10  Angus Leeming  <leeming@lyx.org>
9761
9762         * LyXAction.C (init): fix bug in poplating array with multiple entries
9763         with the same LFUN (spotted by JMarc).
9764
9765 2003-03-10  John Levon  <levon@movementarian.org>
9766
9767         * text.C:
9768         * text2.C: move getColumnNearX() near its
9769         only call site
9770
9771 2003-03-10  John Levon  <levon@movementarian.org>
9772
9773         * text.C: fix break before a minipage
9774
9775 2003-03-10  John Levon  <levon@movementarian.org>
9776
9777         * text.C: fix the last commit
9778
9779 2003-03-09  John Levon  <levon@movementarian.org>
9780
9781         * lyxtext.h:
9782         * text.C:
9783         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9784         bug 365 (don't break before insets unless needed). Don't
9785         return a value > last under any circumstances.
9786
9787 2003-03-09  Angus Leeming  <leeming@lyx.org>
9788
9789         * BufferView_pimpl.C (trackChanges, dispatch): call
9790         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9791
9792 2003-03-09  Angus Leeming  <leeming@lyx.org>
9793
9794         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9795         than Dialogs::showAboutlyx().
9796
9797 2003-03-09  Angus Leeming  <leeming@lyx.org>
9798
9799         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9800         than Dialogs::showTabularCreate().
9801
9802 2003-03-09  John Levon  <levon@movementarian.org>
9803
9804         * lyxtext.h:
9805         * text.C:
9806         * text2.C: 3rd arg to nextBreakPoint was always the same.
9807           Use references.
9808
9809 2003-03-08  John Levon  <levon@movementarian.org>
9810
9811         * lyxrow.C:
9812         * paragraph.C:
9813         * paragraph.h:
9814         * rowpainter.C:
9815         * text.C:
9816         * text2.C: Remove the "main" bit from the "main body"
9817           notion.
9818
9819 2003-03-08  John Levon  <levon@movementarian.org>
9820
9821         * text.C (leftMargin): The left margin of an empty
9822         manual label paragraph should not include the label width
9823         string length.
9824
9825         * text.C (prepareToPrint): don't attempt to measure hfills
9826         for empty manual label paragraphs - the answer should be 0
9827
9828 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9829
9830         * CutAndPaste.C: remove commented code and reindent.
9831
9832 2003-03-08  John Levon  <levon@movementarian.org>
9833
9834         * lyxfunc.h:
9835         * lyxfunc.C: move reloadBuffer()
9836
9837         * BufferView.h:
9838         * BufferView.C: to here
9839
9840         * lyxvc.C: add comment
9841
9842         * vc-backend.h:
9843         * vc-backend.C: call bv->reload() to avoid
9844           getStatus() check on MENURELOAD
9845
9846 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9849         to an old format .dep file.
9850
9851 2003-03-07  Angus Leeming  <leeming@lyx.org>
9852
9853         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9854         when the LFUN_MOUSE_RELEASE should have been handled by
9855         inset->localDispatch.
9856
9857 2003-03-07  Angus Leeming  <leeming@lyx.org>
9858
9859         * BufferView_pimpl.C (dispatch):
9860         * LyXAction.C (init):
9861         * ToolbarDefaults.C (init):
9862         * commandtags.h:
9863         * lyxfunc.C (getStatus):
9864         remove LFUN_INSET_GRAPHICS.
9865
9866         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9867
9868 2003-03-07  Angus Leeming  <leeming@lyx.org>
9869
9870         * commandtags.h:
9871         * LyXAction.C (init):
9872         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9873
9874         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9875
9876         * commandtags.h:
9877         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9878
9879         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9880         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9881
9882 2003-03-07  Angus Leeming  <leeming@lyx.org>
9883
9884         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9885         remove "ert".
9886
9887 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9888
9889         * ParagraphList.C (front): new function
9890         (back): implement
9891
9892 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9893
9894         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9895         and top_row_offset_. removed var first_y.
9896         * text.C (top_y):
9897         * text2.C (LyXText, removeRow):
9898         * text3.C:
9899         * BufferView_pimpl.C:
9900         use these methods instead of using first_y
9901
9902 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9903
9904         * text2.C (pasteSelection): adjust for checkPastePossible
9905
9906         * CutAndPaste.C: remove Paragraph * buf and replace with
9907         ParagraphList paragraphs.
9908         (DeleteBuffer): delete
9909         (cutSelection): change the tc type to textclass_type
9910         (copySelection): change the tc type to textclass_type
9911         (copySelection): adjust for ParagraphList
9912         (pasteSelection): change the tc type to textclass_type
9913         (pasteSelection): adjust for Paragraphlist
9914         (nrOfParagraphs): simplify for ParagraphList
9915         (checkPastePossible): simplify for ParagraphList
9916         (checkPastePossible): remove unused arg
9917
9918         * ParagraphList.C (insert): handle the case where there are no
9919         paragraphs yet.
9920
9921         * CutAndPaste.h: make CutAndPaste a namespace.
9922
9923         * text3.C (dispatch): adjust
9924
9925         * text.C (breakParagraph): add a ParagraphList as arg
9926
9927         * paragraph_funcs.C (breakParagraph): change to take a
9928         BufferParams and a ParagraphList as args.
9929         (breakParagraphConservative): ditto
9930         (mergeParagraph): ditto
9931         (TeXDeeper): add a ParagraphList arg
9932         (TeXEnvironment): ditto
9933         (TeXOnePar): ditto
9934
9935         * buffer.C (readLyXformat2): adjust
9936         (insertStringAsLines): adjust
9937         (latexParagraphs): adjust
9938
9939         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9940         (cutSelection): adjust
9941         (pasteSelection): adjust
9942
9943         * BufferView_pimpl.C (insertInset): adjust
9944
9945 2003-03-05  Angus Leeming  <leeming@lyx.org>
9946
9947         * commandtags.h:
9948         * LyXAction.C (init):
9949         * BufferView_pimpl.C (dispatch):
9950         * lyxfunc.C (getStatus):
9951         remove LFUN_CHILD_INSERT.
9952
9953         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9954
9955 2003-03-05  Angus Leeming  <leeming@lyx.org>
9956
9957         * commandtags.h:
9958         * LyXAction.C (init):
9959         * src/factory.C (createInset):
9960         * lyxfunc.C (getStatus):
9961         * text3.C (dispatch):
9962         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9963
9964         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9965
9966 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9967
9968         * ParagraphList.C (insert): handle insert right before end()
9969         (erase): fix cases where it can be first or last paragraph.
9970
9971 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9972
9973         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9974         Paragraph::next and Paragraph::previous
9975         (TeXOnePar): ditto
9976
9977         * text.C (breakParagraph): adjust
9978
9979         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9980         BufferParams& as arg.
9981         (breakParagraph): use ParagraphList::insert
9982         (breakParagraphConservative): take a Buffer* instead of a
9983         BufferParams& as arg.
9984         (breakParagraphConservative): use ParagraphList::insert.
9985
9986         * buffer.C (insertStringAsLines): un-const it
9987         (insertStringAsLines): adjust
9988
9989         * ParagraphList.C (insert): new function
9990
9991         * CutAndPaste.C (pasteSelection): adjust
9992
9993         * text.C (backspace): adjust
9994
9995         * tabular.C (SetMultiColumn): adjust
9996
9997         * CutAndPaste.C (cutSelection): adjust
9998         (pasteSelection): adjust
9999
10000         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10001         Buffer const * as arg
10002
10003         * ParagraphList.C (erase): new function
10004         * paragraph_funcs.C (mergeParagraph): use it
10005         (mergeParagraph): make it take a Buffer* instead of a
10006         BufferParams* as arg
10007
10008         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10009         as arg
10010         (breakParagraphConservative): ditto
10011
10012         * paragraph.h: remove the breakParagraph friend
10013
10014         * paragraph.C (eraseIntern): new function
10015         (setChange): new function
10016
10017         * paragraph_funcs.C (mergeParagraph): make it take a
10018         ParagraphList::iterator instead of a Paragraph *, adjust
10019         accordingly.
10020
10021         * paragraph.h: move an #endif so that the change tracking stuff
10022         also works in the NO_NEXT case.
10023
10024 2003-03-04  Angus Leeming  <leeming@lyx.org>
10025
10026         * commandtags.h:
10027         * LyXAction.C: new LFUN_INSET_MODIFY.
10028
10029         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10030         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10031
10032 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10033
10034         * several files: ws changes only
10035
10036         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10037         (TeXEnvironment): ditto
10038         (TeXDeeper): ditto
10039
10040         * buffer.C (makeLaTeXFile): adjust
10041         (latexParagraphs): make it take ParagraphList::iterator as args
10042
10043 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10044
10045         * buffer.C (latexParagraphs): adjust
10046
10047         * paragraph.C (TeXOnePar): move function...
10048         (optArgInset): move function...
10049         (TeXEnvironment): move function...
10050         * paragraph_pimpl.C (TeXDeeper): move function...
10051         * paragraph_funcs.C: ...here
10052
10053         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10054
10055 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10056
10057         * buffer.C (readInset): remove compability code for old Figure and
10058         InsetInfo insets
10059
10060 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10061
10062         * buffer.C: ws changes
10063         (readInset):
10064
10065         * BufferView_pimpl.C: ditto
10066         * author.C: ditto
10067         * buffer.h: ditto
10068         * bufferlist.h: ditto
10069         * changes.h: ditto
10070         * lyxfunc.C: ditto
10071
10072 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10073
10074         * converter.[Ch]: split into itself +
10075         * graph.[Ch]
10076         * format.[Ch]
10077         * Makefile.am: += graph.[Ch] + format.[Ch]
10078         * MenuBackend.C
10079         * buffer.C
10080         * exporter.C
10081         * importer.C
10082         * lyx_main.C
10083         * lyxfunc.C
10084         * lyxrc.C: added #include "format.h"
10085
10086 2003-02-27  Angus Leeming  <leeming@lyx.org>
10087
10088         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10089           a label.
10090
10091         * factory.C (createInset): add "label" to the factory.
10092
10093         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10094           string and do no more.
10095
10096 2003-02-27  Angus Leeming  <leeming@lyx.org>
10097
10098         * commandtags.h:
10099         * LyXAction.C (init):
10100         * factory.C (createInset):
10101         * BufferView_pimpl.C (dispatch):
10102           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10103
10104         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10105
10106         * lyxfunc.C (dispatch):
10107         * text3.C (dispatch): pass name to params2string.
10108
10109 2003-02-26  Angus Leeming  <leeming@lyx.org>
10110
10111         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10112           blocks together.
10113           Rearrange the ~includes. Strip out the unnecessary ones.
10114
10115         * factory.C (createInset): reformat.
10116           create new insets for the various LFUN_XYZ_APPLY lfuns.
10117
10118 2003-02-26  John Levon  <levon@movementarian.org>
10119
10120         * lyxrow.h:
10121         * lyxrow.C: add isParStart,isParEnd helpers
10122
10123         * paragraph.h: make isInserted/DeletedText take refs
10124
10125         * paragraph_funcs.h:
10126         * paragraph_funcs.C: remove #if 0'd code
10127
10128         * lyxtext.h:
10129         * text3.C:
10130         * text2.C:
10131         * text.C: use lyxrow helpers above.
10132           Move draw and paint routines to RowPainter.
10133           Make several methods use refs not pointers.
10134           Make backgroundColor() const.
10135           Add markChangeInDraw(), isInInset().
10136           Merge changeRegionCase into changeCase.
10137           Make workWidth() shouldn't-happen code into an Assert.
10138
10139         * rowpainter.h:
10140         * rowpainter.C: new class for painting a row.
10141
10142         * vspace.h:
10143         * vspace.C: make inPixels take a ref
10144
10145 2003-02-26  Angus Leeming  <leeming@lyx.org>
10146
10147         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10148         LFUN_REF_APPLY.
10149
10150 2003-02-25  John Levon  <levon@movementarian.org>
10151
10152         * ispell.C: give the forked command a more accurate name
10153
10154 2003-02-22  John Levon  <levon@movementarian.org>
10155
10156         * toc.h:
10157         * toc.C: make TocItem store an id not a Paragraph *
10158           (bug #913)
10159
10160 2003-02-21  Angus Leeming  <leeming@lyx.org>
10161
10162         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10163           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10164           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10165           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10166           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10167           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10168
10169         * BufferView_pimpl.C (dispatch):
10170         * LyXAction.C (init):
10171         * factory.C (createInset):
10172         * lyxfunc.C (getStatus, dispatch):
10173         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10174
10175 2003-02-21  Angus Leeming  <leeming@lyx.org>
10176
10177         * BufferView_pimpl.C (MenuInsertLyXFile):
10178         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10179         * lyxfunc.C (menuNew, open, doImport):
10180           no longer pass a LyXView & to fileDlg.
10181
10182 2003-02-21  Angus Leeming  <leeming@lyx.org>
10183
10184         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10185         * LyXAction.C: change, BIBKEY to BIBITEM.
10186         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10187         Change InsetBibKey to InsetBibitem.
10188         Change BIBKEY_CODE to BIBITEM_CODE.
10189         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10190         * factory.C: replace insetbib.h with insetbibitem.h.
10191         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10192         * paragraph.C: replace insetbib.h with insetbibitem.h.
10193         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10194         Change bibkey() to bibitem().
10195         * text.C: remove insetbib.h.
10196         * text2.C: replace insetbib.h with insetbibitem.h.
10197         change bibkey() to bibitem().
10198         * text3.C: remove insetbib.h.
10199         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10200
10201 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10202
10203         * lyxrc.C (output): enclose user email in quotes (in case there are
10204         several words)
10205
10206 2003-02-18  John Levon  <levon@movementarian.org>
10207
10208         * buffer.h: add std::
10209
10210 2003-02-17  John Levon  <levon@movementarian.org>
10211
10212         * SpellBase.h:
10213         * ispell.h:
10214         * ispell.C:
10215         * pspell.h:
10216         * pspell.C: reworking. Especially in ispell, a large
10217           number of clean ups and bug fixes.
10218
10219         * lyxfunc.C: fix revert to behave sensibly
10220
10221 2003-02-17 André Pönitz <poenitz@gmx.net>
10222
10223         * LyXAction.C:
10224         * commandtags.h: new LFUN_INSERT_BIBKEY
10225
10226         * layout.h:
10227         * lyxlayout.C:
10228         * buffer.C:
10229         * factory.C:
10230         * text.C:
10231         * text2.C:
10232         * text3.C:
10233         * paragraph.[Ch]:
10234         * paragraph_func.C: remove special bibkey handling
10235
10236 2003-02-17  John Levon  <levon@movementarian.org>
10237
10238         * text.C (Delete): fix case where delete at the end of
10239           the very first paragraph would not merge the pars
10240
10241 2003-02-17  John Levon  <levon@movementarian.org>
10242
10243         * lyxrow.C: fix lastPrintablePos()
10244
10245 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * bufferparams.C (writeLaTeX): add a std:here
10248
10249         * buffer.C: and remove a using directive there
10250
10251 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * buffer.C (makeLaTeXFile): move the code that generates the
10254           preamble...
10255
10256         * bufferparams.C (writeLaTeX): ... in this new method
10257
10258         * LaTeXFeatures.C (getEncodingSet): make const
10259           (getLanguages): make const
10260
10261         * MenuBackend.C (binding): returns the binding associated to this
10262           action
10263           (add): sets the status of each item by calling getStatus. Adds
10264           some intelligence.
10265           (read): add support for OptSubMenu
10266           (expand): remove extra separator at the end of expanded menu
10267
10268 2003-02-15  John Levon  <levon@movementarian.org>
10269
10270         * BufferView.C:
10271         * BufferView_pimpl.C:
10272         * bufferlist.h:
10273         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10274           inset code that had no actual effect. Remove unneeded status
10275           code.
10276
10277 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10278
10279         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10280           in preamble
10281
10282 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10283
10284         * text.C (drawLengthMarker): also draw an arrow marker for
10285           symbolic lengths (medskip...)
10286
10287 2003-02-14  John Levon  <levon@movementarian.org>
10288
10289         * tabular.h:
10290         * tabular.C: better method names
10291
10292 2003-02-14  John Levon  <levon@movementarian.org>
10293
10294         * BufferView_pimpl.C:
10295         * bufferlist.C:
10296         * buffer.C:
10297         * converter.C:
10298         * lyx_cb.C:
10299         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10300           it's a more accurate name. Remove some pointless uses.
10301
10302 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10303
10304         * text2.C (LyXText): change order of initilizers to shut off
10305           warnings
10306
10307 2003-02-14  John Levon  <levon@movementarian.org>
10308
10309         * buffer.C: use ParIterator for getParFromID()
10310
10311         * paragraph.h:
10312         * paragraph.C:
10313         * paragraph_pimpl.h:
10314         * paragraph_pimpl.C: remove unused getParFromID()
10315
10316 2003-02-14  John Levon  <levon@movementarian.org>
10317
10318         * buffer.C: remove some very old #if 0'd parse code
10319
10320 2003-02-13  John Levon  <levon@movementarian.org>
10321
10322         * text.h:
10323         * text.C:
10324         * text2.C: move hfillExpansion(), numberOfSeparators(),
10325           rowLast(), rowLastPrintable(), numberofHfills(),
10326           numberOfLabelHfills() ...
10327
10328         * lyxrow.h:
10329         * lyxrow.C: ... to member functions here.
10330
10331         * paragraph.h:
10332         * paragraph.C:
10333         * lyxtext.h:
10334         * text.C: remove LyXText::beginningOfMainBody(), and call
10335           p->beginningOfMainBody() directly. Move the check for
10336           LABEL_MANUAL into the latter.
10337
10338         * text.h:
10339         * text.C:
10340         * text2.C:
10341         * vspace.C:
10342         * BufferView.h:
10343         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10344
10345         * text.h:
10346         * text.C:
10347         * text2.C:
10348         * text3.C:
10349         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10350           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10351
10352 2003-02-13  John Levon  <levon@movementarian.org>
10353
10354         * CutAndPaste.C: remove debug
10355
10356 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10357
10358         * paragraph.C (asString): remove two unused variables
10359
10360         * lyxtextclass.C (readTitleType):
10361           (Read):
10362           (LyXTextClass): handle new members titletype_ and titlename_
10363
10364         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10365
10366 2003-02-09  John Levon  <levon@movementarian.org>
10367
10368         * buffer.h:
10369         * buffer.C: replace hand-coded list with a map for the dep clean
10370
10371 2003-02-08  John Levon  <levon@movementarian.org>
10372
10373         * LaTeX.C: consolidate code into showRunMessage() helper
10374
10375 2003-02-08  John Levon  <levon@movementarian.org>
10376
10377         * lyxfind.C:
10378         * lyxtext.h:
10379         * text2.C:
10380         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10381           and pass the size in explicitly
10382
10383         * BufferView_pimpl.h:
10384         * BufferView_pimpl.C:
10385         * BufferView.h:
10386         * BufferView.C: add getCurrentChange()
10387
10388         * BufferView_pimpl.h:
10389         * BufferView_pimpl.C: handle change lfuns
10390
10391         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10392           for changes. Mark pasted paragraphs as new.
10393
10394         * support/lyxtime.h:
10395         * support/lyxtime.C:
10396         * DepTable.C: abstract time_t as lyx::time_type
10397
10398         * LColor.h:
10399         * LColor.C: add colours for new text, deleted text, changebars
10400
10401         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10402           package use "usenames" option.
10403
10404         * commandtags.h:
10405         * lyxfunc.C:
10406         * LyXAction.C: add change lfuns
10407
10408         * Makefile.am:
10409         * author.h:
10410         * author.C: author handling
10411
10412         * buffer.h:
10413         * buffer.C: add a per-buffer author list, with first entry as
10414           current author. Handle new .lyx tokens for change tracking. Output
10415           author list to .lyx file. Output dvipost stuff to .tex preamble.
10416           Bump lyx format to 222.
10417
10418         * bufferlist.h:
10419         * bufferlist.C: add setCurrentAuthor() to reset current author details
10420           in all buffers.
10421
10422         * bufferparams.h:
10423         * bufferparams.C: add param for tracking
10424
10425         * bufferview_funcs.C: output change info in minibuffer
10426
10427         * Makefile.am:
10428         * changes.h:
10429         * changes.C: add change-tracking structure
10430
10431         * debug.h:
10432         * debug.C: add CHANGES debug flag
10433
10434         * lyxfind.h:
10435         * lyxfind.C: add code for finding the next change piece
10436
10437         * lyxrc.h:
10438         * lyxrc.C: add user_name and user_email
10439
10440         * lyxrow.h:
10441         * lyxrow.C: add a metric for the top of the text line
10442
10443         * lyxtext.h:
10444         * text.C: implement accept/rejectChange()
10445
10446         * lyxtext.h:
10447         * text.C: paint changebars. Paint new/deleted text in the chosen
10448         colours. Strike through deleted text.
10449
10450         * paragraph.h:
10451         * paragraph.C:
10452         * paragraph_pimpl.h:
10453         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10454           in the current change to the insert functions. Rework erase to
10455           mark text as deleted, adding an eraseIntern() and a range-based
10456           erase(). Implement per-paragraph change lookup and
10457           accept/reject.
10458
10459         * paragraph_funcs.C: Fixup paste for change tracking.
10460
10461         * tabular.C: mark added row/columns as new.
10462
10463         * text.C: fix rowLast() to never return -1. Don't allow
10464           spellchecking of deleted text. Track transpose changes. Don't
10465           allow paragraph break or merge where appropriate.
10466
10467         * text2.C: leave cursor at end of selection after a cut.
10468
10469 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10470
10471         * text.C (getLengthMarkerHeight):
10472         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10473         visible on screen too.
10474
10475 2003-02-07  John Levon  <levon@movementarian.org>
10476
10477         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10478
10479 2003-02-05  Angus Leeming  <leeming@lyx.org>
10480
10481         * lyxserver.C (read_ready): revert my patch of 11 September last year
10482         as it sends PC cpu through the roof. Presumably this means that
10483         the lyxserver will no longer run on an Alpha...
10484
10485 2003-01-30  Angus Leeming  <leeming@lyx.org>
10486
10487         * factory.C (createInset): create an InsetCommandParam of type "index"
10488         and use it to 'do the right thing'.
10489
10490         * text2.C (getStringToIndex): ensure that cursor position is always
10491         reset to the reset_cursor position.
10492
10493 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10494
10495         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10496         disabled.
10497
10498 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10499
10500         * bufferview.C:
10501         * lyxcb.C:
10502         * lyxfunc.C: Output messages with identical spelling, punctuation,
10503         and spaces
10504
10505 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10506
10507         * MenuBackend.C (expandFormats): List only viewable export formats
10508         in "View" menu
10509
10510         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10511         message
10512
10513         * lyxfunc.C (getStatus): Make sure that formats other than
10514         "fax" can also be disabled
10515
10516 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10517
10518         * text3.C (dispatch): put the lfuns that insert insets in 3
10519         groups, and call doInsertInset with appropriate arguments.
10520         (doInsertInset): new function, that creates an inset and inserts
10521         it according to some boolean parameters.
10522
10523 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10524
10525         * buffer.C (readFile): remember to pass on 'par' when calling
10526         readFile recursively.
10527
10528 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10529
10530         * MenuBackend.C (expandFormats): add "..." to import formats.
10531
10532 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10533
10534         * paragraph.C (asString): Remove XForms RTL hacks.
10535
10536 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10537         * buffer.C: fix typo
10538
10539 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10540
10541         * Makefile.am (LIBS): delete var
10542         (lyx_LDADD): add @LIBS@ here instead.
10543
10544 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10545
10546         * Clarify the meaning of "wheel mouse jump"
10547
10548 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10549
10550         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10551         tabular in a float
10552
10553 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10554
10555         * importer.C (Loaders): do not preallocate 3 elements in the
10556         vector, since one ends up with 6 elements otherwise
10557
10558 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10559
10560         * DepTable.C (write): write the file name as last element of the
10561         .dep file (because it may contain spaces)
10562         (read): read info in the right order
10563
10564 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10565
10566         * paragraph_pimpl.C (simpleTeXBlanks):
10567         (simpleTeXSpecialChars):
10568         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10569
10570         * tabular.C (latex): add some missing case statements. Reindent.
10571
10572         * MenuBackend.C (expandToc): remove unused variable.
10573
10574 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10575
10576         * LColor.C:
10577         * LaTeX.C:
10578         * LyXAction.C:
10579         * MenuBackend.C:
10580         * buffer.C:
10581         * exporter.C:
10582         * lyxfunc.C:
10583         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10584         and the like.
10585
10586 2003-01-05  John Levon  <levon@movementarian.org>
10587
10588         * BufferView.h:
10589         * BufferView.C: add getEncoding()
10590
10591         * kbsequence.h:
10592         * kbsequence.C: do not store last keypress
10593
10594         * lyxfunc.h:
10595         * lyxfunc.C: store last keypress here instead. Pass encoding
10596           to getISOEncoded()
10597
10598 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * lyx_main.C (init): remove annoying error message when following
10601         symbolic links (bug #780)
10602
10603 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * text.C (insertChar):
10606         * lyxrc.C (getDescription): remove extra spaces
10607
10608 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10609
10610         * lyxrc.C (getDescription): remove extra spaces
10611
10612 2002-12-20  John Levon  <levon@movementarian.org>
10613
10614         * text3.C: hack fix for page up/down across tall rows
10615
10616 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10617
10618         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10619         not been invoked
10620
10621 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10622
10623         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10624         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10625         thesaurus is not compiled in
10626
10627 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10628
10629         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10630
10631 2002-12-16  Angus Leeming  <leeming@lyx.org>
10632
10633         * lyxrc.[Ch]:
10634         * lyx_main.C (init): remove override_x_deadkeys stuff.
10635
10636 2002-12-12  John Levon  <levon@movementarian.org>
10637
10638         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10639           insert. Only remove shift modifier under strict
10640           circumstances.
10641
10642 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10643
10644         * MenuBackend.C (expandToc): fix crash.
10645
10646 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10647
10648         * MenuBackend.C (expandToc): gettext on float names.
10649
10650 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10651
10652         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10653         implement bool empty() [bug 490]
10654
10655 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10656
10657         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10658
10659 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10660
10661         * several files: ws changes
10662
10663 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10664
10665         * text2.C (setCounter): clean up a bit, use boost.format.
10666         (updateCounters): initialize par upon declaration.
10667
10668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10669         if the layout exists. We do not just store the layout any more.
10670         (SwitchLayoutsBetweenClasses): use boost.format
10671
10672 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10673
10674         * converter.C (convert): if from and to files are the same, use a
10675         temporary files as intermediary
10676
10677 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10678
10679         * commandtags.h:
10680         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10681
10682 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10683
10684         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10685
10686 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10687
10688         * tabular.C (asciiPrintCell): use string(size, char) instead of
10689         explicit loop.
10690
10691         * sgml.C (openTag): fix order of arguments to string constructor
10692         (closeTag): ditto
10693
10694         * lyxfunc.C (dispatch): use boost.format
10695
10696         * lots of files: change "c" -> 'c'
10697
10698 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10699
10700         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10701
10702 2002-11-25  Angus Leeming  <leeming@lyx.org>
10703
10704         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10705
10706         * lyx_main.C (init): compile fix.
10707
10708 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10709
10710         * lyx_cb.C (start): boost.formatify
10711         do not include <iostream>
10712
10713         * lengthcommon.C: ws only
10714
10715         * boost-inst.C,BoostFormat.h: add more explict instantations
10716
10717 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10718
10719         * lots of files: handle USE_BOOST_FORMAT
10720
10721 2002-11-21  John Levon  <levon@movementarian.org>
10722
10723         * pspell.C: fix compile
10724
10725 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10726
10727         * lyxfunc.C (dispatch): use boost::format
10728         (open): ditto
10729         (doImport): ditto
10730
10731         * lyxfont.C (stateText): use boost::format
10732
10733         * lyx_main.C (LyX): use boost::format
10734         (init): ditto
10735         (queryUserLyXDir): ditto
10736         (readRcFile): ditto
10737         (parse_dbg): ditto
10738         (typedef boost::function): use the recommened syntax.
10739
10740         * importer.C (Import): use boost::format
10741
10742         * debug.C (showLevel): use boost::format
10743
10744         * converter.C (view): use boost::format
10745         (convert): ditto
10746         (move): ditto
10747         (scanLog): ditto
10748
10749         * bufferview_funcs.C (currentState): use boost::format
10750
10751         * bufferlist.C (emergencyWrite): use boost::format
10752
10753         * buffer.C (readLyXformat2): use boost::format
10754         (parseSingleLyXformat2Token): ditto
10755
10756         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10757
10758         * LaTeX.C (run): use boost::format
10759
10760         * Chktex.C (scanLogFile): use boost::format
10761
10762         * BufferView_pimpl.C (savePosition): use boost::format
10763         (restorePosition): ditto
10764         (MenuInsertLyXFile): ditto
10765
10766         * BoostFormat.h: help file for explicit instation.
10767
10768 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10769
10770         * tabular.C (latex): Support for block alignment in fixed width
10771         columns.
10772
10773 2002-11-17  John Levon  <levon@movementarian.org>
10774
10775         * BufferView_pimpl.C:
10776         * lyx_cb.C:
10777         * lyxfunc.C: split filedialog into open/save
10778
10779 2002-11-08  Juergen Vigna  <jug@sad.it>
10780
10781         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10782         by my last patch (hopefully).
10783
10784 2002-11-08  John Levon  <levon@movementarian.org>
10785
10786         * iterators.h:
10787         * iterators.C:
10788         * buffer.h:
10789         * buffer.C:
10790         * paragraph.h:
10791         * paragraph.C:
10792         * toc.h:
10793         * toc.C: ParConstIterator, and use it (from Lars)
10794
10795 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10796
10797         * lyxtextclass.[Ch]: revise and add doxygen comments
10798
10799 2002-11-07  John Levon  <levon@movementarian.org>
10800
10801         * text.C: fix progress value for spellchecker
10802
10803         * toc.C: fix navigate menu for insetwrap inside minipage
10804
10805         * paragraph_funcs.C: added FIXME for suspect code
10806
10807 2002-11-07  John Levon  <levon@movementarian.org>
10808
10809         * BufferView_pimpl.C: fix redrawing of insets
10810           on buffer switch
10811
10812 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10813
10814         * text2.C (updateCounters): fix bug 668
10815
10816 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10817
10818         * text3.C (dispatch): Do not make the buffer dirty when moving the
10819         cursor.
10820
10821 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10822
10823         * vc-backend.C: STRCONV
10824         (scanMaster): ditto
10825
10826         * text2.C (setCounter): STRCONV
10827
10828         * paragraph.C (asString): STRCONV
10829
10830         * lyxlength.C (asString): STRCONV
10831         (asLatexString): ditto
10832
10833         * lyxgluelength.C (asString): STRCONV
10834         (asLatexString): ditto
10835
10836         * lyxfunc.C (dispatch): STRCONV
10837         (open): ditto
10838
10839         * lyxfont.C (stateText): STRCONV
10840
10841         * importer.C (Import): STRCONV
10842
10843         * counters.C (labelItem): STRCONV
10844         (numberLabel): ditto
10845         (numberLabel): remove unused ostringstream o
10846
10847         * chset.C: STRCONV
10848         (loadFile): ditto
10849
10850         * bufferview_funcs.C (currentState): STRCONV
10851
10852         * buffer.C (readFile): STRCONV
10853         (asciiParagraph): ditto
10854         (makeLaTeXFile): ditto
10855
10856         * Spacing.C (writeEnvirBegin): STRCONV
10857
10858         * LaTeXFeatures.C (getLanguages): STRCONV
10859         (getPackages): ditto
10860         (getMacros): ditto
10861         (getBabelOptions): ditto
10862         (getTClassPreamble): ditto
10863         (getLyXSGMLEntities): ditto
10864         (getIncludedFiles): ditto
10865
10866         * LaTeX.C: STRCONV
10867         (run): ditto
10868         (scanAuxFile): ditto
10869         (deplog): ditto
10870
10871         * LString.h: add the STRCONV macros
10872
10873         * BufferView_pimpl.C (savePosition): STRCONV
10874         (restorePosition): ditto
10875         (MenuInsertLyXFile): ditto
10876
10877         * vc-backend.C (scanMaster): change from submatch[...] to
10878         submatch.str(...)
10879
10880         * funcrequest.C: include config.h
10881
10882         * factory.C: include config.h
10883
10884         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10885
10886         * box.C: include config.h
10887
10888         * LaTeX.C (scanAuxFile): change from submatch[...] to
10889         submatch.str(...)
10890         (deplog): ditto
10891
10892 2002-10-25  Angus Leeming  <leeming@lyx.org>
10893
10894         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10895
10896         * ispell.[Ch] (setError): new method.
10897         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10898         Use setError() insetead of goto END.
10899
10900         * lyx_cb.C (AutoSave): move out child process into new class
10901         AutoSaveBuffer.
10902
10903 2002-10-30  John Levon  <levon@movementarian.org>
10904
10905         * text3.C: make start appendix undoable
10906
10907 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10908
10909         * lyxlength.C (inPixels): Fix returned value.
10910
10911         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10912         environment.
10913
10914 2002-10-24  Angus Leeming  <leeming@lyx.org>
10915
10916         * lyxgluelength.h: no need to forward declare BufferParams
10917         or BufferView, so don't.
10918
10919 2002-10-21  John Levon  <levon@movementarian.org>
10920
10921         * BufferView.C: menuUndo ->undo, redo
10922
10923         * BufferView.h: document, remove dead, make some methods private
10924
10925         * paragraph_funcs.h:
10926         * paragraph_funcs.C:
10927         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10928
10929         * buffer.h:
10930         * buffer.C:
10931         * sgml.h:
10932         * sgml.C: move sgml open/close tag into sgml.C
10933
10934         * bufferview_funcs.h: unused prototype
10935
10936         * lyxfunc.h:
10937         * lyxfunc.C: remove unused
10938
10939         * lyxtext.h:
10940         * text.C: remove unused
10941
10942 2002-10-21  John Levon  <levon@movementarian.org>
10943
10944         * BufferView.h:
10945         * BufferView.C:
10946         * BufferView_pimpl.h:
10947         * BufferView_pimpl.C: fix mouse wheel handling based on
10948           patch from Darren Freeman
10949
10950 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10951
10952         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10953
10954 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10955
10956         * lyxlength.C (inPixels): Fix hanfling of negative length.
10957         Fix LyXLength::MU case.
10958
10959 2002-10-16  John Levon  <levon@movementarian.org>
10960
10961         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10962
10963 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10964
10965         * converter.C (view): add support for $$i (file name) and $$p
10966         (file path) for the viewer command. If $$i is not specified, then
10967         it is appended to the command (for compatibility with old syntax)
10968
10969 2002-10-14  Juergen Vigna  <jug@sad.it>
10970
10971         * undo_funcs.C (textHandleUndo): alter the order in which the
10972         new undopar is added to the LyXText, as we have to set first
10973         the right prev/next and then add it as otherwise the rebuild of
10974         LyXText is not correct. Also reset the cursor to the right paragraph,
10975         with this IMO we could remove the hack in "redoParagraphs()".
10976
10977 2002-10-09  Angus Leeming  <leeming@lyx.org>
10978
10979         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10980         to turn off an optimisation if a new inset is to be inserted.
10981
10982 2002-10-11 André Pönitz <poenitz@gmx.net>
10983
10984         * lyxtext.h: make some functions public to allow access
10985         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10986
10987 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10988
10989         * text3.C (dispatch): when changing layout, avoid an infinite loop
10990         [bug #652]
10991
10992 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10993
10994         * lyxrc.C (read): treat a viewer or converter command of "none" as
10995         if it were empty.
10996
10997         * MenuBackend.C (expandFormats): for an update, also allow the
10998         formats that are not viewable
10999
11000         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11001         script if it is newer than the lyxrc.defaults in user directory
11002
11003 2002-10-07 André Pönitz <poenitz@gmx.net>
11004
11005         * text.C: Vitaly Lipatov's small i18n fix
11006
11007 2002-09-25  Angus Leeming  <leeming@lyx.org>
11008
11009         * ispell.h: doxygen fix.
11010
11011 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11012
11013         * buffer.h (readFile): Add a new argument to the method, to allow
11014         reading of old-format templates.
11015
11016 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11017
11018         * toc.C (getTocList): Get TOC from InsetWrap.
11019
11020 2002-09-16  John Levon  <levon@movementarian.org>
11021
11022         * lyxfunc.C: check tabular for cut/copy too
11023
11024 2002-09-12  John Levon  <levon@movementarian.org>
11025
11026         * LyXAction.C: tidy
11027
11028         * factory.h:
11029         * factory.C: add header
11030
11031         * paragraph_funcs.h:
11032         * paragraph_funcs.C: cleanup
11033
11034 2002-09-11  John Levon  <levon@movementarian.org>
11035
11036         * PrinterParams.h: odd/even default to true
11037
11038 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11039
11040         * PrinterParams.h: update printer parameters for new xforms dialog
11041
11042 2002-09-11  Angus Leeming  <leeming@lyx.org>
11043
11044         * lyxserver.C (read_ready): re-write to make it more transparent
11045         and to make it work in coherent fashion under Tru64 Unix.
11046
11047 2002-09-11  André Pönitz <poenitz@gmx.net>
11048
11049         * commandtags.h:
11050         * LyXAction.C:
11051         * text3.C: implement LFUN_WORDSEL
11052
11053 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11054
11055         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11056         make floatlist_ a boost::shared_ptr<FloatList>
11057
11058         * lyxtextclass.C: include FloatList.h
11059         (LyXTextClass): initialize floatlist_
11060         (TextClassTags): add TC_NOFLOAT
11061         (Read): match "nofloat" to TC_NOFLOAT and use it.
11062         (readFloat): modify call to floatlist_
11063         (floats): ditto
11064         (floats): ditto
11065
11066         * FloatList.[Ch] (FloatList): remove commented out float
11067         initialization.
11068         (erase): new function
11069
11070 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11071
11072         * MenuBackend.C (expandToc): fix crash when there is no document
11073         open
11074
11075 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11076
11077         * many files: Add insetwrap.
11078
11079 2002-09-09  John Levon  <levon@movementarian.org>
11080
11081         * text2.C: remove confusing and awkward depth wraparound
11082
11083 2002-09-09  John Levon  <levon@movementarian.org>
11084
11085         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11086
11087         * buffer.h:
11088         * buffer.C: remove getIncludeonlyList()
11089
11090         * paragraph.C:
11091         * lyxfunc.C: remove headers
11092
11093 2002-09-09  Juergen Vigna  <jug@sad.it>
11094
11095         * text.C (getColumnNearX): fix form Michael this is most
11096         probably a cut&paste bug.
11097
11098 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11099
11100         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11101
11102         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11103         references, ws changes.
11104
11105         * text2.C (init): update counters after init
11106         (insertParagraph): no need to set counter on idividual paragraphs.
11107         (setCounter): access the counters object in the textclass object
11108         on in the buffer object.
11109         (updateCounters): ditto
11110
11111         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11112         shared_ptr<Counters> to avoid loading counters.h in all
11113         compilation units.
11114         (LyXTextClass): initialize ctrs_
11115         (TextClassTags): add TC_COUNTER, and ...
11116         (Read): use it here.
11117         (CounterTags): new tags
11118         (readCounter): new function
11119         (counters): new funtion
11120         (defaultLayoutName): return a const reference
11121
11122         * counters.C (Counters): remove contructor
11123         (newCounter): remove a couple of unneeded statements.
11124         (newCounter): simplify a bit.
11125         (numberLabel): some small formatting changes.
11126
11127         * buffer.[Ch]: remove all traces of counters, move the Counters
11128         object to the LyXTextClass.
11129
11130 2002-09-06  Alain Castera  <castera@in2p3.fr>
11131
11132         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11133         package to set the horizontal alignment on fixed width columns.
11134
11135         * lyx_sty.C:
11136         * lyx_sty.h: added tabularnewline macro def.
11137
11138         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11139
11140 2002-09-06  John Levon  <levon@movementarian.org>
11141
11142         * LyXAction.C: tooltips for sub/superscript
11143
11144         * MenuBackend.C: a bit more verbose
11145
11146         * lyxfunc.C: tiny clean
11147
11148         * undo_funcs.C: document undo_frozen
11149
11150 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11151
11152         * counters.C (Counters): add missing algorithm counter.
11153
11154         * text2.C (setCounter): lookup the counter with layouts latexname
11155         instead of by section number.
11156         (setCounter): use a hackish way to lookup the correct enum
11157         counter.
11158         a float name->type change
11159         reset enum couners with counter name directly instead of depth value.
11160
11161         * counters.C (Counters): remove the push_backs, change to use the
11162         float type not the float name.
11163         (labelItem): remove unused string, float name->type change
11164
11165         * counters.h: don't include vector, loose the enums and sects vectors
11166
11167 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11168
11169         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11170         (Read): add float->TC_FLOAT to textclassTags
11171         (Read): and handle it in the switch
11172         (readFloat): new function
11173
11174         * FloatList.C (FloatList): comment out the hardcoded float
11175         definitions.
11176
11177         * lyxlayout.h: ws change.
11178
11179 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11180
11181         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11182
11183 2002-09-03  Angus Leeming  <leeming@lyx.org>
11184
11185         * BufferView_pimpl.h: qualified name is not allowed in member
11186         declaration: WorkArea & Pimpl::workarea() const;
11187
11188         * factory.C: added using std::endl directive.
11189
11190         * text3.C: added using std::find and std::vector directives.
11191
11192 2002-08-29  André Pönitz <poenitz@gmx.net>
11193
11194         * lyxtext.h:
11195         * text2.C: remove unused member number_of_rows
11196
11197         * Makefile.am:
11198         * BufferView2.C: remove file, move contents to...
11199         * BufferView.C: ... here
11200
11201         * BufferView_pimpl.C:
11202         * factory.C: move more inset creation to factory
11203
11204         * vspace.C: avoid direct usage of LyXText, ws changes
11205
11206         * BufferView.[Ch]:
11207                 don't provide direct access to WorkArea, use two simple
11208                 acessors haveSelction() and workHeight() instead
11209
11210
11211 2002-08-29  John Levon  <levon@movementarian.org>
11212
11213         * BufferView_pimpl.C (dispatch): do not continue when
11214           no buffer
11215
11216 2002-08-28  André Pönitz <poenitz@gmx.net>
11217
11218         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11219
11220         * BufferView.h:
11221         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11222
11223 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11224
11225         * buffer.C: increment LYX_FORMAT to 221
11226
11227         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11228         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11229
11230         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11231
11232         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11233
11234 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11235
11236         * factory.C (createInset): use LyXTextClass::floats
11237
11238         * MenuBackend.C (expandFloatListInsert):
11239         (expandFloatInsert):
11240         (expandToc):
11241
11242         * text2.C (setCounter):
11243
11244         * LaTeXFeatures.C (useFloat):
11245         (getFloatDefinitions):
11246
11247         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11248
11249         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11250         floatlist_, with accessor floats().
11251
11252         * FloatList.h: remove global FloatList
11253
11254 2002-08-26  André Pönitz <poenitz@gmx.net>
11255
11256         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11257
11258         * BufferView.h:
11259         * BufferView2.C:
11260         * BufferView_pimpl.C:
11261         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11262
11263 2002-08-25  John Levon  <levon@movementarian.org>
11264
11265         * LyXAction.C: fix margin note description
11266
11267 2002-08-24  John Levon  <levon@movementarian.org>
11268
11269         * buffer.C:
11270         * bufferlist.C:
11271         * bufferview_funcs.C:
11272         * lyxfont.C:
11273         * undo_funcs.C: cleanups
11274
11275         * lyxfunc.C: disable CUT/COPY when no selection
11276
11277 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11278
11279         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11280         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11281
11282         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11283         Add backward compatibility to "mono", "gray" and "no".
11284
11285 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11286
11287         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11288         (and file_format >= 200).
11289
11290 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11293
11294 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11295
11296         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11297
11298 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11299
11300         * BufferView_pimpl.C:
11301         * LyXAction.C:
11302         * buffer.C:
11303         * commandtags.h:
11304         * lyxfunc.C:
11305         * paragraph.[Ch]:
11306         * text2.C:
11307         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11308         inset and code to make it  work with the paragraph code. The inset
11309         can be anywhere in the paragraph, but will only do the expected
11310         thing in LaTeX if the layout file contains the parameter line
11311                         OptionalArgs    1
11312         (or more generally, a nonzero value) for that layout.
11313
11314 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11315
11316         * paragraph.h: remove the declaration of undefined counters class
11317         function.
11318
11319 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11320
11321         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11322         Dr. Richard Hawkins.
11323
11324 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * paragraph_funcs.h: remove some unneeded includes
11327
11328         * text.C (backspace): pasteParagraph now in global scipe
11329
11330         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11331         (pasteSelection): ditto
11332
11333         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11334         * paragraph_funcs.C (pasteParagraph): ... here
11335
11336 2002-08-20  André Pönitz <poenitz@gmx.net>
11337
11338         * commandtags.h: new LFUNs for swapping/copying table row/colums
11339
11340         * LyXAction.C:
11341         * lyxfunc.C: support for new lfuns
11342
11343 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11344
11345         * tabular.C:
11346         * buffer.[Ch]: remove NO_COMPABILITY stuff
11347
11348 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11349
11350         * boost.C (throw_exception): new file, with helper function for
11351         boost compiled without exceptions.
11352
11353         * paragraph.h:
11354         * lyxlength.C:
11355         * buffer.C:
11356         * ParameterStruct.h:
11357         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11358
11359         * bufferlist.C (emergencyWriteAll): use boost bind
11360
11361         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11362
11363         * text.C: include paragraph_funcs.h
11364         (breakParagraph): breakParagraph is now in global scope
11365
11366         * paragraph_funcs.[Ch]: new files
11367
11368         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11369         global scope
11370
11371         * buffer.C: include paragraph_funcs.h
11372         (insertStringAsLines): breakParagraph is now in global scope
11373
11374         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11375         paragraph_funcs.C
11376
11377         * CutAndPaste.C: include paragraph_funcs.h
11378         (cutSelection): breakParagraphConservative is now in global scope
11379         (pasteSelection): ditto
11380
11381         * buffer.h: declare oprator== and operator!= for
11382         Buffer::inset_iterator
11383
11384         * bufferlist.C (emergencyWrite): don't use fmt(...)
11385
11386         * text3.C: add using std::endl
11387
11388         * BufferView.C (moveCursorUpdate): remove default arg
11389
11390 2002-08-20  André Pönitz <poenitz@gmx.net>
11391
11392         * buffer.[Ch]: move inline functions to .C
11393
11394         * BufferView2.C:
11395         * BufferView_pimpl.C:
11396         * text.C:
11397         * buffer.[Ch]: use improved inset_iterator
11398
11399         * buffer.C:
11400         * paragraph.[Ch]: write one paragraph at a time
11401
11402 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11403
11404         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11405         style if style is not specified.
11406
11407 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * text2.C (setCounter): when searching for right label for a
11410         caption, make sure to recurse to parent insets (so that a caption
11411         in a minipage in a figure float works) (bug #568)
11412
11413 2002-08-20  André Pönitz <poenitz@gmx.net>
11414
11415         * text3.C: new file for LyXText::dispatch() and helpers
11416
11417         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11418
11419         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11420
11421 2002-08-19  André Pönitz <poenitz@gmx.net>
11422
11423         * lyxtext.h:
11424         * text.C: new LyXText::dispatch()
11425
11426         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11427
11428 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11429
11430         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11431
11432         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11433         Hebrew text.
11434
11435 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11436
11437         * Makefile.am: use $(variables) instead of @substitutions@
11438
11439 2002-08-15  André Pönitz <poenitz@gmx.net>
11440
11441         * lyxfunc.C:
11442         * BufferView_pimpl.C: streamlining mathed <-> outer world
11443         interaction
11444
11445         * commandtags.h:
11446         * LyXAction.C: remove unused LFUN_MATH
11447
11448 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11449
11450         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11451
11452 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11453
11454         * paragraph.C (Paragraph): reformat a bit
11455         (cutIntoMinibuffer): use builtin InsetList function instad of
11456         doing it manually.
11457         (getInset): ditto
11458
11459         * buffer.C: include boost/bind.hpp, add using std::for_each
11460         (writeFileAscii): use ParagraphList iterators
11461         (validate): use for_each for validate traversal of paragraphs
11462         (getBibkeyList): use ParagraphList iterators
11463         (resizeInsets): use for_each to resizeInsetsLyXText for all
11464         paragraphs.
11465         (getParFromID): use ParagraphList iterators
11466
11467         * BufferView2.C (lockInset): use paragraph list and iterators
11468
11469 2002-08-14  John Levon  <levon@movementarian.org>
11470
11471         * lyxserver.C: remove spurious xforms include
11472
11473 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11474
11475         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11476
11477 2002-08-13  André Pönitz <poenitz@gmx.net>
11478
11479         * LyXAction.[Ch]:
11480         * lyxfunc.C: further cleaning
11481
11482 2002-08-13  André Pönitz <poenitz@gmx.net>
11483
11484         * funcrequest.h: new constructor
11485
11486         * funcrequest.C: move stuff here from .h
11487
11488         * Makefile.am:
11489         * BufferView_pimpl.C:
11490         * LyXAction.C:
11491         * toc.C:
11492         * lyxfunc.C: subsequent changes
11493
11494         * lyxfunc.h: new view() member function
11495
11496         * lyxfunc.C: subsequent changes
11497
11498 2002-08-13  Angus Leeming  <leeming@lyx.org>
11499
11500         * BufferView2.C:
11501         * BufferView_pimpl.C:
11502         * buffer.C:
11503         * converter.C:
11504         * importer.C:
11505         * lyxfunc.C:
11506         * lyxvc.C:
11507         * toc.C:
11508         * vc-backend.C:
11509         changes due to the changed LyXView interface that now returns references
11510         to member variables not pointers.
11511
11512 2002-08-13  Angus Leeming  <leeming@lyx.org>
11513
11514         * WordLangTuple (word, lang_code): return references to strings,
11515         not strings.
11516
11517         * BufferView.h:
11518         * SpellBase.h:
11519         * lyxtext.h: forward-declare WordLangTuple.
11520
11521         * BufferView2.C:
11522         * ispell.C:
11523         * pspell.C:
11524         * text.C: #include "WordLangTuple.h".
11525
11526         * lyxtext.h:
11527         * text.C: (selectNextWordToSpellcheck): constify return type.
11528
11529 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11530
11531         * buffer.C:
11532         * buffer.h:
11533         * lyxtext.h:
11534         * paragraph.C:
11535         * paragraph_pimpl.h:
11536         * text.C:
11537         * text2.C:
11538         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11539         suggested by Angus.
11540         Made updateCounter always count from start of buffer, and removed
11541         second argument (par).
11542         Reverted floats number display to '#'. Perhaps I'll try again when the
11543         code base is sanitized a bit.
11544
11545 2002-08-12  Angus Leeming  <leeming@lyx.org>
11546
11547         * buffer.[Ch] (getLabelList): constify.
11548
11549 2002-08-07  André Pönitz <poenitz@gmx.net>
11550
11551         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11552
11553         * funcrequest.h: extension to keep mouse (x,y) position
11554
11555 2002-08-12  Juergen Vigna  <jug@sad.it>
11556
11557         * BufferView2.C (insertErrors): forbid undo when inserting error
11558         insets.
11559
11560         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11561
11562 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11563
11564         * ParagraphList.[Ch]: new files
11565
11566         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11567
11568         * BufferView2.C (lockInset): ParagraphList changes
11569         * toc.C: ditto
11570         * text2.C: ditto
11571         * bufferlist.C: ditto
11572         * buffer.h: ditto
11573         * buffer.C: ditto
11574
11575 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11576
11577         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11578         unused class variable counter_,
11579
11580         * paragraph.[Ch] (getFirstCounter): delete unused function
11581
11582         * counters.C: include LAssert.h
11583         (reset): add a new function with no arg, change other version to
11584         not have def. arg and to not allow empty arg.
11585
11586         * text2.C (setCounter): remove empty arg from call to Counters::reset
11587
11588 2002-08-11  John Levon  <levon@movementarian.org>
11589
11590         * Makefile.am: add WordLangTuple.h
11591
11592 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11593
11594         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11595         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11596
11597         * insets/insettext.C: InsetList changes
11598
11599         * graphics/GraphicsSupport.C (operator()): InsetList changes
11600
11601         * toc.C (getTocList): InsetList changes
11602
11603         * paragraph_pimpl.[Ch]: InsetList changes
11604
11605         * paragraph.[Ch]: InsetList changes
11606
11607         * buffer.C (inset_iterator): InsetList changes
11608         (setParagraph): ditto
11609         * buffer.h (inset_iterator): ditto
11610         * iterators.C (operator++): ditto
11611         * iterators.h: ditto
11612
11613         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11614
11615         * InsetList.[Ch]: new files, most InsetList handling moved out of
11616         paragraph.C.
11617
11618         * BufferView2.C (removeAutoInsets): InsetList changes
11619         (lockInset): ditto
11620         (ChangeInsets): ditto
11621
11622 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11623
11624         * paragraph_pimpl.h (empty): new function
11625
11626         * paragraph.[Ch] (empty): new function
11627
11628         * other files: use the new Paragraph::empty function
11629
11630 2002-08-09  John Levon  <levon@movementarian.org>
11631
11632         * lyxtext.h: remove unused refresh_height
11633
11634 2002-08-09  John Levon  <levon@movementarian.org>
11635
11636         * Makefile.am:
11637         * sgml.h:
11638         * sgml.C:
11639         * buffer.C:
11640         * paragraph.h:
11641         * paragraph.C: move sgml char escaping out of paragraph
11642
11643         * paragraph.h:
11644         * paragraph.C: remove id setter
11645
11646         * buffer.C:
11647         * paragraph.C:
11648         * paragraph_pimpl.C: remove dead tex_code_break_column
11649
11650         * bufferview_funcs.C: small cleanup
11651
11652         * lyxfunc.C: remove dead proto
11653
11654         * lyxtext.h: make some stuff private. Remove some dead stuff.
11655
11656         * lyxgluelength.C: make as[LyX]String() readable
11657
11658 2002-08-08  John Levon  <levon@movementarian.org>
11659
11660         * LyXAction.h:
11661         * LyXAction.C:
11662         * MenuBackend.C:
11663         * ToolbarDefaults.C:
11664         * lyxfunc.C:
11665         * lyxrc.C:
11666         * toc.C: lyxaction cleanup
11667
11668 2002-08-08  John Levon  <levon@movementarian.org>
11669
11670         * BufferView2.C: small cleanup
11671
11672         * lyxfind.h:
11673         * lyxfind.C: move unnecessary header into the .C
11674
11675 2002-08-08  John Levon  <levon@movementarian.org>
11676
11677         * funcrequest.h: just tedious nonsense
11678
11679         * lyx_main.h:
11680         * lyx_main.C: cleanups
11681
11682         * buffer.C:
11683         * vspace.C: remove dead header lyx_main.h
11684
11685 2002-08-07  Angus Leeming  <leeming@lyx.org>
11686
11687         * Paragraph.[Ch]:
11688         * paragraph_pimpl.h:
11689         Forward declare class Counters in paragraph.h by moving the ctrs member
11690         variable into Paragraph::Pimpl.
11691         (counters): new method, returning a reference to pimpl_->ctrs.
11692
11693         * text2.C: ensuing changes.
11694
11695 2002-08-07  John Levon  <levon@movementarian.org>
11696
11697         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11698
11699         * BufferView_pimpl.C: announce X selection on double/triple
11700           click
11701
11702         * lyx_main.C: use correct bool in batch dispatch
11703
11704         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11705
11706 2002-08-07  André Pönitz <poenitz@gmx.net>
11707
11708         * funcrequest.h: new class to wrap a kb_action and its argument
11709
11710         * BufferView.[Ch]:
11711         * BufferView_pimpl[Ch]:
11712         * LaTeX.C:
11713         * LyXAction.[Ch]:
11714         * lyxfunc.[Ch]:
11715         * lyxrc.C: subsequent changes
11716
11717
11718 2002-08-07  John Levon  <levon@movementarian.org>
11719
11720         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11721           document options change.
11722
11723 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11724
11725         * counters.[Ch]
11726         * text2.C
11727         * paragraph.[Ch]
11728         * makefile.am: move counters functionality over from
11729         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11730
11731 2002-08-06  John Levon  <levon@movementarian.org>
11732
11733         * WordLangTuple.h: new file for word + language code tuple
11734
11735         * SpellBase.h:
11736         * pspell.h:
11737         * pspell.C:
11738         * ispell.h:
11739         * ispell.C:
11740         * lyxtext.h:
11741         * text.C:
11742         * text2.C:
11743         * BufferView.h:
11744         * BufferView2.C: use WordLangTuple
11745
11746         * layout.h:
11747         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11748
11749 2002-08-06  John Levon  <levon@movementarian.org>
11750
11751         * lyx_main.C: fix cmdline batch handling
11752
11753 2002-08-06  André Pönitz <poenitz@gmx.net>
11754
11755         * lyxrc.C: set default for show_banner to true
11756
11757 2002-08-06  John Levon  <levon@movementarian.org>
11758
11759         * pspell.C: fix a crash, and allow new aspell to work
11760
11761 2002-08-06  John Levon  <levon@movementarian.org>
11762
11763         * lyxfunc.C:
11764         * kbmap.C: small cleanup
11765
11766         * vspace.h:
11767         * vspace.C: add const
11768
11769 2002-08-05  John Levon  <levon@movementarian.org>
11770
11771         * LyXAction.C: back to tabular-insert
11772
11773 2002-08-04  John Levon  <levon@movementarian.org>
11774
11775         * BufferView.h:
11776         * BufferView.C: cosmetic change
11777
11778         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11779
11780         * bufferlist.C:
11781         * buffer.h:
11782         * buffer.C:
11783         * lyxcb.h:
11784         * lyxcb.C:
11785         * lyxserver.C:
11786         * lyxvc.C:
11787         * vc-backend.C:
11788         * BufferView2.C: purge all "Lyx" not "LyX" strings
11789
11790         * lyxcursor.h:
11791         * lyxcursor.C: attempt to add some documentation
11792
11793         * lyxfunc.C:
11794         * commandtags.h:
11795         * LyXAction.C:
11796         * ToolbarDefaults.C:
11797         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11798           merge with LFUN_TABULAR_INSERT
11799
11800         * Makefile.am:
11801         * SpellBase.h:
11802         * ispell.h:
11803         * ispell.C:
11804         * pspell.h:
11805         * pspell.C: split up i/pspell implementations into separate
11806           files, many cleanups
11807
11808         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11809
11810         * text2.C: some cleanup
11811
11812         * lyxfunc.C: don't check for isp_command == "none" any more, it
11813           didn't make any sense
11814
11815 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11816
11817         * counters.[Ch]
11818         * text2.C
11819         * paragraph.[Ch]
11820         * makefile.am: move counters functionality over
11821         from text2.C/paragraph.[Ch] to counters.[Ch], and
11822         make proper C++.
11823 2002-08-02  John Levon  <levon@movementarian.org>
11824
11825         * buffer.C: s/lyxconvert/lyx2lyx/
11826
11827 2002-08-02  Angus Leeming  <leeming@lyx.org>
11828
11829         * lyxlex.C: revert John's change as it breaks reading of the user
11830         preamble.
11831
11832 2002-08-02  Angus Leeming  <leeming@lyx.org>
11833
11834         * importer.C (Import):
11835         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11836         changes due to LyXView::view() now returning a boost::shared_ptr.
11837
11838 2002-08-02  John Levon  <levon@movementarian.org>
11839
11840         * lyxlex.C: small cleanup
11841
11842 2002-08-02  John Levon  <levon@movementarian.org>
11843
11844         * text2.C (status): small cleanup, no logic change
11845
11846 2002-08-01  John Levon  <levon@movementarian.org>
11847
11848         * buffer.h:
11849         * buffer.C (writeFile): don't output alerts, caller
11850           handles this
11851
11852         * bufferlist.C:
11853         * lyx_cb.C: from above
11854
11855         * lyxfunc.C: allow to open non-existent files
11856
11857 2002-07-31  John Levon  <levon@movementarian.org>
11858
11859         * lyxserver.C: don't let incidental errors get
11860           in the way (errno)
11861
11862 2002-07-30  John Levon  <levon@movementarian.org>
11863
11864         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11865
11866 2002-07-30  John Levon  <levon@movementarian.org>
11867
11868         * lyxserver.h:
11869         * lyxserver.C: remove I/O callback too
11870
11871 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11872
11873         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11874         log.
11875
11876 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11877
11878         * many files: strip,frontStrip -> trim,ltrim,rtrim
11879
11880 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11881
11882         * PrinterParams.h: remove extern containsOnly, and include
11883         support/lstrings.h instead.
11884
11885         * LaTeX.C (scanAuxFile): modify because of strip changes
11886         (deplog): ditto
11887         * buffer.C (makeLaTeXFile): ditto
11888         * bufferparams.C (writeFile): ditt
11889         * lyxfont.C (stateText): ditto
11890         * lyxserver.C (read_ready): ditto
11891         * vc-backend.C (scanMaster): ditto
11892
11893         * BufferView_pimpl.h: ws changes
11894
11895         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11896
11897 2002-07-26  André Pönitz <poenitz@gmx.net>
11898
11899         * kb_sequence.C: remove unnedred usings
11900
11901 2002-07-26  Juergen Vigna  <jug@sad.it>
11902
11903         * lyxfind.C (LyXReplace): we have to check better if the returned
11904         text is not of theLockingInset()->getLockingInset().
11905
11906 2002-07-25  Juergen Vigna  <jug@sad.it>
11907
11908         * lyxfind.C (LyXReplace): don't replace if we don't get the
11909         right LyXText.
11910
11911         * undo_funcs.C (createUndo): remove debugging code.
11912
11913 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11914
11915         * buffer.C (parseSingleLyXformat2Token): Use default placement
11916         when reading old floats.
11917
11918         * FloatList.C (FloatList): Change the default placement of figure
11919         and tables to "tbp".
11920
11921 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * MenuBackend.C: using std::max
11924
11925 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11926
11927         * MenuBackend.C (expandToc):
11928         (expandToc2): code moved from xforms menu frontend. It is now
11929         generic and TOCs are transparent to menu frontends.
11930
11931 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11932
11933         * toc.C (getTocList): protect against buf=0
11934
11935         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11936         Menu as first parameter. Now, this calls itself recursively to
11937         expand a whole tree (this will be useful for TOC handling)
11938         (expandFloatInsert): remove 'wide' version of floats
11939
11940         * MenuBackend.h (submenuname): returns the name of the submenu.
11941         (submenu): returns the submenu itself, provided it has been
11942         created by MenuBackend::expand
11943
11944 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11947         insets which have noFontChange == true. (bug #172)
11948
11949 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * BufferView_pimpl.C: add connection objects and use them...
11952         (Pimpl): here.
11953
11954 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11955
11956         * MenuBackend.C (expandLastfiles):
11957         (expandDocuments):
11958         (expandFormats):
11959         (expandFloatListInsert):
11960         (expandFloatInsert):
11961         (expand): split expand in parts
11962
11963 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11964
11965         * lyx_gui.C: use lyx_gui::exit()
11966
11967 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * LyXAction.C: show the failing pseudo action
11970
11971 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11972
11973         * buffer.C (readFile): Run the lyxconvert script in order to read
11974         old files.
11975
11976 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * LyXAction.C:
11979         * commandtags.h:
11980         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11981
11982 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * LyXAction.C:
11985         * commandtags.h:
11986         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11987
11988 2002-07-22  Herbert Voss  <voss@lyx.org>
11989
11990         * lengthcommon.C:
11991         * lyxlength.[Ch]: add support for the vertical lengths
11992
11993 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * toc.[Ch]: std:: fixes
11996
11997 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11998
11999         * lyxrc.C: do not include lyx_main.h
12000
12001         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12002         for layouts
12003
12004         * lyxrc.C:
12005         * encoding.C:
12006         * bufferlist.C:
12007         * BufferView2.C: include "lyxlex.h"
12008
12009         * tabular.h:
12010         * bufferparams.h: do not #include "lyxlex.h"
12011
12012         * lyxtextclasslist.C (Add): remove method
12013         (classlist): renamed to classlist_
12014
12015         * paragraph_pimpl.C:
12016         * paragraph.C:
12017         * text2.C:
12018         * CutAndPaste.C:
12019         * bufferview_funcs.C:
12020         * bufferlist.C:
12021         * text.C:
12022         * LaTeXFeatures.C:
12023         * buffer.C:
12024         * toc.C (getTocList): use BufferParams::getLyXTextClass
12025
12026         * toc.C (getTocList): use InsetFloat::addToToc
12027
12028         * toc.[Ch]: new files, containing helper functions to handle table
12029         of contents
12030
12031         * lyxfunc.C (dispatch): no need to remove spaces around command
12032         given as a string
12033         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12034         first command of the sequence; it is not very clever, but I do not
12035         have a better idea, actually
12036
12037         * LyXAction.C (LookupFunc): make sure to remove space at the
12038         beginning and end of the command
12039
12040 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * MenuBackend.C (getMenubar): new method: return the menubar of
12043         this menu set
12044         (read): treat differently reading of menu and menubar (in
12045         particular, the menubar has no name now)
12046         (Menu::menubar): remove
12047
12048         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12049         saving is finished
12050
12051 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12052
12053         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12054         a bibitem inset in a RTL paragraph.
12055
12056 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * paragraph_pimpl.C: constify
12059
12060         * BufferView_pimpl.C:
12061         * LaTeX.C:
12062         * lyxfunc.C: fix dispatch in a nicer way
12063
12064 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12065
12066         * lyxfunc.C (dispatch):
12067         * BufferView_pimpl.C:
12068         * BufferView_pimpl.h:
12069         * BufferView.C:
12070         * BufferView.h: rename Dispatch() to dispatch()
12071
12072         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12073
12074         * lyxlayout.C (Read): honor DependsOn tag
12075
12076         * lyxlayout.[Ch] (depends_on): new method
12077
12078         * version.C.in: update lyx_docversion
12079
12080         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12081
12082         * paragraph.C (validate): remove from here...
12083         * paragraph_pimpl.C (validate): ... and move here
12084         (isTextAt): make it const
12085
12086         * buffer.C (getLists): ws cleanup
12087
12088 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12089
12090         * language.C (read): Use iso8859-1 encoding in latex_lang
12091         (this prevents LyX from crashing when using iso10646-1 encoding).
12092
12093 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * text2.C (toggleInset): if cursor is inside an inset, close the
12096         inset and leave cursor _after_ it
12097
12098 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * lyxfunc.C: move minibuffer completion handling out of here
12101
12102 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * BufferView_pimpl.C:
12105         * LaTeX.C: fix dispatch calls
12106
12107 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12108
12109         * text.C (drawChars): Fix Arabic text rendering.
12110
12111 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * LyXAction.C:
12114         * commandtags.h:
12115         * lyxfunc.C: remove message-push/pop
12116
12117         * lyxserver.C:
12118         * lyxfunc.h:
12119         * lyxfunc.C: rationalise some code by removing verboseDispatch
12120           in favour of a bool argument to dispatch()
12121
12122 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12123
12124         * lyx_main.C (init): make sure to read symlinks as absolute paths
12125
12126 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * lyxfunc.h:
12129         * lyxfunc.C: no need for commandshortcut to be a member
12130
12131 2002-07-15  André Pönitz <poenitz@gmx.net>
12132
12133         * converter.C: add support for $$s (scripts from lib/scripts dir)
12134         * lyx_main.C: white space
12135
12136 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12137
12138         * bufferlist.C:
12139         * lyxrc.h:
12140         * lyxrc.C: remove second exit confirmation
12141
12142 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * BufferView.h:
12145         * BufferView.C:
12146         * BufferView2.C:
12147         * BufferView_pimpl.h:
12148         * BufferView_pimpl.C:
12149         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12150
12151 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12152
12153         * MenuBackend.C (expand): add numeric shortcuts to document menu
12154
12155         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12156
12157 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12158
12159         * lyxfont.C (setLyXFamily):
12160         (setLyXSeries):
12161         (setLyXShape):
12162         (setLyXSize):
12163         (setLyXMisc):
12164         (lyxRead):
12165         * debug.C (value):
12166         * buffer.C (asciiParagraph): use ascii_lowercase
12167
12168 2002-07-15  Mike Fabian  <mfabian@suse.de>
12169
12170         * lyxlex_pimpl.C (search_kw):
12171         * lyxlex.C (getLongString):
12172         * converter.h (operator<):
12173         * converter.C (operator<):
12174         * buffer.C (parseSingleLyXformat2Token):
12175         (asciiParagraph):
12176         * ToolbarDefaults.C (read):
12177         * MenuBackend.C (checkShortcuts):
12178         (read):
12179         * LColor.C (getFromGUIName):
12180         (getFromLyXName): use the compare_ascii_no_case instead of
12181         compare_no_case, because in turkish, 'i' is not the lowercase
12182         version of 'I', and thus turkish locale breaks parsing of tags.
12183
12184 2002-07-16  Angus Leeming  <leeming@lyx.org>
12185
12186         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12187         now takes a Buffer const & argument.
12188
12189 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12190
12191         * BufferView.C (resize): check there's a buffer to resize
12192
12193 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12194
12195         * lyxfunc.C: remove dead code
12196
12197         * lyxserver.h:
12198         * lyxserver.C: use lyx_guii::set_read_callback
12199
12200 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12201
12202         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12203         an inset in a RTL paragraph.
12204
12205 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12206
12207         * lyxfunc.C: repaint after a font size update
12208
12209 2002-07-15  André Pönitz <poenitz@gmx.net>
12210
12211         * lyxlength.C: inBP should be able to return negative values
12212
12213 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * lyxfunc.C: use lyx_gui::update_fonts()
12216
12217 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12218
12219         * lyxfunc.C: use lyx_gui::update_color()
12220
12221 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12222
12223         * bufferlist.C:
12224         * lyxfunc.h:
12225         * lyxfunc.C:
12226         * lyxrc.h:
12227         * lyxrc.C: remove file->new asks for name option, and let
12228           buffer-new take an argument
12229
12230 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * BufferView_pimpl.C: remove unneeded extra repaint()
12233
12234 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * LyXAction.C: allow command-sequence with NoBuffer
12237
12238         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12239
12240 2002-07-10  Angus Leeming  <leeming@lyx.org>
12241
12242         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12243
12244 2002-07-09  Angus Leeming  <leeming@lyx.org>
12245
12246         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12247
12248 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12249
12250         * lengthcommon.h: whitespace
12251
12252         * lyxfunc.C: update scrollbar after goto paragraph
12253
12254         * lyxtext.h: factor out page break drawing, and fix it so
12255           page break/added space paints as selected nicely
12256
12257 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * BufferView_pimpl.C: add FIXMEs, clean up a little
12260
12261 2002-07-09  André Pönitz <poenitz@gmx.net>
12262
12263         * lyxfont.[Ch]: support for wasy symbols
12264
12265 2002-07-08  André Pönitz <poenitz@gmx.net>
12266
12267         * BufferView_pimpl.C: apply John's patch for #93.
12268
12269 2002-07-05  Angus Leeming  <leeming@lyx.org>
12270
12271         * BufferView_pimpl.C (buffer): generate previews if desired.
12272
12273         * LColor.h: add "preview" to the color enum.
12274
12275         * LColor.C (LColor): add a corresponding entry to the items array.
12276
12277         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12278         with this buffer.
12279
12280 2002-07-05  Angus Leeming  <leeming@lyx.org>
12281
12282         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12283         The body of the code is now in the method that is passed an ostream &
12284         rather than a file name.
12285         Pass an additional only_preamble parameter, useful for the forthcoming
12286         preview stuff.
12287
12288 2002-07-03  André Pönitz <poenitz@gmx.net>
12289
12290         * lyxfunc.C: simplify getStatus() a bit for math stuff
12291
12292 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12295
12296 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * text.C (changeRegionCase): do not change case of all the
12299         document when region ends at paragraph end (bug #461)
12300
12301 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * paragraph.C (startTeXParParams):
12304         (endTeXParParams): add \protect when necessary
12305
12306 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * BufferView_pimpl.C (workAreaExpose): remove warning
12309
12310 2002-06-27  Angus Leeming  <leeming@lyx.org>
12311
12312         * Makefile.am: add lyxlayout_ptr_fwd.h.
12313
12314 2002-06-26  André Pönitz <poenitz@gmx.net>
12315
12316         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12317
12318 2002-06-25  Angus Leeming  <leeming@lyx.org>
12319
12320         * lyxfunc.C (dispatch): Comment out the call to
12321         grfx::GCache::changeDisplay. The method no longer exists now that the
12322         pixmap generation part of the graphics loader has been moved into
12323         InsetGraphics.
12324
12325 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12326
12327         * text2.C: layout as layout
12328
12329         * text.C: layout as layout
12330
12331         * tabular.C (OldFormatRead): layout as layout
12332
12333         * paragraph_pimpl.C (TeXDeeper): layout as layout
12334         (realizeFont): layout as layout
12335
12336         * paragraph.C (writeFile): layout as layout
12337         (validate): layout as layout
12338         (getFont): layout as layout
12339         (getLabelFont): layout as layout
12340         (getLayoutFont): layout as layout
12341         (breakParagraph): layout as layout
12342         (stripLeadingSpaces): layout as layout
12343         (getEndLabel): layout as layout
12344         (getMaxDepthAfter): layout as layout
12345         (applyLayout): layout as layout
12346         (TeXOnePar): layout as layout
12347         (simpleTeXOnePar): layout as layout
12348         (TeXEnvironment): layout as layout
12349         (layout): layout as layout
12350         (layout): layout as layout
12351
12352         * lyxtextclass.C (compare_name): new functor to work with
12353         shared_ptr, layout as layout
12354         (Read): layout as layout
12355         (hasLayout): layout as layout
12356         (operator): layout as layout
12357         (delete_layout): layout as layout
12358         (defaultLayout): layout as layout
12359
12360         * lyxlayout_ptr_fwd.h: new file
12361
12362         * lyxlayout.C (Read): layout as layout
12363
12364         * lyx_cb.C (MenuInsertLabel): layout as layout
12365
12366         * bufferlist.C (newFile): layout as layout
12367
12368         * buffer.C (readLyXformat2): layout as layout
12369         (parseSingleLyXformat2Token): layout as layout
12370         (insertStringAsLines): layout as layout
12371         (asciiParagraph): layout as layout
12372         (latexParagraphs): layout as layout
12373         (makeLinuxDocFile): layout as layout
12374         (simpleLinuxDocOnePar): layout as layout
12375         (makeDocBookFile): layout as layout
12376         (simpleDocBookOnePar): layout as layout
12377         (getLists): layout as layout
12378
12379         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12380
12381         * CutAndPaste.C (cutSelection): layout as layout
12382         (pasteSelection): layout as layout
12383         (SwitchLayoutsBetweenClasses): layout as layout
12384
12385         * BufferView_pimpl.C (Dispatch): layout as layout
12386         (smartQuote): layout as layout
12387
12388         * BufferView2.C (unlockInset): layout as layout
12389
12390 2002-06-24  André Pönitz <poenitz@gmx.net>
12391
12392         * lyxfunc.C: fix #487
12393
12394 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * lyxrc.h:
12397         * lyxrc.C:
12398         * lyxfunc.C: remove display_shortcuts, show_banner
12399
12400 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12401
12402         * Buffer_pimpl.C: oops, update on resize
12403
12404 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * buffer.C:
12407         * converter.C:
12408         * exporter.C:
12409         * lyxfunc.C:
12410         * BufferView.h:
12411         * BufferView.C: use repaint()
12412
12413         * BufferView_pimpl.h:
12414         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12415           as it's a clearer description. Remove superfluous
12416           redraws.
12417
12418 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12419
12420         * text.C: fix bug 488. Not ideal, but getting
12421           getWord() to work properly for the insets that
12422           matter is more difficult ...
12423
12424 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * BufferView_pimpl.C:
12427         * LyXAction.C:
12428         * commandtags.h:
12429         * lyxfunc.C: remove the six million index lyxfuncs to just
12430           one, and DTRT (bug 458)
12431
12432 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * BufferView.h:
12435         * BufferView.C:
12436         * BufferView_pimpl.h:
12437         * BufferView_pimpl.C: clean up resize() stuff,
12438           and unnecessary updateScreen()s
12439
12440 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * BufferView.h:
12443         * BufferView.C:
12444         * BufferView_pimpl.h:
12445         * BufferView_pimpl.C:
12446         * lyxfind.h:
12447         * lyxfind.C:
12448         * minibuffer.C: remove focus management of workarea,
12449           not needed. Use screen's greyOut()
12450
12451 2002-06-17  Herbert Voss  <voss@lyx.org>
12452
12453         * converter.C: (convert) do not post a message, when converting
12454         fails, let the calling function decide what to do in this case
12455
12456 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * lyxfunc.C: tidy up a little
12459
12460 2002-06-16    <alstrup@diku.dk>
12461
12462         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12463         Got rid of FORMS_H_LOCATION include. Now we are
12464         GUII.
12465
12466 2002-06-15  LyX Development team  <lyx@rilke>
12467
12468         * buffer.[Ch] (sgmlOpenTag):
12469         (sgmlCloseTag): Added support for avoiding pernicious mixed
12470         content. Return number of lines written.
12471
12472         (makeLinuxDocFile):
12473         (makeDocBookFile): Fixed calls to sgml*Tag.
12474         Simple white space clean.
12475
12476         (simpleDocBookOnePar): Simple white space clean.
12477
12478         * tabular.[Ch] (docBook): Renamed to docbook and got another
12479         argument to related with the pernicious mixed content.
12480
12481         (docbookRow): Fixed calls for docbook inset method.
12482
12483 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12484
12485         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12486         so it's X11 independent.
12487
12488         * kb*.[Ch]: ditto.
12489
12490         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12491
12492 2002-06-15  Lyx Development team  <lyx@electronia>
12493
12494         * intl.h: Renamed getTrans to getTransManager.
12495
12496 2002-06-14  Angus Leeming  <leeming@lyx.org>
12497
12498         * Makefile.am: nuke forgotten stl_string_fwd.h.
12499
12500 2002-06-12  Angus Leeming  <leeming@lyx.org>
12501
12502         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12503
12504 2002-06-13  Angus Leeming  <leeming@lyx.org>
12505
12506         * LaTeX.C:
12507         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12508
12509 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12510
12511         * kbmap.C (getiso): add support for cyrillic and greek
12512
12513 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * BufferView.h:
12516         * BufferView.C:
12517         * BufferView_pimpl.h:
12518         * BufferView_pimpl.C: move bogus scrolling logic
12519           to xforms
12520
12521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * lyxfunc.C:
12524         * BufferView_pimpl.C: view->resize() change
12525
12526 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * BufferView_pimpl.C: topCursorVisible
12529           prototype change
12530
12531 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * Makefile.am:
12534         * lyx_gui.h:
12535         * lyx_gui.C: move to frontends/
12536
12537         * main.C:
12538         * lyx_main.h:
12539         * lyx_main.C: changes from above
12540
12541 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * intl.C:
12544         * intl.h:
12545         * kbmap.C:
12546         * kbsequence.C:
12547         * lyx_cb.C:
12548         * lyx_main.C: minor tidy
12549
12550 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * BufferView_pimpl.h:
12553         * BufferView_pimpl.C:
12554         * BufferView.h:
12555         * BufferView.C: make painter() const,
12556           remove dead code
12557
12558         * BufferView2.C: use screen() accessor
12559
12560         * lyx_main.h:
12561         * lyx_main.C: some minor cleanup
12562
12563 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12564
12565         * BufferView_pimpl.h:
12566         * BufferView_pimpl.C: remove enter/leaveView,
12567           use workHeight()
12568
12569 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * BufferView.h:
12572         * BufferView.C:
12573         * BufferView2.C:
12574         * BufferView_pimpl.h:
12575         * BufferView_pimpl.C: only construct screen once,
12576           rename
12577
12578         * lyxrc.C: remove pointless comment
12579
12580 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * BufferView.h:
12583         * BufferView.C: remove active() and belowMouse()
12584
12585         * BufferView_pimpl.h:
12586         * BufferView_pimpl.C: use workarea() not workarea_,
12587           and make it use a scoped_ptr instead
12588
12589 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12590
12591         * lyx_gui.C: add debug message on BadWindow
12592
12593 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12594
12595         * sp_spell.C: fdopen is not part of the C++ standard.
12596
12597         * paragraph.C (InsetIterator): use >= instead of ==
12598
12599 2002-06-07  Angus Leeming  <leeming@lyx.org>
12600
12601         Fixes needed to compile with Compaq cxx 6.5.
12602         * BufferView_pimpl.C:
12603         * DepTable.C:
12604         * buffer.C:
12605         * converter.C:
12606         * encoding.C:
12607         * lyx_gui.C:
12608         * lyx_main.C:
12609         * lyxtextclasslist.C:
12610         * minibuffer.C:
12611         * sp_spell.C:
12612         * tabular_funcs.C:
12613         * vc-backend.C:
12614         all c-library variables have been moved into namespace std. Wrap
12615         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12616
12617         * lyxlength.C:
12618         * tabular-old.C:
12619         * tabular.C:
12620         Add a using std::abs declaration.
12621
12622         * kbmap.h (modifier_pair):
12623         * paragraph.h (InsetTable, InsetList):
12624         * lyxfont.h (FontBits):
12625         type definition made public.
12626
12627         * bufferlist.C (emergencyWriteAll): the compiler complains that
12628         there is more than one possible lyx::class_fun template to choose from.
12629         I re-named the void specialisation as lyx::void_class_fun.
12630
12631         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12632
12633         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12634         the compiler is is unable to find tostr in write_attribute.
12635
12636 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12637
12638         * buffer.C (sgmlError): hide #warning
12639
12640 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12641
12642         * xtl/*: get rid of xtl, which is not in use anyway
12643
12644         * LyXAction.C (init):
12645         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12646         were unimplemented xtl experimentation
12647
12648 2002-06-04  André Pönitz <poenitz@gmx.net>
12649
12650         * lyxfunc.C: disable array operation on simple formulae
12651
12652 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12653
12654         * converter.C: constify a bit
12655
12656 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12657
12658         * lyx_gui.C: check xforms version correctly
12659
12660 2002-04-30  Herbert Voss  <voss@lyx.org>
12661
12662         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12663         "keep" option
12664
12665 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12668           attempt to register it with a VCS)
12669
12670 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12671
12672         * lyx_main.C (init): honor variables LYX_DIR_13x and
12673         LYX_USERDIR_13x
12674
12675 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12676
12677         * buffer.h:
12678         * buffer.C:
12679         * lyx_main.C: fix a crash on bad command line,
12680           and give a useful exit status on error
12681
12682         * lyxfunc.C (doImport): allow -i lyx to work
12683
12684 2002-03-30  André Pönitz <poenitz@gmx.net>
12685
12686         * lyxfunc.C: mathed font changes
12687
12688 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12689
12690         * LaTeX.C:
12691         * importer.h:
12692         * importer.C:
12693         * lyx_sty.h:
12694         * lyx_sty.C:
12695         * lyxlex.C:
12696         * lyxrow.h:
12697         * lyxtext.h:
12698         * paragraph.h:
12699         * paragraph.C:
12700         * texrow.h:
12701         * texrow.C:
12702         * text.C:
12703         * trans_mgr.h: srcdocs, and some minor cleanups
12704
12705 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12706
12707         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12708         call getFont all the time)
12709
12710 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * switch from SigC signals to boost::signals
12713
12714 2002-05-29  André Pönitz <poenitz@gmx.net>
12715
12716         * paragraph_pimpl.C (getChar): don't call size() too often...
12717
12718 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12719
12720         * paragraph_pimpl.C (insertChar): do not try to update tables when
12721         appending (pos == size())
12722
12723         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12724         in order to reduce drastically the number of comparisons needed to
12725         parse a large document
12726
12727 2002-05-29  André Pönitz <poenitz@gmx.net>
12728
12729         * text.C:
12730         * text2.C:
12731         * lyxtextclass.C:
12732         * sp_pspell.h:
12733         * textclasslist.[Ch]:
12734         * sp_ispell.h: whitespace change
12735
12736 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12737
12738         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12739         lyxaction directly now.
12740
12741 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * trans.C:
12744         * lyxfont.C:
12745         * lyxvc.C: remove unused headers
12746
12747 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * Makefile.am:
12750         * buffer.h:
12751         * undostack.h:
12752         * undostack.C:
12753         * undo_funcs.h:
12754         * undo_funcs.C: some cleanups. Use shared_ptr
12755           and a template for the undo stacks.
12756
12757 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * BufferView_pimpl.h:
12760         * BufferView_pimpl.C:
12761         * kbmap.h:
12762         * kbmap.C:
12763         * kbsequence.h:
12764         * kbsequence.C:
12765         * lyxfunc.h:
12766         * lyxfunc.C:
12767         * text2.C: use key_state/mouse_state
12768
12769 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12770
12771         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12772         and LSubstring
12773
12774         * chset.C: change include order
12775         (loadFile): use boost regex and get rid of LRegex and LSubstring
12776
12777         * Makefile.am (BOOST_LIBS): new variable
12778         (lyx_LDADD): use it
12779
12780         * LaTeX.C: change include order.
12781         (scanAuxFile): use boost regex and get rid of LRegex and
12782         LSubstring
12783         (deplog): ditto
12784
12785 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12786
12787         * ColorHandler.h:
12788         * ColorHandler.C:
12789         * FontInfo.h:
12790         * FontInfo.C: moved to frontends/xforms/
12791
12792         * FontLoader.h:
12793         * FontLoader.C: moved into frontends for GUIIzation
12794
12795         * Makefile.am:
12796         * lyx_gui.C:
12797         * lyxfont.C:
12798         * lyxfunc.C: changes from above
12799
12800 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12801
12802         * LColor.C: remove spurious X include
12803
12804         * BufferView_pimpl.C:
12805         * Makefile.am:
12806         * font.h:
12807         * font.C:
12808         * text.C:
12809         * text2.C: move font metrics to frontends/
12810
12811 2002-05-24  Juergen Vigna  <jug@sad.it>
12812
12813         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12814         setting the undo_cursor.
12815
12816         * ParagraphParameters.h: include local includes first.
12817
12818 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12819
12820         * BufferView_pimpl.C:
12821         * BufferView_pimpl.h:
12822         * Makefile.am:
12823         * WorkArea.h:
12824         * WorkArea.C:
12825         * screen.C: move WorkArea into frontends/
12826
12827         * lyxscreen.h:
12828         * screen.C:
12829         * text.C:
12830         * BufferView.C:
12831         * BufferView2.C: move LyXScreen into frontends/
12832
12833         * lyxlookup.h:
12834         * lyxlookup.C:
12835         * lyx_gui.C: move lyxlookup into frontends/xforms/
12836
12837 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12838
12839         * BufferView2.C:
12840         * BufferView_pimpl.C:
12841         * FontLoader.C:
12842         * LyXView.h:
12843         * LyXView.C:
12844         * Makefile.am:
12845         * WorkArea.C:
12846         * XFormsView.h:
12847         * XFormsView.C:
12848         * buffer.C:
12849         * bufferlist.C:
12850         * bufferview_funcs.C:
12851         * converter.C:
12852         * importer.C:
12853         * lyx_cb.C:
12854         * lyx_gui.C:
12855         * lyx_main.C:
12856         * lyx_find.C:
12857         * lyxfunc.C:
12858         * lyxvc.C:
12859         * minibuffer.C:
12860         * text.C:
12861         * text2.C:
12862         * trans.C:
12863         * vc-backend.C: move LyX/XFormsView into frontends/
12864
12865 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12866
12867         * Makefile.am:
12868         * PainterBase.C:
12869         * PainterBase.h:
12870         * Painter.C:
12871         * Painter.h:
12872         * WorkArea.C:
12873         * WorkArea.h:
12874         * screen.C:
12875         * tabular.C:
12876         * text.C:
12877         * text2.C: move Painter to frontends/
12878
12879 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12880
12881         * buffer.C: comment out some some code that depend upon lyx_format
12882         < 220
12883
12884         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12885         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12886
12887         * buffer.h (NO_COMPABILITY): turn off compability
12888
12889         * ColorHandler.C: include scoped_array.hpp
12890
12891         * font.C: Use more specific smart_ptr header.
12892         * Painter.C: ditto
12893         * gettext.C: ditto
12894         * ShareContainer.h: ditto
12895         * lyx_main.h: ditto
12896         * kbmap.h: ditto
12897         * FontInfo.h: ditto
12898         * BufferView_pimpl.h: ditto
12899         * ColorHandler.h: ditto
12900
12901         * kbmap.C (defkey): change call to shared_ptr::reset
12902
12903 2002-05-21  Juergen Vigna  <jug@sad.it>
12904
12905         * buffer.C (insertErtContents): fix to insert ert asis if it is
12906         non empty. Skip it completely if it contains only whitespaces.
12907
12908 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12909
12910         * BufferView_pimpl.C:
12911         * BufferView2.C: clear selection on paste (bug 393)
12912
12913 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12914
12915         * DepTable.C: include ctime
12916
12917 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12918
12919         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12920
12921 2002-05-14  Juergen Vigna  <jug@sad.it>
12922
12923         * text.C (breakParagraph): fixed function to honor the keepempty
12924         layout in the right maner and also to permit the right breaking
12925         algorithm on empty or non empyt keepempty paragraphs.
12926
12927         * paragraph.C (breakParagraph): we have to check also if the par
12928         is really empty (!size()) for isempty otherwise we do the wrong
12929         paragraph break.
12930
12931 2002-05-10  Juergen Vigna  <jug@sad.it>
12932
12933         * buffer.[Ch] : The following are only changes to the ert
12934         compatibility read reading old LaTeX layout and font stuff and
12935         convert it to ERTInsets.
12936
12937         * buffer.h: added isErtInset().
12938
12939         * buffer.C (struct ErtComp): add a fromlayout bool to check
12940         if we're inside a LaTeX layout.
12941         (isErtInset): new helper function.
12942         (insertErtContents): look for other ert insets before this one
12943         and insert the contents there, so that we don't have subsequent
12944         ERT insets with nothing between them. This way we create only one
12945         inset with multiple paragraphs. Also check if we don't insert only
12946         spaces ' ' as they are ignored anyway afterwards in the .tex file
12947         so if we have only spaces we will ignore this latex part in the
12948         new file.
12949         (parseSingleLyXformat2Token \\layout): better compatibility when
12950         reading layout-latex stuff.
12951         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12952         language tag.
12953         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12954         stuff after reading the inset only get the information back from
12955         the stack.
12956
12957 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12960
12961         * LaTeXFeatures.C (getBabelOptions): New method.
12962
12963 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * BufferView_pimpl.C (Dispatch): work around missing argument for
12966         'layout'
12967
12968 2002-05-08  Juergen Vigna  <jug@sad.it>
12969
12970         * text.C (leftMargin): handle paragraph leftindent.
12971
12972         * paragraph.C (writeFile): write the new \\leftindent tag.
12973         (validate): handle leftindent code.
12974         (TeXEnvironment): handle paragraphleftindent code again.
12975
12976         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12977
12978         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12979         for paragrap_extra indent code and new token \\leftindent.
12980         (latexParagraphs): handle the leftindent as environment.
12981
12982         * ParameterStruct.h: added leftindent support.
12983
12984         * ParagraphParameters.C (leftIndent): added support functions for
12985         the paragraph left indent.
12986
12987         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12988         more appropriate.
12989
12990 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12991
12992         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12993         inside insetERT.
12994
12995         * text.C (computeBidiTables): No bidi in insetERT.
12996
12997         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12998         in RTL documents.
12999
13000 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * version.C.in: pre 5
13003
13004 2002-05-02  José Matos  <jamatos@fep.up.pt>
13005         * buffer.C (makeDocBookFile): white space changes, add newline to
13006         command styles.
13007         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13008
13009         * tabular.C (docBook): fix typo.
13010
13011 2002-05-03  Juergen Vigna  <jug@sad.it>
13012
13013         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13014         change in LyXText as we can not be sure it was not freed.
13015         (drawOneRow): remove unused code.
13016
13017         * text.C (drawInset): redo the calculation of the need_break_row as
13018         it could have a row which was already freed.
13019         (draw): look at the return value of drawInset and return false if
13020         it also returned false.
13021         (paintRowText): look at the return value of draw and return false if
13022         it also returned false.
13023
13024         * lyxtext.h: added bool return type to drawInset() and draw() so that
13025         if we have a change in the row so that the rowbreak has to be redone
13026         we abort drawing as it will be called again.
13027
13028 2002-05-02  Juergen Vigna  <jug@sad.it>
13029
13030         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13031         a change in the maintext also if we're inside an inset.
13032         (Dispatch): set the cursor again after a break line and after the
13033         screen has been updated as it could be we're in a different row.
13034
13035         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13036         to set the cursor behind the pargraph with > size().
13037         (setCursor): check also for the same paragraph when checking where
13038         to put the cursor if we have a NFR inset.
13039
13040         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13041         parts of layout read further up as it still was in the wrong
13042         position.
13043
13044 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * screen.C (drawFromTo): change sine fullRebreak always return
13047         true.
13048
13049         * buffer.C (parseSingleLyXformat2Token): reindent some
13050
13051         * BufferView_pimpl.C (update): change since fullRebreak always
13052         return true.
13053         (Dispatch): git rid of the last hardcoded "Standard"s.
13054
13055 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13056
13057         * text2.[Ch] (fullRebreak): make it return void now that we always
13058         returned true.
13059
13060 2002-04-30  Juergen Vigna  <jug@sad.it>
13061
13062         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13063         ert compatibility check for "latex" layout.
13064
13065 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13066
13067         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13068         minipages: use col% instead of p%, and also use the current font.
13069         (makeLaTeXFile): Fix use babel condition.
13070         (parseSingleLyXformat2Token): Correct font when reading old floats.
13071
13072 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13073
13074         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13075         inserting list of floats.
13076
13077 2002-04-25  Herbert Voss  <voss@lyx.org>
13078
13079         * MenuBackend.C (expand): don't add the graphics extensions to the
13080         export menu
13081
13082 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13083
13084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13085         non-existing layout, do not complain if it was the default layout
13086         of the original class (bug #342)
13087
13088 2002-04-24  Juergen Vigna  <jug@sad.it>
13089
13090         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13091         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13092
13093 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13094
13095         * buffer.C (getBibkeyList): If using \bibliography, return the
13096         option field with the reference itself. Enables us to provide natbib
13097         support when using \bibliography.
13098
13099 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13100
13101         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13102
13103         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13104         natbib is provided by the LaTeX class.
13105
13106 2002-04-23  Juergen Vigna  <jug@sad.it>
13107
13108         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13109         Wakeup functions.
13110
13111         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13112
13113 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13114
13115         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13116
13117         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13118         ensuremath around textordmasculine, textordfeminine and
13119         textdegree.
13120
13121 2002-04-19  Juergen Vigna  <jug@sad.it>
13122
13123         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13124         reinitializing the buffer otherwise row-dimensions may be wrong.
13125         (update): reset also the selection cursors if they do exits otherwise
13126         their x/y positions may be wrong.
13127
13128         * text2.C (cursorDown): don't enter the inset if we came from a row
13129         above and are one row over the inset.
13130
13131         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13132         really leaving an inset.
13133
13134 2002-04-18  Juergen Vigna  <jug@sad.it>
13135
13136         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13137         of the selected paragraph does not have the selected layout also if
13138         the last one had!
13139
13140         * text2.C (setLayout): fixed bug which did not change last selected
13141         paragraph.
13142
13143         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13144         changed the read and substituted \\end_float with \\end_inset!
13145
13146         * BufferView_pimpl.C (cursorPrevious):
13147         (cursorNext): fixed to make it work with rows heigher than the work
13148         area without moving the cursor only the draw of the row.
13149         (workAreaMotionNotify): fix jumping over high rows.
13150
13151 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13154         Ressler.
13155
13156 2002-04-16  Juergen Vigna  <jug@sad.it>
13157
13158         * text2.C (setCursor): set also the irow().
13159         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13160         (cursorUp):
13161         (cursorDown): support for locking an inset if the x_fix value goes
13162         inside it. That way I can transverse insets too with cursor up/down.
13163
13164         * lyxrow.h: added irow helper function same as other (i) functions.
13165
13166         * BufferView_pimpl.C (cursorPrevious):
13167         (cursorNext): fixed for insets!
13168
13169 2002-04-15  Juergen Vigna  <jug@sad.it>
13170
13171         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13172         position otherwise it is wrong in some cases.
13173
13174         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13175         inside the inset before the call.
13176
13177 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13178
13179         * buffer.[Ch] (getBibkeyList): make it const.
13180
13181 2002-04-12  Juergen Vigna  <jug@sad.it>
13182
13183         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13184
13185         * text2.C (getCursorX): new helper function
13186         (setCursor): compute also ix_
13187         (setCursorFromCoordinates): set also ix.
13188
13189         * lyxcursor.h: added ix_ and helper functions.
13190
13191         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13192
13193         * buffer.C (insertStringAsLines): dont break paragraph if the this
13194         paragraph is inside an inset which does not permit it!
13195
13196         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13197         also with no chars on this paragraph.
13198         (paintRowText): only paint stuff if it's inside the workarea!
13199
13200         * paragraph.C (breakParagraph): honor keepempty flag and break the
13201         paragraph always below not above.
13202
13203         * BufferView2.C (unlockInset): update the paragraph layout on inset
13204         unlock as we changed paragraph in such a case.
13205
13206         * lyxfind.C (LyXFind): clear the former selection if not found!
13207
13208         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13209         again called in insertChar().
13210
13211         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13212         an inset which uses the whole row!
13213         (rightMargin): ditto.
13214         (insertChar): force a rebreak if we inserted an inset!
13215
13216 2002-03-28  Herbert Voss  <voss@lyx.org>
13217
13218         * lyxlength.[Ch]: add inBP() to get the right PS-point
13219         units (BigPoint). With inPixels we have rounding errors
13220
13221 2002-04-11  Juergen Vigna  <jug@sad.it>
13222
13223         * text2.C (setCursorFromCoordinates): set iy to the right value.
13224         (setCursor): add check if row->previous exists!
13225
13226         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13227         an old float_type as this was the case in the old code!
13228
13229         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13230
13231         * BufferView2.C (showLockedInsetCursor): use iy
13232         (fitLockedInsetCursor): ditto
13233
13234         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13235         locked insets as there we have the right value now.
13236
13237         * lyxcursor.C: added iy_ variable and iy functions to set to the
13238         baseline of cursor-y of the locked inset.
13239
13240         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13241         (setCursor): fixed for insets which need a full row.
13242
13243         * text.C (rowLastPrintable): don't ignore the last space when before
13244         an inset which needs a full row.
13245         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13246         as last character of a row when before a inset which needs a full row.
13247
13248 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13249
13250         * version.C.in: update date
13251
13252         * text2.C (fullRebreak): try to always return true and see what
13253         happens...
13254
13255 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13256
13257         * MenuBackend.C (expand): use Floating::listName
13258
13259         * FloatList.C (FloatList): add listName argument to the built-in
13260         floats
13261
13262         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13263         text associated with the float.
13264
13265 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13266
13267         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13268
13269 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13270
13271         * ShareContainer.h: add a couple of missing typenames.
13272
13273 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13274
13275         * lyxrc.C (getDescription): use _() correctly rather than N_().
13276
13277 2002-03-28  Herbert Voss  <voss@lyx.org>
13278
13279         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13280         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13281
13282 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13283
13284         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13285         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13286
13287 2002-03-29  Juergen Vigna  <jug@sad.it>
13288
13289         * lyxfunc.C (dispatch): add a missing fitCursor call.
13290
13291         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13292         it was scrolled by a cursor move, so return the bool status.
13293
13294         * BufferView.C (fitCursor): return the bool flag also to the outside
13295         world as this is needed.
13296
13297         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13298
13299         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13300         call the edit() as it is not needed (and wrong) IMO.
13301         (workAreaButtonPress): set the screen_first variable before evt.
13302         unlock the inset as this may change screen_first and then we have
13303         a wrong y position for the click!
13304
13305 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13306
13307         * MenuBackend.C (expand): another translation that I missed
13308
13309 2002-03-28  Juergen Vigna  <jug@sad.it>
13310
13311         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13312
13313         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13314
13315 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13316
13317         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13318
13319         * MenuBackend.C (expand): fix export/view/update when there is no
13320         document open.
13321
13322 2002-03-27  Herbert Voss  <voss@lyx.org>
13323
13324         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13325         and text%
13326
13327 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13328
13329         * bufferview_funcs.C (currentState): only show paragraph number
13330         for is DEVEL_VERSION is set.
13331
13332         * lyxfunc.C (dispatch): put warning in INFO channel
13333
13334         * MenuBackend.C (expand): translate the name of floats
13335
13336         * FloatList.C (FloatList): mark the float names for translation
13337
13338         * converter.C (convert): use LibScriptSearch
13339
13340 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13341
13342         * MenuBackend.C (defaults): fix default menu (we might as well get
13343         rid of it...)
13344
13345 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13346
13347         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13348         directory.
13349
13350 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13351
13352         * lyxvc.C: reorder includes.
13353
13354 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13357           properly
13358
13359 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13360
13361         * CutAndPaste.C: change layouts earlier on paste
13362           to avoid crashing when calling getFont()
13363
13364 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13367         irritating #error.
13368
13369 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * WorkArea.C: remove 'Pending' debug message.
13372
13373         * most files: ws cleanup
13374
13375         * buffer.[Ch]: ws changes
13376
13377         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13378
13379 2002-03-21  Juergen Vigna  <jug@sad.it>
13380
13381         * tabular.C (SetMultiColumn): collapse also the contents of the
13382         cells and set the last border right. Added a Buffer const * param.
13383
13384 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13385
13386         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13387         linking or not.
13388
13389 2002-03-19  Juergen Vigna  <jug@sad.it>
13390
13391         * text2.C (clearSelection): reset also xsel_cache.
13392
13393         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13394         where it needs to be called (John tells us to do so too :)
13395         (selectionLost): reset sel_cache.
13396
13397         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13398
13399 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13400
13401         * text2.C (setCursorIntern): put debuging code in INSETS channel
13402
13403 2002-03-19  André Pönitz <poenitz@gmx.net>
13404
13405         * lyxfunc.C: tiny whitespace change
13406
13407 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13408
13409         * ToolbarDefaults.C (init):
13410         * LyXAction.C (init):
13411         * commandtags.h:
13412         * BufferView_pimpl.C (Dispatch):
13413         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13414
13415 2002-03-19  Allan Rae  <rae@lyx.org>
13416
13417         * exporter.C (Export): removeAutoInsets before doing anything else.
13418         While I've just introduced a dependency on BufferView this really is
13419         the best place to clean the buffer otherwise you need to cleanup in
13420         a dozen places before calling export or cleanup in a dozen functions
13421         that export calls.
13422
13423         * converter.C (runLaTeX):
13424         (scanLog): Better handling of removeAutoInsets and screen updates.
13425
13426         * lyxfunc.C (dispatch): small whitespace changes
13427
13428 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13429
13430         * WorkArea.C (C_WorkAreaEvent): return a value.
13431         (event_cb): return 1 if we handled the event, 0 otherwise.
13432
13433         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13434
13435 2002-03-18  Juergen Vigna  <jug@sad.it>
13436
13437         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13438         (GetAdditionalWidth): ditto.
13439         (RightLine): ditto.
13440         (LeftLine): ditto.
13441
13442         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13443         inset if we're there actually (probably not used right now but this
13444         is the direction to go for unifying code).
13445         (paste): disable code to clear the selection.
13446
13447         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13448         inside an InsetText and move the check further up as it is in the
13449         wrong place.
13450
13451         * text2.C (pasteSelection): set a selection over the pasted text.
13452
13453 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13454
13455         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13456         and libgraphics to build on Cygwin.
13457
13458 2002-03-15  Juergen Vigna  <jug@sad.it>
13459
13460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13461         inserting an Inset into the paragraph. I know this is not the best
13462         fix but we already use current_view in CutAndPaste so we will remove
13463         all of it's using at the same time.
13464
13465         * buffer.C (sgmlError): deactivated function till it is rewritten in
13466         the right mode, now it can create problems.
13467
13468         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13469         before accessing it.
13470
13471 2002-03-14  Juergen Vigna  <jug@sad.it>
13472
13473         * undo_funcs.C (textHandleUndo): do the right thing when updating
13474         the inset after the undo/redo.
13475
13476         * text2.C (setCursor): just some testcode for #44 not ready yet.
13477
13478         * undo_funcs.C (textHandleUndo): set the next() and previous()
13479         pointers of the paragraph to 0 before deleting otherwise we have
13480         problems with the Paragraph::[destructor].
13481
13482         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13483         on a paragraph insertion.
13484
13485 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * buffer.C (asciiParagraph): use += operator for char append to
13488         string.
13489
13490         * paragraph.C (getFontSettings): compare >= not just >
13491         (highestFontInRange): ditto
13492         (setFont): ditto
13493
13494 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13495
13496         * paragraph.C: change several algorithm to be more appripriate for
13497         the problem domain. This is lookip in FontList and in the InsetList.
13498
13499 2002-03-13  André Pönitz <poenitz@gmx.net>
13500
13501         * commandtags.h:
13502         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13503
13504 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13505
13506         * commandtags.h:
13507         * LyXAction.C:
13508         * lyxfunc.C:
13509         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13510
13511 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13512
13513         * Painter.C (display): anon helper function, adjust code for this
13514         change.
13515         (pixmap): remove function.
13516
13517         * Painter.h: remove private display variable.
13518
13519         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13520
13521 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13522
13523         * WorkArea.[Ch]: remove figinset_canvas cruft.
13524
13525 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13526
13527         * lyxtextclass.C (operator): add one item cache optimization.
13528
13529         * bufferlist.h: doxy changes
13530
13531         * bufferlist.C: ws changes
13532
13533         * DepTable.[Ch] (ext_exist): place const in the right spot.
13534
13535         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13536         call resizeInsets.
13537         (workAreaExpose): call resizeInsets when the with BufferView changes.
13538         (Dispatch): adjust for protectedBlank removal
13539         (specialChar): call updateInset if the insert went ok.
13540
13541         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13542         specialChar instead.
13543
13544         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13545
13546         * BufferView.h: doxy change
13547
13548         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13549
13550         * lyxtextclass.C (operator[]): remove non-const version
13551         (defaultLayout): remove non-const version
13552
13553 2002-03-12  Juergen Vigna  <jug@sad.it>
13554
13555         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13556         did resize the LyXText too.
13557
13558         * buffer.C (readLyXformat2): set layout information on newly allocated
13559         paragraphs.
13560
13561         * tabular.C (OldFormatRead): set layout information on the paragraph.
13562
13563 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13564
13565         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13566
13567 2002-03-11  Juergen Vigna  <jug@sad.it>
13568
13569         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13570         plainly wrong.
13571         (resizeCurrentBuffer): force also the insets to resize themselfes.
13572         (moveCursorUpdate): fixed up for InsetText.
13573
13574 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13575
13576         * commandtags.h:
13577         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13578         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13579         value of Dialogs::tooltipsEnabled().
13580         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13581
13582 2002-03-08  Juergen Vigna  <jug@sad.it>
13583
13584         * BufferView_pimpl.C (updateInset): update inset inside inset also
13585         if it isn't inside theLockingInset().
13586
13587 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13588
13589         * buffer.C (asciiParagraph): redo some of the word and line length
13590         handling.
13591         (getLists): look for Caption instead of caption.
13592
13593 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13594
13595         * buffer.C (Buffer): initialize niceFile to true
13596         (makeLaTeXFile):
13597         (makeLinuxDocFile):
13598         (makeDocBookFile): make sure niceFile is true on exit
13599
13600 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13601
13602         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13603
13604 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13605
13606         * LyXSendto.C: remove.
13607         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13608         * lyx_gui.C: remove now-redundant comment.
13609         * ColorHandler.h: remove forward declaration of class WorkArea.
13610         * lyxfunc.C: remove #include "WorkArea.h".
13611
13612 2002-03-07  Juergen Vigna  <jug@sad.it>
13613
13614         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13615         got moved away with the DEPM and also set the inset_owner always
13616         right which before could have been omitted.
13617
13618 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13621         wanted layout is not found.
13622
13623 2002-03-07  Juergen Vigna  <jug@sad.it>
13624
13625         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13626
13627 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * paragraph.C (breakParagraph): use default layout not layout of
13630         prev paragraph.
13631         (Paragraph): clear ParagraphParameters.
13632
13633 2002-03-06  Juergen Vigna  <jug@sad.it>
13634
13635         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13636         otherwise it would not be a valid lenght. Fixed a special case in
13637         the minipage compatibility read where we end the document with a
13638         minipage.
13639
13640         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13641         was set as it could be 0 for InsetTexts first entry.
13642
13643 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13644
13645         * paragraph.C (writeFile): if layout is empty write out
13646         defaultLayoutName().
13647
13648         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13649         file without named layout we set layout to defaultLayoutName().
13650
13651 2002-03-06  Juergen Vigna  <jug@sad.it>
13652
13653         * CutAndPaste.C (copySelection): set layout for new paragraph.
13654
13655         * text.C (prepareToPrint): leave ERT inset left aligned
13656         (leftMargin): don't indent paragraphs inside ERT insets
13657
13658 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13659
13660         * paragraph.C (breakParagraph): dont call clear do the work manually
13661
13662         * paragraph.[Ch] (clear): remove function
13663
13664 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13665
13666         * paragraph.C (Paragraph): dont call clear, the work has already
13667         been done.
13668
13669         * lyxtextclass.C (operator): assert if n is empty
13670
13671         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13672         work manually instead.
13673
13674 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13675
13676         * BufferView_pimpl.C: protect selectionLost against text == 0
13677
13678 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13679
13680         * text.C (breakParagraph): fix a setting layout to '0' problem.
13681
13682 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13683
13684         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13685         final location of file, for the included files, and graphics.
13686
13687 2002-03-05  Juergen Vigna  <jug@sad.it>
13688
13689         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13690
13691 2002-03-04  Juergen Vigna  <jug@sad.it>
13692
13693         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13694
13695         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13696         last column of multicolumn cells.
13697         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13698
13699 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13700
13701         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13702         file if it doesn't go to a temporary file.
13703
13704         * buffer.C (sgmlOpenTag):
13705         (sgmlCloseTag):  remove extra newline insertion.
13706
13707 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13708
13709         * text.C (getRowNearY): comment out debug msg
13710
13711 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13712
13713         * text2.C: first -> first_y
13714
13715         * text.C (getRowNearY): add some attemts at a possible
13716         optimization, not working.
13717
13718         * tabular.[Ch]: add BufferParams to several function so that newly
13719         created paragraph can be initialized to he default layotu for the
13720         buffers textclass.
13721
13722         * tabular-old.C (ReadOld): add buf->params to call of Init
13723
13724         * screen.C: rename text->first to text->first_y
13725
13726         * paragraph.C (breakParagraph): always set layout in the broken
13727         paragraph
13728
13729         * lyxtextclass.C (Read): remove lowercase
13730         (hasLayout): ditto
13731         (operator): ditto
13732         (delete_layout): ditto
13733
13734         * lyxtext.h: rename first -> first_y
13735
13736         * lyxlayout.C (Read): remove lowercase
13737         (name): ditto
13738         (setName): ditto
13739         (obsoleted_by): ditto
13740
13741         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13742
13743         * buffer.C (insertErtContents): add params are to InsetERT
13744         (parseSingleLyXformat2Token): add code to check if a paragraphs
13745         layout really exist.
13746         (parseSingleLyXformat2Token): add params to several inset
13747         constructors
13748         (asciiParagraph): remove lowercase, do the layout comparisons with
13749         no_case
13750
13751         * BufferView_pimpl.C (cursorNext): first -> first_y
13752         (resizeCurrentBuffer): first -> first_y
13753         (updateScrollbar): first -> first_y
13754         (scrollCB): first -> first_y
13755         (workAreaMotionNotify): first -> first_y
13756         (workAreaButtonPress): first -> first_y
13757         (checkInsetHit): first -> first_y
13758         (cursorPrevious): first -> first_y
13759         (cursorNext): first -> first_y
13760         (Dispatch): add buffer_->params to severl inset contructors
13761
13762 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * lyxlayout.C (Read): remove some debug info that I forgot.
13765
13766         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13767         clean up the code slightly.
13768         (makeLinuxDocFile): ditto
13769         (makeDocBookFile): ditto
13770
13771         * text2.C: layout as string
13772
13773         * text.C: layout as string
13774
13775         * paragraph_pimpl.C: layout as string
13776
13777         * paragraph.[Ch]: layout as string
13778
13779         * lyxtextclasslist.[Ch]: layout as string
13780
13781         * lyxtextclass.[Ch]: layout as string
13782
13783         * lyxtext.h: layout as string
13784
13785         * lyxlayout.[Ch]: layout as string
13786
13787         * lyx_cb.C: layout as string
13788
13789         * bufferview_funcs.C: layout as string
13790
13791         * bufferparams.C: layout as string
13792
13793         * buffer.C: layout as string
13794
13795         * LyXView.[Ch]: layout as string
13796
13797         * LaTeXFeatures.[Ch]: layout as string
13798
13799         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13800
13801         * BufferView_pimpl.C: change current_layout to string, remove
13802         lyx::layout_type.
13803         (Dispatch):
13804         (smartQuote):
13805         (insertInset):
13806         (workAreaButtonRelease): layout as string
13807
13808         * BufferView2.C (unlockInset): adjust
13809
13810         * vspace.C (asLatexCommand): use an explict temp variable.
13811
13812 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13813
13814         * Makefile.am: use FRONTEND_*
13815
13816 2002-03-01  Juergen Vigna  <jug@sad.it>
13817
13818         * tabular.C (SetWidthOfMulticolCell): changed to something better
13819         I hope but still work in progress.
13820         (recalculateMulticolumnsOfColumn): renamed function from
13821         recalculateMulticolCells as it is more appropriate now.
13822         (SetWidthOfCell): calculate multicols better.
13823
13824 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13825
13826         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13827
13828         * lyxfunc.C (processKeySym): print sequence also if it is
13829         `deleted' (complete)
13830
13831         * kbsequence.C (print): print sequence even if it is deleted
13832         (complete would be a better word, actually).
13833
13834         * lyxfunc.C (dispatch): print complete options after a prefix key
13835
13836         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13837
13838 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13839
13840         * text2.C (setCharFont): eliminate setCharFont code duplication.
13841
13842 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13843
13844         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13845         LFUN_TABULAR_FEATURE (bug #177)
13846
13847 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13848
13849         * Makefile.am: remove figure.h
13850
13851 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13852
13853         * Bufferview_pimpl.C:
13854         * CutAndPasteC:
13855         * LaTeX.C:
13856         * LyXSendto.C:
13857         * buffer.C:
13858         * bufferlist.C:
13859         * converter.C:
13860         * language.C:
13861         * lyxfunc.C:
13862         * lyxvc.C:
13863         * paragraph.C:
13864         * text.C:
13865         * text2.C: remove #include "lyx_gui_misc.h".
13866
13867         * LaTeX.C: added #include <cstdio>
13868
13869 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13870
13871         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13872         that the paragraph following this one can have.
13873
13874         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13875
13876         * vspace.C (asLatexCommand): fix bogus gcc warning
13877
13878         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13879
13880 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13881
13882         * text2.C (setLayout): get rid of redundant code
13883
13884 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13885
13886         * text2.C (incDepth): make sure depth cannot be increased beyond
13887         reasonable values.
13888
13889 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13890
13891         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13892         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13893
13894         * PainterBase.h (image):
13895         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13896         a LyXImage const *.
13897
13898 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13899
13900         * BufferView.C:
13901         * BufferView.h:
13902         * BufferView_pimpl.C:
13903         * BufferView_pimpl.h:
13904         * LaTeXFeatures.C:
13905         * LyXAction.C:
13906         * LyXView.C:
13907         * Makefile.am:
13908         * UpdateList.h:
13909         * UpdateList.C:
13910         * buffer.C:
13911         * figure.h:
13912         * figureForm.C:
13913         * figureForm.h:
13914         * figure_form.C:
13915         * figure_form.h:
13916         * lyx_cb.C:
13917         * lyx_gui.C:
13918         * lyx_gui_misc.C:
13919         * lyxfunc.C:
13920         * sp_base.h:
13921         * sp_ispell.h:
13922         * sp_pspell.h:
13923         * sp_spell.C: remove fig inset, and the crap house of
13924           cards that follows it
13925
13926 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13927
13928         * Makefile.am:
13929         * lyxserver.C:
13930         * os2_defines.h:
13931         * os2_errortable.h:
13932         * nt_defines.h: move .h into support/
13933
13934         * vms_defines.h: remove
13935
13936         * WorkArea.C: add space in debug output
13937
13938         * text2.C:
13939         * paragraph.C:
13940         * buffer.C: add WITH_WARNINGS
13941
13942         * vc-backend.h:
13943         * vc-backend.C:
13944         * bufferlist.C: s/retrive/retrieve/, add docs
13945
13946         * vspace.h:
13947         * vspace.C:
13948         * kbmap.h:
13949         * lyxlength.h:
13950         * lyxgluelength.h:
13951         * length_common.h:
13952         * chset.h:
13953         * chset.C: add docs
13954
13955         * lyxgui.C: add ID to X error handler
13956
13957         * lyxtestclass.c: fix typo
13958
13959 2002-02-26  Juergen Vigna  <jug@sad.it>
13960
13961         * tabular_funcs.C (write_attribute): changed so that some default
13962         attributes are not written at all.
13963         (getTokenValue): set default values before trying to read the
13964         value so we have the return value always set as default if we don't
13965         find the token we search for.
13966
13967         * tabular.C (Write): write bools as bools not as strings!
13968
13969 2002-02-22  Juergen Vigna  <jug@sad.it>
13970
13971         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13972         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13973
13974         * text.C (leftMargin): don't add an indent for paragraphs inside
13975         tabular cells (fix #208).
13976
13977 2002-02-21  José Matos  <jamatos@fep.up.pt>
13978
13979         * tabular.C (docBook): fixed support for long tables.
13980
13981 2002-02-20  Juergen Vigna  <jug@sad.it>
13982
13983         * text2.C (getFont): get the drawing font of the Inset if this
13984         paragraph is inside an inset (only important for InsetERT for now).
13985
13986         * buffer.C (insertErtContents): use new lanugage params in ERT
13987         constructor.
13988
13989         * CutAndPaste.C: commenting out seemingly uneeded code.
13990
13991 2002-02-19  Allan Rae  <rae@lyx.org>
13992
13993         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13994         Iterators might be simple to use but they also get invalidated.
13995         (removeAutoInsets): renamed saved cursor tracking variables and added
13996         some comments to clarify what everything does.
13997
13998 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13999
14000         * Chktex.C:
14001         * LaTeX.C:
14002         * LyXSendto.C:
14003         * converter.C:
14004         * lyx_cb.C:
14005         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14006         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14007
14008         * lyxfunc.C:
14009         * vc-backend.h: remove #include "support/syscall.h"
14010
14011         * LaTeX.C:
14012         * LyXSendto.C:
14013         * converter.C: rearrange #includes in Lars' approved fashion.
14014
14015         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14016         forward declare class Timeout in the header file.
14017
14018         * XFormsView.C: changes due to the above.
14019
14020         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14021         similar to LyXView.
14022
14023         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14024         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14025
14026 2002-02-18  José Matos  <jamatos@fep.up.pt>
14027
14028         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14029         insets contents.
14030
14031 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14032
14033         * a lot of small ws changes
14034         * add a lot of using std::XXX
14035         * use std construcs some places where approp.
14036         * use some exisint stuff from lyxfunctional where approp.
14037         * Make file changes to use partial linking (lets test this now...)
14038
14039 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14040
14041         * Chktex.C:
14042         * buffer.C:
14043         remove #include "support/syscontr.h" as it's redundant. Always has been.
14044
14045         * Chktex.C:
14046         * LaTeX.C:
14047         * LyXSendto.C:
14048         * converter.C:
14049         * lyx_cb.C:
14050         * vc-backend.C:
14051         change Systemcalls::System to Systemcalls::Wait and
14052         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14053         No change of functionality, just reflects the stripped down Systemcalls
14054         class.
14055
14056 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14057
14058         * debug.[Ch]: add a GRAPHICS type to the enum.
14059
14060 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14061
14062         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14063
14064         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14065         there is an inset.
14066
14067 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14068
14069         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14070         match the changes below.
14071
14072         * text2.C (toggleInset): if there is not editable inset at cursor
14073         position, try to see if cursor is _inside_ a collapsable inset
14074         and close it.
14075
14076 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14077
14078         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14079         document menu has a nice checkbox
14080
14081 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14082
14083         * lyxlength.C (asLatexString): change PW to output as percent of
14084         \textwidth.
14085
14086         * lengthcommon.C: change '%' to 't%'
14087
14088         * lyxfunc.C (dispatch): a few comments from Martin
14089
14090 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14091
14092         * WorkArea.h:
14093         * WorkArea.C:
14094         * BufferView_pimpl.h:
14095         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14096           the X selection.
14097
14098 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14099
14100         * vspace.C (inPixels): fix compiler warning
14101
14102 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * lyxfunc.C (getStatus): fix status message for disabled commands.
14105
14106 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14107
14108         * BufferView_pimpl.C: fix crash on close buffer
14109         during selection (#227)
14110
14111 2002-01-27  Herbert Voss  <voss@lyx.org>
14112
14113         * buffer.C: link old Figure to new graphic inset
14114
14115 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14116
14117         * FontLoader.C (getFontinfo): Change the latex font names in order
14118         to match the names of type1inst.
14119
14120 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14121
14122         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14123
14124         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14125         (extchanged): ditto
14126         (ext_exist): ditto
14127         (remove_files_with_extension): ditto
14128         (remove_file): ditto
14129         (write): ditto
14130
14131         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14132         document is smaller than the work area height. Do not initialize
14133         static variables to 0.
14134
14135 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14136
14137         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14138
14139         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14140         LFUN_LAYOUT_PARAGRAPHS.
14141
14142         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14143         tabular. It is possible to provide a possible cell, which will
14144         typically be the actcell from the corresponding insettabular
14145
14146         * lyxfunc.C (getStatus): small cleanup; disable
14147         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14148         true
14149
14150 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14151
14152         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14153
14154         * paragraph.C (startTeXParParams):
14155         (endTeXParParams): new methods. The LaTeX code to
14156         start/end paragraph formatting
14157         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14158         empty (fixes bug #200)
14159
14160         * vspace.C (inPixels): adapt to the change below
14161         (inPixels): [later] more cleanups (remove unused variables)
14162
14163         * lyxlength.C (inPixels): change to use a width and a height as
14164         parameter.
14165
14166 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14167
14168         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14169         Replaced with \paperwidth
14170
14171         * DepTable.C (insert): add std:: qualifier
14172
14173 2002-01-18  Allan Rae  <rae@lyx.org>
14174
14175         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14176         updated also?
14177
14178         * text.C (drawInset): Turned out I didn't know enough about how
14179         rebreaking worked.  This fixes most of the redraw problems.  I see
14180         an occasional cursor trail when a line is broken now and the cursor
14181         placement can seem out by a few pixels also after a rebreak.
14182
14183 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14184
14185         * buffer.C (parseSingleLyXformat2Token): update because minipage
14186         width is now a LyXLength
14187
14188         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14189
14190         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14191         math insets
14192
14193 2002-01-17  Juergen Vigna  <jug@sad.it>
14194
14195         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14196
14197         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14198         is set correctly and the inset is updated correctly.
14199
14200 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14201
14202         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14203         the beginning of the loop.
14204
14205 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14206
14207         * lyxrc.C: improve help for use_scalable_fonts
14208
14209 2002-01-17  Allan Rae  <rae@lyx.org>
14210
14211         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14212
14213 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14214
14215         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14216         make sure to set their inset_owner to the right value (bug #171)
14217
14218 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14219
14220         * DepTable.h
14221         * DepTable.C: Implement mtime checking to reduce time spent doing
14222         CRCs.
14223
14224 2002-01-16  Juergen Vigna  <jug@sad.it>
14225
14226         * tabular.C (GetAdditionalHeight): one of error fixed.
14227
14228         * lyxrc.C (output): small fix in writing use_pspell.
14229
14230 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14231
14232         * sp_base.h: #include LString.h
14233
14234 2002-01-16  Allan Rae  <rae@lyx.org>
14235
14236         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14237         Can someone check this please?
14238
14239         * text.C (drawInset): It was possible that p.row would be removed by
14240         breakAgainOneRow upsetting a few other settings.  There may be another
14241         small tweak possible by setting need_break_row = 0 when p.row has been
14242         removed but I don't know enough about the logic here.
14243
14244 2002-01-15  Allan Rae  <rae@lyx.org>
14245
14246         * text.C (insertChar): removed conditional truism.
14247
14248         * BufferView2.C (removeAutoInsets): More tweaks.
14249         cur_par_prev could be a stray pointer.  Check for trailing empty line
14250         in case last line was cur_par and only had an error inset on it.
14251
14252 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14253
14254         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14255         absolute
14256
14257         * vc-backend.C (most methods):
14258         * exporter.C (Export):
14259         * converter.C (convert):
14260         (runLaTeX):
14261         * LyXSendto.C (SendtoApplyCB):
14262         * lyxfunc.C (dispatch):
14263         (menuNew):
14264         (open):
14265         (doImport):
14266         * lyx_cb.C (AutoSave):
14267         (InsertAsciiFile):
14268         * BufferView_pimpl.C (MenuInsertLyXFile):
14269         * buffer.C (runChktex): use Buffer::filePath().
14270
14271         * buffer.h: rename filename to filename_; rename filepath to
14272         filepath_ and make it private
14273         (filePath): new method
14274
14275         * buffer.C (writeFile): use fileName()
14276         (getLatexName):
14277
14278         * lyx_main.C (init): fix starting  of LyX when the binary is a
14279         link from so,ewhere else.
14280
14281         * minibuffer.C: include <cctype> for isprint
14282
14283 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14284
14285         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14286         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14287         name clash with InsetCollapsable's width function.
14288
14289 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14290
14291         * lastfiles.C: include <iterator>
14292
14293 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14294
14295         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14296         std::count.
14297
14298         * buffer.C (makeLaTeXFile): ditto.
14299         Also make loop operation more transparent.
14300
14301 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14302
14303         * ToolbarDefaults.C: remove trailing comma closing namespace.
14304
14305         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14306
14307         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14308         as in WorkArea.
14309
14310         * trans.C (Load): comment out unused variable, allowed.
14311
14312 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14313
14314         * minibuffer.[Ch] (append_char): new method to recieve input from the
14315         drop-down completion browser. If a key was pressed, then recieve this
14316         char and append it to the existing string.
14317         (peek_event): modify the positioning data passed to the completion
14318         browser so that it can be placed above the minibuffer rather than below.
14319 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14320
14321         * LyXAction.C (init): alloe error-next for readonly documents.
14322
14323         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14324         count.
14325
14326 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14327
14328         * bufferlist.C (readFile): create the buffer _after_ checking that
14329         the file exists.
14330
14331         * lyxfunc.C (verboseDispatch): fix handling of arguments
14332
14333         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14334
14335         * lyxrc.C: use string::erase() instead of initializing to "".
14336
14337
14338 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * BufferView_pimpl.h:
14341         * BufferView_pimpl.C:
14342         * WorkArea.h:
14343         * WorkArea.C:
14344         * text2.C: tell X when we have made a selection for copying
14345
14346 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14347
14348         * BufferView_pimpl.C (MenuInsertLyXFile):
14349         * lyxfunc.C (menuNew):
14350         (open):
14351         (doImport): add shortcuts to directory buttons
14352
14353         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14354         open a float)
14355
14356         * lyxfunc.C (setStatusMessage):
14357         (getStatusMessage): new methods
14358         (getStatus):use setStatusMessage instead of setErrorMessage
14359         (dispatch): when function is disabled, set error message here
14360         [instead of in getStatus previously]
14361
14362         * BufferView_pimpl.C (workAreaButtonRelease): update
14363         toolbar/menubar here too.
14364
14365 2002-01-13  Allan Rae  <rae@lyx.org>
14366
14367         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14368         Now seems indestructible.  Remaining task is to audit all other
14369         code affected by deleteEmptyParagraphMechanism.  One small quirk
14370         left is that an empty document with an error in the preamble can
14371         be made to report an error but no error box appears.  I don't know
14372         where it goes.
14373         (removeAutoInsets): Improved comments.
14374
14375 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14376
14377         * Thesaurus.h:
14378         * Thesaurus.C: update for Aiksaurus 0.14
14379
14380 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14381
14382         * text2.C (firstParagraph): removed member function, all uses
14383         replaces with ownerParagraph
14384         (redoParagraphs): here
14385         (updateInset): here
14386         (toggleAppendix): here
14387         * BufferView2.C (insertErrors): here
14388         (setCursorFromRow): here
14389
14390 2002-01-13  Allan Rae  <rae@lyx.org>
14391
14392         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14393         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14394         There is still a way to segfault this although you may have to do this
14395         multiple times: Have an InsetERT with an unknown command in it.
14396         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14397         <down-arrow>, <Enter> again, View->DVI, BANG!
14398
14399         * text2.C (setCursor):
14400         (deleteEmptyParagraphMechanism):
14401         * lyxtext.h (setCursor):
14402         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14403         Making use of the return value may help fix other bugs.
14404
14405 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14406
14407         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14408
14409         * LyXView.C (updateMenubar): call MenuBar::update here
14410         (updateToolbar): but not here
14411         (showState): do not update toolbar/menubar
14412
14413         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14414         should need to care about that.
14415
14416         * lyxfunc.C (verboseDispatch): simplify a bit
14417         (getStatus): have a version which takes a pseudoaction, and
14418         another which requires a (kb_action,string).
14419
14420         * LyXAction.C (retrieveActionArg): make it work also when action
14421         is not a pseudo-action.
14422         (getActionName): simplify a bit
14423         (helpText):
14424
14425 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14426
14427         * lyxfunc.C (verboseDispatch): new families of methods with
14428         several ways to specify a command and a bool to indicate whether
14429         the command name and shortcut should be displayed in minibuffer
14430         (eventually, we could extend that to a finer bitmask like
14431         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14432         (dispatch): the pristine dispatch command which just, well,
14433         dispatchs! Note it still sets its result to minibuffer; I'm not
14434         sure we want that.
14435
14436         * lyxfunc.h: remove setHintMessage
14437
14438         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14439
14440 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14441
14442         * BufferView_pimpl.C (specialChar): delete new inset if we have
14443         not been able to insert it.
14444
14445         * kbmap.C: revert to using int instead of kb_action, since all we
14446         are dealing with is pseudo-actions.
14447
14448         * LyXAction.C (searchActionArg): change to return int instead of
14449         kb_action, since the result is a pseudoaction.
14450
14451 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14452
14453         * buffer.C (insertErtContents): Fix (partially) the font bug.
14454
14455 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14456
14457         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14458         as the other one is broken on my machine!
14459
14460 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14461
14462         * commandtags.h:
14463         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14464
14465 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14466
14467         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14468         reflect their actual use. Provide compatibility code for older lyxrc
14469         files.
14470
14471         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14472         FL_NORMAL_STYLE.
14473         change names of popup font variables in line with the changes to lyxrc.C
14474
14475 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14476
14477         * buffer.C (asciiParagraph): avoid outputing a word twice after
14478         an inset.
14479
14480         * lyxrc.C (getDescription): document that document_path and
14481         template_path can be empty.
14482
14483 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14484
14485         * LaTeXFeatures.C (getMacros):
14486         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14487
14488         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14489
14490         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14491         getPackages.
14492         (getPackages): rename feature "floats" to "float". Use an array to
14493         iterate over 'simple' features (i.e. just a \usepackage). Add
14494         handling of "amsmath" (renamed from "amsstyle").
14495
14496 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14497
14498         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14499         features list.
14500
14501 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14502
14503         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14504         FuncStaus::FuncStatus & FuncStaus::some_method().
14505
14506 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14507
14508         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14509         of the func_satus stuff. Edited and massaged in various ways by
14510         JMarc.
14511
14512         * lyxfunc.C (getStatus): use FuncStatus
14513
14514 2002-01-08  Juergen Vigna  <jug@sad.it>
14515
14516         * text.C (nextBreakPoint): use function Inset::isChar().
14517
14518         * paragraph.C (TeXOnePar): use function
14519         Inset::forceDefaultParagraphs.
14520
14521         * buffer.C (latexParagraphs): use function
14522         Inset::forceDefaultParagraphs.
14523
14524 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14525
14526         * lyx_gui.C (init): set the style of the menu popups to
14527         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14528
14529 2002-01-07  Juergen Vigna  <jug@sad.it>
14530
14531         * text.C (setHeightOfRow): small fix
14532         (prepareToPrint): don't look at alignment if we don't have the place
14533         for doing it.
14534
14535 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14536
14537         * box.C: New file. Move the Box methods and functions out of box.h,
14538         following Lars' suggestion.
14539
14540 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14541
14542         * box.h: #include "support/LOstream.h", needed for inlined function.
14543
14544         * lyxtextclass.C:
14545         * lyxtextclasslist.C: added some using std declarations.
14546
14547 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14548
14549         * box.h: make signed dimensions to allow insets wider than
14550           the screen (bug #162)
14551
14552         * BufferView_pimpl.C: add some insetHit debug
14553
14554 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * vc-backend.C: add FIXME
14557
14558 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14559
14560         * lyxfunc.C (getStatus): enable code for showing math font status
14561         in toolbar/menu.
14562
14563 2002-01-07  Juergen Vigna  <jug@sad.it>
14564
14565         * text.C (nextBreakPoint): removed debug output not needed anymore.
14566
14567 2002-01-06  Juergen Vigna  <jug@sad.it>
14568
14569         * text.C (nextBreakPoint): fixed up this function we had this bug
14570         since ever but now hopefully we break row better.
14571         (insertChar): we have to check if an inset is the next char as it
14572         could now happen that a large inset is causing a break.
14573
14574 2002-01-05  Juergen Vigna  <jug@sad.it>
14575
14576         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14577         if it doesn't like to be drawed.
14578
14579 2002-01-04  Juergen Vigna  <jug@sad.it>
14580
14581         * BufferView2.C (lockInset): forgot to set a cursor.
14582
14583         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14584
14585 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14586
14587         * FormMathsPanel.C:
14588         * FormMathsPanel.h
14589         * MathsSymbols.C:
14590         * form_maths_panel.C:
14591         * form_maths_panel.h:
14592         * form_maths_panel.fd: implemented sub- and super- buttons in math
14593         panel.
14594
14595         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14596         (or ^ space) to be used as in TeX (req'd by Andr�.
14597
14598         * lyxfunc.C: Allow ^ and _ again to be used both as
14599         super/subscript (mathed) and as themselves (in text).
14600
14601 2002-01-03  Allan Rae  <rae@lyx.org>
14602
14603         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14604         "LyX" or the filename of the current buffer if it has one.  This is a
14605         modified form of John Levon's patch.
14606
14607         * XFormsView.C (setWindowTitle): also set icon title.
14608
14609         * LyXView.h (setWindowTitle): signature changed.
14610         * XFormsView.h (setWindowTitle): ditto.
14611
14612 2002-01-02  Juergen Vigna  <jug@sad.it>
14613
14614         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14615
14616 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14617
14618         * screen.C (topCursorVisible): introduce a temp var for
14619         text->cursor.row(), handle the case where this row is null. (kindo
14620         hachish)
14621
14622         * text2.C (setCursor): add a couple of asserts.
14623
14624         * paragraph.h (inset_iterator): add -> operator
14625
14626         * paragraph.[Ch] (autoDeleteInsets): remove member function
14627
14628         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14629         cursor pos correctly and handle inset deletion by itself.
14630         (insertErrors): move iterator declaration out of for expression
14631
14632         * lyxtextclass.C: add <algorithm>
14633
14634         * Makefile.am: added the new files to sources, removed layout.C
14635
14636         * layout.C: removed file
14637
14638         * layout.h: remove LYX_DUMMY_LAYOUT
14639
14640         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14641         layout.
14642
14643         * lyxlayout.[Ch]:
14644         * lyxtextclass.[Ch]:
14645         * lyxtextclasslist.[Ch]: new files
14646
14647         * include order changes to a lot of files, also changes because of
14648         the six new files.
14649
14650 2001-12-27  Juergen Vigna  <jug@sad.it>
14651
14652         * buffer.C (asciiParagraph): more fixes.
14653
14654         * tabular.C (ascii): make ascii export support export of only the
14655         data separated by a column-delimiter.
14656         (ascii): better support for ascii export.
14657
14658         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14659
14660 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14661
14662         * tabular_funcs.C: use a "using std::getline" instead of the
14663         previous fix from Angus (necessary for cxx + lyxstring)
14664
14665 2001-12-24  Juergen Vigna  <jug@sad.it>
14666
14667         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14668
14669         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14670         problems. First check a minipage also if we have some ert-contents
14671         (not only on par->size(), second set the right depth of the paragraph
14672         on the relink to the root-paragraph-list!
14673
14674         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14675         which then did not anymore update the main paragraphs on undo/redo!
14676
14677 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14678
14679         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14680         code. Support all font-changing funcs (even those which are not in
14681         menu currently). Support for reporting font settings in
14682         mathed (disabled until Andre provides a function on mathed's side).
14683
14684         * func_status.h (toggle): small helper function to set toggle
14685         state on a flag.
14686
14687 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14688
14689         * tabular_funcs.C: getline -> std::getline
14690
14691 2001-12-21  Juergen Vigna  <jug@sad.it>
14692
14693         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14694         accessed and could be 0 (I couldn't generate this but it seems
14695         Michael could!).
14696
14697 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14698
14699         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14700         * tabular_funcs.h: here and include iosfwd
14701
14702 2001-12-20  Juergen Vigna  <jug@sad.it>
14703
14704         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14705         inside inset but undo_par was.
14706
14707 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14708
14709         * Thesaurus.C: always include <config.h> in sources.
14710
14711         * Painter.h:
14712         * lyxlookup.h:
14713         * box.h: do not include <config.h> in header files
14714
14715         * text.C (paintLastRow): remove unused variable
14716
14717         * text.C (transformChar):
14718         (insertChar):
14719         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14720
14721         * Painter.C (text):
14722         * font.C (width): rewrite to use uppercase() instead of
14723         islower/toupper.
14724
14725         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14726
14727 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14728
14729         * lyxfind.C: clean up of find failure position change
14730
14731 2001-12-20  Juergen Vigna  <jug@sad.it>
14732
14733         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14734
14735         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14736         (TeXRow): added to LaTeX a single tabular row.
14737         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14738         (Latex): simplified and finally good LT-h/f support.
14739         (various_functions): just small adaptions for LT-h/f support.
14740
14741         * tabular_funcs.[hC]: added and moved here all not classfunctions
14742         of LyXTabular.
14743
14744 2001-12-19  Juergen Vigna  <jug@sad.it>
14745
14746         * tabular.[Ch]: better support for longtabular options (not finished
14747         yet!)
14748
14749 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14750
14751         * text.C (paintLastRow): use the label font instead of the font of
14752         the last character to compute the size of *_BOX. This makes more
14753         sense and avoids a crash with empty paragraphs.
14754         Use Painter::rectangle to draw EMPTY_BOX.
14755
14756 2001-12-19  Juergen Vigna  <jug@sad.it>
14757
14758         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14759         the paragraphs if the replaced paragraph is not the first one!
14760         Tried to delete not used paragraphs but does not work yet so for
14761         now it's inside #ifdef's and by default off!
14762
14763 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14764
14765         * MenuBackend.C: include "lyx_main.h" instead of declaring
14766         lastfiles (actually was declared as LastFiles* instead of a
14767         scoped_ptr).
14768
14769 2001-12-17  Juergen Vigna  <jug@sad.it>
14770
14771         * tabular.C (AppendColumn): applied John's fix
14772
14773 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14774
14775         * BufferView.h:
14776         * BufferView.C:
14777         * BufferView_pimpl.h:
14778         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14779
14780         * Makefile.am:
14781         * box.h: new start of class for above
14782
14783         * lyxfunc.C: ignore space-only minibuffer dispatches.
14784           Show the command name when it doesn't exist
14785
14786         * minibuffer.C: don't add empty lines to the history
14787
14788         * minibuffer.C: add a space on dropdown completion
14789
14790 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14791
14792         * text.C: fix line above/below drawing in insets
14793
14794 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14795
14796         * lyxlength.C (LyXLength): Initialize private variables.
14797
14798 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14801         when inserting error insets.
14802
14803 2001-12-13  Juergen Vigna  <jug@sad.it>
14804
14805         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14806         actually sometimes the before-paragraph.
14807         (setUndo): don't clear the redostack if we're not actually undoing!
14808
14809 2001-12-06  Juergen Vigna  <jug@sad.it>
14810
14811         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14812         and fixed redoing of main paragraph, so we can use it now ;)
14813
14814         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14815
14816 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14817
14818         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14819         Juergen's request
14820
14821 2001-12-13  André Pönitz <poenitz@gmx.net>
14822
14823         * undostack.[Ch]:
14824         * undo_func.C: minor cleanup
14825
14826 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14827
14828         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14829         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14830         font in urw-fonts package which is marked as -urw-fontspecific and
14831         does not work (incidentally, changing the encoding in the
14832         fonts.dir of this package to -adobe-fontspecific fixes the
14833         problem).
14834
14835         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14836         is a crash when undoing first paragraph (Juergen, please take a
14837         look). THis does not mean the undo fix is wrong, just that it
14838         uncovers problems.
14839
14840         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14841         the (Paragraph*) version when needed instead of duplicating the
14842         code.
14843
14844         * text.C (workWidth): use Inset::parOwner to find out where the
14845         inset has been inserted. This is a huge performance gain for large
14846         documents with lots of insets. If Inset::parOwner is not set, fall
14847         back on the brute force method
14848
14849         * paragraph_pimpl.C (insertInset):
14850         * paragraph.C (Paragraph):
14851         (cutIntoMinibuffer): set parOwner of insets when
14852         inserting/removing them
14853
14854         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14855
14856 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14857
14858         * commandtags.h:
14859         * LyXAction.C:
14860         * lyx_main.C:
14861         * lyxfunc.C:
14862         * mathed/formulabase.C:
14863         * mathed/math_cursor.[Ch]:
14864         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14865
14866
14867 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14868
14869         * lyxlength.[Ch] (operator!=): new function
14870
14871 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14872
14873         * text.C (workWidth): use Inset::parOwner to find out where the
14874         inset has been inserted. This is a huge performance gain for large
14875         documents with lots of insets. If Inset::parOwner is not set, fall
14876         back on the brute force method
14877
14878         * paragraph_pimpl.C (insertInset):
14879         * paragraph.C (Paragraph):
14880         (cutIntoMinibuffer): set parOwner of insets when
14881         inserting/removing them
14882
14883         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14884
14885 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14886
14887         * tabular-old.C (getTokenValue):
14888         * tabular.C (getTokenValue):
14889         (write_attribute): new versions for LyXLength
14890         (everywhere): adjust the use of widths
14891
14892         * tabular.h: change the type of widths from string to LyXLength
14893
14894 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14895
14896         * paragraph.C: fixed missing line number count when exporting
14897         Environments to LaTeX file
14898
14899         * buffer.C: added informational message for checking line numbers.
14900
14901 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14902
14903         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14904         paragraph, do the 'double space' part, but not the 'empty
14905         paragraph' one.
14906
14907         * text.C (workWidth): small optimization
14908         (getLengthMarkerHeight): use minimal size for negative lengths.
14909
14910 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14911
14912         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14913
14914         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14915
14916 2001-12-11  André Pönitz <poenitz@gmx.net>
14917
14918         * FontLoader.C:
14919         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14920
14921 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14922
14923         * text2.C: keep selection on a setFont()
14924
14925 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14926
14927         * lyx_cb.C: another bv->text misuse, from insert label
14928
14929 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14930
14931         * kbsequence.h:
14932         * kbsequence.C: re-instate nmodifier mask
14933
14934 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14935
14936         * lyx_main.h: make lyxGUI private.
14937
14938 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14939
14940         * lyxfind.C: place the cursor correctly on failed search
14941
14942 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14943
14944         * text.C (getLengthMarkerHeight): for small heights, the arrows
14945         are not always on top/bottom of the text
14946         (drawLengthMarker): smaller arrows; take the left margin in
14947         account; draw also vfills.
14948         (paintFirstRow):
14949         (paintLastRow): remove special code for vfill and standard spaces,
14950         since everything is handled in drawLengthMarker now.
14951
14952 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14953
14954         * buffer.C (insertErtContents): try to handle font and language
14955         interaction a bit better.g
14956
14957         * ColorHandler.C (updateColor): change the hash to cover the whole
14958         LColor enum, ws cleanup
14959         (getGCLinepars): ditto
14960         (getGCLinepars): only lookup in the linecache once.
14961
14962 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14963
14964         * iterators.C (operator++): Make the iterator more robust
14965
14966         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14967         (John's patch)
14968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14969
14970 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * lyxtext.h:
14973         * text.C: better added space drawing
14974
14975 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14976
14977         * LyXView.C:
14978         * BufferView2.C: fix layout combo update on inset unlock
14979
14980 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14981
14982         * Makefile.am: don't compile unused files
14983
14984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14985
14986         * lyxfunc.C:
14987         * commandtags.h:
14988         * LyXAction.C: remove old LFUN_LAYOUTNO
14989
14990 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * paragraph_pimpl.h:
14993         * paragraph_pimpl.C: isTextAt() doesn't need font param
14994
14995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * lyxlex.h:
14998         * lyxlex.C: little cleanup
14999
15000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * BufferView_pimpl.C: fix insertAscii for insets
15003
15004 2001-12-05  Juergen Vigna  <jug@sad.it>
15005
15006         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15007         set the right font on the "multi" paragraph paste!
15008
15009 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15010
15011         * trans_decl.h:
15012         * trans_mgr.[Ch]:
15013         * trans.[Ch]:
15014         * lyxgluelength.C:
15015         * lyxlength.C: remove out-commented code.
15016
15017         * BufferView_pimpl:
15018         * CutAndPaste.C:
15019         * DepTable.C:
15020         * buffer.C:
15021         * chset.C:
15022         * lastfiles.C:
15023         * lyxlex.C:
15024         * lyxlex_pimpl.C:
15025         * lyxserver.C:
15026         * screen.C:
15027         * tabular-old.C:
15028         * tabular.C:
15029         * text.C:
15030         * trans_mgr.C:
15031         * vc-backend.C: change "while(" to "while ("
15032
15033         * lyxlength.[Ch]: add zero function to check if length is zero or
15034         not
15035         * lyxgluelength.C: use it
15036
15037 2001-12-05  Allan Rae  <rae@lyx.org>
15038
15039         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15040         Works for 2.95.3, from what I understand of Garst's reports this should
15041         work for other g++ versions.  We're screwed if the abs(int) definition
15042         changed between bugfix releases of gcc.
15043
15044 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15045
15046         * text.C: fix chapter label offset !
15047
15048 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * lyxtext.h:
15051         * text.C: fix hfill at end of line, clean up
15052
15053 2001-12-04  Juergen Vigna  <jug@sad.it>
15054
15055         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15056         that we force an update of the inset and it's owners if neccessary.
15057
15058 2001-12-03  Juergen Vigna  <jug@sad.it>
15059
15060         * text.C (rowLast): simplified code
15061
15062 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15063
15064         * lyxfunc.C: fix show options on timeout
15065
15066 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * screen.C (topCursorVisible): scroll half a page when the cursor
15069         reached top of bottom of screen
15070
15071 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15072
15073         * minibuffer.C: deactivate on loss of focus
15074
15075 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15076
15077         * vspace.[Ch] (operator!=): add operator.
15078
15079 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * BufferView_pimpl.C: refuse to open an inset when
15082         there's a selection.
15083
15084 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * BufferView_pimpl.C: allow to click on RHS of full row insets
15087
15088 2001-11-30  Juergen Vigna  <jug@sad.it>
15089
15090         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15091         insets for undo reasons.
15092
15093 2001-11-28  André Pönitz <poenitz@gmx.net>
15094
15095         * vspace.[Ch]: cosmetical changes
15096
15097 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15098
15099         * LyXAction.h:
15100         * LyXAction.C:
15101         * lyxfunc.h:
15102         * lyxfunc.C:
15103         * kbmap.h:
15104         * kbmap.C:
15105         * lyxrc.C:
15106         * kbsequence.h:
15107         * kbsequence.C: part re-write of old kb code
15108
15109         * Painter.C:
15110         * WorkArea.C: remove Lgb_bug_find_hack
15111
15112 2001-11-30  José Matos <jamatos@fep.up.pt>
15113
15114         * buffer.C (makeDocBookFile): add a comment to point a hack.
15115         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15116         Fixed a double write of labels.
15117
15118 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15119
15120         * LaTeX.C:
15121         * LaTeX.h Fixed bug in LaTeX class where it would not
15122         re-run latex if no depfiles were changed, but the .dvi was removed.
15123
15124 2001-11-28  André Pönitz <poenitz@gmx.net>
15125
15126         * all the files from the change on 2001/11/26:
15127         use lyx::layout_type instead of LyXTextClass::size_type
15128         use lyx::textclass_type instead of LyXTextClassList::size_type
15129
15130 2001-11-29  Juergen Vigna  <jug@sad.it>
15131
15132         * text.C: added support for paragraph::isFreeSpacing()
15133
15134         * buffer.C: same as above
15135
15136         * paragraph.h: inserted isFreeSpacing() function to enable
15137         FreeSpacing inside InsetERT.
15138
15139         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15140         of the paragraph's in the cut/copy buffer to 0!
15141
15142         * text2.C (removeRow): remove the assert as it can!
15143
15144         * lyxtext.h: added helper function firstRow returning firstrow and
15145         made firstrow private again.
15146
15147         * BufferView2.C (lockInset): don't relock if we're already locked!
15148
15149         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15150         the only paragraph.
15151         (removeRow): added Assert::(firstrow)
15152
15153         * debug.C: forgot to add INSETTEXT here.
15154
15155 2001-11-28  Juergen Vigna  <jug@sad.it>
15156
15157         * sp_spell.C (initialize): changed error text to more general
15158         spellchecker command use (not only ispell!)
15159
15160         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15161
15162         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15163
15164 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15165
15166         * vspace.C: initialise lyxgluelength on failure
15167
15168 2001-11-28  Allan Rae  <rae@lyx.org>
15169
15170         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15171         declaration & definition that looks like a function declaration.
15172
15173 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * BufferView2.C (copy):
15176         (copyEnvironment): do not clear the selection when doing a copy.
15177
15178         * text.C (paintFirstRow): compilation fix
15179
15180 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15181
15182         * tabular.C (Latex): correct line count when writing latex.
15183
15184 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * paragraph_pimpl.h:
15187         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15188           bug a bit
15189
15190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15191
15192         * text.C:
15193         * LColor.h:
15194         * LColor.C: change vfillline->added_space
15195
15196         * text.C: add markers and text for added space
15197
15198         * vspace.C: fix comment
15199
15200 2001-11-28  André Pönitz <poenitz@gmx.net>
15201
15202         * paragraph.C: whitespace changes
15203         * all the other files from the change on 2001/11/26:
15204         change *::pos_type into lyx::pos_type
15205
15206 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15207
15208         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15209         language of the document when inserting error insets.
15210
15211 2001-11-26  André Pönitz <poenitz@gmx.net>
15212
15213         * BufferView_pimpl.[Ch]:
15214         *       CutAndPaste.C:
15215         * buffer.[Ch]:
15216         * lyxcursor.[Ch]:
15217         * lyxfind.C:
15218         * lyxfunc.C:
15219         * lyxrow.[Ch]:
15220         * paragraph.[Ch]:
15221         * paragraph_pimpl.[Ch]:
15222         * sp_spell.C:
15223         * text.C:
15224         * text2.C: reduce header dependencies, introduce type for positions
15225
15226 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15227
15228         * <various>: change to use Alert.h
15229
15230 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15231
15232         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15233         when encountering an unknown token.
15234         (readLyXformat2): Show an error message if there were unknown tokens.
15235
15236 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15237
15238         * BufferView2.C:
15239         * BufferView_pimpl.C:
15240         * buffer.C:
15241         * paragraph.h:
15242         * text.C:
15243         * text2.C: use par->isInset()
15244
15245 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15246
15247         * paragraph_pimpl.h:
15248         * paragraph_pimpl.C: cleanup
15249
15250 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15251
15252         * text2.C (removeRow):
15253         * text.C (setHeightOfRow): remove useless (and costly) call to
15254         getRow.
15255
15256 2001-11-20  Allan Rae  <rae@lyx.org>
15257
15258         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15259         Now need Inset*::checkInsertChar() to return true for appropriate
15260         cases so that the characters in the minibuffer will actually be
15261         inserted.
15262
15263 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15264
15265         * text.C: change the order of the includes.
15266         (workWidth): initialize it at once.
15267         (workWidth): make maxw unsigned
15268         (setHeightOfRow): remove unused variable (inset)
15269         (selectSelectedWord): remove unused variable (inset)
15270         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15271
15272 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15275         server is not running.
15276         (openConnection):
15277         (closeConnection): add debug info when server is disabled.
15278
15279         * ColorHandler.C (getGCForeground): send debug message to GUI
15280         channel.
15281
15282         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15283
15284         * kbmap.C (bind): modify because return conventions of
15285         kb_sequence::parse have changed.
15286
15287         * kbsequence.C (parse): only ignore spaces and not any stupid
15288         control character. This avoids tests like s[i] <= ' ', which are
15289         guaranteed to fail with 8bit characters and signed chars.
15290         Change return code to string::npos when there have been no error
15291         (0 was a bad idea when error is at first character)
15292
15293 2001-11-14  José Matos  <jamatos@fep.up.pt>
15294
15295         * buffer.h:
15296         * buffer.C (simpleDocBookOnePar): removed unused argument.
15297
15298 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15301         insets which are part of a word. Paragraph::isLetter takes care of
15302         that now. Use Paragraph::isInset to identify insets.
15303         (selectSelectedWord): do not test for hyphenation break.
15304
15305         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15306         that protected spaces are considered as spaces.
15307
15308         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15309         Inset::isLetter.
15310
15311 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15312
15313         * lyxserver.h:
15314         * lyxserver.C: fix it. and small cleanup.
15315
15316 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15317
15318         * BufferView_pimpl.C: use inline helpers
15319
15320         * LaTeXFeatures.h:
15321         * LaTeXFeatures.C: fix typos
15322
15323         * Spacing.h:
15324         * Spacing.C: move spacing_string into class
15325
15326         * ToolbarDefaults.C: move stuff into namespace anon
15327
15328         * layout.h: update enum
15329
15330         * lyxfunc.C: use better debug
15331
15332         * minibuffer.h: fix typo
15333
15334         * debug.h:
15335         * debug.C:
15336         * WorkArea.C: add and use Debug::WORKAREA
15337
15338         * lyxtext.h:
15339         * text.C:
15340         * text2.C: code re-organisation, inline helpers
15341
15342 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15343
15344         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15345         std::vector.empty().
15346
15347 2001-11-09  Allan Rae  <rae@lyx.org>
15348
15349         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15350         '\n's after tables.  Tabular and ERT inset work now makes this no
15351         longer necessary.
15352
15353 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15354
15355         * minibuffer.h:
15356         * minibuffer.C: fix crash, improve drop-down completion
15357
15358 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15359
15360         * lyxserver.h:
15361         * lyxserver.C: invalidate fd's when doing endPipe()
15362
15363 2001-11-08  José Matos  <jamatos@fep.up.pt>
15364
15365         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15366         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15367
15368         * paragraph.h:
15369         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15370
15371 2001-11-07  José Matos  <jamatos@fep.up.pt>
15372
15373         * buffer.h:
15374         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15375         const qualifier.
15376
15377         * buffer.C (sgmlOpenTag):
15378         * buffer.C (sgmlCloseTag): removed debug info.
15379
15380         * buffer.h (sgmlOpenTag):
15381         * buffer.h (sgmlCloseTag): made public.
15382
15383 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15384
15385         * buffer.C (saveParamsAsDefaults):
15386         * lyx_cb.C (MenuLayoutSave): remove
15387
15388         * LyXAction.C (init):
15389         * commandtags.h:
15390         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15391
15392 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15393
15394         * buffer.C (setPaperStuff): removed from here...
15395
15396         * bufferparams.C (setPaperStuff): ... and moved there.
15397
15398 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15399
15400         * minibuffer.h:
15401         * minibuffer.C:
15402         * XFormsView.C: add support for drop-down completion
15403
15404 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15405
15406         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15407         commands.
15408
15409 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15412         disabled.
15413
15414 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15415
15416         * lyx_main.C: change ref to known bugs
15417
15418 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15419
15420         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15421         to work around older babel problems.
15422
15423 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15424
15425         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15426
15427 2001-10-24  Juergen Vigna  <jug@sad.it>
15428
15429         * tabular-old.C (ReadOld): below variable changes reflected.
15430
15431         * tabular.[Ch]: added ltType struct for longtable header/footer
15432         defines and changed all instances where they are used. Added
15433         future support for double top/bottom rows.
15434
15435 2001-10-24  José Matos  <jamatos@fep.up.pt>
15436
15437         * buffer.h (docbookHandleCaption):
15438         * buffer.C (docbookHandleCaption): removed unused function.
15439         (makeDocBookFile): moved docbook supported version to v4.1.
15440
15441 2001-10-24  José Matos  <jamatos@fep.up.pt>
15442
15443         * tabular.h:
15444         * tabular.C (docbookRow): new function to export docbook code of a row.
15445         (DocBook): now honors the longtable flags.
15446
15447 2001-10-23  José Matos  <jamatos@fep.up.pt>
15448
15449         * LaTeXFeatures.h:
15450         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15451         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15452
15453         * buffer.C (makeLinuxDocFile):
15454         (makeDocBookFile): reworked the preamble, more clean, and with
15455         support for lyx defined entities. Changed the document declaration
15456         to be more XML friendly.
15457
15458         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15459         if we need to output XML that should be done with a filter.
15460
15461 2001-10-22  Juergen Vigna  <jug@sad.it>
15462
15463         * sp_pspell.h (class PSpell): add alive function needed in the
15464         controller to see if the spellchecker could be started.
15465
15466 2001-10-22  Juergen Vigna  <jug@sad.it>
15467
15468         * buffer.C (insertStringAsLines): modify the font for inserting
15469         chars in certain conditions by calling checkInsertChar(font).
15470
15471 2001-10-19  Juergen Vigna  <jug@sad.it>
15472
15473         * text.C (workWidth): use getRow instead of wrong algorithm.
15474         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15475
15476 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15477
15478         * lyxserver.h:
15479         * lyxserver.C:
15480         * lyx_main.h:
15481         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15482
15483 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15484
15485         * text.C (workWidth): do not search for the exact row when
15486         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15487         optimization for big documents.
15488
15489 2001-10-18  Juergen Vigna  <jug@sad.it>
15490
15491         * text.C (workWidth): new function with added Inset * parameter.
15492
15493 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15496
15497         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15498         change return type of getColumnNearX.
15499
15500
15501         * text.C (changeRegionCase): use uppercase/lowercase instead of
15502         toupper/tolower.
15503         (leftMargin):
15504         (rightMargin): simplify code by factoring out the uses of
15505         textclasslist.
15506         (labelFill):
15507         (numberOfHfills):
15508         (setHeightOfRow):
15509         (appendParagraph): use Paragraph::size_type
15510
15511 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15512
15513         * vspace.C (asLatexString): add a missing break
15514
15515 2001-10-15  Herbert Voss  <voss@perce.de>
15516
15517         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15518
15519 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15522         is not available.
15523
15524 2001-10-10  André Pönitz <poenitz@gmx.net>
15525
15526         * lyxfunc.C: removed greek_kb_flag.
15527
15528 2001-10-10  Herbert Voss  <voss@perce.de>
15529
15530         * lyx_main.C: delete global string help_lyxdir.
15531
15532 2001-10-09  Herbert Voss  <voss@perce.de>
15533
15534         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15535
15536         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15537
15538         * lyx_main.C: added global string help_lyxdir.
15539
15540         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15541
15542 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15543
15544         * lyxrc.C (set_font_norm_type): support iso8859-4
15545
15546 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15547
15548         * LaTeX.C (deplog): add another regex for MikTeX
15549
15550 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15551
15552         * lyxrc.C (set_font_norm_type): support iso8859-3
15553
15554 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15557
15558         * LaTeXFeatures.C: remove special case of french and index
15559
15560         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15561         before \begin{document}). This solves several incompatibilities.
15562
15563 2001-10-03  Garst Reese  <reese@isn.net>
15564
15565         * lyx_cb.C: change CheckTex error msg.
15566
15567 2001-10-03  José Matos  <jamatos@fep.up.pt>
15568
15569         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15570
15571 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * .cvsignore: update
15574
15575         * lyx_main.C (commandLineVersionInfo): use new style version info.
15576
15577         * buffer.C (writeFile):
15578         (makeLaTeXFile):
15579         (makeLinuxDocFile):
15580         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15581
15582         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15583
15584         * version.h: update to use stuff in version.C
15585
15586         * version.C.in: new file. Contains version information determined
15587         at compile time. This is a merging of version.h and
15588         version_info.h.in.
15589
15590 2001-10-03  Juergen Vigna  <jug@sad.it>
15591
15592         * BufferView_pimpl.C (update): don't change "dirty" status in
15593         updateInset call.
15594
15595 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15596
15597         * WorkArea.C (c-tor): re-position version string slightly.
15598
15599 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15600
15601         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15602         revert to previous code.
15603
15604         WorkArea.[Ch]: (show, destroySplash): methods removed.
15605
15606         WorkArea.C: rework code so that it's an amalgam of the codes before and
15607         after the splash screen was moved to WorkArea.
15608
15609 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15610
15611         * lyxrc.C (read):
15612         * vspace.C (inPixels):
15613         (lyx_advance):
15614         * kbmap.C (bind):
15615         * buffer.C (insertStringAsLines):
15616         (asciiParagraph): fix types to be large enough
15617
15618         * lyxlex_pimpl.h: change member status from short to int
15619
15620         * layout.h: fix type of endlabeltype
15621
15622         * kbmap.C (bind):
15623         * kbsequence.C (parse): change return type to string::size_type
15624
15625         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15626         variable
15627
15628         * Bullet.C (bulletSize):
15629         (bulletEntry): do not use short ints as parameters
15630
15631         * BufferView2.C (insertLyXFile): change a char to an int.
15632
15633         * WorkArea.C (WorkArea): remove unneeded floats in computation
15634
15635 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15636
15637         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15638
15639         * paragraph.C (asString): Do not ignore newline/hfill chars when
15640         copying to the clipboard.
15641
15642 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15643
15644         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15645         after a multi-line inset.
15646
15647 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15648
15649         * paragraph.C (validate): Set NeedLyXFootnoteCode
15650
15651 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15652
15653         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15654         and decrease-error to decrease.
15655
15656 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15657
15658         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15659         it more readable (should be equivalent)
15660
15661 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15662
15663         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15664
15665 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15666
15667         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15668         of a cursor (row, etc.) after a character has been deleted
15669         (deleteEmptyParagraphMechanism): call the method above on _all_
15670         cursors held by the LyXText when a double space has been
15671         detected/deleted.
15672
15673 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15674
15675         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15676         pixmap.
15677         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15678
15679         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15680         background. Use greyOut() and the new show() methods to toggle between
15681         the foreground and background. Add code to remove the splash after
15682         its initial showing.
15683
15684         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15685         (create_forms): no longer call Dialogs::showSplash.
15686
15687 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * .cvsignore: add version_info.h
15690
15691 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * version_info.h.in: new file
15694
15695         * Makefile.am: add version_info.h.in
15696
15697         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15698         version_info.h instead of VERSION_INFO
15699
15700 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15701
15702         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15703         The ERT inset now returns string().
15704
15705 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15706
15707         * lyxtext.h, text.C (selectNextWord): renamed as
15708         selectNextWordToSpellcheck.
15709
15710         * text.C (selectNextWordToSpellcheck): Modified to not select
15711         words inside an ERT inset.
15712
15713 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15714
15715         * lyx_cb.C (MenuLayoutSave): change a bit the question
15716
15717         * sp_base.h: include <sys/types.h>
15718
15719 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15722
15723 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15724
15725         * several files: fix typos in user-visible strings
15726
15727 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15728
15729         * text2.C (pasteSelection): do not set the selection, since it
15730         will be cleared later. Actually, the intent was to fix the way the
15731         selection was set, but I figured rmoving the code was just as good.
15732
15733 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15734
15735         * FontLoader.C (available): Check if font is available without
15736         loading the font.
15737
15738 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15739
15740         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15741
15742 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15743
15744         * lyxrc.[Ch]: added display_graphics variable and associated code.
15745
15746 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15747
15748         * bufferparams.C (hasClassDefaults): new method. Returns true if
15749         the buffer parameters correspond to known class defaults
15750
15751 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15752
15753         * XFormsView.C (show): set minimum size to the main window.
15754
15755 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15756
15757         * text2.C (copySelection):
15758         (cutSelection):
15759         * lyxfind.C (LyXReplace):
15760         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15761         LyXText::selectionAsString.
15762
15763         * paragraph.C (asString): add "label" argument to the second form
15764
15765         * text2.C (selectionAsString): add "label" argument and pass it to
15766         Paragraph::asString.
15767
15768 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15769
15770         * lyx_main.C (commandLineHelp): remove version information
15771
15772 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15773
15774         * lyx_main.C: add -version commandline option
15775
15776 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15777
15778         * paragraph.h: make the optional constructor arg required instead.
15779         some modifications to other files because of this.
15780
15781         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15782
15783         * lyxserver.C (C_LyXComm_callback): make it static
15784
15785         * lyx_main.C (error_handler): make it static
15786
15787         * lyx_gui.C (LyX_XErrHandler): make it static
15788
15789         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15790
15791         * WorkArea.C: make the extern "C" methods static.
15792
15793         * Makefile.am (lyx_LDADD): simplify
15794
15795 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15796
15797         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15798         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15799
15800         * LyXAction.C (init):
15801         * lyxfunc.C (dispatch): associated code removal.
15802
15803 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15804
15805         * lyxfont.h (isSymbolFont): shut off warning
15806
15807         * text.C (setHeightOfRow):
15808         (getVisibleRow): fix crash with empty paragraphs which have a
15809         bottom line
15810
15811 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15812
15813         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15814         code.
15815
15816 2001-09-04  José Matos  <jamatos@fep.up.pt>
15817         * buffer.C
15818         * buffer.h
15819         * tabular.C (docbook): rename docBook method to docbook.
15820
15821 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15822
15823         * Makefile.am: add dependencies to main.o.
15824
15825 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15826
15827         * FontLoader.C (available): Return false if !lyxrc.use_gui
15828
15829 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15830
15831         * FontInfo.C (query):
15832         * converter.C (view):
15833         * importer.C (Import):
15834         * exporter.C (Export): Can not -> cannot.
15835
15836 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15837
15838         * BufferView_pimpl.C: allow to create index inset even if
15839           string is empty
15840
15841 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15842
15843         * buffer.C (getLists): replace boost::tie code with an explicit pair
15844         as boost::tie can break some compilers.
15845
15846         * iterators.h: Added a std:: declaration to the return type of
15847         ParIterator::size.
15848
15849 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15850
15851         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15852           case.
15853
15854 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15855
15856         * iterators.[Ch]: New files. Provide paragraph iterators.
15857
15858         * buffer.C (changeLanguage): Use paragraph iterators.
15859         (isMultiLingual): ditto
15860
15861         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15862
15863 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15864
15865         * FontLoader.C: Support for cmr font.
15866
15867 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15868
15869         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15870         (available): New method.
15871
15872         * FontInfo.C (getFontname): Use scalable fonts even when
15873         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15874         found.
15875
15876 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15877
15878         * converter.C (Formats::view): reverted! Incorrect fix.
15879
15880 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15881
15882         * converter.C (Formats::view): only output the -paper option
15883         if the dvi viewer is xdvi, thereby fixing bug #233429.
15884
15885 2001-08-23  Herbert Voss  <voss@perce>
15886
15887         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15888
15889 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15890
15891         * Spacing.h (Spacing): Set space to Default on in the default
15892         constructor.
15893
15894 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15895
15896         * vc-backend.h (RCS::versionString): add RCS to version
15897         (CVS::versionString): add CVS to version
15898
15899         * vc-backend.C (scanMaster): do not add CVS to version.
15900         (scanMaster): do not add RCS to version
15901
15902         * lyxvc.C (versionString): new method
15903
15904         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15905
15906 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * Spacing.C (set): initialize fval
15909
15910 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15911
15912         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15913         " or \.
15914
15915 2001-08-16  Juergen Vigna  <jug@sad.it>
15916
15917         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15918
15919 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15920
15921         * BufferView_pimpl.C:
15922         * figureForm.C:
15923         * lyxtext.h:
15924         * text2.C: setParagraph takes linespacing now
15925
15926 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15927
15928         * LyxAction.C: add internal LFUN_CITATION_INSERT
15929
15930         * LyXView.C: actually apply fix
15931
15932         * bufferlist.C: fix open non-existent file
15933
15934         * lyxfind.C: fix indentation
15935
15936         * lyxfunc.C: remove unneeded assert, fix typo
15937
15938 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15939
15940         * MenuBackend.C: use "Floatname List"
15941
15942 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15943
15944         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15945         when converting LaTeX layout to insetERT.
15946         Generate a non-collapsed float when reading old float
15947
15948 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15951         ERT insets.
15952
15953 2001-08-13  Juergen Vigna  <jug@sad.it>
15954
15955         * text.C (fill): return 0 instead of 20 as this seems to be the more
15956         correct value.
15957
15958 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15959
15960         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15961         lyxrc.font_norm.
15962
15963 2001-08-13  Juergen Vigna  <jug@sad.it>
15964
15965         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15966         casesensitive off.
15967         (SearchBackward): comment out the unlocking of the inset_owner this
15968         should not be needed!
15969
15970 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15971
15972         * Many files: Remove inherit_language, and add latex_language
15973
15974         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15975         collapsible insets.
15976
15977 2001-08-10  Juergen Vigna  <jug@sad.it>
15978
15979         * text.C (prepareToPrint): fixed hfill-width in draw!
15980
15981         * BufferView2.C (selectLastWord): save the selection cursor as this
15982         now is cleared in the function LyXText::clearSelection!
15983
15984 2001-08-08  Juergen Vigna  <jug@sad.it>
15985
15986         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15987         BACKSPACE type functions.
15988
15989         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15990         is only cutted from the document but not put in the cut-buffer, where
15991         still the old stuff should be.
15992
15993         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15994
15995         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15996
15997         * tabular.C (SetWidthOfCell): fixed special case where the width
15998         was not updated!
15999         (LeftLine): handle '|' in align_special.
16000         (RightLine): ditto
16001         (LeftAlreadyDrawed): ditto
16002         (SetWidthOfCell): ditto
16003
16004 2001-08-07  Juergen Vigna  <jug@sad.it>
16005
16006         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16007
16008 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16009
16010         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16011         * lyxlex.[hC]: ditto
16012
16013 2001-08-06  Juergen Vigna  <jug@sad.it>
16014
16015         * text.C (getVisibleRow): fix up row clearing a bit.
16016
16017 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16018
16019         * minibuffer.C: make sure the X server sees the changes in the input.
16020
16021 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16022
16023         * paragraph.C (getFont): split into...
16024         (getLabelFont): this
16025         (getLayoutFont): and this
16026         * paragraph_pimpl.C (realizeFont): calling this
16027
16028         * text2.C (getFont): split into...
16029         (getLayoutFont): this
16030         (getLabelFont): and this
16031         (realizeFont): all three calling this
16032
16033         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16034         files where used.
16035
16036 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16039
16040 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16041
16042         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16043         layouts from the Quote inset insertion.
16044
16045 2001-08-03  Juergen Vigna  <jug@sad.it>
16046
16047         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16048
16049         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16050         only if status not is already CHANGED_IN_DRAW (second level).
16051
16052         * text.C (draw): don't set the need_break_row when inside an
16053         InsetText LyXText.
16054
16055 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16056
16057         * buffer.C (parseSingleLyXformat2Token): handle more latex
16058         conversion cases.
16059
16060         * bufferview_funcs.[hC]: change function names to
16061         begin with small char, adjust other files.
16062
16063 2001-08-02  André Pönitz <poenitz@gmx.net>
16064
16065         * lyxfunc.C:
16066         BufferView_pimpl.C: remove broken special code for math-greek
16067
16068 2001-08-02  Juergen Vigna  <jug@sad.it>
16069
16070         * BufferView_pimpl.C (update): redone this function so that we
16071         update the text again if there was a CHANGE_IN_DRAW.
16072
16073         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16074         (drawFromTo): added a new internal bool which is used by draw() and
16075         redraw() function.
16076         (general): some cursor drawing problems fixed.
16077
16078 2001-08-01  Juergen Vigna  <jug@sad.it>
16079
16080         * lyxfind.C (LyXFind): fixed
16081         (SearchForward): ditto
16082         (SearchBackward): ditto
16083
16084         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16085         spurius drawing of the cursor in the main area.
16086
16087         * text2.C (status): small fix which could lead to a segfault!
16088         (clearSelection): remove unneeded BufferView param.
16089
16090 2001-08-01  André Pönitz <poenitz@gmx.net>
16091
16092         * lyxfunc.C: small change due to changed mathed interface
16093
16094 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16095
16096         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16097
16098 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16099
16100         * lyxfunc.c: fail gracefully if file doesn't exist
16101
16102         * LyXSendto.C:
16103         * buffer.C:
16104         * lyxfunc.C:
16105         * BufferView_pimpl.C: IsDirWriteable() proto changed
16106
16107         * LyXView.C: fix updateWindowTitle() to store the last title
16108
16109 2001-07-31  Juergen Vigna  <jug@sad.it>
16110
16111         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16112         the font (wrong since using of Paragraph::highestFontInRange).
16113
16114         * paragraph.C (highestFontInRange): added a default_size parameter.
16115
16116         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16117         (setHeightOfRow): reformat
16118
16119 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16120
16121         * converter.[hC] + affected files: move to (inital-char)lowercase
16122         function names.
16123
16124         * ParagraphParameters.C (ParagraphParameters): remove commented code
16125
16126         * PainterBase.[Ch]: remove commented code
16127
16128         * LaTeXFeatures.h: add "bool floats" for float.sty
16129
16130         * LaTeXFeatures.C (LaTeXFeatures): init floats
16131         (require): handle float
16132         (getPackages): do it with floats
16133
16134 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * BufferView_pimpl.C (Dispatch): improve handling of
16137         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16138
16139         * commandtags.h: #include lyxfont.h here temporarily to avoid
16140         keybinding bug.
16141
16142         * bufferlist.h: include LString.h here.
16143
16144 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16145
16146         * text2.C (getStringToIndex): new method.
16147
16148 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16149
16150         * *: Reduced header file dependencies all over.
16151
16152 2001-07-30  Baruch Even  <baruch@lyx.org>
16153
16154         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16155
16156 2001-07-29  Baruch Even  <baruch@lyx.org>
16157
16158         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16159
16160 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16161
16162         * ParameterStruct.h (endif): add a default constructor to make
16163         sure that all variables is initialized.
16164
16165         * ParagraphParameters.C (ParagraphParameters): adjust
16166
16167 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16168
16169         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16170         index; also, check that there is something to index, and that it
16171         does not span over several paragraphs.
16172         (doubleClick): use WHOLE_WORD_STRICT for double click.
16173
16174         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16175
16176         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16177         scheme.
16178
16179 2001-07-26  Baruch Even  <baruch@lyx.org>
16180
16181         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16182         an InsetFig figure, backwards compatible reading of old figure code.
16183
16184 2001-07-27  Juergen Vigna  <jug@sad.it>
16185
16186         * text2.C: font.realize function adaption.
16187
16188         * text.C (draw): add a warnings lyxerr text if needed.
16189
16190         * layout.C: font.realize function adaption.
16191
16192         * language.C: add inherit_language and implement it's handlings
16193
16194         * bufferview_funcs.C (StyleReset): remove language parameter from
16195         font creation (should be language_inherit now).
16196
16197         * bufferparams.C (writeFile): handle ignore_language.
16198
16199         * paragraph.C (getFontSettings): the language has to be resolved
16200         otherwise we have problems in LyXFont!
16201
16202         * lyxfont.C (lyxWriteChanges): added document_language parameter
16203         (update): removed unneeded language parameter
16204
16205         * paragraph.C (validate): fixed wrong output of color-package when
16206         using interface colors for certain fonts in certain environments,
16207         which should not seen as that on the final output.
16208
16209 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16210
16211         * BufferView_pimpl.C:
16212         * Thesaurus.h:
16213         * Thesaurus.C:
16214         * Makefile.am:
16215         * commandtags.h:
16216         * LyXAction.C: add thesaurus support
16217
16218         * lyxfind.h:
16219         * lyxfind.C: add "once" parameter, for thesaurus, to not
16220           move to the next match
16221
16222 2001-07-26  Juergen Vigna  <jug@sad.it>
16223
16224         * lyxfont.C (realize): honor ignore_language too!
16225         (resolved): ditto.
16226
16227         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16228
16229         * text.C (draw): one place more for ignore_language to not draw
16230         itself!
16231
16232 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16233
16234         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16235
16236 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16237
16238         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16239         the minipage conversion problem.
16240
16241 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16242
16243         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16244         insert an inset.
16245
16246 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * BufferView.h: don't forward declare WorkArea
16249
16250         * BufferView.C: don't include WorkArea.h
16251
16252 2001-07-25  André Pönitz <poenitz@gmx.net>
16253
16254         * commandtags.h:
16255         * LyXAction.C:
16256         * lyxfunc.C:  new LFUN 'math-space'
16257
16258         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16259
16260 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16261
16262         * text2.C (toggleInset): call open/close
16263
16264 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16265
16266         * lyxfunc.C (dispatch): add debug for the disabled case
16267
16268         * font.C (buttonText): make similar to rectText
16269
16270         * buffer.C (readInset): comment out parsing of insetlist and
16271         insttheorem
16272
16273         * PainterBase.C (rectText): small correction
16274
16275         * BufferView_pimpl.C: comment out insettheorem and insetlist
16276         * LyXAction.C: ditto
16277         * commandtags.h: ditto
16278
16279 2001-07-24  Juergen Vigna  <jug@sad.it>
16280
16281         * text.C (draw): honor the ignore_language.
16282
16283         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16284
16285 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16286
16287         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16288         char inset.
16289
16290 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16291
16292         * lyxtext.h: remove unused (and unimplemented) methods
16293
16294 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16295
16296         * text.C (getVisibleRow): honor background color
16297
16298         * PainterBase.h:
16299         * Painter.h: remove default color argument for fillRectangle
16300
16301         * text.C (backgroundColor): new method
16302
16303 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16304
16305         * text.C (getVisibleRow): adjust
16306
16307         * font.[Ch] (rectText): new method, metrics
16308         (buttonText): new method, metrics
16309
16310         * PainterBase.[hC]: make rectText and buttonText always draw and take
16311         fewer paramteres.
16312
16313 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16314
16315         * ToolbarDefaults.C (read):
16316         * MenuBackend.C (read): allow escaping in all strings
16317
16318         * BufferView_pimpl.C (insertAndEditInset): new method.
16319         (Dispatch): use insertAndEditInset whenever appropriate.
16320
16321         * BufferView_pimpl.C (insertNote): removed
16322
16323         * BufferView_pimpl.C (smartQuote): new method, moved from
16324         BufferView; if an insetquote cannot be inserted, insert a '"'
16325         character instead.
16326
16327         * BufferView2.C: remove insertCorrectQuote();
16328
16329         * lyxfunc.C (getStatus): Add support for all remaingin
16330         inset-insert lfuns.
16331
16332         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16333
16334         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16335         command (necessary to pass " as parameter of self-insert.
16336
16337         * text.C (selectWordWhenUnderCursor):
16338         (selectWord): add word_location parameter
16339         (selectWordWhenUnderCursor): same + remove special code for word
16340         boundary.
16341         (selectNextWord): use kind() to guess type of insetspecialchar,
16342         not latex().
16343
16344         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16345         (insertErtContents): create ert insets as collapsed.
16346         (readInset): better compatibility code for Info inset.
16347
16348 2001-07-20  Juergen Vigna  <jug@sad.it>
16349
16350         * lyxfunc.C (dispatch): use always LyXFind now!
16351
16352         * text2.C (init): add a reinit flag so that the LyXText can be
16353         reinited instead of deleted and reallocated (used in InsetText).
16354
16355         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16356
16357         * text.C: ditto
16358
16359         * text2.C: ditto
16360
16361 2001-07-18  Juergen Vigna  <jug@sad.it>
16362
16363         * text.C (selectNextWord): handle insets inside inset by calling
16364         always the bv->text functions so that we can go up the_locking_inset!
16365
16366         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16367         in strange locations when inside an inset!
16368
16369         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16370         handling to include insets.
16371
16372         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16373
16374 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16375
16376         * LyXAction.C (init):
16377         * commandtags.h:
16378         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16379         LIGATURE_BREAK, since the name is so stupid.
16380
16381 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16382
16383         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16384         InsetInfos.
16385
16386         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16387
16388         * sp_form.[Ch]: remove.
16389
16390         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16391
16392         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16393         InsetInfo.
16394
16395         * src/buffer.C (readInset): ditto.
16396
16397 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16398
16399         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16400         menuSeparator(), endOfSentenceDot(), ldots() and
16401         hyphenationPoint(), which are therefore removed.
16402         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16403
16404         * LyXAction.C (init):
16405         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16406
16407         * paragraph.C (getWord): removed.
16408
16409         * BufferView_pimpl.C (Dispatch): use last word or selection for
16410         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16411
16412         * lyx_main.C (queryUserLyXDir): do not ask before creating
16413         user_dir, except if it has been named explicitely.
16414
16415 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16416
16417         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16418         a document of zero size.
16419
16420 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16421
16422         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16423         approriately in the c-tor and in require().
16424         (getPackages): output the appropriate LaTeX for natbib support.
16425
16426         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16427         variables "use_natbib" and "use_numerical_citations" when reading the
16428         LyX file.
16429         (readInset): read the various natbib cite commands.
16430         (validate): white-space change.
16431
16432         * bufferparams.[Ch]: new variables "bool use_natbib" and
16433         "bool use_numerical_citations".
16434         (writeFile): output them in the LyX file.
16435
16436 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16437
16438         * lyxfunc.C (getStatus): add support for all the inset insertion
16439         commands.
16440
16441         * text2.C (insertInset):
16442         * paragraph.C (insetAllowed):
16443         * BufferView_pimpl.C (insertInset): update to take in account the
16444         renaming of insertInsetAllowed
16445
16446         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16447
16448         * text2.C (getInset): new method. returns inset at cursor position.
16449
16450         * BufferView_pimpl.C (Dispatch): changes because of this.
16451
16452         * LyXAction.C (init): rename open-stuff to inset-toggle.
16453
16454         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16455
16456         * text2.C (toggleInset): renamed from openStuff; use
16457         Inset::open().
16458
16459 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16460
16461         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16462
16463         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16464
16465 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16466
16467         * buffer.C (readLyXformat2): Add filename to the error dialog
16468
16469 2001-07-18  Juergen Vigna  <jug@sad.it>
16470
16471         * tabular.C (GetCellNumber): put an assert here instead of the check!
16472
16473 2001-07-17  Juergen Vigna  <jug@sad.it>
16474
16475         * BufferView_pimpl.C (toggleSelection): adapted too.
16476
16477         * text.C (selectNextWord): adapted for use with insets.
16478         (selectSelectedWord): ditto
16479
16480 2001-07-17  Juergen Vigna  <jug@sad.it>
16481
16482         * sp_spell.C (PSpell): fix initialitation order.
16483
16484 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16485
16486         * paragraph.C: spacing
16487
16488 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16489
16490         * sp_spell.C: repair language selection for pspell
16491
16492 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16493
16494         * lyxfunc.h: change more methods to begin with lower char.
16495
16496 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16497
16498         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16499         for unknown layouts.
16500
16501 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16502
16503         * buffer.C (readLyXformat2): Generate an error dialog if there are
16504         unknown layouts.
16505
16506 2001-07-16  Juergen Vigna  <jug@sad.it>
16507
16508         * sp_spell.C: always compile ISpell part.
16509
16510         * lyxrc.C: added use_pspell entry and it's handling.
16511
16512 2001-07-13  Juergen Vigna  <jug@sad.it>
16513
16514         * sp_spell.C: removed double includes.
16515
16516 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16517
16518         Consistent use of Lsstream.h:
16519         * Lsstream.h: added using std::stringstream for consistencies sake.
16520
16521         * buffer.C: removed using std::stringstream
16522
16523         * lyxfont.C (stateText):
16524         * paragraph.C (asString):
16525         * text.C (selectNextWord, selectSelectedWord):
16526         * text2.C (setCounter):
16527         * vspace.C (asString, asLatexString):
16528         std::ostringstream -> ostringstream.
16529
16530 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16531
16532         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16533         * commandtags.h: add LFUN_HELP_ABOUTLYX
16534         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16535
16536 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16537
16538         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16539         cursorToggle()
16540         * lyx_gui_misc.C: remove spellchecker
16541         * lyxfunc.C: showSpellchecker
16542         * sp_base.h: added
16543         * sp_ispell.h: added
16544         * sp_pspell.h: added
16545         * sp_spell.C: added
16546         * sp_form.[Ch]: removed
16547         * spellchecker.[Ch]: removed
16548
16549 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16550
16551         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16552         is set.
16553         (simpleTeXSpecialChars): Simply print the input character without
16554         any special translation if pass_thru is set.
16555
16556         * layout.h: Added bool pass_thru to layout class for being able to
16557         implement pass through of a paragraph for Literate Programming.
16558
16559         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16560         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16561         * layout.C (Read): add "passthru" to list of layout tags and add
16562         code to set the pass_thru boolean when it is read.
16563
16564 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16565
16566         * trans_decl.h: remove allowed from KmodInfo
16567
16568         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16569         remove allowed code
16570         (Load): adjust
16571
16572         * paragraph_pimpl.C (erase): use boost::prior
16573
16574         * Painter.C (text): use data() instead of c_str() when length is
16575         also provided.
16576         * WorkArea.C (putClipboard): ditto
16577         * font.h (width): ditto
16578
16579         * BufferView2.C: use it-> instead of (*it). for iterators
16580         * texrow.C: ditto
16581         * paragraph_pimpl.C: ditto
16582         * paragraph.C: ditto
16583         * minibuffer.C: ditto
16584         * language.C: ditto
16585         * kbmap.C: ditto
16586         * encoding.C: ditto
16587         * counters.C: ditto
16588         * converter.C: ditto
16589         * chset.C: ditto
16590         * Variables.C: ditto
16591         * TextCache.C: ditto
16592         * MenuBackend.C: ditto
16593         * LyXAction.C: ditto
16594         * LColor.C: ditto
16595         * FloatList.C: ditto
16596         * DepTable.C: ditto
16597         * ColorHandler.C (LyXColorHandler): ditto
16598
16599 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16600
16601         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16602
16603         * text2.C (openStuff): reintroduce this method (which had been
16604         nuked in NEW_INSETS frenzy).
16605
16606         * lyxfunc.C (Dispatch): when an action has not been handled, use
16607         its name in the error message, not its number.
16608
16609         * paragraph.C (inInset): change method name to begin with lowercase.
16610
16611         * undo_funcs.C:
16612         * text2.C: updates because of this.
16613
16614 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16615
16616         * ToolbarDefaults.C (add): add spaces in error message
16617
16618 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16619
16620         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16621         (readLyXformat2): rename return_par to first_par, use lyxlex's
16622         pushToken and remove the manual push handling.
16623         (parseSingleLyXformat2Token): add another ert comp. variable:
16624         in_tabular, rename return_par to first_par. handle newlines better
16625
16626 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16627
16628         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16629
16630 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * text2.C (getParFromID): removed
16633
16634         * buffer.C (getParFromID): new method moved form lyxtext.
16635         * BufferView2.C (insertErrors): adjust
16636         (setCursorFromRow): adjust
16637         * BufferView_pimpl.C (restorePosition): adjust
16638         * lyxfunc.C (Dispatch): adjust
16639         * undo_funcs.C (textUndo): adjust
16640         (textRedo): adjust
16641         (textHandleUndo): adjust
16642         (textHandleUndo): adjust
16643
16644 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * buffer.C: up' the LYX_FORMAT
16647
16648         * lyxfont.h: turn NO_LATEX on as default
16649
16650         * buffer.C (insertErtContents): new methods of tex style compability.
16651         (parseSingleLyXformat2Token): use it several places.
16652         * tabular.C (OldFormatRead): and here
16653
16654 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16655
16656         * text2.C: remove some commented code.
16657         reindent file.
16658
16659         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16660         * trans.C: changes because of the above.
16661
16662 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16663
16664         * text2.C (setCounter): Fix counters bug with bibliography layout.
16665
16666 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16667
16668         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16669         own member functions
16670         (simpleTeXSpecialChars): ditto
16671
16672 2001-07-06  Juergen Vigna  <jug@sad.it>
16673
16674         * a lot of files: changed the access to LyXText::status and the
16675         call of undo-functions.
16676
16677         * undo.[Ch]: added a inset_id to the undo informations.
16678
16679         * undo_funcs.[Ch]: added and moved here all undo functions.
16680
16681         * lyxtext.h: give the status enum a weight, made status_ a private
16682         variable and made accessor functions for it, removed the whole bunch
16683         of undo-functions as they are now in their own file, make some
16684         functions publically available. Added function ownerParagraph with
16685         int parameter.
16686
16687         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16688         made InInset() a const function, added getParFromID() function.
16689
16690         * buffer.[Ch]: added const version for inset_iterator functions,
16691         added getInsetFromID() function.
16692
16693         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16694         changed undo functions for new version.
16695
16696 2001-07-05  Juergen Vigna  <jug@sad.it>
16697
16698         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16699         unknow mechanism does not call the proper constructor but only this
16700         one also if I request the other!?
16701
16702 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16703
16704         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16705
16706         * text2.C (LyXText): use initialization lists.
16707
16708         * lyxtext.h (Selection): initialize set_ and mark_
16709         (init): remove method
16710
16711 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16712
16713         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16714
16715 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16716
16717         * screen.[Ch]: change method names to begin with lowercase
16718
16719         * BufferView_pimpl.C (updateScrollbar): simplify further and
16720         hopefully make it a bit faster.
16721
16722 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16723
16724         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16725         calling directly xforms functions.
16726
16727         * Painter.C (Painter):
16728         * lyx_cb.C (MenuWrite):
16729         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16730         fl_display.
16731
16732         * lyx_gui.C: remove bogus guiruntime extern declaration.
16733
16734 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16735
16736         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16737         in NEW_INSETS
16738         (redoDrawingOfParagraph): ditto
16739         (redoParagraphs): ditto
16740         (cutSelection): don't create a object for CutAndPaste use the
16741         static method directly
16742         (pasteSelection): ditto
16743
16744         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16745         LyXview (+ rename)
16746
16747 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16748
16749         * modifications to some other files because of this.
16750
16751         * Makefile.am (lyx_SOURCES): add XFormsView
16752
16753         * XFormsView.[Ch]: new files
16754
16755         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16756         the main window. Move the gui dependent stuff to XFormsView
16757
16758 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16759
16760         * tabular.C (GetCellInset): update cur_cell also in the row/col
16761         version of this function.
16762
16763         * lyxfunc.C: no need to include figure_form.h here.
16764
16765         * FontLoader.h:
16766         * lyxfunc.h:
16767         * lyxscreen.h:
16768         * text2.C:
16769         * lyxvc.C: no need to include forms.h here.
16770
16771 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16772
16773         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16774
16775         * lyxfunc.C (Dispatch):
16776         * Spacing.C (set):
16777         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16778         constructor argument.
16779
16780 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16781
16782         * paragraph.C (Paragraph): dont't clear, and just set layout.
16783         (makeSameLayout): use params's copy contructor.
16784
16785         * ParagraphParameters.[Ch] (makeSame): delete method
16786
16787 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16788
16789         * Variables.[Ch]: fix indentation, rename set to isSet
16790
16791 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16792
16793         * lyxfunc.C (Dispatch): fix typo
16794
16795 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16796
16797         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16798         upper_bound.
16799
16800         * bufferlist.C: include assert.h for emergencyWrite().
16801
16802 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16803
16804         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16805           give up at last (bug #425202) !
16806
16807 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16808
16809         * lyx_gui_misc.C:
16810         * sp_form.h:
16811         * sp_form.C:
16812         * spellchecker.h:
16813         * spellchecker.C: strip spellchecker options and bring up
16814           preferences tab instead
16815
16816 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16817
16818         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16819         the istringstream constructor
16820
16821 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16822
16823         * paragraph.C (getLayout): fix return value
16824
16825         * paragraph.h: do not declare getLayout as inline.
16826
16827         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16828
16829 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16830
16831         * lyxcursor.h (operator<): new func
16832         (operator>): new func
16833         (operator>=): new func
16834         (operator<=): new func
16835
16836         * text.C (changeCase): use selection.start and selection.end
16837         (changeRegionCase): require from to be <= to. Require par to be a
16838         valid paragraph.
16839
16840         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16841
16842 2001-06-27  Juergen Vigna  <jug@sad.it>
16843
16844         * text.C (cursorLeftOneWord): changed to return the cursor and added
16845         overlay with BufferView * parameter which calls this one.
16846         (getWord): added
16847         (selectWord): use new getWord function.
16848         (changeCase): renamed from changeWordCase as and extended to work
16849         also on selections.
16850
16851         * lyxtext.h: added enum word_location
16852
16853         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16854         changeCase as this operates now also on selections.
16855
16856 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16857
16858         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16859
16860         * many files: send debug output to Debug::INFO instead of
16861         Debug::ANY.
16862
16863         * converter.C (View):
16864         (Convert):
16865         (Move): send debug output to Debug::FILES instead of console.
16866
16867 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16868
16869         * lyxfunc.C (getStatus): use func_status
16870
16871         * func_status.h: new header, describing the results of
16872         LyXFunc::getStatus;
16873
16874         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16875         LFUN_MATH_HALIGN.
16876
16877 2001-06-25  The LyX Project  <jug@sad.it>
16878
16879         * buffer.C (sgmlOpenTag):
16880         (sgmlCloseTag):
16881         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16882
16883 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16884
16885         * text2.C: remove some dead code
16886
16887         * tabular.C (GetCellInset): store the last cell checked (gotten)
16888
16889         * tabular.h: add the helper for the speedup
16890
16891         * lyxtext.h: remove some dead code
16892
16893 2001-06-26  The LyX Project  <Asger>
16894
16895         * paragraph.C: Change export to LaTeX of alignment to
16896         \begin{center} and family for better roundtrip work with reLyX.
16897
16898         * Tune the math drawing a bit.
16899
16900 2001-06-25  The LyX Project  <Asger>
16901
16902         * LColor.C (LColor): New color for math background. New color
16903         for buttons.
16904
16905 2001-06-25  The LyX Project  <jug@sad.it>
16906
16907         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16908
16909         * lyxfunc.C (Open):
16910         * bufferlist.C (newFile): do not restrict to files ending with
16911         .lyx
16912
16913         * BufferView_pimpl.C (MenuInsertLyXFile):
16914
16915 2001-06-24  The LyX Project  <jug@sad.it>
16916
16917         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16918         of compare_no_case
16919
16920 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16921
16922         * lyxtext.h: rename most methods to begin with a small char.
16923         Lots of changes because of this.
16924
16925         * paragraph.C (Paragraph): do not call fitToSize
16926         (erase): call Pimpl::erase
16927         (insertChar): call Pimpl::insertChar
16928         (insertInset): call Pipl::insertInset
16929         (breakParagraph): do not call fitToSize
16930         (breakParagraphConservative): do not call fitToSize
16931         (fitToSize): remove method
16932
16933         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16934
16935 2001-06-24  The LyX Project  <Asger>
16936
16937         * Fix Qt compilation^2
16938
16939 2001-06-24  The LyX Project  <jug@sad.it>
16940
16941         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16942         depthHook(getDepth()-1).
16943
16944         * paragraph.h:
16945         * ParagraphParameters.h:
16946         * ParameterStruct.h: change type of depth to unsigned int ==
16947         depth_type. Many adaptations to other files before of that.
16948
16949 2001-06-24  The LyX Project  <Asger>
16950
16951         * Fix Qt compilation.
16952
16953 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16954
16955         * paragraph.h: renamed several methods to begin with small letter.
16956         several changes to many parts of the code because of this.
16957
16958 2001-06-23  The LyX Project  <jug@sad.it>
16959
16960         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16961         rewritten to discard all double spaces when KeepEmpty is off
16962         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16963         to only handle newlines but not fiddle with spaces and friends.
16964
16965         * lyxfunc.C (MenuNew): when doing 'new from template', use
16966         template_path as default directory
16967
16968 2001-06-23  The LyX Project  <Asger>
16969
16970         * Clean-up of header file includes all over
16971         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16972
16973 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16974
16975         * paragraph.h: renamed from lyxparagraph.h
16976
16977 2001-06-23  Asger  <lyx@violet.home.sad.it>
16978
16979         * Buffer.h: Removed Buffer::resize
16980         * BufferList.h: Removed BufferList::resize
16981         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16982         the document lazily when we change the width, or the font settings.
16983
16984 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16985
16986         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16987
16988 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16989
16990         * buffer.h: remove out of date comment
16991
16992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16993
16994         * lyxscreen.h:
16995         * screen.C: fix "theoretical" GC leak
16996
16997 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16998
16999         * LaTeX.C (scanAuxFile):
17000         (deplog): remove trailing \r when reading stream (useful under
17001         win32)
17002
17003 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17004
17005         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17006         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17007         and BufferView::theLockingInset(Inset*), so should use them and not
17008         access bv_->text->the_locking_inset directly.
17009
17010         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17011
17012 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17013
17014         * Makefile.am:
17015         * tex-defs.h: remove old unused file
17016
17017 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17018
17019         * BufferView_pimpl.C: fix typo, remove minibuffer message
17020           when buffer has loaded
17021
17022 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17023
17024         * lyxfunc.C (Dispatch): use stringstream
17025         (MenuNew): use stringstream
17026         (Open): use stringstream
17027
17028         * importer.C (Import): use stringstream
17029
17030         * bufferview_funcs.C (CurrentState): use stringstream
17031
17032         * LaTeX.C (run): use stringstream
17033
17034         * BufferView_pimpl.C (savePosition): use stringstream
17035         (restorePosition): use stringstream
17036         (MenuInsertLyXFile): use stringstream
17037
17038 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17039
17040         * BufferView.C:
17041         * Bullet.C:
17042         * ColorHandler.C:
17043         * FontInfo.C:
17044         * FontLoader.C:
17045         * LColor.C:
17046         * LaTeXFeatures.C:
17047         * Painter.C:
17048         * gettext.C:
17049         * lyx_gui_misc.C:
17050         * lyxserver.C:
17051         * vspace.C: removed // -*- C++ -*- as first line.
17052
17053         * lyxfind.h:
17054         * version.h: added // -*- C++ -*- as first line.
17055
17056 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17057
17058         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17059
17060         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17061         of string
17062
17063 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17064
17065         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17066         of floats.
17067
17068 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17069
17070         * gettext.C: include LString.h even when --disable-nls is on.
17071
17072 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17073
17074         * converter.h (Get): changed argument type from int to
17075         FormatList::size_type to avoid unnecessary conversion.
17076
17077         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17078         before using it.
17079
17080 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17081
17082         * gettext.h: include LString.h even when --disable-nls is on.
17083
17084 2001-06-07  Juergen Vigna  <jug@sad.it>
17085
17086         * text.C (BreakAgain): subst spaces with tabs.
17087
17088         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17089         (resizeInsetsLyXText): set force on resizeLyXText.
17090
17091 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17092
17093         * gettext.h (gettext_init):
17094         (locale_init): use a real definition instead of a macro
17095
17096 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17097
17098         * Bufferview_pimpl.C:
17099         * LColor.h:
17100         * LColor.C: further lcolor tidies
17101
17102 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17103
17104         * BufferView_pimpl.C (updateScrollbar): simplify.
17105
17106         * BufferView2.C: don't include insets/insetinfo.h, change
17107         prototype for insertInset and call the Pimpl version. let
17108         updateInset call Pimpl version.
17109
17110         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17111         gotoInset to BufferView::Pimpl
17112
17113 2001-06-01  Juergen Vigna  <jug@sad.it>
17114
17115         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17116         inside a LockingInset (is the update needed at all?).
17117
17118 2001-05-31  Juergen Vigna  <jug@sad.it>
17119
17120         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17121         here not the old one otherwise how should we compare it afterwards
17122         if it's the same!
17123
17124 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17125
17126         * lyxfont.C:
17127         * tabular.C:
17128         * tabular-old.C:
17129         * FontInfo.C: bring C functions into global namespace when
17130         necessary
17131
17132 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17133
17134         * LString.h: make sure config.h has been loaded before LString.h.
17135
17136         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17137         (one for each char read by EatLine!).
17138
17139         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17140         variables.
17141
17142 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17143
17144         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17145         to the same as the par we break from
17146
17147 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17148
17149         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17150
17151         * MenuBackend.C (expand): also create menu entries for wide
17152         versions of the floats.
17153
17154         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17155
17156         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17157
17158         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17159         frontends/Makefile.am
17160
17161         * text2.C: adjust
17162         * text.C: adjust
17163
17164
17165         * tabular.C (getTokenValue): add std::
17166
17167         * tabular-old.C (getTokenValue): add std::
17168         (getTokenValue): ditto
17169         (getTokenValue): ditto
17170
17171         * screen.C (ToggleSelection): adjust
17172
17173         * lyxtext.h: put selection cursors inside a Selection struct.
17174
17175         * lyxfunc.C (moveCursorUpdate): adjust
17176
17177         * lyxfont.C (latexWriteStartChanges): add std::
17178
17179         * lyxfind.C: adjust
17180
17181         * font.h: delete with(char const *, LyXFont const &)
17182
17183         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17184
17185         * FontInfo.C (getFontname): add std::
17186
17187         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17188         (workAreaButtonPress): adjust
17189         (tripleClick): adjust
17190         (update): adjust
17191         (moveCursorUpdate): adjust
17192         (Dispatch): adjust
17193
17194         * BufferView2.C (gotoInset): adjust
17195
17196 2001-05-30  Juergen Vigna  <jug@sad.it>
17197
17198         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17199         to check pspell I add this as default as I now have new pspell
17200         libraries and they seem to use this.
17201
17202 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17203
17204         * text2.C (CutSelection): make the cursor valid before the call to
17205         ClearSelection.
17206
17207 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17208
17209         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17210         relied on 0 terminated strings and other horrors. Bug found due to
17211         the new assert in lyxstring!
17212
17213         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17214         KP_ keys.
17215
17216 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17217
17218         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17219         to latinkeys.bind.
17220
17221         * lyxfunc.C (processKeySym): change method of getting to the
17222         self-insert char.
17223
17224         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17225         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17226         * BufferView_pimpl.[Ch]: here as private methods.
17227
17228 2001-05-28  Juergen Vigna  <jug@sad.it>
17229
17230         * text.C (SetHeightOfRow): added the update() call again as it is
17231         needed to initialize inset dimensions!
17232
17233 2001-05-16  Juergen Vigna  <jug@sad.it>
17234
17235         * text2.C (SetCharFont): Add new function with BufferView * and
17236         bool toggleall parameters for setting insets internal fonts.
17237         (SetFont): Freeze the undo as we may change fonts in Insets and
17238         all this change should be inside only one Undo!
17239
17240         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17241         setting font's in insets as for them we have the SetFont function!
17242
17243 2001-05-15  Juergen Vigna  <jug@sad.it>
17244
17245         * text2.C (ClearSelection): to be sure we REALLY don't have any
17246         selection anymore!
17247
17248         * tabular.C (TeXCellPreamble): fixed the left border problem for
17249         multicolumn cells.
17250
17251 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17252
17253         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17254         dependancy file
17255
17256 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17257
17258         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17259         LFUN_BREAKPARAGRAPH.
17260
17261         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17262         help test to "internal only", similar for LFUN_INSERT_URL
17263
17264         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17265         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17266         auto_region_delete and deadkeys.
17267
17268 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17269
17270         * LColor.h:
17271         * LColor.C: remove some dead entries, tidy a little
17272
17273 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17274
17275         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17276         commented code.
17277         (Dispatch): implement LFUN_ESCAPE
17278
17279         * commandtags.h: add LFUN_ESCAPE
17280
17281         * LyXAction.C (init): add entry for LFUN_ESCAPE
17282
17283         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17284         Remove commented code.
17285         (insertNote): moved here
17286         (open_new_inset): moved here
17287
17288         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17289         BufferView_pimpl
17290
17291 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17292
17293         * kbmap.C (findbinding): clean it up and make it work correctly.
17294
17295         * lyx_main.C (init): do not pass argc and argv as parameters
17296
17297 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17298
17299         * buffer.C: fix path for OS/2 & Win32
17300
17301         * lyx_gui.C:
17302         * lyx_main:
17303         * lyx_main.C: Added os:: class.
17304
17305         * os2_defines.h: update
17306
17307 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17308
17309         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17310         better by trying again with reduced state.
17311
17312 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17313
17314         * lyxrc.C (read): print error about invalid key sequence only when
17315         debugging (because not all latinX keysyms are known to some X
17316         servers)
17317
17318         * kbsequence.C (getiso): add a few std:: qualifiers
17319         (getiso): comment out extra return statement.
17320
17321 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17322
17323         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17324         handling.
17325         (Dispatch): enhance the accent inset a bit. (not perfect)
17326
17327 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17328
17329         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17330
17331 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17332
17333         * bufferlist.C (emergencyWrite): fix assert() call
17334
17335 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17336
17337         * text.C (InsertChar): Added trivial patch to only send the "you
17338         can not do multiple spaces this way" message once during a
17339         session.
17340
17341 2001-05-08  Baruch Even  <baruch@lyx.org>
17342
17343         * Makefile.am: Changed order of libraries to get LyX to link properly
17344         with the gnome frontend.
17345
17346 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17347
17348         * LaTeXFeatures.h: add a std:: qualifier
17349
17350 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17351
17352         * paragraph.C (String): use stringstream
17353
17354 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17355
17356         * paragraph.C (writeFile): remove footflag arg
17357
17358         * buffer.C (makeLaTeXFile): use stringstream
17359         (latexParagraphs): remove footnot gurba
17360
17361         * LaTeXFeatures.C (getPackages): use stringstream
17362         (getMacros): likewise
17363         (getTClassPreamble): likewise
17364         (getFloatDefinitions): new method
17365
17366         * paragraph.C (writeFile): reindent
17367         (Erase): reindent
17368
17369         * WorkArea.h: revert the xpos + etc changes.
17370
17371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17372
17373         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17374
17375         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17376         (pasteSelection): likewise
17377         * text2.C (CreateUndo): likewise
17378
17379 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17380
17381         * minibuffer.C (peek_event): temporarily reduce the functionality
17382         of the minibuffer (to allow args on lfuns)
17383
17384         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17385         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17386
17387         * buffer.C (readInset): add compability reading of old float
17388         lists, add reading of new style float list.
17389         (readInset): avoid reevaluation of inscmd.getCmdName()
17390         (getLists): reindent
17391
17392         * MenuBackend.C (MenuItem): implement parsing of
17393         md_floatlistinsert and md_floatinsert.
17394         (expand::LastFiles): move initalizaton of iterators out of loop,
17395         avoid reevaluation.
17396         (expand::Documents): introduce typdedef vector<string> Strings,
17397         and use it.
17398         (expand::ExportFormats): introduce typedef vector<Format const *>
17399         Formats, and use it.
17400         (expand): implement FloatListInsert and FloatInsert.
17401
17402         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17403         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17404         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17405
17406         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17407         handling.
17408         (Dispatch::LFUN_FLOAT_LIST): implement
17409
17410 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17411
17412         * LaTeX.C (run): Fix problem with --export code.
17413
17414 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17415
17416         * BufferView.[Ch] (workarea): removed.
17417         (getClipboard) new method; wrapper for workarea()->getClipboard()
17418
17419         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17420         bug.
17421
17422         * WorkArea.h (width, height, xpos, ypos): These methods all
17423         returned the dimensions of the work_area sub-area of WorkArea,
17424         resulting in a position error if the WorkArea were resized. Now
17425         return the dimensions of the entire WorkArea.
17426
17427         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17428
17429 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17430
17431         * LaTeX.C (deplog): correct the syntax of regex reg1
17432
17433 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17434
17435         * undo.C: remove !NEW_INSETS cruft
17436
17437 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17438
17439         * text2.C: remove !NEW_INSETS cruft
17440
17441         * text.C: remove !NEW_INSETS cruft
17442
17443         * tabular.C: remove !NEW_INSETS cruft
17444
17445         * spellchecker.C: remove !NEW_INSETS cruft
17446
17447         * lyxtext.h: remove !NEW_INSETS cruft
17448
17449         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17450
17451         * lyxfunc.C: remove !NEW_INSETS cruft
17452
17453         * lyxfind.C: remove !NEW_INSETS cruft
17454
17455         * lyx_cb.C: remove !NEW_INSETS cruft
17456
17457         * figureForm.C: remove  !NEW_INSETS cruft
17458
17459         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17460
17461         * buffer.[Ch]: remove !NEW_INSETS cruft
17462
17463         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17464
17465         * CutAndPaste.C: remove !NEW_INSETS cruft
17466
17467         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17468
17469         * BufferView2.C: remove !NEW_INSETS cruft
17470
17471         * BufferView.h: remove !NEW_INSETS cruft
17472
17473 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17474
17475         * Lsstream.h: include LString.h before the sstream headers to
17476         fix problem with gcc 2.95.3 and lyxstring
17477
17478 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17479
17480         * lyx_main.C: add using directives when needed for C functions
17481         declared in std:: namespace.
17482
17483 2001-04-27  Juergen Vigna  <jug@sad.it>
17484
17485         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17486         (SetHeightOfRow): comment out the update call should not be needed!
17487
17488 2001-04-13  Juergen Vigna  <jug@sad.it>
17489
17490         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17491         (LyXTabular): tried to minimize operator= operations (and realized
17492         hopfully Lars wish).
17493
17494 2001-04-27  Juergen Vigna  <jug@sad.it>
17495
17496         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17497
17498 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17499
17500         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17501
17502         * buffer.C (readInset): hack to make listof algorithm work
17503
17504         * BufferView_pimpl.C: hack to make listof algorithm work
17505
17506 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17507
17508         * LyXAction.C: removed all !NEW_INSETS cruft
17509         (init): moved lfun_item in method
17510
17511         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17512
17513 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17514
17515         * BufferView2.C (theLockingInset): white space.
17516
17517 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17518
17519         * minibuffer.C: include <iostream>
17520
17521         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17522
17523         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17524
17525         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17526
17527         * text.[Ch] (TransposeChars): new method
17528
17529 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17530
17531         * call message directly through LyXView instead of through LyXFunc
17532         * BufferView2.C: adjust
17533         * BufferView_pimpl.C: adjust
17534         * FontLoader.C: adjust
17535         * buffer.C: adjust
17536         * bufferview_funcs.C: adjust
17537         * converter.C: adjust
17538         * figureForm.C: adjust
17539         * importer.C: adjust
17540         * lyx_cb.C: adjust
17541         * lyx_gui_misc.C: adjust
17542         * lyxfunc.C: adjust
17543         * lyxvc.C: adjust
17544         * text2.C: adjust
17545         + more files in subdirs
17546
17547         * lyxparagraph.h (size): move up int file
17548         (GetLayout): ditto
17549
17550         * adjust all uses of Assert to lyx::Assert.
17551
17552         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17553         lyxfunctional in namespace lyx
17554         * layout.C (hasLayout): ditto
17555         (GetLayout): ditto
17556         (GetLayout): ditto
17557         (delete_layout): ditto
17558         (NumberOfClass): ditto
17559         * converter.C (GetFormat): ditto
17560         (GetNumber): ditto
17561         (Add): ditto
17562         (Delete): ditto
17563         (SetViewer): ditto
17564         * bufferlist.C (getFileNames): ditto
17565         (emergencyWriteAll): ditto
17566         (exists): ditto
17567         (getBuffer): ditto
17568         * MenuBackend.C (hasSubmenu): ditto
17569         (hasMenu): ditto
17570         (getMenu): ditto
17571         * BufferView_pimpl.C (getInsetByCode): ditto
17572
17573 2001-04-18  Juergen Vigna  <jug@sad.it>
17574
17575         * vspace.C (asLatexString): fixed the 100% problem.
17576
17577 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17578
17579         * lyxfunc.C (Dispatch):
17580         * minibuffer.C:
17581         * minibuffer.h: add a few std:: qualifiers
17582
17583 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17584
17585         * minibuffer.[Ch]: reimplement so that commands is initiated and
17586         run from lyxfunc, simplified som handling, and made the completion
17587         and history code for complete. wip.
17588
17589         * lyxfunc.C (processKeySym): call message
17590         (miniDispatch): new temporary method
17591         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17592         (LFUN_MESSAGE): implement
17593         (LFUN_MESSAGE_PUSH): implement
17594         (LFUN_MESSAGE_POP): implement
17595         (initMiniBuffer): the initial/defualt minibuffer message.
17596
17597         * lyxfont.[Ch]: inline some more getters
17598
17599         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17600
17601         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17602
17603         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17604         (AutoSave): use LFUN_MESSAGE
17605         (Reconfigure): ditto
17606
17607         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17608
17609         * figureForm.C: use LFUN_MESSAGE
17610
17611         * converter.C (runLaTeX): use LFUN_MESSAGE
17612
17613         * bufferview_funcs.C: use LFUN_MESSAGE
17614         (Melt): ditto
17615         (changeDepth): ditto
17616
17617         * bufferparams.h: use boost::
17618
17619         * bufferlist.h: inherit privately from noncopyable
17620
17621         * bufferlist.C (loadLyXFile): remove some commented code.
17622
17623         * buffer.C (runChktex): use LFUN_MESSAGE
17624
17625         * ShareContainer.h: inherit privately from noncopyable
17626
17627         * ParagraphParameters.[hC] (depth): inline it.
17628
17629         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17630         methods.
17631         (message): new method
17632         (messagePush): ditto
17633         (messagePop): ditto
17634         (show): init minibuffer
17635         (showState): direct call
17636
17637         * LaTeX.[Ch]: inherit privately from noncopyable
17638         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17639         instead of WriteStatus.
17640
17641         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17642
17643         * BufferView_pimpl.C (buffer): don't init minibuffer
17644         (workAreaButtonPress): use LFUN_MESSAGE
17645         (workAreaButtonRelease): ditto
17646         (savePosition): ditto
17647         (restorePosition): ditto
17648         (MenuInsertLyXFile): ditto
17649         (workAreaExpose): don't init minibuffer
17650         (update): remove commented code, simplify
17651
17652         * BufferView2.C (openStuff): use LFUN_MESSAGE
17653         (toggleFloat): ditto
17654         (menuUndo): ditto
17655         (menuRedo): ditto
17656         (copyEnvironment): ditto
17657         (pasteEnvironment): ditto
17658         (copy): ditto
17659         (cut): ditto
17660         (paste): ditto
17661         (gotoInset): ditto
17662         (updateInset): remove some commented code
17663
17664         * lastfiles.h: inherit privately from noncopyable
17665         * layout.h: ditto
17666         * lyx_gui.h: ditto
17667         * lyx_main.h: ditto
17668         * lyxlex.h: ditto
17669         * lyxlex_pimpl.h: ditto
17670
17671         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17672         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17673         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17674
17675         * LyXAction.h: inherit privately from noncopyable, add methods
17676         func_begin, func_end, returning iterators to the func map.
17677
17678         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17679         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17680         (func_begin): new method
17681         (func_end): new method
17682
17683         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17684         and not)
17685         (copySelection): ditto
17686         (pasteSelection): ditto
17687
17688         * BufferView.C: whitespace change
17689         * BufferView.h: inherit privately from noncopyable
17690
17691 2001-04-16  Allan Rae  <rae@lyx.org>
17692
17693         * tabular-old.C (l_getline):
17694         * spellchecker.C (sc_check_word):
17695         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17696         an unrecognised preprocessor directive.  So ensure they're wrapped.
17697
17698 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17699
17700         * src/exporter.C (Export): Give an error message when path to file
17701         contains spaces.
17702
17703 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17704
17705         * LaTeX.C (deplog): Always check that foundfile exists.
17706
17707 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17708
17709         * lyx_main.h:
17710         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17711
17712 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17713
17714         * tabular.[Ch] (getLabelList): implement new method
17715
17716         * minibuffer.h: comment ouf setTiimer
17717
17718         * minibuffer.C (ExecutingCB): constify res
17719         (peek_event): constify s
17720         (Set): constify ntext
17721         (Init): constify nicename
17722
17723         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17724
17725         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17726         (savePosition): use two params to Minibuffer::Set
17727         (restorePosition): ditto
17728
17729 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17730
17731         * lyx_main.C: include language.h
17732
17733         * Makefile.am (lyx_main.o): add language.h
17734
17735 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17736
17737         * exporter.C:
17738         * paragraph.C:
17739         * screen.C:
17740         * tabular.C:
17741         * CutAndPaste.C: include gettext.h
17742
17743         * lyxfont.h: remove old hack with ON and OFF.
17744
17745         * lyxparagraph.h:
17746         * lyxfont.h: do not include language.h...
17747
17748         * BufferView2.C:
17749         * LaTeXFeatures.C:
17750         * Painter.C:
17751         * bufferview_funcs.C:
17752         * font.C:
17753         * lyxfont.C:
17754         * text.C:
17755         * text2.C:
17756         * trans_mgr.C:
17757         * paragraph.C: ... but do it here instead
17758
17759 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17760
17761         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17762
17763         * tabular.C: small reformat
17764
17765         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17766         NEW_INSETS version
17767         (GetChar): ditto
17768         (BreakParagraph): ditto
17769         (SetOnlyLayout): ditto
17770         (SetLayout): ditto
17771
17772         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17773         with one arg less.
17774
17775         * lastfiles.C: removed most using decl, add std:: where needed
17776
17777         * buffer.C: ws changes
17778
17779         * MenuBackend.C (class compare_format): put into anon namespace
17780         (expand): constify label, names, action, action2
17781         (expand):
17782
17783         * text.C (SingleWidth): constify font
17784         (IsBoundary): constify rtl2
17785         (GetVisibleRow): constify ww
17786
17787         * LaTeX.C (deplog): constify logfile
17788
17789         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17790         start_x, end_x
17791         (workAreaExpose): constify widthChange, heightChange
17792
17793         * lyxrow.C (par): moved
17794         (height): moved
17795         (next): moved
17796         * lyxrow.h: as inlines here
17797
17798         * lyxfont.h (shape): moved from lyxfont.C
17799         (emph): moved from lyxfont.C
17800
17801         * lyxfont.C (LyXFont): use initialization list for all
17802         constructors
17803         (shape): move to lyxfont.h as inline
17804         (emph): move to lyxfont.h as inline
17805
17806
17807 2001-04-04  Juergen Vigna  <jug@sad.it>
17808
17809         * vspace.C: had to include stdio.h for use of sscanf
17810
17811 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17812
17813         * BufferView.h:
17814         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17815         independent of xforms.
17816
17817 2001-04-02  Juergen Vigna  <jug@sad.it>
17818
17819         * spellchecker.C: fixed namespace placing!
17820
17821 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17822
17823         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17824         the LyXParagraph * is 0.
17825
17826 2001-03-29  Juergen Vigna  <jug@sad.it>
17827
17828         * vspace.C: added support for %, c%, p%, l%.
17829         (stringFromUnit): added helper function.
17830         (asLatexString): changed to give right results for the %-values.
17831
17832         * buffer.C: convert the widthp in a width%.
17833
17834 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17835
17836         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17837         figureForm.[Ch].
17838
17839         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17840         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17841
17842         * lyx_cb.[Ch]: see above.
17843
17844         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17845         form1.[Ch].
17846
17847         * form1.[Ch]:
17848         * lyx.[Ch]: replaced by figure_form.[Ch].
17849
17850         * lyx_gui.C:
17851         * lyx_gui_misc.C:
17852         * lyxfunc.C: changed headers associated with above changes.
17853
17854 2001-03-27  Juergen Vigna  <jug@sad.it>
17855
17856         * BufferView_pimpl.C: set the temporary cursor right!
17857
17858 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17859
17860         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17861
17862 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17863
17864         * LString.h: removed "using std::getline"!
17865
17866         * BufferView_pimpl.C (Dispatch): changes due to changes in
17867         InsetInclude::Params.
17868
17869         * buffer.C (tag_name): removed redundant break statements as they were
17870         producing lots of warnings with my compiler.
17871
17872 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17873
17874         * LString.h: add "using std::getline" when using the real <string>.
17875
17876 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17877
17878         * buffer.C: removed bitset usage.
17879         PAR_TAG moved to an anonymous name space.
17880         (tag_name): new funtion, also in the anonymous namespace.
17881         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17882         (makeDocBookFile): clean code. Completed transition from string arrays
17883         to string vectors.
17884         (SimpleDocBookOnePar): code clean.
17885
17886 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17887
17888         * tabular.C: add some comments.
17889
17890 2001-03-22  Juergen Vigna  <jug@sad.it>
17891
17892         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17893         compatibility read a bit and fixed bug with minipage in different
17894         depth.
17895
17896 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17897
17898         * buffer.C (pop_tag): removed.
17899         (push_tag): removed.
17900         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17901         array replaced with vector. Added support for CDATA sections.
17902         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17903         at any nest level.
17904         (makeDocBookFile): XML conformant declaration of CDATA section,
17905         fixed bug related to <emphasis> in the first paragraph char.
17906         (sgmlOpenTag): exclude empty tags.
17907         (sgmlCloseTag): ditto.
17908
17909         * buffer.h (pop_tag): removed.
17910         (push_tag): removed.
17911
17912 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17913
17914         * language.h (Languages): added size_type and size().
17915
17916 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17917
17918         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17919         response on compability reading of minipages. One probliem is that
17920         the old usage of minipages was flertydig
17921
17922         * several files here and in subdirs: don't use static at file
17923         scope use anon namespaces instead.
17924
17925 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17926
17927         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17928         LaTeX output. This is necessary for Literate document
17929         processing.
17930
17931 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17932
17933         * buffer.C: insert hfill when needed.
17934
17935         * tabular.C (l_getline): use string::erase, small whitespace change.
17936
17937         * BufferView_pimpl.C: try the anon namespace.
17938         * WorkArea.C: ditto
17939
17940 2001-03-16  Juergen Vigna  <jug@sad.it>
17941
17942         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17943         otherwise it won't open options-dialogs.
17944
17945         * buffer.C: honor pextraWidth(p) on converting minipages.
17946
17947         * tabular.C (l_getline): changed the functions to strip trailing \r.
17948
17949 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17950
17951         * BufferView_pimpl.C:
17952         * minibuffer..C: added "using SigC::slot" declaration.
17953
17954 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17955
17956         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17957
17958         * text2.C: ditto
17959
17960         * text.C: ditto
17961
17962         * paragraph.C: ditto
17963
17964         * lyxtext.h: NO_PEXTRA
17965
17966         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17967
17968         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17969         * ParameterStruct.h: ditto
17970         * ParagraphParameters.h: ditto
17971         * lyxparagraph.h: ditto
17972
17973 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17974
17975         * buffer.C: add compability for minipage alignment.
17976         (latexParagraphs): remove unwanted pextra check.
17977
17978         * several files: remove CXX_WORKING_NAMESPACES
17979
17980         * buffer.C (pop_tag): tie is in namespace boost
17981
17982         * BufferView.h: noncopyable is in namespace boost
17983         * lyxlex.h: ditto
17984         * lyx_main.h: ditto
17985         * lyx_gui.h: ditto
17986         * layout.h: ditto
17987         * lastfiles.h: ditto
17988         * bufferlist.h: ditto
17989         * ShareContainer.h: ditto
17990         * LyXView.h: ditto
17991         * LyXAction.h: ditto
17992         * LaTeX.h: ditto
17993
17994 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17995
17996         * Merging changes from BRANCH_MVC back into HEAD.
17997
17998         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17999
18000 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18001
18002         * BufferView_pimpl.C: change from intl.C
18003
18004         * combox.h:
18005         * combox.C:
18006         * Makefile.am: move combox.*
18007
18008         * form1.h:
18009         * form1.C:
18010         * lyx_gui.C:
18011         * intl.h:
18012         * intl.C: remove dialog (covered by prefs)
18013
18014 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18015
18016         * lyxfunc.C (Dispatch): removed redundant break statement.
18017
18018 2001-03-14  Juergen Vigna  <jug@sad.it>
18019
18020         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18021
18022 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18023
18024         * buffer.C: add hack to fix compability reading of minipages.
18025
18026 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18027
18028         * buffer.C (getLists): Cleanup.
18029
18030 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18031
18032         * lyxfont.C (update): don't honor toggleall on font size.
18033
18034 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18035
18036         * bmtable.c:
18037         * bmtable.h:
18038         * Makefile.am: moved to frontends/xforms/
18039
18040         * lyx_gui_misc.C:
18041         * lyxfunc.C:
18042         * BufferView_pimpl.C: changes for moved mathpanel
18043
18044 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18045
18046         * gettext.h: fix gettext_init() in --disable-nls
18047
18048 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18049
18050         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18051
18052 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18053
18054         * lyx.C:
18055         * lyx.h: strip external form
18056
18057 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18058
18059         * BufferView_pimpl.C: add comment, destroySplash()
18060
18061 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18062
18063         * BufferView_pimpl.C:
18064         * LyXAction.C:
18065         * buffer.C:
18066         * commandtags.h:
18067         * lyxfunc.C: use re-worked insetinclude
18068
18069 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18070
18071         * buffer.C: add using std::stringstream.
18072
18073         * lyx_cb.C: readd using std::ios.
18074
18075         * buffer.C: add using std::map.
18076
18077         * BufferView_pimpl.C: add using std::vector.
18078
18079         * ShareContainer.h: add std:: to swap.
18080
18081         * buffer.h: add some typedefs
18082         * buffer.C (getLists): use them
18083         (getLists): renamed from getTocList.
18084         add a counter for the different float types and use it in the
18085         generated string.
18086         (getLists): use the same counter for the NEW_INSETS and the "non"
18087         NEW_INSETS
18088
18089         * lyx_cb.h: remove unused items, includes, using etc.
18090
18091         * ShareContainer.h: remove some commented code, add more comments
18092         and "documentation".
18093
18094 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18095
18096         * buffer.C (getTocList): make the list also when NEW_INSETS is
18097         defined.
18098
18099         * buffer.h: remove TocType
18100
18101         * buffer.C (getTocList): change to return a map<string,
18102         vector<TocItem> >, implement for dynamic number of list.
18103
18104         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18105         * text2.C (PasteSelection): adjust
18106         * CutAndPaste.C (pasteSelection): adjust
18107
18108         * FloatList.C (FloatList): update from the new_insets branch.
18109         * Floating.[Ch]: ditto
18110         * LaTeXFeatures.C: ditto
18111         * buffer.C: ditto
18112         * lyxlex_pimpl.C: ditto
18113
18114         * paragraph.C (Last): remove when NEW_INSETS is defined.
18115
18116         * other file: changes because of the above.
18117
18118 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18119
18120         * lyxparagraph.h: rename next to next_, previous to previous_,
18121         make them private for NEW_INSETS. Rename Next() to next(),
18122         Previous() to previous().
18123
18124         * other files: changes because of the above.
18125
18126 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18127
18128         * BufferView.h:
18129         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18130         problem.
18131
18132 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18133
18134         * main.C (main): pass lyx_localedir to gettext_init().
18135
18136         * gettext.h: remove locale_init and gettext_init macros
18137
18138         * gettext.C (locale_init): new function
18139         (gettext_init): new function
18140
18141         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18142         setlocale().
18143
18144 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18145
18146         * Moved credits to frontends:
18147         * credits.[Ch]: removed
18148         * credits_form.[Ch]: removed
18149         * lyx_gui_misc.C: remove credits stuff
18150         * Makefile.am:
18151
18152 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18153
18154         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18155
18156         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18157         unneeded destructor.
18158
18159         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18160         a standalone pointer again.
18161
18162         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18163
18164 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18165
18166         * Makefile.am:
18167         * filedlg.h:
18168         * filedlg.C:
18169         * LyXAction.C:
18170         * ToolbarDefaults.C:
18171         * bufferlist.C:
18172         * commandtags.h:
18173         * form1.C:
18174         * form1.h:
18175         * lyx_cb.C:
18176         * lyx_cb.h:
18177         * lyxfunc.h:
18178         * lyxfunc.C:
18179         * BufferView_pimpl.C: use new file dialog in GUII
18180
18181         * lyx_cb.h:
18182         * lyx_cb.C: remove LayoutsCB to Toolbar
18183
18184 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18185
18186         * ShareContainer.h (get): add std:: qualifier
18187
18188 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18189
18190         * ShareContainer.h: define a proper ShareContainer::value_type
18191         type (and use typename to please compaq cxx)
18192
18193 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18194
18195         * lyxparagraph.h: move serveral local vars to
18196         ParameterStruct/ParagraphParameters., use ShareContainer in
18197         FontTable., make vars in FontTable private and add getter and
18198         setter.
18199
18200         * paragraph.C: changes because of the above.
18201
18202         * lyxfont.h: remove copy constructor and copy assignment. (the
18203         default ones is ok), move number inside FontBits. move inlines to
18204         lyxfont.C
18205
18206         * lyxfont.C: add number to initializaton of statics, move several
18207         inlines here. constify several local vars. some whitespace
18208         cleanup. Dont hide outerscope variables.
18209
18210         * Spacing.h: add two new constructors to match the set methods.
18211
18212         * ShareContainer.h: new file, will perhaps be moved to support
18213
18214         * ParameterStruct.h: new file
18215
18216         * ParagraphParameters.h: new file
18217
18218         * ParagraphParameters.C: new file
18219
18220         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18221         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18222
18223         * BufferView_pimpl.C: ParagraphParameter changes.
18224         * buffer.C: Likewise.
18225         * bufferview_funcs.C: Likewise.
18226         * text.C: Likewise.
18227         * text2.C: Likewise.
18228
18229 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18230
18231         * lyxfind.C (LyXReplace): do not redefine default argument in
18232         implementation.
18233         (IsStringInText): ditto
18234         (SearchForward): ditto
18235         (SearchBackward): ditto
18236
18237 2001-03-06  Juergen Vigna  <jug@sad.it>
18238
18239         * lyxfind.C (IsStringInText): put parentes around expressions.
18240
18241 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18242
18243         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18244
18245 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18246
18247         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18248
18249         * stl_string_fwd.h: add comment
18250
18251         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18252
18253         * tabular.h:
18254         * tabular.C: remove unused DocBook methods
18255
18256         * intl.C:
18257         * language.C:
18258         * paragraph.C:
18259         * buffer.C:
18260         killed DO_USE_DEFAULT_LANGUAGE
18261
18262 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18263
18264         * lyx_gui.C: do not include language.h.
18265
18266         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18267         arguments in function implementation.
18268
18269 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18270
18271         * BufferView_pimpl.C: add <ctime>
18272
18273 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18274
18275         * BufferView_pimpl.C: add using std::find_if
18276
18277 2001-02-27  José Matos  <jamatos@fep.up.pt>
18278
18279         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18280         by OnlyPath.
18281
18282 2001-02-11  José Matos  <jamatos@fep.up.pt>
18283
18284         * buffer.C (makeDocBookFile): command styles now have a parameter as
18285         "title" by default.
18286
18287 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18288
18289         * layout_forms.[Ch]: removed
18290         * lyx_cb.[Ch]: out character
18291         * lyx_gui.C: out character
18292         * lyx_gui_misc.C: out character
18293         * bufferview_funcs.C: : out character,
18294         added toggleall as parameter in ToggleAndShow
18295
18296 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18297
18298         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18299
18300         * text2.C (SetCurrentFont): Disable number property at boundary.
18301
18302 2001-02-26  Juergen Vigna  <jug@sad.it>
18303
18304         * lyxfunc.C (getStatus): added a string argument override function so
18305         that this is correctly called from LyXFunc::Dispatch if it contains a
18306         do_not_use_argument which is used!
18307         (Dispatch): added check for "custom" export and call appropriate func.
18308
18309 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18310
18311         * lyxrc.C: Add language_command_local, language_use_babel and
18312         language_global_options.
18313
18314         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18315
18316         * buffer.C (makeLaTeXFile): Use language_use_babel and
18317         language_global_options.
18318
18319 2001-02-23  Juergen Vigna  <jug@sad.it>
18320
18321         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18322         which works with LyXText and putted it inside BufferView. Here now we
18323         only call for that part the BufferView::Dispatch() function.
18324
18325         * BufferView.C (Dispatch): added.
18326
18327         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18328         functions which needs to use a LyXText over from LyXFunc.
18329         (MenuInsertLyXFile): added
18330         (getInsetByCode): added
18331         (moveCursorUpdate): added
18332         (static TEXT): added
18333
18334 2001-02-22  Juergen Vigna  <jug@sad.it>
18335
18336         * BufferView_pimpl.C (update): call a status update to see if LyXText
18337         needs it.
18338
18339 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18340
18341         * vc-backend.C (revert): implement for CVS
18342         (getLog): implement for CVS
18343
18344 2001-02-20  Juergen Vigna  <jug@sad.it>
18345
18346         * text2.C (ClearSelection): added BufferView param for inset_owner call
18347
18348         * lyxfunc.C (TEXT): added this function and use it instead of
18349         directly owner->view()-text of getLyXText().
18350
18351 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18352
18353         * src/layout_forms.C: out preamble
18354         * src/layout_forms.h: out preamble
18355         * src/lyx_cb.C: out preamble
18356         * src/lyx_cb.h: out preamble
18357         * src/lyx_gui.C: out preamble
18358         * src/lyx_gui_misc.C: out preamble
18359         * src/lyxfunc.C: connect with guii preamble
18360
18361 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18362
18363         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18364
18365 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18366
18367         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18368         whether to run bibtex.
18369
18370 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18371
18372         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18373
18374 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18375
18376         * Makefile.am (lyx_SOURCES): removed bibforms.h
18377
18378         * vspace.h: doxygen
18379
18380         * text.C (GetVisibleRow): make several local vars const
18381
18382         * tabular.C: small cleanup.
18383
18384         * lyxserver.C (callback): use compare instead of strncmp
18385
18386         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18387         inlines to after class or to paragraph.C
18388
18389         * lyxfont.h: remove friend operator!=
18390
18391         * converter.h: move friend bool operator< to non friend and after
18392         class def.
18393
18394         * combox.h: small cleanup
18395
18396         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18397         to inlines after class def.
18398
18399         * buffer.C (pop_tag): use string operations instead of strcmp
18400
18401         * bmtable.c: doxygen, small cleanup
18402
18403         * LaTeX.h: remove friend operator==
18404
18405 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18406
18407         * screen.C:
18408         * lyxrc.[Ch]:
18409         * lyxfunc.C:
18410         * lyxfont.[Ch]:
18411         * lyx_cb.C:
18412         * intl.[Ch]:
18413         * commandtags.h:
18414         * buffer.C:
18415         * WorkArea.[Ch]:
18416         * LyXAction.C:
18417         * BufferView_pimpl.C:
18418         * BufferView.[Ch]: remove cruft
18419
18420 2001-02-14  Juergen Vigna  <jug@sad.it>
18421
18422         * lyxfunc.C: removed #if 0 unused code
18423
18424         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18425
18426         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18427
18428         * text2.C (SetSelection): added a BufferView * parameter
18429
18430 2001-02-13  Juergen Vigna  <jug@sad.it>
18431
18432         * lyxfunc.C (Dispatch): fixed protected blank problem.
18433         * BufferView2.C (protectedBlank): added LyxText * parameter.
18434
18435         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18436         (AppendColumn): same as above for column_info.
18437
18438         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18439         (moveCursorUpdate): use a LyXText param for support of InsetText.
18440
18441         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18442         (tripleClick): ditto
18443
18444         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18445
18446         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18447
18448         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18449
18450         * text2.C (SetSelection): set correct update status if inset_owner
18451         (ToggleFree): ditto
18452
18453 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18454
18455         * tabular.C: remove some commented code.
18456
18457 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18458
18459         * BufferView_pimpl.C: call hideSplash()
18460
18461         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18462
18463         * include_form.h:
18464         * bibforms.h: remove
18465
18466         * lyxfunc.C:
18467         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18468           add LFUN_CHILD_CREATE
18469
18470         * counters.h: fix tiny typo
18471
18472         * lyx_cb.C:
18473         * lyx.h:
18474         * lyx_gui.C:
18475         * lyx.C: move splash to frontends/xforms/
18476
18477         * lyx_gui_misc.C: move Include and Bibform to frontends
18478
18479         * lyxvc.h: clarify comment
18480
18481         * vspace.C: tiny housekeeping
18482
18483 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18484
18485         * text.C (PrepareToPrint): RTL Fix.
18486
18487         * paragraph.C (GetUChar): New method.
18488         (String):  Use GetUChar.
18489
18490         * buffer.C (asciiParagraph): Use GetUChar.
18491
18492 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18493
18494         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18495
18496 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18497
18498         * buffer.h:
18499         * buffer.C: rename to getLogName(), handle
18500           build log / latex log nicely
18501
18502 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18503
18504         * MenuBackend.C:
18505         * MenuBackend.h: remove support for reference menuitem type.
18506
18507 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18508
18509         * BufferView_pimpl.C: housekeeping
18510         * BufferView_pimpl.h:
18511         * LyXView.h:
18512         * Makefile.am:
18513         * Timeout.C:
18514         * Timeout.h:
18515         * minibuffer.h: move Timeout GUI-I
18516
18517 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18518
18519         * lyxrc.C (read): Update converters data-structures.
18520
18521 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18522
18523         * LaTeX.h (operator!=): add operator != for Aux_Info
18524
18525 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18526
18527         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18528
18529         * LaTeXLog.C: deleted, useful code moved to Buffer
18530
18531         * buffer.h:
18532         * buffer.C: new function getLatexLogName()
18533
18534         * lyx_gui_misc.C:
18535         * lyx_gui.C:
18536         * lyxvc.C:
18537         * lyxvc.h:
18538         * lyxfunc.C: use frontends for LaTeX and VC logs
18539
18540 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18541
18542         * LaTeX.h: yet another std:: that Allan forgot.
18543
18544         * Variables.C (set): renamed from isset(), because this clashes
18545         with some HP-UX macros (grr).
18546
18547 2001-02-06  Allan Rae  <rae@lyx.org>
18548
18549         * LaTeX.h: Another bug fix.  Missing std:: this time.
18550
18551 2001-02-04  Allan Rae  <rae@lyx.org>
18552
18553         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18554         floats problem. I've left it commented out because it's not quite
18555         correct.  It should also test that the current object is a table or
18556         figure inset.  But I haven't gotten around to figuring out how to do
18557         that.  I *think* it'll be something like: "table" == inset.type()
18558
18559         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18560         bool.
18561
18562 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18563
18564         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18565         all the citation/databases/styles in the auxilary file.
18566         (run): Rerun latex if there was a babel language error.
18567
18568 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18569
18570         * text.C (Backspace): Preserve the font when changing newline char
18571         with a space.
18572         (BreakParagraph): If the cursor is before a space, delete the space.
18573
18574         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18575
18576 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18577
18578         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18579         new argument (code).
18580         (ChangeCitationsIfUnique): New method.
18581
18582         * paragraph.C (GetPositionOfInset): Handle bibkey.
18583
18584 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18585
18586         * BufferView_pimpl.h: change type of Position::par_pos to
18587         LyXParagraph::size_type.
18588
18589 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18590
18591         * BufferView_pimpl.C (savePosition, restorePosition): Write
18592         messages to minibuffer.
18593
18594 2001-01-28  José Matos  <jamatos@fep.up.pt>
18595
18596         * buffer.C (makeDocBookFile): adds support for document language.
18597         A silly restriction on the name of LatexCommand types where removed.
18598         Added support for CDATA sections, allows to chars unescaped, used
18599         among others in code, to avoid escape < and >.
18600
18601 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18602
18603         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18604         saved positions instrad of a stack. Furthermore, a position is
18605         stored using paragraph id/paragraph position.
18606
18607         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18608         Remove LFUN_REF_BACK.
18609
18610 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18611
18612         * converter.C (dvipdfm_options): New method.
18613
18614 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18615
18616         * vspace.C (isValidLength): Fix for empty input string.
18617
18618 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18619
18620         * LyXAction.C (init): change description of LFUN_FIGURE to
18621         "Insert Graphics"
18622
18623 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18624
18625         * LaTeX.C: add using directive
18626
18627 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18628
18629         * MenuBackend.C (expand): Fix the sorting of the formats.
18630
18631 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18632
18633         * lyx_main.C: tiny error message fix
18634
18635 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18636
18637         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18638         calling fl_initialize(). This fixes the problem with ',' as
18639         decimal separator in text files.
18640
18641 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18642
18643         * trans.C (process): Fix the keymap bug.
18644
18645 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18646
18647         * LaTeX.C (scanAuxFiles): New method. Provides support for
18648         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18649         (scanLogFile) Scan for "run BibTeX" messages.
18650
18651         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18652         OT1 font encoding. Also, load the aecompl package if the ae
18653         package is loaded.
18654
18655         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18656
18657 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18658
18659         * texrow.C (increasePos): turn two error messages into debug
18660         messages.
18661
18662 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18663
18664         * LaTeX.C (scanAux): Handle the \@input macro.
18665         (runBibTeX): Use scanAux().
18666
18667         * language.C (latex_options_): New field.
18668
18669         * LaTeXFeatures.C (getMacros): Add language macros.
18670
18671         * buffer.C (makeLaTeXFile): Small fix.
18672
18673 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18674
18675         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18676
18677         * text2.C: add a using directive.
18678
18679 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18680
18681         * BufferView2.C:
18682         * lyx_gui_misc.h:
18683         * lyxfr1.C:
18684         * lyxfunc.C: kill LyXBell.
18685
18686 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18687
18688         * text.C (IsBoundary): Remove the error message
18689
18690         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18691
18692         * lyxrc.C (setDefaults): Correct initialization value for
18693         font_norm_type.
18694
18695 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18696
18697         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18698         gotoError().
18699
18700         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18701         and GotoNextNote().
18702
18703         * src/LyXAction.C: Added reference-next.
18704
18705         * text.C (InsertChar): Use contains instead of strchr.
18706
18707         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18708
18709 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18710
18711         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18712         alignment commands (when needed).
18713
18714         * text.C (InsertChar): Add ':' to number separator chars.