]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
overleftarrow and overrightarrow do not require amslatex
[lyx.git] / src / ChangeLog
1 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text.C (setHeightOfRow): add a margin at the top and bottom of
4         the document (bug 1761)
5
6 2005-01-17  Angus Leeming  <leeming@lyx.org>
7
8         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
9         with "python ". Workaround for a brain-dead Windows.
10
11 2005-01-16  Angus Leeming  <leeming@lyx.org>
12
13         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
14         for MacOSX and Windows to use prependEnvPath.
15         Strip out the hard-coded block to add elements to the PATH for
16         MacOSX and replace it with a call to prependEnvPath using the
17         contents of LyXRC::path_prefix.
18         (queryUserLyXDir): strip out the code to run reconfigure, instead
19         returning a boolean indicating the necessity to do so.
20         (reconfigureUserLyXDir): contains the code to reconfigure the
21         user support directory. Is now called after the various LyXRC data
22         files have been read.
23
24         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
25
26 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
27
28         * converter.[Ch] (convert): take a new parameter try_default. Use
29         a default converter (imagemagick) if try_default is true.
30
31 2005-01-13  Angus Leeming  <leeming@lyx.org>
32
33         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
34         os::cygwin_path_fix.
35         (write): output LyXRC::cygwin_path_fix as necessary.
36
37 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
38
39         * lyxrc.h:
40         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
41
42 2005-01-12  Angus Leeming  <leeming@lyx.org>
43
44         * lyx_main.C (init): set the PATH variable to include the
45         directory containing the LyX binary when running on Mac or Windows.
46
47 2005-01-12  Angus Leeming  <leeming@lyx.org>
48
49         * lyx_main.C (init): remove cruft that purports to set the locale
50         dir. It doesn't and is not needed anyway.
51
52 2005-01-10  Angus Leeming  <leeming@lyx.org>
53
54         * Makefile.am: remove the lyx_main.C special casing.
55
56         * BufferView_pimpl.C:
57         * bufferlist.C:
58         * exporter.C:
59         * lyx_cb.C:
60         * lyx_main.C:
61         * lyxfunc.C:
62         * messages.C: use support/package.h to provide the paths to the
63         various directories used by LyX.
64
65 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
66
67         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
68         layout if pasting into an empty paragraph)
69
70 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
71
72         * tex-accent.C: add <string>
73
74 2005-01-06  José Matos  <jamatos@lyx.org>
75
76         * ParagraphParameters.C (write): put every parameter in its own line.
77         * paragraph.C (write): reduce number of consecutive empty lines exported.
78         * buffer.C (LYX_FORMAT): increase file format to 239.
79
80 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
81
82         * everywhere: change support/tostr.h -> support/convert.h
83
84         * tabular.C: make all write_attributes templates, tostr -> convert
85
86         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
87         (emptyTag): and -> &&, and fix type for ret from getChar
88         (getFirstWord): fix type for ret from getChar
89         (onlyText): and -> &&
90         (simpleDocBookOnePar): and not -> && !, fix type for ret from
91         getChar
92
93         * toc.C (goTo, action):
94         * text3.C (dispatch):
95         * text.C (currentState):
96         * tex-accent.C (DoAccent):
97         * sgml.C:
98         * lyxrc.C:
99         * lyxfunc.C (menuNew):
100         * lyxfinc.C (replace):
101         * counters.C (laberItem):
102         * bufferview_funcs.C (font2string):
103         * bufferparams.C (writeFile):
104         * buffer.C (readFile):
105         * Spacing.C (set):
106         * MenuBackend.C: tostr -> convert
107
108         * LaTeX.C (runMessage): fix format
109         (scanAuxFiles): tostr -> convert
110
111         * BufferView_pimpl.C (savePosition): fix format
112         (restorePosition): ditto
113         (dispatch): ditto
114
115 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
116
117         * Spacing.[Ch]: New method getValueAsString().
118
119         * Spacing.[Ch]:
120         * bufferparams.C:
121         * ParagraphParameters.C:
122         * lyxlayout.C:
123         * text.C:
124         * text3.C: store/read spacing value as string.
125
126         * rowpainter.C: change float value (spacing_val) to double.
127
128         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
129         broken custom document spacing).
130
131 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
132
133         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
134         namespace, also more use of temp references and const
135
136         * cursor.[Ch] (getStatus): move to lyxfunc.C
137
138         * bufferparams.C: reformat slightly
139
140         * bufferview_funcs.C (font2string): constify arg
141
142         * changes.C:
143         * converter.C:
144         * counters.C:
145         * bufferlist.C:
146         * buffer_funcs.C: (many funcs): constify arg on function
147         definitions, also make more local vars const, also add ASSERTS on
148         pointer args.
149
150         * buffer.C (LYX_FORMAT): put const in correct place
151         (many funcs): constify arg on function definitions, also make
152         more local vars const
153
154         * aspell_local.h: remove "struct" from typdef setup
155
156         * aspell.C (check): make word_ok const
157         (nextMiss): simplify slightly
158         (error): ditto
159
160 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
161
162         * lyxrc.[Ch]: store all float values as strings.
163         use int (not float) for lyxrc.dpi.
164
165 2005-01-04  Angus Leeming  <leeming@lyx.org>
166
167         * lyx_cb.C (Reconfigure):
168         * lyx_main.C (queryUserLyXDir):
169         to run the <system_lyxdir>/configure correctly on Windows, prefix
170         the path to the script with "sh " when generating the string that
171         is passed to system().
172
173 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
174
175         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
176
177 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
178
179         * lyxlength.C (asLatexString): get rid of setprecision
180
181 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
182
183         * text2.C (setLayout): remove unused variable endpit.
184         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
185
186         * paragraph.C (onlyText): remove unused variable style.
187
188         * cursor.C (bruteFind): remove unused variables beg and end.
189
190         * Makefile.am (dist_noinset_DATA): not needed anymore
191
192         * cheaders/*: remove.
193
194 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
195
196         * text3.C: fix LFUN_MATH_MODE.
197
198 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * buffer_funcs.C (countWords): new function. Counts words between
201         two iterators.
202
203         * BufferView_pimpl.C (getStatus, dispatch): handle
204         LFUN_WORDS_COUNT.
205
206         * LyXAction.C (init):
207         * lfuns.h: add LFUN_WORDS_COUNT.
208
209 2004-12-19  Angus Leeming  <leeming@lyx.org>
210
211         * buffer.C (save): s/slashify_path/internal_path/.
212
213 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
214
215         * lyxfind.C (findChange): do not search for end of pars, because
216         the change tracker cannot handle this (fixes bug 1719).
217
218 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
219
220         * paragraph.[Ch] (autoBreakRows): remove
221
222         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
223
224         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
225         avoid using the paragraph one
226
227         * text2.C (LyXText, insertStringAsLines): adjust
228
229 2004-12-16  Angus Leeming  <leeming@lyx.org>
230
231         * bufferlist.C:
232         * lyx_main.C:
233         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
234
235 2004-12-14  Angus Leeming  <leeming@lyx.org>
236
237         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
238
239         * bufferlist.C (emergencyWrite):
240         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
241         GetEnvPath("HOME").
242
243 2004-12-14  Angus Leeming  <leeming@lyx.org>
244
245         * main.C: (main): no longer pass pointers to os::init.
246
247 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
248
249         * undo.C (textUndoOrRedo): simplify logic, fix a crash
250         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
251
252 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * lyxfunc.C:
255         * text3.C: remove selection_possible global flag
256
257 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
258
259         * text2.C (getSelectionSpan): remove
260         (changeDepth, changeDepthAllowed): adjust
261
262 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
263
264         * Makefile.am (BOOST_LIBS): use boost variables
265
266 2004-12-03  José Matos  <jamatos@lyx.org>
267
268         * buffer.C: format up to 238.
269
270 2004-12-03  José Matos  <jamatos@lyx.org>
271
272         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
273
274 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
275
276         * cursor.C (goUpDown): remove call to idxUpDown2
277
278 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
279
280         * tabular.[Ch]: use size_t-like types for cell, row and column
281         indices
282
283 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * lyxfunc.C (getStatus): do not lose previous information when
286         calling BufferView::getStatus; do not set a default "Command
287         disabled" message at the beginning, but just before returning.
288
289 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
290
291         * cursor.h (getStatus): add better comment from src/cursor.C
292
293 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * text3.C (getStatus): return false when the lfun is not handled
296
297 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * broken_headers.h: remove
300
301         * Makefile.am (lyx_SOURCES): remove broken_headers.h
302
303 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
304
305         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
306         offset_ref accessors
307
308         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
309         top_y_, merge fitcursor with update
310         (updateScrollbar, scrollDocView, fitCursor, center, update): new
311         coord scheme
312         (metrics): introduce
313         (workAreaDispatch): adapt to new coord scheme
314         (redoCurrentBuffer): remove
315
316         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
317
318         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
319         CurStatus enum.
320
321         * coordcache.[Ch]: add paragraph cache and helpers
322
323         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
324         adjust everywhere
325
326         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
327         (targetX, setTargetX): introduce
328
329         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
330         baseline -> ascent, as the rest of lyx
331
332         * lyxtext.h: remove redoParagraphs, updateParPositions,
333         fullRebreak, redoParagraphInternal. move dist to anon namespace in
334         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
335         have ascent/descent (ascent is ascent of first par)
336
337         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
338         step of BufferView
339
340         * paragraph.[Ch]: unify dimension handling with the rest of lyx
341
342         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
343
344         * pariterator.C: fix infinite loop introduced in par->pit renaming
345
346         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
347         in insets and LyXText, draw two off-screen paragraphs using
348         NullPainter, and adapt to new coord scheme
349
350         * text.C:
351         * text2.C:
352         * text3.C: adapt lfun handlers to the new coord scheme, which
353         means: there's only guaranteed coord information for onscreen pars
354         plus one above and one below. This implies that one can do search
355         from y coordinates in the range [-1,workHeight]
356
357 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
358
359         * rename a lot of InsetOld to InsetBase
360
361 2004-11-25  Angus Leeming  <leeming@lyx.org>
362
363         * BufferView_pimpl.C:
364         * lyx_cb.C:
365         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
366
367 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
370         call BufferView::getStatus if LCursor::getStatus did nothing
371         (setStatusMessage, getStatusMessage): removed.
372
373         * FuncStatus.C (message): new methods. Used to provide an error
374         message indicating why a command is disabled.
375         (clear, |=, FuncStatus): update for message.
376
377 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
378
379         * lyxfunc.C (dispatch): always call sendDispatchMessage
380
381 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
382
383         * BufferView.C:
384         * BufferView_pimpl.C:
385         * CutAndPaste.C:
386         * FontIterator.C:
387         * buffer.C:
388         * cursor.C:
389         * cursor_slice.[Ch]:
390         * dociterator.[Ch]:
391         * lyxfind.C:
392         * paragraph_funcs.C:
393         * pariterator.C:
394         * rowpainter.C:
395         * text.C:
396         * text2.C:
397         * text3.C:
398         * undo.C: par->pit renaming
399
400 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
401
402         * tabular.C (cellstruct): use initialization, store a shared_ptr
403         to insettext instead of the insettext directly, adjust to fit.
404         (operator=):  new function
405         (swap): new function
406         (rowstruct): use initialization
407         (columnstruct): use initialization
408         (ltType): use initialization
409
410
411         * lyxlength.h (swap): new function
412
413         * LColor.[Ch] (operator=): use the common semantics
414
415 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * lyxfind.C (findNextChange): update the bufferview after setting
418         the selection.
419
420 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
421
422         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
423         number of InsetOptArgs has already been inserted.
424
425         * output_latex.C (latexOptArgInsets): new method. This outputs all
426         the optarg insets, up to the limit defined in the layout file.
427         (optArgInset): removed
428         (TeXOnePar): call latexOptArgInsets; correctly update texrow
429
430 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * paragraph.C (isLetter): remove special spellchecker-related
433         code; return true also for digits
434         (isWord, isKomma): remove
435
436         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
437         * lyxfind.C (MatchString()): use isLetter instead of isWord
438
439 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
440
441         * pariterator.h (operatir=): comment out un-implemented member
442         function.
443
444         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
445         static cast.
446
447 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
448
449         * lyxfont.h: include LColor.h to satisfy concept checks.
450
451 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
452
453         * pariterator.h: add typdefs for value_type, difference_type,
454         pointer and reference to satisfy concept checks. Also add default
455         constructor for same reason.
456
457         * pariterator.C (operator++): add post-increment operator to
458         satisfy concept checks.
459
460         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
461         checks.
462
463         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
464
465         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
466         checks. Also rename base_type to BaseType to follow naming
467         standard better.
468
469         * FloatList.h: include Floating.h to satisfy concept checks.
470
471 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * lyxfunc.C (getStatus): when the origin of the request is menu or
474         toolbar, and the LyXView does not have focus, do as if there was
475         no buffer (bug 1720)
476
477         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
478         FuncRequest to individual entries of LFUN_SEQUENCE
479
480 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * output_latex.C (TeXOnePar): override runparams.moving_arg
483         according to the needprotect value of the current paragraph (bug
484         1739)
485
486         * paragraph.C (simpleTeXOnePar): no need to override
487         runparams.moving_args here
488
489 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
490
491         * vspace.C: fix off-by-one-error, related to fix #1682
492
493 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
494
495         * lengthcommon.C: a more general fix for bug 1682
496
497 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
498
499         * text.C (backspace): fix crash
500
501 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
502
503         * format.[Ch] (getFormatFromFile): new method
504         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
505
506 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
509
510 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * lyxfunc.C (dispatch): remove the verbose argument
513         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
514         instead
515
516         * kbmap.C (defkey): set the origin of func to KEYBOARD
517
518         * MenuBackend.C (MenuItem):
519         * ToolbarBackend.C (add): set the origin of func to UI
520
521         * funcrequest.[Ch]: add origin member, which indicates which part
522         of LyX requests an action
523
524 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
525
526         * converter.C (move): don't lie in the error message
527         * converter.h (isReachable, move): document
528
529 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
530
531         * buffer.C: remove unused using lyx::support::atoi
532         * paragraph_funcs.C: ditto
533
534 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
535
536         * bufferlist.C (exists): use bind and equal_to instead of
537         compare_memfun
538         (getBuffer): ditto
539         * lyxtextclasslist.C (NumberOfClass): ditto
540
541         * cursor.C (insert): use for_each instead of explicit for loop
542
543         * bufferlist.C (getFileNames): use std::transform and
544         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
545
546         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
547         for loop
548
549         * buffer.C (changeLanguage): use for_each instead of explicit for
550         loop
551         (hasParWithID): implement using getParFromID
552
553         * LaTeXFeatures.C: ws change only
554
555         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
556         to cleanup a bit.
557
558         * BufferView_pimpl.C (trackChanges): use for_each instead of
559         expilicit for loop
560
561 2004-11-04  André Pönitz  <poenitz@gmx.net>
562
563         * undo.h:
564         * undo.C (textUndoOrRedo): fix crash when creating undo information.
565
566         * dociterator.C (asDocIterator): use hard assert again.
567
568 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
569
570         * lyxlength.C (asLatexString): rewrite so that it does not use
571         snprintf anymore
572
573 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
574
575         * text3.C (specialChar, dispatch): make sure cursor moves to the
576         right after inserting an inset
577
578 2004-11-02  José Matos  <jamatos@lyx.org>
579
580         * output_docbook.C (docbook):
581         * paragraph.C (getID):
582         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
583         garantee that the output is always legal.
584
585         * tabular.C (docbook):
586         * outputprams.[Ch]: remove mixed contents.
587
588 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
589
590         * text2.C (setCounter): prevent endless loop
591
592 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
593
594         * exporter.C (copyFile): use the mover instead of support::copy()
595         * exporter.C (Export): pass format and latex name to copyFile()
596         * exporter.h (addExternalFile): document
597         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
598
599 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
600
601         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
602
603 2004-10-30  José Matos  <jamatos@lyx.org>
604
605         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
606         text and no inset or font change. This allows to use CDATA
607         sections just for the whole paragraph.
608
609 2004-10-30  José Matos  <jamatos@lyx.org>
610
611         * paragraph.C (getFirstWord): remove unused variable.
612
613 2004-10-30  José Matos  <jamatos@lyx.org>
614
615         * paragraph.C (getFirstWord): the content should always be escaped
616         there.
617         (simpleDocBookOnePar):
618         * output_docbook.C (makeEnvironment): replace reference to CDATA
619         to style pass_thru.
620
621 2004-10-30  José Matos  <jamatos@lyx.org>
622
623         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
624
625 2004-10-30  José Matos  <jamatos@lyx.org>
626
627         * output_docbook.C (makeParagraphs):
628         * paragraph.[Ch] (emptyTag): for docbook and company, if the
629         standard paragraph has only a given type of content drop the wrapper.
630
631 2004-10-29  José Matos  <jamatos@lyx.org>
632
633         * output_docbook.C (makeEnvironment):
634         * sgml.C (openTag):
635         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
636
637 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
638
639         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
640         (cleanID): sanitize any id.
641
642 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
643
644         * buffer.C, lyxlex_pimpl.C:
645         * lyxlex_pimpl.C (setFile):
646         s/getExtFromContents/getFormatFromContents/
647
648 2004-10-28  José Matos  <jamatos@lyx.org>
649
650         * output_docbook.C (makeEnvironment): move id to broadest possible
651         scope.
652
653         * sgml.C (openTag): apply substitution of <> for all attributes.
654
655 2004-10-28  José Matos  <jamatos@lyx.org>
656
657         * buffer.C (makeLinuxDocFile, makeDocBookFile):
658         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
659         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
660
661         * sgml.[Ch]: new version for open and closeTag for paragraph and
662         for strings. Now they handle the ids of paragraphs.
663
664 2004-10-26  Angus Leeming  <leeming@lyx.org>
665
666         * Makefile.am: add mover.[Ch].
667
668         * converter.C (convert, move): use the new Movers to move external
669         files to the temp directory.
670
671         * lyx_main.C (init): ensure that the global system_movers data
672         is initialised.
673
674         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
675         preferences file.
676
677         * mover.[Ch]: new files, defining a Mover as a utility to move an
678         external file between directories and, if necessary, manipulate this
679         file using a helper script.
680
681 2004-10-25  José Matos  <jamatos@lyx.org>
682
683         * output_docbook.C (makeCommand): merge two if's that tested the
684         same condition.
685
686 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * sgml.C (escapeString): fix warning in a better way
689
690 2004-10-25  José Matos  <jamatos@lyx.org>
691
692         * sgml.C (escapeString): import the require boosts header file for
693         tie, and avoid a signed unsigned comparison.
694
695 2004-10-25  José Matos  <jamatos@lyx.org>
696
697         * sgml.h: add #include <string>
698
699 2004-10-25  José Matos  <jamatos@lyx.org>
700
701         * sgml.[Ch] (escapeString): new function to escape all the string.
702
703 2004-10-24  José Matos  <jamatos@lyx.org>
704
705         * paragraph.[Ch] (getFirstWord): new function to get the first
706         word. Useful for description.
707         (simpleDocBookOnePar): remove depth argument, add another that
708         says where to start the paragraph.
709
710         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
711         use the new functions to fix cleanly the support for descriptions.
712
713 2004-10-24  José Matos  <jamatos@lyx.org>
714
715         * buffer.C (makeLinuxDocFile, makeDocBookFile):
716         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
717         * output_linuxdoc.C (linuxdocParagraphs):
718         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
719         add buffer as argument.
720
721 2004-10-24  José Matos  <jamatos@lyx.org>
722
723         * output_docbook.C (makeEnvironment, searchEnvironment): place
724         CDATA inside paragraphs and fix scope for listitems.
725
726 2004-10-24  José Matos  <jamatos@lyx.org>
727
728         * output_docbook.C: remove using statement for stack.
729
730 2004-10-23  José Matos  <jamatos@lyx.org>
731
732         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
733         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
734         docbook. The new scheme is recursive and makes use of iterators, the
735         same as latex export works.
736         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
737         directly with the paragraph contents. This code was moved up to
738         output_docbook.C (docbookParagraphs).
739         * sgml.C (openTag, closeTag): removed unneeded newlines.
740         (closeEnvTags) removed.
741
742 2004-10-23  André Pönitz  <poenitz@gmx.net>
743
744         * undo.C (textUndoOrRedo):
745         * dociterator.C (asDocIterator): work around crash
746
747         * cursor.C (getStatus): replace ASSERT by more verbose error message
748           and manual correction of the problem. Should increase stability
749           while providing more sensible information.
750
751 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
754
755         * bufferlist.C (previous, next): new methods
756
757         * lfuns.h:
758         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
759
760 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
761
762         * buffer.C (makeDocBookFile): add dsssl stylesheet control
763         entities to preamble.
764
765 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
766
767         * messages.C (Pimpl): strip off translation context information
768
769 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
770
771         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
772         the cursor is correct (bug 1694)
773
774 2004-10-13  José Matos  <jamatos@lyx.org>
775
776         * output_docbook.C (docbookParagraphs): fix closing tags in the
777         end of the document.
778
779 2004-10-09  José Matos  <jamatos@lyx.org>
780
781         * buffer.C: format up to 237.
782         * bufferparams.C (write): use tostr to convert booleans to strings.
783
784 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
785
786         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
787
788 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * LaTeX.C: implement use of babel language in xindy.
791
792 2004-10-05  José Matos  <jamatos@lyx.org>
793
794         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
795         Add new translators to help reading and writing the lyx file.
796
797 2004-10-05  José Matos  <jamatos@lyx.org>
798
799         * ParagraphParameters.C (read):
800         * text.C (readParToken): replace nexToken by more appropriate lex
801         methods.
802
803 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
804
805         * LaTeX.C (runMakeIndex):
806         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
807         (usually 'makeindex') configurable.
808
809         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
810         with a variable rather than with a number.
811
812 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * output_latex.C (TeXOnePar): make sure font setting is the first
815         thing that gets output (and the last at the end). Should fix bug
816         1404.
817
818 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
819
820         * pch.h: use proper signal include
821
822         * LaTeX.h: Use preferred calling of Boost.Signal
823         * buffer.h: ditto
824
825 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
826
827         * pch.h: dont include <boost/function/function0.hpp>
828
829         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
830
831         * paragraph_pimpl.h: remove usage of ShareContainer
832
833         * paragraph_pimpl.C: remove initialization of ShareContainer.
834
835 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
836
837         Fix bug #1666
838
839         * BufferView.C (putSelectionAt): change the semantics when
840         backwards == true: now, this just swaps cursor and anchor wrt the
841         forward case
842
843         * BufferView.h (putSelectionAt): add some documentation
844
845         * lyxfind.C (findBackwards): rewrite using while(). In particular,
846         make sure backwardChar is done at least once (to avoid getting
847         stuck)
848         (findNextChange): use putSelectionAt in the forward direction
849         (operator()): use Paragraph::isWord
850
851 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
852
853         * Spacing.C (set): c_str fix
854
855 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
856
857         * lyx_cb.C (Reconfigure): quote the name of configure script in
858         case it contains spaces
859
860 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
861
862         * client: new dir
863
864         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
865         (BOOST_LIBS): use top_buildir when looking for the file
866
867 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
868
869         * pch.h: do not use include boost/format.hpp, multiple symbols
870                 will result (gcc bug)
871
872
873 2004-08-23  José Matos  <jamatos@lyx.org>
874
875         * bufferparams.C (readToken): fix reading of the author field.
876
877 2004-08-20  José Matos  <jamatos@lyx.org>
878
879         * lyxrc.C: remove support/translator.h inclusion since it is not used.
880
881 2004-08-20  José Matos  <jamatos@lyx.org>
882
883         * lyxlex.[Ch] (findToken): remove function.
884
885         * ParagraphParameters.C (findToken):
886         * bufferparams.C (findToken): replace call for previous function
887         with local copy. This local function has one more argument, the
888         read string argument.
889
890 2004-08-16  José Matos  <jamatos@lyx.org>
891
892         * ParagraphParameters.C (write):
893         * Spacing.C (writeFile):
894         * bufferparams.C (writeLaTeX):
895         * lyx_cb.C (Reconfigure):
896         * paragraph.C (write):
897         * tabular.C (write): remove unnecessary space at end of line.
898
899
900 2004-08-16  José Matos  <jamatos@lyx.org>
901
902         * text.C (readParagraph): remove debug message.
903
904 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
905
906         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
907         crash
908
909         * output_plaintext.C (asciiParagraph): set depth correctly
910
911         * outputparams.h: add member depth
912
913         * paragraph_funcs.C (ownerPar): remove.
914
915         * text2.C (setCounter): remove first_pit; comment out some
916         non-working code that uses ownerPar
917
918         * BufferView.C (getParentLanguage): remove. Not used anymore, and
919         uses ownerPar
920
921 2004-08-16  José Matos  <jamatos@lyx.org>
922
923         * text.C (readParToken, readParagraph, read): report all unknown tokens.
924         For the same level of importance use the same chanel to report problems.
925         (read): add code to deal with \begin_body and \end_body.
926
927
928 2004-08-15  José Matos  <jamatos@lyx.org>
929
930         * lyxlex.C (getString): fix comment, buffer::readBody is now
931         buffer:readDocument.
932
933         * tex-strings.C (string_papersize): Default -> default,
934         Custom -> custom, for consistency with other options.
935
936 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
937
938         * pch.h: new file
939
940         * Makefile.am: support pch
941
942 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * text.C (readParToken): remove the static LyXFont variable and
945         pass it as a parameter instead. This fixes a nasty bug where an
946         inset will be inserted with a bad font in some situations
947         (readParagraph): adapt
948
949         * text2.C (setCounter): reduce number of calls to pars_[pit]
950
951         * text.C (singleWidth): add an assert, fix a test
952
953         * rowpainter.C (paintText): reduce number of calls to singleWidth
954
955         * paragraph.C (isHfill):
956         (isNewline): ws only
957
958 2004-08-14  André Pönitz  <poenitz@gmx.net>
959
960         * text.C:
961         * text2.C:
962         * rowpainter.C:
963         * lyxtext.h (several functions): use a Paragraph & argument
964         instead of par_type
965
966 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * metricsinfo.h: add a new field ltr_pos to PainterInfo
969
970         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
971
972         * text.C (singleWidth): remove useless test
973
974 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * tabular.h: remove bogus comments
977
978         * tabular.C (getDescentOfRow):
979         (isPartOfMultiColumn): add assertions
980
981         * lyxlength.C (inPixels): remove #warning
982
983 2004-08-14  André Pönitz  <poenitz@gmx.net>
984
985         * paragraph.h: inline getChar()
986
987         * BufferView.h: remove unused declarations
988
989 2004-08-14  José Matos  <jamatos@lyx.org>
990
991         * Buffer.[Ch] (readDocument): new name for old readBody.
992         * Buffer.C: new file format, new keywords: \begin_document,
993         \begin_header, \begin_body, \end_body.
994
995         * bufferparams.C (readToken): replace all calls to lex.nextToken
996         by lex.next(). Do the same to eatLine except where really needed.
997
998         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
999         line when writing to the lyx file.
1000
1001         * output_plaintext.C (asciiParagraph): fix Bibliography style
1002         handling.
1003
1004         * text.C (read): fix end of file handling.
1005
1006 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * MenuBackend.C (Menu::operator[]): new method to access
1009         individual menu items
1010         (Menu::hasFunc): new method. search for an item that corresponds
1011         to a given func
1012         (MenuBackend::specialMenu): new method
1013         (MenuBackend::expand): if a special menu has been set, skip
1014         entries whose func() appears in this menu
1015
1016 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1017
1018         * text3.C: use Debug::DEBUG a bit more
1019
1020         * text.C (leftMargin): try to simplify a tiny bit change var x to
1021         l_margin. Dont output the wide margins always.
1022         (rightMargin): no margin in inner texts
1023
1024         * rowpainter.h (nestMargin): new func
1025         (changebarMargin): new func
1026         (rightMargin): new func
1027
1028         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1029         now functions.
1030         (paintLast): ditto
1031
1032         * factory.C (createInset): modify setDrawFrame
1033
1034         * cursor.C: use Debug::DEBUG a bit more
1035
1036 2004-08-14  André Pönitz  <poenitz@gmx.net>
1037
1038         * coordcache.[Ch]:
1039         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1040         cache for all insets in (at least partially) visible (top-level)
1041         paragraphs.
1042
1043         * BufferView_pimpl.C: reset external coord cache before every update.
1044         This means the coord cache only contains valid entries.
1045
1046 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1047
1048         bug 1096
1049         * BufferView_pimpl.C (getInsetByCode): move function out of class
1050         and change in to a template in anon namespace. Also fix to do what
1051         suits us better.
1052
1053 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1054
1055         bug 1305
1056         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1057         of char
1058         (breakParagraph): rename par to par_offset and use a local
1059         reference. Add code to keep the language over a rebreak.
1060         (breakParagraphConservative): rename par to par_offset, use a
1061         local reference
1062         (mergeParagraph): ditto
1063         (outerHook): ditto
1064         (isFirstInSequence): ditto
1065         (outerFont): rename pit to par_offset
1066
1067         * paragraph.C: ws change
1068         * paragraph.h: ditto
1069         * text3.C: ditto
1070         * text.C: ditto
1071
1072 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1075         treatment for ']'
1076
1077         * paragraph.C (simpleTeXOnePar): when we have a \item with
1078         optional argument, enclose the argument with curly brackets (in
1079         case it contains a closing square bracket)
1080
1081         * text2.C (editXY):
1082         * text2.C (editXY):
1083         * text3.C (checkInsetHit): constify
1084
1085 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1088         documents (bug 1629)
1089
1090 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         Fix toggling of collapsable insets with the mouse (bug 1558)
1093
1094         * lyxfunc.C (dispatch): adapt to LCursor changes
1095
1096         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1097         make sure that dispatch is not invoked twice
1098
1099         * cursor.C (needsUpdate): new method
1100         (dispatch): return void
1101         (result): new method, to access the DispatchResult of the cursor.
1102
1103 2004-08-13  José Matos  <jamatos@lyx.org>
1104
1105         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1106
1107 2004-08-13  André Pönitz  <poenitz@gmx.net>
1108
1109         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1110
1111         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1112           multiple cells
1113
1114 2004-08-12  André Pönitz  <poenitz@gmx.net>
1115
1116         * text3.C: take out the 'cursor right' form insertInset and only
1117         do it in those places when it is really needed. Fixes crash on
1118         C-m...
1119
1120 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1121
1122         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1123
1124         * BufferView_pimpl.C (setBuffer): initialize the current font of
1125         the underlying LyXText
1126
1127 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * kbsequence.C (print): use UI native formatting for menu
1130         shortcuts
1131
1132         * text.C (insertChar): call Paragraph::insertChar with a font
1133         argument (cosmetic)
1134
1135         * paragraph.C (insertInset, insertChar): the version that takes a
1136         LyXFont argument is now a wrapper around the other one (the
1137         opposite used to be true).
1138
1139         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1140         argument. Font setting is done in Paragraph now.
1141
1142 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1143
1144         * outputparams.h: add new members intitle and lang.
1145
1146         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1147         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1148
1149 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1150
1151         * text3.C (dispatch): remove special handling of button 4 and 5,
1152         it is now taken care of in the frontend code.
1153
1154 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1155
1156         * Spacing.h: add <string> (STLPort compile fix)
1157
1158 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1159
1160         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1161
1162 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1163
1164         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1165         to bool.
1166
1167         * converter.C (showMessage): inherit from unary_function, make
1168         operator() const.
1169
1170         * buffer.C (writeFile): initialize retval
1171
1172         * InsetList.h: rename private variable list to list_
1173         * InsetList.[Ch]: adjust accordingly.
1174
1175 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1176
1177         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1178         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1179         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1180         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1181         * ParagraphParameters.C, LaTeXFeatures.C: replace
1182         "support/std_sstream.h" with <sstream>
1183
1184 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1185
1186         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1187         * lyxsocket.C (LyXServerSocket): ditto
1188         (serverCallback): ditto
1189
1190 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1191
1192         * LaTeXFeatures.C: check release date when loading jurabib.
1193
1194 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1195
1196         * lyxserver.C (startPipe): call register_socket_callback
1197         (endPipe): call unregister_socket_callback
1198
1199 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1200
1201         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1202         (LyXServerSocket): register the callback
1203         (LyXServerSocket): unregister the callback
1204         (fd): delete function
1205         (serverCallback): improve error checking and setup the callbacks.
1206         (dataCallback): change arg to fd.
1207         (writeln): new func (copied fro the client socket) used for server
1208         write to client.
1209         (LyXDataSocket): simplify
1210         (~LyXDataSocket): close ann unregiser callback
1211         (server): delete function
1212         (fd): delete function
1213         (readln): small changes, improve some std::string usage
1214         (writeln): constify a bit
1215
1216 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1219         Qt frontend
1220
1221 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1224         after it has been populated
1225
1226 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * text2.C (insertInset): move cursor when inserting inset.
1229
1230 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * kbmap.C (findbindings): a couple of new methods. returns a
1233         container of kb_sequence objects. The real work is done by the
1234         private recursive version
1235         (printbindings): uses findbindings to print out a bracketed list
1236         of bindings (renamed from findbinding).
1237
1238         * MenuBackend.C (binding): use kb_keymap::findbindings
1239
1240         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1241
1242 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1243
1244         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1245
1246 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1247
1248         * paragraph.C (isWord): return true on insets that report
1249         isLetter().
1250
1251         * text.C (getWord): use Paragraph::isWord to decide what is in a
1252         word and what is not; fix bug 1609.
1253
1254 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1255
1256         * tex-strings.C: add "none" to string_paperpackages[], fixes
1257         off-by-one-error in the paperpackage selection.
1258
1259         * lyxlex.[Ch]:
1260         * tex-strings.[Ch]: char const * string[n]
1261         -> char const * const string[]
1262
1263 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1264
1265         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1266         command, return early.
1267
1268 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1269
1270         * debug.h: add DEBUG to enum and fix size of ANY.
1271
1272         * debug.C: add support for Debug::DEBUG
1273         (showTags): cast errorTags.level to unsigned int
1274
1275         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1276         (redoCurrentBuffer): ditto
1277         (updateScrollbar): ditto
1278         * cursor.C (dispatch): ditto
1279         * text2.C (setLayout): ditto
1280         (setFont): ditto
1281         (updateCounters): ditto
1282         (editXY): ditto
1283         (deleteEmptyParagraphMechanism): ditto
1284
1285 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1286
1287         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1288         annotations to cleanup the Makefile slightly.
1289
1290 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1291
1292         * lyxrc.C: do not set user_email to a default value but use empty
1293         instead. The entry used to be translated, which does not work
1294         since at the point where lyxrc is constructed there is no
1295         translation service available
1296
1297         * messages.C (getLocaleDir): remove and use directly
1298         lyx_localedir() instead
1299
1300 2004-06-02  Angus Leeming  <leeming@lyx.org>
1301
1302         Fix crash caused by dereferencing null pointer 'exportdata' in
1303         OutputParams by creating a new ExportData variable on the heap,
1304         storing it in a boost::shared_ptr.
1305         The crash was triggered when generating an Instant Preview
1306         of an external inset.
1307
1308         * Makefile.am: add outputparams.C
1309
1310         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1311         (c-tor): allocate memory to it.
1312
1313         * exporter.C (c-tor): associated changes.
1314
1315 2004-06-01  Angus Leeming  <leeming@lyx.org>
1316
1317         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1318         contains data before calling isInset(0). (Bug 1513.)
1319
1320 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1321
1322         * exporter.C (checkOverwrite): new method
1323         * exporter.C (copyFile): new method
1324         * exporter.C (Export): copy referenced files to the document dir
1325         * exporter.[Ch]: new class ExportedFile
1326         * exporter.[Ch]: new class ExportData. Contains currently the
1327         names of referenced external files
1328         * outputparams.h: add exportdata member.
1329
1330 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1331
1332         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1333         version.C-tmp
1334
1335 2004-05-19  Angus Leeming  <leeming@lyx.org>
1336
1337         * LaTeXFeatures.C:
1338         * ToolbarBackend.C:
1339         * bufferparams.C:
1340         * lyxfunc.C: small changes due to the introduction of namespace
1341         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1342
1343 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1344
1345         * text3.C (dispatch): supress update when only moving the cursor
1346         * cursor.C (selHandle): remove commented code
1347
1348 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1349
1350         * paragraph.C (startTeXParParams): correct column count
1351         * CutAndPaste.C (pasteSelection): remove const_cast
1352         * output_docbook.C (docbookParagraphs): remove const_cast
1353         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1354         const_cast and return ParagraphList::const_iterator
1355         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1356         * output_plaintext.C (writeFileAscii): remove const_cast
1357         * paragraph.[Ch] (simpleTeXOnePar): make const
1358         * paragraph_funcs.C (outerPar): use const iterators
1359         * paragraph_pimpl.C (validate): use const iterators
1360         * text.C (setHeightOfRow): use const iterators
1361
1362 2004-05-17  Angus Leeming  <leeming@lyx.org>
1363
1364         * lfuns.h:
1365         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1366
1367         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1368         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1369         if the citation engine has changed.
1370
1371 2004-05-14  José Matos  <jamatos@lyx.org>
1372
1373         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1374         if the textclass does not provide it. Have it different for sgml and
1375         xml.
1376         support the language of document.
1377         * output_docbook.C (docbookParagraphs):
1378         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1379         first anchor as the id of the paragraph, remove special case code.
1380         * sgml.C (escapeChar): escape only < & >.
1381
1382 2004-05-14  Angus Leeming  <leeming@lyx.org>
1383
1384         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1385         dependencies on src/frontends/controllers/biblio.h. Define a
1386         CiteEngine_enum wrapper class to enable the enum to be forward
1387         declared.
1388
1389 2004-05-12  Angus Leeming  <leeming@lyx.org>
1390
1391         * buffer.C: up LYX_FORMAT to 234.
1392         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1393         use_numerical_citations with a single biblio::CiteEngine cite_engine
1394         variable.
1395         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1396
1397 2004-05-13  José Matos  <jamatos@lyx.org>
1398
1399         * converter.h:
1400         * converter.C (Converter, readFlags): add xml member.
1401         * outputparams.h: add XML flavor.
1402         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1403
1404 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1405
1406         * lyxfunc.C (dispatch):
1407         (getStatus): fix handling of LFUN_SEQUENCE
1408
1409 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * debug.C (showLevel): do not forget the end-of-line marker
1412
1413 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1414
1415         * kbmap.C (read): do not stop parsing a bind file when an error
1416         occurs (bug 1575)
1417
1418 2004-04-29  Angus Leeming  <leeming@lyx.org>
1419
1420         * cursor.C:
1421         * factory.C:
1422         * pariterator.C:
1423         * text2.C: wrap a bunch of #warning statements
1424         inside #ifdef WITH_WARNINGS blocks.
1425
1426 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1427
1428         * buffer.C: increment format to 233.
1429
1430 2004-04-28  Angus Leeming  <leeming@lyx.org>
1431
1432         * BufferView_pimpl.C:
1433         * lyxfunc.C:
1434         * text3.C:
1435         s/updateToolbar()/updateToolbars()/
1436         s/Toolbar.h/Toolbars.h/
1437
1438 2004-04-28  Angus Leeming  <leeming@lyx.org>
1439
1440         * BufferView.[Ch] (c-tor):
1441         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1442         No longer passes these data to the WorkArea generator.
1443
1444 2004-04-28  Angus Leeming  <leeming@lyx.org>
1445
1446         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1447
1448 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1449
1450         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1451
1452 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1453
1454         * output_latex.C (TeXEnvironment): make sure that there is a line
1455         break before \end{foo} for the last paragraph of a document
1456         (TeXOnePar): if the paragraph is at the end of the document (or
1457         inset) and the language has to be reset, then make sure that the
1458         line break is _before_ the language command, not after (fixes bug
1459         1225); also make sure that the language reset command is the first
1460         thing after the paragraph (to ensure proper nesting of
1461         environments and thus fix bug 1404)
1462
1463 2004-04-21  John Levon  <levon@movementarian.org>
1464
1465         * ToolbarBackend.h:
1466         * ToolbarBackend.C: make "name" be a programmatic name
1467         and a gui_name field.
1468
1469         * lyxfunc.C: display the minibuffer on M-x
1470
1471 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1472
1473         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1474         (bug 1526)
1475
1476 2004-04-19  Angus Leeming  <leeming@lyx.org>
1477
1478         * BufferView_pimpl.C (setBuffer): changed preview interface.
1479
1480         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1481         possible values.
1482
1483 2004-04-19  John Levon  <levon@movementarian.org>
1484
1485         * BufferView_pimpl.C:
1486         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1487
1488 2004-04-05  Angus Leeming  <leeming@lyx.org>
1489
1490         * text.C (redoParagraphs): add call to updateCounters(), thereby
1491         fixing the missing "Figure #:" label from the caption of a
1492         figure float.
1493
1494 2004-04-13  Angus Leeming  <leeming@lyx.org>
1495
1496         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1497         cursor is clicked out of an inset.
1498
1499 2004-04-13  Angus Leeming  <leeming@lyx.org>
1500
1501         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1502         than an InsetOld one.
1503
1504 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1505
1506         * format.[Ch]: add editor to Format
1507         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1508         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1509
1510 2004-04-08  André Pönitz  <poenitz@gmx.net>
1511
1512         * metricsinfo.h: remove PainterInfo::width member
1513
1514 2004-04-08  Angus Leeming  <leeming@lyx.org>
1515
1516         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1517         "\providecommand" rather than "\newcommand", thereby preventing
1518         clashes with packages that define "\boldsymbol" themselves.
1519         Eg, beamer.
1520
1521 2004-04-08  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1524         thereby squashing an unnecessary warning.
1525
1526 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1527
1528         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1529         setBuffer()
1530
1531 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1532
1533         * BufferView.C (setCursor): call redoParagraph (some insets could
1534         have been opened)
1535         (putSelectionAt): remove the 'double update' trick
1536
1537         * BufferView_pimpl.C (fitCursor): call refreshPar
1538         (workAreaDispatch): remove an uneeded update call
1539         (dispatch): remove some manual update calls
1540
1541         * cursor.[Ch]: remove cached_y_, updatePos
1542         (selHandle): set noUpdate when appropriate
1543
1544         * lyxfunc.C (dispatch): track if we need an update
1545
1546         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1547
1548         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1549         (paintSelection): cheap optimization, do not call cursorX when not
1550         needed
1551         (paintPars): change signature
1552         (refreshPar): add
1553         (paintText): adjust
1554         (paintTextInset): adjust
1555
1556         * text.C: adjust
1557
1558 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1559
1560         * lengthcommon.C: compilation fix: remove explicit array size from
1561         unit_name[] and friends
1562
1563 2004-04-05  Angus Leeming  <leeming@lyx.org>
1564
1565         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1566
1567         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1568         present only for the preferences dialog.
1569         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1570
1571 2004-04-05  Angus Leeming  <leeming@lyx.org>
1572
1573         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1574         to enable the frontends to export changes to lyxrc correctly.
1575
1576         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1577
1578 2004-04-07  André Pönitz  <poenitz@gmx.net>
1579
1580         * cursor.[Ch] (selClear, adjust): remove math
1581
1582         * cursor_slice.C: more agressive assert
1583
1584         * lyxfunc.C:
1585         * BufferView_pimpl.C: rework mouse event dispatch
1586
1587         * dociterator.C:
1588         * paragraph.C:
1589         * text2.C:
1590         * text3.C: adjust
1591
1592 2004-04-05  André Pönitz  <poenitz@gmx.net>
1593
1594         * cursor.[Ch] (valign, halign...): remove unneeded functions
1595
1596 2004-04-05  Angus Leeming  <leeming@lyx.org>
1597
1598         * lyxlength.[Ch] (unit_name et al.): const-correct.
1599
1600 2004-04-05  Angus Leeming  <leeming@lyx.org>
1601
1602         * BufferView_pimpl.C:
1603         * buffer.C:
1604         * counters.C:
1605         * cursor.C:
1606         * lyxfunc.C
1607         * paragraph.C:
1608         * pariterator.C:
1609         * text.C:
1610         * text2.C:
1611         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1612
1613 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1614
1615         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1616
1617 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1618
1619         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1620         * BufferView_pimpl.[Ch] (getStatus)
1621         * BufferView.[Ch] (getStatus): add
1622         * lyxfunc.C (getStatus): move lfuns handled in
1623         BufferView::dispatch to te function above
1624         * Cursor.C (setSelection): set selection() = true
1625
1626 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1627
1628         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1629
1630 2004-03-31  Angus Leeming  <leeming@lyx.org>
1631
1632         * lyxfunc.C (dispatch): Fall through to the generic
1633         Dialogs::show("preamble").
1634
1635 2004-03-31  Angus Leeming  <leeming@lyx.org>
1636
1637         * lyxfunc.C (dispatch): Fall through to the generic
1638         Dialogs::show("spellchecker").
1639
1640 2004-03-31  Angus Leeming  <leeming@lyx.org>
1641
1642         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1643         preferences dialog.
1644
1645 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1646
1647         * BufferView.C
1648         * cursor.[Ch]
1649         * dociterator.[Ch]:
1650         * insetiterator.[Ch]:
1651         * lyxfind.C:
1652         * lyxfunc.C:
1653         * pariterator.[Ch]:
1654         * text2.C:
1655         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1656
1657 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1658
1659         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1660         insets where we are putting the cursor.
1661
1662 2004-03-31  Angus Leeming  <leeming@lyx.org>
1663
1664         * lfuns.h:
1665         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1666
1667         * lyxrc.[Ch] (read, write): overloaded member functions taking
1668         a std::[io]stream arguments.
1669
1670         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1671
1672 2004-03-31  Angus Leeming  <leeming@lyx.org>
1673
1674         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1675         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1676
1677         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1678         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1679
1680 2004-03-31  Angus Leeming  <leeming@lyx.org>
1681
1682         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1683         the LFUN_ALL_INSETS_TOGGLE code.
1684
1685 2004-03-30  Angus Leeming  <leeming@lyx.org>
1686
1687         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1688         has died. Fall through to the generic Dialogs::show("document").
1689
1690 2004-03-30  Angus Leeming  <leeming@lyx.org>
1691
1692         * lfuns.h:
1693         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1694         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1695
1696         * lyxfunc.C (getStatus, dispatch): define the actions for these
1697         lfuns. Little more than a cut and pste job from ControlDocument.C
1698
1699         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1700
1701 2004-03-30  Angus Leeming  <leeming@lyx.org>
1702
1703         * lfuns.h:
1704         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1705         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1706
1707         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1708         open/closed state of ollapsable insets. Usage:
1709
1710         all-inset-toggle <state> <name>, where
1711         <state> == "open" || "closed" || "toggle" and
1712         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1713
1714         * lyxtext.h, text2.C (toggleInset): removed.
1715
1716         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1717         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1718         now passes LFUN_INSET_TOGGLE to the found inset.
1719
1720         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1721         is now invoked as "all-insets-toggle toggle branch".
1722
1723 2004-03-30  Angus Leeming  <leeming@lyx.org>
1724
1725         * dociterator.C:
1726         * insetiterator.C:
1727         * pariterator.[Ch]: added/corrected header blurb.
1728
1729 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1730
1731         * dociterator.[Ch]: add an inset_ member
1732         (backwardPos): implemented
1733         (backwardPos, forwardPos): use inset_ when the stack is empty.
1734         (doc_iterator_begin, doc_iterator_end): implemented
1735         * pariterator.[Ch]: adjust, add begin, end
1736         * insetiterator.[Ch]: adjust, add begin, end
1737         * cursor.C:
1738         * document.C:
1739         * BufferView.C:
1740         * BufferView_pimpl.C:
1741         * CutAndPaste.C: adjust
1742
1743 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1744
1745         * buffer.C: increment file format to 232.
1746         * LaTeXFeatures.C: add bibtopic package.
1747         * bufferparams.[Ch]: param \use_bibtopic.
1748
1749         * lyxrc.[Ch]: add lyxrc bibtex_command
1750         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1751
1752         * buffer.C: increment file format to 231.
1753
1754 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1755
1756         * dociterator.C: implement forwardPar
1757         * iterators.[Ch]: remove, replaced by
1758         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1759         * BufferView.C:
1760         * BufferView_pimpl.C:
1761         * CutAndPaste.C:
1762         * buffer.C:
1763         * bufferview_funcs.C:
1764         * cursor.C:
1765         * lyxfind.C
1766         * lyxfunc.C
1767         * paragraph_funcs.C
1768         * toc.C:
1769         * Makefile.am: adjust
1770
1771 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1772
1773         * CutAndPaste.C (pasteSelection): fix 2 crashes
1774         (eraseSelection): fix a crash
1775         * paragraph_funcs.C: remove a warning
1776
1777 2004-03-28  Angus Leeming  <leeming@lyx.org>
1778
1779         * lfuns.h:
1780         * LyXAction.C (init): new LFUN_PRINT.
1781
1782         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1783
1784 2004-03-27  Angus Leeming  <leeming@lyx.org>
1785
1786         * lfuns.h:
1787         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1788
1789         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1790
1791 2004-03-27  Angus Leeming  <leeming@lyx.org>
1792
1793         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1794         insetlist always contains non-null pointers to insets.
1795
1796 2004-03-26  Angus Leeming  <leeming@lyx.org>
1797
1798         * src/BufferView_pimpl.C:
1799         * src/CutAndPaste.C:
1800         * src/buffer.C:
1801         * src/iterators.C:
1802         * src/output_plaintext.C:
1803         * src/outputparams.h:
1804         * src/paragraph_funcs.C:
1805         * src/rowpainter.C:
1806         * src/text.C:
1807         * src/text2.C:
1808         * src/frontends/controllers/ControlErrorList.C:
1809         * src/frontends/gtk/FileDialogPrivate.C:
1810         * src/frontends/gtk/GPainter.C:
1811         * src/frontends/gtk/GToolbar.C:
1812         * src/frontends/qt2/QRef.C:
1813         * src/mathed/math_scriptinset.C: squash compiler warnings.
1814
1815 2004-03-26  Angus Leeming  <leeming@lyx.org>
1816
1817         * ispell.C (LaunchIspell::start):
1818         * lyx_cb.C (AutoSaveBuffer::start):
1819         invoke run(DontWait) rather than runNonBlocking().
1820
1821 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1822
1823         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1824
1825 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1826
1827         * kbsequence.C (print): adjust
1828
1829         * kbmap.C (printKeySym): rename and change signature
1830         (printKey): use LyXKeySym::print()
1831
1832 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1833
1834         * undo.C: add using std::advance to compile for stlport
1835
1836 2004-03-24  Angus Leeming  <leeming@lyx.org>
1837
1838         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1839         it leads to a crash when no buffer is present.
1840
1841 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842             Martin Vermeer  <martin.vermeer@hut.fi>
1843
1844         * lyxfunc.C (dispatch):
1845         * bufferparams.C (readToken): use the new LColor::setColor
1846
1847         * LColor.[Ch] (setColor): new version that takes two strings as
1848         argument and creates a new color entry if necessary
1849
1850 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1851
1852         * buffer.C (makeLaTeXFile): if the main latex file that is
1853         processed is usually a subdocument of some master, then pretend
1854         for a while that it is actually the master
1855
1856 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1857
1858         * buffer.C (getLabelList):
1859         (getBibkeyList): use getMasterBuffer()
1860         (getMasterBuffer): new method. Returns the main document in the
1861         case where one is using included documents.
1862
1863 2004-03-25  André Pönitz  <poenitz@gmx.net>
1864
1865         * Makefile.am:
1866         * iterators.[Ch]:
1867         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1868
1869         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1870
1871         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1872         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1873
1874         * ParameterStruct.h: merge with ParagraphParameters
1875
1876         * lyxtext.h: remove LyXText::parOffset() and getPar()
1877
1878         * text3.C: Remove all 'manual' update calls. We do now one per user
1879         interaction which is completely sufficient.
1880
1881         * Bidi.C:
1882         * BufferView.[Ch]:
1883         * BufferView_pimpl.C:
1884         * FontIterator.[Ch]:
1885         * MenuBackend.C:
1886         * ParagraphParameters.[Ch]:
1887         * buffer.C:
1888         * buffer.h:
1889         * bufferlist.C:
1890         * cursor.[Ch]:
1891         * cursor_slice.[Ch]:
1892         * dociterator.[Ch]:
1893         * errorlist.[Ch]:
1894         * factory.C:
1895         * lfuns.h:
1896         * lyxfind.C:
1897         * lyxfunc.C:
1898         * output_docbook.[Ch]:
1899         * output_latex.[Ch]:
1900         * output_linuxdoc.[Ch]:
1901         * output_plaintext.[Ch]:
1902         * paragraph.[Ch]:
1903         * paragraph_funcs.[Ch]:
1904         * paragraph_pimpl.[Ch]:
1905         * rowpainter.C:
1906         * tabular.[Ch]:
1907         * text.C:
1908         * text2.C:
1909         * toc.C:
1910         * undo.[Ch]: adjust
1911
1912         * frontends/controllers/ControlDocument.C:
1913         * frontends/controllers/ControlErrorList.C:
1914         * frontends/controllers/ControlSpellchecker.C:
1915         * insets/inset.C:
1916         * insets/inset.h:
1917         * insets/insetbase.h:
1918         * insets/insetbibitem.C:
1919         * insets/insetbox.C:
1920         * insets/insetbranch.C:
1921         * insets/insetcaption.C:
1922         * insets/insetcharstyle.C:
1923         * insets/insetcharstyle.h:
1924         * insets/insetcollapsable.C:
1925         * insets/insetcollapsable.h:
1926         * insets/insetert.C:
1927         * insets/insetfloat.C:
1928         * insets/insetfoot.C:
1929         * insets/insetmarginal.C:
1930         * insets/insetnote.C:
1931         * insets/insetoptarg.C:
1932         * insets/insettabular.C:
1933         * insets/insettext.C:
1934         * insets/insettext.h:
1935         * insets/insetwrap.C:
1936         * mathed/math_mboxinset.C:
1937         * mathed/math_nestinset.C:
1938         * mathed/math_scriptinset.C:
1939         * mathed/math_scriptinset.h:
1940         * support/types.h:
1941
1942 2004-03-24  Angus Leeming  <leeming@lyx.org>
1943
1944         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1945         deal with any child processes that have finished but are waiting to
1946         communicate this fact to the rest of LyX.
1947
1948 2004-03-24  Angus Leeming  <leeming@lyx.org>
1949
1950         64-bit compile fixes.
1951
1952         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1953         (c-tor): pass lyx::pos_types rather than ints.
1954
1955         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1956         lyx::pos_type.
1957
1958         * text.C (Delete): compile fix.
1959         (getPar): ensure that function declaration is the same as that in
1960         the header file.
1961
1962 2004-03-23  Angus Leeming  <leeming@lyx.org>
1963
1964         * ispell.C (LaunchIspell):
1965         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1966         a boost::shred_ptr rather than a std::auto_ptr.
1967
1968 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1969
1970         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1971         handle LFUN_FILE_INSERT_*
1972
1973         * lyxrc.C (setDefaults, getDescription, output, read):
1974         * lyxrc.h: remove ps_command
1975
1976 2004-03-22  Angus Leeming  <leeming@lyx.org>
1977
1978         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1979         Ensure that error_handler is processed once only and that all data
1980         is saved before attempting to output any warning messages.
1981
1982         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1983
1984 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1987
1988 2004-03-19  André Pönitz  <poenitz@gmx.net>
1989
1990         * cursor.[Ch] (reset): take main text inset as argument
1991
1992         * BufferView: adjust
1993         * BufferView_pimpl.C: adjust
1994
1995         * paragraph.[Ch]: fix completely broken operator=()
1996
1997 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1998
1999         * LColor.C (getFromLyXName): make sure that the color name is used
2000         as lowercase.
2001
2002 2004-03-17  Angus Leeming  <leeming@lyx.org>
2003
2004         * lfuns.h:
2005         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2006
2007         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2008         dialog and to kill a forked process.
2009
2010 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * text2.C (setCursorFromCoordinates): fix font problem
2013
2014 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2015
2016         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2017         bogus "rebuild cursor" code
2018
2019 2004-03-11  André Pönitz  <poenitz@gmx.net>
2020
2021         * buffer.[Ch]: use InsetText instead of LyXText as container for
2022         the main lyx text.
2023
2024         * dociterator.[Ch]: drop the BufferView * member which is not needed
2025         anymore after the change to buffer.C
2026
2027         * paragraph_funcs.C:
2028         * text.C:
2029         * text2.C:
2030         * BufferView.[Ch]:
2031         * BufferView_pimpl.[Ch]:
2032         * cursor.[Ch]:
2033         * cursor_slice.[Ch]: adjust
2034
2035         * text3.C: fix bug in mathDispatch
2036
2037 2004-03-08  André Pönitz  <poenitz@gmx.net>
2038
2039         * undo.[Ch]: use 'StableDocumentIterator' as base for
2040         the Undo struct.
2041
2042 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * LaTeXFeatures.C:
2045         * bufferparams.[Ch]: add jurabib support and param.
2046
2047         * LaTeX.C: add FIXME/comment.
2048
2049 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2050
2051         * buffer.C: increment file format to 230.
2052
2053 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2054
2055         * cursor.C (dispatch): avoid infinite loops
2056
2057 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2058
2059         * rowpainter.C (paintSelection): fix x coordinates
2060
2061 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * text.C (rowBreakPoint): fix breaking before displayed insets
2064
2065 2004-03-01  André Pönitz  <poenitz@gmx.net>
2066
2067         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2068
2069         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2070
2071         * Makefile.am:
2072         * BufferView.C:
2073         * BufferView_pimpl.C:
2074         * buffer.C:
2075         * lyxfind.C:
2076         * lyxfunc.C:
2077         * text.C:
2078         * text2.C:
2079         * text3.C: adjust
2080
2081 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2082
2083         * lyxtext.h:
2084         * text.C:
2085         * text2.C:
2086         * rowpainter.C:
2087         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2088         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2089
2090 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * Bidi.[Ch] (computeTables): const correctness
2093         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2094         fill_hfill, fill_label_hfill and x from Row
2095         * lyxtext.h: prepareToPrint returns a RowMetrics
2096         * rowPainter.C: adjust
2097         * text.C (prepareToPrint): use width, not textWidth. adjust
2098         (redoParagraphInternal, cursorX): adjust
2099         * text2.C (getColumnNearX): adjust
2100         (init): put a default value to the top LyXText::width
2101
2102 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2103
2104         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2105
2106 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2107
2108         * lyxtext.h: add FontIterator class
2109
2110         * text.C (FontIterator, operator*, operator->, operator++): add
2111         (rowBreakPoint, setRowWidth): adjust (fixing a
2112         rebreaking bug)
2113
2114 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * BufferView_pimpl.C (workAreaDispatch): allow also
2117         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2118
2119 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2120
2121         * text.C (rowBreakPoint): fix a bug showing with very large insets
2122
2123 2004-02-25  André Pönitz  <poenitz@gmx.net>
2124
2125         * text3.C:
2126         * cursor.[Ch]: move some mathed specific code to mathed
2127
2128 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2129
2130         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2131         use_tempdir in preferences
2132         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2133         tempfile creation
2134         * lyx_main.C: ensure that tempdir is valid
2135         * lyxlex.h: correct typo
2136         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2137         * paragraph.[Ch] (isMultiLingual): make const
2138         * cursor.[Ch] (openable): make const
2139
2140 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2141
2142         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2143
2144 2004-02-20  André Pönitz  <poenitz@gmx.net>
2145
2146         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2147
2148         * cursor.[Ch]: prepare for localized getStatus()
2149
2150         * lyxtext.h:
2151         * tabular.C:
2152         * text.C:
2153         * text2.C:
2154         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2155
2156 2004-02-20  André Pönitz  <poenitz@gmx.net>
2157
2158         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2159
2160 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * text2.C (setCursorFromCoordinates): switch to absolute coords
2163         (cursorUp): adjust
2164         (cursorDown): adjust
2165         * text3.C (dispatch): adjust
2166
2167 2004-02-16  André Pönitz  <poenitz@gmx.net>
2168
2169         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2170           insets/ChangeLog)
2171
2172         * cursor_slice.[Ch]: remove unneeded acessor function
2173
2174         * lyxtext.h: rename rtl() to isRTL()
2175
2176         * rowpainter.C:
2177         * tabular.C:
2178         * text.C:
2179         * text2.C:
2180         * text3.C: adjust
2181
2182 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * rowpainter.C (paintSelection): coord fix
2185
2186 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2187
2188         * Spacing.C: compile fix
2189
2190 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2191
2192         * cursor.C (dispatch): restore current_ before returning
2193
2194 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2195
2196         * text2.C (cursorUp, cursorDown): fix coords
2197         (moveUp): fix crash
2198
2199 2004-02-12  André Pönitz  <poenitz@gmx.net>
2200
2201         * lyxtext.h:
2202         * text.C:
2203         * text2.C:
2204         * text3.C: add LCursor & parameter to most cursor movement functions
2205           remove usage of LyXText::cursorRow() and cursorPar()
2206
2207         * cursor.[Ch]: add textRow() needed members
2208
2209         * BufferView.C:
2210         * BufferView_pimpl.C:
2211         * paragraph.[Ch]:
2212         * BufferView.C:
2213         * BufferView_pimpl.C: adjust
2214
2215 2004-02-11  André Pönitz  <poenitz@gmx.net>
2216
2217         * lyxfunc.C:
2218         * BufferView.[Ch]:
2219         * BufferView_pimpl.C: shift undo/redo handling
2220
2221         * cursor.[Ch]: fix mathed crash
2222
2223         * lyxfind.C:
2224         * lyxtext.h: move selectionAsText to LCursor
2225
2226         * output_latex.C:
2227         * paragraph.C:
2228         * text.C:
2229         * text2.C:
2230         * text3.C: adjust
2231
2232         * rowpainter.C: fix excessive drawing
2233
2234 2004-02-06  André Pönitz  <poenitz@gmx.net>
2235
2236         * BufferView.[Ch]:
2237         * BufferView_pimpl.[Ch]:
2238         * text3.C: move some text specific LFUN handling
2239
2240 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2241
2242         * text3.C (checkInsetHit): adjust coords
2243         * text2.C (getColumnNearX): adjust coords
2244         (edit): adjust coords
2245         * text.C (getRowNearY): add two asserts
2246
2247 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2248
2249         * converter.C:
2250         * format.C: add using std::distance to compile on gcc 2.95/stlport
2251
2252 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2253
2254         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2255
2256 2004-02-04  André Pönitz  <poenitz@gmx.net>
2257
2258         * BufferView.[Ch] (insertInset):
2259         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2260
2261         * text2.C:
2262         * text3.C: adjust
2263
2264 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2267         on the default clause of the switch
2268         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2269         wasn't catched by LCursor::dispatch
2270
2271 2004-02-03  André Pönitz  <poenitz@gmx.net>
2272
2273         * BufferView.C:
2274         * cursor.[Ch]: some additional asserts
2275
2276         * undo.[Ch]: remove LyXText dependency in interface
2277
2278         * lyxfunc.C: adjust
2279
2280         * lyxtext.h (firstPar, lastPar): remove dead functions
2281
2282         * text.C:
2283         * text2.C:
2284         * text3.C:
2285         * paragraph.[Ch]: adjust
2286
2287 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2288
2289         * lyxfind.C (find): fix argument order in call to ::find
2290
2291 2004-02-02  André Pönitz  <poenitz@gmx.net>
2292
2293         * cursor.[Ch]: remove direct access to anchor
2294
2295         * text.C: remove findText() hack
2296
2297 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * iterators.[Ch] (lockPath): remove in favour of...
2300         * BufferView.[Ch] (setCursor): this addition
2301         * BufferView.C (putSelectionAt): adjust
2302         * undo.C (performUndoOrRedo): adjust
2303         * lyxfunc.C (dispatch): adjust
2304
2305 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2306
2307         * iterators.C (lockPath): add a missing slice
2308         * undo.C (performUndoOrRedo): remove redundant positioning code
2309
2310 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2311
2312         * vc-backend.C (scanMaster): ";" -> ';'
2313
2314 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2315
2316         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2317         std::binary_function
2318
2319         * lyxtextclass.C (compare_name): rename to...
2320         (LayoutNamesEqual): ...this
2321
2322         * lyxlex_pimpl.C (compare_tags): inherit from
2323         std::binary_function, put back into anon namespace
2324
2325         * lyxfind.C (MatchString): inherig from std::binary_function
2326         (findChange): use empty() istead of !size()
2327
2328         * format.C (FormatNamesEqual): new functor
2329         (getFormat): use it
2330         (getNumber): use it
2331         (add): use it
2332         (erase): use it
2333         (setViewer): use it
2334
2335         * converter.C (compare_Converter): rename to...
2336         (ConverterEqual): ...this, and fixup a bit.
2337         (getConverter): use it, and make function const
2338         (getNumber): use it, and make function const
2339         (add): use it
2340         (erase): use it:
2341
2342         * bufferlist.C: add using boost::bind
2343
2344         * MenuBackend.C (MenuNamesEqual): new functor
2345         (hasMenu): use it, and make function const
2346         (hasSubmenu): use nested bind to get rid of compare_memfun.
2347
2348 2004-01-30  André Pönitz  <poenitz@gmx.net>
2349
2350         * BufferView_pimpl.C:
2351         * cursor.C:
2352         * cursor.h:
2353         * cursor_slice.[Ch]:
2354         * lyxfunc.C:
2355         * lyxtext.h:
2356         * paragraph_funcs.C:
2357         * paragraph_funcs.h:
2358         * rowpainter.C:
2359         * text.C:
2360         * text2.C:
2361         * text3.C: move some of the edit(x,y) handling to the insets
2362         some coordinate changes.
2363
2364 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2365
2366         * text.C: add using statements for std::advance and std::distance
2367
2368         * paragraph.C: add using statement for std::distance
2369
2370         * lyxfind.C: add using statement for std::advance
2371
2372         * cursor.C (region): remove std:: from swap
2373         (openable): use nucleus in stead of operator->
2374
2375         * BufferView.C: add using statements for std::distance and std::swap
2376
2377 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2378
2379         * iterators.C: Remove the pimple, move the needed structures to
2380         the header file. Create accessor for the positions stack.
2381         (asPosIterator): remove function
2382
2383         * PosIterator.C (PosIterator): move constructors to top of file
2384         (PosIterator): reimplement the constructor taking a ParIterator in
2385         terms of setFrom.
2386         (setFrom): new function
2387         (operator!=): inline it
2388
2389 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2390
2391         * lyxfind.C (replaceAll): use std::advance
2392
2393         * iterators.h: inherit from std::iterator.
2394
2395         * PosIterator.C (advance, distance): remove
2396         * PosIterator.h: interit from std::iterator.
2397
2398 2004-01-26  André Pönitz  <poenitz@gmx.net>
2399
2400         * BufferView.[Ch]:
2401         * BufferView_pimpl.[Ch]:
2402         * InsetList.[Ch]:
2403         * PosIterator.[Ch]:
2404         * buffer.h:
2405         * bufferview_funcs.C:
2406         * cursor.[Ch]:
2407         * cursor_slice.h:
2408         * factory.[Ch]:
2409         * iterators.[Ch]:
2410         * lyxfind.C:
2411         * lyxfunc.C:
2412         * lyxtext.h:
2413         * output_docbook.C:
2414         * output_latex.C:
2415         * output_linuxdoc.C:
2416         * output_plaintext.C:
2417         * paragraph.[Ch]:
2418         * paragraph_funcs.[Ch]:
2419         * paragraph_pimpl.[Ch]:
2420         * rowpainter.C:
2421         * tabular.C:
2422         * tabular.h:
2423         * text.C:
2424         * text2.C:
2425         * text3.C: more IU:  dumps most of the rest of the mathcursor
2426     implementation into cursor.[Ch]; "globalize" a bit of it.
2427
2428 2004-01-25  Angus Leeming  <leeming@lyx.org>
2429
2430         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2431
2432 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2433
2434         * LaTeXFeatures.h: add nice_ and nice() const
2435         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2436
2437 2004-01-20  André Pönitz  <poenitz@gmx.net>
2438
2439         * BufferView.[Ch]:
2440         * BufferView_pimpl.C:
2441         * PosIterator.C:
2442         * bufferview_funcs.C:
2443         * cursor.[Ch]:
2444         * cursor_slice.[Ch]:
2445         * factory.C:
2446         * iterators.C:
2447         * lyx_cb.C:
2448         * lyxfind.C:
2449         * lyxfunc.C:
2450         * lyxtext.h:
2451         * rowpainter.C:
2452         * text.C:
2453         * text2.C:
2454         * text3.C:
2455         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2456           LCursor and mathcursor parts to LCursor and InsetBase.
2457
2458 2004-01-15  André Pönitz  <poenitz@gmx.net>
2459
2460         * cursor_slice.[Ch]: add a few covienience functions
2461
2462         * funcrequest.[Ch]: remove BufferView * member
2463
2464         * BufferView_pimpl.C:
2465         * cursor.C:
2466         * factory.[Ch]:
2467         * lyxfind.[Ch]:
2468         * lyxfunc.C:
2469         * lyxtext.h:
2470         * text3.C:
2471         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2472
2473 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2474
2475         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2476         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2477
2478 2004-01-13  André Pönitz  <poenitz@gmx.net>
2479
2480         * textcursor.[Ch]:
2481         * lyxtext.h: hide cursor and selection anchor behind accessor function
2482
2483         * BufferView.C:
2484         * BufferView_pimpl.[Ch]:
2485         * PosIterator.C:
2486         * bufferview_funcs.C:
2487         * cursor.h:
2488         * lyxfind.C:
2489         * lyxfunc.C:
2490         * text.C:
2491         * text2.C:
2492         * text3.C:
2493         * undo.C: adjust
2494
2495         * cursor.h:
2496         * cursor_slice.[Ch]: some integer type changes for inset unification
2497
2498         * lyxcursor.[hC]: remove, it's CursorSlice now.
2499
2500         * Makefile.am:
2501         * BufferView_pimpl.[Ch]:
2502         * bufferview_funcs.C:
2503         * cursor_slice.C:
2504         * lyxtext.h:
2505         * text.C:
2506         * text2.C:
2507         * text3.C:
2508         * textcursor.[Ch]: adjust
2509
2510 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2511
2512         * text2.C (undoSpan): add and use
2513         * text.C (breakParagraph): use undoSpan (fix bug 578)
2514         * lyxtext.h: adjust
2515
2516 2004-01-08  Angus Leeming  <leeming@lyx.org>
2517
2518         * BufferView_pimpl.C (MenuInsertLyXFile):
2519         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2520         * lyxfunc.C (menuNew, open, doImport):
2521         FileFilterList change to the FileDialog open and save functions.
2522
2523 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2524
2525         * ShareContainer.h: make isEqual and isUnique adaptable
2526
2527         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2528
2529 2004-01-07  Angus Leeming  <leeming@lyx.org>
2530
2531         * LyXAction.C:
2532         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2533
2534         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2535
2536         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2537         functions replacing find, replace and replaceAll.
2538
2539         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2540         LFUN_WORDFIND(FORWARD|BACKWARD).
2541
2542 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2543
2544         * text.C (breakParagraph): remove an outdated #warning
2545
2546 2004-01-07  André Pönitz  <poenitz@gmx.net>
2547
2548         * lyxfind.C: somewhat clearer logic
2549
2550         * text.C: prevent crash in cursorX on unitialized row cache
2551
2552 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2553
2554         * lyxcursor.[Ch] (operator>): add
2555         * textcursor.C (selStart, selEnd): use std::min and std::max
2556
2557 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2558
2559         * Chktex.C: include boost/format.hpp
2560
2561 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2562
2563         * InsetList.C: replace functor MathcIt with adaptable functor
2564         InsetTablePosLess
2565         (insetIterator): modify accordingly
2566
2567         * BranchList.h: move the BranchNamesEqual functor here from...
2568         * BranchList.C: ... to here
2569
2570         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2571         SameName and match.
2572         (add): replace a finding loop with std::find_if.
2573
2574 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2575
2576         * output_docbook.C: moving LatexParam functionality into
2577         .layout files
2578
2579 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2580
2581         * buffer.C: increment format to 229.
2582
2583 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2584
2585         * LaTeXFeatures.C:
2586         * lyx_sty.[Ch]: remove minipageindent_def
2587
2588         * LyXAction.C:
2589         * factory.C:
2590         * lfuns.h:
2591         * lyxfunc.C:
2592         * text3.C: remove LFUN_INSET_MINIPAGE
2593
2594 2003-12-28  Angus Leeming  <leeming@lyx.org>
2595
2596         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2597
2598 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2599
2600         * text2.C (setParagraph): fix off-by-one crash
2601
2602 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2603
2604         * output_docbook.C: header stuff for AGU
2605
2606 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2607
2608         * text2.C (redoCursor): remove
2609         * text.C:
2610         * text3.C:
2611         * BufferView_pimpl.C: remove calls to redoCursor and
2612         setCursor(cursor.par(), cursor.pos()) all around
2613
2614 2003-12-15  Angus Leeming  <leeming@lyx.org>
2615
2616         * buffer.C: up the format to 228.
2617
2618 2003-12-15  André Pönitz  <poenitz@gmx.net>
2619
2620         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2621         slices
2622
2623         * Makefile.am:
2624
2625         * BufferView_pimpl.C:
2626         * cursor.[Ch]:
2627         * lyxcursor.[Ch]:
2628         * rowpainter.[Ch]:
2629         * lyxtext.h:
2630         * text.C:
2631         * text2.C:
2632         * text3.C: adjust
2633
2634 2003-12-15  Angus Leeming  <leeming@lyx.org>
2635
2636         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2637         than getFromGUIName to manipulate the color.
2638
2639 2003-12-14  Angus Leeming  <leeming@lyx.org>
2640
2641         * BranchList.[Ch]: minimize the API.
2642         (Branch::getBranch, getColor): now return a 'const &'.
2643         (Branch::setSelected) now returns a bool set to true if the
2644         selection status changes.
2645         (BranchList::clear, size, getColor, setColor, setSelected,
2646         allBranches, allSelected, separator): removed.
2647         (BranchList::find): new functions, returning the Branch with
2648         the given name.
2649         (BranchList::add, remove): return a bool indicating that
2650         the operation was successful.
2651
2652         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2653         new InsetBranch::isBranchSlected member function.
2654
2655         * LColor.[Ch]: mimimize the API.
2656         (fill): renamed as addColor and made private.
2657         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2658         versions of these functions taking a string arg have been removed.
2659
2660         * bufferparams.C (readToken):
2661         * lyxfunc.C (dispatch):
2662         * lyxrc.C (read): changes due to the altered BranchList and
2663         LColor APIs.
2664
2665         * factory.C (createInset, readInset): changes due to altered
2666         InsetBranch c-tor.
2667
2668 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2669
2670         * factory.C:
2671         * lyxfunc.C: remove insetminipage. "minipage-insert"
2672         now produces a frameless minipage box inset.
2673
2674 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2675
2676         * textcursor.[Ch] (selStart,selEnd): add new methods
2677         remove selection::start, end, use LyXCursor::operator<
2678         * lyxcursor.[Ch] (operator<): add
2679         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2680         * BufferView.[Ch] (unsetXSel): add
2681         * text2.C (clearSelection): use unsetXSel,adjust
2682         * text.C: adjust
2683         * text3.C: adjust
2684         * rowpainter.C: adjust
2685         * bufferview_funcs.C (put_selection_at): adjust
2686
2687 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2688
2689         * BufferView_pimpl.C: small coord. correction
2690
2691 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2694         dragging over the splash screen.
2695
2696 2003-12-11  Angus Leeming  <leeming@lyx.org>
2697
2698         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2699         as it is now handled in LyXText::dispatch.
2700
2701         * text3.C (doInsertInset): remove a level of nesting.
2702
2703 2003-12-11  Angus Leeming  <leeming@lyx.org>
2704
2705         * factory.C (createInset): changes due to the changed interface to
2706         InsetCommandMailer::string2params.
2707
2708 2003-12-10  Angus Leeming  <leeming@lyx.org>
2709
2710         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2711         'dialog-show-new-inset <inset name>'
2712
2713 2003-12-10  Angus Leeming  <leeming@lyx.org>
2714
2715         * buffer.C: up the format to 227.
2716
2717         * factory.C: the box inset is now identified simply by 'Box'.
2718
2719 2003-12-10  Angus Leeming  <leeming@lyx.org>
2720
2721         * buffer.C: up the format to 226.
2722
2723         * factory.C: the note inset is now identified simply by 'Note'.
2724
2725 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2726
2727         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2728         when a pit is enough. Standarize a couple of loops.
2729
2730 2003-12-05  Angus Leeming  <leeming@lyx.org>
2731
2732         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2733         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2734         data to the re-worked "log" dialog.
2735
2736 2003-12-03  André Pönitz  <poenitz@gmx.net>
2737
2738         * PosIterator.C:
2739         * iterators.C:
2740         * lyxtext.h:
2741         * output_latex.C:
2742         * paragraph_funcs.C:
2743         * text.C:
2744         * text2.C: use Inset::getText instead of Inset::getParagraph
2745
2746 2003-12-03  André Pönitz  <poenitz@gmx.net>
2747
2748         * buffer.[Ch]:
2749         * lyxtext.h:
2750         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2751         InsetText::read() as LyXText::read()
2752
2753 2003-12-02  Angus Leeming  <leeming@lyx.org>
2754
2755         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2756         type. Add a comment in the implementation that the function uses
2757         the stream's bad() function rather than fail() as the std::streams
2758         would do.
2759
2760 2003-12-02  André Pönitz  <poenitz@gmx.net>
2761
2762         * lyxlex.[Ch]: make interface more similar to std::stream
2763
2764         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2765
2766 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2767
2768         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2769
2770 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2771
2772         * vspace.[Ch]: remove VSpace::NONE
2773
2774 2003-12-01  André Pönitz  <poenitz@gmx.net>
2775
2776         * buffer.[Ch]:
2777         * lyxtext.h: move ParagraphList member to LyXText
2778         rename LyXText::ownerParagraphs to LyXText::paragraph
2779
2780         * CutAndPaste.C:
2781         * bufferview_funcs.C:
2782         * iterators.[Ch]:
2783         * lyx_cb.C:
2784         * paragraph.C:
2785         * rowpainter.C:
2786         * tabular.C:
2787         * text.C:
2788         * text2.C:
2789         * text3.C: adjust
2790
2791         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2792
2793         * undo.C: fix cursor positioning
2794
2795 2003-12-01  John Levon  <levon@movementarian.org>
2796
2797         * BufferView_pimpl.C: fix a crash on exit with
2798         a buffer open
2799
2800 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2801
2802         * BranchList.C: fix setSelected() method.
2803
2804 2003-11-28  André Pönitz  <poenitz@gmx.net>
2805
2806         * ParagraphParameters.[Ch]:
2807         * ParameterStruct.h: remove space above/below from Paragraph to
2808          InsetVSpace
2809
2810         * BufferView_pimpl.C:
2811         * factory.C:
2812         * lyxfunc.C:
2813         * lyxtext.h:
2814         * output_latex.C:
2815         * paragraph.C:
2816         * paragraph_funcs.C:
2817         * rowpainter.[Ch]:
2818         * text.C:
2819         * text2.C:
2820         * text3.C: adjust
2821
2822 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2823
2824         * factory.C: Syntax change for CharStyles
2825
2826 2003-11-28  André Pönitz  <poenitz@gmx.net>
2827
2828         * BufferView.[Ch]:
2829         * BufferView.[Ch]:
2830         * buffer.[Ch]:
2831         * buffer.[Ch]: move LyXText member
2832
2833 2003-11-28  André Pönitz  <poenitz@gmx.net>
2834
2835         * BufferView.[Ch]: make LyXText * text a private member
2836
2837         * BufferView_pimpl.C:
2838         * cursor.C:
2839         * iterators.C:
2840         * lyx_cb.C:
2841         * lyxfind.C:
2842         * lyxtext.h:
2843         * rowpainter.[Ch]:
2844         * text.C:
2845         * text2.C:
2846         * undo.C: adjust
2847
2848         * output_plaintext.C: cleanup
2849
2850 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2851
2852         * buffer.C:
2853         * lyxtextclass.[Ch]: parametrize SGML document header
2854
2855 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2856
2857         * converter.[Ch]:
2858         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2859         getFlavor().
2860
2861 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2862
2863         * text2.C (setFont): rework using PosIterator (no more recursive)
2864         (setCharFont): no more needed
2865         (setLayout): no more selection cursors fiddling (done by redoCursor)
2866         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2867         destroy remaining ones)
2868
2869 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2870
2871         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2872         * lyxtext.h: ditto
2873         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2874         selection cursors
2875         * lyxfunc.C: adjust
2876         * text3.C: adjust + re-allow multi par depth changes
2877         * textcursor.C: simplify a bit
2878
2879 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2880
2881         * src/buffer.C:
2882         * src/lyxlayout.C:
2883         * src/lyxlayout.h:
2884         * src/lyxtext.h:
2885         * src/output_docbook.C:
2886         * src/output_latex.C:
2887         * src/paragraph.C:
2888         * src/paragraph.h:
2889         * src/sgml.C:
2890         * src/sgml.h:
2891         * src/text2.C: Introducing a number of tags parametrizing various
2892         XML formats that we may want to support
2893
2894 2003-11-25  André Pönitz  <poenitz@gmx.net>
2895
2896         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2897
2898         * lyxtext.h (leftMargin/rightMargin): simplify interface
2899
2900         * rowpainter.C:
2901         * text.C:
2902         * text2.C:
2903         * text3.C: adjust
2904
2905 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2906
2907         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2908         master file to any child files. Fixes bug 546.
2909
2910 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2911
2912         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2913
2914 2003-11-24  André Pönitz  <poenitz@gmx.net>
2915
2916         * rowpainter.C: simplification
2917
2918         * text2.C (updateCounters): remove call to redoParagraph on
2919         changed labels as this is far too expensive.
2920
2921 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2922
2923         * converter.C (convert): fix a crash: this function gets
2924         called with buffer == 0 from importer code.
2925
2926 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2927
2928         * text3.C (cursorPrevious): make sure that we do not compare
2929         iterators form different containers.
2930         (cursorNext): ditto
2931
2932         * rowpainter.C (paintSelection): make sure that we do not compare
2933         iterators from different containers.
2934
2935         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2936         iterators from different ParagraphList containers.
2937         [NEXT] ditto
2938
2939         * text2.C (LyXText): change order of initialization slightly
2940         (operator=): new function. copy all variables except cache_par_
2941         (moveUp): make sure that we do not compare iterators from
2942         different ParagraphList constainers.
2943         (moveDown): ditto
2944
2945         * text.C (firstPar): new function
2946         (lastPar): new function
2947         (endPar): new function
2948
2949         * lyxtext.h: move things around and group public functions, public
2950         variables, private functions, private variables
2951
2952 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2953
2954         * factory.C: change call to InsetERT constructor to avoid
2955         additional invocation of method status
2956         * text2.C (toggleInset): remove redundant update() call
2957         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2958         instead of a Bufferview pointer
2959
2960 2003-11-21  André Pönitz  <poenitz@gmx.net>
2961
2962         * rowpainter.C: simplification
2963
2964 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * text3.C (dispatch): make possible to extend a word/row selection
2967         with the mouse
2968
2969 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2970
2971         * lyxtext.h: x0_,y0_ -> xo_,yo_
2972         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2973         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2974         * rowpainter.C (paintRows): paint full paragraphs
2975
2976 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2979         screen coordinates)
2980
2981 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2982
2983         * lyxtext.h: add x0_, y0_
2984         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2985         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2986
2987 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2988
2989         * text2.C (setCursorIntern): move the x_target update here *
2990         * text3.C: change some bv() to true/false in calls to
2991         cursorUp/Down/Right/Left
2992         * cursor.C: use helper function.
2993
2994 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2997         * paragraph_funcs.[Ch]: correct comment
2998         * rowpainter.C: do not paint selections away from bv->cursor()
2999         Fix a long standing selection painting bug.
3000         * text3.C: generalize mouse-selection code to LyXTexts other that
3001         top one
3002         * textcursor.C: do not use y coords if we can use par offsets
3003
3004 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3007         cursor position after e.g. inset insert)
3008
3009 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3010
3011         * lyxfind.C (replace): adjust to locking removal + some
3012         code simplification
3013
3014 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3015
3016         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3017         of the path
3018
3019 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3020
3021         * lyxlayout.[Ch]:
3022         * output_docbook.C: XML sanitation: new layout
3023         parameters InnerTag and CommandDepth
3024
3025 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3026
3027         * BufferView_pimpl.C:
3028         * factory.C:
3029         * text3.C: Fix the insertion and modification of button-style
3030         insets
3031
3032 2003-11-13  André Pönitz  <poenitz@gmx.net>
3033
3034         * InsetList.[Ch]: remove deleteLyXText
3035
3036         * paragraph.[Ch]: cache beginOfBody position
3037
3038         * Bidi.C:
3039         * text.C:
3040         * text2.C:
3041         * text3.C: remove superfluous update() calls
3042
3043         * vspace.C: cleanup
3044
3045 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3046
3047         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3048         * BufferView.C (fitLockedInsetCursor): remove
3049         * cursor.[Ch] (getDim): add
3050         * text.C (getRowNearY): add faster version
3051         * text3.C: remove some update calls
3052
3053 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3054
3055         * LaTeXFeatures.C:
3056         * LyXAction.C:
3057         * MenuBackend.C:
3058         * MenuBackend.h:
3059         * dispatchresult.h:
3060         * factory.C:
3061         * lfuns.h:
3062         * lyxfunc.C:
3063         * lyxtextclass.C:
3064         * lyxtextclass.h:
3065         * text3.C: The Character Style /XML short element patch.
3066
3067 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3068
3069         * text3.C:
3070         * factory.C: Small step to solving 'unable to insert some insets'
3071         problem
3072
3073 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3074
3075         * cursor.[Ch] (updatePos): new function for updating the y
3076         position of the tip inset
3077         * bufferview_funcs.C (put_selection_at):
3078         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3079
3080 2003-11-11  André Pönitz  <poenitz@gmx.net>
3081
3082         * text.C: remove big comment on invalid Paragraph pointers as it is
3083         not valid anymore
3084
3085 2003-11-11  André Pönitz  <poenitz@gmx.net>
3086
3087         * text_funcs.[Ch]: merge with ...
3088
3089         * text.C: ... this
3090
3091         * lyxtext.h:
3092         * text2.C:
3093         * text3.C: adjust
3094
3095         * Makefile.am: remove text_funcs.[Ch]
3096
3097 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3098
3099         * cursor.C (getPos): return absolute cached y coord
3100
3101         * BufferView_pimpl.C (fitCursor): new simplistic code
3102         (workAreaDispatch): add a fitCursor call
3103
3104 2003-11-10  André Pönitz  <poenitz@gmx.net>
3105
3106         * BufferView.[Ch]:
3107         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3108
3109 2003-11-10  André Pönitz  <poenitz@gmx.net>
3110
3111         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3112         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3113         indicate that the cursor needs to leave an inset
3114
3115         * lyxtext.h: remove inset locking
3116
3117         * cursor.[Ch]: re-implement functionality provided by inset locking
3118
3119         * BufferView.[Ch]:
3120         * BufferView_pimpl.[Ch]:
3121         * LyXAction.C:
3122         * bufferview_funcs.[Ch]:
3123         * factory.C:
3124         * funcrequest.[Ch]:
3125         * iterators.C:
3126         * lyx_cb.C:
3127         * lyxfind.C:
3128         * lyxfunc.C:
3129         * text.C:
3130         * text2.C:
3131         * text3.C:
3132         * undo.C: adjust
3133
3134 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3135
3136         * PosIterator.[Ch]: replace the stack with a vector, add inset
3137         accesor
3138         * iterators.[C]: adjust
3139
3140 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3141
3142         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3143         replaced
3144         * paragraph_funcs.C (readParToken): put the correct id in the
3145         error item, not the id of the top paragraph
3146
3147 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3150         * bufferview_funcs.C (put_selection_at): use the above
3151
3152 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3153
3154         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3155
3156 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3157
3158         * output_linuxdoc.h:
3159         * output_plaintext.h:
3160         * output.h:
3161         * output_docbook.h: add #include statements
3162
3163 2003-11-05  José Matos  <jamatos@lyx.org>
3164
3165         * output_docbook.[Ch]:
3166         * output_latex.[Ch]:
3167         * output_linuxdoc.[Ch]:
3168         * output_plaintext.[Ch]: New files for output formats.
3169         * output.[Ch]: New file for helper functions.
3170
3171         * buffer.[Ch]:
3172         * paragraph_funcs.[Ch]: output functions moved to new files.
3173
3174         * outputparams.h: rename of latexrunparams.h
3175
3176         * LaTeX.[Ch]:
3177         * buffer.[Ch]:
3178         * bufferlist.[Ch]:
3179         * converter.[Ch]:
3180         * exporter.C:
3181         * paragraph.[Ch]:
3182         * paragraph_funcs.[Ch]:
3183         * paragraph_pimpl.[Ch]:
3184         * tabular.[Ch]: rename ascii to plaintext
3185         and LatexRunParams to OutputParams.
3186
3187 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3188
3189         * iterators.[Ch] (text): require bv argument
3190         * undo.C (recordUndo):
3191         * lyxfunc.C (dispatch):
3192         * bufferview_funcs.C (put_selection_at): adjust
3193
3194 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3195
3196         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3197
3198 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3199
3200         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3201         nestings
3202
3203 2003-11-04  André Pönitz  <poenitz@gmx.net>
3204
3205         * cursor.[Ch]: restructure
3206
3207         * BufferView.[Ch]:
3208         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3209
3210         * iterators.[Ch] (asCursor): remove
3211
3212         * lfuns.h: remove LFUN_INSET_EDIT
3213
3214         * lyxfunc.C:
3215         * tabular.C:
3216         * text.C:
3217         * text2.C:
3218         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3219
3220 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3221
3222         * lyxfind.[Ch]: complete overhaul
3223         * BufferView_pimpl.C:
3224         * lyxfunc.C: adjust
3225         * paragraph.[Ch] (insert): add
3226
3227 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3228
3229         * BufferView.[Ch]:
3230         * lyxtext.h:
3231         * text.C: remove dead spellcheck code
3232
3233 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3234
3235         * dispatchresult.h: add a val setter
3236
3237         * cursor.C (dispatch): use a tempvar for data_[i]
3238
3239 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * PosIterator.[Ch]: compile fix
3242
3243 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * text.C (cursorPar): deactivate the cursor cache
3246
3247 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3250
3251 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3252
3253         * text3.C (dispatch): adjust for new DisptchResult semantics.
3254
3255         * lyxfunc.C (dispatch): handle update when return from
3256         Cursor::dispatch, adjust for new DispatchResult semantics.
3257
3258         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3259         DispatchResult(true) mean to not update. Add class functions for
3260         setting dispatched and update, as well as reading.
3261
3262         * cursor.C (dispatch): don't handle update here
3263
3264 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3265
3266         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3267         * trans_mgr.C: adjust
3268
3269         * paragraph_funcs.C (readParToken): exception safety
3270
3271         * lyxvc.h: store the vcs pointer in a scoped_ptr
3272         * lyxvc.C: adjust
3273
3274         * lyxsocket.C (serverCallback): exception safety
3275
3276         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3277
3278         * ispell.C (clone): make it return a auto_ptr
3279
3280         * factory.C (createInset): exception safety
3281         (readInset): exception safety
3282
3283         * bufferlist.C (newBuffer): exception safety
3284
3285         * Thesaurus.C (Thesaurus): use initialization for aik_
3286
3287         * MenuBackend.C (expandToc): exception safety.
3288
3289 2003-11-03  André Pönitz  <poenitz@gmx.net>
3290
3291         * buffer.C:
3292         * buffer.h:
3293         * bufferview_funcs.C: remove getInsetFromId()
3294
3295         * lyxcursor.[Ch]:
3296         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3297
3298         * lyxfunc.C:
3299         * text2.C:
3300         * text3.C: adjust
3301
3302 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3303
3304         * PosIterator.C (distance, advance): new
3305         * bufferview_funcs.[Ch] (put_selection_at): new
3306         * iterators.[Ch] (lockPath): new
3307
3308 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3309
3310         * iterators.[Ch] (asPosIterator): added
3311         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3312         * PosIterator.[Ch]: added
3313
3314 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3315
3316         * text3.C:
3317         * lyxfunc.C:
3318         * cursor.C (dispatch):
3319         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3320
3321         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3322         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3323         contructor, add a class function dispatched. Remove operator>=
3324
3325 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3326
3327         * debug.C: only use the default constructor for debugstream
3328         (lyxerr) here.
3329
3330         * main.C (main): include debug.h and setup the lyxerr streambuf
3331         here.
3332
3333 2003-10-31  José Matos  <jamatos@lyx.org>
3334
3335         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3336
3337         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3338         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3339         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3340         * paragraph_pimpl.C (simpleTeXSpecialC):
3341         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3342         add LatexRunParams argument.
3343
3344         * exporter.C (Export): change call accordingly.
3345
3346         * latexrunparams.h: add new member to take care of the other backends.
3347 2003-10-30  José Matos  <jamatos@lyx.org>
3348
3349         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3350         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3351         factorise code for paragraph output.
3352         * buffer.[Ch]:
3353         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3354         move functions.
3355
3356 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * text3.C (dispatch):
3359         * lyxfunc.C (dispatch):
3360         * cursor.C (dispatch):
3361         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3362
3363         * dispatchresult.h: make the dispatch_result_t ctor explicit
3364
3365 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3366
3367         * sgml.[Ch]:
3368         * buffer.C: small refactoring of docbook stuff
3369
3370 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3371
3372         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3373         meaning.
3374
3375 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3378         operator dispatch_result_t, and operators for == != and >=
3379
3380         * cursor.C (dispatch): adjust for operator dispatch_result_t
3381         removal. comment out call to update
3382
3383         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3384
3385 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * text3.C:
3388         * text2.C:
3389         * text.C:
3390         * lyxtext.h:
3391         * lyxfunc.C:
3392         * cursor.C:
3393         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3394         (dispatch):
3395
3396         * dispatchresult.h: new file, DispatchResult broken out of
3397         insets/insetbase.h
3398
3399         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3400
3401 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * text.C (rowBreakPoint): put a hack inside #if 0
3404
3405 2003-10-28  André Pönitz  <poenitz@gmx.net>
3406
3407         * lyxtext.h:
3408         * metricsinfo.C:
3409         * paragraph_funcs.C:
3410         * rowpainter.C:
3411         * text.C:
3412         * text2.C: general cleanup (lots of small stuff)
3413
3414 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3415
3416         * text2.C (cursorEnd): simple fix to the "end key goes to one
3417         before the end on last row" bug
3418
3419 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3420
3421         * text.C (backspace): fix the "zombie characters"
3422
3423 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3424
3425         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3426
3427 2003-10-27  André Pönitz  <poenitz@gmx.net>
3428
3429         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3430
3431         * factory.C: handle new InsetPagebreak, InsetLine
3432
3433         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3434         and move handling into new InsetPagebreak, InsetLine
3435
3436         * BufferView_pimpl.C:
3437         * LyXAction.C:
3438         * ParagraphParameters.C:
3439         * ParameterStruct.h:
3440         * lyxfunc.C:
3441         * lyxtext.h:
3442         * paragraph.C:
3443         * paragraph.h:
3444         * paragraph_funcs.C:
3445         * paragraph_pimpl.C:
3446         * rowpainter.C:
3447         * text.C:
3448         * text2.C:
3449         * text3.C: adjust
3450
3451 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3452
3453         * text.C:
3454         * lyxrow_funcs.[Ch]:
3455         * Bidi.C:
3456         * paragraph.C:
3457         * lyxtext.h:
3458         * rowpainter.C:
3459         * text2.C:
3460         * text3.C: remove lastPos uses in favour of Row::endpos
3461
3462 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3463
3464         * undo.C (performUndoOrRedo): fix two crashes by setting a
3465         cursor by hand and reordering some calls. Use bv->lockInset instead
3466         of inset->edit because the latter loses cursor information
3467
3468 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3469
3470         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3471         by Martin
3472         (rowBreakPoint): fix width. change point to point + 1.
3473         Add a missing check.
3474
3475 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3476
3477         * MenuBackend.C:
3478         * lyxfunc.C: fix (at least partly) the problems
3479         with the Nav menu and headers inside branch insets
3480         reported by Kayvan
3481
3482 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3483
3484         * paragraph.C (getChar): add strong asserts
3485
3486         * lyxrow_funcs.C (lastPos): remove hideous hack
3487
3488         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3489         (fill): adjust to that (avoid an infinite loop)
3490
3491 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3494
3495 2003-10-23  André Pönitz  <poenitz@gmx.net>
3496
3497         * RowList_fwd.h: change list<> to vector<> to gain speed
3498         after suggestion from Alfredo
3499
3500 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3501
3502         * lyxtext.h: move the bidi stuff from here...
3503         * text.C: and here
3504         * text2.C: and here
3505         * Bidi.[Ch]: ... to here
3506
3507 2003-10-23  André Pönitz  <poenitz@gmx.net>
3508
3509         * lyxtext.h:
3510         * text.C (isLastRow, isFirstRow): new functions
3511
3512         * paragraph.h: new width cache member
3513
3514         * rowpainter.C: replace RowList::iterator with Row & where possible
3515
3516         * lyxfunc.C: replace several view()->text with a single call
3517
3518         * toc.C: fix 'unused' warning
3519
3520 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3523         when woring with stream::pos_type
3524         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3525
3526 2003-10-22  André Pönitz  <poenitz@gmx.net>
3527
3528         * lyxtext.h:
3529         * text.C: use Row & instead of RowList::iterator
3530
3531         * lyxrow.h: rename end() to endpos()
3532
3533         * rowpainter.C:
3534         * text.C:
3535         * text2.C: adjust
3536
3537 2003-10-22  Angus Leeming  <leeming@lyx.org>
3538
3539         * buffer.[Ch] (fully_loaded): new member function, returning true
3540         only when the file has been loaded fully.
3541         Used to prevent the premature generation of previews and by the
3542         citation inset to prevent computation of the natbib-style label.
3543
3544         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3545         templates are all set up.
3546
3547         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3548
3549 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3550
3551         * text.C: fixed an "oops" in the "is a bit silly"
3552         bug fix
3553
3554 2003-10-21  André Pönitz  <poenitz@gmx.net>
3555
3556         * FuncStatus.[Ch]: small stuff, whitespace
3557
3558         * lyxfont.[Ch]: operator<<() for debug reasons
3559
3560         * lyxfunc.C:
3561         * lyxrow_funcs.C:
3562         * lyxtext.h: whitespace, spelling
3563
3564         * paragraph.C: naming of variables
3565
3566         * text.C:
3567         * text2.C: small stuff
3568
3569
3570 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3571
3572         * text.C: (1) finish off the inset display() work;
3573         (2) fix the "is a bit silly" bug (accessing char
3574         past end of par).
3575
3576 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3577
3578         * text.C: re-introduce display() for insets, fixing the
3579         various bugs (stretch of line above, math inset
3580         positioning, ...)
3581
3582 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3583
3584         * text.C (rightMargin): remove spurious semicolon
3585
3586         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3587         1415)
3588
3589 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3590
3591         * text3.C: fix one crash due to wrong cursor def
3592
3593 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * vc-backend.C (scanMaster): make the regex static
3596
3597         * LaTeX.C (scanAuxFile): make the regexs static
3598
3599         * text3.C (doInsertInset, dispatch, dispatch):
3600         * text2.C (cursorUp, cursorDown):
3601         * text.C (selectNextWordToSpellcheck):
3602         * BufferView_pimpl.C (dispatch):
3603         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3604
3605 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3606
3607         * lyxsocket.C: include <cerrno>
3608
3609 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * lyxfunc.C (dispatch): remove textcache stuff
3612
3613         * bufferlist.C (release): remove textcache stuff
3614         (closeAll): ditto
3615
3616         * TextCache.C: delete file
3617         * TextCache.h: delete file
3618
3619         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3620
3621         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3622         delete of the bv_->text.
3623         (resizeCurrentBuffer): remove texcache stuff
3624         (workAreaResize): ditto
3625
3626 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3629         action.
3630
3631 2003-10-16  André Pönitz  <poenitz@gmx.net>
3632
3633         * lyxrow.[Ch]:
3634         * paragraph.h:
3635         * rowpainter.C:
3636         * text.C:
3637         * text2.C:
3638         * text3.C: speed up by storing y positions per paragraph plus per-row
3639         offset instead of having a 'full' y position in the row.
3640
3641 2003-10-15  André Pönitz  <poenitz@gmx.net>
3642
3643         * iterators.[Ch]:
3644         * iterators.[Ch]:
3645         * undo.[Ch]: make undo aware of inner insets
3646
3647 2003-10-14  Angus Leeming  <leeming@lyx.org>
3648
3649         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3650         static member functions LyX::ref() and LyX::cref.
3651         (lastfiles): new accessor functions for the new lastfiles_ member var.
3652         (addLyXView, views_): add a new LyXView to the list of views_.
3653         (updateInset): loop over all LyXViews to call their own updateInset
3654         member function, returning a pointer to the Buffer owning the inset.
3655
3656         * BufferView_pimpl.C (loadLyXFile):
3657         * MenuBackend.C (expandLastfiles):
3658         * bufferlist.C (MenuWrite, QuitLyX):
3659         lastfiles is no longer a global variable.
3660         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3661
3662         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3663         static function. Access through LyX::cref().emergencyCleanup().
3664
3665 2003-10-14  André Pönitz  <poenitz@gmx.net>
3666
3667         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3668
3669         * undo.[Ch]: restoring part of 'undo in insets'
3670
3671         * Makefile.am:
3672         * undo_funcs.[Ch]: merge with undo.[Ch]
3673
3674         * tabular.C: small cleansing stuff
3675
3676 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3677
3678         * paragraph_funcs.C (readParToken): report unknown insets as error
3679         boxes. Use the outer paragraph as location (also for unknown
3680         tokens).
3681
3682         * factory.C (readInset): do not abort on reading an unknown inset.
3683         Eat it and return 0.
3684
3685 2003-10-13  Angus Leeming  <leeming@lyx.org>
3686
3687         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3688
3689         * lyxrc.C: displayTranslator is now a function,
3690         declared in GraphicsTypes.h.
3691
3692 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3693
3694         * format.C: new placeholder $$a to pass the socket address.
3695
3696         * bufferlist.[Ch]: new function getBufferFromTmp.
3697
3698         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3699           files in the temporary dir.
3700
3701 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3702
3703         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3704
3705         * Makefile.am: add lyxsocket.[Ch].
3706
3707         * lyx_main.C (error_handler): handle SIGPIPE.
3708
3709 2003-10-13  André Pönitz  <poenitz@gmx.net>
3710
3711         * BufferView_pimpl.C:
3712         * lyxtext.h:
3713         * text.C:
3714         * text2.C:
3715         * text3.C:
3716         * undo_funcs.[Ch]: use paroffset_type instead of
3717           ParagraphList::iterators to prevent multiple conversion
3718           (and get a more robust interface)
3719
3720 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3721
3722         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3723         * lyxtext.h: ditto
3724         * text3.C (dispatch): ditto
3725
3726 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3729         move the onlyfile, use onlyfile instead of foundfile in a couple
3730         of places.
3731
3732         * DepTable.C (update): flush the error stream a bit more
3733
3734 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3735
3736         * lyxserver.C (callback): adjust
3737
3738         * lyxfunc.C (getStatus): add a missing brace in commented code
3739         (ensureBufferClean): reindent
3740         (dispatch): delete version taking a string
3741
3742 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * LaTeX.C (deplog): move found file handlig from here...
3745         (handleFoundFile): .. to new function here.
3746         (deplog): make sure to discover several files mentioned on the
3747         same log line.
3748
3749 2003-10-10  André Pönitz  <poenitz@gmx.net>
3750
3751         * lyxfunc.C:
3752         * lyxtext.h:
3753         * tabular.C:
3754         * text.C:
3755         * text2.C:
3756         * text3.C: fix some of the tabular crashes
3757
3758 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3759
3760         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3761
3762         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3763
3764 2003-10-09  André Pönitz  <poenitz@gmx.net>
3765
3766         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3767
3768         * BufferView.C:
3769         * BufferView_pimpl.C:
3770         * bufferview_funcs.C:
3771         * lyx_cb.C:
3772         * lyxcursor.C:
3773         * lyxfind.C:
3774         * lyxfunc.C:
3775         * lyxtext.h:
3776         * text.C:
3777         * text2.C:
3778         * text3.C:
3779         * text_funcs.[Ch]:
3780         * textcursor.[Ch]:
3781         * undo_funcs.C: adjust
3782
3783 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * text2.C (incrementItemDepth): new function, use a backtracking
3786         algorithm to discover the correct item depth.
3787         (resetEnumCounterIfNeeded): new function, use a backtracking
3788         algorithm to discover if counter reset is needed.
3789         (setCounter): use them. Simplify a bit. Add different labels for
3790         different item depths for itemize.
3791
3792         * paragraph.C (Paragraph): remove initialization of enumdepth
3793         (operator=): ditto
3794
3795         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3796         enumerate and itemize. Change the type of itemdepth to signed char.
3797
3798 2003-10-08  André Pönitz  <poenitz@gmx.net>
3799
3800         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3801           thing assignable.
3802         * text.C:
3803         * text2.C: adjust
3804
3805         * tabular.[Ch]: fix crash after 'row-insert'
3806
3807 2003-10-08  Angus Leeming  <leeming@lyx.org>
3808
3809         Fix doxygen warnings.
3810
3811         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3812         Remove CutAndPaste:: prefix from header file declaration.
3813
3814         * LColor.h (fill): remove LColor:: prefix from declaration.
3815
3816         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3817         use lyx::depth_type rather than Paragraph::depth_type so that
3818         header file and .C file match.
3819
3820         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3821
3822         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3823         * aspell.C: \file aspell_local.C -> \file aspell.C
3824         * gettext.C: \file gettext.C -> \file src/gettext.C
3825         * gettext.h: \file gettext.h -> \file src/gettext.h
3826         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3827         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3828         * text.C: \file text.C -> \file src/text.C
3829
3830         * toc.C: move comment so that doxygen is not confused.
3831
3832 2003-10-07  Angus Leeming  <leeming@lyx.org>
3833
3834         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3835
3836 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3837
3838         * aspell.C:
3839         * aspell_local.h: add forgotten std::string's.
3840
3841 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3842
3843         * LaTeXFeatures.C:
3844         * LyXAction.C:
3845         * factory.C:
3846         * lfuns.h:
3847         * lyxfunc.C:
3848         * text3.C: The Box patch. Fancybox support, minipage, parbox
3849
3850 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3851
3852         * CutAndPaste.h:
3853         * DepTable.h:
3854         * FloatList.h:
3855         * LaTeXFeatures.h:
3856         * ParagraphParameters.h:
3857         * TextCache.h:
3858         * Thesaurus.h:
3859         * bufferlist.h:
3860         * exporter.h:
3861         * importer.h:
3862         * lastfiles.h:
3863         * lyxfind.h:
3864         * lyxfont.h:
3865         * lyxlex.h:
3866         * lyxtextclasslist.h:
3867         * messages.h:
3868         * paragraph.h:
3869         * paragraph_pimpl.C:
3870         * textcursor.h: add <string> and other small fixes to make Lars'
3871         std::string patch compile with STLport.
3872
3873 2003-10-06  Angus Leeming  <leeming@lyx.org>
3874
3875         * LColor.h: Add missing #include <string>.
3876
3877 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * All most all file in all subdirs: Make <string> be the prefered
3880         way of getting to std::string, add using declarations.
3881
3882 2003-10-06  André Pönitz  <poenitz@gmx.net>
3883
3884         * metricsinfo.C: initialize LyXFont before changing attribute.
3885         (fixes the 'math in \emph is upright' bug)
3886
3887 2003-10-06  André Pönitz  <poenitz@gmx.net>
3888
3889         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3890
3891 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3892
3893         * graph.C:
3894         * paragraph_pimpl.C: Small fixes to build using STLport
3895
3896 2003-10-02  André Pönitz  <poenitz@gmx.net>
3897
3898         * lyxfunc.C:
3899         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3900
3901 2003-10-01  André Pönitz  <poenitz@gmx.net>
3902
3903         * factory.C: assert early
3904
3905 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * lyx_main.C: remove the global debug object
3908
3909         * debug.h: adjust for new debugstream
3910
3911         * debug.C: adjust for new debugstream and keep the global debug
3912         object here.
3913
3914 2003-09-22  Angus Leeming  <leeming@lyx.org>
3915
3916         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3917         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3918         an incomplete class LyXFont.
3919
3920 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3921
3922         * factory.C: bug fix in branches
3923
3924 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * lyxfunc.C (processKeySym): adjust
3927         (dispatch): adjust
3928         (dispatch): change arg name from ev to func, adjust
3929         (sendDispatchMessage): ditto
3930
3931         * lyx_main.C (defaultKeyBindings): adjust keybindings
3932         (deadKeyBindings): ditto
3933
3934         * kbsequence.C (addkey): return a FuncRequest
3935
3936         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3937
3938         * kbmap.C (bind): take a FuncRequest as arg, adjust
3939         (read): adjust
3940         (lookup): adjust
3941         (defkey): change to take a FuncRequest as arg, adjust
3942         (findbinding): take a FuncRequest as arg, adjust.
3943
3944         * funcrequest.h (operator=): added
3945
3946         * funcrequest.C (FuncRequest): default kb_action changed from
3947         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3948
3949         * buffer.C (dispatch): simplify
3950         (dispatch): adjust to take a FuncRequest as arg, adjust
3951
3952         * boost.C (assertion_failed): change assertion message slightly
3953
3954         * ToolbarBackend.C (read): simplify
3955
3956         * MenuBackend.C (binding): adjust call to findbinding, add a
3957         message if no binding is found.
3958         (read): simplify
3959         (expandToc): correct by adding a empty FuncRequest
3960
3961         * LyXAction.C: include <boost/assert.hpp>
3962         (isPseudoAction): delete function
3963         (LookupFunc): change name to...
3964         (lookupFunc): this. change return type to FuncRequest.
3965         (getActionName): take kb_action as arg, simplify
3966         (funcHasFlag): add an assert, simplify.
3967
3968 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * toc.C (action): return a FuncRequest, simplify
3971
3972         * lyxfunc.C (processKeySym): adjust
3973         (getStatus): delete version that takes an int.
3974         (getStatus): adjust
3975         (dispatch): delete version that takes action as int
3976         (dispatch): adjust
3977         (sendDispatchMessage): simplify and adjust
3978
3979         * funcrequest.C (getArg): take unsigned int as arg
3980
3981         * ToolbarBackend.C (read): adjust
3982         (add): delete version that takes func as a string.
3983         (getIton): take a FuncRequest as arg
3984
3985         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3986         action.
3987
3988         * MenuBackend.C (MenuItem): add a new construct that only takes a
3989         Kind, simplify the constructor use for submenus.
3990         (add): adjust
3991         (expandLastfiles): adjust
3992         (expandDocuments): adjust
3993         (expandFormats): adjust
3994         (expandFloatListInsert): adjust
3995         (expandFloatInsert): adjust
3996         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3997
3998         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3999         Remove class variables lyx_pseudo_map and lyx_arg_map
4000
4001         * LyXAction.C (searchActionArg): delete function
4002         (getPseudoAction): delete function
4003         (retrieveActionArg): delete function
4004         (LookupFunc): make it return kb_action, simplify.
4005         (getActionName): simplify
4006
4007         * factory.C (createInset): fix new bug
4008
4009 2003-09-19  Angus Leeming  <leeming@lyx.org>
4010
4011         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4012         masterFilename_ parameter in the include inset.
4013
4014         * factory.C (createInset): changes due to the changes to InsetInclude.
4015
4016 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4017
4018         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4019
4020 2003-09-18  Angus Leeming  <leeming@lyx.org>
4021
4022         * buffer.C:
4023         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4024         Inset::fillWithBibKeys.
4025         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4026
4027 2003-09-18  Angus Leeming  <leeming@lyx.org>
4028
4029         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4030         variables.
4031         (ctor): pass and store a 'Buffer const &'
4032         (buffer): new member function.
4033
4034         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4035         '*this' to the LaTeXFeatures ctor.
4036
4037 2003-09-18  Angus Leeming  <leeming@lyx.org>
4038
4039         * LColor.h:
4040         * lyxfont.C:
4041         * lyxfont.h:
4042         * lyxtext.h:
4043         * text.C: rename EnumLColor as LColor_color.
4044
4045 2003-09-18  Angus Leeming  <leeming@lyx.org>
4046
4047         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4048         remove #include "insets/insetbase.h" from cursor.h.
4049
4050 2003-09-18  Angus Leeming  <leeming@lyx.org>
4051
4052         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4053         InsetOld_code to remove #include "inset.h".
4054
4055         * iterators.C: add #include "insets/inset.h"
4056
4057 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4058
4059         * BufferView.C: remove more locking stuff that apparently doesn't
4060         do anything sensible.
4061
4062 2003-09-16  André Pönitz  <poenitz@gmx.net>
4063
4064         * paragraph.[Ch]:
4065         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4066           performance boost.
4067
4068 2003-09-16  Angus Leeming  <leeming@lyx.org>
4069
4070         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4071
4072         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4073         arg/return type.
4074
4075         * paragraph.h: remove #include "lyxfont.h". Forward declare
4076         LyXFont_size.
4077
4078 2003-09-16  Angus Leeming  <leeming@lyx.org>
4079
4080         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4081         of support/textutils.h.
4082         (isWord): move the contents of support/textutils.h's IsWordChar here.
4083
4084         * buffer.C:
4085         * lyxfind.C:
4086         * rowpainter.C:
4087         * text.C:
4088         * text2.C: add #include "paragraph.h".
4089
4090         * rowpainter.C:
4091         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4092
4093 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4094
4095         * main.C:
4096         * lyx_main.C:
4097         * lyx_cb.C:
4098         * buffer.C:
4099         * LaTeX.C: use namespace alias for lyx::support::os
4100
4101 2003-09-16  Angus Leeming  <leeming@lyx.org>
4102
4103         * bufferparams.C:
4104         * bufferview_funcs.C:
4105         * factory.C:
4106         * lyxfunc.C:
4107         * paragraph_pimpl.C:
4108         * rowpainter.C:
4109         * text.C: add #include "LColor.h".
4110
4111 2003-09-16  Angus Leeming  <leeming@lyx.org>
4112
4113         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4114         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4115         return LyXFont &.
4116         Store the FontBits::color variable as an int rather than as an
4117         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4118         file.
4119
4120         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4121         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4122         string calls together.
4123
4124         * lyxrc.C: add #include "LColor.h".
4125
4126 2003-09-15  Angus Leeming  <leeming@lyx.org>
4127
4128         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4129         a cow_ptr.
4130
4131 2003-09-15  Angus Leeming  <leeming@lyx.org>
4132
4133         * LColor.h: add an EnumLColor wrapper for LColor::color.
4134
4135         * lyxfont.[Ch] (color, setColor, realColor):
4136         * lyxtext.h, text.C (backgroundColor):
4137         pass EnumLColor args to/from the functions, rather than LColor::color
4138         ones.
4139
4140         * lyxfont.h:
4141         * lyxtext.h: forward declare EnumLColor.
4142
4143         * lyx_main.C: add #include "LColor.h".
4144
4145 2003-09-15  Angus Leeming  <leeming@lyx.org>
4146
4147         * .cvsignore: add lyx-gtk.
4148
4149 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4150
4151         * Chktex.C
4152         * LaTeX.C
4153         * LaTeXFeatures.C
4154         * ParagraphParameters.C
4155         * Spacing.C
4156         * buffer.C
4157         * bufferparams.C
4158         * bufferview_funcs.C
4159         * chset.C
4160         * counters.C
4161         * funcrequest.C
4162         * lyxfont.C
4163         * lyxgluelength.C
4164         * lyxlength.C
4165         * paragraph.C
4166         * paragraph_funcs.C
4167         * text3.C
4168         * vc-backend.C: remove usage of STRCONV
4169
4170 2003-09-15  Angus Leeming  <leeming@lyx.org>
4171
4172         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4173         explicitly define the color passed to the painter.
4174
4175 2003-09-15  Angus Leeming  <leeming@lyx.org>
4176
4177         * bufferparams.C (BufferParams): reorder member initializers to avoid
4178         compiler warning.
4179
4180 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4181
4182         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4183         * text.C (updateRowPositions): remove an unusual nop
4184
4185 2003-09-12  André Pönitz  <poenitz@gmx.net>
4186
4187         * BufferView_pimpl.C:
4188         * Bullet.C:
4189         * layout.h:
4190         * lyxfunc.C:
4191         * lyxlayout.[Ch]:
4192         * lyxtextclass.C:
4193         * rowpainter.C:
4194         * text.C:
4195         * text2.C:
4196         * Counters.[Ch]: finish the 'automatic counters' job
4197
4198 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4199
4200         * aspell.C: include <boost/assert.cpp> (compile fix)
4201
4202 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4203
4204         * boost.C (assertion_failed): use lyx::support::abort instead of
4205         assert.
4206
4207 2003-09-10  Angus Leeming  <leeming@lyx.org>
4208
4209         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4210         with their _fwd progeny.
4211
4212 2003-09-09  Angus Leeming  <leeming@lyx.org>
4213
4214         134 files throughtout the source tree: replace 'using namespace abc;'
4215         directives with the appropriate 'using abc::xyz;' declarations.
4216
4217 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4218
4219         * boost.C (emergencyCleanup): moved here from LAssert.c
4220         (assertion_failed): new function, called by BOOST_ASSERT
4221
4222         * several files: change Assert to BOOST_ASSERT
4223
4224 2003-09-09  Angus Leeming  <leeming@lyx.org>
4225
4226         * buffer.[Ch]: Add an Impl class and move Buffer's member
4227         variables into it. As a result move several header files out of
4228         buffer.h.
4229
4230         Add header files to lots of .C files all over the tree as a result.
4231
4232 2003-09-09  Angus Leeming  <leeming@lyx.org>
4233
4234         * buffer.[Ch]: make Buffer's member variables private. Add
4235         accessor functions.
4236
4237         Lots of changes all over the tree as a result.
4238
4239 2003-09-08  Angus Leeming  <leeming@lyx.org>
4240
4241         * graph.C: #include <config.h>.
4242
4243 2003-09-08  Angus Leeming  <leeming@lyx.org>
4244
4245         * BranchList.C:
4246         * BufferView.C:
4247         * BufferView_pimpl.C:
4248         * CutAndPaste.C:
4249         * DepTable.C:
4250         * LaTeX.C:
4251         * LaTeXFeatures.C:
4252         * LyXAction.C:
4253         * MenuBackend.C:
4254         * TextCache.C:
4255         * aspell.C:
4256         * buffer.C:
4257         * bufferlist.C:
4258         * changes.C:
4259         * chset.C:
4260         * converter.C:
4261         * counters.C:
4262         * debug.C:
4263         * graph.C:
4264         * ispell.C:
4265         * lyx_cb.C:
4266         * lyxfind.C:
4267         * lyxfunc.C:
4268         * lyxlex_pimpl.C:
4269         * lyxrc.C:
4270         * lyxrow.C:
4271         * paragraph.C:
4272         * rowpainter.C:
4273         * texrow.C:
4274         * text.C:
4275         * text2.C:
4276         * toc.C: remove redundant using directives.
4277
4278 2003-09-07  Angus Leeming  <leeming@lyx.org>
4279
4280         * LaTeXFeatures.h: remove #include "support/types.h".
4281         * ToolbarBackend.h: remove #include <algorithm>.
4282         * changes.h: remove #include <ctime>.
4283         * debug.h: remove #include <iosfwd>.
4284         * graph.h: remove #include "support/std_string.h".
4285         * lyx_main.h: remove #include <csignal>.
4286         * lyxlex_pimpl.h: remove #include <fstream>.
4287         * sgml.h: remove #include <algorithm>, <utility>.
4288         * toc.h: remove #include "support/std_ostream.h".
4289         Add #include <iosfwd>.
4290
4291 2003-09-07  Angus Leeming  <leeming@lyx.org>
4292
4293         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4294
4295         * converter.h: forward declare LatexRunParams.
4296         * encoding.h: remove #include "lyxrc.h".
4297         * lyxtext.h: remove #include "LColor.h".
4298         * lyxtextclass.h: remove #include "support/types.h".
4299         * trans.h: remove #include "tex-accent.h".
4300         * trans_mgr.h: remove #include "tex-accent.h".
4301         * insets/inset.h: remove #include "support/types.h", <vector>.
4302         * insets/insetcollapsable.h: remove #include "LColor.h".
4303         * insets/insetinclude.h: remove #include "dimension.h".
4304         * insets/insetlatexaccent.h: remove #include "dimension.h".
4305         * insets/insetoptarg.h:: remove #include "insettext.h".
4306         * insets/insettext.h: remove #include "dimension.h",
4307         <boost/shared_ptr.hpp>
4308
4309         * insets/renderers.h: add #include "dimension.h".
4310         * insets/updatableinset.h: add #include "support/types.h".
4311
4312         * many .C files: Associated changes.
4313
4314 2003-09-06  Angus Leeming  <leeming@lyx.org>
4315
4316         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4317         one, inside testInvariant.
4318
4319         * PrinterParams.C: new file.
4320         * PrinterParams.[Ch]: move the function bodies out of line.
4321
4322 2003-09-06  Angus Leeming  <leeming@lyx.org>
4323
4324         * ParagraphParameters.h: forward declare ParameterStruct rather than
4325         including its header file.
4326         (depth): moved out-of-line.
4327
4328 2003-09-06  Angus Leeming  <leeming@lyx.org>
4329
4330         * BufferView_pimpl.h:
4331         * kbmap.h:
4332         * kbsequence.h:
4333         * lyxfunc.h: forward declare LyXKeySym rather than
4334         #include "frontends/LyXKeySym.h".
4335
4336         * BufferView_pimpl.C:
4337         * kbmap.C:
4338         * kbsequence.C:
4339         * lyxfunc.C: associated changes.
4340
4341 2003-09-06  Angus Leeming  <leeming@lyx.org>
4342
4343         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4344         As a result, can remove the #include "insets/inset.h" from BufferView.h
4345
4346 2003-09-06  Angus Leeming  <leeming@lyx.org>
4347
4348         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4349         As a result, can remove the #include "insets/inset.h" from BufferView.h
4350
4351 2003-09-06  Angus Leeming  <leeming@lyx.org>
4352
4353         * buffer_funcs.C:
4354         * buffer.h:
4355         * bufferlist.C:
4356         * BufferView.C:
4357         * bufferview_funcs.C:
4358         * BufferView_pimpl.C:
4359         * CutAndPaste.C:
4360         * lyx_cb.C:
4361         * lyxfunc.C:
4362         * paragraph.h:
4363         * ParagraphParameters.C:
4364         * tabular.C:
4365         * text3.C:
4366         * toc.C:
4367         * undo_funcs.C:
4368         * frontends/controllers/ControlDocument.C:
4369         * insets/insetcaption.C: rearrange the #includes into some sort of
4370         coherent order.
4371
4372         * buffer.h: remove #includes ErrorList.h, undo.h
4373
4374 2003-09-06  Angus Leeming  <leeming@lyx.org>
4375
4376         * support/types.h: add a 'depth_type' typedef, used to store the
4377         nesting depth of a paragraph.
4378
4379         * paragraph.h:
4380         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4381         defining explicitly.
4382
4383         * buffer.h:
4384         * paragraph_funcs.h:
4385         * ParagraphParameters.h:
4386         * sgml.h: use lyx::depth_type rather than Paragraph or
4387         ParameterStruct's depth_type.
4388
4389         * buffer.h
4390         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4391
4392         * BufferView.C:
4393         * BufferView_pimpl.C:
4394         * CutAndPaste.C:
4395         * ParagraphParameters.C:
4396         * buffer_funcs.C:
4397         * bufferlist.C:
4398         * bufferview_funcs.C:
4399         * lyx_cb.C:
4400         * lyxfunc.C:
4401         * tabular.C:
4402         * text3.C:
4403         * toc.C:
4404         * undo_funcs.C:
4405         * frontends/LyXView.C:
4406         * frontends/controllers/ControlDocument.C:
4407         * frontends/controllers/ControlErrorList.C:
4408         * insets/insetbibitem.C:
4409         * insets/insetbranch.C:
4410         * insets/insetcaption.C:
4411         * insets/insetcollapsable.C:
4412         * insets/insetenv.C:
4413         * insets/insetert.C:
4414         * insets/insetfloat.C:
4415         * insets/insetfoot.C:
4416         * insets/insetfootlike.C:
4417         * insets/insetnewline.C:
4418         * insets/insetquotes.C:
4419         * insets/insettabular.C:
4420         * insets/insettext.C:
4421         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4422
4423         * frontends/controllers/ControlChanges.C: #include "changes.h".
4424
4425 2003-09-06  Angus Leeming  <leeming@lyx.org>
4426
4427         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4428         than #including paragraph.h.
4429
4430         * ParagraphList.h:
4431         * RowList.h: deleted. Superfluous.
4432
4433         * CutAndPaste.h:
4434         * iterators.h:
4435         * lyxcursor.h:
4436         * lyxtext.h:
4437         * text_funcs.h:
4438         * undo.h:
4439         * undo_funcs.h:
4440         * insets/inset.h:
4441         * insets/insettext.h: use ParagraphList_fwd.h rather than
4442         ParagraphList.h.
4443
4444         * paragraph.h: don't forward declare ParagraphList.
4445
4446         * buffer.h:
4447         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4448         rather than ParagraphList.h. paragraph.h is still needed for the
4449         Paragraph::depth_type parameters.
4450
4451         * textcursor.h: enable it to compile stand-alone in light of the
4452         above changes.
4453
4454         * bufferview_funcs.C:
4455         * iterators.C:
4456         * lyxfunc.C:
4457         * lyxrow_funcs.C:
4458         * paragraph.C:
4459         * rowpainter.C:
4460         * text.C:
4461         * text2.C:
4462         * text3.C:
4463         * text_funcs.C:
4464         * textcursor.C:
4465         * undo.C:
4466         * frontends/controllers/ControlParagraph.C:
4467         * frontends/controllers/ControlTabular.C:
4468         * insets/insetmarginal.C:
4469         * insets/insetminipage.C:
4470         * insets/insetnote.C:
4471         * insets/insetoptarg.C: add header files needed to compile again.
4472
4473 2003-09-06  Angus Leeming  <leeming@lyx.org>
4474
4475         * RowList_fwd.h: new file, forward-declaring Row rather than
4476         #including lyxrow.h.
4477
4478         * lyxrow_funcs.h:
4479         * lyxtext.h:
4480         * paragraph.h:
4481         * insets/insettext.h: use it instead of RowList.h
4482
4483         * bufferview_funcs.C:
4484         * lyxfunc.C:
4485         * lyxrow_funcs.C:
4486         * paragraph.C:
4487         * rowpainter.C:
4488         * text.C:
4489         * text2.C:
4490         * text3.C: #include "RowList.h".
4491
4492 2003-09-05  Angus Leeming  <leeming@lyx.org>
4493
4494         * factory.C (createInset):
4495         * vspace.C (c-tor): replace sscanf call with an istringstream.
4496         * ispell.C: re-add missing HP/UX headers.
4497         * lyxserver.C: re-add missing  os2 headers.
4498
4499 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4500
4501         * BranchList.C:
4502         * graph.C:
4503         * ispell.C:
4504         * lastfiles.C:
4505         * lyx_cb.C:
4506         * lyxserver.C:
4507         * texrow.C:
4508         * text3.C: re-add missing system headers, needed for 2.95.2.
4509
4510 2003-09-05  Angus Leeming  <leeming@lyx.org>
4511
4512         Changes most place everywhere due to the removal of using directives
4513         from support/std_sstream.h.
4514
4515 2003-09-05  Angus Leeming  <leeming@lyx.org>
4516
4517         Replace LString.h with support/std_string.h,
4518         Lsstream.h with support/std_sstream.h,
4519         support/LIstream.h with support/std_istream.h,
4520         support/LOstream.h with support/std_ostream.h.
4521
4522         Changes resulting throughout the tree.
4523
4524 2003-09-05  Angus Leeming  <leeming@lyx.org>
4525
4526         * sgml.h: ensure that the header file can be compiled stand-alone.
4527         * *.C: strip out redundant #includes. (320 in total.)
4528
4529 2003-09-04  Angus Leeming  <leeming@lyx.org>
4530
4531         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4532         here (from getPackages).
4533
4534         * debug.[Ch]: add a new EXTERNAL tag.
4535
4536 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4537
4538         * text2.C (cursorEnd): simplify
4539         (setCursor): adjust
4540         (getColumnNearX): adjust
4541
4542         * text.C (computeBidiTables): adjust
4543         (fill): adjust
4544
4545         * rowpainter.C (paintChars): adjust
4546         (paintSelection): adjust
4547         (paintChangeBar): adjust
4548         (paintText): adjust
4549
4550         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4551         lastPos instead.
4552         (numberOfSeparators): adjust
4553
4554 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4555
4556         * LyXAction.C:
4557         * box.[Ch]:
4558         * lfuns.h:
4559         * lyxfunc.C:
4560         * text3.C: Restricts the mouse click functionality
4561         of insets like bibtex, include, toc and floatlist to the visible
4562         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4563         up the dialogs. Cursor has to be in front of the inset (i.e.
4564         start of row) for this to function.
4565
4566 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4567
4568         * bufferview_funcs.C (currentState): output row information
4569
4570 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4571
4572         * bufferview_funcs.C (currentState): output paragraph position
4573
4574 2003-09-04  Angus Leeming  <leeming@lyx.org>
4575
4576         * FloatList.h: move out #include "Floating.h".
4577         * LaTeX.h: move out #include "DepTable.h".
4578         * LyXAction.h: move out #include "funcrequest.h".
4579         * buffer.h: move out #include "author.h", "iterators.h".
4580         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4581         * lyx_main.h: move out #include "errorlist.h".
4582         * lyxfunc.h: move out #include "FuncStatus.h".
4583         * lyxtext: move out #include "lyxcursor.h".
4584         * paragraph_pimpl.h: move out #include "counters.h".
4585
4586 2003-09-03  Angus Leeming  <leeming@lyx.org>
4587
4588         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4589         preamble_snippets list, enabling us to add snippets to the preamble
4590         only if the snippet was not there already.
4591
4592 2003-09-04  Angus Leeming  <leeming@lyx.org>
4593
4594         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4595
4596 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4597
4598         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4599         update
4600
4601 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4602
4603         * BranchList.C: point fix, earlier forgotten
4604
4605 2003-09-02  Angus Leeming  <leeming@lyx.org>
4606
4607         * box.C (contains): renamed from 'contained' after a fantastic
4608         amount of hot air.
4609
4610 2003-09-02  John Levon  <levon@movementarian.org>
4611
4612         * BufferView.C:
4613         * lyxcursor.h:
4614         * lyxcursor.C:
4615         * lyxfunc.C:
4616         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4617
4618 2003-09-02  John Levon  <levon@movementarian.org>
4619
4620         * text2.C: simplification of cursorEnd(), including partial
4621         fix for bug 1376
4622
4623 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * buffer.C (readFile): add a space
4626
4627 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4628
4629         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4630
4631 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4632
4633         * buffer.C (readFile): new function, take a filename and a
4634         ParagraphList::iterator
4635         (readFile): adjust
4636         (readFile): adjust, make it private. don't use setStream, make
4637         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4638         always contain the filename.
4639
4640         * BufferView.C (insertLyXFile): simplify and make it work for
4641         gzipped files.
4642
4643 2003-08-30  John Levon  <levon@movementarian.org>
4644
4645         * Makefile.am: fix dist (from Kayvan)
4646
4647 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4648
4649         * most files: change to use const Buffer refs
4650
4651 2003-08-27  André Pönitz  <poenitz@gmx.net>
4652
4653         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4654         on top of ownerPar().
4655
4656 2003-08-27  John Levon  <levon@movementarian.org>
4657
4658         * funcrequest.C: properly initialise POD members
4659
4660 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * lyxtext.h (top_y): move top_y from here
4663         * text.C:
4664         * text2.C:
4665         * text3.C:
4666         * BufferView.[Ch]:
4667         * BufferView_pimpl.[Ch]: to here
4668         * frontends/screen.C:
4669         * insets/insettabular.C:
4670         * insets/insettext.C: adjust
4671         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4672
4673 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4674
4675         * BufferView.[Ch]:
4676         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4677
4678 2003-08-26  André Pönitz  <poenitz@gmx.net>
4679
4680         * paragraph_func.[Ch] (outerPar): new function
4681
4682         * paragraph.C:
4683         * paragraph_funcs.C:
4684         * paragraph_funcs.h:
4685         * paragraph_pimpl.C:
4686         * text2.C: remove Inset::par_owner
4687
4688 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4689
4690         * lyxrow_funcs.C:
4691         * lyxtext.h:
4692         * text.C:
4693         * text2.C: eliminates the needFullRow/display() stuff
4694         altogether, putting the logic in metrics/draw in the insets.
4695
4696 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4697
4698         * text2.C (redoParagraphInternal, redoParagraphs):
4699         * text.C (redoParagraph): add a call to updateRowPositions at the
4700         end of each 'metrics-like' call. Remove all others.
4701         (getRow): remove the 'y-computing' version.
4702         (getRowNearY): do not compute nor return the real y. Solve the
4703         'y < 0' problem and simplify.
4704
4705 2003-08-22  Angus Leeming  <leeming@lyx.org>
4706
4707         * *.[Ch]: clean-up of licence and author blurbs.
4708         Also move config.h out of a few .h files and into a few .C files.
4709
4710 2003-08-22  André Pönitz  <poenitz@gmx.net>
4711
4712         * lyxrow.[Ch]: add x_ and *fill_ members
4713
4714         * lyxtext.h:
4715         * text.C:
4716         * rowpainter.C:
4717         * text2.C: adjust/remove prepareToPrint() calls
4718
4719 2003-08-22  André Pönitz  <poenitz@gmx.net>
4720
4721         * lyxrow.[Ch]: add  end_ member
4722
4723         * lyxrow_funcs.C: use LyXRow::end_
4724
4725         * lyxtext.h (singleWidth): add LyXFont parameter
4726
4727         * rowpainter.C:
4728         * text2.C: adjust LyXText::singleWidth() calls
4729
4730         * text.C (redoParagraph): simplify row breaking logic
4731
4732
4733 2003-08-19  André Pönitz  <poenitz@gmx.net>
4734
4735         * funcrequest.C: initialize button_ member
4736
4737         * text3.C:
4738         * rowpainter.[Ch]: interface consolidation
4739
4740 2003-08-18  André Pönitz  <poenitz@gmx.net>
4741
4742         * BufferView.C:
4743         * BufferView_pimpl.C:
4744         * lyxfind.C:
4745         * paragraph_funcs.C:
4746         * rowpainter.C:
4747         * text3.C: remove LyXScreen::draw() and fitCursor calls
4748
4749         * BranchList.h: remove spurious semicolons
4750
4751         * MenuBackend.C: fix branchlist related crash
4752
4753 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4754
4755         * BranchList.[Ch]:
4756         * InsetList.[Ch]:
4757         * LColor.[Ch]:
4758         * LyXAction.C:
4759         * Makefile.am:
4760         * MenuBackend.[Ch]:
4761         * bufferparams.[Ch]:
4762         * factory.C:
4763         * lfuns.h:
4764         * lyxfunc.C:
4765         * text3.C: implements the 'branch inset'
4766         idea. This allows the output of various versions of a document
4767         from a single source version, selectively outputing or suppressing
4768         output of parts of the text.
4769         This implementation contains a 'branch list editor' in a separate
4770         tab of the document settings dialog. Branches are user definable
4771         and have a "display colour" to distinguish them on-screen.
4772
4773         ColorHandler was somewhat cleaned up.
4774         (1) make possible a dynamically growing LColor list by allowing
4775         the graphic context cache to grow along (vector);
4776         (2) eliminate an IMHO unnecessary step in colour allocation.
4777
4778 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4779
4780         * BufferView_pimpl.C: compile fix
4781
4782 2003-08-15  André Pönitz  <poenitz@gmx.net>
4783
4784         * rowpainter.C: remove extra metrics calls
4785
4786         * lyxtext.h: merge the two constructors into a single one,
4787           pass reference to owner's par list
4788
4789         * BufferView_pimpl.C:
4790         * text.C:
4791         * text2.C: adjust
4792
4793 2003-08-15  André Pönitz  <poenitz@gmx.net>
4794
4795         * lyxrow_funcs.[Ch]:
4796         * lyxtext.h:
4797         * paragraph.h:
4798         * paragraph_funcs.C:
4799         * rowpainter.C:
4800         * text.C:
4801         * text2.C:
4802         * text3.C:
4803         * text_funcs.C: split LyXText::rowlist_ into individual
4804         Paragraph::rows_ chunks
4805
4806         * BufferView.[Ch]:
4807         * BufferView_pimpl.[Ch]:
4808         * lyxfind.C:
4809         * lyxtext.h:
4810         * text3.C: remove toggleSelection()
4811
4812 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4813
4814         * bufferlist.C: beautify two alerts (shorter text of buttons)
4815         * buffer.C: Remove redundant ' ' from message
4816         * tabular.h:
4817         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4818         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4819         rename VALIGN_CENTER to VALIGN_MIDDLE
4820
4821 2003-08-11  André Pönitz  <poenitz@gmx.net>
4822
4823         * lyxtext.h (getPar):
4824         * text.C: new function
4825
4826 2003-08-11  André Pönitz  <poenitz@gmx.net>
4827
4828         * Makefile.am:
4829         * tracer.[Ch]: remove unneeded files
4830
4831         * InsetList.[Ch]: remove resizeInsetsLyXText()
4832
4833         * lyxtext.h:
4834         * text.C:
4835         * text2.C:
4836         * text3.C: merge insertParagraphs() and appendParagraph()
4837         remove breakAgain(), update()
4838
4839         * BufferView_pimpl.[Ch]:
4840         * bufferview_funcs.[Ch]:
4841         * lyxfunc.C:
4842         * paragraph.[Ch]:
4843         * rowpainter.C:
4844         * tabular.C: adjust after text & InsetList changes.
4845
4846 2003-08-08  André Pönitz  <poenitz@gmx.net>
4847
4848         * text.C (insertChar, backspace): replace rowlist fiddling
4849         with rebreak of full par
4850
4851         * lyxtext.h:
4852         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4853         checkParagraph, updateInset): removed
4854
4855 2003-08-07  André Pönitz  <poenitz@gmx.net>
4856
4857         * paragraph.C:
4858         * text3.C: merge some LFUN handlers, remove dead code
4859
4860 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4861
4862         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4863
4864 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * text2.C (DEPM): fix part of bug 1255 and 1256
4867
4868 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4869
4870         * BufferView_pimpl.C (workAreaDispatch): change to use
4871         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4872         that are no mouse related.
4873
4874 2003-08-05  André Pönitz  <poenitz@gmx.net>
4875
4876         * BufferView.[Ch]:
4877         * BufferView_pimpl.[Ch]:
4878         * bufferview_funcs.C:
4879         * text2.C:
4880         * text3.C: rip out "deep update"
4881
4882         * textcursor.[Ch] (last_sel_cursor): remove unused member
4883
4884 2003-08-04  André Pönitz  <poenitz@gmx.net>
4885
4886         * BufferView.[Ch]:
4887         * BufferView_pimpl.[Ch]:
4888         * ParagraphParameters.C:
4889         * bufferview_funcs.C:
4890         * lyx_cb.C:
4891         * lyxfind.C:
4892         * lyxfunc.C:
4893         * text.C:
4894         * text2.C:
4895         * text3.C: replace "complicated" BufferView::update(...) calls with
4896         simpler ones.
4897
4898         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4899
4900 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4901
4902         * Makefile.am (lyx_SOURCES): add paper.h
4903
4904 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4905
4906         * Makefile.am: move things around so that both lyx-qt and
4907         lyx-xforms can be built (according to --with-frontend). Then lyx
4908         is a symbolic link to lyx-[firstfrontend]
4909
4910 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4911
4912         * Always use std::endl with lyxerr
4913
4914 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4915
4916         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4917
4918 2003-08-01  André Pönitz  <poenitz@gmx.net>
4919
4920         * BufferView.[Ch]:
4921         * BufferView_pimpl.[Ch]:
4922         * lyxfunc.C:
4923         * text3.C: merge BufferView::repaint() and BufferView::update()
4924
4925 2003-08-01  José Matos  <jamatos@lyx.org>
4926
4927         * buffer.[Ch]: file_format is no longer a buffer data element.
4928
4929 2003-08-01  André Pönitz  <poenitz@gmx.net>
4930
4931         * BufferView.C:
4932         * lyxtext.h:
4933         * text.C:
4934         * text2.C: make redoParagraph more independent of current cursor
4935
4936         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4937         * text.C:
4938         * text2.C: remove unneeded members
4939
4940 2003-07-30  André Pönitz  <poenitz@gmx.net>
4941
4942         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4943
4944         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4945           create a single function...
4946
4947         * paragraph_funcs.C (moveItem): ... here.
4948
4949         * text.C:
4950           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4951
4952 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4953
4954         * LColor.[Ch]: Add comment and greyedout logical colors.
4955
4956 2003-07-30  André Pönitz  <poenitz@gmx.net>
4957
4958         * tabular.C: don't use Assert too heavily. This crashes where it
4959           shouldn't
4960
4961 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4962
4963         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4964         is disabled (bug 1232)
4965
4966 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4967
4968         * factory.C: limited 'arg' scope
4969
4970 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4971
4972         * factory.C: fixed Note submenu issues
4973
4974 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4975
4976         * factory.C: submenu for Note/Comment/Greyedout
4977
4978 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4979
4980         * lyx_main.C (LyX):
4981         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4982
4983 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4984
4985         * LaTeXFeatures.C:
4986         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4987         greyedout. Patch provided by Jürgen Spitzmüller.
4988
4989 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4990
4991         * kbmap.C (read): fix error message when reading bind files
4992
4993 2003-07-29  Angus Leeming  <leeming@lyx.org>
4994
4995         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4996         certainly does not do what it purports to do. I am doing it, and
4997         us, a favour by killing it.
4998
4999 2003-07-28  José Matos  <jamatos@lyx.org>
5000
5001         * buffer.C (readBody, do_writeFile):
5002         * paragraph.C(readParagraph): \end_document replaces \the_end.
5003
5004 2003-07-29  André Pönitz  <poenitz@gmx.net>
5005
5006         * BufferView.[Ch]:
5007         * BufferView_pimpl.[Ch]:
5008         * lyxfunc.C:
5009         * text2.C:
5010         * text3.C:
5011         * textcursor.[Ch]: remove toggleToggle & Co
5012
5013 2003-07-28  José Matos  <jamatos@fep.up.pt>
5014
5015         * buffer.C (readParagraph):
5016         * params_func (readParToken, readParagraph):
5017         * paragraph.C (write): \layout -> \begin_layout.
5018
5019 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * lyxlex_pimpl.C (setFile): clean up slightly.
5022
5023         * bufferparams.h: add compressed var
5024
5025         * buffer_funcs.C (readFile): adjust for LyXLex change
5026         (newFile): ditto + simplify
5027
5028         * buffer.C (writeFile): handle writing of compressed files
5029
5030         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5031         Check if the file is compressed and set a bufferparm if so.
5032
5033         * Makefile.am (lyx_LDADD): remove explicit -lz
5034
5035 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5036
5037         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5038         makeDocBookFile): put the real LyX version in the first line of
5039         the file
5040
5041         * version.h:
5042         * version.C.in: remove lyx_docversion
5043
5044         * tabular.C (write_attribute): add a template-based version to
5045         write enums properly
5046
5047 2003-07-28  André Pönitz  <poenitz@gmx.net>
5048
5049         * lyxtext.h:
5050         * text.C:
5051         * text2.C:
5052         * text3.C: use doubles again for x-coordinates. They are needed.
5053
5054 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5055
5056         * messages.C (getLocaleDir): use lyx_localedir()
5057
5058         * lyxlex_pimpl.C (setFile): compress stuff
5059
5060         * buffer.C (writeFile): add some compression stuff
5061         (do_writeFile): new func, dont call expliti close... will this
5062         breake anything?
5063
5064         * Makefile.am (lyx_LDADD): add -lz
5065
5066 2003-07-28  José Matos  <jamatos@fep.up.pt>
5067
5068         * buffer.C: increment file format.
5069         * paragraph_funcs (readParagraph, readParToken):
5070         * paragraph.C (readParagraph): add \end_layout.
5071
5072 2003-07-27  Angus Leeming  <leeming@lyx.org>
5073
5074         * Makefile.am: remove special casing for configure-time setting of
5075         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5076
5077         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5078         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5079
5080 2003-07-26  André Pönitz  <poenitz@gmx.net>
5081
5082         * paragraph_func.[Ch]:
5083         * paragraph.C (realizeFont): inline it whereever it is used
5084
5085         * rowpainter.C:
5086         * text.C:
5087         * text2.C:
5088         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5089
5090
5091 2003-07-26  André Pönitz  <poenitz@gmx.net>
5092
5093         *       lyxtext.h:
5094         * text.C:
5095         * text2.C: get rid of LyXText::need_break_row
5096
5097 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * toc.[Ch]: put namespace toc inside namespace lyx
5100
5101         * MenuBackend.C (expandToc2): adjust for lyx::toc
5102         (expandToc): ditto
5103
5104         * lyxfunc.C (dispatch): adjust for lyx::find
5105
5106         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5107         lyx::find instead. Reorganize a bit.
5108         (LyXReplace): rename to replace
5109         (LyXFind): rename to find
5110
5111         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5112         (dispatch): ditto
5113
5114 2003-07-26  André Pönitz  <poenitz@gmx.net>
5115
5116         * text.C (setHeightOfRow): restrict scope of temporary variable
5117
5118         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5119           code (never has been used?)
5120
5121 2003-07-27  Asger Alstrup  <alstrup@local>
5122
5123         * text.C (fill): Optimise algorithm to exploit that we can reuse
5124         the LyXFont for many characters.
5125         (setHeightOfRow): Same thing.
5126         (rowBreakPoint): Same thing.
5127
5128 2003-07-26  Asger Alstrup  <alstrup@local>
5129
5130         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5131
5132         * text.C (singleWidth): Spurious font copying in hot-spot
5133         singleWidth avoided. Reorder tests for arabic for efficiency.
5134
5135         * text.C (fill): handle empty paragraphs better.
5136
5137 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5138
5139         * ispell.C:
5140         * encoding.h: add includes
5141
5142         * lyxrc.C: remove reading of bind files
5143
5144         * lyx_main.C (init): setup bindings and menus only if we have a
5145         gui.
5146
5147         * kbmap.C (read): new method. Do the actual reading of bind
5148         files.
5149
5150         * converter.C (dvipdfm_options):
5151         * bufferparams.C:
5152         * lyxrc.C (read):
5153         (output): adapt PAPER_* enums.
5154
5155         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5156
5157         * bufferparams.h: remove paper-related enums from there
5158
5159         * paper.h: New file. A trivial header file to hold paper-related
5160         enums. It should later expand to contain many paper-related
5161         horrors access.
5162
5163         * lyxrc.C: declare extern displayTranslator
5164
5165 2003-07-27  José Matos  <jamatos@fep.up.pt>
5166
5167         * tabular.[Ch] (linuxdoc): add support for tables and figures
5168         (linuxdoc).
5169
5170 2003-07-27  José Matos  <jamatos@fep.up.pt>
5171
5172         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5173         consistency in both functions.
5174         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5175
5176 2003-07-26  Asger Alstrup  <alstrup@local>
5177
5178         * rowpainter.C (paintRows): Change algorithm to work directly on
5179         the insets rather than asking every character in the document
5180         whether its an inset.
5181
5182 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5183
5184         * buffer.C (openFileWrite): factorize some code
5185
5186 2003-07-26  Angus Leeming  <leeming@lyx.org>
5187
5188         * lyx_cb.C:
5189         * lyx_main.[Ch]: replace occurances of system_tempdir with
5190         os::getTmpDir().
5191
5192 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * rename Inset to InsetOld
5195
5196 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5197
5198         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5199         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5200         which I think is a bit clearer. EDIT is gone, since it was
5201         premature optimisation, and broken for mathed anyway.
5202         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5203         with cursor positioning in insets as well (math insets still do not
5204         work, but that's a different story anyway.) It mysteriously
5205         crashes sometimes with undo in the first paragraph, but I'm fairly
5206         confident that this is a compiler bug.
5207
5208 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * paragraph.C (Paragraph): adjust for new clone return type
5211         (operator==): ditto
5212         (copyIntoMinibuffer): ditto
5213
5214 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5215
5216         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5217         by not having a special case, and always doing a full rebreak of
5218         the document after undo.
5219
5220 2003-07-23  Angus Leeming  <leeming@lyx.org>
5221
5222         * factory.C (createInset): InsetExternal::setParams now takes a
5223         Buffer const * arg.
5224
5225 2003-07-23  Angus Leeming  <leeming@lyx.org>
5226
5227         * factory.C (createInset): changed interface to the external and
5228         graphics mailers' string2params functions.
5229
5230 2003-07-23  Angus Leeming  <leeming@lyx.org>
5231
5232         * factory.C (createInset): pass a
5233         Buffer const * parameter to InsetExternalMailer's string2params.
5234
5235 2003-07-22  John Levon  <levon@movementarian.org>
5236
5237         * Thesaurus.h: include the right aiksaurus header
5238
5239 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5240
5241         * MenuBackend.C (expand): check menu shortcuts unconditionally
5242
5243 2003-07-21  Angus Leeming  <leeming@lyx.org>
5244
5245         * factory.C (createInset): pass a
5246         buffer_path parameter to InsetGraphicsMailer's string2params.
5247
5248 2003-07-21  Angus Leeming  <leeming@lyx.org>
5249
5250         * BufferView_pimpl.C (buffer):
5251         * buffer.C (d-tor):
5252         * lyx_main.C (LyX):
5253         * lyxfunc.C (dispatch):
5254         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5255         rather than the grfx shortcut.
5256
5257 2003-07-21  André Pönitz  <poenitz@gmx.net>
5258
5259         * rowpainter.C: remove unused variables
5260
5261         * tabular_funcs.C:
5262         * tabular_funcs.h: move to tabular.C
5263         * Makefile.am: adjust
5264
5265         * tabular.[Ch]: basic optical cleaning
5266
5267         * author.h: pass references, not values
5268
5269 2003-07-18  André Pönitz  <poenitz@gmx.net>
5270
5271         * lyxtext.h:
5272         * metricsinfo.C:
5273         * metricsinfo.h:
5274         * rowpainter.C:
5275         * text.C:
5276         * text2.C:
5277         * text3.C: two-phase drawing for InsetText and InsetTabular
5278         some float -> int changes.
5279
5280 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * lyx_main.C: fix the fix
5283
5284 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5285
5286         * lyx_main.C: fix a crash in batch mode if no files specified
5287         * converter.C: ws
5288
5289 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * format.[Ch] (papersize): moved to BufferParams
5292         * converter.[Ch] (dvips_options): moved to BufferParams
5293         (dvipdfm_options): moved to anon namespace
5294         * bufferparams.[Ch]: added above functions.
5295
5296 2003-07-17  André Pönitz  <poenitz@gmx.net>
5297
5298         * lyxtext.h:
5299         * rowpainter.C:
5300         * text2.C: don't call inset->update() anymore
5301
5302         * metricsinfo.[Ch]: add convenience constructor
5303
5304 2003-07-16  André Pönitz  <poenitz@gmx.net>
5305
5306         * lyxcursor.[Ch]:
5307         * lyxfunc.[Ch]:
5308         * text.C:
5309         * text2.C: replace the LyXCursor::irow_ member with
5310          on-demand computation of the value
5311
5312 2003-07-16  John Levon  <levon@movementarian.org>
5313
5314         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5315
5316 2003-07-15  André Pönitz  <poenitz@gmx.net>
5317
5318         * text.C:
5319         * text2.C: remove no more needed refresh_row
5320
5321 2003-07-15  André Pönitz  <poenitz@gmx.net>
5322
5323         * lyxtext.h:
5324         * rowpainter.C:
5325         * text2.C:
5326         * text3.C: refresh_status tristate -> need_update bool
5327
5328 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5329
5330         * lyxtext.h (init): remove reinit argument (act as if always true)
5331         * text2.C: adjust to that
5332
5333 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5334
5335         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5336         * text3.C: use it to delete selections in some cases
5337         (bugs 441, 673, 702, 954).
5338
5339 2003-07-14  André Pönitz  <poenitz@gmx.net>
5340
5341         * rowpainter.[Ch]: reduce interface
5342
5343 2003-07-14  André Pönitz  <poenitz@gmx.net>
5344
5345         * BufferView_pimpl.C:
5346         * text2.C: adjust after removing unused BufferView * argument
5347
5348 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5349
5350         * text2.C (init): fix a crash fired on resize
5351
5352 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5353
5354         * buffer.[Ch]: added new closing signal
5355         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5356         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5357         BufferView::Pimpl via the closing the signal
5358
5359 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * buffer.[Ch]: take out all bv-related from buffer
5362         * BufferView.C:
5363         * BufferView_pimpl.[Ch]: connect to new signals
5364         * CutAndPaste.C: removed useless asserts
5365         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5366         * lyxvc.[Ch]:
5367         * vc-backend.[Ch]:
5368         * lyxfunc.C: moved view-related funciontality from vc here
5369         * paragraph.C: removed outdated comments
5370         * text.C: ws
5371
5372 2003-07-10  André Pönitz  <poenitz@gmx.net>
5373
5374         * BufferView_pimpl.C:
5375         * tabular.h:
5376         * tabular_funcs.C:
5377         * text.C:
5378         * text2.C: remove InsetText::InnerCache, clean up consequences
5379
5380 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5381
5382         * ispell.C: fix two typos in error messages
5383
5384 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5385
5386         * Extend Note inset to other forms of annotation like Comment
5387         and Greyedout. Right button click gives dialog.
5388
5389         Files modified or added (+):
5390
5391         * insetnote.[Ch]
5392         * FormNote.[Ch]      +
5393         * ControlNote.[Ch]   +
5394         * form_note.fd       +
5395         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5396         frontends/controllers
5397         * xforms/Dialogs.C
5398         * factory.C
5399
5400 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5401
5402         * aspell.C: add missing namespace lyx::support
5403
5404 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * BufferView.[Ch] (newFile): Add
5407         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5408         * LaTeX.[Ch] (message): added this signal and use it
5409         * buffer.[Ch] (busy, message): added these signals and use them
5410         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5411         * converter.C:
5412         * exporter.C:
5413         * format.C:
5414         * importer.C: use buffer signals instead of direct bv calling
5415         * lyx_cb.[Ch] (ShowMessage): removed
5416         * lyx_main.C:
5417         * lyxfunc.C:
5418         * paragraph_funcs.C:
5419         * text2.C: use buffer signals
5420
5421 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5422
5423         * introduce namespace lyx::graphics
5424
5425 2003-07-02  André Pönitz  <poenitz@gmx.net>
5426
5427         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5428
5429 2003-07-01  André Pönitz  <poenitz@gmx.net>
5430
5431         * text.C:
5432         * text2.C:
5433         * text3.C:
5434         * text_funcs.[Ch]:
5435         * textcursor.h:
5436         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5437           text*.C to text_func.C
5438
5439 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5440
5441         * introduce namespace lyx::support
5442
5443 2003-06-30  André Pönitz  <poenitz@gmx.net>
5444
5445         * Chktex.C:
5446         * funcrequest.C:
5447         * lyxtext.h:
5448         * text.C: re-enable --with-included-string
5449
5450 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * textcursor.C: add <config.h>
5453
5454         * text.C (getWord): remove const from word_location arg
5455
5456         * lyxvc.C (getLogFile): fix const type order
5457
5458         * lyxtext.h: remove const from word_location arg, add arg name
5459
5460         * lyxlayout.h: currect type on labeltype.
5461
5462         * importer.C: correct \file
5463
5464         * converter.C (intToFormat): use std:: on ret val, ws changes
5465
5466         * bufferlist.h: correct \file
5467
5468         * buffer.C (makeLinuxDocFile): fix const type order
5469         (makeDocBookFile): ditto
5470         (fillWithBibKeys): use std:: on stdlib args.
5471
5472         * CutAndPaste.C: fix authors.
5473         (availableSelections): use std:: on return vector
5474
5475 2003-06-27  André Pönitz  <poenitz@gmx.net>
5476
5477         * BufferView_pimpl.C:
5478         * bufferview_funcs.C:
5479         * lyxcursor.C:
5480         * lyxcursor.h:
5481         * lyxfunc.C:
5482         * lyxtext.h:
5483         * rowpainter.C:
5484         * text.C:
5485         * text2.C:
5486         * text3.C: remove LyXCursor::row_ member
5487
5488         * lyxtext.h:
5489         * text.C: rename fullRebreak() to partialRebreak() and implement
5490           a fullRebreak() that really bereks fully
5491
5492         * textcursor.h: new struct for cursor-related data
5493
5494 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5495
5496         * lyx_main.C (LyX): get full path of document loaded on the
5497         command line
5498
5499 2003-06-26  André Pönitz  <poenitz@gmx.net>
5500
5501         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5502           remove unused/broken operator>,<,>=.
5503
5504         *       text.C: remove only use of broken operator<= in an Assert().
5505
5506 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5507
5508         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5509         moved errorlist_.clear to showErrorList
5510
5511 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5512
5513         * converter.C (scanLog, runLaTeX):
5514         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5515         move the bv->showErrorList call to the callers
5516         * lyxfunc.C: i.e. here...
5517         * text2.C: and here
5518         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5519         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5520         namespace, the second to...
5521         * buffer_funcs (BufferFormat, parseErrors): added
5522         * errorlist.C (ErrorList(TeXErrors const &)): removed
5523
5524 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5525
5526         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5527
5528 2003-06-24  "Garst R. Reese" <reese@isn.net>
5529
5530         * debug.C: fix typo
5531
5532 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5533
5534         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5535
5536         * version.C.in: change docversion to 1.4
5537
5538 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5539
5540         * buffer.C: fix a bug just introduced
5541
5542 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5543
5544         * buffer.[Ch]: added the parseError signal and use it, removed
5545         sgmlError
5546         * BufferView.[Ch] (addError): moved to ...
5547         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5548         to the Buffer::parseError signal to catch (guess what) parse errors
5549         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5550
5551 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5552
5553         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5554         ability to create a buffer and to return an existing one from
5555         the list. Moved these functions to...
5556         * buffer_funcs.[Ch]: added
5557         * BufferView.[Ch] (loadLyXFile): added
5558         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5559         job removed from bufferlist::loadLyXFile.
5560         * buffer.C (setReadOnly): make it work without view
5561         (i.e added an if (users))
5562
5563 2003-06-19  Angus Leeming  <leeming@lyx.org>
5564
5565         * lfuns.h:
5566         * LyXAction.C (init):
5567         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5568         with LFUN_DIALOG_SHOW <name> <data>.
5569
5570 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5571
5572         * CutAndPaste.C (availableSelections): small compilation fix for
5573         ancient (gcc 2.9x) compilers
5574
5575 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * text3.C (cursorNext): add tmp var
5578
5579         * text2.C (updateCounters): for function calling out of for clause
5580         (replaceSelectionWithString): ditto
5581         (insertStringAsParagraphs): ditto
5582         (getColumnNearX): add tmp var
5583         (setCursorFromCoordinates): add tmp var
5584         (cursorDownParagraph): add tmp var
5585         (deleteEmptyParagraphMechanism): add tmp var
5586
5587         * text.C (insertChar): add tmp var
5588
5589         * rowpainter.C (paintDepthBar): add tmp var
5590
5591         * CutAndPaste.C (availableSelections): potentially check all
5592         paragraphs in a cut to fill the shown strings.
5593
5594 2003-06-18  André Pönitz  <poenitz@gmx.net>
5595
5596         * kbmap.[Ch]: use vector<> instead of list<>
5597
5598 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5599
5600         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5601         pasteSelection with index
5602
5603         * text2.C (pasteSelection): modify, call pasteSelection with index
5604
5605         * paragraph.C (asString): reimplement version with no interval to
5606         call the one with interval.
5607
5608         * lyxtext.h: add index arg to pasteSelection
5609
5610         * MenuBackend.C (MenuItem): handle PasteRecent
5611         (Menu::read::Menutags): add md_pasterecent
5612         (read): handle it
5613         (expandPasteRecent): new function
5614         (expand): use it
5615
5616         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5617
5618         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5619         the limited stack
5620         (availableSelections): new function
5621
5622 2003-06-17  Angus Leeming  <leeming@lyx.org>
5623
5624         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5625
5626 2003-06-17  Angus Leeming  <leeming@lyx.org>
5627
5628         * lfuns.h:
5629         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5630
5631         * lyxfunc.C (dispatch): invoke it.
5632
5633 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5634
5635         * iterators.C (operator++, ParPosition): reintroduce some
5636         const_cast for the benefit of older compilers.
5637
5638 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5639
5640         * text3.C (dispatch): do not modify clipboard when doing
5641         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5642         LFUN_DELETE_SKIP on a selection selection
5643
5644 2003-06-16  André Pönitz  <poenitz@gmx.net>
5645
5646         * BufferView.C:
5647         * buffer.C:
5648         * buffer.h:
5649         * paragraph.C:
5650         * tabular.[Ch]: IU of clone() and getLabelList();
5651
5652 2003-06-13  André Pönitz  <poenitz@gmx.net>
5653
5654         * tabular.h: compactification
5655
5656 2003-06-12  André Pönitz  <poenitz@gmx.net>
5657
5658         * tabular.C:
5659         * tabular.h:
5660         * tabular_funcs.h: some renaming plus whitespace
5661
5662 2003-06-12  André Pönitz  <poenitz@gmx.net>
5663
5664         * BufferView.C:
5665         * BufferView_pimpl.C:
5666         * CutAndPaste.C:
5667         * buffer.C:
5668         * iterators.[Ch]:
5669         * lyxfunc.C:
5670         * text.C:
5671         * toc.C: Return a Paragraph & for ParIterator::operator*()
5672
5673 2003-06-11  John Levon  <levon@movementarian.org>
5674
5675         * lyx_main.C:
5676         * ToolbarBackend.h:
5677         * ToolbarBackend.C: add "Toolbars" section and
5678         put the flags there
5679
5680 2003-06-10  Angus Leeming  <leeming@lyx.org>
5681
5682         * lfuns.h:
5683         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5684
5685         * lyxfunc.C (dispatch): invoke it.
5686
5687 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5688
5689         * main.C: protect <ios> with HAVE_IOS
5690         (main): protect sync_with_stdio with HAVE_IOS
5691
5692 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5693
5694         * text2.C (cutSelection): adjust
5695         (pasteSelection): adjust
5696
5697         * messages.C: handle get of empty string
5698
5699         * main.C (main): use sync_with_stdio(false)
5700
5701         * lyxfunc.C (dispatch): adjust
5702
5703         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5704         (WriteAs): remove unneeded BufferView arg.
5705
5706         * bufferparams.h: use correct types on papersize, papersize2 and
5707         paperpackage.
5708
5709         * bufferparams.C (readToken): adjust for type
5710         (writeLaTeX): add missing cases to switch.
5711
5712         * bufferlist.C (quitWriteBuffer): adjust
5713         (close): adjust
5714
5715         * buffer.C (asciiParagraph): remove some commented code.
5716
5717         * CutAndPaste.C: remove current_view extern variable.
5718         (cutSelection): add BufferParams arg.
5719         (eraseSelection): add BufferParams arg.
5720         (pasteSelection): add Buffer const & arg
5721
5722 2003-06-07  John Levon  <levon@movementarian.org>
5723
5724         * buffer.C:
5725         * paragraph_funcs.C:
5726         * paragraph_pimpl.C:
5727         * text.C:
5728         * text2.C:
5729         * paragraph.h:
5730         * paragraph.C: allow InsetERT to freely space lines,
5731         and some consolidation of code
5732
5733 2003-06-06  José Matos  <jamatos@fep.up.pt>
5734
5735         * buffer.C (makeDocBookFile): fix bug #821
5736
5737 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5738
5739         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5740
5741 2003-06-04  Angus Leeming  <leeming@lyx.org>
5742
5743         * buffer.C: bump format to 224.
5744
5745 2003-06-05  André Pönitz  <poenitz@gmx.net>
5746
5747         * text2.C (redoParagraphs): remove two const_cast<>
5748
5749 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5750
5751         * ParagraphList.h: remove last remnants of NO_STD_LIST
5752
5753 2003-06-03  Angus Leeming  <leeming@lyx.org>
5754
5755         * factory.C (createInset): small change to the way InsetExternal's params
5756         are set.
5757
5758 2003-06-04  André Pönitz  <poenitz@gmx.net>
5759
5760         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5761
5762         * paragraph_pimpl.h:
5763         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5764
5765         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5766
5767         * undo_funcs.C: make some simple cases of undo work again
5768
5769 2003-06-03  John Levon  <levon@movementarian.org>
5770
5771         * ispell.C: HPUX doesn't have sys/select.h
5772         (from Albert Chin)
5773
5774 2003-06-03  John Levon  <levon@movementarian.org>
5775
5776         * CutAndPaste.C: update tabular and include inset
5777         buffer references
5778
5779         * buffer.h:
5780         * paragraph.h:
5781         * paragraph.C: remove owningBuffer(), don't pass Buffer
5782         to clone()
5783
5784         * factory.C: insetGraphicsParams changed
5785
5786 2003-06-02  John Levon  <levon@movementarian.org>
5787
5788         * LyXAction.C:
5789         * factory.C:
5790         * lfuns.h:
5791         * lyxfunc.C:
5792         * text3.C: remove insetparent
5793
5794 2003-06-02  John Levon  <levon@movementarian.org>
5795
5796         * buffer.h:
5797         * buffer.C: fix inset_iterator.end(), move out of line
5798         (bug 1149)
5799
5800 2003-06-01  John Levon  <levon@movementarian.org>
5801
5802         * text3.C: use a proper cut/paste when doing inset
5803         insert (from Jürgen Spitzmüller)
5804
5805 2003-06-01  John Levon  <levon@movementarian.org>
5806
5807         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5808
5809 2003-05-30  André Pönitz  <poenitz@gmx.net>
5810
5811         * rowpainter.C: unify second drawing phase
5812
5813 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * trans_mgr.C: remove one case of current_view
5816
5817         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5818
5819         * paragraph_funcs.h: remove paragraph.h include
5820
5821         * paragraph.h: delete NO_STD_LIST stuff
5822
5823         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5824
5825         * buffer.h: remove paragraph.h include
5826
5827         * ParagraphList.C: delete file
5828
5829         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5830
5831         * toc.C (getTocList): adjust
5832
5833         * paragraph_pimpl.C (validate): adjust
5834
5835         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5836
5837         * paragraph.C (Paragraph): adjust
5838         (getPositionOfInset): use const_iterator, adjust
5839         (bibitem): use const_iterator, adjust
5840         (setInsetOwner): adjust
5841
5842         * iterators.C (operator++): adjust
5843
5844         * InsetList.[Ch]: Replace selfmade iterator with standard
5845         vector::iterator also introduce const_iterator. Remove getPos,
5846         getInset and setInset from InsetTable. Adjust accordingly.
5847
5848         * BufferView.C (lockInset): adjust
5849         (ChangeInsets): adjust
5850
5851         * tabular.[Ch]: delete commented same_id functions
5852
5853 2003-05-28  John Levon  <levon@movementarian.org>
5854
5855         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5856
5857 2003-05-28  André Pönitz  <poenitz@gmx.net>
5858
5859         * metricsinfo.[Ch]: remove 'fullredraw' member
5860
5861 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5862
5863         * lyxtextclass.C (operator): remove caching.
5864
5865 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * text3.C: adjust
5868
5869         * text2.C (cursorBottom): adjust
5870         (setCounter): use ParagraphList::find, adjust
5871
5872         * text.C (workWidth): use ParagraphList::find, adjust
5873
5874         * lyxcursor.C (LyXCursor): adjust
5875
5876         * buffer.C (inset_iterator): adjust
5877
5878         * ParagraphList.h: make iterator(value_type) private, make
5879         ParagraphList a friend of iterator.
5880
5881         * ParagraphList.C (find): new function
5882
5883         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5884
5885 2003-05-27  André Pönitz  <poenitz@gmx.net>
5886
5887         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5888
5889 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5890
5891         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5892
5893 2003-05-26  John Levon  <levon@movementarian.org>
5894
5895         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5896
5897 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5898
5899         * remove same_id from function signatures, adjust.
5900
5901 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5902
5903         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5904
5905         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5906
5907         * paragraph.C (Paragraph): get rid of same_ids parameter
5908
5909         * ParagraphList.C (insert): adjust
5910         (push_back): adjust
5911
5912 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5913
5914         * paragraph_funcs.C (breakParagraph): adjust
5915         (breakParagraphConservative): adjust
5916
5917         * buffer.C (readParagraph): adjust
5918
5919         * ParagraphList.C (insert): take a reference instead of a pointer
5920         (insert): adjust
5921
5922         * paragraph.[Ch] (id): new function
5923
5924         * bufferlist.C (newFile): adjust
5925
5926         * ParagraphList.C (ParagraphList): adjust
5927         (assign): adjust
5928         (push_back): take a reference instead of a pointer.
5929
5930         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5931
5932         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5933         instead.
5934
5935         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5936         set else use old code.
5937
5938         * ParagraphList.C: remove all NO_NEXT code and only compile this
5939         code of NO_STD_LIST is set.
5940
5941 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5942
5943         * BufferView_pimpl.C:
5944         * TextCache.C:
5945         * TextCache.h:
5946         * bufferlist.C:
5947         * errorlist.h:
5948         * format.C:
5949         * format.h:
5950         * graph.C:
5951         * lyxfunc.C:
5952         * lyxrc.C:
5953         * graphics/GraphicsConverter.C:
5954         * graphics/PreviewLoader.C: header adjustment
5955
5956 2003-05-23  Angus Leeming  <leeming@lyx.org>
5957
5958         * LaTeXFeatures.[Ch] (useBabel): new method.
5959         * bufferparams.C (writeLaTeX): use it.
5960
5961 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * ParagraphList.h (set): remove unused function.
5964
5965 2003-05-23  André Pönitz  <poenitz@gmx.net>
5966
5967         * BufferView.C:
5968         * BufferView_pimpl.C:
5969         * buffer.C:
5970         * buffer.h:
5971         * lyxfunc.C:
5972         * undo_funcs.C: setUndo reworked
5973
5974         * iterators.[Ch]: add access to topmost ParagraphList
5975
5976         * lyxtext.[Ch] (workWidth): add a const
5977
5978 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5979
5980         * texrow.[Ch] (increasePos): remove function
5981         * exporter.C (export): removed unused var and outdated comment
5982
5983 2003-05-23  Angus Leeming  <leeming@lyx.org>
5984
5985         * latexrunparams.h: rename fragile as moving_arg.
5986         * paragraph.C (simpleTeXOnePar): ditto.
5987         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5988
5989 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5990
5991         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5992         (createUndo): ditto
5993         (textUndoOrRedo): comment out a currently unused var.
5994
5995         * paragraph.h (NO_NEXT): enable NO_NEXT
5996
5997         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5998
5999         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6000
6001         * exporter.C (Export): adjust for removeAutoInsets removal.
6002
6003         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6004
6005         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6006
6007         * BufferView.[Ch] (removeAutoInsets): delete function
6008
6009 2003-05-22  Angus Leeming  <leeming@lyx.org>
6010
6011         * latexrunparams.h: add a free_spacing variable.
6012
6013         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6014         to pass moving_arg, as the data is stored in runparams.fragile.
6015
6016         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6017         to Inset::latexOptional or to simpleTeXOnePar.
6018
6019         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6020         free_spacing arg to Inset::latexOptional.
6021
6022         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6023         free_spacing arg.
6024
6025 2003-05-22  Angus Leeming  <leeming@lyx.org>
6026
6027         * latexrunparams.h: add fragile and use_babel variables.
6028
6029         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6030         * buffer.C (makeLaTeXFile): store this returned value in
6031         runparams.use_babel, thus passing it to the inset::latex methods.
6032
6033         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6034         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6035
6036         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6037         longer has a fragile arg, as it is stored in runparams.fragile.
6038
6039         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6040         moving_arg parameter as the data is stored in runparams.fragile.
6041
6042         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6043         a fragile parameter as the data is stored in runparams.fragile.
6044
6045 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6048
6049 2003-05-22  Angus Leeming  <leeming@lyx.org>
6050
6051         * latexrunparams.h: add a 'bool nice' which defaults to false.
6052
6053         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6054         now encapsulated within runparams.
6055
6056         * bufferlist.C (updateIncludedTeXfiles):
6057         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6058
6059 2003-05-22  Angus Leeming  <leeming@lyx.org>
6060
6061         * latexrunparams.h: new file containing struct LatexRunParams.
6062         * Makefile.am: add new file.
6063
6064         * LaTeX.[Ch] (c-tor, run):
6065         * buffer.[Ch] (makeLaTeXFile):
6066         * bufferlist.[Ch] (updateIncludedTeXfiles):
6067         * converter.C (convert, scanLog):
6068         * converter.[Ch] (runLaTeX):
6069         * exporter.C (Export):
6070         * paragraph.[Ch] (simpleTeXOnePar):
6071         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6072         * paragraph_funcs.[Ch] (latexParagraphs):
6073         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6074         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6075         pass around a LatexRunParams parameter.
6076
6077 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6078
6079         * paragraph.[Ch]: remove unused constructor
6080
6081         * ParagraphList.C (erase): new function, taking two iterators
6082
6083 2003-05-22  André Pönitz  <poenitz@gmx.net>
6084
6085         * undo_funcs.C: remove duplicated code
6086
6087         * iterator.[Ch]: operator=
6088
6089 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6090
6091         * tabular.C (SetMultiColumn): ws changes
6092
6093         * rowpainter.C (paintFirst): get rid of a ->previous
6094
6095         * lyx_cb.C (getPossibleLabel): parlist simplification
6096
6097         * BufferView.C (ChangeInsets): simplify slightly.
6098
6099 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6100
6101         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6102         * lfuns.h: new LFUN_SPACE
6103         * lyxfunc.C: protected space has a new lfun
6104         * paragraph_funcs.C: read new space insets
6105         * text3.C:
6106         * factory.C: handle new space insets
6107
6108 2003-05-22  André Pönitz  <poenitz@gmx.net>
6109
6110         * BufferView.C:
6111         * BufferView_pimpl.C:
6112         * buffer.[Ch]:
6113         * lyxfunc.C:
6114         * undo_funcs.C: return a ParIterator from getParFromID.
6115
6116         * iterators.[Ch]: add two const's
6117
6118 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * toc.C (getTocList): adjust
6121
6122         * iterators.[Ch]: rework for parlist
6123
6124         * buffer.C (par_iterator_begin): adjust
6125         (par_iterator_end): adjust
6126
6127         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6128
6129         * BufferView.C (removeAutoInsets): adjust
6130         (ChangeInsets): adjust
6131
6132 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6133
6134         * text.C (top_y): fix bug 1110
6135
6136 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6137
6138         * errorlist.[Ch]: added
6139         * buffer.C:
6140         * BufferView.[Ch]:
6141         * BufferView_pimpl.C:
6142         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6143         instead
6144
6145 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * Makefile.am: ensure that lyx is relinked upon changes to the
6148         various "convenience" libs.
6149
6150 2003-05-20  Angus Leeming  <leeming@lyx.org>
6151
6152         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6153         files are compiled in alphabetical order again.
6154
6155         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6156
6157 2003-05-19  Angus Leeming  <leeming@lyx.org>
6158
6159         * gettext.[Ch]: remove "char const * _(char const *)".
6160
6161 2003-05-19  André Pönitz  <poenitz@gmx.net>
6162
6163         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6164
6165         * Makefile.am:
6166         * BufferView.C:
6167         * DepTable.h:
6168         * LaTeXFeatures.C:
6169         * buffer.C:
6170         * lyxfont.C:
6171         * lyxlex.h:
6172         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6173
6174 2003-05-19  André Pönitz  <poenitz@gmx.net>
6175
6176         * buffer.C:
6177         * lyxlayout.[Ch]:
6178         * lyxtextclass.[Ch]:
6179         * paragraph.C:
6180         * paragraph_funcs.[Ch]:
6181         * text2.C:
6182         * text3.C: more insetenv work
6183
6184 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6185
6186         * ParagraphParameters.C (params2string): small bug fixed
6187
6188 2003-05-16  André Pönitz  <poenitz@gmx.net>
6189
6190         * debug.C:
6191         * bufferview_funcs.C: patch from Kornel Benko to prevent
6192           crash when _(...) is called twice in a statement
6193
6194 2003-05-16  André Pönitz  <poenitz@gmx.net>
6195
6196         * BufferView.C:
6197         * lyxfunc.C:
6198         * text.C:
6199         * text2.C:
6200         * text3.C:
6201         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6202
6203 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6204
6205         * lyx_main.C (init): remove spurious static_cast
6206
6207 2003-05-14  André Pönitz  <poenitz@gmx.net>
6208
6209         * BufferView.C: fix format string
6210
6211 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6212
6213         * BufferView.[Ch] (insertErrors): removed
6214         * BufferView.[Ch] (showErrorList): added
6215         * buffer.C (runChkTeX):
6216         * converter.C (scanLog): call showErrorList instead of inserterrors
6217
6218 2003-05-13  André Pönitz  <poenitz@gmx.net>
6219
6220         * BufferView_pimpl.C:
6221         * buffer.C:
6222         * bufferview_func.C:
6223         * MenuBackend.C:
6224         * lyxfunc.C:
6225         * lyxrc.C:
6226         * tex-accent.C:
6227         * text3.C:
6228         * toc.C:
6229         * tabular_funcs.h: tostr() from its own header
6230
6231         * ParagraphParameters.C:
6232         * ToolbarBackend.C:
6233         * bufferparams.C:
6234         * format.C:
6235         * lyxlex_pimpl.C:
6236         * text3.C: STRCONV()
6237
6238 2003-05-12  André Pönitz  <poenitz@gmx.net>
6239
6240         * BufferView.C:
6241         * BufferView_pimpl.C:
6242         * CutAndPaste.C:
6243         * LaTeX.C:
6244         * LaTeXFeatures.C:
6245         * ParagraphParameters.C:
6246         * buffer.C:
6247         * bufferlist.C:
6248         * bufferparams.C:
6249         * bufferview_funcs.C:
6250         * converter.C:
6251         * counters.C:
6252         * debug.C:
6253         * exporter.C:
6254         * format.C:
6255         * importer.C:
6256         * lyx_cb.C:
6257         * lyx_main.C:
6258         * lyxfont.C:
6259         * lyxfunc.C:
6260         * lyxvc.C:
6261         * paragraph.C:
6262         * paragraph_funcs.C:
6263         * tabular.C:
6264         * tabular_funcs.C:
6265         * text2.C:
6266         * text3.C:  boost::format -> bformat  all over the place
6267
6268
6269 2003-05-09  André Pönitz  <poenitz@gmx.net>
6270
6271         * LColor.[Ch]: Pimpl the #include <map> away
6272
6273 2003-05-09  John Levon  <levon@movementarian.org>
6274
6275         * bufferlist.C: never remove emergency saves
6276
6277 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6278
6279         * Makefile.am: better lib building
6280
6281 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6284         instead.
6285         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6286         (simpleTeXSpecialChars): adjust
6287         (simpleTeXSpecialChars): adjust
6288         * paragraph.C (simpleTeXOnePar): adjust
6289         * buffer.C (makeLaTeXFile): adjust
6290
6291         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6292
6293         * text2.C (changeDepth): parlist cleanup
6294         (getColumnNearX): ditto
6295
6296         * rowpainter.C (getLabelFont): parlist cleanup
6297
6298         * bufferlist.C (newFile): parlist cleanup
6299
6300         * CutAndPaste.C (eraseSelection): parlist cleanup
6301
6302         * BufferView_pimpl.C (trackChanges): parlist cleanup
6303         (dispatch): ditto
6304
6305         * BufferView.C (lockInset): parlist cleanup.
6306         (ChangeInsets): ditto
6307
6308 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6309
6310         * CutAndPaste.h: Update file header.
6311
6312         * CutAndPaste.C: Update file header.
6313         Store the parts cut out of the Document in a limited_stack.
6314         (copySelection): adjust
6315         (pasteSelection): new function, takes the index in the limited stack.
6316         (nrOfParagraphs): adjust
6317         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6318         simplify error inset insertion.
6319         (checkPastePossible): adjust
6320
6321 2003-05-06  John Levon  <levon@movementarian.org>
6322
6323         * text2.C: don't cast wrap inset to float
6324
6325 2003-05-05  André Pönitz  <poenitz@gmx.net>
6326
6327         * iterator.C:
6328         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6329
6330         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6331           few naked Paragraph *.
6332
6333 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6334
6335         * bufferparams.C: Output warning if a document with missing
6336         TeX document class is loaded
6337         * exporter.C: Disable TeX exports if the document class is missing
6338         * lyxtextclass.C:
6339         * lyxtextclass.h:
6340         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6341         isTeXClassAvailable()
6342
6343 2003-05-03  John Levon  <levon@movementarian.org>
6344
6345         * BufferView.h:
6346         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6347         explicit cursor show/hide
6348
6349         * BufferView_pimpl.h:
6350         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6351         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6352
6353         * lyxfunc.C: hide cursor before dispatching.
6354
6355         * lyx_cb.C:
6356         * lyxfind.C:
6357         * text.C:
6358         * text3.C: remove explicit cursor hides
6359
6360 2003-05-02  André Pönitz  <poenitz@gmx.net>
6361
6362         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6363
6364         * undo_funcs.C:
6365         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6366           linked lists
6367
6368         * text2.C: tiny whitespace
6369
6370 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6371
6372         * undo_funcs.C: almost only ws changes.
6373
6374         * ParagraphList.C (splice): just return if pl is empty.
6375
6376 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * ParagraphList.C (splice): new function.
6379
6380         * CutAndPaste.C (pasteSelection): use it
6381
6382 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * CutAndPaste.C (pasteSelection): remove the last next and
6385         previous from this file.
6386
6387 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * CutAndPaste.C (pasteSelection): more clean up, user proper
6390         ParagraphList functions for pasteing.
6391
6392         * ParagraphList.C (insert): new function, three arg insert
6393
6394 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6395
6396         * ParagraphList.C (insert): new function, three arg insert
6397
6398         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6399         not on paragraphs.
6400
6401 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6404
6405 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6408
6409 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6412         (copySelection): clean up a bit.
6413         (pasteSelection): use make_pair
6414
6415         * ParagraphList.C (ParagraphList): implement copy constructor
6416         (operator=): implement, base on copy constructor.
6417         (assign): new func
6418
6419         * paragraph.C (erase): return a bool
6420
6421         * paragraph_pimpl.C (erasePos): remove function, move contents...
6422         (erase): ... here. Return a bool.
6423         (erase): call erase instead of erasePos.
6424
6425 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6426
6427         * ParagraphList.h: define PitPosPair
6428         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6429         ParagraphList, fix a bug on pasting multiple pars
6430         * text2.C: change interface to C&P
6431
6432 2003-04-30  André Pönitz  <poenitz@gmx.net>
6433
6434         * undo_func.C: revert part of yesterday's patch 2
6435
6436 2003-04-30  John Levon  <levon@movementarian.org>
6437
6438         * LColor.C: s/tabular/table/
6439
6440 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * text3.C (dispatch): do not convert iterator -> pointer
6443         * undo_funcs.C (setCursorParUndo): ditto
6444         * text_funcs.C (transposeChars): ditto
6445
6446         * text2.C (setLayout): ws changes only
6447
6448         * text.C (breakParagraph): do not convert iterator -> pointer
6449         (insertChar): ditto
6450         (acceptChange): ditto
6451         (rejectChange): ditto
6452         (changeCase): ditto
6453         (Delete): ditto
6454         (backspace): ditto
6455
6456         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6457         pointer
6458
6459 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6460
6461         * text3.C (gotoInset): YABG (yet another bad getChar)
6462
6463 2003-04-29  André Pönitz  <poenitz@gmx.net>
6464
6465         * paragraph.h: make operator= private unimplemented as long as
6466           it is unusable
6467
6468         * ParagraphList.C: whitespace
6469
6470         * paragraph.[Ch]:
6471         * paragraph_pimpl.[Ch]:
6472         * paragraph_funcs.C:
6473         * CutAndPaste.C:
6474         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6475
6476         * text2.C:
6477           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6478
6479 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6480
6481         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6482         * paragraph.[Ch] (erase):
6483         * paragraph_pimpl.[Ch] (erase): change return type and value
6484         * text2.C (cutSelection): some rework
6485
6486 2003-04-28  John Levon  <levon@movementarian.org>
6487
6488         * bufferlist.C: changes for unsaved changes dialog
6489
6490 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * bufferlist.C (newFile): set language (messages_) for new
6493         documents also.
6494
6495         * buffer.C (readFile): ws changes only.
6496
6497 2003-04-28  André Pönitz  <poenitz@gmx.net>
6498
6499         * undo_funcs.C:
6500         * lyxfunc.C:
6501         * buffer.[Ch]:
6502         * BufferView_pimpl.C:
6503         * BufferView.C: getParFromID related ParagraphList::iterator changes
6504
6505 2003-04-28  André Pönitz  <poenitz@gmx.net>
6506
6507         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6508           Changes
6509
6510 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * messages.C: remove one more localedir class variable.
6513
6514 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * messages.C (getLocaleDir): singleton generation function
6517         (Pimpl): use it.
6518         (Messages): add a default constructor.
6519
6520         * main.C (main): do not setup localedir here, do not call
6521         gettext_init.
6522
6523         * gettext.C (_): use it.
6524         (gettext_init): delete funciton
6525
6526 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * gettext.C (getLyXMessages): new singleton generating function.
6529
6530         * buffer.C (updateDocLang): adjust
6531
6532         * Makefile.am (messages.o): add target
6533         (main.o): remove target
6534
6535 2003-04-27  John Levon  <levon@movementarian.org>
6536
6537         * bufferlist.C:
6538         * lyx_cb.C:
6539         * lyxfunc.C:
6540         * lyxvc.C: specify cancel button in Alert::prompt
6541
6542 2003-04-26  John Levon  <levon@movementarian.org>
6543
6544         * text3.C:
6545         * lyxfunc.C:
6546         * lfuns.h:
6547         * LyXAction.C: add LFUN_INSET_SETTINGS
6548
6549         * lyxfunc.C: don't enable tabular-feature when there's
6550         just any locking inset
6551
6552 2003-04-26  John Levon  <levon@movementarian.org>
6553
6554         * bufferlist.C: re-add Cancel to buffer close question
6555
6556         * lyxfunc.C: fix import UI a bit
6557
6558 2003-04-25  John Levon  <levon@movementarian.org>
6559
6560         * gettext.C: remove the broken asserts for now
6561
6562 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6563
6564         * messages.C: make case where setlocale cannot comply work better.
6565
6566         * buffer.C (updateDocLang): new function
6567         (changeLanguage): use it
6568         (readFile): use it
6569
6570         * text2.C (setCounter): use B_ a bit.
6571
6572         * lyxlayout.C (Read): be sure to trim the label strings.
6573
6574         * messages.C (Messages): fix typo in comment
6575
6576         * buffer.C (readFile): set message_ after file is loaded.
6577         (makeDocBookFile): remove double return
6578         (changeLanguage): reset message_ upon language change.
6579         (B_): new func, use this to get translated buffer strings.
6580
6581         * main.C: add myself and Jean Marc as authors.
6582
6583 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * messages.[hC]: pimplify Messages, and three different pimpls to be
6586         used in different circumstances.
6587
6588         * gettext.[Ch]: change for use with new message code.
6589
6590 2003-04-24 André Pönitz <poenitz@gmx.net>
6591
6592         * factory.C: support for eqref
6593
6594 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * messages.[Ch]: add missing char
6597
6598         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6599
6600         * messages.[Ch]: New files
6601
6602 2003-04-18  John Levon  <levon@movementarian.org>
6603
6604         * BufferView.h:
6605         * BufferView.C:
6606         * BufferView_pimpl.C:
6607         * lfuns.h:
6608         * LyXAction.C:
6609         * lyxtext.h:
6610         * text2.C: remove layout-copy/paste (bug 778)
6611
6612 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6613
6614         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6615
6616 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6617
6618         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6619         if they succeed. Act accordingly.
6620
6621 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6622
6623         * text2.C (setCharFont): adjust
6624         (setCounter): adjust
6625         (insertStringAsLines): adjust
6626
6627         * text.C (leftMargin): adjust
6628         (setHeightOfRow): adjust
6629
6630         * rowpainter.C (paintFirst): adjust
6631         (paintLast): adjust
6632
6633         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6634         (outerHook): ditto
6635         (isFirstInSequence): ditto
6636         (getEndLabel): ditto
6637         (outerFont): adjust
6638
6639         * paragraph.C (getParLanguage): comment out some hard stuff.
6640
6641         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6642         (sgmlError): ditto
6643         (simpleDocBookOnePar): ditto
6644         (makeDocBookFile): use ParagraphList::iterator
6645
6646         * CutAndPaste.C (pasteSelection): adjust
6647
6648 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * text2.C (getFont): adjust
6651         (getLayoutFont): adjust
6652         (getLabelFont): adjust
6653
6654         * paragraph_funcs.C (TeXOnePar): adjust
6655
6656         * buffer.C (simpleLinuxDocOnePar): adjust
6657         (simpleDocBookOnePar): adjust
6658
6659         * CutAndPaste.C (pasteSelection): adjust
6660
6661         * BufferView.C (getEncoding): adjust
6662
6663         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6664
6665 2003-04-16  John Levon  <levon@movementarian.org>
6666
6667         * lyxfind.C: use parlist stuff for search/changes
6668
6669 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6672
6673         * text2.C (deleteEmptyParagraphMechanism): adjust
6674
6675         * text2.[Ch] (ownerParagraph): delete func (both of them
6676
6677 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6680
6681 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * ParagraphList.C: prepare for NO_NEXT
6684
6685 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6686
6687         * text2.C (getFont): adjust
6688         (getLayoutFont): adjust
6689         (getLabelFont): adjust
6690
6691         * paragraph.C (getFont): adjust
6692         (getLabelFont): adjust
6693         (getLayoutFont): adjust
6694
6695         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6696
6697 2003-04-15  John Levon  <levon@movementarian.org>
6698
6699         From Angus Leeming
6700
6701         * lyx_main.C: handle Include in .ui files
6702
6703 2003-04-15  John Levon  <levon@movementarian.org>
6704
6705         * MenuBackend.C: make the doc files length shorter
6706
6707         * ToolbarBackend.h:
6708         * ToolbarBackend.C: handle toolbar placement flags,
6709         Minibuffer
6710
6711 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6714         adjust
6715
6716         * paragraph_funcs.C (TeXOnePar): adjust
6717
6718         * paragraph.C (getLabelFont): add outerfont arg, adjust
6719         (getLayoutFont): ditto
6720         (simpleTeXOnePar): adjust
6721
6722         * paragraph_pimpl.C (realizeFont): delete func
6723
6724 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6725
6726         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6727         row argument, constify cur argument.
6728
6729 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6730
6731         * text2.C (getFont): adjust
6732         (getLayoutFont): adjust
6733         (getLabelFont): adjust
6734
6735         * paragraph_funcs.C (TeXOnePar): adjust
6736         (outerFont): new func...
6737         (realizeFont): ...moved out from here, changed this to facilitate
6738         transition
6739
6740         * paragraph.C (getFont): take outerfont as arg, adjust
6741         (simpleTeXOnePar): add outerfont arg, adjust
6742
6743         * buffer.C (simpleLinuxDocOnePar): adjust
6744         (simpleDocBookOnePar): adjust
6745
6746         * CutAndPaste.C (pasteSelection): adjust
6747
6748         * BufferView.C (getEncoding): adjust
6749
6750 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * text2.C (setCharFont): adjust
6753         (setCounter): adjust
6754
6755         * text.C (leftMargin): adjust
6756         (setHeightOfRow): adjust
6757
6758         * rowpainter.C (paintFirst): adjust
6759         (paintLast): adjust
6760
6761         * paragraph_pimpl.C (realizeFont): adjust
6762
6763         * paragraph.C (isFirstInSequence): move from here...
6764         * paragraph_funcs.C (isFirstInSequence): ...to here
6765
6766         * paragraph.C (outerHook): move from here...
6767         * paragraph_funcs.C (outerHook): ...to here
6768
6769         * paragraph.C (depthHook): move from here...
6770         * paragraph_funcs.C (depthHook): ...to here
6771
6772         * paragraph.C (getEndLabel): move from here...
6773         * paragraph_funcs.C (getEndLabel): ...to here
6774
6775         * text2.C (realizeFont): move from here...
6776         * paragraph_funcs.C (realizeFont): ...to here
6777
6778 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6779
6780         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6781
6782 2003-04-14  Angus Leeming  <leeming@lyx.org>
6783
6784         * LColor.[Ch]: scrap LColor mathcursor.
6785
6786 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * lyxlex.[Ch] (text): delete function
6789         * trans.C (Load): adjust
6790         * paragraph_funcs.C (readParToken): adjust
6791
6792 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6795         vector<char> instead of a char[].
6796
6797         * lyxlex_pimpl.C (getString): adjust
6798         (next): adjust
6799         (lex): use getString
6800         (eatLine): adjust
6801         (nextToken): adjust
6802
6803         * lyxlex.C (text): use pimpl_->getString()
6804         (getBool): ditto
6805         (findToken): ditto
6806
6807 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6810         (makeFontEntriesLayoutSpecific): temp var for par.size()
6811         (setLayout): temp var for ownerParagraphs().end()
6812         (fullRebreak): temp var for rows().end()
6813         (selectionAsString): temp var for boost::next(startpit), realize
6814         that the while really is a regular for loop.
6815         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6816         setCursor in one place.
6817         (setParagraph): temp vr for ownerParagraphs().end()
6818         (updateCounters): make the while loop a for loop
6819         (cutSelection): temp var for ownerParagraphs().end()
6820         (updateInset): make the do {} while() a regular for loop
6821         (getCursorX): use temp vars
6822         (setCurrentFont): use temp vars
6823         (getColumnNearX): use temp vars
6824
6825 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * text.C (transformChar): use temp var for getChar
6828         (computeBidiTables): use temp var for row->par()
6829         (fill): move temp vars for row->par() and pit->layout() earlier in
6830         the function.
6831         (labelFill): use temp var for row->par()
6832         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6833         asc and desc, realize that pit never changes and that firstpit is
6834         just a duplicate and not needed. Exchange rit->par() with pit in a
6835         lot of places.
6836         (breakAgain): use a temp var for boost::next(rit)
6837         (breakAgainOneRow): ditto
6838         (breakParagraph): use a temp var for rows().begin()
6839         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6840         (cursorRightOneWord): use temp var for cursor.par() and
6841         cursor.pos(), remove usage of tmpcursor.
6842         (cursorLeftOneWord): use temp var for cursor.par() and
6843         cursor.pos() only set cur at end of function.
6844
6845 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6846
6847         * text.C, text2.C: exchange all usage of Paragraph::next with
6848         boost::next(ParagraphList::iterator)
6849
6850         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6851
6852         * text2.C (cursorTop): simplify implementation
6853         (cursorBottom): ditto
6854         (setParagraph): use ParagraphList::iterator
6855         (setCurrentFont): adjust
6856         (getColumnNearX): adjust
6857         (cursorRight): adjust
6858         (cursorLeft): remove usage of Paragraph::previous
6859         (cursorUpParagraph): ditto
6860         (deleteEmptyParagraphMechanism): slight cleanup
6861
6862         * text.C (isBoundary): take a Paragraph const & instead of a
6863         pointer as arg.
6864         (addressBreakPoint): ditto
6865         (leftMargin): remove usage of Paragraph::previous.
6866         (setHeightOfRow): ditto
6867         (cursorLeftOneWord): ditto
6868         (selectNextWordToSpellcheck): ditto
6869         (Delete): ditto
6870         (backspace): ditto
6871         (breakParagraph): remove one usage of Paragraph::next
6872         (redoParagraph): ditto
6873         (acceptChange): ditto
6874         (insertChar): adjust
6875         (rowBreakPoint): adjust
6876
6877         * bufferview_funcs.C (toggleAndShow): adjust
6878
6879 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6880
6881         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6882         methods to access it.
6883         * lyxtext.h:
6884         * text.C: Added updateRowPositions to compute all row positions.
6885         Make top_y and getRowNearY() to use the cached y position
6886
6887 2003-04-11  John Levon  <levon@movementarian.org>
6888
6889         * text.C (rowBreakPoint): reintroduce the labelEnd
6890         checks, code copied from the row fill stuff. Deep voodoo.
6891
6892         * text.C (fill): add a comment and debugging for the
6893         next poor soul.
6894
6895 2003-04-11  John Levon  <levon@movementarian.org>
6896
6897         * text.C: make sure fullrow insets get wrapped to the next line,
6898         even when they're in a manual label
6899
6900 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * text2.C (insertParagraph): make it take ParagraphList::iterator
6903         as arg.
6904         (setLayout): make it return ParagraphList::iterator
6905         (redoParagraphs): ditto
6906         (setCounter): ditto
6907         (checkParagraph): ditto
6908
6909         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6910
6911         * text2.C: adjust several funcs.
6912         (realizeFont): take a ParagraphList::iterator as arg.
6913         (getLayoutFont): ditto
6914         (getLabelFont): ditto
6915         (setCharFont): ditto
6916
6917         * text.C: adjust several funcs.
6918
6919 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6920
6921         * text.C (selectNextWordToSpellcheck): don't accidentally
6922         skip insets
6923
6924 2003-04-10  John Levon  <levon@movementarian.org>
6925
6926         * ToolbarBackend.C (getIcon): special handling for
6927         LFUN_MATH_DELIM
6928
6929 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6930
6931         * text2.C (cursorRight): a getChar assert fixed
6932
6933 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6934
6935         * text2.C (getFont): change to take a ParagraphList::iterator
6936         instead of Paragraph*
6937         Adjust several functions.
6938
6939         * text.C (transformChar): change to take a ParagraphList::iterator
6940         instead of Paragraph*
6941         (singleWidth): ditto
6942         Adjust several functions.
6943
6944         * rowpainter.C: adjust several functions
6945         * rowpainter.h:store a ParagraphList::iterator and not a
6946         Paragraph&.
6947
6948
6949 2003-04-09  John Levon  <levon@movementarian.org>
6950
6951         * lyxfunc.C:
6952         * lfuns.h:
6953         * LyXAction.h:
6954         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6955         and the "help" bits as well
6956
6957 2003-04-09  John Levon  <levon@movementarian.org>
6958
6959         * ToolbarBackend.h:
6960         * ToolbarBackend.C: allow multiple toolbars
6961
6962 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * undo_funcs.C (setCursorParUndo): adjust
6965
6966         * text_funcs.C (transposeChars): adjust
6967
6968         * text3.C (gotoNextInset): adjust
6969         (dispatch): adjust
6970
6971         * text2.C (setLayout): adjust
6972         (changeDepth): adjust
6973         (setFont): adjust
6974         (redoParagraphs): adjust
6975         (selectionAsString): adjust
6976         (setParagraph): adjust
6977         (insertInset): adjust
6978         (cutSelection): adjust
6979         (copySelection): adjust
6980         (pasteSelection): adjust
6981         (insertStringAsLines): adjust
6982         (updateInset): adjust
6983         (setCursor): change to take a ParagraphList::iterator parameter
6984         (setCursorIntern): change to take a ParagraphList::iterator parameter
6985         (setCurrentFont): adjust
6986         (cursorLeft): adjust
6987         (cursorRight): adjust
6988         (deleteEmptyParagraphMechanism): adjust
6989
6990         * text.C (breakParagraph): adjust
6991         (insertChar): adjust
6992         (acceptChange): adjust
6993         (rejectChange): adjust
6994         (selectNextWordToSpellcheck): adjust
6995         (changeCase): adjust
6996         (Delete): adjust
6997         (backspace): adjust
6998
6999         * lyxfind.C (SearchForward): adjust
7000         (SearchBackward): adjust
7001         (nextChange): adjust
7002
7003         * lyxcursor.C (par): adjust
7004
7005         * lyxcursor.h: store a ParagraphList::iterator instead of a
7006         Paragraph*
7007
7008         * lyx_cb.C (getPossibleLabel): adjust
7009
7010         * bufferview_funcs.C (toggleAndShow): adjust
7011
7012         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7013         (dispatch): adjust
7014
7015         * BufferView.C (removeAutoInsets): adjust
7016         (lockedInsetStoreUndo): adjust
7017
7018 2003-04-09  John Levon  <levon@movementarian.org>
7019
7020         * ToolbarBackend.C: try icon without argument
7021         if with argument fails
7022
7023 2003-04-08  John Levon  <levon@movementarian.org>
7024
7025         * ToolbarBackend.h:
7026         * ToolbarBackend.C: add getIcon(), handle tooltip,
7027         and change from "Icon" to "Item".
7028
7029 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7030
7031         * BufferView.C (lockInset): another bad getchar crunched
7032
7033 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7034
7035         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7036         again)
7037
7038 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7039
7040         * lyxfind.C (searchForward, searchBackwards): bug 782
7041
7042 2003-04-07  John Levon  <levon@movementarian.org>
7043
7044         * paragraph.C: remove dead comment
7045
7046         * text.C: remove troublesome depth-fiddling code
7047         in leftMargin() and rightMargin() (bug 1017)
7048
7049         * text.C: fix breaking of rows in nested lists
7050         (bug 1004)
7051
7052         * text2.C (updateCounters): fix up depth values
7053         (bug 1013)
7054
7055 2003-04-07  John Levon  <levon@movementarian.org>
7056
7057         * BufferView_pimpl.C: clear message when doc finishes resizing,
7058         and after a mouse event
7059
7060         * lyxfunc.C: clear message after exiting inset
7061
7062 2003-04-07  John Levon  <levon@movementarian.org>
7063
7064         * bufferview_funcs.C: show math status not outside
7065         status in the statusbar
7066
7067 2003-04-07  John Levon  <levon@movementarian.org>
7068
7069         * lyxfunc.C: note status changed after a depth change
7070
7071 2003-04-04  Angus Leeming  <leeming@lyx.org>
7072
7073         * LaTeX.h: move AuxInfo operator==, != out of line.
7074         Remove LaTeX virtual destructor; nothing derives from it.
7075         Move operator()() out of public area and rename it startscript().
7076         Change protected for private.
7077
7078 2003-04-04  Angus Leeming  <leeming@lyx.org>
7079
7080         * lyxfunc.C:
7081         * text2.C: remove unneeded #includes.
7082
7083 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7084
7085         * text2.C (dEPM): fix the heigth of the next row
7086
7087 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7088
7089         * text.C: squashed an invalid getChar requester + some ws changes
7090
7091 2003-04-03  John Levon  <levon@movementarian.org>
7092
7093         * bufferview_funcs.h:
7094         * bufferview_funcs.C:
7095         * lyxfunc.C:
7096         * lyxtext.h:
7097         * text2.C: make getStatus work for the env depth lfuns
7098
7099 2003-04-03  John Levon  <levon@movementarian.org>
7100
7101         * bufferview_funcs.h:
7102         * bufferview_funcs.C:
7103         * lyxfunc.C:
7104         * lyxtext.h:
7105         * text2.C: parlistize decDepth(), by merging it with incDepth()
7106
7107 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * lyxrow.h: store a ParagraphList::iterator instead of a
7110         Paragraph* and adjust other class functions to suit.
7111
7112         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7113         above.
7114
7115 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7116
7117         * text2.C (setCursor): do not anchor to cursor row for the time being
7118
7119 2003-04-02  John Levon  <levon@movementarian.org>
7120
7121         * LyXAction.C:
7122         * lfuns.h:
7123         * lyx_main.C:
7124         * lyxtext.h:
7125         * text.C:
7126         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7127
7128 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7129
7130         * paragraph.h: make ParagraphList and ParagraphList::iterator
7131         friends of Paragraph.
7132
7133         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7134
7135         * ParagraphList.C: Use the private next_ and previous_ from
7136         Paragraph.
7137
7138 2003-04-01  John Levon  <levon@movementarian.org>
7139
7140         * ToolbarBackend.h:
7141         * ToolbarBackend.C:
7142         * Makefile.am: rename, remove defaults gunk
7143
7144         * MenuBackend.h:
7145         * MenuBackend.C: remove defaults gunk
7146
7147         * Languages.h:
7148         * Languages.C: remove defaults gunk
7149
7150         * lyx_main.h:
7151         * lyx_main.C: error out if files couldn't be found.
7152
7153 2003-04-02  John Levon  <levon@movementarian.org>
7154
7155         * text2.C: make incDepth() use parlist
7156
7157 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7158
7159         * undo_funcs.C (firstUndoParagraph): adjust
7160
7161         * text3.C (gotoInset): adjust
7162         (dispatch): adjust, and rewrite loop.
7163
7164         * text2.C (init): adjust, and rewrite loop.
7165         (redoParagraphs): adjust
7166         (updateInset): adjust, and rewrite loop.
7167         (deleteEmptyParagraphMechanism): adjust
7168
7169         * tabular.C (LyXTabular): adjust
7170         (SetMultiColumn): adjust
7171         (TeXRow): adjust
7172
7173         * lyxtext.[Ch] (ownerParagraph): delete function
7174         (ownerParagraphs): new function returns a ParagraphList.
7175
7176         * BufferView.C (removeAutoInsets): adjust
7177         (insertErrors): adjust
7178         (setCursorFromRow): adjust
7179
7180 2003-04-01  Angus Leeming  <leeming@lyx.org>
7181
7182         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7183         in the frontends.
7184
7185 2003-04-02  John Levon  <levon@movementarian.org>
7186
7187         * lyxtext.h:
7188         * text.C:
7189         * Makefile.am:
7190         * text_funcs.h:
7191         * text_funcs.C: make transposeChars a free function
7192
7193         * lyxrow_funcs.C: remove wrong comment
7194
7195 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * lyxtext.h: adjust
7198         * rowpainter.C: adjust
7199         * text.C: adjust
7200         * text2.C: adjust
7201         * text3.C: adjust
7202
7203         * lyxrow_funcs. [Ch]: new files
7204
7205         * lyxrow.[Ch]: remove next and previous pointers
7206         (next,previous): remove accessor functions
7207         (isParEnd): move to lyxrow_funcs
7208         (lastPos): move to lyxrow_funcs
7209         (nextRowIsAllInset): move to lyxrow_funcs
7210         (lastPrintablePos): move to lyxrow_funcs
7211         (numberOfSeparators): move to lyxrow_funcs
7212         (numberOfHfills): move to lyxrow_funcs
7213         (numberOfLabelHfills): move to lyxrow_funcs
7214         (hfillExpansion): move to lyxrow_funcs
7215
7216         * lyxfunc.C: adjust
7217
7218         * bufferview_funcs.C (toggleAndShow): adjust
7219
7220         * RowList.h: Remove class RowList from file leave just a
7221         std::list<Row>.
7222
7223         * RowList.C: delete file
7224
7225         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7226         and lyxrow_funcs.h
7227
7228 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * text3.C (cursorPrevious): adjust
7231         (cursorNext): adjust
7232         (dispatch): adjust
7233
7234         * text2.C (redoHeightOfParagraph): adjust
7235         (redoDrawingOfParagraph): adjust
7236         (setCursor): adjust
7237
7238         * text.C (breakParagraph): adjust
7239         (insertChar): adjust
7240         (backspace): adjust
7241
7242         * rowpainter.C (RowPainter): adjust
7243         (leftMargin): simplify and adjust
7244         (most rowpainter functions): adjust.
7245
7246         * rowpainter.h: store the row as RowList::iterator not as Row*
7247
7248         * lyxcursor.C (row): taka RowList::iterator as arg
7249         (irow): ditto
7250
7251         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7252         of Row*.
7253
7254 2003-04-01  Angus Leeming  <leeming@lyx.org>
7255
7256         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7257         stuff like bool Bool.
7258
7259 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7260
7261         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7262         rewrite a loop
7263
7264 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7265
7266         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7267         RowList::iterator.
7268
7269         * lyxtext.h (rows): drop one version and leve a const variant that
7270         returns a RowList::iterator.
7271
7272 2003-03-31  Angus Leeming  <leeming@lyx.org>
7273
7274         * text.C (fill): ensure that the signature is the same as that in the
7275         header file.
7276
7277 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7278
7279         * text2.C (redoParagraphs): adjust
7280         (updateCounters): adjust
7281         (checkParagraph): adjust
7282         (getColumnNearX): adjust and reformat a bit.
7283
7284         * text.C (top_y): adjust
7285         (workWidth): adjust
7286         (leftMargin): adjust
7287         (prepareToPrint): adjust
7288         (getRow): adjust
7289         (getRowNearY): adjust
7290
7291         * lyxtext.h: make rowlist_ mutable.
7292
7293         * RowList.h: add const_iterator
7294         * RowList.C: adjust for RowList::const_iterator.
7295
7296         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7297         adjust.
7298
7299 2003-03-31  John Levon  <levon@movementarian.org>
7300
7301         * lyxrc.h:
7302         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7303
7304         * lyx_main.C: set default fonts from using lyx_gui funcs
7305
7306         * exporter.C: pdf_mode moved from lyxrc
7307
7308         * lyx_cb.C:
7309         * lyxfunc.C: changes from above
7310
7311 2003-03-31  John Levon  <levon@movementarian.org>
7312
7313         * lyx_main.C: fix to the last fix
7314
7315 2003-03-31  John Levon  <levon@movementarian.org>
7316
7317         * bufferlist.C: "Load original" -> "Load Original"
7318
7319         * converter.C:
7320         * exporter.C:
7321         * importer.C:
7322         * lyx_main.C:
7323         * format.C: more Alert cleanups
7324
7325 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7326
7327         * text2.C (removeParagraph): make it take a RowList::iterator as
7328         arg, adjust.
7329         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7330         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7331
7332         * text.C (anchor_row): make it take a RowList::iterator as arg,
7333         adjust.
7334         (computeBidiTables): make it take a const reference to Row instead
7335         of Row pointer, adjust.
7336         (leftMargin): make it take a RowList::iterator as arg, adjust.
7337         (rowBreakPoint): adjust
7338         (breakAgainOneRow): make it take a RowList::iterator as arg,
7339         adjust.
7340         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7341
7342         * bufferview_funcs.C (toggleAndShow): adjust
7343
7344 2003-03-30  John Levon  <levon@movementarian.org>
7345
7346         * Makefile.am:
7347         * BoostFormat.h:
7348         * boost-inst.C: moved to support
7349
7350         * several files: changes as a result
7351
7352 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7353
7354         * text2.C (LyXText): adjust.
7355         (init): adjust
7356         (removeRow): make it take a RowList::iterator as arg, adjust.
7357         (fullRebreak): adjust
7358         (deleteEmptyParagraphMechanism): adjust
7359         (clearPaint): adjust
7360         (postPaint): adjust
7361
7362         * text.C (top_y): adjust
7363         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7364         (breakAgain): make it take a RowList::iterator as arg, adjust.
7365         (breakParagraph): adjust
7366         (insertChar): adjust
7367         (backspace): adjust
7368
7369         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7370         need_break_row, and refresh_row.
7371
7372         * text3.C (dispatch): adjust
7373
7374         * text2.C (checkParagraph): adjust
7375         (setCursor): adjust
7376         (setCursorFromCoordinates): adjust
7377
7378         * text.C (top_y): adjust
7379         (workWidth): adjust
7380         (getRow): make it return a RowList::iterator, adjust
7381         (getRowNearY): make it return a RowList::iterator, adjust
7382
7383         * text2.C (init): adjust
7384         (insertRow): remove function
7385         (insertParagraph): adjust
7386         (redoParagraphs): adjust
7387         (fullRebreak): adjust
7388         (updateCounters): adjust
7389
7390         * text.C (top_y): rewrite to use RowList iterators.
7391         (top_y): adjust
7392         (setHeightOfRow): rewrite to sue RowList iterators.
7393         (appendParagraph): adjust
7394         (breakAgain): adjust
7395         (breakAgainOneRow): adjust
7396         (breakParagraph): adjust
7397         (getRow): adjust
7398         (getRowNearY): adjust, and remove commented code.
7399
7400         * lyxtext.h (firstRow): delete function
7401         (lastRow): delete function
7402         (rows): new function (const and non-const versions.)
7403         (insertRow): delete function
7404
7405         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7406
7407 2003-03-29  John Levon  <levon@movementarian.org>
7408
7409         * BufferView_pimpl.C: always update scrollbar top
7410         because pasting text when we're anchored could mean we
7411         miss an update altogether
7412
7413 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * text2.C (init): use rowlist_.end() and not 0.
7416         (insertRow): change to take a RowList::iterator as arg, adjust
7417         for this.
7418         (insertParagraph): change to take a RowList::iterator as arg,
7419         adjust for this.
7420         (redoParagraphs): remove some debug msgs.
7421
7422         * text.C (appendParagraph): change to take a RowList::iterator
7423         arg, adjust for this.
7424         (breakAgain): add an assert
7425         (breakAgainOneRow): ditto
7426
7427 2003-03-29  John Levon  <levon@movementarian.org>
7428
7429         * text2.C: do not clear selection after inc/decDepth
7430         (bug 550)
7431
7432 2003-03-29  John Levon  <levon@movementarian.org>
7433
7434         * BufferView.C:
7435         * buffer.C: fix broken strerrors according to Lars
7436
7437 2003-03-29  John Levon  <levon@movementarian.org>
7438
7439         * converters.C: more Alert cleanups
7440
7441 2003-03-29  John Levon  <levon@movementarian.org>
7442
7443         * bufferview_funcs.C: remove pointless Alert
7444
7445         * buffer.C: fix confusing error message when
7446         a template is chmoded 000
7447
7448 2003-03-29  John Levon  <levon@movementarian.org>
7449
7450         * BufferView.C:
7451         * BufferView.h:
7452         * BufferView_pimpl.C: Alert fixes
7453
7454         * Makefile.am:
7455         * tabular.C:
7456         * tabular-old.C: remove unused table compat reading
7457
7458 2003-03-29  John Levon  <levon@movementarian.org>
7459
7460         * BufferView.C:
7461         * buffer.C:
7462         * lyx_cb.h:
7463         * lyx_cb.C: more Alert cleanups
7464
7465         * lyxfunc.C: don't allow chktex if not latex document
7466
7467 2003-03-29  John Levon  <levon@movementarian.org>
7468
7469         * lyx_cb.C:
7470         * BufferView.C:
7471         * buffer.C: warnings pushed down from support/,
7472         kill err_alert
7473
7474 2003-03-29  John Levon  <levon@movementarian.org>
7475
7476         * lyxfunc.C: safety check for C-r (revert)
7477
7478 2003-03-29  John Levon  <levon@movementarian.org>
7479
7480         * bufferlist.h:
7481         * bufferlist.C: several UI fixes using Alert::prompt.
7482         Fix the pointless looping quit code. Fix stupid revert
7483         behaviour (bug 938)
7484
7485         * lyxvc.h:
7486         * lyxvc.C:
7487         * lyx_cb.C: use Alert::prompt
7488
7489         * lyx_main.C: remove a silly question
7490
7491         * lyxfunc.C: remove a couple of silly questions,
7492         use Alert::prompt
7493
7494 2003-03-28  John Levon  <levon@movementarian.org>
7495
7496         * text2.C: fix bug 974 (End on empty par)
7497
7498 2003-03-28  John Levon  <levon@movementarian.org>
7499
7500         * BufferView_pimpl.C:
7501         * LyXAction.C:
7502         * lfuns.h: remove do-nothing math greek lfuns
7503
7504 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * lyxgluelength.h (isValidGlueLength): add default arg on
7507         parameter 2. Remove default arg from friend in class.
7508
7509         * lyxlength.h (isValidLength): add default arg on parameter 2.
7510         Remove default arg from friend in class.
7511
7512         * text2.C (LyXText): adjust, initialize refresh_row.
7513         (init): adjust
7514         (removeRow): adjust
7515         (insertRow): adjust
7516         (insertParagraph): adjst
7517         (redoParagraphs): adjust
7518         (fullRebreak): adjust
7519         (updateCounters): adjust
7520         (deleteEmptyParagraphMechanism): first attempt at fixing a
7521         crashing bug.
7522
7523         * text.C (top_y): adjust
7524         (setHeightOfRow): adjust
7525         (getRow): adjust
7526         (getRowNearY): adjust
7527
7528         * lyxtext.h: include RowList.h
7529         (~LyXText): not needed anymore, deleted.
7530         (firstRow): modify for RowList
7531         (lastRow): new function
7532         Delete firstrow and lastrow class variables, add a Rowlist
7533         rowlist_ class variable.
7534
7535         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7536         paragraph is empty.
7537
7538         * RowList.C (insert): fix case where it == begin().
7539
7540 2003-03-26  Angus Leeming  <leeming@lyx.org>
7541
7542         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7543         the thesaurus dialog.
7544
7545 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7548
7549         * RowList.[Ch]: new files
7550
7551         * ParagraphList.C (erase): handle the case where it == begin
7552         correctly.
7553
7554 2003-03-25  John Levon  <levon@movementarian.org>
7555
7556         * Makefile.am:
7557         * aspell_local.h:
7558         * aspell.C: add new aspell support
7559
7560         * lyxrc.h:
7561         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7562         have it accessible.
7563
7564 2003-03-25  Angus Leeming  <leeming@lyx.org>
7565
7566         * lfuns.h:
7567         * LyXAction.C (init): new LFUN_INSET_INSERT.
7568
7569         * BufferView_pimpl.C (dispatch): split out part of the
7570         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7571
7572         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7573         LFUN_INSET_APPLY.
7574
7575 2003-03-25  Angus Leeming  <leeming@lyx.org>
7576
7577         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7578
7579 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7580
7581         * text2.C:
7582         * text3.C: remove useless row->height(0)
7583
7584 2003-03-25  John Levon  <levon@movementarian.org>
7585
7586         * lyxtext.h:
7587         * text2.C:
7588         * text3.C: rename the refreshing stuff to better names
7589
7590 2003-03-24  John Levon  <levon@movementarian.org>
7591
7592         * BufferView_pimpl.h:
7593         * BufferView_pimpl.C: update layout choice on a mouse
7594         press/release
7595
7596 2003-03-23  John Levon  <levon@movementarian.org>
7597
7598         * Makefile.am: fix commandtags.h reference
7599
7600 2003-03-22  John Levon  <levon@movementarian.org>
7601
7602         * BufferView_pimpl.C:
7603         * lyxtext.h:
7604         * rowpainter.C:
7605         * rowpainter.h:
7606         * text.C:
7607         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7608
7609 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7610
7611         * lyxtext.h:
7612         * text.C: take the rtl methods out of line
7613
7614 2003-03-21 André Pönitz <poenitz@gmx.net>
7615
7616         * metricsinfo.[Ch]: new files containing structures to be passed around
7617         during the two-phase-drawing...
7618
7619 2003-03-21 André Pönitz <poenitz@gmx.net>
7620
7621         * lyxtextclass.C: read 'environment' tag.
7622
7623 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7624
7625         * text2.C (removeRow): fix bug 964
7626
7627 2003-03-20  John Levon  <levon@movementarian.org>
7628
7629         * rowpainter.C:
7630         * text.C:
7631         * text2.C: paint cleanups. Inset::update() dropped font
7632         parameter
7633
7634 2003-03-19  John Levon  <levon@movementarian.org>
7635
7636         * lyxfunc.C: only fitcursor/markDirty if available()
7637
7638 2003-03-19  John Levon  <levon@movementarian.org>
7639
7640         * commandtags.h: rename to ...
7641
7642         * lfuns.h: ... this, and renumber / cleanup
7643
7644 2003-03-19  John Levon  <levon@movementarian.org>
7645
7646         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7647         fit the cursor after an lfun
7648
7649         * BufferView.h:
7650         * BufferView.C:
7651         * BufferView_pimpl.h:
7652         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7653
7654         * LyXAction.C: layout-character should have ReadOnly
7655
7656         * ParagraphParameters.C:
7657         * buffer.C:
7658         * bufferview_funcs.C:
7659         * lyx_cb.C:
7660         * lyxfind.C:
7661         * lyxtext.h:
7662         * text.C:
7663         * text2.C:
7664         * text3.C:
7665         * undo_funcs.C: changes from above
7666
7667 2003-03-18  John Levon  <levon@movementarian.org>
7668
7669         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7670         remove it from update()
7671
7672         * lyxfunc.C: update layout choice after an lfun
7673
7674         * text3.C: remove extra updateLayoutChoice()s
7675
7676 2003-03-18  John Levon  <levon@movementarian.org>
7677
7678         * text.C: top_y change means full repaint, fix
7679         a drawing bug with cursor movement
7680
7681 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7682
7683         * lyxtext.h:
7684         * text.C:
7685         * text2.C: anchor row on setCursor
7686
7687 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7688
7689         * lyxtext.h: remove almost all mutable keywords
7690         * text.C:
7691         * text2.C:
7692         * text3.C: remove const keywords accordingly
7693
7694 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7695
7696         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7697         anon namespace
7698         (TeXEnvironment): ditto
7699         (TeXOnePar): ditto
7700
7701 2003-03-17  John Levon  <levon@movementarian.org>
7702
7703         * text.C (rowBreakPoint): remove attempt to fix displayed
7704         math insets inside a manual label
7705
7706 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7707
7708         * lyxtext.h: remove BufferView* as first arg from almost all class
7709         functions.
7710         * other files: adjust.
7711
7712 2003-03-17  John Levon  <levon@movementarian.org>
7713
7714         * lyxtext.h:
7715         * undo_funcs.C:
7716         * text2.C: more paint cleanups
7717
7718         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7719
7720         * rowpainter.h:
7721         * rowpainter.C: remove "smart" background painting code
7722
7723 2003-03-16  John Levon  <levon@movementarian.org>
7724
7725         * lyxtext.h:
7726         * text.C:
7727         * text2.C:
7728         * text3.C: add helper functions for setting refresh_row/y
7729
7730 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7731
7732         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7733         newline inset which *can* get inserted in the pass_thru layouts.
7734         This is primarily for literate documents.
7735
7736 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7737
7738         * buffer.C: increment LYX_FORMAT to 223
7739
7740 2003-03-14 André Pönitz <poenitz@gmx.net>
7741
7742         * textclass.h: prepare for environment handling, ws changes
7743         * lyxlayout.C: read latexheader and latexfooter tags
7744
7745 2003-03-14  John Levon  <levon@movementarian.org>
7746
7747         * text2.C: rewrite ::status() a bit
7748
7749 2003-03-13  John Levon  <levon@movementarian.org>
7750
7751         * lyxtext.h: add some docs
7752
7753 2003-03-13  John Levon  <levon@movementarian.org>
7754
7755         * lyxtext.h:
7756         * text.C:
7757         * text2.C:
7758         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7759
7760 2003-03-13  John Levon  <levon@movementarian.org>
7761
7762         * text3.C: fix appendix redrawing
7763
7764 2003-03-13  John Levon  <levon@movementarian.org>
7765
7766         * text.C (setHeightOfRow):
7767         * rowpainter.h:
7768         * rowpainter.C: make appendix mark have the text
7769           "Appendix" so the user knows what it is
7770
7771         * LColor.h:
7772         * LColor.C: s/appendixline/appendix/ from above
7773
7774 2003-03-13  John Levon  <levon@movementarian.org>
7775
7776         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7777
7778         * text.C: fix a getChar(pos) bug properly
7779
7780 2003-03-13  Angus Leeming  <leeming@lyx.org>
7781
7782         * commandtags.h:
7783         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7784         Probably only temporary. Let's see how things pan out.
7785
7786         * BufferView.C (unlockInset):
7787         * BufferView_pimpl.C (fitCursor):
7788         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7789
7790         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7791         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7792
7793         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7794         new functions that convert ParagraphParameters to and from a string.
7795
7796         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7797         BufferView::Pimpl's dispatch.
7798         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7799
7800 2003-03-13 André Pönitz <poenitz@gmx.net>
7801
7802         * lyxfunc.C:
7803         * text3.C:
7804         * factory.C: make it aware of InsetEnv
7805
7806 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7807
7808         * text2.C (setCursor): never ask for one past last
7809         (setCursor): add some debugging messages.
7810
7811         * text.C (singleWidth): never ask for one past last
7812         (singleWidth): ditto
7813         (leftMargin): ditto
7814         (rightMargin): ditto
7815         (rowBreakPoint): ditto
7816         (setHeightOfRow): ditto
7817         (prepareToPrint): ditto
7818
7819         * rowpainter.C (paintBackground): never ask for one past last
7820         (paintText): never ask for one past last
7821
7822         * paragraph_pimpl.C (getChar): make the assert stricter, never
7823         allow the one past last pos to be taken
7824
7825         * paragraph.C (getChar): ws changes only
7826
7827         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7828         (numberOfSeparators): ditto
7829         (numberOfHfills): ditto
7830
7831 2003-03-12  John Levon  <levon@movementarian.org>
7832
7833         * author.h:
7834         * author.C:
7835         * bufferparams.h:
7836         * bufferparams.C:
7837         * paragraph_funcs.C: fix per-buffer authorlists
7838
7839 2003-03-12  John Levon  <levon@movementarian.org>
7840
7841         * text.C: fix newline in right address
7842
7843 2003-03-12  Angus Leeming  <leeming@lyx.org>
7844
7845         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7846         duplicate those in LyXFunc::dispatch.
7847
7848         * commandtags.h:
7849         * LyXAction.C:
7850         * ToolbarDefaults.C:
7851         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7852         Add LFUN_FONTFREE_UPDATE.
7853
7854         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7855         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7856
7857         * bufferview_func.[Ch]: several new functions to facilliate
7858         transfer of data to and from the character dialog.
7859
7860 2003-03-12  John Levon  <levon@movementarian.org>
7861
7862         * buffer.C:
7863         * paragraph.h:
7864         * paragraph.C:
7865         * paragraph_funcs.C:
7866         * paragraph_pimpl.C:
7867         * sgml.C:
7868         * tabular.C:
7869         * text.C:
7870         * text3.C: remove META_NEWLINE in favour of an inset
7871
7872         * rowpainter.h:
7873         * rowpainter.C: remove paintNewline (done by inset)
7874
7875 2003-03-12  John Levon  <levon@movementarian.org>
7876
7877         * paragraph_pimpl.C: complain about bad getChar()s
7878         for a while at least
7879
7880 2003-03-12  John Levon  <levon@movementarian.org>
7881
7882         * buffer.h:
7883         * buffer.C: move paragraph read into a separate function,
7884         a little renaming to reflect that.
7885
7886         * bufferparams.h:
7887         * bufferparams.C: remove the author_ids map, not necessary now
7888
7889         * factory.h:
7890         * factory.C: moved Buffer::readInset to here
7891
7892         * paragraph_funcs.h:
7893         * paragraph_funcs.C: readParagraph free function moved from
7894         buffer.C
7895
7896         * tabular.C: name change
7897
7898 2003-03-12  John Levon  <levon@movementarian.org>
7899
7900         * buffer.C:
7901         * ParagraphParameters.C: move par params input to
7902         a read() method
7903
7904         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7905         behave like a normal read from the stream wrt reading
7906         a line vs. a \\token
7907
7908 2003-03-12  John Levon  <levon@movementarian.org>
7909
7910         * paragraph.C:
7911         * ParagraphParameters.h:
7912         * ParagraphParameters.C: move output code to a
7913         ::write() method
7914
7915 2003-03-12  John Levon  <levon@movementarian.org>
7916
7917         * BufferView.C (insertLyXFile):
7918         * buffer.h:
7919         * buffer.C:
7920         * tabular.C: use a parlist iterator for creating the
7921           document.
7922
7923 2003-03-12  John Levon  <levon@movementarian.org>
7924
7925         * buffer.C: make current_change static local not
7926           static file-scope
7927
7928 2003-03-12  John Levon  <levon@movementarian.org>
7929
7930         * buffer.C: fix insertStringAsLines for change tracking
7931
7932 2003-03-12  John Levon  <levon@movementarian.org>
7933
7934         * BufferView.C:
7935         * tabular.C:
7936         * buffer.h:
7937         * buffer.C:
7938         * bufferparams.h:
7939         * bufferparams.C: move author list into params. Rename some
7940           functions. Move the header reading into a separate token
7941           loop. Move the header token reading into BufferParams.
7942
7943 2003-03-12  John Levon  <levon@movementarian.org>
7944
7945         * changes.C: put debug inside lyxerr.debugging() checks
7946
7947 2003-03-11 André Pönitz <poenitz@gmx.net>
7948
7949         * factory.C: make it aware of InsetHFill
7950
7951 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7952
7953         * buffer.C (latexParagraphs): move function from here...
7954         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7955         args.
7956
7957 2003-03-10  Angus Leeming  <leeming@lyx.org>
7958
7959         * LyXAction.C (init): fix bug in poplating array with multiple entries
7960         with the same LFUN (spotted by JMarc).
7961
7962 2003-03-10  John Levon  <levon@movementarian.org>
7963
7964         * text.C:
7965         * text2.C: move getColumnNearX() near its
7966         only call site
7967
7968 2003-03-10  John Levon  <levon@movementarian.org>
7969
7970         * text.C: fix break before a minipage
7971
7972 2003-03-10  John Levon  <levon@movementarian.org>
7973
7974         * text.C: fix the last commit
7975
7976 2003-03-09  John Levon  <levon@movementarian.org>
7977
7978         * lyxtext.h:
7979         * text.C:
7980         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7981         bug 365 (don't break before insets unless needed). Don't
7982         return a value > last under any circumstances.
7983
7984 2003-03-09  Angus Leeming  <leeming@lyx.org>
7985
7986         * BufferView_pimpl.C (trackChanges, dispatch): call
7987         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7988
7989 2003-03-09  Angus Leeming  <leeming@lyx.org>
7990
7991         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7992         than Dialogs::showAboutlyx().
7993
7994 2003-03-09  Angus Leeming  <leeming@lyx.org>
7995
7996         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7997         than Dialogs::showTabularCreate().
7998
7999 2003-03-09  John Levon  <levon@movementarian.org>
8000
8001         * lyxtext.h:
8002         * text.C:
8003         * text2.C: 3rd arg to nextBreakPoint was always the same.
8004           Use references.
8005
8006 2003-03-08  John Levon  <levon@movementarian.org>
8007
8008         * lyxrow.C:
8009         * paragraph.C:
8010         * paragraph.h:
8011         * rowpainter.C:
8012         * text.C:
8013         * text2.C: Remove the "main" bit from the "main body"
8014           notion.
8015
8016 2003-03-08  John Levon  <levon@movementarian.org>
8017
8018         * text.C (leftMargin): The left margin of an empty
8019         manual label paragraph should not include the label width
8020         string length.
8021
8022         * text.C (prepareToPrint): don't attempt to measure hfills
8023         for empty manual label paragraphs - the answer should be 0
8024
8025 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * CutAndPaste.C: remove commented code and reindent.
8028
8029 2003-03-08  John Levon  <levon@movementarian.org>
8030
8031         * lyxfunc.h:
8032         * lyxfunc.C: move reloadBuffer()
8033
8034         * BufferView.h:
8035         * BufferView.C: to here
8036
8037         * lyxvc.C: add comment
8038
8039         * vc-backend.h:
8040         * vc-backend.C: call bv->reload() to avoid
8041           getStatus() check on MENURELOAD
8042
8043 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8044
8045         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8046         to an old format .dep file.
8047
8048 2003-03-07  Angus Leeming  <leeming@lyx.org>
8049
8050         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8051         when the LFUN_MOUSE_RELEASE should have been handled by
8052         inset->localDispatch.
8053
8054 2003-03-07  Angus Leeming  <leeming@lyx.org>
8055
8056         * BufferView_pimpl.C (dispatch):
8057         * LyXAction.C (init):
8058         * ToolbarDefaults.C (init):
8059         * commandtags.h:
8060         * lyxfunc.C (getStatus):
8061         remove LFUN_INSET_GRAPHICS.
8062
8063         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8064
8065 2003-03-07  Angus Leeming  <leeming@lyx.org>
8066
8067         * commandtags.h:
8068         * LyXAction.C (init):
8069         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8070
8071         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8072
8073         * commandtags.h:
8074         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8075
8076         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8077         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8078
8079 2003-03-07  Angus Leeming  <leeming@lyx.org>
8080
8081         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8082         remove "ert".
8083
8084 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * ParagraphList.C (front): new function
8087         (back): implement
8088
8089 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8090
8091         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8092         and top_row_offset_. removed var first_y.
8093         * text.C (top_y):
8094         * text2.C (LyXText, removeRow):
8095         * text3.C:
8096         * BufferView_pimpl.C:
8097         use these methods instead of using first_y
8098
8099 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * text2.C (pasteSelection): adjust for checkPastePossible
8102
8103         * CutAndPaste.C: remove Paragraph * buf and replace with
8104         ParagraphList paragraphs.
8105         (DeleteBuffer): delete
8106         (cutSelection): change the tc type to textclass_type
8107         (copySelection): change the tc type to textclass_type
8108         (copySelection): adjust for ParagraphList
8109         (pasteSelection): change the tc type to textclass_type
8110         (pasteSelection): adjust for Paragraphlist
8111         (nrOfParagraphs): simplify for ParagraphList
8112         (checkPastePossible): simplify for ParagraphList
8113         (checkPastePossible): remove unused arg
8114
8115         * ParagraphList.C (insert): handle the case where there are no
8116         paragraphs yet.
8117
8118         * CutAndPaste.h: make CutAndPaste a namespace.
8119
8120         * text3.C (dispatch): adjust
8121
8122         * text.C (breakParagraph): add a ParagraphList as arg
8123
8124         * paragraph_funcs.C (breakParagraph): change to take a
8125         BufferParams and a ParagraphList as args.
8126         (breakParagraphConservative): ditto
8127         (mergeParagraph): ditto
8128         (TeXDeeper): add a ParagraphList arg
8129         (TeXEnvironment): ditto
8130         (TeXOnePar): ditto
8131
8132         * buffer.C (readLyXformat2): adjust
8133         (insertStringAsLines): adjust
8134         (latexParagraphs): adjust
8135
8136         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8137         (cutSelection): adjust
8138         (pasteSelection): adjust
8139
8140         * BufferView_pimpl.C (insertInset): adjust
8141
8142 2003-03-05  Angus Leeming  <leeming@lyx.org>
8143
8144         * commandtags.h:
8145         * LyXAction.C (init):
8146         * BufferView_pimpl.C (dispatch):
8147         * lyxfunc.C (getStatus):
8148         remove LFUN_CHILD_INSERT.
8149
8150         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8151
8152 2003-03-05  Angus Leeming  <leeming@lyx.org>
8153
8154         * commandtags.h:
8155         * LyXAction.C (init):
8156         * src/factory.C (createInset):
8157         * lyxfunc.C (getStatus):
8158         * text3.C (dispatch):
8159         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8160
8161         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8162
8163 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8164
8165         * ParagraphList.C (insert): handle insert right before end()
8166         (erase): fix cases where it can be first or last paragraph.
8167
8168 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8169
8170         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8171         Paragraph::next and Paragraph::previous
8172         (TeXOnePar): ditto
8173
8174         * text.C (breakParagraph): adjust
8175
8176         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8177         BufferParams& as arg.
8178         (breakParagraph): use ParagraphList::insert
8179         (breakParagraphConservative): take a Buffer* instead of a
8180         BufferParams& as arg.
8181         (breakParagraphConservative): use ParagraphList::insert.
8182
8183         * buffer.C (insertStringAsLines): un-const it
8184         (insertStringAsLines): adjust
8185
8186         * ParagraphList.C (insert): new function
8187
8188         * CutAndPaste.C (pasteSelection): adjust
8189
8190         * text.C (backspace): adjust
8191
8192         * tabular.C (SetMultiColumn): adjust
8193
8194         * CutAndPaste.C (cutSelection): adjust
8195         (pasteSelection): adjust
8196
8197         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8198         Buffer const * as arg
8199
8200         * ParagraphList.C (erase): new function
8201         * paragraph_funcs.C (mergeParagraph): use it
8202         (mergeParagraph): make it take a Buffer* instead of a
8203         BufferParams* as arg
8204
8205         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8206         as arg
8207         (breakParagraphConservative): ditto
8208
8209         * paragraph.h: remove the breakParagraph friend
8210
8211         * paragraph.C (eraseIntern): new function
8212         (setChange): new function
8213
8214         * paragraph_funcs.C (mergeParagraph): make it take a
8215         ParagraphList::iterator instead of a Paragraph *, adjust
8216         accordingly.
8217
8218         * paragraph.h: move an #endif so that the change tracking stuff
8219         also works in the NO_NEXT case.
8220
8221 2003-03-04  Angus Leeming  <leeming@lyx.org>
8222
8223         * commandtags.h:
8224         * LyXAction.C: new LFUN_INSET_MODIFY.
8225
8226         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8227         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8228
8229 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * several files: ws changes only
8232
8233         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8234         (TeXEnvironment): ditto
8235         (TeXDeeper): ditto
8236
8237         * buffer.C (makeLaTeXFile): adjust
8238         (latexParagraphs): make it take ParagraphList::iterator as args
8239
8240 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8241
8242         * buffer.C (latexParagraphs): adjust
8243
8244         * paragraph.C (TeXOnePar): move function...
8245         (optArgInset): move function...
8246         (TeXEnvironment): move function...
8247         * paragraph_pimpl.C (TeXDeeper): move function...
8248         * paragraph_funcs.C: ...here
8249
8250         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8251
8252 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * buffer.C (readInset): remove compability code for old Figure and
8255         InsetInfo insets
8256
8257 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * buffer.C: ws changes
8260         (readInset):
8261
8262         * BufferView_pimpl.C: ditto
8263         * author.C: ditto
8264         * buffer.h: ditto
8265         * bufferlist.h: ditto
8266         * changes.h: ditto
8267         * lyxfunc.C: ditto
8268
8269 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8270
8271         * converter.[Ch]: split into itself +
8272         * graph.[Ch]
8273         * format.[Ch]
8274         * Makefile.am: += graph.[Ch] + format.[Ch]
8275         * MenuBackend.C
8276         * buffer.C
8277         * exporter.C
8278         * importer.C
8279         * lyx_main.C
8280         * lyxfunc.C
8281         * lyxrc.C: added #include "format.h"
8282
8283 2003-02-27  Angus Leeming  <leeming@lyx.org>
8284
8285         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8286           a label.
8287
8288         * factory.C (createInset): add "label" to the factory.
8289
8290         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8291           string and do no more.
8292
8293 2003-02-27  Angus Leeming  <leeming@lyx.org>
8294
8295         * commandtags.h:
8296         * LyXAction.C (init):
8297         * factory.C (createInset):
8298         * BufferView_pimpl.C (dispatch):
8299           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8300
8301         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8302
8303         * lyxfunc.C (dispatch):
8304         * text3.C (dispatch): pass name to params2string.
8305
8306 2003-02-26  Angus Leeming  <leeming@lyx.org>
8307
8308         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8309           blocks together.
8310           Rearrange the ~includes. Strip out the unnecessary ones.
8311
8312         * factory.C (createInset): reformat.
8313           create new insets for the various LFUN_XYZ_APPLY lfuns.
8314
8315 2003-02-26  John Levon  <levon@movementarian.org>
8316
8317         * lyxrow.h:
8318         * lyxrow.C: add isParStart,isParEnd helpers
8319
8320         * paragraph.h: make isInserted/DeletedText take refs
8321
8322         * paragraph_funcs.h:
8323         * paragraph_funcs.C: remove #if 0'd code
8324
8325         * lyxtext.h:
8326         * text3.C:
8327         * text2.C:
8328         * text.C: use lyxrow helpers above.
8329           Move draw and paint routines to RowPainter.
8330           Make several methods use refs not pointers.
8331           Make backgroundColor() const.
8332           Add markChangeInDraw(), isInInset().
8333           Merge changeRegionCase into changeCase.
8334           Make workWidth() shouldn't-happen code into an Assert.
8335
8336         * rowpainter.h:
8337         * rowpainter.C: new class for painting a row.
8338
8339         * vspace.h:
8340         * vspace.C: make inPixels take a ref
8341
8342 2003-02-26  Angus Leeming  <leeming@lyx.org>
8343
8344         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8345         LFUN_REF_APPLY.
8346
8347 2003-02-25  John Levon  <levon@movementarian.org>
8348
8349         * ispell.C: give the forked command a more accurate name
8350
8351 2003-02-22  John Levon  <levon@movementarian.org>
8352
8353         * toc.h:
8354         * toc.C: make TocItem store an id not a Paragraph *
8355           (bug #913)
8356
8357 2003-02-21  Angus Leeming  <leeming@lyx.org>
8358
8359         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8360           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8361           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8362           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8363           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8364           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8365
8366         * BufferView_pimpl.C (dispatch):
8367         * LyXAction.C (init):
8368         * factory.C (createInset):
8369         * lyxfunc.C (getStatus, dispatch):
8370         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8371
8372 2003-02-21  Angus Leeming  <leeming@lyx.org>
8373
8374         * BufferView_pimpl.C (MenuInsertLyXFile):
8375         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8376         * lyxfunc.C (menuNew, open, doImport):
8377           no longer pass a LyXView & to fileDlg.
8378
8379 2003-02-21  Angus Leeming  <leeming@lyx.org>
8380
8381         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8382         * LyXAction.C: change, BIBKEY to BIBITEM.
8383         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8384         Change InsetBibKey to InsetBibitem.
8385         Change BIBKEY_CODE to BIBITEM_CODE.
8386         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8387         * factory.C: replace insetbib.h with insetbibitem.h.
8388         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8389         * paragraph.C: replace insetbib.h with insetbibitem.h.
8390         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8391         Change bibkey() to bibitem().
8392         * text.C: remove insetbib.h.
8393         * text2.C: replace insetbib.h with insetbibitem.h.
8394         change bibkey() to bibitem().
8395         * text3.C: remove insetbib.h.
8396         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8397
8398 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8399
8400         * lyxrc.C (output): enclose user email in quotes (in case there are
8401         several words)
8402
8403 2003-02-18  John Levon  <levon@movementarian.org>
8404
8405         * buffer.h: add std::
8406
8407 2003-02-17  John Levon  <levon@movementarian.org>
8408
8409         * SpellBase.h:
8410         * ispell.h:
8411         * ispell.C:
8412         * pspell.h:
8413         * pspell.C: reworking. Especially in ispell, a large
8414           number of clean ups and bug fixes.
8415
8416         * lyxfunc.C: fix revert to behave sensibly
8417
8418 2003-02-17 André Pönitz <poenitz@gmx.net>
8419
8420         * LyXAction.C:
8421         * commandtags.h: new LFUN_INSERT_BIBKEY
8422
8423         * layout.h:
8424         * lyxlayout.C:
8425         * buffer.C:
8426         * factory.C:
8427         * text.C:
8428         * text2.C:
8429         * text3.C:
8430         * paragraph.[Ch]:
8431         * paragraph_func.C: remove special bibkey handling
8432
8433 2003-02-17  John Levon  <levon@movementarian.org>
8434
8435         * text.C (Delete): fix case where delete at the end of
8436           the very first paragraph would not merge the pars
8437
8438 2003-02-17  John Levon  <levon@movementarian.org>
8439
8440         * lyxrow.C: fix lastPrintablePos()
8441
8442 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8443
8444         * bufferparams.C (writeLaTeX): add a std:here
8445
8446         * buffer.C: and remove a using directive there
8447
8448 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8449
8450         * buffer.C (makeLaTeXFile): move the code that generates the
8451           preamble...
8452
8453         * bufferparams.C (writeLaTeX): ... in this new method
8454
8455         * LaTeXFeatures.C (getEncodingSet): make const
8456           (getLanguages): make const
8457
8458         * MenuBackend.C (binding): returns the binding associated to this
8459           action
8460           (add): sets the status of each item by calling getStatus. Adds
8461           some intelligence.
8462           (read): add support for OptSubMenu
8463           (expand): remove extra separator at the end of expanded menu
8464
8465 2003-02-15  John Levon  <levon@movementarian.org>
8466
8467         * BufferView.C:
8468         * BufferView_pimpl.C:
8469         * bufferlist.h:
8470         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8471           inset code that had no actual effect. Remove unneeded status
8472           code.
8473
8474 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8475
8476         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8477           in preamble
8478
8479 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8480
8481         * text.C (drawLengthMarker): also draw an arrow marker for
8482           symbolic lengths (medskip...)
8483
8484 2003-02-14  John Levon  <levon@movementarian.org>
8485
8486         * tabular.h:
8487         * tabular.C: better method names
8488
8489 2003-02-14  John Levon  <levon@movementarian.org>
8490
8491         * BufferView_pimpl.C:
8492         * bufferlist.C:
8493         * buffer.C:
8494         * converter.C:
8495         * lyx_cb.C:
8496         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8497           it's a more accurate name. Remove some pointless uses.
8498
8499 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8500
8501         * text2.C (LyXText): change order of initilizers to shut off
8502           warnings
8503
8504 2003-02-14  John Levon  <levon@movementarian.org>
8505
8506         * buffer.C: use ParIterator for getParFromID()
8507
8508         * paragraph.h:
8509         * paragraph.C:
8510         * paragraph_pimpl.h:
8511         * paragraph_pimpl.C: remove unused getParFromID()
8512
8513 2003-02-14  John Levon  <levon@movementarian.org>
8514
8515         * buffer.C: remove some very old #if 0'd parse code
8516
8517 2003-02-13  John Levon  <levon@movementarian.org>
8518
8519         * text.h:
8520         * text.C:
8521         * text2.C: move hfillExpansion(), numberOfSeparators(),
8522           rowLast(), rowLastPrintable(), numberofHfills(),
8523           numberOfLabelHfills() ...
8524
8525         * lyxrow.h:
8526         * lyxrow.C: ... to member functions here.
8527
8528         * paragraph.h:
8529         * paragraph.C:
8530         * lyxtext.h:
8531         * text.C: remove LyXText::beginningOfMainBody(), and call
8532           p->beginningOfMainBody() directly. Move the check for
8533           LABEL_MANUAL into the latter.
8534
8535         * text.h:
8536         * text.C:
8537         * text2.C:
8538         * vspace.C:
8539         * BufferView.h:
8540         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8541
8542         * text.h:
8543         * text.C:
8544         * text2.C:
8545         * text3.C:
8546         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8547           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8548
8549 2003-02-13  John Levon  <levon@movementarian.org>
8550
8551         * CutAndPaste.C: remove debug
8552
8553 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8554
8555         * paragraph.C (asString): remove two unused variables
8556
8557         * lyxtextclass.C (readTitleType):
8558           (Read):
8559           (LyXTextClass): handle new members titletype_ and titlename_
8560
8561         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8562
8563 2003-02-09  John Levon  <levon@movementarian.org>
8564
8565         * buffer.h:
8566         * buffer.C: replace hand-coded list with a map for the dep clean
8567
8568 2003-02-08  John Levon  <levon@movementarian.org>
8569
8570         * LaTeX.C: consolidate code into showRunMessage() helper
8571
8572 2003-02-08  John Levon  <levon@movementarian.org>
8573
8574         * lyxfind.C:
8575         * lyxtext.h:
8576         * text2.C:
8577         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8578           and pass the size in explicitly
8579
8580         * BufferView_pimpl.h:
8581         * BufferView_pimpl.C:
8582         * BufferView.h:
8583         * BufferView.C: add getCurrentChange()
8584
8585         * BufferView_pimpl.h:
8586         * BufferView_pimpl.C: handle change lfuns
8587
8588         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8589           for changes. Mark pasted paragraphs as new.
8590
8591         * support/lyxtime.h:
8592         * support/lyxtime.C:
8593         * DepTable.C: abstract time_t as lyx::time_type
8594
8595         * LColor.h:
8596         * LColor.C: add colours for new text, deleted text, changebars
8597
8598         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8599           package use "usenames" option.
8600
8601         * commandtags.h:
8602         * lyxfunc.C:
8603         * LyXAction.C: add change lfuns
8604
8605         * Makefile.am:
8606         * author.h:
8607         * author.C: author handling
8608
8609         * buffer.h:
8610         * buffer.C: add a per-buffer author list, with first entry as
8611           current author. Handle new .lyx tokens for change tracking. Output
8612           author list to .lyx file. Output dvipost stuff to .tex preamble.
8613           Bump lyx format to 222.
8614
8615         * bufferlist.h:
8616         * bufferlist.C: add setCurrentAuthor() to reset current author details
8617           in all buffers.
8618
8619         * bufferparams.h:
8620         * bufferparams.C: add param for tracking
8621
8622         * bufferview_funcs.C: output change info in minibuffer
8623
8624         * Makefile.am:
8625         * changes.h:
8626         * changes.C: add change-tracking structure
8627
8628         * debug.h:
8629         * debug.C: add CHANGES debug flag
8630
8631         * lyxfind.h:
8632         * lyxfind.C: add code for finding the next change piece
8633
8634         * lyxrc.h:
8635         * lyxrc.C: add user_name and user_email
8636
8637         * lyxrow.h:
8638         * lyxrow.C: add a metric for the top of the text line
8639
8640         * lyxtext.h:
8641         * text.C: implement accept/rejectChange()
8642
8643         * lyxtext.h:
8644         * text.C: paint changebars. Paint new/deleted text in the chosen
8645         colours. Strike through deleted text.
8646
8647         * paragraph.h:
8648         * paragraph.C:
8649         * paragraph_pimpl.h:
8650         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8651           in the current change to the insert functions. Rework erase to
8652           mark text as deleted, adding an eraseIntern() and a range-based
8653           erase(). Implement per-paragraph change lookup and
8654           accept/reject.
8655
8656         * paragraph_funcs.C: Fixup paste for change tracking.
8657
8658         * tabular.C: mark added row/columns as new.
8659
8660         * text.C: fix rowLast() to never return -1. Don't allow
8661           spellchecking of deleted text. Track transpose changes. Don't
8662           allow paragraph break or merge where appropriate.
8663
8664         * text2.C: leave cursor at end of selection after a cut.
8665
8666 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8667
8668         * text.C (getLengthMarkerHeight):
8669         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8670         visible on screen too.
8671
8672 2003-02-07  John Levon  <levon@movementarian.org>
8673
8674         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8675
8676 2003-02-05  Angus Leeming  <leeming@lyx.org>
8677
8678         * lyxserver.C (read_ready): revert my patch of 11 September last year
8679         as it sends PC cpu through the roof. Presumably this means that
8680         the lyxserver will no longer run on an Alpha...
8681
8682 2003-01-30  Angus Leeming  <leeming@lyx.org>
8683
8684         * factory.C (createInset): create an InsetCommandParam of type "index"
8685         and use it to 'do the right thing'.
8686
8687         * text2.C (getStringToIndex): ensure that cursor position is always
8688         reset to the reset_cursor position.
8689
8690 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8691
8692         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8693         disabled.
8694
8695 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8696
8697         * bufferview.C:
8698         * lyxcb.C:
8699         * lyxfunc.C: Output messages with identical spelling, punctuation,
8700         and spaces
8701
8702 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8703
8704         * MenuBackend.C (expandFormats): List only viewable export formats
8705         in "View" menu
8706
8707         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8708         message
8709
8710         * lyxfunc.C (getStatus): Make sure that formats other than
8711         "fax" can also be disabled
8712
8713 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8714
8715         * text3.C (dispatch): put the lfuns that insert insets in 3
8716         groups, and call doInsertInset with appropriate arguments.
8717         (doInsertInset): new function, that creates an inset and inserts
8718         it according to some boolean parameters.
8719
8720 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8721
8722         * buffer.C (readFile): remember to pass on 'par' when calling
8723         readFile recursively.
8724
8725 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8726
8727         * MenuBackend.C (expandFormats): add "..." to import formats.
8728
8729 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8730
8731         * paragraph.C (asString): Remove XForms RTL hacks.
8732
8733 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8734         * buffer.C: fix typo
8735
8736 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * Makefile.am (LIBS): delete var
8739         (lyx_LDADD): add @LIBS@ here instead.
8740
8741 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8742
8743         * Clarify the meaning of "wheel mouse jump"
8744
8745 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8746
8747         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8748         tabular in a float
8749
8750 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8751
8752         * importer.C (Loaders): do not preallocate 3 elements in the
8753         vector, since one ends up with 6 elements otherwise
8754
8755 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8756
8757         * DepTable.C (write): write the file name as last element of the
8758         .dep file (because it may contain spaces)
8759         (read): read info in the right order
8760
8761 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8762
8763         * paragraph_pimpl.C (simpleTeXBlanks):
8764         (simpleTeXSpecialChars):
8765         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8766
8767         * tabular.C (latex): add some missing case statements. Reindent.
8768
8769         * MenuBackend.C (expandToc): remove unused variable.
8770
8771 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8772
8773         * LColor.C:
8774         * LaTeX.C:
8775         * LyXAction.C:
8776         * MenuBackend.C:
8777         * buffer.C:
8778         * exporter.C:
8779         * lyxfunc.C:
8780         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8781         and the like.
8782
8783 2003-01-05  John Levon  <levon@movementarian.org>
8784
8785         * BufferView.h:
8786         * BufferView.C: add getEncoding()
8787
8788         * kbsequence.h:
8789         * kbsequence.C: do not store last keypress
8790
8791         * lyxfunc.h:
8792         * lyxfunc.C: store last keypress here instead. Pass encoding
8793           to getISOEncoded()
8794
8795 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8796
8797         * lyx_main.C (init): remove annoying error message when following
8798         symbolic links (bug #780)
8799
8800 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8801
8802         * text.C (insertChar):
8803         * lyxrc.C (getDescription): remove extra spaces
8804
8805 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8806
8807         * lyxrc.C (getDescription): remove extra spaces
8808
8809 2002-12-20  John Levon  <levon@movementarian.org>
8810
8811         * text3.C: hack fix for page up/down across tall rows
8812
8813 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8814
8815         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8816         not been invoked
8817
8818 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8819
8820         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8821         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8822         thesaurus is not compiled in
8823
8824 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8825
8826         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8827
8828 2002-12-16  Angus Leeming  <leeming@lyx.org>
8829
8830         * lyxrc.[Ch]:
8831         * lyx_main.C (init): remove override_x_deadkeys stuff.
8832
8833 2002-12-12  John Levon  <levon@movementarian.org>
8834
8835         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8836           insert. Only remove shift modifier under strict
8837           circumstances.
8838
8839 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8840
8841         * MenuBackend.C (expandToc): fix crash.
8842
8843 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8844
8845         * MenuBackend.C (expandToc): gettext on float names.
8846
8847 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8848
8849         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8850         implement bool empty() [bug 490]
8851
8852 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8853
8854         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8855
8856 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8857
8858         * several files: ws changes
8859
8860 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8861
8862         * text2.C (setCounter): clean up a bit, use boost.format.
8863         (updateCounters): initialize par upon declaration.
8864
8865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8866         if the layout exists. We do not just store the layout any more.
8867         (SwitchLayoutsBetweenClasses): use boost.format
8868
8869 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8870
8871         * converter.C (convert): if from and to files are the same, use a
8872         temporary files as intermediary
8873
8874 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8875
8876         * commandtags.h:
8877         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8878
8879 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8880
8881         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8882
8883 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8884
8885         * tabular.C (asciiPrintCell): use string(size, char) instead of
8886         explicit loop.
8887
8888         * sgml.C (openTag): fix order of arguments to string constructor
8889         (closeTag): ditto
8890
8891         * lyxfunc.C (dispatch): use boost.format
8892
8893         * lots of files: change "c" -> 'c'
8894
8895 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8896
8897         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8898
8899 2002-11-25  Angus Leeming  <leeming@lyx.org>
8900
8901         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8902
8903         * lyx_main.C (init): compile fix.
8904
8905 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8906
8907         * lyx_cb.C (start): boost.formatify
8908         do not include <iostream>
8909
8910         * lengthcommon.C: ws only
8911
8912         * boost-inst.C,BoostFormat.h: add more explict instantations
8913
8914 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8915
8916         * lots of files: handle USE_BOOST_FORMAT
8917
8918 2002-11-21  John Levon  <levon@movementarian.org>
8919
8920         * pspell.C: fix compile
8921
8922 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8923
8924         * lyxfunc.C (dispatch): use boost::format
8925         (open): ditto
8926         (doImport): ditto
8927
8928         * lyxfont.C (stateText): use boost::format
8929
8930         * lyx_main.C (LyX): use boost::format
8931         (init): ditto
8932         (queryUserLyXDir): ditto
8933         (readRcFile): ditto
8934         (parse_dbg): ditto
8935         (typedef boost::function): use the recommened syntax.
8936
8937         * importer.C (Import): use boost::format
8938
8939         * debug.C (showLevel): use boost::format
8940
8941         * converter.C (view): use boost::format
8942         (convert): ditto
8943         (move): ditto
8944         (scanLog): ditto
8945
8946         * bufferview_funcs.C (currentState): use boost::format
8947
8948         * bufferlist.C (emergencyWrite): use boost::format
8949
8950         * buffer.C (readLyXformat2): use boost::format
8951         (parseSingleLyXformat2Token): ditto
8952
8953         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8954
8955         * LaTeX.C (run): use boost::format
8956
8957         * Chktex.C (scanLogFile): use boost::format
8958
8959         * BufferView_pimpl.C (savePosition): use boost::format
8960         (restorePosition): ditto
8961         (MenuInsertLyXFile): ditto
8962
8963         * BoostFormat.h: help file for explicit instation.
8964
8965 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8966
8967         * tabular.C (latex): Support for block alignment in fixed width
8968         columns.
8969
8970 2002-11-17  John Levon  <levon@movementarian.org>
8971
8972         * BufferView_pimpl.C:
8973         * lyx_cb.C:
8974         * lyxfunc.C: split filedialog into open/save
8975
8976 2002-11-08  Juergen Vigna  <jug@sad.it>
8977
8978         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8979         by my last patch (hopefully).
8980
8981 2002-11-08  John Levon  <levon@movementarian.org>
8982
8983         * iterators.h:
8984         * iterators.C:
8985         * buffer.h:
8986         * buffer.C:
8987         * paragraph.h:
8988         * paragraph.C:
8989         * toc.h:
8990         * toc.C: ParConstIterator, and use it (from Lars)
8991
8992 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8993
8994         * lyxtextclass.[Ch]: revise and add doxygen comments
8995
8996 2002-11-07  John Levon  <levon@movementarian.org>
8997
8998         * text.C: fix progress value for spellchecker
8999
9000         * toc.C: fix navigate menu for insetwrap inside minipage
9001
9002         * paragraph_funcs.C: added FIXME for suspect code
9003
9004 2002-11-07  John Levon  <levon@movementarian.org>
9005
9006         * BufferView_pimpl.C: fix redrawing of insets
9007           on buffer switch
9008
9009 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9010
9011         * text2.C (updateCounters): fix bug 668
9012
9013 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9014
9015         * text3.C (dispatch): Do not make the buffer dirty when moving the
9016         cursor.
9017
9018 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9019
9020         * vc-backend.C: STRCONV
9021         (scanMaster): ditto
9022
9023         * text2.C (setCounter): STRCONV
9024
9025         * paragraph.C (asString): STRCONV
9026
9027         * lyxlength.C (asString): STRCONV
9028         (asLatexString): ditto
9029
9030         * lyxgluelength.C (asString): STRCONV
9031         (asLatexString): ditto
9032
9033         * lyxfunc.C (dispatch): STRCONV
9034         (open): ditto
9035
9036         * lyxfont.C (stateText): STRCONV
9037
9038         * importer.C (Import): STRCONV
9039
9040         * counters.C (labelItem): STRCONV
9041         (numberLabel): ditto
9042         (numberLabel): remove unused ostringstream o
9043
9044         * chset.C: STRCONV
9045         (loadFile): ditto
9046
9047         * bufferview_funcs.C (currentState): STRCONV
9048
9049         * buffer.C (readFile): STRCONV
9050         (asciiParagraph): ditto
9051         (makeLaTeXFile): ditto
9052
9053         * Spacing.C (writeEnvirBegin): STRCONV
9054
9055         * LaTeXFeatures.C (getLanguages): STRCONV
9056         (getPackages): ditto
9057         (getMacros): ditto
9058         (getBabelOptions): ditto
9059         (getTClassPreamble): ditto
9060         (getLyXSGMLEntities): ditto
9061         (getIncludedFiles): ditto
9062
9063         * LaTeX.C: STRCONV
9064         (run): ditto
9065         (scanAuxFile): ditto
9066         (deplog): ditto
9067
9068         * LString.h: add the STRCONV macros
9069
9070         * BufferView_pimpl.C (savePosition): STRCONV
9071         (restorePosition): ditto
9072         (MenuInsertLyXFile): ditto
9073
9074         * vc-backend.C (scanMaster): change from submatch[...] to
9075         submatch.str(...)
9076
9077         * funcrequest.C: include config.h
9078
9079         * factory.C: include config.h
9080
9081         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9082
9083         * box.C: include config.h
9084
9085         * LaTeX.C (scanAuxFile): change from submatch[...] to
9086         submatch.str(...)
9087         (deplog): ditto
9088
9089 2002-10-25  Angus Leeming  <leeming@lyx.org>
9090
9091         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9092
9093         * ispell.[Ch] (setError): new method.
9094         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9095         Use setError() insetead of goto END.
9096
9097         * lyx_cb.C (AutoSave): move out child process into new class
9098         AutoSaveBuffer.
9099
9100 2002-10-30  John Levon  <levon@movementarian.org>
9101
9102         * text3.C: make start appendix undoable
9103
9104 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9105
9106         * lyxlength.C (inPixels): Fix returned value.
9107
9108         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9109         environment.
9110
9111 2002-10-24  Angus Leeming  <leeming@lyx.org>
9112
9113         * lyxgluelength.h: no need to forward declare BufferParams
9114         or BufferView, so don't.
9115
9116 2002-10-21  John Levon  <levon@movementarian.org>
9117
9118         * BufferView.C: menuUndo ->undo, redo
9119
9120         * BufferView.h: document, remove dead, make some methods private
9121
9122         * paragraph_funcs.h:
9123         * paragraph_funcs.C:
9124         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9125
9126         * buffer.h:
9127         * buffer.C:
9128         * sgml.h:
9129         * sgml.C: move sgml open/close tag into sgml.C
9130
9131         * bufferview_funcs.h: unused prototype
9132
9133         * lyxfunc.h:
9134         * lyxfunc.C: remove unused
9135
9136         * lyxtext.h:
9137         * text.C: remove unused
9138
9139 2002-10-21  John Levon  <levon@movementarian.org>
9140
9141         * BufferView.h:
9142         * BufferView.C:
9143         * BufferView_pimpl.h:
9144         * BufferView_pimpl.C: fix mouse wheel handling based on
9145           patch from Darren Freeman
9146
9147 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9148
9149         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9150
9151 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9152
9153         * lyxlength.C (inPixels): Fix hanfling of negative length.
9154         Fix LyXLength::MU case.
9155
9156 2002-10-16  John Levon  <levon@movementarian.org>
9157
9158         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9159
9160 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9161
9162         * converter.C (view): add support for $$i (file name) and $$p
9163         (file path) for the viewer command. If $$i is not specified, then
9164         it is appended to the command (for compatibility with old syntax)
9165
9166 2002-10-14  Juergen Vigna  <jug@sad.it>
9167
9168         * undo_funcs.C (textHandleUndo): alter the order in which the
9169         new undopar is added to the LyXText, as we have to set first
9170         the right prev/next and then add it as otherwise the rebuild of
9171         LyXText is not correct. Also reset the cursor to the right paragraph,
9172         with this IMO we could remove the hack in "redoParagraphs()".
9173
9174 2002-10-09  Angus Leeming  <leeming@lyx.org>
9175
9176         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9177         to turn off an optimisation if a new inset is to be inserted.
9178
9179 2002-10-11 André Pönitz <poenitz@gmx.net>
9180
9181         * lyxtext.h: make some functions public to allow access
9182         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9183
9184 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9185
9186         * text3.C (dispatch): when changing layout, avoid an infinite loop
9187         [bug #652]
9188
9189 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9190
9191         * lyxrc.C (read): treat a viewer or converter command of "none" as
9192         if it were empty.
9193
9194         * MenuBackend.C (expandFormats): for an update, also allow the
9195         formats that are not viewable
9196
9197         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9198         script if it is newer than the lyxrc.defaults in user directory
9199
9200 2002-10-07 André Pönitz <poenitz@gmx.net>
9201
9202         * text.C: Vitaly Lipatov's small i18n fix
9203
9204 2002-09-25  Angus Leeming  <leeming@lyx.org>
9205
9206         * ispell.h: doxygen fix.
9207
9208 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9209
9210         * buffer.h (readFile): Add a new argument to the method, to allow
9211         reading of old-format templates.
9212
9213 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9214
9215         * toc.C (getTocList): Get TOC from InsetWrap.
9216
9217 2002-09-16  John Levon  <levon@movementarian.org>
9218
9219         * lyxfunc.C: check tabular for cut/copy too
9220
9221 2002-09-12  John Levon  <levon@movementarian.org>
9222
9223         * LyXAction.C: tidy
9224
9225         * factory.h:
9226         * factory.C: add header
9227
9228         * paragraph_funcs.h:
9229         * paragraph_funcs.C: cleanup
9230
9231 2002-09-11  John Levon  <levon@movementarian.org>
9232
9233         * PrinterParams.h: odd/even default to true
9234
9235 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9236
9237         * PrinterParams.h: update printer parameters for new xforms dialog
9238
9239 2002-09-11  Angus Leeming  <leeming@lyx.org>
9240
9241         * lyxserver.C (read_ready): re-write to make it more transparent
9242         and to make it work in coherent fashion under Tru64 Unix.
9243
9244 2002-09-11  André Pönitz <poenitz@gmx.net>
9245
9246         * commandtags.h:
9247         * LyXAction.C:
9248         * text3.C: implement LFUN_WORDSEL
9249
9250 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9251
9252         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9253         make floatlist_ a boost::shared_ptr<FloatList>
9254
9255         * lyxtextclass.C: include FloatList.h
9256         (LyXTextClass): initialize floatlist_
9257         (TextClassTags): add TC_NOFLOAT
9258         (Read): match "nofloat" to TC_NOFLOAT and use it.
9259         (readFloat): modify call to floatlist_
9260         (floats): ditto
9261         (floats): ditto
9262
9263         * FloatList.[Ch] (FloatList): remove commented out float
9264         initialization.
9265         (erase): new function
9266
9267 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9268
9269         * MenuBackend.C (expandToc): fix crash when there is no document
9270         open
9271
9272 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9273
9274         * many files: Add insetwrap.
9275
9276 2002-09-09  John Levon  <levon@movementarian.org>
9277
9278         * text2.C: remove confusing and awkward depth wraparound
9279
9280 2002-09-09  John Levon  <levon@movementarian.org>
9281
9282         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9283
9284         * buffer.h:
9285         * buffer.C: remove getIncludeonlyList()
9286
9287         * paragraph.C:
9288         * lyxfunc.C: remove headers
9289
9290 2002-09-09  Juergen Vigna  <jug@sad.it>
9291
9292         * text.C (getColumnNearX): fix form Michael this is most
9293         probably a cut&paste bug.
9294
9295 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9296
9297         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9298
9299         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9300         references, ws changes.
9301
9302         * text2.C (init): update counters after init
9303         (insertParagraph): no need to set counter on idividual paragraphs.
9304         (setCounter): access the counters object in the textclass object
9305         on in the buffer object.
9306         (updateCounters): ditto
9307
9308         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9309         shared_ptr<Counters> to avoid loading counters.h in all
9310         compilation units.
9311         (LyXTextClass): initialize ctrs_
9312         (TextClassTags): add TC_COUNTER, and ...
9313         (Read): use it here.
9314         (CounterTags): new tags
9315         (readCounter): new function
9316         (counters): new funtion
9317         (defaultLayoutName): return a const reference
9318
9319         * counters.C (Counters): remove contructor
9320         (newCounter): remove a couple of unneeded statements.
9321         (newCounter): simplify a bit.
9322         (numberLabel): some small formatting changes.
9323
9324         * buffer.[Ch]: remove all traces of counters, move the Counters
9325         object to the LyXTextClass.
9326
9327 2002-09-06  Alain Castera  <castera@in2p3.fr>
9328
9329         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9330         package to set the horizontal alignment on fixed width columns.
9331
9332         * lyx_sty.C:
9333         * lyx_sty.h: added tabularnewline macro def.
9334
9335         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9336
9337 2002-09-06  John Levon  <levon@movementarian.org>
9338
9339         * LyXAction.C: tooltips for sub/superscript
9340
9341         * MenuBackend.C: a bit more verbose
9342
9343         * lyxfunc.C: tiny clean
9344
9345         * undo_funcs.C: document undo_frozen
9346
9347 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9348
9349         * counters.C (Counters): add missing algorithm counter.
9350
9351         * text2.C (setCounter): lookup the counter with layouts latexname
9352         instead of by section number.
9353         (setCounter): use a hackish way to lookup the correct enum
9354         counter.
9355         a float name->type change
9356         reset enum couners with counter name directly instead of depth value.
9357
9358         * counters.C (Counters): remove the push_backs, change to use the
9359         float type not the float name.
9360         (labelItem): remove unused string, float name->type change
9361
9362         * counters.h: don't include vector, loose the enums and sects vectors
9363
9364 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9365
9366         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9367         (Read): add float->TC_FLOAT to textclassTags
9368         (Read): and handle it in the switch
9369         (readFloat): new function
9370
9371         * FloatList.C (FloatList): comment out the hardcoded float
9372         definitions.
9373
9374         * lyxlayout.h: ws change.
9375
9376 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9377
9378         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9379
9380 2002-09-03  Angus Leeming  <leeming@lyx.org>
9381
9382         * BufferView_pimpl.h: qualified name is not allowed in member
9383         declaration: WorkArea & Pimpl::workarea() const;
9384
9385         * factory.C: added using std::endl directive.
9386
9387         * text3.C: added using std::find and std::vector directives.
9388
9389 2002-08-29  André Pönitz <poenitz@gmx.net>
9390
9391         * lyxtext.h:
9392         * text2.C: remove unused member number_of_rows
9393
9394         * Makefile.am:
9395         * BufferView2.C: remove file, move contents to...
9396         * BufferView.C: ... here
9397
9398         * BufferView_pimpl.C:
9399         * factory.C: move more inset creation to factory
9400
9401         * vspace.C: avoid direct usage of LyXText, ws changes
9402
9403         * BufferView.[Ch]:
9404                 don't provide direct access to WorkArea, use two simple
9405                 acessors haveSelction() and workHeight() instead
9406
9407
9408 2002-08-29  John Levon  <levon@movementarian.org>
9409
9410         * BufferView_pimpl.C (dispatch): do not continue when
9411           no buffer
9412
9413 2002-08-28  André Pönitz <poenitz@gmx.net>
9414
9415         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9416
9417         * BufferView.h:
9418         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9419
9420 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9421
9422         * buffer.C: increment LYX_FORMAT to 221
9423
9424         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9425         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9426
9427         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9428
9429         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9430
9431 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9432
9433         * factory.C (createInset): use LyXTextClass::floats
9434
9435         * MenuBackend.C (expandFloatListInsert):
9436         (expandFloatInsert):
9437         (expandToc):
9438
9439         * text2.C (setCounter):
9440
9441         * LaTeXFeatures.C (useFloat):
9442         (getFloatDefinitions):
9443
9444         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9445
9446         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9447         floatlist_, with accessor floats().
9448
9449         * FloatList.h: remove global FloatList
9450
9451 2002-08-26  André Pönitz <poenitz@gmx.net>
9452
9453         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9454
9455         * BufferView.h:
9456         * BufferView2.C:
9457         * BufferView_pimpl.C:
9458         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9459
9460 2002-08-25  John Levon  <levon@movementarian.org>
9461
9462         * LyXAction.C: fix margin note description
9463
9464 2002-08-24  John Levon  <levon@movementarian.org>
9465
9466         * buffer.C:
9467         * bufferlist.C:
9468         * bufferview_funcs.C:
9469         * lyxfont.C:
9470         * undo_funcs.C: cleanups
9471
9472         * lyxfunc.C: disable CUT/COPY when no selection
9473
9474 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9475
9476         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9477         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9478
9479         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9480         Add backward compatibility to "mono", "gray" and "no".
9481
9482 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9483
9484         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9485         (and file_format >= 200).
9486
9487 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9488
9489         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9490
9491 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9492
9493         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9494
9495 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9496
9497         * BufferView_pimpl.C:
9498         * LyXAction.C:
9499         * buffer.C:
9500         * commandtags.h:
9501         * lyxfunc.C:
9502         * paragraph.[Ch]:
9503         * text2.C:
9504         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9505         inset and code to make it  work with the paragraph code. The inset
9506         can be anywhere in the paragraph, but will only do the expected
9507         thing in LaTeX if the layout file contains the parameter line
9508                         OptionalArgs    1
9509         (or more generally, a nonzero value) for that layout.
9510
9511 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9512
9513         * paragraph.h: remove the declaration of undefined counters class
9514         function.
9515
9516 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9517
9518         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9519         Dr. Richard Hawkins.
9520
9521 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9522
9523         * paragraph_funcs.h: remove some unneeded includes
9524
9525         * text.C (backspace): pasteParagraph now in global scipe
9526
9527         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9528         (pasteSelection): ditto
9529
9530         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9531         * paragraph_funcs.C (pasteParagraph): ... here
9532
9533 2002-08-20  André Pönitz <poenitz@gmx.net>
9534
9535         * commandtags.h: new LFUNs for swapping/copying table row/colums
9536
9537         * LyXAction.C:
9538         * lyxfunc.C: support for new lfuns
9539
9540 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9541
9542         * tabular.C:
9543         * buffer.[Ch]: remove NO_COMPABILITY stuff
9544
9545 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9546
9547         * boost.C (throw_exception): new file, with helper function for
9548         boost compiled without exceptions.
9549
9550         * paragraph.h:
9551         * lyxlength.C:
9552         * buffer.C:
9553         * ParameterStruct.h:
9554         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9555
9556         * bufferlist.C (emergencyWriteAll): use boost bind
9557
9558         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9559
9560         * text.C: include paragraph_funcs.h
9561         (breakParagraph): breakParagraph is now in global scope
9562
9563         * paragraph_funcs.[Ch]: new files
9564
9565         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9566         global scope
9567
9568         * buffer.C: include paragraph_funcs.h
9569         (insertStringAsLines): breakParagraph is now in global scope
9570
9571         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9572         paragraph_funcs.C
9573
9574         * CutAndPaste.C: include paragraph_funcs.h
9575         (cutSelection): breakParagraphConservative is now in global scope
9576         (pasteSelection): ditto
9577
9578         * buffer.h: declare oprator== and operator!= for
9579         Buffer::inset_iterator
9580
9581         * bufferlist.C (emergencyWrite): don't use fmt(...)
9582
9583         * text3.C: add using std::endl
9584
9585         * BufferView.C (moveCursorUpdate): remove default arg
9586
9587 2002-08-20  André Pönitz <poenitz@gmx.net>
9588
9589         * buffer.[Ch]: move inline functions to .C
9590
9591         * BufferView2.C:
9592         * BufferView_pimpl.C:
9593         * text.C:
9594         * buffer.[Ch]: use improved inset_iterator
9595
9596         * buffer.C:
9597         * paragraph.[Ch]: write one paragraph at a time
9598
9599 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9600
9601         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9602         style if style is not specified.
9603
9604 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9605
9606         * text2.C (setCounter): when searching for right label for a
9607         caption, make sure to recurse to parent insets (so that a caption
9608         in a minipage in a figure float works) (bug #568)
9609
9610 2002-08-20  André Pönitz <poenitz@gmx.net>
9611
9612         * text3.C: new file for LyXText::dispatch() and helpers
9613
9614         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9615
9616         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9617
9618 2002-08-19  André Pönitz <poenitz@gmx.net>
9619
9620         * lyxtext.h:
9621         * text.C: new LyXText::dispatch()
9622
9623         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9624
9625 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9626
9627         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9628
9629         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9630         Hebrew text.
9631
9632 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * Makefile.am: use $(variables) instead of @substitutions@
9635
9636 2002-08-15  André Pönitz <poenitz@gmx.net>
9637
9638         * lyxfunc.C:
9639         * BufferView_pimpl.C: streamlining mathed <-> outer world
9640         interaction
9641
9642         * commandtags.h:
9643         * LyXAction.C: remove unused LFUN_MATH
9644
9645 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9646
9647         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9648
9649 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9650
9651         * paragraph.C (Paragraph): reformat a bit
9652         (cutIntoMinibuffer): use builtin InsetList function instad of
9653         doing it manually.
9654         (getInset): ditto
9655
9656         * buffer.C: include boost/bind.hpp, add using std::for_each
9657         (writeFileAscii): use ParagraphList iterators
9658         (validate): use for_each for validate traversal of paragraphs
9659         (getBibkeyList): use ParagraphList iterators
9660         (resizeInsets): use for_each to resizeInsetsLyXText for all
9661         paragraphs.
9662         (getParFromID): use ParagraphList iterators
9663
9664         * BufferView2.C (lockInset): use paragraph list and iterators
9665
9666 2002-08-14  John Levon  <levon@movementarian.org>
9667
9668         * lyxserver.C: remove spurious xforms include
9669
9670 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9671
9672         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9673
9674 2002-08-13  André Pönitz <poenitz@gmx.net>
9675
9676         * LyXAction.[Ch]:
9677         * lyxfunc.C: further cleaning
9678
9679 2002-08-13  André Pönitz <poenitz@gmx.net>
9680
9681         * funcrequest.h: new constructor
9682
9683         * funcrequest.C: move stuff here from .h
9684
9685         * Makefile.am:
9686         * BufferView_pimpl.C:
9687         * LyXAction.C:
9688         * toc.C:
9689         * lyxfunc.C: subsequent changes
9690
9691         * lyxfunc.h: new view() member function
9692
9693         * lyxfunc.C: subsequent changes
9694
9695 2002-08-13  Angus Leeming  <leeming@lyx.org>
9696
9697         * BufferView2.C:
9698         * BufferView_pimpl.C:
9699         * buffer.C:
9700         * converter.C:
9701         * importer.C:
9702         * lyxfunc.C:
9703         * lyxvc.C:
9704         * toc.C:
9705         * vc-backend.C:
9706         changes due to the changed LyXView interface that now returns references
9707         to member variables not pointers.
9708
9709 2002-08-13  Angus Leeming  <leeming@lyx.org>
9710
9711         * WordLangTuple (word, lang_code): return references to strings,
9712         not strings.
9713
9714         * BufferView.h:
9715         * SpellBase.h:
9716         * lyxtext.h: forward-declare WordLangTuple.
9717
9718         * BufferView2.C:
9719         * ispell.C:
9720         * pspell.C:
9721         * text.C: #include "WordLangTuple.h".
9722
9723         * lyxtext.h:
9724         * text.C: (selectNextWordToSpellcheck): constify return type.
9725
9726 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9727
9728         * buffer.C:
9729         * buffer.h:
9730         * lyxtext.h:
9731         * paragraph.C:
9732         * paragraph_pimpl.h:
9733         * text.C:
9734         * text2.C:
9735         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9736         suggested by Angus.
9737         Made updateCounter always count from start of buffer, and removed
9738         second argument (par).
9739         Reverted floats number display to '#'. Perhaps I'll try again when the
9740         code base is sanitized a bit.
9741
9742 2002-08-12  Angus Leeming  <leeming@lyx.org>
9743
9744         * buffer.[Ch] (getLabelList): constify.
9745
9746 2002-08-07  André Pönitz <poenitz@gmx.net>
9747
9748         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9749
9750         * funcrequest.h: extension to keep mouse (x,y) position
9751
9752 2002-08-12  Juergen Vigna  <jug@sad.it>
9753
9754         * BufferView2.C (insertErrors): forbid undo when inserting error
9755         insets.
9756
9757         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9758
9759 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9760
9761         * ParagraphList.[Ch]: new files
9762
9763         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9764
9765         * BufferView2.C (lockInset): ParagraphList changes
9766         * toc.C: ditto
9767         * text2.C: ditto
9768         * bufferlist.C: ditto
9769         * buffer.h: ditto
9770         * buffer.C: ditto
9771
9772 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9773
9774         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9775         unused class variable counter_,
9776
9777         * paragraph.[Ch] (getFirstCounter): delete unused function
9778
9779         * counters.C: include LAssert.h
9780         (reset): add a new function with no arg, change other version to
9781         not have def. arg and to not allow empty arg.
9782
9783         * text2.C (setCounter): remove empty arg from call to Counters::reset
9784
9785 2002-08-11  John Levon  <levon@movementarian.org>
9786
9787         * Makefile.am: add WordLangTuple.h
9788
9789 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9790
9791         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9792         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9793
9794         * insets/insettext.C: InsetList changes
9795
9796         * graphics/GraphicsSupport.C (operator()): InsetList changes
9797
9798         * toc.C (getTocList): InsetList changes
9799
9800         * paragraph_pimpl.[Ch]: InsetList changes
9801
9802         * paragraph.[Ch]: InsetList changes
9803
9804         * buffer.C (inset_iterator): InsetList changes
9805         (setParagraph): ditto
9806         * buffer.h (inset_iterator): ditto
9807         * iterators.C (operator++): ditto
9808         * iterators.h: ditto
9809
9810         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9811
9812         * InsetList.[Ch]: new files, most InsetList handling moved out of
9813         paragraph.C.
9814
9815         * BufferView2.C (removeAutoInsets): InsetList changes
9816         (lockInset): ditto
9817         (ChangeInsets): ditto
9818
9819 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9820
9821         * paragraph_pimpl.h (empty): new function
9822
9823         * paragraph.[Ch] (empty): new function
9824
9825         * other files: use the new Paragraph::empty function
9826
9827 2002-08-09  John Levon  <levon@movementarian.org>
9828
9829         * lyxtext.h: remove unused refresh_height
9830
9831 2002-08-09  John Levon  <levon@movementarian.org>
9832
9833         * Makefile.am:
9834         * sgml.h:
9835         * sgml.C:
9836         * buffer.C:
9837         * paragraph.h:
9838         * paragraph.C: move sgml char escaping out of paragraph
9839
9840         * paragraph.h:
9841         * paragraph.C: remove id setter
9842
9843         * buffer.C:
9844         * paragraph.C:
9845         * paragraph_pimpl.C: remove dead tex_code_break_column
9846
9847         * bufferview_funcs.C: small cleanup
9848
9849         * lyxfunc.C: remove dead proto
9850
9851         * lyxtext.h: make some stuff private. Remove some dead stuff.
9852
9853         * lyxgluelength.C: make as[LyX]String() readable
9854
9855 2002-08-08  John Levon  <levon@movementarian.org>
9856
9857         * LyXAction.h:
9858         * LyXAction.C:
9859         * MenuBackend.C:
9860         * ToolbarDefaults.C:
9861         * lyxfunc.C:
9862         * lyxrc.C:
9863         * toc.C: lyxaction cleanup
9864
9865 2002-08-08  John Levon  <levon@movementarian.org>
9866
9867         * BufferView2.C: small cleanup
9868
9869         * lyxfind.h:
9870         * lyxfind.C: move unnecessary header into the .C
9871
9872 2002-08-08  John Levon  <levon@movementarian.org>
9873
9874         * funcrequest.h: just tedious nonsense
9875
9876         * lyx_main.h:
9877         * lyx_main.C: cleanups
9878
9879         * buffer.C:
9880         * vspace.C: remove dead header lyx_main.h
9881
9882 2002-08-07  Angus Leeming  <leeming@lyx.org>
9883
9884         * Paragraph.[Ch]:
9885         * paragraph_pimpl.h:
9886         Forward declare class Counters in paragraph.h by moving the ctrs member
9887         variable into Paragraph::Pimpl.
9888         (counters): new method, returning a reference to pimpl_->ctrs.
9889
9890         * text2.C: ensuing changes.
9891
9892 2002-08-07  John Levon  <levon@movementarian.org>
9893
9894         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9895
9896         * BufferView_pimpl.C: announce X selection on double/triple
9897           click
9898
9899         * lyx_main.C: use correct bool in batch dispatch
9900
9901         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9902
9903 2002-08-07  André Pönitz <poenitz@gmx.net>
9904
9905         * funcrequest.h: new class to wrap a kb_action and its argument
9906
9907         * BufferView.[Ch]:
9908         * BufferView_pimpl[Ch]:
9909         * LaTeX.C:
9910         * LyXAction.[Ch]:
9911         * lyxfunc.[Ch]:
9912         * lyxrc.C: subsequent changes
9913
9914
9915 2002-08-07  John Levon  <levon@movementarian.org>
9916
9917         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9918           document options change.
9919
9920 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9921
9922         * counters.[Ch]
9923         * text2.C
9924         * paragraph.[Ch]
9925         * makefile.am: move counters functionality over from
9926         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9927
9928 2002-08-06  John Levon  <levon@movementarian.org>
9929
9930         * WordLangTuple.h: new file for word + language code tuple
9931
9932         * SpellBase.h:
9933         * pspell.h:
9934         * pspell.C:
9935         * ispell.h:
9936         * ispell.C:
9937         * lyxtext.h:
9938         * text.C:
9939         * text2.C:
9940         * BufferView.h:
9941         * BufferView2.C: use WordLangTuple
9942
9943         * layout.h:
9944         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9945
9946 2002-08-06  John Levon  <levon@movementarian.org>
9947
9948         * lyx_main.C: fix cmdline batch handling
9949
9950 2002-08-06  André Pönitz <poenitz@gmx.net>
9951
9952         * lyxrc.C: set default for show_banner to true
9953
9954 2002-08-06  John Levon  <levon@movementarian.org>
9955
9956         * pspell.C: fix a crash, and allow new aspell to work
9957
9958 2002-08-06  John Levon  <levon@movementarian.org>
9959
9960         * lyxfunc.C:
9961         * kbmap.C: small cleanup
9962
9963         * vspace.h:
9964         * vspace.C: add const
9965
9966 2002-08-05  John Levon  <levon@movementarian.org>
9967
9968         * LyXAction.C: back to tabular-insert
9969
9970 2002-08-04  John Levon  <levon@movementarian.org>
9971
9972         * BufferView.h:
9973         * BufferView.C: cosmetic change
9974
9975         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9976
9977         * bufferlist.C:
9978         * buffer.h:
9979         * buffer.C:
9980         * lyxcb.h:
9981         * lyxcb.C:
9982         * lyxserver.C:
9983         * lyxvc.C:
9984         * vc-backend.C:
9985         * BufferView2.C: purge all "Lyx" not "LyX" strings
9986
9987         * lyxcursor.h:
9988         * lyxcursor.C: attempt to add some documentation
9989
9990         * lyxfunc.C:
9991         * commandtags.h:
9992         * LyXAction.C:
9993         * ToolbarDefaults.C:
9994         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9995           merge with LFUN_TABULAR_INSERT
9996
9997         * Makefile.am:
9998         * SpellBase.h:
9999         * ispell.h:
10000         * ispell.C:
10001         * pspell.h:
10002         * pspell.C: split up i/pspell implementations into separate
10003           files, many cleanups
10004
10005         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10006
10007         * text2.C: some cleanup
10008
10009         * lyxfunc.C: don't check for isp_command == "none" any more, it
10010           didn't make any sense
10011
10012 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10013
10014         * counters.[Ch]
10015         * text2.C
10016         * paragraph.[Ch]
10017         * makefile.am: move counters functionality over
10018         from text2.C/paragraph.[Ch] to counters.[Ch], and
10019         make proper C++.
10020 2002-08-02  John Levon  <levon@movementarian.org>
10021
10022         * buffer.C: s/lyxconvert/lyx2lyx/
10023
10024 2002-08-02  Angus Leeming  <leeming@lyx.org>
10025
10026         * lyxlex.C: revert John's change as it breaks reading of the user
10027         preamble.
10028
10029 2002-08-02  Angus Leeming  <leeming@lyx.org>
10030
10031         * importer.C (Import):
10032         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10033         changes due to LyXView::view() now returning a boost::shared_ptr.
10034
10035 2002-08-02  John Levon  <levon@movementarian.org>
10036
10037         * lyxlex.C: small cleanup
10038
10039 2002-08-02  John Levon  <levon@movementarian.org>
10040
10041         * text2.C (status): small cleanup, no logic change
10042
10043 2002-08-01  John Levon  <levon@movementarian.org>
10044
10045         * buffer.h:
10046         * buffer.C (writeFile): don't output alerts, caller
10047           handles this
10048
10049         * bufferlist.C:
10050         * lyx_cb.C: from above
10051
10052         * lyxfunc.C: allow to open non-existent files
10053
10054 2002-07-31  John Levon  <levon@movementarian.org>
10055
10056         * lyxserver.C: don't let incidental errors get
10057           in the way (errno)
10058
10059 2002-07-30  John Levon  <levon@movementarian.org>
10060
10061         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10062
10063 2002-07-30  John Levon  <levon@movementarian.org>
10064
10065         * lyxserver.h:
10066         * lyxserver.C: remove I/O callback too
10067
10068 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10071         log.
10072
10073 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10074
10075         * many files: strip,frontStrip -> trim,ltrim,rtrim
10076
10077 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10078
10079         * PrinterParams.h: remove extern containsOnly, and include
10080         support/lstrings.h instead.
10081
10082         * LaTeX.C (scanAuxFile): modify because of strip changes
10083         (deplog): ditto
10084         * buffer.C (makeLaTeXFile): ditto
10085         * bufferparams.C (writeFile): ditt
10086         * lyxfont.C (stateText): ditto
10087         * lyxserver.C (read_ready): ditto
10088         * vc-backend.C (scanMaster): ditto
10089
10090         * BufferView_pimpl.h: ws changes
10091
10092         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10093
10094 2002-07-26  André Pönitz <poenitz@gmx.net>
10095
10096         * kb_sequence.C: remove unnedred usings
10097
10098 2002-07-26  Juergen Vigna  <jug@sad.it>
10099
10100         * lyxfind.C (LyXReplace): we have to check better if the returned
10101         text is not of theLockingInset()->getLockingInset().
10102
10103 2002-07-25  Juergen Vigna  <jug@sad.it>
10104
10105         * lyxfind.C (LyXReplace): don't replace if we don't get the
10106         right LyXText.
10107
10108         * undo_funcs.C (createUndo): remove debugging code.
10109
10110 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10111
10112         * buffer.C (parseSingleLyXformat2Token): Use default placement
10113         when reading old floats.
10114
10115         * FloatList.C (FloatList): Change the default placement of figure
10116         and tables to "tbp".
10117
10118 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10119
10120         * MenuBackend.C: using std::max
10121
10122 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10123
10124         * MenuBackend.C (expandToc):
10125         (expandToc2): code moved from xforms menu frontend. It is now
10126         generic and TOCs are transparent to menu frontends.
10127
10128 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10129
10130         * toc.C (getTocList): protect against buf=0
10131
10132         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10133         Menu as first parameter. Now, this calls itself recursively to
10134         expand a whole tree (this will be useful for TOC handling)
10135         (expandFloatInsert): remove 'wide' version of floats
10136
10137         * MenuBackend.h (submenuname): returns the name of the submenu.
10138         (submenu): returns the submenu itself, provided it has been
10139         created by MenuBackend::expand
10140
10141 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10142
10143         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10144         insets which have noFontChange == true. (bug #172)
10145
10146 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * BufferView_pimpl.C: add connection objects and use them...
10149         (Pimpl): here.
10150
10151 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10152
10153         * MenuBackend.C (expandLastfiles):
10154         (expandDocuments):
10155         (expandFormats):
10156         (expandFloatListInsert):
10157         (expandFloatInsert):
10158         (expand): split expand in parts
10159
10160 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * lyx_gui.C: use lyx_gui::exit()
10163
10164 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * LyXAction.C: show the failing pseudo action
10167
10168 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10169
10170         * buffer.C (readFile): Run the lyxconvert script in order to read
10171         old files.
10172
10173 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * LyXAction.C:
10176         * commandtags.h:
10177         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10178
10179 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10180
10181         * LyXAction.C:
10182         * commandtags.h:
10183         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10184
10185 2002-07-22  Herbert Voss  <voss@lyx.org>
10186
10187         * lengthcommon.C:
10188         * lyxlength.[Ch]: add support for the vertical lengths
10189
10190 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10191
10192         * toc.[Ch]: std:: fixes
10193
10194 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10195
10196         * lyxrc.C: do not include lyx_main.h
10197
10198         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10199         for layouts
10200
10201         * lyxrc.C:
10202         * encoding.C:
10203         * bufferlist.C:
10204         * BufferView2.C: include "lyxlex.h"
10205
10206         * tabular.h:
10207         * bufferparams.h: do not #include "lyxlex.h"
10208
10209         * lyxtextclasslist.C (Add): remove method
10210         (classlist): renamed to classlist_
10211
10212         * paragraph_pimpl.C:
10213         * paragraph.C:
10214         * text2.C:
10215         * CutAndPaste.C:
10216         * bufferview_funcs.C:
10217         * bufferlist.C:
10218         * text.C:
10219         * LaTeXFeatures.C:
10220         * buffer.C:
10221         * toc.C (getTocList): use BufferParams::getLyXTextClass
10222
10223         * toc.C (getTocList): use InsetFloat::addToToc
10224
10225         * toc.[Ch]: new files, containing helper functions to handle table
10226         of contents
10227
10228         * lyxfunc.C (dispatch): no need to remove spaces around command
10229         given as a string
10230         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10231         first command of the sequence; it is not very clever, but I do not
10232         have a better idea, actually
10233
10234         * LyXAction.C (LookupFunc): make sure to remove space at the
10235         beginning and end of the command
10236
10237 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10238
10239         * MenuBackend.C (getMenubar): new method: return the menubar of
10240         this menu set
10241         (read): treat differently reading of menu and menubar (in
10242         particular, the menubar has no name now)
10243         (Menu::menubar): remove
10244
10245         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10246         saving is finished
10247
10248 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10249
10250         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10251         a bibitem inset in a RTL paragraph.
10252
10253 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10254
10255         * paragraph_pimpl.C: constify
10256
10257         * BufferView_pimpl.C:
10258         * LaTeX.C:
10259         * lyxfunc.C: fix dispatch in a nicer way
10260
10261 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * lyxfunc.C (dispatch):
10264         * BufferView_pimpl.C:
10265         * BufferView_pimpl.h:
10266         * BufferView.C:
10267         * BufferView.h: rename Dispatch() to dispatch()
10268
10269         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10270
10271         * lyxlayout.C (Read): honor DependsOn tag
10272
10273         * lyxlayout.[Ch] (depends_on): new method
10274
10275         * version.C.in: update lyx_docversion
10276
10277         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10278
10279         * paragraph.C (validate): remove from here...
10280         * paragraph_pimpl.C (validate): ... and move here
10281         (isTextAt): make it const
10282
10283         * buffer.C (getLists): ws cleanup
10284
10285 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10286
10287         * language.C (read): Use iso8859-1 encoding in latex_lang
10288         (this prevents LyX from crashing when using iso10646-1 encoding).
10289
10290 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10291
10292         * text2.C (toggleInset): if cursor is inside an inset, close the
10293         inset and leave cursor _after_ it
10294
10295 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * lyxfunc.C: move minibuffer completion handling out of here
10298
10299 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * BufferView_pimpl.C:
10302         * LaTeX.C: fix dispatch calls
10303
10304 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10305
10306         * text.C (drawChars): Fix Arabic text rendering.
10307
10308 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * LyXAction.C:
10311         * commandtags.h:
10312         * lyxfunc.C: remove message-push/pop
10313
10314         * lyxserver.C:
10315         * lyxfunc.h:
10316         * lyxfunc.C: rationalise some code by removing verboseDispatch
10317           in favour of a bool argument to dispatch()
10318
10319 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10320
10321         * lyx_main.C (init): make sure to read symlinks as absolute paths
10322
10323 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10324
10325         * lyxfunc.h:
10326         * lyxfunc.C: no need for commandshortcut to be a member
10327
10328 2002-07-15  André Pönitz <poenitz@gmx.net>
10329
10330         * converter.C: add support for $$s (scripts from lib/scripts dir)
10331         * lyx_main.C: white space
10332
10333 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * bufferlist.C:
10336         * lyxrc.h:
10337         * lyxrc.C: remove second exit confirmation
10338
10339 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * BufferView.h:
10342         * BufferView.C:
10343         * BufferView2.C:
10344         * BufferView_pimpl.h:
10345         * BufferView_pimpl.C:
10346         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10347
10348 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10349
10350         * MenuBackend.C (expand): add numeric shortcuts to document menu
10351
10352         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10353
10354 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10355
10356         * lyxfont.C (setLyXFamily):
10357         (setLyXSeries):
10358         (setLyXShape):
10359         (setLyXSize):
10360         (setLyXMisc):
10361         (lyxRead):
10362         * debug.C (value):
10363         * buffer.C (asciiParagraph): use ascii_lowercase
10364
10365 2002-07-15  Mike Fabian  <mfabian@suse.de>
10366
10367         * lyxlex_pimpl.C (search_kw):
10368         * lyxlex.C (getLongString):
10369         * converter.h (operator<):
10370         * converter.C (operator<):
10371         * buffer.C (parseSingleLyXformat2Token):
10372         (asciiParagraph):
10373         * ToolbarDefaults.C (read):
10374         * MenuBackend.C (checkShortcuts):
10375         (read):
10376         * LColor.C (getFromGUIName):
10377         (getFromLyXName): use the compare_ascii_no_case instead of
10378         compare_no_case, because in turkish, 'i' is not the lowercase
10379         version of 'I', and thus turkish locale breaks parsing of tags.
10380
10381 2002-07-16  Angus Leeming  <leeming@lyx.org>
10382
10383         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10384         now takes a Buffer const & argument.
10385
10386 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10387
10388         * BufferView.C (resize): check there's a buffer to resize
10389
10390 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * lyxfunc.C: remove dead code
10393
10394         * lyxserver.h:
10395         * lyxserver.C: use lyx_guii::set_read_callback
10396
10397 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10398
10399         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10400         an inset in a RTL paragraph.
10401
10402 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * lyxfunc.C: repaint after a font size update
10405
10406 2002-07-15  André Pönitz <poenitz@gmx.net>
10407
10408         * lyxlength.C: inBP should be able to return negative values
10409
10410 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10411
10412         * lyxfunc.C: use lyx_gui::update_fonts()
10413
10414 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * lyxfunc.C: use lyx_gui::update_color()
10417
10418 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10419
10420         * bufferlist.C:
10421         * lyxfunc.h:
10422         * lyxfunc.C:
10423         * lyxrc.h:
10424         * lyxrc.C: remove file->new asks for name option, and let
10425           buffer-new take an argument
10426
10427 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * BufferView_pimpl.C: remove unneeded extra repaint()
10430
10431 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * LyXAction.C: allow command-sequence with NoBuffer
10434
10435         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10436
10437 2002-07-10  Angus Leeming  <leeming@lyx.org>
10438
10439         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10440
10441 2002-07-09  Angus Leeming  <leeming@lyx.org>
10442
10443         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10444
10445 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * lengthcommon.h: whitespace
10448
10449         * lyxfunc.C: update scrollbar after goto paragraph
10450
10451         * lyxtext.h: factor out page break drawing, and fix it so
10452           page break/added space paints as selected nicely
10453
10454 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * BufferView_pimpl.C: add FIXMEs, clean up a little
10457
10458 2002-07-09  André Pönitz <poenitz@gmx.net>
10459
10460         * lyxfont.[Ch]: support for wasy symbols
10461
10462 2002-07-08  André Pönitz <poenitz@gmx.net>
10463
10464         * BufferView_pimpl.C: apply John's patch for #93.
10465
10466 2002-07-05  Angus Leeming  <leeming@lyx.org>
10467
10468         * BufferView_pimpl.C (buffer): generate previews if desired.
10469
10470         * LColor.h: add "preview" to the color enum.
10471
10472         * LColor.C (LColor): add a corresponding entry to the items array.
10473
10474         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10475         with this buffer.
10476
10477 2002-07-05  Angus Leeming  <leeming@lyx.org>
10478
10479         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10480         The body of the code is now in the method that is passed an ostream &
10481         rather than a file name.
10482         Pass an additional only_preamble parameter, useful for the forthcoming
10483         preview stuff.
10484
10485 2002-07-03  André Pönitz <poenitz@gmx.net>
10486
10487         * lyxfunc.C: simplify getStatus() a bit for math stuff
10488
10489 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10490
10491         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10492
10493 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10494
10495         * text.C (changeRegionCase): do not change case of all the
10496         document when region ends at paragraph end (bug #461)
10497
10498 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * paragraph.C (startTeXParParams):
10501         (endTeXParParams): add \protect when necessary
10502
10503 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10504
10505         * BufferView_pimpl.C (workAreaExpose): remove warning
10506
10507 2002-06-27  Angus Leeming  <leeming@lyx.org>
10508
10509         * Makefile.am: add lyxlayout_ptr_fwd.h.
10510
10511 2002-06-26  André Pönitz <poenitz@gmx.net>
10512
10513         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10514
10515 2002-06-25  Angus Leeming  <leeming@lyx.org>
10516
10517         * lyxfunc.C (dispatch): Comment out the call to
10518         grfx::GCache::changeDisplay. The method no longer exists now that the
10519         pixmap generation part of the graphics loader has been moved into
10520         InsetGraphics.
10521
10522 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10523
10524         * text2.C: layout as layout
10525
10526         * text.C: layout as layout
10527
10528         * tabular.C (OldFormatRead): layout as layout
10529
10530         * paragraph_pimpl.C (TeXDeeper): layout as layout
10531         (realizeFont): layout as layout
10532
10533         * paragraph.C (writeFile): layout as layout
10534         (validate): layout as layout
10535         (getFont): layout as layout
10536         (getLabelFont): layout as layout
10537         (getLayoutFont): layout as layout
10538         (breakParagraph): layout as layout
10539         (stripLeadingSpaces): layout as layout
10540         (getEndLabel): layout as layout
10541         (getMaxDepthAfter): layout as layout
10542         (applyLayout): layout as layout
10543         (TeXOnePar): layout as layout
10544         (simpleTeXOnePar): layout as layout
10545         (TeXEnvironment): layout as layout
10546         (layout): layout as layout
10547         (layout): layout as layout
10548
10549         * lyxtextclass.C (compare_name): new functor to work with
10550         shared_ptr, layout as layout
10551         (Read): layout as layout
10552         (hasLayout): layout as layout
10553         (operator): layout as layout
10554         (delete_layout): layout as layout
10555         (defaultLayout): layout as layout
10556
10557         * lyxlayout_ptr_fwd.h: new file
10558
10559         * lyxlayout.C (Read): layout as layout
10560
10561         * lyx_cb.C (MenuInsertLabel): layout as layout
10562
10563         * bufferlist.C (newFile): layout as layout
10564
10565         * buffer.C (readLyXformat2): layout as layout
10566         (parseSingleLyXformat2Token): layout as layout
10567         (insertStringAsLines): layout as layout
10568         (asciiParagraph): layout as layout
10569         (latexParagraphs): layout as layout
10570         (makeLinuxDocFile): layout as layout
10571         (simpleLinuxDocOnePar): layout as layout
10572         (makeDocBookFile): layout as layout
10573         (simpleDocBookOnePar): layout as layout
10574         (getLists): layout as layout
10575
10576         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10577
10578         * CutAndPaste.C (cutSelection): layout as layout
10579         (pasteSelection): layout as layout
10580         (SwitchLayoutsBetweenClasses): layout as layout
10581
10582         * BufferView_pimpl.C (Dispatch): layout as layout
10583         (smartQuote): layout as layout
10584
10585         * BufferView2.C (unlockInset): layout as layout
10586
10587 2002-06-24  André Pönitz <poenitz@gmx.net>
10588
10589         * lyxfunc.C: fix #487
10590
10591 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * lyxrc.h:
10594         * lyxrc.C:
10595         * lyxfunc.C: remove display_shortcuts, show_banner
10596
10597 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * Buffer_pimpl.C: oops, update on resize
10600
10601 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * buffer.C:
10604         * converter.C:
10605         * exporter.C:
10606         * lyxfunc.C:
10607         * BufferView.h:
10608         * BufferView.C: use repaint()
10609
10610         * BufferView_pimpl.h:
10611         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10612           as it's a clearer description. Remove superfluous
10613           redraws.
10614
10615 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10616
10617         * text.C: fix bug 488. Not ideal, but getting
10618           getWord() to work properly for the insets that
10619           matter is more difficult ...
10620
10621 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * BufferView_pimpl.C:
10624         * LyXAction.C:
10625         * commandtags.h:
10626         * lyxfunc.C: remove the six million index lyxfuncs to just
10627           one, and DTRT (bug 458)
10628
10629 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10630
10631         * BufferView.h:
10632         * BufferView.C:
10633         * BufferView_pimpl.h:
10634         * BufferView_pimpl.C: clean up resize() stuff,
10635           and unnecessary updateScreen()s
10636
10637 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * BufferView.h:
10640         * BufferView.C:
10641         * BufferView_pimpl.h:
10642         * BufferView_pimpl.C:
10643         * lyxfind.h:
10644         * lyxfind.C:
10645         * minibuffer.C: remove focus management of workarea,
10646           not needed. Use screen's greyOut()
10647
10648 2002-06-17  Herbert Voss  <voss@lyx.org>
10649
10650         * converter.C: (convert) do not post a message, when converting
10651         fails, let the calling function decide what to do in this case
10652
10653 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10654
10655         * lyxfunc.C: tidy up a little
10656
10657 2002-06-16    <alstrup@diku.dk>
10658
10659         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10660         Got rid of FORMS_H_LOCATION include. Now we are
10661         GUII.
10662
10663 2002-06-15  LyX Development team  <lyx@rilke>
10664
10665         * buffer.[Ch] (sgmlOpenTag):
10666         (sgmlCloseTag): Added support for avoiding pernicious mixed
10667         content. Return number of lines written.
10668
10669         (makeLinuxDocFile):
10670         (makeDocBookFile): Fixed calls to sgml*Tag.
10671         Simple white space clean.
10672
10673         (simpleDocBookOnePar): Simple white space clean.
10674
10675         * tabular.[Ch] (docBook): Renamed to docbook and got another
10676         argument to related with the pernicious mixed content.
10677
10678         (docbookRow): Fixed calls for docbook inset method.
10679
10680 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10681
10682         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10683         so it's X11 independent.
10684
10685         * kb*.[Ch]: ditto.
10686
10687         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10688
10689 2002-06-15  Lyx Development team  <lyx@electronia>
10690
10691         * intl.h: Renamed getTrans to getTransManager.
10692
10693 2002-06-14  Angus Leeming  <leeming@lyx.org>
10694
10695         * Makefile.am: nuke forgotten stl_string_fwd.h.
10696
10697 2002-06-12  Angus Leeming  <leeming@lyx.org>
10698
10699         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10700
10701 2002-06-13  Angus Leeming  <leeming@lyx.org>
10702
10703         * LaTeX.C:
10704         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10705
10706 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10707
10708         * kbmap.C (getiso): add support for cyrillic and greek
10709
10710 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10711
10712         * BufferView.h:
10713         * BufferView.C:
10714         * BufferView_pimpl.h:
10715         * BufferView_pimpl.C: move bogus scrolling logic
10716           to xforms
10717
10718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10719
10720         * lyxfunc.C:
10721         * BufferView_pimpl.C: view->resize() change
10722
10723 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * BufferView_pimpl.C: topCursorVisible
10726           prototype change
10727
10728 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10729
10730         * Makefile.am:
10731         * lyx_gui.h:
10732         * lyx_gui.C: move to frontends/
10733
10734         * main.C:
10735         * lyx_main.h:
10736         * lyx_main.C: changes from above
10737
10738 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * intl.C:
10741         * intl.h:
10742         * kbmap.C:
10743         * kbsequence.C:
10744         * lyx_cb.C:
10745         * lyx_main.C: minor tidy
10746
10747 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * BufferView_pimpl.h:
10750         * BufferView_pimpl.C:
10751         * BufferView.h:
10752         * BufferView.C: make painter() const,
10753           remove dead code
10754
10755         * BufferView2.C: use screen() accessor
10756
10757         * lyx_main.h:
10758         * lyx_main.C: some minor cleanup
10759
10760 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * BufferView_pimpl.h:
10763         * BufferView_pimpl.C: remove enter/leaveView,
10764           use workHeight()
10765
10766 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * BufferView.h:
10769         * BufferView.C:
10770         * BufferView2.C:
10771         * BufferView_pimpl.h:
10772         * BufferView_pimpl.C: only construct screen once,
10773           rename
10774
10775         * lyxrc.C: remove pointless comment
10776
10777 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10778
10779         * BufferView.h:
10780         * BufferView.C: remove active() and belowMouse()
10781
10782         * BufferView_pimpl.h:
10783         * BufferView_pimpl.C: use workarea() not workarea_,
10784           and make it use a scoped_ptr instead
10785
10786 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * lyx_gui.C: add debug message on BadWindow
10789
10790 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10791
10792         * sp_spell.C: fdopen is not part of the C++ standard.
10793
10794         * paragraph.C (InsetIterator): use >= instead of ==
10795
10796 2002-06-07  Angus Leeming  <leeming@lyx.org>
10797
10798         Fixes needed to compile with Compaq cxx 6.5.
10799         * BufferView_pimpl.C:
10800         * DepTable.C:
10801         * buffer.C:
10802         * converter.C:
10803         * encoding.C:
10804         * lyx_gui.C:
10805         * lyx_main.C:
10806         * lyxtextclasslist.C:
10807         * minibuffer.C:
10808         * sp_spell.C:
10809         * tabular_funcs.C:
10810         * vc-backend.C:
10811         all c-library variables have been moved into namespace std. Wrap
10812         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10813
10814         * lyxlength.C:
10815         * tabular-old.C:
10816         * tabular.C:
10817         Add a using std::abs declaration.
10818
10819         * kbmap.h (modifier_pair):
10820         * paragraph.h (InsetTable, InsetList):
10821         * lyxfont.h (FontBits):
10822         type definition made public.
10823
10824         * bufferlist.C (emergencyWriteAll): the compiler complains that
10825         there is more than one possible lyx::class_fun template to choose from.
10826         I re-named the void specialisation as lyx::void_class_fun.
10827
10828         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10829
10830         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10831         the compiler is is unable to find tostr in write_attribute.
10832
10833 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * buffer.C (sgmlError): hide #warning
10836
10837 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10838
10839         * xtl/*: get rid of xtl, which is not in use anyway
10840
10841         * LyXAction.C (init):
10842         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10843         were unimplemented xtl experimentation
10844
10845 2002-06-04  André Pönitz <poenitz@gmx.net>
10846
10847         * lyxfunc.C: disable array operation on simple formulae
10848
10849 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10850
10851         * converter.C: constify a bit
10852
10853 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * lyx_gui.C: check xforms version correctly
10856
10857 2002-04-30  Herbert Voss  <voss@lyx.org>
10858
10859         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10860         "keep" option
10861
10862 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10865           attempt to register it with a VCS)
10866
10867 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10868
10869         * lyx_main.C (init): honor variables LYX_DIR_13x and
10870         LYX_USERDIR_13x
10871
10872 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10873
10874         * buffer.h:
10875         * buffer.C:
10876         * lyx_main.C: fix a crash on bad command line,
10877           and give a useful exit status on error
10878
10879         * lyxfunc.C (doImport): allow -i lyx to work
10880
10881 2002-03-30  André Pönitz <poenitz@gmx.net>
10882
10883         * lyxfunc.C: mathed font changes
10884
10885 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * LaTeX.C:
10888         * importer.h:
10889         * importer.C:
10890         * lyx_sty.h:
10891         * lyx_sty.C:
10892         * lyxlex.C:
10893         * lyxrow.h:
10894         * lyxtext.h:
10895         * paragraph.h:
10896         * paragraph.C:
10897         * texrow.h:
10898         * texrow.C:
10899         * text.C:
10900         * trans_mgr.h: srcdocs, and some minor cleanups
10901
10902 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10903
10904         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10905         call getFont all the time)
10906
10907 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10908
10909         * switch from SigC signals to boost::signals
10910
10911 2002-05-29  André Pönitz <poenitz@gmx.net>
10912
10913         * paragraph_pimpl.C (getChar): don't call size() too often...
10914
10915 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * paragraph_pimpl.C (insertChar): do not try to update tables when
10918         appending (pos == size())
10919
10920         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10921         in order to reduce drastically the number of comparisons needed to
10922         parse a large document
10923
10924 2002-05-29  André Pönitz <poenitz@gmx.net>
10925
10926         * text.C:
10927         * text2.C:
10928         * lyxtextclass.C:
10929         * sp_pspell.h:
10930         * textclasslist.[Ch]:
10931         * sp_ispell.h: whitespace change
10932
10933 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10936         lyxaction directly now.
10937
10938 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * trans.C:
10941         * lyxfont.C:
10942         * lyxvc.C: remove unused headers
10943
10944 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10945
10946         * Makefile.am:
10947         * buffer.h:
10948         * undostack.h:
10949         * undostack.C:
10950         * undo_funcs.h:
10951         * undo_funcs.C: some cleanups. Use shared_ptr
10952           and a template for the undo stacks.
10953
10954 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10955
10956         * BufferView_pimpl.h:
10957         * BufferView_pimpl.C:
10958         * kbmap.h:
10959         * kbmap.C:
10960         * kbsequence.h:
10961         * kbsequence.C:
10962         * lyxfunc.h:
10963         * lyxfunc.C:
10964         * text2.C: use key_state/mouse_state
10965
10966 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10967
10968         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10969         and LSubstring
10970
10971         * chset.C: change include order
10972         (loadFile): use boost regex and get rid of LRegex and LSubstring
10973
10974         * Makefile.am (BOOST_LIBS): new variable
10975         (lyx_LDADD): use it
10976
10977         * LaTeX.C: change include order.
10978         (scanAuxFile): use boost regex and get rid of LRegex and
10979         LSubstring
10980         (deplog): ditto
10981
10982 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10983
10984         * ColorHandler.h:
10985         * ColorHandler.C:
10986         * FontInfo.h:
10987         * FontInfo.C: moved to frontends/xforms/
10988
10989         * FontLoader.h:
10990         * FontLoader.C: moved into frontends for GUIIzation
10991
10992         * Makefile.am:
10993         * lyx_gui.C:
10994         * lyxfont.C:
10995         * lyxfunc.C: changes from above
10996
10997 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10998
10999         * LColor.C: remove spurious X include
11000
11001         * BufferView_pimpl.C:
11002         * Makefile.am:
11003         * font.h:
11004         * font.C:
11005         * text.C:
11006         * text2.C: move font metrics to frontends/
11007
11008 2002-05-24  Juergen Vigna  <jug@sad.it>
11009
11010         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11011         setting the undo_cursor.
11012
11013         * ParagraphParameters.h: include local includes first.
11014
11015 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11016
11017         * BufferView_pimpl.C:
11018         * BufferView_pimpl.h:
11019         * Makefile.am:
11020         * WorkArea.h:
11021         * WorkArea.C:
11022         * screen.C: move WorkArea into frontends/
11023
11024         * lyxscreen.h:
11025         * screen.C:
11026         * text.C:
11027         * BufferView.C:
11028         * BufferView2.C: move LyXScreen into frontends/
11029
11030         * lyxlookup.h:
11031         * lyxlookup.C:
11032         * lyx_gui.C: move lyxlookup into frontends/xforms/
11033
11034 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * BufferView2.C:
11037         * BufferView_pimpl.C:
11038         * FontLoader.C:
11039         * LyXView.h:
11040         * LyXView.C:
11041         * Makefile.am:
11042         * WorkArea.C:
11043         * XFormsView.h:
11044         * XFormsView.C:
11045         * buffer.C:
11046         * bufferlist.C:
11047         * bufferview_funcs.C:
11048         * converter.C:
11049         * importer.C:
11050         * lyx_cb.C:
11051         * lyx_gui.C:
11052         * lyx_main.C:
11053         * lyx_find.C:
11054         * lyxfunc.C:
11055         * lyxvc.C:
11056         * minibuffer.C:
11057         * text.C:
11058         * text2.C:
11059         * trans.C:
11060         * vc-backend.C: move LyX/XFormsView into frontends/
11061
11062 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11063
11064         * Makefile.am:
11065         * PainterBase.C:
11066         * PainterBase.h:
11067         * Painter.C:
11068         * Painter.h:
11069         * WorkArea.C:
11070         * WorkArea.h:
11071         * screen.C:
11072         * tabular.C:
11073         * text.C:
11074         * text2.C: move Painter to frontends/
11075
11076 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11077
11078         * buffer.C: comment out some some code that depend upon lyx_format
11079         < 220
11080
11081         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11082         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11083
11084         * buffer.h (NO_COMPABILITY): turn off compability
11085
11086         * ColorHandler.C: include scoped_array.hpp
11087
11088         * font.C: Use more specific smart_ptr header.
11089         * Painter.C: ditto
11090         * gettext.C: ditto
11091         * ShareContainer.h: ditto
11092         * lyx_main.h: ditto
11093         * kbmap.h: ditto
11094         * FontInfo.h: ditto
11095         * BufferView_pimpl.h: ditto
11096         * ColorHandler.h: ditto
11097
11098         * kbmap.C (defkey): change call to shared_ptr::reset
11099
11100 2002-05-21  Juergen Vigna  <jug@sad.it>
11101
11102         * buffer.C (insertErtContents): fix to insert ert asis if it is
11103         non empty. Skip it completely if it contains only whitespaces.
11104
11105 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * BufferView_pimpl.C:
11108         * BufferView2.C: clear selection on paste (bug 393)
11109
11110 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11111
11112         * DepTable.C: include ctime
11113
11114 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11115
11116         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11117
11118 2002-05-14  Juergen Vigna  <jug@sad.it>
11119
11120         * text.C (breakParagraph): fixed function to honor the keepempty
11121         layout in the right maner and also to permit the right breaking
11122         algorithm on empty or non empyt keepempty paragraphs.
11123
11124         * paragraph.C (breakParagraph): we have to check also if the par
11125         is really empty (!size()) for isempty otherwise we do the wrong
11126         paragraph break.
11127
11128 2002-05-10  Juergen Vigna  <jug@sad.it>
11129
11130         * buffer.[Ch] : The following are only changes to the ert
11131         compatibility read reading old LaTeX layout and font stuff and
11132         convert it to ERTInsets.
11133
11134         * buffer.h: added isErtInset().
11135
11136         * buffer.C (struct ErtComp): add a fromlayout bool to check
11137         if we're inside a LaTeX layout.
11138         (isErtInset): new helper function.
11139         (insertErtContents): look for other ert insets before this one
11140         and insert the contents there, so that we don't have subsequent
11141         ERT insets with nothing between them. This way we create only one
11142         inset with multiple paragraphs. Also check if we don't insert only
11143         spaces ' ' as they are ignored anyway afterwards in the .tex file
11144         so if we have only spaces we will ignore this latex part in the
11145         new file.
11146         (parseSingleLyXformat2Token \\layout): better compatibility when
11147         reading layout-latex stuff.
11148         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11149         language tag.
11150         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11151         stuff after reading the inset only get the information back from
11152         the stack.
11153
11154 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11155
11156         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11157
11158         * LaTeXFeatures.C (getBabelOptions): New method.
11159
11160 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11161
11162         * BufferView_pimpl.C (Dispatch): work around missing argument for
11163         'layout'
11164
11165 2002-05-08  Juergen Vigna  <jug@sad.it>
11166
11167         * text.C (leftMargin): handle paragraph leftindent.
11168
11169         * paragraph.C (writeFile): write the new \\leftindent tag.
11170         (validate): handle leftindent code.
11171         (TeXEnvironment): handle paragraphleftindent code again.
11172
11173         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11174
11175         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11176         for paragrap_extra indent code and new token \\leftindent.
11177         (latexParagraphs): handle the leftindent as environment.
11178
11179         * ParameterStruct.h: added leftindent support.
11180
11181         * ParagraphParameters.C (leftIndent): added support functions for
11182         the paragraph left indent.
11183
11184         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11185         more appropriate.
11186
11187 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11188
11189         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11190         inside insetERT.
11191
11192         * text.C (computeBidiTables): No bidi in insetERT.
11193
11194         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11195         in RTL documents.
11196
11197 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11198
11199         * version.C.in: pre 5
11200
11201 2002-05-02  José Matos  <jamatos@fep.up.pt>
11202         * buffer.C (makeDocBookFile): white space changes, add newline to
11203         command styles.
11204         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11205
11206         * tabular.C (docBook): fix typo.
11207
11208 2002-05-03  Juergen Vigna  <jug@sad.it>
11209
11210         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11211         change in LyXText as we can not be sure it was not freed.
11212         (drawOneRow): remove unused code.
11213
11214         * text.C (drawInset): redo the calculation of the need_break_row as
11215         it could have a row which was already freed.
11216         (draw): look at the return value of drawInset and return false if
11217         it also returned false.
11218         (paintRowText): look at the return value of draw and return false if
11219         it also returned false.
11220
11221         * lyxtext.h: added bool return type to drawInset() and draw() so that
11222         if we have a change in the row so that the rowbreak has to be redone
11223         we abort drawing as it will be called again.
11224
11225 2002-05-02  Juergen Vigna  <jug@sad.it>
11226
11227         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11228         a change in the maintext also if we're inside an inset.
11229         (Dispatch): set the cursor again after a break line and after the
11230         screen has been updated as it could be we're in a different row.
11231
11232         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11233         to set the cursor behind the pargraph with > size().
11234         (setCursor): check also for the same paragraph when checking where
11235         to put the cursor if we have a NFR inset.
11236
11237         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11238         parts of layout read further up as it still was in the wrong
11239         position.
11240
11241 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11242
11243         * screen.C (drawFromTo): change sine fullRebreak always return
11244         true.
11245
11246         * buffer.C (parseSingleLyXformat2Token): reindent some
11247
11248         * BufferView_pimpl.C (update): change since fullRebreak always
11249         return true.
11250         (Dispatch): git rid of the last hardcoded "Standard"s.
11251
11252 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11253
11254         * text2.[Ch] (fullRebreak): make it return void now that we always
11255         returned true.
11256
11257 2002-04-30  Juergen Vigna  <jug@sad.it>
11258
11259         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11260         ert compatibility check for "latex" layout.
11261
11262 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11265         minipages: use col% instead of p%, and also use the current font.
11266         (makeLaTeXFile): Fix use babel condition.
11267         (parseSingleLyXformat2Token): Correct font when reading old floats.
11268
11269 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11270
11271         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11272         inserting list of floats.
11273
11274 2002-04-25  Herbert Voss  <voss@lyx.org>
11275
11276         * MenuBackend.C (expand): don't add the graphics extensions to the
11277         export menu
11278
11279 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11280
11281         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11282         non-existing layout, do not complain if it was the default layout
11283         of the original class (bug #342)
11284
11285 2002-04-24  Juergen Vigna  <jug@sad.it>
11286
11287         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11288         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11289
11290 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11291
11292         * buffer.C (getBibkeyList): If using \bibliography, return the
11293         option field with the reference itself. Enables us to provide natbib
11294         support when using \bibliography.
11295
11296 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11297
11298         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11299
11300         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11301         natbib is provided by the LaTeX class.
11302
11303 2002-04-23  Juergen Vigna  <jug@sad.it>
11304
11305         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11306         Wakeup functions.
11307
11308         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11309
11310 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11311
11312         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11313
11314         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11315         ensuremath around textordmasculine, textordfeminine and
11316         textdegree.
11317
11318 2002-04-19  Juergen Vigna  <jug@sad.it>
11319
11320         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11321         reinitializing the buffer otherwise row-dimensions may be wrong.
11322         (update): reset also the selection cursors if they do exits otherwise
11323         their x/y positions may be wrong.
11324
11325         * text2.C (cursorDown): don't enter the inset if we came from a row
11326         above and are one row over the inset.
11327
11328         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11329         really leaving an inset.
11330
11331 2002-04-18  Juergen Vigna  <jug@sad.it>
11332
11333         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11334         of the selected paragraph does not have the selected layout also if
11335         the last one had!
11336
11337         * text2.C (setLayout): fixed bug which did not change last selected
11338         paragraph.
11339
11340         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11341         changed the read and substituted \\end_float with \\end_inset!
11342
11343         * BufferView_pimpl.C (cursorPrevious):
11344         (cursorNext): fixed to make it work with rows heigher than the work
11345         area without moving the cursor only the draw of the row.
11346         (workAreaMotionNotify): fix jumping over high rows.
11347
11348 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11349
11350         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11351         Ressler.
11352
11353 2002-04-16  Juergen Vigna  <jug@sad.it>
11354
11355         * text2.C (setCursor): set also the irow().
11356         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11357         (cursorUp):
11358         (cursorDown): support for locking an inset if the x_fix value goes
11359         inside it. That way I can transverse insets too with cursor up/down.
11360
11361         * lyxrow.h: added irow helper function same as other (i) functions.
11362
11363         * BufferView_pimpl.C (cursorPrevious):
11364         (cursorNext): fixed for insets!
11365
11366 2002-04-15  Juergen Vigna  <jug@sad.it>
11367
11368         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11369         position otherwise it is wrong in some cases.
11370
11371         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11372         inside the inset before the call.
11373
11374 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11375
11376         * buffer.[Ch] (getBibkeyList): make it const.
11377
11378 2002-04-12  Juergen Vigna  <jug@sad.it>
11379
11380         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11381
11382         * text2.C (getCursorX): new helper function
11383         (setCursor): compute also ix_
11384         (setCursorFromCoordinates): set also ix.
11385
11386         * lyxcursor.h: added ix_ and helper functions.
11387
11388         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11389
11390         * buffer.C (insertStringAsLines): dont break paragraph if the this
11391         paragraph is inside an inset which does not permit it!
11392
11393         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11394         also with no chars on this paragraph.
11395         (paintRowText): only paint stuff if it's inside the workarea!
11396
11397         * paragraph.C (breakParagraph): honor keepempty flag and break the
11398         paragraph always below not above.
11399
11400         * BufferView2.C (unlockInset): update the paragraph layout on inset
11401         unlock as we changed paragraph in such a case.
11402
11403         * lyxfind.C (LyXFind): clear the former selection if not found!
11404
11405         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11406         again called in insertChar().
11407
11408         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11409         an inset which uses the whole row!
11410         (rightMargin): ditto.
11411         (insertChar): force a rebreak if we inserted an inset!
11412
11413 2002-03-28  Herbert Voss  <voss@lyx.org>
11414
11415         * lyxlength.[Ch]: add inBP() to get the right PS-point
11416         units (BigPoint). With inPixels we have rounding errors
11417
11418 2002-04-11  Juergen Vigna  <jug@sad.it>
11419
11420         * text2.C (setCursorFromCoordinates): set iy to the right value.
11421         (setCursor): add check if row->previous exists!
11422
11423         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11424         an old float_type as this was the case in the old code!
11425
11426         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11427
11428         * BufferView2.C (showLockedInsetCursor): use iy
11429         (fitLockedInsetCursor): ditto
11430
11431         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11432         locked insets as there we have the right value now.
11433
11434         * lyxcursor.C: added iy_ variable and iy functions to set to the
11435         baseline of cursor-y of the locked inset.
11436
11437         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11438         (setCursor): fixed for insets which need a full row.
11439
11440         * text.C (rowLastPrintable): don't ignore the last space when before
11441         an inset which needs a full row.
11442         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11443         as last character of a row when before a inset which needs a full row.
11444
11445 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * version.C.in: update date
11448
11449         * text2.C (fullRebreak): try to always return true and see what
11450         happens...
11451
11452 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * MenuBackend.C (expand): use Floating::listName
11455
11456         * FloatList.C (FloatList): add listName argument to the built-in
11457         floats
11458
11459         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11460         text associated with the float.
11461
11462 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11465
11466 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * ShareContainer.h: add a couple of missing typenames.
11469
11470 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11471
11472         * lyxrc.C (getDescription): use _() correctly rather than N_().
11473
11474 2002-03-28  Herbert Voss  <voss@lyx.org>
11475
11476         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11477         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11478
11479 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11480
11481         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11482         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11483
11484 2002-03-29  Juergen Vigna  <jug@sad.it>
11485
11486         * lyxfunc.C (dispatch): add a missing fitCursor call.
11487
11488         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11489         it was scrolled by a cursor move, so return the bool status.
11490
11491         * BufferView.C (fitCursor): return the bool flag also to the outside
11492         world as this is needed.
11493
11494         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11495
11496         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11497         call the edit() as it is not needed (and wrong) IMO.
11498         (workAreaButtonPress): set the screen_first variable before evt.
11499         unlock the inset as this may change screen_first and then we have
11500         a wrong y position for the click!
11501
11502 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11503
11504         * MenuBackend.C (expand): another translation that I missed
11505
11506 2002-03-28  Juergen Vigna  <jug@sad.it>
11507
11508         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11509
11510         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11511
11512 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11513
11514         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11515
11516         * MenuBackend.C (expand): fix export/view/update when there is no
11517         document open.
11518
11519 2002-03-27  Herbert Voss  <voss@lyx.org>
11520
11521         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11522         and text%
11523
11524 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11525
11526         * bufferview_funcs.C (currentState): only show paragraph number
11527         for is DEVEL_VERSION is set.
11528
11529         * lyxfunc.C (dispatch): put warning in INFO channel
11530
11531         * MenuBackend.C (expand): translate the name of floats
11532
11533         * FloatList.C (FloatList): mark the float names for translation
11534
11535         * converter.C (convert): use LibScriptSearch
11536
11537 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11538
11539         * MenuBackend.C (defaults): fix default menu (we might as well get
11540         rid of it...)
11541
11542 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11545         directory.
11546
11547 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11548
11549         * lyxvc.C: reorder includes.
11550
11551 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11552
11553         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11554           properly
11555
11556 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * CutAndPaste.C: change layouts earlier on paste
11559           to avoid crashing when calling getFont()
11560
11561 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11562
11563         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11564         irritating #error.
11565
11566 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * WorkArea.C: remove 'Pending' debug message.
11569
11570         * most files: ws cleanup
11571
11572         * buffer.[Ch]: ws changes
11573
11574         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11575
11576 2002-03-21  Juergen Vigna  <jug@sad.it>
11577
11578         * tabular.C (SetMultiColumn): collapse also the contents of the
11579         cells and set the last border right. Added a Buffer const * param.
11580
11581 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11584         linking or not.
11585
11586 2002-03-19  Juergen Vigna  <jug@sad.it>
11587
11588         * text2.C (clearSelection): reset also xsel_cache.
11589
11590         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11591         where it needs to be called (John tells us to do so too :)
11592         (selectionLost): reset sel_cache.
11593
11594         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11595
11596 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * text2.C (setCursorIntern): put debuging code in INSETS channel
11599
11600 2002-03-19  André Pönitz <poenitz@gmx.net>
11601
11602         * lyxfunc.C: tiny whitespace change
11603
11604 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11605
11606         * ToolbarDefaults.C (init):
11607         * LyXAction.C (init):
11608         * commandtags.h:
11609         * BufferView_pimpl.C (Dispatch):
11610         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11611
11612 2002-03-19  Allan Rae  <rae@lyx.org>
11613
11614         * exporter.C (Export): removeAutoInsets before doing anything else.
11615         While I've just introduced a dependency on BufferView this really is
11616         the best place to clean the buffer otherwise you need to cleanup in
11617         a dozen places before calling export or cleanup in a dozen functions
11618         that export calls.
11619
11620         * converter.C (runLaTeX):
11621         (scanLog): Better handling of removeAutoInsets and screen updates.
11622
11623         * lyxfunc.C (dispatch): small whitespace changes
11624
11625 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11626
11627         * WorkArea.C (C_WorkAreaEvent): return a value.
11628         (event_cb): return 1 if we handled the event, 0 otherwise.
11629
11630         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11631
11632 2002-03-18  Juergen Vigna  <jug@sad.it>
11633
11634         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11635         (GetAdditionalWidth): ditto.
11636         (RightLine): ditto.
11637         (LeftLine): ditto.
11638
11639         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11640         inset if we're there actually (probably not used right now but this
11641         is the direction to go for unifying code).
11642         (paste): disable code to clear the selection.
11643
11644         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11645         inside an InsetText and move the check further up as it is in the
11646         wrong place.
11647
11648         * text2.C (pasteSelection): set a selection over the pasted text.
11649
11650 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11651
11652         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11653         and libgraphics to build on Cygwin.
11654
11655 2002-03-15  Juergen Vigna  <jug@sad.it>
11656
11657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11658         inserting an Inset into the paragraph. I know this is not the best
11659         fix but we already use current_view in CutAndPaste so we will remove
11660         all of it's using at the same time.
11661
11662         * buffer.C (sgmlError): deactivated function till it is rewritten in
11663         the right mode, now it can create problems.
11664
11665         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11666         before accessing it.
11667
11668 2002-03-14  Juergen Vigna  <jug@sad.it>
11669
11670         * undo_funcs.C (textHandleUndo): do the right thing when updating
11671         the inset after the undo/redo.
11672
11673         * text2.C (setCursor): just some testcode for #44 not ready yet.
11674
11675         * undo_funcs.C (textHandleUndo): set the next() and previous()
11676         pointers of the paragraph to 0 before deleting otherwise we have
11677         problems with the Paragraph::[destructor].
11678
11679         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11680         on a paragraph insertion.
11681
11682 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11683
11684         * buffer.C (asciiParagraph): use += operator for char append to
11685         string.
11686
11687         * paragraph.C (getFontSettings): compare >= not just >
11688         (highestFontInRange): ditto
11689         (setFont): ditto
11690
11691 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * paragraph.C: change several algorithm to be more appripriate for
11694         the problem domain. This is lookip in FontList and in the InsetList.
11695
11696 2002-03-13  André Pönitz <poenitz@gmx.net>
11697
11698         * commandtags.h:
11699         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11700
11701 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * commandtags.h:
11704         * LyXAction.C:
11705         * lyxfunc.C:
11706         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11707
11708 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * Painter.C (display): anon helper function, adjust code for this
11711         change.
11712         (pixmap): remove function.
11713
11714         * Painter.h: remove private display variable.
11715
11716         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11717
11718 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11719
11720         * WorkArea.[Ch]: remove figinset_canvas cruft.
11721
11722 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11723
11724         * lyxtextclass.C (operator): add one item cache optimization.
11725
11726         * bufferlist.h: doxy changes
11727
11728         * bufferlist.C: ws changes
11729
11730         * DepTable.[Ch] (ext_exist): place const in the right spot.
11731
11732         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11733         call resizeInsets.
11734         (workAreaExpose): call resizeInsets when the with BufferView changes.
11735         (Dispatch): adjust for protectedBlank removal
11736         (specialChar): call updateInset if the insert went ok.
11737
11738         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11739         specialChar instead.
11740
11741         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11742
11743         * BufferView.h: doxy change
11744
11745         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11746
11747         * lyxtextclass.C (operator[]): remove non-const version
11748         (defaultLayout): remove non-const version
11749
11750 2002-03-12  Juergen Vigna  <jug@sad.it>
11751
11752         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11753         did resize the LyXText too.
11754
11755         * buffer.C (readLyXformat2): set layout information on newly allocated
11756         paragraphs.
11757
11758         * tabular.C (OldFormatRead): set layout information on the paragraph.
11759
11760 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11761
11762         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11763
11764 2002-03-11  Juergen Vigna  <jug@sad.it>
11765
11766         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11767         plainly wrong.
11768         (resizeCurrentBuffer): force also the insets to resize themselfes.
11769         (moveCursorUpdate): fixed up for InsetText.
11770
11771 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11772
11773         * commandtags.h:
11774         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11775         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11776         value of Dialogs::tooltipsEnabled().
11777         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11778
11779 2002-03-08  Juergen Vigna  <jug@sad.it>
11780
11781         * BufferView_pimpl.C (updateInset): update inset inside inset also
11782         if it isn't inside theLockingInset().
11783
11784 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11785
11786         * buffer.C (asciiParagraph): redo some of the word and line length
11787         handling.
11788         (getLists): look for Caption instead of caption.
11789
11790 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11791
11792         * buffer.C (Buffer): initialize niceFile to true
11793         (makeLaTeXFile):
11794         (makeLinuxDocFile):
11795         (makeDocBookFile): make sure niceFile is true on exit
11796
11797 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11800
11801 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11802
11803         * LyXSendto.C: remove.
11804         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11805         * lyx_gui.C: remove now-redundant comment.
11806         * ColorHandler.h: remove forward declaration of class WorkArea.
11807         * lyxfunc.C: remove #include "WorkArea.h".
11808
11809 2002-03-07  Juergen Vigna  <jug@sad.it>
11810
11811         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11812         got moved away with the DEPM and also set the inset_owner always
11813         right which before could have been omitted.
11814
11815 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11818         wanted layout is not found.
11819
11820 2002-03-07  Juergen Vigna  <jug@sad.it>
11821
11822         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11823
11824 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * paragraph.C (breakParagraph): use default layout not layout of
11827         prev paragraph.
11828         (Paragraph): clear ParagraphParameters.
11829
11830 2002-03-06  Juergen Vigna  <jug@sad.it>
11831
11832         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11833         otherwise it would not be a valid lenght. Fixed a special case in
11834         the minipage compatibility read where we end the document with a
11835         minipage.
11836
11837         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11838         was set as it could be 0 for InsetTexts first entry.
11839
11840 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * paragraph.C (writeFile): if layout is empty write out
11843         defaultLayoutName().
11844
11845         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11846         file without named layout we set layout to defaultLayoutName().
11847
11848 2002-03-06  Juergen Vigna  <jug@sad.it>
11849
11850         * CutAndPaste.C (copySelection): set layout for new paragraph.
11851
11852         * text.C (prepareToPrint): leave ERT inset left aligned
11853         (leftMargin): don't indent paragraphs inside ERT insets
11854
11855 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * paragraph.C (breakParagraph): dont call clear do the work manually
11858
11859         * paragraph.[Ch] (clear): remove function
11860
11861 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * paragraph.C (Paragraph): dont call clear, the work has already
11864         been done.
11865
11866         * lyxtextclass.C (operator): assert if n is empty
11867
11868         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11869         work manually instead.
11870
11871 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * BufferView_pimpl.C: protect selectionLost against text == 0
11874
11875 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11876
11877         * text.C (breakParagraph): fix a setting layout to '0' problem.
11878
11879 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11880
11881         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11882         final location of file, for the included files, and graphics.
11883
11884 2002-03-05  Juergen Vigna  <jug@sad.it>
11885
11886         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11887
11888 2002-03-04  Juergen Vigna  <jug@sad.it>
11889
11890         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11891
11892         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11893         last column of multicolumn cells.
11894         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11895
11896 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11897
11898         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11899         file if it doesn't go to a temporary file.
11900
11901         * buffer.C (sgmlOpenTag):
11902         (sgmlCloseTag):  remove extra newline insertion.
11903
11904 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11905
11906         * text.C (getRowNearY): comment out debug msg
11907
11908 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * text2.C: first -> first_y
11911
11912         * text.C (getRowNearY): add some attemts at a possible
11913         optimization, not working.
11914
11915         * tabular.[Ch]: add BufferParams to several function so that newly
11916         created paragraph can be initialized to he default layotu for the
11917         buffers textclass.
11918
11919         * tabular-old.C (ReadOld): add buf->params to call of Init
11920
11921         * screen.C: rename text->first to text->first_y
11922
11923         * paragraph.C (breakParagraph): always set layout in the broken
11924         paragraph
11925
11926         * lyxtextclass.C (Read): remove lowercase
11927         (hasLayout): ditto
11928         (operator): ditto
11929         (delete_layout): ditto
11930
11931         * lyxtext.h: rename first -> first_y
11932
11933         * lyxlayout.C (Read): remove lowercase
11934         (name): ditto
11935         (setName): ditto
11936         (obsoleted_by): ditto
11937
11938         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11939
11940         * buffer.C (insertErtContents): add params are to InsetERT
11941         (parseSingleLyXformat2Token): add code to check if a paragraphs
11942         layout really exist.
11943         (parseSingleLyXformat2Token): add params to several inset
11944         constructors
11945         (asciiParagraph): remove lowercase, do the layout comparisons with
11946         no_case
11947
11948         * BufferView_pimpl.C (cursorNext): first -> first_y
11949         (resizeCurrentBuffer): first -> first_y
11950         (updateScrollbar): first -> first_y
11951         (scrollCB): first -> first_y
11952         (workAreaMotionNotify): first -> first_y
11953         (workAreaButtonPress): first -> first_y
11954         (checkInsetHit): first -> first_y
11955         (cursorPrevious): first -> first_y
11956         (cursorNext): first -> first_y
11957         (Dispatch): add buffer_->params to severl inset contructors
11958
11959 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * lyxlayout.C (Read): remove some debug info that I forgot.
11962
11963         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11964         clean up the code slightly.
11965         (makeLinuxDocFile): ditto
11966         (makeDocBookFile): ditto
11967
11968         * text2.C: layout as string
11969
11970         * text.C: layout as string
11971
11972         * paragraph_pimpl.C: layout as string
11973
11974         * paragraph.[Ch]: layout as string
11975
11976         * lyxtextclasslist.[Ch]: layout as string
11977
11978         * lyxtextclass.[Ch]: layout as string
11979
11980         * lyxtext.h: layout as string
11981
11982         * lyxlayout.[Ch]: layout as string
11983
11984         * lyx_cb.C: layout as string
11985
11986         * bufferview_funcs.C: layout as string
11987
11988         * bufferparams.C: layout as string
11989
11990         * buffer.C: layout as string
11991
11992         * LyXView.[Ch]: layout as string
11993
11994         * LaTeXFeatures.[Ch]: layout as string
11995
11996         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11997
11998         * BufferView_pimpl.C: change current_layout to string, remove
11999         lyx::layout_type.
12000         (Dispatch):
12001         (smartQuote):
12002         (insertInset):
12003         (workAreaButtonRelease): layout as string
12004
12005         * BufferView2.C (unlockInset): adjust
12006
12007         * vspace.C (asLatexCommand): use an explict temp variable.
12008
12009 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * Makefile.am: use FRONTEND_*
12012
12013 2002-03-01  Juergen Vigna  <jug@sad.it>
12014
12015         * tabular.C (SetWidthOfMulticolCell): changed to something better
12016         I hope but still work in progress.
12017         (recalculateMulticolumnsOfColumn): renamed function from
12018         recalculateMulticolCells as it is more appropriate now.
12019         (SetWidthOfCell): calculate multicols better.
12020
12021 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12022
12023         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12024
12025         * lyxfunc.C (processKeySym): print sequence also if it is
12026         `deleted' (complete)
12027
12028         * kbsequence.C (print): print sequence even if it is deleted
12029         (complete would be a better word, actually).
12030
12031         * lyxfunc.C (dispatch): print complete options after a prefix key
12032
12033         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12034
12035 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12036
12037         * text2.C (setCharFont): eliminate setCharFont code duplication.
12038
12039 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12040
12041         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12042         LFUN_TABULAR_FEATURE (bug #177)
12043
12044 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * Makefile.am: remove figure.h
12047
12048 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12049
12050         * Bufferview_pimpl.C:
12051         * CutAndPasteC:
12052         * LaTeX.C:
12053         * LyXSendto.C:
12054         * buffer.C:
12055         * bufferlist.C:
12056         * converter.C:
12057         * language.C:
12058         * lyxfunc.C:
12059         * lyxvc.C:
12060         * paragraph.C:
12061         * text.C:
12062         * text2.C: remove #include "lyx_gui_misc.h".
12063
12064         * LaTeX.C: added #include <cstdio>
12065
12066 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12069         that the paragraph following this one can have.
12070
12071         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12072
12073         * vspace.C (asLatexCommand): fix bogus gcc warning
12074
12075         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12076
12077 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12078
12079         * text2.C (setLayout): get rid of redundant code
12080
12081 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12082
12083         * text2.C (incDepth): make sure depth cannot be increased beyond
12084         reasonable values.
12085
12086 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12087
12088         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12089         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12090
12091         * PainterBase.h (image):
12092         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12093         a LyXImage const *.
12094
12095 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12096
12097         * BufferView.C:
12098         * BufferView.h:
12099         * BufferView_pimpl.C:
12100         * BufferView_pimpl.h:
12101         * LaTeXFeatures.C:
12102         * LyXAction.C:
12103         * LyXView.C:
12104         * Makefile.am:
12105         * UpdateList.h:
12106         * UpdateList.C:
12107         * buffer.C:
12108         * figure.h:
12109         * figureForm.C:
12110         * figureForm.h:
12111         * figure_form.C:
12112         * figure_form.h:
12113         * lyx_cb.C:
12114         * lyx_gui.C:
12115         * lyx_gui_misc.C:
12116         * lyxfunc.C:
12117         * sp_base.h:
12118         * sp_ispell.h:
12119         * sp_pspell.h:
12120         * sp_spell.C: remove fig inset, and the crap house of
12121           cards that follows it
12122
12123 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * Makefile.am:
12126         * lyxserver.C:
12127         * os2_defines.h:
12128         * os2_errortable.h:
12129         * nt_defines.h: move .h into support/
12130
12131         * vms_defines.h: remove
12132
12133         * WorkArea.C: add space in debug output
12134
12135         * text2.C:
12136         * paragraph.C:
12137         * buffer.C: add WITH_WARNINGS
12138
12139         * vc-backend.h:
12140         * vc-backend.C:
12141         * bufferlist.C: s/retrive/retrieve/, add docs
12142
12143         * vspace.h:
12144         * vspace.C:
12145         * kbmap.h:
12146         * lyxlength.h:
12147         * lyxgluelength.h:
12148         * length_common.h:
12149         * chset.h:
12150         * chset.C: add docs
12151
12152         * lyxgui.C: add ID to X error handler
12153
12154         * lyxtestclass.c: fix typo
12155
12156 2002-02-26  Juergen Vigna  <jug@sad.it>
12157
12158         * tabular_funcs.C (write_attribute): changed so that some default
12159         attributes are not written at all.
12160         (getTokenValue): set default values before trying to read the
12161         value so we have the return value always set as default if we don't
12162         find the token we search for.
12163
12164         * tabular.C (Write): write bools as bools not as strings!
12165
12166 2002-02-22  Juergen Vigna  <jug@sad.it>
12167
12168         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12169         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12170
12171         * text.C (leftMargin): don't add an indent for paragraphs inside
12172         tabular cells (fix #208).
12173
12174 2002-02-21  José Matos  <jamatos@fep.up.pt>
12175
12176         * tabular.C (docBook): fixed support for long tables.
12177
12178 2002-02-20  Juergen Vigna  <jug@sad.it>
12179
12180         * text2.C (getFont): get the drawing font of the Inset if this
12181         paragraph is inside an inset (only important for InsetERT for now).
12182
12183         * buffer.C (insertErtContents): use new lanugage params in ERT
12184         constructor.
12185
12186         * CutAndPaste.C: commenting out seemingly uneeded code.
12187
12188 2002-02-19  Allan Rae  <rae@lyx.org>
12189
12190         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12191         Iterators might be simple to use but they also get invalidated.
12192         (removeAutoInsets): renamed saved cursor tracking variables and added
12193         some comments to clarify what everything does.
12194
12195 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12196
12197         * Chktex.C:
12198         * LaTeX.C:
12199         * LyXSendto.C:
12200         * converter.C:
12201         * lyx_cb.C:
12202         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12203         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12204
12205         * lyxfunc.C:
12206         * vc-backend.h: remove #include "support/syscall.h"
12207
12208         * LaTeX.C:
12209         * LyXSendto.C:
12210         * converter.C: rearrange #includes in Lars' approved fashion.
12211
12212         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12213         forward declare class Timeout in the header file.
12214
12215         * XFormsView.C: changes due to the above.
12216
12217         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12218         similar to LyXView.
12219
12220         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12221         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12222
12223 2002-02-18  José Matos  <jamatos@fep.up.pt>
12224
12225         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12226         insets contents.
12227
12228 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12229
12230         * a lot of small ws changes
12231         * add a lot of using std::XXX
12232         * use std construcs some places where approp.
12233         * use some exisint stuff from lyxfunctional where approp.
12234         * Make file changes to use partial linking (lets test this now...)
12235
12236 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12237
12238         * Chktex.C:
12239         * buffer.C:
12240         remove #include "support/syscontr.h" as it's redundant. Always has been.
12241
12242         * Chktex.C:
12243         * LaTeX.C:
12244         * LyXSendto.C:
12245         * converter.C:
12246         * lyx_cb.C:
12247         * vc-backend.C:
12248         change Systemcalls::System to Systemcalls::Wait and
12249         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12250         No change of functionality, just reflects the stripped down Systemcalls
12251         class.
12252
12253 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * debug.[Ch]: add a GRAPHICS type to the enum.
12256
12257 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12258
12259         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12260
12261         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12262         there is an inset.
12263
12264 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12265
12266         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12267         match the changes below.
12268
12269         * text2.C (toggleInset): if there is not editable inset at cursor
12270         position, try to see if cursor is _inside_ a collapsable inset
12271         and close it.
12272
12273 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12276         document menu has a nice checkbox
12277
12278 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * lyxlength.C (asLatexString): change PW to output as percent of
12281         \textwidth.
12282
12283         * lengthcommon.C: change '%' to 't%'
12284
12285         * lyxfunc.C (dispatch): a few comments from Martin
12286
12287 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12288
12289         * WorkArea.h:
12290         * WorkArea.C:
12291         * BufferView_pimpl.h:
12292         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12293           the X selection.
12294
12295 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12296
12297         * vspace.C (inPixels): fix compiler warning
12298
12299 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12300
12301         * lyxfunc.C (getStatus): fix status message for disabled commands.
12302
12303 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * BufferView_pimpl.C: fix crash on close buffer
12306         during selection (#227)
12307
12308 2002-01-27  Herbert Voss  <voss@lyx.org>
12309
12310         * buffer.C: link old Figure to new graphic inset
12311
12312 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12313
12314         * FontLoader.C (getFontinfo): Change the latex font names in order
12315         to match the names of type1inst.
12316
12317 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12318
12319         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12320
12321         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12322         (extchanged): ditto
12323         (ext_exist): ditto
12324         (remove_files_with_extension): ditto
12325         (remove_file): ditto
12326         (write): ditto
12327
12328         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12329         document is smaller than the work area height. Do not initialize
12330         static variables to 0.
12331
12332 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12335
12336         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12337         LFUN_LAYOUT_PARAGRAPHS.
12338
12339         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12340         tabular. It is possible to provide a possible cell, which will
12341         typically be the actcell from the corresponding insettabular
12342
12343         * lyxfunc.C (getStatus): small cleanup; disable
12344         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12345         true
12346
12347 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12348
12349         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12350
12351         * paragraph.C (startTeXParParams):
12352         (endTeXParParams): new methods. The LaTeX code to
12353         start/end paragraph formatting
12354         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12355         empty (fixes bug #200)
12356
12357         * vspace.C (inPixels): adapt to the change below
12358         (inPixels): [later] more cleanups (remove unused variables)
12359
12360         * lyxlength.C (inPixels): change to use a width and a height as
12361         parameter.
12362
12363 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12364
12365         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12366         Replaced with \paperwidth
12367
12368         * DepTable.C (insert): add std:: qualifier
12369
12370 2002-01-18  Allan Rae  <rae@lyx.org>
12371
12372         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12373         updated also?
12374
12375         * text.C (drawInset): Turned out I didn't know enough about how
12376         rebreaking worked.  This fixes most of the redraw problems.  I see
12377         an occasional cursor trail when a line is broken now and the cursor
12378         placement can seem out by a few pixels also after a rebreak.
12379
12380 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12381
12382         * buffer.C (parseSingleLyXformat2Token): update because minipage
12383         width is now a LyXLength
12384
12385         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12386
12387         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12388         math insets
12389
12390 2002-01-17  Juergen Vigna  <jug@sad.it>
12391
12392         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12393
12394         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12395         is set correctly and the inset is updated correctly.
12396
12397 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12398
12399         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12400         the beginning of the loop.
12401
12402 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * lyxrc.C: improve help for use_scalable_fonts
12405
12406 2002-01-17  Allan Rae  <rae@lyx.org>
12407
12408         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12409
12410 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12411
12412         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12413         make sure to set their inset_owner to the right value (bug #171)
12414
12415 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12416
12417         * DepTable.h
12418         * DepTable.C: Implement mtime checking to reduce time spent doing
12419         CRCs.
12420
12421 2002-01-16  Juergen Vigna  <jug@sad.it>
12422
12423         * tabular.C (GetAdditionalHeight): one of error fixed.
12424
12425         * lyxrc.C (output): small fix in writing use_pspell.
12426
12427 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12428
12429         * sp_base.h: #include LString.h
12430
12431 2002-01-16  Allan Rae  <rae@lyx.org>
12432
12433         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12434         Can someone check this please?
12435
12436         * text.C (drawInset): It was possible that p.row would be removed by
12437         breakAgainOneRow upsetting a few other settings.  There may be another
12438         small tweak possible by setting need_break_row = 0 when p.row has been
12439         removed but I don't know enough about the logic here.
12440
12441 2002-01-15  Allan Rae  <rae@lyx.org>
12442
12443         * text.C (insertChar): removed conditional truism.
12444
12445         * BufferView2.C (removeAutoInsets): More tweaks.
12446         cur_par_prev could be a stray pointer.  Check for trailing empty line
12447         in case last line was cur_par and only had an error inset on it.
12448
12449 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12450
12451         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12452         absolute
12453
12454         * vc-backend.C (most methods):
12455         * exporter.C (Export):
12456         * converter.C (convert):
12457         (runLaTeX):
12458         * LyXSendto.C (SendtoApplyCB):
12459         * lyxfunc.C (dispatch):
12460         (menuNew):
12461         (open):
12462         (doImport):
12463         * lyx_cb.C (AutoSave):
12464         (InsertAsciiFile):
12465         * BufferView_pimpl.C (MenuInsertLyXFile):
12466         * buffer.C (runChktex): use Buffer::filePath().
12467
12468         * buffer.h: rename filename to filename_; rename filepath to
12469         filepath_ and make it private
12470         (filePath): new method
12471
12472         * buffer.C (writeFile): use fileName()
12473         (getLatexName):
12474
12475         * lyx_main.C (init): fix starting  of LyX when the binary is a
12476         link from so,ewhere else.
12477
12478         * minibuffer.C: include <cctype> for isprint
12479
12480 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12481
12482         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12483         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12484         name clash with InsetCollapsable's width function.
12485
12486 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * lastfiles.C: include <iterator>
12489
12490 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12491
12492         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12493         std::count.
12494
12495         * buffer.C (makeLaTeXFile): ditto.
12496         Also make loop operation more transparent.
12497
12498 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12499
12500         * ToolbarDefaults.C: remove trailing comma closing namespace.
12501
12502         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12503
12504         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12505         as in WorkArea.
12506
12507         * trans.C (Load): comment out unused variable, allowed.
12508
12509 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12510
12511         * minibuffer.[Ch] (append_char): new method to recieve input from the
12512         drop-down completion browser. If a key was pressed, then recieve this
12513         char and append it to the existing string.
12514         (peek_event): modify the positioning data passed to the completion
12515         browser so that it can be placed above the minibuffer rather than below.
12516 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12517
12518         * LyXAction.C (init): alloe error-next for readonly documents.
12519
12520         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12521         count.
12522
12523 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * bufferlist.C (readFile): create the buffer _after_ checking that
12526         the file exists.
12527
12528         * lyxfunc.C (verboseDispatch): fix handling of arguments
12529
12530         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12531
12532         * lyxrc.C: use string::erase() instead of initializing to "".
12533
12534
12535 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * BufferView_pimpl.h:
12538         * BufferView_pimpl.C:
12539         * WorkArea.h:
12540         * WorkArea.C:
12541         * text2.C: tell X when we have made a selection for copying
12542
12543 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * BufferView_pimpl.C (MenuInsertLyXFile):
12546         * lyxfunc.C (menuNew):
12547         (open):
12548         (doImport): add shortcuts to directory buttons
12549
12550         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12551         open a float)
12552
12553         * lyxfunc.C (setStatusMessage):
12554         (getStatusMessage): new methods
12555         (getStatus):use setStatusMessage instead of setErrorMessage
12556         (dispatch): when function is disabled, set error message here
12557         [instead of in getStatus previously]
12558
12559         * BufferView_pimpl.C (workAreaButtonRelease): update
12560         toolbar/menubar here too.
12561
12562 2002-01-13  Allan Rae  <rae@lyx.org>
12563
12564         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12565         Now seems indestructible.  Remaining task is to audit all other
12566         code affected by deleteEmptyParagraphMechanism.  One small quirk
12567         left is that an empty document with an error in the preamble can
12568         be made to report an error but no error box appears.  I don't know
12569         where it goes.
12570         (removeAutoInsets): Improved comments.
12571
12572 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12573
12574         * Thesaurus.h:
12575         * Thesaurus.C: update for Aiksaurus 0.14
12576
12577 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * text2.C (firstParagraph): removed member function, all uses
12580         replaces with ownerParagraph
12581         (redoParagraphs): here
12582         (updateInset): here
12583         (toggleAppendix): here
12584         * BufferView2.C (insertErrors): here
12585         (setCursorFromRow): here
12586
12587 2002-01-13  Allan Rae  <rae@lyx.org>
12588
12589         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12590         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12591         There is still a way to segfault this although you may have to do this
12592         multiple times: Have an InsetERT with an unknown command in it.
12593         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12594         <down-arrow>, <Enter> again, View->DVI, BANG!
12595
12596         * text2.C (setCursor):
12597         (deleteEmptyParagraphMechanism):
12598         * lyxtext.h (setCursor):
12599         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12600         Making use of the return value may help fix other bugs.
12601
12602 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12603
12604         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12605
12606         * LyXView.C (updateMenubar): call MenuBar::update here
12607         (updateToolbar): but not here
12608         (showState): do not update toolbar/menubar
12609
12610         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12611         should need to care about that.
12612
12613         * lyxfunc.C (verboseDispatch): simplify a bit
12614         (getStatus): have a version which takes a pseudoaction, and
12615         another which requires a (kb_action,string).
12616
12617         * LyXAction.C (retrieveActionArg): make it work also when action
12618         is not a pseudo-action.
12619         (getActionName): simplify a bit
12620         (helpText):
12621
12622 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12623
12624         * lyxfunc.C (verboseDispatch): new families of methods with
12625         several ways to specify a command and a bool to indicate whether
12626         the command name and shortcut should be displayed in minibuffer
12627         (eventually, we could extend that to a finer bitmask like
12628         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12629         (dispatch): the pristine dispatch command which just, well,
12630         dispatchs! Note it still sets its result to minibuffer; I'm not
12631         sure we want that.
12632
12633         * lyxfunc.h: remove setHintMessage
12634
12635         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12636
12637 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12638
12639         * BufferView_pimpl.C (specialChar): delete new inset if we have
12640         not been able to insert it.
12641
12642         * kbmap.C: revert to using int instead of kb_action, since all we
12643         are dealing with is pseudo-actions.
12644
12645         * LyXAction.C (searchActionArg): change to return int instead of
12646         kb_action, since the result is a pseudoaction.
12647
12648 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12649
12650         * buffer.C (insertErtContents): Fix (partially) the font bug.
12651
12652 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12653
12654         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12655         as the other one is broken on my machine!
12656
12657 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12658
12659         * commandtags.h:
12660         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12661
12662 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12663
12664         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12665         reflect their actual use. Provide compatibility code for older lyxrc
12666         files.
12667
12668         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12669         FL_NORMAL_STYLE.
12670         change names of popup font variables in line with the changes to lyxrc.C
12671
12672 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12673
12674         * buffer.C (asciiParagraph): avoid outputing a word twice after
12675         an inset.
12676
12677         * lyxrc.C (getDescription): document that document_path and
12678         template_path can be empty.
12679
12680 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12681
12682         * LaTeXFeatures.C (getMacros):
12683         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12684
12685         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12686
12687         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12688         getPackages.
12689         (getPackages): rename feature "floats" to "float". Use an array to
12690         iterate over 'simple' features (i.e. just a \usepackage). Add
12691         handling of "amsmath" (renamed from "amsstyle").
12692
12693 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12694
12695         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12696         features list.
12697
12698 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12699
12700         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12701         FuncStaus::FuncStatus & FuncStaus::some_method().
12702
12703 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12704
12705         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12706         of the func_satus stuff. Edited and massaged in various ways by
12707         JMarc.
12708
12709         * lyxfunc.C (getStatus): use FuncStatus
12710
12711 2002-01-08  Juergen Vigna  <jug@sad.it>
12712
12713         * text.C (nextBreakPoint): use function Inset::isChar().
12714
12715         * paragraph.C (TeXOnePar): use function
12716         Inset::forceDefaultParagraphs.
12717
12718         * buffer.C (latexParagraphs): use function
12719         Inset::forceDefaultParagraphs.
12720
12721 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12722
12723         * lyx_gui.C (init): set the style of the menu popups to
12724         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12725
12726 2002-01-07  Juergen Vigna  <jug@sad.it>
12727
12728         * text.C (setHeightOfRow): small fix
12729         (prepareToPrint): don't look at alignment if we don't have the place
12730         for doing it.
12731
12732 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12733
12734         * box.C: New file. Move the Box methods and functions out of box.h,
12735         following Lars' suggestion.
12736
12737 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12738
12739         * box.h: #include "support/LOstream.h", needed for inlined function.
12740
12741         * lyxtextclass.C:
12742         * lyxtextclasslist.C: added some using std declarations.
12743
12744 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * box.h: make signed dimensions to allow insets wider than
12747           the screen (bug #162)
12748
12749         * BufferView_pimpl.C: add some insetHit debug
12750
12751 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12752
12753         * vc-backend.C: add FIXME
12754
12755 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12756
12757         * lyxfunc.C (getStatus): enable code for showing math font status
12758         in toolbar/menu.
12759
12760 2002-01-07  Juergen Vigna  <jug@sad.it>
12761
12762         * text.C (nextBreakPoint): removed debug output not needed anymore.
12763
12764 2002-01-06  Juergen Vigna  <jug@sad.it>
12765
12766         * text.C (nextBreakPoint): fixed up this function we had this bug
12767         since ever but now hopefully we break row better.
12768         (insertChar): we have to check if an inset is the next char as it
12769         could now happen that a large inset is causing a break.
12770
12771 2002-01-05  Juergen Vigna  <jug@sad.it>
12772
12773         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12774         if it doesn't like to be drawed.
12775
12776 2002-01-04  Juergen Vigna  <jug@sad.it>
12777
12778         * BufferView2.C (lockInset): forgot to set a cursor.
12779
12780         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12781
12782 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12783
12784         * FormMathsPanel.C:
12785         * FormMathsPanel.h
12786         * MathsSymbols.C:
12787         * form_maths_panel.C:
12788         * form_maths_panel.h:
12789         * form_maths_panel.fd: implemented sub- and super- buttons in math
12790         panel.
12791
12792         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12793         (or ^ space) to be used as in TeX (req'd by André).
12794
12795         * lyxfunc.C: Allow ^ and _ again to be used both as
12796         super/subscript (mathed) and as themselves (in text).
12797
12798 2002-01-03  Allan Rae  <rae@lyx.org>
12799
12800         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12801         "LyX" or the filename of the current buffer if it has one.  This is a
12802         modified form of John Levon's patch.
12803
12804         * XFormsView.C (setWindowTitle): also set icon title.
12805
12806         * LyXView.h (setWindowTitle): signature changed.
12807         * XFormsView.h (setWindowTitle): ditto.
12808
12809 2002-01-02  Juergen Vigna  <jug@sad.it>
12810
12811         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12812
12813 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12814
12815         * screen.C (topCursorVisible): introduce a temp var for
12816         text->cursor.row(), handle the case where this row is null. (kindo
12817         hachish)
12818
12819         * text2.C (setCursor): add a couple of asserts.
12820
12821         * paragraph.h (inset_iterator): add -> operator
12822
12823         * paragraph.[Ch] (autoDeleteInsets): remove member function
12824
12825         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12826         cursor pos correctly and handle inset deletion by itself.
12827         (insertErrors): move iterator declaration out of for expression
12828
12829         * lyxtextclass.C: add <algorithm>
12830
12831         * Makefile.am: added the new files to sources, removed layout.C
12832
12833         * layout.C: removed file
12834
12835         * layout.h: remove LYX_DUMMY_LAYOUT
12836
12837         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12838         layout.
12839
12840         * lyxlayout.[Ch]:
12841         * lyxtextclass.[Ch]:
12842         * lyxtextclasslist.[Ch]: new files
12843
12844         * include order changes to a lot of files, also changes because of
12845         the six new files.
12846
12847 2001-12-27  Juergen Vigna  <jug@sad.it>
12848
12849         * buffer.C (asciiParagraph): more fixes.
12850
12851         * tabular.C (ascii): make ascii export support export of only the
12852         data separated by a column-delimiter.
12853         (ascii): better support for ascii export.
12854
12855         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12856
12857 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12858
12859         * tabular_funcs.C: use a "using std::getline" instead of the
12860         previous fix from Angus (necessary for cxx + lyxstring)
12861
12862 2001-12-24  Juergen Vigna  <jug@sad.it>
12863
12864         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12865
12866         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12867         problems. First check a minipage also if we have some ert-contents
12868         (not only on par->size(), second set the right depth of the paragraph
12869         on the relink to the root-paragraph-list!
12870
12871         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12872         which then did not anymore update the main paragraphs on undo/redo!
12873
12874 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12875
12876         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12877         code. Support all font-changing funcs (even those which are not in
12878         menu currently). Support for reporting font settings in
12879         mathed (disabled until Andre provides a function on mathed's side).
12880
12881         * func_status.h (toggle): small helper function to set toggle
12882         state on a flag.
12883
12884 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12885
12886         * tabular_funcs.C: getline -> std::getline
12887
12888 2001-12-21  Juergen Vigna  <jug@sad.it>
12889
12890         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12891         accessed and could be 0 (I couldn't generate this but it seems
12892         Michael could!).
12893
12894 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12897         * tabular_funcs.h: here and include iosfwd
12898
12899 2001-12-20  Juergen Vigna  <jug@sad.it>
12900
12901         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12902         inside inset but undo_par was.
12903
12904 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12905
12906         * Thesaurus.C: always include <config.h> in sources.
12907
12908         * Painter.h:
12909         * lyxlookup.h:
12910         * box.h: do not include <config.h> in header files
12911
12912         * text.C (paintLastRow): remove unused variable
12913
12914         * text.C (transformChar):
12915         (insertChar):
12916         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12917
12918         * Painter.C (text):
12919         * font.C (width): rewrite to use uppercase() instead of
12920         islower/toupper.
12921
12922         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12923
12924 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12925
12926         * lyxfind.C: clean up of find failure position change
12927
12928 2001-12-20  Juergen Vigna  <jug@sad.it>
12929
12930         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12931
12932         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12933         (TeXRow): added to LaTeX a single tabular row.
12934         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12935         (Latex): simplified and finally good LT-h/f support.
12936         (various_functions): just small adaptions for LT-h/f support.
12937
12938         * tabular_funcs.[hC]: added and moved here all not classfunctions
12939         of LyXTabular.
12940
12941 2001-12-19  Juergen Vigna  <jug@sad.it>
12942
12943         * tabular.[Ch]: better support for longtabular options (not finished
12944         yet!)
12945
12946 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12947
12948         * text.C (paintLastRow): use the label font instead of the font of
12949         the last character to compute the size of *_BOX. This makes more
12950         sense and avoids a crash with empty paragraphs.
12951         Use Painter::rectangle to draw EMPTY_BOX.
12952
12953 2001-12-19  Juergen Vigna  <jug@sad.it>
12954
12955         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12956         the paragraphs if the replaced paragraph is not the first one!
12957         Tried to delete not used paragraphs but does not work yet so for
12958         now it's inside #ifdef's and by default off!
12959
12960 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12961
12962         * MenuBackend.C: include "lyx_main.h" instead of declaring
12963         lastfiles (actually was declared as LastFiles* instead of a
12964         scoped_ptr).
12965
12966 2001-12-17  Juergen Vigna  <jug@sad.it>
12967
12968         * tabular.C (AppendColumn): applied John's fix
12969
12970 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12971
12972         * BufferView.h:
12973         * BufferView.C:
12974         * BufferView_pimpl.h:
12975         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12976
12977         * Makefile.am:
12978         * box.h: new start of class for above
12979
12980         * lyxfunc.C: ignore space-only minibuffer dispatches.
12981           Show the command name when it doesn't exist
12982
12983         * minibuffer.C: don't add empty lines to the history
12984
12985         * minibuffer.C: add a space on dropdown completion
12986
12987 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * text.C: fix line above/below drawing in insets
12990
12991 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * lyxlength.C (LyXLength): Initialize private variables.
12994
12995 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12996
12997         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12998         when inserting error insets.
12999
13000 2001-12-13  Juergen Vigna  <jug@sad.it>
13001
13002         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13003         actually sometimes the before-paragraph.
13004         (setUndo): don't clear the redostack if we're not actually undoing!
13005
13006 2001-12-06  Juergen Vigna  <jug@sad.it>
13007
13008         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13009         and fixed redoing of main paragraph, so we can use it now ;)
13010
13011         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13012
13013 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13014
13015         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13016         Juergen's request
13017
13018 2001-12-13  André Pönitz <poenitz@gmx.net>
13019
13020         * undostack.[Ch]:
13021         * undo_func.C: minor cleanup
13022
13023 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13024
13025         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13026         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13027         font in urw-fonts package which is marked as -urw-fontspecific and
13028         does not work (incidentally, changing the encoding in the
13029         fonts.dir of this package to -adobe-fontspecific fixes the
13030         problem).
13031
13032         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13033         is a crash when undoing first paragraph (Juergen, please take a
13034         look). THis does not mean the undo fix is wrong, just that it
13035         uncovers problems.
13036
13037         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13038         the (Paragraph*) version when needed instead of duplicating the
13039         code.
13040
13041         * text.C (workWidth): use Inset::parOwner to find out where the
13042         inset has been inserted. This is a huge performance gain for large
13043         documents with lots of insets. If Inset::parOwner is not set, fall
13044         back on the brute force method
13045
13046         * paragraph_pimpl.C (insertInset):
13047         * paragraph.C (Paragraph):
13048         (cutIntoMinibuffer): set parOwner of insets when
13049         inserting/removing them
13050
13051         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13052
13053 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13054
13055         * commandtags.h:
13056         * LyXAction.C:
13057         * lyx_main.C:
13058         * lyxfunc.C:
13059         * mathed/formulabase.C:
13060         * mathed/math_cursor.[Ch]:
13061         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13062
13063
13064 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13065
13066         * lyxlength.[Ch] (operator!=): new function
13067
13068 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13069
13070         * text.C (workWidth): use Inset::parOwner to find out where the
13071         inset has been inserted. This is a huge performance gain for large
13072         documents with lots of insets. If Inset::parOwner is not set, fall
13073         back on the brute force method
13074
13075         * paragraph_pimpl.C (insertInset):
13076         * paragraph.C (Paragraph):
13077         (cutIntoMinibuffer): set parOwner of insets when
13078         inserting/removing them
13079
13080         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13081
13082 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13083
13084         * tabular-old.C (getTokenValue):
13085         * tabular.C (getTokenValue):
13086         (write_attribute): new versions for LyXLength
13087         (everywhere): adjust the use of widths
13088
13089         * tabular.h: change the type of widths from string to LyXLength
13090
13091 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13092
13093         * paragraph.C: fixed missing line number count when exporting
13094         Environments to LaTeX file
13095
13096         * buffer.C: added informational message for checking line numbers.
13097
13098 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13099
13100         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13101         paragraph, do the 'double space' part, but not the 'empty
13102         paragraph' one.
13103
13104         * text.C (workWidth): small optimization
13105         (getLengthMarkerHeight): use minimal size for negative lengths.
13106
13107 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13110
13111         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13112
13113 2001-12-11  André Pönitz <poenitz@gmx.net>
13114
13115         * FontLoader.C:
13116         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13117
13118 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * text2.C: keep selection on a setFont()
13121
13122 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13123
13124         * lyx_cb.C: another bv->text misuse, from insert label
13125
13126 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * kbsequence.h:
13129         * kbsequence.C: re-instate nmodifier mask
13130
13131 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13132
13133         * lyx_main.h: make lyxGUI private.
13134
13135 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * lyxfind.C: place the cursor correctly on failed search
13138
13139 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * text.C (getLengthMarkerHeight): for small heights, the arrows
13142         are not always on top/bottom of the text
13143         (drawLengthMarker): smaller arrows; take the left margin in
13144         account; draw also vfills.
13145         (paintFirstRow):
13146         (paintLastRow): remove special code for vfill and standard spaces,
13147         since everything is handled in drawLengthMarker now.
13148
13149 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13150
13151         * buffer.C (insertErtContents): try to handle font and language
13152         interaction a bit better.g
13153
13154         * ColorHandler.C (updateColor): change the hash to cover the whole
13155         LColor enum, ws cleanup
13156         (getGCLinepars): ditto
13157         (getGCLinepars): only lookup in the linecache once.
13158
13159 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * iterators.C (operator++): Make the iterator more robust
13162
13163         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13164         (John's patch)
13165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13166
13167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * lyxtext.h:
13170         * text.C: better added space drawing
13171
13172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * LyXView.C:
13175         * BufferView2.C: fix layout combo update on inset unlock
13176
13177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * Makefile.am: don't compile unused files
13180
13181 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * lyxfunc.C:
13184         * commandtags.h:
13185         * LyXAction.C: remove old LFUN_LAYOUTNO
13186
13187 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13188
13189         * paragraph_pimpl.h:
13190         * paragraph_pimpl.C: isTextAt() doesn't need font param
13191
13192 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13193
13194         * lyxlex.h:
13195         * lyxlex.C: little cleanup
13196
13197 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * BufferView_pimpl.C: fix insertAscii for insets
13200
13201 2001-12-05  Juergen Vigna  <jug@sad.it>
13202
13203         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13204         set the right font on the "multi" paragraph paste!
13205
13206 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13207
13208         * trans_decl.h:
13209         * trans_mgr.[Ch]:
13210         * trans.[Ch]:
13211         * lyxgluelength.C:
13212         * lyxlength.C: remove out-commented code.
13213
13214         * BufferView_pimpl:
13215         * CutAndPaste.C:
13216         * DepTable.C:
13217         * buffer.C:
13218         * chset.C:
13219         * lastfiles.C:
13220         * lyxlex.C:
13221         * lyxlex_pimpl.C:
13222         * lyxserver.C:
13223         * screen.C:
13224         * tabular-old.C:
13225         * tabular.C:
13226         * text.C:
13227         * trans_mgr.C:
13228         * vc-backend.C: change "while(" to "while ("
13229
13230         * lyxlength.[Ch]: add zero function to check if length is zero or
13231         not
13232         * lyxgluelength.C: use it
13233
13234 2001-12-05  Allan Rae  <rae@lyx.org>
13235
13236         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13237         Works for 2.95.3, from what I understand of Garst's reports this should
13238         work for other g++ versions.  We're screwed if the abs(int) definition
13239         changed between bugfix releases of gcc.
13240
13241 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13242
13243         * text.C: fix chapter label offset !
13244
13245 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13246
13247         * lyxtext.h:
13248         * text.C: fix hfill at end of line, clean up
13249
13250 2001-12-04  Juergen Vigna  <jug@sad.it>
13251
13252         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13253         that we force an update of the inset and it's owners if neccessary.
13254
13255 2001-12-03  Juergen Vigna  <jug@sad.it>
13256
13257         * text.C (rowLast): simplified code
13258
13259 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * lyxfunc.C: fix show options on timeout
13262
13263 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * screen.C (topCursorVisible): scroll half a page when the cursor
13266         reached top of bottom of screen
13267
13268 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * minibuffer.C: deactivate on loss of focus
13271
13272 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * vspace.[Ch] (operator!=): add operator.
13275
13276 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * BufferView_pimpl.C: refuse to open an inset when
13279         there's a selection.
13280
13281 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13282
13283         * BufferView_pimpl.C: allow to click on RHS of full row insets
13284
13285 2001-11-30  Juergen Vigna  <jug@sad.it>
13286
13287         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13288         insets for undo reasons.
13289
13290 2001-11-28  André Pönitz <poenitz@gmx.net>
13291
13292         * vspace.[Ch]: cosmetical changes
13293
13294 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13295
13296         * LyXAction.h:
13297         * LyXAction.C:
13298         * lyxfunc.h:
13299         * lyxfunc.C:
13300         * kbmap.h:
13301         * kbmap.C:
13302         * lyxrc.C:
13303         * kbsequence.h:
13304         * kbsequence.C: part re-write of old kb code
13305
13306         * Painter.C:
13307         * WorkArea.C: remove Lgb_bug_find_hack
13308
13309 2001-11-30  José Matos <jamatos@fep.up.pt>
13310
13311         * buffer.C (makeDocBookFile): add a comment to point a hack.
13312         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13313         Fixed a double write of labels.
13314
13315 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13316
13317         * LaTeX.C:
13318         * LaTeX.h Fixed bug in LaTeX class where it would not
13319         re-run latex if no depfiles were changed, but the .dvi was removed.
13320
13321 2001-11-28  André Pönitz <poenitz@gmx.net>
13322
13323         * all the files from the change on 2001/11/26:
13324         use lyx::layout_type instead of LyXTextClass::size_type
13325         use lyx::textclass_type instead of LyXTextClassList::size_type
13326
13327 2001-11-29  Juergen Vigna  <jug@sad.it>
13328
13329         * text.C: added support for paragraph::isFreeSpacing()
13330
13331         * buffer.C: same as above
13332
13333         * paragraph.h: inserted isFreeSpacing() function to enable
13334         FreeSpacing inside InsetERT.
13335
13336         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13337         of the paragraph's in the cut/copy buffer to 0!
13338
13339         * text2.C (removeRow): remove the assert as it can!
13340
13341         * lyxtext.h: added helper function firstRow returning firstrow and
13342         made firstrow private again.
13343
13344         * BufferView2.C (lockInset): don't relock if we're already locked!
13345
13346         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13347         the only paragraph.
13348         (removeRow): added Assert::(firstrow)
13349
13350         * debug.C: forgot to add INSETTEXT here.
13351
13352 2001-11-28  Juergen Vigna  <jug@sad.it>
13353
13354         * sp_spell.C (initialize): changed error text to more general
13355         spellchecker command use (not only ispell!)
13356
13357         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13358
13359         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13360
13361 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * vspace.C: initialise lyxgluelength on failure
13364
13365 2001-11-28  Allan Rae  <rae@lyx.org>
13366
13367         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13368         declaration & definition that looks like a function declaration.
13369
13370 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13371
13372         * BufferView2.C (copy):
13373         (copyEnvironment): do not clear the selection when doing a copy.
13374
13375         * text.C (paintFirstRow): compilation fix
13376
13377 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13378
13379         * tabular.C (Latex): correct line count when writing latex.
13380
13381 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13382
13383         * paragraph_pimpl.h:
13384         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13385           bug a bit
13386
13387 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13388
13389         * text.C:
13390         * LColor.h:
13391         * LColor.C: change vfillline->added_space
13392
13393         * text.C: add markers and text for added space
13394
13395         * vspace.C: fix comment
13396
13397 2001-11-28  André Pönitz <poenitz@gmx.net>
13398
13399         * paragraph.C: whitespace changes
13400         * all the other files from the change on 2001/11/26:
13401         change *::pos_type into lyx::pos_type
13402
13403 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13404
13405         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13406         language of the document when inserting error insets.
13407
13408 2001-11-26  André Pönitz <poenitz@gmx.net>
13409
13410         * BufferView_pimpl.[Ch]:
13411         *       CutAndPaste.C:
13412         * buffer.[Ch]:
13413         * lyxcursor.[Ch]:
13414         * lyxfind.C:
13415         * lyxfunc.C:
13416         * lyxrow.[Ch]:
13417         * paragraph.[Ch]:
13418         * paragraph_pimpl.[Ch]:
13419         * sp_spell.C:
13420         * text.C:
13421         * text2.C: reduce header dependencies, introduce type for positions
13422
13423 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13424
13425         * <various>: change to use Alert.h
13426
13427 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13428
13429         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13430         when encountering an unknown token.
13431         (readLyXformat2): Show an error message if there were unknown tokens.
13432
13433 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13434
13435         * BufferView2.C:
13436         * BufferView_pimpl.C:
13437         * buffer.C:
13438         * paragraph.h:
13439         * text.C:
13440         * text2.C: use par->isInset()
13441
13442 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * paragraph_pimpl.h:
13445         * paragraph_pimpl.C: cleanup
13446
13447 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * text2.C (removeRow):
13450         * text.C (setHeightOfRow): remove useless (and costly) call to
13451         getRow.
13452
13453 2001-11-20  Allan Rae  <rae@lyx.org>
13454
13455         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13456         Now need Inset*::checkInsertChar() to return true for appropriate
13457         cases so that the characters in the minibuffer will actually be
13458         inserted.
13459
13460 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13461
13462         * text.C: change the order of the includes.
13463         (workWidth): initialize it at once.
13464         (workWidth): make maxw unsigned
13465         (setHeightOfRow): remove unused variable (inset)
13466         (selectSelectedWord): remove unused variable (inset)
13467         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13468
13469 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13472         server is not running.
13473         (openConnection):
13474         (closeConnection): add debug info when server is disabled.
13475
13476         * ColorHandler.C (getGCForeground): send debug message to GUI
13477         channel.
13478
13479         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13480
13481         * kbmap.C (bind): modify because return conventions of
13482         kb_sequence::parse have changed.
13483
13484         * kbsequence.C (parse): only ignore spaces and not any stupid
13485         control character. This avoids tests like s[i] <= ' ', which are
13486         guaranteed to fail with 8bit characters and signed chars.
13487         Change return code to string::npos when there have been no error
13488         (0 was a bad idea when error is at first character)
13489
13490 2001-11-14  José Matos  <jamatos@fep.up.pt>
13491
13492         * buffer.h:
13493         * buffer.C (simpleDocBookOnePar): removed unused argument.
13494
13495 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13496
13497         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13498         insets which are part of a word. Paragraph::isLetter takes care of
13499         that now. Use Paragraph::isInset to identify insets.
13500         (selectSelectedWord): do not test for hyphenation break.
13501
13502         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13503         that protected spaces are considered as spaces.
13504
13505         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13506         Inset::isLetter.
13507
13508 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13509
13510         * lyxserver.h:
13511         * lyxserver.C: fix it. and small cleanup.
13512
13513 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13514
13515         * BufferView_pimpl.C: use inline helpers
13516
13517         * LaTeXFeatures.h:
13518         * LaTeXFeatures.C: fix typos
13519
13520         * Spacing.h:
13521         * Spacing.C: move spacing_string into class
13522
13523         * ToolbarDefaults.C: move stuff into namespace anon
13524
13525         * layout.h: update enum
13526
13527         * lyxfunc.C: use better debug
13528
13529         * minibuffer.h: fix typo
13530
13531         * debug.h:
13532         * debug.C:
13533         * WorkArea.C: add and use Debug::WORKAREA
13534
13535         * lyxtext.h:
13536         * text.C:
13537         * text2.C: code re-organisation, inline helpers
13538
13539 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13540
13541         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13542         std::vector.empty().
13543
13544 2001-11-09  Allan Rae  <rae@lyx.org>
13545
13546         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13547         '\n's after tables.  Tabular and ERT inset work now makes this no
13548         longer necessary.
13549
13550 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13551
13552         * minibuffer.h:
13553         * minibuffer.C: fix crash, improve drop-down completion
13554
13555 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13556
13557         * lyxserver.h:
13558         * lyxserver.C: invalidate fd's when doing endPipe()
13559
13560 2001-11-08  José Matos  <jamatos@fep.up.pt>
13561
13562         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13563         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13564
13565         * paragraph.h:
13566         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13567
13568 2001-11-07  José Matos  <jamatos@fep.up.pt>
13569
13570         * buffer.h:
13571         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13572         const qualifier.
13573
13574         * buffer.C (sgmlOpenTag):
13575         * buffer.C (sgmlCloseTag): removed debug info.
13576
13577         * buffer.h (sgmlOpenTag):
13578         * buffer.h (sgmlCloseTag): made public.
13579
13580 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13581
13582         * buffer.C (saveParamsAsDefaults):
13583         * lyx_cb.C (MenuLayoutSave): remove
13584
13585         * LyXAction.C (init):
13586         * commandtags.h:
13587         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13588
13589 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * buffer.C (setPaperStuff): removed from here...
13592
13593         * bufferparams.C (setPaperStuff): ... and moved there.
13594
13595 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13596
13597         * minibuffer.h:
13598         * minibuffer.C:
13599         * XFormsView.C: add support for drop-down completion
13600
13601 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13602
13603         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13604         commands.
13605
13606 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13607
13608         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13609         disabled.
13610
13611 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * lyx_main.C: change ref to known bugs
13614
13615 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13616
13617         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13618         to work around older babel problems.
13619
13620 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13621
13622         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13623
13624 2001-10-24  Juergen Vigna  <jug@sad.it>
13625
13626         * tabular-old.C (ReadOld): below variable changes reflected.
13627
13628         * tabular.[Ch]: added ltType struct for longtable header/footer
13629         defines and changed all instances where they are used. Added
13630         future support for double top/bottom rows.
13631
13632 2001-10-24  José Matos  <jamatos@fep.up.pt>
13633
13634         * buffer.h (docbookHandleCaption):
13635         * buffer.C (docbookHandleCaption): removed unused function.
13636         (makeDocBookFile): moved docbook supported version to v4.1.
13637
13638 2001-10-24  José Matos  <jamatos@fep.up.pt>
13639
13640         * tabular.h:
13641         * tabular.C (docbookRow): new function to export docbook code of a row.
13642         (DocBook): now honors the longtable flags.
13643
13644 2001-10-23  José Matos  <jamatos@fep.up.pt>
13645
13646         * LaTeXFeatures.h:
13647         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13648         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13649
13650         * buffer.C (makeLinuxDocFile):
13651         (makeDocBookFile): reworked the preamble, more clean, and with
13652         support for lyx defined entities. Changed the document declaration
13653         to be more XML friendly.
13654
13655         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13656         if we need to output XML that should be done with a filter.
13657
13658 2001-10-22  Juergen Vigna  <jug@sad.it>
13659
13660         * sp_pspell.h (class PSpell): add alive function needed in the
13661         controller to see if the spellchecker could be started.
13662
13663 2001-10-22  Juergen Vigna  <jug@sad.it>
13664
13665         * buffer.C (insertStringAsLines): modify the font for inserting
13666         chars in certain conditions by calling checkInsertChar(font).
13667
13668 2001-10-19  Juergen Vigna  <jug@sad.it>
13669
13670         * text.C (workWidth): use getRow instead of wrong algorithm.
13671         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13672
13673 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13674
13675         * lyxserver.h:
13676         * lyxserver.C:
13677         * lyx_main.h:
13678         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13679
13680 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13681
13682         * text.C (workWidth): do not search for the exact row when
13683         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13684         optimization for big documents.
13685
13686 2001-10-18  Juergen Vigna  <jug@sad.it>
13687
13688         * text.C (workWidth): new function with added Inset * parameter.
13689
13690 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13691
13692         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13693
13694         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13695         change return type of getColumnNearX.
13696
13697
13698         * text.C (changeRegionCase): use uppercase/lowercase instead of
13699         toupper/tolower.
13700         (leftMargin):
13701         (rightMargin): simplify code by factoring out the uses of
13702         textclasslist.
13703         (labelFill):
13704         (numberOfHfills):
13705         (setHeightOfRow):
13706         (appendParagraph): use Paragraph::size_type
13707
13708 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13709
13710         * vspace.C (asLatexString): add a missing break
13711
13712 2001-10-15  Herbert Voss  <voss@perce.de>
13713
13714         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13715
13716 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13717
13718         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13719         is not available.
13720
13721 2001-10-10  André Pönitz <poenitz@gmx.net>
13722
13723         * lyxfunc.C: removed greek_kb_flag.
13724
13725 2001-10-10  Herbert Voss  <voss@perce.de>
13726
13727         * lyx_main.C: delete global string help_lyxdir.
13728
13729 2001-10-09  Herbert Voss  <voss@perce.de>
13730
13731         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13732
13733         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13734
13735         * lyx_main.C: added global string help_lyxdir.
13736
13737         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13738
13739 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13740
13741         * lyxrc.C (set_font_norm_type): support iso8859-4
13742
13743 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13744
13745         * LaTeX.C (deplog): add another regex for MikTeX
13746
13747 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13748
13749         * lyxrc.C (set_font_norm_type): support iso8859-3
13750
13751 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13754
13755         * LaTeXFeatures.C: remove special case of french and index
13756
13757         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13758         before \begin{document}). This solves several incompatibilities.
13759
13760 2001-10-03  Garst Reese  <reese@isn.net>
13761
13762         * lyx_cb.C: change CheckTex error msg.
13763
13764 2001-10-03  José Matos  <jamatos@fep.up.pt>
13765
13766         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13767
13768 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13769
13770         * .cvsignore: update
13771
13772         * lyx_main.C (commandLineVersionInfo): use new style version info.
13773
13774         * buffer.C (writeFile):
13775         (makeLaTeXFile):
13776         (makeLinuxDocFile):
13777         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13778
13779         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13780
13781         * version.h: update to use stuff in version.C
13782
13783         * version.C.in: new file. Contains version information determined
13784         at compile time. This is a merging of version.h and
13785         version_info.h.in.
13786
13787 2001-10-03  Juergen Vigna  <jug@sad.it>
13788
13789         * BufferView_pimpl.C (update): don't change "dirty" status in
13790         updateInset call.
13791
13792 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13793
13794         * WorkArea.C (c-tor): re-position version string slightly.
13795
13796 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13797
13798         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13799         revert to previous code.
13800
13801         WorkArea.[Ch]: (show, destroySplash): methods removed.
13802
13803         WorkArea.C: rework code so that it's an amalgam of the codes before and
13804         after the splash screen was moved to WorkArea.
13805
13806 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13807
13808         * lyxrc.C (read):
13809         * vspace.C (inPixels):
13810         (lyx_advance):
13811         * kbmap.C (bind):
13812         * buffer.C (insertStringAsLines):
13813         (asciiParagraph): fix types to be large enough
13814
13815         * lyxlex_pimpl.h: change member status from short to int
13816
13817         * layout.h: fix type of endlabeltype
13818
13819         * kbmap.C (bind):
13820         * kbsequence.C (parse): change return type to string::size_type
13821
13822         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13823         variable
13824
13825         * Bullet.C (bulletSize):
13826         (bulletEntry): do not use short ints as parameters
13827
13828         * BufferView2.C (insertLyXFile): change a char to an int.
13829
13830         * WorkArea.C (WorkArea): remove unneeded floats in computation
13831
13832 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13833
13834         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13835
13836         * paragraph.C (asString): Do not ignore newline/hfill chars when
13837         copying to the clipboard.
13838
13839 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13840
13841         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13842         after a multi-line inset.
13843
13844 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13845
13846         * paragraph.C (validate): Set NeedLyXFootnoteCode
13847
13848 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13849
13850         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13851         and decrease-error to decrease.
13852
13853 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13856         it more readable (should be equivalent)
13857
13858 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13859
13860         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13861
13862 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13863
13864         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13865         of a cursor (row, etc.) after a character has been deleted
13866         (deleteEmptyParagraphMechanism): call the method above on _all_
13867         cursors held by the LyXText when a double space has been
13868         detected/deleted.
13869
13870 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13871
13872         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13873         pixmap.
13874         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13875
13876         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13877         background. Use greyOut() and the new show() methods to toggle between
13878         the foreground and background. Add code to remove the splash after
13879         its initial showing.
13880
13881         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13882         (create_forms): no longer call Dialogs::showSplash.
13883
13884 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13885
13886         * .cvsignore: add version_info.h
13887
13888 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13889
13890         * version_info.h.in: new file
13891
13892         * Makefile.am: add version_info.h.in
13893
13894         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13895         version_info.h instead of VERSION_INFO
13896
13897 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13900         The ERT inset now returns string().
13901
13902 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13903
13904         * lyxtext.h, text.C (selectNextWord): renamed as
13905         selectNextWordToSpellcheck.
13906
13907         * text.C (selectNextWordToSpellcheck): Modified to not select
13908         words inside an ERT inset.
13909
13910 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13911
13912         * lyx_cb.C (MenuLayoutSave): change a bit the question
13913
13914         * sp_base.h: include <sys/types.h>
13915
13916 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13917
13918         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13919
13920 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13921
13922         * several files: fix typos in user-visible strings
13923
13924 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13925
13926         * text2.C (pasteSelection): do not set the selection, since it
13927         will be cleared later. Actually, the intent was to fix the way the
13928         selection was set, but I figured rmoving the code was just as good.
13929
13930 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13931
13932         * FontLoader.C (available): Check if font is available without
13933         loading the font.
13934
13935 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13936
13937         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13938
13939 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13940
13941         * lyxrc.[Ch]: added display_graphics variable and associated code.
13942
13943 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13944
13945         * bufferparams.C (hasClassDefaults): new method. Returns true if
13946         the buffer parameters correspond to known class defaults
13947
13948 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * XFormsView.C (show): set minimum size to the main window.
13951
13952 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * text2.C (copySelection):
13955         (cutSelection):
13956         * lyxfind.C (LyXReplace):
13957         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13958         LyXText::selectionAsString.
13959
13960         * paragraph.C (asString): add "label" argument to the second form
13961
13962         * text2.C (selectionAsString): add "label" argument and pass it to
13963         Paragraph::asString.
13964
13965 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13966
13967         * lyx_main.C (commandLineHelp): remove version information
13968
13969 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13970
13971         * lyx_main.C: add -version commandline option
13972
13973 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * paragraph.h: make the optional constructor arg required instead.
13976         some modifications to other files because of this.
13977
13978         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13979
13980         * lyxserver.C (C_LyXComm_callback): make it static
13981
13982         * lyx_main.C (error_handler): make it static
13983
13984         * lyx_gui.C (LyX_XErrHandler): make it static
13985
13986         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13987
13988         * WorkArea.C: make the extern "C" methods static.
13989
13990         * Makefile.am (lyx_LDADD): simplify
13991
13992 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13993
13994         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13995         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13996
13997         * LyXAction.C (init):
13998         * lyxfunc.C (dispatch): associated code removal.
13999
14000 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14001
14002         * lyxfont.h (isSymbolFont): shut off warning
14003
14004         * text.C (setHeightOfRow):
14005         (getVisibleRow): fix crash with empty paragraphs which have a
14006         bottom line
14007
14008 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14009
14010         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14011         code.
14012
14013 2001-09-04  José Matos  <jamatos@fep.up.pt>
14014         * buffer.C
14015         * buffer.h
14016         * tabular.C (docbook): rename docBook method to docbook.
14017
14018 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14019
14020         * Makefile.am: add dependencies to main.o.
14021
14022 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14023
14024         * FontLoader.C (available): Return false if !lyxrc.use_gui
14025
14026 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14027
14028         * FontInfo.C (query):
14029         * converter.C (view):
14030         * importer.C (Import):
14031         * exporter.C (Export): Can not -> cannot.
14032
14033 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14034
14035         * BufferView_pimpl.C: allow to create index inset even if
14036           string is empty
14037
14038 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14039
14040         * buffer.C (getLists): replace boost::tie code with an explicit pair
14041         as boost::tie can break some compilers.
14042
14043         * iterators.h: Added a std:: declaration to the return type of
14044         ParIterator::size.
14045
14046 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14047
14048         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14049           case.
14050
14051 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14052
14053         * iterators.[Ch]: New files. Provide paragraph iterators.
14054
14055         * buffer.C (changeLanguage): Use paragraph iterators.
14056         (isMultiLingual): ditto
14057
14058         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14059
14060 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * FontLoader.C: Support for cmr font.
14063
14064 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14065
14066         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14067         (available): New method.
14068
14069         * FontInfo.C (getFontname): Use scalable fonts even when
14070         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14071         found.
14072
14073 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14074
14075         * converter.C (Formats::view): reverted! Incorrect fix.
14076
14077 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14078
14079         * converter.C (Formats::view): only output the -paper option
14080         if the dvi viewer is xdvi, thereby fixing bug #233429.
14081
14082 2001-08-23  Herbert Voss  <voss@perce>
14083
14084         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14085
14086 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * Spacing.h (Spacing): Set space to Default on in the default
14089         constructor.
14090
14091 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * vc-backend.h (RCS::versionString): add RCS to version
14094         (CVS::versionString): add CVS to version
14095
14096         * vc-backend.C (scanMaster): do not add CVS to version.
14097         (scanMaster): do not add RCS to version
14098
14099         * lyxvc.C (versionString): new method
14100
14101         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14102
14103 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14104
14105         * Spacing.C (set): initialize fval
14106
14107 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14110         " or \.
14111
14112 2001-08-16  Juergen Vigna  <jug@sad.it>
14113
14114         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14115
14116 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14117
14118         * BufferView_pimpl.C:
14119         * figureForm.C:
14120         * lyxtext.h:
14121         * text2.C: setParagraph takes linespacing now
14122
14123 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14124
14125         * LyxAction.C: add internal LFUN_CITATION_INSERT
14126
14127         * LyXView.C: actually apply fix
14128
14129         * bufferlist.C: fix open non-existent file
14130
14131         * lyxfind.C: fix indentation
14132
14133         * lyxfunc.C: remove unneeded assert, fix typo
14134
14135 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * MenuBackend.C: use "Floatname List"
14138
14139 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14140
14141         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14142         when converting LaTeX layout to insetERT.
14143         Generate a non-collapsed float when reading old float
14144
14145 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14148         ERT insets.
14149
14150 2001-08-13  Juergen Vigna  <jug@sad.it>
14151
14152         * text.C (fill): return 0 instead of 20 as this seems to be the more
14153         correct value.
14154
14155 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14156
14157         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14158         lyxrc.font_norm.
14159
14160 2001-08-13  Juergen Vigna  <jug@sad.it>
14161
14162         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14163         casesensitive off.
14164         (SearchBackward): comment out the unlocking of the inset_owner this
14165         should not be needed!
14166
14167 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * Many files: Remove inherit_language, and add latex_language
14170
14171         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14172         collapsible insets.
14173
14174 2001-08-10  Juergen Vigna  <jug@sad.it>
14175
14176         * text.C (prepareToPrint): fixed hfill-width in draw!
14177
14178         * BufferView2.C (selectLastWord): save the selection cursor as this
14179         now is cleared in the function LyXText::clearSelection!
14180
14181 2001-08-08  Juergen Vigna  <jug@sad.it>
14182
14183         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14184         BACKSPACE type functions.
14185
14186         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14187         is only cutted from the document but not put in the cut-buffer, where
14188         still the old stuff should be.
14189
14190         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14191
14192         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14193
14194         * tabular.C (SetWidthOfCell): fixed special case where the width
14195         was not updated!
14196         (LeftLine): handle '|' in align_special.
14197         (RightLine): ditto
14198         (LeftAlreadyDrawed): ditto
14199         (SetWidthOfCell): ditto
14200
14201 2001-08-07  Juergen Vigna  <jug@sad.it>
14202
14203         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14204
14205 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14206
14207         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14208         * lyxlex.[hC]: ditto
14209
14210 2001-08-06  Juergen Vigna  <jug@sad.it>
14211
14212         * text.C (getVisibleRow): fix up row clearing a bit.
14213
14214 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14215
14216         * minibuffer.C: make sure the X server sees the changes in the input.
14217
14218 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14219
14220         * paragraph.C (getFont): split into...
14221         (getLabelFont): this
14222         (getLayoutFont): and this
14223         * paragraph_pimpl.C (realizeFont): calling this
14224
14225         * text2.C (getFont): split into...
14226         (getLayoutFont): this
14227         (getLabelFont): and this
14228         (realizeFont): all three calling this
14229
14230         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14231         files where used.
14232
14233 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14234
14235         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14236
14237 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14238
14239         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14240         layouts from the Quote inset insertion.
14241
14242 2001-08-03  Juergen Vigna  <jug@sad.it>
14243
14244         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14245
14246         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14247         only if status not is already CHANGED_IN_DRAW (second level).
14248
14249         * text.C (draw): don't set the need_break_row when inside an
14250         InsetText LyXText.
14251
14252 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14253
14254         * buffer.C (parseSingleLyXformat2Token): handle more latex
14255         conversion cases.
14256
14257         * bufferview_funcs.[hC]: change function names to
14258         begin with small char, adjust other files.
14259
14260 2001-08-02  André Pönitz <poenitz@gmx.net>
14261
14262         * lyxfunc.C:
14263         BufferView_pimpl.C: remove broken special code for math-greek
14264
14265 2001-08-02  Juergen Vigna  <jug@sad.it>
14266
14267         * BufferView_pimpl.C (update): redone this function so that we
14268         update the text again if there was a CHANGE_IN_DRAW.
14269
14270         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14271         (drawFromTo): added a new internal bool which is used by draw() and
14272         redraw() function.
14273         (general): some cursor drawing problems fixed.
14274
14275 2001-08-01  Juergen Vigna  <jug@sad.it>
14276
14277         * lyxfind.C (LyXFind): fixed
14278         (SearchForward): ditto
14279         (SearchBackward): ditto
14280
14281         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14282         spurius drawing of the cursor in the main area.
14283
14284         * text2.C (status): small fix which could lead to a segfault!
14285         (clearSelection): remove unneeded BufferView param.
14286
14287 2001-08-01  André Pönitz <poenitz@gmx.net>
14288
14289         * lyxfunc.C: small change due to changed mathed interface
14290
14291 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14294
14295 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * lyxfunc.c: fail gracefully if file doesn't exist
14298
14299         * LyXSendto.C:
14300         * buffer.C:
14301         * lyxfunc.C:
14302         * BufferView_pimpl.C: IsDirWriteable() proto changed
14303
14304         * LyXView.C: fix updateWindowTitle() to store the last title
14305
14306 2001-07-31  Juergen Vigna  <jug@sad.it>
14307
14308         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14309         the font (wrong since using of Paragraph::highestFontInRange).
14310
14311         * paragraph.C (highestFontInRange): added a default_size parameter.
14312
14313         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14314         (setHeightOfRow): reformat
14315
14316 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14317
14318         * converter.[hC] + affected files: move to (inital-char)lowercase
14319         function names.
14320
14321         * ParagraphParameters.C (ParagraphParameters): remove commented code
14322
14323         * PainterBase.[Ch]: remove commented code
14324
14325         * LaTeXFeatures.h: add "bool floats" for float.sty
14326
14327         * LaTeXFeatures.C (LaTeXFeatures): init floats
14328         (require): handle float
14329         (getPackages): do it with floats
14330
14331 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14332
14333         * BufferView_pimpl.C (Dispatch): improve handling of
14334         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14335
14336         * commandtags.h: #include lyxfont.h here temporarily to avoid
14337         keybinding bug.
14338
14339         * bufferlist.h: include LString.h here.
14340
14341 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * text2.C (getStringToIndex): new method.
14344
14345 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14346
14347         * *: Reduced header file dependencies all over.
14348
14349 2001-07-30  Baruch Even  <baruch@lyx.org>
14350
14351         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14352
14353 2001-07-29  Baruch Even  <baruch@lyx.org>
14354
14355         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14356
14357 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14358
14359         * ParameterStruct.h (endif): add a default constructor to make
14360         sure that all variables is initialized.
14361
14362         * ParagraphParameters.C (ParagraphParameters): adjust
14363
14364 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14365
14366         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14367         index; also, check that there is something to index, and that it
14368         does not span over several paragraphs.
14369         (doubleClick): use WHOLE_WORD_STRICT for double click.
14370
14371         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14372
14373         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14374         scheme.
14375
14376 2001-07-26  Baruch Even  <baruch@lyx.org>
14377
14378         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14379         an InsetFig figure, backwards compatible reading of old figure code.
14380
14381 2001-07-27  Juergen Vigna  <jug@sad.it>
14382
14383         * text2.C: font.realize function adaption.
14384
14385         * text.C (draw): add a warnings lyxerr text if needed.
14386
14387         * layout.C: font.realize function adaption.
14388
14389         * language.C: add inherit_language and implement it's handlings
14390
14391         * bufferview_funcs.C (StyleReset): remove language parameter from
14392         font creation (should be language_inherit now).
14393
14394         * bufferparams.C (writeFile): handle ignore_language.
14395
14396         * paragraph.C (getFontSettings): the language has to be resolved
14397         otherwise we have problems in LyXFont!
14398
14399         * lyxfont.C (lyxWriteChanges): added document_language parameter
14400         (update): removed unneeded language parameter
14401
14402         * paragraph.C (validate): fixed wrong output of color-package when
14403         using interface colors for certain fonts in certain environments,
14404         which should not seen as that on the final output.
14405
14406 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14407
14408         * BufferView_pimpl.C:
14409         * Thesaurus.h:
14410         * Thesaurus.C:
14411         * Makefile.am:
14412         * commandtags.h:
14413         * LyXAction.C: add thesaurus support
14414
14415         * lyxfind.h:
14416         * lyxfind.C: add "once" parameter, for thesaurus, to not
14417           move to the next match
14418
14419 2001-07-26  Juergen Vigna  <jug@sad.it>
14420
14421         * lyxfont.C (realize): honor ignore_language too!
14422         (resolved): ditto.
14423
14424         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14425
14426         * text.C (draw): one place more for ignore_language to not draw
14427         itself!
14428
14429 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14430
14431         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14432
14433 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14434
14435         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14436         the minipage conversion problem.
14437
14438 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14439
14440         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14441         insert an inset.
14442
14443 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14444
14445         * BufferView.h: don't forward declare WorkArea
14446
14447         * BufferView.C: don't include WorkArea.h
14448
14449 2001-07-25  André Pönitz <poenitz@gmx.net>
14450
14451         * commandtags.h:
14452         * LyXAction.C:
14453         * lyxfunc.C:  new LFUN 'math-space'
14454
14455         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14456
14457 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14458
14459         * text2.C (toggleInset): call open/close
14460
14461 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14462
14463         * lyxfunc.C (dispatch): add debug for the disabled case
14464
14465         * font.C (buttonText): make similar to rectText
14466
14467         * buffer.C (readInset): comment out parsing of insetlist and
14468         insttheorem
14469
14470         * PainterBase.C (rectText): small correction
14471
14472         * BufferView_pimpl.C: comment out insettheorem and insetlist
14473         * LyXAction.C: ditto
14474         * commandtags.h: ditto
14475
14476 2001-07-24  Juergen Vigna  <jug@sad.it>
14477
14478         * text.C (draw): honor the ignore_language.
14479
14480         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14481
14482 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14483
14484         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14485         char inset.
14486
14487 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14488
14489         * lyxtext.h: remove unused (and unimplemented) methods
14490
14491 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14492
14493         * text.C (getVisibleRow): honor background color
14494
14495         * PainterBase.h:
14496         * Painter.h: remove default color argument for fillRectangle
14497
14498         * text.C (backgroundColor): new method
14499
14500 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14501
14502         * text.C (getVisibleRow): adjust
14503
14504         * font.[Ch] (rectText): new method, metrics
14505         (buttonText): new method, metrics
14506
14507         * PainterBase.[hC]: make rectText and buttonText always draw and take
14508         fewer paramteres.
14509
14510 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14511
14512         * ToolbarDefaults.C (read):
14513         * MenuBackend.C (read): allow escaping in all strings
14514
14515         * BufferView_pimpl.C (insertAndEditInset): new method.
14516         (Dispatch): use insertAndEditInset whenever appropriate.
14517
14518         * BufferView_pimpl.C (insertNote): removed
14519
14520         * BufferView_pimpl.C (smartQuote): new method, moved from
14521         BufferView; if an insetquote cannot be inserted, insert a '"'
14522         character instead.
14523
14524         * BufferView2.C: remove insertCorrectQuote();
14525
14526         * lyxfunc.C (getStatus): Add support for all remaingin
14527         inset-insert lfuns.
14528
14529         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14530
14531         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14532         command (necessary to pass " as parameter of self-insert.
14533
14534         * text.C (selectWordWhenUnderCursor):
14535         (selectWord): add word_location parameter
14536         (selectWordWhenUnderCursor): same + remove special code for word
14537         boundary.
14538         (selectNextWord): use kind() to guess type of insetspecialchar,
14539         not latex().
14540
14541         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14542         (insertErtContents): create ert insets as collapsed.
14543         (readInset): better compatibility code for Info inset.
14544
14545 2001-07-20  Juergen Vigna  <jug@sad.it>
14546
14547         * lyxfunc.C (dispatch): use always LyXFind now!
14548
14549         * text2.C (init): add a reinit flag so that the LyXText can be
14550         reinited instead of deleted and reallocated (used in InsetText).
14551
14552         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14553
14554         * text.C: ditto
14555
14556         * text2.C: ditto
14557
14558 2001-07-18  Juergen Vigna  <jug@sad.it>
14559
14560         * text.C (selectNextWord): handle insets inside inset by calling
14561         always the bv->text functions so that we can go up the_locking_inset!
14562
14563         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14564         in strange locations when inside an inset!
14565
14566         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14567         handling to include insets.
14568
14569         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14570
14571 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14572
14573         * LyXAction.C (init):
14574         * commandtags.h:
14575         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14576         LIGATURE_BREAK, since the name is so stupid.
14577
14578 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14579
14580         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14581         InsetInfos.
14582
14583         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14584
14585         * sp_form.[Ch]: remove.
14586
14587         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14588
14589         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14590         InsetInfo.
14591
14592         * src/buffer.C (readInset): ditto.
14593
14594 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14595
14596         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14597         menuSeparator(), endOfSentenceDot(), ldots() and
14598         hyphenationPoint(), which are therefore removed.
14599         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14600
14601         * LyXAction.C (init):
14602         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14603
14604         * paragraph.C (getWord): removed.
14605
14606         * BufferView_pimpl.C (Dispatch): use last word or selection for
14607         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14608
14609         * lyx_main.C (queryUserLyXDir): do not ask before creating
14610         user_dir, except if it has been named explicitely.
14611
14612 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14613
14614         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14615         a document of zero size.
14616
14617 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14618
14619         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14620         approriately in the c-tor and in require().
14621         (getPackages): output the appropriate LaTeX for natbib support.
14622
14623         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14624         variables "use_natbib" and "use_numerical_citations" when reading the
14625         LyX file.
14626         (readInset): read the various natbib cite commands.
14627         (validate): white-space change.
14628
14629         * bufferparams.[Ch]: new variables "bool use_natbib" and
14630         "bool use_numerical_citations".
14631         (writeFile): output them in the LyX file.
14632
14633 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14634
14635         * lyxfunc.C (getStatus): add support for all the inset insertion
14636         commands.
14637
14638         * text2.C (insertInset):
14639         * paragraph.C (insetAllowed):
14640         * BufferView_pimpl.C (insertInset): update to take in account the
14641         renaming of insertInsetAllowed
14642
14643         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14644
14645         * text2.C (getInset): new method. returns inset at cursor position.
14646
14647         * BufferView_pimpl.C (Dispatch): changes because of this.
14648
14649         * LyXAction.C (init): rename open-stuff to inset-toggle.
14650
14651         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14652
14653         * text2.C (toggleInset): renamed from openStuff; use
14654         Inset::open().
14655
14656 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14657
14658         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14659
14660         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14661
14662 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14663
14664         * buffer.C (readLyXformat2): Add filename to the error dialog
14665
14666 2001-07-18  Juergen Vigna  <jug@sad.it>
14667
14668         * tabular.C (GetCellNumber): put an assert here instead of the check!
14669
14670 2001-07-17  Juergen Vigna  <jug@sad.it>
14671
14672         * BufferView_pimpl.C (toggleSelection): adapted too.
14673
14674         * text.C (selectNextWord): adapted for use with insets.
14675         (selectSelectedWord): ditto
14676
14677 2001-07-17  Juergen Vigna  <jug@sad.it>
14678
14679         * sp_spell.C (PSpell): fix initialitation order.
14680
14681 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * paragraph.C: spacing
14684
14685 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14686
14687         * sp_spell.C: repair language selection for pspell
14688
14689 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14690
14691         * lyxfunc.h: change more methods to begin with lower char.
14692
14693 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14694
14695         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14696         for unknown layouts.
14697
14698 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14699
14700         * buffer.C (readLyXformat2): Generate an error dialog if there are
14701         unknown layouts.
14702
14703 2001-07-16  Juergen Vigna  <jug@sad.it>
14704
14705         * sp_spell.C: always compile ISpell part.
14706
14707         * lyxrc.C: added use_pspell entry and it's handling.
14708
14709 2001-07-13  Juergen Vigna  <jug@sad.it>
14710
14711         * sp_spell.C: removed double includes.
14712
14713 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14714
14715         Consistent use of Lsstream.h:
14716         * Lsstream.h: added using std::stringstream for consistencies sake.
14717
14718         * buffer.C: removed using std::stringstream
14719
14720         * lyxfont.C (stateText):
14721         * paragraph.C (asString):
14722         * text.C (selectNextWord, selectSelectedWord):
14723         * text2.C (setCounter):
14724         * vspace.C (asString, asLatexString):
14725         std::ostringstream -> ostringstream.
14726
14727 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14728
14729         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14730         * commandtags.h: add LFUN_HELP_ABOUTLYX
14731         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14732
14733 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14734
14735         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14736         cursorToggle()
14737         * lyx_gui_misc.C: remove spellchecker
14738         * lyxfunc.C: showSpellchecker
14739         * sp_base.h: added
14740         * sp_ispell.h: added
14741         * sp_pspell.h: added
14742         * sp_spell.C: added
14743         * sp_form.[Ch]: removed
14744         * spellchecker.[Ch]: removed
14745
14746 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14747
14748         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14749         is set.
14750         (simpleTeXSpecialChars): Simply print the input character without
14751         any special translation if pass_thru is set.
14752
14753         * layout.h: Added bool pass_thru to layout class for being able to
14754         implement pass through of a paragraph for Literate Programming.
14755
14756         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14757         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14758         * layout.C (Read): add "passthru" to list of layout tags and add
14759         code to set the pass_thru boolean when it is read.
14760
14761 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14762
14763         * trans_decl.h: remove allowed from KmodInfo
14764
14765         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14766         remove allowed code
14767         (Load): adjust
14768
14769         * paragraph_pimpl.C (erase): use boost::prior
14770
14771         * Painter.C (text): use data() instead of c_str() when length is
14772         also provided.
14773         * WorkArea.C (putClipboard): ditto
14774         * font.h (width): ditto
14775
14776         * BufferView2.C: use it-> instead of (*it). for iterators
14777         * texrow.C: ditto
14778         * paragraph_pimpl.C: ditto
14779         * paragraph.C: ditto
14780         * minibuffer.C: ditto
14781         * language.C: ditto
14782         * kbmap.C: ditto
14783         * encoding.C: ditto
14784         * counters.C: ditto
14785         * converter.C: ditto
14786         * chset.C: ditto
14787         * Variables.C: ditto
14788         * TextCache.C: ditto
14789         * MenuBackend.C: ditto
14790         * LyXAction.C: ditto
14791         * LColor.C: ditto
14792         * FloatList.C: ditto
14793         * DepTable.C: ditto
14794         * ColorHandler.C (LyXColorHandler): ditto
14795
14796 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14799
14800         * text2.C (openStuff): reintroduce this method (which had been
14801         nuked in NEW_INSETS frenzy).
14802
14803         * lyxfunc.C (Dispatch): when an action has not been handled, use
14804         its name in the error message, not its number.
14805
14806         * paragraph.C (inInset): change method name to begin with lowercase.
14807
14808         * undo_funcs.C:
14809         * text2.C: updates because of this.
14810
14811 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * ToolbarDefaults.C (add): add spaces in error message
14814
14815 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14816
14817         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14818         (readLyXformat2): rename return_par to first_par, use lyxlex's
14819         pushToken and remove the manual push handling.
14820         (parseSingleLyXformat2Token): add another ert comp. variable:
14821         in_tabular, rename return_par to first_par. handle newlines better
14822
14823 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14824
14825         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14826
14827 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14828
14829         * text2.C (getParFromID): removed
14830
14831         * buffer.C (getParFromID): new method moved form lyxtext.
14832         * BufferView2.C (insertErrors): adjust
14833         (setCursorFromRow): adjust
14834         * BufferView_pimpl.C (restorePosition): adjust
14835         * lyxfunc.C (Dispatch): adjust
14836         * undo_funcs.C (textUndo): adjust
14837         (textRedo): adjust
14838         (textHandleUndo): adjust
14839         (textHandleUndo): adjust
14840
14841 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * buffer.C: up' the LYX_FORMAT
14844
14845         * lyxfont.h: turn NO_LATEX on as default
14846
14847         * buffer.C (insertErtContents): new methods of tex style compability.
14848         (parseSingleLyXformat2Token): use it several places.
14849         * tabular.C (OldFormatRead): and here
14850
14851 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * text2.C: remove some commented code.
14854         reindent file.
14855
14856         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14857         * trans.C: changes because of the above.
14858
14859 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14860
14861         * text2.C (setCounter): Fix counters bug with bibliography layout.
14862
14863 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14864
14865         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14866         own member functions
14867         (simpleTeXSpecialChars): ditto
14868
14869 2001-07-06  Juergen Vigna  <jug@sad.it>
14870
14871         * a lot of files: changed the access to LyXText::status and the
14872         call of undo-functions.
14873
14874         * undo.[Ch]: added a inset_id to the undo informations.
14875
14876         * undo_funcs.[Ch]: added and moved here all undo functions.
14877
14878         * lyxtext.h: give the status enum a weight, made status_ a private
14879         variable and made accessor functions for it, removed the whole bunch
14880         of undo-functions as they are now in their own file, make some
14881         functions publically available. Added function ownerParagraph with
14882         int parameter.
14883
14884         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14885         made InInset() a const function, added getParFromID() function.
14886
14887         * buffer.[Ch]: added const version for inset_iterator functions,
14888         added getInsetFromID() function.
14889
14890         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14891         changed undo functions for new version.
14892
14893 2001-07-05  Juergen Vigna  <jug@sad.it>
14894
14895         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14896         unknow mechanism does not call the proper constructor but only this
14897         one also if I request the other!?
14898
14899 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14900
14901         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14902
14903         * text2.C (LyXText): use initialization lists.
14904
14905         * lyxtext.h (Selection): initialize set_ and mark_
14906         (init): remove method
14907
14908 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14909
14910         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14911
14912 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14913
14914         * screen.[Ch]: change method names to begin with lowercase
14915
14916         * BufferView_pimpl.C (updateScrollbar): simplify further and
14917         hopefully make it a bit faster.
14918
14919 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14920
14921         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14922         calling directly xforms functions.
14923
14924         * Painter.C (Painter):
14925         * lyx_cb.C (MenuWrite):
14926         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14927         fl_display.
14928
14929         * lyx_gui.C: remove bogus guiruntime extern declaration.
14930
14931 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14932
14933         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14934         in NEW_INSETS
14935         (redoDrawingOfParagraph): ditto
14936         (redoParagraphs): ditto
14937         (cutSelection): don't create a object for CutAndPaste use the
14938         static method directly
14939         (pasteSelection): ditto
14940
14941         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14942         LyXview (+ rename)
14943
14944 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14945
14946         * modifications to some other files because of this.
14947
14948         * Makefile.am (lyx_SOURCES): add XFormsView
14949
14950         * XFormsView.[Ch]: new files
14951
14952         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14953         the main window. Move the gui dependent stuff to XFormsView
14954
14955 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14956
14957         * tabular.C (GetCellInset): update cur_cell also in the row/col
14958         version of this function.
14959
14960         * lyxfunc.C: no need to include figure_form.h here.
14961
14962         * FontLoader.h:
14963         * lyxfunc.h:
14964         * lyxscreen.h:
14965         * text2.C:
14966         * lyxvc.C: no need to include forms.h here.
14967
14968 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14969
14970         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14971
14972         * lyxfunc.C (Dispatch):
14973         * Spacing.C (set):
14974         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14975         constructor argument.
14976
14977 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14978
14979         * paragraph.C (Paragraph): dont't clear, and just set layout.
14980         (makeSameLayout): use params's copy contructor.
14981
14982         * ParagraphParameters.[Ch] (makeSame): delete method
14983
14984 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14985
14986         * Variables.[Ch]: fix indentation, rename set to isSet
14987
14988 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14989
14990         * lyxfunc.C (Dispatch): fix typo
14991
14992 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14995         upper_bound.
14996
14997         * bufferlist.C: include assert.h for emergencyWrite().
14998
14999 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15000
15001         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15002           give up at last (bug #425202) !
15003
15004 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * lyx_gui_misc.C:
15007         * sp_form.h:
15008         * sp_form.C:
15009         * spellchecker.h:
15010         * spellchecker.C: strip spellchecker options and bring up
15011           preferences tab instead
15012
15013 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15014
15015         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15016         the istringstream constructor
15017
15018 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * paragraph.C (getLayout): fix return value
15021
15022         * paragraph.h: do not declare getLayout as inline.
15023
15024         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15025
15026 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15027
15028         * lyxcursor.h (operator<): new func
15029         (operator>): new func
15030         (operator>=): new func
15031         (operator<=): new func
15032
15033         * text.C (changeCase): use selection.start and selection.end
15034         (changeRegionCase): require from to be <= to. Require par to be a
15035         valid paragraph.
15036
15037         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15038
15039 2001-06-27  Juergen Vigna  <jug@sad.it>
15040
15041         * text.C (cursorLeftOneWord): changed to return the cursor and added
15042         overlay with BufferView * parameter which calls this one.
15043         (getWord): added
15044         (selectWord): use new getWord function.
15045         (changeCase): renamed from changeWordCase as and extended to work
15046         also on selections.
15047
15048         * lyxtext.h: added enum word_location
15049
15050         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15051         changeCase as this operates now also on selections.
15052
15053 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15054
15055         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15056
15057         * many files: send debug output to Debug::INFO instead of
15058         Debug::ANY.
15059
15060         * converter.C (View):
15061         (Convert):
15062         (Move): send debug output to Debug::FILES instead of console.
15063
15064 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15065
15066         * lyxfunc.C (getStatus): use func_status
15067
15068         * func_status.h: new header, describing the results of
15069         LyXFunc::getStatus;
15070
15071         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15072         LFUN_MATH_HALIGN.
15073
15074 2001-06-25  The LyX Project  <jug@sad.it>
15075
15076         * buffer.C (sgmlOpenTag):
15077         (sgmlCloseTag):
15078         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15079
15080 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15081
15082         * text2.C: remove some dead code
15083
15084         * tabular.C (GetCellInset): store the last cell checked (gotten)
15085
15086         * tabular.h: add the helper for the speedup
15087
15088         * lyxtext.h: remove some dead code
15089
15090 2001-06-26  The LyX Project  <Asger>
15091
15092         * paragraph.C: Change export to LaTeX of alignment to
15093         \begin{center} and family for better roundtrip work with reLyX.
15094
15095         * Tune the math drawing a bit.
15096
15097 2001-06-25  The LyX Project  <Asger>
15098
15099         * LColor.C (LColor): New color for math background. New color
15100         for buttons.
15101
15102 2001-06-25  The LyX Project  <jug@sad.it>
15103
15104         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15105
15106         * lyxfunc.C (Open):
15107         * bufferlist.C (newFile): do not restrict to files ending with
15108         .lyx
15109
15110         * BufferView_pimpl.C (MenuInsertLyXFile):
15111
15112 2001-06-24  The LyX Project  <jug@sad.it>
15113
15114         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15115         of compare_no_case
15116
15117 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15118
15119         * lyxtext.h: rename most methods to begin with a small char.
15120         Lots of changes because of this.
15121
15122         * paragraph.C (Paragraph): do not call fitToSize
15123         (erase): call Pimpl::erase
15124         (insertChar): call Pimpl::insertChar
15125         (insertInset): call Pipl::insertInset
15126         (breakParagraph): do not call fitToSize
15127         (breakParagraphConservative): do not call fitToSize
15128         (fitToSize): remove method
15129
15130         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15131
15132 2001-06-24  The LyX Project  <Asger>
15133
15134         * Fix Qt compilation^2
15135
15136 2001-06-24  The LyX Project  <jug@sad.it>
15137
15138         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15139         depthHook(getDepth()-1).
15140
15141         * paragraph.h:
15142         * ParagraphParameters.h:
15143         * ParameterStruct.h: change type of depth to unsigned int ==
15144         depth_type. Many adaptations to other files before of that.
15145
15146 2001-06-24  The LyX Project  <Asger>
15147
15148         * Fix Qt compilation.
15149
15150 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15151
15152         * paragraph.h: renamed several methods to begin with small letter.
15153         several changes to many parts of the code because of this.
15154
15155 2001-06-23  The LyX Project  <jug@sad.it>
15156
15157         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15158         rewritten to discard all double spaces when KeepEmpty is off
15159         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15160         to only handle newlines but not fiddle with spaces and friends.
15161
15162         * lyxfunc.C (MenuNew): when doing 'new from template', use
15163         template_path as default directory
15164
15165 2001-06-23  The LyX Project  <Asger>
15166
15167         * Clean-up of header file includes all over
15168         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15169
15170 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15171
15172         * paragraph.h: renamed from lyxparagraph.h
15173
15174 2001-06-23  Asger  <lyx@violet.home.sad.it>
15175
15176         * Buffer.h: Removed Buffer::resize
15177         * BufferList.h: Removed BufferList::resize
15178         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15179         the document lazily when we change the width, or the font settings.
15180
15181 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15182
15183         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15184
15185 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15186
15187         * buffer.h: remove out of date comment
15188
15189 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * lyxscreen.h:
15192         * screen.C: fix "theoretical" GC leak
15193
15194 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * LaTeX.C (scanAuxFile):
15197         (deplog): remove trailing \r when reading stream (useful under
15198         win32)
15199
15200 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15201
15202         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15203         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15204         and BufferView::theLockingInset(Inset*), so should use them and not
15205         access bv_->text->the_locking_inset directly.
15206
15207         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15208
15209 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * Makefile.am:
15212         * tex-defs.h: remove old unused file
15213
15214 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * BufferView_pimpl.C: fix typo, remove minibuffer message
15217           when buffer has loaded
15218
15219 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * lyxfunc.C (Dispatch): use stringstream
15222         (MenuNew): use stringstream
15223         (Open): use stringstream
15224
15225         * importer.C (Import): use stringstream
15226
15227         * bufferview_funcs.C (CurrentState): use stringstream
15228
15229         * LaTeX.C (run): use stringstream
15230
15231         * BufferView_pimpl.C (savePosition): use stringstream
15232         (restorePosition): use stringstream
15233         (MenuInsertLyXFile): use stringstream
15234
15235 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15236
15237         * BufferView.C:
15238         * Bullet.C:
15239         * ColorHandler.C:
15240         * FontInfo.C:
15241         * FontLoader.C:
15242         * LColor.C:
15243         * LaTeXFeatures.C:
15244         * Painter.C:
15245         * gettext.C:
15246         * lyx_gui_misc.C:
15247         * lyxserver.C:
15248         * vspace.C: removed // -*- C++ -*- as first line.
15249
15250         * lyxfind.h:
15251         * version.h: added // -*- C++ -*- as first line.
15252
15253 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15254
15255         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15256
15257         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15258         of string
15259
15260 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15261
15262         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15263         of floats.
15264
15265 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15266
15267         * gettext.C: include LString.h even when --disable-nls is on.
15268
15269 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15270
15271         * converter.h (Get): changed argument type from int to
15272         FormatList::size_type to avoid unnecessary conversion.
15273
15274         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15275         before using it.
15276
15277 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * gettext.h: include LString.h even when --disable-nls is on.
15280
15281 2001-06-07  Juergen Vigna  <jug@sad.it>
15282
15283         * text.C (BreakAgain): subst spaces with tabs.
15284
15285         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15286         (resizeInsetsLyXText): set force on resizeLyXText.
15287
15288 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * gettext.h (gettext_init):
15291         (locale_init): use a real definition instead of a macro
15292
15293 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15294
15295         * Bufferview_pimpl.C:
15296         * LColor.h:
15297         * LColor.C: further lcolor tidies
15298
15299 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15300
15301         * BufferView_pimpl.C (updateScrollbar): simplify.
15302
15303         * BufferView2.C: don't include insets/insetinfo.h, change
15304         prototype for insertInset and call the Pimpl version. let
15305         updateInset call Pimpl version.
15306
15307         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15308         gotoInset to BufferView::Pimpl
15309
15310 2001-06-01  Juergen Vigna  <jug@sad.it>
15311
15312         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15313         inside a LockingInset (is the update needed at all?).
15314
15315 2001-05-31  Juergen Vigna  <jug@sad.it>
15316
15317         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15318         here not the old one otherwise how should we compare it afterwards
15319         if it's the same!
15320
15321 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15322
15323         * lyxfont.C:
15324         * tabular.C:
15325         * tabular-old.C:
15326         * FontInfo.C: bring C functions into global namespace when
15327         necessary
15328
15329 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * LString.h: make sure config.h has been loaded before LString.h.
15332
15333         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15334         (one for each char read by EatLine!).
15335
15336         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15337         variables.
15338
15339 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15342         to the same as the par we break from
15343
15344 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15345
15346         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15347
15348         * MenuBackend.C (expand): also create menu entries for wide
15349         versions of the floats.
15350
15351         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15352
15353         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15354
15355         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15356         frontends/Makefile.am
15357
15358         * text2.C: adjust
15359         * text.C: adjust
15360
15361
15362         * tabular.C (getTokenValue): add std::
15363
15364         * tabular-old.C (getTokenValue): add std::
15365         (getTokenValue): ditto
15366         (getTokenValue): ditto
15367
15368         * screen.C (ToggleSelection): adjust
15369
15370         * lyxtext.h: put selection cursors inside a Selection struct.
15371
15372         * lyxfunc.C (moveCursorUpdate): adjust
15373
15374         * lyxfont.C (latexWriteStartChanges): add std::
15375
15376         * lyxfind.C: adjust
15377
15378         * font.h: delete with(char const *, LyXFont const &)
15379
15380         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15381
15382         * FontInfo.C (getFontname): add std::
15383
15384         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15385         (workAreaButtonPress): adjust
15386         (tripleClick): adjust
15387         (update): adjust
15388         (moveCursorUpdate): adjust
15389         (Dispatch): adjust
15390
15391         * BufferView2.C (gotoInset): adjust
15392
15393 2001-05-30  Juergen Vigna  <jug@sad.it>
15394
15395         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15396         to check pspell I add this as default as I now have new pspell
15397         libraries and they seem to use this.
15398
15399 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15400
15401         * text2.C (CutSelection): make the cursor valid before the call to
15402         ClearSelection.
15403
15404 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15405
15406         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15407         relied on 0 terminated strings and other horrors. Bug found due to
15408         the new assert in lyxstring!
15409
15410         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15411         KP_ keys.
15412
15413 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15414
15415         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15416         to latinkeys.bind.
15417
15418         * lyxfunc.C (processKeySym): change method of getting to the
15419         self-insert char.
15420
15421         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15422         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15423         * BufferView_pimpl.[Ch]: here as private methods.
15424
15425 2001-05-28  Juergen Vigna  <jug@sad.it>
15426
15427         * text.C (SetHeightOfRow): added the update() call again as it is
15428         needed to initialize inset dimensions!
15429
15430 2001-05-16  Juergen Vigna  <jug@sad.it>
15431
15432         * text2.C (SetCharFont): Add new function with BufferView * and
15433         bool toggleall parameters for setting insets internal fonts.
15434         (SetFont): Freeze the undo as we may change fonts in Insets and
15435         all this change should be inside only one Undo!
15436
15437         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15438         setting font's in insets as for them we have the SetFont function!
15439
15440 2001-05-15  Juergen Vigna  <jug@sad.it>
15441
15442         * text2.C (ClearSelection): to be sure we REALLY don't have any
15443         selection anymore!
15444
15445         * tabular.C (TeXCellPreamble): fixed the left border problem for
15446         multicolumn cells.
15447
15448 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15449
15450         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15451         dependancy file
15452
15453 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15456         LFUN_BREAKPARAGRAPH.
15457
15458         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15459         help test to "internal only", similar for LFUN_INSERT_URL
15460
15461         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15462         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15463         auto_region_delete and deadkeys.
15464
15465 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15466
15467         * LColor.h:
15468         * LColor.C: remove some dead entries, tidy a little
15469
15470 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15471
15472         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15473         commented code.
15474         (Dispatch): implement LFUN_ESCAPE
15475
15476         * commandtags.h: add LFUN_ESCAPE
15477
15478         * LyXAction.C (init): add entry for LFUN_ESCAPE
15479
15480         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15481         Remove commented code.
15482         (insertNote): moved here
15483         (open_new_inset): moved here
15484
15485         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15486         BufferView_pimpl
15487
15488 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15489
15490         * kbmap.C (findbinding): clean it up and make it work correctly.
15491
15492         * lyx_main.C (init): do not pass argc and argv as parameters
15493
15494 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15495
15496         * buffer.C: fix path for OS/2 & Win32
15497
15498         * lyx_gui.C:
15499         * lyx_main:
15500         * lyx_main.C: Added os:: class.
15501
15502         * os2_defines.h: update
15503
15504 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15505
15506         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15507         better by trying again with reduced state.
15508
15509 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * lyxrc.C (read): print error about invalid key sequence only when
15512         debugging (because not all latinX keysyms are known to some X
15513         servers)
15514
15515         * kbsequence.C (getiso): add a few std:: qualifiers
15516         (getiso): comment out extra return statement.
15517
15518 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15519
15520         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15521         handling.
15522         (Dispatch): enhance the accent inset a bit. (not perfect)
15523
15524 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15525
15526         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15527
15528 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15529
15530         * bufferlist.C (emergencyWrite): fix assert() call
15531
15532 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15533
15534         * text.C (InsertChar): Added trivial patch to only send the "you
15535         can not do multiple spaces this way" message once during a
15536         session.
15537
15538 2001-05-08  Baruch Even  <baruch@lyx.org>
15539
15540         * Makefile.am: Changed order of libraries to get LyX to link properly
15541         with the gnome frontend.
15542
15543 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15544
15545         * LaTeXFeatures.h: add a std:: qualifier
15546
15547 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15548
15549         * paragraph.C (String): use stringstream
15550
15551 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * paragraph.C (writeFile): remove footflag arg
15554
15555         * buffer.C (makeLaTeXFile): use stringstream
15556         (latexParagraphs): remove footnot gurba
15557
15558         * LaTeXFeatures.C (getPackages): use stringstream
15559         (getMacros): likewise
15560         (getTClassPreamble): likewise
15561         (getFloatDefinitions): new method
15562
15563         * paragraph.C (writeFile): reindent
15564         (Erase): reindent
15565
15566         * WorkArea.h: revert the xpos + etc changes.
15567
15568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15569
15570         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15571
15572         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15573         (pasteSelection): likewise
15574         * text2.C (CreateUndo): likewise
15575
15576 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15577
15578         * minibuffer.C (peek_event): temporarily reduce the functionality
15579         of the minibuffer (to allow args on lfuns)
15580
15581         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15582         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15583
15584         * buffer.C (readInset): add compability reading of old float
15585         lists, add reading of new style float list.
15586         (readInset): avoid reevaluation of inscmd.getCmdName()
15587         (getLists): reindent
15588
15589         * MenuBackend.C (MenuItem): implement parsing of
15590         md_floatlistinsert and md_floatinsert.
15591         (expand::LastFiles): move initalizaton of iterators out of loop,
15592         avoid reevaluation.
15593         (expand::Documents): introduce typdedef vector<string> Strings,
15594         and use it.
15595         (expand::ExportFormats): introduce typedef vector<Format const *>
15596         Formats, and use it.
15597         (expand): implement FloatListInsert and FloatInsert.
15598
15599         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15600         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15601         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15602
15603         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15604         handling.
15605         (Dispatch::LFUN_FLOAT_LIST): implement
15606
15607 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15608
15609         * LaTeX.C (run): Fix problem with --export code.
15610
15611 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15612
15613         * BufferView.[Ch] (workarea): removed.
15614         (getClipboard) new method; wrapper for workarea()->getClipboard()
15615
15616         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15617         bug.
15618
15619         * WorkArea.h (width, height, xpos, ypos): These methods all
15620         returned the dimensions of the work_area sub-area of WorkArea,
15621         resulting in a position error if the WorkArea were resized. Now
15622         return the dimensions of the entire WorkArea.
15623
15624         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15625
15626 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15627
15628         * LaTeX.C (deplog): correct the syntax of regex reg1
15629
15630 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * undo.C: remove !NEW_INSETS cruft
15633
15634 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15635
15636         * text2.C: remove !NEW_INSETS cruft
15637
15638         * text.C: remove !NEW_INSETS cruft
15639
15640         * tabular.C: remove !NEW_INSETS cruft
15641
15642         * spellchecker.C: remove !NEW_INSETS cruft
15643
15644         * lyxtext.h: remove !NEW_INSETS cruft
15645
15646         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15647
15648         * lyxfunc.C: remove !NEW_INSETS cruft
15649
15650         * lyxfind.C: remove !NEW_INSETS cruft
15651
15652         * lyx_cb.C: remove !NEW_INSETS cruft
15653
15654         * figureForm.C: remove  !NEW_INSETS cruft
15655
15656         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15657
15658         * buffer.[Ch]: remove !NEW_INSETS cruft
15659
15660         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15661
15662         * CutAndPaste.C: remove !NEW_INSETS cruft
15663
15664         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15665
15666         * BufferView2.C: remove !NEW_INSETS cruft
15667
15668         * BufferView.h: remove !NEW_INSETS cruft
15669
15670 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * Lsstream.h: include LString.h before the sstream headers to
15673         fix problem with gcc 2.95.3 and lyxstring
15674
15675 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15676
15677         * lyx_main.C: add using directives when needed for C functions
15678         declared in std:: namespace.
15679
15680 2001-04-27  Juergen Vigna  <jug@sad.it>
15681
15682         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15683         (SetHeightOfRow): comment out the update call should not be needed!
15684
15685 2001-04-13  Juergen Vigna  <jug@sad.it>
15686
15687         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15688         (LyXTabular): tried to minimize operator= operations (and realized
15689         hopfully Lars wish).
15690
15691 2001-04-27  Juergen Vigna  <jug@sad.it>
15692
15693         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15694
15695 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15696
15697         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15698
15699         * buffer.C (readInset): hack to make listof algorithm work
15700
15701         * BufferView_pimpl.C: hack to make listof algorithm work
15702
15703 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15704
15705         * LyXAction.C: removed all !NEW_INSETS cruft
15706         (init): moved lfun_item in method
15707
15708         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15709
15710 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15711
15712         * BufferView2.C (theLockingInset): white space.
15713
15714 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15715
15716         * minibuffer.C: include <iostream>
15717
15718         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15719
15720         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15721
15722         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15723
15724         * text.[Ch] (TransposeChars): new method
15725
15726 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15727
15728         * call message directly through LyXView instead of through LyXFunc
15729         * BufferView2.C: adjust
15730         * BufferView_pimpl.C: adjust
15731         * FontLoader.C: adjust
15732         * buffer.C: adjust
15733         * bufferview_funcs.C: adjust
15734         * converter.C: adjust
15735         * figureForm.C: adjust
15736         * importer.C: adjust
15737         * lyx_cb.C: adjust
15738         * lyx_gui_misc.C: adjust
15739         * lyxfunc.C: adjust
15740         * lyxvc.C: adjust
15741         * text2.C: adjust
15742         + more files in subdirs
15743
15744         * lyxparagraph.h (size): move up int file
15745         (GetLayout): ditto
15746
15747         * adjust all uses of Assert to lyx::Assert.
15748
15749         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15750         lyxfunctional in namespace lyx
15751         * layout.C (hasLayout): ditto
15752         (GetLayout): ditto
15753         (GetLayout): ditto
15754         (delete_layout): ditto
15755         (NumberOfClass): ditto
15756         * converter.C (GetFormat): ditto
15757         (GetNumber): ditto
15758         (Add): ditto
15759         (Delete): ditto
15760         (SetViewer): ditto
15761         * bufferlist.C (getFileNames): ditto
15762         (emergencyWriteAll): ditto
15763         (exists): ditto
15764         (getBuffer): ditto
15765         * MenuBackend.C (hasSubmenu): ditto
15766         (hasMenu): ditto
15767         (getMenu): ditto
15768         * BufferView_pimpl.C (getInsetByCode): ditto
15769
15770 2001-04-18  Juergen Vigna  <jug@sad.it>
15771
15772         * vspace.C (asLatexString): fixed the 100% problem.
15773
15774 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15775
15776         * lyxfunc.C (Dispatch):
15777         * minibuffer.C:
15778         * minibuffer.h: add a few std:: qualifiers
15779
15780 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15781
15782         * minibuffer.[Ch]: reimplement so that commands is initiated and
15783         run from lyxfunc, simplified som handling, and made the completion
15784         and history code for complete. wip.
15785
15786         * lyxfunc.C (processKeySym): call message
15787         (miniDispatch): new temporary method
15788         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15789         (LFUN_MESSAGE): implement
15790         (LFUN_MESSAGE_PUSH): implement
15791         (LFUN_MESSAGE_POP): implement
15792         (initMiniBuffer): the initial/defualt minibuffer message.
15793
15794         * lyxfont.[Ch]: inline some more getters
15795
15796         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15797
15798         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15799
15800         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15801         (AutoSave): use LFUN_MESSAGE
15802         (Reconfigure): ditto
15803
15804         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15805
15806         * figureForm.C: use LFUN_MESSAGE
15807
15808         * converter.C (runLaTeX): use LFUN_MESSAGE
15809
15810         * bufferview_funcs.C: use LFUN_MESSAGE
15811         (Melt): ditto
15812         (changeDepth): ditto
15813
15814         * bufferparams.h: use boost::
15815
15816         * bufferlist.h: inherit privately from noncopyable
15817
15818         * bufferlist.C (loadLyXFile): remove some commented code.
15819
15820         * buffer.C (runChktex): use LFUN_MESSAGE
15821
15822         * ShareContainer.h: inherit privately from noncopyable
15823
15824         * ParagraphParameters.[hC] (depth): inline it.
15825
15826         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15827         methods.
15828         (message): new method
15829         (messagePush): ditto
15830         (messagePop): ditto
15831         (show): init minibuffer
15832         (showState): direct call
15833
15834         * LaTeX.[Ch]: inherit privately from noncopyable
15835         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15836         instead of WriteStatus.
15837
15838         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15839
15840         * BufferView_pimpl.C (buffer): don't init minibuffer
15841         (workAreaButtonPress): use LFUN_MESSAGE
15842         (workAreaButtonRelease): ditto
15843         (savePosition): ditto
15844         (restorePosition): ditto
15845         (MenuInsertLyXFile): ditto
15846         (workAreaExpose): don't init minibuffer
15847         (update): remove commented code, simplify
15848
15849         * BufferView2.C (openStuff): use LFUN_MESSAGE
15850         (toggleFloat): ditto
15851         (menuUndo): ditto
15852         (menuRedo): ditto
15853         (copyEnvironment): ditto
15854         (pasteEnvironment): ditto
15855         (copy): ditto
15856         (cut): ditto
15857         (paste): ditto
15858         (gotoInset): ditto
15859         (updateInset): remove some commented code
15860
15861         * lastfiles.h: inherit privately from noncopyable
15862         * layout.h: ditto
15863         * lyx_gui.h: ditto
15864         * lyx_main.h: ditto
15865         * lyxlex.h: ditto
15866         * lyxlex_pimpl.h: ditto
15867
15868         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15869         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15870         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15871
15872         * LyXAction.h: inherit privately from noncopyable, add methods
15873         func_begin, func_end, returning iterators to the func map.
15874
15875         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15876         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15877         (func_begin): new method
15878         (func_end): new method
15879
15880         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15881         and not)
15882         (copySelection): ditto
15883         (pasteSelection): ditto
15884
15885         * BufferView.C: whitespace change
15886         * BufferView.h: inherit privately from noncopyable
15887
15888 2001-04-16  Allan Rae  <rae@lyx.org>
15889
15890         * tabular-old.C (l_getline):
15891         * spellchecker.C (sc_check_word):
15892         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15893         an unrecognised preprocessor directive.  So ensure they're wrapped.
15894
15895 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15896
15897         * src/exporter.C (Export): Give an error message when path to file
15898         contains spaces.
15899
15900 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15901
15902         * LaTeX.C (deplog): Always check that foundfile exists.
15903
15904 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * lyx_main.h:
15907         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15908
15909 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15910
15911         * tabular.[Ch] (getLabelList): implement new method
15912
15913         * minibuffer.h: comment ouf setTiimer
15914
15915         * minibuffer.C (ExecutingCB): constify res
15916         (peek_event): constify s
15917         (Set): constify ntext
15918         (Init): constify nicename
15919
15920         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15921
15922         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15923         (savePosition): use two params to Minibuffer::Set
15924         (restorePosition): ditto
15925
15926 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * lyx_main.C: include language.h
15929
15930         * Makefile.am (lyx_main.o): add language.h
15931
15932 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15933
15934         * exporter.C:
15935         * paragraph.C:
15936         * screen.C:
15937         * tabular.C:
15938         * CutAndPaste.C: include gettext.h
15939
15940         * lyxfont.h: remove old hack with ON and OFF.
15941
15942         * lyxparagraph.h:
15943         * lyxfont.h: do not include language.h...
15944
15945         * BufferView2.C:
15946         * LaTeXFeatures.C:
15947         * Painter.C:
15948         * bufferview_funcs.C:
15949         * font.C:
15950         * lyxfont.C:
15951         * text.C:
15952         * text2.C:
15953         * trans_mgr.C:
15954         * paragraph.C: ... but do it here instead
15955
15956 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15957
15958         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15959
15960         * tabular.C: small reformat
15961
15962         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15963         NEW_INSETS version
15964         (GetChar): ditto
15965         (BreakParagraph): ditto
15966         (SetOnlyLayout): ditto
15967         (SetLayout): ditto
15968
15969         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15970         with one arg less.
15971
15972         * lastfiles.C: removed most using decl, add std:: where needed
15973
15974         * buffer.C: ws changes
15975
15976         * MenuBackend.C (class compare_format): put into anon namespace
15977         (expand): constify label, names, action, action2
15978         (expand):
15979
15980         * text.C (SingleWidth): constify font
15981         (IsBoundary): constify rtl2
15982         (GetVisibleRow): constify ww
15983
15984         * LaTeX.C (deplog): constify logfile
15985
15986         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15987         start_x, end_x
15988         (workAreaExpose): constify widthChange, heightChange
15989
15990         * lyxrow.C (par): moved
15991         (height): moved
15992         (next): moved
15993         * lyxrow.h: as inlines here
15994
15995         * lyxfont.h (shape): moved from lyxfont.C
15996         (emph): moved from lyxfont.C
15997
15998         * lyxfont.C (LyXFont): use initialization list for all
15999         constructors
16000         (shape): move to lyxfont.h as inline
16001         (emph): move to lyxfont.h as inline
16002
16003
16004 2001-04-04  Juergen Vigna  <jug@sad.it>
16005
16006         * vspace.C: had to include stdio.h for use of sscanf
16007
16008 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16009
16010         * BufferView.h:
16011         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16012         independent of xforms.
16013
16014 2001-04-02  Juergen Vigna  <jug@sad.it>
16015
16016         * spellchecker.C: fixed namespace placing!
16017
16018 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16019
16020         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16021         the LyXParagraph * is 0.
16022
16023 2001-03-29  Juergen Vigna  <jug@sad.it>
16024
16025         * vspace.C: added support for %, c%, p%, l%.
16026         (stringFromUnit): added helper function.
16027         (asLatexString): changed to give right results for the %-values.
16028
16029         * buffer.C: convert the widthp in a width%.
16030
16031 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16032
16033         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16034         figureForm.[Ch].
16035
16036         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16037         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16038
16039         * lyx_cb.[Ch]: see above.
16040
16041         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16042         form1.[Ch].
16043
16044         * form1.[Ch]:
16045         * lyx.[Ch]: replaced by figure_form.[Ch].
16046
16047         * lyx_gui.C:
16048         * lyx_gui_misc.C:
16049         * lyxfunc.C: changed headers associated with above changes.
16050
16051 2001-03-27  Juergen Vigna  <jug@sad.it>
16052
16053         * BufferView_pimpl.C: set the temporary cursor right!
16054
16055 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16056
16057         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16058
16059 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16060
16061         * LString.h: removed "using std::getline"!
16062
16063         * BufferView_pimpl.C (Dispatch): changes due to changes in
16064         InsetInclude::Params.
16065
16066         * buffer.C (tag_name): removed redundant break statements as they were
16067         producing lots of warnings with my compiler.
16068
16069 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16070
16071         * LString.h: add "using std::getline" when using the real <string>.
16072
16073 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16074
16075         * buffer.C: removed bitset usage.
16076         PAR_TAG moved to an anonymous name space.
16077         (tag_name): new funtion, also in the anonymous namespace.
16078         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16079         (makeDocBookFile): clean code. Completed transition from string arrays
16080         to string vectors.
16081         (SimpleDocBookOnePar): code clean.
16082
16083 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16084
16085         * tabular.C: add some comments.
16086
16087 2001-03-22  Juergen Vigna  <jug@sad.it>
16088
16089         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16090         compatibility read a bit and fixed bug with minipage in different
16091         depth.
16092
16093 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16094
16095         * buffer.C (pop_tag): removed.
16096         (push_tag): removed.
16097         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16098         array replaced with vector. Added support for CDATA sections.
16099         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16100         at any nest level.
16101         (makeDocBookFile): XML conformant declaration of CDATA section,
16102         fixed bug related to <emphasis> in the first paragraph char.
16103         (sgmlOpenTag): exclude empty tags.
16104         (sgmlCloseTag): ditto.
16105
16106         * buffer.h (pop_tag): removed.
16107         (push_tag): removed.
16108
16109 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16110
16111         * language.h (Languages): added size_type and size().
16112
16113 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16114
16115         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16116         response on compability reading of minipages. One probliem is that
16117         the old usage of minipages was «flertydig»
16118
16119         * several files here and in subdirs: don't use static at file
16120         scope use anon namespaces instead.
16121
16122 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16123
16124         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16125         LaTeX output. This is necessary for Literate document
16126         processing.
16127
16128 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16129
16130         * buffer.C: insert hfill when needed.
16131
16132         * tabular.C (l_getline): use string::erase, small whitespace change.
16133
16134         * BufferView_pimpl.C: try the anon namespace.
16135         * WorkArea.C: ditto
16136
16137 2001-03-16  Juergen Vigna  <jug@sad.it>
16138
16139         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16140         otherwise it won't open options-dialogs.
16141
16142         * buffer.C: honor pextraWidth(p) on converting minipages.
16143
16144         * tabular.C (l_getline): changed the functions to strip trailing \r.
16145
16146 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16147
16148         * BufferView_pimpl.C:
16149         * minibuffer..C: added "using SigC::slot" declaration.
16150
16151 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16152
16153         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16154
16155         * text2.C: ditto
16156
16157         * text.C: ditto
16158
16159         * paragraph.C: ditto
16160
16161         * lyxtext.h: NO_PEXTRA
16162
16163         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16164
16165         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16166         * ParameterStruct.h: ditto
16167         * ParagraphParameters.h: ditto
16168         * lyxparagraph.h: ditto
16169
16170 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16171
16172         * buffer.C: add compability for minipage alignment.
16173         (latexParagraphs): remove unwanted pextra check.
16174
16175         * several files: remove CXX_WORKING_NAMESPACES
16176
16177         * buffer.C (pop_tag): tie is in namespace boost
16178
16179         * BufferView.h: noncopyable is in namespace boost
16180         * lyxlex.h: ditto
16181         * lyx_main.h: ditto
16182         * lyx_gui.h: ditto
16183         * layout.h: ditto
16184         * lastfiles.h: ditto
16185         * bufferlist.h: ditto
16186         * ShareContainer.h: ditto
16187         * LyXView.h: ditto
16188         * LyXAction.h: ditto
16189         * LaTeX.h: ditto
16190
16191 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16192
16193         * Merging changes from BRANCH_MVC back into HEAD.
16194
16195         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16196
16197 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16198
16199         * BufferView_pimpl.C: change from intl.C
16200
16201         * combox.h:
16202         * combox.C:
16203         * Makefile.am: move combox.*
16204
16205         * form1.h:
16206         * form1.C:
16207         * lyx_gui.C:
16208         * intl.h:
16209         * intl.C: remove dialog (covered by prefs)
16210
16211 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16212
16213         * lyxfunc.C (Dispatch): removed redundant break statement.
16214
16215 2001-03-14  Juergen Vigna  <jug@sad.it>
16216
16217         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16218
16219 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16220
16221         * buffer.C: add hack to fix compability reading of minipages.
16222
16223 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16224
16225         * buffer.C (getLists): Cleanup.
16226
16227 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16228
16229         * lyxfont.C (update): don't honor toggleall on font size.
16230
16231 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16232
16233         * bmtable.c:
16234         * bmtable.h:
16235         * Makefile.am: moved to frontends/xforms/
16236
16237         * lyx_gui_misc.C:
16238         * lyxfunc.C:
16239         * BufferView_pimpl.C: changes for moved mathpanel
16240
16241 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16242
16243         * gettext.h: fix gettext_init() in --disable-nls
16244
16245 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16246
16247         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16248
16249 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16250
16251         * lyx.C:
16252         * lyx.h: strip external form
16253
16254 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16255
16256         * BufferView_pimpl.C: add comment, destroySplash()
16257
16258 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16259
16260         * BufferView_pimpl.C:
16261         * LyXAction.C:
16262         * buffer.C:
16263         * commandtags.h:
16264         * lyxfunc.C: use re-worked insetinclude
16265
16266 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16267
16268         * buffer.C: add using std::stringstream.
16269
16270         * lyx_cb.C: readd using std::ios.
16271
16272         * buffer.C: add using std::map.
16273
16274         * BufferView_pimpl.C: add using std::vector.
16275
16276         * ShareContainer.h: add std:: to swap.
16277
16278         * buffer.h: add some typedefs
16279         * buffer.C (getLists): use them
16280         (getLists): renamed from getTocList.
16281         add a counter for the different float types and use it in the
16282         generated string.
16283         (getLists): use the same counter for the NEW_INSETS and the "non"
16284         NEW_INSETS
16285
16286         * lyx_cb.h: remove unused items, includes, using etc.
16287
16288         * ShareContainer.h: remove some commented code, add more comments
16289         and "documentation".
16290
16291 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16292
16293         * buffer.C (getTocList): make the list also when NEW_INSETS is
16294         defined.
16295
16296         * buffer.h: remove TocType
16297
16298         * buffer.C (getTocList): change to return a map<string,
16299         vector<TocItem> >, implement for dynamic number of list.
16300
16301         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16302         * text2.C (PasteSelection): adjust
16303         * CutAndPaste.C (pasteSelection): adjust
16304
16305         * FloatList.C (FloatList): update from the new_insets branch.
16306         * Floating.[Ch]: ditto
16307         * LaTeXFeatures.C: ditto
16308         * buffer.C: ditto
16309         * lyxlex_pimpl.C: ditto
16310
16311         * paragraph.C (Last): remove when NEW_INSETS is defined.
16312
16313         * other file: changes because of the above.
16314
16315 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16316
16317         * lyxparagraph.h: rename next to next_, previous to previous_,
16318         make them private for NEW_INSETS. Rename Next() to next(),
16319         Previous() to previous().
16320
16321         * other files: changes because of the above.
16322
16323 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16324
16325         * BufferView.h:
16326         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16327         problem.
16328
16329 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * main.C (main): pass lyx_localedir to gettext_init().
16332
16333         * gettext.h: remove locale_init and gettext_init macros
16334
16335         * gettext.C (locale_init): new function
16336         (gettext_init): new function
16337
16338         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16339         setlocale().
16340
16341 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16342
16343         * Moved credits to frontends:
16344         * credits.[Ch]: removed
16345         * credits_form.[Ch]: removed
16346         * lyx_gui_misc.C: remove credits stuff
16347         * Makefile.am:
16348
16349 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16350
16351         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16352
16353         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16354         unneeded destructor.
16355
16356         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16357         a standalone pointer again.
16358
16359         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16360
16361 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16362
16363         * Makefile.am:
16364         * filedlg.h:
16365         * filedlg.C:
16366         * LyXAction.C:
16367         * ToolbarDefaults.C:
16368         * bufferlist.C:
16369         * commandtags.h:
16370         * form1.C:
16371         * form1.h:
16372         * lyx_cb.C:
16373         * lyx_cb.h:
16374         * lyxfunc.h:
16375         * lyxfunc.C:
16376         * BufferView_pimpl.C: use new file dialog in GUII
16377
16378         * lyx_cb.h:
16379         * lyx_cb.C: remove LayoutsCB to Toolbar
16380
16381 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16382
16383         * ShareContainer.h (get): add std:: qualifier
16384
16385 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16386
16387         * ShareContainer.h: define a proper ShareContainer::value_type
16388         type (and use typename to please compaq cxx)
16389
16390 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16391
16392         * lyxparagraph.h: move serveral local vars to
16393         ParameterStruct/ParagraphParameters., use ShareContainer in
16394         FontTable., make vars in FontTable private and add getter and
16395         setter.
16396
16397         * paragraph.C: changes because of the above.
16398
16399         * lyxfont.h: remove copy constructor and copy assignment. (the
16400         default ones is ok), move number inside FontBits. move inlines to
16401         lyxfont.C
16402
16403         * lyxfont.C: add number to initializaton of statics, move several
16404         inlines here. constify several local vars. some whitespace
16405         cleanup. Dont hide outerscope variables.
16406
16407         * Spacing.h: add two new constructors to match the set methods.
16408
16409         * ShareContainer.h: new file, will perhaps be moved to support
16410
16411         * ParameterStruct.h: new file
16412
16413         * ParagraphParameters.h: new file
16414
16415         * ParagraphParameters.C: new file
16416
16417         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16418         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16419
16420         * BufferView_pimpl.C: ParagraphParameter changes.
16421         * buffer.C: Likewise.
16422         * bufferview_funcs.C: Likewise.
16423         * text.C: Likewise.
16424         * text2.C: Likewise.
16425
16426 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * lyxfind.C (LyXReplace): do not redefine default argument in
16429         implementation.
16430         (IsStringInText): ditto
16431         (SearchForward): ditto
16432         (SearchBackward): ditto
16433
16434 2001-03-06  Juergen Vigna  <jug@sad.it>
16435
16436         * lyxfind.C (IsStringInText): put parentes around expressions.
16437
16438 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16439
16440         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16441
16442 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16443
16444         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16445
16446         * stl_string_fwd.h: add comment
16447
16448         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16449
16450         * tabular.h:
16451         * tabular.C: remove unused DocBook methods
16452
16453         * intl.C:
16454         * language.C:
16455         * paragraph.C:
16456         * buffer.C:
16457         killed DO_USE_DEFAULT_LANGUAGE
16458
16459 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16460
16461         * lyx_gui.C: do not include language.h.
16462
16463         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16464         arguments in function implementation.
16465
16466 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16467
16468         * BufferView_pimpl.C: add <ctime>
16469
16470 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16471
16472         * BufferView_pimpl.C: add using std::find_if
16473
16474 2001-02-27  José Matos  <jamatos@fep.up.pt>
16475
16476         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16477         by OnlyPath.
16478
16479 2001-02-11  José Matos  <jamatos@fep.up.pt>
16480
16481         * buffer.C (makeDocBookFile): command styles now have a parameter as
16482         "title" by default.
16483
16484 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16485
16486         * layout_forms.[Ch]: removed
16487         * lyx_cb.[Ch]: out character
16488         * lyx_gui.C: out character
16489         * lyx_gui_misc.C: out character
16490         * bufferview_funcs.C: : out character,
16491         added toggleall as parameter in ToggleAndShow
16492
16493 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16494
16495         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16496
16497         * text2.C (SetCurrentFont): Disable number property at boundary.
16498
16499 2001-02-26  Juergen Vigna  <jug@sad.it>
16500
16501         * lyxfunc.C (getStatus): added a string argument override function so
16502         that this is correctly called from LyXFunc::Dispatch if it contains a
16503         do_not_use_argument which is used!
16504         (Dispatch): added check for "custom" export and call appropriate func.
16505
16506 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16507
16508         * lyxrc.C: Add language_command_local, language_use_babel and
16509         language_global_options.
16510
16511         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16512
16513         * buffer.C (makeLaTeXFile): Use language_use_babel and
16514         language_global_options.
16515
16516 2001-02-23  Juergen Vigna  <jug@sad.it>
16517
16518         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16519         which works with LyXText and putted it inside BufferView. Here now we
16520         only call for that part the BufferView::Dispatch() function.
16521
16522         * BufferView.C (Dispatch): added.
16523
16524         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16525         functions which needs to use a LyXText over from LyXFunc.
16526         (MenuInsertLyXFile): added
16527         (getInsetByCode): added
16528         (moveCursorUpdate): added
16529         (static TEXT): added
16530
16531 2001-02-22  Juergen Vigna  <jug@sad.it>
16532
16533         * BufferView_pimpl.C (update): call a status update to see if LyXText
16534         needs it.
16535
16536 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16537
16538         * vc-backend.C (revert): implement for CVS
16539         (getLog): implement for CVS
16540
16541 2001-02-20  Juergen Vigna  <jug@sad.it>
16542
16543         * text2.C (ClearSelection): added BufferView param for inset_owner call
16544
16545         * lyxfunc.C (TEXT): added this function and use it instead of
16546         directly owner->view()-text of getLyXText().
16547
16548 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16549
16550         * src/layout_forms.C: out preamble
16551         * src/layout_forms.h: out preamble
16552         * src/lyx_cb.C: out preamble
16553         * src/lyx_cb.h: out preamble
16554         * src/lyx_gui.C: out preamble
16555         * src/lyx_gui_misc.C: out preamble
16556         * src/lyxfunc.C: connect with guii preamble
16557
16558 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16559
16560         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16561
16562 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16563
16564         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16565         whether to run bibtex.
16566
16567 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16568
16569         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16570
16571 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16572
16573         * Makefile.am (lyx_SOURCES): removed bibforms.h
16574
16575         * vspace.h: doxygen
16576
16577         * text.C (GetVisibleRow): make several local vars const
16578
16579         * tabular.C: small cleanup.
16580
16581         * lyxserver.C (callback): use compare instead of strncmp
16582
16583         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16584         inlines to after class or to paragraph.C
16585
16586         * lyxfont.h: remove friend operator!=
16587
16588         * converter.h: move friend bool operator< to non friend and after
16589         class def.
16590
16591         * combox.h: small cleanup
16592
16593         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16594         to inlines after class def.
16595
16596         * buffer.C (pop_tag): use string operations instead of strcmp
16597
16598         * bmtable.c: doxygen, small cleanup
16599
16600         * LaTeX.h: remove friend operator==
16601
16602 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16603
16604         * screen.C:
16605         * lyxrc.[Ch]:
16606         * lyxfunc.C:
16607         * lyxfont.[Ch]:
16608         * lyx_cb.C:
16609         * intl.[Ch]:
16610         * commandtags.h:
16611         * buffer.C:
16612         * WorkArea.[Ch]:
16613         * LyXAction.C:
16614         * BufferView_pimpl.C:
16615         * BufferView.[Ch]: remove cruft
16616
16617 2001-02-14  Juergen Vigna  <jug@sad.it>
16618
16619         * lyxfunc.C: removed #if 0 unused code
16620
16621         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16622
16623         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16624
16625         * text2.C (SetSelection): added a BufferView * parameter
16626
16627 2001-02-13  Juergen Vigna  <jug@sad.it>
16628
16629         * lyxfunc.C (Dispatch): fixed protected blank problem.
16630         * BufferView2.C (protectedBlank): added LyxText * parameter.
16631
16632         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16633         (AppendColumn): same as above for column_info.
16634
16635         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16636         (moveCursorUpdate): use a LyXText param for support of InsetText.
16637
16638         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16639         (tripleClick): ditto
16640
16641         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16642
16643         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16644
16645         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16646
16647         * text2.C (SetSelection): set correct update status if inset_owner
16648         (ToggleFree): ditto
16649
16650 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16651
16652         * tabular.C: remove some commented code.
16653
16654 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16655
16656         * BufferView_pimpl.C: call hideSplash()
16657
16658         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16659
16660         * include_form.h:
16661         * bibforms.h: remove
16662
16663         * lyxfunc.C:
16664         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16665           add LFUN_CHILD_CREATE
16666
16667         * counters.h: fix tiny typo
16668
16669         * lyx_cb.C:
16670         * lyx.h:
16671         * lyx_gui.C:
16672         * lyx.C: move splash to frontends/xforms/
16673
16674         * lyx_gui_misc.C: move Include and Bibform to frontends
16675
16676         * lyxvc.h: clarify comment
16677
16678         * vspace.C: tiny housekeeping
16679
16680 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16681
16682         * text.C (PrepareToPrint): RTL Fix.
16683
16684         * paragraph.C (GetUChar): New method.
16685         (String):  Use GetUChar.
16686
16687         * buffer.C (asciiParagraph): Use GetUChar.
16688
16689 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16690
16691         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16692
16693 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16694
16695         * buffer.h:
16696         * buffer.C: rename to getLogName(), handle
16697           build log / latex log nicely
16698
16699 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16700
16701         * MenuBackend.C:
16702         * MenuBackend.h: remove support for reference menuitem type.
16703
16704 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16705
16706         * BufferView_pimpl.C: housekeeping
16707         * BufferView_pimpl.h:
16708         * LyXView.h:
16709         * Makefile.am:
16710         * Timeout.C:
16711         * Timeout.h:
16712         * minibuffer.h: move Timeout GUI-I
16713
16714 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16715
16716         * lyxrc.C (read): Update converters data-structures.
16717
16718 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16719
16720         * LaTeX.h (operator!=): add operator != for Aux_Info
16721
16722 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16723
16724         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16725
16726         * LaTeXLog.C: deleted, useful code moved to Buffer
16727
16728         * buffer.h:
16729         * buffer.C: new function getLatexLogName()
16730
16731         * lyx_gui_misc.C:
16732         * lyx_gui.C:
16733         * lyxvc.C:
16734         * lyxvc.h:
16735         * lyxfunc.C: use frontends for LaTeX and VC logs
16736
16737 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16738
16739         * LaTeX.h: yet another std:: that Allan forgot.
16740
16741         * Variables.C (set): renamed from isset(), because this clashes
16742         with some HP-UX macros (grr).
16743
16744 2001-02-06  Allan Rae  <rae@lyx.org>
16745
16746         * LaTeX.h: Another bug fix.  Missing std:: this time.
16747
16748 2001-02-04  Allan Rae  <rae@lyx.org>
16749
16750         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16751         floats problem. I've left it commented out because it's not quite
16752         correct.  It should also test that the current object is a table or
16753         figure inset.  But I haven't gotten around to figuring out how to do
16754         that.  I *think* it'll be something like: "table" == inset.type()
16755
16756         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16757         bool.
16758
16759 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16760
16761         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16762         all the citation/databases/styles in the auxilary file.
16763         (run): Rerun latex if there was a babel language error.
16764
16765 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16766
16767         * text.C (Backspace): Preserve the font when changing newline char
16768         with a space.
16769         (BreakParagraph): If the cursor is before a space, delete the space.
16770
16771         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16772
16773 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16774
16775         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16776         new argument (code).
16777         (ChangeCitationsIfUnique): New method.
16778
16779         * paragraph.C (GetPositionOfInset): Handle bibkey.
16780
16781 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * BufferView_pimpl.h: change type of Position::par_pos to
16784         LyXParagraph::size_type.
16785
16786 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16787
16788         * BufferView_pimpl.C (savePosition, restorePosition): Write
16789         messages to minibuffer.
16790
16791 2001-01-28  José Matos  <jamatos@fep.up.pt>
16792
16793         * buffer.C (makeDocBookFile): adds support for document language.
16794         A silly restriction on the name of LatexCommand types where removed.
16795         Added support for CDATA sections, allows to chars unescaped, used
16796         among others in code, to avoid escape < and >.
16797
16798 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16799
16800         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16801         saved positions instrad of a stack. Furthermore, a position is
16802         stored using paragraph id/paragraph position.
16803
16804         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16805         Remove LFUN_REF_BACK.
16806
16807 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16808
16809         * converter.C (dvipdfm_options): New method.
16810
16811 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16812
16813         * vspace.C (isValidLength): Fix for empty input string.
16814
16815 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16816
16817         * LyXAction.C (init): change description of LFUN_FIGURE to
16818         "Insert Graphics"
16819
16820 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16821
16822         * LaTeX.C: add using directive
16823
16824 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16825
16826         * MenuBackend.C (expand): Fix the sorting of the formats.
16827
16828 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16829
16830         * lyx_main.C: tiny error message fix
16831
16832 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16833
16834         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16835         calling fl_initialize(). This fixes the problem with ',' as
16836         decimal separator in text files.
16837
16838 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16839
16840         * trans.C (process): Fix the keymap bug.
16841
16842 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16843
16844         * LaTeX.C (scanAuxFiles): New method. Provides support for
16845         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16846         (scanLogFile) Scan for "run BibTeX" messages.
16847
16848         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16849         OT1 font encoding. Also, load the aecompl package if the ae
16850         package is loaded.
16851
16852         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16853
16854 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16855
16856         * texrow.C (increasePos): turn two error messages into debug
16857         messages.
16858
16859 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16860
16861         * LaTeX.C (scanAux): Handle the \@input macro.
16862         (runBibTeX): Use scanAux().
16863
16864         * language.C (latex_options_): New field.
16865
16866         * LaTeXFeatures.C (getMacros): Add language macros.
16867
16868         * buffer.C (makeLaTeXFile): Small fix.
16869
16870 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16871
16872         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16873
16874         * text2.C: add a using directive.
16875
16876 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16877
16878         * BufferView2.C:
16879         * lyx_gui_misc.h:
16880         * lyxfr1.C:
16881         * lyxfunc.C: kill LyXBell.
16882
16883 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16884
16885         * text.C (IsBoundary): Remove the error message
16886
16887         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16888
16889         * lyxrc.C (setDefaults): Correct initialization value for
16890         font_norm_type.
16891
16892 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16893
16894         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16895         gotoError().
16896
16897         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16898         and GotoNextNote().
16899
16900         * src/LyXAction.C: Added reference-next.
16901
16902         * text.C (InsertChar): Use contains instead of strchr.
16903
16904         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16905
16906 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16907
16908         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16909         alignment commands (when needed).
16910
16911         * text.C (InsertChar): Add ':' to number separator chars.