]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
aa9e3b45025ede15260ebb040b4e8f6b257e8eb2
[lyx.git] / src / ChangeLog
1 2005-01-20  Angus Leeming  <leeming@lyx.org>
2
3         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
4         printing diagnostic data by not dereferecing an iterator past the
5         end.
6
7 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
8
9         * buffer.C (readHeader): use "&&" rather than "and".
10
11         * lyxserver.h (inPipeName, outPipeName): make these const.
12
13 2005-01-19  Angus Leeming  <leeming@lyx.org>
14
15         * lyx_main.C (error_handler, init): protect SIGHUP with
16         #ifdef SIGHUP guards.
17
18 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
21
22 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * text.C (setHeightOfRow): add a margin at the top and bottom of
25         the document (bug 1761)
26
27 2005-01-17  Angus Leeming  <leeming@lyx.org>
28
29         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
30         with "python ". Workaround for a brain-dead Windows.
31
32 2005-01-16  Angus Leeming  <leeming@lyx.org>
33
34         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
35         for MacOSX and Windows to use prependEnvPath.
36         Strip out the hard-coded block to add elements to the PATH for
37         MacOSX and replace it with a call to prependEnvPath using the
38         contents of LyXRC::path_prefix.
39         (queryUserLyXDir): strip out the code to run reconfigure, instead
40         returning a boolean indicating the necessity to do so.
41         (reconfigureUserLyXDir): contains the code to reconfigure the
42         user support directory. Is now called after the various LyXRC data
43         files have been read.
44
45         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
46
47 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
48
49         * converter.[Ch] (convert): take a new parameter try_default. Use
50         a default converter (imagemagick) if try_default is true.
51
52 2005-01-13  Angus Leeming  <leeming@lyx.org>
53
54         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
55         os::cygwin_path_fix.
56         (write): output LyXRC::cygwin_path_fix as necessary.
57
58 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
59
60         * lyxrc.h:
61         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
62
63 2005-01-12  Angus Leeming  <leeming@lyx.org>
64
65         * lyx_main.C (init): set the PATH variable to include the
66         directory containing the LyX binary when running on Mac or Windows.
67
68 2005-01-12  Angus Leeming  <leeming@lyx.org>
69
70         * lyx_main.C (init): remove cruft that purports to set the locale
71         dir. It doesn't and is not needed anyway.
72
73 2005-01-10  Angus Leeming  <leeming@lyx.org>
74
75         * Makefile.am: remove the lyx_main.C special casing.
76
77         * BufferView_pimpl.C:
78         * bufferlist.C:
79         * exporter.C:
80         * lyx_cb.C:
81         * lyx_main.C:
82         * lyxfunc.C:
83         * messages.C: use support/package.h to provide the paths to the
84         various directories used by LyX.
85
86 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
89         layout if pasting into an empty paragraph)
90
91 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
92
93         * tex-accent.C: add <string>
94
95 2005-01-06  José Matos  <jamatos@lyx.org>
96
97         * ParagraphParameters.C (write): put every parameter in its own line.
98         * paragraph.C (write): reduce number of consecutive empty lines exported.
99         * buffer.C (LYX_FORMAT): increase file format to 239.
100
101 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
102
103         * everywhere: change support/tostr.h -> support/convert.h
104
105         * tabular.C: make all write_attributes templates, tostr -> convert
106
107         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
108         (emptyTag): and -> &&, and fix type for ret from getChar
109         (getFirstWord): fix type for ret from getChar
110         (onlyText): and -> &&
111         (simpleDocBookOnePar): and not -> && !, fix type for ret from
112         getChar
113
114         * toc.C (goTo, action):
115         * text3.C (dispatch):
116         * text.C (currentState):
117         * tex-accent.C (DoAccent):
118         * sgml.C:
119         * lyxrc.C:
120         * lyxfunc.C (menuNew):
121         * lyxfinc.C (replace):
122         * counters.C (laberItem):
123         * bufferview_funcs.C (font2string):
124         * bufferparams.C (writeFile):
125         * buffer.C (readFile):
126         * Spacing.C (set):
127         * MenuBackend.C: tostr -> convert
128
129         * LaTeX.C (runMessage): fix format
130         (scanAuxFiles): tostr -> convert
131
132         * BufferView_pimpl.C (savePosition): fix format
133         (restorePosition): ditto
134         (dispatch): ditto
135
136 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
137
138         * Spacing.[Ch]: New method getValueAsString().
139
140         * Spacing.[Ch]:
141         * bufferparams.C:
142         * ParagraphParameters.C:
143         * lyxlayout.C:
144         * text.C:
145         * text3.C: store/read spacing value as string.
146
147         * rowpainter.C: change float value (spacing_val) to double.
148
149         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
150         broken custom document spacing).
151
152 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
153
154         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
155         namespace, also more use of temp references and const
156
157         * cursor.[Ch] (getStatus): move to lyxfunc.C
158
159         * bufferparams.C: reformat slightly
160
161         * bufferview_funcs.C (font2string): constify arg
162
163         * changes.C:
164         * converter.C:
165         * counters.C:
166         * bufferlist.C:
167         * buffer_funcs.C: (many funcs): constify arg on function
168         definitions, also make more local vars const, also add ASSERTS on
169         pointer args.
170
171         * buffer.C (LYX_FORMAT): put const in correct place
172         (many funcs): constify arg on function definitions, also make
173         more local vars const
174
175         * aspell_local.h: remove "struct" from typdef setup
176
177         * aspell.C (check): make word_ok const
178         (nextMiss): simplify slightly
179         (error): ditto
180
181 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
182
183         * lyxrc.[Ch]: store all float values as strings.
184         use int (not float) for lyxrc.dpi.
185
186 2005-01-04  Angus Leeming  <leeming@lyx.org>
187
188         * lyx_cb.C (Reconfigure):
189         * lyx_main.C (queryUserLyXDir):
190         to run the <system_lyxdir>/configure correctly on Windows, prefix
191         the path to the script with "sh " when generating the string that
192         is passed to system().
193
194 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
195
196         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
197
198 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * lyxlength.C (asLatexString): get rid of setprecision
201
202 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
203
204         * text2.C (setLayout): remove unused variable endpit.
205         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
206
207         * paragraph.C (onlyText): remove unused variable style.
208
209         * cursor.C (bruteFind): remove unused variables beg and end.
210
211         * Makefile.am (dist_noinset_DATA): not needed anymore
212
213         * cheaders/*: remove.
214
215 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
216
217         * text3.C: fix LFUN_MATH_MODE.
218
219 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * buffer_funcs.C (countWords): new function. Counts words between
222         two iterators.
223
224         * BufferView_pimpl.C (getStatus, dispatch): handle
225         LFUN_WORDS_COUNT.
226
227         * LyXAction.C (init):
228         * lfuns.h: add LFUN_WORDS_COUNT.
229
230 2004-12-19  Angus Leeming  <leeming@lyx.org>
231
232         * buffer.C (save): s/slashify_path/internal_path/.
233
234 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
235
236         * lyxfind.C (findChange): do not search for end of pars, because
237         the change tracker cannot handle this (fixes bug 1719).
238
239 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
240
241         * paragraph.[Ch] (autoBreakRows): remove
242
243         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
244
245         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
246         avoid using the paragraph one
247
248         * text2.C (LyXText, insertStringAsLines): adjust
249
250 2004-12-16  Angus Leeming  <leeming@lyx.org>
251
252         * bufferlist.C:
253         * lyx_main.C:
254         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
255
256 2004-12-14  Angus Leeming  <leeming@lyx.org>
257
258         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
259
260         * bufferlist.C (emergencyWrite):
261         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
262         GetEnvPath("HOME").
263
264 2004-12-14  Angus Leeming  <leeming@lyx.org>
265
266         * main.C: (main): no longer pass pointers to os::init.
267
268 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
269
270         * undo.C (textUndoOrRedo): simplify logic, fix a crash
271         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
272
273 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
274
275         * lyxfunc.C:
276         * text3.C: remove selection_possible global flag
277
278 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
279
280         * text2.C (getSelectionSpan): remove
281         (changeDepth, changeDepthAllowed): adjust
282
283 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
284
285         * Makefile.am (BOOST_LIBS): use boost variables
286
287 2004-12-03  José Matos  <jamatos@lyx.org>
288
289         * buffer.C: format up to 238.
290
291 2004-12-03  José Matos  <jamatos@lyx.org>
292
293         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
294
295 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
296
297         * cursor.C (goUpDown): remove call to idxUpDown2
298
299 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
300
301         * tabular.[Ch]: use size_t-like types for cell, row and column
302         indices
303
304 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * lyxfunc.C (getStatus): do not lose previous information when
307         calling BufferView::getStatus; do not set a default "Command
308         disabled" message at the beginning, but just before returning.
309
310 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
311
312         * cursor.h (getStatus): add better comment from src/cursor.C
313
314 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * text3.C (getStatus): return false when the lfun is not handled
317
318 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * broken_headers.h: remove
321
322         * Makefile.am (lyx_SOURCES): remove broken_headers.h
323
324 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
325
326         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
327         offset_ref accessors
328
329         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
330         top_y_, merge fitcursor with update
331         (updateScrollbar, scrollDocView, fitCursor, center, update): new
332         coord scheme
333         (metrics): introduce
334         (workAreaDispatch): adapt to new coord scheme
335         (redoCurrentBuffer): remove
336
337         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
338
339         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
340         CurStatus enum.
341
342         * coordcache.[Ch]: add paragraph cache and helpers
343
344         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
345         adjust everywhere
346
347         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
348         (targetX, setTargetX): introduce
349
350         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
351         baseline -> ascent, as the rest of lyx
352
353         * lyxtext.h: remove redoParagraphs, updateParPositions,
354         fullRebreak, redoParagraphInternal. move dist to anon namespace in
355         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
356         have ascent/descent (ascent is ascent of first par)
357
358         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
359         step of BufferView
360
361         * paragraph.[Ch]: unify dimension handling with the rest of lyx
362
363         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
364
365         * pariterator.C: fix infinite loop introduced in par->pit renaming
366
367         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
368         in insets and LyXText, draw two off-screen paragraphs using
369         NullPainter, and adapt to new coord scheme
370
371         * text.C:
372         * text2.C:
373         * text3.C: adapt lfun handlers to the new coord scheme, which
374         means: there's only guaranteed coord information for onscreen pars
375         plus one above and one below. This implies that one can do search
376         from y coordinates in the range [-1,workHeight]
377
378 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
379
380         * rename a lot of InsetOld to InsetBase
381
382 2004-11-25  Angus Leeming  <leeming@lyx.org>
383
384         * BufferView_pimpl.C:
385         * lyx_cb.C:
386         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
387
388 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
389
390         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
391         call BufferView::getStatus if LCursor::getStatus did nothing
392         (setStatusMessage, getStatusMessage): removed.
393
394         * FuncStatus.C (message): new methods. Used to provide an error
395         message indicating why a command is disabled.
396         (clear, |=, FuncStatus): update for message.
397
398 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
399
400         * lyxfunc.C (dispatch): always call sendDispatchMessage
401
402 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
403
404         * BufferView.C:
405         * BufferView_pimpl.C:
406         * CutAndPaste.C:
407         * FontIterator.C:
408         * buffer.C:
409         * cursor.C:
410         * cursor_slice.[Ch]:
411         * dociterator.[Ch]:
412         * lyxfind.C:
413         * paragraph_funcs.C:
414         * pariterator.C:
415         * rowpainter.C:
416         * text.C:
417         * text2.C:
418         * text3.C:
419         * undo.C: par->pit renaming
420
421 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
422
423         * tabular.C (cellstruct): use initialization, store a shared_ptr
424         to insettext instead of the insettext directly, adjust to fit.
425         (operator=):  new function
426         (swap): new function
427         (rowstruct): use initialization
428         (columnstruct): use initialization
429         (ltType): use initialization
430
431
432         * lyxlength.h (swap): new function
433
434         * LColor.[Ch] (operator=): use the common semantics
435
436 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
437
438         * lyxfind.C (findNextChange): update the bufferview after setting
439         the selection.
440
441 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
444         number of InsetOptArgs has already been inserted.
445
446         * output_latex.C (latexOptArgInsets): new method. This outputs all
447         the optarg insets, up to the limit defined in the layout file.
448         (optArgInset): removed
449         (TeXOnePar): call latexOptArgInsets; correctly update texrow
450
451 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
452
453         * paragraph.C (isLetter): remove special spellchecker-related
454         code; return true also for digits
455         (isWord, isKomma): remove
456
457         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
458         * lyxfind.C (MatchString()): use isLetter instead of isWord
459
460 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
461
462         * pariterator.h (operatir=): comment out un-implemented member
463         function.
464
465         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
466         static cast.
467
468 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
469
470         * lyxfont.h: include LColor.h to satisfy concept checks.
471
472 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
473
474         * pariterator.h: add typdefs for value_type, difference_type,
475         pointer and reference to satisfy concept checks. Also add default
476         constructor for same reason.
477
478         * pariterator.C (operator++): add post-increment operator to
479         satisfy concept checks.
480
481         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
482         checks.
483
484         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
485
486         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
487         checks. Also rename base_type to BaseType to follow naming
488         standard better.
489
490         * FloatList.h: include Floating.h to satisfy concept checks.
491
492 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * lyxfunc.C (getStatus): when the origin of the request is menu or
495         toolbar, and the LyXView does not have focus, do as if there was
496         no buffer (bug 1720)
497
498         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
499         FuncRequest to individual entries of LFUN_SEQUENCE
500
501 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * output_latex.C (TeXOnePar): override runparams.moving_arg
504         according to the needprotect value of the current paragraph (bug
505         1739)
506
507         * paragraph.C (simpleTeXOnePar): no need to override
508         runparams.moving_args here
509
510 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
511
512         * vspace.C: fix off-by-one-error, related to fix #1682
513
514 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
515
516         * lengthcommon.C: a more general fix for bug 1682
517
518 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * text.C (backspace): fix crash
521
522 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * format.[Ch] (getFormatFromFile): new method
525         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
526
527 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
530
531 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * lyxfunc.C (dispatch): remove the verbose argument
534         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
535         instead
536
537         * kbmap.C (defkey): set the origin of func to KEYBOARD
538
539         * MenuBackend.C (MenuItem):
540         * ToolbarBackend.C (add): set the origin of func to UI
541
542         * funcrequest.[Ch]: add origin member, which indicates which part
543         of LyX requests an action
544
545 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
546
547         * converter.C (move): don't lie in the error message
548         * converter.h (isReachable, move): document
549
550 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
551
552         * buffer.C: remove unused using lyx::support::atoi
553         * paragraph_funcs.C: ditto
554
555 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
556
557         * bufferlist.C (exists): use bind and equal_to instead of
558         compare_memfun
559         (getBuffer): ditto
560         * lyxtextclasslist.C (NumberOfClass): ditto
561
562         * cursor.C (insert): use for_each instead of explicit for loop
563
564         * bufferlist.C (getFileNames): use std::transform and
565         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
566
567         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
568         for loop
569
570         * buffer.C (changeLanguage): use for_each instead of explicit for
571         loop
572         (hasParWithID): implement using getParFromID
573
574         * LaTeXFeatures.C: ws change only
575
576         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
577         to cleanup a bit.
578
579         * BufferView_pimpl.C (trackChanges): use for_each instead of
580         expilicit for loop
581
582 2004-11-04  André Pönitz  <poenitz@gmx.net>
583
584         * undo.h:
585         * undo.C (textUndoOrRedo): fix crash when creating undo information.
586
587         * dociterator.C (asDocIterator): use hard assert again.
588
589 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * lyxlength.C (asLatexString): rewrite so that it does not use
592         snprintf anymore
593
594 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
595
596         * text3.C (specialChar, dispatch): make sure cursor moves to the
597         right after inserting an inset
598
599 2004-11-02  José Matos  <jamatos@lyx.org>
600
601         * output_docbook.C (docbook):
602         * paragraph.C (getID):
603         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
604         garantee that the output is always legal.
605
606         * tabular.C (docbook):
607         * outputprams.[Ch]: remove mixed contents.
608
609 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
610
611         * text2.C (setCounter): prevent endless loop
612
613 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
614
615         * exporter.C (copyFile): use the mover instead of support::copy()
616         * exporter.C (Export): pass format and latex name to copyFile()
617         * exporter.h (addExternalFile): document
618         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
619
620 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
621
622         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
623
624 2004-10-30  José Matos  <jamatos@lyx.org>
625
626         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
627         text and no inset or font change. This allows to use CDATA
628         sections just for the whole paragraph.
629
630 2004-10-30  José Matos  <jamatos@lyx.org>
631
632         * paragraph.C (getFirstWord): remove unused variable.
633
634 2004-10-30  José Matos  <jamatos@lyx.org>
635
636         * paragraph.C (getFirstWord): the content should always be escaped
637         there.
638         (simpleDocBookOnePar):
639         * output_docbook.C (makeEnvironment): replace reference to CDATA
640         to style pass_thru.
641
642 2004-10-30  José Matos  <jamatos@lyx.org>
643
644         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
645
646 2004-10-30  José Matos  <jamatos@lyx.org>
647
648         * output_docbook.C (makeParagraphs):
649         * paragraph.[Ch] (emptyTag): for docbook and company, if the
650         standard paragraph has only a given type of content drop the wrapper.
651
652 2004-10-29  José Matos  <jamatos@lyx.org>
653
654         * output_docbook.C (makeEnvironment):
655         * sgml.C (openTag):
656         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
657
658 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
659
660         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
661         (cleanID): sanitize any id.
662
663 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
664
665         * buffer.C, lyxlex_pimpl.C:
666         * lyxlex_pimpl.C (setFile):
667         s/getExtFromContents/getFormatFromContents/
668
669 2004-10-28  José Matos  <jamatos@lyx.org>
670
671         * output_docbook.C (makeEnvironment): move id to broadest possible
672         scope.
673
674         * sgml.C (openTag): apply substitution of <> for all attributes.
675
676 2004-10-28  José Matos  <jamatos@lyx.org>
677
678         * buffer.C (makeLinuxDocFile, makeDocBookFile):
679         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
680         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
681
682         * sgml.[Ch]: new version for open and closeTag for paragraph and
683         for strings. Now they handle the ids of paragraphs.
684
685 2004-10-26  Angus Leeming  <leeming@lyx.org>
686
687         * Makefile.am: add mover.[Ch].
688
689         * converter.C (convert, move): use the new Movers to move external
690         files to the temp directory.
691
692         * lyx_main.C (init): ensure that the global system_movers data
693         is initialised.
694
695         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
696         preferences file.
697
698         * mover.[Ch]: new files, defining a Mover as a utility to move an
699         external file between directories and, if necessary, manipulate this
700         file using a helper script.
701
702 2004-10-25  José Matos  <jamatos@lyx.org>
703
704         * output_docbook.C (makeCommand): merge two if's that tested the
705         same condition.
706
707 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * sgml.C (escapeString): fix warning in a better way
710
711 2004-10-25  José Matos  <jamatos@lyx.org>
712
713         * sgml.C (escapeString): import the require boosts header file for
714         tie, and avoid a signed unsigned comparison.
715
716 2004-10-25  José Matos  <jamatos@lyx.org>
717
718         * sgml.h: add #include <string>
719
720 2004-10-25  José Matos  <jamatos@lyx.org>
721
722         * sgml.[Ch] (escapeString): new function to escape all the string.
723
724 2004-10-24  José Matos  <jamatos@lyx.org>
725
726         * paragraph.[Ch] (getFirstWord): new function to get the first
727         word. Useful for description.
728         (simpleDocBookOnePar): remove depth argument, add another that
729         says where to start the paragraph.
730
731         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
732         use the new functions to fix cleanly the support for descriptions.
733
734 2004-10-24  José Matos  <jamatos@lyx.org>
735
736         * buffer.C (makeLinuxDocFile, makeDocBookFile):
737         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
738         * output_linuxdoc.C (linuxdocParagraphs):
739         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
740         add buffer as argument.
741
742 2004-10-24  José Matos  <jamatos@lyx.org>
743
744         * output_docbook.C (makeEnvironment, searchEnvironment): place
745         CDATA inside paragraphs and fix scope for listitems.
746
747 2004-10-24  José Matos  <jamatos@lyx.org>
748
749         * output_docbook.C: remove using statement for stack.
750
751 2004-10-23  José Matos  <jamatos@lyx.org>
752
753         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
754         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
755         docbook. The new scheme is recursive and makes use of iterators, the
756         same as latex export works.
757         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
758         directly with the paragraph contents. This code was moved up to
759         output_docbook.C (docbookParagraphs).
760         * sgml.C (openTag, closeTag): removed unneeded newlines.
761         (closeEnvTags) removed.
762
763 2004-10-23  André Pönitz  <poenitz@gmx.net>
764
765         * undo.C (textUndoOrRedo):
766         * dociterator.C (asDocIterator): work around crash
767
768         * cursor.C (getStatus): replace ASSERT by more verbose error message
769           and manual correction of the problem. Should increase stability
770           while providing more sensible information.
771
772 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
775
776         * bufferlist.C (previous, next): new methods
777
778         * lfuns.h:
779         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
780
781 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
782
783         * buffer.C (makeDocBookFile): add dsssl stylesheet control
784         entities to preamble.
785
786 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
787
788         * messages.C (Pimpl): strip off translation context information
789
790 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
793         the cursor is correct (bug 1694)
794
795 2004-10-13  José Matos  <jamatos@lyx.org>
796
797         * output_docbook.C (docbookParagraphs): fix closing tags in the
798         end of the document.
799
800 2004-10-09  José Matos  <jamatos@lyx.org>
801
802         * buffer.C: format up to 237.
803         * bufferparams.C (write): use tostr to convert booleans to strings.
804
805 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
806
807         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
808
809 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
810
811         * LaTeX.C: implement use of babel language in xindy.
812
813 2004-10-05  José Matos  <jamatos@lyx.org>
814
815         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
816         Add new translators to help reading and writing the lyx file.
817
818 2004-10-05  José Matos  <jamatos@lyx.org>
819
820         * ParagraphParameters.C (read):
821         * text.C (readParToken): replace nexToken by more appropriate lex
822         methods.
823
824 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
825
826         * LaTeX.C (runMakeIndex):
827         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
828         (usually 'makeindex') configurable.
829
830         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
831         with a variable rather than with a number.
832
833 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * output_latex.C (TeXOnePar): make sure font setting is the first
836         thing that gets output (and the last at the end). Should fix bug
837         1404.
838
839 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
840
841         * pch.h: use proper signal include
842
843         * LaTeX.h: Use preferred calling of Boost.Signal
844         * buffer.h: ditto
845
846 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
847
848         * pch.h: dont include <boost/function/function0.hpp>
849
850         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
851
852         * paragraph_pimpl.h: remove usage of ShareContainer
853
854         * paragraph_pimpl.C: remove initialization of ShareContainer.
855
856 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
857
858         Fix bug #1666
859
860         * BufferView.C (putSelectionAt): change the semantics when
861         backwards == true: now, this just swaps cursor and anchor wrt the
862         forward case
863
864         * BufferView.h (putSelectionAt): add some documentation
865
866         * lyxfind.C (findBackwards): rewrite using while(). In particular,
867         make sure backwardChar is done at least once (to avoid getting
868         stuck)
869         (findNextChange): use putSelectionAt in the forward direction
870         (operator()): use Paragraph::isWord
871
872 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
873
874         * Spacing.C (set): c_str fix
875
876 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * lyx_cb.C (Reconfigure): quote the name of configure script in
879         case it contains spaces
880
881 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
882
883         * client: new dir
884
885         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
886         (BOOST_LIBS): use top_buildir when looking for the file
887
888 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
889
890         * pch.h: do not use include boost/format.hpp, multiple symbols
891                 will result (gcc bug)
892
893
894 2004-08-23  José Matos  <jamatos@lyx.org>
895
896         * bufferparams.C (readToken): fix reading of the author field.
897
898 2004-08-20  José Matos  <jamatos@lyx.org>
899
900         * lyxrc.C: remove support/translator.h inclusion since it is not used.
901
902 2004-08-20  José Matos  <jamatos@lyx.org>
903
904         * lyxlex.[Ch] (findToken): remove function.
905
906         * ParagraphParameters.C (findToken):
907         * bufferparams.C (findToken): replace call for previous function
908         with local copy. This local function has one more argument, the
909         read string argument.
910
911 2004-08-16  José Matos  <jamatos@lyx.org>
912
913         * ParagraphParameters.C (write):
914         * Spacing.C (writeFile):
915         * bufferparams.C (writeLaTeX):
916         * lyx_cb.C (Reconfigure):
917         * paragraph.C (write):
918         * tabular.C (write): remove unnecessary space at end of line.
919
920
921 2004-08-16  José Matos  <jamatos@lyx.org>
922
923         * text.C (readParagraph): remove debug message.
924
925 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
928         crash
929
930         * output_plaintext.C (asciiParagraph): set depth correctly
931
932         * outputparams.h: add member depth
933
934         * paragraph_funcs.C (ownerPar): remove.
935
936         * text2.C (setCounter): remove first_pit; comment out some
937         non-working code that uses ownerPar
938
939         * BufferView.C (getParentLanguage): remove. Not used anymore, and
940         uses ownerPar
941
942 2004-08-16  José Matos  <jamatos@lyx.org>
943
944         * text.C (readParToken, readParagraph, read): report all unknown tokens.
945         For the same level of importance use the same chanel to report problems.
946         (read): add code to deal with \begin_body and \end_body.
947
948
949 2004-08-15  José Matos  <jamatos@lyx.org>
950
951         * lyxlex.C (getString): fix comment, buffer::readBody is now
952         buffer:readDocument.
953
954         * tex-strings.C (string_papersize): Default -> default,
955         Custom -> custom, for consistency with other options.
956
957 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
958
959         * pch.h: new file
960
961         * Makefile.am: support pch
962
963 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * text.C (readParToken): remove the static LyXFont variable and
966         pass it as a parameter instead. This fixes a nasty bug where an
967         inset will be inserted with a bad font in some situations
968         (readParagraph): adapt
969
970         * text2.C (setCounter): reduce number of calls to pars_[pit]
971
972         * text.C (singleWidth): add an assert, fix a test
973
974         * rowpainter.C (paintText): reduce number of calls to singleWidth
975
976         * paragraph.C (isHfill):
977         (isNewline): ws only
978
979 2004-08-14  André Pönitz  <poenitz@gmx.net>
980
981         * text.C:
982         * text2.C:
983         * rowpainter.C:
984         * lyxtext.h (several functions): use a Paragraph & argument
985         instead of par_type
986
987 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
988
989         * metricsinfo.h: add a new field ltr_pos to PainterInfo
990
991         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
992
993         * text.C (singleWidth): remove useless test
994
995 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
996
997         * tabular.h: remove bogus comments
998
999         * tabular.C (getDescentOfRow):
1000         (isPartOfMultiColumn): add assertions
1001
1002         * lyxlength.C (inPixels): remove #warning
1003
1004 2004-08-14  André Pönitz  <poenitz@gmx.net>
1005
1006         * paragraph.h: inline getChar()
1007
1008         * BufferView.h: remove unused declarations
1009
1010 2004-08-14  José Matos  <jamatos@lyx.org>
1011
1012         * Buffer.[Ch] (readDocument): new name for old readBody.
1013         * Buffer.C: new file format, new keywords: \begin_document,
1014         \begin_header, \begin_body, \end_body.
1015
1016         * bufferparams.C (readToken): replace all calls to lex.nextToken
1017         by lex.next(). Do the same to eatLine except where really needed.
1018
1019         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1020         line when writing to the lyx file.
1021
1022         * output_plaintext.C (asciiParagraph): fix Bibliography style
1023         handling.
1024
1025         * text.C (read): fix end of file handling.
1026
1027 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1028
1029         * MenuBackend.C (Menu::operator[]): new method to access
1030         individual menu items
1031         (Menu::hasFunc): new method. search for an item that corresponds
1032         to a given func
1033         (MenuBackend::specialMenu): new method
1034         (MenuBackend::expand): if a special menu has been set, skip
1035         entries whose func() appears in this menu
1036
1037 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1038
1039         * text3.C: use Debug::DEBUG a bit more
1040
1041         * text.C (leftMargin): try to simplify a tiny bit change var x to
1042         l_margin. Dont output the wide margins always.
1043         (rightMargin): no margin in inner texts
1044
1045         * rowpainter.h (nestMargin): new func
1046         (changebarMargin): new func
1047         (rightMargin): new func
1048
1049         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1050         now functions.
1051         (paintLast): ditto
1052
1053         * factory.C (createInset): modify setDrawFrame
1054
1055         * cursor.C: use Debug::DEBUG a bit more
1056
1057 2004-08-14  André Pönitz  <poenitz@gmx.net>
1058
1059         * coordcache.[Ch]:
1060         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1061         cache for all insets in (at least partially) visible (top-level)
1062         paragraphs.
1063
1064         * BufferView_pimpl.C: reset external coord cache before every update.
1065         This means the coord cache only contains valid entries.
1066
1067 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1068
1069         bug 1096
1070         * BufferView_pimpl.C (getInsetByCode): move function out of class
1071         and change in to a template in anon namespace. Also fix to do what
1072         suits us better.
1073
1074 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1075
1076         bug 1305
1077         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1078         of char
1079         (breakParagraph): rename par to par_offset and use a local
1080         reference. Add code to keep the language over a rebreak.
1081         (breakParagraphConservative): rename par to par_offset, use a
1082         local reference
1083         (mergeParagraph): ditto
1084         (outerHook): ditto
1085         (isFirstInSequence): ditto
1086         (outerFont): rename pit to par_offset
1087
1088         * paragraph.C: ws change
1089         * paragraph.h: ditto
1090         * text3.C: ditto
1091         * text.C: ditto
1092
1093 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1094
1095         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1096         treatment for ']'
1097
1098         * paragraph.C (simpleTeXOnePar): when we have a \item with
1099         optional argument, enclose the argument with curly brackets (in
1100         case it contains a closing square bracket)
1101
1102         * text2.C (editXY):
1103         * text2.C (editXY):
1104         * text3.C (checkInsetHit): constify
1105
1106 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1107
1108         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1109         documents (bug 1629)
1110
1111 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1112
1113         Fix toggling of collapsable insets with the mouse (bug 1558)
1114
1115         * lyxfunc.C (dispatch): adapt to LCursor changes
1116
1117         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1118         make sure that dispatch is not invoked twice
1119
1120         * cursor.C (needsUpdate): new method
1121         (dispatch): return void
1122         (result): new method, to access the DispatchResult of the cursor.
1123
1124 2004-08-13  José Matos  <jamatos@lyx.org>
1125
1126         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1127
1128 2004-08-13  André Pönitz  <poenitz@gmx.net>
1129
1130         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1131
1132         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1133           multiple cells
1134
1135 2004-08-12  André Pönitz  <poenitz@gmx.net>
1136
1137         * text3.C: take out the 'cursor right' form insertInset and only
1138         do it in those places when it is really needed. Fixes crash on
1139         C-m...
1140
1141 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1142
1143         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1144
1145         * BufferView_pimpl.C (setBuffer): initialize the current font of
1146         the underlying LyXText
1147
1148 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * kbsequence.C (print): use UI native formatting for menu
1151         shortcuts
1152
1153         * text.C (insertChar): call Paragraph::insertChar with a font
1154         argument (cosmetic)
1155
1156         * paragraph.C (insertInset, insertChar): the version that takes a
1157         LyXFont argument is now a wrapper around the other one (the
1158         opposite used to be true).
1159
1160         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1161         argument. Font setting is done in Paragraph now.
1162
1163 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * outputparams.h: add new members intitle and lang.
1166
1167         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1168         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1169
1170 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1171
1172         * text3.C (dispatch): remove special handling of button 4 and 5,
1173         it is now taken care of in the frontend code.
1174
1175 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1176
1177         * Spacing.h: add <string> (STLPort compile fix)
1178
1179 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1180
1181         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1182
1183 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1184
1185         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1186         to bool.
1187
1188         * converter.C (showMessage): inherit from unary_function, make
1189         operator() const.
1190
1191         * buffer.C (writeFile): initialize retval
1192
1193         * InsetList.h: rename private variable list to list_
1194         * InsetList.[Ch]: adjust accordingly.
1195
1196 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1197
1198         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1199         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1200         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1201         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1202         * ParagraphParameters.C, LaTeXFeatures.C: replace
1203         "support/std_sstream.h" with <sstream>
1204
1205 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1206
1207         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1208         * lyxsocket.C (LyXServerSocket): ditto
1209         (serverCallback): ditto
1210
1211 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1212
1213         * LaTeXFeatures.C: check release date when loading jurabib.
1214
1215 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1216
1217         * lyxserver.C (startPipe): call register_socket_callback
1218         (endPipe): call unregister_socket_callback
1219
1220 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1221
1222         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1223         (LyXServerSocket): register the callback
1224         (LyXServerSocket): unregister the callback
1225         (fd): delete function
1226         (serverCallback): improve error checking and setup the callbacks.
1227         (dataCallback): change arg to fd.
1228         (writeln): new func (copied fro the client socket) used for server
1229         write to client.
1230         (LyXDataSocket): simplify
1231         (~LyXDataSocket): close ann unregiser callback
1232         (server): delete function
1233         (fd): delete function
1234         (readln): small changes, improve some std::string usage
1235         (writeln): constify a bit
1236
1237 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1240         Qt frontend
1241
1242 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1245         after it has been populated
1246
1247 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1248
1249         * text2.C (insertInset): move cursor when inserting inset.
1250
1251 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1252
1253         * kbmap.C (findbindings): a couple of new methods. returns a
1254         container of kb_sequence objects. The real work is done by the
1255         private recursive version
1256         (printbindings): uses findbindings to print out a bracketed list
1257         of bindings (renamed from findbinding).
1258
1259         * MenuBackend.C (binding): use kb_keymap::findbindings
1260
1261         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1262
1263 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1264
1265         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1266
1267 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1268
1269         * paragraph.C (isWord): return true on insets that report
1270         isLetter().
1271
1272         * text.C (getWord): use Paragraph::isWord to decide what is in a
1273         word and what is not; fix bug 1609.
1274
1275 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1276
1277         * tex-strings.C: add "none" to string_paperpackages[], fixes
1278         off-by-one-error in the paperpackage selection.
1279
1280         * lyxlex.[Ch]:
1281         * tex-strings.[Ch]: char const * string[n]
1282         -> char const * const string[]
1283
1284 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1285
1286         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1287         command, return early.
1288
1289 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1290
1291         * debug.h: add DEBUG to enum and fix size of ANY.
1292
1293         * debug.C: add support for Debug::DEBUG
1294         (showTags): cast errorTags.level to unsigned int
1295
1296         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1297         (redoCurrentBuffer): ditto
1298         (updateScrollbar): ditto
1299         * cursor.C (dispatch): ditto
1300         * text2.C (setLayout): ditto
1301         (setFont): ditto
1302         (updateCounters): ditto
1303         (editXY): ditto
1304         (deleteEmptyParagraphMechanism): ditto
1305
1306 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1307
1308         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1309         annotations to cleanup the Makefile slightly.
1310
1311 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1312
1313         * lyxrc.C: do not set user_email to a default value but use empty
1314         instead. The entry used to be translated, which does not work
1315         since at the point where lyxrc is constructed there is no
1316         translation service available
1317
1318         * messages.C (getLocaleDir): remove and use directly
1319         lyx_localedir() instead
1320
1321 2004-06-02  Angus Leeming  <leeming@lyx.org>
1322
1323         Fix crash caused by dereferencing null pointer 'exportdata' in
1324         OutputParams by creating a new ExportData variable on the heap,
1325         storing it in a boost::shared_ptr.
1326         The crash was triggered when generating an Instant Preview
1327         of an external inset.
1328
1329         * Makefile.am: add outputparams.C
1330
1331         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1332         (c-tor): allocate memory to it.
1333
1334         * exporter.C (c-tor): associated changes.
1335
1336 2004-06-01  Angus Leeming  <leeming@lyx.org>
1337
1338         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1339         contains data before calling isInset(0). (Bug 1513.)
1340
1341 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1342
1343         * exporter.C (checkOverwrite): new method
1344         * exporter.C (copyFile): new method
1345         * exporter.C (Export): copy referenced files to the document dir
1346         * exporter.[Ch]: new class ExportedFile
1347         * exporter.[Ch]: new class ExportData. Contains currently the
1348         names of referenced external files
1349         * outputparams.h: add exportdata member.
1350
1351 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1352
1353         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1354         version.C-tmp
1355
1356 2004-05-19  Angus Leeming  <leeming@lyx.org>
1357
1358         * LaTeXFeatures.C:
1359         * ToolbarBackend.C:
1360         * bufferparams.C:
1361         * lyxfunc.C: small changes due to the introduction of namespace
1362         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1363
1364 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1365
1366         * text3.C (dispatch): supress update when only moving the cursor
1367         * cursor.C (selHandle): remove commented code
1368
1369 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1370
1371         * paragraph.C (startTeXParParams): correct column count
1372         * CutAndPaste.C (pasteSelection): remove const_cast
1373         * output_docbook.C (docbookParagraphs): remove const_cast
1374         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1375         const_cast and return ParagraphList::const_iterator
1376         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1377         * output_plaintext.C (writeFileAscii): remove const_cast
1378         * paragraph.[Ch] (simpleTeXOnePar): make const
1379         * paragraph_funcs.C (outerPar): use const iterators
1380         * paragraph_pimpl.C (validate): use const iterators
1381         * text.C (setHeightOfRow): use const iterators
1382
1383 2004-05-17  Angus Leeming  <leeming@lyx.org>
1384
1385         * lfuns.h:
1386         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1387
1388         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1389         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1390         if the citation engine has changed.
1391
1392 2004-05-14  José Matos  <jamatos@lyx.org>
1393
1394         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1395         if the textclass does not provide it. Have it different for sgml and
1396         xml.
1397         support the language of document.
1398         * output_docbook.C (docbookParagraphs):
1399         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1400         first anchor as the id of the paragraph, remove special case code.
1401         * sgml.C (escapeChar): escape only < & >.
1402
1403 2004-05-14  Angus Leeming  <leeming@lyx.org>
1404
1405         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1406         dependencies on src/frontends/controllers/biblio.h. Define a
1407         CiteEngine_enum wrapper class to enable the enum to be forward
1408         declared.
1409
1410 2004-05-12  Angus Leeming  <leeming@lyx.org>
1411
1412         * buffer.C: up LYX_FORMAT to 234.
1413         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1414         use_numerical_citations with a single biblio::CiteEngine cite_engine
1415         variable.
1416         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1417
1418 2004-05-13  José Matos  <jamatos@lyx.org>
1419
1420         * converter.h:
1421         * converter.C (Converter, readFlags): add xml member.
1422         * outputparams.h: add XML flavor.
1423         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1424
1425 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1426
1427         * lyxfunc.C (dispatch):
1428         (getStatus): fix handling of LFUN_SEQUENCE
1429
1430 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         * debug.C (showLevel): do not forget the end-of-line marker
1433
1434 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * kbmap.C (read): do not stop parsing a bind file when an error
1437         occurs (bug 1575)
1438
1439 2004-04-29  Angus Leeming  <leeming@lyx.org>
1440
1441         * cursor.C:
1442         * factory.C:
1443         * pariterator.C:
1444         * text2.C: wrap a bunch of #warning statements
1445         inside #ifdef WITH_WARNINGS blocks.
1446
1447 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1448
1449         * buffer.C: increment format to 233.
1450
1451 2004-04-28  Angus Leeming  <leeming@lyx.org>
1452
1453         * BufferView_pimpl.C:
1454         * lyxfunc.C:
1455         * text3.C:
1456         s/updateToolbar()/updateToolbars()/
1457         s/Toolbar.h/Toolbars.h/
1458
1459 2004-04-28  Angus Leeming  <leeming@lyx.org>
1460
1461         * BufferView.[Ch] (c-tor):
1462         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1463         No longer passes these data to the WorkArea generator.
1464
1465 2004-04-28  Angus Leeming  <leeming@lyx.org>
1466
1467         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1468
1469 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1470
1471         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1472
1473 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1474
1475         * output_latex.C (TeXEnvironment): make sure that there is a line
1476         break before \end{foo} for the last paragraph of a document
1477         (TeXOnePar): if the paragraph is at the end of the document (or
1478         inset) and the language has to be reset, then make sure that the
1479         line break is _before_ the language command, not after (fixes bug
1480         1225); also make sure that the language reset command is the first
1481         thing after the paragraph (to ensure proper nesting of
1482         environments and thus fix bug 1404)
1483
1484 2004-04-21  John Levon  <levon@movementarian.org>
1485
1486         * ToolbarBackend.h:
1487         * ToolbarBackend.C: make "name" be a programmatic name
1488         and a gui_name field.
1489
1490         * lyxfunc.C: display the minibuffer on M-x
1491
1492 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1495         (bug 1526)
1496
1497 2004-04-19  Angus Leeming  <leeming@lyx.org>
1498
1499         * BufferView_pimpl.C (setBuffer): changed preview interface.
1500
1501         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1502         possible values.
1503
1504 2004-04-19  John Levon  <levon@movementarian.org>
1505
1506         * BufferView_pimpl.C:
1507         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1508
1509 2004-04-05  Angus Leeming  <leeming@lyx.org>
1510
1511         * text.C (redoParagraphs): add call to updateCounters(), thereby
1512         fixing the missing "Figure #:" label from the caption of a
1513         figure float.
1514
1515 2004-04-13  Angus Leeming  <leeming@lyx.org>
1516
1517         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1518         cursor is clicked out of an inset.
1519
1520 2004-04-13  Angus Leeming  <leeming@lyx.org>
1521
1522         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1523         than an InsetOld one.
1524
1525 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1526
1527         * format.[Ch]: add editor to Format
1528         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1529         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1530
1531 2004-04-08  André Pönitz  <poenitz@gmx.net>
1532
1533         * metricsinfo.h: remove PainterInfo::width member
1534
1535 2004-04-08  Angus Leeming  <leeming@lyx.org>
1536
1537         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1538         "\providecommand" rather than "\newcommand", thereby preventing
1539         clashes with packages that define "\boldsymbol" themselves.
1540         Eg, beamer.
1541
1542 2004-04-08  Angus Leeming  <leeming@lyx.org>
1543
1544         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1545         thereby squashing an unnecessary warning.
1546
1547 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1548
1549         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1550         setBuffer()
1551
1552 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1553
1554         * BufferView.C (setCursor): call redoParagraph (some insets could
1555         have been opened)
1556         (putSelectionAt): remove the 'double update' trick
1557
1558         * BufferView_pimpl.C (fitCursor): call refreshPar
1559         (workAreaDispatch): remove an uneeded update call
1560         (dispatch): remove some manual update calls
1561
1562         * cursor.[Ch]: remove cached_y_, updatePos
1563         (selHandle): set noUpdate when appropriate
1564
1565         * lyxfunc.C (dispatch): track if we need an update
1566
1567         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1568
1569         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1570         (paintSelection): cheap optimization, do not call cursorX when not
1571         needed
1572         (paintPars): change signature
1573         (refreshPar): add
1574         (paintText): adjust
1575         (paintTextInset): adjust
1576
1577         * text.C: adjust
1578
1579 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * lengthcommon.C: compilation fix: remove explicit array size from
1582         unit_name[] and friends
1583
1584 2004-04-05  Angus Leeming  <leeming@lyx.org>
1585
1586         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1587
1588         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1589         present only for the preferences dialog.
1590         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1591
1592 2004-04-05  Angus Leeming  <leeming@lyx.org>
1593
1594         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1595         to enable the frontends to export changes to lyxrc correctly.
1596
1597         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1598
1599 2004-04-07  André Pönitz  <poenitz@gmx.net>
1600
1601         * cursor.[Ch] (selClear, adjust): remove math
1602
1603         * cursor_slice.C: more agressive assert
1604
1605         * lyxfunc.C:
1606         * BufferView_pimpl.C: rework mouse event dispatch
1607
1608         * dociterator.C:
1609         * paragraph.C:
1610         * text2.C:
1611         * text3.C: adjust
1612
1613 2004-04-05  André Pönitz  <poenitz@gmx.net>
1614
1615         * cursor.[Ch] (valign, halign...): remove unneeded functions
1616
1617 2004-04-05  Angus Leeming  <leeming@lyx.org>
1618
1619         * lyxlength.[Ch] (unit_name et al.): const-correct.
1620
1621 2004-04-05  Angus Leeming  <leeming@lyx.org>
1622
1623         * BufferView_pimpl.C:
1624         * buffer.C:
1625         * counters.C:
1626         * cursor.C:
1627         * lyxfunc.C
1628         * paragraph.C:
1629         * pariterator.C:
1630         * text.C:
1631         * text2.C:
1632         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1633
1634 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1635
1636         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1637
1638 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1639
1640         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1641         * BufferView_pimpl.[Ch] (getStatus)
1642         * BufferView.[Ch] (getStatus): add
1643         * lyxfunc.C (getStatus): move lfuns handled in
1644         BufferView::dispatch to te function above
1645         * Cursor.C (setSelection): set selection() = true
1646
1647 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1648
1649         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1650
1651 2004-03-31  Angus Leeming  <leeming@lyx.org>
1652
1653         * lyxfunc.C (dispatch): Fall through to the generic
1654         Dialogs::show("preamble").
1655
1656 2004-03-31  Angus Leeming  <leeming@lyx.org>
1657
1658         * lyxfunc.C (dispatch): Fall through to the generic
1659         Dialogs::show("spellchecker").
1660
1661 2004-03-31  Angus Leeming  <leeming@lyx.org>
1662
1663         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1664         preferences dialog.
1665
1666 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1667
1668         * BufferView.C
1669         * cursor.[Ch]
1670         * dociterator.[Ch]:
1671         * insetiterator.[Ch]:
1672         * lyxfind.C:
1673         * lyxfunc.C:
1674         * pariterator.[Ch]:
1675         * text2.C:
1676         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1677
1678 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1679
1680         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1681         insets where we are putting the cursor.
1682
1683 2004-03-31  Angus Leeming  <leeming@lyx.org>
1684
1685         * lfuns.h:
1686         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1687
1688         * lyxrc.[Ch] (read, write): overloaded member functions taking
1689         a std::[io]stream arguments.
1690
1691         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1692
1693 2004-03-31  Angus Leeming  <leeming@lyx.org>
1694
1695         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1696         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1697
1698         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1699         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1700
1701 2004-03-31  Angus Leeming  <leeming@lyx.org>
1702
1703         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1704         the LFUN_ALL_INSETS_TOGGLE code.
1705
1706 2004-03-30  Angus Leeming  <leeming@lyx.org>
1707
1708         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1709         has died. Fall through to the generic Dialogs::show("document").
1710
1711 2004-03-30  Angus Leeming  <leeming@lyx.org>
1712
1713         * lfuns.h:
1714         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1715         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1716
1717         * lyxfunc.C (getStatus, dispatch): define the actions for these
1718         lfuns. Little more than a cut and pste job from ControlDocument.C
1719
1720         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1721
1722 2004-03-30  Angus Leeming  <leeming@lyx.org>
1723
1724         * lfuns.h:
1725         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1726         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1727
1728         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1729         open/closed state of ollapsable insets. Usage:
1730
1731         all-inset-toggle <state> <name>, where
1732         <state> == "open" || "closed" || "toggle" and
1733         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1734
1735         * lyxtext.h, text2.C (toggleInset): removed.
1736
1737         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1738         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1739         now passes LFUN_INSET_TOGGLE to the found inset.
1740
1741         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1742         is now invoked as "all-insets-toggle toggle branch".
1743
1744 2004-03-30  Angus Leeming  <leeming@lyx.org>
1745
1746         * dociterator.C:
1747         * insetiterator.C:
1748         * pariterator.[Ch]: added/corrected header blurb.
1749
1750 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1751
1752         * dociterator.[Ch]: add an inset_ member
1753         (backwardPos): implemented
1754         (backwardPos, forwardPos): use inset_ when the stack is empty.
1755         (doc_iterator_begin, doc_iterator_end): implemented
1756         * pariterator.[Ch]: adjust, add begin, end
1757         * insetiterator.[Ch]: adjust, add begin, end
1758         * cursor.C:
1759         * document.C:
1760         * BufferView.C:
1761         * BufferView_pimpl.C:
1762         * CutAndPaste.C: adjust
1763
1764 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1765
1766         * buffer.C: increment file format to 232.
1767         * LaTeXFeatures.C: add bibtopic package.
1768         * bufferparams.[Ch]: param \use_bibtopic.
1769
1770         * lyxrc.[Ch]: add lyxrc bibtex_command
1771         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1772
1773         * buffer.C: increment file format to 231.
1774
1775 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * dociterator.C: implement forwardPar
1778         * iterators.[Ch]: remove, replaced by
1779         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1780         * BufferView.C:
1781         * BufferView_pimpl.C:
1782         * CutAndPaste.C:
1783         * buffer.C:
1784         * bufferview_funcs.C:
1785         * cursor.C:
1786         * lyxfind.C
1787         * lyxfunc.C
1788         * paragraph_funcs.C
1789         * toc.C:
1790         * Makefile.am: adjust
1791
1792 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * CutAndPaste.C (pasteSelection): fix 2 crashes
1795         (eraseSelection): fix a crash
1796         * paragraph_funcs.C: remove a warning
1797
1798 2004-03-28  Angus Leeming  <leeming@lyx.org>
1799
1800         * lfuns.h:
1801         * LyXAction.C (init): new LFUN_PRINT.
1802
1803         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1804
1805 2004-03-27  Angus Leeming  <leeming@lyx.org>
1806
1807         * lfuns.h:
1808         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1809
1810         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1811
1812 2004-03-27  Angus Leeming  <leeming@lyx.org>
1813
1814         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1815         insetlist always contains non-null pointers to insets.
1816
1817 2004-03-26  Angus Leeming  <leeming@lyx.org>
1818
1819         * src/BufferView_pimpl.C:
1820         * src/CutAndPaste.C:
1821         * src/buffer.C:
1822         * src/iterators.C:
1823         * src/output_plaintext.C:
1824         * src/outputparams.h:
1825         * src/paragraph_funcs.C:
1826         * src/rowpainter.C:
1827         * src/text.C:
1828         * src/text2.C:
1829         * src/frontends/controllers/ControlErrorList.C:
1830         * src/frontends/gtk/FileDialogPrivate.C:
1831         * src/frontends/gtk/GPainter.C:
1832         * src/frontends/gtk/GToolbar.C:
1833         * src/frontends/qt2/QRef.C:
1834         * src/mathed/math_scriptinset.C: squash compiler warnings.
1835
1836 2004-03-26  Angus Leeming  <leeming@lyx.org>
1837
1838         * ispell.C (LaunchIspell::start):
1839         * lyx_cb.C (AutoSaveBuffer::start):
1840         invoke run(DontWait) rather than runNonBlocking().
1841
1842 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1843
1844         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1845
1846 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1847
1848         * kbsequence.C (print): adjust
1849
1850         * kbmap.C (printKeySym): rename and change signature
1851         (printKey): use LyXKeySym::print()
1852
1853 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1854
1855         * undo.C: add using std::advance to compile for stlport
1856
1857 2004-03-24  Angus Leeming  <leeming@lyx.org>
1858
1859         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1860         it leads to a crash when no buffer is present.
1861
1862 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1863             Martin Vermeer  <martin.vermeer@hut.fi>
1864
1865         * lyxfunc.C (dispatch):
1866         * bufferparams.C (readToken): use the new LColor::setColor
1867
1868         * LColor.[Ch] (setColor): new version that takes two strings as
1869         argument and creates a new color entry if necessary
1870
1871 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1872
1873         * buffer.C (makeLaTeXFile): if the main latex file that is
1874         processed is usually a subdocument of some master, then pretend
1875         for a while that it is actually the master
1876
1877 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1878
1879         * buffer.C (getLabelList):
1880         (getBibkeyList): use getMasterBuffer()
1881         (getMasterBuffer): new method. Returns the main document in the
1882         case where one is using included documents.
1883
1884 2004-03-25  André Pönitz  <poenitz@gmx.net>
1885
1886         * Makefile.am:
1887         * iterators.[Ch]:
1888         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1889
1890         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1891
1892         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1893         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1894
1895         * ParameterStruct.h: merge with ParagraphParameters
1896
1897         * lyxtext.h: remove LyXText::parOffset() and getPar()
1898
1899         * text3.C: Remove all 'manual' update calls. We do now one per user
1900         interaction which is completely sufficient.
1901
1902         * Bidi.C:
1903         * BufferView.[Ch]:
1904         * BufferView_pimpl.C:
1905         * FontIterator.[Ch]:
1906         * MenuBackend.C:
1907         * ParagraphParameters.[Ch]:
1908         * buffer.C:
1909         * buffer.h:
1910         * bufferlist.C:
1911         * cursor.[Ch]:
1912         * cursor_slice.[Ch]:
1913         * dociterator.[Ch]:
1914         * errorlist.[Ch]:
1915         * factory.C:
1916         * lfuns.h:
1917         * lyxfind.C:
1918         * lyxfunc.C:
1919         * output_docbook.[Ch]:
1920         * output_latex.[Ch]:
1921         * output_linuxdoc.[Ch]:
1922         * output_plaintext.[Ch]:
1923         * paragraph.[Ch]:
1924         * paragraph_funcs.[Ch]:
1925         * paragraph_pimpl.[Ch]:
1926         * rowpainter.C:
1927         * tabular.[Ch]:
1928         * text.C:
1929         * text2.C:
1930         * toc.C:
1931         * undo.[Ch]: adjust
1932
1933         * frontends/controllers/ControlDocument.C:
1934         * frontends/controllers/ControlErrorList.C:
1935         * frontends/controllers/ControlSpellchecker.C:
1936         * insets/inset.C:
1937         * insets/inset.h:
1938         * insets/insetbase.h:
1939         * insets/insetbibitem.C:
1940         * insets/insetbox.C:
1941         * insets/insetbranch.C:
1942         * insets/insetcaption.C:
1943         * insets/insetcharstyle.C:
1944         * insets/insetcharstyle.h:
1945         * insets/insetcollapsable.C:
1946         * insets/insetcollapsable.h:
1947         * insets/insetert.C:
1948         * insets/insetfloat.C:
1949         * insets/insetfoot.C:
1950         * insets/insetmarginal.C:
1951         * insets/insetnote.C:
1952         * insets/insetoptarg.C:
1953         * insets/insettabular.C:
1954         * insets/insettext.C:
1955         * insets/insettext.h:
1956         * insets/insetwrap.C:
1957         * mathed/math_mboxinset.C:
1958         * mathed/math_nestinset.C:
1959         * mathed/math_scriptinset.C:
1960         * mathed/math_scriptinset.h:
1961         * support/types.h:
1962
1963 2004-03-24  Angus Leeming  <leeming@lyx.org>
1964
1965         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1966         deal with any child processes that have finished but are waiting to
1967         communicate this fact to the rest of LyX.
1968
1969 2004-03-24  Angus Leeming  <leeming@lyx.org>
1970
1971         64-bit compile fixes.
1972
1973         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1974         (c-tor): pass lyx::pos_types rather than ints.
1975
1976         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1977         lyx::pos_type.
1978
1979         * text.C (Delete): compile fix.
1980         (getPar): ensure that function declaration is the same as that in
1981         the header file.
1982
1983 2004-03-23  Angus Leeming  <leeming@lyx.org>
1984
1985         * ispell.C (LaunchIspell):
1986         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1987         a boost::shred_ptr rather than a std::auto_ptr.
1988
1989 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1990
1991         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1992         handle LFUN_FILE_INSERT_*
1993
1994         * lyxrc.C (setDefaults, getDescription, output, read):
1995         * lyxrc.h: remove ps_command
1996
1997 2004-03-22  Angus Leeming  <leeming@lyx.org>
1998
1999         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2000         Ensure that error_handler is processed once only and that all data
2001         is saved before attempting to output any warning messages.
2002
2003         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2004
2005 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2006
2007         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2008
2009 2004-03-19  André Pönitz  <poenitz@gmx.net>
2010
2011         * cursor.[Ch] (reset): take main text inset as argument
2012
2013         * BufferView: adjust
2014         * BufferView_pimpl.C: adjust
2015
2016         * paragraph.[Ch]: fix completely broken operator=()
2017
2018 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * LColor.C (getFromLyXName): make sure that the color name is used
2021         as lowercase.
2022
2023 2004-03-17  Angus Leeming  <leeming@lyx.org>
2024
2025         * lfuns.h:
2026         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2027
2028         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2029         dialog and to kill a forked process.
2030
2031 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2032
2033         * text2.C (setCursorFromCoordinates): fix font problem
2034
2035 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2036
2037         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2038         bogus "rebuild cursor" code
2039
2040 2004-03-11  André Pönitz  <poenitz@gmx.net>
2041
2042         * buffer.[Ch]: use InsetText instead of LyXText as container for
2043         the main lyx text.
2044
2045         * dociterator.[Ch]: drop the BufferView * member which is not needed
2046         anymore after the change to buffer.C
2047
2048         * paragraph_funcs.C:
2049         * text.C:
2050         * text2.C:
2051         * BufferView.[Ch]:
2052         * BufferView_pimpl.[Ch]:
2053         * cursor.[Ch]:
2054         * cursor_slice.[Ch]: adjust
2055
2056         * text3.C: fix bug in mathDispatch
2057
2058 2004-03-08  André Pönitz  <poenitz@gmx.net>
2059
2060         * undo.[Ch]: use 'StableDocumentIterator' as base for
2061         the Undo struct.
2062
2063 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2064
2065         * LaTeXFeatures.C:
2066         * bufferparams.[Ch]: add jurabib support and param.
2067
2068         * LaTeX.C: add FIXME/comment.
2069
2070 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2071
2072         * buffer.C: increment file format to 230.
2073
2074 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2075
2076         * cursor.C (dispatch): avoid infinite loops
2077
2078 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * rowpainter.C (paintSelection): fix x coordinates
2081
2082 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2083
2084         * text.C (rowBreakPoint): fix breaking before displayed insets
2085
2086 2004-03-01  André Pönitz  <poenitz@gmx.net>
2087
2088         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2089
2090         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2091
2092         * Makefile.am:
2093         * BufferView.C:
2094         * BufferView_pimpl.C:
2095         * buffer.C:
2096         * lyxfind.C:
2097         * lyxfunc.C:
2098         * text.C:
2099         * text2.C:
2100         * text3.C: adjust
2101
2102 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2103
2104         * lyxtext.h:
2105         * text.C:
2106         * text2.C:
2107         * rowpainter.C:
2108         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2109         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2110
2111 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * Bidi.[Ch] (computeTables): const correctness
2114         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2115         fill_hfill, fill_label_hfill and x from Row
2116         * lyxtext.h: prepareToPrint returns a RowMetrics
2117         * rowPainter.C: adjust
2118         * text.C (prepareToPrint): use width, not textWidth. adjust
2119         (redoParagraphInternal, cursorX): adjust
2120         * text2.C (getColumnNearX): adjust
2121         (init): put a default value to the top LyXText::width
2122
2123 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2124
2125         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2126
2127 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2128
2129         * lyxtext.h: add FontIterator class
2130
2131         * text.C (FontIterator, operator*, operator->, operator++): add
2132         (rowBreakPoint, setRowWidth): adjust (fixing a
2133         rebreaking bug)
2134
2135 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2136
2137         * BufferView_pimpl.C (workAreaDispatch): allow also
2138         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2139
2140 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2141
2142         * text.C (rowBreakPoint): fix a bug showing with very large insets
2143
2144 2004-02-25  André Pönitz  <poenitz@gmx.net>
2145
2146         * text3.C:
2147         * cursor.[Ch]: move some mathed specific code to mathed
2148
2149 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2150
2151         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2152         use_tempdir in preferences
2153         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2154         tempfile creation
2155         * lyx_main.C: ensure that tempdir is valid
2156         * lyxlex.h: correct typo
2157         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2158         * paragraph.[Ch] (isMultiLingual): make const
2159         * cursor.[Ch] (openable): make const
2160
2161 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2162
2163         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2164
2165 2004-02-20  André Pönitz  <poenitz@gmx.net>
2166
2167         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2168
2169         * cursor.[Ch]: prepare for localized getStatus()
2170
2171         * lyxtext.h:
2172         * tabular.C:
2173         * text.C:
2174         * text2.C:
2175         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2176
2177 2004-02-20  André Pönitz  <poenitz@gmx.net>
2178
2179         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2180
2181 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2182
2183         * text2.C (setCursorFromCoordinates): switch to absolute coords
2184         (cursorUp): adjust
2185         (cursorDown): adjust
2186         * text3.C (dispatch): adjust
2187
2188 2004-02-16  André Pönitz  <poenitz@gmx.net>
2189
2190         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2191           insets/ChangeLog)
2192
2193         * cursor_slice.[Ch]: remove unneeded acessor function
2194
2195         * lyxtext.h: rename rtl() to isRTL()
2196
2197         * rowpainter.C:
2198         * tabular.C:
2199         * text.C:
2200         * text2.C:
2201         * text3.C: adjust
2202
2203 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2204
2205         * rowpainter.C (paintSelection): coord fix
2206
2207 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2208
2209         * Spacing.C: compile fix
2210
2211 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2212
2213         * cursor.C (dispatch): restore current_ before returning
2214
2215 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2216
2217         * text2.C (cursorUp, cursorDown): fix coords
2218         (moveUp): fix crash
2219
2220 2004-02-12  André Pönitz  <poenitz@gmx.net>
2221
2222         * lyxtext.h:
2223         * text.C:
2224         * text2.C:
2225         * text3.C: add LCursor & parameter to most cursor movement functions
2226           remove usage of LyXText::cursorRow() and cursorPar()
2227
2228         * cursor.[Ch]: add textRow() needed members
2229
2230         * BufferView.C:
2231         * BufferView_pimpl.C:
2232         * paragraph.[Ch]:
2233         * BufferView.C:
2234         * BufferView_pimpl.C: adjust
2235
2236 2004-02-11  André Pönitz  <poenitz@gmx.net>
2237
2238         * lyxfunc.C:
2239         * BufferView.[Ch]:
2240         * BufferView_pimpl.C: shift undo/redo handling
2241
2242         * cursor.[Ch]: fix mathed crash
2243
2244         * lyxfind.C:
2245         * lyxtext.h: move selectionAsText to LCursor
2246
2247         * output_latex.C:
2248         * paragraph.C:
2249         * text.C:
2250         * text2.C:
2251         * text3.C: adjust
2252
2253         * rowpainter.C: fix excessive drawing
2254
2255 2004-02-06  André Pönitz  <poenitz@gmx.net>
2256
2257         * BufferView.[Ch]:
2258         * BufferView_pimpl.[Ch]:
2259         * text3.C: move some text specific LFUN handling
2260
2261 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2262
2263         * text3.C (checkInsetHit): adjust coords
2264         * text2.C (getColumnNearX): adjust coords
2265         (edit): adjust coords
2266         * text.C (getRowNearY): add two asserts
2267
2268 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2269
2270         * converter.C:
2271         * format.C: add using std::distance to compile on gcc 2.95/stlport
2272
2273 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2274
2275         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2276
2277 2004-02-04  André Pönitz  <poenitz@gmx.net>
2278
2279         * BufferView.[Ch] (insertInset):
2280         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2281
2282         * text2.C:
2283         * text3.C: adjust
2284
2285 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2286
2287         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2288         on the default clause of the switch
2289         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2290         wasn't catched by LCursor::dispatch
2291
2292 2004-02-03  André Pönitz  <poenitz@gmx.net>
2293
2294         * BufferView.C:
2295         * cursor.[Ch]: some additional asserts
2296
2297         * undo.[Ch]: remove LyXText dependency in interface
2298
2299         * lyxfunc.C: adjust
2300
2301         * lyxtext.h (firstPar, lastPar): remove dead functions
2302
2303         * text.C:
2304         * text2.C:
2305         * text3.C:
2306         * paragraph.[Ch]: adjust
2307
2308 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2309
2310         * lyxfind.C (find): fix argument order in call to ::find
2311
2312 2004-02-02  André Pönitz  <poenitz@gmx.net>
2313
2314         * cursor.[Ch]: remove direct access to anchor
2315
2316         * text.C: remove findText() hack
2317
2318 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2319
2320         * iterators.[Ch] (lockPath): remove in favour of...
2321         * BufferView.[Ch] (setCursor): this addition
2322         * BufferView.C (putSelectionAt): adjust
2323         * undo.C (performUndoOrRedo): adjust
2324         * lyxfunc.C (dispatch): adjust
2325
2326 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2327
2328         * iterators.C (lockPath): add a missing slice
2329         * undo.C (performUndoOrRedo): remove redundant positioning code
2330
2331 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2332
2333         * vc-backend.C (scanMaster): ";" -> ';'
2334
2335 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2336
2337         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2338         std::binary_function
2339
2340         * lyxtextclass.C (compare_name): rename to...
2341         (LayoutNamesEqual): ...this
2342
2343         * lyxlex_pimpl.C (compare_tags): inherit from
2344         std::binary_function, put back into anon namespace
2345
2346         * lyxfind.C (MatchString): inherig from std::binary_function
2347         (findChange): use empty() istead of !size()
2348
2349         * format.C (FormatNamesEqual): new functor
2350         (getFormat): use it
2351         (getNumber): use it
2352         (add): use it
2353         (erase): use it
2354         (setViewer): use it
2355
2356         * converter.C (compare_Converter): rename to...
2357         (ConverterEqual): ...this, and fixup a bit.
2358         (getConverter): use it, and make function const
2359         (getNumber): use it, and make function const
2360         (add): use it
2361         (erase): use it:
2362
2363         * bufferlist.C: add using boost::bind
2364
2365         * MenuBackend.C (MenuNamesEqual): new functor
2366         (hasMenu): use it, and make function const
2367         (hasSubmenu): use nested bind to get rid of compare_memfun.
2368
2369 2004-01-30  André Pönitz  <poenitz@gmx.net>
2370
2371         * BufferView_pimpl.C:
2372         * cursor.C:
2373         * cursor.h:
2374         * cursor_slice.[Ch]:
2375         * lyxfunc.C:
2376         * lyxtext.h:
2377         * paragraph_funcs.C:
2378         * paragraph_funcs.h:
2379         * rowpainter.C:
2380         * text.C:
2381         * text2.C:
2382         * text3.C: move some of the edit(x,y) handling to the insets
2383         some coordinate changes.
2384
2385 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2386
2387         * text.C: add using statements for std::advance and std::distance
2388
2389         * paragraph.C: add using statement for std::distance
2390
2391         * lyxfind.C: add using statement for std::advance
2392
2393         * cursor.C (region): remove std:: from swap
2394         (openable): use nucleus in stead of operator->
2395
2396         * BufferView.C: add using statements for std::distance and std::swap
2397
2398 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2399
2400         * iterators.C: Remove the pimple, move the needed structures to
2401         the header file. Create accessor for the positions stack.
2402         (asPosIterator): remove function
2403
2404         * PosIterator.C (PosIterator): move constructors to top of file
2405         (PosIterator): reimplement the constructor taking a ParIterator in
2406         terms of setFrom.
2407         (setFrom): new function
2408         (operator!=): inline it
2409
2410 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2411
2412         * lyxfind.C (replaceAll): use std::advance
2413
2414         * iterators.h: inherit from std::iterator.
2415
2416         * PosIterator.C (advance, distance): remove
2417         * PosIterator.h: interit from std::iterator.
2418
2419 2004-01-26  André Pönitz  <poenitz@gmx.net>
2420
2421         * BufferView.[Ch]:
2422         * BufferView_pimpl.[Ch]:
2423         * InsetList.[Ch]:
2424         * PosIterator.[Ch]:
2425         * buffer.h:
2426         * bufferview_funcs.C:
2427         * cursor.[Ch]:
2428         * cursor_slice.h:
2429         * factory.[Ch]:
2430         * iterators.[Ch]:
2431         * lyxfind.C:
2432         * lyxfunc.C:
2433         * lyxtext.h:
2434         * output_docbook.C:
2435         * output_latex.C:
2436         * output_linuxdoc.C:
2437         * output_plaintext.C:
2438         * paragraph.[Ch]:
2439         * paragraph_funcs.[Ch]:
2440         * paragraph_pimpl.[Ch]:
2441         * rowpainter.C:
2442         * tabular.C:
2443         * tabular.h:
2444         * text.C:
2445         * text2.C:
2446         * text3.C: more IU:  dumps most of the rest of the mathcursor
2447     implementation into cursor.[Ch]; "globalize" a bit of it.
2448
2449 2004-01-25  Angus Leeming  <leeming@lyx.org>
2450
2451         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2452
2453 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2454
2455         * LaTeXFeatures.h: add nice_ and nice() const
2456         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2457
2458 2004-01-20  André Pönitz  <poenitz@gmx.net>
2459
2460         * BufferView.[Ch]:
2461         * BufferView_pimpl.C:
2462         * PosIterator.C:
2463         * bufferview_funcs.C:
2464         * cursor.[Ch]:
2465         * cursor_slice.[Ch]:
2466         * factory.C:
2467         * iterators.C:
2468         * lyx_cb.C:
2469         * lyxfind.C:
2470         * lyxfunc.C:
2471         * lyxtext.h:
2472         * rowpainter.C:
2473         * text.C:
2474         * text2.C:
2475         * text3.C:
2476         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2477           LCursor and mathcursor parts to LCursor and InsetBase.
2478
2479 2004-01-15  André Pönitz  <poenitz@gmx.net>
2480
2481         * cursor_slice.[Ch]: add a few covienience functions
2482
2483         * funcrequest.[Ch]: remove BufferView * member
2484
2485         * BufferView_pimpl.C:
2486         * cursor.C:
2487         * factory.[Ch]:
2488         * lyxfind.[Ch]:
2489         * lyxfunc.C:
2490         * lyxtext.h:
2491         * text3.C:
2492         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2493
2494 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2497         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2498
2499 2004-01-13  André Pönitz  <poenitz@gmx.net>
2500
2501         * textcursor.[Ch]:
2502         * lyxtext.h: hide cursor and selection anchor behind accessor function
2503
2504         * BufferView.C:
2505         * BufferView_pimpl.[Ch]:
2506         * PosIterator.C:
2507         * bufferview_funcs.C:
2508         * cursor.h:
2509         * lyxfind.C:
2510         * lyxfunc.C:
2511         * text.C:
2512         * text2.C:
2513         * text3.C:
2514         * undo.C: adjust
2515
2516         * cursor.h:
2517         * cursor_slice.[Ch]: some integer type changes for inset unification
2518
2519         * lyxcursor.[hC]: remove, it's CursorSlice now.
2520
2521         * Makefile.am:
2522         * BufferView_pimpl.[Ch]:
2523         * bufferview_funcs.C:
2524         * cursor_slice.C:
2525         * lyxtext.h:
2526         * text.C:
2527         * text2.C:
2528         * text3.C:
2529         * textcursor.[Ch]: adjust
2530
2531 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2532
2533         * text2.C (undoSpan): add and use
2534         * text.C (breakParagraph): use undoSpan (fix bug 578)
2535         * lyxtext.h: adjust
2536
2537 2004-01-08  Angus Leeming  <leeming@lyx.org>
2538
2539         * BufferView_pimpl.C (MenuInsertLyXFile):
2540         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2541         * lyxfunc.C (menuNew, open, doImport):
2542         FileFilterList change to the FileDialog open and save functions.
2543
2544 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2545
2546         * ShareContainer.h: make isEqual and isUnique adaptable
2547
2548         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2549
2550 2004-01-07  Angus Leeming  <leeming@lyx.org>
2551
2552         * LyXAction.C:
2553         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2554
2555         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2556
2557         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2558         functions replacing find, replace and replaceAll.
2559
2560         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2561         LFUN_WORDFIND(FORWARD|BACKWARD).
2562
2563 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2564
2565         * text.C (breakParagraph): remove an outdated #warning
2566
2567 2004-01-07  André Pönitz  <poenitz@gmx.net>
2568
2569         * lyxfind.C: somewhat clearer logic
2570
2571         * text.C: prevent crash in cursorX on unitialized row cache
2572
2573 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * lyxcursor.[Ch] (operator>): add
2576         * textcursor.C (selStart, selEnd): use std::min and std::max
2577
2578 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2579
2580         * Chktex.C: include boost/format.hpp
2581
2582 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2583
2584         * InsetList.C: replace functor MathcIt with adaptable functor
2585         InsetTablePosLess
2586         (insetIterator): modify accordingly
2587
2588         * BranchList.h: move the BranchNamesEqual functor here from...
2589         * BranchList.C: ... to here
2590
2591         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2592         SameName and match.
2593         (add): replace a finding loop with std::find_if.
2594
2595 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2596
2597         * output_docbook.C: moving LatexParam functionality into
2598         .layout files
2599
2600 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2601
2602         * buffer.C: increment format to 229.
2603
2604 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2605
2606         * LaTeXFeatures.C:
2607         * lyx_sty.[Ch]: remove minipageindent_def
2608
2609         * LyXAction.C:
2610         * factory.C:
2611         * lfuns.h:
2612         * lyxfunc.C:
2613         * text3.C: remove LFUN_INSET_MINIPAGE
2614
2615 2003-12-28  Angus Leeming  <leeming@lyx.org>
2616
2617         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2618
2619 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2620
2621         * text2.C (setParagraph): fix off-by-one crash
2622
2623 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2624
2625         * output_docbook.C: header stuff for AGU
2626
2627 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * text2.C (redoCursor): remove
2630         * text.C:
2631         * text3.C:
2632         * BufferView_pimpl.C: remove calls to redoCursor and
2633         setCursor(cursor.par(), cursor.pos()) all around
2634
2635 2003-12-15  Angus Leeming  <leeming@lyx.org>
2636
2637         * buffer.C: up the format to 228.
2638
2639 2003-12-15  André Pönitz  <poenitz@gmx.net>
2640
2641         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2642         slices
2643
2644         * Makefile.am:
2645
2646         * BufferView_pimpl.C:
2647         * cursor.[Ch]:
2648         * lyxcursor.[Ch]:
2649         * rowpainter.[Ch]:
2650         * lyxtext.h:
2651         * text.C:
2652         * text2.C:
2653         * text3.C: adjust
2654
2655 2003-12-15  Angus Leeming  <leeming@lyx.org>
2656
2657         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2658         than getFromGUIName to manipulate the color.
2659
2660 2003-12-14  Angus Leeming  <leeming@lyx.org>
2661
2662         * BranchList.[Ch]: minimize the API.
2663         (Branch::getBranch, getColor): now return a 'const &'.
2664         (Branch::setSelected) now returns a bool set to true if the
2665         selection status changes.
2666         (BranchList::clear, size, getColor, setColor, setSelected,
2667         allBranches, allSelected, separator): removed.
2668         (BranchList::find): new functions, returning the Branch with
2669         the given name.
2670         (BranchList::add, remove): return a bool indicating that
2671         the operation was successful.
2672
2673         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2674         new InsetBranch::isBranchSlected member function.
2675
2676         * LColor.[Ch]: mimimize the API.
2677         (fill): renamed as addColor and made private.
2678         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2679         versions of these functions taking a string arg have been removed.
2680
2681         * bufferparams.C (readToken):
2682         * lyxfunc.C (dispatch):
2683         * lyxrc.C (read): changes due to the altered BranchList and
2684         LColor APIs.
2685
2686         * factory.C (createInset, readInset): changes due to altered
2687         InsetBranch c-tor.
2688
2689 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2690
2691         * factory.C:
2692         * lyxfunc.C: remove insetminipage. "minipage-insert"
2693         now produces a frameless minipage box inset.
2694
2695 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2696
2697         * textcursor.[Ch] (selStart,selEnd): add new methods
2698         remove selection::start, end, use LyXCursor::operator<
2699         * lyxcursor.[Ch] (operator<): add
2700         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2701         * BufferView.[Ch] (unsetXSel): add
2702         * text2.C (clearSelection): use unsetXSel,adjust
2703         * text.C: adjust
2704         * text3.C: adjust
2705         * rowpainter.C: adjust
2706         * bufferview_funcs.C (put_selection_at): adjust
2707
2708 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * BufferView_pimpl.C: small coord. correction
2711
2712 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2715         dragging over the splash screen.
2716
2717 2003-12-11  Angus Leeming  <leeming@lyx.org>
2718
2719         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2720         as it is now handled in LyXText::dispatch.
2721
2722         * text3.C (doInsertInset): remove a level of nesting.
2723
2724 2003-12-11  Angus Leeming  <leeming@lyx.org>
2725
2726         * factory.C (createInset): changes due to the changed interface to
2727         InsetCommandMailer::string2params.
2728
2729 2003-12-10  Angus Leeming  <leeming@lyx.org>
2730
2731         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2732         'dialog-show-new-inset <inset name>'
2733
2734 2003-12-10  Angus Leeming  <leeming@lyx.org>
2735
2736         * buffer.C: up the format to 227.
2737
2738         * factory.C: the box inset is now identified simply by 'Box'.
2739
2740 2003-12-10  Angus Leeming  <leeming@lyx.org>
2741
2742         * buffer.C: up the format to 226.
2743
2744         * factory.C: the note inset is now identified simply by 'Note'.
2745
2746 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2747
2748         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2749         when a pit is enough. Standarize a couple of loops.
2750
2751 2003-12-05  Angus Leeming  <leeming@lyx.org>
2752
2753         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2754         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2755         data to the re-worked "log" dialog.
2756
2757 2003-12-03  André Pönitz  <poenitz@gmx.net>
2758
2759         * PosIterator.C:
2760         * iterators.C:
2761         * lyxtext.h:
2762         * output_latex.C:
2763         * paragraph_funcs.C:
2764         * text.C:
2765         * text2.C: use Inset::getText instead of Inset::getParagraph
2766
2767 2003-12-03  André Pönitz  <poenitz@gmx.net>
2768
2769         * buffer.[Ch]:
2770         * lyxtext.h:
2771         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2772         InsetText::read() as LyXText::read()
2773
2774 2003-12-02  Angus Leeming  <leeming@lyx.org>
2775
2776         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2777         type. Add a comment in the implementation that the function uses
2778         the stream's bad() function rather than fail() as the std::streams
2779         would do.
2780
2781 2003-12-02  André Pönitz  <poenitz@gmx.net>
2782
2783         * lyxlex.[Ch]: make interface more similar to std::stream
2784
2785         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2786
2787 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2788
2789         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2790
2791 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2792
2793         * vspace.[Ch]: remove VSpace::NONE
2794
2795 2003-12-01  André Pönitz  <poenitz@gmx.net>
2796
2797         * buffer.[Ch]:
2798         * lyxtext.h: move ParagraphList member to LyXText
2799         rename LyXText::ownerParagraphs to LyXText::paragraph
2800
2801         * CutAndPaste.C:
2802         * bufferview_funcs.C:
2803         * iterators.[Ch]:
2804         * lyx_cb.C:
2805         * paragraph.C:
2806         * rowpainter.C:
2807         * tabular.C:
2808         * text.C:
2809         * text2.C:
2810         * text3.C: adjust
2811
2812         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2813
2814         * undo.C: fix cursor positioning
2815
2816 2003-12-01  John Levon  <levon@movementarian.org>
2817
2818         * BufferView_pimpl.C: fix a crash on exit with
2819         a buffer open
2820
2821 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2822
2823         * BranchList.C: fix setSelected() method.
2824
2825 2003-11-28  André Pönitz  <poenitz@gmx.net>
2826
2827         * ParagraphParameters.[Ch]:
2828         * ParameterStruct.h: remove space above/below from Paragraph to
2829          InsetVSpace
2830
2831         * BufferView_pimpl.C:
2832         * factory.C:
2833         * lyxfunc.C:
2834         * lyxtext.h:
2835         * output_latex.C:
2836         * paragraph.C:
2837         * paragraph_funcs.C:
2838         * rowpainter.[Ch]:
2839         * text.C:
2840         * text2.C:
2841         * text3.C: adjust
2842
2843 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2844
2845         * factory.C: Syntax change for CharStyles
2846
2847 2003-11-28  André Pönitz  <poenitz@gmx.net>
2848
2849         * BufferView.[Ch]:
2850         * BufferView.[Ch]:
2851         * buffer.[Ch]:
2852         * buffer.[Ch]: move LyXText member
2853
2854 2003-11-28  André Pönitz  <poenitz@gmx.net>
2855
2856         * BufferView.[Ch]: make LyXText * text a private member
2857
2858         * BufferView_pimpl.C:
2859         * cursor.C:
2860         * iterators.C:
2861         * lyx_cb.C:
2862         * lyxfind.C:
2863         * lyxtext.h:
2864         * rowpainter.[Ch]:
2865         * text.C:
2866         * text2.C:
2867         * undo.C: adjust
2868
2869         * output_plaintext.C: cleanup
2870
2871 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2872
2873         * buffer.C:
2874         * lyxtextclass.[Ch]: parametrize SGML document header
2875
2876 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2877
2878         * converter.[Ch]:
2879         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2880         getFlavor().
2881
2882 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2883
2884         * text2.C (setFont): rework using PosIterator (no more recursive)
2885         (setCharFont): no more needed
2886         (setLayout): no more selection cursors fiddling (done by redoCursor)
2887         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2888         destroy remaining ones)
2889
2890 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2891
2892         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2893         * lyxtext.h: ditto
2894         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2895         selection cursors
2896         * lyxfunc.C: adjust
2897         * text3.C: adjust + re-allow multi par depth changes
2898         * textcursor.C: simplify a bit
2899
2900 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2901
2902         * src/buffer.C:
2903         * src/lyxlayout.C:
2904         * src/lyxlayout.h:
2905         * src/lyxtext.h:
2906         * src/output_docbook.C:
2907         * src/output_latex.C:
2908         * src/paragraph.C:
2909         * src/paragraph.h:
2910         * src/sgml.C:
2911         * src/sgml.h:
2912         * src/text2.C: Introducing a number of tags parametrizing various
2913         XML formats that we may want to support
2914
2915 2003-11-25  André Pönitz  <poenitz@gmx.net>
2916
2917         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2918
2919         * lyxtext.h (leftMargin/rightMargin): simplify interface
2920
2921         * rowpainter.C:
2922         * text.C:
2923         * text2.C:
2924         * text3.C: adjust
2925
2926 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2927
2928         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2929         master file to any child files. Fixes bug 546.
2930
2931 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2934
2935 2003-11-24  André Pönitz  <poenitz@gmx.net>
2936
2937         * rowpainter.C: simplification
2938
2939         * text2.C (updateCounters): remove call to redoParagraph on
2940         changed labels as this is far too expensive.
2941
2942 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * converter.C (convert): fix a crash: this function gets
2945         called with buffer == 0 from importer code.
2946
2947 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2948
2949         * text3.C (cursorPrevious): make sure that we do not compare
2950         iterators form different containers.
2951         (cursorNext): ditto
2952
2953         * rowpainter.C (paintSelection): make sure that we do not compare
2954         iterators from different containers.
2955
2956         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2957         iterators from different ParagraphList containers.
2958         [NEXT] ditto
2959
2960         * text2.C (LyXText): change order of initialization slightly
2961         (operator=): new function. copy all variables except cache_par_
2962         (moveUp): make sure that we do not compare iterators from
2963         different ParagraphList constainers.
2964         (moveDown): ditto
2965
2966         * text.C (firstPar): new function
2967         (lastPar): new function
2968         (endPar): new function
2969
2970         * lyxtext.h: move things around and group public functions, public
2971         variables, private functions, private variables
2972
2973 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2974
2975         * factory.C: change call to InsetERT constructor to avoid
2976         additional invocation of method status
2977         * text2.C (toggleInset): remove redundant update() call
2978         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2979         instead of a Bufferview pointer
2980
2981 2003-11-21  André Pönitz  <poenitz@gmx.net>
2982
2983         * rowpainter.C: simplification
2984
2985 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2986
2987         * text3.C (dispatch): make possible to extend a word/row selection
2988         with the mouse
2989
2990 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2991
2992         * lyxtext.h: x0_,y0_ -> xo_,yo_
2993         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2994         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2995         * rowpainter.C (paintRows): paint full paragraphs
2996
2997 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2998
2999         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3000         screen coordinates)
3001
3002 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3003
3004         * lyxtext.h: add x0_, y0_
3005         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3006         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3007
3008 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3009
3010         * text2.C (setCursorIntern): move the x_target update here *
3011         * text3.C: change some bv() to true/false in calls to
3012         cursorUp/Down/Right/Left
3013         * cursor.C: use helper function.
3014
3015 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3018         * paragraph_funcs.[Ch]: correct comment
3019         * rowpainter.C: do not paint selections away from bv->cursor()
3020         Fix a long standing selection painting bug.
3021         * text3.C: generalize mouse-selection code to LyXTexts other that
3022         top one
3023         * textcursor.C: do not use y coords if we can use par offsets
3024
3025 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3026
3027         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3028         cursor position after e.g. inset insert)
3029
3030 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * lyxfind.C (replace): adjust to locking removal + some
3033         code simplification
3034
3035 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3036
3037         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3038         of the path
3039
3040 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3041
3042         * lyxlayout.[Ch]:
3043         * output_docbook.C: XML sanitation: new layout
3044         parameters InnerTag and CommandDepth
3045
3046 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3047
3048         * BufferView_pimpl.C:
3049         * factory.C:
3050         * text3.C: Fix the insertion and modification of button-style
3051         insets
3052
3053 2003-11-13  André Pönitz  <poenitz@gmx.net>
3054
3055         * InsetList.[Ch]: remove deleteLyXText
3056
3057         * paragraph.[Ch]: cache beginOfBody position
3058
3059         * Bidi.C:
3060         * text.C:
3061         * text2.C:
3062         * text3.C: remove superfluous update() calls
3063
3064         * vspace.C: cleanup
3065
3066 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3067
3068         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3069         * BufferView.C (fitLockedInsetCursor): remove
3070         * cursor.[Ch] (getDim): add
3071         * text.C (getRowNearY): add faster version
3072         * text3.C: remove some update calls
3073
3074 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3075
3076         * LaTeXFeatures.C:
3077         * LyXAction.C:
3078         * MenuBackend.C:
3079         * MenuBackend.h:
3080         * dispatchresult.h:
3081         * factory.C:
3082         * lfuns.h:
3083         * lyxfunc.C:
3084         * lyxtextclass.C:
3085         * lyxtextclass.h:
3086         * text3.C: The Character Style /XML short element patch.
3087
3088 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3089
3090         * text3.C:
3091         * factory.C: Small step to solving 'unable to insert some insets'
3092         problem
3093
3094 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3095
3096         * cursor.[Ch] (updatePos): new function for updating the y
3097         position of the tip inset
3098         * bufferview_funcs.C (put_selection_at):
3099         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3100
3101 2003-11-11  André Pönitz  <poenitz@gmx.net>
3102
3103         * text.C: remove big comment on invalid Paragraph pointers as it is
3104         not valid anymore
3105
3106 2003-11-11  André Pönitz  <poenitz@gmx.net>
3107
3108         * text_funcs.[Ch]: merge with ...
3109
3110         * text.C: ... this
3111
3112         * lyxtext.h:
3113         * text2.C:
3114         * text3.C: adjust
3115
3116         * Makefile.am: remove text_funcs.[Ch]
3117
3118 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3119
3120         * cursor.C (getPos): return absolute cached y coord
3121
3122         * BufferView_pimpl.C (fitCursor): new simplistic code
3123         (workAreaDispatch): add a fitCursor call
3124
3125 2003-11-10  André Pönitz  <poenitz@gmx.net>
3126
3127         * BufferView.[Ch]:
3128         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3129
3130 2003-11-10  André Pönitz  <poenitz@gmx.net>
3131
3132         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3133         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3134         indicate that the cursor needs to leave an inset
3135
3136         * lyxtext.h: remove inset locking
3137
3138         * cursor.[Ch]: re-implement functionality provided by inset locking
3139
3140         * BufferView.[Ch]:
3141         * BufferView_pimpl.[Ch]:
3142         * LyXAction.C:
3143         * bufferview_funcs.[Ch]:
3144         * factory.C:
3145         * funcrequest.[Ch]:
3146         * iterators.C:
3147         * lyx_cb.C:
3148         * lyxfind.C:
3149         * lyxfunc.C:
3150         * text.C:
3151         * text2.C:
3152         * text3.C:
3153         * undo.C: adjust
3154
3155 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3156
3157         * PosIterator.[Ch]: replace the stack with a vector, add inset
3158         accesor
3159         * iterators.[C]: adjust
3160
3161 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3162
3163         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3164         replaced
3165         * paragraph_funcs.C (readParToken): put the correct id in the
3166         error item, not the id of the top paragraph
3167
3168 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3169
3170         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3171         * bufferview_funcs.C (put_selection_at): use the above
3172
3173 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3174
3175         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3176
3177 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3178
3179         * output_linuxdoc.h:
3180         * output_plaintext.h:
3181         * output.h:
3182         * output_docbook.h: add #include statements
3183
3184 2003-11-05  José Matos  <jamatos@lyx.org>
3185
3186         * output_docbook.[Ch]:
3187         * output_latex.[Ch]:
3188         * output_linuxdoc.[Ch]:
3189         * output_plaintext.[Ch]: New files for output formats.
3190         * output.[Ch]: New file for helper functions.
3191
3192         * buffer.[Ch]:
3193         * paragraph_funcs.[Ch]: output functions moved to new files.
3194
3195         * outputparams.h: rename of latexrunparams.h
3196
3197         * LaTeX.[Ch]:
3198         * buffer.[Ch]:
3199         * bufferlist.[Ch]:
3200         * converter.[Ch]:
3201         * exporter.C:
3202         * paragraph.[Ch]:
3203         * paragraph_funcs.[Ch]:
3204         * paragraph_pimpl.[Ch]:
3205         * tabular.[Ch]: rename ascii to plaintext
3206         and LatexRunParams to OutputParams.
3207
3208 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3209
3210         * iterators.[Ch] (text): require bv argument
3211         * undo.C (recordUndo):
3212         * lyxfunc.C (dispatch):
3213         * bufferview_funcs.C (put_selection_at): adjust
3214
3215 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3216
3217         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3218
3219 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3220
3221         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3222         nestings
3223
3224 2003-11-04  André Pönitz  <poenitz@gmx.net>
3225
3226         * cursor.[Ch]: restructure
3227
3228         * BufferView.[Ch]:
3229         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3230
3231         * iterators.[Ch] (asCursor): remove
3232
3233         * lfuns.h: remove LFUN_INSET_EDIT
3234
3235         * lyxfunc.C:
3236         * tabular.C:
3237         * text.C:
3238         * text2.C:
3239         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3240
3241 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3242
3243         * lyxfind.[Ch]: complete overhaul
3244         * BufferView_pimpl.C:
3245         * lyxfunc.C: adjust
3246         * paragraph.[Ch] (insert): add
3247
3248 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * BufferView.[Ch]:
3251         * lyxtext.h:
3252         * text.C: remove dead spellcheck code
3253
3254 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * dispatchresult.h: add a val setter
3257
3258         * cursor.C (dispatch): use a tempvar for data_[i]
3259
3260 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3261
3262         * PosIterator.[Ch]: compile fix
3263
3264 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3265
3266         * text.C (cursorPar): deactivate the cursor cache
3267
3268 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3269
3270         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3271
3272 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3273
3274         * text3.C (dispatch): adjust for new DisptchResult semantics.
3275
3276         * lyxfunc.C (dispatch): handle update when return from
3277         Cursor::dispatch, adjust for new DispatchResult semantics.
3278
3279         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3280         DispatchResult(true) mean to not update. Add class functions for
3281         setting dispatched and update, as well as reading.
3282
3283         * cursor.C (dispatch): don't handle update here
3284
3285 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3286
3287         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3288         * trans_mgr.C: adjust
3289
3290         * paragraph_funcs.C (readParToken): exception safety
3291
3292         * lyxvc.h: store the vcs pointer in a scoped_ptr
3293         * lyxvc.C: adjust
3294
3295         * lyxsocket.C (serverCallback): exception safety
3296
3297         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3298
3299         * ispell.C (clone): make it return a auto_ptr
3300
3301         * factory.C (createInset): exception safety
3302         (readInset): exception safety
3303
3304         * bufferlist.C (newBuffer): exception safety
3305
3306         * Thesaurus.C (Thesaurus): use initialization for aik_
3307
3308         * MenuBackend.C (expandToc): exception safety.
3309
3310 2003-11-03  André Pönitz  <poenitz@gmx.net>
3311
3312         * buffer.C:
3313         * buffer.h:
3314         * bufferview_funcs.C: remove getInsetFromId()
3315
3316         * lyxcursor.[Ch]:
3317         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3318
3319         * lyxfunc.C:
3320         * text2.C:
3321         * text3.C: adjust
3322
3323 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3324
3325         * PosIterator.C (distance, advance): new
3326         * bufferview_funcs.[Ch] (put_selection_at): new
3327         * iterators.[Ch] (lockPath): new
3328
3329 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3330
3331         * iterators.[Ch] (asPosIterator): added
3332         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3333         * PosIterator.[Ch]: added
3334
3335 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3336
3337         * text3.C:
3338         * lyxfunc.C:
3339         * cursor.C (dispatch):
3340         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3341
3342         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3343         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3344         contructor, add a class function dispatched. Remove operator>=
3345
3346 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * debug.C: only use the default constructor for debugstream
3349         (lyxerr) here.
3350
3351         * main.C (main): include debug.h and setup the lyxerr streambuf
3352         here.
3353
3354 2003-10-31  José Matos  <jamatos@lyx.org>
3355
3356         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3357
3358         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3359         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3360         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3361         * paragraph_pimpl.C (simpleTeXSpecialC):
3362         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3363         add LatexRunParams argument.
3364
3365         * exporter.C (Export): change call accordingly.
3366
3367         * latexrunparams.h: add new member to take care of the other backends.
3368 2003-10-30  José Matos  <jamatos@lyx.org>
3369
3370         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3371         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3372         factorise code for paragraph output.
3373         * buffer.[Ch]:
3374         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3375         move functions.
3376
3377 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * text3.C (dispatch):
3380         * lyxfunc.C (dispatch):
3381         * cursor.C (dispatch):
3382         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3383
3384         * dispatchresult.h: make the dispatch_result_t ctor explicit
3385
3386 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3387
3388         * sgml.[Ch]:
3389         * buffer.C: small refactoring of docbook stuff
3390
3391 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3392
3393         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3394         meaning.
3395
3396 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3399         operator dispatch_result_t, and operators for == != and >=
3400
3401         * cursor.C (dispatch): adjust for operator dispatch_result_t
3402         removal. comment out call to update
3403
3404         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3405
3406 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3407
3408         * text3.C:
3409         * text2.C:
3410         * text.C:
3411         * lyxtext.h:
3412         * lyxfunc.C:
3413         * cursor.C:
3414         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3415         (dispatch):
3416
3417         * dispatchresult.h: new file, DispatchResult broken out of
3418         insets/insetbase.h
3419
3420         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3421
3422 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3423
3424         * text.C (rowBreakPoint): put a hack inside #if 0
3425
3426 2003-10-28  André Pönitz  <poenitz@gmx.net>
3427
3428         * lyxtext.h:
3429         * metricsinfo.C:
3430         * paragraph_funcs.C:
3431         * rowpainter.C:
3432         * text.C:
3433         * text2.C: general cleanup (lots of small stuff)
3434
3435 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3436
3437         * text2.C (cursorEnd): simple fix to the "end key goes to one
3438         before the end on last row" bug
3439
3440 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * text.C (backspace): fix the "zombie characters"
3443
3444 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3445
3446         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3447
3448 2003-10-27  André Pönitz  <poenitz@gmx.net>
3449
3450         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3451
3452         * factory.C: handle new InsetPagebreak, InsetLine
3453
3454         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3455         and move handling into new InsetPagebreak, InsetLine
3456
3457         * BufferView_pimpl.C:
3458         * LyXAction.C:
3459         * ParagraphParameters.C:
3460         * ParameterStruct.h:
3461         * lyxfunc.C:
3462         * lyxtext.h:
3463         * paragraph.C:
3464         * paragraph.h:
3465         * paragraph_funcs.C:
3466         * paragraph_pimpl.C:
3467         * rowpainter.C:
3468         * text.C:
3469         * text2.C:
3470         * text3.C: adjust
3471
3472 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3473
3474         * text.C:
3475         * lyxrow_funcs.[Ch]:
3476         * Bidi.C:
3477         * paragraph.C:
3478         * lyxtext.h:
3479         * rowpainter.C:
3480         * text2.C:
3481         * text3.C: remove lastPos uses in favour of Row::endpos
3482
3483 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3484
3485         * undo.C (performUndoOrRedo): fix two crashes by setting a
3486         cursor by hand and reordering some calls. Use bv->lockInset instead
3487         of inset->edit because the latter loses cursor information
3488
3489 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3490
3491         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3492         by Martin
3493         (rowBreakPoint): fix width. change point to point + 1.
3494         Add a missing check.
3495
3496 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3497
3498         * MenuBackend.C:
3499         * lyxfunc.C: fix (at least partly) the problems
3500         with the Nav menu and headers inside branch insets
3501         reported by Kayvan
3502
3503 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * paragraph.C (getChar): add strong asserts
3506
3507         * lyxrow_funcs.C (lastPos): remove hideous hack
3508
3509         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3510         (fill): adjust to that (avoid an infinite loop)
3511
3512 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3513
3514         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3515
3516 2003-10-23  André Pönitz  <poenitz@gmx.net>
3517
3518         * RowList_fwd.h: change list<> to vector<> to gain speed
3519         after suggestion from Alfredo
3520
3521 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3522
3523         * lyxtext.h: move the bidi stuff from here...
3524         * text.C: and here
3525         * text2.C: and here
3526         * Bidi.[Ch]: ... to here
3527
3528 2003-10-23  André Pönitz  <poenitz@gmx.net>
3529
3530         * lyxtext.h:
3531         * text.C (isLastRow, isFirstRow): new functions
3532
3533         * paragraph.h: new width cache member
3534
3535         * rowpainter.C: replace RowList::iterator with Row & where possible
3536
3537         * lyxfunc.C: replace several view()->text with a single call
3538
3539         * toc.C: fix 'unused' warning
3540
3541 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3544         when woring with stream::pos_type
3545         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3546
3547 2003-10-22  André Pönitz  <poenitz@gmx.net>
3548
3549         * lyxtext.h:
3550         * text.C: use Row & instead of RowList::iterator
3551
3552         * lyxrow.h: rename end() to endpos()
3553
3554         * rowpainter.C:
3555         * text.C:
3556         * text2.C: adjust
3557
3558 2003-10-22  Angus Leeming  <leeming@lyx.org>
3559
3560         * buffer.[Ch] (fully_loaded): new member function, returning true
3561         only when the file has been loaded fully.
3562         Used to prevent the premature generation of previews and by the
3563         citation inset to prevent computation of the natbib-style label.
3564
3565         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3566         templates are all set up.
3567
3568         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3569
3570 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3571
3572         * text.C: fixed an "oops" in the "is a bit silly"
3573         bug fix
3574
3575 2003-10-21  André Pönitz  <poenitz@gmx.net>
3576
3577         * FuncStatus.[Ch]: small stuff, whitespace
3578
3579         * lyxfont.[Ch]: operator<<() for debug reasons
3580
3581         * lyxfunc.C:
3582         * lyxrow_funcs.C:
3583         * lyxtext.h: whitespace, spelling
3584
3585         * paragraph.C: naming of variables
3586
3587         * text.C:
3588         * text2.C: small stuff
3589
3590
3591 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3592
3593         * text.C: (1) finish off the inset display() work;
3594         (2) fix the "is a bit silly" bug (accessing char
3595         past end of par).
3596
3597 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3598
3599         * text.C: re-introduce display() for insets, fixing the
3600         various bugs (stretch of line above, math inset
3601         positioning, ...)
3602
3603 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3604
3605         * text.C (rightMargin): remove spurious semicolon
3606
3607         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3608         1415)
3609
3610 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3611
3612         * text3.C: fix one crash due to wrong cursor def
3613
3614 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3615
3616         * vc-backend.C (scanMaster): make the regex static
3617
3618         * LaTeX.C (scanAuxFile): make the regexs static
3619
3620         * text3.C (doInsertInset, dispatch, dispatch):
3621         * text2.C (cursorUp, cursorDown):
3622         * text.C (selectNextWordToSpellcheck):
3623         * BufferView_pimpl.C (dispatch):
3624         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3625
3626 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3627
3628         * lyxsocket.C: include <cerrno>
3629
3630 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3631
3632         * lyxfunc.C (dispatch): remove textcache stuff
3633
3634         * bufferlist.C (release): remove textcache stuff
3635         (closeAll): ditto
3636
3637         * TextCache.C: delete file
3638         * TextCache.h: delete file
3639
3640         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3641
3642         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3643         delete of the bv_->text.
3644         (resizeCurrentBuffer): remove texcache stuff
3645         (workAreaResize): ditto
3646
3647 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3650         action.
3651
3652 2003-10-16  André Pönitz  <poenitz@gmx.net>
3653
3654         * lyxrow.[Ch]:
3655         * paragraph.h:
3656         * rowpainter.C:
3657         * text.C:
3658         * text2.C:
3659         * text3.C: speed up by storing y positions per paragraph plus per-row
3660         offset instead of having a 'full' y position in the row.
3661
3662 2003-10-15  André Pönitz  <poenitz@gmx.net>
3663
3664         * iterators.[Ch]:
3665         * iterators.[Ch]:
3666         * undo.[Ch]: make undo aware of inner insets
3667
3668 2003-10-14  Angus Leeming  <leeming@lyx.org>
3669
3670         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3671         static member functions LyX::ref() and LyX::cref.
3672         (lastfiles): new accessor functions for the new lastfiles_ member var.
3673         (addLyXView, views_): add a new LyXView to the list of views_.
3674         (updateInset): loop over all LyXViews to call their own updateInset
3675         member function, returning a pointer to the Buffer owning the inset.
3676
3677         * BufferView_pimpl.C (loadLyXFile):
3678         * MenuBackend.C (expandLastfiles):
3679         * bufferlist.C (MenuWrite, QuitLyX):
3680         lastfiles is no longer a global variable.
3681         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3682
3683         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3684         static function. Access through LyX::cref().emergencyCleanup().
3685
3686 2003-10-14  André Pönitz  <poenitz@gmx.net>
3687
3688         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3689
3690         * undo.[Ch]: restoring part of 'undo in insets'
3691
3692         * Makefile.am:
3693         * undo_funcs.[Ch]: merge with undo.[Ch]
3694
3695         * tabular.C: small cleansing stuff
3696
3697 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3698
3699         * paragraph_funcs.C (readParToken): report unknown insets as error
3700         boxes. Use the outer paragraph as location (also for unknown
3701         tokens).
3702
3703         * factory.C (readInset): do not abort on reading an unknown inset.
3704         Eat it and return 0.
3705
3706 2003-10-13  Angus Leeming  <leeming@lyx.org>
3707
3708         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3709
3710         * lyxrc.C: displayTranslator is now a function,
3711         declared in GraphicsTypes.h.
3712
3713 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3714
3715         * format.C: new placeholder $$a to pass the socket address.
3716
3717         * bufferlist.[Ch]: new function getBufferFromTmp.
3718
3719         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3720           files in the temporary dir.
3721
3722 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3723
3724         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3725
3726         * Makefile.am: add lyxsocket.[Ch].
3727
3728         * lyx_main.C (error_handler): handle SIGPIPE.
3729
3730 2003-10-13  André Pönitz  <poenitz@gmx.net>
3731
3732         * BufferView_pimpl.C:
3733         * lyxtext.h:
3734         * text.C:
3735         * text2.C:
3736         * text3.C:
3737         * undo_funcs.[Ch]: use paroffset_type instead of
3738           ParagraphList::iterators to prevent multiple conversion
3739           (and get a more robust interface)
3740
3741 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3744         * lyxtext.h: ditto
3745         * text3.C (dispatch): ditto
3746
3747 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3750         move the onlyfile, use onlyfile instead of foundfile in a couple
3751         of places.
3752
3753         * DepTable.C (update): flush the error stream a bit more
3754
3755 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3756
3757         * lyxserver.C (callback): adjust
3758
3759         * lyxfunc.C (getStatus): add a missing brace in commented code
3760         (ensureBufferClean): reindent
3761         (dispatch): delete version taking a string
3762
3763 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3764
3765         * LaTeX.C (deplog): move found file handlig from here...
3766         (handleFoundFile): .. to new function here.
3767         (deplog): make sure to discover several files mentioned on the
3768         same log line.
3769
3770 2003-10-10  André Pönitz  <poenitz@gmx.net>
3771
3772         * lyxfunc.C:
3773         * lyxtext.h:
3774         * tabular.C:
3775         * text.C:
3776         * text2.C:
3777         * text3.C: fix some of the tabular crashes
3778
3779 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3780
3781         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3782
3783         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3784
3785 2003-10-09  André Pönitz  <poenitz@gmx.net>
3786
3787         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3788
3789         * BufferView.C:
3790         * BufferView_pimpl.C:
3791         * bufferview_funcs.C:
3792         * lyx_cb.C:
3793         * lyxcursor.C:
3794         * lyxfind.C:
3795         * lyxfunc.C:
3796         * lyxtext.h:
3797         * text.C:
3798         * text2.C:
3799         * text3.C:
3800         * text_funcs.[Ch]:
3801         * textcursor.[Ch]:
3802         * undo_funcs.C: adjust
3803
3804 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * text2.C (incrementItemDepth): new function, use a backtracking
3807         algorithm to discover the correct item depth.
3808         (resetEnumCounterIfNeeded): new function, use a backtracking
3809         algorithm to discover if counter reset is needed.
3810         (setCounter): use them. Simplify a bit. Add different labels for
3811         different item depths for itemize.
3812
3813         * paragraph.C (Paragraph): remove initialization of enumdepth
3814         (operator=): ditto
3815
3816         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3817         enumerate and itemize. Change the type of itemdepth to signed char.
3818
3819 2003-10-08  André Pönitz  <poenitz@gmx.net>
3820
3821         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3822           thing assignable.
3823         * text.C:
3824         * text2.C: adjust
3825
3826         * tabular.[Ch]: fix crash after 'row-insert'
3827
3828 2003-10-08  Angus Leeming  <leeming@lyx.org>
3829
3830         Fix doxygen warnings.
3831
3832         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3833         Remove CutAndPaste:: prefix from header file declaration.
3834
3835         * LColor.h (fill): remove LColor:: prefix from declaration.
3836
3837         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3838         use lyx::depth_type rather than Paragraph::depth_type so that
3839         header file and .C file match.
3840
3841         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3842
3843         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3844         * aspell.C: \file aspell_local.C -> \file aspell.C
3845         * gettext.C: \file gettext.C -> \file src/gettext.C
3846         * gettext.h: \file gettext.h -> \file src/gettext.h
3847         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3848         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3849         * text.C: \file text.C -> \file src/text.C
3850
3851         * toc.C: move comment so that doxygen is not confused.
3852
3853 2003-10-07  Angus Leeming  <leeming@lyx.org>
3854
3855         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3856
3857 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3858
3859         * aspell.C:
3860         * aspell_local.h: add forgotten std::string's.
3861
3862 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3863
3864         * LaTeXFeatures.C:
3865         * LyXAction.C:
3866         * factory.C:
3867         * lfuns.h:
3868         * lyxfunc.C:
3869         * text3.C: The Box patch. Fancybox support, minipage, parbox
3870
3871 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3872
3873         * CutAndPaste.h:
3874         * DepTable.h:
3875         * FloatList.h:
3876         * LaTeXFeatures.h:
3877         * ParagraphParameters.h:
3878         * TextCache.h:
3879         * Thesaurus.h:
3880         * bufferlist.h:
3881         * exporter.h:
3882         * importer.h:
3883         * lastfiles.h:
3884         * lyxfind.h:
3885         * lyxfont.h:
3886         * lyxlex.h:
3887         * lyxtextclasslist.h:
3888         * messages.h:
3889         * paragraph.h:
3890         * paragraph_pimpl.C:
3891         * textcursor.h: add <string> and other small fixes to make Lars'
3892         std::string patch compile with STLport.
3893
3894 2003-10-06  Angus Leeming  <leeming@lyx.org>
3895
3896         * LColor.h: Add missing #include <string>.
3897
3898 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * All most all file in all subdirs: Make <string> be the prefered
3901         way of getting to std::string, add using declarations.
3902
3903 2003-10-06  André Pönitz  <poenitz@gmx.net>
3904
3905         * metricsinfo.C: initialize LyXFont before changing attribute.
3906         (fixes the 'math in \emph is upright' bug)
3907
3908 2003-10-06  André Pönitz  <poenitz@gmx.net>
3909
3910         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3911
3912 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3913
3914         * graph.C:
3915         * paragraph_pimpl.C: Small fixes to build using STLport
3916
3917 2003-10-02  André Pönitz  <poenitz@gmx.net>
3918
3919         * lyxfunc.C:
3920         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3921
3922 2003-10-01  André Pönitz  <poenitz@gmx.net>
3923
3924         * factory.C: assert early
3925
3926 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3927
3928         * lyx_main.C: remove the global debug object
3929
3930         * debug.h: adjust for new debugstream
3931
3932         * debug.C: adjust for new debugstream and keep the global debug
3933         object here.
3934
3935 2003-09-22  Angus Leeming  <leeming@lyx.org>
3936
3937         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3938         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3939         an incomplete class LyXFont.
3940
3941 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3942
3943         * factory.C: bug fix in branches
3944
3945 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3946
3947         * lyxfunc.C (processKeySym): adjust
3948         (dispatch): adjust
3949         (dispatch): change arg name from ev to func, adjust
3950         (sendDispatchMessage): ditto
3951
3952         * lyx_main.C (defaultKeyBindings): adjust keybindings
3953         (deadKeyBindings): ditto
3954
3955         * kbsequence.C (addkey): return a FuncRequest
3956
3957         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3958
3959         * kbmap.C (bind): take a FuncRequest as arg, adjust
3960         (read): adjust
3961         (lookup): adjust
3962         (defkey): change to take a FuncRequest as arg, adjust
3963         (findbinding): take a FuncRequest as arg, adjust.
3964
3965         * funcrequest.h (operator=): added
3966
3967         * funcrequest.C (FuncRequest): default kb_action changed from
3968         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3969
3970         * buffer.C (dispatch): simplify
3971         (dispatch): adjust to take a FuncRequest as arg, adjust
3972
3973         * boost.C (assertion_failed): change assertion message slightly
3974
3975         * ToolbarBackend.C (read): simplify
3976
3977         * MenuBackend.C (binding): adjust call to findbinding, add a
3978         message if no binding is found.
3979         (read): simplify
3980         (expandToc): correct by adding a empty FuncRequest
3981
3982         * LyXAction.C: include <boost/assert.hpp>
3983         (isPseudoAction): delete function
3984         (LookupFunc): change name to...
3985         (lookupFunc): this. change return type to FuncRequest.
3986         (getActionName): take kb_action as arg, simplify
3987         (funcHasFlag): add an assert, simplify.
3988
3989 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3990
3991         * toc.C (action): return a FuncRequest, simplify
3992
3993         * lyxfunc.C (processKeySym): adjust
3994         (getStatus): delete version that takes an int.
3995         (getStatus): adjust
3996         (dispatch): delete version that takes action as int
3997         (dispatch): adjust
3998         (sendDispatchMessage): simplify and adjust
3999
4000         * funcrequest.C (getArg): take unsigned int as arg
4001
4002         * ToolbarBackend.C (read): adjust
4003         (add): delete version that takes func as a string.
4004         (getIton): take a FuncRequest as arg
4005
4006         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4007         action.
4008
4009         * MenuBackend.C (MenuItem): add a new construct that only takes a
4010         Kind, simplify the constructor use for submenus.
4011         (add): adjust
4012         (expandLastfiles): adjust
4013         (expandDocuments): adjust
4014         (expandFormats): adjust
4015         (expandFloatListInsert): adjust
4016         (expandFloatInsert): adjust
4017         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4018
4019         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4020         Remove class variables lyx_pseudo_map and lyx_arg_map
4021
4022         * LyXAction.C (searchActionArg): delete function
4023         (getPseudoAction): delete function
4024         (retrieveActionArg): delete function
4025         (LookupFunc): make it return kb_action, simplify.
4026         (getActionName): simplify
4027
4028         * factory.C (createInset): fix new bug
4029
4030 2003-09-19  Angus Leeming  <leeming@lyx.org>
4031
4032         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4033         masterFilename_ parameter in the include inset.
4034
4035         * factory.C (createInset): changes due to the changes to InsetInclude.
4036
4037 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4038
4039         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4040
4041 2003-09-18  Angus Leeming  <leeming@lyx.org>
4042
4043         * buffer.C:
4044         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4045         Inset::fillWithBibKeys.
4046         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4047
4048 2003-09-18  Angus Leeming  <leeming@lyx.org>
4049
4050         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4051         variables.
4052         (ctor): pass and store a 'Buffer const &'
4053         (buffer): new member function.
4054
4055         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4056         '*this' to the LaTeXFeatures ctor.
4057
4058 2003-09-18  Angus Leeming  <leeming@lyx.org>
4059
4060         * LColor.h:
4061         * lyxfont.C:
4062         * lyxfont.h:
4063         * lyxtext.h:
4064         * text.C: rename EnumLColor as LColor_color.
4065
4066 2003-09-18  Angus Leeming  <leeming@lyx.org>
4067
4068         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4069         remove #include "insets/insetbase.h" from cursor.h.
4070
4071 2003-09-18  Angus Leeming  <leeming@lyx.org>
4072
4073         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4074         InsetOld_code to remove #include "inset.h".
4075
4076         * iterators.C: add #include "insets/inset.h"
4077
4078 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4079
4080         * BufferView.C: remove more locking stuff that apparently doesn't
4081         do anything sensible.
4082
4083 2003-09-16  André Pönitz  <poenitz@gmx.net>
4084
4085         * paragraph.[Ch]:
4086         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4087           performance boost.
4088
4089 2003-09-16  Angus Leeming  <leeming@lyx.org>
4090
4091         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4092
4093         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4094         arg/return type.
4095
4096         * paragraph.h: remove #include "lyxfont.h". Forward declare
4097         LyXFont_size.
4098
4099 2003-09-16  Angus Leeming  <leeming@lyx.org>
4100
4101         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4102         of support/textutils.h.
4103         (isWord): move the contents of support/textutils.h's IsWordChar here.
4104
4105         * buffer.C:
4106         * lyxfind.C:
4107         * rowpainter.C:
4108         * text.C:
4109         * text2.C: add #include "paragraph.h".
4110
4111         * rowpainter.C:
4112         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4113
4114 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4115
4116         * main.C:
4117         * lyx_main.C:
4118         * lyx_cb.C:
4119         * buffer.C:
4120         * LaTeX.C: use namespace alias for lyx::support::os
4121
4122 2003-09-16  Angus Leeming  <leeming@lyx.org>
4123
4124         * bufferparams.C:
4125         * bufferview_funcs.C:
4126         * factory.C:
4127         * lyxfunc.C:
4128         * paragraph_pimpl.C:
4129         * rowpainter.C:
4130         * text.C: add #include "LColor.h".
4131
4132 2003-09-16  Angus Leeming  <leeming@lyx.org>
4133
4134         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4135         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4136         return LyXFont &.
4137         Store the FontBits::color variable as an int rather than as an
4138         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4139         file.
4140
4141         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4142         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4143         string calls together.
4144
4145         * lyxrc.C: add #include "LColor.h".
4146
4147 2003-09-15  Angus Leeming  <leeming@lyx.org>
4148
4149         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4150         a cow_ptr.
4151
4152 2003-09-15  Angus Leeming  <leeming@lyx.org>
4153
4154         * LColor.h: add an EnumLColor wrapper for LColor::color.
4155
4156         * lyxfont.[Ch] (color, setColor, realColor):
4157         * lyxtext.h, text.C (backgroundColor):
4158         pass EnumLColor args to/from the functions, rather than LColor::color
4159         ones.
4160
4161         * lyxfont.h:
4162         * lyxtext.h: forward declare EnumLColor.
4163
4164         * lyx_main.C: add #include "LColor.h".
4165
4166 2003-09-15  Angus Leeming  <leeming@lyx.org>
4167
4168         * .cvsignore: add lyx-gtk.
4169
4170 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * Chktex.C
4173         * LaTeX.C
4174         * LaTeXFeatures.C
4175         * ParagraphParameters.C
4176         * Spacing.C
4177         * buffer.C
4178         * bufferparams.C
4179         * bufferview_funcs.C
4180         * chset.C
4181         * counters.C
4182         * funcrequest.C
4183         * lyxfont.C
4184         * lyxgluelength.C
4185         * lyxlength.C
4186         * paragraph.C
4187         * paragraph_funcs.C
4188         * text3.C
4189         * vc-backend.C: remove usage of STRCONV
4190
4191 2003-09-15  Angus Leeming  <leeming@lyx.org>
4192
4193         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4194         explicitly define the color passed to the painter.
4195
4196 2003-09-15  Angus Leeming  <leeming@lyx.org>
4197
4198         * bufferparams.C (BufferParams): reorder member initializers to avoid
4199         compiler warning.
4200
4201 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4202
4203         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4204         * text.C (updateRowPositions): remove an unusual nop
4205
4206 2003-09-12  André Pönitz  <poenitz@gmx.net>
4207
4208         * BufferView_pimpl.C:
4209         * Bullet.C:
4210         * layout.h:
4211         * lyxfunc.C:
4212         * lyxlayout.[Ch]:
4213         * lyxtextclass.C:
4214         * rowpainter.C:
4215         * text.C:
4216         * text2.C:
4217         * Counters.[Ch]: finish the 'automatic counters' job
4218
4219 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4220
4221         * aspell.C: include <boost/assert.cpp> (compile fix)
4222
4223 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4224
4225         * boost.C (assertion_failed): use lyx::support::abort instead of
4226         assert.
4227
4228 2003-09-10  Angus Leeming  <leeming@lyx.org>
4229
4230         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4231         with their _fwd progeny.
4232
4233 2003-09-09  Angus Leeming  <leeming@lyx.org>
4234
4235         134 files throughtout the source tree: replace 'using namespace abc;'
4236         directives with the appropriate 'using abc::xyz;' declarations.
4237
4238 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4239
4240         * boost.C (emergencyCleanup): moved here from LAssert.c
4241         (assertion_failed): new function, called by BOOST_ASSERT
4242
4243         * several files: change Assert to BOOST_ASSERT
4244
4245 2003-09-09  Angus Leeming  <leeming@lyx.org>
4246
4247         * buffer.[Ch]: Add an Impl class and move Buffer's member
4248         variables into it. As a result move several header files out of
4249         buffer.h.
4250
4251         Add header files to lots of .C files all over the tree as a result.
4252
4253 2003-09-09  Angus Leeming  <leeming@lyx.org>
4254
4255         * buffer.[Ch]: make Buffer's member variables private. Add
4256         accessor functions.
4257
4258         Lots of changes all over the tree as a result.
4259
4260 2003-09-08  Angus Leeming  <leeming@lyx.org>
4261
4262         * graph.C: #include <config.h>.
4263
4264 2003-09-08  Angus Leeming  <leeming@lyx.org>
4265
4266         * BranchList.C:
4267         * BufferView.C:
4268         * BufferView_pimpl.C:
4269         * CutAndPaste.C:
4270         * DepTable.C:
4271         * LaTeX.C:
4272         * LaTeXFeatures.C:
4273         * LyXAction.C:
4274         * MenuBackend.C:
4275         * TextCache.C:
4276         * aspell.C:
4277         * buffer.C:
4278         * bufferlist.C:
4279         * changes.C:
4280         * chset.C:
4281         * converter.C:
4282         * counters.C:
4283         * debug.C:
4284         * graph.C:
4285         * ispell.C:
4286         * lyx_cb.C:
4287         * lyxfind.C:
4288         * lyxfunc.C:
4289         * lyxlex_pimpl.C:
4290         * lyxrc.C:
4291         * lyxrow.C:
4292         * paragraph.C:
4293         * rowpainter.C:
4294         * texrow.C:
4295         * text.C:
4296         * text2.C:
4297         * toc.C: remove redundant using directives.
4298
4299 2003-09-07  Angus Leeming  <leeming@lyx.org>
4300
4301         * LaTeXFeatures.h: remove #include "support/types.h".
4302         * ToolbarBackend.h: remove #include <algorithm>.
4303         * changes.h: remove #include <ctime>.
4304         * debug.h: remove #include <iosfwd>.
4305         * graph.h: remove #include "support/std_string.h".
4306         * lyx_main.h: remove #include <csignal>.
4307         * lyxlex_pimpl.h: remove #include <fstream>.
4308         * sgml.h: remove #include <algorithm>, <utility>.
4309         * toc.h: remove #include "support/std_ostream.h".
4310         Add #include <iosfwd>.
4311
4312 2003-09-07  Angus Leeming  <leeming@lyx.org>
4313
4314         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4315
4316         * converter.h: forward declare LatexRunParams.
4317         * encoding.h: remove #include "lyxrc.h".
4318         * lyxtext.h: remove #include "LColor.h".
4319         * lyxtextclass.h: remove #include "support/types.h".
4320         * trans.h: remove #include "tex-accent.h".
4321         * trans_mgr.h: remove #include "tex-accent.h".
4322         * insets/inset.h: remove #include "support/types.h", <vector>.
4323         * insets/insetcollapsable.h: remove #include "LColor.h".
4324         * insets/insetinclude.h: remove #include "dimension.h".
4325         * insets/insetlatexaccent.h: remove #include "dimension.h".
4326         * insets/insetoptarg.h:: remove #include "insettext.h".
4327         * insets/insettext.h: remove #include "dimension.h",
4328         <boost/shared_ptr.hpp>
4329
4330         * insets/renderers.h: add #include "dimension.h".
4331         * insets/updatableinset.h: add #include "support/types.h".
4332
4333         * many .C files: Associated changes.
4334
4335 2003-09-06  Angus Leeming  <leeming@lyx.org>
4336
4337         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4338         one, inside testInvariant.
4339
4340         * PrinterParams.C: new file.
4341         * PrinterParams.[Ch]: move the function bodies out of line.
4342
4343 2003-09-06  Angus Leeming  <leeming@lyx.org>
4344
4345         * ParagraphParameters.h: forward declare ParameterStruct rather than
4346         including its header file.
4347         (depth): moved out-of-line.
4348
4349 2003-09-06  Angus Leeming  <leeming@lyx.org>
4350
4351         * BufferView_pimpl.h:
4352         * kbmap.h:
4353         * kbsequence.h:
4354         * lyxfunc.h: forward declare LyXKeySym rather than
4355         #include "frontends/LyXKeySym.h".
4356
4357         * BufferView_pimpl.C:
4358         * kbmap.C:
4359         * kbsequence.C:
4360         * lyxfunc.C: associated changes.
4361
4362 2003-09-06  Angus Leeming  <leeming@lyx.org>
4363
4364         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4365         As a result, can remove the #include "insets/inset.h" from BufferView.h
4366
4367 2003-09-06  Angus Leeming  <leeming@lyx.org>
4368
4369         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4370         As a result, can remove the #include "insets/inset.h" from BufferView.h
4371
4372 2003-09-06  Angus Leeming  <leeming@lyx.org>
4373
4374         * buffer_funcs.C:
4375         * buffer.h:
4376         * bufferlist.C:
4377         * BufferView.C:
4378         * bufferview_funcs.C:
4379         * BufferView_pimpl.C:
4380         * CutAndPaste.C:
4381         * lyx_cb.C:
4382         * lyxfunc.C:
4383         * paragraph.h:
4384         * ParagraphParameters.C:
4385         * tabular.C:
4386         * text3.C:
4387         * toc.C:
4388         * undo_funcs.C:
4389         * frontends/controllers/ControlDocument.C:
4390         * insets/insetcaption.C: rearrange the #includes into some sort of
4391         coherent order.
4392
4393         * buffer.h: remove #includes ErrorList.h, undo.h
4394
4395 2003-09-06  Angus Leeming  <leeming@lyx.org>
4396
4397         * support/types.h: add a 'depth_type' typedef, used to store the
4398         nesting depth of a paragraph.
4399
4400         * paragraph.h:
4401         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4402         defining explicitly.
4403
4404         * buffer.h:
4405         * paragraph_funcs.h:
4406         * ParagraphParameters.h:
4407         * sgml.h: use lyx::depth_type rather than Paragraph or
4408         ParameterStruct's depth_type.
4409
4410         * buffer.h
4411         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4412
4413         * BufferView.C:
4414         * BufferView_pimpl.C:
4415         * CutAndPaste.C:
4416         * ParagraphParameters.C:
4417         * buffer_funcs.C:
4418         * bufferlist.C:
4419         * bufferview_funcs.C:
4420         * lyx_cb.C:
4421         * lyxfunc.C:
4422         * tabular.C:
4423         * text3.C:
4424         * toc.C:
4425         * undo_funcs.C:
4426         * frontends/LyXView.C:
4427         * frontends/controllers/ControlDocument.C:
4428         * frontends/controllers/ControlErrorList.C:
4429         * insets/insetbibitem.C:
4430         * insets/insetbranch.C:
4431         * insets/insetcaption.C:
4432         * insets/insetcollapsable.C:
4433         * insets/insetenv.C:
4434         * insets/insetert.C:
4435         * insets/insetfloat.C:
4436         * insets/insetfoot.C:
4437         * insets/insetfootlike.C:
4438         * insets/insetnewline.C:
4439         * insets/insetquotes.C:
4440         * insets/insettabular.C:
4441         * insets/insettext.C:
4442         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4443
4444         * frontends/controllers/ControlChanges.C: #include "changes.h".
4445
4446 2003-09-06  Angus Leeming  <leeming@lyx.org>
4447
4448         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4449         than #including paragraph.h.
4450
4451         * ParagraphList.h:
4452         * RowList.h: deleted. Superfluous.
4453
4454         * CutAndPaste.h:
4455         * iterators.h:
4456         * lyxcursor.h:
4457         * lyxtext.h:
4458         * text_funcs.h:
4459         * undo.h:
4460         * undo_funcs.h:
4461         * insets/inset.h:
4462         * insets/insettext.h: use ParagraphList_fwd.h rather than
4463         ParagraphList.h.
4464
4465         * paragraph.h: don't forward declare ParagraphList.
4466
4467         * buffer.h:
4468         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4469         rather than ParagraphList.h. paragraph.h is still needed for the
4470         Paragraph::depth_type parameters.
4471
4472         * textcursor.h: enable it to compile stand-alone in light of the
4473         above changes.
4474
4475         * bufferview_funcs.C:
4476         * iterators.C:
4477         * lyxfunc.C:
4478         * lyxrow_funcs.C:
4479         * paragraph.C:
4480         * rowpainter.C:
4481         * text.C:
4482         * text2.C:
4483         * text3.C:
4484         * text_funcs.C:
4485         * textcursor.C:
4486         * undo.C:
4487         * frontends/controllers/ControlParagraph.C:
4488         * frontends/controllers/ControlTabular.C:
4489         * insets/insetmarginal.C:
4490         * insets/insetminipage.C:
4491         * insets/insetnote.C:
4492         * insets/insetoptarg.C: add header files needed to compile again.
4493
4494 2003-09-06  Angus Leeming  <leeming@lyx.org>
4495
4496         * RowList_fwd.h: new file, forward-declaring Row rather than
4497         #including lyxrow.h.
4498
4499         * lyxrow_funcs.h:
4500         * lyxtext.h:
4501         * paragraph.h:
4502         * insets/insettext.h: use it instead of RowList.h
4503
4504         * bufferview_funcs.C:
4505         * lyxfunc.C:
4506         * lyxrow_funcs.C:
4507         * paragraph.C:
4508         * rowpainter.C:
4509         * text.C:
4510         * text2.C:
4511         * text3.C: #include "RowList.h".
4512
4513 2003-09-05  Angus Leeming  <leeming@lyx.org>
4514
4515         * factory.C (createInset):
4516         * vspace.C (c-tor): replace sscanf call with an istringstream.
4517         * ispell.C: re-add missing HP/UX headers.
4518         * lyxserver.C: re-add missing  os2 headers.
4519
4520 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * BranchList.C:
4523         * graph.C:
4524         * ispell.C:
4525         * lastfiles.C:
4526         * lyx_cb.C:
4527         * lyxserver.C:
4528         * texrow.C:
4529         * text3.C: re-add missing system headers, needed for 2.95.2.
4530
4531 2003-09-05  Angus Leeming  <leeming@lyx.org>
4532
4533         Changes most place everywhere due to the removal of using directives
4534         from support/std_sstream.h.
4535
4536 2003-09-05  Angus Leeming  <leeming@lyx.org>
4537
4538         Replace LString.h with support/std_string.h,
4539         Lsstream.h with support/std_sstream.h,
4540         support/LIstream.h with support/std_istream.h,
4541         support/LOstream.h with support/std_ostream.h.
4542
4543         Changes resulting throughout the tree.
4544
4545 2003-09-05  Angus Leeming  <leeming@lyx.org>
4546
4547         * sgml.h: ensure that the header file can be compiled stand-alone.
4548         * *.C: strip out redundant #includes. (320 in total.)
4549
4550 2003-09-04  Angus Leeming  <leeming@lyx.org>
4551
4552         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4553         here (from getPackages).
4554
4555         * debug.[Ch]: add a new EXTERNAL tag.
4556
4557 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4558
4559         * text2.C (cursorEnd): simplify
4560         (setCursor): adjust
4561         (getColumnNearX): adjust
4562
4563         * text.C (computeBidiTables): adjust
4564         (fill): adjust
4565
4566         * rowpainter.C (paintChars): adjust
4567         (paintSelection): adjust
4568         (paintChangeBar): adjust
4569         (paintText): adjust
4570
4571         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4572         lastPos instead.
4573         (numberOfSeparators): adjust
4574
4575 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4576
4577         * LyXAction.C:
4578         * box.[Ch]:
4579         * lfuns.h:
4580         * lyxfunc.C:
4581         * text3.C: Restricts the mouse click functionality
4582         of insets like bibtex, include, toc and floatlist to the visible
4583         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4584         up the dialogs. Cursor has to be in front of the inset (i.e.
4585         start of row) for this to function.
4586
4587 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4588
4589         * bufferview_funcs.C (currentState): output row information
4590
4591 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4592
4593         * bufferview_funcs.C (currentState): output paragraph position
4594
4595 2003-09-04  Angus Leeming  <leeming@lyx.org>
4596
4597         * FloatList.h: move out #include "Floating.h".
4598         * LaTeX.h: move out #include "DepTable.h".
4599         * LyXAction.h: move out #include "funcrequest.h".
4600         * buffer.h: move out #include "author.h", "iterators.h".
4601         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4602         * lyx_main.h: move out #include "errorlist.h".
4603         * lyxfunc.h: move out #include "FuncStatus.h".
4604         * lyxtext: move out #include "lyxcursor.h".
4605         * paragraph_pimpl.h: move out #include "counters.h".
4606
4607 2003-09-03  Angus Leeming  <leeming@lyx.org>
4608
4609         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4610         preamble_snippets list, enabling us to add snippets to the preamble
4611         only if the snippet was not there already.
4612
4613 2003-09-04  Angus Leeming  <leeming@lyx.org>
4614
4615         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4616
4617 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4620         update
4621
4622 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4623
4624         * BranchList.C: point fix, earlier forgotten
4625
4626 2003-09-02  Angus Leeming  <leeming@lyx.org>
4627
4628         * box.C (contains): renamed from 'contained' after a fantastic
4629         amount of hot air.
4630
4631 2003-09-02  John Levon  <levon@movementarian.org>
4632
4633         * BufferView.C:
4634         * lyxcursor.h:
4635         * lyxcursor.C:
4636         * lyxfunc.C:
4637         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4638
4639 2003-09-02  John Levon  <levon@movementarian.org>
4640
4641         * text2.C: simplification of cursorEnd(), including partial
4642         fix for bug 1376
4643
4644 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * buffer.C (readFile): add a space
4647
4648 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4651
4652 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * buffer.C (readFile): new function, take a filename and a
4655         ParagraphList::iterator
4656         (readFile): adjust
4657         (readFile): adjust, make it private. don't use setStream, make
4658         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4659         always contain the filename.
4660
4661         * BufferView.C (insertLyXFile): simplify and make it work for
4662         gzipped files.
4663
4664 2003-08-30  John Levon  <levon@movementarian.org>
4665
4666         * Makefile.am: fix dist (from Kayvan)
4667
4668 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * most files: change to use const Buffer refs
4671
4672 2003-08-27  André Pönitz  <poenitz@gmx.net>
4673
4674         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4675         on top of ownerPar().
4676
4677 2003-08-27  John Levon  <levon@movementarian.org>
4678
4679         * funcrequest.C: properly initialise POD members
4680
4681 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4682
4683         * lyxtext.h (top_y): move top_y from here
4684         * text.C:
4685         * text2.C:
4686         * text3.C:
4687         * BufferView.[Ch]:
4688         * BufferView_pimpl.[Ch]: to here
4689         * frontends/screen.C:
4690         * insets/insettabular.C:
4691         * insets/insettext.C: adjust
4692         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4693
4694 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4695
4696         * BufferView.[Ch]:
4697         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4698
4699 2003-08-26  André Pönitz  <poenitz@gmx.net>
4700
4701         * paragraph_func.[Ch] (outerPar): new function
4702
4703         * paragraph.C:
4704         * paragraph_funcs.C:
4705         * paragraph_funcs.h:
4706         * paragraph_pimpl.C:
4707         * text2.C: remove Inset::par_owner
4708
4709 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4710
4711         * lyxrow_funcs.C:
4712         * lyxtext.h:
4713         * text.C:
4714         * text2.C: eliminates the needFullRow/display() stuff
4715         altogether, putting the logic in metrics/draw in the insets.
4716
4717 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4718
4719         * text2.C (redoParagraphInternal, redoParagraphs):
4720         * text.C (redoParagraph): add a call to updateRowPositions at the
4721         end of each 'metrics-like' call. Remove all others.
4722         (getRow): remove the 'y-computing' version.
4723         (getRowNearY): do not compute nor return the real y. Solve the
4724         'y < 0' problem and simplify.
4725
4726 2003-08-22  Angus Leeming  <leeming@lyx.org>
4727
4728         * *.[Ch]: clean-up of licence and author blurbs.
4729         Also move config.h out of a few .h files and into a few .C files.
4730
4731 2003-08-22  André Pönitz  <poenitz@gmx.net>
4732
4733         * lyxrow.[Ch]: add x_ and *fill_ members
4734
4735         * lyxtext.h:
4736         * text.C:
4737         * rowpainter.C:
4738         * text2.C: adjust/remove prepareToPrint() calls
4739
4740 2003-08-22  André Pönitz  <poenitz@gmx.net>
4741
4742         * lyxrow.[Ch]: add  end_ member
4743
4744         * lyxrow_funcs.C: use LyXRow::end_
4745
4746         * lyxtext.h (singleWidth): add LyXFont parameter
4747
4748         * rowpainter.C:
4749         * text2.C: adjust LyXText::singleWidth() calls
4750
4751         * text.C (redoParagraph): simplify row breaking logic
4752
4753
4754 2003-08-19  André Pönitz  <poenitz@gmx.net>
4755
4756         * funcrequest.C: initialize button_ member
4757
4758         * text3.C:
4759         * rowpainter.[Ch]: interface consolidation
4760
4761 2003-08-18  André Pönitz  <poenitz@gmx.net>
4762
4763         * BufferView.C:
4764         * BufferView_pimpl.C:
4765         * lyxfind.C:
4766         * paragraph_funcs.C:
4767         * rowpainter.C:
4768         * text3.C: remove LyXScreen::draw() and fitCursor calls
4769
4770         * BranchList.h: remove spurious semicolons
4771
4772         * MenuBackend.C: fix branchlist related crash
4773
4774 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4775
4776         * BranchList.[Ch]:
4777         * InsetList.[Ch]:
4778         * LColor.[Ch]:
4779         * LyXAction.C:
4780         * Makefile.am:
4781         * MenuBackend.[Ch]:
4782         * bufferparams.[Ch]:
4783         * factory.C:
4784         * lfuns.h:
4785         * lyxfunc.C:
4786         * text3.C: implements the 'branch inset'
4787         idea. This allows the output of various versions of a document
4788         from a single source version, selectively outputing or suppressing
4789         output of parts of the text.
4790         This implementation contains a 'branch list editor' in a separate
4791         tab of the document settings dialog. Branches are user definable
4792         and have a "display colour" to distinguish them on-screen.
4793
4794         ColorHandler was somewhat cleaned up.
4795         (1) make possible a dynamically growing LColor list by allowing
4796         the graphic context cache to grow along (vector);
4797         (2) eliminate an IMHO unnecessary step in colour allocation.
4798
4799 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4800
4801         * BufferView_pimpl.C: compile fix
4802
4803 2003-08-15  André Pönitz  <poenitz@gmx.net>
4804
4805         * rowpainter.C: remove extra metrics calls
4806
4807         * lyxtext.h: merge the two constructors into a single one,
4808           pass reference to owner's par list
4809
4810         * BufferView_pimpl.C:
4811         * text.C:
4812         * text2.C: adjust
4813
4814 2003-08-15  André Pönitz  <poenitz@gmx.net>
4815
4816         * lyxrow_funcs.[Ch]:
4817         * lyxtext.h:
4818         * paragraph.h:
4819         * paragraph_funcs.C:
4820         * rowpainter.C:
4821         * text.C:
4822         * text2.C:
4823         * text3.C:
4824         * text_funcs.C: split LyXText::rowlist_ into individual
4825         Paragraph::rows_ chunks
4826
4827         * BufferView.[Ch]:
4828         * BufferView_pimpl.[Ch]:
4829         * lyxfind.C:
4830         * lyxtext.h:
4831         * text3.C: remove toggleSelection()
4832
4833 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4834
4835         * bufferlist.C: beautify two alerts (shorter text of buttons)
4836         * buffer.C: Remove redundant ' ' from message
4837         * tabular.h:
4838         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4839         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4840         rename VALIGN_CENTER to VALIGN_MIDDLE
4841
4842 2003-08-11  André Pönitz  <poenitz@gmx.net>
4843
4844         * lyxtext.h (getPar):
4845         * text.C: new function
4846
4847 2003-08-11  André Pönitz  <poenitz@gmx.net>
4848
4849         * Makefile.am:
4850         * tracer.[Ch]: remove unneeded files
4851
4852         * InsetList.[Ch]: remove resizeInsetsLyXText()
4853
4854         * lyxtext.h:
4855         * text.C:
4856         * text2.C:
4857         * text3.C: merge insertParagraphs() and appendParagraph()
4858         remove breakAgain(), update()
4859
4860         * BufferView_pimpl.[Ch]:
4861         * bufferview_funcs.[Ch]:
4862         * lyxfunc.C:
4863         * paragraph.[Ch]:
4864         * rowpainter.C:
4865         * tabular.C: adjust after text & InsetList changes.
4866
4867 2003-08-08  André Pönitz  <poenitz@gmx.net>
4868
4869         * text.C (insertChar, backspace): replace rowlist fiddling
4870         with rebreak of full par
4871
4872         * lyxtext.h:
4873         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4874         checkParagraph, updateInset): removed
4875
4876 2003-08-07  André Pönitz  <poenitz@gmx.net>
4877
4878         * paragraph.C:
4879         * text3.C: merge some LFUN handlers, remove dead code
4880
4881 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4882
4883         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4884
4885 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * text2.C (DEPM): fix part of bug 1255 and 1256
4888
4889 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4890
4891         * BufferView_pimpl.C (workAreaDispatch): change to use
4892         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4893         that are no mouse related.
4894
4895 2003-08-05  André Pönitz  <poenitz@gmx.net>
4896
4897         * BufferView.[Ch]:
4898         * BufferView_pimpl.[Ch]:
4899         * bufferview_funcs.C:
4900         * text2.C:
4901         * text3.C: rip out "deep update"
4902
4903         * textcursor.[Ch] (last_sel_cursor): remove unused member
4904
4905 2003-08-04  André Pönitz  <poenitz@gmx.net>
4906
4907         * BufferView.[Ch]:
4908         * BufferView_pimpl.[Ch]:
4909         * ParagraphParameters.C:
4910         * bufferview_funcs.C:
4911         * lyx_cb.C:
4912         * lyxfind.C:
4913         * lyxfunc.C:
4914         * text.C:
4915         * text2.C:
4916         * text3.C: replace "complicated" BufferView::update(...) calls with
4917         simpler ones.
4918
4919         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4920
4921 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4922
4923         * Makefile.am (lyx_SOURCES): add paper.h
4924
4925 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4926
4927         * Makefile.am: move things around so that both lyx-qt and
4928         lyx-xforms can be built (according to --with-frontend). Then lyx
4929         is a symbolic link to lyx-[firstfrontend]
4930
4931 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4932
4933         * Always use std::endl with lyxerr
4934
4935 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4936
4937         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4938
4939 2003-08-01  André Pönitz  <poenitz@gmx.net>
4940
4941         * BufferView.[Ch]:
4942         * BufferView_pimpl.[Ch]:
4943         * lyxfunc.C:
4944         * text3.C: merge BufferView::repaint() and BufferView::update()
4945
4946 2003-08-01  José Matos  <jamatos@lyx.org>
4947
4948         * buffer.[Ch]: file_format is no longer a buffer data element.
4949
4950 2003-08-01  André Pönitz  <poenitz@gmx.net>
4951
4952         * BufferView.C:
4953         * lyxtext.h:
4954         * text.C:
4955         * text2.C: make redoParagraph more independent of current cursor
4956
4957         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4958         * text.C:
4959         * text2.C: remove unneeded members
4960
4961 2003-07-30  André Pönitz  <poenitz@gmx.net>
4962
4963         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4964
4965         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4966           create a single function...
4967
4968         * paragraph_funcs.C (moveItem): ... here.
4969
4970         * text.C:
4971           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4972
4973 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4974
4975         * LColor.[Ch]: Add comment and greyedout logical colors.
4976
4977 2003-07-30  André Pönitz  <poenitz@gmx.net>
4978
4979         * tabular.C: don't use Assert too heavily. This crashes where it
4980           shouldn't
4981
4982 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4983
4984         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4985         is disabled (bug 1232)
4986
4987 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4988
4989         * factory.C: limited 'arg' scope
4990
4991 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4992
4993         * factory.C: fixed Note submenu issues
4994
4995 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4996
4997         * factory.C: submenu for Note/Comment/Greyedout
4998
4999 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5000
5001         * lyx_main.C (LyX):
5002         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5003
5004 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5005
5006         * LaTeXFeatures.C:
5007         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5008         greyedout. Patch provided by Jürgen Spitzmüller.
5009
5010 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5011
5012         * kbmap.C (read): fix error message when reading bind files
5013
5014 2003-07-29  Angus Leeming  <leeming@lyx.org>
5015
5016         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5017         certainly does not do what it purports to do. I am doing it, and
5018         us, a favour by killing it.
5019
5020 2003-07-28  José Matos  <jamatos@lyx.org>
5021
5022         * buffer.C (readBody, do_writeFile):
5023         * paragraph.C(readParagraph): \end_document replaces \the_end.
5024
5025 2003-07-29  André Pönitz  <poenitz@gmx.net>
5026
5027         * BufferView.[Ch]:
5028         * BufferView_pimpl.[Ch]:
5029         * lyxfunc.C:
5030         * text2.C:
5031         * text3.C:
5032         * textcursor.[Ch]: remove toggleToggle & Co
5033
5034 2003-07-28  José Matos  <jamatos@fep.up.pt>
5035
5036         * buffer.C (readParagraph):
5037         * params_func (readParToken, readParagraph):
5038         * paragraph.C (write): \layout -> \begin_layout.
5039
5040 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * lyxlex_pimpl.C (setFile): clean up slightly.
5043
5044         * bufferparams.h: add compressed var
5045
5046         * buffer_funcs.C (readFile): adjust for LyXLex change
5047         (newFile): ditto + simplify
5048
5049         * buffer.C (writeFile): handle writing of compressed files
5050
5051         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5052         Check if the file is compressed and set a bufferparm if so.
5053
5054         * Makefile.am (lyx_LDADD): remove explicit -lz
5055
5056 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5057
5058         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5059         makeDocBookFile): put the real LyX version in the first line of
5060         the file
5061
5062         * version.h:
5063         * version.C.in: remove lyx_docversion
5064
5065         * tabular.C (write_attribute): add a template-based version to
5066         write enums properly
5067
5068 2003-07-28  André Pönitz  <poenitz@gmx.net>
5069
5070         * lyxtext.h:
5071         * text.C:
5072         * text2.C:
5073         * text3.C: use doubles again for x-coordinates. They are needed.
5074
5075 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5076
5077         * messages.C (getLocaleDir): use lyx_localedir()
5078
5079         * lyxlex_pimpl.C (setFile): compress stuff
5080
5081         * buffer.C (writeFile): add some compression stuff
5082         (do_writeFile): new func, dont call expliti close... will this
5083         breake anything?
5084
5085         * Makefile.am (lyx_LDADD): add -lz
5086
5087 2003-07-28  José Matos  <jamatos@fep.up.pt>
5088
5089         * buffer.C: increment file format.
5090         * paragraph_funcs (readParagraph, readParToken):
5091         * paragraph.C (readParagraph): add \end_layout.
5092
5093 2003-07-27  Angus Leeming  <leeming@lyx.org>
5094
5095         * Makefile.am: remove special casing for configure-time setting of
5096         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5097
5098         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5099         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5100
5101 2003-07-26  André Pönitz  <poenitz@gmx.net>
5102
5103         * paragraph_func.[Ch]:
5104         * paragraph.C (realizeFont): inline it whereever it is used
5105
5106         * rowpainter.C:
5107         * text.C:
5108         * text2.C:
5109         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5110
5111
5112 2003-07-26  André Pönitz  <poenitz@gmx.net>
5113
5114         *       lyxtext.h:
5115         * text.C:
5116         * text2.C: get rid of LyXText::need_break_row
5117
5118 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * toc.[Ch]: put namespace toc inside namespace lyx
5121
5122         * MenuBackend.C (expandToc2): adjust for lyx::toc
5123         (expandToc): ditto
5124
5125         * lyxfunc.C (dispatch): adjust for lyx::find
5126
5127         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5128         lyx::find instead. Reorganize a bit.
5129         (LyXReplace): rename to replace
5130         (LyXFind): rename to find
5131
5132         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5133         (dispatch): ditto
5134
5135 2003-07-26  André Pönitz  <poenitz@gmx.net>
5136
5137         * text.C (setHeightOfRow): restrict scope of temporary variable
5138
5139         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5140           code (never has been used?)
5141
5142 2003-07-27  Asger Alstrup  <alstrup@local>
5143
5144         * text.C (fill): Optimise algorithm to exploit that we can reuse
5145         the LyXFont for many characters.
5146         (setHeightOfRow): Same thing.
5147         (rowBreakPoint): Same thing.
5148
5149 2003-07-26  Asger Alstrup  <alstrup@local>
5150
5151         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5152
5153         * text.C (singleWidth): Spurious font copying in hot-spot
5154         singleWidth avoided. Reorder tests for arabic for efficiency.
5155
5156         * text.C (fill): handle empty paragraphs better.
5157
5158 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5159
5160         * ispell.C:
5161         * encoding.h: add includes
5162
5163         * lyxrc.C: remove reading of bind files
5164
5165         * lyx_main.C (init): setup bindings and menus only if we have a
5166         gui.
5167
5168         * kbmap.C (read): new method. Do the actual reading of bind
5169         files.
5170
5171         * converter.C (dvipdfm_options):
5172         * bufferparams.C:
5173         * lyxrc.C (read):
5174         (output): adapt PAPER_* enums.
5175
5176         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5177
5178         * bufferparams.h: remove paper-related enums from there
5179
5180         * paper.h: New file. A trivial header file to hold paper-related
5181         enums. It should later expand to contain many paper-related
5182         horrors access.
5183
5184         * lyxrc.C: declare extern displayTranslator
5185
5186 2003-07-27  José Matos  <jamatos@fep.up.pt>
5187
5188         * tabular.[Ch] (linuxdoc): add support for tables and figures
5189         (linuxdoc).
5190
5191 2003-07-27  José Matos  <jamatos@fep.up.pt>
5192
5193         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5194         consistency in both functions.
5195         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5196
5197 2003-07-26  Asger Alstrup  <alstrup@local>
5198
5199         * rowpainter.C (paintRows): Change algorithm to work directly on
5200         the insets rather than asking every character in the document
5201         whether its an inset.
5202
5203 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5204
5205         * buffer.C (openFileWrite): factorize some code
5206
5207 2003-07-26  Angus Leeming  <leeming@lyx.org>
5208
5209         * lyx_cb.C:
5210         * lyx_main.[Ch]: replace occurances of system_tempdir with
5211         os::getTmpDir().
5212
5213 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * rename Inset to InsetOld
5216
5217 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5218
5219         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5220         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5221         which I think is a bit clearer. EDIT is gone, since it was
5222         premature optimisation, and broken for mathed anyway.
5223         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5224         with cursor positioning in insets as well (math insets still do not
5225         work, but that's a different story anyway.) It mysteriously
5226         crashes sometimes with undo in the first paragraph, but I'm fairly
5227         confident that this is a compiler bug.
5228
5229 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * paragraph.C (Paragraph): adjust for new clone return type
5232         (operator==): ditto
5233         (copyIntoMinibuffer): ditto
5234
5235 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5236
5237         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5238         by not having a special case, and always doing a full rebreak of
5239         the document after undo.
5240
5241 2003-07-23  Angus Leeming  <leeming@lyx.org>
5242
5243         * factory.C (createInset): InsetExternal::setParams now takes a
5244         Buffer const * arg.
5245
5246 2003-07-23  Angus Leeming  <leeming@lyx.org>
5247
5248         * factory.C (createInset): changed interface to the external and
5249         graphics mailers' string2params functions.
5250
5251 2003-07-23  Angus Leeming  <leeming@lyx.org>
5252
5253         * factory.C (createInset): pass a
5254         Buffer const * parameter to InsetExternalMailer's string2params.
5255
5256 2003-07-22  John Levon  <levon@movementarian.org>
5257
5258         * Thesaurus.h: include the right aiksaurus header
5259
5260 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5261
5262         * MenuBackend.C (expand): check menu shortcuts unconditionally
5263
5264 2003-07-21  Angus Leeming  <leeming@lyx.org>
5265
5266         * factory.C (createInset): pass a
5267         buffer_path parameter to InsetGraphicsMailer's string2params.
5268
5269 2003-07-21  Angus Leeming  <leeming@lyx.org>
5270
5271         * BufferView_pimpl.C (buffer):
5272         * buffer.C (d-tor):
5273         * lyx_main.C (LyX):
5274         * lyxfunc.C (dispatch):
5275         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5276         rather than the grfx shortcut.
5277
5278 2003-07-21  André Pönitz  <poenitz@gmx.net>
5279
5280         * rowpainter.C: remove unused variables
5281
5282         * tabular_funcs.C:
5283         * tabular_funcs.h: move to tabular.C
5284         * Makefile.am: adjust
5285
5286         * tabular.[Ch]: basic optical cleaning
5287
5288         * author.h: pass references, not values
5289
5290 2003-07-18  André Pönitz  <poenitz@gmx.net>
5291
5292         * lyxtext.h:
5293         * metricsinfo.C:
5294         * metricsinfo.h:
5295         * rowpainter.C:
5296         * text.C:
5297         * text2.C:
5298         * text3.C: two-phase drawing for InsetText and InsetTabular
5299         some float -> int changes.
5300
5301 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5302
5303         * lyx_main.C: fix the fix
5304
5305 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5306
5307         * lyx_main.C: fix a crash in batch mode if no files specified
5308         * converter.C: ws
5309
5310 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5311
5312         * format.[Ch] (papersize): moved to BufferParams
5313         * converter.[Ch] (dvips_options): moved to BufferParams
5314         (dvipdfm_options): moved to anon namespace
5315         * bufferparams.[Ch]: added above functions.
5316
5317 2003-07-17  André Pönitz  <poenitz@gmx.net>
5318
5319         * lyxtext.h:
5320         * rowpainter.C:
5321         * text2.C: don't call inset->update() anymore
5322
5323         * metricsinfo.[Ch]: add convenience constructor
5324
5325 2003-07-16  André Pönitz  <poenitz@gmx.net>
5326
5327         * lyxcursor.[Ch]:
5328         * lyxfunc.[Ch]:
5329         * text.C:
5330         * text2.C: replace the LyXCursor::irow_ member with
5331          on-demand computation of the value
5332
5333 2003-07-16  John Levon  <levon@movementarian.org>
5334
5335         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5336
5337 2003-07-15  André Pönitz  <poenitz@gmx.net>
5338
5339         * text.C:
5340         * text2.C: remove no more needed refresh_row
5341
5342 2003-07-15  André Pönitz  <poenitz@gmx.net>
5343
5344         * lyxtext.h:
5345         * rowpainter.C:
5346         * text2.C:
5347         * text3.C: refresh_status tristate -> need_update bool
5348
5349 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5350
5351         * lyxtext.h (init): remove reinit argument (act as if always true)
5352         * text2.C: adjust to that
5353
5354 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5355
5356         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5357         * text3.C: use it to delete selections in some cases
5358         (bugs 441, 673, 702, 954).
5359
5360 2003-07-14  André Pönitz  <poenitz@gmx.net>
5361
5362         * rowpainter.[Ch]: reduce interface
5363
5364 2003-07-14  André Pönitz  <poenitz@gmx.net>
5365
5366         * BufferView_pimpl.C:
5367         * text2.C: adjust after removing unused BufferView * argument
5368
5369 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5370
5371         * text2.C (init): fix a crash fired on resize
5372
5373 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5374
5375         * buffer.[Ch]: added new closing signal
5376         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5377         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5378         BufferView::Pimpl via the closing the signal
5379
5380 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5381
5382         * buffer.[Ch]: take out all bv-related from buffer
5383         * BufferView.C:
5384         * BufferView_pimpl.[Ch]: connect to new signals
5385         * CutAndPaste.C: removed useless asserts
5386         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5387         * lyxvc.[Ch]:
5388         * vc-backend.[Ch]:
5389         * lyxfunc.C: moved view-related funciontality from vc here
5390         * paragraph.C: removed outdated comments
5391         * text.C: ws
5392
5393 2003-07-10  André Pönitz  <poenitz@gmx.net>
5394
5395         * BufferView_pimpl.C:
5396         * tabular.h:
5397         * tabular_funcs.C:
5398         * text.C:
5399         * text2.C: remove InsetText::InnerCache, clean up consequences
5400
5401 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5402
5403         * ispell.C: fix two typos in error messages
5404
5405 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5406
5407         * Extend Note inset to other forms of annotation like Comment
5408         and Greyedout. Right button click gives dialog.
5409
5410         Files modified or added (+):
5411
5412         * insetnote.[Ch]
5413         * FormNote.[Ch]      +
5414         * ControlNote.[Ch]   +
5415         * form_note.fd       +
5416         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5417         frontends/controllers
5418         * xforms/Dialogs.C
5419         * factory.C
5420
5421 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5422
5423         * aspell.C: add missing namespace lyx::support
5424
5425 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5426
5427         * BufferView.[Ch] (newFile): Add
5428         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5429         * LaTeX.[Ch] (message): added this signal and use it
5430         * buffer.[Ch] (busy, message): added these signals and use them
5431         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5432         * converter.C:
5433         * exporter.C:
5434         * format.C:
5435         * importer.C: use buffer signals instead of direct bv calling
5436         * lyx_cb.[Ch] (ShowMessage): removed
5437         * lyx_main.C:
5438         * lyxfunc.C:
5439         * paragraph_funcs.C:
5440         * text2.C: use buffer signals
5441
5442 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * introduce namespace lyx::graphics
5445
5446 2003-07-02  André Pönitz  <poenitz@gmx.net>
5447
5448         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5449
5450 2003-07-01  André Pönitz  <poenitz@gmx.net>
5451
5452         * text.C:
5453         * text2.C:
5454         * text3.C:
5455         * text_funcs.[Ch]:
5456         * textcursor.h:
5457         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5458           text*.C to text_func.C
5459
5460 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5461
5462         * introduce namespace lyx::support
5463
5464 2003-06-30  André Pönitz  <poenitz@gmx.net>
5465
5466         * Chktex.C:
5467         * funcrequest.C:
5468         * lyxtext.h:
5469         * text.C: re-enable --with-included-string
5470
5471 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5472
5473         * textcursor.C: add <config.h>
5474
5475         * text.C (getWord): remove const from word_location arg
5476
5477         * lyxvc.C (getLogFile): fix const type order
5478
5479         * lyxtext.h: remove const from word_location arg, add arg name
5480
5481         * lyxlayout.h: currect type on labeltype.
5482
5483         * importer.C: correct \file
5484
5485         * converter.C (intToFormat): use std:: on ret val, ws changes
5486
5487         * bufferlist.h: correct \file
5488
5489         * buffer.C (makeLinuxDocFile): fix const type order
5490         (makeDocBookFile): ditto
5491         (fillWithBibKeys): use std:: on stdlib args.
5492
5493         * CutAndPaste.C: fix authors.
5494         (availableSelections): use std:: on return vector
5495
5496 2003-06-27  André Pönitz  <poenitz@gmx.net>
5497
5498         * BufferView_pimpl.C:
5499         * bufferview_funcs.C:
5500         * lyxcursor.C:
5501         * lyxcursor.h:
5502         * lyxfunc.C:
5503         * lyxtext.h:
5504         * rowpainter.C:
5505         * text.C:
5506         * text2.C:
5507         * text3.C: remove LyXCursor::row_ member
5508
5509         * lyxtext.h:
5510         * text.C: rename fullRebreak() to partialRebreak() and implement
5511           a fullRebreak() that really bereks fully
5512
5513         * textcursor.h: new struct for cursor-related data
5514
5515 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5516
5517         * lyx_main.C (LyX): get full path of document loaded on the
5518         command line
5519
5520 2003-06-26  André Pönitz  <poenitz@gmx.net>
5521
5522         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5523           remove unused/broken operator>,<,>=.
5524
5525         *       text.C: remove only use of broken operator<= in an Assert().
5526
5527 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5528
5529         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5530         moved errorlist_.clear to showErrorList
5531
5532 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5533
5534         * converter.C (scanLog, runLaTeX):
5535         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5536         move the bv->showErrorList call to the callers
5537         * lyxfunc.C: i.e. here...
5538         * text2.C: and here
5539         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5540         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5541         namespace, the second to...
5542         * buffer_funcs (BufferFormat, parseErrors): added
5543         * errorlist.C (ErrorList(TeXErrors const &)): removed
5544
5545 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5546
5547         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5548
5549 2003-06-24  "Garst R. Reese" <reese@isn.net>
5550
5551         * debug.C: fix typo
5552
5553 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5554
5555         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5556
5557         * version.C.in: change docversion to 1.4
5558
5559 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5560
5561         * buffer.C: fix a bug just introduced
5562
5563 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5564
5565         * buffer.[Ch]: added the parseError signal and use it, removed
5566         sgmlError
5567         * BufferView.[Ch] (addError): moved to ...
5568         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5569         to the Buffer::parseError signal to catch (guess what) parse errors
5570         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5571
5572 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5573
5574         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5575         ability to create a buffer and to return an existing one from
5576         the list. Moved these functions to...
5577         * buffer_funcs.[Ch]: added
5578         * BufferView.[Ch] (loadLyXFile): added
5579         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5580         job removed from bufferlist::loadLyXFile.
5581         * buffer.C (setReadOnly): make it work without view
5582         (i.e added an if (users))
5583
5584 2003-06-19  Angus Leeming  <leeming@lyx.org>
5585
5586         * lfuns.h:
5587         * LyXAction.C (init):
5588         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5589         with LFUN_DIALOG_SHOW <name> <data>.
5590
5591 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5592
5593         * CutAndPaste.C (availableSelections): small compilation fix for
5594         ancient (gcc 2.9x) compilers
5595
5596 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * text3.C (cursorNext): add tmp var
5599
5600         * text2.C (updateCounters): for function calling out of for clause
5601         (replaceSelectionWithString): ditto
5602         (insertStringAsParagraphs): ditto
5603         (getColumnNearX): add tmp var
5604         (setCursorFromCoordinates): add tmp var
5605         (cursorDownParagraph): add tmp var
5606         (deleteEmptyParagraphMechanism): add tmp var
5607
5608         * text.C (insertChar): add tmp var
5609
5610         * rowpainter.C (paintDepthBar): add tmp var
5611
5612         * CutAndPaste.C (availableSelections): potentially check all
5613         paragraphs in a cut to fill the shown strings.
5614
5615 2003-06-18  André Pönitz  <poenitz@gmx.net>
5616
5617         * kbmap.[Ch]: use vector<> instead of list<>
5618
5619 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5620
5621         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5622         pasteSelection with index
5623
5624         * text2.C (pasteSelection): modify, call pasteSelection with index
5625
5626         * paragraph.C (asString): reimplement version with no interval to
5627         call the one with interval.
5628
5629         * lyxtext.h: add index arg to pasteSelection
5630
5631         * MenuBackend.C (MenuItem): handle PasteRecent
5632         (Menu::read::Menutags): add md_pasterecent
5633         (read): handle it
5634         (expandPasteRecent): new function
5635         (expand): use it
5636
5637         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5638
5639         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5640         the limited stack
5641         (availableSelections): new function
5642
5643 2003-06-17  Angus Leeming  <leeming@lyx.org>
5644
5645         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5646
5647 2003-06-17  Angus Leeming  <leeming@lyx.org>
5648
5649         * lfuns.h:
5650         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5651
5652         * lyxfunc.C (dispatch): invoke it.
5653
5654 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5655
5656         * iterators.C (operator++, ParPosition): reintroduce some
5657         const_cast for the benefit of older compilers.
5658
5659 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5660
5661         * text3.C (dispatch): do not modify clipboard when doing
5662         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5663         LFUN_DELETE_SKIP on a selection selection
5664
5665 2003-06-16  André Pönitz  <poenitz@gmx.net>
5666
5667         * BufferView.C:
5668         * buffer.C:
5669         * buffer.h:
5670         * paragraph.C:
5671         * tabular.[Ch]: IU of clone() and getLabelList();
5672
5673 2003-06-13  André Pönitz  <poenitz@gmx.net>
5674
5675         * tabular.h: compactification
5676
5677 2003-06-12  André Pönitz  <poenitz@gmx.net>
5678
5679         * tabular.C:
5680         * tabular.h:
5681         * tabular_funcs.h: some renaming plus whitespace
5682
5683 2003-06-12  André Pönitz  <poenitz@gmx.net>
5684
5685         * BufferView.C:
5686         * BufferView_pimpl.C:
5687         * CutAndPaste.C:
5688         * buffer.C:
5689         * iterators.[Ch]:
5690         * lyxfunc.C:
5691         * text.C:
5692         * toc.C: Return a Paragraph & for ParIterator::operator*()
5693
5694 2003-06-11  John Levon  <levon@movementarian.org>
5695
5696         * lyx_main.C:
5697         * ToolbarBackend.h:
5698         * ToolbarBackend.C: add "Toolbars" section and
5699         put the flags there
5700
5701 2003-06-10  Angus Leeming  <leeming@lyx.org>
5702
5703         * lfuns.h:
5704         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5705
5706         * lyxfunc.C (dispatch): invoke it.
5707
5708 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * main.C: protect <ios> with HAVE_IOS
5711         (main): protect sync_with_stdio with HAVE_IOS
5712
5713 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5714
5715         * text2.C (cutSelection): adjust
5716         (pasteSelection): adjust
5717
5718         * messages.C: handle get of empty string
5719
5720         * main.C (main): use sync_with_stdio(false)
5721
5722         * lyxfunc.C (dispatch): adjust
5723
5724         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5725         (WriteAs): remove unneeded BufferView arg.
5726
5727         * bufferparams.h: use correct types on papersize, papersize2 and
5728         paperpackage.
5729
5730         * bufferparams.C (readToken): adjust for type
5731         (writeLaTeX): add missing cases to switch.
5732
5733         * bufferlist.C (quitWriteBuffer): adjust
5734         (close): adjust
5735
5736         * buffer.C (asciiParagraph): remove some commented code.
5737
5738         * CutAndPaste.C: remove current_view extern variable.
5739         (cutSelection): add BufferParams arg.
5740         (eraseSelection): add BufferParams arg.
5741         (pasteSelection): add Buffer const & arg
5742
5743 2003-06-07  John Levon  <levon@movementarian.org>
5744
5745         * buffer.C:
5746         * paragraph_funcs.C:
5747         * paragraph_pimpl.C:
5748         * text.C:
5749         * text2.C:
5750         * paragraph.h:
5751         * paragraph.C: allow InsetERT to freely space lines,
5752         and some consolidation of code
5753
5754 2003-06-06  José Matos  <jamatos@fep.up.pt>
5755
5756         * buffer.C (makeDocBookFile): fix bug #821
5757
5758 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5759
5760         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5761
5762 2003-06-04  Angus Leeming  <leeming@lyx.org>
5763
5764         * buffer.C: bump format to 224.
5765
5766 2003-06-05  André Pönitz  <poenitz@gmx.net>
5767
5768         * text2.C (redoParagraphs): remove two const_cast<>
5769
5770 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5771
5772         * ParagraphList.h: remove last remnants of NO_STD_LIST
5773
5774 2003-06-03  Angus Leeming  <leeming@lyx.org>
5775
5776         * factory.C (createInset): small change to the way InsetExternal's params
5777         are set.
5778
5779 2003-06-04  André Pönitz  <poenitz@gmx.net>
5780
5781         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5782
5783         * paragraph_pimpl.h:
5784         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5785
5786         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5787
5788         * undo_funcs.C: make some simple cases of undo work again
5789
5790 2003-06-03  John Levon  <levon@movementarian.org>
5791
5792         * ispell.C: HPUX doesn't have sys/select.h
5793         (from Albert Chin)
5794
5795 2003-06-03  John Levon  <levon@movementarian.org>
5796
5797         * CutAndPaste.C: update tabular and include inset
5798         buffer references
5799
5800         * buffer.h:
5801         * paragraph.h:
5802         * paragraph.C: remove owningBuffer(), don't pass Buffer
5803         to clone()
5804
5805         * factory.C: insetGraphicsParams changed
5806
5807 2003-06-02  John Levon  <levon@movementarian.org>
5808
5809         * LyXAction.C:
5810         * factory.C:
5811         * lfuns.h:
5812         * lyxfunc.C:
5813         * text3.C: remove insetparent
5814
5815 2003-06-02  John Levon  <levon@movementarian.org>
5816
5817         * buffer.h:
5818         * buffer.C: fix inset_iterator.end(), move out of line
5819         (bug 1149)
5820
5821 2003-06-01  John Levon  <levon@movementarian.org>
5822
5823         * text3.C: use a proper cut/paste when doing inset
5824         insert (from Jürgen Spitzmüller)
5825
5826 2003-06-01  John Levon  <levon@movementarian.org>
5827
5828         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5829
5830 2003-05-30  André Pönitz  <poenitz@gmx.net>
5831
5832         * rowpainter.C: unify second drawing phase
5833
5834 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5835
5836         * trans_mgr.C: remove one case of current_view
5837
5838         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5839
5840         * paragraph_funcs.h: remove paragraph.h include
5841
5842         * paragraph.h: delete NO_STD_LIST stuff
5843
5844         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5845
5846         * buffer.h: remove paragraph.h include
5847
5848         * ParagraphList.C: delete file
5849
5850         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5851
5852         * toc.C (getTocList): adjust
5853
5854         * paragraph_pimpl.C (validate): adjust
5855
5856         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5857
5858         * paragraph.C (Paragraph): adjust
5859         (getPositionOfInset): use const_iterator, adjust
5860         (bibitem): use const_iterator, adjust
5861         (setInsetOwner): adjust
5862
5863         * iterators.C (operator++): adjust
5864
5865         * InsetList.[Ch]: Replace selfmade iterator with standard
5866         vector::iterator also introduce const_iterator. Remove getPos,
5867         getInset and setInset from InsetTable. Adjust accordingly.
5868
5869         * BufferView.C (lockInset): adjust
5870         (ChangeInsets): adjust
5871
5872         * tabular.[Ch]: delete commented same_id functions
5873
5874 2003-05-28  John Levon  <levon@movementarian.org>
5875
5876         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5877
5878 2003-05-28  André Pönitz  <poenitz@gmx.net>
5879
5880         * metricsinfo.[Ch]: remove 'fullredraw' member
5881
5882 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5883
5884         * lyxtextclass.C (operator): remove caching.
5885
5886 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * text3.C: adjust
5889
5890         * text2.C (cursorBottom): adjust
5891         (setCounter): use ParagraphList::find, adjust
5892
5893         * text.C (workWidth): use ParagraphList::find, adjust
5894
5895         * lyxcursor.C (LyXCursor): adjust
5896
5897         * buffer.C (inset_iterator): adjust
5898
5899         * ParagraphList.h: make iterator(value_type) private, make
5900         ParagraphList a friend of iterator.
5901
5902         * ParagraphList.C (find): new function
5903
5904         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5905
5906 2003-05-27  André Pönitz  <poenitz@gmx.net>
5907
5908         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5909
5910 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5911
5912         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5913
5914 2003-05-26  John Levon  <levon@movementarian.org>
5915
5916         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5917
5918 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * remove same_id from function signatures, adjust.
5921
5922 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5923
5924         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5925
5926         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5927
5928         * paragraph.C (Paragraph): get rid of same_ids parameter
5929
5930         * ParagraphList.C (insert): adjust
5931         (push_back): adjust
5932
5933 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * paragraph_funcs.C (breakParagraph): adjust
5936         (breakParagraphConservative): adjust
5937
5938         * buffer.C (readParagraph): adjust
5939
5940         * ParagraphList.C (insert): take a reference instead of a pointer
5941         (insert): adjust
5942
5943         * paragraph.[Ch] (id): new function
5944
5945         * bufferlist.C (newFile): adjust
5946
5947         * ParagraphList.C (ParagraphList): adjust
5948         (assign): adjust
5949         (push_back): take a reference instead of a pointer.
5950
5951         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5952
5953         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5954         instead.
5955
5956         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5957         set else use old code.
5958
5959         * ParagraphList.C: remove all NO_NEXT code and only compile this
5960         code of NO_STD_LIST is set.
5961
5962 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5963
5964         * BufferView_pimpl.C:
5965         * TextCache.C:
5966         * TextCache.h:
5967         * bufferlist.C:
5968         * errorlist.h:
5969         * format.C:
5970         * format.h:
5971         * graph.C:
5972         * lyxfunc.C:
5973         * lyxrc.C:
5974         * graphics/GraphicsConverter.C:
5975         * graphics/PreviewLoader.C: header adjustment
5976
5977 2003-05-23  Angus Leeming  <leeming@lyx.org>
5978
5979         * LaTeXFeatures.[Ch] (useBabel): new method.
5980         * bufferparams.C (writeLaTeX): use it.
5981
5982 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5983
5984         * ParagraphList.h (set): remove unused function.
5985
5986 2003-05-23  André Pönitz  <poenitz@gmx.net>
5987
5988         * BufferView.C:
5989         * BufferView_pimpl.C:
5990         * buffer.C:
5991         * buffer.h:
5992         * lyxfunc.C:
5993         * undo_funcs.C: setUndo reworked
5994
5995         * iterators.[Ch]: add access to topmost ParagraphList
5996
5997         * lyxtext.[Ch] (workWidth): add a const
5998
5999 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6000
6001         * texrow.[Ch] (increasePos): remove function
6002         * exporter.C (export): removed unused var and outdated comment
6003
6004 2003-05-23  Angus Leeming  <leeming@lyx.org>
6005
6006         * latexrunparams.h: rename fragile as moving_arg.
6007         * paragraph.C (simpleTeXOnePar): ditto.
6008         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6009
6010 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6013         (createUndo): ditto
6014         (textUndoOrRedo): comment out a currently unused var.
6015
6016         * paragraph.h (NO_NEXT): enable NO_NEXT
6017
6018         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6019
6020         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6021
6022         * exporter.C (Export): adjust for removeAutoInsets removal.
6023
6024         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6025
6026         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6027
6028         * BufferView.[Ch] (removeAutoInsets): delete function
6029
6030 2003-05-22  Angus Leeming  <leeming@lyx.org>
6031
6032         * latexrunparams.h: add a free_spacing variable.
6033
6034         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6035         to pass moving_arg, as the data is stored in runparams.fragile.
6036
6037         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6038         to Inset::latexOptional or to simpleTeXOnePar.
6039
6040         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6041         free_spacing arg to Inset::latexOptional.
6042
6043         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6044         free_spacing arg.
6045
6046 2003-05-22  Angus Leeming  <leeming@lyx.org>
6047
6048         * latexrunparams.h: add fragile and use_babel variables.
6049
6050         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6051         * buffer.C (makeLaTeXFile): store this returned value in
6052         runparams.use_babel, thus passing it to the inset::latex methods.
6053
6054         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6055         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6056
6057         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6058         longer has a fragile arg, as it is stored in runparams.fragile.
6059
6060         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6061         moving_arg parameter as the data is stored in runparams.fragile.
6062
6063         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6064         a fragile parameter as the data is stored in runparams.fragile.
6065
6066 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6069
6070 2003-05-22  Angus Leeming  <leeming@lyx.org>
6071
6072         * latexrunparams.h: add a 'bool nice' which defaults to false.
6073
6074         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6075         now encapsulated within runparams.
6076
6077         * bufferlist.C (updateIncludedTeXfiles):
6078         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6079
6080 2003-05-22  Angus Leeming  <leeming@lyx.org>
6081
6082         * latexrunparams.h: new file containing struct LatexRunParams.
6083         * Makefile.am: add new file.
6084
6085         * LaTeX.[Ch] (c-tor, run):
6086         * buffer.[Ch] (makeLaTeXFile):
6087         * bufferlist.[Ch] (updateIncludedTeXfiles):
6088         * converter.C (convert, scanLog):
6089         * converter.[Ch] (runLaTeX):
6090         * exporter.C (Export):
6091         * paragraph.[Ch] (simpleTeXOnePar):
6092         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6093         * paragraph_funcs.[Ch] (latexParagraphs):
6094         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6095         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6096         pass around a LatexRunParams parameter.
6097
6098 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * paragraph.[Ch]: remove unused constructor
6101
6102         * ParagraphList.C (erase): new function, taking two iterators
6103
6104 2003-05-22  André Pönitz  <poenitz@gmx.net>
6105
6106         * undo_funcs.C: remove duplicated code
6107
6108         * iterator.[Ch]: operator=
6109
6110 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * tabular.C (SetMultiColumn): ws changes
6113
6114         * rowpainter.C (paintFirst): get rid of a ->previous
6115
6116         * lyx_cb.C (getPossibleLabel): parlist simplification
6117
6118         * BufferView.C (ChangeInsets): simplify slightly.
6119
6120 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6121
6122         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6123         * lfuns.h: new LFUN_SPACE
6124         * lyxfunc.C: protected space has a new lfun
6125         * paragraph_funcs.C: read new space insets
6126         * text3.C:
6127         * factory.C: handle new space insets
6128
6129 2003-05-22  André Pönitz  <poenitz@gmx.net>
6130
6131         * BufferView.C:
6132         * BufferView_pimpl.C:
6133         * buffer.[Ch]:
6134         * lyxfunc.C:
6135         * undo_funcs.C: return a ParIterator from getParFromID.
6136
6137         * iterators.[Ch]: add two const's
6138
6139 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6140
6141         * toc.C (getTocList): adjust
6142
6143         * iterators.[Ch]: rework for parlist
6144
6145         * buffer.C (par_iterator_begin): adjust
6146         (par_iterator_end): adjust
6147
6148         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6149
6150         * BufferView.C (removeAutoInsets): adjust
6151         (ChangeInsets): adjust
6152
6153 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6154
6155         * text.C (top_y): fix bug 1110
6156
6157 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6158
6159         * errorlist.[Ch]: added
6160         * buffer.C:
6161         * BufferView.[Ch]:
6162         * BufferView_pimpl.C:
6163         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6164         instead
6165
6166 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6167
6168         * Makefile.am: ensure that lyx is relinked upon changes to the
6169         various "convenience" libs.
6170
6171 2003-05-20  Angus Leeming  <leeming@lyx.org>
6172
6173         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6174         files are compiled in alphabetical order again.
6175
6176         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6177
6178 2003-05-19  Angus Leeming  <leeming@lyx.org>
6179
6180         * gettext.[Ch]: remove "char const * _(char const *)".
6181
6182 2003-05-19  André Pönitz  <poenitz@gmx.net>
6183
6184         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6185
6186         * Makefile.am:
6187         * BufferView.C:
6188         * DepTable.h:
6189         * LaTeXFeatures.C:
6190         * buffer.C:
6191         * lyxfont.C:
6192         * lyxlex.h:
6193         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6194
6195 2003-05-19  André Pönitz  <poenitz@gmx.net>
6196
6197         * buffer.C:
6198         * lyxlayout.[Ch]:
6199         * lyxtextclass.[Ch]:
6200         * paragraph.C:
6201         * paragraph_funcs.[Ch]:
6202         * text2.C:
6203         * text3.C: more insetenv work
6204
6205 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6206
6207         * ParagraphParameters.C (params2string): small bug fixed
6208
6209 2003-05-16  André Pönitz  <poenitz@gmx.net>
6210
6211         * debug.C:
6212         * bufferview_funcs.C: patch from Kornel Benko to prevent
6213           crash when _(...) is called twice in a statement
6214
6215 2003-05-16  André Pönitz  <poenitz@gmx.net>
6216
6217         * BufferView.C:
6218         * lyxfunc.C:
6219         * text.C:
6220         * text2.C:
6221         * text3.C:
6222         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6223
6224 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6225
6226         * lyx_main.C (init): remove spurious static_cast
6227
6228 2003-05-14  André Pönitz  <poenitz@gmx.net>
6229
6230         * BufferView.C: fix format string
6231
6232 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6233
6234         * BufferView.[Ch] (insertErrors): removed
6235         * BufferView.[Ch] (showErrorList): added
6236         * buffer.C (runChkTeX):
6237         * converter.C (scanLog): call showErrorList instead of inserterrors
6238
6239 2003-05-13  André Pönitz  <poenitz@gmx.net>
6240
6241         * BufferView_pimpl.C:
6242         * buffer.C:
6243         * bufferview_func.C:
6244         * MenuBackend.C:
6245         * lyxfunc.C:
6246         * lyxrc.C:
6247         * tex-accent.C:
6248         * text3.C:
6249         * toc.C:
6250         * tabular_funcs.h: tostr() from its own header
6251
6252         * ParagraphParameters.C:
6253         * ToolbarBackend.C:
6254         * bufferparams.C:
6255         * format.C:
6256         * lyxlex_pimpl.C:
6257         * text3.C: STRCONV()
6258
6259 2003-05-12  André Pönitz  <poenitz@gmx.net>
6260
6261         * BufferView.C:
6262         * BufferView_pimpl.C:
6263         * CutAndPaste.C:
6264         * LaTeX.C:
6265         * LaTeXFeatures.C:
6266         * ParagraphParameters.C:
6267         * buffer.C:
6268         * bufferlist.C:
6269         * bufferparams.C:
6270         * bufferview_funcs.C:
6271         * converter.C:
6272         * counters.C:
6273         * debug.C:
6274         * exporter.C:
6275         * format.C:
6276         * importer.C:
6277         * lyx_cb.C:
6278         * lyx_main.C:
6279         * lyxfont.C:
6280         * lyxfunc.C:
6281         * lyxvc.C:
6282         * paragraph.C:
6283         * paragraph_funcs.C:
6284         * tabular.C:
6285         * tabular_funcs.C:
6286         * text2.C:
6287         * text3.C:  boost::format -> bformat  all over the place
6288
6289
6290 2003-05-09  André Pönitz  <poenitz@gmx.net>
6291
6292         * LColor.[Ch]: Pimpl the #include <map> away
6293
6294 2003-05-09  John Levon  <levon@movementarian.org>
6295
6296         * bufferlist.C: never remove emergency saves
6297
6298 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * Makefile.am: better lib building
6301
6302 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6303
6304         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6305         instead.
6306         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6307         (simpleTeXSpecialChars): adjust
6308         (simpleTeXSpecialChars): adjust
6309         * paragraph.C (simpleTeXOnePar): adjust
6310         * buffer.C (makeLaTeXFile): adjust
6311
6312         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6313
6314         * text2.C (changeDepth): parlist cleanup
6315         (getColumnNearX): ditto
6316
6317         * rowpainter.C (getLabelFont): parlist cleanup
6318
6319         * bufferlist.C (newFile): parlist cleanup
6320
6321         * CutAndPaste.C (eraseSelection): parlist cleanup
6322
6323         * BufferView_pimpl.C (trackChanges): parlist cleanup
6324         (dispatch): ditto
6325
6326         * BufferView.C (lockInset): parlist cleanup.
6327         (ChangeInsets): ditto
6328
6329 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * CutAndPaste.h: Update file header.
6332
6333         * CutAndPaste.C: Update file header.
6334         Store the parts cut out of the Document in a limited_stack.
6335         (copySelection): adjust
6336         (pasteSelection): new function, takes the index in the limited stack.
6337         (nrOfParagraphs): adjust
6338         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6339         simplify error inset insertion.
6340         (checkPastePossible): adjust
6341
6342 2003-05-06  John Levon  <levon@movementarian.org>
6343
6344         * text2.C: don't cast wrap inset to float
6345
6346 2003-05-05  André Pönitz  <poenitz@gmx.net>
6347
6348         * iterator.C:
6349         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6350
6351         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6352           few naked Paragraph *.
6353
6354 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6355
6356         * bufferparams.C: Output warning if a document with missing
6357         TeX document class is loaded
6358         * exporter.C: Disable TeX exports if the document class is missing
6359         * lyxtextclass.C:
6360         * lyxtextclass.h:
6361         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6362         isTeXClassAvailable()
6363
6364 2003-05-03  John Levon  <levon@movementarian.org>
6365
6366         * BufferView.h:
6367         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6368         explicit cursor show/hide
6369
6370         * BufferView_pimpl.h:
6371         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6372         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6373
6374         * lyxfunc.C: hide cursor before dispatching.
6375
6376         * lyx_cb.C:
6377         * lyxfind.C:
6378         * text.C:
6379         * text3.C: remove explicit cursor hides
6380
6381 2003-05-02  André Pönitz  <poenitz@gmx.net>
6382
6383         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6384
6385         * undo_funcs.C:
6386         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6387           linked lists
6388
6389         * text2.C: tiny whitespace
6390
6391 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * undo_funcs.C: almost only ws changes.
6394
6395         * ParagraphList.C (splice): just return if pl is empty.
6396
6397 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * ParagraphList.C (splice): new function.
6400
6401         * CutAndPaste.C (pasteSelection): use it
6402
6403 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * CutAndPaste.C (pasteSelection): remove the last next and
6406         previous from this file.
6407
6408 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6409
6410         * CutAndPaste.C (pasteSelection): more clean up, user proper
6411         ParagraphList functions for pasteing.
6412
6413         * ParagraphList.C (insert): new function, three arg insert
6414
6415 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * ParagraphList.C (insert): new function, three arg insert
6418
6419         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6420         not on paragraphs.
6421
6422 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6423
6424         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6425
6426 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6429
6430 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6433         (copySelection): clean up a bit.
6434         (pasteSelection): use make_pair
6435
6436         * ParagraphList.C (ParagraphList): implement copy constructor
6437         (operator=): implement, base on copy constructor.
6438         (assign): new func
6439
6440         * paragraph.C (erase): return a bool
6441
6442         * paragraph_pimpl.C (erasePos): remove function, move contents...
6443         (erase): ... here. Return a bool.
6444         (erase): call erase instead of erasePos.
6445
6446 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6447
6448         * ParagraphList.h: define PitPosPair
6449         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6450         ParagraphList, fix a bug on pasting multiple pars
6451         * text2.C: change interface to C&P
6452
6453 2003-04-30  André Pönitz  <poenitz@gmx.net>
6454
6455         * undo_func.C: revert part of yesterday's patch 2
6456
6457 2003-04-30  John Levon  <levon@movementarian.org>
6458
6459         * LColor.C: s/tabular/table/
6460
6461 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6462
6463         * text3.C (dispatch): do not convert iterator -> pointer
6464         * undo_funcs.C (setCursorParUndo): ditto
6465         * text_funcs.C (transposeChars): ditto
6466
6467         * text2.C (setLayout): ws changes only
6468
6469         * text.C (breakParagraph): do not convert iterator -> pointer
6470         (insertChar): ditto
6471         (acceptChange): ditto
6472         (rejectChange): ditto
6473         (changeCase): ditto
6474         (Delete): ditto
6475         (backspace): ditto
6476
6477         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6478         pointer
6479
6480 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6481
6482         * text3.C (gotoInset): YABG (yet another bad getChar)
6483
6484 2003-04-29  André Pönitz  <poenitz@gmx.net>
6485
6486         * paragraph.h: make operator= private unimplemented as long as
6487           it is unusable
6488
6489         * ParagraphList.C: whitespace
6490
6491         * paragraph.[Ch]:
6492         * paragraph_pimpl.[Ch]:
6493         * paragraph_funcs.C:
6494         * CutAndPaste.C:
6495         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6496
6497         * text2.C:
6498           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6499
6500 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6501
6502         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6503         * paragraph.[Ch] (erase):
6504         * paragraph_pimpl.[Ch] (erase): change return type and value
6505         * text2.C (cutSelection): some rework
6506
6507 2003-04-28  John Levon  <levon@movementarian.org>
6508
6509         * bufferlist.C: changes for unsaved changes dialog
6510
6511 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * bufferlist.C (newFile): set language (messages_) for new
6514         documents also.
6515
6516         * buffer.C (readFile): ws changes only.
6517
6518 2003-04-28  André Pönitz  <poenitz@gmx.net>
6519
6520         * undo_funcs.C:
6521         * lyxfunc.C:
6522         * buffer.[Ch]:
6523         * BufferView_pimpl.C:
6524         * BufferView.C: getParFromID related ParagraphList::iterator changes
6525
6526 2003-04-28  André Pönitz  <poenitz@gmx.net>
6527
6528         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6529           Changes
6530
6531 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * messages.C: remove one more localedir class variable.
6534
6535 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * messages.C (getLocaleDir): singleton generation function
6538         (Pimpl): use it.
6539         (Messages): add a default constructor.
6540
6541         * main.C (main): do not setup localedir here, do not call
6542         gettext_init.
6543
6544         * gettext.C (_): use it.
6545         (gettext_init): delete funciton
6546
6547 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * gettext.C (getLyXMessages): new singleton generating function.
6550
6551         * buffer.C (updateDocLang): adjust
6552
6553         * Makefile.am (messages.o): add target
6554         (main.o): remove target
6555
6556 2003-04-27  John Levon  <levon@movementarian.org>
6557
6558         * bufferlist.C:
6559         * lyx_cb.C:
6560         * lyxfunc.C:
6561         * lyxvc.C: specify cancel button in Alert::prompt
6562
6563 2003-04-26  John Levon  <levon@movementarian.org>
6564
6565         * text3.C:
6566         * lyxfunc.C:
6567         * lfuns.h:
6568         * LyXAction.C: add LFUN_INSET_SETTINGS
6569
6570         * lyxfunc.C: don't enable tabular-feature when there's
6571         just any locking inset
6572
6573 2003-04-26  John Levon  <levon@movementarian.org>
6574
6575         * bufferlist.C: re-add Cancel to buffer close question
6576
6577         * lyxfunc.C: fix import UI a bit
6578
6579 2003-04-25  John Levon  <levon@movementarian.org>
6580
6581         * gettext.C: remove the broken asserts for now
6582
6583 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * messages.C: make case where setlocale cannot comply work better.
6586
6587         * buffer.C (updateDocLang): new function
6588         (changeLanguage): use it
6589         (readFile): use it
6590
6591         * text2.C (setCounter): use B_ a bit.
6592
6593         * lyxlayout.C (Read): be sure to trim the label strings.
6594
6595         * messages.C (Messages): fix typo in comment
6596
6597         * buffer.C (readFile): set message_ after file is loaded.
6598         (makeDocBookFile): remove double return
6599         (changeLanguage): reset message_ upon language change.
6600         (B_): new func, use this to get translated buffer strings.
6601
6602         * main.C: add myself and Jean Marc as authors.
6603
6604 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * messages.[hC]: pimplify Messages, and three different pimpls to be
6607         used in different circumstances.
6608
6609         * gettext.[Ch]: change for use with new message code.
6610
6611 2003-04-24 André Pönitz <poenitz@gmx.net>
6612
6613         * factory.C: support for eqref
6614
6615 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6616
6617         * messages.[Ch]: add missing char
6618
6619         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6620
6621         * messages.[Ch]: New files
6622
6623 2003-04-18  John Levon  <levon@movementarian.org>
6624
6625         * BufferView.h:
6626         * BufferView.C:
6627         * BufferView_pimpl.C:
6628         * lfuns.h:
6629         * LyXAction.C:
6630         * lyxtext.h:
6631         * text2.C: remove layout-copy/paste (bug 778)
6632
6633 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6634
6635         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6636
6637 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6638
6639         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6640         if they succeed. Act accordingly.
6641
6642 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6643
6644         * text2.C (setCharFont): adjust
6645         (setCounter): adjust
6646         (insertStringAsLines): adjust
6647
6648         * text.C (leftMargin): adjust
6649         (setHeightOfRow): adjust
6650
6651         * rowpainter.C (paintFirst): adjust
6652         (paintLast): adjust
6653
6654         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6655         (outerHook): ditto
6656         (isFirstInSequence): ditto
6657         (getEndLabel): ditto
6658         (outerFont): adjust
6659
6660         * paragraph.C (getParLanguage): comment out some hard stuff.
6661
6662         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6663         (sgmlError): ditto
6664         (simpleDocBookOnePar): ditto
6665         (makeDocBookFile): use ParagraphList::iterator
6666
6667         * CutAndPaste.C (pasteSelection): adjust
6668
6669 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * text2.C (getFont): adjust
6672         (getLayoutFont): adjust
6673         (getLabelFont): adjust
6674
6675         * paragraph_funcs.C (TeXOnePar): adjust
6676
6677         * buffer.C (simpleLinuxDocOnePar): adjust
6678         (simpleDocBookOnePar): adjust
6679
6680         * CutAndPaste.C (pasteSelection): adjust
6681
6682         * BufferView.C (getEncoding): adjust
6683
6684         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6685
6686 2003-04-16  John Levon  <levon@movementarian.org>
6687
6688         * lyxfind.C: use parlist stuff for search/changes
6689
6690 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6693
6694         * text2.C (deleteEmptyParagraphMechanism): adjust
6695
6696         * text2.[Ch] (ownerParagraph): delete func (both of them
6697
6698 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6699
6700         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6701
6702 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6703
6704         * ParagraphList.C: prepare for NO_NEXT
6705
6706 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * text2.C (getFont): adjust
6709         (getLayoutFont): adjust
6710         (getLabelFont): adjust
6711
6712         * paragraph.C (getFont): adjust
6713         (getLabelFont): adjust
6714         (getLayoutFont): adjust
6715
6716         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6717
6718 2003-04-15  John Levon  <levon@movementarian.org>
6719
6720         From Angus Leeming
6721
6722         * lyx_main.C: handle Include in .ui files
6723
6724 2003-04-15  John Levon  <levon@movementarian.org>
6725
6726         * MenuBackend.C: make the doc files length shorter
6727
6728         * ToolbarBackend.h:
6729         * ToolbarBackend.C: handle toolbar placement flags,
6730         Minibuffer
6731
6732 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6735         adjust
6736
6737         * paragraph_funcs.C (TeXOnePar): adjust
6738
6739         * paragraph.C (getLabelFont): add outerfont arg, adjust
6740         (getLayoutFont): ditto
6741         (simpleTeXOnePar): adjust
6742
6743         * paragraph_pimpl.C (realizeFont): delete func
6744
6745 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6746
6747         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6748         row argument, constify cur argument.
6749
6750 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6751
6752         * text2.C (getFont): adjust
6753         (getLayoutFont): adjust
6754         (getLabelFont): adjust
6755
6756         * paragraph_funcs.C (TeXOnePar): adjust
6757         (outerFont): new func...
6758         (realizeFont): ...moved out from here, changed this to facilitate
6759         transition
6760
6761         * paragraph.C (getFont): take outerfont as arg, adjust
6762         (simpleTeXOnePar): add outerfont arg, adjust
6763
6764         * buffer.C (simpleLinuxDocOnePar): adjust
6765         (simpleDocBookOnePar): adjust
6766
6767         * CutAndPaste.C (pasteSelection): adjust
6768
6769         * BufferView.C (getEncoding): adjust
6770
6771 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * text2.C (setCharFont): adjust
6774         (setCounter): adjust
6775
6776         * text.C (leftMargin): adjust
6777         (setHeightOfRow): adjust
6778
6779         * rowpainter.C (paintFirst): adjust
6780         (paintLast): adjust
6781
6782         * paragraph_pimpl.C (realizeFont): adjust
6783
6784         * paragraph.C (isFirstInSequence): move from here...
6785         * paragraph_funcs.C (isFirstInSequence): ...to here
6786
6787         * paragraph.C (outerHook): move from here...
6788         * paragraph_funcs.C (outerHook): ...to here
6789
6790         * paragraph.C (depthHook): move from here...
6791         * paragraph_funcs.C (depthHook): ...to here
6792
6793         * paragraph.C (getEndLabel): move from here...
6794         * paragraph_funcs.C (getEndLabel): ...to here
6795
6796         * text2.C (realizeFont): move from here...
6797         * paragraph_funcs.C (realizeFont): ...to here
6798
6799 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6802
6803 2003-04-14  Angus Leeming  <leeming@lyx.org>
6804
6805         * LColor.[Ch]: scrap LColor mathcursor.
6806
6807 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6808
6809         * lyxlex.[Ch] (text): delete function
6810         * trans.C (Load): adjust
6811         * paragraph_funcs.C (readParToken): adjust
6812
6813 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6814
6815         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6816         vector<char> instead of a char[].
6817
6818         * lyxlex_pimpl.C (getString): adjust
6819         (next): adjust
6820         (lex): use getString
6821         (eatLine): adjust
6822         (nextToken): adjust
6823
6824         * lyxlex.C (text): use pimpl_->getString()
6825         (getBool): ditto
6826         (findToken): ditto
6827
6828 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6829
6830         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6831         (makeFontEntriesLayoutSpecific): temp var for par.size()
6832         (setLayout): temp var for ownerParagraphs().end()
6833         (fullRebreak): temp var for rows().end()
6834         (selectionAsString): temp var for boost::next(startpit), realize
6835         that the while really is a regular for loop.
6836         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6837         setCursor in one place.
6838         (setParagraph): temp vr for ownerParagraphs().end()
6839         (updateCounters): make the while loop a for loop
6840         (cutSelection): temp var for ownerParagraphs().end()
6841         (updateInset): make the do {} while() a regular for loop
6842         (getCursorX): use temp vars
6843         (setCurrentFont): use temp vars
6844         (getColumnNearX): use temp vars
6845
6846 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * text.C (transformChar): use temp var for getChar
6849         (computeBidiTables): use temp var for row->par()
6850         (fill): move temp vars for row->par() and pit->layout() earlier in
6851         the function.
6852         (labelFill): use temp var for row->par()
6853         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6854         asc and desc, realize that pit never changes and that firstpit is
6855         just a duplicate and not needed. Exchange rit->par() with pit in a
6856         lot of places.
6857         (breakAgain): use a temp var for boost::next(rit)
6858         (breakAgainOneRow): ditto
6859         (breakParagraph): use a temp var for rows().begin()
6860         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6861         (cursorRightOneWord): use temp var for cursor.par() and
6862         cursor.pos(), remove usage of tmpcursor.
6863         (cursorLeftOneWord): use temp var for cursor.par() and
6864         cursor.pos() only set cur at end of function.
6865
6866 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6867
6868         * text.C, text2.C: exchange all usage of Paragraph::next with
6869         boost::next(ParagraphList::iterator)
6870
6871         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6872
6873         * text2.C (cursorTop): simplify implementation
6874         (cursorBottom): ditto
6875         (setParagraph): use ParagraphList::iterator
6876         (setCurrentFont): adjust
6877         (getColumnNearX): adjust
6878         (cursorRight): adjust
6879         (cursorLeft): remove usage of Paragraph::previous
6880         (cursorUpParagraph): ditto
6881         (deleteEmptyParagraphMechanism): slight cleanup
6882
6883         * text.C (isBoundary): take a Paragraph const & instead of a
6884         pointer as arg.
6885         (addressBreakPoint): ditto
6886         (leftMargin): remove usage of Paragraph::previous.
6887         (setHeightOfRow): ditto
6888         (cursorLeftOneWord): ditto
6889         (selectNextWordToSpellcheck): ditto
6890         (Delete): ditto
6891         (backspace): ditto
6892         (breakParagraph): remove one usage of Paragraph::next
6893         (redoParagraph): ditto
6894         (acceptChange): ditto
6895         (insertChar): adjust
6896         (rowBreakPoint): adjust
6897
6898         * bufferview_funcs.C (toggleAndShow): adjust
6899
6900 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6901
6902         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6903         methods to access it.
6904         * lyxtext.h:
6905         * text.C: Added updateRowPositions to compute all row positions.
6906         Make top_y and getRowNearY() to use the cached y position
6907
6908 2003-04-11  John Levon  <levon@movementarian.org>
6909
6910         * text.C (rowBreakPoint): reintroduce the labelEnd
6911         checks, code copied from the row fill stuff. Deep voodoo.
6912
6913         * text.C (fill): add a comment and debugging for the
6914         next poor soul.
6915
6916 2003-04-11  John Levon  <levon@movementarian.org>
6917
6918         * text.C: make sure fullrow insets get wrapped to the next line,
6919         even when they're in a manual label
6920
6921 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * text2.C (insertParagraph): make it take ParagraphList::iterator
6924         as arg.
6925         (setLayout): make it return ParagraphList::iterator
6926         (redoParagraphs): ditto
6927         (setCounter): ditto
6928         (checkParagraph): ditto
6929
6930         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6931
6932         * text2.C: adjust several funcs.
6933         (realizeFont): take a ParagraphList::iterator as arg.
6934         (getLayoutFont): ditto
6935         (getLabelFont): ditto
6936         (setCharFont): ditto
6937
6938         * text.C: adjust several funcs.
6939
6940 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6941
6942         * text.C (selectNextWordToSpellcheck): don't accidentally
6943         skip insets
6944
6945 2003-04-10  John Levon  <levon@movementarian.org>
6946
6947         * ToolbarBackend.C (getIcon): special handling for
6948         LFUN_MATH_DELIM
6949
6950 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6951
6952         * text2.C (cursorRight): a getChar assert fixed
6953
6954 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * text2.C (getFont): change to take a ParagraphList::iterator
6957         instead of Paragraph*
6958         Adjust several functions.
6959
6960         * text.C (transformChar): change to take a ParagraphList::iterator
6961         instead of Paragraph*
6962         (singleWidth): ditto
6963         Adjust several functions.
6964
6965         * rowpainter.C: adjust several functions
6966         * rowpainter.h:store a ParagraphList::iterator and not a
6967         Paragraph&.
6968
6969
6970 2003-04-09  John Levon  <levon@movementarian.org>
6971
6972         * lyxfunc.C:
6973         * lfuns.h:
6974         * LyXAction.h:
6975         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6976         and the "help" bits as well
6977
6978 2003-04-09  John Levon  <levon@movementarian.org>
6979
6980         * ToolbarBackend.h:
6981         * ToolbarBackend.C: allow multiple toolbars
6982
6983 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * undo_funcs.C (setCursorParUndo): adjust
6986
6987         * text_funcs.C (transposeChars): adjust
6988
6989         * text3.C (gotoNextInset): adjust
6990         (dispatch): adjust
6991
6992         * text2.C (setLayout): adjust
6993         (changeDepth): adjust
6994         (setFont): adjust
6995         (redoParagraphs): adjust
6996         (selectionAsString): adjust
6997         (setParagraph): adjust
6998         (insertInset): adjust
6999         (cutSelection): adjust
7000         (copySelection): adjust
7001         (pasteSelection): adjust
7002         (insertStringAsLines): adjust
7003         (updateInset): adjust
7004         (setCursor): change to take a ParagraphList::iterator parameter
7005         (setCursorIntern): change to take a ParagraphList::iterator parameter
7006         (setCurrentFont): adjust
7007         (cursorLeft): adjust
7008         (cursorRight): adjust
7009         (deleteEmptyParagraphMechanism): adjust
7010
7011         * text.C (breakParagraph): adjust
7012         (insertChar): adjust
7013         (acceptChange): adjust
7014         (rejectChange): adjust
7015         (selectNextWordToSpellcheck): adjust
7016         (changeCase): adjust
7017         (Delete): adjust
7018         (backspace): adjust
7019
7020         * lyxfind.C (SearchForward): adjust
7021         (SearchBackward): adjust
7022         (nextChange): adjust
7023
7024         * lyxcursor.C (par): adjust
7025
7026         * lyxcursor.h: store a ParagraphList::iterator instead of a
7027         Paragraph*
7028
7029         * lyx_cb.C (getPossibleLabel): adjust
7030
7031         * bufferview_funcs.C (toggleAndShow): adjust
7032
7033         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7034         (dispatch): adjust
7035
7036         * BufferView.C (removeAutoInsets): adjust
7037         (lockedInsetStoreUndo): adjust
7038
7039 2003-04-09  John Levon  <levon@movementarian.org>
7040
7041         * ToolbarBackend.C: try icon without argument
7042         if with argument fails
7043
7044 2003-04-08  John Levon  <levon@movementarian.org>
7045
7046         * ToolbarBackend.h:
7047         * ToolbarBackend.C: add getIcon(), handle tooltip,
7048         and change from "Icon" to "Item".
7049
7050 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7051
7052         * BufferView.C (lockInset): another bad getchar crunched
7053
7054 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7055
7056         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7057         again)
7058
7059 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7060
7061         * lyxfind.C (searchForward, searchBackwards): bug 782
7062
7063 2003-04-07  John Levon  <levon@movementarian.org>
7064
7065         * paragraph.C: remove dead comment
7066
7067         * text.C: remove troublesome depth-fiddling code
7068         in leftMargin() and rightMargin() (bug 1017)
7069
7070         * text.C: fix breaking of rows in nested lists
7071         (bug 1004)
7072
7073         * text2.C (updateCounters): fix up depth values
7074         (bug 1013)
7075
7076 2003-04-07  John Levon  <levon@movementarian.org>
7077
7078         * BufferView_pimpl.C: clear message when doc finishes resizing,
7079         and after a mouse event
7080
7081         * lyxfunc.C: clear message after exiting inset
7082
7083 2003-04-07  John Levon  <levon@movementarian.org>
7084
7085         * bufferview_funcs.C: show math status not outside
7086         status in the statusbar
7087
7088 2003-04-07  John Levon  <levon@movementarian.org>
7089
7090         * lyxfunc.C: note status changed after a depth change
7091
7092 2003-04-04  Angus Leeming  <leeming@lyx.org>
7093
7094         * LaTeX.h: move AuxInfo operator==, != out of line.
7095         Remove LaTeX virtual destructor; nothing derives from it.
7096         Move operator()() out of public area and rename it startscript().
7097         Change protected for private.
7098
7099 2003-04-04  Angus Leeming  <leeming@lyx.org>
7100
7101         * lyxfunc.C:
7102         * text2.C: remove unneeded #includes.
7103
7104 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7105
7106         * text2.C (dEPM): fix the heigth of the next row
7107
7108 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7109
7110         * text.C: squashed an invalid getChar requester + some ws changes
7111
7112 2003-04-03  John Levon  <levon@movementarian.org>
7113
7114         * bufferview_funcs.h:
7115         * bufferview_funcs.C:
7116         * lyxfunc.C:
7117         * lyxtext.h:
7118         * text2.C: make getStatus work for the env depth lfuns
7119
7120 2003-04-03  John Levon  <levon@movementarian.org>
7121
7122         * bufferview_funcs.h:
7123         * bufferview_funcs.C:
7124         * lyxfunc.C:
7125         * lyxtext.h:
7126         * text2.C: parlistize decDepth(), by merging it with incDepth()
7127
7128 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7129
7130         * lyxrow.h: store a ParagraphList::iterator instead of a
7131         Paragraph* and adjust other class functions to suit.
7132
7133         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7134         above.
7135
7136 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7137
7138         * text2.C (setCursor): do not anchor to cursor row for the time being
7139
7140 2003-04-02  John Levon  <levon@movementarian.org>
7141
7142         * LyXAction.C:
7143         * lfuns.h:
7144         * lyx_main.C:
7145         * lyxtext.h:
7146         * text.C:
7147         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7148
7149 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * paragraph.h: make ParagraphList and ParagraphList::iterator
7152         friends of Paragraph.
7153
7154         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7155
7156         * ParagraphList.C: Use the private next_ and previous_ from
7157         Paragraph.
7158
7159 2003-04-01  John Levon  <levon@movementarian.org>
7160
7161         * ToolbarBackend.h:
7162         * ToolbarBackend.C:
7163         * Makefile.am: rename, remove defaults gunk
7164
7165         * MenuBackend.h:
7166         * MenuBackend.C: remove defaults gunk
7167
7168         * Languages.h:
7169         * Languages.C: remove defaults gunk
7170
7171         * lyx_main.h:
7172         * lyx_main.C: error out if files couldn't be found.
7173
7174 2003-04-02  John Levon  <levon@movementarian.org>
7175
7176         * text2.C: make incDepth() use parlist
7177
7178 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7179
7180         * undo_funcs.C (firstUndoParagraph): adjust
7181
7182         * text3.C (gotoInset): adjust
7183         (dispatch): adjust, and rewrite loop.
7184
7185         * text2.C (init): adjust, and rewrite loop.
7186         (redoParagraphs): adjust
7187         (updateInset): adjust, and rewrite loop.
7188         (deleteEmptyParagraphMechanism): adjust
7189
7190         * tabular.C (LyXTabular): adjust
7191         (SetMultiColumn): adjust
7192         (TeXRow): adjust
7193
7194         * lyxtext.[Ch] (ownerParagraph): delete function
7195         (ownerParagraphs): new function returns a ParagraphList.
7196
7197         * BufferView.C (removeAutoInsets): adjust
7198         (insertErrors): adjust
7199         (setCursorFromRow): adjust
7200
7201 2003-04-01  Angus Leeming  <leeming@lyx.org>
7202
7203         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7204         in the frontends.
7205
7206 2003-04-02  John Levon  <levon@movementarian.org>
7207
7208         * lyxtext.h:
7209         * text.C:
7210         * Makefile.am:
7211         * text_funcs.h:
7212         * text_funcs.C: make transposeChars a free function
7213
7214         * lyxrow_funcs.C: remove wrong comment
7215
7216 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * lyxtext.h: adjust
7219         * rowpainter.C: adjust
7220         * text.C: adjust
7221         * text2.C: adjust
7222         * text3.C: adjust
7223
7224         * lyxrow_funcs. [Ch]: new files
7225
7226         * lyxrow.[Ch]: remove next and previous pointers
7227         (next,previous): remove accessor functions
7228         (isParEnd): move to lyxrow_funcs
7229         (lastPos): move to lyxrow_funcs
7230         (nextRowIsAllInset): move to lyxrow_funcs
7231         (lastPrintablePos): move to lyxrow_funcs
7232         (numberOfSeparators): move to lyxrow_funcs
7233         (numberOfHfills): move to lyxrow_funcs
7234         (numberOfLabelHfills): move to lyxrow_funcs
7235         (hfillExpansion): move to lyxrow_funcs
7236
7237         * lyxfunc.C: adjust
7238
7239         * bufferview_funcs.C (toggleAndShow): adjust
7240
7241         * RowList.h: Remove class RowList from file leave just a
7242         std::list<Row>.
7243
7244         * RowList.C: delete file
7245
7246         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7247         and lyxrow_funcs.h
7248
7249 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * text3.C (cursorPrevious): adjust
7252         (cursorNext): adjust
7253         (dispatch): adjust
7254
7255         * text2.C (redoHeightOfParagraph): adjust
7256         (redoDrawingOfParagraph): adjust
7257         (setCursor): adjust
7258
7259         * text.C (breakParagraph): adjust
7260         (insertChar): adjust
7261         (backspace): adjust
7262
7263         * rowpainter.C (RowPainter): adjust
7264         (leftMargin): simplify and adjust
7265         (most rowpainter functions): adjust.
7266
7267         * rowpainter.h: store the row as RowList::iterator not as Row*
7268
7269         * lyxcursor.C (row): taka RowList::iterator as arg
7270         (irow): ditto
7271
7272         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7273         of Row*.
7274
7275 2003-04-01  Angus Leeming  <leeming@lyx.org>
7276
7277         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7278         stuff like bool Bool.
7279
7280 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7281
7282         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7283         rewrite a loop
7284
7285 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7288         RowList::iterator.
7289
7290         * lyxtext.h (rows): drop one version and leve a const variant that
7291         returns a RowList::iterator.
7292
7293 2003-03-31  Angus Leeming  <leeming@lyx.org>
7294
7295         * text.C (fill): ensure that the signature is the same as that in the
7296         header file.
7297
7298 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * text2.C (redoParagraphs): adjust
7301         (updateCounters): adjust
7302         (checkParagraph): adjust
7303         (getColumnNearX): adjust and reformat a bit.
7304
7305         * text.C (top_y): adjust
7306         (workWidth): adjust
7307         (leftMargin): adjust
7308         (prepareToPrint): adjust
7309         (getRow): adjust
7310         (getRowNearY): adjust
7311
7312         * lyxtext.h: make rowlist_ mutable.
7313
7314         * RowList.h: add const_iterator
7315         * RowList.C: adjust for RowList::const_iterator.
7316
7317         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7318         adjust.
7319
7320 2003-03-31  John Levon  <levon@movementarian.org>
7321
7322         * lyxrc.h:
7323         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7324
7325         * lyx_main.C: set default fonts from using lyx_gui funcs
7326
7327         * exporter.C: pdf_mode moved from lyxrc
7328
7329         * lyx_cb.C:
7330         * lyxfunc.C: changes from above
7331
7332 2003-03-31  John Levon  <levon@movementarian.org>
7333
7334         * lyx_main.C: fix to the last fix
7335
7336 2003-03-31  John Levon  <levon@movementarian.org>
7337
7338         * bufferlist.C: "Load original" -> "Load Original"
7339
7340         * converter.C:
7341         * exporter.C:
7342         * importer.C:
7343         * lyx_main.C:
7344         * format.C: more Alert cleanups
7345
7346 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * text2.C (removeParagraph): make it take a RowList::iterator as
7349         arg, adjust.
7350         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7351         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7352
7353         * text.C (anchor_row): make it take a RowList::iterator as arg,
7354         adjust.
7355         (computeBidiTables): make it take a const reference to Row instead
7356         of Row pointer, adjust.
7357         (leftMargin): make it take a RowList::iterator as arg, adjust.
7358         (rowBreakPoint): adjust
7359         (breakAgainOneRow): make it take a RowList::iterator as arg,
7360         adjust.
7361         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7362
7363         * bufferview_funcs.C (toggleAndShow): adjust
7364
7365 2003-03-30  John Levon  <levon@movementarian.org>
7366
7367         * Makefile.am:
7368         * BoostFormat.h:
7369         * boost-inst.C: moved to support
7370
7371         * several files: changes as a result
7372
7373 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * text2.C (LyXText): adjust.
7376         (init): adjust
7377         (removeRow): make it take a RowList::iterator as arg, adjust.
7378         (fullRebreak): adjust
7379         (deleteEmptyParagraphMechanism): adjust
7380         (clearPaint): adjust
7381         (postPaint): adjust
7382
7383         * text.C (top_y): adjust
7384         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7385         (breakAgain): make it take a RowList::iterator as arg, adjust.
7386         (breakParagraph): adjust
7387         (insertChar): adjust
7388         (backspace): adjust
7389
7390         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7391         need_break_row, and refresh_row.
7392
7393         * text3.C (dispatch): adjust
7394
7395         * text2.C (checkParagraph): adjust
7396         (setCursor): adjust
7397         (setCursorFromCoordinates): adjust
7398
7399         * text.C (top_y): adjust
7400         (workWidth): adjust
7401         (getRow): make it return a RowList::iterator, adjust
7402         (getRowNearY): make it return a RowList::iterator, adjust
7403
7404         * text2.C (init): adjust
7405         (insertRow): remove function
7406         (insertParagraph): adjust
7407         (redoParagraphs): adjust
7408         (fullRebreak): adjust
7409         (updateCounters): adjust
7410
7411         * text.C (top_y): rewrite to use RowList iterators.
7412         (top_y): adjust
7413         (setHeightOfRow): rewrite to sue RowList iterators.
7414         (appendParagraph): adjust
7415         (breakAgain): adjust
7416         (breakAgainOneRow): adjust
7417         (breakParagraph): adjust
7418         (getRow): adjust
7419         (getRowNearY): adjust, and remove commented code.
7420
7421         * lyxtext.h (firstRow): delete function
7422         (lastRow): delete function
7423         (rows): new function (const and non-const versions.)
7424         (insertRow): delete function
7425
7426         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7427
7428 2003-03-29  John Levon  <levon@movementarian.org>
7429
7430         * BufferView_pimpl.C: always update scrollbar top
7431         because pasting text when we're anchored could mean we
7432         miss an update altogether
7433
7434 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * text2.C (init): use rowlist_.end() and not 0.
7437         (insertRow): change to take a RowList::iterator as arg, adjust
7438         for this.
7439         (insertParagraph): change to take a RowList::iterator as arg,
7440         adjust for this.
7441         (redoParagraphs): remove some debug msgs.
7442
7443         * text.C (appendParagraph): change to take a RowList::iterator
7444         arg, adjust for this.
7445         (breakAgain): add an assert
7446         (breakAgainOneRow): ditto
7447
7448 2003-03-29  John Levon  <levon@movementarian.org>
7449
7450         * text2.C: do not clear selection after inc/decDepth
7451         (bug 550)
7452
7453 2003-03-29  John Levon  <levon@movementarian.org>
7454
7455         * BufferView.C:
7456         * buffer.C: fix broken strerrors according to Lars
7457
7458 2003-03-29  John Levon  <levon@movementarian.org>
7459
7460         * converters.C: more Alert cleanups
7461
7462 2003-03-29  John Levon  <levon@movementarian.org>
7463
7464         * bufferview_funcs.C: remove pointless Alert
7465
7466         * buffer.C: fix confusing error message when
7467         a template is chmoded 000
7468
7469 2003-03-29  John Levon  <levon@movementarian.org>
7470
7471         * BufferView.C:
7472         * BufferView.h:
7473         * BufferView_pimpl.C: Alert fixes
7474
7475         * Makefile.am:
7476         * tabular.C:
7477         * tabular-old.C: remove unused table compat reading
7478
7479 2003-03-29  John Levon  <levon@movementarian.org>
7480
7481         * BufferView.C:
7482         * buffer.C:
7483         * lyx_cb.h:
7484         * lyx_cb.C: more Alert cleanups
7485
7486         * lyxfunc.C: don't allow chktex if not latex document
7487
7488 2003-03-29  John Levon  <levon@movementarian.org>
7489
7490         * lyx_cb.C:
7491         * BufferView.C:
7492         * buffer.C: warnings pushed down from support/,
7493         kill err_alert
7494
7495 2003-03-29  John Levon  <levon@movementarian.org>
7496
7497         * lyxfunc.C: safety check for C-r (revert)
7498
7499 2003-03-29  John Levon  <levon@movementarian.org>
7500
7501         * bufferlist.h:
7502         * bufferlist.C: several UI fixes using Alert::prompt.
7503         Fix the pointless looping quit code. Fix stupid revert
7504         behaviour (bug 938)
7505
7506         * lyxvc.h:
7507         * lyxvc.C:
7508         * lyx_cb.C: use Alert::prompt
7509
7510         * lyx_main.C: remove a silly question
7511
7512         * lyxfunc.C: remove a couple of silly questions,
7513         use Alert::prompt
7514
7515 2003-03-28  John Levon  <levon@movementarian.org>
7516
7517         * text2.C: fix bug 974 (End on empty par)
7518
7519 2003-03-28  John Levon  <levon@movementarian.org>
7520
7521         * BufferView_pimpl.C:
7522         * LyXAction.C:
7523         * lfuns.h: remove do-nothing math greek lfuns
7524
7525 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * lyxgluelength.h (isValidGlueLength): add default arg on
7528         parameter 2. Remove default arg from friend in class.
7529
7530         * lyxlength.h (isValidLength): add default arg on parameter 2.
7531         Remove default arg from friend in class.
7532
7533         * text2.C (LyXText): adjust, initialize refresh_row.
7534         (init): adjust
7535         (removeRow): adjust
7536         (insertRow): adjust
7537         (insertParagraph): adjst
7538         (redoParagraphs): adjust
7539         (fullRebreak): adjust
7540         (updateCounters): adjust
7541         (deleteEmptyParagraphMechanism): first attempt at fixing a
7542         crashing bug.
7543
7544         * text.C (top_y): adjust
7545         (setHeightOfRow): adjust
7546         (getRow): adjust
7547         (getRowNearY): adjust
7548
7549         * lyxtext.h: include RowList.h
7550         (~LyXText): not needed anymore, deleted.
7551         (firstRow): modify for RowList
7552         (lastRow): new function
7553         Delete firstrow and lastrow class variables, add a Rowlist
7554         rowlist_ class variable.
7555
7556         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7557         paragraph is empty.
7558
7559         * RowList.C (insert): fix case where it == begin().
7560
7561 2003-03-26  Angus Leeming  <leeming@lyx.org>
7562
7563         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7564         the thesaurus dialog.
7565
7566 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7567
7568         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7569
7570         * RowList.[Ch]: new files
7571
7572         * ParagraphList.C (erase): handle the case where it == begin
7573         correctly.
7574
7575 2003-03-25  John Levon  <levon@movementarian.org>
7576
7577         * Makefile.am:
7578         * aspell_local.h:
7579         * aspell.C: add new aspell support
7580
7581         * lyxrc.h:
7582         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7583         have it accessible.
7584
7585 2003-03-25  Angus Leeming  <leeming@lyx.org>
7586
7587         * lfuns.h:
7588         * LyXAction.C (init): new LFUN_INSET_INSERT.
7589
7590         * BufferView_pimpl.C (dispatch): split out part of the
7591         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7592
7593         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7594         LFUN_INSET_APPLY.
7595
7596 2003-03-25  Angus Leeming  <leeming@lyx.org>
7597
7598         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7599
7600 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7601
7602         * text2.C:
7603         * text3.C: remove useless row->height(0)
7604
7605 2003-03-25  John Levon  <levon@movementarian.org>
7606
7607         * lyxtext.h:
7608         * text2.C:
7609         * text3.C: rename the refreshing stuff to better names
7610
7611 2003-03-24  John Levon  <levon@movementarian.org>
7612
7613         * BufferView_pimpl.h:
7614         * BufferView_pimpl.C: update layout choice on a mouse
7615         press/release
7616
7617 2003-03-23  John Levon  <levon@movementarian.org>
7618
7619         * Makefile.am: fix commandtags.h reference
7620
7621 2003-03-22  John Levon  <levon@movementarian.org>
7622
7623         * BufferView_pimpl.C:
7624         * lyxtext.h:
7625         * rowpainter.C:
7626         * rowpainter.h:
7627         * text.C:
7628         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7629
7630 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7631
7632         * lyxtext.h:
7633         * text.C: take the rtl methods out of line
7634
7635 2003-03-21 André Pönitz <poenitz@gmx.net>
7636
7637         * metricsinfo.[Ch]: new files containing structures to be passed around
7638         during the two-phase-drawing...
7639
7640 2003-03-21 André Pönitz <poenitz@gmx.net>
7641
7642         * lyxtextclass.C: read 'environment' tag.
7643
7644 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7645
7646         * text2.C (removeRow): fix bug 964
7647
7648 2003-03-20  John Levon  <levon@movementarian.org>
7649
7650         * rowpainter.C:
7651         * text.C:
7652         * text2.C: paint cleanups. Inset::update() dropped font
7653         parameter
7654
7655 2003-03-19  John Levon  <levon@movementarian.org>
7656
7657         * lyxfunc.C: only fitcursor/markDirty if available()
7658
7659 2003-03-19  John Levon  <levon@movementarian.org>
7660
7661         * commandtags.h: rename to ...
7662
7663         * lfuns.h: ... this, and renumber / cleanup
7664
7665 2003-03-19  John Levon  <levon@movementarian.org>
7666
7667         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7668         fit the cursor after an lfun
7669
7670         * BufferView.h:
7671         * BufferView.C:
7672         * BufferView_pimpl.h:
7673         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7674
7675         * LyXAction.C: layout-character should have ReadOnly
7676
7677         * ParagraphParameters.C:
7678         * buffer.C:
7679         * bufferview_funcs.C:
7680         * lyx_cb.C:
7681         * lyxfind.C:
7682         * lyxtext.h:
7683         * text.C:
7684         * text2.C:
7685         * text3.C:
7686         * undo_funcs.C: changes from above
7687
7688 2003-03-18  John Levon  <levon@movementarian.org>
7689
7690         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7691         remove it from update()
7692
7693         * lyxfunc.C: update layout choice after an lfun
7694
7695         * text3.C: remove extra updateLayoutChoice()s
7696
7697 2003-03-18  John Levon  <levon@movementarian.org>
7698
7699         * text.C: top_y change means full repaint, fix
7700         a drawing bug with cursor movement
7701
7702 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7703
7704         * lyxtext.h:
7705         * text.C:
7706         * text2.C: anchor row on setCursor
7707
7708 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7709
7710         * lyxtext.h: remove almost all mutable keywords
7711         * text.C:
7712         * text2.C:
7713         * text3.C: remove const keywords accordingly
7714
7715 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7718         anon namespace
7719         (TeXEnvironment): ditto
7720         (TeXOnePar): ditto
7721
7722 2003-03-17  John Levon  <levon@movementarian.org>
7723
7724         * text.C (rowBreakPoint): remove attempt to fix displayed
7725         math insets inside a manual label
7726
7727 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * lyxtext.h: remove BufferView* as first arg from almost all class
7730         functions.
7731         * other files: adjust.
7732
7733 2003-03-17  John Levon  <levon@movementarian.org>
7734
7735         * lyxtext.h:
7736         * undo_funcs.C:
7737         * text2.C: more paint cleanups
7738
7739         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7740
7741         * rowpainter.h:
7742         * rowpainter.C: remove "smart" background painting code
7743
7744 2003-03-16  John Levon  <levon@movementarian.org>
7745
7746         * lyxtext.h:
7747         * text.C:
7748         * text2.C:
7749         * text3.C: add helper functions for setting refresh_row/y
7750
7751 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7752
7753         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7754         newline inset which *can* get inserted in the pass_thru layouts.
7755         This is primarily for literate documents.
7756
7757 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7758
7759         * buffer.C: increment LYX_FORMAT to 223
7760
7761 2003-03-14 André Pönitz <poenitz@gmx.net>
7762
7763         * textclass.h: prepare for environment handling, ws changes
7764         * lyxlayout.C: read latexheader and latexfooter tags
7765
7766 2003-03-14  John Levon  <levon@movementarian.org>
7767
7768         * text2.C: rewrite ::status() a bit
7769
7770 2003-03-13  John Levon  <levon@movementarian.org>
7771
7772         * lyxtext.h: add some docs
7773
7774 2003-03-13  John Levon  <levon@movementarian.org>
7775
7776         * lyxtext.h:
7777         * text.C:
7778         * text2.C:
7779         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7780
7781 2003-03-13  John Levon  <levon@movementarian.org>
7782
7783         * text3.C: fix appendix redrawing
7784
7785 2003-03-13  John Levon  <levon@movementarian.org>
7786
7787         * text.C (setHeightOfRow):
7788         * rowpainter.h:
7789         * rowpainter.C: make appendix mark have the text
7790           "Appendix" so the user knows what it is
7791
7792         * LColor.h:
7793         * LColor.C: s/appendixline/appendix/ from above
7794
7795 2003-03-13  John Levon  <levon@movementarian.org>
7796
7797         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7798
7799         * text.C: fix a getChar(pos) bug properly
7800
7801 2003-03-13  Angus Leeming  <leeming@lyx.org>
7802
7803         * commandtags.h:
7804         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7805         Probably only temporary. Let's see how things pan out.
7806
7807         * BufferView.C (unlockInset):
7808         * BufferView_pimpl.C (fitCursor):
7809         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7810
7811         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7812         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7813
7814         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7815         new functions that convert ParagraphParameters to and from a string.
7816
7817         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7818         BufferView::Pimpl's dispatch.
7819         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7820
7821 2003-03-13 André Pönitz <poenitz@gmx.net>
7822
7823         * lyxfunc.C:
7824         * text3.C:
7825         * factory.C: make it aware of InsetEnv
7826
7827 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7828
7829         * text2.C (setCursor): never ask for one past last
7830         (setCursor): add some debugging messages.
7831
7832         * text.C (singleWidth): never ask for one past last
7833         (singleWidth): ditto
7834         (leftMargin): ditto
7835         (rightMargin): ditto
7836         (rowBreakPoint): ditto
7837         (setHeightOfRow): ditto
7838         (prepareToPrint): ditto
7839
7840         * rowpainter.C (paintBackground): never ask for one past last
7841         (paintText): never ask for one past last
7842
7843         * paragraph_pimpl.C (getChar): make the assert stricter, never
7844         allow the one past last pos to be taken
7845
7846         * paragraph.C (getChar): ws changes only
7847
7848         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7849         (numberOfSeparators): ditto
7850         (numberOfHfills): ditto
7851
7852 2003-03-12  John Levon  <levon@movementarian.org>
7853
7854         * author.h:
7855         * author.C:
7856         * bufferparams.h:
7857         * bufferparams.C:
7858         * paragraph_funcs.C: fix per-buffer authorlists
7859
7860 2003-03-12  John Levon  <levon@movementarian.org>
7861
7862         * text.C: fix newline in right address
7863
7864 2003-03-12  Angus Leeming  <leeming@lyx.org>
7865
7866         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7867         duplicate those in LyXFunc::dispatch.
7868
7869         * commandtags.h:
7870         * LyXAction.C:
7871         * ToolbarDefaults.C:
7872         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7873         Add LFUN_FONTFREE_UPDATE.
7874
7875         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7876         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7877
7878         * bufferview_func.[Ch]: several new functions to facilliate
7879         transfer of data to and from the character dialog.
7880
7881 2003-03-12  John Levon  <levon@movementarian.org>
7882
7883         * buffer.C:
7884         * paragraph.h:
7885         * paragraph.C:
7886         * paragraph_funcs.C:
7887         * paragraph_pimpl.C:
7888         * sgml.C:
7889         * tabular.C:
7890         * text.C:
7891         * text3.C: remove META_NEWLINE in favour of an inset
7892
7893         * rowpainter.h:
7894         * rowpainter.C: remove paintNewline (done by inset)
7895
7896 2003-03-12  John Levon  <levon@movementarian.org>
7897
7898         * paragraph_pimpl.C: complain about bad getChar()s
7899         for a while at least
7900
7901 2003-03-12  John Levon  <levon@movementarian.org>
7902
7903         * buffer.h:
7904         * buffer.C: move paragraph read into a separate function,
7905         a little renaming to reflect that.
7906
7907         * bufferparams.h:
7908         * bufferparams.C: remove the author_ids map, not necessary now
7909
7910         * factory.h:
7911         * factory.C: moved Buffer::readInset to here
7912
7913         * paragraph_funcs.h:
7914         * paragraph_funcs.C: readParagraph free function moved from
7915         buffer.C
7916
7917         * tabular.C: name change
7918
7919 2003-03-12  John Levon  <levon@movementarian.org>
7920
7921         * buffer.C:
7922         * ParagraphParameters.C: move par params input to
7923         a read() method
7924
7925         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7926         behave like a normal read from the stream wrt reading
7927         a line vs. a \\token
7928
7929 2003-03-12  John Levon  <levon@movementarian.org>
7930
7931         * paragraph.C:
7932         * ParagraphParameters.h:
7933         * ParagraphParameters.C: move output code to a
7934         ::write() method
7935
7936 2003-03-12  John Levon  <levon@movementarian.org>
7937
7938         * BufferView.C (insertLyXFile):
7939         * buffer.h:
7940         * buffer.C:
7941         * tabular.C: use a parlist iterator for creating the
7942           document.
7943
7944 2003-03-12  John Levon  <levon@movementarian.org>
7945
7946         * buffer.C: make current_change static local not
7947           static file-scope
7948
7949 2003-03-12  John Levon  <levon@movementarian.org>
7950
7951         * buffer.C: fix insertStringAsLines for change tracking
7952
7953 2003-03-12  John Levon  <levon@movementarian.org>
7954
7955         * BufferView.C:
7956         * tabular.C:
7957         * buffer.h:
7958         * buffer.C:
7959         * bufferparams.h:
7960         * bufferparams.C: move author list into params. Rename some
7961           functions. Move the header reading into a separate token
7962           loop. Move the header token reading into BufferParams.
7963
7964 2003-03-12  John Levon  <levon@movementarian.org>
7965
7966         * changes.C: put debug inside lyxerr.debugging() checks
7967
7968 2003-03-11 André Pönitz <poenitz@gmx.net>
7969
7970         * factory.C: make it aware of InsetHFill
7971
7972 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7973
7974         * buffer.C (latexParagraphs): move function from here...
7975         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7976         args.
7977
7978 2003-03-10  Angus Leeming  <leeming@lyx.org>
7979
7980         * LyXAction.C (init): fix bug in poplating array with multiple entries
7981         with the same LFUN (spotted by JMarc).
7982
7983 2003-03-10  John Levon  <levon@movementarian.org>
7984
7985         * text.C:
7986         * text2.C: move getColumnNearX() near its
7987         only call site
7988
7989 2003-03-10  John Levon  <levon@movementarian.org>
7990
7991         * text.C: fix break before a minipage
7992
7993 2003-03-10  John Levon  <levon@movementarian.org>
7994
7995         * text.C: fix the last commit
7996
7997 2003-03-09  John Levon  <levon@movementarian.org>
7998
7999         * lyxtext.h:
8000         * text.C:
8001         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8002         bug 365 (don't break before insets unless needed). Don't
8003         return a value > last under any circumstances.
8004
8005 2003-03-09  Angus Leeming  <leeming@lyx.org>
8006
8007         * BufferView_pimpl.C (trackChanges, dispatch): call
8008         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8009
8010 2003-03-09  Angus Leeming  <leeming@lyx.org>
8011
8012         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8013         than Dialogs::showAboutlyx().
8014
8015 2003-03-09  Angus Leeming  <leeming@lyx.org>
8016
8017         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8018         than Dialogs::showTabularCreate().
8019
8020 2003-03-09  John Levon  <levon@movementarian.org>
8021
8022         * lyxtext.h:
8023         * text.C:
8024         * text2.C: 3rd arg to nextBreakPoint was always the same.
8025           Use references.
8026
8027 2003-03-08  John Levon  <levon@movementarian.org>
8028
8029         * lyxrow.C:
8030         * paragraph.C:
8031         * paragraph.h:
8032         * rowpainter.C:
8033         * text.C:
8034         * text2.C: Remove the "main" bit from the "main body"
8035           notion.
8036
8037 2003-03-08  John Levon  <levon@movementarian.org>
8038
8039         * text.C (leftMargin): The left margin of an empty
8040         manual label paragraph should not include the label width
8041         string length.
8042
8043         * text.C (prepareToPrint): don't attempt to measure hfills
8044         for empty manual label paragraphs - the answer should be 0
8045
8046 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * CutAndPaste.C: remove commented code and reindent.
8049
8050 2003-03-08  John Levon  <levon@movementarian.org>
8051
8052         * lyxfunc.h:
8053         * lyxfunc.C: move reloadBuffer()
8054
8055         * BufferView.h:
8056         * BufferView.C: to here
8057
8058         * lyxvc.C: add comment
8059
8060         * vc-backend.h:
8061         * vc-backend.C: call bv->reload() to avoid
8062           getStatus() check on MENURELOAD
8063
8064 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8065
8066         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8067         to an old format .dep file.
8068
8069 2003-03-07  Angus Leeming  <leeming@lyx.org>
8070
8071         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8072         when the LFUN_MOUSE_RELEASE should have been handled by
8073         inset->localDispatch.
8074
8075 2003-03-07  Angus Leeming  <leeming@lyx.org>
8076
8077         * BufferView_pimpl.C (dispatch):
8078         * LyXAction.C (init):
8079         * ToolbarDefaults.C (init):
8080         * commandtags.h:
8081         * lyxfunc.C (getStatus):
8082         remove LFUN_INSET_GRAPHICS.
8083
8084         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8085
8086 2003-03-07  Angus Leeming  <leeming@lyx.org>
8087
8088         * commandtags.h:
8089         * LyXAction.C (init):
8090         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8091
8092         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8093
8094         * commandtags.h:
8095         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8096
8097         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8098         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8099
8100 2003-03-07  Angus Leeming  <leeming@lyx.org>
8101
8102         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8103         remove "ert".
8104
8105 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * ParagraphList.C (front): new function
8108         (back): implement
8109
8110 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8111
8112         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8113         and top_row_offset_. removed var first_y.
8114         * text.C (top_y):
8115         * text2.C (LyXText, removeRow):
8116         * text3.C:
8117         * BufferView_pimpl.C:
8118         use these methods instead of using first_y
8119
8120 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * text2.C (pasteSelection): adjust for checkPastePossible
8123
8124         * CutAndPaste.C: remove Paragraph * buf and replace with
8125         ParagraphList paragraphs.
8126         (DeleteBuffer): delete
8127         (cutSelection): change the tc type to textclass_type
8128         (copySelection): change the tc type to textclass_type
8129         (copySelection): adjust for ParagraphList
8130         (pasteSelection): change the tc type to textclass_type
8131         (pasteSelection): adjust for Paragraphlist
8132         (nrOfParagraphs): simplify for ParagraphList
8133         (checkPastePossible): simplify for ParagraphList
8134         (checkPastePossible): remove unused arg
8135
8136         * ParagraphList.C (insert): handle the case where there are no
8137         paragraphs yet.
8138
8139         * CutAndPaste.h: make CutAndPaste a namespace.
8140
8141         * text3.C (dispatch): adjust
8142
8143         * text.C (breakParagraph): add a ParagraphList as arg
8144
8145         * paragraph_funcs.C (breakParagraph): change to take a
8146         BufferParams and a ParagraphList as args.
8147         (breakParagraphConservative): ditto
8148         (mergeParagraph): ditto
8149         (TeXDeeper): add a ParagraphList arg
8150         (TeXEnvironment): ditto
8151         (TeXOnePar): ditto
8152
8153         * buffer.C (readLyXformat2): adjust
8154         (insertStringAsLines): adjust
8155         (latexParagraphs): adjust
8156
8157         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8158         (cutSelection): adjust
8159         (pasteSelection): adjust
8160
8161         * BufferView_pimpl.C (insertInset): adjust
8162
8163 2003-03-05  Angus Leeming  <leeming@lyx.org>
8164
8165         * commandtags.h:
8166         * LyXAction.C (init):
8167         * BufferView_pimpl.C (dispatch):
8168         * lyxfunc.C (getStatus):
8169         remove LFUN_CHILD_INSERT.
8170
8171         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8172
8173 2003-03-05  Angus Leeming  <leeming@lyx.org>
8174
8175         * commandtags.h:
8176         * LyXAction.C (init):
8177         * src/factory.C (createInset):
8178         * lyxfunc.C (getStatus):
8179         * text3.C (dispatch):
8180         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8181
8182         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8183
8184 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8185
8186         * ParagraphList.C (insert): handle insert right before end()
8187         (erase): fix cases where it can be first or last paragraph.
8188
8189 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8190
8191         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8192         Paragraph::next and Paragraph::previous
8193         (TeXOnePar): ditto
8194
8195         * text.C (breakParagraph): adjust
8196
8197         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8198         BufferParams& as arg.
8199         (breakParagraph): use ParagraphList::insert
8200         (breakParagraphConservative): take a Buffer* instead of a
8201         BufferParams& as arg.
8202         (breakParagraphConservative): use ParagraphList::insert.
8203
8204         * buffer.C (insertStringAsLines): un-const it
8205         (insertStringAsLines): adjust
8206
8207         * ParagraphList.C (insert): new function
8208
8209         * CutAndPaste.C (pasteSelection): adjust
8210
8211         * text.C (backspace): adjust
8212
8213         * tabular.C (SetMultiColumn): adjust
8214
8215         * CutAndPaste.C (cutSelection): adjust
8216         (pasteSelection): adjust
8217
8218         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8219         Buffer const * as arg
8220
8221         * ParagraphList.C (erase): new function
8222         * paragraph_funcs.C (mergeParagraph): use it
8223         (mergeParagraph): make it take a Buffer* instead of a
8224         BufferParams* as arg
8225
8226         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8227         as arg
8228         (breakParagraphConservative): ditto
8229
8230         * paragraph.h: remove the breakParagraph friend
8231
8232         * paragraph.C (eraseIntern): new function
8233         (setChange): new function
8234
8235         * paragraph_funcs.C (mergeParagraph): make it take a
8236         ParagraphList::iterator instead of a Paragraph *, adjust
8237         accordingly.
8238
8239         * paragraph.h: move an #endif so that the change tracking stuff
8240         also works in the NO_NEXT case.
8241
8242 2003-03-04  Angus Leeming  <leeming@lyx.org>
8243
8244         * commandtags.h:
8245         * LyXAction.C: new LFUN_INSET_MODIFY.
8246
8247         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8248         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8249
8250 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * several files: ws changes only
8253
8254         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8255         (TeXEnvironment): ditto
8256         (TeXDeeper): ditto
8257
8258         * buffer.C (makeLaTeXFile): adjust
8259         (latexParagraphs): make it take ParagraphList::iterator as args
8260
8261 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * buffer.C (latexParagraphs): adjust
8264
8265         * paragraph.C (TeXOnePar): move function...
8266         (optArgInset): move function...
8267         (TeXEnvironment): move function...
8268         * paragraph_pimpl.C (TeXDeeper): move function...
8269         * paragraph_funcs.C: ...here
8270
8271         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8272
8273 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8274
8275         * buffer.C (readInset): remove compability code for old Figure and
8276         InsetInfo insets
8277
8278 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8279
8280         * buffer.C: ws changes
8281         (readInset):
8282
8283         * BufferView_pimpl.C: ditto
8284         * author.C: ditto
8285         * buffer.h: ditto
8286         * bufferlist.h: ditto
8287         * changes.h: ditto
8288         * lyxfunc.C: ditto
8289
8290 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8291
8292         * converter.[Ch]: split into itself +
8293         * graph.[Ch]
8294         * format.[Ch]
8295         * Makefile.am: += graph.[Ch] + format.[Ch]
8296         * MenuBackend.C
8297         * buffer.C
8298         * exporter.C
8299         * importer.C
8300         * lyx_main.C
8301         * lyxfunc.C
8302         * lyxrc.C: added #include "format.h"
8303
8304 2003-02-27  Angus Leeming  <leeming@lyx.org>
8305
8306         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8307           a label.
8308
8309         * factory.C (createInset): add "label" to the factory.
8310
8311         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8312           string and do no more.
8313
8314 2003-02-27  Angus Leeming  <leeming@lyx.org>
8315
8316         * commandtags.h:
8317         * LyXAction.C (init):
8318         * factory.C (createInset):
8319         * BufferView_pimpl.C (dispatch):
8320           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8321
8322         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8323
8324         * lyxfunc.C (dispatch):
8325         * text3.C (dispatch): pass name to params2string.
8326
8327 2003-02-26  Angus Leeming  <leeming@lyx.org>
8328
8329         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8330           blocks together.
8331           Rearrange the ~includes. Strip out the unnecessary ones.
8332
8333         * factory.C (createInset): reformat.
8334           create new insets for the various LFUN_XYZ_APPLY lfuns.
8335
8336 2003-02-26  John Levon  <levon@movementarian.org>
8337
8338         * lyxrow.h:
8339         * lyxrow.C: add isParStart,isParEnd helpers
8340
8341         * paragraph.h: make isInserted/DeletedText take refs
8342
8343         * paragraph_funcs.h:
8344         * paragraph_funcs.C: remove #if 0'd code
8345
8346         * lyxtext.h:
8347         * text3.C:
8348         * text2.C:
8349         * text.C: use lyxrow helpers above.
8350           Move draw and paint routines to RowPainter.
8351           Make several methods use refs not pointers.
8352           Make backgroundColor() const.
8353           Add markChangeInDraw(), isInInset().
8354           Merge changeRegionCase into changeCase.
8355           Make workWidth() shouldn't-happen code into an Assert.
8356
8357         * rowpainter.h:
8358         * rowpainter.C: new class for painting a row.
8359
8360         * vspace.h:
8361         * vspace.C: make inPixels take a ref
8362
8363 2003-02-26  Angus Leeming  <leeming@lyx.org>
8364
8365         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8366         LFUN_REF_APPLY.
8367
8368 2003-02-25  John Levon  <levon@movementarian.org>
8369
8370         * ispell.C: give the forked command a more accurate name
8371
8372 2003-02-22  John Levon  <levon@movementarian.org>
8373
8374         * toc.h:
8375         * toc.C: make TocItem store an id not a Paragraph *
8376           (bug #913)
8377
8378 2003-02-21  Angus Leeming  <leeming@lyx.org>
8379
8380         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8381           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8382           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8383           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8384           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8385           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8386
8387         * BufferView_pimpl.C (dispatch):
8388         * LyXAction.C (init):
8389         * factory.C (createInset):
8390         * lyxfunc.C (getStatus, dispatch):
8391         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8392
8393 2003-02-21  Angus Leeming  <leeming@lyx.org>
8394
8395         * BufferView_pimpl.C (MenuInsertLyXFile):
8396         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8397         * lyxfunc.C (menuNew, open, doImport):
8398           no longer pass a LyXView & to fileDlg.
8399
8400 2003-02-21  Angus Leeming  <leeming@lyx.org>
8401
8402         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8403         * LyXAction.C: change, BIBKEY to BIBITEM.
8404         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8405         Change InsetBibKey to InsetBibitem.
8406         Change BIBKEY_CODE to BIBITEM_CODE.
8407         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8408         * factory.C: replace insetbib.h with insetbibitem.h.
8409         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8410         * paragraph.C: replace insetbib.h with insetbibitem.h.
8411         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8412         Change bibkey() to bibitem().
8413         * text.C: remove insetbib.h.
8414         * text2.C: replace insetbib.h with insetbibitem.h.
8415         change bibkey() to bibitem().
8416         * text3.C: remove insetbib.h.
8417         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8418
8419 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8420
8421         * lyxrc.C (output): enclose user email in quotes (in case there are
8422         several words)
8423
8424 2003-02-18  John Levon  <levon@movementarian.org>
8425
8426         * buffer.h: add std::
8427
8428 2003-02-17  John Levon  <levon@movementarian.org>
8429
8430         * SpellBase.h:
8431         * ispell.h:
8432         * ispell.C:
8433         * pspell.h:
8434         * pspell.C: reworking. Especially in ispell, a large
8435           number of clean ups and bug fixes.
8436
8437         * lyxfunc.C: fix revert to behave sensibly
8438
8439 2003-02-17 André Pönitz <poenitz@gmx.net>
8440
8441         * LyXAction.C:
8442         * commandtags.h: new LFUN_INSERT_BIBKEY
8443
8444         * layout.h:
8445         * lyxlayout.C:
8446         * buffer.C:
8447         * factory.C:
8448         * text.C:
8449         * text2.C:
8450         * text3.C:
8451         * paragraph.[Ch]:
8452         * paragraph_func.C: remove special bibkey handling
8453
8454 2003-02-17  John Levon  <levon@movementarian.org>
8455
8456         * text.C (Delete): fix case where delete at the end of
8457           the very first paragraph would not merge the pars
8458
8459 2003-02-17  John Levon  <levon@movementarian.org>
8460
8461         * lyxrow.C: fix lastPrintablePos()
8462
8463 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8464
8465         * bufferparams.C (writeLaTeX): add a std:here
8466
8467         * buffer.C: and remove a using directive there
8468
8469 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8470
8471         * buffer.C (makeLaTeXFile): move the code that generates the
8472           preamble...
8473
8474         * bufferparams.C (writeLaTeX): ... in this new method
8475
8476         * LaTeXFeatures.C (getEncodingSet): make const
8477           (getLanguages): make const
8478
8479         * MenuBackend.C (binding): returns the binding associated to this
8480           action
8481           (add): sets the status of each item by calling getStatus. Adds
8482           some intelligence.
8483           (read): add support for OptSubMenu
8484           (expand): remove extra separator at the end of expanded menu
8485
8486 2003-02-15  John Levon  <levon@movementarian.org>
8487
8488         * BufferView.C:
8489         * BufferView_pimpl.C:
8490         * bufferlist.h:
8491         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8492           inset code that had no actual effect. Remove unneeded status
8493           code.
8494
8495 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8496
8497         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8498           in preamble
8499
8500 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8501
8502         * text.C (drawLengthMarker): also draw an arrow marker for
8503           symbolic lengths (medskip...)
8504
8505 2003-02-14  John Levon  <levon@movementarian.org>
8506
8507         * tabular.h:
8508         * tabular.C: better method names
8509
8510 2003-02-14  John Levon  <levon@movementarian.org>
8511
8512         * BufferView_pimpl.C:
8513         * bufferlist.C:
8514         * buffer.C:
8515         * converter.C:
8516         * lyx_cb.C:
8517         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8518           it's a more accurate name. Remove some pointless uses.
8519
8520 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8521
8522         * text2.C (LyXText): change order of initilizers to shut off
8523           warnings
8524
8525 2003-02-14  John Levon  <levon@movementarian.org>
8526
8527         * buffer.C: use ParIterator for getParFromID()
8528
8529         * paragraph.h:
8530         * paragraph.C:
8531         * paragraph_pimpl.h:
8532         * paragraph_pimpl.C: remove unused getParFromID()
8533
8534 2003-02-14  John Levon  <levon@movementarian.org>
8535
8536         * buffer.C: remove some very old #if 0'd parse code
8537
8538 2003-02-13  John Levon  <levon@movementarian.org>
8539
8540         * text.h:
8541         * text.C:
8542         * text2.C: move hfillExpansion(), numberOfSeparators(),
8543           rowLast(), rowLastPrintable(), numberofHfills(),
8544           numberOfLabelHfills() ...
8545
8546         * lyxrow.h:
8547         * lyxrow.C: ... to member functions here.
8548
8549         * paragraph.h:
8550         * paragraph.C:
8551         * lyxtext.h:
8552         * text.C: remove LyXText::beginningOfMainBody(), and call
8553           p->beginningOfMainBody() directly. Move the check for
8554           LABEL_MANUAL into the latter.
8555
8556         * text.h:
8557         * text.C:
8558         * text2.C:
8559         * vspace.C:
8560         * BufferView.h:
8561         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8562
8563         * text.h:
8564         * text.C:
8565         * text2.C:
8566         * text3.C:
8567         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8568           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8569
8570 2003-02-13  John Levon  <levon@movementarian.org>
8571
8572         * CutAndPaste.C: remove debug
8573
8574 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8575
8576         * paragraph.C (asString): remove two unused variables
8577
8578         * lyxtextclass.C (readTitleType):
8579           (Read):
8580           (LyXTextClass): handle new members titletype_ and titlename_
8581
8582         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8583
8584 2003-02-09  John Levon  <levon@movementarian.org>
8585
8586         * buffer.h:
8587         * buffer.C: replace hand-coded list with a map for the dep clean
8588
8589 2003-02-08  John Levon  <levon@movementarian.org>
8590
8591         * LaTeX.C: consolidate code into showRunMessage() helper
8592
8593 2003-02-08  John Levon  <levon@movementarian.org>
8594
8595         * lyxfind.C:
8596         * lyxtext.h:
8597         * text2.C:
8598         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8599           and pass the size in explicitly
8600
8601         * BufferView_pimpl.h:
8602         * BufferView_pimpl.C:
8603         * BufferView.h:
8604         * BufferView.C: add getCurrentChange()
8605
8606         * BufferView_pimpl.h:
8607         * BufferView_pimpl.C: handle change lfuns
8608
8609         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8610           for changes. Mark pasted paragraphs as new.
8611
8612         * support/lyxtime.h:
8613         * support/lyxtime.C:
8614         * DepTable.C: abstract time_t as lyx::time_type
8615
8616         * LColor.h:
8617         * LColor.C: add colours for new text, deleted text, changebars
8618
8619         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8620           package use "usenames" option.
8621
8622         * commandtags.h:
8623         * lyxfunc.C:
8624         * LyXAction.C: add change lfuns
8625
8626         * Makefile.am:
8627         * author.h:
8628         * author.C: author handling
8629
8630         * buffer.h:
8631         * buffer.C: add a per-buffer author list, with first entry as
8632           current author. Handle new .lyx tokens for change tracking. Output
8633           author list to .lyx file. Output dvipost stuff to .tex preamble.
8634           Bump lyx format to 222.
8635
8636         * bufferlist.h:
8637         * bufferlist.C: add setCurrentAuthor() to reset current author details
8638           in all buffers.
8639
8640         * bufferparams.h:
8641         * bufferparams.C: add param for tracking
8642
8643         * bufferview_funcs.C: output change info in minibuffer
8644
8645         * Makefile.am:
8646         * changes.h:
8647         * changes.C: add change-tracking structure
8648
8649         * debug.h:
8650         * debug.C: add CHANGES debug flag
8651
8652         * lyxfind.h:
8653         * lyxfind.C: add code for finding the next change piece
8654
8655         * lyxrc.h:
8656         * lyxrc.C: add user_name and user_email
8657
8658         * lyxrow.h:
8659         * lyxrow.C: add a metric for the top of the text line
8660
8661         * lyxtext.h:
8662         * text.C: implement accept/rejectChange()
8663
8664         * lyxtext.h:
8665         * text.C: paint changebars. Paint new/deleted text in the chosen
8666         colours. Strike through deleted text.
8667
8668         * paragraph.h:
8669         * paragraph.C:
8670         * paragraph_pimpl.h:
8671         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8672           in the current change to the insert functions. Rework erase to
8673           mark text as deleted, adding an eraseIntern() and a range-based
8674           erase(). Implement per-paragraph change lookup and
8675           accept/reject.
8676
8677         * paragraph_funcs.C: Fixup paste for change tracking.
8678
8679         * tabular.C: mark added row/columns as new.
8680
8681         * text.C: fix rowLast() to never return -1. Don't allow
8682           spellchecking of deleted text. Track transpose changes. Don't
8683           allow paragraph break or merge where appropriate.
8684
8685         * text2.C: leave cursor at end of selection after a cut.
8686
8687 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8688
8689         * text.C (getLengthMarkerHeight):
8690         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8691         visible on screen too.
8692
8693 2003-02-07  John Levon  <levon@movementarian.org>
8694
8695         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8696
8697 2003-02-05  Angus Leeming  <leeming@lyx.org>
8698
8699         * lyxserver.C (read_ready): revert my patch of 11 September last year
8700         as it sends PC cpu through the roof. Presumably this means that
8701         the lyxserver will no longer run on an Alpha...
8702
8703 2003-01-30  Angus Leeming  <leeming@lyx.org>
8704
8705         * factory.C (createInset): create an InsetCommandParam of type "index"
8706         and use it to 'do the right thing'.
8707
8708         * text2.C (getStringToIndex): ensure that cursor position is always
8709         reset to the reset_cursor position.
8710
8711 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8712
8713         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8714         disabled.
8715
8716 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8717
8718         * bufferview.C:
8719         * lyxcb.C:
8720         * lyxfunc.C: Output messages with identical spelling, punctuation,
8721         and spaces
8722
8723 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8724
8725         * MenuBackend.C (expandFormats): List only viewable export formats
8726         in "View" menu
8727
8728         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8729         message
8730
8731         * lyxfunc.C (getStatus): Make sure that formats other than
8732         "fax" can also be disabled
8733
8734 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8735
8736         * text3.C (dispatch): put the lfuns that insert insets in 3
8737         groups, and call doInsertInset with appropriate arguments.
8738         (doInsertInset): new function, that creates an inset and inserts
8739         it according to some boolean parameters.
8740
8741 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8742
8743         * buffer.C (readFile): remember to pass on 'par' when calling
8744         readFile recursively.
8745
8746 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8747
8748         * MenuBackend.C (expandFormats): add "..." to import formats.
8749
8750 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8751
8752         * paragraph.C (asString): Remove XForms RTL hacks.
8753
8754 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8755         * buffer.C: fix typo
8756
8757 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8758
8759         * Makefile.am (LIBS): delete var
8760         (lyx_LDADD): add @LIBS@ here instead.
8761
8762 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8763
8764         * Clarify the meaning of "wheel mouse jump"
8765
8766 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8767
8768         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8769         tabular in a float
8770
8771 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8772
8773         * importer.C (Loaders): do not preallocate 3 elements in the
8774         vector, since one ends up with 6 elements otherwise
8775
8776 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8777
8778         * DepTable.C (write): write the file name as last element of the
8779         .dep file (because it may contain spaces)
8780         (read): read info in the right order
8781
8782 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8783
8784         * paragraph_pimpl.C (simpleTeXBlanks):
8785         (simpleTeXSpecialChars):
8786         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8787
8788         * tabular.C (latex): add some missing case statements. Reindent.
8789
8790         * MenuBackend.C (expandToc): remove unused variable.
8791
8792 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8793
8794         * LColor.C:
8795         * LaTeX.C:
8796         * LyXAction.C:
8797         * MenuBackend.C:
8798         * buffer.C:
8799         * exporter.C:
8800         * lyxfunc.C:
8801         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8802         and the like.
8803
8804 2003-01-05  John Levon  <levon@movementarian.org>
8805
8806         * BufferView.h:
8807         * BufferView.C: add getEncoding()
8808
8809         * kbsequence.h:
8810         * kbsequence.C: do not store last keypress
8811
8812         * lyxfunc.h:
8813         * lyxfunc.C: store last keypress here instead. Pass encoding
8814           to getISOEncoded()
8815
8816 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8817
8818         * lyx_main.C (init): remove annoying error message when following
8819         symbolic links (bug #780)
8820
8821 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8822
8823         * text.C (insertChar):
8824         * lyxrc.C (getDescription): remove extra spaces
8825
8826 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8827
8828         * lyxrc.C (getDescription): remove extra spaces
8829
8830 2002-12-20  John Levon  <levon@movementarian.org>
8831
8832         * text3.C: hack fix for page up/down across tall rows
8833
8834 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8835
8836         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8837         not been invoked
8838
8839 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8840
8841         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8842         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8843         thesaurus is not compiled in
8844
8845 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8846
8847         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8848
8849 2002-12-16  Angus Leeming  <leeming@lyx.org>
8850
8851         * lyxrc.[Ch]:
8852         * lyx_main.C (init): remove override_x_deadkeys stuff.
8853
8854 2002-12-12  John Levon  <levon@movementarian.org>
8855
8856         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8857           insert. Only remove shift modifier under strict
8858           circumstances.
8859
8860 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8861
8862         * MenuBackend.C (expandToc): fix crash.
8863
8864 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8865
8866         * MenuBackend.C (expandToc): gettext on float names.
8867
8868 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8869
8870         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8871         implement bool empty() [bug 490]
8872
8873 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8874
8875         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8876
8877 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8878
8879         * several files: ws changes
8880
8881 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8882
8883         * text2.C (setCounter): clean up a bit, use boost.format.
8884         (updateCounters): initialize par upon declaration.
8885
8886         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8887         if the layout exists. We do not just store the layout any more.
8888         (SwitchLayoutsBetweenClasses): use boost.format
8889
8890 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8891
8892         * converter.C (convert): if from and to files are the same, use a
8893         temporary files as intermediary
8894
8895 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8896
8897         * commandtags.h:
8898         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8899
8900 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8901
8902         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8903
8904 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8905
8906         * tabular.C (asciiPrintCell): use string(size, char) instead of
8907         explicit loop.
8908
8909         * sgml.C (openTag): fix order of arguments to string constructor
8910         (closeTag): ditto
8911
8912         * lyxfunc.C (dispatch): use boost.format
8913
8914         * lots of files: change "c" -> 'c'
8915
8916 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8917
8918         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8919
8920 2002-11-25  Angus Leeming  <leeming@lyx.org>
8921
8922         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8923
8924         * lyx_main.C (init): compile fix.
8925
8926 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8927
8928         * lyx_cb.C (start): boost.formatify
8929         do not include <iostream>
8930
8931         * lengthcommon.C: ws only
8932
8933         * boost-inst.C,BoostFormat.h: add more explict instantations
8934
8935 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * lots of files: handle USE_BOOST_FORMAT
8938
8939 2002-11-21  John Levon  <levon@movementarian.org>
8940
8941         * pspell.C: fix compile
8942
8943 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8944
8945         * lyxfunc.C (dispatch): use boost::format
8946         (open): ditto
8947         (doImport): ditto
8948
8949         * lyxfont.C (stateText): use boost::format
8950
8951         * lyx_main.C (LyX): use boost::format
8952         (init): ditto
8953         (queryUserLyXDir): ditto
8954         (readRcFile): ditto
8955         (parse_dbg): ditto
8956         (typedef boost::function): use the recommened syntax.
8957
8958         * importer.C (Import): use boost::format
8959
8960         * debug.C (showLevel): use boost::format
8961
8962         * converter.C (view): use boost::format
8963         (convert): ditto
8964         (move): ditto
8965         (scanLog): ditto
8966
8967         * bufferview_funcs.C (currentState): use boost::format
8968
8969         * bufferlist.C (emergencyWrite): use boost::format
8970
8971         * buffer.C (readLyXformat2): use boost::format
8972         (parseSingleLyXformat2Token): ditto
8973
8974         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8975
8976         * LaTeX.C (run): use boost::format
8977
8978         * Chktex.C (scanLogFile): use boost::format
8979
8980         * BufferView_pimpl.C (savePosition): use boost::format
8981         (restorePosition): ditto
8982         (MenuInsertLyXFile): ditto
8983
8984         * BoostFormat.h: help file for explicit instation.
8985
8986 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8987
8988         * tabular.C (latex): Support for block alignment in fixed width
8989         columns.
8990
8991 2002-11-17  John Levon  <levon@movementarian.org>
8992
8993         * BufferView_pimpl.C:
8994         * lyx_cb.C:
8995         * lyxfunc.C: split filedialog into open/save
8996
8997 2002-11-08  Juergen Vigna  <jug@sad.it>
8998
8999         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9000         by my last patch (hopefully).
9001
9002 2002-11-08  John Levon  <levon@movementarian.org>
9003
9004         * iterators.h:
9005         * iterators.C:
9006         * buffer.h:
9007         * buffer.C:
9008         * paragraph.h:
9009         * paragraph.C:
9010         * toc.h:
9011         * toc.C: ParConstIterator, and use it (from Lars)
9012
9013 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9014
9015         * lyxtextclass.[Ch]: revise and add doxygen comments
9016
9017 2002-11-07  John Levon  <levon@movementarian.org>
9018
9019         * text.C: fix progress value for spellchecker
9020
9021         * toc.C: fix navigate menu for insetwrap inside minipage
9022
9023         * paragraph_funcs.C: added FIXME for suspect code
9024
9025 2002-11-07  John Levon  <levon@movementarian.org>
9026
9027         * BufferView_pimpl.C: fix redrawing of insets
9028           on buffer switch
9029
9030 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9031
9032         * text2.C (updateCounters): fix bug 668
9033
9034 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9035
9036         * text3.C (dispatch): Do not make the buffer dirty when moving the
9037         cursor.
9038
9039 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9040
9041         * vc-backend.C: STRCONV
9042         (scanMaster): ditto
9043
9044         * text2.C (setCounter): STRCONV
9045
9046         * paragraph.C (asString): STRCONV
9047
9048         * lyxlength.C (asString): STRCONV
9049         (asLatexString): ditto
9050
9051         * lyxgluelength.C (asString): STRCONV
9052         (asLatexString): ditto
9053
9054         * lyxfunc.C (dispatch): STRCONV
9055         (open): ditto
9056
9057         * lyxfont.C (stateText): STRCONV
9058
9059         * importer.C (Import): STRCONV
9060
9061         * counters.C (labelItem): STRCONV
9062         (numberLabel): ditto
9063         (numberLabel): remove unused ostringstream o
9064
9065         * chset.C: STRCONV
9066         (loadFile): ditto
9067
9068         * bufferview_funcs.C (currentState): STRCONV
9069
9070         * buffer.C (readFile): STRCONV
9071         (asciiParagraph): ditto
9072         (makeLaTeXFile): ditto
9073
9074         * Spacing.C (writeEnvirBegin): STRCONV
9075
9076         * LaTeXFeatures.C (getLanguages): STRCONV
9077         (getPackages): ditto
9078         (getMacros): ditto
9079         (getBabelOptions): ditto
9080         (getTClassPreamble): ditto
9081         (getLyXSGMLEntities): ditto
9082         (getIncludedFiles): ditto
9083
9084         * LaTeX.C: STRCONV
9085         (run): ditto
9086         (scanAuxFile): ditto
9087         (deplog): ditto
9088
9089         * LString.h: add the STRCONV macros
9090
9091         * BufferView_pimpl.C (savePosition): STRCONV
9092         (restorePosition): ditto
9093         (MenuInsertLyXFile): ditto
9094
9095         * vc-backend.C (scanMaster): change from submatch[...] to
9096         submatch.str(...)
9097
9098         * funcrequest.C: include config.h
9099
9100         * factory.C: include config.h
9101
9102         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9103
9104         * box.C: include config.h
9105
9106         * LaTeX.C (scanAuxFile): change from submatch[...] to
9107         submatch.str(...)
9108         (deplog): ditto
9109
9110 2002-10-25  Angus Leeming  <leeming@lyx.org>
9111
9112         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9113
9114         * ispell.[Ch] (setError): new method.
9115         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9116         Use setError() insetead of goto END.
9117
9118         * lyx_cb.C (AutoSave): move out child process into new class
9119         AutoSaveBuffer.
9120
9121 2002-10-30  John Levon  <levon@movementarian.org>
9122
9123         * text3.C: make start appendix undoable
9124
9125 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9126
9127         * lyxlength.C (inPixels): Fix returned value.
9128
9129         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9130         environment.
9131
9132 2002-10-24  Angus Leeming  <leeming@lyx.org>
9133
9134         * lyxgluelength.h: no need to forward declare BufferParams
9135         or BufferView, so don't.
9136
9137 2002-10-21  John Levon  <levon@movementarian.org>
9138
9139         * BufferView.C: menuUndo ->undo, redo
9140
9141         * BufferView.h: document, remove dead, make some methods private
9142
9143         * paragraph_funcs.h:
9144         * paragraph_funcs.C:
9145         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9146
9147         * buffer.h:
9148         * buffer.C:
9149         * sgml.h:
9150         * sgml.C: move sgml open/close tag into sgml.C
9151
9152         * bufferview_funcs.h: unused prototype
9153
9154         * lyxfunc.h:
9155         * lyxfunc.C: remove unused
9156
9157         * lyxtext.h:
9158         * text.C: remove unused
9159
9160 2002-10-21  John Levon  <levon@movementarian.org>
9161
9162         * BufferView.h:
9163         * BufferView.C:
9164         * BufferView_pimpl.h:
9165         * BufferView_pimpl.C: fix mouse wheel handling based on
9166           patch from Darren Freeman
9167
9168 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9169
9170         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9171
9172 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9173
9174         * lyxlength.C (inPixels): Fix hanfling of negative length.
9175         Fix LyXLength::MU case.
9176
9177 2002-10-16  John Levon  <levon@movementarian.org>
9178
9179         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9180
9181 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9182
9183         * converter.C (view): add support for $$i (file name) and $$p
9184         (file path) for the viewer command. If $$i is not specified, then
9185         it is appended to the command (for compatibility with old syntax)
9186
9187 2002-10-14  Juergen Vigna  <jug@sad.it>
9188
9189         * undo_funcs.C (textHandleUndo): alter the order in which the
9190         new undopar is added to the LyXText, as we have to set first
9191         the right prev/next and then add it as otherwise the rebuild of
9192         LyXText is not correct. Also reset the cursor to the right paragraph,
9193         with this IMO we could remove the hack in "redoParagraphs()".
9194
9195 2002-10-09  Angus Leeming  <leeming@lyx.org>
9196
9197         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9198         to turn off an optimisation if a new inset is to be inserted.
9199
9200 2002-10-11 André Pönitz <poenitz@gmx.net>
9201
9202         * lyxtext.h: make some functions public to allow access
9203         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9204
9205 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9206
9207         * text3.C (dispatch): when changing layout, avoid an infinite loop
9208         [bug #652]
9209
9210 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9211
9212         * lyxrc.C (read): treat a viewer or converter command of "none" as
9213         if it were empty.
9214
9215         * MenuBackend.C (expandFormats): for an update, also allow the
9216         formats that are not viewable
9217
9218         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9219         script if it is newer than the lyxrc.defaults in user directory
9220
9221 2002-10-07 André Pönitz <poenitz@gmx.net>
9222
9223         * text.C: Vitaly Lipatov's small i18n fix
9224
9225 2002-09-25  Angus Leeming  <leeming@lyx.org>
9226
9227         * ispell.h: doxygen fix.
9228
9229 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9230
9231         * buffer.h (readFile): Add a new argument to the method, to allow
9232         reading of old-format templates.
9233
9234 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9235
9236         * toc.C (getTocList): Get TOC from InsetWrap.
9237
9238 2002-09-16  John Levon  <levon@movementarian.org>
9239
9240         * lyxfunc.C: check tabular for cut/copy too
9241
9242 2002-09-12  John Levon  <levon@movementarian.org>
9243
9244         * LyXAction.C: tidy
9245
9246         * factory.h:
9247         * factory.C: add header
9248
9249         * paragraph_funcs.h:
9250         * paragraph_funcs.C: cleanup
9251
9252 2002-09-11  John Levon  <levon@movementarian.org>
9253
9254         * PrinterParams.h: odd/even default to true
9255
9256 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9257
9258         * PrinterParams.h: update printer parameters for new xforms dialog
9259
9260 2002-09-11  Angus Leeming  <leeming@lyx.org>
9261
9262         * lyxserver.C (read_ready): re-write to make it more transparent
9263         and to make it work in coherent fashion under Tru64 Unix.
9264
9265 2002-09-11  André Pönitz <poenitz@gmx.net>
9266
9267         * commandtags.h:
9268         * LyXAction.C:
9269         * text3.C: implement LFUN_WORDSEL
9270
9271 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9272
9273         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9274         make floatlist_ a boost::shared_ptr<FloatList>
9275
9276         * lyxtextclass.C: include FloatList.h
9277         (LyXTextClass): initialize floatlist_
9278         (TextClassTags): add TC_NOFLOAT
9279         (Read): match "nofloat" to TC_NOFLOAT and use it.
9280         (readFloat): modify call to floatlist_
9281         (floats): ditto
9282         (floats): ditto
9283
9284         * FloatList.[Ch] (FloatList): remove commented out float
9285         initialization.
9286         (erase): new function
9287
9288 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9289
9290         * MenuBackend.C (expandToc): fix crash when there is no document
9291         open
9292
9293 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9294
9295         * many files: Add insetwrap.
9296
9297 2002-09-09  John Levon  <levon@movementarian.org>
9298
9299         * text2.C: remove confusing and awkward depth wraparound
9300
9301 2002-09-09  John Levon  <levon@movementarian.org>
9302
9303         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9304
9305         * buffer.h:
9306         * buffer.C: remove getIncludeonlyList()
9307
9308         * paragraph.C:
9309         * lyxfunc.C: remove headers
9310
9311 2002-09-09  Juergen Vigna  <jug@sad.it>
9312
9313         * text.C (getColumnNearX): fix form Michael this is most
9314         probably a cut&paste bug.
9315
9316 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9317
9318         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9319
9320         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9321         references, ws changes.
9322
9323         * text2.C (init): update counters after init
9324         (insertParagraph): no need to set counter on idividual paragraphs.
9325         (setCounter): access the counters object in the textclass object
9326         on in the buffer object.
9327         (updateCounters): ditto
9328
9329         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9330         shared_ptr<Counters> to avoid loading counters.h in all
9331         compilation units.
9332         (LyXTextClass): initialize ctrs_
9333         (TextClassTags): add TC_COUNTER, and ...
9334         (Read): use it here.
9335         (CounterTags): new tags
9336         (readCounter): new function
9337         (counters): new funtion
9338         (defaultLayoutName): return a const reference
9339
9340         * counters.C (Counters): remove contructor
9341         (newCounter): remove a couple of unneeded statements.
9342         (newCounter): simplify a bit.
9343         (numberLabel): some small formatting changes.
9344
9345         * buffer.[Ch]: remove all traces of counters, move the Counters
9346         object to the LyXTextClass.
9347
9348 2002-09-06  Alain Castera  <castera@in2p3.fr>
9349
9350         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9351         package to set the horizontal alignment on fixed width columns.
9352
9353         * lyx_sty.C:
9354         * lyx_sty.h: added tabularnewline macro def.
9355
9356         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9357
9358 2002-09-06  John Levon  <levon@movementarian.org>
9359
9360         * LyXAction.C: tooltips for sub/superscript
9361
9362         * MenuBackend.C: a bit more verbose
9363
9364         * lyxfunc.C: tiny clean
9365
9366         * undo_funcs.C: document undo_frozen
9367
9368 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9369
9370         * counters.C (Counters): add missing algorithm counter.
9371
9372         * text2.C (setCounter): lookup the counter with layouts latexname
9373         instead of by section number.
9374         (setCounter): use a hackish way to lookup the correct enum
9375         counter.
9376         a float name->type change
9377         reset enum couners with counter name directly instead of depth value.
9378
9379         * counters.C (Counters): remove the push_backs, change to use the
9380         float type not the float name.
9381         (labelItem): remove unused string, float name->type change
9382
9383         * counters.h: don't include vector, loose the enums and sects vectors
9384
9385 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9386
9387         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9388         (Read): add float->TC_FLOAT to textclassTags
9389         (Read): and handle it in the switch
9390         (readFloat): new function
9391
9392         * FloatList.C (FloatList): comment out the hardcoded float
9393         definitions.
9394
9395         * lyxlayout.h: ws change.
9396
9397 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9398
9399         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9400
9401 2002-09-03  Angus Leeming  <leeming@lyx.org>
9402
9403         * BufferView_pimpl.h: qualified name is not allowed in member
9404         declaration: WorkArea & Pimpl::workarea() const;
9405
9406         * factory.C: added using std::endl directive.
9407
9408         * text3.C: added using std::find and std::vector directives.
9409
9410 2002-08-29  André Pönitz <poenitz@gmx.net>
9411
9412         * lyxtext.h:
9413         * text2.C: remove unused member number_of_rows
9414
9415         * Makefile.am:
9416         * BufferView2.C: remove file, move contents to...
9417         * BufferView.C: ... here
9418
9419         * BufferView_pimpl.C:
9420         * factory.C: move more inset creation to factory
9421
9422         * vspace.C: avoid direct usage of LyXText, ws changes
9423
9424         * BufferView.[Ch]:
9425                 don't provide direct access to WorkArea, use two simple
9426                 acessors haveSelction() and workHeight() instead
9427
9428
9429 2002-08-29  John Levon  <levon@movementarian.org>
9430
9431         * BufferView_pimpl.C (dispatch): do not continue when
9432           no buffer
9433
9434 2002-08-28  André Pönitz <poenitz@gmx.net>
9435
9436         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9437
9438         * BufferView.h:
9439         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9440
9441 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9442
9443         * buffer.C: increment LYX_FORMAT to 221
9444
9445         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9446         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9447
9448         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9449
9450         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9451
9452 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9453
9454         * factory.C (createInset): use LyXTextClass::floats
9455
9456         * MenuBackend.C (expandFloatListInsert):
9457         (expandFloatInsert):
9458         (expandToc):
9459
9460         * text2.C (setCounter):
9461
9462         * LaTeXFeatures.C (useFloat):
9463         (getFloatDefinitions):
9464
9465         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9466
9467         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9468         floatlist_, with accessor floats().
9469
9470         * FloatList.h: remove global FloatList
9471
9472 2002-08-26  André Pönitz <poenitz@gmx.net>
9473
9474         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9475
9476         * BufferView.h:
9477         * BufferView2.C:
9478         * BufferView_pimpl.C:
9479         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9480
9481 2002-08-25  John Levon  <levon@movementarian.org>
9482
9483         * LyXAction.C: fix margin note description
9484
9485 2002-08-24  John Levon  <levon@movementarian.org>
9486
9487         * buffer.C:
9488         * bufferlist.C:
9489         * bufferview_funcs.C:
9490         * lyxfont.C:
9491         * undo_funcs.C: cleanups
9492
9493         * lyxfunc.C: disable CUT/COPY when no selection
9494
9495 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9496
9497         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9498         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9499
9500         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9501         Add backward compatibility to "mono", "gray" and "no".
9502
9503 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9504
9505         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9506         (and file_format >= 200).
9507
9508 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9509
9510         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9511
9512 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9515
9516 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9517
9518         * BufferView_pimpl.C:
9519         * LyXAction.C:
9520         * buffer.C:
9521         * commandtags.h:
9522         * lyxfunc.C:
9523         * paragraph.[Ch]:
9524         * text2.C:
9525         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9526         inset and code to make it  work with the paragraph code. The inset
9527         can be anywhere in the paragraph, but will only do the expected
9528         thing in LaTeX if the layout file contains the parameter line
9529                         OptionalArgs    1
9530         (or more generally, a nonzero value) for that layout.
9531
9532 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9533
9534         * paragraph.h: remove the declaration of undefined counters class
9535         function.
9536
9537 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9538
9539         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9540         Dr. Richard Hawkins.
9541
9542 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9543
9544         * paragraph_funcs.h: remove some unneeded includes
9545
9546         * text.C (backspace): pasteParagraph now in global scipe
9547
9548         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9549         (pasteSelection): ditto
9550
9551         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9552         * paragraph_funcs.C (pasteParagraph): ... here
9553
9554 2002-08-20  André Pönitz <poenitz@gmx.net>
9555
9556         * commandtags.h: new LFUNs for swapping/copying table row/colums
9557
9558         * LyXAction.C:
9559         * lyxfunc.C: support for new lfuns
9560
9561 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9562
9563         * tabular.C:
9564         * buffer.[Ch]: remove NO_COMPABILITY stuff
9565
9566 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * boost.C (throw_exception): new file, with helper function for
9569         boost compiled without exceptions.
9570
9571         * paragraph.h:
9572         * lyxlength.C:
9573         * buffer.C:
9574         * ParameterStruct.h:
9575         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9576
9577         * bufferlist.C (emergencyWriteAll): use boost bind
9578
9579         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9580
9581         * text.C: include paragraph_funcs.h
9582         (breakParagraph): breakParagraph is now in global scope
9583
9584         * paragraph_funcs.[Ch]: new files
9585
9586         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9587         global scope
9588
9589         * buffer.C: include paragraph_funcs.h
9590         (insertStringAsLines): breakParagraph is now in global scope
9591
9592         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9593         paragraph_funcs.C
9594
9595         * CutAndPaste.C: include paragraph_funcs.h
9596         (cutSelection): breakParagraphConservative is now in global scope
9597         (pasteSelection): ditto
9598
9599         * buffer.h: declare oprator== and operator!= for
9600         Buffer::inset_iterator
9601
9602         * bufferlist.C (emergencyWrite): don't use fmt(...)
9603
9604         * text3.C: add using std::endl
9605
9606         * BufferView.C (moveCursorUpdate): remove default arg
9607
9608 2002-08-20  André Pönitz <poenitz@gmx.net>
9609
9610         * buffer.[Ch]: move inline functions to .C
9611
9612         * BufferView2.C:
9613         * BufferView_pimpl.C:
9614         * text.C:
9615         * buffer.[Ch]: use improved inset_iterator
9616
9617         * buffer.C:
9618         * paragraph.[Ch]: write one paragraph at a time
9619
9620 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9621
9622         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9623         style if style is not specified.
9624
9625 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9626
9627         * text2.C (setCounter): when searching for right label for a
9628         caption, make sure to recurse to parent insets (so that a caption
9629         in a minipage in a figure float works) (bug #568)
9630
9631 2002-08-20  André Pönitz <poenitz@gmx.net>
9632
9633         * text3.C: new file for LyXText::dispatch() and helpers
9634
9635         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9636
9637         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9638
9639 2002-08-19  André Pönitz <poenitz@gmx.net>
9640
9641         * lyxtext.h:
9642         * text.C: new LyXText::dispatch()
9643
9644         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9645
9646 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9647
9648         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9649
9650         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9651         Hebrew text.
9652
9653 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9654
9655         * Makefile.am: use $(variables) instead of @substitutions@
9656
9657 2002-08-15  André Pönitz <poenitz@gmx.net>
9658
9659         * lyxfunc.C:
9660         * BufferView_pimpl.C: streamlining mathed <-> outer world
9661         interaction
9662
9663         * commandtags.h:
9664         * LyXAction.C: remove unused LFUN_MATH
9665
9666 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9667
9668         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9669
9670 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9671
9672         * paragraph.C (Paragraph): reformat a bit
9673         (cutIntoMinibuffer): use builtin InsetList function instad of
9674         doing it manually.
9675         (getInset): ditto
9676
9677         * buffer.C: include boost/bind.hpp, add using std::for_each
9678         (writeFileAscii): use ParagraphList iterators
9679         (validate): use for_each for validate traversal of paragraphs
9680         (getBibkeyList): use ParagraphList iterators
9681         (resizeInsets): use for_each to resizeInsetsLyXText for all
9682         paragraphs.
9683         (getParFromID): use ParagraphList iterators
9684
9685         * BufferView2.C (lockInset): use paragraph list and iterators
9686
9687 2002-08-14  John Levon  <levon@movementarian.org>
9688
9689         * lyxserver.C: remove spurious xforms include
9690
9691 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9692
9693         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9694
9695 2002-08-13  André Pönitz <poenitz@gmx.net>
9696
9697         * LyXAction.[Ch]:
9698         * lyxfunc.C: further cleaning
9699
9700 2002-08-13  André Pönitz <poenitz@gmx.net>
9701
9702         * funcrequest.h: new constructor
9703
9704         * funcrequest.C: move stuff here from .h
9705
9706         * Makefile.am:
9707         * BufferView_pimpl.C:
9708         * LyXAction.C:
9709         * toc.C:
9710         * lyxfunc.C: subsequent changes
9711
9712         * lyxfunc.h: new view() member function
9713
9714         * lyxfunc.C: subsequent changes
9715
9716 2002-08-13  Angus Leeming  <leeming@lyx.org>
9717
9718         * BufferView2.C:
9719         * BufferView_pimpl.C:
9720         * buffer.C:
9721         * converter.C:
9722         * importer.C:
9723         * lyxfunc.C:
9724         * lyxvc.C:
9725         * toc.C:
9726         * vc-backend.C:
9727         changes due to the changed LyXView interface that now returns references
9728         to member variables not pointers.
9729
9730 2002-08-13  Angus Leeming  <leeming@lyx.org>
9731
9732         * WordLangTuple (word, lang_code): return references to strings,
9733         not strings.
9734
9735         * BufferView.h:
9736         * SpellBase.h:
9737         * lyxtext.h: forward-declare WordLangTuple.
9738
9739         * BufferView2.C:
9740         * ispell.C:
9741         * pspell.C:
9742         * text.C: #include "WordLangTuple.h".
9743
9744         * lyxtext.h:
9745         * text.C: (selectNextWordToSpellcheck): constify return type.
9746
9747 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9748
9749         * buffer.C:
9750         * buffer.h:
9751         * lyxtext.h:
9752         * paragraph.C:
9753         * paragraph_pimpl.h:
9754         * text.C:
9755         * text2.C:
9756         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9757         suggested by Angus.
9758         Made updateCounter always count from start of buffer, and removed
9759         second argument (par).
9760         Reverted floats number display to '#'. Perhaps I'll try again when the
9761         code base is sanitized a bit.
9762
9763 2002-08-12  Angus Leeming  <leeming@lyx.org>
9764
9765         * buffer.[Ch] (getLabelList): constify.
9766
9767 2002-08-07  André Pönitz <poenitz@gmx.net>
9768
9769         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9770
9771         * funcrequest.h: extension to keep mouse (x,y) position
9772
9773 2002-08-12  Juergen Vigna  <jug@sad.it>
9774
9775         * BufferView2.C (insertErrors): forbid undo when inserting error
9776         insets.
9777
9778         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9779
9780 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9781
9782         * ParagraphList.[Ch]: new files
9783
9784         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9785
9786         * BufferView2.C (lockInset): ParagraphList changes
9787         * toc.C: ditto
9788         * text2.C: ditto
9789         * bufferlist.C: ditto
9790         * buffer.h: ditto
9791         * buffer.C: ditto
9792
9793 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9794
9795         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9796         unused class variable counter_,
9797
9798         * paragraph.[Ch] (getFirstCounter): delete unused function
9799
9800         * counters.C: include LAssert.h
9801         (reset): add a new function with no arg, change other version to
9802         not have def. arg and to not allow empty arg.
9803
9804         * text2.C (setCounter): remove empty arg from call to Counters::reset
9805
9806 2002-08-11  John Levon  <levon@movementarian.org>
9807
9808         * Makefile.am: add WordLangTuple.h
9809
9810 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9811
9812         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9813         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9814
9815         * insets/insettext.C: InsetList changes
9816
9817         * graphics/GraphicsSupport.C (operator()): InsetList changes
9818
9819         * toc.C (getTocList): InsetList changes
9820
9821         * paragraph_pimpl.[Ch]: InsetList changes
9822
9823         * paragraph.[Ch]: InsetList changes
9824
9825         * buffer.C (inset_iterator): InsetList changes
9826         (setParagraph): ditto
9827         * buffer.h (inset_iterator): ditto
9828         * iterators.C (operator++): ditto
9829         * iterators.h: ditto
9830
9831         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9832
9833         * InsetList.[Ch]: new files, most InsetList handling moved out of
9834         paragraph.C.
9835
9836         * BufferView2.C (removeAutoInsets): InsetList changes
9837         (lockInset): ditto
9838         (ChangeInsets): ditto
9839
9840 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9841
9842         * paragraph_pimpl.h (empty): new function
9843
9844         * paragraph.[Ch] (empty): new function
9845
9846         * other files: use the new Paragraph::empty function
9847
9848 2002-08-09  John Levon  <levon@movementarian.org>
9849
9850         * lyxtext.h: remove unused refresh_height
9851
9852 2002-08-09  John Levon  <levon@movementarian.org>
9853
9854         * Makefile.am:
9855         * sgml.h:
9856         * sgml.C:
9857         * buffer.C:
9858         * paragraph.h:
9859         * paragraph.C: move sgml char escaping out of paragraph
9860
9861         * paragraph.h:
9862         * paragraph.C: remove id setter
9863
9864         * buffer.C:
9865         * paragraph.C:
9866         * paragraph_pimpl.C: remove dead tex_code_break_column
9867
9868         * bufferview_funcs.C: small cleanup
9869
9870         * lyxfunc.C: remove dead proto
9871
9872         * lyxtext.h: make some stuff private. Remove some dead stuff.
9873
9874         * lyxgluelength.C: make as[LyX]String() readable
9875
9876 2002-08-08  John Levon  <levon@movementarian.org>
9877
9878         * LyXAction.h:
9879         * LyXAction.C:
9880         * MenuBackend.C:
9881         * ToolbarDefaults.C:
9882         * lyxfunc.C:
9883         * lyxrc.C:
9884         * toc.C: lyxaction cleanup
9885
9886 2002-08-08  John Levon  <levon@movementarian.org>
9887
9888         * BufferView2.C: small cleanup
9889
9890         * lyxfind.h:
9891         * lyxfind.C: move unnecessary header into the .C
9892
9893 2002-08-08  John Levon  <levon@movementarian.org>
9894
9895         * funcrequest.h: just tedious nonsense
9896
9897         * lyx_main.h:
9898         * lyx_main.C: cleanups
9899
9900         * buffer.C:
9901         * vspace.C: remove dead header lyx_main.h
9902
9903 2002-08-07  Angus Leeming  <leeming@lyx.org>
9904
9905         * Paragraph.[Ch]:
9906         * paragraph_pimpl.h:
9907         Forward declare class Counters in paragraph.h by moving the ctrs member
9908         variable into Paragraph::Pimpl.
9909         (counters): new method, returning a reference to pimpl_->ctrs.
9910
9911         * text2.C: ensuing changes.
9912
9913 2002-08-07  John Levon  <levon@movementarian.org>
9914
9915         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9916
9917         * BufferView_pimpl.C: announce X selection on double/triple
9918           click
9919
9920         * lyx_main.C: use correct bool in batch dispatch
9921
9922         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9923
9924 2002-08-07  André Pönitz <poenitz@gmx.net>
9925
9926         * funcrequest.h: new class to wrap a kb_action and its argument
9927
9928         * BufferView.[Ch]:
9929         * BufferView_pimpl[Ch]:
9930         * LaTeX.C:
9931         * LyXAction.[Ch]:
9932         * lyxfunc.[Ch]:
9933         * lyxrc.C: subsequent changes
9934
9935
9936 2002-08-07  John Levon  <levon@movementarian.org>
9937
9938         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9939           document options change.
9940
9941 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9942
9943         * counters.[Ch]
9944         * text2.C
9945         * paragraph.[Ch]
9946         * makefile.am: move counters functionality over from
9947         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9948
9949 2002-08-06  John Levon  <levon@movementarian.org>
9950
9951         * WordLangTuple.h: new file for word + language code tuple
9952
9953         * SpellBase.h:
9954         * pspell.h:
9955         * pspell.C:
9956         * ispell.h:
9957         * ispell.C:
9958         * lyxtext.h:
9959         * text.C:
9960         * text2.C:
9961         * BufferView.h:
9962         * BufferView2.C: use WordLangTuple
9963
9964         * layout.h:
9965         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9966
9967 2002-08-06  John Levon  <levon@movementarian.org>
9968
9969         * lyx_main.C: fix cmdline batch handling
9970
9971 2002-08-06  André Pönitz <poenitz@gmx.net>
9972
9973         * lyxrc.C: set default for show_banner to true
9974
9975 2002-08-06  John Levon  <levon@movementarian.org>
9976
9977         * pspell.C: fix a crash, and allow new aspell to work
9978
9979 2002-08-06  John Levon  <levon@movementarian.org>
9980
9981         * lyxfunc.C:
9982         * kbmap.C: small cleanup
9983
9984         * vspace.h:
9985         * vspace.C: add const
9986
9987 2002-08-05  John Levon  <levon@movementarian.org>
9988
9989         * LyXAction.C: back to tabular-insert
9990
9991 2002-08-04  John Levon  <levon@movementarian.org>
9992
9993         * BufferView.h:
9994         * BufferView.C: cosmetic change
9995
9996         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9997
9998         * bufferlist.C:
9999         * buffer.h:
10000         * buffer.C:
10001         * lyxcb.h:
10002         * lyxcb.C:
10003         * lyxserver.C:
10004         * lyxvc.C:
10005         * vc-backend.C:
10006         * BufferView2.C: purge all "Lyx" not "LyX" strings
10007
10008         * lyxcursor.h:
10009         * lyxcursor.C: attempt to add some documentation
10010
10011         * lyxfunc.C:
10012         * commandtags.h:
10013         * LyXAction.C:
10014         * ToolbarDefaults.C:
10015         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10016           merge with LFUN_TABULAR_INSERT
10017
10018         * Makefile.am:
10019         * SpellBase.h:
10020         * ispell.h:
10021         * ispell.C:
10022         * pspell.h:
10023         * pspell.C: split up i/pspell implementations into separate
10024           files, many cleanups
10025
10026         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10027
10028         * text2.C: some cleanup
10029
10030         * lyxfunc.C: don't check for isp_command == "none" any more, it
10031           didn't make any sense
10032
10033 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10034
10035         * counters.[Ch]
10036         * text2.C
10037         * paragraph.[Ch]
10038         * makefile.am: move counters functionality over
10039         from text2.C/paragraph.[Ch] to counters.[Ch], and
10040         make proper C++.
10041 2002-08-02  John Levon  <levon@movementarian.org>
10042
10043         * buffer.C: s/lyxconvert/lyx2lyx/
10044
10045 2002-08-02  Angus Leeming  <leeming@lyx.org>
10046
10047         * lyxlex.C: revert John's change as it breaks reading of the user
10048         preamble.
10049
10050 2002-08-02  Angus Leeming  <leeming@lyx.org>
10051
10052         * importer.C (Import):
10053         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10054         changes due to LyXView::view() now returning a boost::shared_ptr.
10055
10056 2002-08-02  John Levon  <levon@movementarian.org>
10057
10058         * lyxlex.C: small cleanup
10059
10060 2002-08-02  John Levon  <levon@movementarian.org>
10061
10062         * text2.C (status): small cleanup, no logic change
10063
10064 2002-08-01  John Levon  <levon@movementarian.org>
10065
10066         * buffer.h:
10067         * buffer.C (writeFile): don't output alerts, caller
10068           handles this
10069
10070         * bufferlist.C:
10071         * lyx_cb.C: from above
10072
10073         * lyxfunc.C: allow to open non-existent files
10074
10075 2002-07-31  John Levon  <levon@movementarian.org>
10076
10077         * lyxserver.C: don't let incidental errors get
10078           in the way (errno)
10079
10080 2002-07-30  John Levon  <levon@movementarian.org>
10081
10082         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10083
10084 2002-07-30  John Levon  <levon@movementarian.org>
10085
10086         * lyxserver.h:
10087         * lyxserver.C: remove I/O callback too
10088
10089 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10090
10091         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10092         log.
10093
10094 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10095
10096         * many files: strip,frontStrip -> trim,ltrim,rtrim
10097
10098 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10099
10100         * PrinterParams.h: remove extern containsOnly, and include
10101         support/lstrings.h instead.
10102
10103         * LaTeX.C (scanAuxFile): modify because of strip changes
10104         (deplog): ditto
10105         * buffer.C (makeLaTeXFile): ditto
10106         * bufferparams.C (writeFile): ditt
10107         * lyxfont.C (stateText): ditto
10108         * lyxserver.C (read_ready): ditto
10109         * vc-backend.C (scanMaster): ditto
10110
10111         * BufferView_pimpl.h: ws changes
10112
10113         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10114
10115 2002-07-26  André Pönitz <poenitz@gmx.net>
10116
10117         * kb_sequence.C: remove unnedred usings
10118
10119 2002-07-26  Juergen Vigna  <jug@sad.it>
10120
10121         * lyxfind.C (LyXReplace): we have to check better if the returned
10122         text is not of theLockingInset()->getLockingInset().
10123
10124 2002-07-25  Juergen Vigna  <jug@sad.it>
10125
10126         * lyxfind.C (LyXReplace): don't replace if we don't get the
10127         right LyXText.
10128
10129         * undo_funcs.C (createUndo): remove debugging code.
10130
10131 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10132
10133         * buffer.C (parseSingleLyXformat2Token): Use default placement
10134         when reading old floats.
10135
10136         * FloatList.C (FloatList): Change the default placement of figure
10137         and tables to "tbp".
10138
10139 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * MenuBackend.C: using std::max
10142
10143 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * MenuBackend.C (expandToc):
10146         (expandToc2): code moved from xforms menu frontend. It is now
10147         generic and TOCs are transparent to menu frontends.
10148
10149 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10150
10151         * toc.C (getTocList): protect against buf=0
10152
10153         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10154         Menu as first parameter. Now, this calls itself recursively to
10155         expand a whole tree (this will be useful for TOC handling)
10156         (expandFloatInsert): remove 'wide' version of floats
10157
10158         * MenuBackend.h (submenuname): returns the name of the submenu.
10159         (submenu): returns the submenu itself, provided it has been
10160         created by MenuBackend::expand
10161
10162 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10163
10164         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10165         insets which have noFontChange == true. (bug #172)
10166
10167 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10168
10169         * BufferView_pimpl.C: add connection objects and use them...
10170         (Pimpl): here.
10171
10172 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10173
10174         * MenuBackend.C (expandLastfiles):
10175         (expandDocuments):
10176         (expandFormats):
10177         (expandFloatListInsert):
10178         (expandFloatInsert):
10179         (expand): split expand in parts
10180
10181 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * lyx_gui.C: use lyx_gui::exit()
10184
10185 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * LyXAction.C: show the failing pseudo action
10188
10189 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10190
10191         * buffer.C (readFile): Run the lyxconvert script in order to read
10192         old files.
10193
10194 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10195
10196         * LyXAction.C:
10197         * commandtags.h:
10198         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10199
10200 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * LyXAction.C:
10203         * commandtags.h:
10204         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10205
10206 2002-07-22  Herbert Voss  <voss@lyx.org>
10207
10208         * lengthcommon.C:
10209         * lyxlength.[Ch]: add support for the vertical lengths
10210
10211 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10212
10213         * toc.[Ch]: std:: fixes
10214
10215 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10216
10217         * lyxrc.C: do not include lyx_main.h
10218
10219         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10220         for layouts
10221
10222         * lyxrc.C:
10223         * encoding.C:
10224         * bufferlist.C:
10225         * BufferView2.C: include "lyxlex.h"
10226
10227         * tabular.h:
10228         * bufferparams.h: do not #include "lyxlex.h"
10229
10230         * lyxtextclasslist.C (Add): remove method
10231         (classlist): renamed to classlist_
10232
10233         * paragraph_pimpl.C:
10234         * paragraph.C:
10235         * text2.C:
10236         * CutAndPaste.C:
10237         * bufferview_funcs.C:
10238         * bufferlist.C:
10239         * text.C:
10240         * LaTeXFeatures.C:
10241         * buffer.C:
10242         * toc.C (getTocList): use BufferParams::getLyXTextClass
10243
10244         * toc.C (getTocList): use InsetFloat::addToToc
10245
10246         * toc.[Ch]: new files, containing helper functions to handle table
10247         of contents
10248
10249         * lyxfunc.C (dispatch): no need to remove spaces around command
10250         given as a string
10251         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10252         first command of the sequence; it is not very clever, but I do not
10253         have a better idea, actually
10254
10255         * LyXAction.C (LookupFunc): make sure to remove space at the
10256         beginning and end of the command
10257
10258 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10259
10260         * MenuBackend.C (getMenubar): new method: return the menubar of
10261         this menu set
10262         (read): treat differently reading of menu and menubar (in
10263         particular, the menubar has no name now)
10264         (Menu::menubar): remove
10265
10266         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10267         saving is finished
10268
10269 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10270
10271         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10272         a bibitem inset in a RTL paragraph.
10273
10274 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * paragraph_pimpl.C: constify
10277
10278         * BufferView_pimpl.C:
10279         * LaTeX.C:
10280         * lyxfunc.C: fix dispatch in a nicer way
10281
10282 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10283
10284         * lyxfunc.C (dispatch):
10285         * BufferView_pimpl.C:
10286         * BufferView_pimpl.h:
10287         * BufferView.C:
10288         * BufferView.h: rename Dispatch() to dispatch()
10289
10290         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10291
10292         * lyxlayout.C (Read): honor DependsOn tag
10293
10294         * lyxlayout.[Ch] (depends_on): new method
10295
10296         * version.C.in: update lyx_docversion
10297
10298         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10299
10300         * paragraph.C (validate): remove from here...
10301         * paragraph_pimpl.C (validate): ... and move here
10302         (isTextAt): make it const
10303
10304         * buffer.C (getLists): ws cleanup
10305
10306 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10307
10308         * language.C (read): Use iso8859-1 encoding in latex_lang
10309         (this prevents LyX from crashing when using iso10646-1 encoding).
10310
10311 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10312
10313         * text2.C (toggleInset): if cursor is inside an inset, close the
10314         inset and leave cursor _after_ it
10315
10316 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * lyxfunc.C: move minibuffer completion handling out of here
10319
10320 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * BufferView_pimpl.C:
10323         * LaTeX.C: fix dispatch calls
10324
10325 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10326
10327         * text.C (drawChars): Fix Arabic text rendering.
10328
10329 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * LyXAction.C:
10332         * commandtags.h:
10333         * lyxfunc.C: remove message-push/pop
10334
10335         * lyxserver.C:
10336         * lyxfunc.h:
10337         * lyxfunc.C: rationalise some code by removing verboseDispatch
10338           in favour of a bool argument to dispatch()
10339
10340 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10341
10342         * lyx_main.C (init): make sure to read symlinks as absolute paths
10343
10344 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10345
10346         * lyxfunc.h:
10347         * lyxfunc.C: no need for commandshortcut to be a member
10348
10349 2002-07-15  André Pönitz <poenitz@gmx.net>
10350
10351         * converter.C: add support for $$s (scripts from lib/scripts dir)
10352         * lyx_main.C: white space
10353
10354 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * bufferlist.C:
10357         * lyxrc.h:
10358         * lyxrc.C: remove second exit confirmation
10359
10360 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * BufferView.h:
10363         * BufferView.C:
10364         * BufferView2.C:
10365         * BufferView_pimpl.h:
10366         * BufferView_pimpl.C:
10367         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10368
10369 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10370
10371         * MenuBackend.C (expand): add numeric shortcuts to document menu
10372
10373         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10374
10375 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10376
10377         * lyxfont.C (setLyXFamily):
10378         (setLyXSeries):
10379         (setLyXShape):
10380         (setLyXSize):
10381         (setLyXMisc):
10382         (lyxRead):
10383         * debug.C (value):
10384         * buffer.C (asciiParagraph): use ascii_lowercase
10385
10386 2002-07-15  Mike Fabian  <mfabian@suse.de>
10387
10388         * lyxlex_pimpl.C (search_kw):
10389         * lyxlex.C (getLongString):
10390         * converter.h (operator<):
10391         * converter.C (operator<):
10392         * buffer.C (parseSingleLyXformat2Token):
10393         (asciiParagraph):
10394         * ToolbarDefaults.C (read):
10395         * MenuBackend.C (checkShortcuts):
10396         (read):
10397         * LColor.C (getFromGUIName):
10398         (getFromLyXName): use the compare_ascii_no_case instead of
10399         compare_no_case, because in turkish, 'i' is not the lowercase
10400         version of 'I', and thus turkish locale breaks parsing of tags.
10401
10402 2002-07-16  Angus Leeming  <leeming@lyx.org>
10403
10404         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10405         now takes a Buffer const & argument.
10406
10407 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * BufferView.C (resize): check there's a buffer to resize
10410
10411 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * lyxfunc.C: remove dead code
10414
10415         * lyxserver.h:
10416         * lyxserver.C: use lyx_guii::set_read_callback
10417
10418 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10419
10420         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10421         an inset in a RTL paragraph.
10422
10423 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * lyxfunc.C: repaint after a font size update
10426
10427 2002-07-15  André Pönitz <poenitz@gmx.net>
10428
10429         * lyxlength.C: inBP should be able to return negative values
10430
10431 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * lyxfunc.C: use lyx_gui::update_fonts()
10434
10435 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * lyxfunc.C: use lyx_gui::update_color()
10438
10439 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * bufferlist.C:
10442         * lyxfunc.h:
10443         * lyxfunc.C:
10444         * lyxrc.h:
10445         * lyxrc.C: remove file->new asks for name option, and let
10446           buffer-new take an argument
10447
10448 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10449
10450         * BufferView_pimpl.C: remove unneeded extra repaint()
10451
10452 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * LyXAction.C: allow command-sequence with NoBuffer
10455
10456         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10457
10458 2002-07-10  Angus Leeming  <leeming@lyx.org>
10459
10460         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10461
10462 2002-07-09  Angus Leeming  <leeming@lyx.org>
10463
10464         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10465
10466 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10467
10468         * lengthcommon.h: whitespace
10469
10470         * lyxfunc.C: update scrollbar after goto paragraph
10471
10472         * lyxtext.h: factor out page break drawing, and fix it so
10473           page break/added space paints as selected nicely
10474
10475 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10476
10477         * BufferView_pimpl.C: add FIXMEs, clean up a little
10478
10479 2002-07-09  André Pönitz <poenitz@gmx.net>
10480
10481         * lyxfont.[Ch]: support for wasy symbols
10482
10483 2002-07-08  André Pönitz <poenitz@gmx.net>
10484
10485         * BufferView_pimpl.C: apply John's patch for #93.
10486
10487 2002-07-05  Angus Leeming  <leeming@lyx.org>
10488
10489         * BufferView_pimpl.C (buffer): generate previews if desired.
10490
10491         * LColor.h: add "preview" to the color enum.
10492
10493         * LColor.C (LColor): add a corresponding entry to the items array.
10494
10495         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10496         with this buffer.
10497
10498 2002-07-05  Angus Leeming  <leeming@lyx.org>
10499
10500         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10501         The body of the code is now in the method that is passed an ostream &
10502         rather than a file name.
10503         Pass an additional only_preamble parameter, useful for the forthcoming
10504         preview stuff.
10505
10506 2002-07-03  André Pönitz <poenitz@gmx.net>
10507
10508         * lyxfunc.C: simplify getStatus() a bit for math stuff
10509
10510 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10511
10512         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10513
10514 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10515
10516         * text.C (changeRegionCase): do not change case of all the
10517         document when region ends at paragraph end (bug #461)
10518
10519 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10520
10521         * paragraph.C (startTeXParParams):
10522         (endTeXParParams): add \protect when necessary
10523
10524 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10525
10526         * BufferView_pimpl.C (workAreaExpose): remove warning
10527
10528 2002-06-27  Angus Leeming  <leeming@lyx.org>
10529
10530         * Makefile.am: add lyxlayout_ptr_fwd.h.
10531
10532 2002-06-26  André Pönitz <poenitz@gmx.net>
10533
10534         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10535
10536 2002-06-25  Angus Leeming  <leeming@lyx.org>
10537
10538         * lyxfunc.C (dispatch): Comment out the call to
10539         grfx::GCache::changeDisplay. The method no longer exists now that the
10540         pixmap generation part of the graphics loader has been moved into
10541         InsetGraphics.
10542
10543 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * text2.C: layout as layout
10546
10547         * text.C: layout as layout
10548
10549         * tabular.C (OldFormatRead): layout as layout
10550
10551         * paragraph_pimpl.C (TeXDeeper): layout as layout
10552         (realizeFont): layout as layout
10553
10554         * paragraph.C (writeFile): layout as layout
10555         (validate): layout as layout
10556         (getFont): layout as layout
10557         (getLabelFont): layout as layout
10558         (getLayoutFont): layout as layout
10559         (breakParagraph): layout as layout
10560         (stripLeadingSpaces): layout as layout
10561         (getEndLabel): layout as layout
10562         (getMaxDepthAfter): layout as layout
10563         (applyLayout): layout as layout
10564         (TeXOnePar): layout as layout
10565         (simpleTeXOnePar): layout as layout
10566         (TeXEnvironment): layout as layout
10567         (layout): layout as layout
10568         (layout): layout as layout
10569
10570         * lyxtextclass.C (compare_name): new functor to work with
10571         shared_ptr, layout as layout
10572         (Read): layout as layout
10573         (hasLayout): layout as layout
10574         (operator): layout as layout
10575         (delete_layout): layout as layout
10576         (defaultLayout): layout as layout
10577
10578         * lyxlayout_ptr_fwd.h: new file
10579
10580         * lyxlayout.C (Read): layout as layout
10581
10582         * lyx_cb.C (MenuInsertLabel): layout as layout
10583
10584         * bufferlist.C (newFile): layout as layout
10585
10586         * buffer.C (readLyXformat2): layout as layout
10587         (parseSingleLyXformat2Token): layout as layout
10588         (insertStringAsLines): layout as layout
10589         (asciiParagraph): layout as layout
10590         (latexParagraphs): layout as layout
10591         (makeLinuxDocFile): layout as layout
10592         (simpleLinuxDocOnePar): layout as layout
10593         (makeDocBookFile): layout as layout
10594         (simpleDocBookOnePar): layout as layout
10595         (getLists): layout as layout
10596
10597         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10598
10599         * CutAndPaste.C (cutSelection): layout as layout
10600         (pasteSelection): layout as layout
10601         (SwitchLayoutsBetweenClasses): layout as layout
10602
10603         * BufferView_pimpl.C (Dispatch): layout as layout
10604         (smartQuote): layout as layout
10605
10606         * BufferView2.C (unlockInset): layout as layout
10607
10608 2002-06-24  André Pönitz <poenitz@gmx.net>
10609
10610         * lyxfunc.C: fix #487
10611
10612 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * lyxrc.h:
10615         * lyxrc.C:
10616         * lyxfunc.C: remove display_shortcuts, show_banner
10617
10618 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * Buffer_pimpl.C: oops, update on resize
10621
10622 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10623
10624         * buffer.C:
10625         * converter.C:
10626         * exporter.C:
10627         * lyxfunc.C:
10628         * BufferView.h:
10629         * BufferView.C: use repaint()
10630
10631         * BufferView_pimpl.h:
10632         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10633           as it's a clearer description. Remove superfluous
10634           redraws.
10635
10636 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * text.C: fix bug 488. Not ideal, but getting
10639           getWord() to work properly for the insets that
10640           matter is more difficult ...
10641
10642 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * BufferView_pimpl.C:
10645         * LyXAction.C:
10646         * commandtags.h:
10647         * lyxfunc.C: remove the six million index lyxfuncs to just
10648           one, and DTRT (bug 458)
10649
10650 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * BufferView.h:
10653         * BufferView.C:
10654         * BufferView_pimpl.h:
10655         * BufferView_pimpl.C: clean up resize() stuff,
10656           and unnecessary updateScreen()s
10657
10658 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * BufferView.h:
10661         * BufferView.C:
10662         * BufferView_pimpl.h:
10663         * BufferView_pimpl.C:
10664         * lyxfind.h:
10665         * lyxfind.C:
10666         * minibuffer.C: remove focus management of workarea,
10667           not needed. Use screen's greyOut()
10668
10669 2002-06-17  Herbert Voss  <voss@lyx.org>
10670
10671         * converter.C: (convert) do not post a message, when converting
10672         fails, let the calling function decide what to do in this case
10673
10674 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * lyxfunc.C: tidy up a little
10677
10678 2002-06-16    <alstrup@diku.dk>
10679
10680         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10681         Got rid of FORMS_H_LOCATION include. Now we are
10682         GUII.
10683
10684 2002-06-15  LyX Development team  <lyx@rilke>
10685
10686         * buffer.[Ch] (sgmlOpenTag):
10687         (sgmlCloseTag): Added support for avoiding pernicious mixed
10688         content. Return number of lines written.
10689
10690         (makeLinuxDocFile):
10691         (makeDocBookFile): Fixed calls to sgml*Tag.
10692         Simple white space clean.
10693
10694         (simpleDocBookOnePar): Simple white space clean.
10695
10696         * tabular.[Ch] (docBook): Renamed to docbook and got another
10697         argument to related with the pernicious mixed content.
10698
10699         (docbookRow): Fixed calls for docbook inset method.
10700
10701 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10702
10703         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10704         so it's X11 independent.
10705
10706         * kb*.[Ch]: ditto.
10707
10708         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10709
10710 2002-06-15  Lyx Development team  <lyx@electronia>
10711
10712         * intl.h: Renamed getTrans to getTransManager.
10713
10714 2002-06-14  Angus Leeming  <leeming@lyx.org>
10715
10716         * Makefile.am: nuke forgotten stl_string_fwd.h.
10717
10718 2002-06-12  Angus Leeming  <leeming@lyx.org>
10719
10720         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10721
10722 2002-06-13  Angus Leeming  <leeming@lyx.org>
10723
10724         * LaTeX.C:
10725         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10726
10727 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10728
10729         * kbmap.C (getiso): add support for cyrillic and greek
10730
10731 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * BufferView.h:
10734         * BufferView.C:
10735         * BufferView_pimpl.h:
10736         * BufferView_pimpl.C: move bogus scrolling logic
10737           to xforms
10738
10739 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10740
10741         * lyxfunc.C:
10742         * BufferView_pimpl.C: view->resize() change
10743
10744 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10745
10746         * BufferView_pimpl.C: topCursorVisible
10747           prototype change
10748
10749 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10750
10751         * Makefile.am:
10752         * lyx_gui.h:
10753         * lyx_gui.C: move to frontends/
10754
10755         * main.C:
10756         * lyx_main.h:
10757         * lyx_main.C: changes from above
10758
10759 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * intl.C:
10762         * intl.h:
10763         * kbmap.C:
10764         * kbsequence.C:
10765         * lyx_cb.C:
10766         * lyx_main.C: minor tidy
10767
10768 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * BufferView_pimpl.h:
10771         * BufferView_pimpl.C:
10772         * BufferView.h:
10773         * BufferView.C: make painter() const,
10774           remove dead code
10775
10776         * BufferView2.C: use screen() accessor
10777
10778         * lyx_main.h:
10779         * lyx_main.C: some minor cleanup
10780
10781 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * BufferView_pimpl.h:
10784         * BufferView_pimpl.C: remove enter/leaveView,
10785           use workHeight()
10786
10787 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10788
10789         * BufferView.h:
10790         * BufferView.C:
10791         * BufferView2.C:
10792         * BufferView_pimpl.h:
10793         * BufferView_pimpl.C: only construct screen once,
10794           rename
10795
10796         * lyxrc.C: remove pointless comment
10797
10798 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * BufferView.h:
10801         * BufferView.C: remove active() and belowMouse()
10802
10803         * BufferView_pimpl.h:
10804         * BufferView_pimpl.C: use workarea() not workarea_,
10805           and make it use a scoped_ptr instead
10806
10807 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10808
10809         * lyx_gui.C: add debug message on BadWindow
10810
10811 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * sp_spell.C: fdopen is not part of the C++ standard.
10814
10815         * paragraph.C (InsetIterator): use >= instead of ==
10816
10817 2002-06-07  Angus Leeming  <leeming@lyx.org>
10818
10819         Fixes needed to compile with Compaq cxx 6.5.
10820         * BufferView_pimpl.C:
10821         * DepTable.C:
10822         * buffer.C:
10823         * converter.C:
10824         * encoding.C:
10825         * lyx_gui.C:
10826         * lyx_main.C:
10827         * lyxtextclasslist.C:
10828         * minibuffer.C:
10829         * sp_spell.C:
10830         * tabular_funcs.C:
10831         * vc-backend.C:
10832         all c-library variables have been moved into namespace std. Wrap
10833         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10834
10835         * lyxlength.C:
10836         * tabular-old.C:
10837         * tabular.C:
10838         Add a using std::abs declaration.
10839
10840         * kbmap.h (modifier_pair):
10841         * paragraph.h (InsetTable, InsetList):
10842         * lyxfont.h (FontBits):
10843         type definition made public.
10844
10845         * bufferlist.C (emergencyWriteAll): the compiler complains that
10846         there is more than one possible lyx::class_fun template to choose from.
10847         I re-named the void specialisation as lyx::void_class_fun.
10848
10849         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10850
10851         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10852         the compiler is is unable to find tostr in write_attribute.
10853
10854 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * buffer.C (sgmlError): hide #warning
10857
10858 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10859
10860         * xtl/*: get rid of xtl, which is not in use anyway
10861
10862         * LyXAction.C (init):
10863         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10864         were unimplemented xtl experimentation
10865
10866 2002-06-04  André Pönitz <poenitz@gmx.net>
10867
10868         * lyxfunc.C: disable array operation on simple formulae
10869
10870 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * converter.C: constify a bit
10873
10874 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10875
10876         * lyx_gui.C: check xforms version correctly
10877
10878 2002-04-30  Herbert Voss  <voss@lyx.org>
10879
10880         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10881         "keep" option
10882
10883 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10884
10885         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10886           attempt to register it with a VCS)
10887
10888 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * lyx_main.C (init): honor variables LYX_DIR_13x and
10891         LYX_USERDIR_13x
10892
10893 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * buffer.h:
10896         * buffer.C:
10897         * lyx_main.C: fix a crash on bad command line,
10898           and give a useful exit status on error
10899
10900         * lyxfunc.C (doImport): allow -i lyx to work
10901
10902 2002-03-30  André Pönitz <poenitz@gmx.net>
10903
10904         * lyxfunc.C: mathed font changes
10905
10906 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10907
10908         * LaTeX.C:
10909         * importer.h:
10910         * importer.C:
10911         * lyx_sty.h:
10912         * lyx_sty.C:
10913         * lyxlex.C:
10914         * lyxrow.h:
10915         * lyxtext.h:
10916         * paragraph.h:
10917         * paragraph.C:
10918         * texrow.h:
10919         * texrow.C:
10920         * text.C:
10921         * trans_mgr.h: srcdocs, and some minor cleanups
10922
10923 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10926         call getFont all the time)
10927
10928 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10929
10930         * switch from SigC signals to boost::signals
10931
10932 2002-05-29  André Pönitz <poenitz@gmx.net>
10933
10934         * paragraph_pimpl.C (getChar): don't call size() too often...
10935
10936 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10937
10938         * paragraph_pimpl.C (insertChar): do not try to update tables when
10939         appending (pos == size())
10940
10941         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10942         in order to reduce drastically the number of comparisons needed to
10943         parse a large document
10944
10945 2002-05-29  André Pönitz <poenitz@gmx.net>
10946
10947         * text.C:
10948         * text2.C:
10949         * lyxtextclass.C:
10950         * sp_pspell.h:
10951         * textclasslist.[Ch]:
10952         * sp_ispell.h: whitespace change
10953
10954 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10955
10956         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10957         lyxaction directly now.
10958
10959 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10960
10961         * trans.C:
10962         * lyxfont.C:
10963         * lyxvc.C: remove unused headers
10964
10965 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * Makefile.am:
10968         * buffer.h:
10969         * undostack.h:
10970         * undostack.C:
10971         * undo_funcs.h:
10972         * undo_funcs.C: some cleanups. Use shared_ptr
10973           and a template for the undo stacks.
10974
10975 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * BufferView_pimpl.h:
10978         * BufferView_pimpl.C:
10979         * kbmap.h:
10980         * kbmap.C:
10981         * kbsequence.h:
10982         * kbsequence.C:
10983         * lyxfunc.h:
10984         * lyxfunc.C:
10985         * text2.C: use key_state/mouse_state
10986
10987 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10988
10989         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10990         and LSubstring
10991
10992         * chset.C: change include order
10993         (loadFile): use boost regex and get rid of LRegex and LSubstring
10994
10995         * Makefile.am (BOOST_LIBS): new variable
10996         (lyx_LDADD): use it
10997
10998         * LaTeX.C: change include order.
10999         (scanAuxFile): use boost regex and get rid of LRegex and
11000         LSubstring
11001         (deplog): ditto
11002
11003 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * ColorHandler.h:
11006         * ColorHandler.C:
11007         * FontInfo.h:
11008         * FontInfo.C: moved to frontends/xforms/
11009
11010         * FontLoader.h:
11011         * FontLoader.C: moved into frontends for GUIIzation
11012
11013         * Makefile.am:
11014         * lyx_gui.C:
11015         * lyxfont.C:
11016         * lyxfunc.C: changes from above
11017
11018 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * LColor.C: remove spurious X include
11021
11022         * BufferView_pimpl.C:
11023         * Makefile.am:
11024         * font.h:
11025         * font.C:
11026         * text.C:
11027         * text2.C: move font metrics to frontends/
11028
11029 2002-05-24  Juergen Vigna  <jug@sad.it>
11030
11031         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11032         setting the undo_cursor.
11033
11034         * ParagraphParameters.h: include local includes first.
11035
11036 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11037
11038         * BufferView_pimpl.C:
11039         * BufferView_pimpl.h:
11040         * Makefile.am:
11041         * WorkArea.h:
11042         * WorkArea.C:
11043         * screen.C: move WorkArea into frontends/
11044
11045         * lyxscreen.h:
11046         * screen.C:
11047         * text.C:
11048         * BufferView.C:
11049         * BufferView2.C: move LyXScreen into frontends/
11050
11051         * lyxlookup.h:
11052         * lyxlookup.C:
11053         * lyx_gui.C: move lyxlookup into frontends/xforms/
11054
11055 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11056
11057         * BufferView2.C:
11058         * BufferView_pimpl.C:
11059         * FontLoader.C:
11060         * LyXView.h:
11061         * LyXView.C:
11062         * Makefile.am:
11063         * WorkArea.C:
11064         * XFormsView.h:
11065         * XFormsView.C:
11066         * buffer.C:
11067         * bufferlist.C:
11068         * bufferview_funcs.C:
11069         * converter.C:
11070         * importer.C:
11071         * lyx_cb.C:
11072         * lyx_gui.C:
11073         * lyx_main.C:
11074         * lyx_find.C:
11075         * lyxfunc.C:
11076         * lyxvc.C:
11077         * minibuffer.C:
11078         * text.C:
11079         * text2.C:
11080         * trans.C:
11081         * vc-backend.C: move LyX/XFormsView into frontends/
11082
11083 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11084
11085         * Makefile.am:
11086         * PainterBase.C:
11087         * PainterBase.h:
11088         * Painter.C:
11089         * Painter.h:
11090         * WorkArea.C:
11091         * WorkArea.h:
11092         * screen.C:
11093         * tabular.C:
11094         * text.C:
11095         * text2.C: move Painter to frontends/
11096
11097 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11098
11099         * buffer.C: comment out some some code that depend upon lyx_format
11100         < 220
11101
11102         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11103         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11104
11105         * buffer.h (NO_COMPABILITY): turn off compability
11106
11107         * ColorHandler.C: include scoped_array.hpp
11108
11109         * font.C: Use more specific smart_ptr header.
11110         * Painter.C: ditto
11111         * gettext.C: ditto
11112         * ShareContainer.h: ditto
11113         * lyx_main.h: ditto
11114         * kbmap.h: ditto
11115         * FontInfo.h: ditto
11116         * BufferView_pimpl.h: ditto
11117         * ColorHandler.h: ditto
11118
11119         * kbmap.C (defkey): change call to shared_ptr::reset
11120
11121 2002-05-21  Juergen Vigna  <jug@sad.it>
11122
11123         * buffer.C (insertErtContents): fix to insert ert asis if it is
11124         non empty. Skip it completely if it contains only whitespaces.
11125
11126 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11127
11128         * BufferView_pimpl.C:
11129         * BufferView2.C: clear selection on paste (bug 393)
11130
11131 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11132
11133         * DepTable.C: include ctime
11134
11135 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11136
11137         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11138
11139 2002-05-14  Juergen Vigna  <jug@sad.it>
11140
11141         * text.C (breakParagraph): fixed function to honor the keepempty
11142         layout in the right maner and also to permit the right breaking
11143         algorithm on empty or non empyt keepempty paragraphs.
11144
11145         * paragraph.C (breakParagraph): we have to check also if the par
11146         is really empty (!size()) for isempty otherwise we do the wrong
11147         paragraph break.
11148
11149 2002-05-10  Juergen Vigna  <jug@sad.it>
11150
11151         * buffer.[Ch] : The following are only changes to the ert
11152         compatibility read reading old LaTeX layout and font stuff and
11153         convert it to ERTInsets.
11154
11155         * buffer.h: added isErtInset().
11156
11157         * buffer.C (struct ErtComp): add a fromlayout bool to check
11158         if we're inside a LaTeX layout.
11159         (isErtInset): new helper function.
11160         (insertErtContents): look for other ert insets before this one
11161         and insert the contents there, so that we don't have subsequent
11162         ERT insets with nothing between them. This way we create only one
11163         inset with multiple paragraphs. Also check if we don't insert only
11164         spaces ' ' as they are ignored anyway afterwards in the .tex file
11165         so if we have only spaces we will ignore this latex part in the
11166         new file.
11167         (parseSingleLyXformat2Token \\layout): better compatibility when
11168         reading layout-latex stuff.
11169         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11170         language tag.
11171         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11172         stuff after reading the inset only get the information back from
11173         the stack.
11174
11175 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11176
11177         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11178
11179         * LaTeXFeatures.C (getBabelOptions): New method.
11180
11181 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11182
11183         * BufferView_pimpl.C (Dispatch): work around missing argument for
11184         'layout'
11185
11186 2002-05-08  Juergen Vigna  <jug@sad.it>
11187
11188         * text.C (leftMargin): handle paragraph leftindent.
11189
11190         * paragraph.C (writeFile): write the new \\leftindent tag.
11191         (validate): handle leftindent code.
11192         (TeXEnvironment): handle paragraphleftindent code again.
11193
11194         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11195
11196         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11197         for paragrap_extra indent code and new token \\leftindent.
11198         (latexParagraphs): handle the leftindent as environment.
11199
11200         * ParameterStruct.h: added leftindent support.
11201
11202         * ParagraphParameters.C (leftIndent): added support functions for
11203         the paragraph left indent.
11204
11205         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11206         more appropriate.
11207
11208 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11209
11210         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11211         inside insetERT.
11212
11213         * text.C (computeBidiTables): No bidi in insetERT.
11214
11215         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11216         in RTL documents.
11217
11218 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * version.C.in: pre 5
11221
11222 2002-05-02  José Matos  <jamatos@fep.up.pt>
11223         * buffer.C (makeDocBookFile): white space changes, add newline to
11224         command styles.
11225         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11226
11227         * tabular.C (docBook): fix typo.
11228
11229 2002-05-03  Juergen Vigna  <jug@sad.it>
11230
11231         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11232         change in LyXText as we can not be sure it was not freed.
11233         (drawOneRow): remove unused code.
11234
11235         * text.C (drawInset): redo the calculation of the need_break_row as
11236         it could have a row which was already freed.
11237         (draw): look at the return value of drawInset and return false if
11238         it also returned false.
11239         (paintRowText): look at the return value of draw and return false if
11240         it also returned false.
11241
11242         * lyxtext.h: added bool return type to drawInset() and draw() so that
11243         if we have a change in the row so that the rowbreak has to be redone
11244         we abort drawing as it will be called again.
11245
11246 2002-05-02  Juergen Vigna  <jug@sad.it>
11247
11248         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11249         a change in the maintext also if we're inside an inset.
11250         (Dispatch): set the cursor again after a break line and after the
11251         screen has been updated as it could be we're in a different row.
11252
11253         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11254         to set the cursor behind the pargraph with > size().
11255         (setCursor): check also for the same paragraph when checking where
11256         to put the cursor if we have a NFR inset.
11257
11258         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11259         parts of layout read further up as it still was in the wrong
11260         position.
11261
11262 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * screen.C (drawFromTo): change sine fullRebreak always return
11265         true.
11266
11267         * buffer.C (parseSingleLyXformat2Token): reindent some
11268
11269         * BufferView_pimpl.C (update): change since fullRebreak always
11270         return true.
11271         (Dispatch): git rid of the last hardcoded "Standard"s.
11272
11273 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11274
11275         * text2.[Ch] (fullRebreak): make it return void now that we always
11276         returned true.
11277
11278 2002-04-30  Juergen Vigna  <jug@sad.it>
11279
11280         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11281         ert compatibility check for "latex" layout.
11282
11283 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11284
11285         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11286         minipages: use col% instead of p%, and also use the current font.
11287         (makeLaTeXFile): Fix use babel condition.
11288         (parseSingleLyXformat2Token): Correct font when reading old floats.
11289
11290 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11291
11292         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11293         inserting list of floats.
11294
11295 2002-04-25  Herbert Voss  <voss@lyx.org>
11296
11297         * MenuBackend.C (expand): don't add the graphics extensions to the
11298         export menu
11299
11300 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11303         non-existing layout, do not complain if it was the default layout
11304         of the original class (bug #342)
11305
11306 2002-04-24  Juergen Vigna  <jug@sad.it>
11307
11308         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11309         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11310
11311 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11312
11313         * buffer.C (getBibkeyList): If using \bibliography, return the
11314         option field with the reference itself. Enables us to provide natbib
11315         support when using \bibliography.
11316
11317 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11318
11319         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11320
11321         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11322         natbib is provided by the LaTeX class.
11323
11324 2002-04-23  Juergen Vigna  <jug@sad.it>
11325
11326         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11327         Wakeup functions.
11328
11329         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11330
11331 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11334
11335         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11336         ensuremath around textordmasculine, textordfeminine and
11337         textdegree.
11338
11339 2002-04-19  Juergen Vigna  <jug@sad.it>
11340
11341         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11342         reinitializing the buffer otherwise row-dimensions may be wrong.
11343         (update): reset also the selection cursors if they do exits otherwise
11344         their x/y positions may be wrong.
11345
11346         * text2.C (cursorDown): don't enter the inset if we came from a row
11347         above and are one row over the inset.
11348
11349         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11350         really leaving an inset.
11351
11352 2002-04-18  Juergen Vigna  <jug@sad.it>
11353
11354         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11355         of the selected paragraph does not have the selected layout also if
11356         the last one had!
11357
11358         * text2.C (setLayout): fixed bug which did not change last selected
11359         paragraph.
11360
11361         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11362         changed the read and substituted \\end_float with \\end_inset!
11363
11364         * BufferView_pimpl.C (cursorPrevious):
11365         (cursorNext): fixed to make it work with rows heigher than the work
11366         area without moving the cursor only the draw of the row.
11367         (workAreaMotionNotify): fix jumping over high rows.
11368
11369 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11372         Ressler.
11373
11374 2002-04-16  Juergen Vigna  <jug@sad.it>
11375
11376         * text2.C (setCursor): set also the irow().
11377         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11378         (cursorUp):
11379         (cursorDown): support for locking an inset if the x_fix value goes
11380         inside it. That way I can transverse insets too with cursor up/down.
11381
11382         * lyxrow.h: added irow helper function same as other (i) functions.
11383
11384         * BufferView_pimpl.C (cursorPrevious):
11385         (cursorNext): fixed for insets!
11386
11387 2002-04-15  Juergen Vigna  <jug@sad.it>
11388
11389         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11390         position otherwise it is wrong in some cases.
11391
11392         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11393         inside the inset before the call.
11394
11395 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11396
11397         * buffer.[Ch] (getBibkeyList): make it const.
11398
11399 2002-04-12  Juergen Vigna  <jug@sad.it>
11400
11401         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11402
11403         * text2.C (getCursorX): new helper function
11404         (setCursor): compute also ix_
11405         (setCursorFromCoordinates): set also ix.
11406
11407         * lyxcursor.h: added ix_ and helper functions.
11408
11409         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11410
11411         * buffer.C (insertStringAsLines): dont break paragraph if the this
11412         paragraph is inside an inset which does not permit it!
11413
11414         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11415         also with no chars on this paragraph.
11416         (paintRowText): only paint stuff if it's inside the workarea!
11417
11418         * paragraph.C (breakParagraph): honor keepempty flag and break the
11419         paragraph always below not above.
11420
11421         * BufferView2.C (unlockInset): update the paragraph layout on inset
11422         unlock as we changed paragraph in such a case.
11423
11424         * lyxfind.C (LyXFind): clear the former selection if not found!
11425
11426         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11427         again called in insertChar().
11428
11429         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11430         an inset which uses the whole row!
11431         (rightMargin): ditto.
11432         (insertChar): force a rebreak if we inserted an inset!
11433
11434 2002-03-28  Herbert Voss  <voss@lyx.org>
11435
11436         * lyxlength.[Ch]: add inBP() to get the right PS-point
11437         units (BigPoint). With inPixels we have rounding errors
11438
11439 2002-04-11  Juergen Vigna  <jug@sad.it>
11440
11441         * text2.C (setCursorFromCoordinates): set iy to the right value.
11442         (setCursor): add check if row->previous exists!
11443
11444         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11445         an old float_type as this was the case in the old code!
11446
11447         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11448
11449         * BufferView2.C (showLockedInsetCursor): use iy
11450         (fitLockedInsetCursor): ditto
11451
11452         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11453         locked insets as there we have the right value now.
11454
11455         * lyxcursor.C: added iy_ variable and iy functions to set to the
11456         baseline of cursor-y of the locked inset.
11457
11458         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11459         (setCursor): fixed for insets which need a full row.
11460
11461         * text.C (rowLastPrintable): don't ignore the last space when before
11462         an inset which needs a full row.
11463         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11464         as last character of a row when before a inset which needs a full row.
11465
11466 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * version.C.in: update date
11469
11470         * text2.C (fullRebreak): try to always return true and see what
11471         happens...
11472
11473 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11474
11475         * MenuBackend.C (expand): use Floating::listName
11476
11477         * FloatList.C (FloatList): add listName argument to the built-in
11478         floats
11479
11480         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11481         text associated with the float.
11482
11483 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11484
11485         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11486
11487 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11488
11489         * ShareContainer.h: add a couple of missing typenames.
11490
11491 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11492
11493         * lyxrc.C (getDescription): use _() correctly rather than N_().
11494
11495 2002-03-28  Herbert Voss  <voss@lyx.org>
11496
11497         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11498         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11499
11500 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11501
11502         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11503         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11504
11505 2002-03-29  Juergen Vigna  <jug@sad.it>
11506
11507         * lyxfunc.C (dispatch): add a missing fitCursor call.
11508
11509         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11510         it was scrolled by a cursor move, so return the bool status.
11511
11512         * BufferView.C (fitCursor): return the bool flag also to the outside
11513         world as this is needed.
11514
11515         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11516
11517         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11518         call the edit() as it is not needed (and wrong) IMO.
11519         (workAreaButtonPress): set the screen_first variable before evt.
11520         unlock the inset as this may change screen_first and then we have
11521         a wrong y position for the click!
11522
11523 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * MenuBackend.C (expand): another translation that I missed
11526
11527 2002-03-28  Juergen Vigna  <jug@sad.it>
11528
11529         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11530
11531         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11532
11533 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11536
11537         * MenuBackend.C (expand): fix export/view/update when there is no
11538         document open.
11539
11540 2002-03-27  Herbert Voss  <voss@lyx.org>
11541
11542         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11543         and text%
11544
11545 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11546
11547         * bufferview_funcs.C (currentState): only show paragraph number
11548         for is DEVEL_VERSION is set.
11549
11550         * lyxfunc.C (dispatch): put warning in INFO channel
11551
11552         * MenuBackend.C (expand): translate the name of floats
11553
11554         * FloatList.C (FloatList): mark the float names for translation
11555
11556         * converter.C (convert): use LibScriptSearch
11557
11558 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11559
11560         * MenuBackend.C (defaults): fix default menu (we might as well get
11561         rid of it...)
11562
11563 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11566         directory.
11567
11568 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11569
11570         * lyxvc.C: reorder includes.
11571
11572 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11575           properly
11576
11577 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * CutAndPaste.C: change layouts earlier on paste
11580           to avoid crashing when calling getFont()
11581
11582 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11583
11584         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11585         irritating #error.
11586
11587 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11588
11589         * WorkArea.C: remove 'Pending' debug message.
11590
11591         * most files: ws cleanup
11592
11593         * buffer.[Ch]: ws changes
11594
11595         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11596
11597 2002-03-21  Juergen Vigna  <jug@sad.it>
11598
11599         * tabular.C (SetMultiColumn): collapse also the contents of the
11600         cells and set the last border right. Added a Buffer const * param.
11601
11602 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11605         linking or not.
11606
11607 2002-03-19  Juergen Vigna  <jug@sad.it>
11608
11609         * text2.C (clearSelection): reset also xsel_cache.
11610
11611         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11612         where it needs to be called (John tells us to do so too :)
11613         (selectionLost): reset sel_cache.
11614
11615         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11616
11617 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11618
11619         * text2.C (setCursorIntern): put debuging code in INSETS channel
11620
11621 2002-03-19  André Pönitz <poenitz@gmx.net>
11622
11623         * lyxfunc.C: tiny whitespace change
11624
11625 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11626
11627         * ToolbarDefaults.C (init):
11628         * LyXAction.C (init):
11629         * commandtags.h:
11630         * BufferView_pimpl.C (Dispatch):
11631         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11632
11633 2002-03-19  Allan Rae  <rae@lyx.org>
11634
11635         * exporter.C (Export): removeAutoInsets before doing anything else.
11636         While I've just introduced a dependency on BufferView this really is
11637         the best place to clean the buffer otherwise you need to cleanup in
11638         a dozen places before calling export or cleanup in a dozen functions
11639         that export calls.
11640
11641         * converter.C (runLaTeX):
11642         (scanLog): Better handling of removeAutoInsets and screen updates.
11643
11644         * lyxfunc.C (dispatch): small whitespace changes
11645
11646 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11647
11648         * WorkArea.C (C_WorkAreaEvent): return a value.
11649         (event_cb): return 1 if we handled the event, 0 otherwise.
11650
11651         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11652
11653 2002-03-18  Juergen Vigna  <jug@sad.it>
11654
11655         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11656         (GetAdditionalWidth): ditto.
11657         (RightLine): ditto.
11658         (LeftLine): ditto.
11659
11660         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11661         inset if we're there actually (probably not used right now but this
11662         is the direction to go for unifying code).
11663         (paste): disable code to clear the selection.
11664
11665         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11666         inside an InsetText and move the check further up as it is in the
11667         wrong place.
11668
11669         * text2.C (pasteSelection): set a selection over the pasted text.
11670
11671 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11672
11673         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11674         and libgraphics to build on Cygwin.
11675
11676 2002-03-15  Juergen Vigna  <jug@sad.it>
11677
11678         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11679         inserting an Inset into the paragraph. I know this is not the best
11680         fix but we already use current_view in CutAndPaste so we will remove
11681         all of it's using at the same time.
11682
11683         * buffer.C (sgmlError): deactivated function till it is rewritten in
11684         the right mode, now it can create problems.
11685
11686         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11687         before accessing it.
11688
11689 2002-03-14  Juergen Vigna  <jug@sad.it>
11690
11691         * undo_funcs.C (textHandleUndo): do the right thing when updating
11692         the inset after the undo/redo.
11693
11694         * text2.C (setCursor): just some testcode for #44 not ready yet.
11695
11696         * undo_funcs.C (textHandleUndo): set the next() and previous()
11697         pointers of the paragraph to 0 before deleting otherwise we have
11698         problems with the Paragraph::[destructor].
11699
11700         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11701         on a paragraph insertion.
11702
11703 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11704
11705         * buffer.C (asciiParagraph): use += operator for char append to
11706         string.
11707
11708         * paragraph.C (getFontSettings): compare >= not just >
11709         (highestFontInRange): ditto
11710         (setFont): ditto
11711
11712 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * paragraph.C: change several algorithm to be more appripriate for
11715         the problem domain. This is lookip in FontList and in the InsetList.
11716
11717 2002-03-13  André Pönitz <poenitz@gmx.net>
11718
11719         * commandtags.h:
11720         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11721
11722 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * commandtags.h:
11725         * LyXAction.C:
11726         * lyxfunc.C:
11727         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11728
11729 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * Painter.C (display): anon helper function, adjust code for this
11732         change.
11733         (pixmap): remove function.
11734
11735         * Painter.h: remove private display variable.
11736
11737         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11738
11739 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11740
11741         * WorkArea.[Ch]: remove figinset_canvas cruft.
11742
11743 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * lyxtextclass.C (operator): add one item cache optimization.
11746
11747         * bufferlist.h: doxy changes
11748
11749         * bufferlist.C: ws changes
11750
11751         * DepTable.[Ch] (ext_exist): place const in the right spot.
11752
11753         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11754         call resizeInsets.
11755         (workAreaExpose): call resizeInsets when the with BufferView changes.
11756         (Dispatch): adjust for protectedBlank removal
11757         (specialChar): call updateInset if the insert went ok.
11758
11759         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11760         specialChar instead.
11761
11762         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11763
11764         * BufferView.h: doxy change
11765
11766         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11767
11768         * lyxtextclass.C (operator[]): remove non-const version
11769         (defaultLayout): remove non-const version
11770
11771 2002-03-12  Juergen Vigna  <jug@sad.it>
11772
11773         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11774         did resize the LyXText too.
11775
11776         * buffer.C (readLyXformat2): set layout information on newly allocated
11777         paragraphs.
11778
11779         * tabular.C (OldFormatRead): set layout information on the paragraph.
11780
11781 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11782
11783         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11784
11785 2002-03-11  Juergen Vigna  <jug@sad.it>
11786
11787         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11788         plainly wrong.
11789         (resizeCurrentBuffer): force also the insets to resize themselfes.
11790         (moveCursorUpdate): fixed up for InsetText.
11791
11792 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11793
11794         * commandtags.h:
11795         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11796         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11797         value of Dialogs::tooltipsEnabled().
11798         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11799
11800 2002-03-08  Juergen Vigna  <jug@sad.it>
11801
11802         * BufferView_pimpl.C (updateInset): update inset inside inset also
11803         if it isn't inside theLockingInset().
11804
11805 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * buffer.C (asciiParagraph): redo some of the word and line length
11808         handling.
11809         (getLists): look for Caption instead of caption.
11810
11811 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * buffer.C (Buffer): initialize niceFile to true
11814         (makeLaTeXFile):
11815         (makeLinuxDocFile):
11816         (makeDocBookFile): make sure niceFile is true on exit
11817
11818 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11821
11822 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11823
11824         * LyXSendto.C: remove.
11825         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11826         * lyx_gui.C: remove now-redundant comment.
11827         * ColorHandler.h: remove forward declaration of class WorkArea.
11828         * lyxfunc.C: remove #include "WorkArea.h".
11829
11830 2002-03-07  Juergen Vigna  <jug@sad.it>
11831
11832         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11833         got moved away with the DEPM and also set the inset_owner always
11834         right which before could have been omitted.
11835
11836 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11839         wanted layout is not found.
11840
11841 2002-03-07  Juergen Vigna  <jug@sad.it>
11842
11843         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11844
11845 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * paragraph.C (breakParagraph): use default layout not layout of
11848         prev paragraph.
11849         (Paragraph): clear ParagraphParameters.
11850
11851 2002-03-06  Juergen Vigna  <jug@sad.it>
11852
11853         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11854         otherwise it would not be a valid lenght. Fixed a special case in
11855         the minipage compatibility read where we end the document with a
11856         minipage.
11857
11858         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11859         was set as it could be 0 for InsetTexts first entry.
11860
11861 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * paragraph.C (writeFile): if layout is empty write out
11864         defaultLayoutName().
11865
11866         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11867         file without named layout we set layout to defaultLayoutName().
11868
11869 2002-03-06  Juergen Vigna  <jug@sad.it>
11870
11871         * CutAndPaste.C (copySelection): set layout for new paragraph.
11872
11873         * text.C (prepareToPrint): leave ERT inset left aligned
11874         (leftMargin): don't indent paragraphs inside ERT insets
11875
11876 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * paragraph.C (breakParagraph): dont call clear do the work manually
11879
11880         * paragraph.[Ch] (clear): remove function
11881
11882 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11883
11884         * paragraph.C (Paragraph): dont call clear, the work has already
11885         been done.
11886
11887         * lyxtextclass.C (operator): assert if n is empty
11888
11889         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11890         work manually instead.
11891
11892 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11893
11894         * BufferView_pimpl.C: protect selectionLost against text == 0
11895
11896 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * text.C (breakParagraph): fix a setting layout to '0' problem.
11899
11900 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11901
11902         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11903         final location of file, for the included files, and graphics.
11904
11905 2002-03-05  Juergen Vigna  <jug@sad.it>
11906
11907         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11908
11909 2002-03-04  Juergen Vigna  <jug@sad.it>
11910
11911         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11912
11913         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11914         last column of multicolumn cells.
11915         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11916
11917 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11918
11919         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11920         file if it doesn't go to a temporary file.
11921
11922         * buffer.C (sgmlOpenTag):
11923         (sgmlCloseTag):  remove extra newline insertion.
11924
11925 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * text.C (getRowNearY): comment out debug msg
11928
11929 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * text2.C: first -> first_y
11932
11933         * text.C (getRowNearY): add some attemts at a possible
11934         optimization, not working.
11935
11936         * tabular.[Ch]: add BufferParams to several function so that newly
11937         created paragraph can be initialized to he default layotu for the
11938         buffers textclass.
11939
11940         * tabular-old.C (ReadOld): add buf->params to call of Init
11941
11942         * screen.C: rename text->first to text->first_y
11943
11944         * paragraph.C (breakParagraph): always set layout in the broken
11945         paragraph
11946
11947         * lyxtextclass.C (Read): remove lowercase
11948         (hasLayout): ditto
11949         (operator): ditto
11950         (delete_layout): ditto
11951
11952         * lyxtext.h: rename first -> first_y
11953
11954         * lyxlayout.C (Read): remove lowercase
11955         (name): ditto
11956         (setName): ditto
11957         (obsoleted_by): ditto
11958
11959         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11960
11961         * buffer.C (insertErtContents): add params are to InsetERT
11962         (parseSingleLyXformat2Token): add code to check if a paragraphs
11963         layout really exist.
11964         (parseSingleLyXformat2Token): add params to several inset
11965         constructors
11966         (asciiParagraph): remove lowercase, do the layout comparisons with
11967         no_case
11968
11969         * BufferView_pimpl.C (cursorNext): first -> first_y
11970         (resizeCurrentBuffer): first -> first_y
11971         (updateScrollbar): first -> first_y
11972         (scrollCB): first -> first_y
11973         (workAreaMotionNotify): first -> first_y
11974         (workAreaButtonPress): first -> first_y
11975         (checkInsetHit): first -> first_y
11976         (cursorPrevious): first -> first_y
11977         (cursorNext): first -> first_y
11978         (Dispatch): add buffer_->params to severl inset contructors
11979
11980 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11981
11982         * lyxlayout.C (Read): remove some debug info that I forgot.
11983
11984         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11985         clean up the code slightly.
11986         (makeLinuxDocFile): ditto
11987         (makeDocBookFile): ditto
11988
11989         * text2.C: layout as string
11990
11991         * text.C: layout as string
11992
11993         * paragraph_pimpl.C: layout as string
11994
11995         * paragraph.[Ch]: layout as string
11996
11997         * lyxtextclasslist.[Ch]: layout as string
11998
11999         * lyxtextclass.[Ch]: layout as string
12000
12001         * lyxtext.h: layout as string
12002
12003         * lyxlayout.[Ch]: layout as string
12004
12005         * lyx_cb.C: layout as string
12006
12007         * bufferview_funcs.C: layout as string
12008
12009         * bufferparams.C: layout as string
12010
12011         * buffer.C: layout as string
12012
12013         * LyXView.[Ch]: layout as string
12014
12015         * LaTeXFeatures.[Ch]: layout as string
12016
12017         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12018
12019         * BufferView_pimpl.C: change current_layout to string, remove
12020         lyx::layout_type.
12021         (Dispatch):
12022         (smartQuote):
12023         (insertInset):
12024         (workAreaButtonRelease): layout as string
12025
12026         * BufferView2.C (unlockInset): adjust
12027
12028         * vspace.C (asLatexCommand): use an explict temp variable.
12029
12030 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * Makefile.am: use FRONTEND_*
12033
12034 2002-03-01  Juergen Vigna  <jug@sad.it>
12035
12036         * tabular.C (SetWidthOfMulticolCell): changed to something better
12037         I hope but still work in progress.
12038         (recalculateMulticolumnsOfColumn): renamed function from
12039         recalculateMulticolCells as it is more appropriate now.
12040         (SetWidthOfCell): calculate multicols better.
12041
12042 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12045
12046         * lyxfunc.C (processKeySym): print sequence also if it is
12047         `deleted' (complete)
12048
12049         * kbsequence.C (print): print sequence even if it is deleted
12050         (complete would be a better word, actually).
12051
12052         * lyxfunc.C (dispatch): print complete options after a prefix key
12053
12054         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12055
12056 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12057
12058         * text2.C (setCharFont): eliminate setCharFont code duplication.
12059
12060 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12061
12062         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12063         LFUN_TABULAR_FEATURE (bug #177)
12064
12065 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12066
12067         * Makefile.am: remove figure.h
12068
12069 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12070
12071         * Bufferview_pimpl.C:
12072         * CutAndPasteC:
12073         * LaTeX.C:
12074         * LyXSendto.C:
12075         * buffer.C:
12076         * bufferlist.C:
12077         * converter.C:
12078         * language.C:
12079         * lyxfunc.C:
12080         * lyxvc.C:
12081         * paragraph.C:
12082         * text.C:
12083         * text2.C: remove #include "lyx_gui_misc.h".
12084
12085         * LaTeX.C: added #include <cstdio>
12086
12087 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12088
12089         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12090         that the paragraph following this one can have.
12091
12092         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12093
12094         * vspace.C (asLatexCommand): fix bogus gcc warning
12095
12096         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12097
12098 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12099
12100         * text2.C (setLayout): get rid of redundant code
12101
12102 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12103
12104         * text2.C (incDepth): make sure depth cannot be increased beyond
12105         reasonable values.
12106
12107 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12110         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12111
12112         * PainterBase.h (image):
12113         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12114         a LyXImage const *.
12115
12116 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * BufferView.C:
12119         * BufferView.h:
12120         * BufferView_pimpl.C:
12121         * BufferView_pimpl.h:
12122         * LaTeXFeatures.C:
12123         * LyXAction.C:
12124         * LyXView.C:
12125         * Makefile.am:
12126         * UpdateList.h:
12127         * UpdateList.C:
12128         * buffer.C:
12129         * figure.h:
12130         * figureForm.C:
12131         * figureForm.h:
12132         * figure_form.C:
12133         * figure_form.h:
12134         * lyx_cb.C:
12135         * lyx_gui.C:
12136         * lyx_gui_misc.C:
12137         * lyxfunc.C:
12138         * sp_base.h:
12139         * sp_ispell.h:
12140         * sp_pspell.h:
12141         * sp_spell.C: remove fig inset, and the crap house of
12142           cards that follows it
12143
12144 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12145
12146         * Makefile.am:
12147         * lyxserver.C:
12148         * os2_defines.h:
12149         * os2_errortable.h:
12150         * nt_defines.h: move .h into support/
12151
12152         * vms_defines.h: remove
12153
12154         * WorkArea.C: add space in debug output
12155
12156         * text2.C:
12157         * paragraph.C:
12158         * buffer.C: add WITH_WARNINGS
12159
12160         * vc-backend.h:
12161         * vc-backend.C:
12162         * bufferlist.C: s/retrive/retrieve/, add docs
12163
12164         * vspace.h:
12165         * vspace.C:
12166         * kbmap.h:
12167         * lyxlength.h:
12168         * lyxgluelength.h:
12169         * length_common.h:
12170         * chset.h:
12171         * chset.C: add docs
12172
12173         * lyxgui.C: add ID to X error handler
12174
12175         * lyxtestclass.c: fix typo
12176
12177 2002-02-26  Juergen Vigna  <jug@sad.it>
12178
12179         * tabular_funcs.C (write_attribute): changed so that some default
12180         attributes are not written at all.
12181         (getTokenValue): set default values before trying to read the
12182         value so we have the return value always set as default if we don't
12183         find the token we search for.
12184
12185         * tabular.C (Write): write bools as bools not as strings!
12186
12187 2002-02-22  Juergen Vigna  <jug@sad.it>
12188
12189         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12190         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12191
12192         * text.C (leftMargin): don't add an indent for paragraphs inside
12193         tabular cells (fix #208).
12194
12195 2002-02-21  José Matos  <jamatos@fep.up.pt>
12196
12197         * tabular.C (docBook): fixed support for long tables.
12198
12199 2002-02-20  Juergen Vigna  <jug@sad.it>
12200
12201         * text2.C (getFont): get the drawing font of the Inset if this
12202         paragraph is inside an inset (only important for InsetERT for now).
12203
12204         * buffer.C (insertErtContents): use new lanugage params in ERT
12205         constructor.
12206
12207         * CutAndPaste.C: commenting out seemingly uneeded code.
12208
12209 2002-02-19  Allan Rae  <rae@lyx.org>
12210
12211         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12212         Iterators might be simple to use but they also get invalidated.
12213         (removeAutoInsets): renamed saved cursor tracking variables and added
12214         some comments to clarify what everything does.
12215
12216 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * Chktex.C:
12219         * LaTeX.C:
12220         * LyXSendto.C:
12221         * converter.C:
12222         * lyx_cb.C:
12223         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12224         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12225
12226         * lyxfunc.C:
12227         * vc-backend.h: remove #include "support/syscall.h"
12228
12229         * LaTeX.C:
12230         * LyXSendto.C:
12231         * converter.C: rearrange #includes in Lars' approved fashion.
12232
12233         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12234         forward declare class Timeout in the header file.
12235
12236         * XFormsView.C: changes due to the above.
12237
12238         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12239         similar to LyXView.
12240
12241         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12242         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12243
12244 2002-02-18  José Matos  <jamatos@fep.up.pt>
12245
12246         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12247         insets contents.
12248
12249 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12250
12251         * a lot of small ws changes
12252         * add a lot of using std::XXX
12253         * use std construcs some places where approp.
12254         * use some exisint stuff from lyxfunctional where approp.
12255         * Make file changes to use partial linking (lets test this now...)
12256
12257 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12258
12259         * Chktex.C:
12260         * buffer.C:
12261         remove #include "support/syscontr.h" as it's redundant. Always has been.
12262
12263         * Chktex.C:
12264         * LaTeX.C:
12265         * LyXSendto.C:
12266         * converter.C:
12267         * lyx_cb.C:
12268         * vc-backend.C:
12269         change Systemcalls::System to Systemcalls::Wait and
12270         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12271         No change of functionality, just reflects the stripped down Systemcalls
12272         class.
12273
12274 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12275
12276         * debug.[Ch]: add a GRAPHICS type to the enum.
12277
12278 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12281
12282         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12283         there is an inset.
12284
12285 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12286
12287         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12288         match the changes below.
12289
12290         * text2.C (toggleInset): if there is not editable inset at cursor
12291         position, try to see if cursor is _inside_ a collapsable inset
12292         and close it.
12293
12294 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12295
12296         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12297         document menu has a nice checkbox
12298
12299 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12300
12301         * lyxlength.C (asLatexString): change PW to output as percent of
12302         \textwidth.
12303
12304         * lengthcommon.C: change '%' to 't%'
12305
12306         * lyxfunc.C (dispatch): a few comments from Martin
12307
12308 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12309
12310         * WorkArea.h:
12311         * WorkArea.C:
12312         * BufferView_pimpl.h:
12313         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12314           the X selection.
12315
12316 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12317
12318         * vspace.C (inPixels): fix compiler warning
12319
12320 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12321
12322         * lyxfunc.C (getStatus): fix status message for disabled commands.
12323
12324 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12325
12326         * BufferView_pimpl.C: fix crash on close buffer
12327         during selection (#227)
12328
12329 2002-01-27  Herbert Voss  <voss@lyx.org>
12330
12331         * buffer.C: link old Figure to new graphic inset
12332
12333 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12334
12335         * FontLoader.C (getFontinfo): Change the latex font names in order
12336         to match the names of type1inst.
12337
12338 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12339
12340         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12341
12342         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12343         (extchanged): ditto
12344         (ext_exist): ditto
12345         (remove_files_with_extension): ditto
12346         (remove_file): ditto
12347         (write): ditto
12348
12349         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12350         document is smaller than the work area height. Do not initialize
12351         static variables to 0.
12352
12353 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12354
12355         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12356
12357         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12358         LFUN_LAYOUT_PARAGRAPHS.
12359
12360         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12361         tabular. It is possible to provide a possible cell, which will
12362         typically be the actcell from the corresponding insettabular
12363
12364         * lyxfunc.C (getStatus): small cleanup; disable
12365         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12366         true
12367
12368 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12369
12370         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12371
12372         * paragraph.C (startTeXParParams):
12373         (endTeXParParams): new methods. The LaTeX code to
12374         start/end paragraph formatting
12375         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12376         empty (fixes bug #200)
12377
12378         * vspace.C (inPixels): adapt to the change below
12379         (inPixels): [later] more cleanups (remove unused variables)
12380
12381         * lyxlength.C (inPixels): change to use a width and a height as
12382         parameter.
12383
12384 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12385
12386         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12387         Replaced with \paperwidth
12388
12389         * DepTable.C (insert): add std:: qualifier
12390
12391 2002-01-18  Allan Rae  <rae@lyx.org>
12392
12393         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12394         updated also?
12395
12396         * text.C (drawInset): Turned out I didn't know enough about how
12397         rebreaking worked.  This fixes most of the redraw problems.  I see
12398         an occasional cursor trail when a line is broken now and the cursor
12399         placement can seem out by a few pixels also after a rebreak.
12400
12401 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12402
12403         * buffer.C (parseSingleLyXformat2Token): update because minipage
12404         width is now a LyXLength
12405
12406         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12407
12408         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12409         math insets
12410
12411 2002-01-17  Juergen Vigna  <jug@sad.it>
12412
12413         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12414
12415         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12416         is set correctly and the inset is updated correctly.
12417
12418 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12419
12420         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12421         the beginning of the loop.
12422
12423 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12424
12425         * lyxrc.C: improve help for use_scalable_fonts
12426
12427 2002-01-17  Allan Rae  <rae@lyx.org>
12428
12429         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12430
12431 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12432
12433         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12434         make sure to set their inset_owner to the right value (bug #171)
12435
12436 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12437
12438         * DepTable.h
12439         * DepTable.C: Implement mtime checking to reduce time spent doing
12440         CRCs.
12441
12442 2002-01-16  Juergen Vigna  <jug@sad.it>
12443
12444         * tabular.C (GetAdditionalHeight): one of error fixed.
12445
12446         * lyxrc.C (output): small fix in writing use_pspell.
12447
12448 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12449
12450         * sp_base.h: #include LString.h
12451
12452 2002-01-16  Allan Rae  <rae@lyx.org>
12453
12454         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12455         Can someone check this please?
12456
12457         * text.C (drawInset): It was possible that p.row would be removed by
12458         breakAgainOneRow upsetting a few other settings.  There may be another
12459         small tweak possible by setting need_break_row = 0 when p.row has been
12460         removed but I don't know enough about the logic here.
12461
12462 2002-01-15  Allan Rae  <rae@lyx.org>
12463
12464         * text.C (insertChar): removed conditional truism.
12465
12466         * BufferView2.C (removeAutoInsets): More tweaks.
12467         cur_par_prev could be a stray pointer.  Check for trailing empty line
12468         in case last line was cur_par and only had an error inset on it.
12469
12470 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12471
12472         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12473         absolute
12474
12475         * vc-backend.C (most methods):
12476         * exporter.C (Export):
12477         * converter.C (convert):
12478         (runLaTeX):
12479         * LyXSendto.C (SendtoApplyCB):
12480         * lyxfunc.C (dispatch):
12481         (menuNew):
12482         (open):
12483         (doImport):
12484         * lyx_cb.C (AutoSave):
12485         (InsertAsciiFile):
12486         * BufferView_pimpl.C (MenuInsertLyXFile):
12487         * buffer.C (runChktex): use Buffer::filePath().
12488
12489         * buffer.h: rename filename to filename_; rename filepath to
12490         filepath_ and make it private
12491         (filePath): new method
12492
12493         * buffer.C (writeFile): use fileName()
12494         (getLatexName):
12495
12496         * lyx_main.C (init): fix starting  of LyX when the binary is a
12497         link from so,ewhere else.
12498
12499         * minibuffer.C: include <cctype> for isprint
12500
12501 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12504         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12505         name clash with InsetCollapsable's width function.
12506
12507 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * lastfiles.C: include <iterator>
12510
12511 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12514         std::count.
12515
12516         * buffer.C (makeLaTeXFile): ditto.
12517         Also make loop operation more transparent.
12518
12519 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12520
12521         * ToolbarDefaults.C: remove trailing comma closing namespace.
12522
12523         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12524
12525         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12526         as in WorkArea.
12527
12528         * trans.C (Load): comment out unused variable, allowed.
12529
12530 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12531
12532         * minibuffer.[Ch] (append_char): new method to recieve input from the
12533         drop-down completion browser. If a key was pressed, then recieve this
12534         char and append it to the existing string.
12535         (peek_event): modify the positioning data passed to the completion
12536         browser so that it can be placed above the minibuffer rather than below.
12537 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * LyXAction.C (init): alloe error-next for readonly documents.
12540
12541         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12542         count.
12543
12544 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12545
12546         * bufferlist.C (readFile): create the buffer _after_ checking that
12547         the file exists.
12548
12549         * lyxfunc.C (verboseDispatch): fix handling of arguments
12550
12551         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12552
12553         * lyxrc.C: use string::erase() instead of initializing to "".
12554
12555
12556 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * BufferView_pimpl.h:
12559         * BufferView_pimpl.C:
12560         * WorkArea.h:
12561         * WorkArea.C:
12562         * text2.C: tell X when we have made a selection for copying
12563
12564 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12565
12566         * BufferView_pimpl.C (MenuInsertLyXFile):
12567         * lyxfunc.C (menuNew):
12568         (open):
12569         (doImport): add shortcuts to directory buttons
12570
12571         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12572         open a float)
12573
12574         * lyxfunc.C (setStatusMessage):
12575         (getStatusMessage): new methods
12576         (getStatus):use setStatusMessage instead of setErrorMessage
12577         (dispatch): when function is disabled, set error message here
12578         [instead of in getStatus previously]
12579
12580         * BufferView_pimpl.C (workAreaButtonRelease): update
12581         toolbar/menubar here too.
12582
12583 2002-01-13  Allan Rae  <rae@lyx.org>
12584
12585         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12586         Now seems indestructible.  Remaining task is to audit all other
12587         code affected by deleteEmptyParagraphMechanism.  One small quirk
12588         left is that an empty document with an error in the preamble can
12589         be made to report an error but no error box appears.  I don't know
12590         where it goes.
12591         (removeAutoInsets): Improved comments.
12592
12593 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12594
12595         * Thesaurus.h:
12596         * Thesaurus.C: update for Aiksaurus 0.14
12597
12598 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12599
12600         * text2.C (firstParagraph): removed member function, all uses
12601         replaces with ownerParagraph
12602         (redoParagraphs): here
12603         (updateInset): here
12604         (toggleAppendix): here
12605         * BufferView2.C (insertErrors): here
12606         (setCursorFromRow): here
12607
12608 2002-01-13  Allan Rae  <rae@lyx.org>
12609
12610         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12611         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12612         There is still a way to segfault this although you may have to do this
12613         multiple times: Have an InsetERT with an unknown command in it.
12614         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12615         <down-arrow>, <Enter> again, View->DVI, BANG!
12616
12617         * text2.C (setCursor):
12618         (deleteEmptyParagraphMechanism):
12619         * lyxtext.h (setCursor):
12620         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12621         Making use of the return value may help fix other bugs.
12622
12623 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12626
12627         * LyXView.C (updateMenubar): call MenuBar::update here
12628         (updateToolbar): but not here
12629         (showState): do not update toolbar/menubar
12630
12631         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12632         should need to care about that.
12633
12634         * lyxfunc.C (verboseDispatch): simplify a bit
12635         (getStatus): have a version which takes a pseudoaction, and
12636         another which requires a (kb_action,string).
12637
12638         * LyXAction.C (retrieveActionArg): make it work also when action
12639         is not a pseudo-action.
12640         (getActionName): simplify a bit
12641         (helpText):
12642
12643 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12644
12645         * lyxfunc.C (verboseDispatch): new families of methods with
12646         several ways to specify a command and a bool to indicate whether
12647         the command name and shortcut should be displayed in minibuffer
12648         (eventually, we could extend that to a finer bitmask like
12649         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12650         (dispatch): the pristine dispatch command which just, well,
12651         dispatchs! Note it still sets its result to minibuffer; I'm not
12652         sure we want that.
12653
12654         * lyxfunc.h: remove setHintMessage
12655
12656         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12657
12658 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12659
12660         * BufferView_pimpl.C (specialChar): delete new inset if we have
12661         not been able to insert it.
12662
12663         * kbmap.C: revert to using int instead of kb_action, since all we
12664         are dealing with is pseudo-actions.
12665
12666         * LyXAction.C (searchActionArg): change to return int instead of
12667         kb_action, since the result is a pseudoaction.
12668
12669 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12670
12671         * buffer.C (insertErtContents): Fix (partially) the font bug.
12672
12673 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12674
12675         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12676         as the other one is broken on my machine!
12677
12678 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12679
12680         * commandtags.h:
12681         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12682
12683 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12686         reflect their actual use. Provide compatibility code for older lyxrc
12687         files.
12688
12689         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12690         FL_NORMAL_STYLE.
12691         change names of popup font variables in line with the changes to lyxrc.C
12692
12693 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12694
12695         * buffer.C (asciiParagraph): avoid outputing a word twice after
12696         an inset.
12697
12698         * lyxrc.C (getDescription): document that document_path and
12699         template_path can be empty.
12700
12701 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12702
12703         * LaTeXFeatures.C (getMacros):
12704         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12705
12706         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12707
12708         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12709         getPackages.
12710         (getPackages): rename feature "floats" to "float". Use an array to
12711         iterate over 'simple' features (i.e. just a \usepackage). Add
12712         handling of "amsmath" (renamed from "amsstyle").
12713
12714 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12715
12716         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12717         features list.
12718
12719 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12720
12721         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12722         FuncStaus::FuncStatus & FuncStaus::some_method().
12723
12724 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12725
12726         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12727         of the func_satus stuff. Edited and massaged in various ways by
12728         JMarc.
12729
12730         * lyxfunc.C (getStatus): use FuncStatus
12731
12732 2002-01-08  Juergen Vigna  <jug@sad.it>
12733
12734         * text.C (nextBreakPoint): use function Inset::isChar().
12735
12736         * paragraph.C (TeXOnePar): use function
12737         Inset::forceDefaultParagraphs.
12738
12739         * buffer.C (latexParagraphs): use function
12740         Inset::forceDefaultParagraphs.
12741
12742 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12743
12744         * lyx_gui.C (init): set the style of the menu popups to
12745         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12746
12747 2002-01-07  Juergen Vigna  <jug@sad.it>
12748
12749         * text.C (setHeightOfRow): small fix
12750         (prepareToPrint): don't look at alignment if we don't have the place
12751         for doing it.
12752
12753 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12754
12755         * box.C: New file. Move the Box methods and functions out of box.h,
12756         following Lars' suggestion.
12757
12758 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12759
12760         * box.h: #include "support/LOstream.h", needed for inlined function.
12761
12762         * lyxtextclass.C:
12763         * lyxtextclasslist.C: added some using std declarations.
12764
12765 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * box.h: make signed dimensions to allow insets wider than
12768           the screen (bug #162)
12769
12770         * BufferView_pimpl.C: add some insetHit debug
12771
12772 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12773
12774         * vc-backend.C: add FIXME
12775
12776 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12777
12778         * lyxfunc.C (getStatus): enable code for showing math font status
12779         in toolbar/menu.
12780
12781 2002-01-07  Juergen Vigna  <jug@sad.it>
12782
12783         * text.C (nextBreakPoint): removed debug output not needed anymore.
12784
12785 2002-01-06  Juergen Vigna  <jug@sad.it>
12786
12787         * text.C (nextBreakPoint): fixed up this function we had this bug
12788         since ever but now hopefully we break row better.
12789         (insertChar): we have to check if an inset is the next char as it
12790         could now happen that a large inset is causing a break.
12791
12792 2002-01-05  Juergen Vigna  <jug@sad.it>
12793
12794         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12795         if it doesn't like to be drawed.
12796
12797 2002-01-04  Juergen Vigna  <jug@sad.it>
12798
12799         * BufferView2.C (lockInset): forgot to set a cursor.
12800
12801         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12802
12803 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12804
12805         * FormMathsPanel.C:
12806         * FormMathsPanel.h
12807         * MathsSymbols.C:
12808         * form_maths_panel.C:
12809         * form_maths_panel.h:
12810         * form_maths_panel.fd: implemented sub- and super- buttons in math
12811         panel.
12812
12813         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12814         (or ^ space) to be used as in TeX (req'd by André).
12815
12816         * lyxfunc.C: Allow ^ and _ again to be used both as
12817         super/subscript (mathed) and as themselves (in text).
12818
12819 2002-01-03  Allan Rae  <rae@lyx.org>
12820
12821         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12822         "LyX" or the filename of the current buffer if it has one.  This is a
12823         modified form of John Levon's patch.
12824
12825         * XFormsView.C (setWindowTitle): also set icon title.
12826
12827         * LyXView.h (setWindowTitle): signature changed.
12828         * XFormsView.h (setWindowTitle): ditto.
12829
12830 2002-01-02  Juergen Vigna  <jug@sad.it>
12831
12832         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12833
12834 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * screen.C (topCursorVisible): introduce a temp var for
12837         text->cursor.row(), handle the case where this row is null. (kindo
12838         hachish)
12839
12840         * text2.C (setCursor): add a couple of asserts.
12841
12842         * paragraph.h (inset_iterator): add -> operator
12843
12844         * paragraph.[Ch] (autoDeleteInsets): remove member function
12845
12846         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12847         cursor pos correctly and handle inset deletion by itself.
12848         (insertErrors): move iterator declaration out of for expression
12849
12850         * lyxtextclass.C: add <algorithm>
12851
12852         * Makefile.am: added the new files to sources, removed layout.C
12853
12854         * layout.C: removed file
12855
12856         * layout.h: remove LYX_DUMMY_LAYOUT
12857
12858         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12859         layout.
12860
12861         * lyxlayout.[Ch]:
12862         * lyxtextclass.[Ch]:
12863         * lyxtextclasslist.[Ch]: new files
12864
12865         * include order changes to a lot of files, also changes because of
12866         the six new files.
12867
12868 2001-12-27  Juergen Vigna  <jug@sad.it>
12869
12870         * buffer.C (asciiParagraph): more fixes.
12871
12872         * tabular.C (ascii): make ascii export support export of only the
12873         data separated by a column-delimiter.
12874         (ascii): better support for ascii export.
12875
12876         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12877
12878 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12879
12880         * tabular_funcs.C: use a "using std::getline" instead of the
12881         previous fix from Angus (necessary for cxx + lyxstring)
12882
12883 2001-12-24  Juergen Vigna  <jug@sad.it>
12884
12885         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12886
12887         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12888         problems. First check a minipage also if we have some ert-contents
12889         (not only on par->size(), second set the right depth of the paragraph
12890         on the relink to the root-paragraph-list!
12891
12892         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12893         which then did not anymore update the main paragraphs on undo/redo!
12894
12895 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12896
12897         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12898         code. Support all font-changing funcs (even those which are not in
12899         menu currently). Support for reporting font settings in
12900         mathed (disabled until Andre provides a function on mathed's side).
12901
12902         * func_status.h (toggle): small helper function to set toggle
12903         state on a flag.
12904
12905 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12906
12907         * tabular_funcs.C: getline -> std::getline
12908
12909 2001-12-21  Juergen Vigna  <jug@sad.it>
12910
12911         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12912         accessed and could be 0 (I couldn't generate this but it seems
12913         Michael could!).
12914
12915 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12918         * tabular_funcs.h: here and include iosfwd
12919
12920 2001-12-20  Juergen Vigna  <jug@sad.it>
12921
12922         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12923         inside inset but undo_par was.
12924
12925 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12926
12927         * Thesaurus.C: always include <config.h> in sources.
12928
12929         * Painter.h:
12930         * lyxlookup.h:
12931         * box.h: do not include <config.h> in header files
12932
12933         * text.C (paintLastRow): remove unused variable
12934
12935         * text.C (transformChar):
12936         (insertChar):
12937         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12938
12939         * Painter.C (text):
12940         * font.C (width): rewrite to use uppercase() instead of
12941         islower/toupper.
12942
12943         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12944
12945 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12946
12947         * lyxfind.C: clean up of find failure position change
12948
12949 2001-12-20  Juergen Vigna  <jug@sad.it>
12950
12951         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12952
12953         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12954         (TeXRow): added to LaTeX a single tabular row.
12955         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12956         (Latex): simplified and finally good LT-h/f support.
12957         (various_functions): just small adaptions for LT-h/f support.
12958
12959         * tabular_funcs.[hC]: added and moved here all not classfunctions
12960         of LyXTabular.
12961
12962 2001-12-19  Juergen Vigna  <jug@sad.it>
12963
12964         * tabular.[Ch]: better support for longtabular options (not finished
12965         yet!)
12966
12967 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12968
12969         * text.C (paintLastRow): use the label font instead of the font of
12970         the last character to compute the size of *_BOX. This makes more
12971         sense and avoids a crash with empty paragraphs.
12972         Use Painter::rectangle to draw EMPTY_BOX.
12973
12974 2001-12-19  Juergen Vigna  <jug@sad.it>
12975
12976         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12977         the paragraphs if the replaced paragraph is not the first one!
12978         Tried to delete not used paragraphs but does not work yet so for
12979         now it's inside #ifdef's and by default off!
12980
12981 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12982
12983         * MenuBackend.C: include "lyx_main.h" instead of declaring
12984         lastfiles (actually was declared as LastFiles* instead of a
12985         scoped_ptr).
12986
12987 2001-12-17  Juergen Vigna  <jug@sad.it>
12988
12989         * tabular.C (AppendColumn): applied John's fix
12990
12991 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12992
12993         * BufferView.h:
12994         * BufferView.C:
12995         * BufferView_pimpl.h:
12996         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12997
12998         * Makefile.am:
12999         * box.h: new start of class for above
13000
13001         * lyxfunc.C: ignore space-only minibuffer dispatches.
13002           Show the command name when it doesn't exist
13003
13004         * minibuffer.C: don't add empty lines to the history
13005
13006         * minibuffer.C: add a space on dropdown completion
13007
13008 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * text.C: fix line above/below drawing in insets
13011
13012 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13013
13014         * lyxlength.C (LyXLength): Initialize private variables.
13015
13016 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13017
13018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13019         when inserting error insets.
13020
13021 2001-12-13  Juergen Vigna  <jug@sad.it>
13022
13023         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13024         actually sometimes the before-paragraph.
13025         (setUndo): don't clear the redostack if we're not actually undoing!
13026
13027 2001-12-06  Juergen Vigna  <jug@sad.it>
13028
13029         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13030         and fixed redoing of main paragraph, so we can use it now ;)
13031
13032         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13033
13034 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13035
13036         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13037         Juergen's request
13038
13039 2001-12-13  André Pönitz <poenitz@gmx.net>
13040
13041         * undostack.[Ch]:
13042         * undo_func.C: minor cleanup
13043
13044 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13045
13046         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13047         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13048         font in urw-fonts package which is marked as -urw-fontspecific and
13049         does not work (incidentally, changing the encoding in the
13050         fonts.dir of this package to -adobe-fontspecific fixes the
13051         problem).
13052
13053         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13054         is a crash when undoing first paragraph (Juergen, please take a
13055         look). THis does not mean the undo fix is wrong, just that it
13056         uncovers problems.
13057
13058         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13059         the (Paragraph*) version when needed instead of duplicating the
13060         code.
13061
13062         * text.C (workWidth): use Inset::parOwner to find out where the
13063         inset has been inserted. This is a huge performance gain for large
13064         documents with lots of insets. If Inset::parOwner is not set, fall
13065         back on the brute force method
13066
13067         * paragraph_pimpl.C (insertInset):
13068         * paragraph.C (Paragraph):
13069         (cutIntoMinibuffer): set parOwner of insets when
13070         inserting/removing them
13071
13072         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13073
13074 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13075
13076         * commandtags.h:
13077         * LyXAction.C:
13078         * lyx_main.C:
13079         * lyxfunc.C:
13080         * mathed/formulabase.C:
13081         * mathed/math_cursor.[Ch]:
13082         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13083
13084
13085 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13086
13087         * lyxlength.[Ch] (operator!=): new function
13088
13089 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13090
13091         * text.C (workWidth): use Inset::parOwner to find out where the
13092         inset has been inserted. This is a huge performance gain for large
13093         documents with lots of insets. If Inset::parOwner is not set, fall
13094         back on the brute force method
13095
13096         * paragraph_pimpl.C (insertInset):
13097         * paragraph.C (Paragraph):
13098         (cutIntoMinibuffer): set parOwner of insets when
13099         inserting/removing them
13100
13101         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13102
13103 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13104
13105         * tabular-old.C (getTokenValue):
13106         * tabular.C (getTokenValue):
13107         (write_attribute): new versions for LyXLength
13108         (everywhere): adjust the use of widths
13109
13110         * tabular.h: change the type of widths from string to LyXLength
13111
13112 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13113
13114         * paragraph.C: fixed missing line number count when exporting
13115         Environments to LaTeX file
13116
13117         * buffer.C: added informational message for checking line numbers.
13118
13119 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13120
13121         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13122         paragraph, do the 'double space' part, but not the 'empty
13123         paragraph' one.
13124
13125         * text.C (workWidth): small optimization
13126         (getLengthMarkerHeight): use minimal size for negative lengths.
13127
13128 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13129
13130         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13131
13132         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13133
13134 2001-12-11  André Pönitz <poenitz@gmx.net>
13135
13136         * FontLoader.C:
13137         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13138
13139 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * text2.C: keep selection on a setFont()
13142
13143 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13144
13145         * lyx_cb.C: another bv->text misuse, from insert label
13146
13147 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * kbsequence.h:
13150         * kbsequence.C: re-instate nmodifier mask
13151
13152 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13153
13154         * lyx_main.h: make lyxGUI private.
13155
13156 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * lyxfind.C: place the cursor correctly on failed search
13159
13160 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13161
13162         * text.C (getLengthMarkerHeight): for small heights, the arrows
13163         are not always on top/bottom of the text
13164         (drawLengthMarker): smaller arrows; take the left margin in
13165         account; draw also vfills.
13166         (paintFirstRow):
13167         (paintLastRow): remove special code for vfill and standard spaces,
13168         since everything is handled in drawLengthMarker now.
13169
13170 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13171
13172         * buffer.C (insertErtContents): try to handle font and language
13173         interaction a bit better.g
13174
13175         * ColorHandler.C (updateColor): change the hash to cover the whole
13176         LColor enum, ws cleanup
13177         (getGCLinepars): ditto
13178         (getGCLinepars): only lookup in the linecache once.
13179
13180 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13181
13182         * iterators.C (operator++): Make the iterator more robust
13183
13184         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13185         (John's patch)
13186         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13187
13188 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * lyxtext.h:
13191         * text.C: better added space drawing
13192
13193 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13194
13195         * LyXView.C:
13196         * BufferView2.C: fix layout combo update on inset unlock
13197
13198 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13199
13200         * Makefile.am: don't compile unused files
13201
13202 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13203
13204         * lyxfunc.C:
13205         * commandtags.h:
13206         * LyXAction.C: remove old LFUN_LAYOUTNO
13207
13208 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * paragraph_pimpl.h:
13211         * paragraph_pimpl.C: isTextAt() doesn't need font param
13212
13213 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13214
13215         * lyxlex.h:
13216         * lyxlex.C: little cleanup
13217
13218 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13219
13220         * BufferView_pimpl.C: fix insertAscii for insets
13221
13222 2001-12-05  Juergen Vigna  <jug@sad.it>
13223
13224         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13225         set the right font on the "multi" paragraph paste!
13226
13227 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13228
13229         * trans_decl.h:
13230         * trans_mgr.[Ch]:
13231         * trans.[Ch]:
13232         * lyxgluelength.C:
13233         * lyxlength.C: remove out-commented code.
13234
13235         * BufferView_pimpl:
13236         * CutAndPaste.C:
13237         * DepTable.C:
13238         * buffer.C:
13239         * chset.C:
13240         * lastfiles.C:
13241         * lyxlex.C:
13242         * lyxlex_pimpl.C:
13243         * lyxserver.C:
13244         * screen.C:
13245         * tabular-old.C:
13246         * tabular.C:
13247         * text.C:
13248         * trans_mgr.C:
13249         * vc-backend.C: change "while(" to "while ("
13250
13251         * lyxlength.[Ch]: add zero function to check if length is zero or
13252         not
13253         * lyxgluelength.C: use it
13254
13255 2001-12-05  Allan Rae  <rae@lyx.org>
13256
13257         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13258         Works for 2.95.3, from what I understand of Garst's reports this should
13259         work for other g++ versions.  We're screwed if the abs(int) definition
13260         changed between bugfix releases of gcc.
13261
13262 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * text.C: fix chapter label offset !
13265
13266 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13267
13268         * lyxtext.h:
13269         * text.C: fix hfill at end of line, clean up
13270
13271 2001-12-04  Juergen Vigna  <jug@sad.it>
13272
13273         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13274         that we force an update of the inset and it's owners if neccessary.
13275
13276 2001-12-03  Juergen Vigna  <jug@sad.it>
13277
13278         * text.C (rowLast): simplified code
13279
13280 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * lyxfunc.C: fix show options on timeout
13283
13284 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * screen.C (topCursorVisible): scroll half a page when the cursor
13287         reached top of bottom of screen
13288
13289 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * minibuffer.C: deactivate on loss of focus
13292
13293 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13294
13295         * vspace.[Ch] (operator!=): add operator.
13296
13297 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13298
13299         * BufferView_pimpl.C: refuse to open an inset when
13300         there's a selection.
13301
13302 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13303
13304         * BufferView_pimpl.C: allow to click on RHS of full row insets
13305
13306 2001-11-30  Juergen Vigna  <jug@sad.it>
13307
13308         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13309         insets for undo reasons.
13310
13311 2001-11-28  André Pönitz <poenitz@gmx.net>
13312
13313         * vspace.[Ch]: cosmetical changes
13314
13315 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * LyXAction.h:
13318         * LyXAction.C:
13319         * lyxfunc.h:
13320         * lyxfunc.C:
13321         * kbmap.h:
13322         * kbmap.C:
13323         * lyxrc.C:
13324         * kbsequence.h:
13325         * kbsequence.C: part re-write of old kb code
13326
13327         * Painter.C:
13328         * WorkArea.C: remove Lgb_bug_find_hack
13329
13330 2001-11-30  José Matos <jamatos@fep.up.pt>
13331
13332         * buffer.C (makeDocBookFile): add a comment to point a hack.
13333         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13334         Fixed a double write of labels.
13335
13336 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13337
13338         * LaTeX.C:
13339         * LaTeX.h Fixed bug in LaTeX class where it would not
13340         re-run latex if no depfiles were changed, but the .dvi was removed.
13341
13342 2001-11-28  André Pönitz <poenitz@gmx.net>
13343
13344         * all the files from the change on 2001/11/26:
13345         use lyx::layout_type instead of LyXTextClass::size_type
13346         use lyx::textclass_type instead of LyXTextClassList::size_type
13347
13348 2001-11-29  Juergen Vigna  <jug@sad.it>
13349
13350         * text.C: added support for paragraph::isFreeSpacing()
13351
13352         * buffer.C: same as above
13353
13354         * paragraph.h: inserted isFreeSpacing() function to enable
13355         FreeSpacing inside InsetERT.
13356
13357         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13358         of the paragraph's in the cut/copy buffer to 0!
13359
13360         * text2.C (removeRow): remove the assert as it can!
13361
13362         * lyxtext.h: added helper function firstRow returning firstrow and
13363         made firstrow private again.
13364
13365         * BufferView2.C (lockInset): don't relock if we're already locked!
13366
13367         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13368         the only paragraph.
13369         (removeRow): added Assert::(firstrow)
13370
13371         * debug.C: forgot to add INSETTEXT here.
13372
13373 2001-11-28  Juergen Vigna  <jug@sad.it>
13374
13375         * sp_spell.C (initialize): changed error text to more general
13376         spellchecker command use (not only ispell!)
13377
13378         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13379
13380         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13381
13382 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * vspace.C: initialise lyxgluelength on failure
13385
13386 2001-11-28  Allan Rae  <rae@lyx.org>
13387
13388         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13389         declaration & definition that looks like a function declaration.
13390
13391 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13392
13393         * BufferView2.C (copy):
13394         (copyEnvironment): do not clear the selection when doing a copy.
13395
13396         * text.C (paintFirstRow): compilation fix
13397
13398 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13399
13400         * tabular.C (Latex): correct line count when writing latex.
13401
13402 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * paragraph_pimpl.h:
13405         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13406           bug a bit
13407
13408 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * text.C:
13411         * LColor.h:
13412         * LColor.C: change vfillline->added_space
13413
13414         * text.C: add markers and text for added space
13415
13416         * vspace.C: fix comment
13417
13418 2001-11-28  André Pönitz <poenitz@gmx.net>
13419
13420         * paragraph.C: whitespace changes
13421         * all the other files from the change on 2001/11/26:
13422         change *::pos_type into lyx::pos_type
13423
13424 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13425
13426         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13427         language of the document when inserting error insets.
13428
13429 2001-11-26  André Pönitz <poenitz@gmx.net>
13430
13431         * BufferView_pimpl.[Ch]:
13432         *       CutAndPaste.C:
13433         * buffer.[Ch]:
13434         * lyxcursor.[Ch]:
13435         * lyxfind.C:
13436         * lyxfunc.C:
13437         * lyxrow.[Ch]:
13438         * paragraph.[Ch]:
13439         * paragraph_pimpl.[Ch]:
13440         * sp_spell.C:
13441         * text.C:
13442         * text2.C: reduce header dependencies, introduce type for positions
13443
13444 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13445
13446         * <various>: change to use Alert.h
13447
13448 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13449
13450         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13451         when encountering an unknown token.
13452         (readLyXformat2): Show an error message if there were unknown tokens.
13453
13454 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * BufferView2.C:
13457         * BufferView_pimpl.C:
13458         * buffer.C:
13459         * paragraph.h:
13460         * text.C:
13461         * text2.C: use par->isInset()
13462
13463 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13464
13465         * paragraph_pimpl.h:
13466         * paragraph_pimpl.C: cleanup
13467
13468 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13469
13470         * text2.C (removeRow):
13471         * text.C (setHeightOfRow): remove useless (and costly) call to
13472         getRow.
13473
13474 2001-11-20  Allan Rae  <rae@lyx.org>
13475
13476         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13477         Now need Inset*::checkInsertChar() to return true for appropriate
13478         cases so that the characters in the minibuffer will actually be
13479         inserted.
13480
13481 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * text.C: change the order of the includes.
13484         (workWidth): initialize it at once.
13485         (workWidth): make maxw unsigned
13486         (setHeightOfRow): remove unused variable (inset)
13487         (selectSelectedWord): remove unused variable (inset)
13488         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13489
13490 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13491
13492         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13493         server is not running.
13494         (openConnection):
13495         (closeConnection): add debug info when server is disabled.
13496
13497         * ColorHandler.C (getGCForeground): send debug message to GUI
13498         channel.
13499
13500         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13501
13502         * kbmap.C (bind): modify because return conventions of
13503         kb_sequence::parse have changed.
13504
13505         * kbsequence.C (parse): only ignore spaces and not any stupid
13506         control character. This avoids tests like s[i] <= ' ', which are
13507         guaranteed to fail with 8bit characters and signed chars.
13508         Change return code to string::npos when there have been no error
13509         (0 was a bad idea when error is at first character)
13510
13511 2001-11-14  José Matos  <jamatos@fep.up.pt>
13512
13513         * buffer.h:
13514         * buffer.C (simpleDocBookOnePar): removed unused argument.
13515
13516 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13517
13518         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13519         insets which are part of a word. Paragraph::isLetter takes care of
13520         that now. Use Paragraph::isInset to identify insets.
13521         (selectSelectedWord): do not test for hyphenation break.
13522
13523         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13524         that protected spaces are considered as spaces.
13525
13526         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13527         Inset::isLetter.
13528
13529 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13530
13531         * lyxserver.h:
13532         * lyxserver.C: fix it. and small cleanup.
13533
13534 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * BufferView_pimpl.C: use inline helpers
13537
13538         * LaTeXFeatures.h:
13539         * LaTeXFeatures.C: fix typos
13540
13541         * Spacing.h:
13542         * Spacing.C: move spacing_string into class
13543
13544         * ToolbarDefaults.C: move stuff into namespace anon
13545
13546         * layout.h: update enum
13547
13548         * lyxfunc.C: use better debug
13549
13550         * minibuffer.h: fix typo
13551
13552         * debug.h:
13553         * debug.C:
13554         * WorkArea.C: add and use Debug::WORKAREA
13555
13556         * lyxtext.h:
13557         * text.C:
13558         * text2.C: code re-organisation, inline helpers
13559
13560 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13561
13562         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13563         std::vector.empty().
13564
13565 2001-11-09  Allan Rae  <rae@lyx.org>
13566
13567         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13568         '\n's after tables.  Tabular and ERT inset work now makes this no
13569         longer necessary.
13570
13571 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13572
13573         * minibuffer.h:
13574         * minibuffer.C: fix crash, improve drop-down completion
13575
13576 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13577
13578         * lyxserver.h:
13579         * lyxserver.C: invalidate fd's when doing endPipe()
13580
13581 2001-11-08  José Matos  <jamatos@fep.up.pt>
13582
13583         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13584         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13585
13586         * paragraph.h:
13587         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13588
13589 2001-11-07  José Matos  <jamatos@fep.up.pt>
13590
13591         * buffer.h:
13592         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13593         const qualifier.
13594
13595         * buffer.C (sgmlOpenTag):
13596         * buffer.C (sgmlCloseTag): removed debug info.
13597
13598         * buffer.h (sgmlOpenTag):
13599         * buffer.h (sgmlCloseTag): made public.
13600
13601 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13602
13603         * buffer.C (saveParamsAsDefaults):
13604         * lyx_cb.C (MenuLayoutSave): remove
13605
13606         * LyXAction.C (init):
13607         * commandtags.h:
13608         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13609
13610 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * buffer.C (setPaperStuff): removed from here...
13613
13614         * bufferparams.C (setPaperStuff): ... and moved there.
13615
13616 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13617
13618         * minibuffer.h:
13619         * minibuffer.C:
13620         * XFormsView.C: add support for drop-down completion
13621
13622 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13623
13624         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13625         commands.
13626
13627 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13628
13629         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13630         disabled.
13631
13632 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * lyx_main.C: change ref to known bugs
13635
13636 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13637
13638         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13639         to work around older babel problems.
13640
13641 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13642
13643         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13644
13645 2001-10-24  Juergen Vigna  <jug@sad.it>
13646
13647         * tabular-old.C (ReadOld): below variable changes reflected.
13648
13649         * tabular.[Ch]: added ltType struct for longtable header/footer
13650         defines and changed all instances where they are used. Added
13651         future support for double top/bottom rows.
13652
13653 2001-10-24  José Matos  <jamatos@fep.up.pt>
13654
13655         * buffer.h (docbookHandleCaption):
13656         * buffer.C (docbookHandleCaption): removed unused function.
13657         (makeDocBookFile): moved docbook supported version to v4.1.
13658
13659 2001-10-24  José Matos  <jamatos@fep.up.pt>
13660
13661         * tabular.h:
13662         * tabular.C (docbookRow): new function to export docbook code of a row.
13663         (DocBook): now honors the longtable flags.
13664
13665 2001-10-23  José Matos  <jamatos@fep.up.pt>
13666
13667         * LaTeXFeatures.h:
13668         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13669         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13670
13671         * buffer.C (makeLinuxDocFile):
13672         (makeDocBookFile): reworked the preamble, more clean, and with
13673         support for lyx defined entities. Changed the document declaration
13674         to be more XML friendly.
13675
13676         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13677         if we need to output XML that should be done with a filter.
13678
13679 2001-10-22  Juergen Vigna  <jug@sad.it>
13680
13681         * sp_pspell.h (class PSpell): add alive function needed in the
13682         controller to see if the spellchecker could be started.
13683
13684 2001-10-22  Juergen Vigna  <jug@sad.it>
13685
13686         * buffer.C (insertStringAsLines): modify the font for inserting
13687         chars in certain conditions by calling checkInsertChar(font).
13688
13689 2001-10-19  Juergen Vigna  <jug@sad.it>
13690
13691         * text.C (workWidth): use getRow instead of wrong algorithm.
13692         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13693
13694 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13695
13696         * lyxserver.h:
13697         * lyxserver.C:
13698         * lyx_main.h:
13699         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13700
13701 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13702
13703         * text.C (workWidth): do not search for the exact row when
13704         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13705         optimization for big documents.
13706
13707 2001-10-18  Juergen Vigna  <jug@sad.it>
13708
13709         * text.C (workWidth): new function with added Inset * parameter.
13710
13711 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13712
13713         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13714
13715         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13716         change return type of getColumnNearX.
13717
13718
13719         * text.C (changeRegionCase): use uppercase/lowercase instead of
13720         toupper/tolower.
13721         (leftMargin):
13722         (rightMargin): simplify code by factoring out the uses of
13723         textclasslist.
13724         (labelFill):
13725         (numberOfHfills):
13726         (setHeightOfRow):
13727         (appendParagraph): use Paragraph::size_type
13728
13729 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13730
13731         * vspace.C (asLatexString): add a missing break
13732
13733 2001-10-15  Herbert Voss  <voss@perce.de>
13734
13735         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13736
13737 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13738
13739         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13740         is not available.
13741
13742 2001-10-10  André Pönitz <poenitz@gmx.net>
13743
13744         * lyxfunc.C: removed greek_kb_flag.
13745
13746 2001-10-10  Herbert Voss  <voss@perce.de>
13747
13748         * lyx_main.C: delete global string help_lyxdir.
13749
13750 2001-10-09  Herbert Voss  <voss@perce.de>
13751
13752         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13753
13754         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13755
13756         * lyx_main.C: added global string help_lyxdir.
13757
13758         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13759
13760 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13761
13762         * lyxrc.C (set_font_norm_type): support iso8859-4
13763
13764 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13765
13766         * LaTeX.C (deplog): add another regex for MikTeX
13767
13768 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13769
13770         * lyxrc.C (set_font_norm_type): support iso8859-3
13771
13772 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13773
13774         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13775
13776         * LaTeXFeatures.C: remove special case of french and index
13777
13778         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13779         before \begin{document}). This solves several incompatibilities.
13780
13781 2001-10-03  Garst Reese  <reese@isn.net>
13782
13783         * lyx_cb.C: change CheckTex error msg.
13784
13785 2001-10-03  José Matos  <jamatos@fep.up.pt>
13786
13787         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13788
13789 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * .cvsignore: update
13792
13793         * lyx_main.C (commandLineVersionInfo): use new style version info.
13794
13795         * buffer.C (writeFile):
13796         (makeLaTeXFile):
13797         (makeLinuxDocFile):
13798         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13799
13800         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13801
13802         * version.h: update to use stuff in version.C
13803
13804         * version.C.in: new file. Contains version information determined
13805         at compile time. This is a merging of version.h and
13806         version_info.h.in.
13807
13808 2001-10-03  Juergen Vigna  <jug@sad.it>
13809
13810         * BufferView_pimpl.C (update): don't change "dirty" status in
13811         updateInset call.
13812
13813 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13814
13815         * WorkArea.C (c-tor): re-position version string slightly.
13816
13817 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13818
13819         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13820         revert to previous code.
13821
13822         WorkArea.[Ch]: (show, destroySplash): methods removed.
13823
13824         WorkArea.C: rework code so that it's an amalgam of the codes before and
13825         after the splash screen was moved to WorkArea.
13826
13827 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13828
13829         * lyxrc.C (read):
13830         * vspace.C (inPixels):
13831         (lyx_advance):
13832         * kbmap.C (bind):
13833         * buffer.C (insertStringAsLines):
13834         (asciiParagraph): fix types to be large enough
13835
13836         * lyxlex_pimpl.h: change member status from short to int
13837
13838         * layout.h: fix type of endlabeltype
13839
13840         * kbmap.C (bind):
13841         * kbsequence.C (parse): change return type to string::size_type
13842
13843         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13844         variable
13845
13846         * Bullet.C (bulletSize):
13847         (bulletEntry): do not use short ints as parameters
13848
13849         * BufferView2.C (insertLyXFile): change a char to an int.
13850
13851         * WorkArea.C (WorkArea): remove unneeded floats in computation
13852
13853 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13856
13857         * paragraph.C (asString): Do not ignore newline/hfill chars when
13858         copying to the clipboard.
13859
13860 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13861
13862         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13863         after a multi-line inset.
13864
13865 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13866
13867         * paragraph.C (validate): Set NeedLyXFootnoteCode
13868
13869 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13870
13871         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13872         and decrease-error to decrease.
13873
13874 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13875
13876         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13877         it more readable (should be equivalent)
13878
13879 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13880
13881         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13882
13883 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13884
13885         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13886         of a cursor (row, etc.) after a character has been deleted
13887         (deleteEmptyParagraphMechanism): call the method above on _all_
13888         cursors held by the LyXText when a double space has been
13889         detected/deleted.
13890
13891 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13894         pixmap.
13895         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13896
13897         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13898         background. Use greyOut() and the new show() methods to toggle between
13899         the foreground and background. Add code to remove the splash after
13900         its initial showing.
13901
13902         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13903         (create_forms): no longer call Dialogs::showSplash.
13904
13905 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13906
13907         * .cvsignore: add version_info.h
13908
13909 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13910
13911         * version_info.h.in: new file
13912
13913         * Makefile.am: add version_info.h.in
13914
13915         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13916         version_info.h instead of VERSION_INFO
13917
13918 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13919
13920         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13921         The ERT inset now returns string().
13922
13923 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13924
13925         * lyxtext.h, text.C (selectNextWord): renamed as
13926         selectNextWordToSpellcheck.
13927
13928         * text.C (selectNextWordToSpellcheck): Modified to not select
13929         words inside an ERT inset.
13930
13931 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13932
13933         * lyx_cb.C (MenuLayoutSave): change a bit the question
13934
13935         * sp_base.h: include <sys/types.h>
13936
13937 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13938
13939         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13940
13941 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13942
13943         * several files: fix typos in user-visible strings
13944
13945 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * text2.C (pasteSelection): do not set the selection, since it
13948         will be cleared later. Actually, the intent was to fix the way the
13949         selection was set, but I figured rmoving the code was just as good.
13950
13951 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13952
13953         * FontLoader.C (available): Check if font is available without
13954         loading the font.
13955
13956 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13957
13958         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13959
13960 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13961
13962         * lyxrc.[Ch]: added display_graphics variable and associated code.
13963
13964 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13965
13966         * bufferparams.C (hasClassDefaults): new method. Returns true if
13967         the buffer parameters correspond to known class defaults
13968
13969 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13970
13971         * XFormsView.C (show): set minimum size to the main window.
13972
13973 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13974
13975         * text2.C (copySelection):
13976         (cutSelection):
13977         * lyxfind.C (LyXReplace):
13978         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13979         LyXText::selectionAsString.
13980
13981         * paragraph.C (asString): add "label" argument to the second form
13982
13983         * text2.C (selectionAsString): add "label" argument and pass it to
13984         Paragraph::asString.
13985
13986 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * lyx_main.C (commandLineHelp): remove version information
13989
13990 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13991
13992         * lyx_main.C: add -version commandline option
13993
13994 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13995
13996         * paragraph.h: make the optional constructor arg required instead.
13997         some modifications to other files because of this.
13998
13999         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14000
14001         * lyxserver.C (C_LyXComm_callback): make it static
14002
14003         * lyx_main.C (error_handler): make it static
14004
14005         * lyx_gui.C (LyX_XErrHandler): make it static
14006
14007         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14008
14009         * WorkArea.C: make the extern "C" methods static.
14010
14011         * Makefile.am (lyx_LDADD): simplify
14012
14013 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14014
14015         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14016         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14017
14018         * LyXAction.C (init):
14019         * lyxfunc.C (dispatch): associated code removal.
14020
14021 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14022
14023         * lyxfont.h (isSymbolFont): shut off warning
14024
14025         * text.C (setHeightOfRow):
14026         (getVisibleRow): fix crash with empty paragraphs which have a
14027         bottom line
14028
14029 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14030
14031         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14032         code.
14033
14034 2001-09-04  José Matos  <jamatos@fep.up.pt>
14035         * buffer.C
14036         * buffer.h
14037         * tabular.C (docbook): rename docBook method to docbook.
14038
14039 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14040
14041         * Makefile.am: add dependencies to main.o.
14042
14043 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14044
14045         * FontLoader.C (available): Return false if !lyxrc.use_gui
14046
14047 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14048
14049         * FontInfo.C (query):
14050         * converter.C (view):
14051         * importer.C (Import):
14052         * exporter.C (Export): Can not -> cannot.
14053
14054 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14055
14056         * BufferView_pimpl.C: allow to create index inset even if
14057           string is empty
14058
14059 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14060
14061         * buffer.C (getLists): replace boost::tie code with an explicit pair
14062         as boost::tie can break some compilers.
14063
14064         * iterators.h: Added a std:: declaration to the return type of
14065         ParIterator::size.
14066
14067 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14068
14069         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14070           case.
14071
14072 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14073
14074         * iterators.[Ch]: New files. Provide paragraph iterators.
14075
14076         * buffer.C (changeLanguage): Use paragraph iterators.
14077         (isMultiLingual): ditto
14078
14079         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14080
14081 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14082
14083         * FontLoader.C: Support for cmr font.
14084
14085 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14086
14087         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14088         (available): New method.
14089
14090         * FontInfo.C (getFontname): Use scalable fonts even when
14091         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14092         found.
14093
14094 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14095
14096         * converter.C (Formats::view): reverted! Incorrect fix.
14097
14098 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14099
14100         * converter.C (Formats::view): only output the -paper option
14101         if the dvi viewer is xdvi, thereby fixing bug #233429.
14102
14103 2001-08-23  Herbert Voss  <voss@perce>
14104
14105         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14106
14107 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * Spacing.h (Spacing): Set space to Default on in the default
14110         constructor.
14111
14112 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * vc-backend.h (RCS::versionString): add RCS to version
14115         (CVS::versionString): add CVS to version
14116
14117         * vc-backend.C (scanMaster): do not add CVS to version.
14118         (scanMaster): do not add RCS to version
14119
14120         * lyxvc.C (versionString): new method
14121
14122         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14123
14124 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14125
14126         * Spacing.C (set): initialize fval
14127
14128 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14129
14130         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14131         " or \.
14132
14133 2001-08-16  Juergen Vigna  <jug@sad.it>
14134
14135         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14136
14137 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * BufferView_pimpl.C:
14140         * figureForm.C:
14141         * lyxtext.h:
14142         * text2.C: setParagraph takes linespacing now
14143
14144 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14145
14146         * LyxAction.C: add internal LFUN_CITATION_INSERT
14147
14148         * LyXView.C: actually apply fix
14149
14150         * bufferlist.C: fix open non-existent file
14151
14152         * lyxfind.C: fix indentation
14153
14154         * lyxfunc.C: remove unneeded assert, fix typo
14155
14156 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14157
14158         * MenuBackend.C: use "Floatname List"
14159
14160 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14161
14162         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14163         when converting LaTeX layout to insetERT.
14164         Generate a non-collapsed float when reading old float
14165
14166 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14167
14168         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14169         ERT insets.
14170
14171 2001-08-13  Juergen Vigna  <jug@sad.it>
14172
14173         * text.C (fill): return 0 instead of 20 as this seems to be the more
14174         correct value.
14175
14176 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14177
14178         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14179         lyxrc.font_norm.
14180
14181 2001-08-13  Juergen Vigna  <jug@sad.it>
14182
14183         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14184         casesensitive off.
14185         (SearchBackward): comment out the unlocking of the inset_owner this
14186         should not be needed!
14187
14188 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14189
14190         * Many files: Remove inherit_language, and add latex_language
14191
14192         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14193         collapsible insets.
14194
14195 2001-08-10  Juergen Vigna  <jug@sad.it>
14196
14197         * text.C (prepareToPrint): fixed hfill-width in draw!
14198
14199         * BufferView2.C (selectLastWord): save the selection cursor as this
14200         now is cleared in the function LyXText::clearSelection!
14201
14202 2001-08-08  Juergen Vigna  <jug@sad.it>
14203
14204         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14205         BACKSPACE type functions.
14206
14207         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14208         is only cutted from the document but not put in the cut-buffer, where
14209         still the old stuff should be.
14210
14211         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14212
14213         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14214
14215         * tabular.C (SetWidthOfCell): fixed special case where the width
14216         was not updated!
14217         (LeftLine): handle '|' in align_special.
14218         (RightLine): ditto
14219         (LeftAlreadyDrawed): ditto
14220         (SetWidthOfCell): ditto
14221
14222 2001-08-07  Juergen Vigna  <jug@sad.it>
14223
14224         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14225
14226 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14227
14228         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14229         * lyxlex.[hC]: ditto
14230
14231 2001-08-06  Juergen Vigna  <jug@sad.it>
14232
14233         * text.C (getVisibleRow): fix up row clearing a bit.
14234
14235 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * minibuffer.C: make sure the X server sees the changes in the input.
14238
14239 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14240
14241         * paragraph.C (getFont): split into...
14242         (getLabelFont): this
14243         (getLayoutFont): and this
14244         * paragraph_pimpl.C (realizeFont): calling this
14245
14246         * text2.C (getFont): split into...
14247         (getLayoutFont): this
14248         (getLabelFont): and this
14249         (realizeFont): all three calling this
14250
14251         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14252         files where used.
14253
14254 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14255
14256         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14257
14258 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14259
14260         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14261         layouts from the Quote inset insertion.
14262
14263 2001-08-03  Juergen Vigna  <jug@sad.it>
14264
14265         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14266
14267         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14268         only if status not is already CHANGED_IN_DRAW (second level).
14269
14270         * text.C (draw): don't set the need_break_row when inside an
14271         InsetText LyXText.
14272
14273 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14274
14275         * buffer.C (parseSingleLyXformat2Token): handle more latex
14276         conversion cases.
14277
14278         * bufferview_funcs.[hC]: change function names to
14279         begin with small char, adjust other files.
14280
14281 2001-08-02  André Pönitz <poenitz@gmx.net>
14282
14283         * lyxfunc.C:
14284         BufferView_pimpl.C: remove broken special code for math-greek
14285
14286 2001-08-02  Juergen Vigna  <jug@sad.it>
14287
14288         * BufferView_pimpl.C (update): redone this function so that we
14289         update the text again if there was a CHANGE_IN_DRAW.
14290
14291         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14292         (drawFromTo): added a new internal bool which is used by draw() and
14293         redraw() function.
14294         (general): some cursor drawing problems fixed.
14295
14296 2001-08-01  Juergen Vigna  <jug@sad.it>
14297
14298         * lyxfind.C (LyXFind): fixed
14299         (SearchForward): ditto
14300         (SearchBackward): ditto
14301
14302         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14303         spurius drawing of the cursor in the main area.
14304
14305         * text2.C (status): small fix which could lead to a segfault!
14306         (clearSelection): remove unneeded BufferView param.
14307
14308 2001-08-01  André Pönitz <poenitz@gmx.net>
14309
14310         * lyxfunc.C: small change due to changed mathed interface
14311
14312 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14313
14314         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14315
14316 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14317
14318         * lyxfunc.c: fail gracefully if file doesn't exist
14319
14320         * LyXSendto.C:
14321         * buffer.C:
14322         * lyxfunc.C:
14323         * BufferView_pimpl.C: IsDirWriteable() proto changed
14324
14325         * LyXView.C: fix updateWindowTitle() to store the last title
14326
14327 2001-07-31  Juergen Vigna  <jug@sad.it>
14328
14329         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14330         the font (wrong since using of Paragraph::highestFontInRange).
14331
14332         * paragraph.C (highestFontInRange): added a default_size parameter.
14333
14334         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14335         (setHeightOfRow): reformat
14336
14337 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14338
14339         * converter.[hC] + affected files: move to (inital-char)lowercase
14340         function names.
14341
14342         * ParagraphParameters.C (ParagraphParameters): remove commented code
14343
14344         * PainterBase.[Ch]: remove commented code
14345
14346         * LaTeXFeatures.h: add "bool floats" for float.sty
14347
14348         * LaTeXFeatures.C (LaTeXFeatures): init floats
14349         (require): handle float
14350         (getPackages): do it with floats
14351
14352 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14353
14354         * BufferView_pimpl.C (Dispatch): improve handling of
14355         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14356
14357         * commandtags.h: #include lyxfont.h here temporarily to avoid
14358         keybinding bug.
14359
14360         * bufferlist.h: include LString.h here.
14361
14362 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14363
14364         * text2.C (getStringToIndex): new method.
14365
14366 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14367
14368         * *: Reduced header file dependencies all over.
14369
14370 2001-07-30  Baruch Even  <baruch@lyx.org>
14371
14372         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14373
14374 2001-07-29  Baruch Even  <baruch@lyx.org>
14375
14376         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14377
14378 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14379
14380         * ParameterStruct.h (endif): add a default constructor to make
14381         sure that all variables is initialized.
14382
14383         * ParagraphParameters.C (ParagraphParameters): adjust
14384
14385 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14386
14387         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14388         index; also, check that there is something to index, and that it
14389         does not span over several paragraphs.
14390         (doubleClick): use WHOLE_WORD_STRICT for double click.
14391
14392         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14393
14394         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14395         scheme.
14396
14397 2001-07-26  Baruch Even  <baruch@lyx.org>
14398
14399         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14400         an InsetFig figure, backwards compatible reading of old figure code.
14401
14402 2001-07-27  Juergen Vigna  <jug@sad.it>
14403
14404         * text2.C: font.realize function adaption.
14405
14406         * text.C (draw): add a warnings lyxerr text if needed.
14407
14408         * layout.C: font.realize function adaption.
14409
14410         * language.C: add inherit_language and implement it's handlings
14411
14412         * bufferview_funcs.C (StyleReset): remove language parameter from
14413         font creation (should be language_inherit now).
14414
14415         * bufferparams.C (writeFile): handle ignore_language.
14416
14417         * paragraph.C (getFontSettings): the language has to be resolved
14418         otherwise we have problems in LyXFont!
14419
14420         * lyxfont.C (lyxWriteChanges): added document_language parameter
14421         (update): removed unneeded language parameter
14422
14423         * paragraph.C (validate): fixed wrong output of color-package when
14424         using interface colors for certain fonts in certain environments,
14425         which should not seen as that on the final output.
14426
14427 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14428
14429         * BufferView_pimpl.C:
14430         * Thesaurus.h:
14431         * Thesaurus.C:
14432         * Makefile.am:
14433         * commandtags.h:
14434         * LyXAction.C: add thesaurus support
14435
14436         * lyxfind.h:
14437         * lyxfind.C: add "once" parameter, for thesaurus, to not
14438           move to the next match
14439
14440 2001-07-26  Juergen Vigna  <jug@sad.it>
14441
14442         * lyxfont.C (realize): honor ignore_language too!
14443         (resolved): ditto.
14444
14445         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14446
14447         * text.C (draw): one place more for ignore_language to not draw
14448         itself!
14449
14450 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14451
14452         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14453
14454 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14455
14456         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14457         the minipage conversion problem.
14458
14459 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14460
14461         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14462         insert an inset.
14463
14464 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14465
14466         * BufferView.h: don't forward declare WorkArea
14467
14468         * BufferView.C: don't include WorkArea.h
14469
14470 2001-07-25  André Pönitz <poenitz@gmx.net>
14471
14472         * commandtags.h:
14473         * LyXAction.C:
14474         * lyxfunc.C:  new LFUN 'math-space'
14475
14476         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14477
14478 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14479
14480         * text2.C (toggleInset): call open/close
14481
14482 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14483
14484         * lyxfunc.C (dispatch): add debug for the disabled case
14485
14486         * font.C (buttonText): make similar to rectText
14487
14488         * buffer.C (readInset): comment out parsing of insetlist and
14489         insttheorem
14490
14491         * PainterBase.C (rectText): small correction
14492
14493         * BufferView_pimpl.C: comment out insettheorem and insetlist
14494         * LyXAction.C: ditto
14495         * commandtags.h: ditto
14496
14497 2001-07-24  Juergen Vigna  <jug@sad.it>
14498
14499         * text.C (draw): honor the ignore_language.
14500
14501         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14502
14503 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14504
14505         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14506         char inset.
14507
14508 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14509
14510         * lyxtext.h: remove unused (and unimplemented) methods
14511
14512 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14513
14514         * text.C (getVisibleRow): honor background color
14515
14516         * PainterBase.h:
14517         * Painter.h: remove default color argument for fillRectangle
14518
14519         * text.C (backgroundColor): new method
14520
14521 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * text.C (getVisibleRow): adjust
14524
14525         * font.[Ch] (rectText): new method, metrics
14526         (buttonText): new method, metrics
14527
14528         * PainterBase.[hC]: make rectText and buttonText always draw and take
14529         fewer paramteres.
14530
14531 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14532
14533         * ToolbarDefaults.C (read):
14534         * MenuBackend.C (read): allow escaping in all strings
14535
14536         * BufferView_pimpl.C (insertAndEditInset): new method.
14537         (Dispatch): use insertAndEditInset whenever appropriate.
14538
14539         * BufferView_pimpl.C (insertNote): removed
14540
14541         * BufferView_pimpl.C (smartQuote): new method, moved from
14542         BufferView; if an insetquote cannot be inserted, insert a '"'
14543         character instead.
14544
14545         * BufferView2.C: remove insertCorrectQuote();
14546
14547         * lyxfunc.C (getStatus): Add support for all remaingin
14548         inset-insert lfuns.
14549
14550         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14551
14552         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14553         command (necessary to pass " as parameter of self-insert.
14554
14555         * text.C (selectWordWhenUnderCursor):
14556         (selectWord): add word_location parameter
14557         (selectWordWhenUnderCursor): same + remove special code for word
14558         boundary.
14559         (selectNextWord): use kind() to guess type of insetspecialchar,
14560         not latex().
14561
14562         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14563         (insertErtContents): create ert insets as collapsed.
14564         (readInset): better compatibility code for Info inset.
14565
14566 2001-07-20  Juergen Vigna  <jug@sad.it>
14567
14568         * lyxfunc.C (dispatch): use always LyXFind now!
14569
14570         * text2.C (init): add a reinit flag so that the LyXText can be
14571         reinited instead of deleted and reallocated (used in InsetText).
14572
14573         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14574
14575         * text.C: ditto
14576
14577         * text2.C: ditto
14578
14579 2001-07-18  Juergen Vigna  <jug@sad.it>
14580
14581         * text.C (selectNextWord): handle insets inside inset by calling
14582         always the bv->text functions so that we can go up the_locking_inset!
14583
14584         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14585         in strange locations when inside an inset!
14586
14587         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14588         handling to include insets.
14589
14590         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14591
14592 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * LyXAction.C (init):
14595         * commandtags.h:
14596         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14597         LIGATURE_BREAK, since the name is so stupid.
14598
14599 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14600
14601         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14602         InsetInfos.
14603
14604         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14605
14606         * sp_form.[Ch]: remove.
14607
14608         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14609
14610         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14611         InsetInfo.
14612
14613         * src/buffer.C (readInset): ditto.
14614
14615 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14616
14617         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14618         menuSeparator(), endOfSentenceDot(), ldots() and
14619         hyphenationPoint(), which are therefore removed.
14620         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14621
14622         * LyXAction.C (init):
14623         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14624
14625         * paragraph.C (getWord): removed.
14626
14627         * BufferView_pimpl.C (Dispatch): use last word or selection for
14628         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14629
14630         * lyx_main.C (queryUserLyXDir): do not ask before creating
14631         user_dir, except if it has been named explicitely.
14632
14633 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14634
14635         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14636         a document of zero size.
14637
14638 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14639
14640         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14641         approriately in the c-tor and in require().
14642         (getPackages): output the appropriate LaTeX for natbib support.
14643
14644         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14645         variables "use_natbib" and "use_numerical_citations" when reading the
14646         LyX file.
14647         (readInset): read the various natbib cite commands.
14648         (validate): white-space change.
14649
14650         * bufferparams.[Ch]: new variables "bool use_natbib" and
14651         "bool use_numerical_citations".
14652         (writeFile): output them in the LyX file.
14653
14654 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14655
14656         * lyxfunc.C (getStatus): add support for all the inset insertion
14657         commands.
14658
14659         * text2.C (insertInset):
14660         * paragraph.C (insetAllowed):
14661         * BufferView_pimpl.C (insertInset): update to take in account the
14662         renaming of insertInsetAllowed
14663
14664         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14665
14666         * text2.C (getInset): new method. returns inset at cursor position.
14667
14668         * BufferView_pimpl.C (Dispatch): changes because of this.
14669
14670         * LyXAction.C (init): rename open-stuff to inset-toggle.
14671
14672         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14673
14674         * text2.C (toggleInset): renamed from openStuff; use
14675         Inset::open().
14676
14677 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14678
14679         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14680
14681         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14682
14683 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14684
14685         * buffer.C (readLyXformat2): Add filename to the error dialog
14686
14687 2001-07-18  Juergen Vigna  <jug@sad.it>
14688
14689         * tabular.C (GetCellNumber): put an assert here instead of the check!
14690
14691 2001-07-17  Juergen Vigna  <jug@sad.it>
14692
14693         * BufferView_pimpl.C (toggleSelection): adapted too.
14694
14695         * text.C (selectNextWord): adapted for use with insets.
14696         (selectSelectedWord): ditto
14697
14698 2001-07-17  Juergen Vigna  <jug@sad.it>
14699
14700         * sp_spell.C (PSpell): fix initialitation order.
14701
14702 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14703
14704         * paragraph.C: spacing
14705
14706 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14707
14708         * sp_spell.C: repair language selection for pspell
14709
14710 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * lyxfunc.h: change more methods to begin with lower char.
14713
14714 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14715
14716         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14717         for unknown layouts.
14718
14719 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14720
14721         * buffer.C (readLyXformat2): Generate an error dialog if there are
14722         unknown layouts.
14723
14724 2001-07-16  Juergen Vigna  <jug@sad.it>
14725
14726         * sp_spell.C: always compile ISpell part.
14727
14728         * lyxrc.C: added use_pspell entry and it's handling.
14729
14730 2001-07-13  Juergen Vigna  <jug@sad.it>
14731
14732         * sp_spell.C: removed double includes.
14733
14734 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14735
14736         Consistent use of Lsstream.h:
14737         * Lsstream.h: added using std::stringstream for consistencies sake.
14738
14739         * buffer.C: removed using std::stringstream
14740
14741         * lyxfont.C (stateText):
14742         * paragraph.C (asString):
14743         * text.C (selectNextWord, selectSelectedWord):
14744         * text2.C (setCounter):
14745         * vspace.C (asString, asLatexString):
14746         std::ostringstream -> ostringstream.
14747
14748 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14749
14750         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14751         * commandtags.h: add LFUN_HELP_ABOUTLYX
14752         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14753
14754 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14755
14756         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14757         cursorToggle()
14758         * lyx_gui_misc.C: remove spellchecker
14759         * lyxfunc.C: showSpellchecker
14760         * sp_base.h: added
14761         * sp_ispell.h: added
14762         * sp_pspell.h: added
14763         * sp_spell.C: added
14764         * sp_form.[Ch]: removed
14765         * spellchecker.[Ch]: removed
14766
14767 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14768
14769         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14770         is set.
14771         (simpleTeXSpecialChars): Simply print the input character without
14772         any special translation if pass_thru is set.
14773
14774         * layout.h: Added bool pass_thru to layout class for being able to
14775         implement pass through of a paragraph for Literate Programming.
14776
14777         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14778         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14779         * layout.C (Read): add "passthru" to list of layout tags and add
14780         code to set the pass_thru boolean when it is read.
14781
14782 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14783
14784         * trans_decl.h: remove allowed from KmodInfo
14785
14786         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14787         remove allowed code
14788         (Load): adjust
14789
14790         * paragraph_pimpl.C (erase): use boost::prior
14791
14792         * Painter.C (text): use data() instead of c_str() when length is
14793         also provided.
14794         * WorkArea.C (putClipboard): ditto
14795         * font.h (width): ditto
14796
14797         * BufferView2.C: use it-> instead of (*it). for iterators
14798         * texrow.C: ditto
14799         * paragraph_pimpl.C: ditto
14800         * paragraph.C: ditto
14801         * minibuffer.C: ditto
14802         * language.C: ditto
14803         * kbmap.C: ditto
14804         * encoding.C: ditto
14805         * counters.C: ditto
14806         * converter.C: ditto
14807         * chset.C: ditto
14808         * Variables.C: ditto
14809         * TextCache.C: ditto
14810         * MenuBackend.C: ditto
14811         * LyXAction.C: ditto
14812         * LColor.C: ditto
14813         * FloatList.C: ditto
14814         * DepTable.C: ditto
14815         * ColorHandler.C (LyXColorHandler): ditto
14816
14817 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14818
14819         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14820
14821         * text2.C (openStuff): reintroduce this method (which had been
14822         nuked in NEW_INSETS frenzy).
14823
14824         * lyxfunc.C (Dispatch): when an action has not been handled, use
14825         its name in the error message, not its number.
14826
14827         * paragraph.C (inInset): change method name to begin with lowercase.
14828
14829         * undo_funcs.C:
14830         * text2.C: updates because of this.
14831
14832 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14833
14834         * ToolbarDefaults.C (add): add spaces in error message
14835
14836 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14839         (readLyXformat2): rename return_par to first_par, use lyxlex's
14840         pushToken and remove the manual push handling.
14841         (parseSingleLyXformat2Token): add another ert comp. variable:
14842         in_tabular, rename return_par to first_par. handle newlines better
14843
14844 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14845
14846         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14847
14848 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14849
14850         * text2.C (getParFromID): removed
14851
14852         * buffer.C (getParFromID): new method moved form lyxtext.
14853         * BufferView2.C (insertErrors): adjust
14854         (setCursorFromRow): adjust
14855         * BufferView_pimpl.C (restorePosition): adjust
14856         * lyxfunc.C (Dispatch): adjust
14857         * undo_funcs.C (textUndo): adjust
14858         (textRedo): adjust
14859         (textHandleUndo): adjust
14860         (textHandleUndo): adjust
14861
14862 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * buffer.C: up' the LYX_FORMAT
14865
14866         * lyxfont.h: turn NO_LATEX on as default
14867
14868         * buffer.C (insertErtContents): new methods of tex style compability.
14869         (parseSingleLyXformat2Token): use it several places.
14870         * tabular.C (OldFormatRead): and here
14871
14872 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14873
14874         * text2.C: remove some commented code.
14875         reindent file.
14876
14877         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14878         * trans.C: changes because of the above.
14879
14880 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14881
14882         * text2.C (setCounter): Fix counters bug with bibliography layout.
14883
14884 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14885
14886         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14887         own member functions
14888         (simpleTeXSpecialChars): ditto
14889
14890 2001-07-06  Juergen Vigna  <jug@sad.it>
14891
14892         * a lot of files: changed the access to LyXText::status and the
14893         call of undo-functions.
14894
14895         * undo.[Ch]: added a inset_id to the undo informations.
14896
14897         * undo_funcs.[Ch]: added and moved here all undo functions.
14898
14899         * lyxtext.h: give the status enum a weight, made status_ a private
14900         variable and made accessor functions for it, removed the whole bunch
14901         of undo-functions as they are now in their own file, make some
14902         functions publically available. Added function ownerParagraph with
14903         int parameter.
14904
14905         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14906         made InInset() a const function, added getParFromID() function.
14907
14908         * buffer.[Ch]: added const version for inset_iterator functions,
14909         added getInsetFromID() function.
14910
14911         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14912         changed undo functions for new version.
14913
14914 2001-07-05  Juergen Vigna  <jug@sad.it>
14915
14916         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14917         unknow mechanism does not call the proper constructor but only this
14918         one also if I request the other!?
14919
14920 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14923
14924         * text2.C (LyXText): use initialization lists.
14925
14926         * lyxtext.h (Selection): initialize set_ and mark_
14927         (init): remove method
14928
14929 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14930
14931         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14932
14933 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * screen.[Ch]: change method names to begin with lowercase
14936
14937         * BufferView_pimpl.C (updateScrollbar): simplify further and
14938         hopefully make it a bit faster.
14939
14940 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14941
14942         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14943         calling directly xforms functions.
14944
14945         * Painter.C (Painter):
14946         * lyx_cb.C (MenuWrite):
14947         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14948         fl_display.
14949
14950         * lyx_gui.C: remove bogus guiruntime extern declaration.
14951
14952 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14953
14954         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14955         in NEW_INSETS
14956         (redoDrawingOfParagraph): ditto
14957         (redoParagraphs): ditto
14958         (cutSelection): don't create a object for CutAndPaste use the
14959         static method directly
14960         (pasteSelection): ditto
14961
14962         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14963         LyXview (+ rename)
14964
14965 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * modifications to some other files because of this.
14968
14969         * Makefile.am (lyx_SOURCES): add XFormsView
14970
14971         * XFormsView.[Ch]: new files
14972
14973         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14974         the main window. Move the gui dependent stuff to XFormsView
14975
14976 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * tabular.C (GetCellInset): update cur_cell also in the row/col
14979         version of this function.
14980
14981         * lyxfunc.C: no need to include figure_form.h here.
14982
14983         * FontLoader.h:
14984         * lyxfunc.h:
14985         * lyxscreen.h:
14986         * text2.C:
14987         * lyxvc.C: no need to include forms.h here.
14988
14989 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14992
14993         * lyxfunc.C (Dispatch):
14994         * Spacing.C (set):
14995         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14996         constructor argument.
14997
14998 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14999
15000         * paragraph.C (Paragraph): dont't clear, and just set layout.
15001         (makeSameLayout): use params's copy contructor.
15002
15003         * ParagraphParameters.[Ch] (makeSame): delete method
15004
15005 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * Variables.[Ch]: fix indentation, rename set to isSet
15008
15009 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15010
15011         * lyxfunc.C (Dispatch): fix typo
15012
15013 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15014
15015         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15016         upper_bound.
15017
15018         * bufferlist.C: include assert.h for emergencyWrite().
15019
15020 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15021
15022         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15023           give up at last (bug #425202) !
15024
15025 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * lyx_gui_misc.C:
15028         * sp_form.h:
15029         * sp_form.C:
15030         * spellchecker.h:
15031         * spellchecker.C: strip spellchecker options and bring up
15032           preferences tab instead
15033
15034 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15035
15036         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15037         the istringstream constructor
15038
15039 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * paragraph.C (getLayout): fix return value
15042
15043         * paragraph.h: do not declare getLayout as inline.
15044
15045         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15046
15047 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15048
15049         * lyxcursor.h (operator<): new func
15050         (operator>): new func
15051         (operator>=): new func
15052         (operator<=): new func
15053
15054         * text.C (changeCase): use selection.start and selection.end
15055         (changeRegionCase): require from to be <= to. Require par to be a
15056         valid paragraph.
15057
15058         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15059
15060 2001-06-27  Juergen Vigna  <jug@sad.it>
15061
15062         * text.C (cursorLeftOneWord): changed to return the cursor and added
15063         overlay with BufferView * parameter which calls this one.
15064         (getWord): added
15065         (selectWord): use new getWord function.
15066         (changeCase): renamed from changeWordCase as and extended to work
15067         also on selections.
15068
15069         * lyxtext.h: added enum word_location
15070
15071         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15072         changeCase as this operates now also on selections.
15073
15074 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15075
15076         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15077
15078         * many files: send debug output to Debug::INFO instead of
15079         Debug::ANY.
15080
15081         * converter.C (View):
15082         (Convert):
15083         (Move): send debug output to Debug::FILES instead of console.
15084
15085 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15086
15087         * lyxfunc.C (getStatus): use func_status
15088
15089         * func_status.h: new header, describing the results of
15090         LyXFunc::getStatus;
15091
15092         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15093         LFUN_MATH_HALIGN.
15094
15095 2001-06-25  The LyX Project  <jug@sad.it>
15096
15097         * buffer.C (sgmlOpenTag):
15098         (sgmlCloseTag):
15099         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15100
15101 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * text2.C: remove some dead code
15104
15105         * tabular.C (GetCellInset): store the last cell checked (gotten)
15106
15107         * tabular.h: add the helper for the speedup
15108
15109         * lyxtext.h: remove some dead code
15110
15111 2001-06-26  The LyX Project  <Asger>
15112
15113         * paragraph.C: Change export to LaTeX of alignment to
15114         \begin{center} and family for better roundtrip work with reLyX.
15115
15116         * Tune the math drawing a bit.
15117
15118 2001-06-25  The LyX Project  <Asger>
15119
15120         * LColor.C (LColor): New color for math background. New color
15121         for buttons.
15122
15123 2001-06-25  The LyX Project  <jug@sad.it>
15124
15125         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15126
15127         * lyxfunc.C (Open):
15128         * bufferlist.C (newFile): do not restrict to files ending with
15129         .lyx
15130
15131         * BufferView_pimpl.C (MenuInsertLyXFile):
15132
15133 2001-06-24  The LyX Project  <jug@sad.it>
15134
15135         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15136         of compare_no_case
15137
15138 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15139
15140         * lyxtext.h: rename most methods to begin with a small char.
15141         Lots of changes because of this.
15142
15143         * paragraph.C (Paragraph): do not call fitToSize
15144         (erase): call Pimpl::erase
15145         (insertChar): call Pimpl::insertChar
15146         (insertInset): call Pipl::insertInset
15147         (breakParagraph): do not call fitToSize
15148         (breakParagraphConservative): do not call fitToSize
15149         (fitToSize): remove method
15150
15151         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15152
15153 2001-06-24  The LyX Project  <Asger>
15154
15155         * Fix Qt compilation^2
15156
15157 2001-06-24  The LyX Project  <jug@sad.it>
15158
15159         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15160         depthHook(getDepth()-1).
15161
15162         * paragraph.h:
15163         * ParagraphParameters.h:
15164         * ParameterStruct.h: change type of depth to unsigned int ==
15165         depth_type. Many adaptations to other files before of that.
15166
15167 2001-06-24  The LyX Project  <Asger>
15168
15169         * Fix Qt compilation.
15170
15171 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15172
15173         * paragraph.h: renamed several methods to begin with small letter.
15174         several changes to many parts of the code because of this.
15175
15176 2001-06-23  The LyX Project  <jug@sad.it>
15177
15178         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15179         rewritten to discard all double spaces when KeepEmpty is off
15180         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15181         to only handle newlines but not fiddle with spaces and friends.
15182
15183         * lyxfunc.C (MenuNew): when doing 'new from template', use
15184         template_path as default directory
15185
15186 2001-06-23  The LyX Project  <Asger>
15187
15188         * Clean-up of header file includes all over
15189         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15190
15191 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15192
15193         * paragraph.h: renamed from lyxparagraph.h
15194
15195 2001-06-23  Asger  <lyx@violet.home.sad.it>
15196
15197         * Buffer.h: Removed Buffer::resize
15198         * BufferList.h: Removed BufferList::resize
15199         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15200         the document lazily when we change the width, or the font settings.
15201
15202 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15203
15204         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15205
15206 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15207
15208         * buffer.h: remove out of date comment
15209
15210 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * lyxscreen.h:
15213         * screen.C: fix "theoretical" GC leak
15214
15215 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15216
15217         * LaTeX.C (scanAuxFile):
15218         (deplog): remove trailing \r when reading stream (useful under
15219         win32)
15220
15221 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15222
15223         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15224         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15225         and BufferView::theLockingInset(Inset*), so should use them and not
15226         access bv_->text->the_locking_inset directly.
15227
15228         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15229
15230 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15231
15232         * Makefile.am:
15233         * tex-defs.h: remove old unused file
15234
15235 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15236
15237         * BufferView_pimpl.C: fix typo, remove minibuffer message
15238           when buffer has loaded
15239
15240 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15241
15242         * lyxfunc.C (Dispatch): use stringstream
15243         (MenuNew): use stringstream
15244         (Open): use stringstream
15245
15246         * importer.C (Import): use stringstream
15247
15248         * bufferview_funcs.C (CurrentState): use stringstream
15249
15250         * LaTeX.C (run): use stringstream
15251
15252         * BufferView_pimpl.C (savePosition): use stringstream
15253         (restorePosition): use stringstream
15254         (MenuInsertLyXFile): use stringstream
15255
15256 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15257
15258         * BufferView.C:
15259         * Bullet.C:
15260         * ColorHandler.C:
15261         * FontInfo.C:
15262         * FontLoader.C:
15263         * LColor.C:
15264         * LaTeXFeatures.C:
15265         * Painter.C:
15266         * gettext.C:
15267         * lyx_gui_misc.C:
15268         * lyxserver.C:
15269         * vspace.C: removed // -*- C++ -*- as first line.
15270
15271         * lyxfind.h:
15272         * version.h: added // -*- C++ -*- as first line.
15273
15274 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15277
15278         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15279         of string
15280
15281 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15282
15283         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15284         of floats.
15285
15286 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * gettext.C: include LString.h even when --disable-nls is on.
15289
15290 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15291
15292         * converter.h (Get): changed argument type from int to
15293         FormatList::size_type to avoid unnecessary conversion.
15294
15295         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15296         before using it.
15297
15298 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * gettext.h: include LString.h even when --disable-nls is on.
15301
15302 2001-06-07  Juergen Vigna  <jug@sad.it>
15303
15304         * text.C (BreakAgain): subst spaces with tabs.
15305
15306         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15307         (resizeInsetsLyXText): set force on resizeLyXText.
15308
15309 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15310
15311         * gettext.h (gettext_init):
15312         (locale_init): use a real definition instead of a macro
15313
15314 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * Bufferview_pimpl.C:
15317         * LColor.h:
15318         * LColor.C: further lcolor tidies
15319
15320 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * BufferView_pimpl.C (updateScrollbar): simplify.
15323
15324         * BufferView2.C: don't include insets/insetinfo.h, change
15325         prototype for insertInset and call the Pimpl version. let
15326         updateInset call Pimpl version.
15327
15328         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15329         gotoInset to BufferView::Pimpl
15330
15331 2001-06-01  Juergen Vigna  <jug@sad.it>
15332
15333         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15334         inside a LockingInset (is the update needed at all?).
15335
15336 2001-05-31  Juergen Vigna  <jug@sad.it>
15337
15338         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15339         here not the old one otherwise how should we compare it afterwards
15340         if it's the same!
15341
15342 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * lyxfont.C:
15345         * tabular.C:
15346         * tabular-old.C:
15347         * FontInfo.C: bring C functions into global namespace when
15348         necessary
15349
15350 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * LString.h: make sure config.h has been loaded before LString.h.
15353
15354         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15355         (one for each char read by EatLine!).
15356
15357         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15358         variables.
15359
15360 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15361
15362         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15363         to the same as the par we break from
15364
15365 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15368
15369         * MenuBackend.C (expand): also create menu entries for wide
15370         versions of the floats.
15371
15372         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15373
15374         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15375
15376         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15377         frontends/Makefile.am
15378
15379         * text2.C: adjust
15380         * text.C: adjust
15381
15382
15383         * tabular.C (getTokenValue): add std::
15384
15385         * tabular-old.C (getTokenValue): add std::
15386         (getTokenValue): ditto
15387         (getTokenValue): ditto
15388
15389         * screen.C (ToggleSelection): adjust
15390
15391         * lyxtext.h: put selection cursors inside a Selection struct.
15392
15393         * lyxfunc.C (moveCursorUpdate): adjust
15394
15395         * lyxfont.C (latexWriteStartChanges): add std::
15396
15397         * lyxfind.C: adjust
15398
15399         * font.h: delete with(char const *, LyXFont const &)
15400
15401         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15402
15403         * FontInfo.C (getFontname): add std::
15404
15405         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15406         (workAreaButtonPress): adjust
15407         (tripleClick): adjust
15408         (update): adjust
15409         (moveCursorUpdate): adjust
15410         (Dispatch): adjust
15411
15412         * BufferView2.C (gotoInset): adjust
15413
15414 2001-05-30  Juergen Vigna  <jug@sad.it>
15415
15416         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15417         to check pspell I add this as default as I now have new pspell
15418         libraries and they seem to use this.
15419
15420 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15421
15422         * text2.C (CutSelection): make the cursor valid before the call to
15423         ClearSelection.
15424
15425 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15428         relied on 0 terminated strings and other horrors. Bug found due to
15429         the new assert in lyxstring!
15430
15431         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15432         KP_ keys.
15433
15434 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15437         to latinkeys.bind.
15438
15439         * lyxfunc.C (processKeySym): change method of getting to the
15440         self-insert char.
15441
15442         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15443         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15444         * BufferView_pimpl.[Ch]: here as private methods.
15445
15446 2001-05-28  Juergen Vigna  <jug@sad.it>
15447
15448         * text.C (SetHeightOfRow): added the update() call again as it is
15449         needed to initialize inset dimensions!
15450
15451 2001-05-16  Juergen Vigna  <jug@sad.it>
15452
15453         * text2.C (SetCharFont): Add new function with BufferView * and
15454         bool toggleall parameters for setting insets internal fonts.
15455         (SetFont): Freeze the undo as we may change fonts in Insets and
15456         all this change should be inside only one Undo!
15457
15458         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15459         setting font's in insets as for them we have the SetFont function!
15460
15461 2001-05-15  Juergen Vigna  <jug@sad.it>
15462
15463         * text2.C (ClearSelection): to be sure we REALLY don't have any
15464         selection anymore!
15465
15466         * tabular.C (TeXCellPreamble): fixed the left border problem for
15467         multicolumn cells.
15468
15469 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15470
15471         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15472         dependancy file
15473
15474 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15477         LFUN_BREAKPARAGRAPH.
15478
15479         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15480         help test to "internal only", similar for LFUN_INSERT_URL
15481
15482         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15483         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15484         auto_region_delete and deadkeys.
15485
15486 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15487
15488         * LColor.h:
15489         * LColor.C: remove some dead entries, tidy a little
15490
15491 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15494         commented code.
15495         (Dispatch): implement LFUN_ESCAPE
15496
15497         * commandtags.h: add LFUN_ESCAPE
15498
15499         * LyXAction.C (init): add entry for LFUN_ESCAPE
15500
15501         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15502         Remove commented code.
15503         (insertNote): moved here
15504         (open_new_inset): moved here
15505
15506         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15507         BufferView_pimpl
15508
15509 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15510
15511         * kbmap.C (findbinding): clean it up and make it work correctly.
15512
15513         * lyx_main.C (init): do not pass argc and argv as parameters
15514
15515 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15516
15517         * buffer.C: fix path for OS/2 & Win32
15518
15519         * lyx_gui.C:
15520         * lyx_main:
15521         * lyx_main.C: Added os:: class.
15522
15523         * os2_defines.h: update
15524
15525 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15528         better by trying again with reduced state.
15529
15530 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15531
15532         * lyxrc.C (read): print error about invalid key sequence only when
15533         debugging (because not all latinX keysyms are known to some X
15534         servers)
15535
15536         * kbsequence.C (getiso): add a few std:: qualifiers
15537         (getiso): comment out extra return statement.
15538
15539 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15540
15541         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15542         handling.
15543         (Dispatch): enhance the accent inset a bit. (not perfect)
15544
15545 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15546
15547         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15548
15549 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * bufferlist.C (emergencyWrite): fix assert() call
15552
15553 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15554
15555         * text.C (InsertChar): Added trivial patch to only send the "you
15556         can not do multiple spaces this way" message once during a
15557         session.
15558
15559 2001-05-08  Baruch Even  <baruch@lyx.org>
15560
15561         * Makefile.am: Changed order of libraries to get LyX to link properly
15562         with the gnome frontend.
15563
15564 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * LaTeXFeatures.h: add a std:: qualifier
15567
15568 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15569
15570         * paragraph.C (String): use stringstream
15571
15572 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15573
15574         * paragraph.C (writeFile): remove footflag arg
15575
15576         * buffer.C (makeLaTeXFile): use stringstream
15577         (latexParagraphs): remove footnot gurba
15578
15579         * LaTeXFeatures.C (getPackages): use stringstream
15580         (getMacros): likewise
15581         (getTClassPreamble): likewise
15582         (getFloatDefinitions): new method
15583
15584         * paragraph.C (writeFile): reindent
15585         (Erase): reindent
15586
15587         * WorkArea.h: revert the xpos + etc changes.
15588
15589         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15590
15591         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15592
15593         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15594         (pasteSelection): likewise
15595         * text2.C (CreateUndo): likewise
15596
15597 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15598
15599         * minibuffer.C (peek_event): temporarily reduce the functionality
15600         of the minibuffer (to allow args on lfuns)
15601
15602         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15603         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15604
15605         * buffer.C (readInset): add compability reading of old float
15606         lists, add reading of new style float list.
15607         (readInset): avoid reevaluation of inscmd.getCmdName()
15608         (getLists): reindent
15609
15610         * MenuBackend.C (MenuItem): implement parsing of
15611         md_floatlistinsert and md_floatinsert.
15612         (expand::LastFiles): move initalizaton of iterators out of loop,
15613         avoid reevaluation.
15614         (expand::Documents): introduce typdedef vector<string> Strings,
15615         and use it.
15616         (expand::ExportFormats): introduce typedef vector<Format const *>
15617         Formats, and use it.
15618         (expand): implement FloatListInsert and FloatInsert.
15619
15620         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15621         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15622         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15623
15624         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15625         handling.
15626         (Dispatch::LFUN_FLOAT_LIST): implement
15627
15628 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15629
15630         * LaTeX.C (run): Fix problem with --export code.
15631
15632 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15633
15634         * BufferView.[Ch] (workarea): removed.
15635         (getClipboard) new method; wrapper for workarea()->getClipboard()
15636
15637         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15638         bug.
15639
15640         * WorkArea.h (width, height, xpos, ypos): These methods all
15641         returned the dimensions of the work_area sub-area of WorkArea,
15642         resulting in a position error if the WorkArea were resized. Now
15643         return the dimensions of the entire WorkArea.
15644
15645         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15646
15647 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15648
15649         * LaTeX.C (deplog): correct the syntax of regex reg1
15650
15651 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15652
15653         * undo.C: remove !NEW_INSETS cruft
15654
15655 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15656
15657         * text2.C: remove !NEW_INSETS cruft
15658
15659         * text.C: remove !NEW_INSETS cruft
15660
15661         * tabular.C: remove !NEW_INSETS cruft
15662
15663         * spellchecker.C: remove !NEW_INSETS cruft
15664
15665         * lyxtext.h: remove !NEW_INSETS cruft
15666
15667         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15668
15669         * lyxfunc.C: remove !NEW_INSETS cruft
15670
15671         * lyxfind.C: remove !NEW_INSETS cruft
15672
15673         * lyx_cb.C: remove !NEW_INSETS cruft
15674
15675         * figureForm.C: remove  !NEW_INSETS cruft
15676
15677         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15678
15679         * buffer.[Ch]: remove !NEW_INSETS cruft
15680
15681         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15682
15683         * CutAndPaste.C: remove !NEW_INSETS cruft
15684
15685         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15686
15687         * BufferView2.C: remove !NEW_INSETS cruft
15688
15689         * BufferView.h: remove !NEW_INSETS cruft
15690
15691 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * Lsstream.h: include LString.h before the sstream headers to
15694         fix problem with gcc 2.95.3 and lyxstring
15695
15696 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15697
15698         * lyx_main.C: add using directives when needed for C functions
15699         declared in std:: namespace.
15700
15701 2001-04-27  Juergen Vigna  <jug@sad.it>
15702
15703         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15704         (SetHeightOfRow): comment out the update call should not be needed!
15705
15706 2001-04-13  Juergen Vigna  <jug@sad.it>
15707
15708         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15709         (LyXTabular): tried to minimize operator= operations (and realized
15710         hopfully Lars wish).
15711
15712 2001-04-27  Juergen Vigna  <jug@sad.it>
15713
15714         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15715
15716 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15717
15718         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15719
15720         * buffer.C (readInset): hack to make listof algorithm work
15721
15722         * BufferView_pimpl.C: hack to make listof algorithm work
15723
15724 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15725
15726         * LyXAction.C: removed all !NEW_INSETS cruft
15727         (init): moved lfun_item in method
15728
15729         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15730
15731 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15732
15733         * BufferView2.C (theLockingInset): white space.
15734
15735 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15736
15737         * minibuffer.C: include <iostream>
15738
15739         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15740
15741         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15742
15743         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15744
15745         * text.[Ch] (TransposeChars): new method
15746
15747 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15748
15749         * call message directly through LyXView instead of through LyXFunc
15750         * BufferView2.C: adjust
15751         * BufferView_pimpl.C: adjust
15752         * FontLoader.C: adjust
15753         * buffer.C: adjust
15754         * bufferview_funcs.C: adjust
15755         * converter.C: adjust
15756         * figureForm.C: adjust
15757         * importer.C: adjust
15758         * lyx_cb.C: adjust
15759         * lyx_gui_misc.C: adjust
15760         * lyxfunc.C: adjust
15761         * lyxvc.C: adjust
15762         * text2.C: adjust
15763         + more files in subdirs
15764
15765         * lyxparagraph.h (size): move up int file
15766         (GetLayout): ditto
15767
15768         * adjust all uses of Assert to lyx::Assert.
15769
15770         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15771         lyxfunctional in namespace lyx
15772         * layout.C (hasLayout): ditto
15773         (GetLayout): ditto
15774         (GetLayout): ditto
15775         (delete_layout): ditto
15776         (NumberOfClass): ditto
15777         * converter.C (GetFormat): ditto
15778         (GetNumber): ditto
15779         (Add): ditto
15780         (Delete): ditto
15781         (SetViewer): ditto
15782         * bufferlist.C (getFileNames): ditto
15783         (emergencyWriteAll): ditto
15784         (exists): ditto
15785         (getBuffer): ditto
15786         * MenuBackend.C (hasSubmenu): ditto
15787         (hasMenu): ditto
15788         (getMenu): ditto
15789         * BufferView_pimpl.C (getInsetByCode): ditto
15790
15791 2001-04-18  Juergen Vigna  <jug@sad.it>
15792
15793         * vspace.C (asLatexString): fixed the 100% problem.
15794
15795 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15796
15797         * lyxfunc.C (Dispatch):
15798         * minibuffer.C:
15799         * minibuffer.h: add a few std:: qualifiers
15800
15801 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15802
15803         * minibuffer.[Ch]: reimplement so that commands is initiated and
15804         run from lyxfunc, simplified som handling, and made the completion
15805         and history code for complete. wip.
15806
15807         * lyxfunc.C (processKeySym): call message
15808         (miniDispatch): new temporary method
15809         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15810         (LFUN_MESSAGE): implement
15811         (LFUN_MESSAGE_PUSH): implement
15812         (LFUN_MESSAGE_POP): implement
15813         (initMiniBuffer): the initial/defualt minibuffer message.
15814
15815         * lyxfont.[Ch]: inline some more getters
15816
15817         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15818
15819         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15820
15821         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15822         (AutoSave): use LFUN_MESSAGE
15823         (Reconfigure): ditto
15824
15825         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15826
15827         * figureForm.C: use LFUN_MESSAGE
15828
15829         * converter.C (runLaTeX): use LFUN_MESSAGE
15830
15831         * bufferview_funcs.C: use LFUN_MESSAGE
15832         (Melt): ditto
15833         (changeDepth): ditto
15834
15835         * bufferparams.h: use boost::
15836
15837         * bufferlist.h: inherit privately from noncopyable
15838
15839         * bufferlist.C (loadLyXFile): remove some commented code.
15840
15841         * buffer.C (runChktex): use LFUN_MESSAGE
15842
15843         * ShareContainer.h: inherit privately from noncopyable
15844
15845         * ParagraphParameters.[hC] (depth): inline it.
15846
15847         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15848         methods.
15849         (message): new method
15850         (messagePush): ditto
15851         (messagePop): ditto
15852         (show): init minibuffer
15853         (showState): direct call
15854
15855         * LaTeX.[Ch]: inherit privately from noncopyable
15856         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15857         instead of WriteStatus.
15858
15859         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15860
15861         * BufferView_pimpl.C (buffer): don't init minibuffer
15862         (workAreaButtonPress): use LFUN_MESSAGE
15863         (workAreaButtonRelease): ditto
15864         (savePosition): ditto
15865         (restorePosition): ditto
15866         (MenuInsertLyXFile): ditto
15867         (workAreaExpose): don't init minibuffer
15868         (update): remove commented code, simplify
15869
15870         * BufferView2.C (openStuff): use LFUN_MESSAGE
15871         (toggleFloat): ditto
15872         (menuUndo): ditto
15873         (menuRedo): ditto
15874         (copyEnvironment): ditto
15875         (pasteEnvironment): ditto
15876         (copy): ditto
15877         (cut): ditto
15878         (paste): ditto
15879         (gotoInset): ditto
15880         (updateInset): remove some commented code
15881
15882         * lastfiles.h: inherit privately from noncopyable
15883         * layout.h: ditto
15884         * lyx_gui.h: ditto
15885         * lyx_main.h: ditto
15886         * lyxlex.h: ditto
15887         * lyxlex_pimpl.h: ditto
15888
15889         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15890         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15891         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15892
15893         * LyXAction.h: inherit privately from noncopyable, add methods
15894         func_begin, func_end, returning iterators to the func map.
15895
15896         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15897         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15898         (func_begin): new method
15899         (func_end): new method
15900
15901         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15902         and not)
15903         (copySelection): ditto
15904         (pasteSelection): ditto
15905
15906         * BufferView.C: whitespace change
15907         * BufferView.h: inherit privately from noncopyable
15908
15909 2001-04-16  Allan Rae  <rae@lyx.org>
15910
15911         * tabular-old.C (l_getline):
15912         * spellchecker.C (sc_check_word):
15913         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15914         an unrecognised preprocessor directive.  So ensure they're wrapped.
15915
15916 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15917
15918         * src/exporter.C (Export): Give an error message when path to file
15919         contains spaces.
15920
15921 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15922
15923         * LaTeX.C (deplog): Always check that foundfile exists.
15924
15925 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15926
15927         * lyx_main.h:
15928         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15929
15930 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15931
15932         * tabular.[Ch] (getLabelList): implement new method
15933
15934         * minibuffer.h: comment ouf setTiimer
15935
15936         * minibuffer.C (ExecutingCB): constify res
15937         (peek_event): constify s
15938         (Set): constify ntext
15939         (Init): constify nicename
15940
15941         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15942
15943         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15944         (savePosition): use two params to Minibuffer::Set
15945         (restorePosition): ditto
15946
15947 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * lyx_main.C: include language.h
15950
15951         * Makefile.am (lyx_main.o): add language.h
15952
15953 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15954
15955         * exporter.C:
15956         * paragraph.C:
15957         * screen.C:
15958         * tabular.C:
15959         * CutAndPaste.C: include gettext.h
15960
15961         * lyxfont.h: remove old hack with ON and OFF.
15962
15963         * lyxparagraph.h:
15964         * lyxfont.h: do not include language.h...
15965
15966         * BufferView2.C:
15967         * LaTeXFeatures.C:
15968         * Painter.C:
15969         * bufferview_funcs.C:
15970         * font.C:
15971         * lyxfont.C:
15972         * text.C:
15973         * text2.C:
15974         * trans_mgr.C:
15975         * paragraph.C: ... but do it here instead
15976
15977 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15978
15979         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15980
15981         * tabular.C: small reformat
15982
15983         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15984         NEW_INSETS version
15985         (GetChar): ditto
15986         (BreakParagraph): ditto
15987         (SetOnlyLayout): ditto
15988         (SetLayout): ditto
15989
15990         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15991         with one arg less.
15992
15993         * lastfiles.C: removed most using decl, add std:: where needed
15994
15995         * buffer.C: ws changes
15996
15997         * MenuBackend.C (class compare_format): put into anon namespace
15998         (expand): constify label, names, action, action2
15999         (expand):
16000
16001         * text.C (SingleWidth): constify font
16002         (IsBoundary): constify rtl2
16003         (GetVisibleRow): constify ww
16004
16005         * LaTeX.C (deplog): constify logfile
16006
16007         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16008         start_x, end_x
16009         (workAreaExpose): constify widthChange, heightChange
16010
16011         * lyxrow.C (par): moved
16012         (height): moved
16013         (next): moved
16014         * lyxrow.h: as inlines here
16015
16016         * lyxfont.h (shape): moved from lyxfont.C
16017         (emph): moved from lyxfont.C
16018
16019         * lyxfont.C (LyXFont): use initialization list for all
16020         constructors
16021         (shape): move to lyxfont.h as inline
16022         (emph): move to lyxfont.h as inline
16023
16024
16025 2001-04-04  Juergen Vigna  <jug@sad.it>
16026
16027         * vspace.C: had to include stdio.h for use of sscanf
16028
16029 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16030
16031         * BufferView.h:
16032         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16033         independent of xforms.
16034
16035 2001-04-02  Juergen Vigna  <jug@sad.it>
16036
16037         * spellchecker.C: fixed namespace placing!
16038
16039 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16042         the LyXParagraph * is 0.
16043
16044 2001-03-29  Juergen Vigna  <jug@sad.it>
16045
16046         * vspace.C: added support for %, c%, p%, l%.
16047         (stringFromUnit): added helper function.
16048         (asLatexString): changed to give right results for the %-values.
16049
16050         * buffer.C: convert the widthp in a width%.
16051
16052 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16053
16054         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16055         figureForm.[Ch].
16056
16057         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16058         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16059
16060         * lyx_cb.[Ch]: see above.
16061
16062         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16063         form1.[Ch].
16064
16065         * form1.[Ch]:
16066         * lyx.[Ch]: replaced by figure_form.[Ch].
16067
16068         * lyx_gui.C:
16069         * lyx_gui_misc.C:
16070         * lyxfunc.C: changed headers associated with above changes.
16071
16072 2001-03-27  Juergen Vigna  <jug@sad.it>
16073
16074         * BufferView_pimpl.C: set the temporary cursor right!
16075
16076 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16077
16078         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16079
16080 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16081
16082         * LString.h: removed "using std::getline"!
16083
16084         * BufferView_pimpl.C (Dispatch): changes due to changes in
16085         InsetInclude::Params.
16086
16087         * buffer.C (tag_name): removed redundant break statements as they were
16088         producing lots of warnings with my compiler.
16089
16090 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16091
16092         * LString.h: add "using std::getline" when using the real <string>.
16093
16094 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16095
16096         * buffer.C: removed bitset usage.
16097         PAR_TAG moved to an anonymous name space.
16098         (tag_name): new funtion, also in the anonymous namespace.
16099         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16100         (makeDocBookFile): clean code. Completed transition from string arrays
16101         to string vectors.
16102         (SimpleDocBookOnePar): code clean.
16103
16104 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16105
16106         * tabular.C: add some comments.
16107
16108 2001-03-22  Juergen Vigna  <jug@sad.it>
16109
16110         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16111         compatibility read a bit and fixed bug with minipage in different
16112         depth.
16113
16114 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16115
16116         * buffer.C (pop_tag): removed.
16117         (push_tag): removed.
16118         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16119         array replaced with vector. Added support for CDATA sections.
16120         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16121         at any nest level.
16122         (makeDocBookFile): XML conformant declaration of CDATA section,
16123         fixed bug related to <emphasis> in the first paragraph char.
16124         (sgmlOpenTag): exclude empty tags.
16125         (sgmlCloseTag): ditto.
16126
16127         * buffer.h (pop_tag): removed.
16128         (push_tag): removed.
16129
16130 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16131
16132         * language.h (Languages): added size_type and size().
16133
16134 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16135
16136         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16137         response on compability reading of minipages. One probliem is that
16138         the old usage of minipages was «flertydig»
16139
16140         * several files here and in subdirs: don't use static at file
16141         scope use anon namespaces instead.
16142
16143 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16144
16145         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16146         LaTeX output. This is necessary for Literate document
16147         processing.
16148
16149 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16150
16151         * buffer.C: insert hfill when needed.
16152
16153         * tabular.C (l_getline): use string::erase, small whitespace change.
16154
16155         * BufferView_pimpl.C: try the anon namespace.
16156         * WorkArea.C: ditto
16157
16158 2001-03-16  Juergen Vigna  <jug@sad.it>
16159
16160         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16161         otherwise it won't open options-dialogs.
16162
16163         * buffer.C: honor pextraWidth(p) on converting minipages.
16164
16165         * tabular.C (l_getline): changed the functions to strip trailing \r.
16166
16167 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16168
16169         * BufferView_pimpl.C:
16170         * minibuffer..C: added "using SigC::slot" declaration.
16171
16172 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16173
16174         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16175
16176         * text2.C: ditto
16177
16178         * text.C: ditto
16179
16180         * paragraph.C: ditto
16181
16182         * lyxtext.h: NO_PEXTRA
16183
16184         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16185
16186         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16187         * ParameterStruct.h: ditto
16188         * ParagraphParameters.h: ditto
16189         * lyxparagraph.h: ditto
16190
16191 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16192
16193         * buffer.C: add compability for minipage alignment.
16194         (latexParagraphs): remove unwanted pextra check.
16195
16196         * several files: remove CXX_WORKING_NAMESPACES
16197
16198         * buffer.C (pop_tag): tie is in namespace boost
16199
16200         * BufferView.h: noncopyable is in namespace boost
16201         * lyxlex.h: ditto
16202         * lyx_main.h: ditto
16203         * lyx_gui.h: ditto
16204         * layout.h: ditto
16205         * lastfiles.h: ditto
16206         * bufferlist.h: ditto
16207         * ShareContainer.h: ditto
16208         * LyXView.h: ditto
16209         * LyXAction.h: ditto
16210         * LaTeX.h: ditto
16211
16212 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16213
16214         * Merging changes from BRANCH_MVC back into HEAD.
16215
16216         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16217
16218 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16219
16220         * BufferView_pimpl.C: change from intl.C
16221
16222         * combox.h:
16223         * combox.C:
16224         * Makefile.am: move combox.*
16225
16226         * form1.h:
16227         * form1.C:
16228         * lyx_gui.C:
16229         * intl.h:
16230         * intl.C: remove dialog (covered by prefs)
16231
16232 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16233
16234         * lyxfunc.C (Dispatch): removed redundant break statement.
16235
16236 2001-03-14  Juergen Vigna  <jug@sad.it>
16237
16238         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16239
16240 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16241
16242         * buffer.C: add hack to fix compability reading of minipages.
16243
16244 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16245
16246         * buffer.C (getLists): Cleanup.
16247
16248 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * lyxfont.C (update): don't honor toggleall on font size.
16251
16252 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16253
16254         * bmtable.c:
16255         * bmtable.h:
16256         * Makefile.am: moved to frontends/xforms/
16257
16258         * lyx_gui_misc.C:
16259         * lyxfunc.C:
16260         * BufferView_pimpl.C: changes for moved mathpanel
16261
16262 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16263
16264         * gettext.h: fix gettext_init() in --disable-nls
16265
16266 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16267
16268         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16269
16270 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16271
16272         * lyx.C:
16273         * lyx.h: strip external form
16274
16275 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16276
16277         * BufferView_pimpl.C: add comment, destroySplash()
16278
16279 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16280
16281         * BufferView_pimpl.C:
16282         * LyXAction.C:
16283         * buffer.C:
16284         * commandtags.h:
16285         * lyxfunc.C: use re-worked insetinclude
16286
16287 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16288
16289         * buffer.C: add using std::stringstream.
16290
16291         * lyx_cb.C: readd using std::ios.
16292
16293         * buffer.C: add using std::map.
16294
16295         * BufferView_pimpl.C: add using std::vector.
16296
16297         * ShareContainer.h: add std:: to swap.
16298
16299         * buffer.h: add some typedefs
16300         * buffer.C (getLists): use them
16301         (getLists): renamed from getTocList.
16302         add a counter for the different float types and use it in the
16303         generated string.
16304         (getLists): use the same counter for the NEW_INSETS and the "non"
16305         NEW_INSETS
16306
16307         * lyx_cb.h: remove unused items, includes, using etc.
16308
16309         * ShareContainer.h: remove some commented code, add more comments
16310         and "documentation".
16311
16312 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16313
16314         * buffer.C (getTocList): make the list also when NEW_INSETS is
16315         defined.
16316
16317         * buffer.h: remove TocType
16318
16319         * buffer.C (getTocList): change to return a map<string,
16320         vector<TocItem> >, implement for dynamic number of list.
16321
16322         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16323         * text2.C (PasteSelection): adjust
16324         * CutAndPaste.C (pasteSelection): adjust
16325
16326         * FloatList.C (FloatList): update from the new_insets branch.
16327         * Floating.[Ch]: ditto
16328         * LaTeXFeatures.C: ditto
16329         * buffer.C: ditto
16330         * lyxlex_pimpl.C: ditto
16331
16332         * paragraph.C (Last): remove when NEW_INSETS is defined.
16333
16334         * other file: changes because of the above.
16335
16336 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16337
16338         * lyxparagraph.h: rename next to next_, previous to previous_,
16339         make them private for NEW_INSETS. Rename Next() to next(),
16340         Previous() to previous().
16341
16342         * other files: changes because of the above.
16343
16344 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16345
16346         * BufferView.h:
16347         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16348         problem.
16349
16350 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16351
16352         * main.C (main): pass lyx_localedir to gettext_init().
16353
16354         * gettext.h: remove locale_init and gettext_init macros
16355
16356         * gettext.C (locale_init): new function
16357         (gettext_init): new function
16358
16359         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16360         setlocale().
16361
16362 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16363
16364         * Moved credits to frontends:
16365         * credits.[Ch]: removed
16366         * credits_form.[Ch]: removed
16367         * lyx_gui_misc.C: remove credits stuff
16368         * Makefile.am:
16369
16370 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16371
16372         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16373
16374         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16375         unneeded destructor.
16376
16377         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16378         a standalone pointer again.
16379
16380         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16381
16382 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16383
16384         * Makefile.am:
16385         * filedlg.h:
16386         * filedlg.C:
16387         * LyXAction.C:
16388         * ToolbarDefaults.C:
16389         * bufferlist.C:
16390         * commandtags.h:
16391         * form1.C:
16392         * form1.h:
16393         * lyx_cb.C:
16394         * lyx_cb.h:
16395         * lyxfunc.h:
16396         * lyxfunc.C:
16397         * BufferView_pimpl.C: use new file dialog in GUII
16398
16399         * lyx_cb.h:
16400         * lyx_cb.C: remove LayoutsCB to Toolbar
16401
16402 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16403
16404         * ShareContainer.h (get): add std:: qualifier
16405
16406 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16407
16408         * ShareContainer.h: define a proper ShareContainer::value_type
16409         type (and use typename to please compaq cxx)
16410
16411 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16412
16413         * lyxparagraph.h: move serveral local vars to
16414         ParameterStruct/ParagraphParameters., use ShareContainer in
16415         FontTable., make vars in FontTable private and add getter and
16416         setter.
16417
16418         * paragraph.C: changes because of the above.
16419
16420         * lyxfont.h: remove copy constructor and copy assignment. (the
16421         default ones is ok), move number inside FontBits. move inlines to
16422         lyxfont.C
16423
16424         * lyxfont.C: add number to initializaton of statics, move several
16425         inlines here. constify several local vars. some whitespace
16426         cleanup. Dont hide outerscope variables.
16427
16428         * Spacing.h: add two new constructors to match the set methods.
16429
16430         * ShareContainer.h: new file, will perhaps be moved to support
16431
16432         * ParameterStruct.h: new file
16433
16434         * ParagraphParameters.h: new file
16435
16436         * ParagraphParameters.C: new file
16437
16438         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16439         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16440
16441         * BufferView_pimpl.C: ParagraphParameter changes.
16442         * buffer.C: Likewise.
16443         * bufferview_funcs.C: Likewise.
16444         * text.C: Likewise.
16445         * text2.C: Likewise.
16446
16447 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16448
16449         * lyxfind.C (LyXReplace): do not redefine default argument in
16450         implementation.
16451         (IsStringInText): ditto
16452         (SearchForward): ditto
16453         (SearchBackward): ditto
16454
16455 2001-03-06  Juergen Vigna  <jug@sad.it>
16456
16457         * lyxfind.C (IsStringInText): put parentes around expressions.
16458
16459 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16460
16461         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16462
16463 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16464
16465         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16466
16467         * stl_string_fwd.h: add comment
16468
16469         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16470
16471         * tabular.h:
16472         * tabular.C: remove unused DocBook methods
16473
16474         * intl.C:
16475         * language.C:
16476         * paragraph.C:
16477         * buffer.C:
16478         killed DO_USE_DEFAULT_LANGUAGE
16479
16480 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16481
16482         * lyx_gui.C: do not include language.h.
16483
16484         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16485         arguments in function implementation.
16486
16487 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16488
16489         * BufferView_pimpl.C: add <ctime>
16490
16491 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16492
16493         * BufferView_pimpl.C: add using std::find_if
16494
16495 2001-02-27  José Matos  <jamatos@fep.up.pt>
16496
16497         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16498         by OnlyPath.
16499
16500 2001-02-11  José Matos  <jamatos@fep.up.pt>
16501
16502         * buffer.C (makeDocBookFile): command styles now have a parameter as
16503         "title" by default.
16504
16505 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16506
16507         * layout_forms.[Ch]: removed
16508         * lyx_cb.[Ch]: out character
16509         * lyx_gui.C: out character
16510         * lyx_gui_misc.C: out character
16511         * bufferview_funcs.C: : out character,
16512         added toggleall as parameter in ToggleAndShow
16513
16514 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16515
16516         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16517
16518         * text2.C (SetCurrentFont): Disable number property at boundary.
16519
16520 2001-02-26  Juergen Vigna  <jug@sad.it>
16521
16522         * lyxfunc.C (getStatus): added a string argument override function so
16523         that this is correctly called from LyXFunc::Dispatch if it contains a
16524         do_not_use_argument which is used!
16525         (Dispatch): added check for "custom" export and call appropriate func.
16526
16527 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16528
16529         * lyxrc.C: Add language_command_local, language_use_babel and
16530         language_global_options.
16531
16532         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16533
16534         * buffer.C (makeLaTeXFile): Use language_use_babel and
16535         language_global_options.
16536
16537 2001-02-23  Juergen Vigna  <jug@sad.it>
16538
16539         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16540         which works with LyXText and putted it inside BufferView. Here now we
16541         only call for that part the BufferView::Dispatch() function.
16542
16543         * BufferView.C (Dispatch): added.
16544
16545         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16546         functions which needs to use a LyXText over from LyXFunc.
16547         (MenuInsertLyXFile): added
16548         (getInsetByCode): added
16549         (moveCursorUpdate): added
16550         (static TEXT): added
16551
16552 2001-02-22  Juergen Vigna  <jug@sad.it>
16553
16554         * BufferView_pimpl.C (update): call a status update to see if LyXText
16555         needs it.
16556
16557 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16558
16559         * vc-backend.C (revert): implement for CVS
16560         (getLog): implement for CVS
16561
16562 2001-02-20  Juergen Vigna  <jug@sad.it>
16563
16564         * text2.C (ClearSelection): added BufferView param for inset_owner call
16565
16566         * lyxfunc.C (TEXT): added this function and use it instead of
16567         directly owner->view()-text of getLyXText().
16568
16569 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16570
16571         * src/layout_forms.C: out preamble
16572         * src/layout_forms.h: out preamble
16573         * src/lyx_cb.C: out preamble
16574         * src/lyx_cb.h: out preamble
16575         * src/lyx_gui.C: out preamble
16576         * src/lyx_gui_misc.C: out preamble
16577         * src/lyxfunc.C: connect with guii preamble
16578
16579 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16580
16581         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16582
16583 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16584
16585         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16586         whether to run bibtex.
16587
16588 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16589
16590         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16591
16592 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16593
16594         * Makefile.am (lyx_SOURCES): removed bibforms.h
16595
16596         * vspace.h: doxygen
16597
16598         * text.C (GetVisibleRow): make several local vars const
16599
16600         * tabular.C: small cleanup.
16601
16602         * lyxserver.C (callback): use compare instead of strncmp
16603
16604         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16605         inlines to after class or to paragraph.C
16606
16607         * lyxfont.h: remove friend operator!=
16608
16609         * converter.h: move friend bool operator< to non friend and after
16610         class def.
16611
16612         * combox.h: small cleanup
16613
16614         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16615         to inlines after class def.
16616
16617         * buffer.C (pop_tag): use string operations instead of strcmp
16618
16619         * bmtable.c: doxygen, small cleanup
16620
16621         * LaTeX.h: remove friend operator==
16622
16623 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16624
16625         * screen.C:
16626         * lyxrc.[Ch]:
16627         * lyxfunc.C:
16628         * lyxfont.[Ch]:
16629         * lyx_cb.C:
16630         * intl.[Ch]:
16631         * commandtags.h:
16632         * buffer.C:
16633         * WorkArea.[Ch]:
16634         * LyXAction.C:
16635         * BufferView_pimpl.C:
16636         * BufferView.[Ch]: remove cruft
16637
16638 2001-02-14  Juergen Vigna  <jug@sad.it>
16639
16640         * lyxfunc.C: removed #if 0 unused code
16641
16642         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16643
16644         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16645
16646         * text2.C (SetSelection): added a BufferView * parameter
16647
16648 2001-02-13  Juergen Vigna  <jug@sad.it>
16649
16650         * lyxfunc.C (Dispatch): fixed protected blank problem.
16651         * BufferView2.C (protectedBlank): added LyxText * parameter.
16652
16653         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16654         (AppendColumn): same as above for column_info.
16655
16656         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16657         (moveCursorUpdate): use a LyXText param for support of InsetText.
16658
16659         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16660         (tripleClick): ditto
16661
16662         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16663
16664         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16665
16666         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16667
16668         * text2.C (SetSelection): set correct update status if inset_owner
16669         (ToggleFree): ditto
16670
16671 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16672
16673         * tabular.C: remove some commented code.
16674
16675 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16676
16677         * BufferView_pimpl.C: call hideSplash()
16678
16679         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16680
16681         * include_form.h:
16682         * bibforms.h: remove
16683
16684         * lyxfunc.C:
16685         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16686           add LFUN_CHILD_CREATE
16687
16688         * counters.h: fix tiny typo
16689
16690         * lyx_cb.C:
16691         * lyx.h:
16692         * lyx_gui.C:
16693         * lyx.C: move splash to frontends/xforms/
16694
16695         * lyx_gui_misc.C: move Include and Bibform to frontends
16696
16697         * lyxvc.h: clarify comment
16698
16699         * vspace.C: tiny housekeeping
16700
16701 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16702
16703         * text.C (PrepareToPrint): RTL Fix.
16704
16705         * paragraph.C (GetUChar): New method.
16706         (String):  Use GetUChar.
16707
16708         * buffer.C (asciiParagraph): Use GetUChar.
16709
16710 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16711
16712         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16713
16714 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16715
16716         * buffer.h:
16717         * buffer.C: rename to getLogName(), handle
16718           build log / latex log nicely
16719
16720 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16721
16722         * MenuBackend.C:
16723         * MenuBackend.h: remove support for reference menuitem type.
16724
16725 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16726
16727         * BufferView_pimpl.C: housekeeping
16728         * BufferView_pimpl.h:
16729         * LyXView.h:
16730         * Makefile.am:
16731         * Timeout.C:
16732         * Timeout.h:
16733         * minibuffer.h: move Timeout GUI-I
16734
16735 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16736
16737         * lyxrc.C (read): Update converters data-structures.
16738
16739 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16740
16741         * LaTeX.h (operator!=): add operator != for Aux_Info
16742
16743 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16744
16745         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16746
16747         * LaTeXLog.C: deleted, useful code moved to Buffer
16748
16749         * buffer.h:
16750         * buffer.C: new function getLatexLogName()
16751
16752         * lyx_gui_misc.C:
16753         * lyx_gui.C:
16754         * lyxvc.C:
16755         * lyxvc.h:
16756         * lyxfunc.C: use frontends for LaTeX and VC logs
16757
16758 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16759
16760         * LaTeX.h: yet another std:: that Allan forgot.
16761
16762         * Variables.C (set): renamed from isset(), because this clashes
16763         with some HP-UX macros (grr).
16764
16765 2001-02-06  Allan Rae  <rae@lyx.org>
16766
16767         * LaTeX.h: Another bug fix.  Missing std:: this time.
16768
16769 2001-02-04  Allan Rae  <rae@lyx.org>
16770
16771         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16772         floats problem. I've left it commented out because it's not quite
16773         correct.  It should also test that the current object is a table or
16774         figure inset.  But I haven't gotten around to figuring out how to do
16775         that.  I *think* it'll be something like: "table" == inset.type()
16776
16777         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16778         bool.
16779
16780 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16781
16782         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16783         all the citation/databases/styles in the auxilary file.
16784         (run): Rerun latex if there was a babel language error.
16785
16786 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16787
16788         * text.C (Backspace): Preserve the font when changing newline char
16789         with a space.
16790         (BreakParagraph): If the cursor is before a space, delete the space.
16791
16792         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16793
16794 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16795
16796         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16797         new argument (code).
16798         (ChangeCitationsIfUnique): New method.
16799
16800         * paragraph.C (GetPositionOfInset): Handle bibkey.
16801
16802 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16803
16804         * BufferView_pimpl.h: change type of Position::par_pos to
16805         LyXParagraph::size_type.
16806
16807 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16808
16809         * BufferView_pimpl.C (savePosition, restorePosition): Write
16810         messages to minibuffer.
16811
16812 2001-01-28  José Matos  <jamatos@fep.up.pt>
16813
16814         * buffer.C (makeDocBookFile): adds support for document language.
16815         A silly restriction on the name of LatexCommand types where removed.
16816         Added support for CDATA sections, allows to chars unescaped, used
16817         among others in code, to avoid escape < and >.
16818
16819 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16820
16821         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16822         saved positions instrad of a stack. Furthermore, a position is
16823         stored using paragraph id/paragraph position.
16824
16825         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16826         Remove LFUN_REF_BACK.
16827
16828 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16829
16830         * converter.C (dvipdfm_options): New method.
16831
16832 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16833
16834         * vspace.C (isValidLength): Fix for empty input string.
16835
16836 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16837
16838         * LyXAction.C (init): change description of LFUN_FIGURE to
16839         "Insert Graphics"
16840
16841 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16842
16843         * LaTeX.C: add using directive
16844
16845 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16846
16847         * MenuBackend.C (expand): Fix the sorting of the formats.
16848
16849 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16850
16851         * lyx_main.C: tiny error message fix
16852
16853 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16854
16855         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16856         calling fl_initialize(). This fixes the problem with ',' as
16857         decimal separator in text files.
16858
16859 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16860
16861         * trans.C (process): Fix the keymap bug.
16862
16863 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16864
16865         * LaTeX.C (scanAuxFiles): New method. Provides support for
16866         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16867         (scanLogFile) Scan for "run BibTeX" messages.
16868
16869         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16870         OT1 font encoding. Also, load the aecompl package if the ae
16871         package is loaded.
16872
16873         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16874
16875 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * texrow.C (increasePos): turn two error messages into debug
16878         messages.
16879
16880 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16881
16882         * LaTeX.C (scanAux): Handle the \@input macro.
16883         (runBibTeX): Use scanAux().
16884
16885         * language.C (latex_options_): New field.
16886
16887         * LaTeXFeatures.C (getMacros): Add language macros.
16888
16889         * buffer.C (makeLaTeXFile): Small fix.
16890
16891 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16892
16893         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16894
16895         * text2.C: add a using directive.
16896
16897 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16898
16899         * BufferView2.C:
16900         * lyx_gui_misc.h:
16901         * lyxfr1.C:
16902         * lyxfunc.C: kill LyXBell.
16903
16904 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16905
16906         * text.C (IsBoundary): Remove the error message
16907
16908         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16909
16910         * lyxrc.C (setDefaults): Correct initialization value for
16911         font_norm_type.
16912
16913 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16914
16915         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16916         gotoError().
16917
16918         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16919         and GotoNextNote().
16920
16921         * src/LyXAction.C: Added reference-next.
16922
16923         * text.C (InsertChar): Use contains instead of strchr.
16924
16925         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16926
16927 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16928
16929         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16930         alignment commands (when needed).
16931
16932         * text.C (InsertChar): Add ':' to number separator chars.