]> git.lyx.org Git - features.git/blob - src/ChangeLog
update required python version
[features.git] / src / ChangeLog
1 2006-02-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text2.C (deleteEmptyParagraphMechanism): 64bit compile fix
4
5 2006-02-05  Martin Vermeer  <martin.vermeer@hut.fi>
6
7         * buffer.C:
8         * bufferparams.[Ch]:
9         * lyxtext.h:
10         * paragraph.[Ch]:
11         * paragraph_funcs.C
12         * rowpainter.C:
13         * text.C:
14         * text2.C:
15         * text3.C: Fix bug 2115: blue language lines (for default font)
16         popping up when the documnent font is different. This includes work
17         by Georg Baum.
18
19 2006-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
20
21         * exporter.C (Backends): Add "lyx" backend
22         * exporter.C (Export): Handle "lyx" backend
23         * graph.C (getReachable): Don't exclude "lyx"
24         * MenuBackend.C (expandFormats): exclude "lyx" from export menu
25
26 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
27
28         * cursor.C (bruteFind2): convert relative to absolute co-ordinates
29         for correct in-mathed positioning
30
31 2006-02-03  Martin Vermeer  <martin.vermeer@hut.fi>
32
33         * rowpainter.C (paintForeignMark): fix foreign blue line under
34         insets
35
36 2006-01-30  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * * text2.C (deleteEmptyParagraphMechanism): fix off-by-one error of the start 
39         pit of the uno range (bug 2022).
40
41 2006-01-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * messages.C (get): Only warn once if setlocale fails (bug 2177)
44
45 2006-01-28  Martin Vermeer  <martin.vermeer@hut.fi>
46
47         * text2.C (setCharFont): take inset's own font settings into account
48         when defining the font to reduce to, fixes 2019
49
50 2006-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
51
52         * bufferview_funcs.C (coordOffset): remove the check for
53         collapsed collapsables (fix for bug 2094). This is now done
54         on a more general level (cursor.C).
55
56         * dociterator.[Ch] (forwardPos): add an optional argument
57         bool "ignorecollapsed" (default false), which lets forwardPos
58         skip collapsed insets.
59
60         * cursor.C (bruteFind): use forwardPos(ignorecollapsed = true)
61         (fixes bug 2241 and 2094).
62
63 2006-01-26  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
64
65         * buffer.C: change tracking (dvipost) doesn't require
66         color.sty anymore.
67
68         * LaTeXFeatures.C (getPackages): no need for the color
69         option "usenames" (bug 2169).
70
71 2006-01-23  Helge Hafting <helge.hafting@aitel.hist.no>
72         * buffer_funcs.C: Trivial fix - added {} around
73         the statements to be affected by a if-test. Now
74         label in a minipage in a float looks ok on screen again.
75
76 2006-01-23  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * text2.C: fix bug 2015: on screen fonts in nested environments 
79         can be wrong
80
81 2006-01-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * converter.C (convert): handle unknown formats
84
85 2006-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * cursor.C (goUpDown): comment out some debug messages.
88
89         * counters.C (newCounter): make error messages more explicit
90         (these appear with some textclasses like beamer)
91
92 2006-01-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * kbmap.C (defkey): 
95         * lyxfunc.C (processKeySym): make sure new FuncRequest objects
96         have origin set to KEYBOARD. (bug 2221)
97
98 2006-01-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
99
100         * rowpainter.C (isCursorOnRow): do not exclude endpos().
101
102 2006-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * cursor.C (macroModeClose): returns true if an inset actually got
105         inserted; revert faulty fix to bug 2034.
106
107 2006-01-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * tabular.C (getLabelList): remove (not used anymore).
110
111 2006-01-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
112
113         * outputparams.[Ch]: add new flag inComment
114
115 2006-01-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * text2.C (deleteEmptyParagraphMechanism): since we delete a
118         paragraph, recordUndo should span two paragraphs (bug 2155).
119
120 2006-01-01  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * rowpainter.C (paintPar): always repaint the row with the
123         cursor in it
124
125 2006-01-01  Lars Gullik Bjønnes <larsbj@gullik.net>
126
127         * MenuBackend.h: 
128         * bufferlist.h: 
129         * lyxtext.h: 
130         * paragraph.h:
131         * vspace.h: fix syntax error
132
133 2005-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
134
135         * text3.C (dispatch): Force refresh if typing into inset changes its
136                               metrics
137
138 2005-12-30  Martin Vermeer  <martin.vermeer@hut.fi>
139
140         * RowList_fwd.h:
141         * paragraph.C:
142         * paragraph.h:
143         * rowpainter.C: Speed up rendering by only re-painting rows that
144         have changed. When selection or whole-screen update active, all rows
145         are repainted, as are all rows within insets.
146
147 2005-12-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * version.C.in: Use PACKAGE_VERSION instead of VERSION
150
151 2005-12-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
152
153         * tabular.C (toggleFixedWidth): Use default layout of text class
154         instead of hardcoded "Standard"
155
156 2005-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         * lyxfunc.C (dispatch): do not call getStatus again to determine
159         whether a lfun is disabled (bug 2172).
160
161 2005-12-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * cursor.C (macroModeClose): set the cursor inside the new math
164         atom if relevant (think \frac{}{}) (bug 2034)
165
166 2005-12-19  Martin Vermeer  <martin.vermeer@hut.fi>
167
168         * lyxtext.h:
169         * text.C:
170         * text3.C (Delete, backspace): force update when merging paragraphs
171
172 2005-12-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         * BufferView.C (mouseSetCursor): clear the selection properly (bug
175         2163). 
176
177 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
178
179         * text.C (redoParagraph): honor inset->noFontChange()
180         * rowpainter.C (paintInset): ditto
181
182 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
183
184         * lyx_main.C (priv_exec): don't initialize Math on startup 
185         (initMath() has been moved to math_hullinset).
186
187 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
188
189         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
190         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
191         * paper.h: dispose dead PAPER_PACKAGES enum.
192
193 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
196         without X support.
197
198 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
199
200         * exporter.C (Export): Don't try to copy a file if it does not exist
201         (bug 1888)
202
203 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
204
205         * text2.C (makeFontEntriesLayoutSpecific): remove.
206         (setLayout): adapt.
207
208         * text.C (insertChar): remove bogus caching of fonts (did not do
209         anything). 
210
211         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
212         ALL_SANE). (bug 2146)
213
214 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * rowpainter.C (paintFirst): fix centering of
217         LABEL_CENTERED_TOP_ENVIRONMENT. 
218
219 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * BufferView.C (mouseSetCursor): new method. Calls
222         deleteEmptyParagraphMechanism if necessary.
223
224         * lyxtext.h: make deleteEmptyParagraphMechanism public.
225
226         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
227         BufferView::mouseSetCursor (bug 2109).
228         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
229
230 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
231
232         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
233         do not remove it (this inset behaves differently from the others).
234
235 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         Fix bug 2096.
238         
239         * BufferView_pimpl.C (getStatus): it is only possible to insert a
240         file in a text inset.
241
242         * buffer.C (readDocument): remove pit argument and code releated
243         to it; set the inset owner correctly (unrelated, but useful).
244         (readFile): get rid of pit argument.
245
246         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
247         textclass instead of a selection index.
248         (pasteParagraphList): new function.
249         (pasteSelection): make it a wrapper around pasteParagraphList.
250
251         * BufferView_pimpl.C (MenuInsertLyXFile): use
252         cap::pasteParagraphList to insert a file.
253
254 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
255
256         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
257
258 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
259
260         * exporter.C: fix typo in text message
261
262 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
263
264         * text2.C (setLayout): move recUndo call to other setLayout method
265         * tabular.C (toggleFixedWidth): new, handle cell width changes
266         * tabular.C (setColumnPWidth): move some code from insettabular.C here
267         and use toggleFixedWidth
268         * tabular.C (setMColumnPWidth): ditto
269
270 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
271
272         * paragraph.C (asString): use new inset->textString method (fix
273         bug 2089) 
274
275 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * CutAndPaste.C (numberOfSelections): new helper function.
278
279         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
280
281         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
282         LyXFunc::getStatus; implement LFUN_PASTE.
283
284 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
285
286         * dociterator.[Ch]: new member realInset() that returns the cell
287         for tabulars and the inset for the rest (bug 1952).
288         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
289         (bug 1952).
290
291 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
294
295 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
296
297         * lyxfunc.C:
298         * paragraph.C:
299         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
300         argument.
301
302 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
303
304         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
305         line after typing ctrl-enter
306
307 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
308
309         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
310         math insets do not return a proper editable() state yet (bug 2124).
311
312 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
313
314         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
315         docs containing very large paragraphs.
316
317 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
318
319         * cursor.C (selectionBegin, selectionEnd):
320         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
321         cursor at different depths.
322
323 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
324
325         * bufferview_funcs.C (coordOffset): do not call cursorPos
326         for collapsed collapsables (fix bug 2094).
327
328 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * paragraph.C (fontSpan): make sure that the FontSpan does not
331         span across beginOfBody (bug 1947).
332
333 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
336
337 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
338
339         * messages.C: fix crash and localization on MinGW/Windows platform
340
341 2005-11-02  Angus Leeming  <leeming@lyx.org>
342
343         * Bidi.C:
344         * lyxtextclass.C: trivial fixes to some MSVS warnings.
345
346 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * text3.C (getStatus): re-enable disabled code. (bug 2081)
349
350         * BranchList.h (empty): constify.
351
352 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * text3.C (getStatus): 
355         * MenuBackend.C (expandBranches): take the branch list from the
356         master document (bug 2092).
357         
358         * MenuBackend.C (expandBranches): 
359         * bufferparams.C (writeFile): use BranchList type.
360
361 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * text3.C (dispatch, getStatus): 
364         * LyXAction.C (init): 
365         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
366
367 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
370
371 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * text.C (insertChar): do not reset boundary (bug 2061)
374
375 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * dociterator.C (updateInsets): new method. Updates the inset_
378         cache of all the slices of the iterator.
379
380         * text2.C (deleteEmptyParagraphMechanism): compare also containing
381         insets when comparing pit/pos; pass the right cursor to
382         recordUndo; when a paragraph has been deleted, compare `old.top()' to
383         the right cursor slice of `cur'; use updateInsets on cur to make
384         sure that the inset caches are correct; general cleanup.
385
386 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
389         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
390         containg inset. If this does not work, the same command will be
391         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
392
393         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
394         a dispatch.
395
396 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
397
398         * lyxtextclass.C (Read): convert layout file if the format is wrong
399         * lyxtextclass.C (layout2layout): new, needed for the above
400
401 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
402
403         * messages.C: do not forget to include <cerrno>.
404
405 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
406
407         * dociterator.h (StableDocIterator): add access to pos().
408         * undo.C (samePar): new method to check if two
409         iterators are in the same paragraph
410         * undo.C (recordUndo): check for samePar instead of cell identity
411         (which includes pos() and is too strict) (fixes bug 2097)
412
413 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
414
415         * text.C (setCursorFromCoordinates): return a bool telling whether
416         dEPM triggered.
417
418         * text3.C (cursorPrevious): update if needed after
419         setCursorFromCoordinates (when dEPM triggered).
420
421         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
422         (otherwise the anchor may be completely wrong and make dEPM assert).
423
424 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
425
426         * buffer.C: version upgrade to 245.
427         * bufferparams.C: remove \quotes_times (bug 2090).
428         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
429         quotation marks as default.
430
431 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
432
433         * CutAndPaste.C (nrOfParagraphs): remove (unused)
434         * CutAndPaste.C (cutSelection): Remove debug message
435         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
436         undo information and only copy if this is a real cut
437         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
438         call
439         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
440         (bug 2059)
441         * CutAndPaste.C (eraseSelection): prevent cursor corruption
442         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
443         superflous cur.selection() setting
444         * CutAndPaste.[Ch] (grabSelection): take a const cursor
445         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
446
447 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
448
449         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
450         change anything.
451
452 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
453
454         * BufferView_pimpl.C: comment layout change
455
456 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
457
458         * LyXAction.C:
459         * lfuns.h:
460         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
461         by bibliography managers (bug 2071).
462
463 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
464
465         * BufferView_pimpl.C (update): choose arguments to update call so
466         that single-par update works most times
467         * text3.C (dispatch): carefully tune updating separately for
468         whole-screen and current-paragraph
469         * rowpainter.C (paintText): 1) replace painting by caching for
470         the two extra paragraphs, because we can;
471         2) suppress greying out of areas below/above drawn area in case of
472         single-par refresh
473         * lyxfunc.C (dispatch): remove superfluous update
474         * LyXAction.[Ch]: introduce SingleParUpdate
475
476 2005-10-05  Angus Leeming  <leeming@lyx.org>
477
478         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
479         always initialised before use.
480
481         * text.C (setHeightOfRow): squash warning about comparison
482         of signed and unsigned types.
483
484 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * text.C (cursorX): two fixes involving RtL text drawing
487
488 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
491         items, not only large ones (part of bug 2057)
492
493 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
494
495         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
496         argument, use "newcommand".
497
498 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
499
500         * cursor.C (setSelection): do not open collapsable insets;
501         the insets do by themselves now (autoopen).
502
503 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * buffer.C: format is up to 244.
506
507 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
508
509         * text.C (redoParagraph): fix calcultation of inset width wrt 
510         leftMargin (bug 1957).
511
512         * text3.C (dispatch): leave inset to the right when hitting ESC 
513         (bug 2034).
514
515 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * text2.C: 
518         * text.C: 
519         * factory.C:
520         * messages.C: include <boost/current_function.hpp> 
521
522 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
525         when command is internal. (bug 1941)
526
527 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * text2.C (cursorRight): do not honor boundary when at the end of
530         a paragraph. (bug 2010 again)
531
532 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
535
536 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
537
538         * rowpainter.C (paintText): fix RtL space width display bug (2029)
539
540 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * text2.C (setCursor): remove the unused 'boundary' parameter for
543         the CursorSlice version; adapt the LCursor version.
544
545         * lyxrc.C (write): 
546         * paragraph_pimpl.C (markErased): 
547         * cursor.C (bruteFind2, bruteFond3): fix warnings.
548
549 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
550
551         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
552         as is already done for "chapter".
553
554 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
555
556         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
557         textclass; do not record undo if nothing is changed.
558
559 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
560
561         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
562
563 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
564
565         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
566
567 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
570         combox, it is necessary to search for the topmost paragraph in the
571         cursor stack (bug 1926)
572
573 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
574
575         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
576         end of paragraph. (bug 2010)
577
578 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
579
580         * text.C (leftMargin): check for inInset == 0
581
582 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
583
584         * text.C (leftMargin): test for insetbase's new neverIndent()
585         bool instead of listing each and every inset that does not
586         wish par indendation.
587
588 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
589
590         * buffer_funcs.C (setCounter): put the code to compute enum label
591         here (where it belongs).
592
593         * counters.C (enumLabel): move code to buffer_funcs.C.
594
595 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
596
597         * outputparams.[Ch]: store local_font instead of local_language
598         * paragraph.C (simpleTeXOnePar): adapt to the change above
599
600 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
601
602         * buffer_funcs.C:
603         * counters.[Ch]: clean up special code for Hebrew.
604
605 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
606
607         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
608         than 2.
609
610 2005-09-08  Angus Leeming  <leeming@lyx.org>
611
612         * ispell.C:
613         * lyxrc.C: correct grammar describing invocation of the
614         spellchecker.
615
616 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
617
618         * text.C (read): remove unused variable.
619         (readParToken): remove static Change variable (never good in
620         recursive settings...); add it as a parameter instead.
621
622         * paragraph_pimpl.C (acceptChange): make debug info conditional.
623
624         * metricsinfo.C (PainterInfo): add new member erased_.
625
626         * rowpainter.C (RowPainter): add erased_ member, initialized from
627         PainterInfo. 
628         (paintInset): pass erased_ to Inset::draw.
629
630         * lyxfunc.C (lookupChange): new function. Tells whether change 
631         tracking is disabled at a given postion.
632         (getStatus): disable some actions when in deleted text with change
633         tracking. 
634
635 2005-08-03  John Levon  <levon@movementarian.org>
636         
637         * tabular.C (appendColumn, setMultiColumn): adapt to change to
638         InsetText::clear().
639
640         * paragraph_pimpl.C (markErased): add bool argument and handle it.
641         Also make sure to mark insets recursively.
642         (rejectChange, erase): be recursive
643
644         * paragraph.C (markErased): add bool argument.
645 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
646
647         * lyxfind.C (findNextChange): tiny cleanup.
648
649         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
650         change tracking with the cursor in an inset; make sure the first
651         change is not skipped.
652
653 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
654
655         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
656         tabularStackDirty to work around bug 1919 (tabular needs
657         to know whether its own cell paste buffer or the one of 
658         texted is newer.
659         * CutAndPaste.C: mark tabular_stack_ clean after copy.
660
661 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
662
663         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
664
665 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
666
667         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
668         use old deleteion algorithm when changetracking is on.
669
670 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
671
672         * messages.C (get): add debug output.
673
674 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
675
676         * text.C (cursorX): fix bug 1965: cursor movement at
677         line end broken in RtL.
678         (drawSelection): fix bug 1970: drawing of single-line 
679         selection broken for RtL.
680
681 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         bug 465.
684
685         * dociterator.h (clear, push_back, pop_back): change from
686         protected to public.
687
688         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
689         and changed to just return the value of the item depth; take a
690         ParIterator as argument; take the itemdepth at outer nesting level
691         in account if necessary; cleanup and comment the code.
692         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
693         and changed to just return true if reset is needed; take a
694         ParIterator as argument; cleanup and comment the code.
695         (setCounter): adapt to above changes.
696
697 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * text3.C (dispatch): make debug message optional
700
701 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
702
703         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
704         inset. (bug 1963)
705
706 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
707
708         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
709
710 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
711
712         * text.C (insertChar):
713         * text2.C (deleteEmptyParagraphMechanism): take care whether 
714         a blank has been deleted (in change tracking mode) (bug 1254).
715
716 2005-07-20  John Levon  <levon@movementarian.org>
717
718         * text2.C (insertStringAsLines): remove old dubious code,
719         fixing bug 1939.
720
721 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * MenuBackend.C (expandToc): use Floating::listName() as title of
724         the floats submenus.
725
726 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
727
728         * toc.[Ch]: Do not use translatable strings (bug 1870).
729
730 2005-07-20  John Levon  <levon@movementarian.org>
731
732         * tabular.C: fix 1748 - setting multicolumn adds
733           left line to the first cell
734
735 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
736
737         bug 1920
738         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
739         pars in one go.
740
741 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
742
743         * messages.C: supress some lyxerr messages
744
745 2005-07-18  Juergen Vigna  <jug@lyx.org>
746
747         * text.C (drawSelection): honor boundary when asking for cursorX.
748
749 2005-07-17  José Matos  <jamatos@fc.up.pt>
750
751         * tabular.C (recalculateMulticolumns): fix handling of one column
752         tables.
753
754 2005-07-17  Juergen Vigna  <jug@lyx.org>
755
756         * text.C (Delete, backspace): fixed so that paragraph with the
757         same layout can be merged by Delete/Backspace.
758
759 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
760
761         * text.C (readParToken): fix spelling.
762
763 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
764
765         * text2.C: fix counter update for DEPM problem reported by
766         Georg Baum
767
768 2005-07-17  Juergen Vigna  <jug@lyx.org>
769
770         * BufferView_pimpl.C (setBuffer): save/restore the
771         cursor/selection when switching buffers
772
773         * buffer.h: 
774         * buffer.C (saveCursor): add saveDocumentIterators to save the
775         cursor when switching buffer.
776
777 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
778
779         * debug.C: fix typo
780         * buffer.C: clarify message
781         
782 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
783
784         * dociterator.C (DocIterator): fix initialization order
785
786 2005-07-17  Juergen Vigna  <jug@lyx.org>
787
788         * text2.C (cursorHome): 
789         * text.C (drawSelection, cursorX): 
790         * dociterator.C (textRow): add boundary to getRow() call
791
792         * paragraph.C (getRow): implementation of below
793
794         * paragraph.h: add parameter boundary for getRow() function
795
796 2005-07-17  José Matos  <jamatos@fc.up.pt>
797
798         * buffer.C:
799         * bufferparams.[Ch]:
800         * tex-strings.[Ch]: new file format, remove support for a4.sty,
801         a4wide.sty and a4widemargins.
802
803 2005-07-17  Juergen Vigna  <jug@lyx.org>
804
805         * text2.C (cursorLeft): fix one of error
806
807 2005-07-17  Juergen Vigna  <jug@lyx.org>
808
809         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
810                    cursorEnd):
811         more fixes for boundary handling
812
813         * text3.C (dispatch): don't reset cursor if boundary has changed
814         on cursor movement.
815
816 2005-07-16  Juergen Vigna  <jug@lyx.org>
817
818         * text2.C (getColumnNearX): hopefully got it right now,
819         check if we are on column 0 for special case.
820
821 2005-07-16  Juergen Vigna  <jug@lyx.org>
822
823         * text2.C (getColumnNearX): handle special case Newline Inset
824
825         * text.C (singleWidth): Just remove bogus check
826
827 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
828
829         * funcrequest.C (split): avoid reading uninitialized char c
830
831 2005-07-16  José Matos  <jamatos@fc.up.pt>
832
833         * buffer.C:
834         * converter.C:
835         * lyxrc.C:
836         * paper.h:
837         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
838         single papersize variable.
839
840 2005-07-16  Juergen Vigna  <jug@lyx.org>
841
842         * text3.C (dispatch): honor boundary when checking if a cursor
843         movement has been done
844
845         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
846         (setCursor, setCursorIntern): fix cursor movement with boundary
847
848 2005-07-16  Juergen Vigna  <jug@lyx.org>
849
850         * text.C (currentState): output the actual Boundary
851
852 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
853
854         * factory.C (createInset): fix bad logic for tabular creation
855
856 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
857
858         * lyx_main.C (init): change some reLyX reference to tex2lyx
859
860 2005-07-16  Juergen Vigna  <jug@lyx.org>
861
862         * dociterator.C (DocIterator): initialize boundary
863
864 2005-07-16  Juergen Vigna  <jug@lyx.org>
865
866         * text2.C (getColumnNearX): Consider rows without trailing blank.  
867
868 2005-07-16  André Pönitz  <poenitz@gmx.net>
869
870         * lyxfont.h: Change order of declarations to give the compiler
871         a better chance to inline things
872
873         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
874         questions on unsaved docs for better scritability
875
876 2005-07-16  André Pönitz  <poenitz@gmx.net>
877
878         * paragraph.h (getChar): remove asserts as the same kind of security
879         can be achieved by using a suitable standard library implementation
880         and the function was in the critical path (25.9% in profiler)
881
882 2005-07-16  Juergen Vigna  <jug@lyx.org>
883
884         * cursor.C (bruteFind2):
885         * bufferview_funcs.C (coordOffset): 
886         * text.C (cursorX,cursorY): Handle cursor position after last char
887         in row before a inset which uses a whole row.
888
889 2005-07-15  José Matos <jamatos@lyx.org>
890
891         * output_plaintext.[Ch] (writeFileAscii): control reference title
892         printing.
893         (asciiParagraph): noparbreak was already deal and was incorrectly
894         used.
895
896 2005-07-15  Juergen Vigna <jug@lyx.org>
897
898         * lyxfunc.C (dispatch): save and restore the cursor after a
899         textclass switch.
900
901 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
902
903         * text.C (backspace): bug 806 for empty keepempty paragraphs we
904         change the layout to default before letting DEPM do its thing.
905
906         * paragraph_funcs.C (breakParagraph): dont reset the layout on
907         keepEmpty paragraphs
908
909         * text.C (setCursorFromCoordinates): add a debug statement
910
911         * text2.C (getColumnNearX): bug 1825 make sure that we don't
912         return a pos that is not on the row
913
914         * output_latex.C (TeXDeeper): get rid of potential dereferencing
915         of past the end iterator
916
917 2005-07-14  André Pönitz  <poenitz@gmx.net>
918
919         * undo.C (recordUndoFullBuffer): implement undo for
920         textclass switches
921
922 2005-07-14  André Pönitz  <poenitz@gmx.net>
923
924         * cursor.C (setSelection): open insets when selection is set there
925         to avoid crashs with cold coord cache
926
927 2005-07-14  André Pönitz  <poenitz@gmx.net>
928
929         * trans_mgr.C (insert): move cursor to the right after inserting
930         a char.
931
932 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
933
934         * BufferView_pimpl.C (update): dampen some of the debug blabbering
935         * factory.C (readInset): ditto
936         * text.C, text2.C: ditto
937
938 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
939
940         * buffer.C: format incremented to 242. There is no file format per
941         se, but the "frenchb" language has been removed from lib/language
942         and has to be translated to "french" by lyx2lyx.
943
944 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
945
946         * cursor_slice.h, dociterator.h: add some documentation
947         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
948
949 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
950
951         * text.C (leftMargin): do not add identation to display() style
952         insets, because they are always centered (bug 1293).
953
954 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
955
956         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
957         formatted_time methods in support/lyxtime.
958
959 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
960
961         * toc.[Ch]: new method getGuiName, which is used by the frontends 
962         to set the toc combo (fixes bug 1870). Make TOC string translatable.
963
964 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
965
966         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
967         StableDocIterator const &)
968         * undo.C (recordUndo): use the above instead of cell.size() comparison
969         (fixes bug 1808; instructed by Andr�.
970
971 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
972
973         * cursor_slice.h: 
974         * dociterator.h: Fix the assert when copying rows/cols in math
975
976 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
977
978         * BufferView_pimpl.C:
979         * LyXAction.C:
980         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
981
982         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
983         (findInset): new functions, refactored from goto Inset that return 
984         the position of a certain inset without setting the buffer's cursor
985         (by Jean-Marc); 
986         (gotoInset): rewrite to call findInset and then set the cursor
987         (by Jean-Marc).
988
989 2005-06-16  Angus Leeming  <leeming@lyx.org>
990
991         * lyxrc.C (output, read): wrap all input and output of paths with
992         calls to os::internal_path and os::external_path, respectively.
993         (output): wrap bind_file inside quotes.
994
995         * format.C (view): enable the viewer to use the '$$s' placeholder.
996
997 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
998
999         * LColor.[Ch] (getFromLaTeXName): new
1000
1001 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
1002
1003         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
1004
1005 2005-06-14  Angus Leeming  <leeming@lyx.org>
1006
1007         * lyx_main.C (init): ensure that the LyX binary dir is the first
1008         element in the PATH on non-POSIX builds.
1009
1010 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1011
1012         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
1013
1014 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1015
1016         * rowpainter.C (paintInset, paintHebrewComposeChar)
1017         (paintArabicComposeChar, paintChars): add a LyXFont argument.
1018         (paintChars): use getFontSpan to reduce calls to getFont to a
1019         minimum; use Paragraph::lookupChange instead of isXXXText.
1020         (paintForeignMark): rename LyXFont argument.
1021         (paintFromPos): pass a LyXFont object to the various paintXXX
1022         methods.
1023
1024         * FontIterator.C (FontIterator, operator++): use
1025         Paragraph::getFontSpan
1026
1027         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
1028         version that returns the font span as a pair.
1029
1030 2005-06-09  Angus Leeming  <leeming@lyx.org>
1031
1032         * converter.C (convert): Don't forget "outfile = real_outfile" as
1033         the final step in a conversion where the input and output file names
1034         are the same. Otherwise, future conversion steps won't work...
1035
1036 2005-06-09  Angus Leeming  <leeming@lyx.org>
1037
1038         * lyxsocket.C: remove stub code as it isn't needed by
1039         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
1040
1041 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1042
1043         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
1044         effectively disabled -x
1045
1046 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1047
1048         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
1049         when it actually makes sense.
1050
1051 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
1052
1053         * BufferView_pimpl.C: revert to showCursor in connection with
1054         Lars's front-end stack
1055
1056 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1057
1058         * text.C (redoParagraph): move cursor right after a bibitem
1059         has been inserted.
1060
1061         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
1062
1063 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * buffer_funcs.C (bufferErrors): fix computation of the end of an
1066         error range.
1067
1068 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
1069
1070         * BufferView.[Ch] (update):
1071         * BufferView_pimpl.[Ch] (update, metrics):
1072         * dimension.h (operator==):
1073         * lyxfunc.C (dispatch):
1074         * metricsinfo.h (ViewMetricsInfo):
1075         * rowpainter.C (paintText):
1076         * lyxtext.h:
1077         * text.C (redoParagraph):
1078         * text3.C (dispatch): Make LyX only repaint current paragraph in
1079         case of character insert --> speedup. Also fix cursor draw
1080         artifacts
1081
1082 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1083
1084         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
1085         avoid a crash (bug 1891)
1086
1087 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         Fix bug 1892:
1090
1091         * text2.C (getStringToIndex): constify cur argument.
1092
1093         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
1094         argument has been given
1095         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
1096         try to invoke LFUN_INSET_APPLY).
1097
1098         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
1099         if no inset was created by doInsertInset
1100         (doInsertInset): return true if an inset has been inserted.
1101
1102 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * vspace.C (asGUIName): new method. A version of the space
1105         suitable for showing on screen.
1106
1107 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
1108
1109         * MenuBackend.C:
1110         * lyxrc.C: rename "ASCII" to "Plain Text"
1111
1112 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * buffer_funcs.C (expandLabel): take a Buffer as argument;
1115         translate the labelstring.
1116         (setCounter): translate labelstring as needed.
1117
1118         * output_docbook.C (makeCommand): fix expandLabel invokation
1119
1120 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
1121
1122         * BufferView.C: fix dialog title
1123
1124 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1125
1126         * lyx_main.C (priv_exec): fix logic error with help from Angus
1127         * lyx_main.C (parse_execute): set is_gui = false and remove now
1128         obsolete comment about a segfault
1129
1130 2005-05-18  Angus Leeming  <leeming@lyx.org>
1131
1132         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
1133
1134 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * tabular.[hC]: added setCellInset to fix tabular paste.
1137
1138 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1139
1140         * buffer.C (save): check if destination is writable before trying
1141         to copy a file
1142
1143 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * BufferView_pimpl.C (update): fix processEvents -caused update
1146         recursion bug
1147
1148 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * buffer_funcs.C (setCounter): fix test for numbering of
1151         environments.
1152
1153         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
1154         depth correctly; use optional argument when it exists
1155
1156         * lyxtextclass.C: remove unused MaxCounterTags enum
1157         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
1158         (max_toclevel, min_toclevel): new methods.
1159
1160         * MenuBackend.C (expandToc2): fix case where depth is smaller than
1161         the smallest depth in toc.
1162
1163         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
1164         layouts that should not appear in a table of contents.
1165
1166 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1167
1168         * cursor.h (undispatched, noUpdate): add comments from Andr�
1169 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
1170
1171         * lfuns.h:
1172         * LyXAction.C:
1173         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
1174
1175 2005-05-07  André Pönitz  <poenitz@gmx.net>
1176
1177         * cursor.[Ch] (leaveInset): new function
1178
1179 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1180
1181         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1182
1183 2005-05-04  Angus Leeming  <leeming@lyx.org>
1184
1185         * lyxfunc.C (getStatus): disable the spell checker dialog if
1186         none of USE_[AIP]SPELL are defined.
1187
1188 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1189
1190         * tabular.C (setWidthOfCell): remove obsolete comment
1191
1192 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1193
1194         * paragraph.C (bibitem):
1195         * buffer_funcs.C (setCounter):
1196         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1197
1198 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1199
1200         * text3.C (getStatus): immediately return after setOnOff
1201
1202         * rowpainter.C: fix drawing of appendix start
1203
1204 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1205
1206         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1207         SwitchBetweenClasses and remove the unused return value.
1208         Handle character styles, too
1209
1210 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1211
1212         * factory.C (createInset): handle undefined character styles
1213
1214 2005-05-02  Angus Leeming  <leeming@lyx.org>
1215
1216         * buffer.C: protect the #include of utime.h with a preprocessor
1217         guard.
1218
1219 2005-05-02  Angus Leeming  <leeming@lyx.org>
1220
1221         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1222         function so that auto-saving works, albeit in a blocking manner.
1223
1224         * Makefile.am: make compilation of the client sub directory, of
1225         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1226         on conditionals set at configure time.
1227
1228         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1229         it can be compiled in its own right but has no-op functionality.
1230
1231         * aspell.C, pspell.C: remove preprocessor guards. The files should
1232         be compiled only if the necessary functionality exists.
1233
1234         * lyxserver.C, lyxsocket.C: disable on Windows.
1235
1236 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1237
1238         * text.C (leftMargin): Fix the parindent use bug (1764)
1239         by dirty trick
1240
1241 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1242
1243         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1244         argument.
1245
1246 2005-04-25  Angus Leeming  <leeming@lyx.org>
1247
1248         * Bidi.[Ch]:
1249         * coordcache.[Ch]:
1250         * ispell.C:
1251         * lyxserver.C:
1252         * mover.C:
1253         * pch.h:
1254         include <config.h> in .C files, not .h ones.
1255         add licence blurb.
1256         protect headers inside preprocessor guards.
1257
1258 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1259
1260         * FuncStatus.h (StatusCodes): document
1261
1262 2005-04-21  André Pönitz  <poenitz@gmx.net>
1263
1264         * FuncStatus.h (enabled, onoff): document
1265
1266 2005-04-19  Angus Leeming  <leeming@lyx.org>
1267
1268         * BufferView_pimpl.C (cursorToggle): no longer test whether
1269         any child processes have been reaped before calling
1270         handleCompletedProcesses().
1271
1272 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1273
1274         * text3.C (dispatch): fix, finally fix, the language problem in
1275         new lyxtexts, without disabling on-the-fly font changes (Helge's
1276         bug report)
1277
1278 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1279
1280         * text3.C (dispatch): set cursor on double/triple click events
1281         (bug 1811)
1282
1283 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1286         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1287
1288         * rowpainter.C (paintFirst): simplify the code a little bit. In
1289         particular, remove the test for secnumdepth.
1290         * text.C (setHeightOfRow): only allocate space for chapter number
1291         when updateCounters provided an actual label, instead of looking
1292         at secnumdepth directly.
1293
1294         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1295
1296         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1297         paragraphs when secnumdepth is large enough or, for environments,
1298         when they are not the first in a sequence.
1299
1300 2005-04-17  Angus Leeming  <leeming@lyx.org>
1301
1302         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1303         containing space and '~' characters with a call to latex_path().
1304
1305 2005-04-17  Angus Leeming  <leeming@lyx.org>
1306
1307         * converter.C (convert): protect all args of convertDefault.sh
1308         script with quotes.
1309
1310 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * text3.C (dispatch): change the layout to "Caption" after inserting
1313         a float.
1314
1315 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1316
1317         * text3.C (dispatch): fix language problem in newly created
1318         textinsets (and main text) in non-english docs
1319
1320 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1321
1322         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1323         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1324         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1325
1326 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1327
1328         * lyxtext.h:
1329         * text.C (metrics):
1330         * text2.C (getFont):
1331         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1332         fonts fix
1333
1334 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1335
1336         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1337         output of \item arguments without trailing text.
1338
1339 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1340
1341         * FontIterator.C (operator*): avoid a copy of the font.
1342
1343 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1344
1345         * rowpainter.C (getFont): fix language bug from previous fix
1346
1347 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1348
1349         * rowpainter.C (RowPainter, getFont): fix font inside inset
1350         (bugs 1766, 1809)
1351
1352 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1353
1354         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1355         preventing inserted font, deco, delim insets jumping to start of
1356         surrounding inset.
1357
1358 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1359
1360         * lyxfunc.C (dispatch): translate message before sending it to the
1361         minibuffer.
1362
1363 2005-03-29  Angus Leeming  <leeming@lyx.org>
1364
1365         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1366         to LyX on the command line.
1367
1368 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1369
1370         * vc-backend.C: use QuoteName to protect file names wherever
1371         necessary.
1372
1373 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1374
1375         * buffer.[Ch]:
1376         * BranchList.h: fix bugs 1844,1845: document settings don't
1377         stick
1378
1379 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * lyxrc.C (setDefaults, read, output, getDescription): add support
1382         for tex_allows_spaces.
1383
1384         * exporter.C (Export): allows files in directory containing spaces
1385         if tex_allows_spaces is true.
1386
1387         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1388         output it in double quotes.
1389
1390 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1391
1392         * rowpainter.C: use default text height for drawing change tracker
1393         strikeout lines.
1394
1395 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1396
1397         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1398
1399 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1402         directory is missing.
1403
1404 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * text2.C: fixed the fix, extended to other case.
1407
1408 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1409
1410         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1411
1412 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * text2.C (cursorUp): get rid of a crash
1415         * text.C (x2pos): add an assert
1416
1417 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1420
1421         * text3.C:
1422         * lyxfunc.C:
1423         * dociterator.C: include <boost/current_function.hpp>, which is
1424         needed when assertions are disabled.
1425
1426 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1427
1428         * text2.C: fix for stuck cursor when traversing two
1429         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1430
1431 2005-02-25  Andreas Vox  <avox@arcor.de>
1432
1433         * output_docbook.C (makeParagraph): suppress trailing newline
1434         after a run of paragraphs
1435
1436 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1437
1438         * paragraph.C: fix for confused change tracker when pasting
1439         text that begins with a lineseparator. [bug 1827]
1440         (setChange(0, Change::INSERTED);)
1441
1442         * paragraph_funcs.C: fix for lost changes on triple-paste
1443         in change tracking mode [bug 1827] (par.setChange()).
1444
1445 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1446
1447         * text2.C (updateCounters, setCounter, expandLabel): move to
1448         buffer_funcs.
1449
1450         * buffer_funcs.C (updateCounters): turn into a free standing
1451         function and add a buffer parameter. Remove dead code for tracking
1452         labelstring change.
1453         (setCounter): change into a free-standing function which gets a
1454         dociterator as argument. Use this iterator to fix captions in a
1455         simple way. When no float is found above the caption, use the
1456         labelstring of the caption layout as default.
1457
1458         * text.C (breakParagraph, backspace):
1459         * text2.C (init, setLayout, changeDepth):
1460         * text3.C (dispatch):
1461         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1462         updateCounters.
1463
1464         * dociterator.C (forwardPar): make it much faster by calling
1465         forwardPos() only when really necessary.
1466
1467         * output_docbook.C (makeCommand): adapt to expandLabel move.
1468
1469         * cursor.C: remove unused variable
1470
1471 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1472
1473         * paragraph_funcs.C: fix crash when pasting insets in change
1474         tracking mode [bug 1277] (honour change type in moveItem).
1475
1476 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1477
1478         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1479
1480 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1481
1482         * BufferView.C (setCursor): change to use a DocIterator.
1483         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1484         (putSelectionAt): adapt to BufferView::setCursor change.
1485
1486         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1487         moved here from LyXText and rewritten to use proper cursor
1488         methods. Fixes bug 1787, 616 and 835.
1489
1490         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1491         when inside an inset (part of bug 781).
1492         (dispatch): adapt to change of BufferView::setCursor.
1493         (getStatus, dispatch): handle LFUN_GOTOERROR,
1494         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1495
1496         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1497         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1498         * text3.C (gotoNextInset, gotoInset): removed.
1499
1500 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1501
1502         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1503
1504 2005-02-15  Angus Leeming  <leeming@lyx.org>
1505
1506         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1507         can be used meaningfully in a comparison.
1508
1509 2005-02-13  André Pönitz  <poenitz@gmx.net>
1510
1511         * bufferview_funcs.C (coordOffset): improve cursor drawing
1512
1513 2005-02-13  André Pönitz  <poenitz@gmx.net>
1514
1515         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1516         * Cursor.C (dispatch): use fixIfBroken
1517         * lyxfunc.C (getStatus): use fixIfBroken
1518
1519 2005-02-15  Angus Leeming  <leeming@lyx.org>
1520
1521         * lyx_main.C (error_handler):
1522         * lyxfunc.C:
1523         * lyxrc.C (setDefaults):
1524         s/GetEnv/getEnv/.
1525         #include "environment.h".
1526
1527         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1528
1529 2005-02-15  Angus Leeming  <leeming@lyx.org>
1530
1531         * lyxserver.C (startPipe): squash MSVC warning "local variable
1532         'fd' used without having been initialized".
1533
1534 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1535
1536         * BufferView_pimpl.C: revert accidental commit.
1537
1538 2005-02-14  André Pönitz  <poenitz@gmx.net>
1539
1540         * dociterator.[Ch]: new member forwardPosNoDescent(),
1541         which doesn't enter nested insets.
1542         * text2.C (setFont): use forwardPosNoDescent() instead
1543         of ForwardPos() (fixes crash on font change).
1544
1545 2005-02-13  Angus Leeming  <leeming@lyx.org>
1546
1547         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1548         only if lyxrc.path_prefix is not empty.
1549
1550 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1551
1552         * bufferparams.C (readGraphicsDriver): prevent crash
1553
1554 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1555
1556         * text2.C (setCounter): check for inInset() == 0
1557
1558 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1561         but use update() to get correct screen display; use convert
1562         instead of istringstream.
1563         (getStatus): handle LFUN_GOTO_PARAGRAPH
1564
1565         * lyxfunc.C (dispatch, getStatus): do not handle
1566         LFUN_GOTO_PARAGRAPH here.
1567
1568 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1569
1570         * text3.C (dispatch): size() -> depth()
1571
1572         * text2.C: remove some debug output
1573
1574         * paragraph.C: ws changes only
1575
1576         * lyxfunc.C (getStatus): size() -> depth()
1577
1578         * dociterator.h (clear, push_back, pop_back, internalData,
1579         operator[], resize, empty): new functions
1580         Make StableDocIterator and operator== be friends. Don't inherit
1581         from std::vector use a privat class variable slices_ instead.
1582         Modify to fit.
1583
1584         * dociterator.C: update because of not inheriting from std::vector
1585         anymore. Call explictly to slices_ instead. Use depth() instead of
1586         size() and top() instead of back()
1587
1588         * cursor.C: chagne size() -> depth and back() -> top(). Also
1589         remove some direct operator[](i) calls in favour of foo[i]
1590         (getFont): remove some dead code
1591
1592         * bufferview_funcs.C (coordOffset): size() -> depth()
1593
1594         * buffer.C: ws changes only
1595
1596         * CutAndPaste.C (eraseSelection): back() -> top()
1597
1598         * BufferView_pimpl.C (selectionRequested): back() -> top()
1599
1600         * BufferView.C (setCursor): size() -> depth()
1601
1602 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1603
1604         * text3.C (cursorPrevious): return true if depm changed something
1605         (cursorNext): ditto
1606         (dispatch): rename sl to oldTopSlice, remove moving use the new
1607         NoUpdate func attrib instead. Make sure that needsUpdate is set
1608         for function that have NoUpdate, but where depm might have changed
1609         the buffer anyway.
1610
1611         * text2.C (cursorLeft): make us return true if depm changed
1612         something
1613         (cursorRight): ditto
1614         (cursorUpParagraph): ditto
1615         (curosrDownParagraph): ditto
1616         (cursorUp, cursorDown): ditto, make sure to read comments in code
1617         (deleteEmptyParagraphMechanism): remove an assert, also return
1618         true if just a single char was deleted.
1619
1620         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1621         cursor that we modify, to avoid modifying an active cursor before
1622         we call setCursor. This allows depm to run. Also return true if
1623         depm deleted something.
1624
1625         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1626         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1627         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1628         something was changed in the buffer because of them (ie. depm run)
1629
1630         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1631         debug messages. Make update by default be false. Make sure that
1632         the result of update is retained throught several calls down to
1633         dispatch.
1634
1635         * LyXAction.h: add a new func_attrib: NoUpdate
1636
1637         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1638         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1639         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1640         and LFUN_WORDLEFT
1641         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1642
1643 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1646         bv_->owner(), bv_->buffer() by direct references to the private
1647         members.
1648         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1649         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1650         (fitCursor): center() is in BufferView::Pimpl.
1651         (getStatus, trackChanges, dispatch): no need for a temporary buf
1652         variable
1653         (fitCursor, workAreaDispatch): use workarea().workheight()
1654
1655 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1656
1657         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1658
1659 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1660
1661         * buffer.C: format up to 241.
1662         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1663         break if pasting into ERT
1664         * lyxfunc.C (getStatus): suppress mathpanel and
1665         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1666
1667 2005-02-01  Angus Leeming  <leeming@lyx.org>
1668
1669         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1670
1671 2005-02-01  Angus Leeming  <leeming@lyx.org>
1672
1673         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1674         calling fs::is_directory().
1675
1676 2005-01-31  Angus Leeming  <leeming@lyx.org>
1677
1678         * lyx_main.C (priv_exec): specify explicitly the relative location
1679         of the top level build directory when run in-place.
1680
1681 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1682
1683         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1684         LyXText containing the cursor, not the top-level one.
1685
1686         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1687         true.
1688         (insertStringAsLines): rename par to pit; use temporary variable
1689         par to hold a Paragraph; do not store par.layout() in a variable,
1690         since the pointer may die when breaking paragraphs; pass pars to
1691         breakParagraph() instead of Buffer::paragraphs().
1692
1693 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1694
1695         * lyxlex_pimpl.h: #include <fstream>.
1696
1697         * BufferView.[Ch] (getLyXText): add a const version.
1698
1699         * BufferView_pimpl.C: add debug aids.
1700
1701         * RowList_fwd.h:
1702         * buffer.h:
1703         * lyxrow.h:
1704         * paragraph_funcs.h: add commentary explaining what the class does.
1705
1706
1707         * coordcache.[Ch]: add lots of commentary.
1708         (startUpdating, doneUpdating): debug aids.
1709         (arrays, insets, parPos, getParPos): accessors to private data.
1710
1711         * cursor_slice.[Ch] (text): add a const version.
1712         * dociterator.[Ch] (text, innerText): add const versions.
1713
1714         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1715         bool.
1716
1717         * paragraph.C (getRow, pos2ros): add asserts.
1718
1719         * paragraph.h: add commentary. Lots of.
1720
1721         * paragraph.[Ch] (metrucs, draw): removed.
1722
1723         * cursor.C:
1724         * rowpainter.[Ch]: const-correct changes.
1725
1726         * text.C: various obvious clean-ups. Removal of ancient cruft.
1727         Bug fixes, even.
1728
1729 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1730
1731         * vc-backend.C (find_file): rewrite to use boost.filesystem
1732         (scanMaster): ditto
1733
1734         * main.C (main): set default name check for boost.filesystem to
1735         no check
1736
1737         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1738         (open): ditto
1739         (doImport): ditto
1740         (actOnUpdatedPrefs): ditto
1741
1742         * lyx_main.C (init): rewrite to use boost.filesystem
1743         (queryUserLyXDir): ditto
1744
1745         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1746         (getContentsOfAsciiFile): ditto
1747
1748         * lastfiles.C (readFile): rewrite to use boost.filesystem
1749
1750         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1751
1752         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1753         (loadLyXFile): ditto
1754
1755         * buffer.C (Buffer): adjust for destroydir
1756         (getLogName): rewrite to use boost.filesystem
1757         (setFileName): ditto
1758         (save): use fs::copy_file (from fs_extras)
1759
1760         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1761
1762         * LaTeX.C (run): rewrite to use boost.filesystem
1763         (scanAuxFiles): ditto
1764         (handleFoundFile): ditto
1765
1766 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1767
1768         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1769
1770         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1771
1772 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1773
1774         * lyxlayout.[Ch]: change some vars from float to double
1775
1776         * buffer.C (readFile): make a local var const
1777
1778         * Several files: use convert<> instead of atoi,strToXXX and friends
1779
1780 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1781
1782         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1783         holds the contents of packages.lst. New functions getAvailable
1784         and isAvailable to parse and check that list, resp.
1785
1786         * LyXAction.C:
1787         * lfuns.h:
1788         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1789
1790         * bufferparams.[Ch]: new param output_changes.
1791
1792         * Buffer.C: increase file format to 240.
1793         Use output_changes and isVailable.
1794
1795         * changes.[Ch]:
1796         * paragraph.C:
1797         * paragraph_pimpl.C: Use output_changes and isVailable.
1798
1799 2005-01-23  Angus Leeming  <leeming@lyx.org>
1800
1801         * output_latex.C: #include "insetbibitem.h", rather than
1802         forward declare function bibitemWidest.
1803
1804 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1805
1806         * lyx_main.C (init): make it compile on the Mac.
1807
1808 2005-01-20  Angus Leeming  <leeming@lyx.org>
1809
1810         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1811         (setLyXMisc): (char string literal) != (char string literal) is
1812         performing a comparison on the addresses. Convert one operand
1813         explicitly to string to guarantee expected behaviour.
1814         From MSVC warning.
1815
1816 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1817
1818         * buffer.C:
1819         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1820
1821         * output_plaintext.C: remove unneeded #include gzstream.h.
1822
1823 2005-01-20  Angus Leeming  <leeming@lyx.org>
1824
1825         * SpellBase.h: rename some of the elements of the Result enum.
1826
1827         * aspell_local.h:
1828         * ispell.h:
1829         * pspell.h:
1830         * aspell.C (check):
1831         * ispell.C (check):
1832         * pspell.C (check): ditto
1833
1834 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1835
1836         * buffer.C: add #include <fstream>.
1837
1838         * lyx_main.C (init): Compile fix.
1839
1840         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1841
1842 2005-01-20  Angus Leeming  <leeming@lyx.org>
1843
1844         * mover.h: change commentary to reflect the changed meaning of
1845         the $$s placeholder.
1846
1847 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1848
1849         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1850
1851         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1852
1853 2005-01-20  Angus Leeming  <leeming@lyx.org>
1854
1855         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1856         printing diagnostic data by not dereferecing an iterator past the
1857         end.
1858
1859 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1860
1861         * buffer.C (readHeader): use "&&" rather than "and".
1862
1863         * lyxserver.h (inPipeName, outPipeName): make these const.
1864
1865 2005-01-19  Angus Leeming  <leeming@lyx.org>
1866
1867         * lyx_main.C (error_handler, init): protect SIGHUP with
1868         #ifdef SIGHUP guards.
1869
1870 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1871
1872         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1873
1874 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1875
1876         * text.C (setHeightOfRow): add a margin at the top and bottom of
1877         the document (bug 1761)
1878
1879 2005-01-17  Angus Leeming  <leeming@lyx.org>
1880
1881         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1882         with "python ". Workaround for a brain-dead Windows.
1883
1884 2005-01-16  Angus Leeming  <leeming@lyx.org>
1885
1886         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1887         for MacOSX and Windows to use prependEnvPath.
1888         Strip out the hard-coded block to add elements to the PATH for
1889         MacOSX and replace it with a call to prependEnvPath using the
1890         contents of LyXRC::path_prefix.
1891         (queryUserLyXDir): strip out the code to run reconfigure, instead
1892         returning a boolean indicating the necessity to do so.
1893         (reconfigureUserLyXDir): contains the code to reconfigure the
1894         user support directory. Is now called after the various LyXRC data
1895         files have been read.
1896
1897         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1898
1899 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1900
1901         * converter.[Ch] (convert): take a new parameter try_default. Use
1902         a default converter (imagemagick) if try_default is true.
1903
1904 2005-01-13  Angus Leeming  <leeming@lyx.org>
1905
1906         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1907         os::cygwin_path_fix.
1908         (write): output LyXRC::cygwin_path_fix as necessary.
1909
1910 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1911
1912         * lyxrc.h:
1913         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1914
1915 2005-01-12  Angus Leeming  <leeming@lyx.org>
1916
1917         * lyx_main.C (init): set the PATH variable to include the
1918         directory containing the LyX binary when running on Mac or Windows.
1919
1920 2005-01-12  Angus Leeming  <leeming@lyx.org>
1921
1922         * lyx_main.C (init): remove cruft that purports to set the locale
1923         dir. It doesn't and is not needed anyway.
1924
1925 2005-01-10  Angus Leeming  <leeming@lyx.org>
1926
1927         * Makefile.am: remove the lyx_main.C special casing.
1928
1929         * BufferView_pimpl.C:
1930         * bufferlist.C:
1931         * exporter.C:
1932         * lyx_cb.C:
1933         * lyx_main.C:
1934         * lyxfunc.C:
1935         * messages.C: use support/package.h to provide the paths to the
1936         various directories used by LyX.
1937
1938 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1939
1940         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1941         layout if pasting into an empty paragraph)
1942
1943 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1944
1945         * tex-accent.C: add <string>
1946
1947 2005-01-06  José Matos  <jamatos@lyx.org>
1948
1949         * ParagraphParameters.C (write): put every parameter in its own line.
1950         * paragraph.C (write): reduce number of consecutive empty lines exported.
1951         * buffer.C (LYX_FORMAT): increase file format to 239.
1952
1953 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1954
1955         * everywhere: change support/tostr.h -> support/convert.h
1956
1957         * tabular.C: make all write_attributes templates, tostr -> convert
1958
1959         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1960         (emptyTag): and -> &&, and fix type for ret from getChar
1961         (getFirstWord): fix type for ret from getChar
1962         (onlyText): and -> &&
1963         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1964         getChar
1965
1966         * toc.C (goTo, action):
1967         * text3.C (dispatch):
1968         * text.C (currentState):
1969         * tex-accent.C (DoAccent):
1970         * sgml.C:
1971         * lyxrc.C:
1972         * lyxfunc.C (menuNew):
1973         * lyxfinc.C (replace):
1974         * counters.C (laberItem):
1975         * bufferview_funcs.C (font2string):
1976         * bufferparams.C (writeFile):
1977         * buffer.C (readFile):
1978         * Spacing.C (set):
1979         * MenuBackend.C: tostr -> convert
1980
1981         * LaTeX.C (runMessage): fix format
1982         (scanAuxFiles): tostr -> convert
1983
1984         * BufferView_pimpl.C (savePosition): fix format
1985         (restorePosition): ditto
1986         (dispatch): ditto
1987
1988 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1989
1990         * Spacing.[Ch]: New method getValueAsString().
1991
1992         * Spacing.[Ch]:
1993         * bufferparams.C:
1994         * ParagraphParameters.C:
1995         * lyxlayout.C:
1996         * text.C:
1997         * text3.C: store/read spacing value as string.
1998
1999         * rowpainter.C: change float value (spacing_val) to double.
2000
2001         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
2002         broken custom document spacing).
2003
2004 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2005
2006         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
2007         namespace, also more use of temp references and const
2008
2009         * cursor.[Ch] (getStatus): move to lyxfunc.C
2010
2011         * bufferparams.C: reformat slightly
2012
2013         * bufferview_funcs.C (font2string): constify arg
2014
2015         * changes.C:
2016         * converter.C:
2017         * counters.C:
2018         * bufferlist.C:
2019         * buffer_funcs.C: (many funcs): constify arg on function
2020         definitions, also make more local vars const, also add ASSERTS on
2021         pointer args.
2022
2023         * buffer.C (LYX_FORMAT): put const in correct place
2024         (many funcs): constify arg on function definitions, also make
2025         more local vars const
2026
2027         * aspell_local.h: remove "struct" from typdef setup
2028
2029         * aspell.C (check): make word_ok const
2030         (nextMiss): simplify slightly
2031         (error): ditto
2032
2033 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2034
2035         * lyxrc.[Ch]: store all float values as strings.
2036         use int (not float) for lyxrc.dpi.
2037
2038 2005-01-04  Angus Leeming  <leeming@lyx.org>
2039
2040         * lyx_cb.C (Reconfigure):
2041         * lyx_main.C (queryUserLyXDir):
2042         to run the <system_lyxdir>/configure correctly on Windows, prefix
2043         the path to the script with "sh " when generating the string that
2044         is passed to system().
2045
2046 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2047
2048         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
2049
2050 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * lyxlength.C (asLatexString): get rid of setprecision
2053
2054 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2055
2056         * text2.C (setLayout): remove unused variable endpit.
2057         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
2058
2059         * paragraph.C (onlyText): remove unused variable style.
2060
2061         * cursor.C (bruteFind): remove unused variables beg and end.
2062
2063         * Makefile.am (dist_noinset_DATA): not needed anymore
2064
2065         * cheaders/*: remove.
2066
2067 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2068
2069         * text3.C: fix LFUN_MATH_MODE.
2070
2071 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2072
2073         * buffer_funcs.C (countWords): new function. Counts words between
2074         two iterators.
2075
2076         * BufferView_pimpl.C (getStatus, dispatch): handle
2077         LFUN_WORDS_COUNT.
2078
2079         * LyXAction.C (init):
2080         * lfuns.h: add LFUN_WORDS_COUNT.
2081
2082 2004-12-19  Angus Leeming  <leeming@lyx.org>
2083
2084         * buffer.C (save): s/slashify_path/internal_path/.
2085
2086 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2087
2088         * lyxfind.C (findChange): do not search for end of pars, because
2089         the change tracker cannot handle this (fixes bug 1719).
2090
2091 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2092
2093         * paragraph.[Ch] (autoBreakRows): remove
2094
2095         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
2096
2097         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
2098         avoid using the paragraph one
2099
2100         * text2.C (LyXText, insertStringAsLines): adjust
2101
2102 2004-12-16  Angus Leeming  <leeming@lyx.org>
2103
2104         * bufferlist.C:
2105         * lyx_main.C:
2106         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
2107
2108 2004-12-14  Angus Leeming  <leeming@lyx.org>
2109
2110         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
2111
2112         * bufferlist.C (emergencyWrite):
2113         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
2114         GetEnvPath("HOME").
2115
2116 2004-12-14  Angus Leeming  <leeming@lyx.org>
2117
2118         * main.C: (main): no longer pass pointers to os::init.
2119
2120 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2121
2122         * undo.C (textUndoOrRedo): simplify logic, fix a crash
2123         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
2124
2125 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2126
2127         * lyxfunc.C:
2128         * text3.C: remove selection_possible global flag
2129
2130 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
2131
2132         * text2.C (getSelectionSpan): remove
2133         (changeDepth, changeDepthAllowed): adjust
2134
2135 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
2136
2137         * Makefile.am (BOOST_LIBS): use boost variables
2138
2139 2004-12-03  José Matos  <jamatos@lyx.org>
2140
2141         * buffer.C: format up to 238.
2142
2143 2004-12-03  José Matos  <jamatos@lyx.org>
2144
2145         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
2146
2147 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2148
2149         * cursor.C (goUpDown): remove call to idxUpDown2
2150
2151 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2152
2153         * tabular.[Ch]: use size_t-like types for cell, row and column
2154         indices
2155
2156 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2157
2158         * lyxfunc.C (getStatus): do not lose previous information when
2159         calling BufferView::getStatus; do not set a default "Command
2160         disabled" message at the beginning, but just before returning.
2161
2162 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2163
2164         * cursor.h (getStatus): add better comment from src/cursor.C
2165
2166 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2167
2168         * text3.C (getStatus): return false when the lfun is not handled
2169
2170 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * broken_headers.h: remove
2173
2174         * Makefile.am (lyx_SOURCES): remove broken_headers.h
2175
2176 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2177
2178         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2179         offset_ref accessors
2180
2181         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2182         top_y_, merge fitcursor with update
2183         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2184         coord scheme
2185         (metrics): introduce
2186         (workAreaDispatch): adapt to new coord scheme
2187         (redoCurrentBuffer): remove
2188
2189         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2190
2191         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2192         CurStatus enum.
2193
2194         * coordcache.[Ch]: add paragraph cache and helpers
2195
2196         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2197         adjust everywhere
2198
2199         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2200         (targetX, setTargetX): introduce
2201
2202         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2203         baseline -> ascent, as the rest of lyx
2204
2205         * lyxtext.h: remove redoParagraphs, updateParPositions,
2206         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2207         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2208         have ascent/descent (ascent is ascent of first par)
2209
2210         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2211         step of BufferView
2212
2213         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2214
2215         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2216
2217         * pariterator.C: fix infinite loop introduced in par->pit renaming
2218
2219         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2220         in insets and LyXText, draw two off-screen paragraphs using
2221         NullPainter, and adapt to new coord scheme
2222
2223         * text.C:
2224         * text2.C:
2225         * text3.C: adapt lfun handlers to the new coord scheme, which
2226         means: there's only guaranteed coord information for onscreen pars
2227         plus one above and one below. This implies that one can do search
2228         from y coordinates in the range [-1,workHeight]
2229
2230 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2231
2232         * rename a lot of InsetOld to InsetBase
2233
2234 2004-11-25  Angus Leeming  <leeming@lyx.org>
2235
2236         * BufferView_pimpl.C:
2237         * lyx_cb.C:
2238         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2239
2240 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2243         call BufferView::getStatus if LCursor::getStatus did nothing
2244         (setStatusMessage, getStatusMessage): removed.
2245
2246         * FuncStatus.C (message): new methods. Used to provide an error
2247         message indicating why a command is disabled.
2248         (clear, |=, FuncStatus): update for message.
2249
2250 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2251
2252         * lyxfunc.C (dispatch): always call sendDispatchMessage
2253
2254 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2255
2256         * BufferView.C:
2257         * BufferView_pimpl.C:
2258         * CutAndPaste.C:
2259         * FontIterator.C:
2260         * buffer.C:
2261         * cursor.C:
2262         * cursor_slice.[Ch]:
2263         * dociterator.[Ch]:
2264         * lyxfind.C:
2265         * paragraph_funcs.C:
2266         * pariterator.C:
2267         * rowpainter.C:
2268         * text.C:
2269         * text2.C:
2270         * text3.C:
2271         * undo.C: par->pit renaming
2272
2273 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2274
2275         * tabular.C (cellstruct): use initialization, store a shared_ptr
2276         to insettext instead of the insettext directly, adjust to fit.
2277         (operator=):  new function
2278         (swap): new function
2279         (rowstruct): use initialization
2280         (columnstruct): use initialization
2281         (ltType): use initialization
2282
2283
2284         * lyxlength.h (swap): new function
2285
2286         * LColor.[Ch] (operator=): use the common semantics
2287
2288 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2289
2290         * lyxfind.C (findNextChange): update the bufferview after setting
2291         the selection.
2292
2293 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2294
2295         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2296         number of InsetOptArgs has already been inserted.
2297
2298         * output_latex.C (latexOptArgInsets): new method. This outputs all
2299         the optarg insets, up to the limit defined in the layout file.
2300         (optArgInset): removed
2301         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2302
2303 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2304
2305         * paragraph.C (isLetter): remove special spellchecker-related
2306         code; return true also for digits
2307         (isWord, isKomma): remove
2308
2309         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2310         * lyxfind.C (MatchString()): use isLetter instead of isWord
2311
2312 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2313
2314         * pariterator.h (operatir=): comment out un-implemented member
2315         function.
2316
2317         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2318         static cast.
2319
2320 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2321
2322         * lyxfont.h: include LColor.h to satisfy concept checks.
2323
2324 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * pariterator.h: add typdefs for value_type, difference_type,
2327         pointer and reference to satisfy concept checks. Also add default
2328         constructor for same reason.
2329
2330         * pariterator.C (operator++): add post-increment operator to
2331         satisfy concept checks.
2332
2333         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2334         checks.
2335
2336         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2337
2338         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2339         checks. Also rename base_type to BaseType to follow naming
2340         standard better.
2341
2342         * FloatList.h: include Floating.h to satisfy concept checks.
2343
2344 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2345
2346         * lyxfunc.C (getStatus): when the origin of the request is menu or
2347         toolbar, and the LyXView does not have focus, do as if there was
2348         no buffer (bug 1720)
2349
2350         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2351         FuncRequest to individual entries of LFUN_SEQUENCE
2352
2353 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * output_latex.C (TeXOnePar): override runparams.moving_arg
2356         according to the needprotect value of the current paragraph (bug
2357         1739)
2358
2359         * paragraph.C (simpleTeXOnePar): no need to override
2360         runparams.moving_args here
2361
2362 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2363
2364         * vspace.C: fix off-by-one-error, related to fix #1682
2365
2366 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2367
2368         * lengthcommon.C: a more general fix for bug 1682
2369
2370 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2371
2372         * text.C (backspace): fix crash
2373
2374 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2375
2376         * format.[Ch] (getFormatFromFile): new method
2377         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2378
2379 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2380
2381         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2382
2383 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * lyxfunc.C (dispatch): remove the verbose argument
2386         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2387         instead
2388
2389         * kbmap.C (defkey): set the origin of func to KEYBOARD
2390
2391         * MenuBackend.C (MenuItem):
2392         * ToolbarBackend.C (add): set the origin of func to UI
2393
2394         * funcrequest.[Ch]: add origin member, which indicates which part
2395         of LyX requests an action
2396
2397 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2398
2399         * converter.C (move): don't lie in the error message
2400         * converter.h (isReachable, move): document
2401
2402 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2403
2404         * buffer.C: remove unused using lyx::support::atoi
2405         * paragraph_funcs.C: ditto
2406
2407 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * bufferlist.C (exists): use bind and equal_to instead of
2410         compare_memfun
2411         (getBuffer): ditto
2412         * lyxtextclasslist.C (NumberOfClass): ditto
2413
2414         * cursor.C (insert): use for_each instead of explicit for loop
2415
2416         * bufferlist.C (getFileNames): use std::transform and
2417         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2418
2419         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2420         for loop
2421
2422         * buffer.C (changeLanguage): use for_each instead of explicit for
2423         loop
2424         (hasParWithID): implement using getParFromID
2425
2426         * LaTeXFeatures.C: ws change only
2427
2428         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2429         to cleanup a bit.
2430
2431         * BufferView_pimpl.C (trackChanges): use for_each instead of
2432         expilicit for loop
2433
2434 2004-11-04  André Pönitz  <poenitz@gmx.net>
2435
2436         * undo.h:
2437         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2438
2439         * dociterator.C (asDocIterator): use hard assert again.
2440
2441 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2442
2443         * lyxlength.C (asLatexString): rewrite so that it does not use
2444         snprintf anymore
2445
2446 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2447
2448         * text3.C (specialChar, dispatch): make sure cursor moves to the
2449         right after inserting an inset
2450
2451 2004-11-02  José Matos  <jamatos@lyx.org>
2452
2453         * output_docbook.C (docbook):
2454         * paragraph.C (getID):
2455         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2456         garantee that the output is always legal.
2457
2458         * tabular.C (docbook):
2459         * outputprams.[Ch]: remove mixed contents.
2460
2461 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2462
2463         * text2.C (setCounter): prevent endless loop
2464
2465 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2466
2467         * exporter.C (copyFile): use the mover instead of support::copy()
2468         * exporter.C (Export): pass format and latex name to copyFile()
2469         * exporter.h (addExternalFile): document
2470         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2471
2472 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2473
2474         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2475
2476 2004-10-30  José Matos  <jamatos@lyx.org>
2477
2478         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2479         text and no inset or font change. This allows to use CDATA
2480         sections just for the whole paragraph.
2481
2482 2004-10-30  José Matos  <jamatos@lyx.org>
2483
2484         * paragraph.C (getFirstWord): remove unused variable.
2485
2486 2004-10-30  José Matos  <jamatos@lyx.org>
2487
2488         * paragraph.C (getFirstWord): the content should always be escaped
2489         there.
2490         (simpleDocBookOnePar):
2491         * output_docbook.C (makeEnvironment): replace reference to CDATA
2492         to style pass_thru.
2493
2494 2004-10-30  José Matos  <jamatos@lyx.org>
2495
2496         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2497
2498 2004-10-30  José Matos  <jamatos@lyx.org>
2499
2500         * output_docbook.C (makeParagraphs):
2501         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2502         standard paragraph has only a given type of content drop the wrapper.
2503
2504 2004-10-29  José Matos  <jamatos@lyx.org>
2505
2506         * output_docbook.C (makeEnvironment):
2507         * sgml.C (openTag):
2508         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2509
2510 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2511
2512         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2513         (cleanID): sanitize any id.
2514
2515 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2516
2517         * buffer.C, lyxlex_pimpl.C:
2518         * lyxlex_pimpl.C (setFile):
2519         s/getExtFromContents/getFormatFromContents/
2520
2521 2004-10-28  José Matos  <jamatos@lyx.org>
2522
2523         * output_docbook.C (makeEnvironment): move id to broadest possible
2524         scope.
2525
2526         * sgml.C (openTag): apply substitution of <> for all attributes.
2527
2528 2004-10-28  José Matos  <jamatos@lyx.org>
2529
2530         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2531         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2532         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2533
2534         * sgml.[Ch]: new version for open and closeTag for paragraph and
2535         for strings. Now they handle the ids of paragraphs.
2536
2537 2004-10-26  Angus Leeming  <leeming@lyx.org>
2538
2539         * Makefile.am: add mover.[Ch].
2540
2541         * converter.C (convert, move): use the new Movers to move external
2542         files to the temp directory.
2543
2544         * lyx_main.C (init): ensure that the global system_movers data
2545         is initialised.
2546
2547         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2548         preferences file.
2549
2550         * mover.[Ch]: new files, defining a Mover as a utility to move an
2551         external file between directories and, if necessary, manipulate this
2552         file using a helper script.
2553
2554 2004-10-25  José Matos  <jamatos@lyx.org>
2555
2556         * output_docbook.C (makeCommand): merge two if's that tested the
2557         same condition.
2558
2559 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2560
2561         * sgml.C (escapeString): fix warning in a better way
2562
2563 2004-10-25  José Matos  <jamatos@lyx.org>
2564
2565         * sgml.C (escapeString): import the require boosts header file for
2566         tie, and avoid a signed unsigned comparison.
2567
2568 2004-10-25  José Matos  <jamatos@lyx.org>
2569
2570         * sgml.h: add #include <string>
2571
2572 2004-10-25  José Matos  <jamatos@lyx.org>
2573
2574         * sgml.[Ch] (escapeString): new function to escape all the string.
2575
2576 2004-10-24  José Matos  <jamatos@lyx.org>
2577
2578         * paragraph.[Ch] (getFirstWord): new function to get the first
2579         word. Useful for description.
2580         (simpleDocBookOnePar): remove depth argument, add another that
2581         says where to start the paragraph.
2582
2583         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2584         use the new functions to fix cleanly the support for descriptions.
2585
2586 2004-10-24  José Matos  <jamatos@lyx.org>
2587
2588         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2589         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2590         * output_linuxdoc.C (linuxdocParagraphs):
2591         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2592         add buffer as argument.
2593
2594 2004-10-24  José Matos  <jamatos@lyx.org>
2595
2596         * output_docbook.C (makeEnvironment, searchEnvironment): place
2597         CDATA inside paragraphs and fix scope for listitems.
2598
2599 2004-10-24  José Matos  <jamatos@lyx.org>
2600
2601         * output_docbook.C: remove using statement for stack.
2602
2603 2004-10-23  José Matos  <jamatos@lyx.org>
2604
2605         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2606         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2607         docbook. The new scheme is recursive and makes use of iterators, the
2608         same as latex export works.
2609         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2610         directly with the paragraph contents. This code was moved up to
2611         output_docbook.C (docbookParagraphs).
2612         * sgml.C (openTag, closeTag): removed unneeded newlines.
2613         (closeEnvTags) removed.
2614
2615 2004-10-23  André Pönitz  <poenitz@gmx.net>
2616
2617         * undo.C (textUndoOrRedo):
2618         * dociterator.C (asDocIterator): work around crash
2619
2620         * cursor.C (getStatus): replace ASSERT by more verbose error message
2621           and manual correction of the problem. Should increase stability
2622           while providing more sensible information.
2623
2624 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2625
2626         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2627
2628         * bufferlist.C (previous, next): new methods
2629
2630         * lfuns.h:
2631         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2632
2633 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2634
2635         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2636         entities to preamble.
2637
2638 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2639
2640         * messages.C (Pimpl): strip off translation context information
2641
2642 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2643
2644         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2645         the cursor is correct (bug 1694)
2646
2647 2004-10-13  José Matos  <jamatos@lyx.org>
2648
2649         * output_docbook.C (docbookParagraphs): fix closing tags in the
2650         end of the document.
2651
2652 2004-10-09  José Matos  <jamatos@lyx.org>
2653
2654         * buffer.C: format up to 237.
2655         * bufferparams.C (write): use tostr to convert booleans to strings.
2656
2657 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2658
2659         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2660
2661 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2662
2663         * LaTeX.C: implement use of babel language in xindy.
2664
2665 2004-10-05  José Matos  <jamatos@lyx.org>
2666
2667         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2668         Add new translators to help reading and writing the lyx file.
2669
2670 2004-10-05  José Matos  <jamatos@lyx.org>
2671
2672         * ParagraphParameters.C (read):
2673         * text.C (readParToken): replace nexToken by more appropriate lex
2674         methods.
2675
2676 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2677
2678         * LaTeX.C (runMakeIndex):
2679         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2680         (usually 'makeindex') configurable.
2681
2682         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2683         with a variable rather than with a number.
2684
2685 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2686
2687         * output_latex.C (TeXOnePar): make sure font setting is the first
2688         thing that gets output (and the last at the end). Should fix bug
2689         1404.
2690
2691 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2692
2693         * pch.h: use proper signal include
2694
2695         * LaTeX.h: Use preferred calling of Boost.Signal
2696         * buffer.h: ditto
2697
2698 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2699
2700         * pch.h: dont include <boost/function/function0.hpp>
2701
2702         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2703
2704         * paragraph_pimpl.h: remove usage of ShareContainer
2705
2706         * paragraph_pimpl.C: remove initialization of ShareContainer.
2707
2708 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2709
2710         Fix bug #1666
2711
2712         * BufferView.C (putSelectionAt): change the semantics when
2713         backwards == true: now, this just swaps cursor and anchor wrt the
2714         forward case
2715
2716         * BufferView.h (putSelectionAt): add some documentation
2717
2718         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2719         make sure backwardChar is done at least once (to avoid getting
2720         stuck)
2721         (findNextChange): use putSelectionAt in the forward direction
2722         (operator()): use Paragraph::isWord
2723
2724 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * Spacing.C (set): c_str fix
2727
2728 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2729
2730         * lyx_cb.C (Reconfigure): quote the name of configure script in
2731         case it contains spaces
2732
2733 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * client: new dir
2736
2737         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2738         (BOOST_LIBS): use top_buildir when looking for the file
2739
2740 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2741
2742         * pch.h: do not use include boost/format.hpp, multiple symbols
2743                 will result (gcc bug)
2744
2745
2746 2004-08-23  José Matos  <jamatos@lyx.org>
2747
2748         * bufferparams.C (readToken): fix reading of the author field.
2749
2750 2004-08-20  José Matos  <jamatos@lyx.org>
2751
2752         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2753
2754 2004-08-20  José Matos  <jamatos@lyx.org>
2755
2756         * lyxlex.[Ch] (findToken): remove function.
2757
2758         * ParagraphParameters.C (findToken):
2759         * bufferparams.C (findToken): replace call for previous function
2760         with local copy. This local function has one more argument, the
2761         read string argument.
2762
2763 2004-08-16  José Matos  <jamatos@lyx.org>
2764
2765         * ParagraphParameters.C (write):
2766         * Spacing.C (writeFile):
2767         * bufferparams.C (writeLaTeX):
2768         * lyx_cb.C (Reconfigure):
2769         * paragraph.C (write):
2770         * tabular.C (write): remove unnecessary space at end of line.
2771
2772
2773 2004-08-16  José Matos  <jamatos@lyx.org>
2774
2775         * text.C (readParagraph): remove debug message.
2776
2777 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2778
2779         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2780         crash
2781
2782         * output_plaintext.C (asciiParagraph): set depth correctly
2783
2784         * outputparams.h: add member depth
2785
2786         * paragraph_funcs.C (ownerPar): remove.
2787
2788         * text2.C (setCounter): remove first_pit; comment out some
2789         non-working code that uses ownerPar
2790
2791         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2792         uses ownerPar
2793
2794 2004-08-16  José Matos  <jamatos@lyx.org>
2795
2796         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2797         For the same level of importance use the same chanel to report problems.
2798         (read): add code to deal with \begin_body and \end_body.
2799
2800
2801 2004-08-15  José Matos  <jamatos@lyx.org>
2802
2803         * lyxlex.C (getString): fix comment, buffer::readBody is now
2804         buffer:readDocument.
2805
2806         * tex-strings.C (string_papersize): Default -> default,
2807         Custom -> custom, for consistency with other options.
2808
2809 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * pch.h: new file
2812
2813         * Makefile.am: support pch
2814
2815 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2816
2817         * text.C (readParToken): remove the static LyXFont variable and
2818         pass it as a parameter instead. This fixes a nasty bug where an
2819         inset will be inserted with a bad font in some situations
2820         (readParagraph): adapt
2821
2822         * text2.C (setCounter): reduce number of calls to pars_[pit]
2823
2824         * text.C (singleWidth): add an assert, fix a test
2825
2826         * rowpainter.C (paintText): reduce number of calls to singleWidth
2827
2828         * paragraph.C (isHfill):
2829         (isNewline): ws only
2830
2831 2004-08-14  André Pönitz  <poenitz@gmx.net>
2832
2833         * text.C:
2834         * text2.C:
2835         * rowpainter.C:
2836         * lyxtext.h (several functions): use a Paragraph & argument
2837         instead of par_type
2838
2839 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2840
2841         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2842
2843         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2844
2845         * text.C (singleWidth): remove useless test
2846
2847 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2848
2849         * tabular.h: remove bogus comments
2850
2851         * tabular.C (getDescentOfRow):
2852         (isPartOfMultiColumn): add assertions
2853
2854         * lyxlength.C (inPixels): remove #warning
2855
2856 2004-08-14  André Pönitz  <poenitz@gmx.net>
2857
2858         * paragraph.h: inline getChar()
2859
2860         * BufferView.h: remove unused declarations
2861
2862 2004-08-14  José Matos  <jamatos@lyx.org>
2863
2864         * Buffer.[Ch] (readDocument): new name for old readBody.
2865         * Buffer.C: new file format, new keywords: \begin_document,
2866         \begin_header, \begin_body, \end_body.
2867
2868         * bufferparams.C (readToken): replace all calls to lex.nextToken
2869         by lex.next(). Do the same to eatLine except where really needed.
2870
2871         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2872         line when writing to the lyx file.
2873
2874         * output_plaintext.C (asciiParagraph): fix Bibliography style
2875         handling.
2876
2877         * text.C (read): fix end of file handling.
2878
2879 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2880
2881         * MenuBackend.C (Menu::operator[]): new method to access
2882         individual menu items
2883         (Menu::hasFunc): new method. search for an item that corresponds
2884         to a given func
2885         (MenuBackend::specialMenu): new method
2886         (MenuBackend::expand): if a special menu has been set, skip
2887         entries whose func() appears in this menu
2888
2889 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2890
2891         * text3.C: use Debug::DEBUG a bit more
2892
2893         * text.C (leftMargin): try to simplify a tiny bit change var x to
2894         l_margin. Dont output the wide margins always.
2895         (rightMargin): no margin in inner texts
2896
2897         * rowpainter.h (nestMargin): new func
2898         (changebarMargin): new func
2899         (rightMargin): new func
2900
2901         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2902         now functions.
2903         (paintLast): ditto
2904
2905         * factory.C (createInset): modify setDrawFrame
2906
2907         * cursor.C: use Debug::DEBUG a bit more
2908
2909 2004-08-14  André Pönitz  <poenitz@gmx.net>
2910
2911         * coordcache.[Ch]:
2912         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2913         cache for all insets in (at least partially) visible (top-level)
2914         paragraphs.
2915
2916         * BufferView_pimpl.C: reset external coord cache before every update.
2917         This means the coord cache only contains valid entries.
2918
2919 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2920
2921         bug 1096
2922         * BufferView_pimpl.C (getInsetByCode): move function out of class
2923         and change in to a template in anon namespace. Also fix to do what
2924         suits us better.
2925
2926 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2927
2928         bug 1305
2929         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2930         of char
2931         (breakParagraph): rename par to par_offset and use a local
2932         reference. Add code to keep the language over a rebreak.
2933         (breakParagraphConservative): rename par to par_offset, use a
2934         local reference
2935         (mergeParagraph): ditto
2936         (outerHook): ditto
2937         (isFirstInSequence): ditto
2938         (outerFont): rename pit to par_offset
2939
2940         * paragraph.C: ws change
2941         * paragraph.h: ditto
2942         * text3.C: ditto
2943         * text.C: ditto
2944
2945 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2946
2947         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2948         treatment for ']'
2949
2950         * paragraph.C (simpleTeXOnePar): when we have a \item with
2951         optional argument, enclose the argument with curly brackets (in
2952         case it contains a closing square bracket)
2953
2954         * text2.C (editXY):
2955         * text2.C (editXY):
2956         * text3.C (checkInsetHit): constify
2957
2958 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2959
2960         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2961         documents (bug 1629)
2962
2963 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2964
2965         Fix toggling of collapsable insets with the mouse (bug 1558)
2966
2967         * lyxfunc.C (dispatch): adapt to LCursor changes
2968
2969         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2970         make sure that dispatch is not invoked twice
2971
2972         * cursor.C (needsUpdate): new method
2973         (dispatch): return void
2974         (result): new method, to access the DispatchResult of the cursor.
2975
2976 2004-08-13  José Matos  <jamatos@lyx.org>
2977
2978         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2979
2980 2004-08-13  André Pönitz  <poenitz@gmx.net>
2981
2982         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2983
2984         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2985           multiple cells
2986
2987 2004-08-12  André Pönitz  <poenitz@gmx.net>
2988
2989         * text3.C: take out the 'cursor right' form insertInset and only
2990         do it in those places when it is really needed. Fixes crash on
2991         C-m...
2992
2993 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2994
2995         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2996
2997         * BufferView_pimpl.C (setBuffer): initialize the current font of
2998         the underlying LyXText
2999
3000 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3001
3002         * kbsequence.C (print): use UI native formatting for menu
3003         shortcuts
3004
3005         * text.C (insertChar): call Paragraph::insertChar with a font
3006         argument (cosmetic)
3007
3008         * paragraph.C (insertInset, insertChar): the version that takes a
3009         LyXFont argument is now a wrapper around the other one (the
3010         opposite used to be true).
3011
3012         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
3013         argument. Font setting is done in Paragraph now.
3014
3015 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3016
3017         * outputparams.h: add new members intitle and lang.
3018
3019         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
3020         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
3021
3022 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * text3.C (dispatch): remove special handling of button 4 and 5,
3025         it is now taken care of in the frontend code.
3026
3027 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3028
3029         * Spacing.h: add <string> (STLPort compile fix)
3030
3031 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3032
3033         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
3034
3035 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3036
3037         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
3038         to bool.
3039
3040         * converter.C (showMessage): inherit from unary_function, make
3041         operator() const.
3042
3043         * buffer.C (writeFile): initialize retval
3044
3045         * InsetList.h: rename private variable list to list_
3046         * InsetList.[Ch]: adjust accordingly.
3047
3048 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3049
3050         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
3051         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
3052         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
3053         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
3054         * ParagraphParameters.C, LaTeXFeatures.C: replace
3055         "support/std_sstream.h" with <sstream>
3056
3057 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
3060         * lyxsocket.C (LyXServerSocket): ditto
3061         (serverCallback): ditto
3062
3063 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3064
3065         * LaTeXFeatures.C: check release date when loading jurabib.
3066
3067 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3068
3069         * lyxserver.C (startPipe): call register_socket_callback
3070         (endPipe): call unregister_socket_callback
3071
3072 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3073
3074         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
3075         (LyXServerSocket): register the callback
3076         (LyXServerSocket): unregister the callback
3077         (fd): delete function
3078         (serverCallback): improve error checking and setup the callbacks.
3079         (dataCallback): change arg to fd.
3080         (writeln): new func (copied fro the client socket) used for server
3081         write to client.
3082         (LyXDataSocket): simplify
3083         (~LyXDataSocket): close ann unregiser callback
3084         (server): delete function
3085         (fd): delete function
3086         (readln): small changes, improve some std::string usage
3087         (writeln): constify a bit
3088
3089 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3090
3091         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
3092         Qt frontend
3093
3094 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3095
3096         * BufferView_pimpl.C (setBuffer): set the layout combox value only
3097         after it has been populated
3098
3099 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3100
3101         * text2.C (insertInset): move cursor when inserting inset.
3102
3103 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3104
3105         * kbmap.C (findbindings): a couple of new methods. returns a
3106         container of kb_sequence objects. The real work is done by the
3107         private recursive version
3108         (printbindings): uses findbindings to print out a bracketed list
3109         of bindings (renamed from findbinding).
3110
3111         * MenuBackend.C (binding): use kb_keymap::findbindings
3112
3113         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
3114
3115 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3116
3117         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
3118
3119 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3120
3121         * paragraph.C (isWord): return true on insets that report
3122         isLetter().
3123
3124         * text.C (getWord): use Paragraph::isWord to decide what is in a
3125         word and what is not; fix bug 1609.
3126
3127 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3128
3129         * tex-strings.C: add "none" to string_paperpackages[], fixes
3130         off-by-one-error in the paperpackage selection.
3131
3132         * lyxlex.[Ch]:
3133         * tex-strings.[Ch]: char const * string[n]
3134         -> char const * const string[]
3135
3136 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
3139         command, return early.
3140
3141 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * debug.h: add DEBUG to enum and fix size of ANY.
3144
3145         * debug.C: add support for Debug::DEBUG
3146         (showTags): cast errorTags.level to unsigned int
3147
3148         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
3149         (redoCurrentBuffer): ditto
3150         (updateScrollbar): ditto
3151         * cursor.C (dispatch): ditto
3152         * text2.C (setLayout): ditto
3153         (setFont): ditto
3154         (updateCounters): ditto
3155         (editXY): ditto
3156         (deleteEmptyParagraphMechanism): ditto
3157
3158 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3159
3160         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
3161         annotations to cleanup the Makefile slightly.
3162
3163 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3164
3165         * lyxrc.C: do not set user_email to a default value but use empty
3166         instead. The entry used to be translated, which does not work
3167         since at the point where lyxrc is constructed there is no
3168         translation service available
3169
3170         * messages.C (getLocaleDir): remove and use directly
3171         lyx_localedir() instead
3172
3173 2004-06-02  Angus Leeming  <leeming@lyx.org>
3174
3175         Fix crash caused by dereferencing null pointer 'exportdata' in
3176         OutputParams by creating a new ExportData variable on the heap,
3177         storing it in a boost::shared_ptr.
3178         The crash was triggered when generating an Instant Preview
3179         of an external inset.
3180
3181         * Makefile.am: add outputparams.C
3182
3183         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3184         (c-tor): allocate memory to it.
3185
3186         * exporter.C (c-tor): associated changes.
3187
3188 2004-06-01  Angus Leeming  <leeming@lyx.org>
3189
3190         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3191         contains data before calling isInset(0). (Bug 1513.)
3192
3193 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3194
3195         * exporter.C (checkOverwrite): new method
3196         * exporter.C (copyFile): new method
3197         * exporter.C (Export): copy referenced files to the document dir
3198         * exporter.[Ch]: new class ExportedFile
3199         * exporter.[Ch]: new class ExportData. Contains currently the
3200         names of referenced external files
3201         * outputparams.h: add exportdata member.
3202
3203 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3206         version.C-tmp
3207
3208 2004-05-19  Angus Leeming  <leeming@lyx.org>
3209
3210         * LaTeXFeatures.C:
3211         * ToolbarBackend.C:
3212         * bufferparams.C:
3213         * lyxfunc.C: small changes due to the introduction of namespace
3214         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3215
3216 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3217
3218         * text3.C (dispatch): supress update when only moving the cursor
3219         * cursor.C (selHandle): remove commented code
3220
3221 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3222
3223         * paragraph.C (startTeXParParams): correct column count
3224         * CutAndPaste.C (pasteSelection): remove const_cast
3225         * output_docbook.C (docbookParagraphs): remove const_cast
3226         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3227         const_cast and return ParagraphList::const_iterator
3228         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3229         * output_plaintext.C (writeFileAscii): remove const_cast
3230         * paragraph.[Ch] (simpleTeXOnePar): make const
3231         * paragraph_funcs.C (outerPar): use const iterators
3232         * paragraph_pimpl.C (validate): use const iterators
3233         * text.C (setHeightOfRow): use const iterators
3234
3235 2004-05-17  Angus Leeming  <leeming@lyx.org>
3236
3237         * lfuns.h:
3238         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3239
3240         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3241         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3242         if the citation engine has changed.
3243
3244 2004-05-14  José Matos  <jamatos@lyx.org>
3245
3246         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3247         if the textclass does not provide it. Have it different for sgml and
3248         xml.
3249         support the language of document.
3250         * output_docbook.C (docbookParagraphs):
3251         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3252         first anchor as the id of the paragraph, remove special case code.
3253         * sgml.C (escapeChar): escape only < & >.
3254
3255 2004-05-14  Angus Leeming  <leeming@lyx.org>
3256
3257         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3258         dependencies on src/frontends/controllers/biblio.h. Define a
3259         CiteEngine_enum wrapper class to enable the enum to be forward
3260         declared.
3261
3262 2004-05-12  Angus Leeming  <leeming@lyx.org>
3263
3264         * buffer.C: up LYX_FORMAT to 234.
3265         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3266         use_numerical_citations with a single biblio::CiteEngine cite_engine
3267         variable.
3268         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3269
3270 2004-05-13  José Matos  <jamatos@lyx.org>
3271
3272         * converter.h:
3273         * converter.C (Converter, readFlags): add xml member.
3274         * outputparams.h: add XML flavor.
3275         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3276
3277 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3278
3279         * lyxfunc.C (dispatch):
3280         (getStatus): fix handling of LFUN_SEQUENCE
3281
3282 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3283
3284         * debug.C (showLevel): do not forget the end-of-line marker
3285
3286 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3287
3288         * kbmap.C (read): do not stop parsing a bind file when an error
3289         occurs (bug 1575)
3290
3291 2004-04-29  Angus Leeming  <leeming@lyx.org>
3292
3293         * cursor.C:
3294         * factory.C:
3295         * pariterator.C:
3296         * text2.C: wrap a bunch of #warning statements
3297         inside #ifdef WITH_WARNINGS blocks.
3298
3299 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3300
3301         * buffer.C: increment format to 233.
3302
3303 2004-04-28  Angus Leeming  <leeming@lyx.org>
3304
3305         * BufferView_pimpl.C:
3306         * lyxfunc.C:
3307         * text3.C:
3308         s/updateToolbar()/updateToolbars()/
3309         s/Toolbar.h/Toolbars.h/
3310
3311 2004-04-28  Angus Leeming  <leeming@lyx.org>
3312
3313         * BufferView.[Ch] (c-tor):
3314         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3315         No longer passes these data to the WorkArea generator.
3316
3317 2004-04-28  Angus Leeming  <leeming@lyx.org>
3318
3319         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3320
3321 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3322
3323         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3324
3325 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3326
3327         * output_latex.C (TeXEnvironment): make sure that there is a line
3328         break before \end{foo} for the last paragraph of a document
3329         (TeXOnePar): if the paragraph is at the end of the document (or
3330         inset) and the language has to be reset, then make sure that the
3331         line break is _before_ the language command, not after (fixes bug
3332         1225); also make sure that the language reset command is the first
3333         thing after the paragraph (to ensure proper nesting of
3334         environments and thus fix bug 1404)
3335
3336 2004-04-21  John Levon  <levon@movementarian.org>
3337
3338         * ToolbarBackend.h:
3339         * ToolbarBackend.C: make "name" be a programmatic name
3340         and a gui_name field.
3341
3342         * lyxfunc.C: display the minibuffer on M-x
3343
3344 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3345
3346         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3347         (bug 1526)
3348
3349 2004-04-19  Angus Leeming  <leeming@lyx.org>
3350
3351         * BufferView_pimpl.C (setBuffer): changed preview interface.
3352
3353         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3354         possible values.
3355
3356 2004-04-19  John Levon  <levon@movementarian.org>
3357
3358         * BufferView_pimpl.C:
3359         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3360
3361 2004-04-05  Angus Leeming  <leeming@lyx.org>
3362
3363         * text.C (redoParagraphs): add call to updateCounters(), thereby
3364         fixing the missing "Figure #:" label from the caption of a
3365         figure float.
3366
3367 2004-04-13  Angus Leeming  <leeming@lyx.org>
3368
3369         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3370         cursor is clicked out of an inset.
3371
3372 2004-04-13  Angus Leeming  <leeming@lyx.org>
3373
3374         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3375         than an InsetOld one.
3376
3377 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3378
3379         * format.[Ch]: add editor to Format
3380         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3381         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3382
3383 2004-04-08  André Pönitz  <poenitz@gmx.net>
3384
3385         * metricsinfo.h: remove PainterInfo::width member
3386
3387 2004-04-08  Angus Leeming  <leeming@lyx.org>
3388
3389         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3390         "\providecommand" rather than "\newcommand", thereby preventing
3391         clashes with packages that define "\boldsymbol" themselves.
3392         Eg, beamer.
3393
3394 2004-04-08  Angus Leeming  <leeming@lyx.org>
3395
3396         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3397         thereby squashing an unnecessary warning.
3398
3399 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3400
3401         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3402         setBuffer()
3403
3404 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3405
3406         * BufferView.C (setCursor): call redoParagraph (some insets could
3407         have been opened)
3408         (putSelectionAt): remove the 'double update' trick
3409
3410         * BufferView_pimpl.C (fitCursor): call refreshPar
3411         (workAreaDispatch): remove an uneeded update call
3412         (dispatch): remove some manual update calls
3413
3414         * cursor.[Ch]: remove cached_y_, updatePos
3415         (selHandle): set noUpdate when appropriate
3416
3417         * lyxfunc.C (dispatch): track if we need an update
3418
3419         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3420
3421         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3422         (paintSelection): cheap optimization, do not call cursorX when not
3423         needed
3424         (paintPars): change signature
3425         (refreshPar): add
3426         (paintText): adjust
3427         (paintTextInset): adjust
3428
3429         * text.C: adjust
3430
3431 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3432
3433         * lengthcommon.C: compilation fix: remove explicit array size from
3434         unit_name[] and friends
3435
3436 2004-04-05  Angus Leeming  <leeming@lyx.org>
3437
3438         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3439
3440         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3441         present only for the preferences dialog.
3442         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3443
3444 2004-04-05  Angus Leeming  <leeming@lyx.org>
3445
3446         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3447         to enable the frontends to export changes to lyxrc correctly.
3448
3449         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3450
3451 2004-04-07  André Pönitz  <poenitz@gmx.net>
3452
3453         * cursor.[Ch] (selClear, adjust): remove math
3454
3455         * cursor_slice.C: more agressive assert
3456
3457         * lyxfunc.C:
3458         * BufferView_pimpl.C: rework mouse event dispatch
3459
3460         * dociterator.C:
3461         * paragraph.C:
3462         * text2.C:
3463         * text3.C: adjust
3464
3465 2004-04-05  André Pönitz  <poenitz@gmx.net>
3466
3467         * cursor.[Ch] (valign, halign...): remove unneeded functions
3468
3469 2004-04-05  Angus Leeming  <leeming@lyx.org>
3470
3471         * lyxlength.[Ch] (unit_name et al.): const-correct.
3472
3473 2004-04-05  Angus Leeming  <leeming@lyx.org>
3474
3475         * BufferView_pimpl.C:
3476         * buffer.C:
3477         * counters.C:
3478         * cursor.C:
3479         * lyxfunc.C
3480         * paragraph.C:
3481         * pariterator.C:
3482         * text.C:
3483         * text2.C:
3484         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3485
3486 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3487
3488         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3489
3490 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3491
3492         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3493         * BufferView_pimpl.[Ch] (getStatus)
3494         * BufferView.[Ch] (getStatus): add
3495         * lyxfunc.C (getStatus): move lfuns handled in
3496         BufferView::dispatch to te function above
3497         * Cursor.C (setSelection): set selection() = true
3498
3499 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3500
3501         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3502
3503 2004-03-31  Angus Leeming  <leeming@lyx.org>
3504
3505         * lyxfunc.C (dispatch): Fall through to the generic
3506         Dialogs::show("preamble").
3507
3508 2004-03-31  Angus Leeming  <leeming@lyx.org>
3509
3510         * lyxfunc.C (dispatch): Fall through to the generic
3511         Dialogs::show("spellchecker").
3512
3513 2004-03-31  Angus Leeming  <leeming@lyx.org>
3514
3515         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3516         preferences dialog.
3517
3518 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3519
3520         * BufferView.C
3521         * cursor.[Ch]
3522         * dociterator.[Ch]:
3523         * insetiterator.[Ch]:
3524         * lyxfind.C:
3525         * lyxfunc.C:
3526         * pariterator.[Ch]:
3527         * text2.C:
3528         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3529
3530 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3533         insets where we are putting the cursor.
3534
3535 2004-03-31  Angus Leeming  <leeming@lyx.org>
3536
3537         * lfuns.h:
3538         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3539
3540         * lyxrc.[Ch] (read, write): overloaded member functions taking
3541         a std::[io]stream arguments.
3542
3543         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3544
3545 2004-03-31  Angus Leeming  <leeming@lyx.org>
3546
3547         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3548         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3549
3550         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3551         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3552
3553 2004-03-31  Angus Leeming  <leeming@lyx.org>
3554
3555         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3556         the LFUN_ALL_INSETS_TOGGLE code.
3557
3558 2004-03-30  Angus Leeming  <leeming@lyx.org>
3559
3560         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3561         has died. Fall through to the generic Dialogs::show("document").
3562
3563 2004-03-30  Angus Leeming  <leeming@lyx.org>
3564
3565         * lfuns.h:
3566         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3567         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3568
3569         * lyxfunc.C (getStatus, dispatch): define the actions for these
3570         lfuns. Little more than a cut and pste job from ControlDocument.C
3571
3572         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3573
3574 2004-03-30  Angus Leeming  <leeming@lyx.org>
3575
3576         * lfuns.h:
3577         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3578         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3579
3580         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3581         open/closed state of ollapsable insets. Usage:
3582
3583         all-inset-toggle <state> <name>, where
3584         <state> == "open" || "closed" || "toggle" and
3585         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3586
3587         * lyxtext.h, text2.C (toggleInset): removed.
3588
3589         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3590         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3591         now passes LFUN_INSET_TOGGLE to the found inset.
3592
3593         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3594         is now invoked as "all-insets-toggle toggle branch".
3595
3596 2004-03-30  Angus Leeming  <leeming@lyx.org>
3597
3598         * dociterator.C:
3599         * insetiterator.C:
3600         * pariterator.[Ch]: added/corrected header blurb.
3601
3602 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3603
3604         * dociterator.[Ch]: add an inset_ member
3605         (backwardPos): implemented
3606         (backwardPos, forwardPos): use inset_ when the stack is empty.
3607         (doc_iterator_begin, doc_iterator_end): implemented
3608         * pariterator.[Ch]: adjust, add begin, end
3609         * insetiterator.[Ch]: adjust, add begin, end
3610         * cursor.C:
3611         * document.C:
3612         * BufferView.C:
3613         * BufferView_pimpl.C:
3614         * CutAndPaste.C: adjust
3615
3616 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3617
3618         * buffer.C: increment file format to 232.
3619         * LaTeXFeatures.C: add bibtopic package.
3620         * bufferparams.[Ch]: param \use_bibtopic.
3621
3622         * lyxrc.[Ch]: add lyxrc bibtex_command
3623         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3624
3625         * buffer.C: increment file format to 231.
3626
3627 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3628
3629         * dociterator.C: implement forwardPar
3630         * iterators.[Ch]: remove, replaced by
3631         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3632         * BufferView.C:
3633         * BufferView_pimpl.C:
3634         * CutAndPaste.C:
3635         * buffer.C:
3636         * bufferview_funcs.C:
3637         * cursor.C:
3638         * lyxfind.C
3639         * lyxfunc.C
3640         * paragraph_funcs.C
3641         * toc.C:
3642         * Makefile.am: adjust
3643
3644 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3645
3646         * CutAndPaste.C (pasteSelection): fix 2 crashes
3647         (eraseSelection): fix a crash
3648         * paragraph_funcs.C: remove a warning
3649
3650 2004-03-28  Angus Leeming  <leeming@lyx.org>
3651
3652         * lfuns.h:
3653         * LyXAction.C (init): new LFUN_PRINT.
3654
3655         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3656
3657 2004-03-27  Angus Leeming  <leeming@lyx.org>
3658
3659         * lfuns.h:
3660         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3661
3662         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3663
3664 2004-03-27  Angus Leeming  <leeming@lyx.org>
3665
3666         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3667         insetlist always contains non-null pointers to insets.
3668
3669 2004-03-26  Angus Leeming  <leeming@lyx.org>
3670
3671         * src/BufferView_pimpl.C:
3672         * src/CutAndPaste.C:
3673         * src/buffer.C:
3674         * src/iterators.C:
3675         * src/output_plaintext.C:
3676         * src/outputparams.h:
3677         * src/paragraph_funcs.C:
3678         * src/rowpainter.C:
3679         * src/text.C:
3680         * src/text2.C:
3681         * src/frontends/controllers/ControlErrorList.C:
3682         * src/frontends/gtk/FileDialogPrivate.C:
3683         * src/frontends/gtk/GPainter.C:
3684         * src/frontends/gtk/GToolbar.C:
3685         * src/frontends/qt2/QRef.C:
3686         * src/mathed/math_scriptinset.C: squash compiler warnings.
3687
3688 2004-03-26  Angus Leeming  <leeming@lyx.org>
3689
3690         * ispell.C (LaunchIspell::start):
3691         * lyx_cb.C (AutoSaveBuffer::start):
3692         invoke run(DontWait) rather than runNonBlocking().
3693
3694 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3695
3696         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3697
3698 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3699
3700         * kbsequence.C (print): adjust
3701
3702         * kbmap.C (printKeySym): rename and change signature
3703         (printKey): use LyXKeySym::print()
3704
3705 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3706
3707         * undo.C: add using std::advance to compile for stlport
3708
3709 2004-03-24  Angus Leeming  <leeming@lyx.org>
3710
3711         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3712         it leads to a crash when no buffer is present.
3713
3714 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3715             Martin Vermeer  <martin.vermeer@hut.fi>
3716
3717         * lyxfunc.C (dispatch):
3718         * bufferparams.C (readToken): use the new LColor::setColor
3719
3720         * LColor.[Ch] (setColor): new version that takes two strings as
3721         argument and creates a new color entry if necessary
3722
3723 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3724
3725         * buffer.C (makeLaTeXFile): if the main latex file that is
3726         processed is usually a subdocument of some master, then pretend
3727         for a while that it is actually the master
3728
3729 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3730
3731         * buffer.C (getLabelList):
3732         (getBibkeyList): use getMasterBuffer()
3733         (getMasterBuffer): new method. Returns the main document in the
3734         case where one is using included documents.
3735
3736 2004-03-25  André Pönitz  <poenitz@gmx.net>
3737
3738         * Makefile.am:
3739         * iterators.[Ch]:
3740         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3741
3742         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3743
3744         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3745         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3746
3747         * ParameterStruct.h: merge with ParagraphParameters
3748
3749         * lyxtext.h: remove LyXText::parOffset() and getPar()
3750
3751         * text3.C: Remove all 'manual' update calls. We do now one per user
3752         interaction which is completely sufficient.
3753
3754         * Bidi.C:
3755         * BufferView.[Ch]:
3756         * BufferView_pimpl.C:
3757         * FontIterator.[Ch]:
3758         * MenuBackend.C:
3759         * ParagraphParameters.[Ch]:
3760         * buffer.C:
3761         * buffer.h:
3762         * bufferlist.C:
3763         * cursor.[Ch]:
3764         * cursor_slice.[Ch]:
3765         * dociterator.[Ch]:
3766         * errorlist.[Ch]:
3767         * factory.C:
3768         * lfuns.h:
3769         * lyxfind.C:
3770         * lyxfunc.C:
3771         * output_docbook.[Ch]:
3772         * output_latex.[Ch]:
3773         * output_linuxdoc.[Ch]:
3774         * output_plaintext.[Ch]:
3775         * paragraph.[Ch]:
3776         * paragraph_funcs.[Ch]:
3777         * paragraph_pimpl.[Ch]:
3778         * rowpainter.C:
3779         * tabular.[Ch]:
3780         * text.C:
3781         * text2.C:
3782         * toc.C:
3783         * undo.[Ch]: adjust
3784
3785         * frontends/controllers/ControlDocument.C:
3786         * frontends/controllers/ControlErrorList.C:
3787         * frontends/controllers/ControlSpellchecker.C:
3788         * insets/inset.C:
3789         * insets/inset.h:
3790         * insets/insetbase.h:
3791         * insets/insetbibitem.C:
3792         * insets/insetbox.C:
3793         * insets/insetbranch.C:
3794         * insets/insetcaption.C:
3795         * insets/insetcharstyle.C:
3796         * insets/insetcharstyle.h:
3797         * insets/insetcollapsable.C:
3798         * insets/insetcollapsable.h:
3799         * insets/insetert.C:
3800         * insets/insetfloat.C:
3801         * insets/insetfoot.C:
3802         * insets/insetmarginal.C:
3803         * insets/insetnote.C:
3804         * insets/insetoptarg.C:
3805         * insets/insettabular.C:
3806         * insets/insettext.C:
3807         * insets/insettext.h:
3808         * insets/insetwrap.C:
3809         * mathed/math_mboxinset.C:
3810         * mathed/math_nestinset.C:
3811         * mathed/math_scriptinset.C:
3812         * mathed/math_scriptinset.h:
3813         * support/types.h:
3814
3815 2004-03-24  Angus Leeming  <leeming@lyx.org>
3816
3817         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3818         deal with any child processes that have finished but are waiting to
3819         communicate this fact to the rest of LyX.
3820
3821 2004-03-24  Angus Leeming  <leeming@lyx.org>
3822
3823         64-bit compile fixes.
3824
3825         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3826         (c-tor): pass lyx::pos_types rather than ints.
3827
3828         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3829         lyx::pos_type.
3830
3831         * text.C (Delete): compile fix.
3832         (getPar): ensure that function declaration is the same as that in
3833         the header file.
3834
3835 2004-03-23  Angus Leeming  <leeming@lyx.org>
3836
3837         * ispell.C (LaunchIspell):
3838         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3839         a boost::shred_ptr rather than a std::auto_ptr.
3840
3841 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3842
3843         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3844         handle LFUN_FILE_INSERT_*
3845
3846         * lyxrc.C (setDefaults, getDescription, output, read):
3847         * lyxrc.h: remove ps_command
3848
3849 2004-03-22  Angus Leeming  <leeming@lyx.org>
3850
3851         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3852         Ensure that error_handler is processed once only and that all data
3853         is saved before attempting to output any warning messages.
3854
3855         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3856
3857 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3858
3859         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3860
3861 2004-03-19  André Pönitz  <poenitz@gmx.net>
3862
3863         * cursor.[Ch] (reset): take main text inset as argument
3864
3865         * BufferView: adjust
3866         * BufferView_pimpl.C: adjust
3867
3868         * paragraph.[Ch]: fix completely broken operator=()
3869
3870 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3871
3872         * LColor.C (getFromLyXName): make sure that the color name is used
3873         as lowercase.
3874
3875 2004-03-17  Angus Leeming  <leeming@lyx.org>
3876
3877         * lfuns.h:
3878         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3879
3880         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3881         dialog and to kill a forked process.
3882
3883 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * text2.C (setCursorFromCoordinates): fix font problem
3886
3887 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3888
3889         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3890         bogus "rebuild cursor" code
3891
3892 2004-03-11  André Pönitz  <poenitz@gmx.net>
3893
3894         * buffer.[Ch]: use InsetText instead of LyXText as container for
3895         the main lyx text.
3896
3897         * dociterator.[Ch]: drop the BufferView * member which is not needed
3898         anymore after the change to buffer.C
3899
3900         * paragraph_funcs.C:
3901         * text.C:
3902         * text2.C:
3903         * BufferView.[Ch]:
3904         * BufferView_pimpl.[Ch]:
3905         * cursor.[Ch]:
3906         * cursor_slice.[Ch]: adjust
3907
3908         * text3.C: fix bug in mathDispatch
3909
3910 2004-03-08  André Pönitz  <poenitz@gmx.net>
3911
3912         * undo.[Ch]: use 'StableDocumentIterator' as base for
3913         the Undo struct.
3914
3915 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3916
3917         * LaTeXFeatures.C:
3918         * bufferparams.[Ch]: add jurabib support and param.
3919
3920         * LaTeX.C: add FIXME/comment.
3921
3922 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3923
3924         * buffer.C: increment file format to 230.
3925
3926 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3927
3928         * cursor.C (dispatch): avoid infinite loops
3929
3930 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3931
3932         * rowpainter.C (paintSelection): fix x coordinates
3933
3934 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3935
3936         * text.C (rowBreakPoint): fix breaking before displayed insets
3937
3938 2004-03-01  André Pönitz  <poenitz@gmx.net>
3939
3940         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3941
3942         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3943
3944         * Makefile.am:
3945         * BufferView.C:
3946         * BufferView_pimpl.C:
3947         * buffer.C:
3948         * lyxfind.C:
3949         * lyxfunc.C:
3950         * text.C:
3951         * text2.C:
3952         * text3.C: adjust
3953
3954 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3955
3956         * lyxtext.h:
3957         * text.C:
3958         * text2.C:
3959         * rowpainter.C:
3960         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3961         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3962
3963 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * Bidi.[Ch] (computeTables): const correctness
3966         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3967         fill_hfill, fill_label_hfill and x from Row
3968         * lyxtext.h: prepareToPrint returns a RowMetrics
3969         * rowPainter.C: adjust
3970         * text.C (prepareToPrint): use width, not textWidth. adjust
3971         (redoParagraphInternal, cursorX): adjust
3972         * text2.C (getColumnNearX): adjust
3973         (init): put a default value to the top LyXText::width
3974
3975 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3976
3977         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3978
3979 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3980
3981         * lyxtext.h: add FontIterator class
3982
3983         * text.C (FontIterator, operator*, operator->, operator++): add
3984         (rowBreakPoint, setRowWidth): adjust (fixing a
3985         rebreaking bug)
3986
3987 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3988
3989         * BufferView_pimpl.C (workAreaDispatch): allow also
3990         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3991
3992 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3993
3994         * text.C (rowBreakPoint): fix a bug showing with very large insets
3995
3996 2004-02-25  André Pönitz  <poenitz@gmx.net>
3997
3998         * text3.C:
3999         * cursor.[Ch]: move some mathed specific code to mathed
4000
4001 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4002
4003         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
4004         use_tempdir in preferences
4005         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
4006         tempfile creation
4007         * lyx_main.C: ensure that tempdir is valid
4008         * lyxlex.h: correct typo
4009         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
4010         * paragraph.[Ch] (isMultiLingual): make const
4011         * cursor.[Ch] (openable): make const
4012
4013 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4014
4015         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
4016
4017 2004-02-20  André Pönitz  <poenitz@gmx.net>
4018
4019         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
4020
4021         * cursor.[Ch]: prepare for localized getStatus()
4022
4023         * lyxtext.h:
4024         * tabular.C:
4025         * text.C:
4026         * text2.C:
4027         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
4028
4029 2004-02-20  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
4032
4033 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * text2.C (setCursorFromCoordinates): switch to absolute coords
4036         (cursorUp): adjust
4037         (cursorDown): adjust
4038         * text3.C (dispatch): adjust
4039
4040 2004-02-16  André Pönitz  <poenitz@gmx.net>
4041
4042         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
4043           insets/ChangeLog)
4044
4045         * cursor_slice.[Ch]: remove unneeded acessor function
4046
4047         * lyxtext.h: rename rtl() to isRTL()
4048
4049         * rowpainter.C:
4050         * tabular.C:
4051         * text.C:
4052         * text2.C:
4053         * text3.C: adjust
4054
4055 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
4056
4057         * rowpainter.C (paintSelection): coord fix
4058
4059 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
4060
4061         * Spacing.C: compile fix
4062
4063 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4064
4065         * cursor.C (dispatch): restore current_ before returning
4066
4067 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
4068
4069         * text2.C (cursorUp, cursorDown): fix coords
4070         (moveUp): fix crash
4071
4072 2004-02-12  André Pönitz  <poenitz@gmx.net>
4073
4074         * lyxtext.h:
4075         * text.C:
4076         * text2.C:
4077         * text3.C: add LCursor & parameter to most cursor movement functions
4078           remove usage of LyXText::cursorRow() and cursorPar()
4079
4080         * cursor.[Ch]: add textRow() needed members
4081
4082         * BufferView.C:
4083         * BufferView_pimpl.C:
4084         * paragraph.[Ch]:
4085         * BufferView.C:
4086         * BufferView_pimpl.C: adjust
4087
4088 2004-02-11  André Pönitz  <poenitz@gmx.net>
4089
4090         * lyxfunc.C:
4091         * BufferView.[Ch]:
4092         * BufferView_pimpl.C: shift undo/redo handling
4093
4094         * cursor.[Ch]: fix mathed crash
4095
4096         * lyxfind.C:
4097         * lyxtext.h: move selectionAsText to LCursor
4098
4099         * output_latex.C:
4100         * paragraph.C:
4101         * text.C:
4102         * text2.C:
4103         * text3.C: adjust
4104
4105         * rowpainter.C: fix excessive drawing
4106
4107 2004-02-06  André Pönitz  <poenitz@gmx.net>
4108
4109         * BufferView.[Ch]:
4110         * BufferView_pimpl.[Ch]:
4111         * text3.C: move some text specific LFUN handling
4112
4113 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
4114
4115         * text3.C (checkInsetHit): adjust coords
4116         * text2.C (getColumnNearX): adjust coords
4117         (edit): adjust coords
4118         * text.C (getRowNearY): add two asserts
4119
4120 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
4121
4122         * converter.C:
4123         * format.C: add using std::distance to compile on gcc 2.95/stlport
4124
4125 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
4126
4127         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
4128
4129 2004-02-04  André Pönitz  <poenitz@gmx.net>
4130
4131         * BufferView.[Ch] (insertInset):
4132         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
4133
4134         * text2.C:
4135         * text3.C: adjust
4136
4137 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4138
4139         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
4140         on the default clause of the switch
4141         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
4142         wasn't catched by LCursor::dispatch
4143
4144 2004-02-03  André Pönitz  <poenitz@gmx.net>
4145
4146         * BufferView.C:
4147         * cursor.[Ch]: some additional asserts
4148
4149         * undo.[Ch]: remove LyXText dependency in interface
4150
4151         * lyxfunc.C: adjust
4152
4153         * lyxtext.h (firstPar, lastPar): remove dead functions
4154
4155         * text.C:
4156         * text2.C:
4157         * text3.C:
4158         * paragraph.[Ch]: adjust
4159
4160 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
4161
4162         * lyxfind.C (find): fix argument order in call to ::find
4163
4164 2004-02-02  André Pönitz  <poenitz@gmx.net>
4165
4166         * cursor.[Ch]: remove direct access to anchor
4167
4168         * text.C: remove findText() hack
4169
4170 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * iterators.[Ch] (lockPath): remove in favour of...
4173         * BufferView.[Ch] (setCursor): this addition
4174         * BufferView.C (putSelectionAt): adjust
4175         * undo.C (performUndoOrRedo): adjust
4176         * lyxfunc.C (dispatch): adjust
4177
4178 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4179
4180         * iterators.C (lockPath): add a missing slice
4181         * undo.C (performUndoOrRedo): remove redundant positioning code
4182
4183 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * vc-backend.C (scanMaster): ";" -> ';'
4186
4187 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4188
4189         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4190         std::binary_function
4191
4192         * lyxtextclass.C (compare_name): rename to...
4193         (LayoutNamesEqual): ...this
4194
4195         * lyxlex_pimpl.C (compare_tags): inherit from
4196         std::binary_function, put back into anon namespace
4197
4198         * lyxfind.C (MatchString): inherig from std::binary_function
4199         (findChange): use empty() istead of !size()
4200
4201         * format.C (FormatNamesEqual): new functor
4202         (getFormat): use it
4203         (getNumber): use it
4204         (add): use it
4205         (erase): use it
4206         (setViewer): use it
4207
4208         * converter.C (compare_Converter): rename to...
4209         (ConverterEqual): ...this, and fixup a bit.
4210         (getConverter): use it, and make function const
4211         (getNumber): use it, and make function const
4212         (add): use it
4213         (erase): use it:
4214
4215         * bufferlist.C: add using boost::bind
4216
4217         * MenuBackend.C (MenuNamesEqual): new functor
4218         (hasMenu): use it, and make function const
4219         (hasSubmenu): use nested bind to get rid of compare_memfun.
4220
4221 2004-01-30  André Pönitz  <poenitz@gmx.net>
4222
4223         * BufferView_pimpl.C:
4224         * cursor.C:
4225         * cursor.h:
4226         * cursor_slice.[Ch]:
4227         * lyxfunc.C:
4228         * lyxtext.h:
4229         * paragraph_funcs.C:
4230         * paragraph_funcs.h:
4231         * rowpainter.C:
4232         * text.C:
4233         * text2.C:
4234         * text3.C: move some of the edit(x,y) handling to the insets
4235         some coordinate changes.
4236
4237 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * text.C: add using statements for std::advance and std::distance
4240
4241         * paragraph.C: add using statement for std::distance
4242
4243         * lyxfind.C: add using statement for std::advance
4244
4245         * cursor.C (region): remove std:: from swap
4246         (openable): use nucleus in stead of operator->
4247
4248         * BufferView.C: add using statements for std::distance and std::swap
4249
4250 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * iterators.C: Remove the pimple, move the needed structures to
4253         the header file. Create accessor for the positions stack.
4254         (asPosIterator): remove function
4255
4256         * PosIterator.C (PosIterator): move constructors to top of file
4257         (PosIterator): reimplement the constructor taking a ParIterator in
4258         terms of setFrom.
4259         (setFrom): new function
4260         (operator!=): inline it
4261
4262 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * lyxfind.C (replaceAll): use std::advance
4265
4266         * iterators.h: inherit from std::iterator.
4267
4268         * PosIterator.C (advance, distance): remove
4269         * PosIterator.h: interit from std::iterator.
4270
4271 2004-01-26  André Pönitz  <poenitz@gmx.net>
4272
4273         * BufferView.[Ch]:
4274         * BufferView_pimpl.[Ch]:
4275         * InsetList.[Ch]:
4276         * PosIterator.[Ch]:
4277         * buffer.h:
4278         * bufferview_funcs.C:
4279         * cursor.[Ch]:
4280         * cursor_slice.h:
4281         * factory.[Ch]:
4282         * iterators.[Ch]:
4283         * lyxfind.C:
4284         * lyxfunc.C:
4285         * lyxtext.h:
4286         * output_docbook.C:
4287         * output_latex.C:
4288         * output_linuxdoc.C:
4289         * output_plaintext.C:
4290         * paragraph.[Ch]:
4291         * paragraph_funcs.[Ch]:
4292         * paragraph_pimpl.[Ch]:
4293         * rowpainter.C:
4294         * tabular.C:
4295         * tabular.h:
4296         * text.C:
4297         * text2.C:
4298         * text3.C: more IU:  dumps most of the rest of the mathcursor
4299     implementation into cursor.[Ch]; "globalize" a bit of it.
4300
4301 2004-01-25  Angus Leeming  <leeming@lyx.org>
4302
4303         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4304
4305 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4306
4307         * LaTeXFeatures.h: add nice_ and nice() const
4308         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4309
4310 2004-01-20  André Pönitz  <poenitz@gmx.net>
4311
4312         * BufferView.[Ch]:
4313         * BufferView_pimpl.C:
4314         * PosIterator.C:
4315         * bufferview_funcs.C:
4316         * cursor.[Ch]:
4317         * cursor_slice.[Ch]:
4318         * factory.C:
4319         * iterators.C:
4320         * lyx_cb.C:
4321         * lyxfind.C:
4322         * lyxfunc.C:
4323         * lyxtext.h:
4324         * rowpainter.C:
4325         * text.C:
4326         * text2.C:
4327         * text3.C:
4328         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4329           LCursor and mathcursor parts to LCursor and InsetBase.
4330
4331 2004-01-15  André Pönitz  <poenitz@gmx.net>
4332
4333         * cursor_slice.[Ch]: add a few covienience functions
4334
4335         * funcrequest.[Ch]: remove BufferView * member
4336
4337         * BufferView_pimpl.C:
4338         * cursor.C:
4339         * factory.[Ch]:
4340         * lyxfind.[Ch]:
4341         * lyxfunc.C:
4342         * lyxtext.h:
4343         * text3.C:
4344         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4345
4346 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4347
4348         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4349         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4350
4351 2004-01-13  André Pönitz  <poenitz@gmx.net>
4352
4353         * textcursor.[Ch]:
4354         * lyxtext.h: hide cursor and selection anchor behind accessor function
4355
4356         * BufferView.C:
4357         * BufferView_pimpl.[Ch]:
4358         * PosIterator.C:
4359         * bufferview_funcs.C:
4360         * cursor.h:
4361         * lyxfind.C:
4362         * lyxfunc.C:
4363         * text.C:
4364         * text2.C:
4365         * text3.C:
4366         * undo.C: adjust
4367
4368         * cursor.h:
4369         * cursor_slice.[Ch]: some integer type changes for inset unification
4370
4371         * lyxcursor.[hC]: remove, it's CursorSlice now.
4372
4373         * Makefile.am:
4374         * BufferView_pimpl.[Ch]:
4375         * bufferview_funcs.C:
4376         * cursor_slice.C:
4377         * lyxtext.h:
4378         * text.C:
4379         * text2.C:
4380         * text3.C:
4381         * textcursor.[Ch]: adjust
4382
4383 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4384
4385         * text2.C (undoSpan): add and use
4386         * text.C (breakParagraph): use undoSpan (fix bug 578)
4387         * lyxtext.h: adjust
4388
4389 2004-01-08  Angus Leeming  <leeming@lyx.org>
4390
4391         * BufferView_pimpl.C (MenuInsertLyXFile):
4392         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4393         * lyxfunc.C (menuNew, open, doImport):
4394         FileFilterList change to the FileDialog open and save functions.
4395
4396 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * ShareContainer.h: make isEqual and isUnique adaptable
4399
4400         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4401
4402 2004-01-07  Angus Leeming  <leeming@lyx.org>
4403
4404         * LyXAction.C:
4405         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4406
4407         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4408
4409         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4410         functions replacing find, replace and replaceAll.
4411
4412         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4413         LFUN_WORDFIND(FORWARD|BACKWARD).
4414
4415 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4416
4417         * text.C (breakParagraph): remove an outdated #warning
4418
4419 2004-01-07  André Pönitz  <poenitz@gmx.net>
4420
4421         * lyxfind.C: somewhat clearer logic
4422
4423         * text.C: prevent crash in cursorX on unitialized row cache
4424
4425 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4426
4427         * lyxcursor.[Ch] (operator>): add
4428         * textcursor.C (selStart, selEnd): use std::min and std::max
4429
4430 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4431
4432         * Chktex.C: include boost/format.hpp
4433
4434 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * InsetList.C: replace functor MathcIt with adaptable functor
4437         InsetTablePosLess
4438         (insetIterator): modify accordingly
4439
4440         * BranchList.h: move the BranchNamesEqual functor here from...
4441         * BranchList.C: ... to here
4442
4443         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4444         SameName and match.
4445         (add): replace a finding loop with std::find_if.
4446
4447 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4448
4449         * output_docbook.C: moving LatexParam functionality into
4450         .layout files
4451
4452 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4453
4454         * buffer.C: increment format to 229.
4455
4456 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4457
4458         * LaTeXFeatures.C:
4459         * lyx_sty.[Ch]: remove minipageindent_def
4460
4461         * LyXAction.C:
4462         * factory.C:
4463         * lfuns.h:
4464         * lyxfunc.C:
4465         * text3.C: remove LFUN_INSET_MINIPAGE
4466
4467 2003-12-28  Angus Leeming  <leeming@lyx.org>
4468
4469         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4470
4471 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4472
4473         * text2.C (setParagraph): fix off-by-one crash
4474
4475 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4476
4477         * output_docbook.C: header stuff for AGU
4478
4479 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4480
4481         * text2.C (redoCursor): remove
4482         * text.C:
4483         * text3.C:
4484         * BufferView_pimpl.C: remove calls to redoCursor and
4485         setCursor(cursor.par(), cursor.pos()) all around
4486
4487 2003-12-15  Angus Leeming  <leeming@lyx.org>
4488
4489         * buffer.C: up the format to 228.
4490
4491 2003-12-15  André Pönitz  <poenitz@gmx.net>
4492
4493         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4494         slices
4495
4496         * Makefile.am:
4497
4498         * BufferView_pimpl.C:
4499         * cursor.[Ch]:
4500         * lyxcursor.[Ch]:
4501         * rowpainter.[Ch]:
4502         * lyxtext.h:
4503         * text.C:
4504         * text2.C:
4505         * text3.C: adjust
4506
4507 2003-12-15  Angus Leeming  <leeming@lyx.org>
4508
4509         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4510         than getFromGUIName to manipulate the color.
4511
4512 2003-12-14  Angus Leeming  <leeming@lyx.org>
4513
4514         * BranchList.[Ch]: minimize the API.
4515         (Branch::getBranch, getColor): now return a 'const &'.
4516         (Branch::setSelected) now returns a bool set to true if the
4517         selection status changes.
4518         (BranchList::clear, size, getColor, setColor, setSelected,
4519         allBranches, allSelected, separator): removed.
4520         (BranchList::find): new functions, returning the Branch with
4521         the given name.
4522         (BranchList::add, remove): return a bool indicating that
4523         the operation was successful.
4524
4525         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4526         new InsetBranch::isBranchSlected member function.
4527
4528         * LColor.[Ch]: mimimize the API.
4529         (fill): renamed as addColor and made private.
4530         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4531         versions of these functions taking a string arg have been removed.
4532
4533         * bufferparams.C (readToken):
4534         * lyxfunc.C (dispatch):
4535         * lyxrc.C (read): changes due to the altered BranchList and
4536         LColor APIs.
4537
4538         * factory.C (createInset, readInset): changes due to altered
4539         InsetBranch c-tor.
4540
4541 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4542
4543         * factory.C:
4544         * lyxfunc.C: remove insetminipage. "minipage-insert"
4545         now produces a frameless minipage box inset.
4546
4547 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4548
4549         * textcursor.[Ch] (selStart,selEnd): add new methods
4550         remove selection::start, end, use LyXCursor::operator<
4551         * lyxcursor.[Ch] (operator<): add
4552         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4553         * BufferView.[Ch] (unsetXSel): add
4554         * text2.C (clearSelection): use unsetXSel,adjust
4555         * text.C: adjust
4556         * text3.C: adjust
4557         * rowpainter.C: adjust
4558         * bufferview_funcs.C (put_selection_at): adjust
4559
4560 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4561
4562         * BufferView_pimpl.C: small coord. correction
4563
4564 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4565
4566         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4567         dragging over the splash screen.
4568
4569 2003-12-11  Angus Leeming  <leeming@lyx.org>
4570
4571         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4572         as it is now handled in LyXText::dispatch.
4573
4574         * text3.C (doInsertInset): remove a level of nesting.
4575
4576 2003-12-11  Angus Leeming  <leeming@lyx.org>
4577
4578         * factory.C (createInset): changes due to the changed interface to
4579         InsetCommandMailer::string2params.
4580
4581 2003-12-10  Angus Leeming  <leeming@lyx.org>
4582
4583         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4584         'dialog-show-new-inset <inset name>'
4585
4586 2003-12-10  Angus Leeming  <leeming@lyx.org>
4587
4588         * buffer.C: up the format to 227.
4589
4590         * factory.C: the box inset is now identified simply by 'Box'.
4591
4592 2003-12-10  Angus Leeming  <leeming@lyx.org>
4593
4594         * buffer.C: up the format to 226.
4595
4596         * factory.C: the note inset is now identified simply by 'Note'.
4597
4598 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4601         when a pit is enough. Standarize a couple of loops.
4602
4603 2003-12-05  Angus Leeming  <leeming@lyx.org>
4604
4605         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4606         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4607         data to the re-worked "log" dialog.
4608
4609 2003-12-03  André Pönitz  <poenitz@gmx.net>
4610
4611         * PosIterator.C:
4612         * iterators.C:
4613         * lyxtext.h:
4614         * output_latex.C:
4615         * paragraph_funcs.C:
4616         * text.C:
4617         * text2.C: use Inset::getText instead of Inset::getParagraph
4618
4619 2003-12-03  André Pönitz  <poenitz@gmx.net>
4620
4621         * buffer.[Ch]:
4622         * lyxtext.h:
4623         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4624         InsetText::read() as LyXText::read()
4625
4626 2003-12-02  Angus Leeming  <leeming@lyx.org>
4627
4628         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4629         type. Add a comment in the implementation that the function uses
4630         the stream's bad() function rather than fail() as the std::streams
4631         would do.
4632
4633 2003-12-02  André Pönitz  <poenitz@gmx.net>
4634
4635         * lyxlex.[Ch]: make interface more similar to std::stream
4636
4637         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4638
4639 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4640
4641         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4642
4643 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4644
4645         * vspace.[Ch]: remove VSpace::NONE
4646
4647 2003-12-01  André Pönitz  <poenitz@gmx.net>
4648
4649         * buffer.[Ch]:
4650         * lyxtext.h: move ParagraphList member to LyXText
4651         rename LyXText::ownerParagraphs to LyXText::paragraph
4652
4653         * CutAndPaste.C:
4654         * bufferview_funcs.C:
4655         * iterators.[Ch]:
4656         * lyx_cb.C:
4657         * paragraph.C:
4658         * rowpainter.C:
4659         * tabular.C:
4660         * text.C:
4661         * text2.C:
4662         * text3.C: adjust
4663
4664         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4665
4666         * undo.C: fix cursor positioning
4667
4668 2003-12-01  John Levon  <levon@movementarian.org>
4669
4670         * BufferView_pimpl.C: fix a crash on exit with
4671         a buffer open
4672
4673 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4674
4675         * BranchList.C: fix setSelected() method.
4676
4677 2003-11-28  André Pönitz  <poenitz@gmx.net>
4678
4679         * ParagraphParameters.[Ch]:
4680         * ParameterStruct.h: remove space above/below from Paragraph to
4681          InsetVSpace
4682
4683         * BufferView_pimpl.C:
4684         * factory.C:
4685         * lyxfunc.C:
4686         * lyxtext.h:
4687         * output_latex.C:
4688         * paragraph.C:
4689         * paragraph_funcs.C:
4690         * rowpainter.[Ch]:
4691         * text.C:
4692         * text2.C:
4693         * text3.C: adjust
4694
4695 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4696
4697         * factory.C: Syntax change for CharStyles
4698
4699 2003-11-28  André Pönitz  <poenitz@gmx.net>
4700
4701         * BufferView.[Ch]:
4702         * BufferView.[Ch]:
4703         * buffer.[Ch]:
4704         * buffer.[Ch]: move LyXText member
4705
4706 2003-11-28  André Pönitz  <poenitz@gmx.net>
4707
4708         * BufferView.[Ch]: make LyXText * text a private member
4709
4710         * BufferView_pimpl.C:
4711         * cursor.C:
4712         * iterators.C:
4713         * lyx_cb.C:
4714         * lyxfind.C:
4715         * lyxtext.h:
4716         * rowpainter.[Ch]:
4717         * text.C:
4718         * text2.C:
4719         * undo.C: adjust
4720
4721         * output_plaintext.C: cleanup
4722
4723 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4724
4725         * buffer.C:
4726         * lyxtextclass.[Ch]: parametrize SGML document header
4727
4728 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4729
4730         * converter.[Ch]:
4731         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4732         getFlavor().
4733
4734 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4735
4736         * text2.C (setFont): rework using PosIterator (no more recursive)
4737         (setCharFont): no more needed
4738         (setLayout): no more selection cursors fiddling (done by redoCursor)
4739         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4740         destroy remaining ones)
4741
4742 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4743
4744         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4745         * lyxtext.h: ditto
4746         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4747         selection cursors
4748         * lyxfunc.C: adjust
4749         * text3.C: adjust + re-allow multi par depth changes
4750         * textcursor.C: simplify a bit
4751
4752 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4753
4754         * src/buffer.C:
4755         * src/lyxlayout.C:
4756         * src/lyxlayout.h:
4757         * src/lyxtext.h:
4758         * src/output_docbook.C:
4759         * src/output_latex.C:
4760         * src/paragraph.C:
4761         * src/paragraph.h:
4762         * src/sgml.C:
4763         * src/sgml.h:
4764         * src/text2.C: Introducing a number of tags parametrizing various
4765         XML formats that we may want to support
4766
4767 2003-11-25  André Pönitz  <poenitz@gmx.net>
4768
4769         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4770
4771         * lyxtext.h (leftMargin/rightMargin): simplify interface
4772
4773         * rowpainter.C:
4774         * text.C:
4775         * text2.C:
4776         * text3.C: adjust
4777
4778 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4779
4780         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4781         master file to any child files. Fixes bug 546.
4782
4783 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4784
4785         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4786
4787 2003-11-24  André Pönitz  <poenitz@gmx.net>
4788
4789         * rowpainter.C: simplification
4790
4791         * text2.C (updateCounters): remove call to redoParagraph on
4792         changed labels as this is far too expensive.
4793
4794 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4795
4796         * converter.C (convert): fix a crash: this function gets
4797         called with buffer == 0 from importer code.
4798
4799 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * text3.C (cursorPrevious): make sure that we do not compare
4802         iterators form different containers.
4803         (cursorNext): ditto
4804
4805         * rowpainter.C (paintSelection): make sure that we do not compare
4806         iterators from different containers.
4807
4808         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4809         iterators from different ParagraphList containers.
4810         [NEXT] ditto
4811
4812         * text2.C (LyXText): change order of initialization slightly
4813         (operator=): new function. copy all variables except cache_par_
4814         (moveUp): make sure that we do not compare iterators from
4815         different ParagraphList constainers.
4816         (moveDown): ditto
4817
4818         * text.C (firstPar): new function
4819         (lastPar): new function
4820         (endPar): new function
4821
4822         * lyxtext.h: move things around and group public functions, public
4823         variables, private functions, private variables
4824
4825 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4826
4827         * factory.C: change call to InsetERT constructor to avoid
4828         additional invocation of method status
4829         * text2.C (toggleInset): remove redundant update() call
4830         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4831         instead of a Bufferview pointer
4832
4833 2003-11-21  André Pönitz  <poenitz@gmx.net>
4834
4835         * rowpainter.C: simplification
4836
4837 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4838
4839         * text3.C (dispatch): make possible to extend a word/row selection
4840         with the mouse
4841
4842 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4843
4844         * lyxtext.h: x0_,y0_ -> xo_,yo_
4845         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4846         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4847         * rowpainter.C (paintRows): paint full paragraphs
4848
4849 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4850
4851         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4852         screen coordinates)
4853
4854 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4855
4856         * lyxtext.h: add x0_, y0_
4857         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4858         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4859
4860 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4861
4862         * text2.C (setCursorIntern): move the x_target update here *
4863         * text3.C: change some bv() to true/false in calls to
4864         cursorUp/Down/Right/Left
4865         * cursor.C: use helper function.
4866
4867 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4868
4869         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4870         * paragraph_funcs.[Ch]: correct comment
4871         * rowpainter.C: do not paint selections away from bv->cursor()
4872         Fix a long standing selection painting bug.
4873         * text3.C: generalize mouse-selection code to LyXTexts other that
4874         top one
4875         * textcursor.C: do not use y coords if we can use par offsets
4876
4877 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4878
4879         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4880         cursor position after e.g. inset insert)
4881
4882 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4883
4884         * lyxfind.C (replace): adjust to locking removal + some
4885         code simplification
4886
4887 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4888
4889         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4890         of the path
4891
4892 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4893
4894         * lyxlayout.[Ch]:
4895         * output_docbook.C: XML sanitation: new layout
4896         parameters InnerTag and CommandDepth
4897
4898 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4899
4900         * BufferView_pimpl.C:
4901         * factory.C:
4902         * text3.C: Fix the insertion and modification of button-style
4903         insets
4904
4905 2003-11-13  André Pönitz  <poenitz@gmx.net>
4906
4907         * InsetList.[Ch]: remove deleteLyXText
4908
4909         * paragraph.[Ch]: cache beginOfBody position
4910
4911         * Bidi.C:
4912         * text.C:
4913         * text2.C:
4914         * text3.C: remove superfluous update() calls
4915
4916         * vspace.C: cleanup
4917
4918 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4919
4920         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4921         * BufferView.C (fitLockedInsetCursor): remove
4922         * cursor.[Ch] (getDim): add
4923         * text.C (getRowNearY): add faster version
4924         * text3.C: remove some update calls
4925
4926 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4927
4928         * LaTeXFeatures.C:
4929         * LyXAction.C:
4930         * MenuBackend.C:
4931         * MenuBackend.h:
4932         * dispatchresult.h:
4933         * factory.C:
4934         * lfuns.h:
4935         * lyxfunc.C:
4936         * lyxtextclass.C:
4937         * lyxtextclass.h:
4938         * text3.C: The Character Style /XML short element patch.
4939
4940 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4941
4942         * text3.C:
4943         * factory.C: Small step to solving 'unable to insert some insets'
4944         problem
4945
4946 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4947
4948         * cursor.[Ch] (updatePos): new function for updating the y
4949         position of the tip inset
4950         * bufferview_funcs.C (put_selection_at):
4951         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4952
4953 2003-11-11  André Pönitz  <poenitz@gmx.net>
4954
4955         * text.C: remove big comment on invalid Paragraph pointers as it is
4956         not valid anymore
4957
4958 2003-11-11  André Pönitz  <poenitz@gmx.net>
4959
4960         * text_funcs.[Ch]: merge with ...
4961
4962         * text.C: ... this
4963
4964         * lyxtext.h:
4965         * text2.C:
4966         * text3.C: adjust
4967
4968         * Makefile.am: remove text_funcs.[Ch]
4969
4970 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * cursor.C (getPos): return absolute cached y coord
4973
4974         * BufferView_pimpl.C (fitCursor): new simplistic code
4975         (workAreaDispatch): add a fitCursor call
4976
4977 2003-11-10  André Pönitz  <poenitz@gmx.net>
4978
4979         * BufferView.[Ch]:
4980         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4981
4982 2003-11-10  André Pönitz  <poenitz@gmx.net>
4983
4984         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4985         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4986         indicate that the cursor needs to leave an inset
4987
4988         * lyxtext.h: remove inset locking
4989
4990         * cursor.[Ch]: re-implement functionality provided by inset locking
4991
4992         * BufferView.[Ch]:
4993         * BufferView_pimpl.[Ch]:
4994         * LyXAction.C:
4995         * bufferview_funcs.[Ch]:
4996         * factory.C:
4997         * funcrequest.[Ch]:
4998         * iterators.C:
4999         * lyx_cb.C:
5000         * lyxfind.C:
5001         * lyxfunc.C:
5002         * text.C:
5003         * text2.C:
5004         * text3.C:
5005         * undo.C: adjust
5006
5007 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
5008
5009         * PosIterator.[Ch]: replace the stack with a vector, add inset
5010         accesor
5011         * iterators.[C]: adjust
5012
5013 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5014
5015         * lyxfind.C (replaceAll): mark the buffer dirty if something was
5016         replaced
5017         * paragraph_funcs.C (readParToken): put the correct id in the
5018         error item, not the id of the top paragraph
5019
5020 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
5021
5022         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
5023         * bufferview_funcs.C (put_selection_at): use the above
5024
5025 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5026
5027         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
5028
5029 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5030
5031         * output_linuxdoc.h:
5032         * output_plaintext.h:
5033         * output.h:
5034         * output_docbook.h: add #include statements
5035
5036 2003-11-05  José Matos  <jamatos@lyx.org>
5037
5038         * output_docbook.[Ch]:
5039         * output_latex.[Ch]:
5040         * output_linuxdoc.[Ch]:
5041         * output_plaintext.[Ch]: New files for output formats.
5042         * output.[Ch]: New file for helper functions.
5043
5044         * buffer.[Ch]:
5045         * paragraph_funcs.[Ch]: output functions moved to new files.
5046
5047         * outputparams.h: rename of latexrunparams.h
5048
5049         * LaTeX.[Ch]:
5050         * buffer.[Ch]:
5051         * bufferlist.[Ch]:
5052         * converter.[Ch]:
5053         * exporter.C:
5054         * paragraph.[Ch]:
5055         * paragraph_funcs.[Ch]:
5056         * paragraph_pimpl.[Ch]:
5057         * tabular.[Ch]: rename ascii to plaintext
5058         and LatexRunParams to OutputParams.
5059
5060 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5061
5062         * iterators.[Ch] (text): require bv argument
5063         * undo.C (recordUndo):
5064         * lyxfunc.C (dispatch):
5065         * bufferview_funcs.C (put_selection_at): adjust
5066
5067 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
5068
5069         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
5070
5071 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
5072
5073         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
5074         nestings
5075
5076 2003-11-04  André Pönitz  <poenitz@gmx.net>
5077
5078         * cursor.[Ch]: restructure
5079
5080         * BufferView.[Ch]:
5081         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
5082
5083         * iterators.[Ch] (asCursor): remove
5084
5085         * lfuns.h: remove LFUN_INSET_EDIT
5086
5087         * lyxfunc.C:
5088         * tabular.C:
5089         * text.C:
5090         * text2.C:
5091         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
5092
5093 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5094
5095         * lyxfind.[Ch]: complete overhaul
5096         * BufferView_pimpl.C:
5097         * lyxfunc.C: adjust
5098         * paragraph.[Ch] (insert): add
5099
5100 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * BufferView.[Ch]:
5103         * lyxtext.h:
5104         * text.C: remove dead spellcheck code
5105
5106 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * dispatchresult.h: add a val setter
5109
5110         * cursor.C (dispatch): use a tempvar for data_[i]
5111
5112 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5113
5114         * PosIterator.[Ch]: compile fix
5115
5116 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
5117
5118         * text.C (cursorPar): deactivate the cursor cache
5119
5120 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5121
5122         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
5123
5124 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5125
5126         * text3.C (dispatch): adjust for new DisptchResult semantics.
5127
5128         * lyxfunc.C (dispatch): handle update when return from
5129         Cursor::dispatch, adjust for new DispatchResult semantics.
5130
5131         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
5132         DispatchResult(true) mean to not update. Add class functions for
5133         setting dispatched and update, as well as reading.
5134
5135         * cursor.C (dispatch): don't handle update here
5136
5137 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
5140         * trans_mgr.C: adjust
5141
5142         * paragraph_funcs.C (readParToken): exception safety
5143
5144         * lyxvc.h: store the vcs pointer in a scoped_ptr
5145         * lyxvc.C: adjust
5146
5147         * lyxsocket.C (serverCallback): exception safety
5148
5149         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
5150
5151         * ispell.C (clone): make it return a auto_ptr
5152
5153         * factory.C (createInset): exception safety
5154         (readInset): exception safety
5155
5156         * bufferlist.C (newBuffer): exception safety
5157
5158         * Thesaurus.C (Thesaurus): use initialization for aik_
5159
5160         * MenuBackend.C (expandToc): exception safety.
5161
5162 2003-11-03  André Pönitz  <poenitz@gmx.net>
5163
5164         * buffer.C:
5165         * buffer.h:
5166         * bufferview_funcs.C: remove getInsetFromId()
5167
5168         * lyxcursor.[Ch]:
5169         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
5170
5171         * lyxfunc.C:
5172         * text2.C:
5173         * text3.C: adjust
5174
5175 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5176
5177         * PosIterator.C (distance, advance): new
5178         * bufferview_funcs.[Ch] (put_selection_at): new
5179         * iterators.[Ch] (lockPath): new
5180
5181 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5182
5183         * iterators.[Ch] (asPosIterator): added
5184         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5185         * PosIterator.[Ch]: added
5186
5187 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * text3.C:
5190         * lyxfunc.C:
5191         * cursor.C (dispatch):
5192         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5193
5194         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5195         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5196         contructor, add a class function dispatched. Remove operator>=
5197
5198 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5199
5200         * debug.C: only use the default constructor for debugstream
5201         (lyxerr) here.
5202
5203         * main.C (main): include debug.h and setup the lyxerr streambuf
5204         here.
5205
5206 2003-10-31  José Matos  <jamatos@lyx.org>
5207
5208         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5209
5210         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5211         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5212         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5213         * paragraph_pimpl.C (simpleTeXSpecialC):
5214         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5215         add LatexRunParams argument.
5216
5217         * exporter.C (Export): change call accordingly.
5218
5219         * latexrunparams.h: add new member to take care of the other backends.
5220 2003-10-30  José Matos  <jamatos@lyx.org>
5221
5222         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5223         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5224         factorise code for paragraph output.
5225         * buffer.[Ch]:
5226         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5227         move functions.
5228
5229 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * text3.C (dispatch):
5232         * lyxfunc.C (dispatch):
5233         * cursor.C (dispatch):
5234         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5235
5236         * dispatchresult.h: make the dispatch_result_t ctor explicit
5237
5238 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5239
5240         * sgml.[Ch]:
5241         * buffer.C: small refactoring of docbook stuff
5242
5243 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5246         meaning.
5247
5248 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5251         operator dispatch_result_t, and operators for == != and >=
5252
5253         * cursor.C (dispatch): adjust for operator dispatch_result_t
5254         removal. comment out call to update
5255
5256         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5257
5258 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * text3.C:
5261         * text2.C:
5262         * text.C:
5263         * lyxtext.h:
5264         * lyxfunc.C:
5265         * cursor.C:
5266         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5267         (dispatch):
5268
5269         * dispatchresult.h: new file, DispatchResult broken out of
5270         insets/insetbase.h
5271
5272         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5273
5274 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5275
5276         * text.C (rowBreakPoint): put a hack inside #if 0
5277
5278 2003-10-28  André Pönitz  <poenitz@gmx.net>
5279
5280         * lyxtext.h:
5281         * metricsinfo.C:
5282         * paragraph_funcs.C:
5283         * rowpainter.C:
5284         * text.C:
5285         * text2.C: general cleanup (lots of small stuff)
5286
5287 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * text2.C (cursorEnd): simple fix to the "end key goes to one
5290         before the end on last row" bug
5291
5292 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5293
5294         * text.C (backspace): fix the "zombie characters"
5295
5296 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5297
5298         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5299
5300 2003-10-27  André Pönitz  <poenitz@gmx.net>
5301
5302         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5303
5304         * factory.C: handle new InsetPagebreak, InsetLine
5305
5306         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5307         and move handling into new InsetPagebreak, InsetLine
5308
5309         * BufferView_pimpl.C:
5310         * LyXAction.C:
5311         * ParagraphParameters.C:
5312         * ParameterStruct.h:
5313         * lyxfunc.C:
5314         * lyxtext.h:
5315         * paragraph.C:
5316         * paragraph.h:
5317         * paragraph_funcs.C:
5318         * paragraph_pimpl.C:
5319         * rowpainter.C:
5320         * text.C:
5321         * text2.C:
5322         * text3.C: adjust
5323
5324 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5325
5326         * text.C:
5327         * lyxrow_funcs.[Ch]:
5328         * Bidi.C:
5329         * paragraph.C:
5330         * lyxtext.h:
5331         * rowpainter.C:
5332         * text2.C:
5333         * text3.C: remove lastPos uses in favour of Row::endpos
5334
5335 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5336
5337         * undo.C (performUndoOrRedo): fix two crashes by setting a
5338         cursor by hand and reordering some calls. Use bv->lockInset instead
5339         of inset->edit because the latter loses cursor information
5340
5341 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5342
5343         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5344         by Martin
5345         (rowBreakPoint): fix width. change point to point + 1.
5346         Add a missing check.
5347
5348 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5349
5350         * MenuBackend.C:
5351         * lyxfunc.C: fix (at least partly) the problems
5352         with the Nav menu and headers inside branch insets
5353         reported by Kayvan
5354
5355 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5356
5357         * paragraph.C (getChar): add strong asserts
5358
5359         * lyxrow_funcs.C (lastPos): remove hideous hack
5360
5361         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5362         (fill): adjust to that (avoid an infinite loop)
5363
5364 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5365
5366         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5367
5368 2003-10-23  André Pönitz  <poenitz@gmx.net>
5369
5370         * RowList_fwd.h: change list<> to vector<> to gain speed
5371         after suggestion from Alfredo
5372
5373 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5374
5375         * lyxtext.h: move the bidi stuff from here...
5376         * text.C: and here
5377         * text2.C: and here
5378         * Bidi.[Ch]: ... to here
5379
5380 2003-10-23  André Pönitz  <poenitz@gmx.net>
5381
5382         * lyxtext.h:
5383         * text.C (isLastRow, isFirstRow): new functions
5384
5385         * paragraph.h: new width cache member
5386
5387         * rowpainter.C: replace RowList::iterator with Row & where possible
5388
5389         * lyxfunc.C: replace several view()->text with a single call
5390
5391         * toc.C: fix 'unused' warning
5392
5393 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5394
5395         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5396         when woring with stream::pos_type
5397         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5398
5399 2003-10-22  André Pönitz  <poenitz@gmx.net>
5400
5401         * lyxtext.h:
5402         * text.C: use Row & instead of RowList::iterator
5403
5404         * lyxrow.h: rename end() to endpos()
5405
5406         * rowpainter.C:
5407         * text.C:
5408         * text2.C: adjust
5409
5410 2003-10-22  Angus Leeming  <leeming@lyx.org>
5411
5412         * buffer.[Ch] (fully_loaded): new member function, returning true
5413         only when the file has been loaded fully.
5414         Used to prevent the premature generation of previews and by the
5415         citation inset to prevent computation of the natbib-style label.
5416
5417         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5418         templates are all set up.
5419
5420         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5421
5422 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5423
5424         * text.C: fixed an "oops" in the "is a bit silly"
5425         bug fix
5426
5427 2003-10-21  André Pönitz  <poenitz@gmx.net>
5428
5429         * FuncStatus.[Ch]: small stuff, whitespace
5430
5431         * lyxfont.[Ch]: operator<<() for debug reasons
5432
5433         * lyxfunc.C:
5434         * lyxrow_funcs.C:
5435         * lyxtext.h: whitespace, spelling
5436
5437         * paragraph.C: naming of variables
5438
5439         * text.C:
5440         * text2.C: small stuff
5441
5442
5443 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5444
5445         * text.C: (1) finish off the inset display() work;
5446         (2) fix the "is a bit silly" bug (accessing char
5447         past end of par).
5448
5449 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5450
5451         * text.C: re-introduce display() for insets, fixing the
5452         various bugs (stretch of line above, math inset
5453         positioning, ...)
5454
5455 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5456
5457         * text.C (rightMargin): remove spurious semicolon
5458
5459         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5460         1415)
5461
5462 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5463
5464         * text3.C: fix one crash due to wrong cursor def
5465
5466 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * vc-backend.C (scanMaster): make the regex static
5469
5470         * LaTeX.C (scanAuxFile): make the regexs static
5471
5472         * text3.C (doInsertInset, dispatch, dispatch):
5473         * text2.C (cursorUp, cursorDown):
5474         * text.C (selectNextWordToSpellcheck):
5475         * BufferView_pimpl.C (dispatch):
5476         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5477
5478 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5479
5480         * lyxsocket.C: include <cerrno>
5481
5482 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * lyxfunc.C (dispatch): remove textcache stuff
5485
5486         * bufferlist.C (release): remove textcache stuff
5487         (closeAll): ditto
5488
5489         * TextCache.C: delete file
5490         * TextCache.h: delete file
5491
5492         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5493
5494         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5495         delete of the bv_->text.
5496         (resizeCurrentBuffer): remove texcache stuff
5497         (workAreaResize): ditto
5498
5499 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5500
5501         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5502         action.
5503
5504 2003-10-16  André Pönitz  <poenitz@gmx.net>
5505
5506         * lyxrow.[Ch]:
5507         * paragraph.h:
5508         * rowpainter.C:
5509         * text.C:
5510         * text2.C:
5511         * text3.C: speed up by storing y positions per paragraph plus per-row
5512         offset instead of having a 'full' y position in the row.
5513
5514 2003-10-15  André Pönitz  <poenitz@gmx.net>
5515
5516         * iterators.[Ch]:
5517         * iterators.[Ch]:
5518         * undo.[Ch]: make undo aware of inner insets
5519
5520 2003-10-14  Angus Leeming  <leeming@lyx.org>
5521
5522         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5523         static member functions LyX::ref() and LyX::cref.
5524         (lastfiles): new accessor functions for the new lastfiles_ member var.
5525         (addLyXView, views_): add a new LyXView to the list of views_.
5526         (updateInset): loop over all LyXViews to call their own updateInset
5527         member function, returning a pointer to the Buffer owning the inset.
5528
5529         * BufferView_pimpl.C (loadLyXFile):
5530         * MenuBackend.C (expandLastfiles):
5531         * bufferlist.C (MenuWrite, QuitLyX):
5532         lastfiles is no longer a global variable.
5533         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5534
5535         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5536         static function. Access through LyX::cref().emergencyCleanup().
5537
5538 2003-10-14  André Pönitz  <poenitz@gmx.net>
5539
5540         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5541
5542         * undo.[Ch]: restoring part of 'undo in insets'
5543
5544         * Makefile.am:
5545         * undo_funcs.[Ch]: merge with undo.[Ch]
5546
5547         * tabular.C: small cleansing stuff
5548
5549 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5550
5551         * paragraph_funcs.C (readParToken): report unknown insets as error
5552         boxes. Use the outer paragraph as location (also for unknown
5553         tokens).
5554
5555         * factory.C (readInset): do not abort on reading an unknown inset.
5556         Eat it and return 0.
5557
5558 2003-10-13  Angus Leeming  <leeming@lyx.org>
5559
5560         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5561
5562         * lyxrc.C: displayTranslator is now a function,
5563         declared in GraphicsTypes.h.
5564
5565 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5566
5567         * format.C: new placeholder $$a to pass the socket address.
5568
5569         * bufferlist.[Ch]: new function getBufferFromTmp.
5570
5571         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5572           files in the temporary dir.
5573
5574 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5575
5576         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5577
5578         * Makefile.am: add lyxsocket.[Ch].
5579
5580         * lyx_main.C (error_handler): handle SIGPIPE.
5581
5582 2003-10-13  André Pönitz  <poenitz@gmx.net>
5583
5584         * BufferView_pimpl.C:
5585         * lyxtext.h:
5586         * text.C:
5587         * text2.C:
5588         * text3.C:
5589         * undo_funcs.[Ch]: use paroffset_type instead of
5590           ParagraphList::iterators to prevent multiple conversion
5591           (and get a more robust interface)
5592
5593 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5596         * lyxtext.h: ditto
5597         * text3.C (dispatch): ditto
5598
5599 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5602         move the onlyfile, use onlyfile instead of foundfile in a couple
5603         of places.
5604
5605         * DepTable.C (update): flush the error stream a bit more
5606
5607 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * lyxserver.C (callback): adjust
5610
5611         * lyxfunc.C (getStatus): add a missing brace in commented code
5612         (ensureBufferClean): reindent
5613         (dispatch): delete version taking a string
5614
5615 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * LaTeX.C (deplog): move found file handlig from here...
5618         (handleFoundFile): .. to new function here.
5619         (deplog): make sure to discover several files mentioned on the
5620         same log line.
5621
5622 2003-10-10  André Pönitz  <poenitz@gmx.net>
5623
5624         * lyxfunc.C:
5625         * lyxtext.h:
5626         * tabular.C:
5627         * text.C:
5628         * text2.C:
5629         * text3.C: fix some of the tabular crashes
5630
5631 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5632
5633         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5634
5635         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5636
5637 2003-10-09  André Pönitz  <poenitz@gmx.net>
5638
5639         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5640
5641         * BufferView.C:
5642         * BufferView_pimpl.C:
5643         * bufferview_funcs.C:
5644         * lyx_cb.C:
5645         * lyxcursor.C:
5646         * lyxfind.C:
5647         * lyxfunc.C:
5648         * lyxtext.h:
5649         * text.C:
5650         * text2.C:
5651         * text3.C:
5652         * text_funcs.[Ch]:
5653         * textcursor.[Ch]:
5654         * undo_funcs.C: adjust
5655
5656 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * text2.C (incrementItemDepth): new function, use a backtracking
5659         algorithm to discover the correct item depth.
5660         (resetEnumCounterIfNeeded): new function, use a backtracking
5661         algorithm to discover if counter reset is needed.
5662         (setCounter): use them. Simplify a bit. Add different labels for
5663         different item depths for itemize.
5664
5665         * paragraph.C (Paragraph): remove initialization of enumdepth
5666         (operator=): ditto
5667
5668         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5669         enumerate and itemize. Change the type of itemdepth to signed char.
5670
5671 2003-10-08  André Pönitz  <poenitz@gmx.net>
5672
5673         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5674           thing assignable.
5675         * text.C:
5676         * text2.C: adjust
5677
5678         * tabular.[Ch]: fix crash after 'row-insert'
5679
5680 2003-10-08  Angus Leeming  <leeming@lyx.org>
5681
5682         Fix doxygen warnings.
5683
5684         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5685         Remove CutAndPaste:: prefix from header file declaration.
5686
5687         * LColor.h (fill): remove LColor:: prefix from declaration.
5688
5689         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5690         use lyx::depth_type rather than Paragraph::depth_type so that
5691         header file and .C file match.
5692
5693         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5694
5695         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5696         * aspell.C: \file aspell_local.C -> \file aspell.C
5697         * gettext.C: \file gettext.C -> \file src/gettext.C
5698         * gettext.h: \file gettext.h -> \file src/gettext.h
5699         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5700         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5701         * text.C: \file text.C -> \file src/text.C
5702
5703         * toc.C: move comment so that doxygen is not confused.
5704
5705 2003-10-07  Angus Leeming  <leeming@lyx.org>
5706
5707         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5708
5709 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5710
5711         * aspell.C:
5712         * aspell_local.h: add forgotten std::string's.
5713
5714 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5715
5716         * LaTeXFeatures.C:
5717         * LyXAction.C:
5718         * factory.C:
5719         * lfuns.h:
5720         * lyxfunc.C:
5721         * text3.C: The Box patch. Fancybox support, minipage, parbox
5722
5723 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5724
5725         * CutAndPaste.h:
5726         * DepTable.h:
5727         * FloatList.h:
5728         * LaTeXFeatures.h:
5729         * ParagraphParameters.h:
5730         * TextCache.h:
5731         * Thesaurus.h:
5732         * bufferlist.h:
5733         * exporter.h:
5734         * importer.h:
5735         * lastfiles.h:
5736         * lyxfind.h:
5737         * lyxfont.h:
5738         * lyxlex.h:
5739         * lyxtextclasslist.h:
5740         * messages.h:
5741         * paragraph.h:
5742         * paragraph_pimpl.C:
5743         * textcursor.h: add <string> and other small fixes to make Lars'
5744         std::string patch compile with STLport.
5745
5746 2003-10-06  Angus Leeming  <leeming@lyx.org>
5747
5748         * LColor.h: Add missing #include <string>.
5749
5750 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5751
5752         * All most all file in all subdirs: Make <string> be the prefered
5753         way of getting to std::string, add using declarations.
5754
5755 2003-10-06  André Pönitz  <poenitz@gmx.net>
5756
5757         * metricsinfo.C: initialize LyXFont before changing attribute.
5758         (fixes the 'math in \emph is upright' bug)
5759
5760 2003-10-06  André Pönitz  <poenitz@gmx.net>
5761
5762         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5763
5764 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5765
5766         * graph.C:
5767         * paragraph_pimpl.C: Small fixes to build using STLport
5768
5769 2003-10-02  André Pönitz  <poenitz@gmx.net>
5770
5771         * lyxfunc.C:
5772         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5773
5774 2003-10-01  André Pönitz  <poenitz@gmx.net>
5775
5776         * factory.C: assert early
5777
5778 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * lyx_main.C: remove the global debug object
5781
5782         * debug.h: adjust for new debugstream
5783
5784         * debug.C: adjust for new debugstream and keep the global debug
5785         object here.
5786
5787 2003-09-22  Angus Leeming  <leeming@lyx.org>
5788
5789         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5790         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5791         an incomplete class LyXFont.
5792
5793 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5794
5795         * factory.C: bug fix in branches
5796
5797 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5798
5799         * lyxfunc.C (processKeySym): adjust
5800         (dispatch): adjust
5801         (dispatch): change arg name from ev to func, adjust
5802         (sendDispatchMessage): ditto
5803
5804         * lyx_main.C (defaultKeyBindings): adjust keybindings
5805         (deadKeyBindings): ditto
5806
5807         * kbsequence.C (addkey): return a FuncRequest
5808
5809         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5810
5811         * kbmap.C (bind): take a FuncRequest as arg, adjust
5812         (read): adjust
5813         (lookup): adjust
5814         (defkey): change to take a FuncRequest as arg, adjust
5815         (findbinding): take a FuncRequest as arg, adjust.
5816
5817         * funcrequest.h (operator=): added
5818
5819         * funcrequest.C (FuncRequest): default kb_action changed from
5820         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5821
5822         * buffer.C (dispatch): simplify
5823         (dispatch): adjust to take a FuncRequest as arg, adjust
5824
5825         * boost.C (assertion_failed): change assertion message slightly
5826
5827         * ToolbarBackend.C (read): simplify
5828
5829         * MenuBackend.C (binding): adjust call to findbinding, add a
5830         message if no binding is found.
5831         (read): simplify
5832         (expandToc): correct by adding a empty FuncRequest
5833
5834         * LyXAction.C: include <boost/assert.hpp>
5835         (isPseudoAction): delete function
5836         (LookupFunc): change name to...
5837         (lookupFunc): this. change return type to FuncRequest.
5838         (getActionName): take kb_action as arg, simplify
5839         (funcHasFlag): add an assert, simplify.
5840
5841 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5842
5843         * toc.C (action): return a FuncRequest, simplify
5844
5845         * lyxfunc.C (processKeySym): adjust
5846         (getStatus): delete version that takes an int.
5847         (getStatus): adjust
5848         (dispatch): delete version that takes action as int
5849         (dispatch): adjust
5850         (sendDispatchMessage): simplify and adjust
5851
5852         * funcrequest.C (getArg): take unsigned int as arg
5853
5854         * ToolbarBackend.C (read): adjust
5855         (add): delete version that takes func as a string.
5856         (getIton): take a FuncRequest as arg
5857
5858         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5859         action.
5860
5861         * MenuBackend.C (MenuItem): add a new construct that only takes a
5862         Kind, simplify the constructor use for submenus.
5863         (add): adjust
5864         (expandLastfiles): adjust
5865         (expandDocuments): adjust
5866         (expandFormats): adjust
5867         (expandFloatListInsert): adjust
5868         (expandFloatInsert): adjust
5869         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5870
5871         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5872         Remove class variables lyx_pseudo_map and lyx_arg_map
5873
5874         * LyXAction.C (searchActionArg): delete function
5875         (getPseudoAction): delete function
5876         (retrieveActionArg): delete function
5877         (LookupFunc): make it return kb_action, simplify.
5878         (getActionName): simplify
5879
5880         * factory.C (createInset): fix new bug
5881
5882 2003-09-19  Angus Leeming  <leeming@lyx.org>
5883
5884         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5885         masterFilename_ parameter in the include inset.
5886
5887         * factory.C (createInset): changes due to the changes to InsetInclude.
5888
5889 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5890
5891         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5892
5893 2003-09-18  Angus Leeming  <leeming@lyx.org>
5894
5895         * buffer.C:
5896         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5897         Inset::fillWithBibKeys.
5898         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5899
5900 2003-09-18  Angus Leeming  <leeming@lyx.org>
5901
5902         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5903         variables.
5904         (ctor): pass and store a 'Buffer const &'
5905         (buffer): new member function.
5906
5907         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5908         '*this' to the LaTeXFeatures ctor.
5909
5910 2003-09-18  Angus Leeming  <leeming@lyx.org>
5911
5912         * LColor.h:
5913         * lyxfont.C:
5914         * lyxfont.h:
5915         * lyxtext.h:
5916         * text.C: rename EnumLColor as LColor_color.
5917
5918 2003-09-18  Angus Leeming  <leeming@lyx.org>
5919
5920         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5921         remove #include "insets/insetbase.h" from cursor.h.
5922
5923 2003-09-18  Angus Leeming  <leeming@lyx.org>
5924
5925         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5926         InsetOld_code to remove #include "inset.h".
5927
5928         * iterators.C: add #include "insets/inset.h"
5929
5930 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5931
5932         * BufferView.C: remove more locking stuff that apparently doesn't
5933         do anything sensible.
5934
5935 2003-09-16  André Pönitz  <poenitz@gmx.net>
5936
5937         * paragraph.[Ch]:
5938         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5939           performance boost.
5940
5941 2003-09-16  Angus Leeming  <leeming@lyx.org>
5942
5943         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5944
5945         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5946         arg/return type.
5947
5948         * paragraph.h: remove #include "lyxfont.h". Forward declare
5949         LyXFont_size.
5950
5951 2003-09-16  Angus Leeming  <leeming@lyx.org>
5952
5953         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5954         of support/textutils.h.
5955         (isWord): move the contents of support/textutils.h's IsWordChar here.
5956
5957         * buffer.C:
5958         * lyxfind.C:
5959         * rowpainter.C:
5960         * text.C:
5961         * text2.C: add #include "paragraph.h".
5962
5963         * rowpainter.C:
5964         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5965
5966 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5967
5968         * main.C:
5969         * lyx_main.C:
5970         * lyx_cb.C:
5971         * buffer.C:
5972         * LaTeX.C: use namespace alias for lyx::support::os
5973
5974 2003-09-16  Angus Leeming  <leeming@lyx.org>
5975
5976         * bufferparams.C:
5977         * bufferview_funcs.C:
5978         * factory.C:
5979         * lyxfunc.C:
5980         * paragraph_pimpl.C:
5981         * rowpainter.C:
5982         * text.C: add #include "LColor.h".
5983
5984 2003-09-16  Angus Leeming  <leeming@lyx.org>
5985
5986         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5987         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5988         return LyXFont &.
5989         Store the FontBits::color variable as an int rather than as an
5990         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5991         file.
5992
5993         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5994         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5995         string calls together.
5996
5997         * lyxrc.C: add #include "LColor.h".
5998
5999 2003-09-15  Angus Leeming  <leeming@lyx.org>
6000
6001         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
6002         a cow_ptr.
6003
6004 2003-09-15  Angus Leeming  <leeming@lyx.org>
6005
6006         * LColor.h: add an EnumLColor wrapper for LColor::color.
6007
6008         * lyxfont.[Ch] (color, setColor, realColor):
6009         * lyxtext.h, text.C (backgroundColor):
6010         pass EnumLColor args to/from the functions, rather than LColor::color
6011         ones.
6012
6013         * lyxfont.h:
6014         * lyxtext.h: forward declare EnumLColor.
6015
6016         * lyx_main.C: add #include "LColor.h".
6017
6018 2003-09-15  Angus Leeming  <leeming@lyx.org>
6019
6020         * .cvsignore: add lyx-gtk.
6021
6022 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * Chktex.C
6025         * LaTeX.C
6026         * LaTeXFeatures.C
6027         * ParagraphParameters.C
6028         * Spacing.C
6029         * buffer.C
6030         * bufferparams.C
6031         * bufferview_funcs.C
6032         * chset.C
6033         * counters.C
6034         * funcrequest.C
6035         * lyxfont.C
6036         * lyxgluelength.C
6037         * lyxlength.C
6038         * paragraph.C
6039         * paragraph_funcs.C
6040         * text3.C
6041         * vc-backend.C: remove usage of STRCONV
6042
6043 2003-09-15  Angus Leeming  <leeming@lyx.org>
6044
6045         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
6046         explicitly define the color passed to the painter.
6047
6048 2003-09-15  Angus Leeming  <leeming@lyx.org>
6049
6050         * bufferparams.C (BufferParams): reorder member initializers to avoid
6051         compiler warning.
6052
6053 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
6054
6055         * CutAndPaste.C (pasteSelection): remove an outdated #warning
6056         * text.C (updateRowPositions): remove an unusual nop
6057
6058 2003-09-12  André Pönitz  <poenitz@gmx.net>
6059
6060         * BufferView_pimpl.C:
6061         * Bullet.C:
6062         * layout.h:
6063         * lyxfunc.C:
6064         * lyxlayout.[Ch]:
6065         * lyxtextclass.C:
6066         * rowpainter.C:
6067         * text.C:
6068         * text2.C:
6069         * Counters.[Ch]: finish the 'automatic counters' job
6070
6071 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6072
6073         * aspell.C: include <boost/assert.cpp> (compile fix)
6074
6075 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
6076
6077         * boost.C (assertion_failed): use lyx::support::abort instead of
6078         assert.
6079
6080 2003-09-10  Angus Leeming  <leeming@lyx.org>
6081
6082         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
6083         with their _fwd progeny.
6084
6085 2003-09-09  Angus Leeming  <leeming@lyx.org>
6086
6087         134 files throughtout the source tree: replace 'using namespace abc;'
6088         directives with the appropriate 'using abc::xyz;' declarations.
6089
6090 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
6091
6092         * boost.C (emergencyCleanup): moved here from LAssert.c
6093         (assertion_failed): new function, called by BOOST_ASSERT
6094
6095         * several files: change Assert to BOOST_ASSERT
6096
6097 2003-09-09  Angus Leeming  <leeming@lyx.org>
6098
6099         * buffer.[Ch]: Add an Impl class and move Buffer's member
6100         variables into it. As a result move several header files out of
6101         buffer.h.
6102
6103         Add header files to lots of .C files all over the tree as a result.
6104
6105 2003-09-09  Angus Leeming  <leeming@lyx.org>
6106
6107         * buffer.[Ch]: make Buffer's member variables private. Add
6108         accessor functions.
6109
6110         Lots of changes all over the tree as a result.
6111
6112 2003-09-08  Angus Leeming  <leeming@lyx.org>
6113
6114         * graph.C: #include <config.h>.
6115
6116 2003-09-08  Angus Leeming  <leeming@lyx.org>
6117
6118         * BranchList.C:
6119         * BufferView.C:
6120         * BufferView_pimpl.C:
6121         * CutAndPaste.C:
6122         * DepTable.C:
6123         * LaTeX.C:
6124         * LaTeXFeatures.C:
6125         * LyXAction.C:
6126         * MenuBackend.C:
6127         * TextCache.C:
6128         * aspell.C:
6129         * buffer.C:
6130         * bufferlist.C:
6131         * changes.C:
6132         * chset.C:
6133         * converter.C:
6134         * counters.C:
6135         * debug.C:
6136         * graph.C:
6137         * ispell.C:
6138         * lyx_cb.C:
6139         * lyxfind.C:
6140         * lyxfunc.C:
6141         * lyxlex_pimpl.C:
6142         * lyxrc.C:
6143         * lyxrow.C:
6144         * paragraph.C:
6145         * rowpainter.C:
6146         * texrow.C:
6147         * text.C:
6148         * text2.C:
6149         * toc.C: remove redundant using directives.
6150
6151 2003-09-07  Angus Leeming  <leeming@lyx.org>
6152
6153         * LaTeXFeatures.h: remove #include "support/types.h".
6154         * ToolbarBackend.h: remove #include <algorithm>.
6155         * changes.h: remove #include <ctime>.
6156         * debug.h: remove #include <iosfwd>.
6157         * graph.h: remove #include "support/std_string.h".
6158         * lyx_main.h: remove #include <csignal>.
6159         * lyxlex_pimpl.h: remove #include <fstream>.
6160         * sgml.h: remove #include <algorithm>, <utility>.
6161         * toc.h: remove #include "support/std_ostream.h".
6162         Add #include <iosfwd>.
6163
6164 2003-09-07  Angus Leeming  <leeming@lyx.org>
6165
6166         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
6167
6168         * converter.h: forward declare LatexRunParams.
6169         * encoding.h: remove #include "lyxrc.h".
6170         * lyxtext.h: remove #include "LColor.h".
6171         * lyxtextclass.h: remove #include "support/types.h".
6172         * trans.h: remove #include "tex-accent.h".
6173         * trans_mgr.h: remove #include "tex-accent.h".
6174         * insets/inset.h: remove #include "support/types.h", <vector>.
6175         * insets/insetcollapsable.h: remove #include "LColor.h".
6176         * insets/insetinclude.h: remove #include "dimension.h".
6177         * insets/insetlatexaccent.h: remove #include "dimension.h".
6178         * insets/insetoptarg.h:: remove #include "insettext.h".
6179         * insets/insettext.h: remove #include "dimension.h",
6180         <boost/shared_ptr.hpp>
6181
6182         * insets/renderers.h: add #include "dimension.h".
6183         * insets/updatableinset.h: add #include "support/types.h".
6184
6185         * many .C files: Associated changes.
6186
6187 2003-09-06  Angus Leeming  <leeming@lyx.org>
6188
6189         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6190         one, inside testInvariant.
6191
6192         * PrinterParams.C: new file.
6193         * PrinterParams.[Ch]: move the function bodies out of line.
6194
6195 2003-09-06  Angus Leeming  <leeming@lyx.org>
6196
6197         * ParagraphParameters.h: forward declare ParameterStruct rather than
6198         including its header file.
6199         (depth): moved out-of-line.
6200
6201 2003-09-06  Angus Leeming  <leeming@lyx.org>
6202
6203         * BufferView_pimpl.h:
6204         * kbmap.h:
6205         * kbsequence.h:
6206         * lyxfunc.h: forward declare LyXKeySym rather than
6207         #include "frontends/LyXKeySym.h".
6208
6209         * BufferView_pimpl.C:
6210         * kbmap.C:
6211         * kbsequence.C:
6212         * lyxfunc.C: associated changes.
6213
6214 2003-09-06  Angus Leeming  <leeming@lyx.org>
6215
6216         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6217         As a result, can remove the #include "insets/inset.h" from BufferView.h
6218
6219 2003-09-06  Angus Leeming  <leeming@lyx.org>
6220
6221         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6222         As a result, can remove the #include "insets/inset.h" from BufferView.h
6223
6224 2003-09-06  Angus Leeming  <leeming@lyx.org>
6225
6226         * buffer_funcs.C:
6227         * buffer.h:
6228         * bufferlist.C:
6229         * BufferView.C:
6230         * bufferview_funcs.C:
6231         * BufferView_pimpl.C:
6232         * CutAndPaste.C:
6233         * lyx_cb.C:
6234         * lyxfunc.C:
6235         * paragraph.h:
6236         * ParagraphParameters.C:
6237         * tabular.C:
6238         * text3.C:
6239         * toc.C:
6240         * undo_funcs.C:
6241         * frontends/controllers/ControlDocument.C:
6242         * insets/insetcaption.C: rearrange the #includes into some sort of
6243         coherent order.
6244
6245         * buffer.h: remove #includes ErrorList.h, undo.h
6246
6247 2003-09-06  Angus Leeming  <leeming@lyx.org>
6248
6249         * support/types.h: add a 'depth_type' typedef, used to store the
6250         nesting depth of a paragraph.
6251
6252         * paragraph.h:
6253         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6254         defining explicitly.
6255
6256         * buffer.h:
6257         * paragraph_funcs.h:
6258         * ParagraphParameters.h:
6259         * sgml.h: use lyx::depth_type rather than Paragraph or
6260         ParameterStruct's depth_type.
6261
6262         * buffer.h
6263         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6264
6265         * BufferView.C:
6266         * BufferView_pimpl.C:
6267         * CutAndPaste.C:
6268         * ParagraphParameters.C:
6269         * buffer_funcs.C:
6270         * bufferlist.C:
6271         * bufferview_funcs.C:
6272         * lyx_cb.C:
6273         * lyxfunc.C:
6274         * tabular.C:
6275         * text3.C:
6276         * toc.C:
6277         * undo_funcs.C:
6278         * frontends/LyXView.C:
6279         * frontends/controllers/ControlDocument.C:
6280         * frontends/controllers/ControlErrorList.C:
6281         * insets/insetbibitem.C:
6282         * insets/insetbranch.C:
6283         * insets/insetcaption.C:
6284         * insets/insetcollapsable.C:
6285         * insets/insetenv.C:
6286         * insets/insetert.C:
6287         * insets/insetfloat.C:
6288         * insets/insetfoot.C:
6289         * insets/insetfootlike.C:
6290         * insets/insetnewline.C:
6291         * insets/insetquotes.C:
6292         * insets/insettabular.C:
6293         * insets/insettext.C:
6294         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6295
6296         * frontends/controllers/ControlChanges.C: #include "changes.h".
6297
6298 2003-09-06  Angus Leeming  <leeming@lyx.org>
6299
6300         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6301         than #including paragraph.h.
6302
6303         * ParagraphList.h:
6304         * RowList.h: deleted. Superfluous.
6305
6306         * CutAndPaste.h:
6307         * iterators.h:
6308         * lyxcursor.h:
6309         * lyxtext.h:
6310         * text_funcs.h:
6311         * undo.h:
6312         * undo_funcs.h:
6313         * insets/inset.h:
6314         * insets/insettext.h: use ParagraphList_fwd.h rather than
6315         ParagraphList.h.
6316
6317         * paragraph.h: don't forward declare ParagraphList.
6318
6319         * buffer.h:
6320         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6321         rather than ParagraphList.h. paragraph.h is still needed for the
6322         Paragraph::depth_type parameters.
6323
6324         * textcursor.h: enable it to compile stand-alone in light of the
6325         above changes.
6326
6327         * bufferview_funcs.C:
6328         * iterators.C:
6329         * lyxfunc.C:
6330         * lyxrow_funcs.C:
6331         * paragraph.C:
6332         * rowpainter.C:
6333         * text.C:
6334         * text2.C:
6335         * text3.C:
6336         * text_funcs.C:
6337         * textcursor.C:
6338         * undo.C:
6339         * frontends/controllers/ControlParagraph.C:
6340         * frontends/controllers/ControlTabular.C:
6341         * insets/insetmarginal.C:
6342         * insets/insetminipage.C:
6343         * insets/insetnote.C:
6344         * insets/insetoptarg.C: add header files needed to compile again.
6345
6346 2003-09-06  Angus Leeming  <leeming@lyx.org>
6347
6348         * RowList_fwd.h: new file, forward-declaring Row rather than
6349         #including lyxrow.h.
6350
6351         * lyxrow_funcs.h:
6352         * lyxtext.h:
6353         * paragraph.h:
6354         * insets/insettext.h: use it instead of RowList.h
6355
6356         * bufferview_funcs.C:
6357         * lyxfunc.C:
6358         * lyxrow_funcs.C:
6359         * paragraph.C:
6360         * rowpainter.C:
6361         * text.C:
6362         * text2.C:
6363         * text3.C: #include "RowList.h".
6364
6365 2003-09-05  Angus Leeming  <leeming@lyx.org>
6366
6367         * factory.C (createInset):
6368         * vspace.C (c-tor): replace sscanf call with an istringstream.
6369         * ispell.C: re-add missing HP/UX headers.
6370         * lyxserver.C: re-add missing  os2 headers.
6371
6372 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6373
6374         * BranchList.C:
6375         * graph.C:
6376         * ispell.C:
6377         * lastfiles.C:
6378         * lyx_cb.C:
6379         * lyxserver.C:
6380         * texrow.C:
6381         * text3.C: re-add missing system headers, needed for 2.95.2.
6382
6383 2003-09-05  Angus Leeming  <leeming@lyx.org>
6384
6385         Changes most place everywhere due to the removal of using directives
6386         from support/std_sstream.h.
6387
6388 2003-09-05  Angus Leeming  <leeming@lyx.org>
6389
6390         Replace LString.h with support/std_string.h,
6391         Lsstream.h with support/std_sstream.h,
6392         support/LIstream.h with support/std_istream.h,
6393         support/LOstream.h with support/std_ostream.h.
6394
6395         Changes resulting throughout the tree.
6396
6397 2003-09-05  Angus Leeming  <leeming@lyx.org>
6398
6399         * sgml.h: ensure that the header file can be compiled stand-alone.
6400         * *.C: strip out redundant #includes. (320 in total.)
6401
6402 2003-09-04  Angus Leeming  <leeming@lyx.org>
6403
6404         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6405         here (from getPackages).
6406
6407         * debug.[Ch]: add a new EXTERNAL tag.
6408
6409 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6410
6411         * text2.C (cursorEnd): simplify
6412         (setCursor): adjust
6413         (getColumnNearX): adjust
6414
6415         * text.C (computeBidiTables): adjust
6416         (fill): adjust
6417
6418         * rowpainter.C (paintChars): adjust
6419         (paintSelection): adjust
6420         (paintChangeBar): adjust
6421         (paintText): adjust
6422
6423         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6424         lastPos instead.
6425         (numberOfSeparators): adjust
6426
6427 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6428
6429         * LyXAction.C:
6430         * box.[Ch]:
6431         * lfuns.h:
6432         * lyxfunc.C:
6433         * text3.C: Restricts the mouse click functionality
6434         of insets like bibtex, include, toc and floatlist to the visible
6435         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6436         up the dialogs. Cursor has to be in front of the inset (i.e.
6437         start of row) for this to function.
6438
6439 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6440
6441         * bufferview_funcs.C (currentState): output row information
6442
6443 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6444
6445         * bufferview_funcs.C (currentState): output paragraph position
6446
6447 2003-09-04  Angus Leeming  <leeming@lyx.org>
6448
6449         * FloatList.h: move out #include "Floating.h".
6450         * LaTeX.h: move out #include "DepTable.h".
6451         * LyXAction.h: move out #include "funcrequest.h".
6452         * buffer.h: move out #include "author.h", "iterators.h".
6453         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6454         * lyx_main.h: move out #include "errorlist.h".
6455         * lyxfunc.h: move out #include "FuncStatus.h".
6456         * lyxtext: move out #include "lyxcursor.h".
6457         * paragraph_pimpl.h: move out #include "counters.h".
6458
6459 2003-09-03  Angus Leeming  <leeming@lyx.org>
6460
6461         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6462         preamble_snippets list, enabling us to add snippets to the preamble
6463         only if the snippet was not there already.
6464
6465 2003-09-04  Angus Leeming  <leeming@lyx.org>
6466
6467         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6468
6469 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6472         update
6473
6474 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6475
6476         * BranchList.C: point fix, earlier forgotten
6477
6478 2003-09-02  Angus Leeming  <leeming@lyx.org>
6479
6480         * box.C (contains): renamed from 'contained' after a fantastic
6481         amount of hot air.
6482
6483 2003-09-02  John Levon  <levon@movementarian.org>
6484
6485         * BufferView.C:
6486         * lyxcursor.h:
6487         * lyxcursor.C:
6488         * lyxfunc.C:
6489         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6490
6491 2003-09-02  John Levon  <levon@movementarian.org>
6492
6493         * text2.C: simplification of cursorEnd(), including partial
6494         fix for bug 1376
6495
6496 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * buffer.C (readFile): add a space
6499
6500 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6503
6504 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * buffer.C (readFile): new function, take a filename and a
6507         ParagraphList::iterator
6508         (readFile): adjust
6509         (readFile): adjust, make it private. don't use setStream, make
6510         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6511         always contain the filename.
6512
6513         * BufferView.C (insertLyXFile): simplify and make it work for
6514         gzipped files.
6515
6516 2003-08-30  John Levon  <levon@movementarian.org>
6517
6518         * Makefile.am: fix dist (from Kayvan)
6519
6520 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6521
6522         * most files: change to use const Buffer refs
6523
6524 2003-08-27  André Pönitz  <poenitz@gmx.net>
6525
6526         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6527         on top of ownerPar().
6528
6529 2003-08-27  John Levon  <levon@movementarian.org>
6530
6531         * funcrequest.C: properly initialise POD members
6532
6533 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6534
6535         * lyxtext.h (top_y): move top_y from here
6536         * text.C:
6537         * text2.C:
6538         * text3.C:
6539         * BufferView.[Ch]:
6540         * BufferView_pimpl.[Ch]: to here
6541         * frontends/screen.C:
6542         * insets/insettabular.C:
6543         * insets/insettext.C: adjust
6544         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6545
6546 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6547
6548         * BufferView.[Ch]:
6549         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6550
6551 2003-08-26  André Pönitz  <poenitz@gmx.net>
6552
6553         * paragraph_func.[Ch] (outerPar): new function
6554
6555         * paragraph.C:
6556         * paragraph_funcs.C:
6557         * paragraph_funcs.h:
6558         * paragraph_pimpl.C:
6559         * text2.C: remove Inset::par_owner
6560
6561 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6562
6563         * lyxrow_funcs.C:
6564         * lyxtext.h:
6565         * text.C:
6566         * text2.C: eliminates the needFullRow/display() stuff
6567         altogether, putting the logic in metrics/draw in the insets.
6568
6569 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6570
6571         * text2.C (redoParagraphInternal, redoParagraphs):
6572         * text.C (redoParagraph): add a call to updateRowPositions at the
6573         end of each 'metrics-like' call. Remove all others.
6574         (getRow): remove the 'y-computing' version.
6575         (getRowNearY): do not compute nor return the real y. Solve the
6576         'y < 0' problem and simplify.
6577
6578 2003-08-22  Angus Leeming  <leeming@lyx.org>
6579
6580         * *.[Ch]: clean-up of licence and author blurbs.
6581         Also move config.h out of a few .h files and into a few .C files.
6582
6583 2003-08-22  André Pönitz  <poenitz@gmx.net>
6584
6585         * lyxrow.[Ch]: add x_ and *fill_ members
6586
6587         * lyxtext.h:
6588         * text.C:
6589         * rowpainter.C:
6590         * text2.C: adjust/remove prepareToPrint() calls
6591
6592 2003-08-22  André Pönitz  <poenitz@gmx.net>
6593
6594         * lyxrow.[Ch]: add  end_ member
6595
6596         * lyxrow_funcs.C: use LyXRow::end_
6597
6598         * lyxtext.h (singleWidth): add LyXFont parameter
6599
6600         * rowpainter.C:
6601         * text2.C: adjust LyXText::singleWidth() calls
6602
6603         * text.C (redoParagraph): simplify row breaking logic
6604
6605
6606 2003-08-19  André Pönitz  <poenitz@gmx.net>
6607
6608         * funcrequest.C: initialize button_ member
6609
6610         * text3.C:
6611         * rowpainter.[Ch]: interface consolidation
6612
6613 2003-08-18  André Pönitz  <poenitz@gmx.net>
6614
6615         * BufferView.C:
6616         * BufferView_pimpl.C:
6617         * lyxfind.C:
6618         * paragraph_funcs.C:
6619         * rowpainter.C:
6620         * text3.C: remove LyXScreen::draw() and fitCursor calls
6621
6622         * BranchList.h: remove spurious semicolons
6623
6624         * MenuBackend.C: fix branchlist related crash
6625
6626 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6627
6628         * BranchList.[Ch]:
6629         * InsetList.[Ch]:
6630         * LColor.[Ch]:
6631         * LyXAction.C:
6632         * Makefile.am:
6633         * MenuBackend.[Ch]:
6634         * bufferparams.[Ch]:
6635         * factory.C:
6636         * lfuns.h:
6637         * lyxfunc.C:
6638         * text3.C: implements the 'branch inset'
6639         idea. This allows the output of various versions of a document
6640         from a single source version, selectively outputing or suppressing
6641         output of parts of the text.
6642         This implementation contains a 'branch list editor' in a separate
6643         tab of the document settings dialog. Branches are user definable
6644         and have a "display colour" to distinguish them on-screen.
6645
6646         ColorHandler was somewhat cleaned up.
6647         (1) make possible a dynamically growing LColor list by allowing
6648         the graphic context cache to grow along (vector);
6649         (2) eliminate an IMHO unnecessary step in colour allocation.
6650
6651 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6652
6653         * BufferView_pimpl.C: compile fix
6654
6655 2003-08-15  André Pönitz  <poenitz@gmx.net>
6656
6657         * rowpainter.C: remove extra metrics calls
6658
6659         * lyxtext.h: merge the two constructors into a single one,
6660           pass reference to owner's par list
6661
6662         * BufferView_pimpl.C:
6663         * text.C:
6664         * text2.C: adjust
6665
6666 2003-08-15  André Pönitz  <poenitz@gmx.net>
6667
6668         * lyxrow_funcs.[Ch]:
6669         * lyxtext.h:
6670         * paragraph.h:
6671         * paragraph_funcs.C:
6672         * rowpainter.C:
6673         * text.C:
6674         * text2.C:
6675         * text3.C:
6676         * text_funcs.C: split LyXText::rowlist_ into individual
6677         Paragraph::rows_ chunks
6678
6679         * BufferView.[Ch]:
6680         * BufferView_pimpl.[Ch]:
6681         * lyxfind.C:
6682         * lyxtext.h:
6683         * text3.C: remove toggleSelection()
6684
6685 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6686
6687         * bufferlist.C: beautify two alerts (shorter text of buttons)
6688         * buffer.C: Remove redundant ' ' from message
6689         * tabular.h:
6690         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6691         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6692         rename VALIGN_CENTER to VALIGN_MIDDLE
6693
6694 2003-08-11  André Pönitz  <poenitz@gmx.net>
6695
6696         * lyxtext.h (getPar):
6697         * text.C: new function
6698
6699 2003-08-11  André Pönitz  <poenitz@gmx.net>
6700
6701         * Makefile.am:
6702         * tracer.[Ch]: remove unneeded files
6703
6704         * InsetList.[Ch]: remove resizeInsetsLyXText()
6705
6706         * lyxtext.h:
6707         * text.C:
6708         * text2.C:
6709         * text3.C: merge insertParagraphs() and appendParagraph()
6710         remove breakAgain(), update()
6711
6712         * BufferView_pimpl.[Ch]:
6713         * bufferview_funcs.[Ch]:
6714         * lyxfunc.C:
6715         * paragraph.[Ch]:
6716         * rowpainter.C:
6717         * tabular.C: adjust after text & InsetList changes.
6718
6719 2003-08-08  André Pönitz  <poenitz@gmx.net>
6720
6721         * text.C (insertChar, backspace): replace rowlist fiddling
6722         with rebreak of full par
6723
6724         * lyxtext.h:
6725         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6726         checkParagraph, updateInset): removed
6727
6728 2003-08-07  André Pönitz  <poenitz@gmx.net>
6729
6730         * paragraph.C:
6731         * text3.C: merge some LFUN handlers, remove dead code
6732
6733 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6734
6735         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6736
6737 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * text2.C (DEPM): fix part of bug 1255 and 1256
6740
6741 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6742
6743         * BufferView_pimpl.C (workAreaDispatch): change to use
6744         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6745         that are no mouse related.
6746
6747 2003-08-05  André Pönitz  <poenitz@gmx.net>
6748
6749         * BufferView.[Ch]:
6750         * BufferView_pimpl.[Ch]:
6751         * bufferview_funcs.C:
6752         * text2.C:
6753         * text3.C: rip out "deep update"
6754
6755         * textcursor.[Ch] (last_sel_cursor): remove unused member
6756
6757 2003-08-04  André Pönitz  <poenitz@gmx.net>
6758
6759         * BufferView.[Ch]:
6760         * BufferView_pimpl.[Ch]:
6761         * ParagraphParameters.C:
6762         * bufferview_funcs.C:
6763         * lyx_cb.C:
6764         * lyxfind.C:
6765         * lyxfunc.C:
6766         * text.C:
6767         * text2.C:
6768         * text3.C: replace "complicated" BufferView::update(...) calls with
6769         simpler ones.
6770
6771         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6772
6773 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6774
6775         * Makefile.am (lyx_SOURCES): add paper.h
6776
6777 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6778
6779         * Makefile.am: move things around so that both lyx-qt and
6780         lyx-xforms can be built (according to --with-frontend). Then lyx
6781         is a symbolic link to lyx-[firstfrontend]
6782
6783 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6784
6785         * Always use std::endl with lyxerr
6786
6787 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6788
6789         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6790
6791 2003-08-01  André Pönitz  <poenitz@gmx.net>
6792
6793         * BufferView.[Ch]:
6794         * BufferView_pimpl.[Ch]:
6795         * lyxfunc.C:
6796         * text3.C: merge BufferView::repaint() and BufferView::update()
6797
6798 2003-08-01  José Matos  <jamatos@lyx.org>
6799
6800         * buffer.[Ch]: file_format is no longer a buffer data element.
6801
6802 2003-08-01  André Pönitz  <poenitz@gmx.net>
6803
6804         * BufferView.C:
6805         * lyxtext.h:
6806         * text.C:
6807         * text2.C: make redoParagraph more independent of current cursor
6808
6809         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6810         * text.C:
6811         * text2.C: remove unneeded members
6812
6813 2003-07-30  André Pönitz  <poenitz@gmx.net>
6814
6815         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6816
6817         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6818           create a single function...
6819
6820         * paragraph_funcs.C (moveItem): ... here.
6821
6822         * text.C:
6823           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6824
6825 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6826
6827         * LColor.[Ch]: Add comment and greyedout logical colors.
6828
6829 2003-07-30  André Pönitz  <poenitz@gmx.net>
6830
6831         * tabular.C: don't use Assert too heavily. This crashes where it
6832           shouldn't
6833
6834 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6835
6836         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6837         is disabled (bug 1232)
6838
6839 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6840
6841         * factory.C: limited 'arg' scope
6842
6843 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6844
6845         * factory.C: fixed Note submenu issues
6846
6847 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6848
6849         * factory.C: submenu for Note/Comment/Greyedout
6850
6851 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6852
6853         * lyx_main.C (LyX):
6854         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6855
6856 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6857
6858         * LaTeXFeatures.C:
6859         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6860         greyedout. Patch provided by Jürgen Spitzmüller.
6861
6862 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6863
6864         * kbmap.C (read): fix error message when reading bind files
6865
6866 2003-07-29  Angus Leeming  <leeming@lyx.org>
6867
6868         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6869         certainly does not do what it purports to do. I am doing it, and
6870         us, a favour by killing it.
6871
6872 2003-07-28  José Matos  <jamatos@lyx.org>
6873
6874         * buffer.C (readBody, do_writeFile):
6875         * paragraph.C(readParagraph): \end_document replaces \the_end.
6876
6877 2003-07-29  André Pönitz  <poenitz@gmx.net>
6878
6879         * BufferView.[Ch]:
6880         * BufferView_pimpl.[Ch]:
6881         * lyxfunc.C:
6882         * text2.C:
6883         * text3.C:
6884         * textcursor.[Ch]: remove toggleToggle & Co
6885
6886 2003-07-28  José Matos  <jamatos@fep.up.pt>
6887
6888         * buffer.C (readParagraph):
6889         * params_func (readParToken, readParagraph):
6890         * paragraph.C (write): \layout -> \begin_layout.
6891
6892 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * lyxlex_pimpl.C (setFile): clean up slightly.
6895
6896         * bufferparams.h: add compressed var
6897
6898         * buffer_funcs.C (readFile): adjust for LyXLex change
6899         (newFile): ditto + simplify
6900
6901         * buffer.C (writeFile): handle writing of compressed files
6902
6903         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6904         Check if the file is compressed and set a bufferparm if so.
6905
6906         * Makefile.am (lyx_LDADD): remove explicit -lz
6907
6908 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6909
6910         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6911         makeDocBookFile): put the real LyX version in the first line of
6912         the file
6913
6914         * version.h:
6915         * version.C.in: remove lyx_docversion
6916
6917         * tabular.C (write_attribute): add a template-based version to
6918         write enums properly
6919
6920 2003-07-28  André Pönitz  <poenitz@gmx.net>
6921
6922         * lyxtext.h:
6923         * text.C:
6924         * text2.C:
6925         * text3.C: use doubles again for x-coordinates. They are needed.
6926
6927 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * messages.C (getLocaleDir): use lyx_localedir()
6930
6931         * lyxlex_pimpl.C (setFile): compress stuff
6932
6933         * buffer.C (writeFile): add some compression stuff
6934         (do_writeFile): new func, dont call expliti close... will this
6935         breake anything?
6936
6937         * Makefile.am (lyx_LDADD): add -lz
6938
6939 2003-07-28  José Matos  <jamatos@fep.up.pt>
6940
6941         * buffer.C: increment file format.
6942         * paragraph_funcs (readParagraph, readParToken):
6943         * paragraph.C (readParagraph): add \end_layout.
6944
6945 2003-07-27  Angus Leeming  <leeming@lyx.org>
6946
6947         * Makefile.am: remove special casing for configure-time setting of
6948         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6949
6950         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6951         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6952
6953 2003-07-26  André Pönitz  <poenitz@gmx.net>
6954
6955         * paragraph_func.[Ch]:
6956         * paragraph.C (realizeFont): inline it whereever it is used
6957
6958         * rowpainter.C:
6959         * text.C:
6960         * text2.C:
6961         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6962
6963
6964 2003-07-26  André Pönitz  <poenitz@gmx.net>
6965
6966         *       lyxtext.h:
6967         * text.C:
6968         * text2.C: get rid of LyXText::need_break_row
6969
6970 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * toc.[Ch]: put namespace toc inside namespace lyx
6973
6974         * MenuBackend.C (expandToc2): adjust for lyx::toc
6975         (expandToc): ditto
6976
6977         * lyxfunc.C (dispatch): adjust for lyx::find
6978
6979         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6980         lyx::find instead. Reorganize a bit.
6981         (LyXReplace): rename to replace
6982         (LyXFind): rename to find
6983
6984         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6985         (dispatch): ditto
6986
6987 2003-07-26  André Pönitz  <poenitz@gmx.net>
6988
6989         * text.C (setHeightOfRow): restrict scope of temporary variable
6990
6991         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6992           code (never has been used?)
6993
6994 2003-07-27  Asger Alstrup  <alstrup@local>
6995
6996         * text.C (fill): Optimise algorithm to exploit that we can reuse
6997         the LyXFont for many characters.
6998         (setHeightOfRow): Same thing.
6999         (rowBreakPoint): Same thing.
7000
7001 2003-07-26  Asger Alstrup  <alstrup@local>
7002
7003         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
7004
7005         * text.C (singleWidth): Spurious font copying in hot-spot
7006         singleWidth avoided. Reorder tests for arabic for efficiency.
7007
7008         * text.C (fill): handle empty paragraphs better.
7009
7010 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7011
7012         * ispell.C:
7013         * encoding.h: add includes
7014
7015         * lyxrc.C: remove reading of bind files
7016
7017         * lyx_main.C (init): setup bindings and menus only if we have a
7018         gui.
7019
7020         * kbmap.C (read): new method. Do the actual reading of bind
7021         files.
7022
7023         * converter.C (dvipdfm_options):
7024         * bufferparams.C:
7025         * lyxrc.C (read):
7026         (output): adapt PAPER_* enums.
7027
7028         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
7029
7030         * bufferparams.h: remove paper-related enums from there
7031
7032         * paper.h: New file. A trivial header file to hold paper-related
7033         enums. It should later expand to contain many paper-related
7034         horrors access.
7035
7036         * lyxrc.C: declare extern displayTranslator
7037
7038 2003-07-27  José Matos  <jamatos@fep.up.pt>
7039
7040         * tabular.[Ch] (linuxdoc): add support for tables and figures
7041         (linuxdoc).
7042
7043 2003-07-27  José Matos  <jamatos@fep.up.pt>
7044
7045         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
7046         consistency in both functions.
7047         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
7048
7049 2003-07-26  Asger Alstrup  <alstrup@local>
7050
7051         * rowpainter.C (paintRows): Change algorithm to work directly on
7052         the insets rather than asking every character in the document
7053         whether its an inset.
7054
7055 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
7056
7057         * buffer.C (openFileWrite): factorize some code
7058
7059 2003-07-26  Angus Leeming  <leeming@lyx.org>
7060
7061         * lyx_cb.C:
7062         * lyx_main.[Ch]: replace occurances of system_tempdir with
7063         os::getTmpDir().
7064
7065 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * rename Inset to InsetOld
7068
7069 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
7070
7071         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
7072         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
7073         which I think is a bit clearer. EDIT is gone, since it was
7074         premature optimisation, and broken for mathed anyway.
7075         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
7076         with cursor positioning in insets as well (math insets still do not
7077         work, but that's a different story anyway.) It mysteriously
7078         crashes sometimes with undo in the first paragraph, but I'm fairly
7079         confident that this is a compiler bug.
7080
7081 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * paragraph.C (Paragraph): adjust for new clone return type
7084         (operator==): ditto
7085         (copyIntoMinibuffer): ditto
7086
7087 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
7088
7089         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
7090         by not having a special case, and always doing a full rebreak of
7091         the document after undo.
7092
7093 2003-07-23  Angus Leeming  <leeming@lyx.org>
7094
7095         * factory.C (createInset): InsetExternal::setParams now takes a
7096         Buffer const * arg.
7097
7098 2003-07-23  Angus Leeming  <leeming@lyx.org>
7099
7100         * factory.C (createInset): changed interface to the external and
7101         graphics mailers' string2params functions.
7102
7103 2003-07-23  Angus Leeming  <leeming@lyx.org>
7104
7105         * factory.C (createInset): pass a
7106         Buffer const * parameter to InsetExternalMailer's string2params.
7107
7108 2003-07-22  John Levon  <levon@movementarian.org>
7109
7110         * Thesaurus.h: include the right aiksaurus header
7111
7112 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7113
7114         * MenuBackend.C (expand): check menu shortcuts unconditionally
7115
7116 2003-07-21  Angus Leeming  <leeming@lyx.org>
7117
7118         * factory.C (createInset): pass a
7119         buffer_path parameter to InsetGraphicsMailer's string2params.
7120
7121 2003-07-21  Angus Leeming  <leeming@lyx.org>
7122
7123         * BufferView_pimpl.C (buffer):
7124         * buffer.C (d-tor):
7125         * lyx_main.C (LyX):
7126         * lyxfunc.C (dispatch):
7127         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
7128         rather than the grfx shortcut.
7129
7130 2003-07-21  André Pönitz  <poenitz@gmx.net>
7131
7132         * rowpainter.C: remove unused variables
7133
7134         * tabular_funcs.C:
7135         * tabular_funcs.h: move to tabular.C
7136         * Makefile.am: adjust
7137
7138         * tabular.[Ch]: basic optical cleaning
7139
7140         * author.h: pass references, not values
7141
7142 2003-07-18  André Pönitz  <poenitz@gmx.net>
7143
7144         * lyxtext.h:
7145         * metricsinfo.C:
7146         * metricsinfo.h:
7147         * rowpainter.C:
7148         * text.C:
7149         * text2.C:
7150         * text3.C: two-phase drawing for InsetText and InsetTabular
7151         some float -> int changes.
7152
7153 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7154
7155         * lyx_main.C: fix the fix
7156
7157 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
7158
7159         * lyx_main.C: fix a crash in batch mode if no files specified
7160         * converter.C: ws
7161
7162 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * format.[Ch] (papersize): moved to BufferParams
7165         * converter.[Ch] (dvips_options): moved to BufferParams
7166         (dvipdfm_options): moved to anon namespace
7167         * bufferparams.[Ch]: added above functions.
7168
7169 2003-07-17  André Pönitz  <poenitz@gmx.net>
7170
7171         * lyxtext.h:
7172         * rowpainter.C:
7173         * text2.C: don't call inset->update() anymore
7174
7175         * metricsinfo.[Ch]: add convenience constructor
7176
7177 2003-07-16  André Pönitz  <poenitz@gmx.net>
7178
7179         * lyxcursor.[Ch]:
7180         * lyxfunc.[Ch]:
7181         * text.C:
7182         * text2.C: replace the LyXCursor::irow_ member with
7183          on-demand computation of the value
7184
7185 2003-07-16  John Levon  <levon@movementarian.org>
7186
7187         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7188
7189 2003-07-15  André Pönitz  <poenitz@gmx.net>
7190
7191         * text.C:
7192         * text2.C: remove no more needed refresh_row
7193
7194 2003-07-15  André Pönitz  <poenitz@gmx.net>
7195
7196         * lyxtext.h:
7197         * rowpainter.C:
7198         * text2.C:
7199         * text3.C: refresh_status tristate -> need_update bool
7200
7201 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7202
7203         * lyxtext.h (init): remove reinit argument (act as if always true)
7204         * text2.C: adjust to that
7205
7206 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7207
7208         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7209         * text3.C: use it to delete selections in some cases
7210         (bugs 441, 673, 702, 954).
7211
7212 2003-07-14  André Pönitz  <poenitz@gmx.net>
7213
7214         * rowpainter.[Ch]: reduce interface
7215
7216 2003-07-14  André Pönitz  <poenitz@gmx.net>
7217
7218         * BufferView_pimpl.C:
7219         * text2.C: adjust after removing unused BufferView * argument
7220
7221 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7222
7223         * text2.C (init): fix a crash fired on resize
7224
7225 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7226
7227         * buffer.[Ch]: added new closing signal
7228         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7229         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7230         BufferView::Pimpl via the closing the signal
7231
7232 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7233
7234         * buffer.[Ch]: take out all bv-related from buffer
7235         * BufferView.C:
7236         * BufferView_pimpl.[Ch]: connect to new signals
7237         * CutAndPaste.C: removed useless asserts
7238         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7239         * lyxvc.[Ch]:
7240         * vc-backend.[Ch]:
7241         * lyxfunc.C: moved view-related funciontality from vc here
7242         * paragraph.C: removed outdated comments
7243         * text.C: ws
7244
7245 2003-07-10  André Pönitz  <poenitz@gmx.net>
7246
7247         * BufferView_pimpl.C:
7248         * tabular.h:
7249         * tabular_funcs.C:
7250         * text.C:
7251         * text2.C: remove InsetText::InnerCache, clean up consequences
7252
7253 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7254
7255         * ispell.C: fix two typos in error messages
7256
7257 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7258
7259         * Extend Note inset to other forms of annotation like Comment
7260         and Greyedout. Right button click gives dialog.
7261
7262         Files modified or added (+):
7263
7264         * insetnote.[Ch]
7265         * FormNote.[Ch]      +
7266         * ControlNote.[Ch]   +
7267         * form_note.fd       +
7268         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7269         frontends/controllers
7270         * xforms/Dialogs.C
7271         * factory.C
7272
7273 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7274
7275         * aspell.C: add missing namespace lyx::support
7276
7277 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7278
7279         * BufferView.[Ch] (newFile): Add
7280         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7281         * LaTeX.[Ch] (message): added this signal and use it
7282         * buffer.[Ch] (busy, message): added these signals and use them
7283         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7284         * converter.C:
7285         * exporter.C:
7286         * format.C:
7287         * importer.C: use buffer signals instead of direct bv calling
7288         * lyx_cb.[Ch] (ShowMessage): removed
7289         * lyx_main.C:
7290         * lyxfunc.C:
7291         * paragraph_funcs.C:
7292         * text2.C: use buffer signals
7293
7294 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * introduce namespace lyx::graphics
7297
7298 2003-07-02  André Pönitz  <poenitz@gmx.net>
7299
7300         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7301
7302 2003-07-01  André Pönitz  <poenitz@gmx.net>
7303
7304         * text.C:
7305         * text2.C:
7306         * text3.C:
7307         * text_funcs.[Ch]:
7308         * textcursor.h:
7309         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7310           text*.C to text_func.C
7311
7312 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7313
7314         * introduce namespace lyx::support
7315
7316 2003-06-30  André Pönitz  <poenitz@gmx.net>
7317
7318         * Chktex.C:
7319         * funcrequest.C:
7320         * lyxtext.h:
7321         * text.C: re-enable --with-included-string
7322
7323 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * textcursor.C: add <config.h>
7326
7327         * text.C (getWord): remove const from word_location arg
7328
7329         * lyxvc.C (getLogFile): fix const type order
7330
7331         * lyxtext.h: remove const from word_location arg, add arg name
7332
7333         * lyxlayout.h: currect type on labeltype.
7334
7335         * importer.C: correct \file
7336
7337         * converter.C (intToFormat): use std:: on ret val, ws changes
7338
7339         * bufferlist.h: correct \file
7340
7341         * buffer.C (makeLinuxDocFile): fix const type order
7342         (makeDocBookFile): ditto
7343         (fillWithBibKeys): use std:: on stdlib args.
7344
7345         * CutAndPaste.C: fix authors.
7346         (availableSelections): use std:: on return vector
7347
7348 2003-06-27  André Pönitz  <poenitz@gmx.net>
7349
7350         * BufferView_pimpl.C:
7351         * bufferview_funcs.C:
7352         * lyxcursor.C:
7353         * lyxcursor.h:
7354         * lyxfunc.C:
7355         * lyxtext.h:
7356         * rowpainter.C:
7357         * text.C:
7358         * text2.C:
7359         * text3.C: remove LyXCursor::row_ member
7360
7361         * lyxtext.h:
7362         * text.C: rename fullRebreak() to partialRebreak() and implement
7363           a fullRebreak() that really bereks fully
7364
7365         * textcursor.h: new struct for cursor-related data
7366
7367 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7368
7369         * lyx_main.C (LyX): get full path of document loaded on the
7370         command line
7371
7372 2003-06-26  André Pönitz  <poenitz@gmx.net>
7373
7374         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7375           remove unused/broken operator>,<,>=.
7376
7377         *       text.C: remove only use of broken operator<= in an Assert().
7378
7379 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7380
7381         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7382         moved errorlist_.clear to showErrorList
7383
7384 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7385
7386         * converter.C (scanLog, runLaTeX):
7387         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7388         move the bv->showErrorList call to the callers
7389         * lyxfunc.C: i.e. here...
7390         * text2.C: and here
7391         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7392         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7393         namespace, the second to...
7394         * buffer_funcs (BufferFormat, parseErrors): added
7395         * errorlist.C (ErrorList(TeXErrors const &)): removed
7396
7397 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7398
7399         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7400
7401 2003-06-24  "Garst R. Reese" <reese@isn.net>
7402
7403         * debug.C: fix typo
7404
7405 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7406
7407         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7408
7409         * version.C.in: change docversion to 1.4
7410
7411 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7412
7413         * buffer.C: fix a bug just introduced
7414
7415 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7416
7417         * buffer.[Ch]: added the parseError signal and use it, removed
7418         sgmlError
7419         * BufferView.[Ch] (addError): moved to ...
7420         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7421         to the Buffer::parseError signal to catch (guess what) parse errors
7422         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7423
7424 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7425
7426         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7427         ability to create a buffer and to return an existing one from
7428         the list. Moved these functions to...
7429         * buffer_funcs.[Ch]: added
7430         * BufferView.[Ch] (loadLyXFile): added
7431         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7432         job removed from bufferlist::loadLyXFile.
7433         * buffer.C (setReadOnly): make it work without view
7434         (i.e added an if (users))
7435
7436 2003-06-19  Angus Leeming  <leeming@lyx.org>
7437
7438         * lfuns.h:
7439         * LyXAction.C (init):
7440         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7441         with LFUN_DIALOG_SHOW <name> <data>.
7442
7443 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7444
7445         * CutAndPaste.C (availableSelections): small compilation fix for
7446         ancient (gcc 2.9x) compilers
7447
7448 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7449
7450         * text3.C (cursorNext): add tmp var
7451
7452         * text2.C (updateCounters): for function calling out of for clause
7453         (replaceSelectionWithString): ditto
7454         (insertStringAsParagraphs): ditto
7455         (getColumnNearX): add tmp var
7456         (setCursorFromCoordinates): add tmp var
7457         (cursorDownParagraph): add tmp var
7458         (deleteEmptyParagraphMechanism): add tmp var
7459
7460         * text.C (insertChar): add tmp var
7461
7462         * rowpainter.C (paintDepthBar): add tmp var
7463
7464         * CutAndPaste.C (availableSelections): potentially check all
7465         paragraphs in a cut to fill the shown strings.
7466
7467 2003-06-18  André Pönitz  <poenitz@gmx.net>
7468
7469         * kbmap.[Ch]: use vector<> instead of list<>
7470
7471 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7472
7473         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7474         pasteSelection with index
7475
7476         * text2.C (pasteSelection): modify, call pasteSelection with index
7477
7478         * paragraph.C (asString): reimplement version with no interval to
7479         call the one with interval.
7480
7481         * lyxtext.h: add index arg to pasteSelection
7482
7483         * MenuBackend.C (MenuItem): handle PasteRecent
7484         (Menu::read::Menutags): add md_pasterecent
7485         (read): handle it
7486         (expandPasteRecent): new function
7487         (expand): use it
7488
7489         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7490
7491         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7492         the limited stack
7493         (availableSelections): new function
7494
7495 2003-06-17  Angus Leeming  <leeming@lyx.org>
7496
7497         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7498
7499 2003-06-17  Angus Leeming  <leeming@lyx.org>
7500
7501         * lfuns.h:
7502         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7503
7504         * lyxfunc.C (dispatch): invoke it.
7505
7506 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7507
7508         * iterators.C (operator++, ParPosition): reintroduce some
7509         const_cast for the benefit of older compilers.
7510
7511 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7512
7513         * text3.C (dispatch): do not modify clipboard when doing
7514         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7515         LFUN_DELETE_SKIP on a selection selection
7516
7517 2003-06-16  André Pönitz  <poenitz@gmx.net>
7518
7519         * BufferView.C:
7520         * buffer.C:
7521         * buffer.h:
7522         * paragraph.C:
7523         * tabular.[Ch]: IU of clone() and getLabelList();
7524
7525 2003-06-13  André Pönitz  <poenitz@gmx.net>
7526
7527         * tabular.h: compactification
7528
7529 2003-06-12  André Pönitz  <poenitz@gmx.net>
7530
7531         * tabular.C:
7532         * tabular.h:
7533         * tabular_funcs.h: some renaming plus whitespace
7534
7535 2003-06-12  André Pönitz  <poenitz@gmx.net>
7536
7537         * BufferView.C:
7538         * BufferView_pimpl.C:
7539         * CutAndPaste.C:
7540         * buffer.C:
7541         * iterators.[Ch]:
7542         * lyxfunc.C:
7543         * text.C:
7544         * toc.C: Return a Paragraph & for ParIterator::operator*()
7545
7546 2003-06-11  John Levon  <levon@movementarian.org>
7547
7548         * lyx_main.C:
7549         * ToolbarBackend.h:
7550         * ToolbarBackend.C: add "Toolbars" section and
7551         put the flags there
7552
7553 2003-06-10  Angus Leeming  <leeming@lyx.org>
7554
7555         * lfuns.h:
7556         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7557
7558         * lyxfunc.C (dispatch): invoke it.
7559
7560 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7561
7562         * main.C: protect <ios> with HAVE_IOS
7563         (main): protect sync_with_stdio with HAVE_IOS
7564
7565 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7566
7567         * text2.C (cutSelection): adjust
7568         (pasteSelection): adjust
7569
7570         * messages.C: handle get of empty string
7571
7572         * main.C (main): use sync_with_stdio(false)
7573
7574         * lyxfunc.C (dispatch): adjust
7575
7576         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7577         (WriteAs): remove unneeded BufferView arg.
7578
7579         * bufferparams.h: use correct types on papersize, papersize2 and
7580         paperpackage.
7581
7582         * bufferparams.C (readToken): adjust for type
7583         (writeLaTeX): add missing cases to switch.
7584
7585         * bufferlist.C (quitWriteBuffer): adjust
7586         (close): adjust
7587
7588         * buffer.C (asciiParagraph): remove some commented code.
7589
7590         * CutAndPaste.C: remove current_view extern variable.
7591         (cutSelection): add BufferParams arg.
7592         (eraseSelection): add BufferParams arg.
7593         (pasteSelection): add Buffer const & arg
7594
7595 2003-06-07  John Levon  <levon@movementarian.org>
7596
7597         * buffer.C:
7598         * paragraph_funcs.C:
7599         * paragraph_pimpl.C:
7600         * text.C:
7601         * text2.C:
7602         * paragraph.h:
7603         * paragraph.C: allow InsetERT to freely space lines,
7604         and some consolidation of code
7605
7606 2003-06-06  José Matos  <jamatos@fep.up.pt>
7607
7608         * buffer.C (makeDocBookFile): fix bug #821
7609
7610 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7611
7612         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7613
7614 2003-06-04  Angus Leeming  <leeming@lyx.org>
7615
7616         * buffer.C: bump format to 224.
7617
7618 2003-06-05  André Pönitz  <poenitz@gmx.net>
7619
7620         * text2.C (redoParagraphs): remove two const_cast<>
7621
7622 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7623
7624         * ParagraphList.h: remove last remnants of NO_STD_LIST
7625
7626 2003-06-03  Angus Leeming  <leeming@lyx.org>
7627
7628         * factory.C (createInset): small change to the way InsetExternal's params
7629         are set.
7630
7631 2003-06-04  André Pönitz  <poenitz@gmx.net>
7632
7633         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7634
7635         * paragraph_pimpl.h:
7636         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7637
7638         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7639
7640         * undo_funcs.C: make some simple cases of undo work again
7641
7642 2003-06-03  John Levon  <levon@movementarian.org>
7643
7644         * ispell.C: HPUX doesn't have sys/select.h
7645         (from Albert Chin)
7646
7647 2003-06-03  John Levon  <levon@movementarian.org>
7648
7649         * CutAndPaste.C: update tabular and include inset
7650         buffer references
7651
7652         * buffer.h:
7653         * paragraph.h:
7654         * paragraph.C: remove owningBuffer(), don't pass Buffer
7655         to clone()
7656
7657         * factory.C: insetGraphicsParams changed
7658
7659 2003-06-02  John Levon  <levon@movementarian.org>
7660
7661         * LyXAction.C:
7662         * factory.C:
7663         * lfuns.h:
7664         * lyxfunc.C:
7665         * text3.C: remove insetparent
7666
7667 2003-06-02  John Levon  <levon@movementarian.org>
7668
7669         * buffer.h:
7670         * buffer.C: fix inset_iterator.end(), move out of line
7671         (bug 1149)
7672
7673 2003-06-01  John Levon  <levon@movementarian.org>
7674
7675         * text3.C: use a proper cut/paste when doing inset
7676         insert (from Jürgen Spitzmüller)
7677
7678 2003-06-01  John Levon  <levon@movementarian.org>
7679
7680         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7681
7682 2003-05-30  André Pönitz  <poenitz@gmx.net>
7683
7684         * rowpainter.C: unify second drawing phase
7685
7686 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * trans_mgr.C: remove one case of current_view
7689
7690         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7691
7692         * paragraph_funcs.h: remove paragraph.h include
7693
7694         * paragraph.h: delete NO_STD_LIST stuff
7695
7696         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7697
7698         * buffer.h: remove paragraph.h include
7699
7700         * ParagraphList.C: delete file
7701
7702         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7703
7704         * toc.C (getTocList): adjust
7705
7706         * paragraph_pimpl.C (validate): adjust
7707
7708         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7709
7710         * paragraph.C (Paragraph): adjust
7711         (getPositionOfInset): use const_iterator, adjust
7712         (bibitem): use const_iterator, adjust
7713         (setInsetOwner): adjust
7714
7715         * iterators.C (operator++): adjust
7716
7717         * InsetList.[Ch]: Replace selfmade iterator with standard
7718         vector::iterator also introduce const_iterator. Remove getPos,
7719         getInset and setInset from InsetTable. Adjust accordingly.
7720
7721         * BufferView.C (lockInset): adjust
7722         (ChangeInsets): adjust
7723
7724         * tabular.[Ch]: delete commented same_id functions
7725
7726 2003-05-28  John Levon  <levon@movementarian.org>
7727
7728         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7729
7730 2003-05-28  André Pönitz  <poenitz@gmx.net>
7731
7732         * metricsinfo.[Ch]: remove 'fullredraw' member
7733
7734 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7735
7736         * lyxtextclass.C (operator): remove caching.
7737
7738 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7739
7740         * text3.C: adjust
7741
7742         * text2.C (cursorBottom): adjust
7743         (setCounter): use ParagraphList::find, adjust
7744
7745         * text.C (workWidth): use ParagraphList::find, adjust
7746
7747         * lyxcursor.C (LyXCursor): adjust
7748
7749         * buffer.C (inset_iterator): adjust
7750
7751         * ParagraphList.h: make iterator(value_type) private, make
7752         ParagraphList a friend of iterator.
7753
7754         * ParagraphList.C (find): new function
7755
7756         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7757
7758 2003-05-27  André Pönitz  <poenitz@gmx.net>
7759
7760         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7761
7762 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7763
7764         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7765
7766 2003-05-26  John Levon  <levon@movementarian.org>
7767
7768         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7769
7770 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * remove same_id from function signatures, adjust.
7773
7774 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7777
7778         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7779
7780         * paragraph.C (Paragraph): get rid of same_ids parameter
7781
7782         * ParagraphList.C (insert): adjust
7783         (push_back): adjust
7784
7785 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7786
7787         * paragraph_funcs.C (breakParagraph): adjust
7788         (breakParagraphConservative): adjust
7789
7790         * buffer.C (readParagraph): adjust
7791
7792         * ParagraphList.C (insert): take a reference instead of a pointer
7793         (insert): adjust
7794
7795         * paragraph.[Ch] (id): new function
7796
7797         * bufferlist.C (newFile): adjust
7798
7799         * ParagraphList.C (ParagraphList): adjust
7800         (assign): adjust
7801         (push_back): take a reference instead of a pointer.
7802
7803         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7804
7805         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7806         instead.
7807
7808         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7809         set else use old code.
7810
7811         * ParagraphList.C: remove all NO_NEXT code and only compile this
7812         code of NO_STD_LIST is set.
7813
7814 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7815
7816         * BufferView_pimpl.C:
7817         * TextCache.C:
7818         * TextCache.h:
7819         * bufferlist.C:
7820         * errorlist.h:
7821         * format.C:
7822         * format.h:
7823         * graph.C:
7824         * lyxfunc.C:
7825         * lyxrc.C:
7826         * graphics/GraphicsConverter.C:
7827         * graphics/PreviewLoader.C: header adjustment
7828
7829 2003-05-23  Angus Leeming  <leeming@lyx.org>
7830
7831         * LaTeXFeatures.[Ch] (useBabel): new method.
7832         * bufferparams.C (writeLaTeX): use it.
7833
7834 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * ParagraphList.h (set): remove unused function.
7837
7838 2003-05-23  André Pönitz  <poenitz@gmx.net>
7839
7840         * BufferView.C:
7841         * BufferView_pimpl.C:
7842         * buffer.C:
7843         * buffer.h:
7844         * lyxfunc.C:
7845         * undo_funcs.C: setUndo reworked
7846
7847         * iterators.[Ch]: add access to topmost ParagraphList
7848
7849         * lyxtext.[Ch] (workWidth): add a const
7850
7851 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7852
7853         * texrow.[Ch] (increasePos): remove function
7854         * exporter.C (export): removed unused var and outdated comment
7855
7856 2003-05-23  Angus Leeming  <leeming@lyx.org>
7857
7858         * latexrunparams.h: rename fragile as moving_arg.
7859         * paragraph.C (simpleTeXOnePar): ditto.
7860         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7861
7862 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7863
7864         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7865         (createUndo): ditto
7866         (textUndoOrRedo): comment out a currently unused var.
7867
7868         * paragraph.h (NO_NEXT): enable NO_NEXT
7869
7870         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7871
7872         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7873
7874         * exporter.C (Export): adjust for removeAutoInsets removal.
7875
7876         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7877
7878         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7879
7880         * BufferView.[Ch] (removeAutoInsets): delete function
7881
7882 2003-05-22  Angus Leeming  <leeming@lyx.org>
7883
7884         * latexrunparams.h: add a free_spacing variable.
7885
7886         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7887         to pass moving_arg, as the data is stored in runparams.fragile.
7888
7889         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7890         to Inset::latexOptional or to simpleTeXOnePar.
7891
7892         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7893         free_spacing arg to Inset::latexOptional.
7894
7895         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7896         free_spacing arg.
7897
7898 2003-05-22  Angus Leeming  <leeming@lyx.org>
7899
7900         * latexrunparams.h: add fragile and use_babel variables.
7901
7902         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7903         * buffer.C (makeLaTeXFile): store this returned value in
7904         runparams.use_babel, thus passing it to the inset::latex methods.
7905
7906         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7907         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7908
7909         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7910         longer has a fragile arg, as it is stored in runparams.fragile.
7911
7912         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7913         moving_arg parameter as the data is stored in runparams.fragile.
7914
7915         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7916         a fragile parameter as the data is stored in runparams.fragile.
7917
7918 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7921
7922 2003-05-22  Angus Leeming  <leeming@lyx.org>
7923
7924         * latexrunparams.h: add a 'bool nice' which defaults to false.
7925
7926         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7927         now encapsulated within runparams.
7928
7929         * bufferlist.C (updateIncludedTeXfiles):
7930         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7931
7932 2003-05-22  Angus Leeming  <leeming@lyx.org>
7933
7934         * latexrunparams.h: new file containing struct LatexRunParams.
7935         * Makefile.am: add new file.
7936
7937         * LaTeX.[Ch] (c-tor, run):
7938         * buffer.[Ch] (makeLaTeXFile):
7939         * bufferlist.[Ch] (updateIncludedTeXfiles):
7940         * converter.C (convert, scanLog):
7941         * converter.[Ch] (runLaTeX):
7942         * exporter.C (Export):
7943         * paragraph.[Ch] (simpleTeXOnePar):
7944         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7945         * paragraph_funcs.[Ch] (latexParagraphs):
7946         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7947         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7948         pass around a LatexRunParams parameter.
7949
7950 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7951
7952         * paragraph.[Ch]: remove unused constructor
7953
7954         * ParagraphList.C (erase): new function, taking two iterators
7955
7956 2003-05-22  André Pönitz  <poenitz@gmx.net>
7957
7958         * undo_funcs.C: remove duplicated code
7959
7960         * iterator.[Ch]: operator=
7961
7962 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7963
7964         * tabular.C (SetMultiColumn): ws changes
7965
7966         * rowpainter.C (paintFirst): get rid of a ->previous
7967
7968         * lyx_cb.C (getPossibleLabel): parlist simplification
7969
7970         * BufferView.C (ChangeInsets): simplify slightly.
7971
7972 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7973
7974         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7975         * lfuns.h: new LFUN_SPACE
7976         * lyxfunc.C: protected space has a new lfun
7977         * paragraph_funcs.C: read new space insets
7978         * text3.C:
7979         * factory.C: handle new space insets
7980
7981 2003-05-22  André Pönitz  <poenitz@gmx.net>
7982
7983         * BufferView.C:
7984         * BufferView_pimpl.C:
7985         * buffer.[Ch]:
7986         * lyxfunc.C:
7987         * undo_funcs.C: return a ParIterator from getParFromID.
7988
7989         * iterators.[Ch]: add two const's
7990
7991 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7992
7993         * toc.C (getTocList): adjust
7994
7995         * iterators.[Ch]: rework for parlist
7996
7997         * buffer.C (par_iterator_begin): adjust
7998         (par_iterator_end): adjust
7999
8000         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
8001
8002         * BufferView.C (removeAutoInsets): adjust
8003         (ChangeInsets): adjust
8004
8005 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
8006
8007         * text.C (top_y): fix bug 1110
8008
8009 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
8010
8011         * errorlist.[Ch]: added
8012         * buffer.C:
8013         * BufferView.[Ch]:
8014         * BufferView_pimpl.C:
8015         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
8016         instead
8017
8018 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8019
8020         * Makefile.am: ensure that lyx is relinked upon changes to the
8021         various "convenience" libs.
8022
8023 2003-05-20  Angus Leeming  <leeming@lyx.org>
8024
8025         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
8026         files are compiled in alphabetical order again.
8027
8028         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
8029
8030 2003-05-19  Angus Leeming  <leeming@lyx.org>
8031
8032         * gettext.[Ch]: remove "char const * _(char const *)".
8033
8034 2003-05-19  André Pönitz  <poenitz@gmx.net>
8035
8036         * dimension.[Ch]: promote from mathed/dimension.[Ch]
8037
8038         * Makefile.am:
8039         * BufferView.C:
8040         * DepTable.h:
8041         * LaTeXFeatures.C:
8042         * buffer.C:
8043         * lyxfont.C:
8044         * lyxlex.h:
8045         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
8046
8047 2003-05-19  André Pönitz  <poenitz@gmx.net>
8048
8049         * buffer.C:
8050         * lyxlayout.[Ch]:
8051         * lyxtextclass.[Ch]:
8052         * paragraph.C:
8053         * paragraph_funcs.[Ch]:
8054         * text2.C:
8055         * text3.C: more insetenv work
8056
8057 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
8058
8059         * ParagraphParameters.C (params2string): small bug fixed
8060
8061 2003-05-16  André Pönitz  <poenitz@gmx.net>
8062
8063         * debug.C:
8064         * bufferview_funcs.C: patch from Kornel Benko to prevent
8065           crash when _(...) is called twice in a statement
8066
8067 2003-05-16  André Pönitz  <poenitz@gmx.net>
8068
8069         * BufferView.C:
8070         * lyxfunc.C:
8071         * text.C:
8072         * text2.C:
8073         * text3.C:
8074         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
8075
8076 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
8077
8078         * lyx_main.C (init): remove spurious static_cast
8079
8080 2003-05-14  André Pönitz  <poenitz@gmx.net>
8081
8082         * BufferView.C: fix format string
8083
8084 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
8085
8086         * BufferView.[Ch] (insertErrors): removed
8087         * BufferView.[Ch] (showErrorList): added
8088         * buffer.C (runChkTeX):
8089         * converter.C (scanLog): call showErrorList instead of inserterrors
8090
8091 2003-05-13  André Pönitz  <poenitz@gmx.net>
8092
8093         * BufferView_pimpl.C:
8094         * buffer.C:
8095         * bufferview_func.C:
8096         * MenuBackend.C:
8097         * lyxfunc.C:
8098         * lyxrc.C:
8099         * tex-accent.C:
8100         * text3.C:
8101         * toc.C:
8102         * tabular_funcs.h: tostr() from its own header
8103
8104         * ParagraphParameters.C:
8105         * ToolbarBackend.C:
8106         * bufferparams.C:
8107         * format.C:
8108         * lyxlex_pimpl.C:
8109         * text3.C: STRCONV()
8110
8111 2003-05-12  André Pönitz  <poenitz@gmx.net>
8112
8113         * BufferView.C:
8114         * BufferView_pimpl.C:
8115         * CutAndPaste.C:
8116         * LaTeX.C:
8117         * LaTeXFeatures.C:
8118         * ParagraphParameters.C:
8119         * buffer.C:
8120         * bufferlist.C:
8121         * bufferparams.C:
8122         * bufferview_funcs.C:
8123         * converter.C:
8124         * counters.C:
8125         * debug.C:
8126         * exporter.C:
8127         * format.C:
8128         * importer.C:
8129         * lyx_cb.C:
8130         * lyx_main.C:
8131         * lyxfont.C:
8132         * lyxfunc.C:
8133         * lyxvc.C:
8134         * paragraph.C:
8135         * paragraph_funcs.C:
8136         * tabular.C:
8137         * tabular_funcs.C:
8138         * text2.C:
8139         * text3.C:  boost::format -> bformat  all over the place
8140
8141
8142 2003-05-09  André Pönitz  <poenitz@gmx.net>
8143
8144         * LColor.[Ch]: Pimpl the #include <map> away
8145
8146 2003-05-09  John Levon  <levon@movementarian.org>
8147
8148         * bufferlist.C: never remove emergency saves
8149
8150 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * Makefile.am: better lib building
8153
8154 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * texrow.[Ch]: remove dependency on Paragraph and just store a id
8157         instead.
8158         * paragraph_pimpl.C (simpleTeXBlanks): adjust
8159         (simpleTeXSpecialChars): adjust
8160         (simpleTeXSpecialChars): adjust
8161         * paragraph.C (simpleTeXOnePar): adjust
8162         * buffer.C (makeLaTeXFile): adjust
8163
8164         * Makefile.am (BOOST_LIBS): allow boost as system lib.
8165
8166         * text2.C (changeDepth): parlist cleanup
8167         (getColumnNearX): ditto
8168
8169         * rowpainter.C (getLabelFont): parlist cleanup
8170
8171         * bufferlist.C (newFile): parlist cleanup
8172
8173         * CutAndPaste.C (eraseSelection): parlist cleanup
8174
8175         * BufferView_pimpl.C (trackChanges): parlist cleanup
8176         (dispatch): ditto
8177
8178         * BufferView.C (lockInset): parlist cleanup.
8179         (ChangeInsets): ditto
8180
8181 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * CutAndPaste.h: Update file header.
8184
8185         * CutAndPaste.C: Update file header.
8186         Store the parts cut out of the Document in a limited_stack.
8187         (copySelection): adjust
8188         (pasteSelection): new function, takes the index in the limited stack.
8189         (nrOfParagraphs): adjust
8190         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8191         simplify error inset insertion.
8192         (checkPastePossible): adjust
8193
8194 2003-05-06  John Levon  <levon@movementarian.org>
8195
8196         * text2.C: don't cast wrap inset to float
8197
8198 2003-05-05  André Pönitz  <poenitz@gmx.net>
8199
8200         * iterator.C:
8201         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8202
8203         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8204           few naked Paragraph *.
8205
8206 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8207
8208         * bufferparams.C: Output warning if a document with missing
8209         TeX document class is loaded
8210         * exporter.C: Disable TeX exports if the document class is missing
8211         * lyxtextclass.C:
8212         * lyxtextclass.h:
8213         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8214         isTeXClassAvailable()
8215
8216 2003-05-03  John Levon  <levon@movementarian.org>
8217
8218         * BufferView.h:
8219         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8220         explicit cursor show/hide
8221
8222         * BufferView_pimpl.h:
8223         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8224         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8225
8226         * lyxfunc.C: hide cursor before dispatching.
8227
8228         * lyx_cb.C:
8229         * lyxfind.C:
8230         * text.C:
8231         * text3.C: remove explicit cursor hides
8232
8233 2003-05-02  André Pönitz  <poenitz@gmx.net>
8234
8235         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8236
8237         * undo_funcs.C:
8238         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8239           linked lists
8240
8241         * text2.C: tiny whitespace
8242
8243 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * undo_funcs.C: almost only ws changes.
8246
8247         * ParagraphList.C (splice): just return if pl is empty.
8248
8249 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * ParagraphList.C (splice): new function.
8252
8253         * CutAndPaste.C (pasteSelection): use it
8254
8255 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8256
8257         * CutAndPaste.C (pasteSelection): remove the last next and
8258         previous from this file.
8259
8260 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8261
8262         * CutAndPaste.C (pasteSelection): more clean up, user proper
8263         ParagraphList functions for pasteing.
8264
8265         * ParagraphList.C (insert): new function, three arg insert
8266
8267 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8268
8269         * ParagraphList.C (insert): new function, three arg insert
8270
8271         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8272         not on paragraphs.
8273
8274 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8277
8278 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8281
8282 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8283
8284         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8285         (copySelection): clean up a bit.
8286         (pasteSelection): use make_pair
8287
8288         * ParagraphList.C (ParagraphList): implement copy constructor
8289         (operator=): implement, base on copy constructor.
8290         (assign): new func
8291
8292         * paragraph.C (erase): return a bool
8293
8294         * paragraph_pimpl.C (erasePos): remove function, move contents...
8295         (erase): ... here. Return a bool.
8296         (erase): call erase instead of erasePos.
8297
8298 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8299
8300         * ParagraphList.h: define PitPosPair
8301         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8302         ParagraphList, fix a bug on pasting multiple pars
8303         * text2.C: change interface to C&P
8304
8305 2003-04-30  André Pönitz  <poenitz@gmx.net>
8306
8307         * undo_func.C: revert part of yesterday's patch 2
8308
8309 2003-04-30  John Levon  <levon@movementarian.org>
8310
8311         * LColor.C: s/tabular/table/
8312
8313 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8314
8315         * text3.C (dispatch): do not convert iterator -> pointer
8316         * undo_funcs.C (setCursorParUndo): ditto
8317         * text_funcs.C (transposeChars): ditto
8318
8319         * text2.C (setLayout): ws changes only
8320
8321         * text.C (breakParagraph): do not convert iterator -> pointer
8322         (insertChar): ditto
8323         (acceptChange): ditto
8324         (rejectChange): ditto
8325         (changeCase): ditto
8326         (Delete): ditto
8327         (backspace): ditto
8328
8329         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8330         pointer
8331
8332 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8333
8334         * text3.C (gotoInset): YABG (yet another bad getChar)
8335
8336 2003-04-29  André Pönitz  <poenitz@gmx.net>
8337
8338         * paragraph.h: make operator= private unimplemented as long as
8339           it is unusable
8340
8341         * ParagraphList.C: whitespace
8342
8343         * paragraph.[Ch]:
8344         * paragraph_pimpl.[Ch]:
8345         * paragraph_funcs.C:
8346         * CutAndPaste.C:
8347         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8348
8349         * text2.C:
8350           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8351
8352 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8353
8354         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8355         * paragraph.[Ch] (erase):
8356         * paragraph_pimpl.[Ch] (erase): change return type and value
8357         * text2.C (cutSelection): some rework
8358
8359 2003-04-28  John Levon  <levon@movementarian.org>
8360
8361         * bufferlist.C: changes for unsaved changes dialog
8362
8363 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * bufferlist.C (newFile): set language (messages_) for new
8366         documents also.
8367
8368         * buffer.C (readFile): ws changes only.
8369
8370 2003-04-28  André Pönitz  <poenitz@gmx.net>
8371
8372         * undo_funcs.C:
8373         * lyxfunc.C:
8374         * buffer.[Ch]:
8375         * BufferView_pimpl.C:
8376         * BufferView.C: getParFromID related ParagraphList::iterator changes
8377
8378 2003-04-28  André Pönitz  <poenitz@gmx.net>
8379
8380         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8381           Changes
8382
8383 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * messages.C: remove one more localedir class variable.
8386
8387 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8388
8389         * messages.C (getLocaleDir): singleton generation function
8390         (Pimpl): use it.
8391         (Messages): add a default constructor.
8392
8393         * main.C (main): do not setup localedir here, do not call
8394         gettext_init.
8395
8396         * gettext.C (_): use it.
8397         (gettext_init): delete funciton
8398
8399 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * gettext.C (getLyXMessages): new singleton generating function.
8402
8403         * buffer.C (updateDocLang): adjust
8404
8405         * Makefile.am (messages.o): add target
8406         (main.o): remove target
8407
8408 2003-04-27  John Levon  <levon@movementarian.org>
8409
8410         * bufferlist.C:
8411         * lyx_cb.C:
8412         * lyxfunc.C:
8413         * lyxvc.C: specify cancel button in Alert::prompt
8414
8415 2003-04-26  John Levon  <levon@movementarian.org>
8416
8417         * text3.C:
8418         * lyxfunc.C:
8419         * lfuns.h:
8420         * LyXAction.C: add LFUN_INSET_SETTINGS
8421
8422         * lyxfunc.C: don't enable tabular-feature when there's
8423         just any locking inset
8424
8425 2003-04-26  John Levon  <levon@movementarian.org>
8426
8427         * bufferlist.C: re-add Cancel to buffer close question
8428
8429         * lyxfunc.C: fix import UI a bit
8430
8431 2003-04-25  John Levon  <levon@movementarian.org>
8432
8433         * gettext.C: remove the broken asserts for now
8434
8435 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8436
8437         * messages.C: make case where setlocale cannot comply work better.
8438
8439         * buffer.C (updateDocLang): new function
8440         (changeLanguage): use it
8441         (readFile): use it
8442
8443         * text2.C (setCounter): use B_ a bit.
8444
8445         * lyxlayout.C (Read): be sure to trim the label strings.
8446
8447         * messages.C (Messages): fix typo in comment
8448
8449         * buffer.C (readFile): set message_ after file is loaded.
8450         (makeDocBookFile): remove double return
8451         (changeLanguage): reset message_ upon language change.
8452         (B_): new func, use this to get translated buffer strings.
8453
8454         * main.C: add myself and Jean Marc as authors.
8455
8456 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8457
8458         * messages.[hC]: pimplify Messages, and three different pimpls to be
8459         used in different circumstances.
8460
8461         * gettext.[Ch]: change for use with new message code.
8462
8463 2003-04-24 André Pönitz <poenitz@gmx.net>
8464
8465         * factory.C: support for eqref
8466
8467 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * messages.[Ch]: add missing char
8470
8471         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8472
8473         * messages.[Ch]: New files
8474
8475 2003-04-18  John Levon  <levon@movementarian.org>
8476
8477         * BufferView.h:
8478         * BufferView.C:
8479         * BufferView_pimpl.C:
8480         * lfuns.h:
8481         * LyXAction.C:
8482         * lyxtext.h:
8483         * text2.C: remove layout-copy/paste (bug 778)
8484
8485 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8486
8487         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8488
8489 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8490
8491         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8492         if they succeed. Act accordingly.
8493
8494 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8495
8496         * text2.C (setCharFont): adjust
8497         (setCounter): adjust
8498         (insertStringAsLines): adjust
8499
8500         * text.C (leftMargin): adjust
8501         (setHeightOfRow): adjust
8502
8503         * rowpainter.C (paintFirst): adjust
8504         (paintLast): adjust
8505
8506         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8507         (outerHook): ditto
8508         (isFirstInSequence): ditto
8509         (getEndLabel): ditto
8510         (outerFont): adjust
8511
8512         * paragraph.C (getParLanguage): comment out some hard stuff.
8513
8514         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8515         (sgmlError): ditto
8516         (simpleDocBookOnePar): ditto
8517         (makeDocBookFile): use ParagraphList::iterator
8518
8519         * CutAndPaste.C (pasteSelection): adjust
8520
8521 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8522
8523         * text2.C (getFont): adjust
8524         (getLayoutFont): adjust
8525         (getLabelFont): adjust
8526
8527         * paragraph_funcs.C (TeXOnePar): adjust
8528
8529         * buffer.C (simpleLinuxDocOnePar): adjust
8530         (simpleDocBookOnePar): adjust
8531
8532         * CutAndPaste.C (pasteSelection): adjust
8533
8534         * BufferView.C (getEncoding): adjust
8535
8536         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8537
8538 2003-04-16  John Levon  <levon@movementarian.org>
8539
8540         * lyxfind.C: use parlist stuff for search/changes
8541
8542 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8543
8544         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8545
8546         * text2.C (deleteEmptyParagraphMechanism): adjust
8547
8548         * text2.[Ch] (ownerParagraph): delete func (both of them
8549
8550 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8553
8554 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8555
8556         * ParagraphList.C: prepare for NO_NEXT
8557
8558 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8559
8560         * text2.C (getFont): adjust
8561         (getLayoutFont): adjust
8562         (getLabelFont): adjust
8563
8564         * paragraph.C (getFont): adjust
8565         (getLabelFont): adjust
8566         (getLayoutFont): adjust
8567
8568         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8569
8570 2003-04-15  John Levon  <levon@movementarian.org>
8571
8572         From Angus Leeming
8573
8574         * lyx_main.C: handle Include in .ui files
8575
8576 2003-04-15  John Levon  <levon@movementarian.org>
8577
8578         * MenuBackend.C: make the doc files length shorter
8579
8580         * ToolbarBackend.h:
8581         * ToolbarBackend.C: handle toolbar placement flags,
8582         Minibuffer
8583
8584 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8585
8586         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8587         adjust
8588
8589         * paragraph_funcs.C (TeXOnePar): adjust
8590
8591         * paragraph.C (getLabelFont): add outerfont arg, adjust
8592         (getLayoutFont): ditto
8593         (simpleTeXOnePar): adjust
8594
8595         * paragraph_pimpl.C (realizeFont): delete func
8596
8597 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8598
8599         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8600         row argument, constify cur argument.
8601
8602 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8603
8604         * text2.C (getFont): adjust
8605         (getLayoutFont): adjust
8606         (getLabelFont): adjust
8607
8608         * paragraph_funcs.C (TeXOnePar): adjust
8609         (outerFont): new func...
8610         (realizeFont): ...moved out from here, changed this to facilitate
8611         transition
8612
8613         * paragraph.C (getFont): take outerfont as arg, adjust
8614         (simpleTeXOnePar): add outerfont arg, adjust
8615
8616         * buffer.C (simpleLinuxDocOnePar): adjust
8617         (simpleDocBookOnePar): adjust
8618
8619         * CutAndPaste.C (pasteSelection): adjust
8620
8621         * BufferView.C (getEncoding): adjust
8622
8623 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8624
8625         * text2.C (setCharFont): adjust
8626         (setCounter): adjust
8627
8628         * text.C (leftMargin): adjust
8629         (setHeightOfRow): adjust
8630
8631         * rowpainter.C (paintFirst): adjust
8632         (paintLast): adjust
8633
8634         * paragraph_pimpl.C (realizeFont): adjust
8635
8636         * paragraph.C (isFirstInSequence): move from here...
8637         * paragraph_funcs.C (isFirstInSequence): ...to here
8638
8639         * paragraph.C (outerHook): move from here...
8640         * paragraph_funcs.C (outerHook): ...to here
8641
8642         * paragraph.C (depthHook): move from here...
8643         * paragraph_funcs.C (depthHook): ...to here
8644
8645         * paragraph.C (getEndLabel): move from here...
8646         * paragraph_funcs.C (getEndLabel): ...to here
8647
8648         * text2.C (realizeFont): move from here...
8649         * paragraph_funcs.C (realizeFont): ...to here
8650
8651 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8652
8653         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8654
8655 2003-04-14  Angus Leeming  <leeming@lyx.org>
8656
8657         * LColor.[Ch]: scrap LColor mathcursor.
8658
8659 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * lyxlex.[Ch] (text): delete function
8662         * trans.C (Load): adjust
8663         * paragraph_funcs.C (readParToken): adjust
8664
8665 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8666
8667         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8668         vector<char> instead of a char[].
8669
8670         * lyxlex_pimpl.C (getString): adjust
8671         (next): adjust
8672         (lex): use getString
8673         (eatLine): adjust
8674         (nextToken): adjust
8675
8676         * lyxlex.C (text): use pimpl_->getString()
8677         (getBool): ditto
8678         (findToken): ditto
8679
8680 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8683         (makeFontEntriesLayoutSpecific): temp var for par.size()
8684         (setLayout): temp var for ownerParagraphs().end()
8685         (fullRebreak): temp var for rows().end()
8686         (selectionAsString): temp var for boost::next(startpit), realize
8687         that the while really is a regular for loop.
8688         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8689         setCursor in one place.
8690         (setParagraph): temp vr for ownerParagraphs().end()
8691         (updateCounters): make the while loop a for loop
8692         (cutSelection): temp var for ownerParagraphs().end()
8693         (updateInset): make the do {} while() a regular for loop
8694         (getCursorX): use temp vars
8695         (setCurrentFont): use temp vars
8696         (getColumnNearX): use temp vars
8697
8698 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8699
8700         * text.C (transformChar): use temp var for getChar
8701         (computeBidiTables): use temp var for row->par()
8702         (fill): move temp vars for row->par() and pit->layout() earlier in
8703         the function.
8704         (labelFill): use temp var for row->par()
8705         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8706         asc and desc, realize that pit never changes and that firstpit is
8707         just a duplicate and not needed. Exchange rit->par() with pit in a
8708         lot of places.
8709         (breakAgain): use a temp var for boost::next(rit)
8710         (breakAgainOneRow): ditto
8711         (breakParagraph): use a temp var for rows().begin()
8712         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8713         (cursorRightOneWord): use temp var for cursor.par() and
8714         cursor.pos(), remove usage of tmpcursor.
8715         (cursorLeftOneWord): use temp var for cursor.par() and
8716         cursor.pos() only set cur at end of function.
8717
8718 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8719
8720         * text.C, text2.C: exchange all usage of Paragraph::next with
8721         boost::next(ParagraphList::iterator)
8722
8723         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8724
8725         * text2.C (cursorTop): simplify implementation
8726         (cursorBottom): ditto
8727         (setParagraph): use ParagraphList::iterator
8728         (setCurrentFont): adjust
8729         (getColumnNearX): adjust
8730         (cursorRight): adjust
8731         (cursorLeft): remove usage of Paragraph::previous
8732         (cursorUpParagraph): ditto
8733         (deleteEmptyParagraphMechanism): slight cleanup
8734
8735         * text.C (isBoundary): take a Paragraph const & instead of a
8736         pointer as arg.
8737         (addressBreakPoint): ditto
8738         (leftMargin): remove usage of Paragraph::previous.
8739         (setHeightOfRow): ditto
8740         (cursorLeftOneWord): ditto
8741         (selectNextWordToSpellcheck): ditto
8742         (Delete): ditto
8743         (backspace): ditto
8744         (breakParagraph): remove one usage of Paragraph::next
8745         (redoParagraph): ditto
8746         (acceptChange): ditto
8747         (insertChar): adjust
8748         (rowBreakPoint): adjust
8749
8750         * bufferview_funcs.C (toggleAndShow): adjust
8751
8752 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8753
8754         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8755         methods to access it.
8756         * lyxtext.h:
8757         * text.C: Added updateRowPositions to compute all row positions.
8758         Make top_y and getRowNearY() to use the cached y position
8759
8760 2003-04-11  John Levon  <levon@movementarian.org>
8761
8762         * text.C (rowBreakPoint): reintroduce the labelEnd
8763         checks, code copied from the row fill stuff. Deep voodoo.
8764
8765         * text.C (fill): add a comment and debugging for the
8766         next poor soul.
8767
8768 2003-04-11  John Levon  <levon@movementarian.org>
8769
8770         * text.C: make sure fullrow insets get wrapped to the next line,
8771         even when they're in a manual label
8772
8773 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * text2.C (insertParagraph): make it take ParagraphList::iterator
8776         as arg.
8777         (setLayout): make it return ParagraphList::iterator
8778         (redoParagraphs): ditto
8779         (setCounter): ditto
8780         (checkParagraph): ditto
8781
8782         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8783
8784         * text2.C: adjust several funcs.
8785         (realizeFont): take a ParagraphList::iterator as arg.
8786         (getLayoutFont): ditto
8787         (getLabelFont): ditto
8788         (setCharFont): ditto
8789
8790         * text.C: adjust several funcs.
8791
8792 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8793
8794         * text.C (selectNextWordToSpellcheck): don't accidentally
8795         skip insets
8796
8797 2003-04-10  John Levon  <levon@movementarian.org>
8798
8799         * ToolbarBackend.C (getIcon): special handling for
8800         LFUN_MATH_DELIM
8801
8802 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8803
8804         * text2.C (cursorRight): a getChar assert fixed
8805
8806 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8807
8808         * text2.C (getFont): change to take a ParagraphList::iterator
8809         instead of Paragraph*
8810         Adjust several functions.
8811
8812         * text.C (transformChar): change to take a ParagraphList::iterator
8813         instead of Paragraph*
8814         (singleWidth): ditto
8815         Adjust several functions.
8816
8817         * rowpainter.C: adjust several functions
8818         * rowpainter.h:store a ParagraphList::iterator and not a
8819         Paragraph&.
8820
8821
8822 2003-04-09  John Levon  <levon@movementarian.org>
8823
8824         * lyxfunc.C:
8825         * lfuns.h:
8826         * LyXAction.h:
8827         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8828         and the "help" bits as well
8829
8830 2003-04-09  John Levon  <levon@movementarian.org>
8831
8832         * ToolbarBackend.h:
8833         * ToolbarBackend.C: allow multiple toolbars
8834
8835 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8836
8837         * undo_funcs.C (setCursorParUndo): adjust
8838
8839         * text_funcs.C (transposeChars): adjust
8840
8841         * text3.C (gotoNextInset): adjust
8842         (dispatch): adjust
8843
8844         * text2.C (setLayout): adjust
8845         (changeDepth): adjust
8846         (setFont): adjust
8847         (redoParagraphs): adjust
8848         (selectionAsString): adjust
8849         (setParagraph): adjust
8850         (insertInset): adjust
8851         (cutSelection): adjust
8852         (copySelection): adjust
8853         (pasteSelection): adjust
8854         (insertStringAsLines): adjust
8855         (updateInset): adjust
8856         (setCursor): change to take a ParagraphList::iterator parameter
8857         (setCursorIntern): change to take a ParagraphList::iterator parameter
8858         (setCurrentFont): adjust
8859         (cursorLeft): adjust
8860         (cursorRight): adjust
8861         (deleteEmptyParagraphMechanism): adjust
8862
8863         * text.C (breakParagraph): adjust
8864         (insertChar): adjust
8865         (acceptChange): adjust
8866         (rejectChange): adjust
8867         (selectNextWordToSpellcheck): adjust
8868         (changeCase): adjust
8869         (Delete): adjust
8870         (backspace): adjust
8871
8872         * lyxfind.C (SearchForward): adjust
8873         (SearchBackward): adjust
8874         (nextChange): adjust
8875
8876         * lyxcursor.C (par): adjust
8877
8878         * lyxcursor.h: store a ParagraphList::iterator instead of a
8879         Paragraph*
8880
8881         * lyx_cb.C (getPossibleLabel): adjust
8882
8883         * bufferview_funcs.C (toggleAndShow): adjust
8884
8885         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8886         (dispatch): adjust
8887
8888         * BufferView.C (removeAutoInsets): adjust
8889         (lockedInsetStoreUndo): adjust
8890
8891 2003-04-09  John Levon  <levon@movementarian.org>
8892
8893         * ToolbarBackend.C: try icon without argument
8894         if with argument fails
8895
8896 2003-04-08  John Levon  <levon@movementarian.org>
8897
8898         * ToolbarBackend.h:
8899         * ToolbarBackend.C: add getIcon(), handle tooltip,
8900         and change from "Icon" to "Item".
8901
8902 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8903
8904         * BufferView.C (lockInset): another bad getchar crunched
8905
8906 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8907
8908         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8909         again)
8910
8911 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8912
8913         * lyxfind.C (searchForward, searchBackwards): bug 782
8914
8915 2003-04-07  John Levon  <levon@movementarian.org>
8916
8917         * paragraph.C: remove dead comment
8918
8919         * text.C: remove troublesome depth-fiddling code
8920         in leftMargin() and rightMargin() (bug 1017)
8921
8922         * text.C: fix breaking of rows in nested lists
8923         (bug 1004)
8924
8925         * text2.C (updateCounters): fix up depth values
8926         (bug 1013)
8927
8928 2003-04-07  John Levon  <levon@movementarian.org>
8929
8930         * BufferView_pimpl.C: clear message when doc finishes resizing,
8931         and after a mouse event
8932
8933         * lyxfunc.C: clear message after exiting inset
8934
8935 2003-04-07  John Levon  <levon@movementarian.org>
8936
8937         * bufferview_funcs.C: show math status not outside
8938         status in the statusbar
8939
8940 2003-04-07  John Levon  <levon@movementarian.org>
8941
8942         * lyxfunc.C: note status changed after a depth change
8943
8944 2003-04-04  Angus Leeming  <leeming@lyx.org>
8945
8946         * LaTeX.h: move AuxInfo operator==, != out of line.
8947         Remove LaTeX virtual destructor; nothing derives from it.
8948         Move operator()() out of public area and rename it startscript().
8949         Change protected for private.
8950
8951 2003-04-04  Angus Leeming  <leeming@lyx.org>
8952
8953         * lyxfunc.C:
8954         * text2.C: remove unneeded #includes.
8955
8956 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8957
8958         * text2.C (dEPM): fix the heigth of the next row
8959
8960 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8961
8962         * text.C: squashed an invalid getChar requester + some ws changes
8963
8964 2003-04-03  John Levon  <levon@movementarian.org>
8965
8966         * bufferview_funcs.h:
8967         * bufferview_funcs.C:
8968         * lyxfunc.C:
8969         * lyxtext.h:
8970         * text2.C: make getStatus work for the env depth lfuns
8971
8972 2003-04-03  John Levon  <levon@movementarian.org>
8973
8974         * bufferview_funcs.h:
8975         * bufferview_funcs.C:
8976         * lyxfunc.C:
8977         * lyxtext.h:
8978         * text2.C: parlistize decDepth(), by merging it with incDepth()
8979
8980 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8981
8982         * lyxrow.h: store a ParagraphList::iterator instead of a
8983         Paragraph* and adjust other class functions to suit.
8984
8985         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8986         above.
8987
8988 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8989
8990         * text2.C (setCursor): do not anchor to cursor row for the time being
8991
8992 2003-04-02  John Levon  <levon@movementarian.org>
8993
8994         * LyXAction.C:
8995         * lfuns.h:
8996         * lyx_main.C:
8997         * lyxtext.h:
8998         * text.C:
8999         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
9000
9001 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9002
9003         * paragraph.h: make ParagraphList and ParagraphList::iterator
9004         friends of Paragraph.
9005
9006         * buffer.C (makeLinuxDocFile): move towards ParagraphList
9007
9008         * ParagraphList.C: Use the private next_ and previous_ from
9009         Paragraph.
9010
9011 2003-04-01  John Levon  <levon@movementarian.org>
9012
9013         * ToolbarBackend.h:
9014         * ToolbarBackend.C:
9015         * Makefile.am: rename, remove defaults gunk
9016
9017         * MenuBackend.h:
9018         * MenuBackend.C: remove defaults gunk
9019
9020         * Languages.h:
9021         * Languages.C: remove defaults gunk
9022
9023         * lyx_main.h:
9024         * lyx_main.C: error out if files couldn't be found.
9025
9026 2003-04-02  John Levon  <levon@movementarian.org>
9027
9028         * text2.C: make incDepth() use parlist
9029
9030 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9031
9032         * undo_funcs.C (firstUndoParagraph): adjust
9033
9034         * text3.C (gotoInset): adjust
9035         (dispatch): adjust, and rewrite loop.
9036
9037         * text2.C (init): adjust, and rewrite loop.
9038         (redoParagraphs): adjust
9039         (updateInset): adjust, and rewrite loop.
9040         (deleteEmptyParagraphMechanism): adjust
9041
9042         * tabular.C (LyXTabular): adjust
9043         (SetMultiColumn): adjust
9044         (TeXRow): adjust
9045
9046         * lyxtext.[Ch] (ownerParagraph): delete function
9047         (ownerParagraphs): new function returns a ParagraphList.
9048
9049         * BufferView.C (removeAutoInsets): adjust
9050         (insertErrors): adjust
9051         (setCursorFromRow): adjust
9052
9053 2003-04-01  Angus Leeming  <leeming@lyx.org>
9054
9055         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
9056         in the frontends.
9057
9058 2003-04-02  John Levon  <levon@movementarian.org>
9059
9060         * lyxtext.h:
9061         * text.C:
9062         * Makefile.am:
9063         * text_funcs.h:
9064         * text_funcs.C: make transposeChars a free function
9065
9066         * lyxrow_funcs.C: remove wrong comment
9067
9068 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9069
9070         * lyxtext.h: adjust
9071         * rowpainter.C: adjust
9072         * text.C: adjust
9073         * text2.C: adjust
9074         * text3.C: adjust
9075
9076         * lyxrow_funcs. [Ch]: new files
9077
9078         * lyxrow.[Ch]: remove next and previous pointers
9079         (next,previous): remove accessor functions
9080         (isParEnd): move to lyxrow_funcs
9081         (lastPos): move to lyxrow_funcs
9082         (nextRowIsAllInset): move to lyxrow_funcs
9083         (lastPrintablePos): move to lyxrow_funcs
9084         (numberOfSeparators): move to lyxrow_funcs
9085         (numberOfHfills): move to lyxrow_funcs
9086         (numberOfLabelHfills): move to lyxrow_funcs
9087         (hfillExpansion): move to lyxrow_funcs
9088
9089         * lyxfunc.C: adjust
9090
9091         * bufferview_funcs.C (toggleAndShow): adjust
9092
9093         * RowList.h: Remove class RowList from file leave just a
9094         std::list<Row>.
9095
9096         * RowList.C: delete file
9097
9098         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
9099         and lyxrow_funcs.h
9100
9101 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9102
9103         * text3.C (cursorPrevious): adjust
9104         (cursorNext): adjust
9105         (dispatch): adjust
9106
9107         * text2.C (redoHeightOfParagraph): adjust
9108         (redoDrawingOfParagraph): adjust
9109         (setCursor): adjust
9110
9111         * text.C (breakParagraph): adjust
9112         (insertChar): adjust
9113         (backspace): adjust
9114
9115         * rowpainter.C (RowPainter): adjust
9116         (leftMargin): simplify and adjust
9117         (most rowpainter functions): adjust.
9118
9119         * rowpainter.h: store the row as RowList::iterator not as Row*
9120
9121         * lyxcursor.C (row): taka RowList::iterator as arg
9122         (irow): ditto
9123
9124         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
9125         of Row*.
9126
9127 2003-04-01  Angus Leeming  <leeming@lyx.org>
9128
9129         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
9130         stuff like bool Bool.
9131
9132 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
9133
9134         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
9135         rewrite a loop
9136
9137 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9138
9139         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
9140         RowList::iterator.
9141
9142         * lyxtext.h (rows): drop one version and leve a const variant that
9143         returns a RowList::iterator.
9144
9145 2003-03-31  Angus Leeming  <leeming@lyx.org>
9146
9147         * text.C (fill): ensure that the signature is the same as that in the
9148         header file.
9149
9150 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
9151
9152         * text2.C (redoParagraphs): adjust
9153         (updateCounters): adjust
9154         (checkParagraph): adjust
9155         (getColumnNearX): adjust and reformat a bit.
9156
9157         * text.C (top_y): adjust
9158         (workWidth): adjust
9159         (leftMargin): adjust
9160         (prepareToPrint): adjust
9161         (getRow): adjust
9162         (getRowNearY): adjust
9163
9164         * lyxtext.h: make rowlist_ mutable.
9165
9166         * RowList.h: add const_iterator
9167         * RowList.C: adjust for RowList::const_iterator.
9168
9169         * text2.C (getCursorX): make it take a RowList::iterator as arg,
9170         adjust.
9171
9172 2003-03-31  John Levon  <levon@movementarian.org>
9173
9174         * lyxrc.h:
9175         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9176
9177         * lyx_main.C: set default fonts from using lyx_gui funcs
9178
9179         * exporter.C: pdf_mode moved from lyxrc
9180
9181         * lyx_cb.C:
9182         * lyxfunc.C: changes from above
9183
9184 2003-03-31  John Levon  <levon@movementarian.org>
9185
9186         * lyx_main.C: fix to the last fix
9187
9188 2003-03-31  John Levon  <levon@movementarian.org>
9189
9190         * bufferlist.C: "Load original" -> "Load Original"
9191
9192         * converter.C:
9193         * exporter.C:
9194         * importer.C:
9195         * lyx_main.C:
9196         * format.C: more Alert cleanups
9197
9198 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9199
9200         * text2.C (removeParagraph): make it take a RowList::iterator as
9201         arg, adjust.
9202         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9203         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9204
9205         * text.C (anchor_row): make it take a RowList::iterator as arg,
9206         adjust.
9207         (computeBidiTables): make it take a const reference to Row instead
9208         of Row pointer, adjust.
9209         (leftMargin): make it take a RowList::iterator as arg, adjust.
9210         (rowBreakPoint): adjust
9211         (breakAgainOneRow): make it take a RowList::iterator as arg,
9212         adjust.
9213         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9214
9215         * bufferview_funcs.C (toggleAndShow): adjust
9216
9217 2003-03-30  John Levon  <levon@movementarian.org>
9218
9219         * Makefile.am:
9220         * BoostFormat.h:
9221         * boost-inst.C: moved to support
9222
9223         * several files: changes as a result
9224
9225 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9226
9227         * text2.C (LyXText): adjust.
9228         (init): adjust
9229         (removeRow): make it take a RowList::iterator as arg, adjust.
9230         (fullRebreak): adjust
9231         (deleteEmptyParagraphMechanism): adjust
9232         (clearPaint): adjust
9233         (postPaint): adjust
9234
9235         * text.C (top_y): adjust
9236         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9237         (breakAgain): make it take a RowList::iterator as arg, adjust.
9238         (breakParagraph): adjust
9239         (insertChar): adjust
9240         (backspace): adjust
9241
9242         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9243         need_break_row, and refresh_row.
9244
9245         * text3.C (dispatch): adjust
9246
9247         * text2.C (checkParagraph): adjust
9248         (setCursor): adjust
9249         (setCursorFromCoordinates): adjust
9250
9251         * text.C (top_y): adjust
9252         (workWidth): adjust
9253         (getRow): make it return a RowList::iterator, adjust
9254         (getRowNearY): make it return a RowList::iterator, adjust
9255
9256         * text2.C (init): adjust
9257         (insertRow): remove function
9258         (insertParagraph): adjust
9259         (redoParagraphs): adjust
9260         (fullRebreak): adjust
9261         (updateCounters): adjust
9262
9263         * text.C (top_y): rewrite to use RowList iterators.
9264         (top_y): adjust
9265         (setHeightOfRow): rewrite to sue RowList iterators.
9266         (appendParagraph): adjust
9267         (breakAgain): adjust
9268         (breakAgainOneRow): adjust
9269         (breakParagraph): adjust
9270         (getRow): adjust
9271         (getRowNearY): adjust, and remove commented code.
9272
9273         * lyxtext.h (firstRow): delete function
9274         (lastRow): delete function
9275         (rows): new function (const and non-const versions.)
9276         (insertRow): delete function
9277
9278         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9279
9280 2003-03-29  John Levon  <levon@movementarian.org>
9281
9282         * BufferView_pimpl.C: always update scrollbar top
9283         because pasting text when we're anchored could mean we
9284         miss an update altogether
9285
9286 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9287
9288         * text2.C (init): use rowlist_.end() and not 0.
9289         (insertRow): change to take a RowList::iterator as arg, adjust
9290         for this.
9291         (insertParagraph): change to take a RowList::iterator as arg,
9292         adjust for this.
9293         (redoParagraphs): remove some debug msgs.
9294
9295         * text.C (appendParagraph): change to take a RowList::iterator
9296         arg, adjust for this.
9297         (breakAgain): add an assert
9298         (breakAgainOneRow): ditto
9299
9300 2003-03-29  John Levon  <levon@movementarian.org>
9301
9302         * text2.C: do not clear selection after inc/decDepth
9303         (bug 550)
9304
9305 2003-03-29  John Levon  <levon@movementarian.org>
9306
9307         * BufferView.C:
9308         * buffer.C: fix broken strerrors according to Lars
9309
9310 2003-03-29  John Levon  <levon@movementarian.org>
9311
9312         * converters.C: more Alert cleanups
9313
9314 2003-03-29  John Levon  <levon@movementarian.org>
9315
9316         * bufferview_funcs.C: remove pointless Alert
9317
9318         * buffer.C: fix confusing error message when
9319         a template is chmoded 000
9320
9321 2003-03-29  John Levon  <levon@movementarian.org>
9322
9323         * BufferView.C:
9324         * BufferView.h:
9325         * BufferView_pimpl.C: Alert fixes
9326
9327         * Makefile.am:
9328         * tabular.C:
9329         * tabular-old.C: remove unused table compat reading
9330
9331 2003-03-29  John Levon  <levon@movementarian.org>
9332
9333         * BufferView.C:
9334         * buffer.C:
9335         * lyx_cb.h:
9336         * lyx_cb.C: more Alert cleanups
9337
9338         * lyxfunc.C: don't allow chktex if not latex document
9339
9340 2003-03-29  John Levon  <levon@movementarian.org>
9341
9342         * lyx_cb.C:
9343         * BufferView.C:
9344         * buffer.C: warnings pushed down from support/,
9345         kill err_alert
9346
9347 2003-03-29  John Levon  <levon@movementarian.org>
9348
9349         * lyxfunc.C: safety check for C-r (revert)
9350
9351 2003-03-29  John Levon  <levon@movementarian.org>
9352
9353         * bufferlist.h:
9354         * bufferlist.C: several UI fixes using Alert::prompt.
9355         Fix the pointless looping quit code. Fix stupid revert
9356         behaviour (bug 938)
9357
9358         * lyxvc.h:
9359         * lyxvc.C:
9360         * lyx_cb.C: use Alert::prompt
9361
9362         * lyx_main.C: remove a silly question
9363
9364         * lyxfunc.C: remove a couple of silly questions,
9365         use Alert::prompt
9366
9367 2003-03-28  John Levon  <levon@movementarian.org>
9368
9369         * text2.C: fix bug 974 (End on empty par)
9370
9371 2003-03-28  John Levon  <levon@movementarian.org>
9372
9373         * BufferView_pimpl.C:
9374         * LyXAction.C:
9375         * lfuns.h: remove do-nothing math greek lfuns
9376
9377 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9378
9379         * lyxgluelength.h (isValidGlueLength): add default arg on
9380         parameter 2. Remove default arg from friend in class.
9381
9382         * lyxlength.h (isValidLength): add default arg on parameter 2.
9383         Remove default arg from friend in class.
9384
9385         * text2.C (LyXText): adjust, initialize refresh_row.
9386         (init): adjust
9387         (removeRow): adjust
9388         (insertRow): adjust
9389         (insertParagraph): adjst
9390         (redoParagraphs): adjust
9391         (fullRebreak): adjust
9392         (updateCounters): adjust
9393         (deleteEmptyParagraphMechanism): first attempt at fixing a
9394         crashing bug.
9395
9396         * text.C (top_y): adjust
9397         (setHeightOfRow): adjust
9398         (getRow): adjust
9399         (getRowNearY): adjust
9400
9401         * lyxtext.h: include RowList.h
9402         (~LyXText): not needed anymore, deleted.
9403         (firstRow): modify for RowList
9404         (lastRow): new function
9405         Delete firstrow and lastrow class variables, add a Rowlist
9406         rowlist_ class variable.
9407
9408         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9409         paragraph is empty.
9410
9411         * RowList.C (insert): fix case where it == begin().
9412
9413 2003-03-26  Angus Leeming  <leeming@lyx.org>
9414
9415         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9416         the thesaurus dialog.
9417
9418 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9419
9420         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9421
9422         * RowList.[Ch]: new files
9423
9424         * ParagraphList.C (erase): handle the case where it == begin
9425         correctly.
9426
9427 2003-03-25  John Levon  <levon@movementarian.org>
9428
9429         * Makefile.am:
9430         * aspell_local.h:
9431         * aspell.C: add new aspell support
9432
9433         * lyxrc.h:
9434         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9435         have it accessible.
9436
9437 2003-03-25  Angus Leeming  <leeming@lyx.org>
9438
9439         * lfuns.h:
9440         * LyXAction.C (init): new LFUN_INSET_INSERT.
9441
9442         * BufferView_pimpl.C (dispatch): split out part of the
9443         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9444
9445         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9446         LFUN_INSET_APPLY.
9447
9448 2003-03-25  Angus Leeming  <leeming@lyx.org>
9449
9450         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9451
9452 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9453
9454         * text2.C:
9455         * text3.C: remove useless row->height(0)
9456
9457 2003-03-25  John Levon  <levon@movementarian.org>
9458
9459         * lyxtext.h:
9460         * text2.C:
9461         * text3.C: rename the refreshing stuff to better names
9462
9463 2003-03-24  John Levon  <levon@movementarian.org>
9464
9465         * BufferView_pimpl.h:
9466         * BufferView_pimpl.C: update layout choice on a mouse
9467         press/release
9468
9469 2003-03-23  John Levon  <levon@movementarian.org>
9470
9471         * Makefile.am: fix commandtags.h reference
9472
9473 2003-03-22  John Levon  <levon@movementarian.org>
9474
9475         * BufferView_pimpl.C:
9476         * lyxtext.h:
9477         * rowpainter.C:
9478         * rowpainter.h:
9479         * text.C:
9480         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9481
9482 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9483
9484         * lyxtext.h:
9485         * text.C: take the rtl methods out of line
9486
9487 2003-03-21 André Pönitz <poenitz@gmx.net>
9488
9489         * metricsinfo.[Ch]: new files containing structures to be passed around
9490         during the two-phase-drawing...
9491
9492 2003-03-21 André Pönitz <poenitz@gmx.net>
9493
9494         * lyxtextclass.C: read 'environment' tag.
9495
9496 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9497
9498         * text2.C (removeRow): fix bug 964
9499
9500 2003-03-20  John Levon  <levon@movementarian.org>
9501
9502         * rowpainter.C:
9503         * text.C:
9504         * text2.C: paint cleanups. Inset::update() dropped font
9505         parameter
9506
9507 2003-03-19  John Levon  <levon@movementarian.org>
9508
9509         * lyxfunc.C: only fitcursor/markDirty if available()
9510
9511 2003-03-19  John Levon  <levon@movementarian.org>
9512
9513         * commandtags.h: rename to ...
9514
9515         * lfuns.h: ... this, and renumber / cleanup
9516
9517 2003-03-19  John Levon  <levon@movementarian.org>
9518
9519         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9520         fit the cursor after an lfun
9521
9522         * BufferView.h:
9523         * BufferView.C:
9524         * BufferView_pimpl.h:
9525         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9526
9527         * LyXAction.C: layout-character should have ReadOnly
9528
9529         * ParagraphParameters.C:
9530         * buffer.C:
9531         * bufferview_funcs.C:
9532         * lyx_cb.C:
9533         * lyxfind.C:
9534         * lyxtext.h:
9535         * text.C:
9536         * text2.C:
9537         * text3.C:
9538         * undo_funcs.C: changes from above
9539
9540 2003-03-18  John Levon  <levon@movementarian.org>
9541
9542         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9543         remove it from update()
9544
9545         * lyxfunc.C: update layout choice after an lfun
9546
9547         * text3.C: remove extra updateLayoutChoice()s
9548
9549 2003-03-18  John Levon  <levon@movementarian.org>
9550
9551         * text.C: top_y change means full repaint, fix
9552         a drawing bug with cursor movement
9553
9554 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9555
9556         * lyxtext.h:
9557         * text.C:
9558         * text2.C: anchor row on setCursor
9559
9560 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9561
9562         * lyxtext.h: remove almost all mutable keywords
9563         * text.C:
9564         * text2.C:
9565         * text3.C: remove const keywords accordingly
9566
9567 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9568
9569         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9570         anon namespace
9571         (TeXEnvironment): ditto
9572         (TeXOnePar): ditto
9573
9574 2003-03-17  John Levon  <levon@movementarian.org>
9575
9576         * text.C (rowBreakPoint): remove attempt to fix displayed
9577         math insets inside a manual label
9578
9579 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9580
9581         * lyxtext.h: remove BufferView* as first arg from almost all class
9582         functions.
9583         * other files: adjust.
9584
9585 2003-03-17  John Levon  <levon@movementarian.org>
9586
9587         * lyxtext.h:
9588         * undo_funcs.C:
9589         * text2.C: more paint cleanups
9590
9591         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9592
9593         * rowpainter.h:
9594         * rowpainter.C: remove "smart" background painting code
9595
9596 2003-03-16  John Levon  <levon@movementarian.org>
9597
9598         * lyxtext.h:
9599         * text.C:
9600         * text2.C:
9601         * text3.C: add helper functions for setting refresh_row/y
9602
9603 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9604
9605         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9606         newline inset which *can* get inserted in the pass_thru layouts.
9607         This is primarily for literate documents.
9608
9609 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9610
9611         * buffer.C: increment LYX_FORMAT to 223
9612
9613 2003-03-14 André Pönitz <poenitz@gmx.net>
9614
9615         * textclass.h: prepare for environment handling, ws changes
9616         * lyxlayout.C: read latexheader and latexfooter tags
9617
9618 2003-03-14  John Levon  <levon@movementarian.org>
9619
9620         * text2.C: rewrite ::status() a bit
9621
9622 2003-03-13  John Levon  <levon@movementarian.org>
9623
9624         * lyxtext.h: add some docs
9625
9626 2003-03-13  John Levon  <levon@movementarian.org>
9627
9628         * lyxtext.h:
9629         * text.C:
9630         * text2.C:
9631         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9632
9633 2003-03-13  John Levon  <levon@movementarian.org>
9634
9635         * text3.C: fix appendix redrawing
9636
9637 2003-03-13  John Levon  <levon@movementarian.org>
9638
9639         * text.C (setHeightOfRow):
9640         * rowpainter.h:
9641         * rowpainter.C: make appendix mark have the text
9642           "Appendix" so the user knows what it is
9643
9644         * LColor.h:
9645         * LColor.C: s/appendixline/appendix/ from above
9646
9647 2003-03-13  John Levon  <levon@movementarian.org>
9648
9649         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9650
9651         * text.C: fix a getChar(pos) bug properly
9652
9653 2003-03-13  Angus Leeming  <leeming@lyx.org>
9654
9655         * commandtags.h:
9656         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9657         Probably only temporary. Let's see how things pan out.
9658
9659         * BufferView.C (unlockInset):
9660         * BufferView_pimpl.C (fitCursor):
9661         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9662
9663         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9664         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9665
9666         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9667         new functions that convert ParagraphParameters to and from a string.
9668
9669         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9670         BufferView::Pimpl's dispatch.
9671         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9672
9673 2003-03-13 André Pönitz <poenitz@gmx.net>
9674
9675         * lyxfunc.C:
9676         * text3.C:
9677         * factory.C: make it aware of InsetEnv
9678
9679 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * text2.C (setCursor): never ask for one past last
9682         (setCursor): add some debugging messages.
9683
9684         * text.C (singleWidth): never ask for one past last
9685         (singleWidth): ditto
9686         (leftMargin): ditto
9687         (rightMargin): ditto
9688         (rowBreakPoint): ditto
9689         (setHeightOfRow): ditto
9690         (prepareToPrint): ditto
9691
9692         * rowpainter.C (paintBackground): never ask for one past last
9693         (paintText): never ask for one past last
9694
9695         * paragraph_pimpl.C (getChar): make the assert stricter, never
9696         allow the one past last pos to be taken
9697
9698         * paragraph.C (getChar): ws changes only
9699
9700         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9701         (numberOfSeparators): ditto
9702         (numberOfHfills): ditto
9703
9704 2003-03-12  John Levon  <levon@movementarian.org>
9705
9706         * author.h:
9707         * author.C:
9708         * bufferparams.h:
9709         * bufferparams.C:
9710         * paragraph_funcs.C: fix per-buffer authorlists
9711
9712 2003-03-12  John Levon  <levon@movementarian.org>
9713
9714         * text.C: fix newline in right address
9715
9716 2003-03-12  Angus Leeming  <leeming@lyx.org>
9717
9718         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9719         duplicate those in LyXFunc::dispatch.
9720
9721         * commandtags.h:
9722         * LyXAction.C:
9723         * ToolbarDefaults.C:
9724         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9725         Add LFUN_FONTFREE_UPDATE.
9726
9727         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9728         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9729
9730         * bufferview_func.[Ch]: several new functions to facilliate
9731         transfer of data to and from the character dialog.
9732
9733 2003-03-12  John Levon  <levon@movementarian.org>
9734
9735         * buffer.C:
9736         * paragraph.h:
9737         * paragraph.C:
9738         * paragraph_funcs.C:
9739         * paragraph_pimpl.C:
9740         * sgml.C:
9741         * tabular.C:
9742         * text.C:
9743         * text3.C: remove META_NEWLINE in favour of an inset
9744
9745         * rowpainter.h:
9746         * rowpainter.C: remove paintNewline (done by inset)
9747
9748 2003-03-12  John Levon  <levon@movementarian.org>
9749
9750         * paragraph_pimpl.C: complain about bad getChar()s
9751         for a while at least
9752
9753 2003-03-12  John Levon  <levon@movementarian.org>
9754
9755         * buffer.h:
9756         * buffer.C: move paragraph read into a separate function,
9757         a little renaming to reflect that.
9758
9759         * bufferparams.h:
9760         * bufferparams.C: remove the author_ids map, not necessary now
9761
9762         * factory.h:
9763         * factory.C: moved Buffer::readInset to here
9764
9765         * paragraph_funcs.h:
9766         * paragraph_funcs.C: readParagraph free function moved from
9767         buffer.C
9768
9769         * tabular.C: name change
9770
9771 2003-03-12  John Levon  <levon@movementarian.org>
9772
9773         * buffer.C:
9774         * ParagraphParameters.C: move par params input to
9775         a read() method
9776
9777         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9778         behave like a normal read from the stream wrt reading
9779         a line vs. a \\token
9780
9781 2003-03-12  John Levon  <levon@movementarian.org>
9782
9783         * paragraph.C:
9784         * ParagraphParameters.h:
9785         * ParagraphParameters.C: move output code to a
9786         ::write() method
9787
9788 2003-03-12  John Levon  <levon@movementarian.org>
9789
9790         * BufferView.C (insertLyXFile):
9791         * buffer.h:
9792         * buffer.C:
9793         * tabular.C: use a parlist iterator for creating the
9794           document.
9795
9796 2003-03-12  John Levon  <levon@movementarian.org>
9797
9798         * buffer.C: make current_change static local not
9799           static file-scope
9800
9801 2003-03-12  John Levon  <levon@movementarian.org>
9802
9803         * buffer.C: fix insertStringAsLines for change tracking
9804
9805 2003-03-12  John Levon  <levon@movementarian.org>
9806
9807         * BufferView.C:
9808         * tabular.C:
9809         * buffer.h:
9810         * buffer.C:
9811         * bufferparams.h:
9812         * bufferparams.C: move author list into params. Rename some
9813           functions. Move the header reading into a separate token
9814           loop. Move the header token reading into BufferParams.
9815
9816 2003-03-12  John Levon  <levon@movementarian.org>
9817
9818         * changes.C: put debug inside lyxerr.debugging() checks
9819
9820 2003-03-11 André Pönitz <poenitz@gmx.net>
9821
9822         * factory.C: make it aware of InsetHFill
9823
9824 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9825
9826         * buffer.C (latexParagraphs): move function from here...
9827         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9828         args.
9829
9830 2003-03-10  Angus Leeming  <leeming@lyx.org>
9831
9832         * LyXAction.C (init): fix bug in poplating array with multiple entries
9833         with the same LFUN (spotted by JMarc).
9834
9835 2003-03-10  John Levon  <levon@movementarian.org>
9836
9837         * text.C:
9838         * text2.C: move getColumnNearX() near its
9839         only call site
9840
9841 2003-03-10  John Levon  <levon@movementarian.org>
9842
9843         * text.C: fix break before a minipage
9844
9845 2003-03-10  John Levon  <levon@movementarian.org>
9846
9847         * text.C: fix the last commit
9848
9849 2003-03-09  John Levon  <levon@movementarian.org>
9850
9851         * lyxtext.h:
9852         * text.C:
9853         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9854         bug 365 (don't break before insets unless needed). Don't
9855         return a value > last under any circumstances.
9856
9857 2003-03-09  Angus Leeming  <leeming@lyx.org>
9858
9859         * BufferView_pimpl.C (trackChanges, dispatch): call
9860         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9861
9862 2003-03-09  Angus Leeming  <leeming@lyx.org>
9863
9864         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9865         than Dialogs::showAboutlyx().
9866
9867 2003-03-09  Angus Leeming  <leeming@lyx.org>
9868
9869         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9870         than Dialogs::showTabularCreate().
9871
9872 2003-03-09  John Levon  <levon@movementarian.org>
9873
9874         * lyxtext.h:
9875         * text.C:
9876         * text2.C: 3rd arg to nextBreakPoint was always the same.
9877           Use references.
9878
9879 2003-03-08  John Levon  <levon@movementarian.org>
9880
9881         * lyxrow.C:
9882         * paragraph.C:
9883         * paragraph.h:
9884         * rowpainter.C:
9885         * text.C:
9886         * text2.C: Remove the "main" bit from the "main body"
9887           notion.
9888
9889 2003-03-08  John Levon  <levon@movementarian.org>
9890
9891         * text.C (leftMargin): The left margin of an empty
9892         manual label paragraph should not include the label width
9893         string length.
9894
9895         * text.C (prepareToPrint): don't attempt to measure hfills
9896         for empty manual label paragraphs - the answer should be 0
9897
9898 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9899
9900         * CutAndPaste.C: remove commented code and reindent.
9901
9902 2003-03-08  John Levon  <levon@movementarian.org>
9903
9904         * lyxfunc.h:
9905         * lyxfunc.C: move reloadBuffer()
9906
9907         * BufferView.h:
9908         * BufferView.C: to here
9909
9910         * lyxvc.C: add comment
9911
9912         * vc-backend.h:
9913         * vc-backend.C: call bv->reload() to avoid
9914           getStatus() check on MENURELOAD
9915
9916 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9917
9918         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9919         to an old format .dep file.
9920
9921 2003-03-07  Angus Leeming  <leeming@lyx.org>
9922
9923         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9924         when the LFUN_MOUSE_RELEASE should have been handled by
9925         inset->localDispatch.
9926
9927 2003-03-07  Angus Leeming  <leeming@lyx.org>
9928
9929         * BufferView_pimpl.C (dispatch):
9930         * LyXAction.C (init):
9931         * ToolbarDefaults.C (init):
9932         * commandtags.h:
9933         * lyxfunc.C (getStatus):
9934         remove LFUN_INSET_GRAPHICS.
9935
9936         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9937
9938 2003-03-07  Angus Leeming  <leeming@lyx.org>
9939
9940         * commandtags.h:
9941         * LyXAction.C (init):
9942         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9943
9944         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9945
9946         * commandtags.h:
9947         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9948
9949         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9950         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9951
9952 2003-03-07  Angus Leeming  <leeming@lyx.org>
9953
9954         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9955         remove "ert".
9956
9957 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9958
9959         * ParagraphList.C (front): new function
9960         (back): implement
9961
9962 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9963
9964         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9965         and top_row_offset_. removed var first_y.
9966         * text.C (top_y):
9967         * text2.C (LyXText, removeRow):
9968         * text3.C:
9969         * BufferView_pimpl.C:
9970         use these methods instead of using first_y
9971
9972 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9973
9974         * text2.C (pasteSelection): adjust for checkPastePossible
9975
9976         * CutAndPaste.C: remove Paragraph * buf and replace with
9977         ParagraphList paragraphs.
9978         (DeleteBuffer): delete
9979         (cutSelection): change the tc type to textclass_type
9980         (copySelection): change the tc type to textclass_type
9981         (copySelection): adjust for ParagraphList
9982         (pasteSelection): change the tc type to textclass_type
9983         (pasteSelection): adjust for Paragraphlist
9984         (nrOfParagraphs): simplify for ParagraphList
9985         (checkPastePossible): simplify for ParagraphList
9986         (checkPastePossible): remove unused arg
9987
9988         * ParagraphList.C (insert): handle the case where there are no
9989         paragraphs yet.
9990
9991         * CutAndPaste.h: make CutAndPaste a namespace.
9992
9993         * text3.C (dispatch): adjust
9994
9995         * text.C (breakParagraph): add a ParagraphList as arg
9996
9997         * paragraph_funcs.C (breakParagraph): change to take a
9998         BufferParams and a ParagraphList as args.
9999         (breakParagraphConservative): ditto
10000         (mergeParagraph): ditto
10001         (TeXDeeper): add a ParagraphList arg
10002         (TeXEnvironment): ditto
10003         (TeXOnePar): ditto
10004
10005         * buffer.C (readLyXformat2): adjust
10006         (insertStringAsLines): adjust
10007         (latexParagraphs): adjust
10008
10009         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
10010         (cutSelection): adjust
10011         (pasteSelection): adjust
10012
10013         * BufferView_pimpl.C (insertInset): adjust
10014
10015 2003-03-05  Angus Leeming  <leeming@lyx.org>
10016
10017         * commandtags.h:
10018         * LyXAction.C (init):
10019         * BufferView_pimpl.C (dispatch):
10020         * lyxfunc.C (getStatus):
10021         remove LFUN_CHILD_INSERT.
10022
10023         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
10024
10025 2003-03-05  Angus Leeming  <leeming@lyx.org>
10026
10027         * commandtags.h:
10028         * LyXAction.C (init):
10029         * src/factory.C (createInset):
10030         * lyxfunc.C (getStatus):
10031         * text3.C (dispatch):
10032         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
10033
10034         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
10035
10036 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10037
10038         * ParagraphList.C (insert): handle insert right before end()
10039         (erase): fix cases where it can be first or last paragraph.
10040
10041 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10042
10043         * paragraph_funcs.C (TeXEnvironment): remove all usage of
10044         Paragraph::next and Paragraph::previous
10045         (TeXOnePar): ditto
10046
10047         * text.C (breakParagraph): adjust
10048
10049         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
10050         BufferParams& as arg.
10051         (breakParagraph): use ParagraphList::insert
10052         (breakParagraphConservative): take a Buffer* instead of a
10053         BufferParams& as arg.
10054         (breakParagraphConservative): use ParagraphList::insert.
10055
10056         * buffer.C (insertStringAsLines): un-const it
10057         (insertStringAsLines): adjust
10058
10059         * ParagraphList.C (insert): new function
10060
10061         * CutAndPaste.C (pasteSelection): adjust
10062
10063         * text.C (backspace): adjust
10064
10065         * tabular.C (SetMultiColumn): adjust
10066
10067         * CutAndPaste.C (cutSelection): adjust
10068         (pasteSelection): adjust
10069
10070         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
10071         Buffer const * as arg
10072
10073         * ParagraphList.C (erase): new function
10074         * paragraph_funcs.C (mergeParagraph): use it
10075         (mergeParagraph): make it take a Buffer* instead of a
10076         BufferParams* as arg
10077
10078         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
10079         as arg
10080         (breakParagraphConservative): ditto
10081
10082         * paragraph.h: remove the breakParagraph friend
10083
10084         * paragraph.C (eraseIntern): new function
10085         (setChange): new function
10086
10087         * paragraph_funcs.C (mergeParagraph): make it take a
10088         ParagraphList::iterator instead of a Paragraph *, adjust
10089         accordingly.
10090
10091         * paragraph.h: move an #endif so that the change tracking stuff
10092         also works in the NO_NEXT case.
10093
10094 2003-03-04  Angus Leeming  <leeming@lyx.org>
10095
10096         * commandtags.h:
10097         * LyXAction.C: new LFUN_INSET_MODIFY.
10098
10099         * BufferView_pimpl.C (dispatch): if an inset is found to be open
10100         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
10101
10102 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10103
10104         * several files: ws changes only
10105
10106         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
10107         (TeXEnvironment): ditto
10108         (TeXDeeper): ditto
10109
10110         * buffer.C (makeLaTeXFile): adjust
10111         (latexParagraphs): make it take ParagraphList::iterator as args
10112
10113 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
10114
10115         * buffer.C (latexParagraphs): adjust
10116
10117         * paragraph.C (TeXOnePar): move function...
10118         (optArgInset): move function...
10119         (TeXEnvironment): move function...
10120         * paragraph_pimpl.C (TeXDeeper): move function...
10121         * paragraph_funcs.C: ...here
10122
10123         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
10124
10125 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10126
10127         * buffer.C (readInset): remove compability code for old Figure and
10128         InsetInfo insets
10129
10130 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10131
10132         * buffer.C: ws changes
10133         (readInset):
10134
10135         * BufferView_pimpl.C: ditto
10136         * author.C: ditto
10137         * buffer.h: ditto
10138         * bufferlist.h: ditto
10139         * changes.h: ditto
10140         * lyxfunc.C: ditto
10141
10142 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
10143
10144         * converter.[Ch]: split into itself +
10145         * graph.[Ch]
10146         * format.[Ch]
10147         * Makefile.am: += graph.[Ch] + format.[Ch]
10148         * MenuBackend.C
10149         * buffer.C
10150         * exporter.C
10151         * importer.C
10152         * lyx_main.C
10153         * lyxfunc.C
10154         * lyxrc.C: added #include "format.h"
10155
10156 2003-02-27  Angus Leeming  <leeming@lyx.org>
10157
10158         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
10159           a label.
10160
10161         * factory.C (createInset): add "label" to the factory.
10162
10163         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
10164           string and do no more.
10165
10166 2003-02-27  Angus Leeming  <leeming@lyx.org>
10167
10168         * commandtags.h:
10169         * LyXAction.C (init):
10170         * factory.C (createInset):
10171         * BufferView_pimpl.C (dispatch):
10172           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
10173
10174         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
10175
10176         * lyxfunc.C (dispatch):
10177         * text3.C (dispatch): pass name to params2string.
10178
10179 2003-02-26  Angus Leeming  <leeming@lyx.org>
10180
10181         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10182           blocks together.
10183           Rearrange the ~includes. Strip out the unnecessary ones.
10184
10185         * factory.C (createInset): reformat.
10186           create new insets for the various LFUN_XYZ_APPLY lfuns.
10187
10188 2003-02-26  John Levon  <levon@movementarian.org>
10189
10190         * lyxrow.h:
10191         * lyxrow.C: add isParStart,isParEnd helpers
10192
10193         * paragraph.h: make isInserted/DeletedText take refs
10194
10195         * paragraph_funcs.h:
10196         * paragraph_funcs.C: remove #if 0'd code
10197
10198         * lyxtext.h:
10199         * text3.C:
10200         * text2.C:
10201         * text.C: use lyxrow helpers above.
10202           Move draw and paint routines to RowPainter.
10203           Make several methods use refs not pointers.
10204           Make backgroundColor() const.
10205           Add markChangeInDraw(), isInInset().
10206           Merge changeRegionCase into changeCase.
10207           Make workWidth() shouldn't-happen code into an Assert.
10208
10209         * rowpainter.h:
10210         * rowpainter.C: new class for painting a row.
10211
10212         * vspace.h:
10213         * vspace.C: make inPixels take a ref
10214
10215 2003-02-26  Angus Leeming  <leeming@lyx.org>
10216
10217         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10218         LFUN_REF_APPLY.
10219
10220 2003-02-25  John Levon  <levon@movementarian.org>
10221
10222         * ispell.C: give the forked command a more accurate name
10223
10224 2003-02-22  John Levon  <levon@movementarian.org>
10225
10226         * toc.h:
10227         * toc.C: make TocItem store an id not a Paragraph *
10228           (bug #913)
10229
10230 2003-02-21  Angus Leeming  <leeming@lyx.org>
10231
10232         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10233           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10234           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10235           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10236           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10237           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10238
10239         * BufferView_pimpl.C (dispatch):
10240         * LyXAction.C (init):
10241         * factory.C (createInset):
10242         * lyxfunc.C (getStatus, dispatch):
10243         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10244
10245 2003-02-21  Angus Leeming  <leeming@lyx.org>
10246
10247         * BufferView_pimpl.C (MenuInsertLyXFile):
10248         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10249         * lyxfunc.C (menuNew, open, doImport):
10250           no longer pass a LyXView & to fileDlg.
10251
10252 2003-02-21  Angus Leeming  <leeming@lyx.org>
10253
10254         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10255         * LyXAction.C: change, BIBKEY to BIBITEM.
10256         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10257         Change InsetBibKey to InsetBibitem.
10258         Change BIBKEY_CODE to BIBITEM_CODE.
10259         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10260         * factory.C: replace insetbib.h with insetbibitem.h.
10261         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10262         * paragraph.C: replace insetbib.h with insetbibitem.h.
10263         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10264         Change bibkey() to bibitem().
10265         * text.C: remove insetbib.h.
10266         * text2.C: replace insetbib.h with insetbibitem.h.
10267         change bibkey() to bibitem().
10268         * text3.C: remove insetbib.h.
10269         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10270
10271 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10272
10273         * lyxrc.C (output): enclose user email in quotes (in case there are
10274         several words)
10275
10276 2003-02-18  John Levon  <levon@movementarian.org>
10277
10278         * buffer.h: add std::
10279
10280 2003-02-17  John Levon  <levon@movementarian.org>
10281
10282         * SpellBase.h:
10283         * ispell.h:
10284         * ispell.C:
10285         * pspell.h:
10286         * pspell.C: reworking. Especially in ispell, a large
10287           number of clean ups and bug fixes.
10288
10289         * lyxfunc.C: fix revert to behave sensibly
10290
10291 2003-02-17 André Pönitz <poenitz@gmx.net>
10292
10293         * LyXAction.C:
10294         * commandtags.h: new LFUN_INSERT_BIBKEY
10295
10296         * layout.h:
10297         * lyxlayout.C:
10298         * buffer.C:
10299         * factory.C:
10300         * text.C:
10301         * text2.C:
10302         * text3.C:
10303         * paragraph.[Ch]:
10304         * paragraph_func.C: remove special bibkey handling
10305
10306 2003-02-17  John Levon  <levon@movementarian.org>
10307
10308         * text.C (Delete): fix case where delete at the end of
10309           the very first paragraph would not merge the pars
10310
10311 2003-02-17  John Levon  <levon@movementarian.org>
10312
10313         * lyxrow.C: fix lastPrintablePos()
10314
10315 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10316
10317         * bufferparams.C (writeLaTeX): add a std:here
10318
10319         * buffer.C: and remove a using directive there
10320
10321 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10322
10323         * buffer.C (makeLaTeXFile): move the code that generates the
10324           preamble...
10325
10326         * bufferparams.C (writeLaTeX): ... in this new method
10327
10328         * LaTeXFeatures.C (getEncodingSet): make const
10329           (getLanguages): make const
10330
10331         * MenuBackend.C (binding): returns the binding associated to this
10332           action
10333           (add): sets the status of each item by calling getStatus. Adds
10334           some intelligence.
10335           (read): add support for OptSubMenu
10336           (expand): remove extra separator at the end of expanded menu
10337
10338 2003-02-15  John Levon  <levon@movementarian.org>
10339
10340         * BufferView.C:
10341         * BufferView_pimpl.C:
10342         * bufferlist.h:
10343         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10344           inset code that had no actual effect. Remove unneeded status
10345           code.
10346
10347 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10348
10349         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10350           in preamble
10351
10352 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10353
10354         * text.C (drawLengthMarker): also draw an arrow marker for
10355           symbolic lengths (medskip...)
10356
10357 2003-02-14  John Levon  <levon@movementarian.org>
10358
10359         * tabular.h:
10360         * tabular.C: better method names
10361
10362 2003-02-14  John Levon  <levon@movementarian.org>
10363
10364         * BufferView_pimpl.C:
10365         * bufferlist.C:
10366         * buffer.C:
10367         * converter.C:
10368         * lyx_cb.C:
10369         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10370           it's a more accurate name. Remove some pointless uses.
10371
10372 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10373
10374         * text2.C (LyXText): change order of initilizers to shut off
10375           warnings
10376
10377 2003-02-14  John Levon  <levon@movementarian.org>
10378
10379         * buffer.C: use ParIterator for getParFromID()
10380
10381         * paragraph.h:
10382         * paragraph.C:
10383         * paragraph_pimpl.h:
10384         * paragraph_pimpl.C: remove unused getParFromID()
10385
10386 2003-02-14  John Levon  <levon@movementarian.org>
10387
10388         * buffer.C: remove some very old #if 0'd parse code
10389
10390 2003-02-13  John Levon  <levon@movementarian.org>
10391
10392         * text.h:
10393         * text.C:
10394         * text2.C: move hfillExpansion(), numberOfSeparators(),
10395           rowLast(), rowLastPrintable(), numberofHfills(),
10396           numberOfLabelHfills() ...
10397
10398         * lyxrow.h:
10399         * lyxrow.C: ... to member functions here.
10400
10401         * paragraph.h:
10402         * paragraph.C:
10403         * lyxtext.h:
10404         * text.C: remove LyXText::beginningOfMainBody(), and call
10405           p->beginningOfMainBody() directly. Move the check for
10406           LABEL_MANUAL into the latter.
10407
10408         * text.h:
10409         * text.C:
10410         * text2.C:
10411         * vspace.C:
10412         * BufferView.h:
10413         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10414
10415         * text.h:
10416         * text.C:
10417         * text2.C:
10418         * text3.C:
10419         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10420           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10421
10422 2003-02-13  John Levon  <levon@movementarian.org>
10423
10424         * CutAndPaste.C: remove debug
10425
10426 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10427
10428         * paragraph.C (asString): remove two unused variables
10429
10430         * lyxtextclass.C (readTitleType):
10431           (Read):
10432           (LyXTextClass): handle new members titletype_ and titlename_
10433
10434         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10435
10436 2003-02-09  John Levon  <levon@movementarian.org>
10437
10438         * buffer.h:
10439         * buffer.C: replace hand-coded list with a map for the dep clean
10440
10441 2003-02-08  John Levon  <levon@movementarian.org>
10442
10443         * LaTeX.C: consolidate code into showRunMessage() helper
10444
10445 2003-02-08  John Levon  <levon@movementarian.org>
10446
10447         * lyxfind.C:
10448         * lyxtext.h:
10449         * text2.C:
10450         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10451           and pass the size in explicitly
10452
10453         * BufferView_pimpl.h:
10454         * BufferView_pimpl.C:
10455         * BufferView.h:
10456         * BufferView.C: add getCurrentChange()
10457
10458         * BufferView_pimpl.h:
10459         * BufferView_pimpl.C: handle change lfuns
10460
10461         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10462           for changes. Mark pasted paragraphs as new.
10463
10464         * support/lyxtime.h:
10465         * support/lyxtime.C:
10466         * DepTable.C: abstract time_t as lyx::time_type
10467
10468         * LColor.h:
10469         * LColor.C: add colours for new text, deleted text, changebars
10470
10471         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10472           package use "usenames" option.
10473
10474         * commandtags.h:
10475         * lyxfunc.C:
10476         * LyXAction.C: add change lfuns
10477
10478         * Makefile.am:
10479         * author.h:
10480         * author.C: author handling
10481
10482         * buffer.h:
10483         * buffer.C: add a per-buffer author list, with first entry as
10484           current author. Handle new .lyx tokens for change tracking. Output
10485           author list to .lyx file. Output dvipost stuff to .tex preamble.
10486           Bump lyx format to 222.
10487
10488         * bufferlist.h:
10489         * bufferlist.C: add setCurrentAuthor() to reset current author details
10490           in all buffers.
10491
10492         * bufferparams.h:
10493         * bufferparams.C: add param for tracking
10494
10495         * bufferview_funcs.C: output change info in minibuffer
10496
10497         * Makefile.am:
10498         * changes.h:
10499         * changes.C: add change-tracking structure
10500
10501         * debug.h:
10502         * debug.C: add CHANGES debug flag
10503
10504         * lyxfind.h:
10505         * lyxfind.C: add code for finding the next change piece
10506
10507         * lyxrc.h:
10508         * lyxrc.C: add user_name and user_email
10509
10510         * lyxrow.h:
10511         * lyxrow.C: add a metric for the top of the text line
10512
10513         * lyxtext.h:
10514         * text.C: implement accept/rejectChange()
10515
10516         * lyxtext.h:
10517         * text.C: paint changebars. Paint new/deleted text in the chosen
10518         colours. Strike through deleted text.
10519
10520         * paragraph.h:
10521         * paragraph.C:
10522         * paragraph_pimpl.h:
10523         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10524           in the current change to the insert functions. Rework erase to
10525           mark text as deleted, adding an eraseIntern() and a range-based
10526           erase(). Implement per-paragraph change lookup and
10527           accept/reject.
10528
10529         * paragraph_funcs.C: Fixup paste for change tracking.
10530
10531         * tabular.C: mark added row/columns as new.
10532
10533         * text.C: fix rowLast() to never return -1. Don't allow
10534           spellchecking of deleted text. Track transpose changes. Don't
10535           allow paragraph break or merge where appropriate.
10536
10537         * text2.C: leave cursor at end of selection after a cut.
10538
10539 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10540
10541         * text.C (getLengthMarkerHeight):
10542         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10543         visible on screen too.
10544
10545 2003-02-07  John Levon  <levon@movementarian.org>
10546
10547         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10548
10549 2003-02-05  Angus Leeming  <leeming@lyx.org>
10550
10551         * lyxserver.C (read_ready): revert my patch of 11 September last year
10552         as it sends PC cpu through the roof. Presumably this means that
10553         the lyxserver will no longer run on an Alpha...
10554
10555 2003-01-30  Angus Leeming  <leeming@lyx.org>
10556
10557         * factory.C (createInset): create an InsetCommandParam of type "index"
10558         and use it to 'do the right thing'.
10559
10560         * text2.C (getStringToIndex): ensure that cursor position is always
10561         reset to the reset_cursor position.
10562
10563 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10564
10565         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10566         disabled.
10567
10568 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10569
10570         * bufferview.C:
10571         * lyxcb.C:
10572         * lyxfunc.C: Output messages with identical spelling, punctuation,
10573         and spaces
10574
10575 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10576
10577         * MenuBackend.C (expandFormats): List only viewable export formats
10578         in "View" menu
10579
10580         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10581         message
10582
10583         * lyxfunc.C (getStatus): Make sure that formats other than
10584         "fax" can also be disabled
10585
10586 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10587
10588         * text3.C (dispatch): put the lfuns that insert insets in 3
10589         groups, and call doInsertInset with appropriate arguments.
10590         (doInsertInset): new function, that creates an inset and inserts
10591         it according to some boolean parameters.
10592
10593 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10594
10595         * buffer.C (readFile): remember to pass on 'par' when calling
10596         readFile recursively.
10597
10598 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10599
10600         * MenuBackend.C (expandFormats): add "..." to import formats.
10601
10602 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10603
10604         * paragraph.C (asString): Remove XForms RTL hacks.
10605
10606 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10607         * buffer.C: fix typo
10608
10609 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10610
10611         * Makefile.am (LIBS): delete var
10612         (lyx_LDADD): add @LIBS@ here instead.
10613
10614 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10615
10616         * Clarify the meaning of "wheel mouse jump"
10617
10618 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10619
10620         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10621         tabular in a float
10622
10623 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10624
10625         * importer.C (Loaders): do not preallocate 3 elements in the
10626         vector, since one ends up with 6 elements otherwise
10627
10628 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10629
10630         * DepTable.C (write): write the file name as last element of the
10631         .dep file (because it may contain spaces)
10632         (read): read info in the right order
10633
10634 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10635
10636         * paragraph_pimpl.C (simpleTeXBlanks):
10637         (simpleTeXSpecialChars):
10638         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10639
10640         * tabular.C (latex): add some missing case statements. Reindent.
10641
10642         * MenuBackend.C (expandToc): remove unused variable.
10643
10644 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10645
10646         * LColor.C:
10647         * LaTeX.C:
10648         * LyXAction.C:
10649         * MenuBackend.C:
10650         * buffer.C:
10651         * exporter.C:
10652         * lyxfunc.C:
10653         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10654         and the like.
10655
10656 2003-01-05  John Levon  <levon@movementarian.org>
10657
10658         * BufferView.h:
10659         * BufferView.C: add getEncoding()
10660
10661         * kbsequence.h:
10662         * kbsequence.C: do not store last keypress
10663
10664         * lyxfunc.h:
10665         * lyxfunc.C: store last keypress here instead. Pass encoding
10666           to getISOEncoded()
10667
10668 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10669
10670         * lyx_main.C (init): remove annoying error message when following
10671         symbolic links (bug #780)
10672
10673 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10674
10675         * text.C (insertChar):
10676         * lyxrc.C (getDescription): remove extra spaces
10677
10678 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * lyxrc.C (getDescription): remove extra spaces
10681
10682 2002-12-20  John Levon  <levon@movementarian.org>
10683
10684         * text3.C: hack fix for page up/down across tall rows
10685
10686 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10687
10688         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10689         not been invoked
10690
10691 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10692
10693         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10694         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10695         thesaurus is not compiled in
10696
10697 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10698
10699         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10700
10701 2002-12-16  Angus Leeming  <leeming@lyx.org>
10702
10703         * lyxrc.[Ch]:
10704         * lyx_main.C (init): remove override_x_deadkeys stuff.
10705
10706 2002-12-12  John Levon  <levon@movementarian.org>
10707
10708         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10709           insert. Only remove shift modifier under strict
10710           circumstances.
10711
10712 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10713
10714         * MenuBackend.C (expandToc): fix crash.
10715
10716 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10717
10718         * MenuBackend.C (expandToc): gettext on float names.
10719
10720 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10721
10722         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10723         implement bool empty() [bug 490]
10724
10725 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10726
10727         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10728
10729 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10730
10731         * several files: ws changes
10732
10733 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10734
10735         * text2.C (setCounter): clean up a bit, use boost.format.
10736         (updateCounters): initialize par upon declaration.
10737
10738         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10739         if the layout exists. We do not just store the layout any more.
10740         (SwitchLayoutsBetweenClasses): use boost.format
10741
10742 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10743
10744         * converter.C (convert): if from and to files are the same, use a
10745         temporary files as intermediary
10746
10747 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10748
10749         * commandtags.h:
10750         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10751
10752 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10753
10754         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10755
10756 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10757
10758         * tabular.C (asciiPrintCell): use string(size, char) instead of
10759         explicit loop.
10760
10761         * sgml.C (openTag): fix order of arguments to string constructor
10762         (closeTag): ditto
10763
10764         * lyxfunc.C (dispatch): use boost.format
10765
10766         * lots of files: change "c" -> 'c'
10767
10768 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10769
10770         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10771
10772 2002-11-25  Angus Leeming  <leeming@lyx.org>
10773
10774         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10775
10776         * lyx_main.C (init): compile fix.
10777
10778 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10779
10780         * lyx_cb.C (start): boost.formatify
10781         do not include <iostream>
10782
10783         * lengthcommon.C: ws only
10784
10785         * boost-inst.C,BoostFormat.h: add more explict instantations
10786
10787 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10788
10789         * lots of files: handle USE_BOOST_FORMAT
10790
10791 2002-11-21  John Levon  <levon@movementarian.org>
10792
10793         * pspell.C: fix compile
10794
10795 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * lyxfunc.C (dispatch): use boost::format
10798         (open): ditto
10799         (doImport): ditto
10800
10801         * lyxfont.C (stateText): use boost::format
10802
10803         * lyx_main.C (LyX): use boost::format
10804         (init): ditto
10805         (queryUserLyXDir): ditto
10806         (readRcFile): ditto
10807         (parse_dbg): ditto
10808         (typedef boost::function): use the recommened syntax.
10809
10810         * importer.C (Import): use boost::format
10811
10812         * debug.C (showLevel): use boost::format
10813
10814         * converter.C (view): use boost::format
10815         (convert): ditto
10816         (move): ditto
10817         (scanLog): ditto
10818
10819         * bufferview_funcs.C (currentState): use boost::format
10820
10821         * bufferlist.C (emergencyWrite): use boost::format
10822
10823         * buffer.C (readLyXformat2): use boost::format
10824         (parseSingleLyXformat2Token): ditto
10825
10826         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10827
10828         * LaTeX.C (run): use boost::format
10829
10830         * Chktex.C (scanLogFile): use boost::format
10831
10832         * BufferView_pimpl.C (savePosition): use boost::format
10833         (restorePosition): ditto
10834         (MenuInsertLyXFile): ditto
10835
10836         * BoostFormat.h: help file for explicit instation.
10837
10838 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10839
10840         * tabular.C (latex): Support for block alignment in fixed width
10841         columns.
10842
10843 2002-11-17  John Levon  <levon@movementarian.org>
10844
10845         * BufferView_pimpl.C:
10846         * lyx_cb.C:
10847         * lyxfunc.C: split filedialog into open/save
10848
10849 2002-11-08  Juergen Vigna  <jug@sad.it>
10850
10851         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10852         by my last patch (hopefully).
10853
10854 2002-11-08  John Levon  <levon@movementarian.org>
10855
10856         * iterators.h:
10857         * iterators.C:
10858         * buffer.h:
10859         * buffer.C:
10860         * paragraph.h:
10861         * paragraph.C:
10862         * toc.h:
10863         * toc.C: ParConstIterator, and use it (from Lars)
10864
10865 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10866
10867         * lyxtextclass.[Ch]: revise and add doxygen comments
10868
10869 2002-11-07  John Levon  <levon@movementarian.org>
10870
10871         * text.C: fix progress value for spellchecker
10872
10873         * toc.C: fix navigate menu for insetwrap inside minipage
10874
10875         * paragraph_funcs.C: added FIXME for suspect code
10876
10877 2002-11-07  John Levon  <levon@movementarian.org>
10878
10879         * BufferView_pimpl.C: fix redrawing of insets
10880           on buffer switch
10881
10882 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10883
10884         * text2.C (updateCounters): fix bug 668
10885
10886 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10887
10888         * text3.C (dispatch): Do not make the buffer dirty when moving the
10889         cursor.
10890
10891 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10892
10893         * vc-backend.C: STRCONV
10894         (scanMaster): ditto
10895
10896         * text2.C (setCounter): STRCONV
10897
10898         * paragraph.C (asString): STRCONV
10899
10900         * lyxlength.C (asString): STRCONV
10901         (asLatexString): ditto
10902
10903         * lyxgluelength.C (asString): STRCONV
10904         (asLatexString): ditto
10905
10906         * lyxfunc.C (dispatch): STRCONV
10907         (open): ditto
10908
10909         * lyxfont.C (stateText): STRCONV
10910
10911         * importer.C (Import): STRCONV
10912
10913         * counters.C (labelItem): STRCONV
10914         (numberLabel): ditto
10915         (numberLabel): remove unused ostringstream o
10916
10917         * chset.C: STRCONV
10918         (loadFile): ditto
10919
10920         * bufferview_funcs.C (currentState): STRCONV
10921
10922         * buffer.C (readFile): STRCONV
10923         (asciiParagraph): ditto
10924         (makeLaTeXFile): ditto
10925
10926         * Spacing.C (writeEnvirBegin): STRCONV
10927
10928         * LaTeXFeatures.C (getLanguages): STRCONV
10929         (getPackages): ditto
10930         (getMacros): ditto
10931         (getBabelOptions): ditto
10932         (getTClassPreamble): ditto
10933         (getLyXSGMLEntities): ditto
10934         (getIncludedFiles): ditto
10935
10936         * LaTeX.C: STRCONV
10937         (run): ditto
10938         (scanAuxFile): ditto
10939         (deplog): ditto
10940
10941         * LString.h: add the STRCONV macros
10942
10943         * BufferView_pimpl.C (savePosition): STRCONV
10944         (restorePosition): ditto
10945         (MenuInsertLyXFile): ditto
10946
10947         * vc-backend.C (scanMaster): change from submatch[...] to
10948         submatch.str(...)
10949
10950         * funcrequest.C: include config.h
10951
10952         * factory.C: include config.h
10953
10954         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10955
10956         * box.C: include config.h
10957
10958         * LaTeX.C (scanAuxFile): change from submatch[...] to
10959         submatch.str(...)
10960         (deplog): ditto
10961
10962 2002-10-25  Angus Leeming  <leeming@lyx.org>
10963
10964         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10965
10966         * ispell.[Ch] (setError): new method.
10967         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10968         Use setError() insetead of goto END.
10969
10970         * lyx_cb.C (AutoSave): move out child process into new class
10971         AutoSaveBuffer.
10972
10973 2002-10-30  John Levon  <levon@movementarian.org>
10974
10975         * text3.C: make start appendix undoable
10976
10977 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10978
10979         * lyxlength.C (inPixels): Fix returned value.
10980
10981         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10982         environment.
10983
10984 2002-10-24  Angus Leeming  <leeming@lyx.org>
10985
10986         * lyxgluelength.h: no need to forward declare BufferParams
10987         or BufferView, so don't.
10988
10989 2002-10-21  John Levon  <levon@movementarian.org>
10990
10991         * BufferView.C: menuUndo ->undo, redo
10992
10993         * BufferView.h: document, remove dead, make some methods private
10994
10995         * paragraph_funcs.h:
10996         * paragraph_funcs.C:
10997         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10998
10999         * buffer.h:
11000         * buffer.C:
11001         * sgml.h:
11002         * sgml.C: move sgml open/close tag into sgml.C
11003
11004         * bufferview_funcs.h: unused prototype
11005
11006         * lyxfunc.h:
11007         * lyxfunc.C: remove unused
11008
11009         * lyxtext.h:
11010         * text.C: remove unused
11011
11012 2002-10-21  John Levon  <levon@movementarian.org>
11013
11014         * BufferView.h:
11015         * BufferView.C:
11016         * BufferView_pimpl.h:
11017         * BufferView_pimpl.C: fix mouse wheel handling based on
11018           patch from Darren Freeman
11019
11020 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
11021
11022         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
11023
11024 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
11025
11026         * lyxlength.C (inPixels): Fix hanfling of negative length.
11027         Fix LyXLength::MU case.
11028
11029 2002-10-16  John Levon  <levon@movementarian.org>
11030
11031         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
11032
11033 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11034
11035         * converter.C (view): add support for $$i (file name) and $$p
11036         (file path) for the viewer command. If $$i is not specified, then
11037         it is appended to the command (for compatibility with old syntax)
11038
11039 2002-10-14  Juergen Vigna  <jug@sad.it>
11040
11041         * undo_funcs.C (textHandleUndo): alter the order in which the
11042         new undopar is added to the LyXText, as we have to set first
11043         the right prev/next and then add it as otherwise the rebuild of
11044         LyXText is not correct. Also reset the cursor to the right paragraph,
11045         with this IMO we could remove the hack in "redoParagraphs()".
11046
11047 2002-10-09  Angus Leeming  <leeming@lyx.org>
11048
11049         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
11050         to turn off an optimisation if a new inset is to be inserted.
11051
11052 2002-10-11 André Pönitz <poenitz@gmx.net>
11053
11054         * lyxtext.h: make some functions public to allow access
11055         from inset/lyxtext for handling LFUN_PRIOR/NEXT
11056
11057 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11058
11059         * text3.C (dispatch): when changing layout, avoid an infinite loop
11060         [bug #652]
11061
11062 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11063
11064         * lyxrc.C (read): treat a viewer or converter command of "none" as
11065         if it were empty.
11066
11067         * MenuBackend.C (expandFormats): for an update, also allow the
11068         formats that are not viewable
11069
11070         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
11071         script if it is newer than the lyxrc.defaults in user directory
11072
11073 2002-10-07 André Pönitz <poenitz@gmx.net>
11074
11075         * text.C: Vitaly Lipatov's small i18n fix
11076
11077 2002-09-25  Angus Leeming  <leeming@lyx.org>
11078
11079         * ispell.h: doxygen fix.
11080
11081 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
11082
11083         * buffer.h (readFile): Add a new argument to the method, to allow
11084         reading of old-format templates.
11085
11086 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
11087
11088         * toc.C (getTocList): Get TOC from InsetWrap.
11089
11090 2002-09-16  John Levon  <levon@movementarian.org>
11091
11092         * lyxfunc.C: check tabular for cut/copy too
11093
11094 2002-09-12  John Levon  <levon@movementarian.org>
11095
11096         * LyXAction.C: tidy
11097
11098         * factory.h:
11099         * factory.C: add header
11100
11101         * paragraph_funcs.h:
11102         * paragraph_funcs.C: cleanup
11103
11104 2002-09-11  John Levon  <levon@movementarian.org>
11105
11106         * PrinterParams.h: odd/even default to true
11107
11108 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
11109
11110         * PrinterParams.h: update printer parameters for new xforms dialog
11111
11112 2002-09-11  Angus Leeming  <leeming@lyx.org>
11113
11114         * lyxserver.C (read_ready): re-write to make it more transparent
11115         and to make it work in coherent fashion under Tru64 Unix.
11116
11117 2002-09-11  André Pönitz <poenitz@gmx.net>
11118
11119         * commandtags.h:
11120         * LyXAction.C:
11121         * text3.C: implement LFUN_WORDSEL
11122
11123 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11124
11125         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
11126         make floatlist_ a boost::shared_ptr<FloatList>
11127
11128         * lyxtextclass.C: include FloatList.h
11129         (LyXTextClass): initialize floatlist_
11130         (TextClassTags): add TC_NOFLOAT
11131         (Read): match "nofloat" to TC_NOFLOAT and use it.
11132         (readFloat): modify call to floatlist_
11133         (floats): ditto
11134         (floats): ditto
11135
11136         * FloatList.[Ch] (FloatList): remove commented out float
11137         initialization.
11138         (erase): new function
11139
11140 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11141
11142         * MenuBackend.C (expandToc): fix crash when there is no document
11143         open
11144
11145 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
11146
11147         * many files: Add insetwrap.
11148
11149 2002-09-09  John Levon  <levon@movementarian.org>
11150
11151         * text2.C: remove confusing and awkward depth wraparound
11152
11153 2002-09-09  John Levon  <levon@movementarian.org>
11154
11155         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
11156
11157         * buffer.h:
11158         * buffer.C: remove getIncludeonlyList()
11159
11160         * paragraph.C:
11161         * lyxfunc.C: remove headers
11162
11163 2002-09-09  Juergen Vigna  <jug@sad.it>
11164
11165         * text.C (getColumnNearX): fix form Michael this is most
11166         probably a cut&paste bug.
11167
11168 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
11169
11170         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
11171
11172         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
11173         references, ws changes.
11174
11175         * text2.C (init): update counters after init
11176         (insertParagraph): no need to set counter on idividual paragraphs.
11177         (setCounter): access the counters object in the textclass object
11178         on in the buffer object.
11179         (updateCounters): ditto
11180
11181         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11182         shared_ptr<Counters> to avoid loading counters.h in all
11183         compilation units.
11184         (LyXTextClass): initialize ctrs_
11185         (TextClassTags): add TC_COUNTER, and ...
11186         (Read): use it here.
11187         (CounterTags): new tags
11188         (readCounter): new function
11189         (counters): new funtion
11190         (defaultLayoutName): return a const reference
11191
11192         * counters.C (Counters): remove contructor
11193         (newCounter): remove a couple of unneeded statements.
11194         (newCounter): simplify a bit.
11195         (numberLabel): some small formatting changes.
11196
11197         * buffer.[Ch]: remove all traces of counters, move the Counters
11198         object to the LyXTextClass.
11199
11200 2002-09-06  Alain Castera  <castera@in2p3.fr>
11201
11202         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11203         package to set the horizontal alignment on fixed width columns.
11204
11205         * lyx_sty.C:
11206         * lyx_sty.h: added tabularnewline macro def.
11207
11208         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11209
11210 2002-09-06  John Levon  <levon@movementarian.org>
11211
11212         * LyXAction.C: tooltips for sub/superscript
11213
11214         * MenuBackend.C: a bit more verbose
11215
11216         * lyxfunc.C: tiny clean
11217
11218         * undo_funcs.C: document undo_frozen
11219
11220 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11221
11222         * counters.C (Counters): add missing algorithm counter.
11223
11224         * text2.C (setCounter): lookup the counter with layouts latexname
11225         instead of by section number.
11226         (setCounter): use a hackish way to lookup the correct enum
11227         counter.
11228         a float name->type change
11229         reset enum couners with counter name directly instead of depth value.
11230
11231         * counters.C (Counters): remove the push_backs, change to use the
11232         float type not the float name.
11233         (labelItem): remove unused string, float name->type change
11234
11235         * counters.h: don't include vector, loose the enums and sects vectors
11236
11237 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11238
11239         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11240         (Read): add float->TC_FLOAT to textclassTags
11241         (Read): and handle it in the switch
11242         (readFloat): new function
11243
11244         * FloatList.C (FloatList): comment out the hardcoded float
11245         definitions.
11246
11247         * lyxlayout.h: ws change.
11248
11249 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11250
11251         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11252
11253 2002-09-03  Angus Leeming  <leeming@lyx.org>
11254
11255         * BufferView_pimpl.h: qualified name is not allowed in member
11256         declaration: WorkArea & Pimpl::workarea() const;
11257
11258         * factory.C: added using std::endl directive.
11259
11260         * text3.C: added using std::find and std::vector directives.
11261
11262 2002-08-29  André Pönitz <poenitz@gmx.net>
11263
11264         * lyxtext.h:
11265         * text2.C: remove unused member number_of_rows
11266
11267         * Makefile.am:
11268         * BufferView2.C: remove file, move contents to...
11269         * BufferView.C: ... here
11270
11271         * BufferView_pimpl.C:
11272         * factory.C: move more inset creation to factory
11273
11274         * vspace.C: avoid direct usage of LyXText, ws changes
11275
11276         * BufferView.[Ch]:
11277                 don't provide direct access to WorkArea, use two simple
11278                 acessors haveSelction() and workHeight() instead
11279
11280
11281 2002-08-29  John Levon  <levon@movementarian.org>
11282
11283         * BufferView_pimpl.C (dispatch): do not continue when
11284           no buffer
11285
11286 2002-08-28  André Pönitz <poenitz@gmx.net>
11287
11288         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11289
11290         * BufferView.h:
11291         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11292
11293 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11294
11295         * buffer.C: increment LYX_FORMAT to 221
11296
11297         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11298         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11299
11300         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11301
11302         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11303
11304 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11305
11306         * factory.C (createInset): use LyXTextClass::floats
11307
11308         * MenuBackend.C (expandFloatListInsert):
11309         (expandFloatInsert):
11310         (expandToc):
11311
11312         * text2.C (setCounter):
11313
11314         * LaTeXFeatures.C (useFloat):
11315         (getFloatDefinitions):
11316
11317         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11318
11319         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11320         floatlist_, with accessor floats().
11321
11322         * FloatList.h: remove global FloatList
11323
11324 2002-08-26  André Pönitz <poenitz@gmx.net>
11325
11326         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11327
11328         * BufferView.h:
11329         * BufferView2.C:
11330         * BufferView_pimpl.C:
11331         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11332
11333 2002-08-25  John Levon  <levon@movementarian.org>
11334
11335         * LyXAction.C: fix margin note description
11336
11337 2002-08-24  John Levon  <levon@movementarian.org>
11338
11339         * buffer.C:
11340         * bufferlist.C:
11341         * bufferview_funcs.C:
11342         * lyxfont.C:
11343         * undo_funcs.C: cleanups
11344
11345         * lyxfunc.C: disable CUT/COPY when no selection
11346
11347 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11348
11349         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11350         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11351
11352         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11353         Add backward compatibility to "mono", "gray" and "no".
11354
11355 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11356
11357         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11358         (and file_format >= 200).
11359
11360 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11363
11364 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11365
11366         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11367
11368 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11369
11370         * BufferView_pimpl.C:
11371         * LyXAction.C:
11372         * buffer.C:
11373         * commandtags.h:
11374         * lyxfunc.C:
11375         * paragraph.[Ch]:
11376         * text2.C:
11377         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11378         inset and code to make it  work with the paragraph code. The inset
11379         can be anywhere in the paragraph, but will only do the expected
11380         thing in LaTeX if the layout file contains the parameter line
11381                         OptionalArgs    1
11382         (or more generally, a nonzero value) for that layout.
11383
11384 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11385
11386         * paragraph.h: remove the declaration of undefined counters class
11387         function.
11388
11389 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11390
11391         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11392         Dr. Richard Hawkins.
11393
11394 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * paragraph_funcs.h: remove some unneeded includes
11397
11398         * text.C (backspace): pasteParagraph now in global scipe
11399
11400         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11401         (pasteSelection): ditto
11402
11403         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11404         * paragraph_funcs.C (pasteParagraph): ... here
11405
11406 2002-08-20  André Pönitz <poenitz@gmx.net>
11407
11408         * commandtags.h: new LFUNs for swapping/copying table row/colums
11409
11410         * LyXAction.C:
11411         * lyxfunc.C: support for new lfuns
11412
11413 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11414
11415         * tabular.C:
11416         * buffer.[Ch]: remove NO_COMPABILITY stuff
11417
11418 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11419
11420         * boost.C (throw_exception): new file, with helper function for
11421         boost compiled without exceptions.
11422
11423         * paragraph.h:
11424         * lyxlength.C:
11425         * buffer.C:
11426         * ParameterStruct.h:
11427         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11428
11429         * bufferlist.C (emergencyWriteAll): use boost bind
11430
11431         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11432
11433         * text.C: include paragraph_funcs.h
11434         (breakParagraph): breakParagraph is now in global scope
11435
11436         * paragraph_funcs.[Ch]: new files
11437
11438         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11439         global scope
11440
11441         * buffer.C: include paragraph_funcs.h
11442         (insertStringAsLines): breakParagraph is now in global scope
11443
11444         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11445         paragraph_funcs.C
11446
11447         * CutAndPaste.C: include paragraph_funcs.h
11448         (cutSelection): breakParagraphConservative is now in global scope
11449         (pasteSelection): ditto
11450
11451         * buffer.h: declare oprator== and operator!= for
11452         Buffer::inset_iterator
11453
11454         * bufferlist.C (emergencyWrite): don't use fmt(...)
11455
11456         * text3.C: add using std::endl
11457
11458         * BufferView.C (moveCursorUpdate): remove default arg
11459
11460 2002-08-20  André Pönitz <poenitz@gmx.net>
11461
11462         * buffer.[Ch]: move inline functions to .C
11463
11464         * BufferView2.C:
11465         * BufferView_pimpl.C:
11466         * text.C:
11467         * buffer.[Ch]: use improved inset_iterator
11468
11469         * buffer.C:
11470         * paragraph.[Ch]: write one paragraph at a time
11471
11472 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11473
11474         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11475         style if style is not specified.
11476
11477 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11478
11479         * text2.C (setCounter): when searching for right label for a
11480         caption, make sure to recurse to parent insets (so that a caption
11481         in a minipage in a figure float works) (bug #568)
11482
11483 2002-08-20  André Pönitz <poenitz@gmx.net>
11484
11485         * text3.C: new file for LyXText::dispatch() and helpers
11486
11487         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11488
11489         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11490
11491 2002-08-19  André Pönitz <poenitz@gmx.net>
11492
11493         * lyxtext.h:
11494         * text.C: new LyXText::dispatch()
11495
11496         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11497
11498 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11499
11500         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11501
11502         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11503         Hebrew text.
11504
11505 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11506
11507         * Makefile.am: use $(variables) instead of @substitutions@
11508
11509 2002-08-15  André Pönitz <poenitz@gmx.net>
11510
11511         * lyxfunc.C:
11512         * BufferView_pimpl.C: streamlining mathed <-> outer world
11513         interaction
11514
11515         * commandtags.h:
11516         * LyXAction.C: remove unused LFUN_MATH
11517
11518 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11519
11520         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11521
11522 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11523
11524         * paragraph.C (Paragraph): reformat a bit
11525         (cutIntoMinibuffer): use builtin InsetList function instad of
11526         doing it manually.
11527         (getInset): ditto
11528
11529         * buffer.C: include boost/bind.hpp, add using std::for_each
11530         (writeFileAscii): use ParagraphList iterators
11531         (validate): use for_each for validate traversal of paragraphs
11532         (getBibkeyList): use ParagraphList iterators
11533         (resizeInsets): use for_each to resizeInsetsLyXText for all
11534         paragraphs.
11535         (getParFromID): use ParagraphList iterators
11536
11537         * BufferView2.C (lockInset): use paragraph list and iterators
11538
11539 2002-08-14  John Levon  <levon@movementarian.org>
11540
11541         * lyxserver.C: remove spurious xforms include
11542
11543 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11544
11545         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11546
11547 2002-08-13  André Pönitz <poenitz@gmx.net>
11548
11549         * LyXAction.[Ch]:
11550         * lyxfunc.C: further cleaning
11551
11552 2002-08-13  André Pönitz <poenitz@gmx.net>
11553
11554         * funcrequest.h: new constructor
11555
11556         * funcrequest.C: move stuff here from .h
11557
11558         * Makefile.am:
11559         * BufferView_pimpl.C:
11560         * LyXAction.C:
11561         * toc.C:
11562         * lyxfunc.C: subsequent changes
11563
11564         * lyxfunc.h: new view() member function
11565
11566         * lyxfunc.C: subsequent changes
11567
11568 2002-08-13  Angus Leeming  <leeming@lyx.org>
11569
11570         * BufferView2.C:
11571         * BufferView_pimpl.C:
11572         * buffer.C:
11573         * converter.C:
11574         * importer.C:
11575         * lyxfunc.C:
11576         * lyxvc.C:
11577         * toc.C:
11578         * vc-backend.C:
11579         changes due to the changed LyXView interface that now returns references
11580         to member variables not pointers.
11581
11582 2002-08-13  Angus Leeming  <leeming@lyx.org>
11583
11584         * WordLangTuple (word, lang_code): return references to strings,
11585         not strings.
11586
11587         * BufferView.h:
11588         * SpellBase.h:
11589         * lyxtext.h: forward-declare WordLangTuple.
11590
11591         * BufferView2.C:
11592         * ispell.C:
11593         * pspell.C:
11594         * text.C: #include "WordLangTuple.h".
11595
11596         * lyxtext.h:
11597         * text.C: (selectNextWordToSpellcheck): constify return type.
11598
11599 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11600
11601         * buffer.C:
11602         * buffer.h:
11603         * lyxtext.h:
11604         * paragraph.C:
11605         * paragraph_pimpl.h:
11606         * text.C:
11607         * text2.C:
11608         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11609         suggested by Angus.
11610         Made updateCounter always count from start of buffer, and removed
11611         second argument (par).
11612         Reverted floats number display to '#'. Perhaps I'll try again when the
11613         code base is sanitized a bit.
11614
11615 2002-08-12  Angus Leeming  <leeming@lyx.org>
11616
11617         * buffer.[Ch] (getLabelList): constify.
11618
11619 2002-08-07  André Pönitz <poenitz@gmx.net>
11620
11621         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11622
11623         * funcrequest.h: extension to keep mouse (x,y) position
11624
11625 2002-08-12  Juergen Vigna  <jug@sad.it>
11626
11627         * BufferView2.C (insertErrors): forbid undo when inserting error
11628         insets.
11629
11630         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11631
11632 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11633
11634         * ParagraphList.[Ch]: new files
11635
11636         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11637
11638         * BufferView2.C (lockInset): ParagraphList changes
11639         * toc.C: ditto
11640         * text2.C: ditto
11641         * bufferlist.C: ditto
11642         * buffer.h: ditto
11643         * buffer.C: ditto
11644
11645 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11646
11647         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11648         unused class variable counter_,
11649
11650         * paragraph.[Ch] (getFirstCounter): delete unused function
11651
11652         * counters.C: include LAssert.h
11653         (reset): add a new function with no arg, change other version to
11654         not have def. arg and to not allow empty arg.
11655
11656         * text2.C (setCounter): remove empty arg from call to Counters::reset
11657
11658 2002-08-11  John Levon  <levon@movementarian.org>
11659
11660         * Makefile.am: add WordLangTuple.h
11661
11662 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11663
11664         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11665         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11666
11667         * insets/insettext.C: InsetList changes
11668
11669         * graphics/GraphicsSupport.C (operator()): InsetList changes
11670
11671         * toc.C (getTocList): InsetList changes
11672
11673         * paragraph_pimpl.[Ch]: InsetList changes
11674
11675         * paragraph.[Ch]: InsetList changes
11676
11677         * buffer.C (inset_iterator): InsetList changes
11678         (setParagraph): ditto
11679         * buffer.h (inset_iterator): ditto
11680         * iterators.C (operator++): ditto
11681         * iterators.h: ditto
11682
11683         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11684
11685         * InsetList.[Ch]: new files, most InsetList handling moved out of
11686         paragraph.C.
11687
11688         * BufferView2.C (removeAutoInsets): InsetList changes
11689         (lockInset): ditto
11690         (ChangeInsets): ditto
11691
11692 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11693
11694         * paragraph_pimpl.h (empty): new function
11695
11696         * paragraph.[Ch] (empty): new function
11697
11698         * other files: use the new Paragraph::empty function
11699
11700 2002-08-09  John Levon  <levon@movementarian.org>
11701
11702         * lyxtext.h: remove unused refresh_height
11703
11704 2002-08-09  John Levon  <levon@movementarian.org>
11705
11706         * Makefile.am:
11707         * sgml.h:
11708         * sgml.C:
11709         * buffer.C:
11710         * paragraph.h:
11711         * paragraph.C: move sgml char escaping out of paragraph
11712
11713         * paragraph.h:
11714         * paragraph.C: remove id setter
11715
11716         * buffer.C:
11717         * paragraph.C:
11718         * paragraph_pimpl.C: remove dead tex_code_break_column
11719
11720         * bufferview_funcs.C: small cleanup
11721
11722         * lyxfunc.C: remove dead proto
11723
11724         * lyxtext.h: make some stuff private. Remove some dead stuff.
11725
11726         * lyxgluelength.C: make as[LyX]String() readable
11727
11728 2002-08-08  John Levon  <levon@movementarian.org>
11729
11730         * LyXAction.h:
11731         * LyXAction.C:
11732         * MenuBackend.C:
11733         * ToolbarDefaults.C:
11734         * lyxfunc.C:
11735         * lyxrc.C:
11736         * toc.C: lyxaction cleanup
11737
11738 2002-08-08  John Levon  <levon@movementarian.org>
11739
11740         * BufferView2.C: small cleanup
11741
11742         * lyxfind.h:
11743         * lyxfind.C: move unnecessary header into the .C
11744
11745 2002-08-08  John Levon  <levon@movementarian.org>
11746
11747         * funcrequest.h: just tedious nonsense
11748
11749         * lyx_main.h:
11750         * lyx_main.C: cleanups
11751
11752         * buffer.C:
11753         * vspace.C: remove dead header lyx_main.h
11754
11755 2002-08-07  Angus Leeming  <leeming@lyx.org>
11756
11757         * Paragraph.[Ch]:
11758         * paragraph_pimpl.h:
11759         Forward declare class Counters in paragraph.h by moving the ctrs member
11760         variable into Paragraph::Pimpl.
11761         (counters): new method, returning a reference to pimpl_->ctrs.
11762
11763         * text2.C: ensuing changes.
11764
11765 2002-08-07  John Levon  <levon@movementarian.org>
11766
11767         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11768
11769         * BufferView_pimpl.C: announce X selection on double/triple
11770           click
11771
11772         * lyx_main.C: use correct bool in batch dispatch
11773
11774         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11775
11776 2002-08-07  André Pönitz <poenitz@gmx.net>
11777
11778         * funcrequest.h: new class to wrap a kb_action and its argument
11779
11780         * BufferView.[Ch]:
11781         * BufferView_pimpl[Ch]:
11782         * LaTeX.C:
11783         * LyXAction.[Ch]:
11784         * lyxfunc.[Ch]:
11785         * lyxrc.C: subsequent changes
11786
11787
11788 2002-08-07  John Levon  <levon@movementarian.org>
11789
11790         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11791           document options change.
11792
11793 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11794
11795         * counters.[Ch]
11796         * text2.C
11797         * paragraph.[Ch]
11798         * makefile.am: move counters functionality over from
11799         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11800
11801 2002-08-06  John Levon  <levon@movementarian.org>
11802
11803         * WordLangTuple.h: new file for word + language code tuple
11804
11805         * SpellBase.h:
11806         * pspell.h:
11807         * pspell.C:
11808         * ispell.h:
11809         * ispell.C:
11810         * lyxtext.h:
11811         * text.C:
11812         * text2.C:
11813         * BufferView.h:
11814         * BufferView2.C: use WordLangTuple
11815
11816         * layout.h:
11817         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11818
11819 2002-08-06  John Levon  <levon@movementarian.org>
11820
11821         * lyx_main.C: fix cmdline batch handling
11822
11823 2002-08-06  André Pönitz <poenitz@gmx.net>
11824
11825         * lyxrc.C: set default for show_banner to true
11826
11827 2002-08-06  John Levon  <levon@movementarian.org>
11828
11829         * pspell.C: fix a crash, and allow new aspell to work
11830
11831 2002-08-06  John Levon  <levon@movementarian.org>
11832
11833         * lyxfunc.C:
11834         * kbmap.C: small cleanup
11835
11836         * vspace.h:
11837         * vspace.C: add const
11838
11839 2002-08-05  John Levon  <levon@movementarian.org>
11840
11841         * LyXAction.C: back to tabular-insert
11842
11843 2002-08-04  John Levon  <levon@movementarian.org>
11844
11845         * BufferView.h:
11846         * BufferView.C: cosmetic change
11847
11848         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11849
11850         * bufferlist.C:
11851         * buffer.h:
11852         * buffer.C:
11853         * lyxcb.h:
11854         * lyxcb.C:
11855         * lyxserver.C:
11856         * lyxvc.C:
11857         * vc-backend.C:
11858         * BufferView2.C: purge all "Lyx" not "LyX" strings
11859
11860         * lyxcursor.h:
11861         * lyxcursor.C: attempt to add some documentation
11862
11863         * lyxfunc.C:
11864         * commandtags.h:
11865         * LyXAction.C:
11866         * ToolbarDefaults.C:
11867         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11868           merge with LFUN_TABULAR_INSERT
11869
11870         * Makefile.am:
11871         * SpellBase.h:
11872         * ispell.h:
11873         * ispell.C:
11874         * pspell.h:
11875         * pspell.C: split up i/pspell implementations into separate
11876           files, many cleanups
11877
11878         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11879
11880         * text2.C: some cleanup
11881
11882         * lyxfunc.C: don't check for isp_command == "none" any more, it
11883           didn't make any sense
11884
11885 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11886
11887         * counters.[Ch]
11888         * text2.C
11889         * paragraph.[Ch]
11890         * makefile.am: move counters functionality over
11891         from text2.C/paragraph.[Ch] to counters.[Ch], and
11892         make proper C++.
11893 2002-08-02  John Levon  <levon@movementarian.org>
11894
11895         * buffer.C: s/lyxconvert/lyx2lyx/
11896
11897 2002-08-02  Angus Leeming  <leeming@lyx.org>
11898
11899         * lyxlex.C: revert John's change as it breaks reading of the user
11900         preamble.
11901
11902 2002-08-02  Angus Leeming  <leeming@lyx.org>
11903
11904         * importer.C (Import):
11905         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11906         changes due to LyXView::view() now returning a boost::shared_ptr.
11907
11908 2002-08-02  John Levon  <levon@movementarian.org>
11909
11910         * lyxlex.C: small cleanup
11911
11912 2002-08-02  John Levon  <levon@movementarian.org>
11913
11914         * text2.C (status): small cleanup, no logic change
11915
11916 2002-08-01  John Levon  <levon@movementarian.org>
11917
11918         * buffer.h:
11919         * buffer.C (writeFile): don't output alerts, caller
11920           handles this
11921
11922         * bufferlist.C:
11923         * lyx_cb.C: from above
11924
11925         * lyxfunc.C: allow to open non-existent files
11926
11927 2002-07-31  John Levon  <levon@movementarian.org>
11928
11929         * lyxserver.C: don't let incidental errors get
11930           in the way (errno)
11931
11932 2002-07-30  John Levon  <levon@movementarian.org>
11933
11934         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11935
11936 2002-07-30  John Levon  <levon@movementarian.org>
11937
11938         * lyxserver.h:
11939         * lyxserver.C: remove I/O callback too
11940
11941 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11944         log.
11945
11946 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11947
11948         * many files: strip,frontStrip -> trim,ltrim,rtrim
11949
11950 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11951
11952         * PrinterParams.h: remove extern containsOnly, and include
11953         support/lstrings.h instead.
11954
11955         * LaTeX.C (scanAuxFile): modify because of strip changes
11956         (deplog): ditto
11957         * buffer.C (makeLaTeXFile): ditto
11958         * bufferparams.C (writeFile): ditt
11959         * lyxfont.C (stateText): ditto
11960         * lyxserver.C (read_ready): ditto
11961         * vc-backend.C (scanMaster): ditto
11962
11963         * BufferView_pimpl.h: ws changes
11964
11965         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11966
11967 2002-07-26  André Pönitz <poenitz@gmx.net>
11968
11969         * kb_sequence.C: remove unnedred usings
11970
11971 2002-07-26  Juergen Vigna  <jug@sad.it>
11972
11973         * lyxfind.C (LyXReplace): we have to check better if the returned
11974         text is not of theLockingInset()->getLockingInset().
11975
11976 2002-07-25  Juergen Vigna  <jug@sad.it>
11977
11978         * lyxfind.C (LyXReplace): don't replace if we don't get the
11979         right LyXText.
11980
11981         * undo_funcs.C (createUndo): remove debugging code.
11982
11983 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11984
11985         * buffer.C (parseSingleLyXformat2Token): Use default placement
11986         when reading old floats.
11987
11988         * FloatList.C (FloatList): Change the default placement of figure
11989         and tables to "tbp".
11990
11991 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * MenuBackend.C: using std::max
11994
11995 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11996
11997         * MenuBackend.C (expandToc):
11998         (expandToc2): code moved from xforms menu frontend. It is now
11999         generic and TOCs are transparent to menu frontends.
12000
12001 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12002
12003         * toc.C (getTocList): protect against buf=0
12004
12005         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
12006         Menu as first parameter. Now, this calls itself recursively to
12007         expand a whole tree (this will be useful for TOC handling)
12008         (expandFloatInsert): remove 'wide' version of floats
12009
12010         * MenuBackend.h (submenuname): returns the name of the submenu.
12011         (submenu): returns the submenu itself, provided it has been
12012         created by MenuBackend::expand
12013
12014 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12015
12016         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
12017         insets which have noFontChange == true. (bug #172)
12018
12019 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * BufferView_pimpl.C: add connection objects and use them...
12022         (Pimpl): here.
12023
12024 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12025
12026         * MenuBackend.C (expandLastfiles):
12027         (expandDocuments):
12028         (expandFormats):
12029         (expandFloatListInsert):
12030         (expandFloatInsert):
12031         (expand): split expand in parts
12032
12033 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * lyx_gui.C: use lyx_gui::exit()
12036
12037 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * LyXAction.C: show the failing pseudo action
12040
12041 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
12042
12043         * buffer.C (readFile): Run the lyxconvert script in order to read
12044         old files.
12045
12046 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * LyXAction.C:
12049         * commandtags.h:
12050         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
12051
12052 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * LyXAction.C:
12055         * commandtags.h:
12056         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
12057
12058 2002-07-22  Herbert Voss  <voss@lyx.org>
12059
12060         * lengthcommon.C:
12061         * lyxlength.[Ch]: add support for the vertical lengths
12062
12063 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * toc.[Ch]: std:: fixes
12066
12067 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12068
12069         * lyxrc.C: do not include lyx_main.h
12070
12071         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
12072         for layouts
12073
12074         * lyxrc.C:
12075         * encoding.C:
12076         * bufferlist.C:
12077         * BufferView2.C: include "lyxlex.h"
12078
12079         * tabular.h:
12080         * bufferparams.h: do not #include "lyxlex.h"
12081
12082         * lyxtextclasslist.C (Add): remove method
12083         (classlist): renamed to classlist_
12084
12085         * paragraph_pimpl.C:
12086         * paragraph.C:
12087         * text2.C:
12088         * CutAndPaste.C:
12089         * bufferview_funcs.C:
12090         * bufferlist.C:
12091         * text.C:
12092         * LaTeXFeatures.C:
12093         * buffer.C:
12094         * toc.C (getTocList): use BufferParams::getLyXTextClass
12095
12096         * toc.C (getTocList): use InsetFloat::addToToc
12097
12098         * toc.[Ch]: new files, containing helper functions to handle table
12099         of contents
12100
12101         * lyxfunc.C (dispatch): no need to remove spaces around command
12102         given as a string
12103         (getStatus): handle LFUN_SEQUENCE by returning the status of the
12104         first command of the sequence; it is not very clever, but I do not
12105         have a better idea, actually
12106
12107         * LyXAction.C (LookupFunc): make sure to remove space at the
12108         beginning and end of the command
12109
12110 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12111
12112         * MenuBackend.C (getMenubar): new method: return the menubar of
12113         this menu set
12114         (read): treat differently reading of menu and menubar (in
12115         particular, the menubar has no name now)
12116         (Menu::menubar): remove
12117
12118         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
12119         saving is finished
12120
12121 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12122
12123         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
12124         a bibitem inset in a RTL paragraph.
12125
12126 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * paragraph_pimpl.C: constify
12129
12130         * BufferView_pimpl.C:
12131         * LaTeX.C:
12132         * lyxfunc.C: fix dispatch in a nicer way
12133
12134 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * lyxfunc.C (dispatch):
12137         * BufferView_pimpl.C:
12138         * BufferView_pimpl.h:
12139         * BufferView.C:
12140         * BufferView.h: rename Dispatch() to dispatch()
12141
12142         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
12143
12144         * lyxlayout.C (Read): honor DependsOn tag
12145
12146         * lyxlayout.[Ch] (depends_on): new method
12147
12148         * version.C.in: update lyx_docversion
12149
12150         * LaTeXFeatures.C (getMacros): only define \LyX when needed
12151
12152         * paragraph.C (validate): remove from here...
12153         * paragraph_pimpl.C (validate): ... and move here
12154         (isTextAt): make it const
12155
12156         * buffer.C (getLists): ws cleanup
12157
12158 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
12159
12160         * language.C (read): Use iso8859-1 encoding in latex_lang
12161         (this prevents LyX from crashing when using iso10646-1 encoding).
12162
12163 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * text2.C (toggleInset): if cursor is inside an inset, close the
12166         inset and leave cursor _after_ it
12167
12168 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * lyxfunc.C: move minibuffer completion handling out of here
12171
12172 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
12173
12174         * BufferView_pimpl.C:
12175         * LaTeX.C: fix dispatch calls
12176
12177 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12178
12179         * text.C (drawChars): Fix Arabic text rendering.
12180
12181 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * LyXAction.C:
12184         * commandtags.h:
12185         * lyxfunc.C: remove message-push/pop
12186
12187         * lyxserver.C:
12188         * lyxfunc.h:
12189         * lyxfunc.C: rationalise some code by removing verboseDispatch
12190           in favour of a bool argument to dispatch()
12191
12192 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * lyx_main.C (init): make sure to read symlinks as absolute paths
12195
12196 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12197
12198         * lyxfunc.h:
12199         * lyxfunc.C: no need for commandshortcut to be a member
12200
12201 2002-07-15  André Pönitz <poenitz@gmx.net>
12202
12203         * converter.C: add support for $$s (scripts from lib/scripts dir)
12204         * lyx_main.C: white space
12205
12206 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * bufferlist.C:
12209         * lyxrc.h:
12210         * lyxrc.C: remove second exit confirmation
12211
12212 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12213
12214         * BufferView.h:
12215         * BufferView.C:
12216         * BufferView2.C:
12217         * BufferView_pimpl.h:
12218         * BufferView_pimpl.C:
12219         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12220
12221 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12222
12223         * MenuBackend.C (expand): add numeric shortcuts to document menu
12224
12225         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12226
12227 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12228
12229         * lyxfont.C (setLyXFamily):
12230         (setLyXSeries):
12231         (setLyXShape):
12232         (setLyXSize):
12233         (setLyXMisc):
12234         (lyxRead):
12235         * debug.C (value):
12236         * buffer.C (asciiParagraph): use ascii_lowercase
12237
12238 2002-07-15  Mike Fabian  <mfabian@suse.de>
12239
12240         * lyxlex_pimpl.C (search_kw):
12241         * lyxlex.C (getLongString):
12242         * converter.h (operator<):
12243         * converter.C (operator<):
12244         * buffer.C (parseSingleLyXformat2Token):
12245         (asciiParagraph):
12246         * ToolbarDefaults.C (read):
12247         * MenuBackend.C (checkShortcuts):
12248         (read):
12249         * LColor.C (getFromGUIName):
12250         (getFromLyXName): use the compare_ascii_no_case instead of
12251         compare_no_case, because in turkish, 'i' is not the lowercase
12252         version of 'I', and thus turkish locale breaks parsing of tags.
12253
12254 2002-07-16  Angus Leeming  <leeming@lyx.org>
12255
12256         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12257         now takes a Buffer const & argument.
12258
12259 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * BufferView.C (resize): check there's a buffer to resize
12262
12263 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12264
12265         * lyxfunc.C: remove dead code
12266
12267         * lyxserver.h:
12268         * lyxserver.C: use lyx_guii::set_read_callback
12269
12270 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12273         an inset in a RTL paragraph.
12274
12275 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * lyxfunc.C: repaint after a font size update
12278
12279 2002-07-15  André Pönitz <poenitz@gmx.net>
12280
12281         * lyxlength.C: inBP should be able to return negative values
12282
12283 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * lyxfunc.C: use lyx_gui::update_fonts()
12286
12287 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12288
12289         * lyxfunc.C: use lyx_gui::update_color()
12290
12291 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12292
12293         * bufferlist.C:
12294         * lyxfunc.h:
12295         * lyxfunc.C:
12296         * lyxrc.h:
12297         * lyxrc.C: remove file->new asks for name option, and let
12298           buffer-new take an argument
12299
12300 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12301
12302         * BufferView_pimpl.C: remove unneeded extra repaint()
12303
12304 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12305
12306         * LyXAction.C: allow command-sequence with NoBuffer
12307
12308         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12309
12310 2002-07-10  Angus Leeming  <leeming@lyx.org>
12311
12312         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12313
12314 2002-07-09  Angus Leeming  <leeming@lyx.org>
12315
12316         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12317
12318 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * lengthcommon.h: whitespace
12321
12322         * lyxfunc.C: update scrollbar after goto paragraph
12323
12324         * lyxtext.h: factor out page break drawing, and fix it so
12325           page break/added space paints as selected nicely
12326
12327 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * BufferView_pimpl.C: add FIXMEs, clean up a little
12330
12331 2002-07-09  André Pönitz <poenitz@gmx.net>
12332
12333         * lyxfont.[Ch]: support for wasy symbols
12334
12335 2002-07-08  André Pönitz <poenitz@gmx.net>
12336
12337         * BufferView_pimpl.C: apply John's patch for #93.
12338
12339 2002-07-05  Angus Leeming  <leeming@lyx.org>
12340
12341         * BufferView_pimpl.C (buffer): generate previews if desired.
12342
12343         * LColor.h: add "preview" to the color enum.
12344
12345         * LColor.C (LColor): add a corresponding entry to the items array.
12346
12347         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12348         with this buffer.
12349
12350 2002-07-05  Angus Leeming  <leeming@lyx.org>
12351
12352         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12353         The body of the code is now in the method that is passed an ostream &
12354         rather than a file name.
12355         Pass an additional only_preamble parameter, useful for the forthcoming
12356         preview stuff.
12357
12358 2002-07-03  André Pönitz <poenitz@gmx.net>
12359
12360         * lyxfunc.C: simplify getStatus() a bit for math stuff
12361
12362 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12365
12366 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12367
12368         * text.C (changeRegionCase): do not change case of all the
12369         document when region ends at paragraph end (bug #461)
12370
12371 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12372
12373         * paragraph.C (startTeXParParams):
12374         (endTeXParParams): add \protect when necessary
12375
12376 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * BufferView_pimpl.C (workAreaExpose): remove warning
12379
12380 2002-06-27  Angus Leeming  <leeming@lyx.org>
12381
12382         * Makefile.am: add lyxlayout_ptr_fwd.h.
12383
12384 2002-06-26  André Pönitz <poenitz@gmx.net>
12385
12386         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12387
12388 2002-06-25  Angus Leeming  <leeming@lyx.org>
12389
12390         * lyxfunc.C (dispatch): Comment out the call to
12391         grfx::GCache::changeDisplay. The method no longer exists now that the
12392         pixmap generation part of the graphics loader has been moved into
12393         InsetGraphics.
12394
12395 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12396
12397         * text2.C: layout as layout
12398
12399         * text.C: layout as layout
12400
12401         * tabular.C (OldFormatRead): layout as layout
12402
12403         * paragraph_pimpl.C (TeXDeeper): layout as layout
12404         (realizeFont): layout as layout
12405
12406         * paragraph.C (writeFile): layout as layout
12407         (validate): layout as layout
12408         (getFont): layout as layout
12409         (getLabelFont): layout as layout
12410         (getLayoutFont): layout as layout
12411         (breakParagraph): layout as layout
12412         (stripLeadingSpaces): layout as layout
12413         (getEndLabel): layout as layout
12414         (getMaxDepthAfter): layout as layout
12415         (applyLayout): layout as layout
12416         (TeXOnePar): layout as layout
12417         (simpleTeXOnePar): layout as layout
12418         (TeXEnvironment): layout as layout
12419         (layout): layout as layout
12420         (layout): layout as layout
12421
12422         * lyxtextclass.C (compare_name): new functor to work with
12423         shared_ptr, layout as layout
12424         (Read): layout as layout
12425         (hasLayout): layout as layout
12426         (operator): layout as layout
12427         (delete_layout): layout as layout
12428         (defaultLayout): layout as layout
12429
12430         * lyxlayout_ptr_fwd.h: new file
12431
12432         * lyxlayout.C (Read): layout as layout
12433
12434         * lyx_cb.C (MenuInsertLabel): layout as layout
12435
12436         * bufferlist.C (newFile): layout as layout
12437
12438         * buffer.C (readLyXformat2): layout as layout
12439         (parseSingleLyXformat2Token): layout as layout
12440         (insertStringAsLines): layout as layout
12441         (asciiParagraph): layout as layout
12442         (latexParagraphs): layout as layout
12443         (makeLinuxDocFile): layout as layout
12444         (simpleLinuxDocOnePar): layout as layout
12445         (makeDocBookFile): layout as layout
12446         (simpleDocBookOnePar): layout as layout
12447         (getLists): layout as layout
12448
12449         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12450
12451         * CutAndPaste.C (cutSelection): layout as layout
12452         (pasteSelection): layout as layout
12453         (SwitchLayoutsBetweenClasses): layout as layout
12454
12455         * BufferView_pimpl.C (Dispatch): layout as layout
12456         (smartQuote): layout as layout
12457
12458         * BufferView2.C (unlockInset): layout as layout
12459
12460 2002-06-24  André Pönitz <poenitz@gmx.net>
12461
12462         * lyxfunc.C: fix #487
12463
12464 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * lyxrc.h:
12467         * lyxrc.C:
12468         * lyxfunc.C: remove display_shortcuts, show_banner
12469
12470 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12471
12472         * Buffer_pimpl.C: oops, update on resize
12473
12474 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * buffer.C:
12477         * converter.C:
12478         * exporter.C:
12479         * lyxfunc.C:
12480         * BufferView.h:
12481         * BufferView.C: use repaint()
12482
12483         * BufferView_pimpl.h:
12484         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12485           as it's a clearer description. Remove superfluous
12486           redraws.
12487
12488 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12489
12490         * text.C: fix bug 488. Not ideal, but getting
12491           getWord() to work properly for the insets that
12492           matter is more difficult ...
12493
12494 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * BufferView_pimpl.C:
12497         * LyXAction.C:
12498         * commandtags.h:
12499         * lyxfunc.C: remove the six million index lyxfuncs to just
12500           one, and DTRT (bug 458)
12501
12502 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * BufferView.h:
12505         * BufferView.C:
12506         * BufferView_pimpl.h:
12507         * BufferView_pimpl.C: clean up resize() stuff,
12508           and unnecessary updateScreen()s
12509
12510 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * BufferView.h:
12513         * BufferView.C:
12514         * BufferView_pimpl.h:
12515         * BufferView_pimpl.C:
12516         * lyxfind.h:
12517         * lyxfind.C:
12518         * minibuffer.C: remove focus management of workarea,
12519           not needed. Use screen's greyOut()
12520
12521 2002-06-17  Herbert Voss  <voss@lyx.org>
12522
12523         * converter.C: (convert) do not post a message, when converting
12524         fails, let the calling function decide what to do in this case
12525
12526 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * lyxfunc.C: tidy up a little
12529
12530 2002-06-16    <alstrup@diku.dk>
12531
12532         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12533         Got rid of FORMS_H_LOCATION include. Now we are
12534         GUII.
12535
12536 2002-06-15  LyX Development team  <lyx@rilke>
12537
12538         * buffer.[Ch] (sgmlOpenTag):
12539         (sgmlCloseTag): Added support for avoiding pernicious mixed
12540         content. Return number of lines written.
12541
12542         (makeLinuxDocFile):
12543         (makeDocBookFile): Fixed calls to sgml*Tag.
12544         Simple white space clean.
12545
12546         (simpleDocBookOnePar): Simple white space clean.
12547
12548         * tabular.[Ch] (docBook): Renamed to docbook and got another
12549         argument to related with the pernicious mixed content.
12550
12551         (docbookRow): Fixed calls for docbook inset method.
12552
12553 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12554
12555         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12556         so it's X11 independent.
12557
12558         * kb*.[Ch]: ditto.
12559
12560         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12561
12562 2002-06-15  Lyx Development team  <lyx@electronia>
12563
12564         * intl.h: Renamed getTrans to getTransManager.
12565
12566 2002-06-14  Angus Leeming  <leeming@lyx.org>
12567
12568         * Makefile.am: nuke forgotten stl_string_fwd.h.
12569
12570 2002-06-12  Angus Leeming  <leeming@lyx.org>
12571
12572         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12573
12574 2002-06-13  Angus Leeming  <leeming@lyx.org>
12575
12576         * LaTeX.C:
12577         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12578
12579 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12580
12581         * kbmap.C (getiso): add support for cyrillic and greek
12582
12583 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * BufferView.h:
12586         * BufferView.C:
12587         * BufferView_pimpl.h:
12588         * BufferView_pimpl.C: move bogus scrolling logic
12589           to xforms
12590
12591 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12592
12593         * lyxfunc.C:
12594         * BufferView_pimpl.C: view->resize() change
12595
12596 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * BufferView_pimpl.C: topCursorVisible
12599           prototype change
12600
12601 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * Makefile.am:
12604         * lyx_gui.h:
12605         * lyx_gui.C: move to frontends/
12606
12607         * main.C:
12608         * lyx_main.h:
12609         * lyx_main.C: changes from above
12610
12611 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12612
12613         * intl.C:
12614         * intl.h:
12615         * kbmap.C:
12616         * kbsequence.C:
12617         * lyx_cb.C:
12618         * lyx_main.C: minor tidy
12619
12620 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * BufferView_pimpl.h:
12623         * BufferView_pimpl.C:
12624         * BufferView.h:
12625         * BufferView.C: make painter() const,
12626           remove dead code
12627
12628         * BufferView2.C: use screen() accessor
12629
12630         * lyx_main.h:
12631         * lyx_main.C: some minor cleanup
12632
12633 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * BufferView_pimpl.h:
12636         * BufferView_pimpl.C: remove enter/leaveView,
12637           use workHeight()
12638
12639 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * BufferView.h:
12642         * BufferView.C:
12643         * BufferView2.C:
12644         * BufferView_pimpl.h:
12645         * BufferView_pimpl.C: only construct screen once,
12646           rename
12647
12648         * lyxrc.C: remove pointless comment
12649
12650 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * BufferView.h:
12653         * BufferView.C: remove active() and belowMouse()
12654
12655         * BufferView_pimpl.h:
12656         * BufferView_pimpl.C: use workarea() not workarea_,
12657           and make it use a scoped_ptr instead
12658
12659 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12660
12661         * lyx_gui.C: add debug message on BadWindow
12662
12663 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * sp_spell.C: fdopen is not part of the C++ standard.
12666
12667         * paragraph.C (InsetIterator): use >= instead of ==
12668
12669 2002-06-07  Angus Leeming  <leeming@lyx.org>
12670
12671         Fixes needed to compile with Compaq cxx 6.5.
12672         * BufferView_pimpl.C:
12673         * DepTable.C:
12674         * buffer.C:
12675         * converter.C:
12676         * encoding.C:
12677         * lyx_gui.C:
12678         * lyx_main.C:
12679         * lyxtextclasslist.C:
12680         * minibuffer.C:
12681         * sp_spell.C:
12682         * tabular_funcs.C:
12683         * vc-backend.C:
12684         all c-library variables have been moved into namespace std. Wrap
12685         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12686
12687         * lyxlength.C:
12688         * tabular-old.C:
12689         * tabular.C:
12690         Add a using std::abs declaration.
12691
12692         * kbmap.h (modifier_pair):
12693         * paragraph.h (InsetTable, InsetList):
12694         * lyxfont.h (FontBits):
12695         type definition made public.
12696
12697         * bufferlist.C (emergencyWriteAll): the compiler complains that
12698         there is more than one possible lyx::class_fun template to choose from.
12699         I re-named the void specialisation as lyx::void_class_fun.
12700
12701         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12702
12703         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12704         the compiler is is unable to find tostr in write_attribute.
12705
12706 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12707
12708         * buffer.C (sgmlError): hide #warning
12709
12710 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12711
12712         * xtl/*: get rid of xtl, which is not in use anyway
12713
12714         * LyXAction.C (init):
12715         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12716         were unimplemented xtl experimentation
12717
12718 2002-06-04  André Pönitz <poenitz@gmx.net>
12719
12720         * lyxfunc.C: disable array operation on simple formulae
12721
12722 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * converter.C: constify a bit
12725
12726 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * lyx_gui.C: check xforms version correctly
12729
12730 2002-04-30  Herbert Voss  <voss@lyx.org>
12731
12732         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12733         "keep" option
12734
12735 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12738           attempt to register it with a VCS)
12739
12740 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12741
12742         * lyx_main.C (init): honor variables LYX_DIR_13x and
12743         LYX_USERDIR_13x
12744
12745 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * buffer.h:
12748         * buffer.C:
12749         * lyx_main.C: fix a crash on bad command line,
12750           and give a useful exit status on error
12751
12752         * lyxfunc.C (doImport): allow -i lyx to work
12753
12754 2002-03-30  André Pönitz <poenitz@gmx.net>
12755
12756         * lyxfunc.C: mathed font changes
12757
12758 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12759
12760         * LaTeX.C:
12761         * importer.h:
12762         * importer.C:
12763         * lyx_sty.h:
12764         * lyx_sty.C:
12765         * lyxlex.C:
12766         * lyxrow.h:
12767         * lyxtext.h:
12768         * paragraph.h:
12769         * paragraph.C:
12770         * texrow.h:
12771         * texrow.C:
12772         * text.C:
12773         * trans_mgr.h: srcdocs, and some minor cleanups
12774
12775 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12776
12777         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12778         call getFont all the time)
12779
12780 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12781
12782         * switch from SigC signals to boost::signals
12783
12784 2002-05-29  André Pönitz <poenitz@gmx.net>
12785
12786         * paragraph_pimpl.C (getChar): don't call size() too often...
12787
12788 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12789
12790         * paragraph_pimpl.C (insertChar): do not try to update tables when
12791         appending (pos == size())
12792
12793         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12794         in order to reduce drastically the number of comparisons needed to
12795         parse a large document
12796
12797 2002-05-29  André Pönitz <poenitz@gmx.net>
12798
12799         * text.C:
12800         * text2.C:
12801         * lyxtextclass.C:
12802         * sp_pspell.h:
12803         * textclasslist.[Ch]:
12804         * sp_ispell.h: whitespace change
12805
12806 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12807
12808         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12809         lyxaction directly now.
12810
12811 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * trans.C:
12814         * lyxfont.C:
12815         * lyxvc.C: remove unused headers
12816
12817 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * Makefile.am:
12820         * buffer.h:
12821         * undostack.h:
12822         * undostack.C:
12823         * undo_funcs.h:
12824         * undo_funcs.C: some cleanups. Use shared_ptr
12825           and a template for the undo stacks.
12826
12827 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * BufferView_pimpl.h:
12830         * BufferView_pimpl.C:
12831         * kbmap.h:
12832         * kbmap.C:
12833         * kbsequence.h:
12834         * kbsequence.C:
12835         * lyxfunc.h:
12836         * lyxfunc.C:
12837         * text2.C: use key_state/mouse_state
12838
12839 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12840
12841         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12842         and LSubstring
12843
12844         * chset.C: change include order
12845         (loadFile): use boost regex and get rid of LRegex and LSubstring
12846
12847         * Makefile.am (BOOST_LIBS): new variable
12848         (lyx_LDADD): use it
12849
12850         * LaTeX.C: change include order.
12851         (scanAuxFile): use boost regex and get rid of LRegex and
12852         LSubstring
12853         (deplog): ditto
12854
12855 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12856
12857         * ColorHandler.h:
12858         * ColorHandler.C:
12859         * FontInfo.h:
12860         * FontInfo.C: moved to frontends/xforms/
12861
12862         * FontLoader.h:
12863         * FontLoader.C: moved into frontends for GUIIzation
12864
12865         * Makefile.am:
12866         * lyx_gui.C:
12867         * lyxfont.C:
12868         * lyxfunc.C: changes from above
12869
12870 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12871
12872         * LColor.C: remove spurious X include
12873
12874         * BufferView_pimpl.C:
12875         * Makefile.am:
12876         * font.h:
12877         * font.C:
12878         * text.C:
12879         * text2.C: move font metrics to frontends/
12880
12881 2002-05-24  Juergen Vigna  <jug@sad.it>
12882
12883         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12884         setting the undo_cursor.
12885
12886         * ParagraphParameters.h: include local includes first.
12887
12888 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12889
12890         * BufferView_pimpl.C:
12891         * BufferView_pimpl.h:
12892         * Makefile.am:
12893         * WorkArea.h:
12894         * WorkArea.C:
12895         * screen.C: move WorkArea into frontends/
12896
12897         * lyxscreen.h:
12898         * screen.C:
12899         * text.C:
12900         * BufferView.C:
12901         * BufferView2.C: move LyXScreen into frontends/
12902
12903         * lyxlookup.h:
12904         * lyxlookup.C:
12905         * lyx_gui.C: move lyxlookup into frontends/xforms/
12906
12907 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12908
12909         * BufferView2.C:
12910         * BufferView_pimpl.C:
12911         * FontLoader.C:
12912         * LyXView.h:
12913         * LyXView.C:
12914         * Makefile.am:
12915         * WorkArea.C:
12916         * XFormsView.h:
12917         * XFormsView.C:
12918         * buffer.C:
12919         * bufferlist.C:
12920         * bufferview_funcs.C:
12921         * converter.C:
12922         * importer.C:
12923         * lyx_cb.C:
12924         * lyx_gui.C:
12925         * lyx_main.C:
12926         * lyx_find.C:
12927         * lyxfunc.C:
12928         * lyxvc.C:
12929         * minibuffer.C:
12930         * text.C:
12931         * text2.C:
12932         * trans.C:
12933         * vc-backend.C: move LyX/XFormsView into frontends/
12934
12935 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * Makefile.am:
12938         * PainterBase.C:
12939         * PainterBase.h:
12940         * Painter.C:
12941         * Painter.h:
12942         * WorkArea.C:
12943         * WorkArea.h:
12944         * screen.C:
12945         * tabular.C:
12946         * text.C:
12947         * text2.C: move Painter to frontends/
12948
12949 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * buffer.C: comment out some some code that depend upon lyx_format
12952         < 220
12953
12954         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12955         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12956
12957         * buffer.h (NO_COMPABILITY): turn off compability
12958
12959         * ColorHandler.C: include scoped_array.hpp
12960
12961         * font.C: Use more specific smart_ptr header.
12962         * Painter.C: ditto
12963         * gettext.C: ditto
12964         * ShareContainer.h: ditto
12965         * lyx_main.h: ditto
12966         * kbmap.h: ditto
12967         * FontInfo.h: ditto
12968         * BufferView_pimpl.h: ditto
12969         * ColorHandler.h: ditto
12970
12971         * kbmap.C (defkey): change call to shared_ptr::reset
12972
12973 2002-05-21  Juergen Vigna  <jug@sad.it>
12974
12975         * buffer.C (insertErtContents): fix to insert ert asis if it is
12976         non empty. Skip it completely if it contains only whitespaces.
12977
12978 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12979
12980         * BufferView_pimpl.C:
12981         * BufferView2.C: clear selection on paste (bug 393)
12982
12983 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12984
12985         * DepTable.C: include ctime
12986
12987 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12988
12989         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12990
12991 2002-05-14  Juergen Vigna  <jug@sad.it>
12992
12993         * text.C (breakParagraph): fixed function to honor the keepempty
12994         layout in the right maner and also to permit the right breaking
12995         algorithm on empty or non empyt keepempty paragraphs.
12996
12997         * paragraph.C (breakParagraph): we have to check also if the par
12998         is really empty (!size()) for isempty otherwise we do the wrong
12999         paragraph break.
13000
13001 2002-05-10  Juergen Vigna  <jug@sad.it>
13002
13003         * buffer.[Ch] : The following are only changes to the ert
13004         compatibility read reading old LaTeX layout and font stuff and
13005         convert it to ERTInsets.
13006
13007         * buffer.h: added isErtInset().
13008
13009         * buffer.C (struct ErtComp): add a fromlayout bool to check
13010         if we're inside a LaTeX layout.
13011         (isErtInset): new helper function.
13012         (insertErtContents): look for other ert insets before this one
13013         and insert the contents there, so that we don't have subsequent
13014         ERT insets with nothing between them. This way we create only one
13015         inset with multiple paragraphs. Also check if we don't insert only
13016         spaces ' ' as they are ignored anyway afterwards in the .tex file
13017         so if we have only spaces we will ignore this latex part in the
13018         new file.
13019         (parseSingleLyXformat2Token \\layout): better compatibility when
13020         reading layout-latex stuff.
13021         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
13022         language tag.
13023         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
13024         stuff after reading the inset only get the information back from
13025         the stack.
13026
13027 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
13028
13029         * buffer.C (makeLaTeXFile): Put language options after loading babel.
13030
13031         * LaTeXFeatures.C (getBabelOptions): New method.
13032
13033 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * BufferView_pimpl.C (Dispatch): work around missing argument for
13036         'layout'
13037
13038 2002-05-08  Juergen Vigna  <jug@sad.it>
13039
13040         * text.C (leftMargin): handle paragraph leftindent.
13041
13042         * paragraph.C (writeFile): write the new \\leftindent tag.
13043         (validate): handle leftindent code.
13044         (TeXEnvironment): handle paragraphleftindent code again.
13045
13046         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
13047
13048         * buffer.C (parseSingleLyXformat2Token): added compatibility code
13049         for paragrap_extra indent code and new token \\leftindent.
13050         (latexParagraphs): handle the leftindent as environment.
13051
13052         * ParameterStruct.h: added leftindent support.
13053
13054         * ParagraphParameters.C (leftIndent): added support functions for
13055         the paragraph left indent.
13056
13057         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
13058         more appropriate.
13059
13060 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
13061
13062         * paragraph.C (isRightToLeftPar): Return false for a paragraph
13063         inside insetERT.
13064
13065         * text.C (computeBidiTables): No bidi in insetERT.
13066
13067         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
13068         in RTL documents.
13069
13070 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * version.C.in: pre 5
13073
13074 2002-05-02  José Matos  <jamatos@fep.up.pt>
13075         * buffer.C (makeDocBookFile): white space changes, add newline to
13076         command styles.
13077         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
13078
13079         * tabular.C (docBook): fix typo.
13080
13081 2002-05-03  Juergen Vigna  <jug@sad.it>
13082
13083         * screen.C (drawFromTo): recalculate the rowpointer if we had a
13084         change in LyXText as we can not be sure it was not freed.
13085         (drawOneRow): remove unused code.
13086
13087         * text.C (drawInset): redo the calculation of the need_break_row as
13088         it could have a row which was already freed.
13089         (draw): look at the return value of drawInset and return false if
13090         it also returned false.
13091         (paintRowText): look at the return value of draw and return false if
13092         it also returned false.
13093
13094         * lyxtext.h: added bool return type to drawInset() and draw() so that
13095         if we have a change in the row so that the rowbreak has to be redone
13096         we abort drawing as it will be called again.
13097
13098 2002-05-02  Juergen Vigna  <jug@sad.it>
13099
13100         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
13101         a change in the maintext also if we're inside an inset.
13102         (Dispatch): set the cursor again after a break line and after the
13103         screen has been updated as it could be we're in a different row.
13104
13105         * text2.C (fixCursorAfterDelete): check to make sure we don't request
13106         to set the cursor behind the pargraph with > size().
13107         (setCursor): check also for the same paragraph when checking where
13108         to put the cursor if we have a NFR inset.
13109
13110         * buffer.C (parseSingleLyXformat2Token): move the compatibility
13111         parts of layout read further up as it still was in the wrong
13112         position.
13113
13114 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13115
13116         * screen.C (drawFromTo): change sine fullRebreak always return
13117         true.
13118
13119         * buffer.C (parseSingleLyXformat2Token): reindent some
13120
13121         * BufferView_pimpl.C (update): change since fullRebreak always
13122         return true.
13123         (Dispatch): git rid of the last hardcoded "Standard"s.
13124
13125 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * text2.[Ch] (fullRebreak): make it return void now that we always
13128         returned true.
13129
13130 2002-04-30  Juergen Vigna  <jug@sad.it>
13131
13132         * buffer.C (parseSingleLyXformat2Token): reset the font before the
13133         ert compatibility check for "latex" layout.
13134
13135 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
13136
13137         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
13138         minipages: use col% instead of p%, and also use the current font.
13139         (makeLaTeXFile): Fix use babel condition.
13140         (parseSingleLyXformat2Token): Correct font when reading old floats.
13141
13142 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
13143
13144         * BufferView_pimpl.C (Dispatch): Check that float type exists when
13145         inserting list of floats.
13146
13147 2002-04-25  Herbert Voss  <voss@lyx.org>
13148
13149         * MenuBackend.C (expand): don't add the graphics extensions to the
13150         export menu
13151
13152 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13153
13154         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
13155         non-existing layout, do not complain if it was the default layout
13156         of the original class (bug #342)
13157
13158 2002-04-24  Juergen Vigna  <jug@sad.it>
13159
13160         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
13161         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
13162
13163 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
13164
13165         * buffer.C (getBibkeyList): If using \bibliography, return the
13166         option field with the reference itself. Enables us to provide natbib
13167         support when using \bibliography.
13168
13169 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
13170
13171         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
13172
13173         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
13174         natbib is provided by the LaTeX class.
13175
13176 2002-04-23  Juergen Vigna  <jug@sad.it>
13177
13178         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13179         Wakeup functions.
13180
13181         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13182
13183 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13184
13185         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13186
13187         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13188         ensuremath around textordmasculine, textordfeminine and
13189         textdegree.
13190
13191 2002-04-19  Juergen Vigna  <jug@sad.it>
13192
13193         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13194         reinitializing the buffer otherwise row-dimensions may be wrong.
13195         (update): reset also the selection cursors if they do exits otherwise
13196         their x/y positions may be wrong.
13197
13198         * text2.C (cursorDown): don't enter the inset if we came from a row
13199         above and are one row over the inset.
13200
13201         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13202         really leaving an inset.
13203
13204 2002-04-18  Juergen Vigna  <jug@sad.it>
13205
13206         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13207         of the selected paragraph does not have the selected layout also if
13208         the last one had!
13209
13210         * text2.C (setLayout): fixed bug which did not change last selected
13211         paragraph.
13212
13213         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13214         changed the read and substituted \\end_float with \\end_inset!
13215
13216         * BufferView_pimpl.C (cursorPrevious):
13217         (cursorNext): fixed to make it work with rows heigher than the work
13218         area without moving the cursor only the draw of the row.
13219         (workAreaMotionNotify): fix jumping over high rows.
13220
13221 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13224         Ressler.
13225
13226 2002-04-16  Juergen Vigna  <jug@sad.it>
13227
13228         * text2.C (setCursor): set also the irow().
13229         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13230         (cursorUp):
13231         (cursorDown): support for locking an inset if the x_fix value goes
13232         inside it. That way I can transverse insets too with cursor up/down.
13233
13234         * lyxrow.h: added irow helper function same as other (i) functions.
13235
13236         * BufferView_pimpl.C (cursorPrevious):
13237         (cursorNext): fixed for insets!
13238
13239 2002-04-15  Juergen Vigna  <jug@sad.it>
13240
13241         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13242         position otherwise it is wrong in some cases.
13243
13244         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13245         inside the inset before the call.
13246
13247 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13248
13249         * buffer.[Ch] (getBibkeyList): make it const.
13250
13251 2002-04-12  Juergen Vigna  <jug@sad.it>
13252
13253         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13254
13255         * text2.C (getCursorX): new helper function
13256         (setCursor): compute also ix_
13257         (setCursorFromCoordinates): set also ix.
13258
13259         * lyxcursor.h: added ix_ and helper functions.
13260
13261         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13262
13263         * buffer.C (insertStringAsLines): dont break paragraph if the this
13264         paragraph is inside an inset which does not permit it!
13265
13266         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13267         also with no chars on this paragraph.
13268         (paintRowText): only paint stuff if it's inside the workarea!
13269
13270         * paragraph.C (breakParagraph): honor keepempty flag and break the
13271         paragraph always below not above.
13272
13273         * BufferView2.C (unlockInset): update the paragraph layout on inset
13274         unlock as we changed paragraph in such a case.
13275
13276         * lyxfind.C (LyXFind): clear the former selection if not found!
13277
13278         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13279         again called in insertChar().
13280
13281         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13282         an inset which uses the whole row!
13283         (rightMargin): ditto.
13284         (insertChar): force a rebreak if we inserted an inset!
13285
13286 2002-03-28  Herbert Voss  <voss@lyx.org>
13287
13288         * lyxlength.[Ch]: add inBP() to get the right PS-point
13289         units (BigPoint). With inPixels we have rounding errors
13290
13291 2002-04-11  Juergen Vigna  <jug@sad.it>
13292
13293         * text2.C (setCursorFromCoordinates): set iy to the right value.
13294         (setCursor): add check if row->previous exists!
13295
13296         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13297         an old float_type as this was the case in the old code!
13298
13299         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13300
13301         * BufferView2.C (showLockedInsetCursor): use iy
13302         (fitLockedInsetCursor): ditto
13303
13304         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13305         locked insets as there we have the right value now.
13306
13307         * lyxcursor.C: added iy_ variable and iy functions to set to the
13308         baseline of cursor-y of the locked inset.
13309
13310         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13311         (setCursor): fixed for insets which need a full row.
13312
13313         * text.C (rowLastPrintable): don't ignore the last space when before
13314         an inset which needs a full row.
13315         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13316         as last character of a row when before a inset which needs a full row.
13317
13318 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13319
13320         * version.C.in: update date
13321
13322         * text2.C (fullRebreak): try to always return true and see what
13323         happens...
13324
13325 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13326
13327         * MenuBackend.C (expand): use Floating::listName
13328
13329         * FloatList.C (FloatList): add listName argument to the built-in
13330         floats
13331
13332         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13333         text associated with the float.
13334
13335 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13336
13337         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13338
13339 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13340
13341         * ShareContainer.h: add a couple of missing typenames.
13342
13343 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13344
13345         * lyxrc.C (getDescription): use _() correctly rather than N_().
13346
13347 2002-03-28  Herbert Voss  <voss@lyx.org>
13348
13349         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13350         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13351
13352 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13353
13354         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13355         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13356
13357 2002-03-29  Juergen Vigna  <jug@sad.it>
13358
13359         * lyxfunc.C (dispatch): add a missing fitCursor call.
13360
13361         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13362         it was scrolled by a cursor move, so return the bool status.
13363
13364         * BufferView.C (fitCursor): return the bool flag also to the outside
13365         world as this is needed.
13366
13367         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13368
13369         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13370         call the edit() as it is not needed (and wrong) IMO.
13371         (workAreaButtonPress): set the screen_first variable before evt.
13372         unlock the inset as this may change screen_first and then we have
13373         a wrong y position for the click!
13374
13375 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13376
13377         * MenuBackend.C (expand): another translation that I missed
13378
13379 2002-03-28  Juergen Vigna  <jug@sad.it>
13380
13381         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13382
13383         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13384
13385 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13386
13387         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13388
13389         * MenuBackend.C (expand): fix export/view/update when there is no
13390         document open.
13391
13392 2002-03-27  Herbert Voss  <voss@lyx.org>
13393
13394         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13395         and text%
13396
13397 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * bufferview_funcs.C (currentState): only show paragraph number
13400         for is DEVEL_VERSION is set.
13401
13402         * lyxfunc.C (dispatch): put warning in INFO channel
13403
13404         * MenuBackend.C (expand): translate the name of floats
13405
13406         * FloatList.C (FloatList): mark the float names for translation
13407
13408         * converter.C (convert): use LibScriptSearch
13409
13410 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13411
13412         * MenuBackend.C (defaults): fix default menu (we might as well get
13413         rid of it...)
13414
13415 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13416
13417         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13418         directory.
13419
13420 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13421
13422         * lyxvc.C: reorder includes.
13423
13424 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13425
13426         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13427           properly
13428
13429 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * CutAndPaste.C: change layouts earlier on paste
13432           to avoid crashing when calling getFont()
13433
13434 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13435
13436         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13437         irritating #error.
13438
13439 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13440
13441         * WorkArea.C: remove 'Pending' debug message.
13442
13443         * most files: ws cleanup
13444
13445         * buffer.[Ch]: ws changes
13446
13447         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13448
13449 2002-03-21  Juergen Vigna  <jug@sad.it>
13450
13451         * tabular.C (SetMultiColumn): collapse also the contents of the
13452         cells and set the last border right. Added a Buffer const * param.
13453
13454 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13457         linking or not.
13458
13459 2002-03-19  Juergen Vigna  <jug@sad.it>
13460
13461         * text2.C (clearSelection): reset also xsel_cache.
13462
13463         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13464         where it needs to be called (John tells us to do so too :)
13465         (selectionLost): reset sel_cache.
13466
13467         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13468
13469 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13470
13471         * text2.C (setCursorIntern): put debuging code in INSETS channel
13472
13473 2002-03-19  André Pönitz <poenitz@gmx.net>
13474
13475         * lyxfunc.C: tiny whitespace change
13476
13477 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * ToolbarDefaults.C (init):
13480         * LyXAction.C (init):
13481         * commandtags.h:
13482         * BufferView_pimpl.C (Dispatch):
13483         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13484
13485 2002-03-19  Allan Rae  <rae@lyx.org>
13486
13487         * exporter.C (Export): removeAutoInsets before doing anything else.
13488         While I've just introduced a dependency on BufferView this really is
13489         the best place to clean the buffer otherwise you need to cleanup in
13490         a dozen places before calling export or cleanup in a dozen functions
13491         that export calls.
13492
13493         * converter.C (runLaTeX):
13494         (scanLog): Better handling of removeAutoInsets and screen updates.
13495
13496         * lyxfunc.C (dispatch): small whitespace changes
13497
13498 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13499
13500         * WorkArea.C (C_WorkAreaEvent): return a value.
13501         (event_cb): return 1 if we handled the event, 0 otherwise.
13502
13503         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13504
13505 2002-03-18  Juergen Vigna  <jug@sad.it>
13506
13507         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13508         (GetAdditionalWidth): ditto.
13509         (RightLine): ditto.
13510         (LeftLine): ditto.
13511
13512         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13513         inset if we're there actually (probably not used right now but this
13514         is the direction to go for unifying code).
13515         (paste): disable code to clear the selection.
13516
13517         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13518         inside an InsetText and move the check further up as it is in the
13519         wrong place.
13520
13521         * text2.C (pasteSelection): set a selection over the pasted text.
13522
13523 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13524
13525         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13526         and libgraphics to build on Cygwin.
13527
13528 2002-03-15  Juergen Vigna  <jug@sad.it>
13529
13530         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13531         inserting an Inset into the paragraph. I know this is not the best
13532         fix but we already use current_view in CutAndPaste so we will remove
13533         all of it's using at the same time.
13534
13535         * buffer.C (sgmlError): deactivated function till it is rewritten in
13536         the right mode, now it can create problems.
13537
13538         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13539         before accessing it.
13540
13541 2002-03-14  Juergen Vigna  <jug@sad.it>
13542
13543         * undo_funcs.C (textHandleUndo): do the right thing when updating
13544         the inset after the undo/redo.
13545
13546         * text2.C (setCursor): just some testcode for #44 not ready yet.
13547
13548         * undo_funcs.C (textHandleUndo): set the next() and previous()
13549         pointers of the paragraph to 0 before deleting otherwise we have
13550         problems with the Paragraph::[destructor].
13551
13552         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13553         on a paragraph insertion.
13554
13555 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13556
13557         * buffer.C (asciiParagraph): use += operator for char append to
13558         string.
13559
13560         * paragraph.C (getFontSettings): compare >= not just >
13561         (highestFontInRange): ditto
13562         (setFont): ditto
13563
13564 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * paragraph.C: change several algorithm to be more appripriate for
13567         the problem domain. This is lookip in FontList and in the InsetList.
13568
13569 2002-03-13  André Pönitz <poenitz@gmx.net>
13570
13571         * commandtags.h:
13572         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13573
13574 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13575
13576         * commandtags.h:
13577         * LyXAction.C:
13578         * lyxfunc.C:
13579         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13580
13581 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13582
13583         * Painter.C (display): anon helper function, adjust code for this
13584         change.
13585         (pixmap): remove function.
13586
13587         * Painter.h: remove private display variable.
13588
13589         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13590
13591 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13592
13593         * WorkArea.[Ch]: remove figinset_canvas cruft.
13594
13595 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * lyxtextclass.C (operator): add one item cache optimization.
13598
13599         * bufferlist.h: doxy changes
13600
13601         * bufferlist.C: ws changes
13602
13603         * DepTable.[Ch] (ext_exist): place const in the right spot.
13604
13605         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13606         call resizeInsets.
13607         (workAreaExpose): call resizeInsets when the with BufferView changes.
13608         (Dispatch): adjust for protectedBlank removal
13609         (specialChar): call updateInset if the insert went ok.
13610
13611         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13612         specialChar instead.
13613
13614         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13615
13616         * BufferView.h: doxy change
13617
13618         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13619
13620         * lyxtextclass.C (operator[]): remove non-const version
13621         (defaultLayout): remove non-const version
13622
13623 2002-03-12  Juergen Vigna  <jug@sad.it>
13624
13625         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13626         did resize the LyXText too.
13627
13628         * buffer.C (readLyXformat2): set layout information on newly allocated
13629         paragraphs.
13630
13631         * tabular.C (OldFormatRead): set layout information on the paragraph.
13632
13633 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13634
13635         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13636
13637 2002-03-11  Juergen Vigna  <jug@sad.it>
13638
13639         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13640         plainly wrong.
13641         (resizeCurrentBuffer): force also the insets to resize themselfes.
13642         (moveCursorUpdate): fixed up for InsetText.
13643
13644 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13645
13646         * commandtags.h:
13647         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13648         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13649         value of Dialogs::tooltipsEnabled().
13650         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13651
13652 2002-03-08  Juergen Vigna  <jug@sad.it>
13653
13654         * BufferView_pimpl.C (updateInset): update inset inside inset also
13655         if it isn't inside theLockingInset().
13656
13657 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * buffer.C (asciiParagraph): redo some of the word and line length
13660         handling.
13661         (getLists): look for Caption instead of caption.
13662
13663 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13664
13665         * buffer.C (Buffer): initialize niceFile to true
13666         (makeLaTeXFile):
13667         (makeLinuxDocFile):
13668         (makeDocBookFile): make sure niceFile is true on exit
13669
13670 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13671
13672         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13673
13674 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * LyXSendto.C: remove.
13677         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13678         * lyx_gui.C: remove now-redundant comment.
13679         * ColorHandler.h: remove forward declaration of class WorkArea.
13680         * lyxfunc.C: remove #include "WorkArea.h".
13681
13682 2002-03-07  Juergen Vigna  <jug@sad.it>
13683
13684         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13685         got moved away with the DEPM and also set the inset_owner always
13686         right which before could have been omitted.
13687
13688 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13689
13690         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13691         wanted layout is not found.
13692
13693 2002-03-07  Juergen Vigna  <jug@sad.it>
13694
13695         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13696
13697 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13698
13699         * paragraph.C (breakParagraph): use default layout not layout of
13700         prev paragraph.
13701         (Paragraph): clear ParagraphParameters.
13702
13703 2002-03-06  Juergen Vigna  <jug@sad.it>
13704
13705         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13706         otherwise it would not be a valid lenght. Fixed a special case in
13707         the minipage compatibility read where we end the document with a
13708         minipage.
13709
13710         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13711         was set as it could be 0 for InsetTexts first entry.
13712
13713 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13714
13715         * paragraph.C (writeFile): if layout is empty write out
13716         defaultLayoutName().
13717
13718         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13719         file without named layout we set layout to defaultLayoutName().
13720
13721 2002-03-06  Juergen Vigna  <jug@sad.it>
13722
13723         * CutAndPaste.C (copySelection): set layout for new paragraph.
13724
13725         * text.C (prepareToPrint): leave ERT inset left aligned
13726         (leftMargin): don't indent paragraphs inside ERT insets
13727
13728 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * paragraph.C (breakParagraph): dont call clear do the work manually
13731
13732         * paragraph.[Ch] (clear): remove function
13733
13734 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * paragraph.C (Paragraph): dont call clear, the work has already
13737         been done.
13738
13739         * lyxtextclass.C (operator): assert if n is empty
13740
13741         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13742         work manually instead.
13743
13744 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * BufferView_pimpl.C: protect selectionLost against text == 0
13747
13748 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * text.C (breakParagraph): fix a setting layout to '0' problem.
13751
13752 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13753
13754         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13755         final location of file, for the included files, and graphics.
13756
13757 2002-03-05  Juergen Vigna  <jug@sad.it>
13758
13759         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13760
13761 2002-03-04  Juergen Vigna  <jug@sad.it>
13762
13763         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13764
13765         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13766         last column of multicolumn cells.
13767         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13768
13769 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13770
13771         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13772         file if it doesn't go to a temporary file.
13773
13774         * buffer.C (sgmlOpenTag):
13775         (sgmlCloseTag):  remove extra newline insertion.
13776
13777 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13778
13779         * text.C (getRowNearY): comment out debug msg
13780
13781 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13782
13783         * text2.C: first -> first_y
13784
13785         * text.C (getRowNearY): add some attemts at a possible
13786         optimization, not working.
13787
13788         * tabular.[Ch]: add BufferParams to several function so that newly
13789         created paragraph can be initialized to he default layotu for the
13790         buffers textclass.
13791
13792         * tabular-old.C (ReadOld): add buf->params to call of Init
13793
13794         * screen.C: rename text->first to text->first_y
13795
13796         * paragraph.C (breakParagraph): always set layout in the broken
13797         paragraph
13798
13799         * lyxtextclass.C (Read): remove lowercase
13800         (hasLayout): ditto
13801         (operator): ditto
13802         (delete_layout): ditto
13803
13804         * lyxtext.h: rename first -> first_y
13805
13806         * lyxlayout.C (Read): remove lowercase
13807         (name): ditto
13808         (setName): ditto
13809         (obsoleted_by): ditto
13810
13811         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13812
13813         * buffer.C (insertErtContents): add params are to InsetERT
13814         (parseSingleLyXformat2Token): add code to check if a paragraphs
13815         layout really exist.
13816         (parseSingleLyXformat2Token): add params to several inset
13817         constructors
13818         (asciiParagraph): remove lowercase, do the layout comparisons with
13819         no_case
13820
13821         * BufferView_pimpl.C (cursorNext): first -> first_y
13822         (resizeCurrentBuffer): first -> first_y
13823         (updateScrollbar): first -> first_y
13824         (scrollCB): first -> first_y
13825         (workAreaMotionNotify): first -> first_y
13826         (workAreaButtonPress): first -> first_y
13827         (checkInsetHit): first -> first_y
13828         (cursorPrevious): first -> first_y
13829         (cursorNext): first -> first_y
13830         (Dispatch): add buffer_->params to severl inset contructors
13831
13832 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13833
13834         * lyxlayout.C (Read): remove some debug info that I forgot.
13835
13836         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13837         clean up the code slightly.
13838         (makeLinuxDocFile): ditto
13839         (makeDocBookFile): ditto
13840
13841         * text2.C: layout as string
13842
13843         * text.C: layout as string
13844
13845         * paragraph_pimpl.C: layout as string
13846
13847         * paragraph.[Ch]: layout as string
13848
13849         * lyxtextclasslist.[Ch]: layout as string
13850
13851         * lyxtextclass.[Ch]: layout as string
13852
13853         * lyxtext.h: layout as string
13854
13855         * lyxlayout.[Ch]: layout as string
13856
13857         * lyx_cb.C: layout as string
13858
13859         * bufferview_funcs.C: layout as string
13860
13861         * bufferparams.C: layout as string
13862
13863         * buffer.C: layout as string
13864
13865         * LyXView.[Ch]: layout as string
13866
13867         * LaTeXFeatures.[Ch]: layout as string
13868
13869         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13870
13871         * BufferView_pimpl.C: change current_layout to string, remove
13872         lyx::layout_type.
13873         (Dispatch):
13874         (smartQuote):
13875         (insertInset):
13876         (workAreaButtonRelease): layout as string
13877
13878         * BufferView2.C (unlockInset): adjust
13879
13880         * vspace.C (asLatexCommand): use an explict temp variable.
13881
13882 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * Makefile.am: use FRONTEND_*
13885
13886 2002-03-01  Juergen Vigna  <jug@sad.it>
13887
13888         * tabular.C (SetWidthOfMulticolCell): changed to something better
13889         I hope but still work in progress.
13890         (recalculateMulticolumnsOfColumn): renamed function from
13891         recalculateMulticolCells as it is more appropriate now.
13892         (SetWidthOfCell): calculate multicols better.
13893
13894 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13895
13896         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13897
13898         * lyxfunc.C (processKeySym): print sequence also if it is
13899         `deleted' (complete)
13900
13901         * kbsequence.C (print): print sequence even if it is deleted
13902         (complete would be a better word, actually).
13903
13904         * lyxfunc.C (dispatch): print complete options after a prefix key
13905
13906         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13907
13908 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13909
13910         * text2.C (setCharFont): eliminate setCharFont code duplication.
13911
13912 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13913
13914         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13915         LFUN_TABULAR_FEATURE (bug #177)
13916
13917 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13918
13919         * Makefile.am: remove figure.h
13920
13921 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13922
13923         * Bufferview_pimpl.C:
13924         * CutAndPasteC:
13925         * LaTeX.C:
13926         * LyXSendto.C:
13927         * buffer.C:
13928         * bufferlist.C:
13929         * converter.C:
13930         * language.C:
13931         * lyxfunc.C:
13932         * lyxvc.C:
13933         * paragraph.C:
13934         * text.C:
13935         * text2.C: remove #include "lyx_gui_misc.h".
13936
13937         * LaTeX.C: added #include <cstdio>
13938
13939 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13940
13941         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13942         that the paragraph following this one can have.
13943
13944         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13945
13946         * vspace.C (asLatexCommand): fix bogus gcc warning
13947
13948         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13949
13950 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13951
13952         * text2.C (setLayout): get rid of redundant code
13953
13954 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13955
13956         * text2.C (incDepth): make sure depth cannot be increased beyond
13957         reasonable values.
13958
13959 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13962         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13963
13964         * PainterBase.h (image):
13965         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13966         a LyXImage const *.
13967
13968 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13969
13970         * BufferView.C:
13971         * BufferView.h:
13972         * BufferView_pimpl.C:
13973         * BufferView_pimpl.h:
13974         * LaTeXFeatures.C:
13975         * LyXAction.C:
13976         * LyXView.C:
13977         * Makefile.am:
13978         * UpdateList.h:
13979         * UpdateList.C:
13980         * buffer.C:
13981         * figure.h:
13982         * figureForm.C:
13983         * figureForm.h:
13984         * figure_form.C:
13985         * figure_form.h:
13986         * lyx_cb.C:
13987         * lyx_gui.C:
13988         * lyx_gui_misc.C:
13989         * lyxfunc.C:
13990         * sp_base.h:
13991         * sp_ispell.h:
13992         * sp_pspell.h:
13993         * sp_spell.C: remove fig inset, and the crap house of
13994           cards that follows it
13995
13996 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13997
13998         * Makefile.am:
13999         * lyxserver.C:
14000         * os2_defines.h:
14001         * os2_errortable.h:
14002         * nt_defines.h: move .h into support/
14003
14004         * vms_defines.h: remove
14005
14006         * WorkArea.C: add space in debug output
14007
14008         * text2.C:
14009         * paragraph.C:
14010         * buffer.C: add WITH_WARNINGS
14011
14012         * vc-backend.h:
14013         * vc-backend.C:
14014         * bufferlist.C: s/retrive/retrieve/, add docs
14015
14016         * vspace.h:
14017         * vspace.C:
14018         * kbmap.h:
14019         * lyxlength.h:
14020         * lyxgluelength.h:
14021         * length_common.h:
14022         * chset.h:
14023         * chset.C: add docs
14024
14025         * lyxgui.C: add ID to X error handler
14026
14027         * lyxtestclass.c: fix typo
14028
14029 2002-02-26  Juergen Vigna  <jug@sad.it>
14030
14031         * tabular_funcs.C (write_attribute): changed so that some default
14032         attributes are not written at all.
14033         (getTokenValue): set default values before trying to read the
14034         value so we have the return value always set as default if we don't
14035         find the token we search for.
14036
14037         * tabular.C (Write): write bools as bools not as strings!
14038
14039 2002-02-22  Juergen Vigna  <jug@sad.it>
14040
14041         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
14042         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
14043
14044         * text.C (leftMargin): don't add an indent for paragraphs inside
14045         tabular cells (fix #208).
14046
14047 2002-02-21  José Matos  <jamatos@fep.up.pt>
14048
14049         * tabular.C (docBook): fixed support for long tables.
14050
14051 2002-02-20  Juergen Vigna  <jug@sad.it>
14052
14053         * text2.C (getFont): get the drawing font of the Inset if this
14054         paragraph is inside an inset (only important for InsetERT for now).
14055
14056         * buffer.C (insertErtContents): use new lanugage params in ERT
14057         constructor.
14058
14059         * CutAndPaste.C: commenting out seemingly uneeded code.
14060
14061 2002-02-19  Allan Rae  <rae@lyx.org>
14062
14063         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
14064         Iterators might be simple to use but they also get invalidated.
14065         (removeAutoInsets): renamed saved cursor tracking variables and added
14066         some comments to clarify what everything does.
14067
14068 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
14069
14070         * Chktex.C:
14071         * LaTeX.C:
14072         * LyXSendto.C:
14073         * converter.C:
14074         * lyx_cb.C:
14075         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
14076         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
14077
14078         * lyxfunc.C:
14079         * vc-backend.h: remove #include "support/syscall.h"
14080
14081         * LaTeX.C:
14082         * LyXSendto.C:
14083         * converter.C: rearrange #includes in Lars' approved fashion.
14084
14085         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
14086         forward declare class Timeout in the header file.
14087
14088         * XFormsView.C: changes due to the above.
14089
14090         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
14091         similar to LyXView.
14092
14093         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
14094         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
14095
14096 2002-02-18  José Matos  <jamatos@fep.up.pt>
14097
14098         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
14099         insets contents.
14100
14101 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14102
14103         * a lot of small ws changes
14104         * add a lot of using std::XXX
14105         * use std construcs some places where approp.
14106         * use some exisint stuff from lyxfunctional where approp.
14107         * Make file changes to use partial linking (lets test this now...)
14108
14109 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14110
14111         * Chktex.C:
14112         * buffer.C:
14113         remove #include "support/syscontr.h" as it's redundant. Always has been.
14114
14115         * Chktex.C:
14116         * LaTeX.C:
14117         * LyXSendto.C:
14118         * converter.C:
14119         * lyx_cb.C:
14120         * vc-backend.C:
14121         change Systemcalls::System to Systemcalls::Wait and
14122         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
14123         No change of functionality, just reflects the stripped down Systemcalls
14124         class.
14125
14126 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
14127
14128         * debug.[Ch]: add a GRAPHICS type to the enum.
14129
14130 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14131
14132         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
14133
14134         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
14135         there is an inset.
14136
14137 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14138
14139         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
14140         match the changes below.
14141
14142         * text2.C (toggleInset): if there is not editable inset at cursor
14143         position, try to see if cursor is _inside_ a collapsable inset
14144         and close it.
14145
14146 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14147
14148         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
14149         document menu has a nice checkbox
14150
14151 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14152
14153         * lyxlength.C (asLatexString): change PW to output as percent of
14154         \textwidth.
14155
14156         * lengthcommon.C: change '%' to 't%'
14157
14158         * lyxfunc.C (dispatch): a few comments from Martin
14159
14160 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
14161
14162         * WorkArea.h:
14163         * WorkArea.C:
14164         * BufferView_pimpl.h:
14165         * BufferView_pimpl.C: clear our selection when X tells us we've lost
14166           the X selection.
14167
14168 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14169
14170         * vspace.C (inPixels): fix compiler warning
14171
14172 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14173
14174         * lyxfunc.C (getStatus): fix status message for disabled commands.
14175
14176 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14177
14178         * BufferView_pimpl.C: fix crash on close buffer
14179         during selection (#227)
14180
14181 2002-01-27  Herbert Voss  <voss@lyx.org>
14182
14183         * buffer.C: link old Figure to new graphic inset
14184
14185 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14186
14187         * FontLoader.C (getFontinfo): Change the latex font names in order
14188         to match the names of type1inst.
14189
14190 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14191
14192         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14193
14194         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14195         (extchanged): ditto
14196         (ext_exist): ditto
14197         (remove_files_with_extension): ditto
14198         (remove_file): ditto
14199         (write): ditto
14200
14201         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14202         document is smaller than the work area height. Do not initialize
14203         static variables to 0.
14204
14205 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14206
14207         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14208
14209         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14210         LFUN_LAYOUT_PARAGRAPHS.
14211
14212         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14213         tabular. It is possible to provide a possible cell, which will
14214         typically be the actcell from the corresponding insettabular
14215
14216         * lyxfunc.C (getStatus): small cleanup; disable
14217         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14218         true
14219
14220 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14221
14222         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14223
14224         * paragraph.C (startTeXParParams):
14225         (endTeXParParams): new methods. The LaTeX code to
14226         start/end paragraph formatting
14227         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14228         empty (fixes bug #200)
14229
14230         * vspace.C (inPixels): adapt to the change below
14231         (inPixels): [later] more cleanups (remove unused variables)
14232
14233         * lyxlength.C (inPixels): change to use a width and a height as
14234         parameter.
14235
14236 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14237
14238         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14239         Replaced with \paperwidth
14240
14241         * DepTable.C (insert): add std:: qualifier
14242
14243 2002-01-18  Allan Rae  <rae@lyx.org>
14244
14245         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14246         updated also?
14247
14248         * text.C (drawInset): Turned out I didn't know enough about how
14249         rebreaking worked.  This fixes most of the redraw problems.  I see
14250         an occasional cursor trail when a line is broken now and the cursor
14251         placement can seem out by a few pixels also after a rebreak.
14252
14253 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14254
14255         * buffer.C (parseSingleLyXformat2Token): update because minipage
14256         width is now a LyXLength
14257
14258         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14259
14260         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14261         math insets
14262
14263 2002-01-17  Juergen Vigna  <jug@sad.it>
14264
14265         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14266
14267         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14268         is set correctly and the inset is updated correctly.
14269
14270 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14271
14272         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14273         the beginning of the loop.
14274
14275 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14276
14277         * lyxrc.C: improve help for use_scalable_fonts
14278
14279 2002-01-17  Allan Rae  <rae@lyx.org>
14280
14281         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14282
14283 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14284
14285         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14286         make sure to set their inset_owner to the right value (bug #171)
14287
14288 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14289
14290         * DepTable.h
14291         * DepTable.C: Implement mtime checking to reduce time spent doing
14292         CRCs.
14293
14294 2002-01-16  Juergen Vigna  <jug@sad.it>
14295
14296         * tabular.C (GetAdditionalHeight): one of error fixed.
14297
14298         * lyxrc.C (output): small fix in writing use_pspell.
14299
14300 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14301
14302         * sp_base.h: #include LString.h
14303
14304 2002-01-16  Allan Rae  <rae@lyx.org>
14305
14306         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14307         Can someone check this please?
14308
14309         * text.C (drawInset): It was possible that p.row would be removed by
14310         breakAgainOneRow upsetting a few other settings.  There may be another
14311         small tweak possible by setting need_break_row = 0 when p.row has been
14312         removed but I don't know enough about the logic here.
14313
14314 2002-01-15  Allan Rae  <rae@lyx.org>
14315
14316         * text.C (insertChar): removed conditional truism.
14317
14318         * BufferView2.C (removeAutoInsets): More tweaks.
14319         cur_par_prev could be a stray pointer.  Check for trailing empty line
14320         in case last line was cur_par and only had an error inset on it.
14321
14322 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14323
14324         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14325         absolute
14326
14327         * vc-backend.C (most methods):
14328         * exporter.C (Export):
14329         * converter.C (convert):
14330         (runLaTeX):
14331         * LyXSendto.C (SendtoApplyCB):
14332         * lyxfunc.C (dispatch):
14333         (menuNew):
14334         (open):
14335         (doImport):
14336         * lyx_cb.C (AutoSave):
14337         (InsertAsciiFile):
14338         * BufferView_pimpl.C (MenuInsertLyXFile):
14339         * buffer.C (runChktex): use Buffer::filePath().
14340
14341         * buffer.h: rename filename to filename_; rename filepath to
14342         filepath_ and make it private
14343         (filePath): new method
14344
14345         * buffer.C (writeFile): use fileName()
14346         (getLatexName):
14347
14348         * lyx_main.C (init): fix starting  of LyX when the binary is a
14349         link from so,ewhere else.
14350
14351         * minibuffer.C: include <cctype> for isprint
14352
14353 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14354
14355         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14356         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14357         name clash with InsetCollapsable's width function.
14358
14359 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * lastfiles.C: include <iterator>
14362
14363 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14364
14365         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14366         std::count.
14367
14368         * buffer.C (makeLaTeXFile): ditto.
14369         Also make loop operation more transparent.
14370
14371 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14372
14373         * ToolbarDefaults.C: remove trailing comma closing namespace.
14374
14375         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14376
14377         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14378         as in WorkArea.
14379
14380         * trans.C (Load): comment out unused variable, allowed.
14381
14382 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14383
14384         * minibuffer.[Ch] (append_char): new method to recieve input from the
14385         drop-down completion browser. If a key was pressed, then recieve this
14386         char and append it to the existing string.
14387         (peek_event): modify the positioning data passed to the completion
14388         browser so that it can be placed above the minibuffer rather than below.
14389 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14390
14391         * LyXAction.C (init): alloe error-next for readonly documents.
14392
14393         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14394         count.
14395
14396 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14397
14398         * bufferlist.C (readFile): create the buffer _after_ checking that
14399         the file exists.
14400
14401         * lyxfunc.C (verboseDispatch): fix handling of arguments
14402
14403         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14404
14405         * lyxrc.C: use string::erase() instead of initializing to "".
14406
14407
14408 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14409
14410         * BufferView_pimpl.h:
14411         * BufferView_pimpl.C:
14412         * WorkArea.h:
14413         * WorkArea.C:
14414         * text2.C: tell X when we have made a selection for copying
14415
14416 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14417
14418         * BufferView_pimpl.C (MenuInsertLyXFile):
14419         * lyxfunc.C (menuNew):
14420         (open):
14421         (doImport): add shortcuts to directory buttons
14422
14423         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14424         open a float)
14425
14426         * lyxfunc.C (setStatusMessage):
14427         (getStatusMessage): new methods
14428         (getStatus):use setStatusMessage instead of setErrorMessage
14429         (dispatch): when function is disabled, set error message here
14430         [instead of in getStatus previously]
14431
14432         * BufferView_pimpl.C (workAreaButtonRelease): update
14433         toolbar/menubar here too.
14434
14435 2002-01-13  Allan Rae  <rae@lyx.org>
14436
14437         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14438         Now seems indestructible.  Remaining task is to audit all other
14439         code affected by deleteEmptyParagraphMechanism.  One small quirk
14440         left is that an empty document with an error in the preamble can
14441         be made to report an error but no error box appears.  I don't know
14442         where it goes.
14443         (removeAutoInsets): Improved comments.
14444
14445 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14446
14447         * Thesaurus.h:
14448         * Thesaurus.C: update for Aiksaurus 0.14
14449
14450 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14451
14452         * text2.C (firstParagraph): removed member function, all uses
14453         replaces with ownerParagraph
14454         (redoParagraphs): here
14455         (updateInset): here
14456         (toggleAppendix): here
14457         * BufferView2.C (insertErrors): here
14458         (setCursorFromRow): here
14459
14460 2002-01-13  Allan Rae  <rae@lyx.org>
14461
14462         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14463         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14464         There is still a way to segfault this although you may have to do this
14465         multiple times: Have an InsetERT with an unknown command in it.
14466         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14467         <down-arrow>, <Enter> again, View->DVI, BANG!
14468
14469         * text2.C (setCursor):
14470         (deleteEmptyParagraphMechanism):
14471         * lyxtext.h (setCursor):
14472         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14473         Making use of the return value may help fix other bugs.
14474
14475 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14476
14477         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14478
14479         * LyXView.C (updateMenubar): call MenuBar::update here
14480         (updateToolbar): but not here
14481         (showState): do not update toolbar/menubar
14482
14483         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14484         should need to care about that.
14485
14486         * lyxfunc.C (verboseDispatch): simplify a bit
14487         (getStatus): have a version which takes a pseudoaction, and
14488         another which requires a (kb_action,string).
14489
14490         * LyXAction.C (retrieveActionArg): make it work also when action
14491         is not a pseudo-action.
14492         (getActionName): simplify a bit
14493         (helpText):
14494
14495 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14496
14497         * lyxfunc.C (verboseDispatch): new families of methods with
14498         several ways to specify a command and a bool to indicate whether
14499         the command name and shortcut should be displayed in minibuffer
14500         (eventually, we could extend that to a finer bitmask like
14501         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14502         (dispatch): the pristine dispatch command which just, well,
14503         dispatchs! Note it still sets its result to minibuffer; I'm not
14504         sure we want that.
14505
14506         * lyxfunc.h: remove setHintMessage
14507
14508         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14509
14510 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14511
14512         * BufferView_pimpl.C (specialChar): delete new inset if we have
14513         not been able to insert it.
14514
14515         * kbmap.C: revert to using int instead of kb_action, since all we
14516         are dealing with is pseudo-actions.
14517
14518         * LyXAction.C (searchActionArg): change to return int instead of
14519         kb_action, since the result is a pseudoaction.
14520
14521 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14522
14523         * buffer.C (insertErtContents): Fix (partially) the font bug.
14524
14525 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14526
14527         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14528         as the other one is broken on my machine!
14529
14530 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14531
14532         * commandtags.h:
14533         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14534
14535 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14536
14537         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14538         reflect their actual use. Provide compatibility code for older lyxrc
14539         files.
14540
14541         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14542         FL_NORMAL_STYLE.
14543         change names of popup font variables in line with the changes to lyxrc.C
14544
14545 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14546
14547         * buffer.C (asciiParagraph): avoid outputing a word twice after
14548         an inset.
14549
14550         * lyxrc.C (getDescription): document that document_path and
14551         template_path can be empty.
14552
14553 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14554
14555         * LaTeXFeatures.C (getMacros):
14556         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14557
14558         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14559
14560         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14561         getPackages.
14562         (getPackages): rename feature "floats" to "float". Use an array to
14563         iterate over 'simple' features (i.e. just a \usepackage). Add
14564         handling of "amsmath" (renamed from "amsstyle").
14565
14566 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14567
14568         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14569         features list.
14570
14571 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14572
14573         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14574         FuncStaus::FuncStatus & FuncStaus::some_method().
14575
14576 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14577
14578         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14579         of the func_satus stuff. Edited and massaged in various ways by
14580         JMarc.
14581
14582         * lyxfunc.C (getStatus): use FuncStatus
14583
14584 2002-01-08  Juergen Vigna  <jug@sad.it>
14585
14586         * text.C (nextBreakPoint): use function Inset::isChar().
14587
14588         * paragraph.C (TeXOnePar): use function
14589         Inset::forceDefaultParagraphs.
14590
14591         * buffer.C (latexParagraphs): use function
14592         Inset::forceDefaultParagraphs.
14593
14594 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14595
14596         * lyx_gui.C (init): set the style of the menu popups to
14597         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14598
14599 2002-01-07  Juergen Vigna  <jug@sad.it>
14600
14601         * text.C (setHeightOfRow): small fix
14602         (prepareToPrint): don't look at alignment if we don't have the place
14603         for doing it.
14604
14605 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14606
14607         * box.C: New file. Move the Box methods and functions out of box.h,
14608         following Lars' suggestion.
14609
14610 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14611
14612         * box.h: #include "support/LOstream.h", needed for inlined function.
14613
14614         * lyxtextclass.C:
14615         * lyxtextclasslist.C: added some using std declarations.
14616
14617 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14618
14619         * box.h: make signed dimensions to allow insets wider than
14620           the screen (bug #162)
14621
14622         * BufferView_pimpl.C: add some insetHit debug
14623
14624 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * vc-backend.C: add FIXME
14627
14628 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14629
14630         * lyxfunc.C (getStatus): enable code for showing math font status
14631         in toolbar/menu.
14632
14633 2002-01-07  Juergen Vigna  <jug@sad.it>
14634
14635         * text.C (nextBreakPoint): removed debug output not needed anymore.
14636
14637 2002-01-06  Juergen Vigna  <jug@sad.it>
14638
14639         * text.C (nextBreakPoint): fixed up this function we had this bug
14640         since ever but now hopefully we break row better.
14641         (insertChar): we have to check if an inset is the next char as it
14642         could now happen that a large inset is causing a break.
14643
14644 2002-01-05  Juergen Vigna  <jug@sad.it>
14645
14646         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14647         if it doesn't like to be drawed.
14648
14649 2002-01-04  Juergen Vigna  <jug@sad.it>
14650
14651         * BufferView2.C (lockInset): forgot to set a cursor.
14652
14653         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14654
14655 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14656
14657         * FormMathsPanel.C:
14658         * FormMathsPanel.h
14659         * MathsSymbols.C:
14660         * form_maths_panel.C:
14661         * form_maths_panel.h:
14662         * form_maths_panel.fd: implemented sub- and super- buttons in math
14663         panel.
14664
14665         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14666         (or ^ space) to be used as in TeX (req'd by Andr�.
14667
14668         * lyxfunc.C: Allow ^ and _ again to be used both as
14669         super/subscript (mathed) and as themselves (in text).
14670
14671 2002-01-03  Allan Rae  <rae@lyx.org>
14672
14673         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14674         "LyX" or the filename of the current buffer if it has one.  This is a
14675         modified form of John Levon's patch.
14676
14677         * XFormsView.C (setWindowTitle): also set icon title.
14678
14679         * LyXView.h (setWindowTitle): signature changed.
14680         * XFormsView.h (setWindowTitle): ditto.
14681
14682 2002-01-02  Juergen Vigna  <jug@sad.it>
14683
14684         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14685
14686 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14687
14688         * screen.C (topCursorVisible): introduce a temp var for
14689         text->cursor.row(), handle the case where this row is null. (kindo
14690         hachish)
14691
14692         * text2.C (setCursor): add a couple of asserts.
14693
14694         * paragraph.h (inset_iterator): add -> operator
14695
14696         * paragraph.[Ch] (autoDeleteInsets): remove member function
14697
14698         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14699         cursor pos correctly and handle inset deletion by itself.
14700         (insertErrors): move iterator declaration out of for expression
14701
14702         * lyxtextclass.C: add <algorithm>
14703
14704         * Makefile.am: added the new files to sources, removed layout.C
14705
14706         * layout.C: removed file
14707
14708         * layout.h: remove LYX_DUMMY_LAYOUT
14709
14710         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14711         layout.
14712
14713         * lyxlayout.[Ch]:
14714         * lyxtextclass.[Ch]:
14715         * lyxtextclasslist.[Ch]: new files
14716
14717         * include order changes to a lot of files, also changes because of
14718         the six new files.
14719
14720 2001-12-27  Juergen Vigna  <jug@sad.it>
14721
14722         * buffer.C (asciiParagraph): more fixes.
14723
14724         * tabular.C (ascii): make ascii export support export of only the
14725         data separated by a column-delimiter.
14726         (ascii): better support for ascii export.
14727
14728         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14729
14730 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * tabular_funcs.C: use a "using std::getline" instead of the
14733         previous fix from Angus (necessary for cxx + lyxstring)
14734
14735 2001-12-24  Juergen Vigna  <jug@sad.it>
14736
14737         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14738
14739         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14740         problems. First check a minipage also if we have some ert-contents
14741         (not only on par->size(), second set the right depth of the paragraph
14742         on the relink to the root-paragraph-list!
14743
14744         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14745         which then did not anymore update the main paragraphs on undo/redo!
14746
14747 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14748
14749         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14750         code. Support all font-changing funcs (even those which are not in
14751         menu currently). Support for reporting font settings in
14752         mathed (disabled until Andre provides a function on mathed's side).
14753
14754         * func_status.h (toggle): small helper function to set toggle
14755         state on a flag.
14756
14757 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14758
14759         * tabular_funcs.C: getline -> std::getline
14760
14761 2001-12-21  Juergen Vigna  <jug@sad.it>
14762
14763         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14764         accessed and could be 0 (I couldn't generate this but it seems
14765         Michael could!).
14766
14767 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14768
14769         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14770         * tabular_funcs.h: here and include iosfwd
14771
14772 2001-12-20  Juergen Vigna  <jug@sad.it>
14773
14774         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14775         inside inset but undo_par was.
14776
14777 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14778
14779         * Thesaurus.C: always include <config.h> in sources.
14780
14781         * Painter.h:
14782         * lyxlookup.h:
14783         * box.h: do not include <config.h> in header files
14784
14785         * text.C (paintLastRow): remove unused variable
14786
14787         * text.C (transformChar):
14788         (insertChar):
14789         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14790
14791         * Painter.C (text):
14792         * font.C (width): rewrite to use uppercase() instead of
14793         islower/toupper.
14794
14795         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14796
14797 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14798
14799         * lyxfind.C: clean up of find failure position change
14800
14801 2001-12-20  Juergen Vigna  <jug@sad.it>
14802
14803         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14804
14805         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14806         (TeXRow): added to LaTeX a single tabular row.
14807         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14808         (Latex): simplified and finally good LT-h/f support.
14809         (various_functions): just small adaptions for LT-h/f support.
14810
14811         * tabular_funcs.[hC]: added and moved here all not classfunctions
14812         of LyXTabular.
14813
14814 2001-12-19  Juergen Vigna  <jug@sad.it>
14815
14816         * tabular.[Ch]: better support for longtabular options (not finished
14817         yet!)
14818
14819 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14820
14821         * text.C (paintLastRow): use the label font instead of the font of
14822         the last character to compute the size of *_BOX. This makes more
14823         sense and avoids a crash with empty paragraphs.
14824         Use Painter::rectangle to draw EMPTY_BOX.
14825
14826 2001-12-19  Juergen Vigna  <jug@sad.it>
14827
14828         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14829         the paragraphs if the replaced paragraph is not the first one!
14830         Tried to delete not used paragraphs but does not work yet so for
14831         now it's inside #ifdef's and by default off!
14832
14833 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14834
14835         * MenuBackend.C: include "lyx_main.h" instead of declaring
14836         lastfiles (actually was declared as LastFiles* instead of a
14837         scoped_ptr).
14838
14839 2001-12-17  Juergen Vigna  <jug@sad.it>
14840
14841         * tabular.C (AppendColumn): applied John's fix
14842
14843 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14844
14845         * BufferView.h:
14846         * BufferView.C:
14847         * BufferView_pimpl.h:
14848         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14849
14850         * Makefile.am:
14851         * box.h: new start of class for above
14852
14853         * lyxfunc.C: ignore space-only minibuffer dispatches.
14854           Show the command name when it doesn't exist
14855
14856         * minibuffer.C: don't add empty lines to the history
14857
14858         * minibuffer.C: add a space on dropdown completion
14859
14860 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14861
14862         * text.C: fix line above/below drawing in insets
14863
14864 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14865
14866         * lyxlength.C (LyXLength): Initialize private variables.
14867
14868 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14869
14870         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14871         when inserting error insets.
14872
14873 2001-12-13  Juergen Vigna  <jug@sad.it>
14874
14875         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14876         actually sometimes the before-paragraph.
14877         (setUndo): don't clear the redostack if we're not actually undoing!
14878
14879 2001-12-06  Juergen Vigna  <jug@sad.it>
14880
14881         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14882         and fixed redoing of main paragraph, so we can use it now ;)
14883
14884         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14885
14886 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14887
14888         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14889         Juergen's request
14890
14891 2001-12-13  André Pönitz <poenitz@gmx.net>
14892
14893         * undostack.[Ch]:
14894         * undo_func.C: minor cleanup
14895
14896 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14897
14898         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14899         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14900         font in urw-fonts package which is marked as -urw-fontspecific and
14901         does not work (incidentally, changing the encoding in the
14902         fonts.dir of this package to -adobe-fontspecific fixes the
14903         problem).
14904
14905         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14906         is a crash when undoing first paragraph (Juergen, please take a
14907         look). THis does not mean the undo fix is wrong, just that it
14908         uncovers problems.
14909
14910         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14911         the (Paragraph*) version when needed instead of duplicating the
14912         code.
14913
14914         * text.C (workWidth): use Inset::parOwner to find out where the
14915         inset has been inserted. This is a huge performance gain for large
14916         documents with lots of insets. If Inset::parOwner is not set, fall
14917         back on the brute force method
14918
14919         * paragraph_pimpl.C (insertInset):
14920         * paragraph.C (Paragraph):
14921         (cutIntoMinibuffer): set parOwner of insets when
14922         inserting/removing them
14923
14924         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14925
14926 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14927
14928         * commandtags.h:
14929         * LyXAction.C:
14930         * lyx_main.C:
14931         * lyxfunc.C:
14932         * mathed/formulabase.C:
14933         * mathed/math_cursor.[Ch]:
14934         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14935
14936
14937 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14938
14939         * lyxlength.[Ch] (operator!=): new function
14940
14941 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14942
14943         * text.C (workWidth): use Inset::parOwner to find out where the
14944         inset has been inserted. This is a huge performance gain for large
14945         documents with lots of insets. If Inset::parOwner is not set, fall
14946         back on the brute force method
14947
14948         * paragraph_pimpl.C (insertInset):
14949         * paragraph.C (Paragraph):
14950         (cutIntoMinibuffer): set parOwner of insets when
14951         inserting/removing them
14952
14953         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14954
14955 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14956
14957         * tabular-old.C (getTokenValue):
14958         * tabular.C (getTokenValue):
14959         (write_attribute): new versions for LyXLength
14960         (everywhere): adjust the use of widths
14961
14962         * tabular.h: change the type of widths from string to LyXLength
14963
14964 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14965
14966         * paragraph.C: fixed missing line number count when exporting
14967         Environments to LaTeX file
14968
14969         * buffer.C: added informational message for checking line numbers.
14970
14971 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14972
14973         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14974         paragraph, do the 'double space' part, but not the 'empty
14975         paragraph' one.
14976
14977         * text.C (workWidth): small optimization
14978         (getLengthMarkerHeight): use minimal size for negative lengths.
14979
14980 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14981
14982         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14983
14984         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14985
14986 2001-12-11  André Pönitz <poenitz@gmx.net>
14987
14988         * FontLoader.C:
14989         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14990
14991 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * text2.C: keep selection on a setFont()
14994
14995 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14996
14997         * lyx_cb.C: another bv->text misuse, from insert label
14998
14999 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * kbsequence.h:
15002         * kbsequence.C: re-instate nmodifier mask
15003
15004 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
15005
15006         * lyx_main.h: make lyxGUI private.
15007
15008 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
15009
15010         * lyxfind.C: place the cursor correctly on failed search
15011
15012 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
15013
15014         * text.C (getLengthMarkerHeight): for small heights, the arrows
15015         are not always on top/bottom of the text
15016         (drawLengthMarker): smaller arrows; take the left margin in
15017         account; draw also vfills.
15018         (paintFirstRow):
15019         (paintLastRow): remove special code for vfill and standard spaces,
15020         since everything is handled in drawLengthMarker now.
15021
15022 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * buffer.C (insertErtContents): try to handle font and language
15025         interaction a bit better.g
15026
15027         * ColorHandler.C (updateColor): change the hash to cover the whole
15028         LColor enum, ws cleanup
15029         (getGCLinepars): ditto
15030         (getGCLinepars): only lookup in the linecache once.
15031
15032 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
15033
15034         * iterators.C (operator++): Make the iterator more robust
15035
15036         * BufferView2.C (removeAutoInsets): Use paragraph iterators
15037         (John's patch)
15038         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
15039
15040 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15041
15042         * lyxtext.h:
15043         * text.C: better added space drawing
15044
15045 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * LyXView.C:
15048         * BufferView2.C: fix layout combo update on inset unlock
15049
15050 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15051
15052         * Makefile.am: don't compile unused files
15053
15054 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * lyxfunc.C:
15057         * commandtags.h:
15058         * LyXAction.C: remove old LFUN_LAYOUTNO
15059
15060 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15061
15062         * paragraph_pimpl.h:
15063         * paragraph_pimpl.C: isTextAt() doesn't need font param
15064
15065 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15066
15067         * lyxlex.h:
15068         * lyxlex.C: little cleanup
15069
15070 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
15071
15072         * BufferView_pimpl.C: fix insertAscii for insets
15073
15074 2001-12-05  Juergen Vigna  <jug@sad.it>
15075
15076         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
15077         set the right font on the "multi" paragraph paste!
15078
15079 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * trans_decl.h:
15082         * trans_mgr.[Ch]:
15083         * trans.[Ch]:
15084         * lyxgluelength.C:
15085         * lyxlength.C: remove out-commented code.
15086
15087         * BufferView_pimpl:
15088         * CutAndPaste.C:
15089         * DepTable.C:
15090         * buffer.C:
15091         * chset.C:
15092         * lastfiles.C:
15093         * lyxlex.C:
15094         * lyxlex_pimpl.C:
15095         * lyxserver.C:
15096         * screen.C:
15097         * tabular-old.C:
15098         * tabular.C:
15099         * text.C:
15100         * trans_mgr.C:
15101         * vc-backend.C: change "while(" to "while ("
15102
15103         * lyxlength.[Ch]: add zero function to check if length is zero or
15104         not
15105         * lyxgluelength.C: use it
15106
15107 2001-12-05  Allan Rae  <rae@lyx.org>
15108
15109         * lyxlength.C: Attempted a fix for the abs(int) header selection.
15110         Works for 2.95.3, from what I understand of Garst's reports this should
15111         work for other g++ versions.  We're screwed if the abs(int) definition
15112         changed between bugfix releases of gcc.
15113
15114 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * text.C: fix chapter label offset !
15117
15118 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
15119
15120         * lyxtext.h:
15121         * text.C: fix hfill at end of line, clean up
15122
15123 2001-12-04  Juergen Vigna  <jug@sad.it>
15124
15125         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
15126         that we force an update of the inset and it's owners if neccessary.
15127
15128 2001-12-03  Juergen Vigna  <jug@sad.it>
15129
15130         * text.C (rowLast): simplified code
15131
15132 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
15133
15134         * lyxfunc.C: fix show options on timeout
15135
15136 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15137
15138         * screen.C (topCursorVisible): scroll half a page when the cursor
15139         reached top of bottom of screen
15140
15141 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * minibuffer.C: deactivate on loss of focus
15144
15145 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * vspace.[Ch] (operator!=): add operator.
15148
15149 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
15150
15151         * BufferView_pimpl.C: refuse to open an inset when
15152         there's a selection.
15153
15154 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * BufferView_pimpl.C: allow to click on RHS of full row insets
15157
15158 2001-11-30  Juergen Vigna  <jug@sad.it>
15159
15160         * tabular.C (LyXTabular): add a same_id to set the same id's in the
15161         insets for undo reasons.
15162
15163 2001-11-28  André Pönitz <poenitz@gmx.net>
15164
15165         * vspace.[Ch]: cosmetical changes
15166
15167 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15168
15169         * LyXAction.h:
15170         * LyXAction.C:
15171         * lyxfunc.h:
15172         * lyxfunc.C:
15173         * kbmap.h:
15174         * kbmap.C:
15175         * lyxrc.C:
15176         * kbsequence.h:
15177         * kbsequence.C: part re-write of old kb code
15178
15179         * Painter.C:
15180         * WorkArea.C: remove Lgb_bug_find_hack
15181
15182 2001-11-30  José Matos <jamatos@fep.up.pt>
15183
15184         * buffer.C (makeDocBookFile): add a comment to point a hack.
15185         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15186         Fixed a double write of labels.
15187
15188 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15189
15190         * LaTeX.C:
15191         * LaTeX.h Fixed bug in LaTeX class where it would not
15192         re-run latex if no depfiles were changed, but the .dvi was removed.
15193
15194 2001-11-28  André Pönitz <poenitz@gmx.net>
15195
15196         * all the files from the change on 2001/11/26:
15197         use lyx::layout_type instead of LyXTextClass::size_type
15198         use lyx::textclass_type instead of LyXTextClassList::size_type
15199
15200 2001-11-29  Juergen Vigna  <jug@sad.it>
15201
15202         * text.C: added support for paragraph::isFreeSpacing()
15203
15204         * buffer.C: same as above
15205
15206         * paragraph.h: inserted isFreeSpacing() function to enable
15207         FreeSpacing inside InsetERT.
15208
15209         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15210         of the paragraph's in the cut/copy buffer to 0!
15211
15212         * text2.C (removeRow): remove the assert as it can!
15213
15214         * lyxtext.h: added helper function firstRow returning firstrow and
15215         made firstrow private again.
15216
15217         * BufferView2.C (lockInset): don't relock if we're already locked!
15218
15219         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15220         the only paragraph.
15221         (removeRow): added Assert::(firstrow)
15222
15223         * debug.C: forgot to add INSETTEXT here.
15224
15225 2001-11-28  Juergen Vigna  <jug@sad.it>
15226
15227         * sp_spell.C (initialize): changed error text to more general
15228         spellchecker command use (not only ispell!)
15229
15230         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15231
15232         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15233
15234 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15235
15236         * vspace.C: initialise lyxgluelength on failure
15237
15238 2001-11-28  Allan Rae  <rae@lyx.org>
15239
15240         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15241         declaration & definition that looks like a function declaration.
15242
15243 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * BufferView2.C (copy):
15246         (copyEnvironment): do not clear the selection when doing a copy.
15247
15248         * text.C (paintFirstRow): compilation fix
15249
15250 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15251
15252         * tabular.C (Latex): correct line count when writing latex.
15253
15254 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15255
15256         * paragraph_pimpl.h:
15257         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15258           bug a bit
15259
15260 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15261
15262         * text.C:
15263         * LColor.h:
15264         * LColor.C: change vfillline->added_space
15265
15266         * text.C: add markers and text for added space
15267
15268         * vspace.C: fix comment
15269
15270 2001-11-28  André Pönitz <poenitz@gmx.net>
15271
15272         * paragraph.C: whitespace changes
15273         * all the other files from the change on 2001/11/26:
15274         change *::pos_type into lyx::pos_type
15275
15276 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15277
15278         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15279         language of the document when inserting error insets.
15280
15281 2001-11-26  André Pönitz <poenitz@gmx.net>
15282
15283         * BufferView_pimpl.[Ch]:
15284         *       CutAndPaste.C:
15285         * buffer.[Ch]:
15286         * lyxcursor.[Ch]:
15287         * lyxfind.C:
15288         * lyxfunc.C:
15289         * lyxrow.[Ch]:
15290         * paragraph.[Ch]:
15291         * paragraph_pimpl.[Ch]:
15292         * sp_spell.C:
15293         * text.C:
15294         * text2.C: reduce header dependencies, introduce type for positions
15295
15296 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15297
15298         * <various>: change to use Alert.h
15299
15300 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15301
15302         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15303         when encountering an unknown token.
15304         (readLyXformat2): Show an error message if there were unknown tokens.
15305
15306 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15307
15308         * BufferView2.C:
15309         * BufferView_pimpl.C:
15310         * buffer.C:
15311         * paragraph.h:
15312         * text.C:
15313         * text2.C: use par->isInset()
15314
15315 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15316
15317         * paragraph_pimpl.h:
15318         * paragraph_pimpl.C: cleanup
15319
15320 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15321
15322         * text2.C (removeRow):
15323         * text.C (setHeightOfRow): remove useless (and costly) call to
15324         getRow.
15325
15326 2001-11-20  Allan Rae  <rae@lyx.org>
15327
15328         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15329         Now need Inset*::checkInsertChar() to return true for appropriate
15330         cases so that the characters in the minibuffer will actually be
15331         inserted.
15332
15333 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15334
15335         * text.C: change the order of the includes.
15336         (workWidth): initialize it at once.
15337         (workWidth): make maxw unsigned
15338         (setHeightOfRow): remove unused variable (inset)
15339         (selectSelectedWord): remove unused variable (inset)
15340         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15341
15342 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15345         server is not running.
15346         (openConnection):
15347         (closeConnection): add debug info when server is disabled.
15348
15349         * ColorHandler.C (getGCForeground): send debug message to GUI
15350         channel.
15351
15352         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15353
15354         * kbmap.C (bind): modify because return conventions of
15355         kb_sequence::parse have changed.
15356
15357         * kbsequence.C (parse): only ignore spaces and not any stupid
15358         control character. This avoids tests like s[i] <= ' ', which are
15359         guaranteed to fail with 8bit characters and signed chars.
15360         Change return code to string::npos when there have been no error
15361         (0 was a bad idea when error is at first character)
15362
15363 2001-11-14  José Matos  <jamatos@fep.up.pt>
15364
15365         * buffer.h:
15366         * buffer.C (simpleDocBookOnePar): removed unused argument.
15367
15368 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15369
15370         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15371         insets which are part of a word. Paragraph::isLetter takes care of
15372         that now. Use Paragraph::isInset to identify insets.
15373         (selectSelectedWord): do not test for hyphenation break.
15374
15375         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15376         that protected spaces are considered as spaces.
15377
15378         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15379         Inset::isLetter.
15380
15381 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15382
15383         * lyxserver.h:
15384         * lyxserver.C: fix it. and small cleanup.
15385
15386 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15387
15388         * BufferView_pimpl.C: use inline helpers
15389
15390         * LaTeXFeatures.h:
15391         * LaTeXFeatures.C: fix typos
15392
15393         * Spacing.h:
15394         * Spacing.C: move spacing_string into class
15395
15396         * ToolbarDefaults.C: move stuff into namespace anon
15397
15398         * layout.h: update enum
15399
15400         * lyxfunc.C: use better debug
15401
15402         * minibuffer.h: fix typo
15403
15404         * debug.h:
15405         * debug.C:
15406         * WorkArea.C: add and use Debug::WORKAREA
15407
15408         * lyxtext.h:
15409         * text.C:
15410         * text2.C: code re-organisation, inline helpers
15411
15412 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15413
15414         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15415         std::vector.empty().
15416
15417 2001-11-09  Allan Rae  <rae@lyx.org>
15418
15419         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15420         '\n's after tables.  Tabular and ERT inset work now makes this no
15421         longer necessary.
15422
15423 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15424
15425         * minibuffer.h:
15426         * minibuffer.C: fix crash, improve drop-down completion
15427
15428 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15429
15430         * lyxserver.h:
15431         * lyxserver.C: invalidate fd's when doing endPipe()
15432
15433 2001-11-08  José Matos  <jamatos@fep.up.pt>
15434
15435         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15436         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15437
15438         * paragraph.h:
15439         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15440
15441 2001-11-07  José Matos  <jamatos@fep.up.pt>
15442
15443         * buffer.h:
15444         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15445         const qualifier.
15446
15447         * buffer.C (sgmlOpenTag):
15448         * buffer.C (sgmlCloseTag): removed debug info.
15449
15450         * buffer.h (sgmlOpenTag):
15451         * buffer.h (sgmlCloseTag): made public.
15452
15453 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * buffer.C (saveParamsAsDefaults):
15456         * lyx_cb.C (MenuLayoutSave): remove
15457
15458         * LyXAction.C (init):
15459         * commandtags.h:
15460         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15461
15462 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * buffer.C (setPaperStuff): removed from here...
15465
15466         * bufferparams.C (setPaperStuff): ... and moved there.
15467
15468 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15469
15470         * minibuffer.h:
15471         * minibuffer.C:
15472         * XFormsView.C: add support for drop-down completion
15473
15474 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15475
15476         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15477         commands.
15478
15479 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15480
15481         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15482         disabled.
15483
15484 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15485
15486         * lyx_main.C: change ref to known bugs
15487
15488 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15489
15490         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15491         to work around older babel problems.
15492
15493 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15494
15495         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15496
15497 2001-10-24  Juergen Vigna  <jug@sad.it>
15498
15499         * tabular-old.C (ReadOld): below variable changes reflected.
15500
15501         * tabular.[Ch]: added ltType struct for longtable header/footer
15502         defines and changed all instances where they are used. Added
15503         future support for double top/bottom rows.
15504
15505 2001-10-24  José Matos  <jamatos@fep.up.pt>
15506
15507         * buffer.h (docbookHandleCaption):
15508         * buffer.C (docbookHandleCaption): removed unused function.
15509         (makeDocBookFile): moved docbook supported version to v4.1.
15510
15511 2001-10-24  José Matos  <jamatos@fep.up.pt>
15512
15513         * tabular.h:
15514         * tabular.C (docbookRow): new function to export docbook code of a row.
15515         (DocBook): now honors the longtable flags.
15516
15517 2001-10-23  José Matos  <jamatos@fep.up.pt>
15518
15519         * LaTeXFeatures.h:
15520         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15521         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15522
15523         * buffer.C (makeLinuxDocFile):
15524         (makeDocBookFile): reworked the preamble, more clean, and with
15525         support for lyx defined entities. Changed the document declaration
15526         to be more XML friendly.
15527
15528         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15529         if we need to output XML that should be done with a filter.
15530
15531 2001-10-22  Juergen Vigna  <jug@sad.it>
15532
15533         * sp_pspell.h (class PSpell): add alive function needed in the
15534         controller to see if the spellchecker could be started.
15535
15536 2001-10-22  Juergen Vigna  <jug@sad.it>
15537
15538         * buffer.C (insertStringAsLines): modify the font for inserting
15539         chars in certain conditions by calling checkInsertChar(font).
15540
15541 2001-10-19  Juergen Vigna  <jug@sad.it>
15542
15543         * text.C (workWidth): use getRow instead of wrong algorithm.
15544         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15545
15546 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15547
15548         * lyxserver.h:
15549         * lyxserver.C:
15550         * lyx_main.h:
15551         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15552
15553 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * text.C (workWidth): do not search for the exact row when
15556         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15557         optimization for big documents.
15558
15559 2001-10-18  Juergen Vigna  <jug@sad.it>
15560
15561         * text.C (workWidth): new function with added Inset * parameter.
15562
15563 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15564
15565         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15566
15567         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15568         change return type of getColumnNearX.
15569
15570
15571         * text.C (changeRegionCase): use uppercase/lowercase instead of
15572         toupper/tolower.
15573         (leftMargin):
15574         (rightMargin): simplify code by factoring out the uses of
15575         textclasslist.
15576         (labelFill):
15577         (numberOfHfills):
15578         (setHeightOfRow):
15579         (appendParagraph): use Paragraph::size_type
15580
15581 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * vspace.C (asLatexString): add a missing break
15584
15585 2001-10-15  Herbert Voss  <voss@perce.de>
15586
15587         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15588
15589 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15590
15591         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15592         is not available.
15593
15594 2001-10-10  André Pönitz <poenitz@gmx.net>
15595
15596         * lyxfunc.C: removed greek_kb_flag.
15597
15598 2001-10-10  Herbert Voss  <voss@perce.de>
15599
15600         * lyx_main.C: delete global string help_lyxdir.
15601
15602 2001-10-09  Herbert Voss  <voss@perce.de>
15603
15604         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15605
15606         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15607
15608         * lyx_main.C: added global string help_lyxdir.
15609
15610         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15611
15612 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15613
15614         * lyxrc.C (set_font_norm_type): support iso8859-4
15615
15616 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15617
15618         * LaTeX.C (deplog): add another regex for MikTeX
15619
15620 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15621
15622         * lyxrc.C (set_font_norm_type): support iso8859-3
15623
15624 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15627
15628         * LaTeXFeatures.C: remove special case of french and index
15629
15630         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15631         before \begin{document}). This solves several incompatibilities.
15632
15633 2001-10-03  Garst Reese  <reese@isn.net>
15634
15635         * lyx_cb.C: change CheckTex error msg.
15636
15637 2001-10-03  José Matos  <jamatos@fep.up.pt>
15638
15639         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15640
15641 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15642
15643         * .cvsignore: update
15644
15645         * lyx_main.C (commandLineVersionInfo): use new style version info.
15646
15647         * buffer.C (writeFile):
15648         (makeLaTeXFile):
15649         (makeLinuxDocFile):
15650         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15651
15652         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15653
15654         * version.h: update to use stuff in version.C
15655
15656         * version.C.in: new file. Contains version information determined
15657         at compile time. This is a merging of version.h and
15658         version_info.h.in.
15659
15660 2001-10-03  Juergen Vigna  <jug@sad.it>
15661
15662         * BufferView_pimpl.C (update): don't change "dirty" status in
15663         updateInset call.
15664
15665 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15666
15667         * WorkArea.C (c-tor): re-position version string slightly.
15668
15669 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15670
15671         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15672         revert to previous code.
15673
15674         WorkArea.[Ch]: (show, destroySplash): methods removed.
15675
15676         WorkArea.C: rework code so that it's an amalgam of the codes before and
15677         after the splash screen was moved to WorkArea.
15678
15679 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * lyxrc.C (read):
15682         * vspace.C (inPixels):
15683         (lyx_advance):
15684         * kbmap.C (bind):
15685         * buffer.C (insertStringAsLines):
15686         (asciiParagraph): fix types to be large enough
15687
15688         * lyxlex_pimpl.h: change member status from short to int
15689
15690         * layout.h: fix type of endlabeltype
15691
15692         * kbmap.C (bind):
15693         * kbsequence.C (parse): change return type to string::size_type
15694
15695         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15696         variable
15697
15698         * Bullet.C (bulletSize):
15699         (bulletEntry): do not use short ints as parameters
15700
15701         * BufferView2.C (insertLyXFile): change a char to an int.
15702
15703         * WorkArea.C (WorkArea): remove unneeded floats in computation
15704
15705 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15706
15707         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15708
15709         * paragraph.C (asString): Do not ignore newline/hfill chars when
15710         copying to the clipboard.
15711
15712 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15713
15714         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15715         after a multi-line inset.
15716
15717 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15718
15719         * paragraph.C (validate): Set NeedLyXFootnoteCode
15720
15721 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15722
15723         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15724         and decrease-error to decrease.
15725
15726 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15727
15728         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15729         it more readable (should be equivalent)
15730
15731 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15732
15733         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15734
15735 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15736
15737         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15738         of a cursor (row, etc.) after a character has been deleted
15739         (deleteEmptyParagraphMechanism): call the method above on _all_
15740         cursors held by the LyXText when a double space has been
15741         detected/deleted.
15742
15743 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15744
15745         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15746         pixmap.
15747         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15748
15749         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15750         background. Use greyOut() and the new show() methods to toggle between
15751         the foreground and background. Add code to remove the splash after
15752         its initial showing.
15753
15754         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15755         (create_forms): no longer call Dialogs::showSplash.
15756
15757 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * .cvsignore: add version_info.h
15760
15761 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15762
15763         * version_info.h.in: new file
15764
15765         * Makefile.am: add version_info.h.in
15766
15767         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15768         version_info.h instead of VERSION_INFO
15769
15770 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15771
15772         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15773         The ERT inset now returns string().
15774
15775 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15776
15777         * lyxtext.h, text.C (selectNextWord): renamed as
15778         selectNextWordToSpellcheck.
15779
15780         * text.C (selectNextWordToSpellcheck): Modified to not select
15781         words inside an ERT inset.
15782
15783 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15784
15785         * lyx_cb.C (MenuLayoutSave): change a bit the question
15786
15787         * sp_base.h: include <sys/types.h>
15788
15789 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15790
15791         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15792
15793 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15794
15795         * several files: fix typos in user-visible strings
15796
15797 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15798
15799         * text2.C (pasteSelection): do not set the selection, since it
15800         will be cleared later. Actually, the intent was to fix the way the
15801         selection was set, but I figured rmoving the code was just as good.
15802
15803 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15804
15805         * FontLoader.C (available): Check if font is available without
15806         loading the font.
15807
15808 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15809
15810         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15811
15812 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15813
15814         * lyxrc.[Ch]: added display_graphics variable and associated code.
15815
15816 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15817
15818         * bufferparams.C (hasClassDefaults): new method. Returns true if
15819         the buffer parameters correspond to known class defaults
15820
15821 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15822
15823         * XFormsView.C (show): set minimum size to the main window.
15824
15825 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15826
15827         * text2.C (copySelection):
15828         (cutSelection):
15829         * lyxfind.C (LyXReplace):
15830         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15831         LyXText::selectionAsString.
15832
15833         * paragraph.C (asString): add "label" argument to the second form
15834
15835         * text2.C (selectionAsString): add "label" argument and pass it to
15836         Paragraph::asString.
15837
15838 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15839
15840         * lyx_main.C (commandLineHelp): remove version information
15841
15842 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15843
15844         * lyx_main.C: add -version commandline option
15845
15846 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15847
15848         * paragraph.h: make the optional constructor arg required instead.
15849         some modifications to other files because of this.
15850
15851         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15852
15853         * lyxserver.C (C_LyXComm_callback): make it static
15854
15855         * lyx_main.C (error_handler): make it static
15856
15857         * lyx_gui.C (LyX_XErrHandler): make it static
15858
15859         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15860
15861         * WorkArea.C: make the extern "C" methods static.
15862
15863         * Makefile.am (lyx_LDADD): simplify
15864
15865 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15866
15867         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15868         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15869
15870         * LyXAction.C (init):
15871         * lyxfunc.C (dispatch): associated code removal.
15872
15873 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15874
15875         * lyxfont.h (isSymbolFont): shut off warning
15876
15877         * text.C (setHeightOfRow):
15878         (getVisibleRow): fix crash with empty paragraphs which have a
15879         bottom line
15880
15881 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15882
15883         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15884         code.
15885
15886 2001-09-04  José Matos  <jamatos@fep.up.pt>
15887         * buffer.C
15888         * buffer.h
15889         * tabular.C (docbook): rename docBook method to docbook.
15890
15891 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15892
15893         * Makefile.am: add dependencies to main.o.
15894
15895 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15896
15897         * FontLoader.C (available): Return false if !lyxrc.use_gui
15898
15899 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15900
15901         * FontInfo.C (query):
15902         * converter.C (view):
15903         * importer.C (Import):
15904         * exporter.C (Export): Can not -> cannot.
15905
15906 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15907
15908         * BufferView_pimpl.C: allow to create index inset even if
15909           string is empty
15910
15911 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15912
15913         * buffer.C (getLists): replace boost::tie code with an explicit pair
15914         as boost::tie can break some compilers.
15915
15916         * iterators.h: Added a std:: declaration to the return type of
15917         ParIterator::size.
15918
15919 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15920
15921         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15922           case.
15923
15924 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15925
15926         * iterators.[Ch]: New files. Provide paragraph iterators.
15927
15928         * buffer.C (changeLanguage): Use paragraph iterators.
15929         (isMultiLingual): ditto
15930
15931         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15932
15933 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15934
15935         * FontLoader.C: Support for cmr font.
15936
15937 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15938
15939         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15940         (available): New method.
15941
15942         * FontInfo.C (getFontname): Use scalable fonts even when
15943         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15944         found.
15945
15946 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15947
15948         * converter.C (Formats::view): reverted! Incorrect fix.
15949
15950 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15951
15952         * converter.C (Formats::view): only output the -paper option
15953         if the dvi viewer is xdvi, thereby fixing bug #233429.
15954
15955 2001-08-23  Herbert Voss  <voss@perce>
15956
15957         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15958
15959 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15960
15961         * Spacing.h (Spacing): Set space to Default on in the default
15962         constructor.
15963
15964 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15965
15966         * vc-backend.h (RCS::versionString): add RCS to version
15967         (CVS::versionString): add CVS to version
15968
15969         * vc-backend.C (scanMaster): do not add CVS to version.
15970         (scanMaster): do not add RCS to version
15971
15972         * lyxvc.C (versionString): new method
15973
15974         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15975
15976 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15977
15978         * Spacing.C (set): initialize fval
15979
15980 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15981
15982         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15983         " or \.
15984
15985 2001-08-16  Juergen Vigna  <jug@sad.it>
15986
15987         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15988
15989 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15990
15991         * BufferView_pimpl.C:
15992         * figureForm.C:
15993         * lyxtext.h:
15994         * text2.C: setParagraph takes linespacing now
15995
15996 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15997
15998         * LyxAction.C: add internal LFUN_CITATION_INSERT
15999
16000         * LyXView.C: actually apply fix
16001
16002         * bufferlist.C: fix open non-existent file
16003
16004         * lyxfind.C: fix indentation
16005
16006         * lyxfunc.C: remove unneeded assert, fix typo
16007
16008 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
16009
16010         * MenuBackend.C: use "Floatname List"
16011
16012 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
16013
16014         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
16015         when converting LaTeX layout to insetERT.
16016         Generate a non-collapsed float when reading old float
16017
16018 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16019
16020         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
16021         ERT insets.
16022
16023 2001-08-13  Juergen Vigna  <jug@sad.it>
16024
16025         * text.C (fill): return 0 instead of 20 as this seems to be the more
16026         correct value.
16027
16028 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
16029
16030         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
16031         lyxrc.font_norm.
16032
16033 2001-08-13  Juergen Vigna  <jug@sad.it>
16034
16035         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
16036         casesensitive off.
16037         (SearchBackward): comment out the unlocking of the inset_owner this
16038         should not be needed!
16039
16040 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
16041
16042         * Many files: Remove inherit_language, and add latex_language
16043
16044         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
16045         collapsible insets.
16046
16047 2001-08-10  Juergen Vigna  <jug@sad.it>
16048
16049         * text.C (prepareToPrint): fixed hfill-width in draw!
16050
16051         * BufferView2.C (selectLastWord): save the selection cursor as this
16052         now is cleared in the function LyXText::clearSelection!
16053
16054 2001-08-08  Juergen Vigna  <jug@sad.it>
16055
16056         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
16057         BACKSPACE type functions.
16058
16059         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
16060         is only cutted from the document but not put in the cut-buffer, where
16061         still the old stuff should be.
16062
16063         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
16064
16065         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
16066
16067         * tabular.C (SetWidthOfCell): fixed special case where the width
16068         was not updated!
16069         (LeftLine): handle '|' in align_special.
16070         (RightLine): ditto
16071         (LeftAlreadyDrawed): ditto
16072         (SetWidthOfCell): ditto
16073
16074 2001-08-07  Juergen Vigna  <jug@sad.it>
16075
16076         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
16077
16078 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16079
16080         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
16081         * lyxlex.[hC]: ditto
16082
16083 2001-08-06  Juergen Vigna  <jug@sad.it>
16084
16085         * text.C (getVisibleRow): fix up row clearing a bit.
16086
16087 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16088
16089         * minibuffer.C: make sure the X server sees the changes in the input.
16090
16091 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16092
16093         * paragraph.C (getFont): split into...
16094         (getLabelFont): this
16095         (getLayoutFont): and this
16096         * paragraph_pimpl.C (realizeFont): calling this
16097
16098         * text2.C (getFont): split into...
16099         (getLayoutFont): this
16100         (getLabelFont): and this
16101         (realizeFont): all three calling this
16102
16103         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
16104         files where used.
16105
16106 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16107
16108         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
16109
16110 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
16111
16112         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
16113         layouts from the Quote inset insertion.
16114
16115 2001-08-03  Juergen Vigna  <jug@sad.it>
16116
16117         * BufferView_pimpl.C (update): do the fitCursor only at the end!
16118
16119         * screen.C (drawFromTo): don't call fitcursor here and do the loop
16120         only if status not is already CHANGED_IN_DRAW (second level).
16121
16122         * text.C (draw): don't set the need_break_row when inside an
16123         InsetText LyXText.
16124
16125 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16126
16127         * buffer.C (parseSingleLyXformat2Token): handle more latex
16128         conversion cases.
16129
16130         * bufferview_funcs.[hC]: change function names to
16131         begin with small char, adjust other files.
16132
16133 2001-08-02  André Pönitz <poenitz@gmx.net>
16134
16135         * lyxfunc.C:
16136         BufferView_pimpl.C: remove broken special code for math-greek
16137
16138 2001-08-02  Juergen Vigna  <jug@sad.it>
16139
16140         * BufferView_pimpl.C (update): redone this function so that we
16141         update the text again if there was a CHANGE_IN_DRAW.
16142
16143         * screen.C (cursorToggle): removed LyXText parameter and recoded.
16144         (drawFromTo): added a new internal bool which is used by draw() and
16145         redraw() function.
16146         (general): some cursor drawing problems fixed.
16147
16148 2001-08-01  Juergen Vigna  <jug@sad.it>
16149
16150         * lyxfind.C (LyXFind): fixed
16151         (SearchForward): ditto
16152         (SearchBackward): ditto
16153
16154         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
16155         spurius drawing of the cursor in the main area.
16156
16157         * text2.C (status): small fix which could lead to a segfault!
16158         (clearSelection): remove unneeded BufferView param.
16159
16160 2001-08-01  André Pönitz <poenitz@gmx.net>
16161
16162         * lyxfunc.C: small change due to changed mathed interface
16163
16164 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16165
16166         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
16167
16168 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
16169
16170         * lyxfunc.c: fail gracefully if file doesn't exist
16171
16172         * LyXSendto.C:
16173         * buffer.C:
16174         * lyxfunc.C:
16175         * BufferView_pimpl.C: IsDirWriteable() proto changed
16176
16177         * LyXView.C: fix updateWindowTitle() to store the last title
16178
16179 2001-07-31  Juergen Vigna  <jug@sad.it>
16180
16181         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16182         the font (wrong since using of Paragraph::highestFontInRange).
16183
16184         * paragraph.C (highestFontInRange): added a default_size parameter.
16185
16186         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16187         (setHeightOfRow): reformat
16188
16189 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16190
16191         * converter.[hC] + affected files: move to (inital-char)lowercase
16192         function names.
16193
16194         * ParagraphParameters.C (ParagraphParameters): remove commented code
16195
16196         * PainterBase.[Ch]: remove commented code
16197
16198         * LaTeXFeatures.h: add "bool floats" for float.sty
16199
16200         * LaTeXFeatures.C (LaTeXFeatures): init floats
16201         (require): handle float
16202         (getPackages): do it with floats
16203
16204 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * BufferView_pimpl.C (Dispatch): improve handling of
16207         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16208
16209         * commandtags.h: #include lyxfont.h here temporarily to avoid
16210         keybinding bug.
16211
16212         * bufferlist.h: include LString.h here.
16213
16214 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * text2.C (getStringToIndex): new method.
16217
16218 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16219
16220         * *: Reduced header file dependencies all over.
16221
16222 2001-07-30  Baruch Even  <baruch@lyx.org>
16223
16224         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16225
16226 2001-07-29  Baruch Even  <baruch@lyx.org>
16227
16228         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16229
16230 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16231
16232         * ParameterStruct.h (endif): add a default constructor to make
16233         sure that all variables is initialized.
16234
16235         * ParagraphParameters.C (ParagraphParameters): adjust
16236
16237 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16238
16239         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16240         index; also, check that there is something to index, and that it
16241         does not span over several paragraphs.
16242         (doubleClick): use WHOLE_WORD_STRICT for double click.
16243
16244         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16245
16246         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16247         scheme.
16248
16249 2001-07-26  Baruch Even  <baruch@lyx.org>
16250
16251         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16252         an InsetFig figure, backwards compatible reading of old figure code.
16253
16254 2001-07-27  Juergen Vigna  <jug@sad.it>
16255
16256         * text2.C: font.realize function adaption.
16257
16258         * text.C (draw): add a warnings lyxerr text if needed.
16259
16260         * layout.C: font.realize function adaption.
16261
16262         * language.C: add inherit_language and implement it's handlings
16263
16264         * bufferview_funcs.C (StyleReset): remove language parameter from
16265         font creation (should be language_inherit now).
16266
16267         * bufferparams.C (writeFile): handle ignore_language.
16268
16269         * paragraph.C (getFontSettings): the language has to be resolved
16270         otherwise we have problems in LyXFont!
16271
16272         * lyxfont.C (lyxWriteChanges): added document_language parameter
16273         (update): removed unneeded language parameter
16274
16275         * paragraph.C (validate): fixed wrong output of color-package when
16276         using interface colors for certain fonts in certain environments,
16277         which should not seen as that on the final output.
16278
16279 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16280
16281         * BufferView_pimpl.C:
16282         * Thesaurus.h:
16283         * Thesaurus.C:
16284         * Makefile.am:
16285         * commandtags.h:
16286         * LyXAction.C: add thesaurus support
16287
16288         * lyxfind.h:
16289         * lyxfind.C: add "once" parameter, for thesaurus, to not
16290           move to the next match
16291
16292 2001-07-26  Juergen Vigna  <jug@sad.it>
16293
16294         * lyxfont.C (realize): honor ignore_language too!
16295         (resolved): ditto.
16296
16297         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16298
16299         * text.C (draw): one place more for ignore_language to not draw
16300         itself!
16301
16302 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16303
16304         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16305
16306 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16307
16308         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16309         the minipage conversion problem.
16310
16311 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16312
16313         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16314         insert an inset.
16315
16316 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16317
16318         * BufferView.h: don't forward declare WorkArea
16319
16320         * BufferView.C: don't include WorkArea.h
16321
16322 2001-07-25  André Pönitz <poenitz@gmx.net>
16323
16324         * commandtags.h:
16325         * LyXAction.C:
16326         * lyxfunc.C:  new LFUN 'math-space'
16327
16328         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16329
16330 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16331
16332         * text2.C (toggleInset): call open/close
16333
16334 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16335
16336         * lyxfunc.C (dispatch): add debug for the disabled case
16337
16338         * font.C (buttonText): make similar to rectText
16339
16340         * buffer.C (readInset): comment out parsing of insetlist and
16341         insttheorem
16342
16343         * PainterBase.C (rectText): small correction
16344
16345         * BufferView_pimpl.C: comment out insettheorem and insetlist
16346         * LyXAction.C: ditto
16347         * commandtags.h: ditto
16348
16349 2001-07-24  Juergen Vigna  <jug@sad.it>
16350
16351         * text.C (draw): honor the ignore_language.
16352
16353         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16354
16355 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16356
16357         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16358         char inset.
16359
16360 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16361
16362         * lyxtext.h: remove unused (and unimplemented) methods
16363
16364 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16365
16366         * text.C (getVisibleRow): honor background color
16367
16368         * PainterBase.h:
16369         * Painter.h: remove default color argument for fillRectangle
16370
16371         * text.C (backgroundColor): new method
16372
16373 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16374
16375         * text.C (getVisibleRow): adjust
16376
16377         * font.[Ch] (rectText): new method, metrics
16378         (buttonText): new method, metrics
16379
16380         * PainterBase.[hC]: make rectText and buttonText always draw and take
16381         fewer paramteres.
16382
16383 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16384
16385         * ToolbarDefaults.C (read):
16386         * MenuBackend.C (read): allow escaping in all strings
16387
16388         * BufferView_pimpl.C (insertAndEditInset): new method.
16389         (Dispatch): use insertAndEditInset whenever appropriate.
16390
16391         * BufferView_pimpl.C (insertNote): removed
16392
16393         * BufferView_pimpl.C (smartQuote): new method, moved from
16394         BufferView; if an insetquote cannot be inserted, insert a '"'
16395         character instead.
16396
16397         * BufferView2.C: remove insertCorrectQuote();
16398
16399         * lyxfunc.C (getStatus): Add support for all remaingin
16400         inset-insert lfuns.
16401
16402         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16403
16404         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16405         command (necessary to pass " as parameter of self-insert.
16406
16407         * text.C (selectWordWhenUnderCursor):
16408         (selectWord): add word_location parameter
16409         (selectWordWhenUnderCursor): same + remove special code for word
16410         boundary.
16411         (selectNextWord): use kind() to guess type of insetspecialchar,
16412         not latex().
16413
16414         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16415         (insertErtContents): create ert insets as collapsed.
16416         (readInset): better compatibility code for Info inset.
16417
16418 2001-07-20  Juergen Vigna  <jug@sad.it>
16419
16420         * lyxfunc.C (dispatch): use always LyXFind now!
16421
16422         * text2.C (init): add a reinit flag so that the LyXText can be
16423         reinited instead of deleted and reallocated (used in InsetText).
16424
16425         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16426
16427         * text.C: ditto
16428
16429         * text2.C: ditto
16430
16431 2001-07-18  Juergen Vigna  <jug@sad.it>
16432
16433         * text.C (selectNextWord): handle insets inside inset by calling
16434         always the bv->text functions so that we can go up the_locking_inset!
16435
16436         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16437         in strange locations when inside an inset!
16438
16439         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16440         handling to include insets.
16441
16442         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16443
16444 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16445
16446         * LyXAction.C (init):
16447         * commandtags.h:
16448         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16449         LIGATURE_BREAK, since the name is so stupid.
16450
16451 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16452
16453         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16454         InsetInfos.
16455
16456         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16457
16458         * sp_form.[Ch]: remove.
16459
16460         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16461
16462         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16463         InsetInfo.
16464
16465         * src/buffer.C (readInset): ditto.
16466
16467 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16468
16469         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16470         menuSeparator(), endOfSentenceDot(), ldots() and
16471         hyphenationPoint(), which are therefore removed.
16472         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16473
16474         * LyXAction.C (init):
16475         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16476
16477         * paragraph.C (getWord): removed.
16478
16479         * BufferView_pimpl.C (Dispatch): use last word or selection for
16480         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16481
16482         * lyx_main.C (queryUserLyXDir): do not ask before creating
16483         user_dir, except if it has been named explicitely.
16484
16485 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16486
16487         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16488         a document of zero size.
16489
16490 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16491
16492         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16493         approriately in the c-tor and in require().
16494         (getPackages): output the appropriate LaTeX for natbib support.
16495
16496         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16497         variables "use_natbib" and "use_numerical_citations" when reading the
16498         LyX file.
16499         (readInset): read the various natbib cite commands.
16500         (validate): white-space change.
16501
16502         * bufferparams.[Ch]: new variables "bool use_natbib" and
16503         "bool use_numerical_citations".
16504         (writeFile): output them in the LyX file.
16505
16506 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16507
16508         * lyxfunc.C (getStatus): add support for all the inset insertion
16509         commands.
16510
16511         * text2.C (insertInset):
16512         * paragraph.C (insetAllowed):
16513         * BufferView_pimpl.C (insertInset): update to take in account the
16514         renaming of insertInsetAllowed
16515
16516         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16517
16518         * text2.C (getInset): new method. returns inset at cursor position.
16519
16520         * BufferView_pimpl.C (Dispatch): changes because of this.
16521
16522         * LyXAction.C (init): rename open-stuff to inset-toggle.
16523
16524         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16525
16526         * text2.C (toggleInset): renamed from openStuff; use
16527         Inset::open().
16528
16529 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16530
16531         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16532
16533         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16534
16535 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16536
16537         * buffer.C (readLyXformat2): Add filename to the error dialog
16538
16539 2001-07-18  Juergen Vigna  <jug@sad.it>
16540
16541         * tabular.C (GetCellNumber): put an assert here instead of the check!
16542
16543 2001-07-17  Juergen Vigna  <jug@sad.it>
16544
16545         * BufferView_pimpl.C (toggleSelection): adapted too.
16546
16547         * text.C (selectNextWord): adapted for use with insets.
16548         (selectSelectedWord): ditto
16549
16550 2001-07-17  Juergen Vigna  <jug@sad.it>
16551
16552         * sp_spell.C (PSpell): fix initialitation order.
16553
16554 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16555
16556         * paragraph.C: spacing
16557
16558 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16559
16560         * sp_spell.C: repair language selection for pspell
16561
16562 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16563
16564         * lyxfunc.h: change more methods to begin with lower char.
16565
16566 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16567
16568         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16569         for unknown layouts.
16570
16571 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16572
16573         * buffer.C (readLyXformat2): Generate an error dialog if there are
16574         unknown layouts.
16575
16576 2001-07-16  Juergen Vigna  <jug@sad.it>
16577
16578         * sp_spell.C: always compile ISpell part.
16579
16580         * lyxrc.C: added use_pspell entry and it's handling.
16581
16582 2001-07-13  Juergen Vigna  <jug@sad.it>
16583
16584         * sp_spell.C: removed double includes.
16585
16586 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16587
16588         Consistent use of Lsstream.h:
16589         * Lsstream.h: added using std::stringstream for consistencies sake.
16590
16591         * buffer.C: removed using std::stringstream
16592
16593         * lyxfont.C (stateText):
16594         * paragraph.C (asString):
16595         * text.C (selectNextWord, selectSelectedWord):
16596         * text2.C (setCounter):
16597         * vspace.C (asString, asLatexString):
16598         std::ostringstream -> ostringstream.
16599
16600 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16601
16602         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16603         * commandtags.h: add LFUN_HELP_ABOUTLYX
16604         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16605
16606 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16607
16608         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16609         cursorToggle()
16610         * lyx_gui_misc.C: remove spellchecker
16611         * lyxfunc.C: showSpellchecker
16612         * sp_base.h: added
16613         * sp_ispell.h: added
16614         * sp_pspell.h: added
16615         * sp_spell.C: added
16616         * sp_form.[Ch]: removed
16617         * spellchecker.[Ch]: removed
16618
16619 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16620
16621         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16622         is set.
16623         (simpleTeXSpecialChars): Simply print the input character without
16624         any special translation if pass_thru is set.
16625
16626         * layout.h: Added bool pass_thru to layout class for being able to
16627         implement pass through of a paragraph for Literate Programming.
16628
16629         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16630         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16631         * layout.C (Read): add "passthru" to list of layout tags and add
16632         code to set the pass_thru boolean when it is read.
16633
16634 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16635
16636         * trans_decl.h: remove allowed from KmodInfo
16637
16638         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16639         remove allowed code
16640         (Load): adjust
16641
16642         * paragraph_pimpl.C (erase): use boost::prior
16643
16644         * Painter.C (text): use data() instead of c_str() when length is
16645         also provided.
16646         * WorkArea.C (putClipboard): ditto
16647         * font.h (width): ditto
16648
16649         * BufferView2.C: use it-> instead of (*it). for iterators
16650         * texrow.C: ditto
16651         * paragraph_pimpl.C: ditto
16652         * paragraph.C: ditto
16653         * minibuffer.C: ditto
16654         * language.C: ditto
16655         * kbmap.C: ditto
16656         * encoding.C: ditto
16657         * counters.C: ditto
16658         * converter.C: ditto
16659         * chset.C: ditto
16660         * Variables.C: ditto
16661         * TextCache.C: ditto
16662         * MenuBackend.C: ditto
16663         * LyXAction.C: ditto
16664         * LColor.C: ditto
16665         * FloatList.C: ditto
16666         * DepTable.C: ditto
16667         * ColorHandler.C (LyXColorHandler): ditto
16668
16669 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16670
16671         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16672
16673         * text2.C (openStuff): reintroduce this method (which had been
16674         nuked in NEW_INSETS frenzy).
16675
16676         * lyxfunc.C (Dispatch): when an action has not been handled, use
16677         its name in the error message, not its number.
16678
16679         * paragraph.C (inInset): change method name to begin with lowercase.
16680
16681         * undo_funcs.C:
16682         * text2.C: updates because of this.
16683
16684 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16685
16686         * ToolbarDefaults.C (add): add spaces in error message
16687
16688 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16689
16690         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16691         (readLyXformat2): rename return_par to first_par, use lyxlex's
16692         pushToken and remove the manual push handling.
16693         (parseSingleLyXformat2Token): add another ert comp. variable:
16694         in_tabular, rename return_par to first_par. handle newlines better
16695
16696 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16697
16698         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16699
16700 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16701
16702         * text2.C (getParFromID): removed
16703
16704         * buffer.C (getParFromID): new method moved form lyxtext.
16705         * BufferView2.C (insertErrors): adjust
16706         (setCursorFromRow): adjust
16707         * BufferView_pimpl.C (restorePosition): adjust
16708         * lyxfunc.C (Dispatch): adjust
16709         * undo_funcs.C (textUndo): adjust
16710         (textRedo): adjust
16711         (textHandleUndo): adjust
16712         (textHandleUndo): adjust
16713
16714 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16715
16716         * buffer.C: up' the LYX_FORMAT
16717
16718         * lyxfont.h: turn NO_LATEX on as default
16719
16720         * buffer.C (insertErtContents): new methods of tex style compability.
16721         (parseSingleLyXformat2Token): use it several places.
16722         * tabular.C (OldFormatRead): and here
16723
16724 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16725
16726         * text2.C: remove some commented code.
16727         reindent file.
16728
16729         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16730         * trans.C: changes because of the above.
16731
16732 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16733
16734         * text2.C (setCounter): Fix counters bug with bibliography layout.
16735
16736 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16737
16738         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16739         own member functions
16740         (simpleTeXSpecialChars): ditto
16741
16742 2001-07-06  Juergen Vigna  <jug@sad.it>
16743
16744         * a lot of files: changed the access to LyXText::status and the
16745         call of undo-functions.
16746
16747         * undo.[Ch]: added a inset_id to the undo informations.
16748
16749         * undo_funcs.[Ch]: added and moved here all undo functions.
16750
16751         * lyxtext.h: give the status enum a weight, made status_ a private
16752         variable and made accessor functions for it, removed the whole bunch
16753         of undo-functions as they are now in their own file, make some
16754         functions publically available. Added function ownerParagraph with
16755         int parameter.
16756
16757         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16758         made InInset() a const function, added getParFromID() function.
16759
16760         * buffer.[Ch]: added const version for inset_iterator functions,
16761         added getInsetFromID() function.
16762
16763         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16764         changed undo functions for new version.
16765
16766 2001-07-05  Juergen Vigna  <jug@sad.it>
16767
16768         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16769         unknow mechanism does not call the proper constructor but only this
16770         one also if I request the other!?
16771
16772 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16773
16774         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16775
16776         * text2.C (LyXText): use initialization lists.
16777
16778         * lyxtext.h (Selection): initialize set_ and mark_
16779         (init): remove method
16780
16781 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16782
16783         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16784
16785 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16786
16787         * screen.[Ch]: change method names to begin with lowercase
16788
16789         * BufferView_pimpl.C (updateScrollbar): simplify further and
16790         hopefully make it a bit faster.
16791
16792 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16793
16794         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16795         calling directly xforms functions.
16796
16797         * Painter.C (Painter):
16798         * lyx_cb.C (MenuWrite):
16799         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16800         fl_display.
16801
16802         * lyx_gui.C: remove bogus guiruntime extern declaration.
16803
16804 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16805
16806         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16807         in NEW_INSETS
16808         (redoDrawingOfParagraph): ditto
16809         (redoParagraphs): ditto
16810         (cutSelection): don't create a object for CutAndPaste use the
16811         static method directly
16812         (pasteSelection): ditto
16813
16814         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16815         LyXview (+ rename)
16816
16817 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16818
16819         * modifications to some other files because of this.
16820
16821         * Makefile.am (lyx_SOURCES): add XFormsView
16822
16823         * XFormsView.[Ch]: new files
16824
16825         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16826         the main window. Move the gui dependent stuff to XFormsView
16827
16828 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16829
16830         * tabular.C (GetCellInset): update cur_cell also in the row/col
16831         version of this function.
16832
16833         * lyxfunc.C: no need to include figure_form.h here.
16834
16835         * FontLoader.h:
16836         * lyxfunc.h:
16837         * lyxscreen.h:
16838         * text2.C:
16839         * lyxvc.C: no need to include forms.h here.
16840
16841 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16842
16843         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16844
16845         * lyxfunc.C (Dispatch):
16846         * Spacing.C (set):
16847         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16848         constructor argument.
16849
16850 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16851
16852         * paragraph.C (Paragraph): dont't clear, and just set layout.
16853         (makeSameLayout): use params's copy contructor.
16854
16855         * ParagraphParameters.[Ch] (makeSame): delete method
16856
16857 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16858
16859         * Variables.[Ch]: fix indentation, rename set to isSet
16860
16861 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16862
16863         * lyxfunc.C (Dispatch): fix typo
16864
16865 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16866
16867         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16868         upper_bound.
16869
16870         * bufferlist.C: include assert.h for emergencyWrite().
16871
16872 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16873
16874         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16875           give up at last (bug #425202) !
16876
16877 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16878
16879         * lyx_gui_misc.C:
16880         * sp_form.h:
16881         * sp_form.C:
16882         * spellchecker.h:
16883         * spellchecker.C: strip spellchecker options and bring up
16884           preferences tab instead
16885
16886 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16887
16888         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16889         the istringstream constructor
16890
16891 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16892
16893         * paragraph.C (getLayout): fix return value
16894
16895         * paragraph.h: do not declare getLayout as inline.
16896
16897         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16898
16899 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16900
16901         * lyxcursor.h (operator<): new func
16902         (operator>): new func
16903         (operator>=): new func
16904         (operator<=): new func
16905
16906         * text.C (changeCase): use selection.start and selection.end
16907         (changeRegionCase): require from to be <= to. Require par to be a
16908         valid paragraph.
16909
16910         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16911
16912 2001-06-27  Juergen Vigna  <jug@sad.it>
16913
16914         * text.C (cursorLeftOneWord): changed to return the cursor and added
16915         overlay with BufferView * parameter which calls this one.
16916         (getWord): added
16917         (selectWord): use new getWord function.
16918         (changeCase): renamed from changeWordCase as and extended to work
16919         also on selections.
16920
16921         * lyxtext.h: added enum word_location
16922
16923         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16924         changeCase as this operates now also on selections.
16925
16926 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16927
16928         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16929
16930         * many files: send debug output to Debug::INFO instead of
16931         Debug::ANY.
16932
16933         * converter.C (View):
16934         (Convert):
16935         (Move): send debug output to Debug::FILES instead of console.
16936
16937 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16938
16939         * lyxfunc.C (getStatus): use func_status
16940
16941         * func_status.h: new header, describing the results of
16942         LyXFunc::getStatus;
16943
16944         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16945         LFUN_MATH_HALIGN.
16946
16947 2001-06-25  The LyX Project  <jug@sad.it>
16948
16949         * buffer.C (sgmlOpenTag):
16950         (sgmlCloseTag):
16951         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16952
16953 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16954
16955         * text2.C: remove some dead code
16956
16957         * tabular.C (GetCellInset): store the last cell checked (gotten)
16958
16959         * tabular.h: add the helper for the speedup
16960
16961         * lyxtext.h: remove some dead code
16962
16963 2001-06-26  The LyX Project  <Asger>
16964
16965         * paragraph.C: Change export to LaTeX of alignment to
16966         \begin{center} and family for better roundtrip work with reLyX.
16967
16968         * Tune the math drawing a bit.
16969
16970 2001-06-25  The LyX Project  <Asger>
16971
16972         * LColor.C (LColor): New color for math background. New color
16973         for buttons.
16974
16975 2001-06-25  The LyX Project  <jug@sad.it>
16976
16977         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16978
16979         * lyxfunc.C (Open):
16980         * bufferlist.C (newFile): do not restrict to files ending with
16981         .lyx
16982
16983         * BufferView_pimpl.C (MenuInsertLyXFile):
16984
16985 2001-06-24  The LyX Project  <jug@sad.it>
16986
16987         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16988         of compare_no_case
16989
16990 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16991
16992         * lyxtext.h: rename most methods to begin with a small char.
16993         Lots of changes because of this.
16994
16995         * paragraph.C (Paragraph): do not call fitToSize
16996         (erase): call Pimpl::erase
16997         (insertChar): call Pimpl::insertChar
16998         (insertInset): call Pipl::insertInset
16999         (breakParagraph): do not call fitToSize
17000         (breakParagraphConservative): do not call fitToSize
17001         (fitToSize): remove method
17002
17003         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
17004
17005 2001-06-24  The LyX Project  <Asger>
17006
17007         * Fix Qt compilation^2
17008
17009 2001-06-24  The LyX Project  <jug@sad.it>
17010
17011         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
17012         depthHook(getDepth()-1).
17013
17014         * paragraph.h:
17015         * ParagraphParameters.h:
17016         * ParameterStruct.h: change type of depth to unsigned int ==
17017         depth_type. Many adaptations to other files before of that.
17018
17019 2001-06-24  The LyX Project  <Asger>
17020
17021         * Fix Qt compilation.
17022
17023 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17024
17025         * paragraph.h: renamed several methods to begin with small letter.
17026         several changes to many parts of the code because of this.
17027
17028 2001-06-23  The LyX Project  <jug@sad.it>
17029
17030         * text2.C (InsertStringAsLines): renamed from InsertStringA;
17031         rewritten to discard all double spaces when KeepEmpty is off
17032         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
17033         to only handle newlines but not fiddle with spaces and friends.
17034
17035         * lyxfunc.C (MenuNew): when doing 'new from template', use
17036         template_path as default directory
17037
17038 2001-06-23  The LyX Project  <Asger>
17039
17040         * Clean-up of header file includes all over
17041         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
17042
17043 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17044
17045         * paragraph.h: renamed from lyxparagraph.h
17046
17047 2001-06-23  Asger  <lyx@violet.home.sad.it>
17048
17049         * Buffer.h: Removed Buffer::resize
17050         * BufferList.h: Removed BufferList::resize
17051         * LyXView.h: Added LyXView::resize. This way, we will only reflow
17052         the document lazily when we change the width, or the font settings.
17053
17054 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17055
17056         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
17057
17058 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17059
17060         * buffer.h: remove out of date comment
17061
17062 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
17063
17064         * lyxscreen.h:
17065         * screen.C: fix "theoretical" GC leak
17066
17067 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17068
17069         * LaTeX.C (scanAuxFile):
17070         (deplog): remove trailing \r when reading stream (useful under
17071         win32)
17072
17073 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
17074
17075         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
17076         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
17077         and BufferView::theLockingInset(Inset*), so should use them and not
17078         access bv_->text->the_locking_inset directly.
17079
17080         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
17081
17082 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17083
17084         * Makefile.am:
17085         * tex-defs.h: remove old unused file
17086
17087 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
17088
17089         * BufferView_pimpl.C: fix typo, remove minibuffer message
17090           when buffer has loaded
17091
17092 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17093
17094         * lyxfunc.C (Dispatch): use stringstream
17095         (MenuNew): use stringstream
17096         (Open): use stringstream
17097
17098         * importer.C (Import): use stringstream
17099
17100         * bufferview_funcs.C (CurrentState): use stringstream
17101
17102         * LaTeX.C (run): use stringstream
17103
17104         * BufferView_pimpl.C (savePosition): use stringstream
17105         (restorePosition): use stringstream
17106         (MenuInsertLyXFile): use stringstream
17107
17108 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
17109
17110         * BufferView.C:
17111         * Bullet.C:
17112         * ColorHandler.C:
17113         * FontInfo.C:
17114         * FontLoader.C:
17115         * LColor.C:
17116         * LaTeXFeatures.C:
17117         * Painter.C:
17118         * gettext.C:
17119         * lyx_gui_misc.C:
17120         * lyxserver.C:
17121         * vspace.C: removed // -*- C++ -*- as first line.
17122
17123         * lyxfind.h:
17124         * version.h: added // -*- C++ -*- as first line.
17125
17126 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17127
17128         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
17129
17130         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
17131         of string
17132
17133 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17134
17135         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
17136         of floats.
17137
17138 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17139
17140         * gettext.C: include LString.h even when --disable-nls is on.
17141
17142 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
17143
17144         * converter.h (Get): changed argument type from int to
17145         FormatList::size_type to avoid unnecessary conversion.
17146
17147         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
17148         before using it.
17149
17150 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17151
17152         * gettext.h: include LString.h even when --disable-nls is on.
17153
17154 2001-06-07  Juergen Vigna  <jug@sad.it>
17155
17156         * text.C (BreakAgain): subst spaces with tabs.
17157
17158         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
17159         (resizeInsetsLyXText): set force on resizeLyXText.
17160
17161 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17162
17163         * gettext.h (gettext_init):
17164         (locale_init): use a real definition instead of a macro
17165
17166 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
17167
17168         * Bufferview_pimpl.C:
17169         * LColor.h:
17170         * LColor.C: further lcolor tidies
17171
17172 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17173
17174         * BufferView_pimpl.C (updateScrollbar): simplify.
17175
17176         * BufferView2.C: don't include insets/insetinfo.h, change
17177         prototype for insertInset and call the Pimpl version. let
17178         updateInset call Pimpl version.
17179
17180         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17181         gotoInset to BufferView::Pimpl
17182
17183 2001-06-01  Juergen Vigna  <jug@sad.it>
17184
17185         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17186         inside a LockingInset (is the update needed at all?).
17187
17188 2001-05-31  Juergen Vigna  <jug@sad.it>
17189
17190         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17191         here not the old one otherwise how should we compare it afterwards
17192         if it's the same!
17193
17194 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17195
17196         * lyxfont.C:
17197         * tabular.C:
17198         * tabular-old.C:
17199         * FontInfo.C: bring C functions into global namespace when
17200         necessary
17201
17202 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17203
17204         * LString.h: make sure config.h has been loaded before LString.h.
17205
17206         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17207         (one for each char read by EatLine!).
17208
17209         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17210         variables.
17211
17212 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17213
17214         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17215         to the same as the par we break from
17216
17217 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17218
17219         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17220
17221         * MenuBackend.C (expand): also create menu entries for wide
17222         versions of the floats.
17223
17224         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17225
17226         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17227
17228         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17229         frontends/Makefile.am
17230
17231         * text2.C: adjust
17232         * text.C: adjust
17233
17234
17235         * tabular.C (getTokenValue): add std::
17236
17237         * tabular-old.C (getTokenValue): add std::
17238         (getTokenValue): ditto
17239         (getTokenValue): ditto
17240
17241         * screen.C (ToggleSelection): adjust
17242
17243         * lyxtext.h: put selection cursors inside a Selection struct.
17244
17245         * lyxfunc.C (moveCursorUpdate): adjust
17246
17247         * lyxfont.C (latexWriteStartChanges): add std::
17248
17249         * lyxfind.C: adjust
17250
17251         * font.h: delete with(char const *, LyXFont const &)
17252
17253         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17254
17255         * FontInfo.C (getFontname): add std::
17256
17257         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17258         (workAreaButtonPress): adjust
17259         (tripleClick): adjust
17260         (update): adjust
17261         (moveCursorUpdate): adjust
17262         (Dispatch): adjust
17263
17264         * BufferView2.C (gotoInset): adjust
17265
17266 2001-05-30  Juergen Vigna  <jug@sad.it>
17267
17268         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17269         to check pspell I add this as default as I now have new pspell
17270         libraries and they seem to use this.
17271
17272 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17273
17274         * text2.C (CutSelection): make the cursor valid before the call to
17275         ClearSelection.
17276
17277 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17278
17279         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17280         relied on 0 terminated strings and other horrors. Bug found due to
17281         the new assert in lyxstring!
17282
17283         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17284         KP_ keys.
17285
17286 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17287
17288         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17289         to latinkeys.bind.
17290
17291         * lyxfunc.C (processKeySym): change method of getting to the
17292         self-insert char.
17293
17294         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17295         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17296         * BufferView_pimpl.[Ch]: here as private methods.
17297
17298 2001-05-28  Juergen Vigna  <jug@sad.it>
17299
17300         * text.C (SetHeightOfRow): added the update() call again as it is
17301         needed to initialize inset dimensions!
17302
17303 2001-05-16  Juergen Vigna  <jug@sad.it>
17304
17305         * text2.C (SetCharFont): Add new function with BufferView * and
17306         bool toggleall parameters for setting insets internal fonts.
17307         (SetFont): Freeze the undo as we may change fonts in Insets and
17308         all this change should be inside only one Undo!
17309
17310         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17311         setting font's in insets as for them we have the SetFont function!
17312
17313 2001-05-15  Juergen Vigna  <jug@sad.it>
17314
17315         * text2.C (ClearSelection): to be sure we REALLY don't have any
17316         selection anymore!
17317
17318         * tabular.C (TeXCellPreamble): fixed the left border problem for
17319         multicolumn cells.
17320
17321 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17322
17323         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17324         dependancy file
17325
17326 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17327
17328         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17329         LFUN_BREAKPARAGRAPH.
17330
17331         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17332         help test to "internal only", similar for LFUN_INSERT_URL
17333
17334         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17335         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17336         auto_region_delete and deadkeys.
17337
17338 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17339
17340         * LColor.h:
17341         * LColor.C: remove some dead entries, tidy a little
17342
17343 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17344
17345         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17346         commented code.
17347         (Dispatch): implement LFUN_ESCAPE
17348
17349         * commandtags.h: add LFUN_ESCAPE
17350
17351         * LyXAction.C (init): add entry for LFUN_ESCAPE
17352
17353         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17354         Remove commented code.
17355         (insertNote): moved here
17356         (open_new_inset): moved here
17357
17358         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17359         BufferView_pimpl
17360
17361 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17362
17363         * kbmap.C (findbinding): clean it up and make it work correctly.
17364
17365         * lyx_main.C (init): do not pass argc and argv as parameters
17366
17367 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17368
17369         * buffer.C: fix path for OS/2 & Win32
17370
17371         * lyx_gui.C:
17372         * lyx_main:
17373         * lyx_main.C: Added os:: class.
17374
17375         * os2_defines.h: update
17376
17377 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17378
17379         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17380         better by trying again with reduced state.
17381
17382 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17383
17384         * lyxrc.C (read): print error about invalid key sequence only when
17385         debugging (because not all latinX keysyms are known to some X
17386         servers)
17387
17388         * kbsequence.C (getiso): add a few std:: qualifiers
17389         (getiso): comment out extra return statement.
17390
17391 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17392
17393         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17394         handling.
17395         (Dispatch): enhance the accent inset a bit. (not perfect)
17396
17397 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17398
17399         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17400
17401 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17402
17403         * bufferlist.C (emergencyWrite): fix assert() call
17404
17405 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17406
17407         * text.C (InsertChar): Added trivial patch to only send the "you
17408         can not do multiple spaces this way" message once during a
17409         session.
17410
17411 2001-05-08  Baruch Even  <baruch@lyx.org>
17412
17413         * Makefile.am: Changed order of libraries to get LyX to link properly
17414         with the gnome frontend.
17415
17416 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17417
17418         * LaTeXFeatures.h: add a std:: qualifier
17419
17420 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17421
17422         * paragraph.C (String): use stringstream
17423
17424 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17425
17426         * paragraph.C (writeFile): remove footflag arg
17427
17428         * buffer.C (makeLaTeXFile): use stringstream
17429         (latexParagraphs): remove footnot gurba
17430
17431         * LaTeXFeatures.C (getPackages): use stringstream
17432         (getMacros): likewise
17433         (getTClassPreamble): likewise
17434         (getFloatDefinitions): new method
17435
17436         * paragraph.C (writeFile): reindent
17437         (Erase): reindent
17438
17439         * WorkArea.h: revert the xpos + etc changes.
17440
17441         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17442
17443         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17444
17445         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17446         (pasteSelection): likewise
17447         * text2.C (CreateUndo): likewise
17448
17449 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17450
17451         * minibuffer.C (peek_event): temporarily reduce the functionality
17452         of the minibuffer (to allow args on lfuns)
17453
17454         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17455         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17456
17457         * buffer.C (readInset): add compability reading of old float
17458         lists, add reading of new style float list.
17459         (readInset): avoid reevaluation of inscmd.getCmdName()
17460         (getLists): reindent
17461
17462         * MenuBackend.C (MenuItem): implement parsing of
17463         md_floatlistinsert and md_floatinsert.
17464         (expand::LastFiles): move initalizaton of iterators out of loop,
17465         avoid reevaluation.
17466         (expand::Documents): introduce typdedef vector<string> Strings,
17467         and use it.
17468         (expand::ExportFormats): introduce typedef vector<Format const *>
17469         Formats, and use it.
17470         (expand): implement FloatListInsert and FloatInsert.
17471
17472         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17473         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17474         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17475
17476         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17477         handling.
17478         (Dispatch::LFUN_FLOAT_LIST): implement
17479
17480 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17481
17482         * LaTeX.C (run): Fix problem with --export code.
17483
17484 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17485
17486         * BufferView.[Ch] (workarea): removed.
17487         (getClipboard) new method; wrapper for workarea()->getClipboard()
17488
17489         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17490         bug.
17491
17492         * WorkArea.h (width, height, xpos, ypos): These methods all
17493         returned the dimensions of the work_area sub-area of WorkArea,
17494         resulting in a position error if the WorkArea were resized. Now
17495         return the dimensions of the entire WorkArea.
17496
17497         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17498
17499 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17500
17501         * LaTeX.C (deplog): correct the syntax of regex reg1
17502
17503 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17504
17505         * undo.C: remove !NEW_INSETS cruft
17506
17507 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17508
17509         * text2.C: remove !NEW_INSETS cruft
17510
17511         * text.C: remove !NEW_INSETS cruft
17512
17513         * tabular.C: remove !NEW_INSETS cruft
17514
17515         * spellchecker.C: remove !NEW_INSETS cruft
17516
17517         * lyxtext.h: remove !NEW_INSETS cruft
17518
17519         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17520
17521         * lyxfunc.C: remove !NEW_INSETS cruft
17522
17523         * lyxfind.C: remove !NEW_INSETS cruft
17524
17525         * lyx_cb.C: remove !NEW_INSETS cruft
17526
17527         * figureForm.C: remove  !NEW_INSETS cruft
17528
17529         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17530
17531         * buffer.[Ch]: remove !NEW_INSETS cruft
17532
17533         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17534
17535         * CutAndPaste.C: remove !NEW_INSETS cruft
17536
17537         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17538
17539         * BufferView2.C: remove !NEW_INSETS cruft
17540
17541         * BufferView.h: remove !NEW_INSETS cruft
17542
17543 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17544
17545         * Lsstream.h: include LString.h before the sstream headers to
17546         fix problem with gcc 2.95.3 and lyxstring
17547
17548 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17549
17550         * lyx_main.C: add using directives when needed for C functions
17551         declared in std:: namespace.
17552
17553 2001-04-27  Juergen Vigna  <jug@sad.it>
17554
17555         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17556         (SetHeightOfRow): comment out the update call should not be needed!
17557
17558 2001-04-13  Juergen Vigna  <jug@sad.it>
17559
17560         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17561         (LyXTabular): tried to minimize operator= operations (and realized
17562         hopfully Lars wish).
17563
17564 2001-04-27  Juergen Vigna  <jug@sad.it>
17565
17566         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17567
17568 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17569
17570         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17571
17572         * buffer.C (readInset): hack to make listof algorithm work
17573
17574         * BufferView_pimpl.C: hack to make listof algorithm work
17575
17576 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17577
17578         * LyXAction.C: removed all !NEW_INSETS cruft
17579         (init): moved lfun_item in method
17580
17581         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17582
17583 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17584
17585         * BufferView2.C (theLockingInset): white space.
17586
17587 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17588
17589         * minibuffer.C: include <iostream>
17590
17591         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17592
17593         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17594
17595         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17596
17597         * text.[Ch] (TransposeChars): new method
17598
17599 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17600
17601         * call message directly through LyXView instead of through LyXFunc
17602         * BufferView2.C: adjust
17603         * BufferView_pimpl.C: adjust
17604         * FontLoader.C: adjust
17605         * buffer.C: adjust
17606         * bufferview_funcs.C: adjust
17607         * converter.C: adjust
17608         * figureForm.C: adjust
17609         * importer.C: adjust
17610         * lyx_cb.C: adjust
17611         * lyx_gui_misc.C: adjust
17612         * lyxfunc.C: adjust
17613         * lyxvc.C: adjust
17614         * text2.C: adjust
17615         + more files in subdirs
17616
17617         * lyxparagraph.h (size): move up int file
17618         (GetLayout): ditto
17619
17620         * adjust all uses of Assert to lyx::Assert.
17621
17622         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17623         lyxfunctional in namespace lyx
17624         * layout.C (hasLayout): ditto
17625         (GetLayout): ditto
17626         (GetLayout): ditto
17627         (delete_layout): ditto
17628         (NumberOfClass): ditto
17629         * converter.C (GetFormat): ditto
17630         (GetNumber): ditto
17631         (Add): ditto
17632         (Delete): ditto
17633         (SetViewer): ditto
17634         * bufferlist.C (getFileNames): ditto
17635         (emergencyWriteAll): ditto
17636         (exists): ditto
17637         (getBuffer): ditto
17638         * MenuBackend.C (hasSubmenu): ditto
17639         (hasMenu): ditto
17640         (getMenu): ditto
17641         * BufferView_pimpl.C (getInsetByCode): ditto
17642
17643 2001-04-18  Juergen Vigna  <jug@sad.it>
17644
17645         * vspace.C (asLatexString): fixed the 100% problem.
17646
17647 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17648
17649         * lyxfunc.C (Dispatch):
17650         * minibuffer.C:
17651         * minibuffer.h: add a few std:: qualifiers
17652
17653 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17654
17655         * minibuffer.[Ch]: reimplement so that commands is initiated and
17656         run from lyxfunc, simplified som handling, and made the completion
17657         and history code for complete. wip.
17658
17659         * lyxfunc.C (processKeySym): call message
17660         (miniDispatch): new temporary method
17661         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17662         (LFUN_MESSAGE): implement
17663         (LFUN_MESSAGE_PUSH): implement
17664         (LFUN_MESSAGE_POP): implement
17665         (initMiniBuffer): the initial/defualt minibuffer message.
17666
17667         * lyxfont.[Ch]: inline some more getters
17668
17669         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17670
17671         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17672
17673         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17674         (AutoSave): use LFUN_MESSAGE
17675         (Reconfigure): ditto
17676
17677         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17678
17679         * figureForm.C: use LFUN_MESSAGE
17680
17681         * converter.C (runLaTeX): use LFUN_MESSAGE
17682
17683         * bufferview_funcs.C: use LFUN_MESSAGE
17684         (Melt): ditto
17685         (changeDepth): ditto
17686
17687         * bufferparams.h: use boost::
17688
17689         * bufferlist.h: inherit privately from noncopyable
17690
17691         * bufferlist.C (loadLyXFile): remove some commented code.
17692
17693         * buffer.C (runChktex): use LFUN_MESSAGE
17694
17695         * ShareContainer.h: inherit privately from noncopyable
17696
17697         * ParagraphParameters.[hC] (depth): inline it.
17698
17699         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17700         methods.
17701         (message): new method
17702         (messagePush): ditto
17703         (messagePop): ditto
17704         (show): init minibuffer
17705         (showState): direct call
17706
17707         * LaTeX.[Ch]: inherit privately from noncopyable
17708         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17709         instead of WriteStatus.
17710
17711         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17712
17713         * BufferView_pimpl.C (buffer): don't init minibuffer
17714         (workAreaButtonPress): use LFUN_MESSAGE
17715         (workAreaButtonRelease): ditto
17716         (savePosition): ditto
17717         (restorePosition): ditto
17718         (MenuInsertLyXFile): ditto
17719         (workAreaExpose): don't init minibuffer
17720         (update): remove commented code, simplify
17721
17722         * BufferView2.C (openStuff): use LFUN_MESSAGE
17723         (toggleFloat): ditto
17724         (menuUndo): ditto
17725         (menuRedo): ditto
17726         (copyEnvironment): ditto
17727         (pasteEnvironment): ditto
17728         (copy): ditto
17729         (cut): ditto
17730         (paste): ditto
17731         (gotoInset): ditto
17732         (updateInset): remove some commented code
17733
17734         * lastfiles.h: inherit privately from noncopyable
17735         * layout.h: ditto
17736         * lyx_gui.h: ditto
17737         * lyx_main.h: ditto
17738         * lyxlex.h: ditto
17739         * lyxlex_pimpl.h: ditto
17740
17741         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17742         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17743         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17744
17745         * LyXAction.h: inherit privately from noncopyable, add methods
17746         func_begin, func_end, returning iterators to the func map.
17747
17748         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17749         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17750         (func_begin): new method
17751         (func_end): new method
17752
17753         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17754         and not)
17755         (copySelection): ditto
17756         (pasteSelection): ditto
17757
17758         * BufferView.C: whitespace change
17759         * BufferView.h: inherit privately from noncopyable
17760
17761 2001-04-16  Allan Rae  <rae@lyx.org>
17762
17763         * tabular-old.C (l_getline):
17764         * spellchecker.C (sc_check_word):
17765         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17766         an unrecognised preprocessor directive.  So ensure they're wrapped.
17767
17768 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17769
17770         * src/exporter.C (Export): Give an error message when path to file
17771         contains spaces.
17772
17773 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17774
17775         * LaTeX.C (deplog): Always check that foundfile exists.
17776
17777 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17778
17779         * lyx_main.h:
17780         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17781
17782 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17783
17784         * tabular.[Ch] (getLabelList): implement new method
17785
17786         * minibuffer.h: comment ouf setTiimer
17787
17788         * minibuffer.C (ExecutingCB): constify res
17789         (peek_event): constify s
17790         (Set): constify ntext
17791         (Init): constify nicename
17792
17793         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17794
17795         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17796         (savePosition): use two params to Minibuffer::Set
17797         (restorePosition): ditto
17798
17799 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17800
17801         * lyx_main.C: include language.h
17802
17803         * Makefile.am (lyx_main.o): add language.h
17804
17805 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17806
17807         * exporter.C:
17808         * paragraph.C:
17809         * screen.C:
17810         * tabular.C:
17811         * CutAndPaste.C: include gettext.h
17812
17813         * lyxfont.h: remove old hack with ON and OFF.
17814
17815         * lyxparagraph.h:
17816         * lyxfont.h: do not include language.h...
17817
17818         * BufferView2.C:
17819         * LaTeXFeatures.C:
17820         * Painter.C:
17821         * bufferview_funcs.C:
17822         * font.C:
17823         * lyxfont.C:
17824         * text.C:
17825         * text2.C:
17826         * trans_mgr.C:
17827         * paragraph.C: ... but do it here instead
17828
17829 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17830
17831         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17832
17833         * tabular.C: small reformat
17834
17835         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17836         NEW_INSETS version
17837         (GetChar): ditto
17838         (BreakParagraph): ditto
17839         (SetOnlyLayout): ditto
17840         (SetLayout): ditto
17841
17842         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17843         with one arg less.
17844
17845         * lastfiles.C: removed most using decl, add std:: where needed
17846
17847         * buffer.C: ws changes
17848
17849         * MenuBackend.C (class compare_format): put into anon namespace
17850         (expand): constify label, names, action, action2
17851         (expand):
17852
17853         * text.C (SingleWidth): constify font
17854         (IsBoundary): constify rtl2
17855         (GetVisibleRow): constify ww
17856
17857         * LaTeX.C (deplog): constify logfile
17858
17859         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17860         start_x, end_x
17861         (workAreaExpose): constify widthChange, heightChange
17862
17863         * lyxrow.C (par): moved
17864         (height): moved
17865         (next): moved
17866         * lyxrow.h: as inlines here
17867
17868         * lyxfont.h (shape): moved from lyxfont.C
17869         (emph): moved from lyxfont.C
17870
17871         * lyxfont.C (LyXFont): use initialization list for all
17872         constructors
17873         (shape): move to lyxfont.h as inline
17874         (emph): move to lyxfont.h as inline
17875
17876
17877 2001-04-04  Juergen Vigna  <jug@sad.it>
17878
17879         * vspace.C: had to include stdio.h for use of sscanf
17880
17881 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17882
17883         * BufferView.h:
17884         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17885         independent of xforms.
17886
17887 2001-04-02  Juergen Vigna  <jug@sad.it>
17888
17889         * spellchecker.C: fixed namespace placing!
17890
17891 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17892
17893         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17894         the LyXParagraph * is 0.
17895
17896 2001-03-29  Juergen Vigna  <jug@sad.it>
17897
17898         * vspace.C: added support for %, c%, p%, l%.
17899         (stringFromUnit): added helper function.
17900         (asLatexString): changed to give right results for the %-values.
17901
17902         * buffer.C: convert the widthp in a width%.
17903
17904 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17905
17906         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17907         figureForm.[Ch].
17908
17909         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17910         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17911
17912         * lyx_cb.[Ch]: see above.
17913
17914         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17915         form1.[Ch].
17916
17917         * form1.[Ch]:
17918         * lyx.[Ch]: replaced by figure_form.[Ch].
17919
17920         * lyx_gui.C:
17921         * lyx_gui_misc.C:
17922         * lyxfunc.C: changed headers associated with above changes.
17923
17924 2001-03-27  Juergen Vigna  <jug@sad.it>
17925
17926         * BufferView_pimpl.C: set the temporary cursor right!
17927
17928 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17929
17930         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17931
17932 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17933
17934         * LString.h: removed "using std::getline"!
17935
17936         * BufferView_pimpl.C (Dispatch): changes due to changes in
17937         InsetInclude::Params.
17938
17939         * buffer.C (tag_name): removed redundant break statements as they were
17940         producing lots of warnings with my compiler.
17941
17942 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17943
17944         * LString.h: add "using std::getline" when using the real <string>.
17945
17946 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17947
17948         * buffer.C: removed bitset usage.
17949         PAR_TAG moved to an anonymous name space.
17950         (tag_name): new funtion, also in the anonymous namespace.
17951         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17952         (makeDocBookFile): clean code. Completed transition from string arrays
17953         to string vectors.
17954         (SimpleDocBookOnePar): code clean.
17955
17956 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17957
17958         * tabular.C: add some comments.
17959
17960 2001-03-22  Juergen Vigna  <jug@sad.it>
17961
17962         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17963         compatibility read a bit and fixed bug with minipage in different
17964         depth.
17965
17966 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17967
17968         * buffer.C (pop_tag): removed.
17969         (push_tag): removed.
17970         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17971         array replaced with vector. Added support for CDATA sections.
17972         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17973         at any nest level.
17974         (makeDocBookFile): XML conformant declaration of CDATA section,
17975         fixed bug related to <emphasis> in the first paragraph char.
17976         (sgmlOpenTag): exclude empty tags.
17977         (sgmlCloseTag): ditto.
17978
17979         * buffer.h (pop_tag): removed.
17980         (push_tag): removed.
17981
17982 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17983
17984         * language.h (Languages): added size_type and size().
17985
17986 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17987
17988         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17989         response on compability reading of minipages. One probliem is that
17990         the old usage of minipages was flertydig
17991
17992         * several files here and in subdirs: don't use static at file
17993         scope use anon namespaces instead.
17994
17995 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17996
17997         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17998         LaTeX output. This is necessary for Literate document
17999         processing.
18000
18001 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18002
18003         * buffer.C: insert hfill when needed.
18004
18005         * tabular.C (l_getline): use string::erase, small whitespace change.
18006
18007         * BufferView_pimpl.C: try the anon namespace.
18008         * WorkArea.C: ditto
18009
18010 2001-03-16  Juergen Vigna  <jug@sad.it>
18011
18012         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
18013         otherwise it won't open options-dialogs.
18014
18015         * buffer.C: honor pextraWidth(p) on converting minipages.
18016
18017         * tabular.C (l_getline): changed the functions to strip trailing \r.
18018
18019 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
18020
18021         * BufferView_pimpl.C:
18022         * minibuffer..C: added "using SigC::slot" declaration.
18023
18024 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18025
18026         * lyxlex_pimpl.h: noncopyable is in namespace boost.
18027
18028         * text2.C: ditto
18029
18030         * text.C: ditto
18031
18032         * paragraph.C: ditto
18033
18034         * lyxtext.h: NO_PEXTRA
18035
18036         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
18037
18038         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
18039         * ParameterStruct.h: ditto
18040         * ParagraphParameters.h: ditto
18041         * lyxparagraph.h: ditto
18042
18043 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18044
18045         * buffer.C: add compability for minipage alignment.
18046         (latexParagraphs): remove unwanted pextra check.
18047
18048         * several files: remove CXX_WORKING_NAMESPACES
18049
18050         * buffer.C (pop_tag): tie is in namespace boost
18051
18052         * BufferView.h: noncopyable is in namespace boost
18053         * lyxlex.h: ditto
18054         * lyx_main.h: ditto
18055         * lyx_gui.h: ditto
18056         * layout.h: ditto
18057         * lastfiles.h: ditto
18058         * bufferlist.h: ditto
18059         * ShareContainer.h: ditto
18060         * LyXView.h: ditto
18061         * LyXAction.h: ditto
18062         * LaTeX.h: ditto
18063
18064 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18065
18066         * Merging changes from BRANCH_MVC back into HEAD.
18067
18068         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
18069
18070 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
18071
18072         * BufferView_pimpl.C: change from intl.C
18073
18074         * combox.h:
18075         * combox.C:
18076         * Makefile.am: move combox.*
18077
18078         * form1.h:
18079         * form1.C:
18080         * lyx_gui.C:
18081         * intl.h:
18082         * intl.C: remove dialog (covered by prefs)
18083
18084 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
18085
18086         * lyxfunc.C (Dispatch): removed redundant break statement.
18087
18088 2001-03-14  Juergen Vigna  <jug@sad.it>
18089
18090         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
18091
18092 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18093
18094         * buffer.C: add hack to fix compability reading of minipages.
18095
18096 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
18097
18098         * buffer.C (getLists): Cleanup.
18099
18100 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18101
18102         * lyxfont.C (update): don't honor toggleall on font size.
18103
18104 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
18105
18106         * bmtable.c:
18107         * bmtable.h:
18108         * Makefile.am: moved to frontends/xforms/
18109
18110         * lyx_gui_misc.C:
18111         * lyxfunc.C:
18112         * BufferView_pimpl.C: changes for moved mathpanel
18113
18114 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18115
18116         * gettext.h: fix gettext_init() in --disable-nls
18117
18118 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18119
18120         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
18121
18122 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
18123
18124         * lyx.C:
18125         * lyx.h: strip external form
18126
18127 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18128
18129         * BufferView_pimpl.C: add comment, destroySplash()
18130
18131 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
18132
18133         * BufferView_pimpl.C:
18134         * LyXAction.C:
18135         * buffer.C:
18136         * commandtags.h:
18137         * lyxfunc.C: use re-worked insetinclude
18138
18139 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18140
18141         * buffer.C: add using std::stringstream.
18142
18143         * lyx_cb.C: readd using std::ios.
18144
18145         * buffer.C: add using std::map.
18146
18147         * BufferView_pimpl.C: add using std::vector.
18148
18149         * ShareContainer.h: add std:: to swap.
18150
18151         * buffer.h: add some typedefs
18152         * buffer.C (getLists): use them
18153         (getLists): renamed from getTocList.
18154         add a counter for the different float types and use it in the
18155         generated string.
18156         (getLists): use the same counter for the NEW_INSETS and the "non"
18157         NEW_INSETS
18158
18159         * lyx_cb.h: remove unused items, includes, using etc.
18160
18161         * ShareContainer.h: remove some commented code, add more comments
18162         and "documentation".
18163
18164 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18165
18166         * buffer.C (getTocList): make the list also when NEW_INSETS is
18167         defined.
18168
18169         * buffer.h: remove TocType
18170
18171         * buffer.C (getTocList): change to return a map<string,
18172         vector<TocItem> >, implement for dynamic number of list.
18173
18174         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
18175         * text2.C (PasteSelection): adjust
18176         * CutAndPaste.C (pasteSelection): adjust
18177
18178         * FloatList.C (FloatList): update from the new_insets branch.
18179         * Floating.[Ch]: ditto
18180         * LaTeXFeatures.C: ditto
18181         * buffer.C: ditto
18182         * lyxlex_pimpl.C: ditto
18183
18184         * paragraph.C (Last): remove when NEW_INSETS is defined.
18185
18186         * other file: changes because of the above.
18187
18188 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18189
18190         * lyxparagraph.h: rename next to next_, previous to previous_,
18191         make them private for NEW_INSETS. Rename Next() to next(),
18192         Previous() to previous().
18193
18194         * other files: changes because of the above.
18195
18196 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18197
18198         * BufferView.h:
18199         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18200         problem.
18201
18202 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18203
18204         * main.C (main): pass lyx_localedir to gettext_init().
18205
18206         * gettext.h: remove locale_init and gettext_init macros
18207
18208         * gettext.C (locale_init): new function
18209         (gettext_init): new function
18210
18211         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18212         setlocale().
18213
18214 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18215
18216         * Moved credits to frontends:
18217         * credits.[Ch]: removed
18218         * credits_form.[Ch]: removed
18219         * lyx_gui_misc.C: remove credits stuff
18220         * Makefile.am:
18221
18222 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18223
18224         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18225
18226         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18227         unneeded destructor.
18228
18229         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18230         a standalone pointer again.
18231
18232         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18233
18234 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18235
18236         * Makefile.am:
18237         * filedlg.h:
18238         * filedlg.C:
18239         * LyXAction.C:
18240         * ToolbarDefaults.C:
18241         * bufferlist.C:
18242         * commandtags.h:
18243         * form1.C:
18244         * form1.h:
18245         * lyx_cb.C:
18246         * lyx_cb.h:
18247         * lyxfunc.h:
18248         * lyxfunc.C:
18249         * BufferView_pimpl.C: use new file dialog in GUII
18250
18251         * lyx_cb.h:
18252         * lyx_cb.C: remove LayoutsCB to Toolbar
18253
18254 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18255
18256         * ShareContainer.h (get): add std:: qualifier
18257
18258 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18259
18260         * ShareContainer.h: define a proper ShareContainer::value_type
18261         type (and use typename to please compaq cxx)
18262
18263 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18264
18265         * lyxparagraph.h: move serveral local vars to
18266         ParameterStruct/ParagraphParameters., use ShareContainer in
18267         FontTable., make vars in FontTable private and add getter and
18268         setter.
18269
18270         * paragraph.C: changes because of the above.
18271
18272         * lyxfont.h: remove copy constructor and copy assignment. (the
18273         default ones is ok), move number inside FontBits. move inlines to
18274         lyxfont.C
18275
18276         * lyxfont.C: add number to initializaton of statics, move several
18277         inlines here. constify several local vars. some whitespace
18278         cleanup. Dont hide outerscope variables.
18279
18280         * Spacing.h: add two new constructors to match the set methods.
18281
18282         * ShareContainer.h: new file, will perhaps be moved to support
18283
18284         * ParameterStruct.h: new file
18285
18286         * ParagraphParameters.h: new file
18287
18288         * ParagraphParameters.C: new file
18289
18290         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18291         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18292
18293         * BufferView_pimpl.C: ParagraphParameter changes.
18294         * buffer.C: Likewise.
18295         * bufferview_funcs.C: Likewise.
18296         * text.C: Likewise.
18297         * text2.C: Likewise.
18298
18299 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18300
18301         * lyxfind.C (LyXReplace): do not redefine default argument in
18302         implementation.
18303         (IsStringInText): ditto
18304         (SearchForward): ditto
18305         (SearchBackward): ditto
18306
18307 2001-03-06  Juergen Vigna  <jug@sad.it>
18308
18309         * lyxfind.C (IsStringInText): put parentes around expressions.
18310
18311 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18312
18313         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18314
18315 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18316
18317         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18318
18319         * stl_string_fwd.h: add comment
18320
18321         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18322
18323         * tabular.h:
18324         * tabular.C: remove unused DocBook methods
18325
18326         * intl.C:
18327         * language.C:
18328         * paragraph.C:
18329         * buffer.C:
18330         killed DO_USE_DEFAULT_LANGUAGE
18331
18332 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18333
18334         * lyx_gui.C: do not include language.h.
18335
18336         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18337         arguments in function implementation.
18338
18339 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18340
18341         * BufferView_pimpl.C: add <ctime>
18342
18343 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18344
18345         * BufferView_pimpl.C: add using std::find_if
18346
18347 2001-02-27  José Matos  <jamatos@fep.up.pt>
18348
18349         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18350         by OnlyPath.
18351
18352 2001-02-11  José Matos  <jamatos@fep.up.pt>
18353
18354         * buffer.C (makeDocBookFile): command styles now have a parameter as
18355         "title" by default.
18356
18357 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18358
18359         * layout_forms.[Ch]: removed
18360         * lyx_cb.[Ch]: out character
18361         * lyx_gui.C: out character
18362         * lyx_gui_misc.C: out character
18363         * bufferview_funcs.C: : out character,
18364         added toggleall as parameter in ToggleAndShow
18365
18366 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18367
18368         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18369
18370         * text2.C (SetCurrentFont): Disable number property at boundary.
18371
18372 2001-02-26  Juergen Vigna  <jug@sad.it>
18373
18374         * lyxfunc.C (getStatus): added a string argument override function so
18375         that this is correctly called from LyXFunc::Dispatch if it contains a
18376         do_not_use_argument which is used!
18377         (Dispatch): added check for "custom" export and call appropriate func.
18378
18379 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18380
18381         * lyxrc.C: Add language_command_local, language_use_babel and
18382         language_global_options.
18383
18384         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18385
18386         * buffer.C (makeLaTeXFile): Use language_use_babel and
18387         language_global_options.
18388
18389 2001-02-23  Juergen Vigna  <jug@sad.it>
18390
18391         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18392         which works with LyXText and putted it inside BufferView. Here now we
18393         only call for that part the BufferView::Dispatch() function.
18394
18395         * BufferView.C (Dispatch): added.
18396
18397         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18398         functions which needs to use a LyXText over from LyXFunc.
18399         (MenuInsertLyXFile): added
18400         (getInsetByCode): added
18401         (moveCursorUpdate): added
18402         (static TEXT): added
18403
18404 2001-02-22  Juergen Vigna  <jug@sad.it>
18405
18406         * BufferView_pimpl.C (update): call a status update to see if LyXText
18407         needs it.
18408
18409 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18410
18411         * vc-backend.C (revert): implement for CVS
18412         (getLog): implement for CVS
18413
18414 2001-02-20  Juergen Vigna  <jug@sad.it>
18415
18416         * text2.C (ClearSelection): added BufferView param for inset_owner call
18417
18418         * lyxfunc.C (TEXT): added this function and use it instead of
18419         directly owner->view()-text of getLyXText().
18420
18421 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18422
18423         * src/layout_forms.C: out preamble
18424         * src/layout_forms.h: out preamble
18425         * src/lyx_cb.C: out preamble
18426         * src/lyx_cb.h: out preamble
18427         * src/lyx_gui.C: out preamble
18428         * src/lyx_gui_misc.C: out preamble
18429         * src/lyxfunc.C: connect with guii preamble
18430
18431 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18432
18433         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18434
18435 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18436
18437         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18438         whether to run bibtex.
18439
18440 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18441
18442         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18443
18444 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18445
18446         * Makefile.am (lyx_SOURCES): removed bibforms.h
18447
18448         * vspace.h: doxygen
18449
18450         * text.C (GetVisibleRow): make several local vars const
18451
18452         * tabular.C: small cleanup.
18453
18454         * lyxserver.C (callback): use compare instead of strncmp
18455
18456         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18457         inlines to after class or to paragraph.C
18458
18459         * lyxfont.h: remove friend operator!=
18460
18461         * converter.h: move friend bool operator< to non friend and after
18462         class def.
18463
18464         * combox.h: small cleanup
18465
18466         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18467         to inlines after class def.
18468
18469         * buffer.C (pop_tag): use string operations instead of strcmp
18470
18471         * bmtable.c: doxygen, small cleanup
18472
18473         * LaTeX.h: remove friend operator==
18474
18475 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18476
18477         * screen.C:
18478         * lyxrc.[Ch]:
18479         * lyxfunc.C:
18480         * lyxfont.[Ch]:
18481         * lyx_cb.C:
18482         * intl.[Ch]:
18483         * commandtags.h:
18484         * buffer.C:
18485         * WorkArea.[Ch]:
18486         * LyXAction.C:
18487         * BufferView_pimpl.C:
18488         * BufferView.[Ch]: remove cruft
18489
18490 2001-02-14  Juergen Vigna  <jug@sad.it>
18491
18492         * lyxfunc.C: removed #if 0 unused code
18493
18494         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18495
18496         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18497
18498         * text2.C (SetSelection): added a BufferView * parameter
18499
18500 2001-02-13  Juergen Vigna  <jug@sad.it>
18501
18502         * lyxfunc.C (Dispatch): fixed protected blank problem.
18503         * BufferView2.C (protectedBlank): added LyxText * parameter.
18504
18505         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18506         (AppendColumn): same as above for column_info.
18507
18508         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18509         (moveCursorUpdate): use a LyXText param for support of InsetText.
18510
18511         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18512         (tripleClick): ditto
18513
18514         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18515
18516         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18517
18518         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18519
18520         * text2.C (SetSelection): set correct update status if inset_owner
18521         (ToggleFree): ditto
18522
18523 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18524
18525         * tabular.C: remove some commented code.
18526
18527 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18528
18529         * BufferView_pimpl.C: call hideSplash()
18530
18531         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18532
18533         * include_form.h:
18534         * bibforms.h: remove
18535
18536         * lyxfunc.C:
18537         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18538           add LFUN_CHILD_CREATE
18539
18540         * counters.h: fix tiny typo
18541
18542         * lyx_cb.C:
18543         * lyx.h:
18544         * lyx_gui.C:
18545         * lyx.C: move splash to frontends/xforms/
18546
18547         * lyx_gui_misc.C: move Include and Bibform to frontends
18548
18549         * lyxvc.h: clarify comment
18550
18551         * vspace.C: tiny housekeeping
18552
18553 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18554
18555         * text.C (PrepareToPrint): RTL Fix.
18556
18557         * paragraph.C (GetUChar): New method.
18558         (String):  Use GetUChar.
18559
18560         * buffer.C (asciiParagraph): Use GetUChar.
18561
18562 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18563
18564         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18565
18566 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18567
18568         * buffer.h:
18569         * buffer.C: rename to getLogName(), handle
18570           build log / latex log nicely
18571
18572 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18573
18574         * MenuBackend.C:
18575         * MenuBackend.h: remove support for reference menuitem type.
18576
18577 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18578
18579         * BufferView_pimpl.C: housekeeping
18580         * BufferView_pimpl.h:
18581         * LyXView.h:
18582         * Makefile.am:
18583         * Timeout.C:
18584         * Timeout.h:
18585         * minibuffer.h: move Timeout GUI-I
18586
18587 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18588
18589         * lyxrc.C (read): Update converters data-structures.
18590
18591 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18592
18593         * LaTeX.h (operator!=): add operator != for Aux_Info
18594
18595 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18596
18597         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18598
18599         * LaTeXLog.C: deleted, useful code moved to Buffer
18600
18601         * buffer.h:
18602         * buffer.C: new function getLatexLogName()
18603
18604         * lyx_gui_misc.C:
18605         * lyx_gui.C:
18606         * lyxvc.C:
18607         * lyxvc.h:
18608         * lyxfunc.C: use frontends for LaTeX and VC logs
18609
18610 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18611
18612         * LaTeX.h: yet another std:: that Allan forgot.
18613
18614         * Variables.C (set): renamed from isset(), because this clashes
18615         with some HP-UX macros (grr).
18616
18617 2001-02-06  Allan Rae  <rae@lyx.org>
18618
18619         * LaTeX.h: Another bug fix.  Missing std:: this time.
18620
18621 2001-02-04  Allan Rae  <rae@lyx.org>
18622
18623         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18624         floats problem. I've left it commented out because it's not quite
18625         correct.  It should also test that the current object is a table or
18626         figure inset.  But I haven't gotten around to figuring out how to do
18627         that.  I *think* it'll be something like: "table" == inset.type()
18628
18629         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18630         bool.
18631
18632 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18633
18634         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18635         all the citation/databases/styles in the auxilary file.
18636         (run): Rerun latex if there was a babel language error.
18637
18638 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18639
18640         * text.C (Backspace): Preserve the font when changing newline char
18641         with a space.
18642         (BreakParagraph): If the cursor is before a space, delete the space.
18643
18644         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18645
18646 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18647
18648         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18649         new argument (code).
18650         (ChangeCitationsIfUnique): New method.
18651
18652         * paragraph.C (GetPositionOfInset): Handle bibkey.
18653
18654 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18655
18656         * BufferView_pimpl.h: change type of Position::par_pos to
18657         LyXParagraph::size_type.
18658
18659 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18660
18661         * BufferView_pimpl.C (savePosition, restorePosition): Write
18662         messages to minibuffer.
18663
18664 2001-01-28  José Matos  <jamatos@fep.up.pt>
18665
18666         * buffer.C (makeDocBookFile): adds support for document language.
18667         A silly restriction on the name of LatexCommand types where removed.
18668         Added support for CDATA sections, allows to chars unescaped, used
18669         among others in code, to avoid escape < and >.
18670
18671 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18672
18673         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18674         saved positions instrad of a stack. Furthermore, a position is
18675         stored using paragraph id/paragraph position.
18676
18677         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18678         Remove LFUN_REF_BACK.
18679
18680 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18681
18682         * converter.C (dvipdfm_options): New method.
18683
18684 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18685
18686         * vspace.C (isValidLength): Fix for empty input string.
18687
18688 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18689
18690         * LyXAction.C (init): change description of LFUN_FIGURE to
18691         "Insert Graphics"
18692
18693 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18694
18695         * LaTeX.C: add using directive
18696
18697 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18698
18699         * MenuBackend.C (expand): Fix the sorting of the formats.
18700
18701 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18702
18703         * lyx_main.C: tiny error message fix
18704
18705 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18706
18707         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18708         calling fl_initialize(). This fixes the problem with ',' as
18709         decimal separator in text files.
18710
18711 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18712
18713         * trans.C (process): Fix the keymap bug.
18714
18715 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18716
18717         * LaTeX.C (scanAuxFiles): New method. Provides support for
18718         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18719         (scanLogFile) Scan for "run BibTeX" messages.
18720
18721         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18722         OT1 font encoding. Also, load the aecompl package if the ae
18723         package is loaded.
18724
18725         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18726
18727 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18728
18729         * texrow.C (increasePos): turn two error messages into debug
18730         messages.
18731
18732 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18733
18734         * LaTeX.C (scanAux): Handle the \@input macro.
18735         (runBibTeX): Use scanAux().
18736
18737         * language.C (latex_options_): New field.
18738
18739         * LaTeXFeatures.C (getMacros): Add language macros.
18740
18741         * buffer.C (makeLaTeXFile): Small fix.
18742
18743 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18744
18745         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18746
18747         * text2.C: add a using directive.
18748
18749 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18750
18751         * BufferView2.C:
18752         * lyx_gui_misc.h:
18753         * lyxfr1.C:
18754         * lyxfunc.C: kill LyXBell.
18755
18756 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18757
18758         * text.C (IsBoundary): Remove the error message
18759
18760         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18761
18762         * lyxrc.C (setDefaults): Correct initialization value for
18763         font_norm_type.
18764
18765 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18766
18767         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18768         gotoError().
18769
18770         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18771         and GotoNextNote().
18772
18773         * src/LyXAction.C: Added reference-next.
18774
18775         * text.C (InsertChar): Use contains instead of strchr.
18776
18777         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18778
18779 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18780
18781         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18782         alignment commands (when needed).
18783
18784         * text.C (InsertChar): Add ':' to number separator chars.