]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d51bef56b704b1083ede20205e7d0e2374b2d90c
[lyx.git] / src / ChangeLog
1 2005-01-19  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (error_handler, init): protect SIGHUP with
4         #ifndef _WIN32 guards.
5
6 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
9
10 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11
12         * text.C (setHeightOfRow): add a margin at the top and bottom of
13         the document (bug 1761)
14
15 2005-01-17  Angus Leeming  <leeming@lyx.org>
16
17         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
18         with "python ". Workaround for a brain-dead Windows.
19
20 2005-01-16  Angus Leeming  <leeming@lyx.org>
21
22         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
23         for MacOSX and Windows to use prependEnvPath.
24         Strip out the hard-coded block to add elements to the PATH for
25         MacOSX and replace it with a call to prependEnvPath using the
26         contents of LyXRC::path_prefix.
27         (queryUserLyXDir): strip out the code to run reconfigure, instead
28         returning a boolean indicating the necessity to do so.
29         (reconfigureUserLyXDir): contains the code to reconfigure the
30         user support directory. Is now called after the various LyXRC data
31         files have been read.
32
33         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
34
35 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
36
37         * converter.[Ch] (convert): take a new parameter try_default. Use
38         a default converter (imagemagick) if try_default is true.
39
40 2005-01-13  Angus Leeming  <leeming@lyx.org>
41
42         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
43         os::cygwin_path_fix.
44         (write): output LyXRC::cygwin_path_fix as necessary.
45
46 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
47
48         * lyxrc.h:
49         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
50
51 2005-01-12  Angus Leeming  <leeming@lyx.org>
52
53         * lyx_main.C (init): set the PATH variable to include the
54         directory containing the LyX binary when running on Mac or Windows.
55
56 2005-01-12  Angus Leeming  <leeming@lyx.org>
57
58         * lyx_main.C (init): remove cruft that purports to set the locale
59         dir. It doesn't and is not needed anyway.
60
61 2005-01-10  Angus Leeming  <leeming@lyx.org>
62
63         * Makefile.am: remove the lyx_main.C special casing.
64
65         * BufferView_pimpl.C:
66         * bufferlist.C:
67         * exporter.C:
68         * lyx_cb.C:
69         * lyx_main.C:
70         * lyxfunc.C:
71         * messages.C: use support/package.h to provide the paths to the
72         various directories used by LyX.
73
74 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
75
76         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
77         layout if pasting into an empty paragraph)
78
79 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
80
81         * tex-accent.C: add <string>
82
83 2005-01-06  José Matos  <jamatos@lyx.org>
84
85         * ParagraphParameters.C (write): put every parameter in its own line.
86         * paragraph.C (write): reduce number of consecutive empty lines exported.
87         * buffer.C (LYX_FORMAT): increase file format to 239.
88
89 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
90
91         * everywhere: change support/tostr.h -> support/convert.h
92
93         * tabular.C: make all write_attributes templates, tostr -> convert
94
95         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
96         (emptyTag): and -> &&, and fix type for ret from getChar
97         (getFirstWord): fix type for ret from getChar
98         (onlyText): and -> &&
99         (simpleDocBookOnePar): and not -> && !, fix type for ret from
100         getChar
101
102         * toc.C (goTo, action):
103         * text3.C (dispatch):
104         * text.C (currentState):
105         * tex-accent.C (DoAccent):
106         * sgml.C:
107         * lyxrc.C:
108         * lyxfunc.C (menuNew):
109         * lyxfinc.C (replace):
110         * counters.C (laberItem):
111         * bufferview_funcs.C (font2string):
112         * bufferparams.C (writeFile):
113         * buffer.C (readFile):
114         * Spacing.C (set):
115         * MenuBackend.C: tostr -> convert
116
117         * LaTeX.C (runMessage): fix format
118         (scanAuxFiles): tostr -> convert
119
120         * BufferView_pimpl.C (savePosition): fix format
121         (restorePosition): ditto
122         (dispatch): ditto
123
124 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
125
126         * Spacing.[Ch]: New method getValueAsString().
127
128         * Spacing.[Ch]:
129         * bufferparams.C:
130         * ParagraphParameters.C:
131         * lyxlayout.C:
132         * text.C:
133         * text3.C: store/read spacing value as string.
134
135         * rowpainter.C: change float value (spacing_val) to double.
136
137         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
138         broken custom document spacing).
139
140 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
141
142         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
143         namespace, also more use of temp references and const
144
145         * cursor.[Ch] (getStatus): move to lyxfunc.C
146
147         * bufferparams.C: reformat slightly
148
149         * bufferview_funcs.C (font2string): constify arg
150
151         * changes.C:
152         * converter.C:
153         * counters.C:
154         * bufferlist.C:
155         * buffer_funcs.C: (many funcs): constify arg on function
156         definitions, also make more local vars const, also add ASSERTS on
157         pointer args.
158
159         * buffer.C (LYX_FORMAT): put const in correct place
160         (many funcs): constify arg on function definitions, also make
161         more local vars const
162
163         * aspell_local.h: remove "struct" from typdef setup
164
165         * aspell.C (check): make word_ok const
166         (nextMiss): simplify slightly
167         (error): ditto
168
169 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
170
171         * lyxrc.[Ch]: store all float values as strings.
172         use int (not float) for lyxrc.dpi.
173
174 2005-01-04  Angus Leeming  <leeming@lyx.org>
175
176         * lyx_cb.C (Reconfigure):
177         * lyx_main.C (queryUserLyXDir):
178         to run the <system_lyxdir>/configure correctly on Windows, prefix
179         the path to the script with "sh " when generating the string that
180         is passed to system().
181
182 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
183
184         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
185
186 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * lyxlength.C (asLatexString): get rid of setprecision
189
190 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
191
192         * text2.C (setLayout): remove unused variable endpit.
193         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
194
195         * paragraph.C (onlyText): remove unused variable style.
196
197         * cursor.C (bruteFind): remove unused variables beg and end.
198
199         * Makefile.am (dist_noinset_DATA): not needed anymore
200
201         * cheaders/*: remove.
202
203 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
204
205         * text3.C: fix LFUN_MATH_MODE.
206
207 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * buffer_funcs.C (countWords): new function. Counts words between
210         two iterators.
211
212         * BufferView_pimpl.C (getStatus, dispatch): handle
213         LFUN_WORDS_COUNT.
214
215         * LyXAction.C (init):
216         * lfuns.h: add LFUN_WORDS_COUNT.
217
218 2004-12-19  Angus Leeming  <leeming@lyx.org>
219
220         * buffer.C (save): s/slashify_path/internal_path/.
221
222 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
223
224         * lyxfind.C (findChange): do not search for end of pars, because
225         the change tracker cannot handle this (fixes bug 1719).
226
227 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
228
229         * paragraph.[Ch] (autoBreakRows): remove
230
231         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
232
233         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
234         avoid using the paragraph one
235
236         * text2.C (LyXText, insertStringAsLines): adjust
237
238 2004-12-16  Angus Leeming  <leeming@lyx.org>
239
240         * bufferlist.C:
241         * lyx_main.C:
242         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
243
244 2004-12-14  Angus Leeming  <leeming@lyx.org>
245
246         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
247
248         * bufferlist.C (emergencyWrite):
249         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
250         GetEnvPath("HOME").
251
252 2004-12-14  Angus Leeming  <leeming@lyx.org>
253
254         * main.C: (main): no longer pass pointers to os::init.
255
256 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
257
258         * undo.C (textUndoOrRedo): simplify logic, fix a crash
259         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
260
261 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
262
263         * lyxfunc.C:
264         * text3.C: remove selection_possible global flag
265
266 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
267
268         * text2.C (getSelectionSpan): remove
269         (changeDepth, changeDepthAllowed): adjust
270
271 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
272
273         * Makefile.am (BOOST_LIBS): use boost variables
274
275 2004-12-03  José Matos  <jamatos@lyx.org>
276
277         * buffer.C: format up to 238.
278
279 2004-12-03  José Matos  <jamatos@lyx.org>
280
281         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
282
283 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
284
285         * cursor.C (goUpDown): remove call to idxUpDown2
286
287 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
288
289         * tabular.[Ch]: use size_t-like types for cell, row and column
290         indices
291
292 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
293
294         * lyxfunc.C (getStatus): do not lose previous information when
295         calling BufferView::getStatus; do not set a default "Command
296         disabled" message at the beginning, but just before returning.
297
298 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
299
300         * cursor.h (getStatus): add better comment from src/cursor.C
301
302 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * text3.C (getStatus): return false when the lfun is not handled
305
306 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         * broken_headers.h: remove
309
310         * Makefile.am (lyx_SOURCES): remove broken_headers.h
311
312 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
313
314         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
315         offset_ref accessors
316
317         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
318         top_y_, merge fitcursor with update
319         (updateScrollbar, scrollDocView, fitCursor, center, update): new
320         coord scheme
321         (metrics): introduce
322         (workAreaDispatch): adapt to new coord scheme
323         (redoCurrentBuffer): remove
324
325         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
326
327         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
328         CurStatus enum.
329
330         * coordcache.[Ch]: add paragraph cache and helpers
331
332         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
333         adjust everywhere
334
335         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
336         (targetX, setTargetX): introduce
337
338         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
339         baseline -> ascent, as the rest of lyx
340
341         * lyxtext.h: remove redoParagraphs, updateParPositions,
342         fullRebreak, redoParagraphInternal. move dist to anon namespace in
343         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
344         have ascent/descent (ascent is ascent of first par)
345
346         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
347         step of BufferView
348
349         * paragraph.[Ch]: unify dimension handling with the rest of lyx
350
351         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
352
353         * pariterator.C: fix infinite loop introduced in par->pit renaming
354
355         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
356         in insets and LyXText, draw two off-screen paragraphs using
357         NullPainter, and adapt to new coord scheme
358
359         * text.C:
360         * text2.C:
361         * text3.C: adapt lfun handlers to the new coord scheme, which
362         means: there's only guaranteed coord information for onscreen pars
363         plus one above and one below. This implies that one can do search
364         from y coordinates in the range [-1,workHeight]
365
366 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
367
368         * rename a lot of InsetOld to InsetBase
369
370 2004-11-25  Angus Leeming  <leeming@lyx.org>
371
372         * BufferView_pimpl.C:
373         * lyx_cb.C:
374         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
375
376 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
379         call BufferView::getStatus if LCursor::getStatus did nothing
380         (setStatusMessage, getStatusMessage): removed.
381
382         * FuncStatus.C (message): new methods. Used to provide an error
383         message indicating why a command is disabled.
384         (clear, |=, FuncStatus): update for message.
385
386 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
387
388         * lyxfunc.C (dispatch): always call sendDispatchMessage
389
390 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * BufferView.C:
393         * BufferView_pimpl.C:
394         * CutAndPaste.C:
395         * FontIterator.C:
396         * buffer.C:
397         * cursor.C:
398         * cursor_slice.[Ch]:
399         * dociterator.[Ch]:
400         * lyxfind.C:
401         * paragraph_funcs.C:
402         * pariterator.C:
403         * rowpainter.C:
404         * text.C:
405         * text2.C:
406         * text3.C:
407         * undo.C: par->pit renaming
408
409 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
410
411         * tabular.C (cellstruct): use initialization, store a shared_ptr
412         to insettext instead of the insettext directly, adjust to fit.
413         (operator=):  new function
414         (swap): new function
415         (rowstruct): use initialization
416         (columnstruct): use initialization
417         (ltType): use initialization
418
419
420         * lyxlength.h (swap): new function
421
422         * LColor.[Ch] (operator=): use the common semantics
423
424 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
425
426         * lyxfind.C (findNextChange): update the bufferview after setting
427         the selection.
428
429 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
432         number of InsetOptArgs has already been inserted.
433
434         * output_latex.C (latexOptArgInsets): new method. This outputs all
435         the optarg insets, up to the limit defined in the layout file.
436         (optArgInset): removed
437         (TeXOnePar): call latexOptArgInsets; correctly update texrow
438
439 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * paragraph.C (isLetter): remove special spellchecker-related
442         code; return true also for digits
443         (isWord, isKomma): remove
444
445         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
446         * lyxfind.C (MatchString()): use isLetter instead of isWord
447
448 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
449
450         * pariterator.h (operatir=): comment out un-implemented member
451         function.
452
453         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
454         static cast.
455
456 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
457
458         * lyxfont.h: include LColor.h to satisfy concept checks.
459
460 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
461
462         * pariterator.h: add typdefs for value_type, difference_type,
463         pointer and reference to satisfy concept checks. Also add default
464         constructor for same reason.
465
466         * pariterator.C (operator++): add post-increment operator to
467         satisfy concept checks.
468
469         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
470         checks.
471
472         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
473
474         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
475         checks. Also rename base_type to BaseType to follow naming
476         standard better.
477
478         * FloatList.h: include Floating.h to satisfy concept checks.
479
480 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * lyxfunc.C (getStatus): when the origin of the request is menu or
483         toolbar, and the LyXView does not have focus, do as if there was
484         no buffer (bug 1720)
485
486         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
487         FuncRequest to individual entries of LFUN_SEQUENCE
488
489 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * output_latex.C (TeXOnePar): override runparams.moving_arg
492         according to the needprotect value of the current paragraph (bug
493         1739)
494
495         * paragraph.C (simpleTeXOnePar): no need to override
496         runparams.moving_args here
497
498 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
499
500         * vspace.C: fix off-by-one-error, related to fix #1682
501
502 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
503
504         * lengthcommon.C: a more general fix for bug 1682
505
506 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
507
508         * text.C (backspace): fix crash
509
510 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
511
512         * format.[Ch] (getFormatFromFile): new method
513         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
514
515 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
518
519 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
520
521         * lyxfunc.C (dispatch): remove the verbose argument
522         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
523         instead
524
525         * kbmap.C (defkey): set the origin of func to KEYBOARD
526
527         * MenuBackend.C (MenuItem):
528         * ToolbarBackend.C (add): set the origin of func to UI
529
530         * funcrequest.[Ch]: add origin member, which indicates which part
531         of LyX requests an action
532
533 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
534
535         * converter.C (move): don't lie in the error message
536         * converter.h (isReachable, move): document
537
538 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
539
540         * buffer.C: remove unused using lyx::support::atoi
541         * paragraph_funcs.C: ditto
542
543 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
544
545         * bufferlist.C (exists): use bind and equal_to instead of
546         compare_memfun
547         (getBuffer): ditto
548         * lyxtextclasslist.C (NumberOfClass): ditto
549
550         * cursor.C (insert): use for_each instead of explicit for loop
551
552         * bufferlist.C (getFileNames): use std::transform and
553         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
554
555         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
556         for loop
557
558         * buffer.C (changeLanguage): use for_each instead of explicit for
559         loop
560         (hasParWithID): implement using getParFromID
561
562         * LaTeXFeatures.C: ws change only
563
564         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
565         to cleanup a bit.
566
567         * BufferView_pimpl.C (trackChanges): use for_each instead of
568         expilicit for loop
569
570 2004-11-04  André Pönitz  <poenitz@gmx.net>
571
572         * undo.h:
573         * undo.C (textUndoOrRedo): fix crash when creating undo information.
574
575         * dociterator.C (asDocIterator): use hard assert again.
576
577 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * lyxlength.C (asLatexString): rewrite so that it does not use
580         snprintf anymore
581
582 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * text3.C (specialChar, dispatch): make sure cursor moves to the
585         right after inserting an inset
586
587 2004-11-02  José Matos  <jamatos@lyx.org>
588
589         * output_docbook.C (docbook):
590         * paragraph.C (getID):
591         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
592         garantee that the output is always legal.
593
594         * tabular.C (docbook):
595         * outputprams.[Ch]: remove mixed contents.
596
597 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
598
599         * text2.C (setCounter): prevent endless loop
600
601 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
602
603         * exporter.C (copyFile): use the mover instead of support::copy()
604         * exporter.C (Export): pass format and latex name to copyFile()
605         * exporter.h (addExternalFile): document
606         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
607
608 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
609
610         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
611
612 2004-10-30  José Matos  <jamatos@lyx.org>
613
614         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
615         text and no inset or font change. This allows to use CDATA
616         sections just for the whole paragraph.
617
618 2004-10-30  José Matos  <jamatos@lyx.org>
619
620         * paragraph.C (getFirstWord): remove unused variable.
621
622 2004-10-30  José Matos  <jamatos@lyx.org>
623
624         * paragraph.C (getFirstWord): the content should always be escaped
625         there.
626         (simpleDocBookOnePar):
627         * output_docbook.C (makeEnvironment): replace reference to CDATA
628         to style pass_thru.
629
630 2004-10-30  José Matos  <jamatos@lyx.org>
631
632         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
633
634 2004-10-30  José Matos  <jamatos@lyx.org>
635
636         * output_docbook.C (makeParagraphs):
637         * paragraph.[Ch] (emptyTag): for docbook and company, if the
638         standard paragraph has only a given type of content drop the wrapper.
639
640 2004-10-29  José Matos  <jamatos@lyx.org>
641
642         * output_docbook.C (makeEnvironment):
643         * sgml.C (openTag):
644         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
645
646 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
647
648         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
649         (cleanID): sanitize any id.
650
651 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
652
653         * buffer.C, lyxlex_pimpl.C:
654         * lyxlex_pimpl.C (setFile):
655         s/getExtFromContents/getFormatFromContents/
656
657 2004-10-28  José Matos  <jamatos@lyx.org>
658
659         * output_docbook.C (makeEnvironment): move id to broadest possible
660         scope.
661
662         * sgml.C (openTag): apply substitution of <> for all attributes.
663
664 2004-10-28  José Matos  <jamatos@lyx.org>
665
666         * buffer.C (makeLinuxDocFile, makeDocBookFile):
667         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
668         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
669
670         * sgml.[Ch]: new version for open and closeTag for paragraph and
671         for strings. Now they handle the ids of paragraphs.
672
673 2004-10-26  Angus Leeming  <leeming@lyx.org>
674
675         * Makefile.am: add mover.[Ch].
676
677         * converter.C (convert, move): use the new Movers to move external
678         files to the temp directory.
679
680         * lyx_main.C (init): ensure that the global system_movers data
681         is initialised.
682
683         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
684         preferences file.
685
686         * mover.[Ch]: new files, defining a Mover as a utility to move an
687         external file between directories and, if necessary, manipulate this
688         file using a helper script.
689
690 2004-10-25  José Matos  <jamatos@lyx.org>
691
692         * output_docbook.C (makeCommand): merge two if's that tested the
693         same condition.
694
695 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * sgml.C (escapeString): fix warning in a better way
698
699 2004-10-25  José Matos  <jamatos@lyx.org>
700
701         * sgml.C (escapeString): import the require boosts header file for
702         tie, and avoid a signed unsigned comparison.
703
704 2004-10-25  José Matos  <jamatos@lyx.org>
705
706         * sgml.h: add #include <string>
707
708 2004-10-25  José Matos  <jamatos@lyx.org>
709
710         * sgml.[Ch] (escapeString): new function to escape all the string.
711
712 2004-10-24  José Matos  <jamatos@lyx.org>
713
714         * paragraph.[Ch] (getFirstWord): new function to get the first
715         word. Useful for description.
716         (simpleDocBookOnePar): remove depth argument, add another that
717         says where to start the paragraph.
718
719         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
720         use the new functions to fix cleanly the support for descriptions.
721
722 2004-10-24  José Matos  <jamatos@lyx.org>
723
724         * buffer.C (makeLinuxDocFile, makeDocBookFile):
725         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
726         * output_linuxdoc.C (linuxdocParagraphs):
727         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
728         add buffer as argument.
729
730 2004-10-24  José Matos  <jamatos@lyx.org>
731
732         * output_docbook.C (makeEnvironment, searchEnvironment): place
733         CDATA inside paragraphs and fix scope for listitems.
734
735 2004-10-24  José Matos  <jamatos@lyx.org>
736
737         * output_docbook.C: remove using statement for stack.
738
739 2004-10-23  José Matos  <jamatos@lyx.org>
740
741         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
742         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
743         docbook. The new scheme is recursive and makes use of iterators, the
744         same as latex export works.
745         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
746         directly with the paragraph contents. This code was moved up to
747         output_docbook.C (docbookParagraphs).
748         * sgml.C (openTag, closeTag): removed unneeded newlines.
749         (closeEnvTags) removed.
750
751 2004-10-23  André Pönitz  <poenitz@gmx.net>
752
753         * undo.C (textUndoOrRedo):
754         * dociterator.C (asDocIterator): work around crash
755
756         * cursor.C (getStatus): replace ASSERT by more verbose error message
757           and manual correction of the problem. Should increase stability
758           while providing more sensible information.
759
760 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
761
762         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
763
764         * bufferlist.C (previous, next): new methods
765
766         * lfuns.h:
767         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
768
769 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
770
771         * buffer.C (makeDocBookFile): add dsssl stylesheet control
772         entities to preamble.
773
774 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
775
776         * messages.C (Pimpl): strip off translation context information
777
778 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
781         the cursor is correct (bug 1694)
782
783 2004-10-13  José Matos  <jamatos@lyx.org>
784
785         * output_docbook.C (docbookParagraphs): fix closing tags in the
786         end of the document.
787
788 2004-10-09  José Matos  <jamatos@lyx.org>
789
790         * buffer.C: format up to 237.
791         * bufferparams.C (write): use tostr to convert booleans to strings.
792
793 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
794
795         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
796
797 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * LaTeX.C: implement use of babel language in xindy.
800
801 2004-10-05  José Matos  <jamatos@lyx.org>
802
803         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
804         Add new translators to help reading and writing the lyx file.
805
806 2004-10-05  José Matos  <jamatos@lyx.org>
807
808         * ParagraphParameters.C (read):
809         * text.C (readParToken): replace nexToken by more appropriate lex
810         methods.
811
812 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
813
814         * LaTeX.C (runMakeIndex):
815         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
816         (usually 'makeindex') configurable.
817
818         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
819         with a variable rather than with a number.
820
821 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
822
823         * output_latex.C (TeXOnePar): make sure font setting is the first
824         thing that gets output (and the last at the end). Should fix bug
825         1404.
826
827 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
828
829         * pch.h: use proper signal include
830
831         * LaTeX.h: Use preferred calling of Boost.Signal
832         * buffer.h: ditto
833
834 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
835
836         * pch.h: dont include <boost/function/function0.hpp>
837
838         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
839
840         * paragraph_pimpl.h: remove usage of ShareContainer
841
842         * paragraph_pimpl.C: remove initialization of ShareContainer.
843
844 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
845
846         Fix bug #1666
847
848         * BufferView.C (putSelectionAt): change the semantics when
849         backwards == true: now, this just swaps cursor and anchor wrt the
850         forward case
851
852         * BufferView.h (putSelectionAt): add some documentation
853
854         * lyxfind.C (findBackwards): rewrite using while(). In particular,
855         make sure backwardChar is done at least once (to avoid getting
856         stuck)
857         (findNextChange): use putSelectionAt in the forward direction
858         (operator()): use Paragraph::isWord
859
860 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
861
862         * Spacing.C (set): c_str fix
863
864 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
865
866         * lyx_cb.C (Reconfigure): quote the name of configure script in
867         case it contains spaces
868
869 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
870
871         * client: new dir
872
873         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
874         (BOOST_LIBS): use top_buildir when looking for the file
875
876 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
877
878         * pch.h: do not use include boost/format.hpp, multiple symbols
879                 will result (gcc bug)
880
881
882 2004-08-23  José Matos  <jamatos@lyx.org>
883
884         * bufferparams.C (readToken): fix reading of the author field.
885
886 2004-08-20  José Matos  <jamatos@lyx.org>
887
888         * lyxrc.C: remove support/translator.h inclusion since it is not used.
889
890 2004-08-20  José Matos  <jamatos@lyx.org>
891
892         * lyxlex.[Ch] (findToken): remove function.
893
894         * ParagraphParameters.C (findToken):
895         * bufferparams.C (findToken): replace call for previous function
896         with local copy. This local function has one more argument, the
897         read string argument.
898
899 2004-08-16  José Matos  <jamatos@lyx.org>
900
901         * ParagraphParameters.C (write):
902         * Spacing.C (writeFile):
903         * bufferparams.C (writeLaTeX):
904         * lyx_cb.C (Reconfigure):
905         * paragraph.C (write):
906         * tabular.C (write): remove unnecessary space at end of line.
907
908
909 2004-08-16  José Matos  <jamatos@lyx.org>
910
911         * text.C (readParagraph): remove debug message.
912
913 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
916         crash
917
918         * output_plaintext.C (asciiParagraph): set depth correctly
919
920         * outputparams.h: add member depth
921
922         * paragraph_funcs.C (ownerPar): remove.
923
924         * text2.C (setCounter): remove first_pit; comment out some
925         non-working code that uses ownerPar
926
927         * BufferView.C (getParentLanguage): remove. Not used anymore, and
928         uses ownerPar
929
930 2004-08-16  José Matos  <jamatos@lyx.org>
931
932         * text.C (readParToken, readParagraph, read): report all unknown tokens.
933         For the same level of importance use the same chanel to report problems.
934         (read): add code to deal with \begin_body and \end_body.
935
936
937 2004-08-15  José Matos  <jamatos@lyx.org>
938
939         * lyxlex.C (getString): fix comment, buffer::readBody is now
940         buffer:readDocument.
941
942         * tex-strings.C (string_papersize): Default -> default,
943         Custom -> custom, for consistency with other options.
944
945 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
946
947         * pch.h: new file
948
949         * Makefile.am: support pch
950
951 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
952
953         * text.C (readParToken): remove the static LyXFont variable and
954         pass it as a parameter instead. This fixes a nasty bug where an
955         inset will be inserted with a bad font in some situations
956         (readParagraph): adapt
957
958         * text2.C (setCounter): reduce number of calls to pars_[pit]
959
960         * text.C (singleWidth): add an assert, fix a test
961
962         * rowpainter.C (paintText): reduce number of calls to singleWidth
963
964         * paragraph.C (isHfill):
965         (isNewline): ws only
966
967 2004-08-14  André Pönitz  <poenitz@gmx.net>
968
969         * text.C:
970         * text2.C:
971         * rowpainter.C:
972         * lyxtext.h (several functions): use a Paragraph & argument
973         instead of par_type
974
975 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
976
977         * metricsinfo.h: add a new field ltr_pos to PainterInfo
978
979         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
980
981         * text.C (singleWidth): remove useless test
982
983 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * tabular.h: remove bogus comments
986
987         * tabular.C (getDescentOfRow):
988         (isPartOfMultiColumn): add assertions
989
990         * lyxlength.C (inPixels): remove #warning
991
992 2004-08-14  André Pönitz  <poenitz@gmx.net>
993
994         * paragraph.h: inline getChar()
995
996         * BufferView.h: remove unused declarations
997
998 2004-08-14  José Matos  <jamatos@lyx.org>
999
1000         * Buffer.[Ch] (readDocument): new name for old readBody.
1001         * Buffer.C: new file format, new keywords: \begin_document,
1002         \begin_header, \begin_body, \end_body.
1003
1004         * bufferparams.C (readToken): replace all calls to lex.nextToken
1005         by lex.next(). Do the same to eatLine except where really needed.
1006
1007         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1008         line when writing to the lyx file.
1009
1010         * output_plaintext.C (asciiParagraph): fix Bibliography style
1011         handling.
1012
1013         * text.C (read): fix end of file handling.
1014
1015 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1016
1017         * MenuBackend.C (Menu::operator[]): new method to access
1018         individual menu items
1019         (Menu::hasFunc): new method. search for an item that corresponds
1020         to a given func
1021         (MenuBackend::specialMenu): new method
1022         (MenuBackend::expand): if a special menu has been set, skip
1023         entries whose func() appears in this menu
1024
1025 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1026
1027         * text3.C: use Debug::DEBUG a bit more
1028
1029         * text.C (leftMargin): try to simplify a tiny bit change var x to
1030         l_margin. Dont output the wide margins always.
1031         (rightMargin): no margin in inner texts
1032
1033         * rowpainter.h (nestMargin): new func
1034         (changebarMargin): new func
1035         (rightMargin): new func
1036
1037         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1038         now functions.
1039         (paintLast): ditto
1040
1041         * factory.C (createInset): modify setDrawFrame
1042
1043         * cursor.C: use Debug::DEBUG a bit more
1044
1045 2004-08-14  André Pönitz  <poenitz@gmx.net>
1046
1047         * coordcache.[Ch]:
1048         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1049         cache for all insets in (at least partially) visible (top-level)
1050         paragraphs.
1051
1052         * BufferView_pimpl.C: reset external coord cache before every update.
1053         This means the coord cache only contains valid entries.
1054
1055 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1056
1057         bug 1096
1058         * BufferView_pimpl.C (getInsetByCode): move function out of class
1059         and change in to a template in anon namespace. Also fix to do what
1060         suits us better.
1061
1062 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1063
1064         bug 1305
1065         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1066         of char
1067         (breakParagraph): rename par to par_offset and use a local
1068         reference. Add code to keep the language over a rebreak.
1069         (breakParagraphConservative): rename par to par_offset, use a
1070         local reference
1071         (mergeParagraph): ditto
1072         (outerHook): ditto
1073         (isFirstInSequence): ditto
1074         (outerFont): rename pit to par_offset
1075
1076         * paragraph.C: ws change
1077         * paragraph.h: ditto
1078         * text3.C: ditto
1079         * text.C: ditto
1080
1081 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1082
1083         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1084         treatment for ']'
1085
1086         * paragraph.C (simpleTeXOnePar): when we have a \item with
1087         optional argument, enclose the argument with curly brackets (in
1088         case it contains a closing square bracket)
1089
1090         * text2.C (editXY):
1091         * text2.C (editXY):
1092         * text3.C (checkInsetHit): constify
1093
1094 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1095
1096         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1097         documents (bug 1629)
1098
1099 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1100
1101         Fix toggling of collapsable insets with the mouse (bug 1558)
1102
1103         * lyxfunc.C (dispatch): adapt to LCursor changes
1104
1105         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1106         make sure that dispatch is not invoked twice
1107
1108         * cursor.C (needsUpdate): new method
1109         (dispatch): return void
1110         (result): new method, to access the DispatchResult of the cursor.
1111
1112 2004-08-13  José Matos  <jamatos@lyx.org>
1113
1114         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1115
1116 2004-08-13  André Pönitz  <poenitz@gmx.net>
1117
1118         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1119
1120         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1121           multiple cells
1122
1123 2004-08-12  André Pönitz  <poenitz@gmx.net>
1124
1125         * text3.C: take out the 'cursor right' form insertInset and only
1126         do it in those places when it is really needed. Fixes crash on
1127         C-m...
1128
1129 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130
1131         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1132
1133         * BufferView_pimpl.C (setBuffer): initialize the current font of
1134         the underlying LyXText
1135
1136 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * kbsequence.C (print): use UI native formatting for menu
1139         shortcuts
1140
1141         * text.C (insertChar): call Paragraph::insertChar with a font
1142         argument (cosmetic)
1143
1144         * paragraph.C (insertInset, insertChar): the version that takes a
1145         LyXFont argument is now a wrapper around the other one (the
1146         opposite used to be true).
1147
1148         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1149         argument. Font setting is done in Paragraph now.
1150
1151 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         * outputparams.h: add new members intitle and lang.
1154
1155         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1156         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1157
1158 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1159
1160         * text3.C (dispatch): remove special handling of button 4 and 5,
1161         it is now taken care of in the frontend code.
1162
1163 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1164
1165         * Spacing.h: add <string> (STLPort compile fix)
1166
1167 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1168
1169         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1170
1171 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1172
1173         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1174         to bool.
1175
1176         * converter.C (showMessage): inherit from unary_function, make
1177         operator() const.
1178
1179         * buffer.C (writeFile): initialize retval
1180
1181         * InsetList.h: rename private variable list to list_
1182         * InsetList.[Ch]: adjust accordingly.
1183
1184 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1185
1186         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1187         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1188         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1189         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1190         * ParagraphParameters.C, LaTeXFeatures.C: replace
1191         "support/std_sstream.h" with <sstream>
1192
1193 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1194
1195         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1196         * lyxsocket.C (LyXServerSocket): ditto
1197         (serverCallback): ditto
1198
1199 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1200
1201         * LaTeXFeatures.C: check release date when loading jurabib.
1202
1203 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1204
1205         * lyxserver.C (startPipe): call register_socket_callback
1206         (endPipe): call unregister_socket_callback
1207
1208 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1209
1210         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1211         (LyXServerSocket): register the callback
1212         (LyXServerSocket): unregister the callback
1213         (fd): delete function
1214         (serverCallback): improve error checking and setup the callbacks.
1215         (dataCallback): change arg to fd.
1216         (writeln): new func (copied fro the client socket) used for server
1217         write to client.
1218         (LyXDataSocket): simplify
1219         (~LyXDataSocket): close ann unregiser callback
1220         (server): delete function
1221         (fd): delete function
1222         (readln): small changes, improve some std::string usage
1223         (writeln): constify a bit
1224
1225 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1226
1227         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1228         Qt frontend
1229
1230 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1233         after it has been populated
1234
1235 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * text2.C (insertInset): move cursor when inserting inset.
1238
1239 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         * kbmap.C (findbindings): a couple of new methods. returns a
1242         container of kb_sequence objects. The real work is done by the
1243         private recursive version
1244         (printbindings): uses findbindings to print out a bracketed list
1245         of bindings (renamed from findbinding).
1246
1247         * MenuBackend.C (binding): use kb_keymap::findbindings
1248
1249         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1250
1251 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1252
1253         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1254
1255 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * paragraph.C (isWord): return true on insets that report
1258         isLetter().
1259
1260         * text.C (getWord): use Paragraph::isWord to decide what is in a
1261         word and what is not; fix bug 1609.
1262
1263 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1264
1265         * tex-strings.C: add "none" to string_paperpackages[], fixes
1266         off-by-one-error in the paperpackage selection.
1267
1268         * lyxlex.[Ch]:
1269         * tex-strings.[Ch]: char const * string[n]
1270         -> char const * const string[]
1271
1272 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1275         command, return early.
1276
1277 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1278
1279         * debug.h: add DEBUG to enum and fix size of ANY.
1280
1281         * debug.C: add support for Debug::DEBUG
1282         (showTags): cast errorTags.level to unsigned int
1283
1284         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1285         (redoCurrentBuffer): ditto
1286         (updateScrollbar): ditto
1287         * cursor.C (dispatch): ditto
1288         * text2.C (setLayout): ditto
1289         (setFont): ditto
1290         (updateCounters): ditto
1291         (editXY): ditto
1292         (deleteEmptyParagraphMechanism): ditto
1293
1294 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1295
1296         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1297         annotations to cleanup the Makefile slightly.
1298
1299 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * lyxrc.C: do not set user_email to a default value but use empty
1302         instead. The entry used to be translated, which does not work
1303         since at the point where lyxrc is constructed there is no
1304         translation service available
1305
1306         * messages.C (getLocaleDir): remove and use directly
1307         lyx_localedir() instead
1308
1309 2004-06-02  Angus Leeming  <leeming@lyx.org>
1310
1311         Fix crash caused by dereferencing null pointer 'exportdata' in
1312         OutputParams by creating a new ExportData variable on the heap,
1313         storing it in a boost::shared_ptr.
1314         The crash was triggered when generating an Instant Preview
1315         of an external inset.
1316
1317         * Makefile.am: add outputparams.C
1318
1319         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1320         (c-tor): allocate memory to it.
1321
1322         * exporter.C (c-tor): associated changes.
1323
1324 2004-06-01  Angus Leeming  <leeming@lyx.org>
1325
1326         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1327         contains data before calling isInset(0). (Bug 1513.)
1328
1329 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1330
1331         * exporter.C (checkOverwrite): new method
1332         * exporter.C (copyFile): new method
1333         * exporter.C (Export): copy referenced files to the document dir
1334         * exporter.[Ch]: new class ExportedFile
1335         * exporter.[Ch]: new class ExportData. Contains currently the
1336         names of referenced external files
1337         * outputparams.h: add exportdata member.
1338
1339 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1340
1341         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1342         version.C-tmp
1343
1344 2004-05-19  Angus Leeming  <leeming@lyx.org>
1345
1346         * LaTeXFeatures.C:
1347         * ToolbarBackend.C:
1348         * bufferparams.C:
1349         * lyxfunc.C: small changes due to the introduction of namespace
1350         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1351
1352 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * text3.C (dispatch): supress update when only moving the cursor
1355         * cursor.C (selHandle): remove commented code
1356
1357 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1358
1359         * paragraph.C (startTeXParParams): correct column count
1360         * CutAndPaste.C (pasteSelection): remove const_cast
1361         * output_docbook.C (docbookParagraphs): remove const_cast
1362         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1363         const_cast and return ParagraphList::const_iterator
1364         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1365         * output_plaintext.C (writeFileAscii): remove const_cast
1366         * paragraph.[Ch] (simpleTeXOnePar): make const
1367         * paragraph_funcs.C (outerPar): use const iterators
1368         * paragraph_pimpl.C (validate): use const iterators
1369         * text.C (setHeightOfRow): use const iterators
1370
1371 2004-05-17  Angus Leeming  <leeming@lyx.org>
1372
1373         * lfuns.h:
1374         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1375
1376         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1377         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1378         if the citation engine has changed.
1379
1380 2004-05-14  José Matos  <jamatos@lyx.org>
1381
1382         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1383         if the textclass does not provide it. Have it different for sgml and
1384         xml.
1385         support the language of document.
1386         * output_docbook.C (docbookParagraphs):
1387         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1388         first anchor as the id of the paragraph, remove special case code.
1389         * sgml.C (escapeChar): escape only < & >.
1390
1391 2004-05-14  Angus Leeming  <leeming@lyx.org>
1392
1393         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1394         dependencies on src/frontends/controllers/biblio.h. Define a
1395         CiteEngine_enum wrapper class to enable the enum to be forward
1396         declared.
1397
1398 2004-05-12  Angus Leeming  <leeming@lyx.org>
1399
1400         * buffer.C: up LYX_FORMAT to 234.
1401         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1402         use_numerical_citations with a single biblio::CiteEngine cite_engine
1403         variable.
1404         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1405
1406 2004-05-13  José Matos  <jamatos@lyx.org>
1407
1408         * converter.h:
1409         * converter.C (Converter, readFlags): add xml member.
1410         * outputparams.h: add XML flavor.
1411         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1412
1413 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1414
1415         * lyxfunc.C (dispatch):
1416         (getStatus): fix handling of LFUN_SEQUENCE
1417
1418 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1419
1420         * debug.C (showLevel): do not forget the end-of-line marker
1421
1422 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1423
1424         * kbmap.C (read): do not stop parsing a bind file when an error
1425         occurs (bug 1575)
1426
1427 2004-04-29  Angus Leeming  <leeming@lyx.org>
1428
1429         * cursor.C:
1430         * factory.C:
1431         * pariterator.C:
1432         * text2.C: wrap a bunch of #warning statements
1433         inside #ifdef WITH_WARNINGS blocks.
1434
1435 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1436
1437         * buffer.C: increment format to 233.
1438
1439 2004-04-28  Angus Leeming  <leeming@lyx.org>
1440
1441         * BufferView_pimpl.C:
1442         * lyxfunc.C:
1443         * text3.C:
1444         s/updateToolbar()/updateToolbars()/
1445         s/Toolbar.h/Toolbars.h/
1446
1447 2004-04-28  Angus Leeming  <leeming@lyx.org>
1448
1449         * BufferView.[Ch] (c-tor):
1450         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1451         No longer passes these data to the WorkArea generator.
1452
1453 2004-04-28  Angus Leeming  <leeming@lyx.org>
1454
1455         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1456
1457 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1458
1459         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1460
1461 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1462
1463         * output_latex.C (TeXEnvironment): make sure that there is a line
1464         break before \end{foo} for the last paragraph of a document
1465         (TeXOnePar): if the paragraph is at the end of the document (or
1466         inset) and the language has to be reset, then make sure that the
1467         line break is _before_ the language command, not after (fixes bug
1468         1225); also make sure that the language reset command is the first
1469         thing after the paragraph (to ensure proper nesting of
1470         environments and thus fix bug 1404)
1471
1472 2004-04-21  John Levon  <levon@movementarian.org>
1473
1474         * ToolbarBackend.h:
1475         * ToolbarBackend.C: make "name" be a programmatic name
1476         and a gui_name field.
1477
1478         * lyxfunc.C: display the minibuffer on M-x
1479
1480 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1481
1482         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1483         (bug 1526)
1484
1485 2004-04-19  Angus Leeming  <leeming@lyx.org>
1486
1487         * BufferView_pimpl.C (setBuffer): changed preview interface.
1488
1489         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1490         possible values.
1491
1492 2004-04-19  John Levon  <levon@movementarian.org>
1493
1494         * BufferView_pimpl.C:
1495         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1496
1497 2004-04-05  Angus Leeming  <leeming@lyx.org>
1498
1499         * text.C (redoParagraphs): add call to updateCounters(), thereby
1500         fixing the missing "Figure #:" label from the caption of a
1501         figure float.
1502
1503 2004-04-13  Angus Leeming  <leeming@lyx.org>
1504
1505         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1506         cursor is clicked out of an inset.
1507
1508 2004-04-13  Angus Leeming  <leeming@lyx.org>
1509
1510         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1511         than an InsetOld one.
1512
1513 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1514
1515         * format.[Ch]: add editor to Format
1516         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1517         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1518
1519 2004-04-08  André Pönitz  <poenitz@gmx.net>
1520
1521         * metricsinfo.h: remove PainterInfo::width member
1522
1523 2004-04-08  Angus Leeming  <leeming@lyx.org>
1524
1525         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1526         "\providecommand" rather than "\newcommand", thereby preventing
1527         clashes with packages that define "\boldsymbol" themselves.
1528         Eg, beamer.
1529
1530 2004-04-08  Angus Leeming  <leeming@lyx.org>
1531
1532         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1533         thereby squashing an unnecessary warning.
1534
1535 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1536
1537         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1538         setBuffer()
1539
1540 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1541
1542         * BufferView.C (setCursor): call redoParagraph (some insets could
1543         have been opened)
1544         (putSelectionAt): remove the 'double update' trick
1545
1546         * BufferView_pimpl.C (fitCursor): call refreshPar
1547         (workAreaDispatch): remove an uneeded update call
1548         (dispatch): remove some manual update calls
1549
1550         * cursor.[Ch]: remove cached_y_, updatePos
1551         (selHandle): set noUpdate when appropriate
1552
1553         * lyxfunc.C (dispatch): track if we need an update
1554
1555         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1556
1557         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1558         (paintSelection): cheap optimization, do not call cursorX when not
1559         needed
1560         (paintPars): change signature
1561         (refreshPar): add
1562         (paintText): adjust
1563         (paintTextInset): adjust
1564
1565         * text.C: adjust
1566
1567 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1568
1569         * lengthcommon.C: compilation fix: remove explicit array size from
1570         unit_name[] and friends
1571
1572 2004-04-05  Angus Leeming  <leeming@lyx.org>
1573
1574         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1575
1576         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1577         present only for the preferences dialog.
1578         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1579
1580 2004-04-05  Angus Leeming  <leeming@lyx.org>
1581
1582         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1583         to enable the frontends to export changes to lyxrc correctly.
1584
1585         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1586
1587 2004-04-07  André Pönitz  <poenitz@gmx.net>
1588
1589         * cursor.[Ch] (selClear, adjust): remove math
1590
1591         * cursor_slice.C: more agressive assert
1592
1593         * lyxfunc.C:
1594         * BufferView_pimpl.C: rework mouse event dispatch
1595
1596         * dociterator.C:
1597         * paragraph.C:
1598         * text2.C:
1599         * text3.C: adjust
1600
1601 2004-04-05  André Pönitz  <poenitz@gmx.net>
1602
1603         * cursor.[Ch] (valign, halign...): remove unneeded functions
1604
1605 2004-04-05  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyxlength.[Ch] (unit_name et al.): const-correct.
1608
1609 2004-04-05  Angus Leeming  <leeming@lyx.org>
1610
1611         * BufferView_pimpl.C:
1612         * buffer.C:
1613         * counters.C:
1614         * cursor.C:
1615         * lyxfunc.C
1616         * paragraph.C:
1617         * pariterator.C:
1618         * text.C:
1619         * text2.C:
1620         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1621
1622 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1623
1624         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1625
1626 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1627
1628         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1629         * BufferView_pimpl.[Ch] (getStatus)
1630         * BufferView.[Ch] (getStatus): add
1631         * lyxfunc.C (getStatus): move lfuns handled in
1632         BufferView::dispatch to te function above
1633         * Cursor.C (setSelection): set selection() = true
1634
1635 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1638
1639 2004-03-31  Angus Leeming  <leeming@lyx.org>
1640
1641         * lyxfunc.C (dispatch): Fall through to the generic
1642         Dialogs::show("preamble").
1643
1644 2004-03-31  Angus Leeming  <leeming@lyx.org>
1645
1646         * lyxfunc.C (dispatch): Fall through to the generic
1647         Dialogs::show("spellchecker").
1648
1649 2004-03-31  Angus Leeming  <leeming@lyx.org>
1650
1651         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1652         preferences dialog.
1653
1654 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1655
1656         * BufferView.C
1657         * cursor.[Ch]
1658         * dociterator.[Ch]:
1659         * insetiterator.[Ch]:
1660         * lyxfind.C:
1661         * lyxfunc.C:
1662         * pariterator.[Ch]:
1663         * text2.C:
1664         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1665
1666 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1667
1668         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1669         insets where we are putting the cursor.
1670
1671 2004-03-31  Angus Leeming  <leeming@lyx.org>
1672
1673         * lfuns.h:
1674         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1675
1676         * lyxrc.[Ch] (read, write): overloaded member functions taking
1677         a std::[io]stream arguments.
1678
1679         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1680
1681 2004-03-31  Angus Leeming  <leeming@lyx.org>
1682
1683         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1684         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1685
1686         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1687         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1688
1689 2004-03-31  Angus Leeming  <leeming@lyx.org>
1690
1691         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1692         the LFUN_ALL_INSETS_TOGGLE code.
1693
1694 2004-03-30  Angus Leeming  <leeming@lyx.org>
1695
1696         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1697         has died. Fall through to the generic Dialogs::show("document").
1698
1699 2004-03-30  Angus Leeming  <leeming@lyx.org>
1700
1701         * lfuns.h:
1702         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1703         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1704
1705         * lyxfunc.C (getStatus, dispatch): define the actions for these
1706         lfuns. Little more than a cut and pste job from ControlDocument.C
1707
1708         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1709
1710 2004-03-30  Angus Leeming  <leeming@lyx.org>
1711
1712         * lfuns.h:
1713         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1714         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1715
1716         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1717         open/closed state of ollapsable insets. Usage:
1718
1719         all-inset-toggle <state> <name>, where
1720         <state> == "open" || "closed" || "toggle" and
1721         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1722
1723         * lyxtext.h, text2.C (toggleInset): removed.
1724
1725         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1726         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1727         now passes LFUN_INSET_TOGGLE to the found inset.
1728
1729         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1730         is now invoked as "all-insets-toggle toggle branch".
1731
1732 2004-03-30  Angus Leeming  <leeming@lyx.org>
1733
1734         * dociterator.C:
1735         * insetiterator.C:
1736         * pariterator.[Ch]: added/corrected header blurb.
1737
1738 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1739
1740         * dociterator.[Ch]: add an inset_ member
1741         (backwardPos): implemented
1742         (backwardPos, forwardPos): use inset_ when the stack is empty.
1743         (doc_iterator_begin, doc_iterator_end): implemented
1744         * pariterator.[Ch]: adjust, add begin, end
1745         * insetiterator.[Ch]: adjust, add begin, end
1746         * cursor.C:
1747         * document.C:
1748         * BufferView.C:
1749         * BufferView_pimpl.C:
1750         * CutAndPaste.C: adjust
1751
1752 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1753
1754         * buffer.C: increment file format to 232.
1755         * LaTeXFeatures.C: add bibtopic package.
1756         * bufferparams.[Ch]: param \use_bibtopic.
1757
1758         * lyxrc.[Ch]: add lyxrc bibtex_command
1759         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1760
1761         * buffer.C: increment file format to 231.
1762
1763 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1764
1765         * dociterator.C: implement forwardPar
1766         * iterators.[Ch]: remove, replaced by
1767         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1768         * BufferView.C:
1769         * BufferView_pimpl.C:
1770         * CutAndPaste.C:
1771         * buffer.C:
1772         * bufferview_funcs.C:
1773         * cursor.C:
1774         * lyxfind.C
1775         * lyxfunc.C
1776         * paragraph_funcs.C
1777         * toc.C:
1778         * Makefile.am: adjust
1779
1780 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * CutAndPaste.C (pasteSelection): fix 2 crashes
1783         (eraseSelection): fix a crash
1784         * paragraph_funcs.C: remove a warning
1785
1786 2004-03-28  Angus Leeming  <leeming@lyx.org>
1787
1788         * lfuns.h:
1789         * LyXAction.C (init): new LFUN_PRINT.
1790
1791         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1792
1793 2004-03-27  Angus Leeming  <leeming@lyx.org>
1794
1795         * lfuns.h:
1796         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1797
1798         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1799
1800 2004-03-27  Angus Leeming  <leeming@lyx.org>
1801
1802         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1803         insetlist always contains non-null pointers to insets.
1804
1805 2004-03-26  Angus Leeming  <leeming@lyx.org>
1806
1807         * src/BufferView_pimpl.C:
1808         * src/CutAndPaste.C:
1809         * src/buffer.C:
1810         * src/iterators.C:
1811         * src/output_plaintext.C:
1812         * src/outputparams.h:
1813         * src/paragraph_funcs.C:
1814         * src/rowpainter.C:
1815         * src/text.C:
1816         * src/text2.C:
1817         * src/frontends/controllers/ControlErrorList.C:
1818         * src/frontends/gtk/FileDialogPrivate.C:
1819         * src/frontends/gtk/GPainter.C:
1820         * src/frontends/gtk/GToolbar.C:
1821         * src/frontends/qt2/QRef.C:
1822         * src/mathed/math_scriptinset.C: squash compiler warnings.
1823
1824 2004-03-26  Angus Leeming  <leeming@lyx.org>
1825
1826         * ispell.C (LaunchIspell::start):
1827         * lyx_cb.C (AutoSaveBuffer::start):
1828         invoke run(DontWait) rather than runNonBlocking().
1829
1830 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1833
1834 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1835
1836         * kbsequence.C (print): adjust
1837
1838         * kbmap.C (printKeySym): rename and change signature
1839         (printKey): use LyXKeySym::print()
1840
1841 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1842
1843         * undo.C: add using std::advance to compile for stlport
1844
1845 2004-03-24  Angus Leeming  <leeming@lyx.org>
1846
1847         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1848         it leads to a crash when no buffer is present.
1849
1850 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1851             Martin Vermeer  <martin.vermeer@hut.fi>
1852
1853         * lyxfunc.C (dispatch):
1854         * bufferparams.C (readToken): use the new LColor::setColor
1855
1856         * LColor.[Ch] (setColor): new version that takes two strings as
1857         argument and creates a new color entry if necessary
1858
1859 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1860
1861         * buffer.C (makeLaTeXFile): if the main latex file that is
1862         processed is usually a subdocument of some master, then pretend
1863         for a while that it is actually the master
1864
1865 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1866
1867         * buffer.C (getLabelList):
1868         (getBibkeyList): use getMasterBuffer()
1869         (getMasterBuffer): new method. Returns the main document in the
1870         case where one is using included documents.
1871
1872 2004-03-25  André Pönitz  <poenitz@gmx.net>
1873
1874         * Makefile.am:
1875         * iterators.[Ch]:
1876         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1877
1878         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1879
1880         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1881         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1882
1883         * ParameterStruct.h: merge with ParagraphParameters
1884
1885         * lyxtext.h: remove LyXText::parOffset() and getPar()
1886
1887         * text3.C: Remove all 'manual' update calls. We do now one per user
1888         interaction which is completely sufficient.
1889
1890         * Bidi.C:
1891         * BufferView.[Ch]:
1892         * BufferView_pimpl.C:
1893         * FontIterator.[Ch]:
1894         * MenuBackend.C:
1895         * ParagraphParameters.[Ch]:
1896         * buffer.C:
1897         * buffer.h:
1898         * bufferlist.C:
1899         * cursor.[Ch]:
1900         * cursor_slice.[Ch]:
1901         * dociterator.[Ch]:
1902         * errorlist.[Ch]:
1903         * factory.C:
1904         * lfuns.h:
1905         * lyxfind.C:
1906         * lyxfunc.C:
1907         * output_docbook.[Ch]:
1908         * output_latex.[Ch]:
1909         * output_linuxdoc.[Ch]:
1910         * output_plaintext.[Ch]:
1911         * paragraph.[Ch]:
1912         * paragraph_funcs.[Ch]:
1913         * paragraph_pimpl.[Ch]:
1914         * rowpainter.C:
1915         * tabular.[Ch]:
1916         * text.C:
1917         * text2.C:
1918         * toc.C:
1919         * undo.[Ch]: adjust
1920
1921         * frontends/controllers/ControlDocument.C:
1922         * frontends/controllers/ControlErrorList.C:
1923         * frontends/controllers/ControlSpellchecker.C:
1924         * insets/inset.C:
1925         * insets/inset.h:
1926         * insets/insetbase.h:
1927         * insets/insetbibitem.C:
1928         * insets/insetbox.C:
1929         * insets/insetbranch.C:
1930         * insets/insetcaption.C:
1931         * insets/insetcharstyle.C:
1932         * insets/insetcharstyle.h:
1933         * insets/insetcollapsable.C:
1934         * insets/insetcollapsable.h:
1935         * insets/insetert.C:
1936         * insets/insetfloat.C:
1937         * insets/insetfoot.C:
1938         * insets/insetmarginal.C:
1939         * insets/insetnote.C:
1940         * insets/insetoptarg.C:
1941         * insets/insettabular.C:
1942         * insets/insettext.C:
1943         * insets/insettext.h:
1944         * insets/insetwrap.C:
1945         * mathed/math_mboxinset.C:
1946         * mathed/math_nestinset.C:
1947         * mathed/math_scriptinset.C:
1948         * mathed/math_scriptinset.h:
1949         * support/types.h:
1950
1951 2004-03-24  Angus Leeming  <leeming@lyx.org>
1952
1953         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1954         deal with any child processes that have finished but are waiting to
1955         communicate this fact to the rest of LyX.
1956
1957 2004-03-24  Angus Leeming  <leeming@lyx.org>
1958
1959         64-bit compile fixes.
1960
1961         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1962         (c-tor): pass lyx::pos_types rather than ints.
1963
1964         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1965         lyx::pos_type.
1966
1967         * text.C (Delete): compile fix.
1968         (getPar): ensure that function declaration is the same as that in
1969         the header file.
1970
1971 2004-03-23  Angus Leeming  <leeming@lyx.org>
1972
1973         * ispell.C (LaunchIspell):
1974         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1975         a boost::shred_ptr rather than a std::auto_ptr.
1976
1977 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1978
1979         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1980         handle LFUN_FILE_INSERT_*
1981
1982         * lyxrc.C (setDefaults, getDescription, output, read):
1983         * lyxrc.h: remove ps_command
1984
1985 2004-03-22  Angus Leeming  <leeming@lyx.org>
1986
1987         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1988         Ensure that error_handler is processed once only and that all data
1989         is saved before attempting to output any warning messages.
1990
1991         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1992
1993 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1996
1997 2004-03-19  André Pönitz  <poenitz@gmx.net>
1998
1999         * cursor.[Ch] (reset): take main text inset as argument
2000
2001         * BufferView: adjust
2002         * BufferView_pimpl.C: adjust
2003
2004         * paragraph.[Ch]: fix completely broken operator=()
2005
2006 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * LColor.C (getFromLyXName): make sure that the color name is used
2009         as lowercase.
2010
2011 2004-03-17  Angus Leeming  <leeming@lyx.org>
2012
2013         * lfuns.h:
2014         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2015
2016         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2017         dialog and to kill a forked process.
2018
2019 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2020
2021         * text2.C (setCursorFromCoordinates): fix font problem
2022
2023 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2026         bogus "rebuild cursor" code
2027
2028 2004-03-11  André Pönitz  <poenitz@gmx.net>
2029
2030         * buffer.[Ch]: use InsetText instead of LyXText as container for
2031         the main lyx text.
2032
2033         * dociterator.[Ch]: drop the BufferView * member which is not needed
2034         anymore after the change to buffer.C
2035
2036         * paragraph_funcs.C:
2037         * text.C:
2038         * text2.C:
2039         * BufferView.[Ch]:
2040         * BufferView_pimpl.[Ch]:
2041         * cursor.[Ch]:
2042         * cursor_slice.[Ch]: adjust
2043
2044         * text3.C: fix bug in mathDispatch
2045
2046 2004-03-08  André Pönitz  <poenitz@gmx.net>
2047
2048         * undo.[Ch]: use 'StableDocumentIterator' as base for
2049         the Undo struct.
2050
2051 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2052
2053         * LaTeXFeatures.C:
2054         * bufferparams.[Ch]: add jurabib support and param.
2055
2056         * LaTeX.C: add FIXME/comment.
2057
2058 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2059
2060         * buffer.C: increment file format to 230.
2061
2062 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2063
2064         * cursor.C (dispatch): avoid infinite loops
2065
2066 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2067
2068         * rowpainter.C (paintSelection): fix x coordinates
2069
2070 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2071
2072         * text.C (rowBreakPoint): fix breaking before displayed insets
2073
2074 2004-03-01  André Pönitz  <poenitz@gmx.net>
2075
2076         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2077
2078         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2079
2080         * Makefile.am:
2081         * BufferView.C:
2082         * BufferView_pimpl.C:
2083         * buffer.C:
2084         * lyxfind.C:
2085         * lyxfunc.C:
2086         * text.C:
2087         * text2.C:
2088         * text3.C: adjust
2089
2090 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * lyxtext.h:
2093         * text.C:
2094         * text2.C:
2095         * rowpainter.C:
2096         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2097         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2098
2099 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2100
2101         * Bidi.[Ch] (computeTables): const correctness
2102         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2103         fill_hfill, fill_label_hfill and x from Row
2104         * lyxtext.h: prepareToPrint returns a RowMetrics
2105         * rowPainter.C: adjust
2106         * text.C (prepareToPrint): use width, not textWidth. adjust
2107         (redoParagraphInternal, cursorX): adjust
2108         * text2.C (getColumnNearX): adjust
2109         (init): put a default value to the top LyXText::width
2110
2111 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2114
2115 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2116
2117         * lyxtext.h: add FontIterator class
2118
2119         * text.C (FontIterator, operator*, operator->, operator++): add
2120         (rowBreakPoint, setRowWidth): adjust (fixing a
2121         rebreaking bug)
2122
2123 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2124
2125         * BufferView_pimpl.C (workAreaDispatch): allow also
2126         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2127
2128 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * text.C (rowBreakPoint): fix a bug showing with very large insets
2131
2132 2004-02-25  André Pönitz  <poenitz@gmx.net>
2133
2134         * text3.C:
2135         * cursor.[Ch]: move some mathed specific code to mathed
2136
2137 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2138
2139         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2140         use_tempdir in preferences
2141         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2142         tempfile creation
2143         * lyx_main.C: ensure that tempdir is valid
2144         * lyxlex.h: correct typo
2145         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2146         * paragraph.[Ch] (isMultiLingual): make const
2147         * cursor.[Ch] (openable): make const
2148
2149 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2150
2151         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2152
2153 2004-02-20  André Pönitz  <poenitz@gmx.net>
2154
2155         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2156
2157         * cursor.[Ch]: prepare for localized getStatus()
2158
2159         * lyxtext.h:
2160         * tabular.C:
2161         * text.C:
2162         * text2.C:
2163         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2164
2165 2004-02-20  André Pönitz  <poenitz@gmx.net>
2166
2167         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2168
2169 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2170
2171         * text2.C (setCursorFromCoordinates): switch to absolute coords
2172         (cursorUp): adjust
2173         (cursorDown): adjust
2174         * text3.C (dispatch): adjust
2175
2176 2004-02-16  André Pönitz  <poenitz@gmx.net>
2177
2178         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2179           insets/ChangeLog)
2180
2181         * cursor_slice.[Ch]: remove unneeded acessor function
2182
2183         * lyxtext.h: rename rtl() to isRTL()
2184
2185         * rowpainter.C:
2186         * tabular.C:
2187         * text.C:
2188         * text2.C:
2189         * text3.C: adjust
2190
2191 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * rowpainter.C (paintSelection): coord fix
2194
2195 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2196
2197         * Spacing.C: compile fix
2198
2199 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2200
2201         * cursor.C (dispatch): restore current_ before returning
2202
2203 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2204
2205         * text2.C (cursorUp, cursorDown): fix coords
2206         (moveUp): fix crash
2207
2208 2004-02-12  André Pönitz  <poenitz@gmx.net>
2209
2210         * lyxtext.h:
2211         * text.C:
2212         * text2.C:
2213         * text3.C: add LCursor & parameter to most cursor movement functions
2214           remove usage of LyXText::cursorRow() and cursorPar()
2215
2216         * cursor.[Ch]: add textRow() needed members
2217
2218         * BufferView.C:
2219         * BufferView_pimpl.C:
2220         * paragraph.[Ch]:
2221         * BufferView.C:
2222         * BufferView_pimpl.C: adjust
2223
2224 2004-02-11  André Pönitz  <poenitz@gmx.net>
2225
2226         * lyxfunc.C:
2227         * BufferView.[Ch]:
2228         * BufferView_pimpl.C: shift undo/redo handling
2229
2230         * cursor.[Ch]: fix mathed crash
2231
2232         * lyxfind.C:
2233         * lyxtext.h: move selectionAsText to LCursor
2234
2235         * output_latex.C:
2236         * paragraph.C:
2237         * text.C:
2238         * text2.C:
2239         * text3.C: adjust
2240
2241         * rowpainter.C: fix excessive drawing
2242
2243 2004-02-06  André Pönitz  <poenitz@gmx.net>
2244
2245         * BufferView.[Ch]:
2246         * BufferView_pimpl.[Ch]:
2247         * text3.C: move some text specific LFUN handling
2248
2249 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2250
2251         * text3.C (checkInsetHit): adjust coords
2252         * text2.C (getColumnNearX): adjust coords
2253         (edit): adjust coords
2254         * text.C (getRowNearY): add two asserts
2255
2256 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2257
2258         * converter.C:
2259         * format.C: add using std::distance to compile on gcc 2.95/stlport
2260
2261 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2262
2263         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2264
2265 2004-02-04  André Pönitz  <poenitz@gmx.net>
2266
2267         * BufferView.[Ch] (insertInset):
2268         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2269
2270         * text2.C:
2271         * text3.C: adjust
2272
2273 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2274
2275         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2276         on the default clause of the switch
2277         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2278         wasn't catched by LCursor::dispatch
2279
2280 2004-02-03  André Pönitz  <poenitz@gmx.net>
2281
2282         * BufferView.C:
2283         * cursor.[Ch]: some additional asserts
2284
2285         * undo.[Ch]: remove LyXText dependency in interface
2286
2287         * lyxfunc.C: adjust
2288
2289         * lyxtext.h (firstPar, lastPar): remove dead functions
2290
2291         * text.C:
2292         * text2.C:
2293         * text3.C:
2294         * paragraph.[Ch]: adjust
2295
2296 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2297
2298         * lyxfind.C (find): fix argument order in call to ::find
2299
2300 2004-02-02  André Pönitz  <poenitz@gmx.net>
2301
2302         * cursor.[Ch]: remove direct access to anchor
2303
2304         * text.C: remove findText() hack
2305
2306 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2307
2308         * iterators.[Ch] (lockPath): remove in favour of...
2309         * BufferView.[Ch] (setCursor): this addition
2310         * BufferView.C (putSelectionAt): adjust
2311         * undo.C (performUndoOrRedo): adjust
2312         * lyxfunc.C (dispatch): adjust
2313
2314 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2315
2316         * iterators.C (lockPath): add a missing slice
2317         * undo.C (performUndoOrRedo): remove redundant positioning code
2318
2319 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2320
2321         * vc-backend.C (scanMaster): ";" -> ';'
2322
2323 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2324
2325         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2326         std::binary_function
2327
2328         * lyxtextclass.C (compare_name): rename to...
2329         (LayoutNamesEqual): ...this
2330
2331         * lyxlex_pimpl.C (compare_tags): inherit from
2332         std::binary_function, put back into anon namespace
2333
2334         * lyxfind.C (MatchString): inherig from std::binary_function
2335         (findChange): use empty() istead of !size()
2336
2337         * format.C (FormatNamesEqual): new functor
2338         (getFormat): use it
2339         (getNumber): use it
2340         (add): use it
2341         (erase): use it
2342         (setViewer): use it
2343
2344         * converter.C (compare_Converter): rename to...
2345         (ConverterEqual): ...this, and fixup a bit.
2346         (getConverter): use it, and make function const
2347         (getNumber): use it, and make function const
2348         (add): use it
2349         (erase): use it:
2350
2351         * bufferlist.C: add using boost::bind
2352
2353         * MenuBackend.C (MenuNamesEqual): new functor
2354         (hasMenu): use it, and make function const
2355         (hasSubmenu): use nested bind to get rid of compare_memfun.
2356
2357 2004-01-30  André Pönitz  <poenitz@gmx.net>
2358
2359         * BufferView_pimpl.C:
2360         * cursor.C:
2361         * cursor.h:
2362         * cursor_slice.[Ch]:
2363         * lyxfunc.C:
2364         * lyxtext.h:
2365         * paragraph_funcs.C:
2366         * paragraph_funcs.h:
2367         * rowpainter.C:
2368         * text.C:
2369         * text2.C:
2370         * text3.C: move some of the edit(x,y) handling to the insets
2371         some coordinate changes.
2372
2373 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2374
2375         * text.C: add using statements for std::advance and std::distance
2376
2377         * paragraph.C: add using statement for std::distance
2378
2379         * lyxfind.C: add using statement for std::advance
2380
2381         * cursor.C (region): remove std:: from swap
2382         (openable): use nucleus in stead of operator->
2383
2384         * BufferView.C: add using statements for std::distance and std::swap
2385
2386 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2387
2388         * iterators.C: Remove the pimple, move the needed structures to
2389         the header file. Create accessor for the positions stack.
2390         (asPosIterator): remove function
2391
2392         * PosIterator.C (PosIterator): move constructors to top of file
2393         (PosIterator): reimplement the constructor taking a ParIterator in
2394         terms of setFrom.
2395         (setFrom): new function
2396         (operator!=): inline it
2397
2398 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2399
2400         * lyxfind.C (replaceAll): use std::advance
2401
2402         * iterators.h: inherit from std::iterator.
2403
2404         * PosIterator.C (advance, distance): remove
2405         * PosIterator.h: interit from std::iterator.
2406
2407 2004-01-26  André Pönitz  <poenitz@gmx.net>
2408
2409         * BufferView.[Ch]:
2410         * BufferView_pimpl.[Ch]:
2411         * InsetList.[Ch]:
2412         * PosIterator.[Ch]:
2413         * buffer.h:
2414         * bufferview_funcs.C:
2415         * cursor.[Ch]:
2416         * cursor_slice.h:
2417         * factory.[Ch]:
2418         * iterators.[Ch]:
2419         * lyxfind.C:
2420         * lyxfunc.C:
2421         * lyxtext.h:
2422         * output_docbook.C:
2423         * output_latex.C:
2424         * output_linuxdoc.C:
2425         * output_plaintext.C:
2426         * paragraph.[Ch]:
2427         * paragraph_funcs.[Ch]:
2428         * paragraph_pimpl.[Ch]:
2429         * rowpainter.C:
2430         * tabular.C:
2431         * tabular.h:
2432         * text.C:
2433         * text2.C:
2434         * text3.C: more IU:  dumps most of the rest of the mathcursor
2435     implementation into cursor.[Ch]; "globalize" a bit of it.
2436
2437 2004-01-25  Angus Leeming  <leeming@lyx.org>
2438
2439         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2440
2441 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2442
2443         * LaTeXFeatures.h: add nice_ and nice() const
2444         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2445
2446 2004-01-20  André Pönitz  <poenitz@gmx.net>
2447
2448         * BufferView.[Ch]:
2449         * BufferView_pimpl.C:
2450         * PosIterator.C:
2451         * bufferview_funcs.C:
2452         * cursor.[Ch]:
2453         * cursor_slice.[Ch]:
2454         * factory.C:
2455         * iterators.C:
2456         * lyx_cb.C:
2457         * lyxfind.C:
2458         * lyxfunc.C:
2459         * lyxtext.h:
2460         * rowpainter.C:
2461         * text.C:
2462         * text2.C:
2463         * text3.C:
2464         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2465           LCursor and mathcursor parts to LCursor and InsetBase.
2466
2467 2004-01-15  André Pönitz  <poenitz@gmx.net>
2468
2469         * cursor_slice.[Ch]: add a few covienience functions
2470
2471         * funcrequest.[Ch]: remove BufferView * member
2472
2473         * BufferView_pimpl.C:
2474         * cursor.C:
2475         * factory.[Ch]:
2476         * lyxfind.[Ch]:
2477         * lyxfunc.C:
2478         * lyxtext.h:
2479         * text3.C:
2480         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2481
2482 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2483
2484         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2485         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2486
2487 2004-01-13  André Pönitz  <poenitz@gmx.net>
2488
2489         * textcursor.[Ch]:
2490         * lyxtext.h: hide cursor and selection anchor behind accessor function
2491
2492         * BufferView.C:
2493         * BufferView_pimpl.[Ch]:
2494         * PosIterator.C:
2495         * bufferview_funcs.C:
2496         * cursor.h:
2497         * lyxfind.C:
2498         * lyxfunc.C:
2499         * text.C:
2500         * text2.C:
2501         * text3.C:
2502         * undo.C: adjust
2503
2504         * cursor.h:
2505         * cursor_slice.[Ch]: some integer type changes for inset unification
2506
2507         * lyxcursor.[hC]: remove, it's CursorSlice now.
2508
2509         * Makefile.am:
2510         * BufferView_pimpl.[Ch]:
2511         * bufferview_funcs.C:
2512         * cursor_slice.C:
2513         * lyxtext.h:
2514         * text.C:
2515         * text2.C:
2516         * text3.C:
2517         * textcursor.[Ch]: adjust
2518
2519 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * text2.C (undoSpan): add and use
2522         * text.C (breakParagraph): use undoSpan (fix bug 578)
2523         * lyxtext.h: adjust
2524
2525 2004-01-08  Angus Leeming  <leeming@lyx.org>
2526
2527         * BufferView_pimpl.C (MenuInsertLyXFile):
2528         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2529         * lyxfunc.C (menuNew, open, doImport):
2530         FileFilterList change to the FileDialog open and save functions.
2531
2532 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2533
2534         * ShareContainer.h: make isEqual and isUnique adaptable
2535
2536         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2537
2538 2004-01-07  Angus Leeming  <leeming@lyx.org>
2539
2540         * LyXAction.C:
2541         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2542
2543         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2544
2545         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2546         functions replacing find, replace and replaceAll.
2547
2548         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2549         LFUN_WORDFIND(FORWARD|BACKWARD).
2550
2551 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2552
2553         * text.C (breakParagraph): remove an outdated #warning
2554
2555 2004-01-07  André Pönitz  <poenitz@gmx.net>
2556
2557         * lyxfind.C: somewhat clearer logic
2558
2559         * text.C: prevent crash in cursorX on unitialized row cache
2560
2561 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2562
2563         * lyxcursor.[Ch] (operator>): add
2564         * textcursor.C (selStart, selEnd): use std::min and std::max
2565
2566 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2567
2568         * Chktex.C: include boost/format.hpp
2569
2570 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2571
2572         * InsetList.C: replace functor MathcIt with adaptable functor
2573         InsetTablePosLess
2574         (insetIterator): modify accordingly
2575
2576         * BranchList.h: move the BranchNamesEqual functor here from...
2577         * BranchList.C: ... to here
2578
2579         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2580         SameName and match.
2581         (add): replace a finding loop with std::find_if.
2582
2583 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2584
2585         * output_docbook.C: moving LatexParam functionality into
2586         .layout files
2587
2588 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2589
2590         * buffer.C: increment format to 229.
2591
2592 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2593
2594         * LaTeXFeatures.C:
2595         * lyx_sty.[Ch]: remove minipageindent_def
2596
2597         * LyXAction.C:
2598         * factory.C:
2599         * lfuns.h:
2600         * lyxfunc.C:
2601         * text3.C: remove LFUN_INSET_MINIPAGE
2602
2603 2003-12-28  Angus Leeming  <leeming@lyx.org>
2604
2605         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2606
2607 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2608
2609         * text2.C (setParagraph): fix off-by-one crash
2610
2611 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2612
2613         * output_docbook.C: header stuff for AGU
2614
2615 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2616
2617         * text2.C (redoCursor): remove
2618         * text.C:
2619         * text3.C:
2620         * BufferView_pimpl.C: remove calls to redoCursor and
2621         setCursor(cursor.par(), cursor.pos()) all around
2622
2623 2003-12-15  Angus Leeming  <leeming@lyx.org>
2624
2625         * buffer.C: up the format to 228.
2626
2627 2003-12-15  André Pönitz  <poenitz@gmx.net>
2628
2629         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2630         slices
2631
2632         * Makefile.am:
2633
2634         * BufferView_pimpl.C:
2635         * cursor.[Ch]:
2636         * lyxcursor.[Ch]:
2637         * rowpainter.[Ch]:
2638         * lyxtext.h:
2639         * text.C:
2640         * text2.C:
2641         * text3.C: adjust
2642
2643 2003-12-15  Angus Leeming  <leeming@lyx.org>
2644
2645         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2646         than getFromGUIName to manipulate the color.
2647
2648 2003-12-14  Angus Leeming  <leeming@lyx.org>
2649
2650         * BranchList.[Ch]: minimize the API.
2651         (Branch::getBranch, getColor): now return a 'const &'.
2652         (Branch::setSelected) now returns a bool set to true if the
2653         selection status changes.
2654         (BranchList::clear, size, getColor, setColor, setSelected,
2655         allBranches, allSelected, separator): removed.
2656         (BranchList::find): new functions, returning the Branch with
2657         the given name.
2658         (BranchList::add, remove): return a bool indicating that
2659         the operation was successful.
2660
2661         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2662         new InsetBranch::isBranchSlected member function.
2663
2664         * LColor.[Ch]: mimimize the API.
2665         (fill): renamed as addColor and made private.
2666         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2667         versions of these functions taking a string arg have been removed.
2668
2669         * bufferparams.C (readToken):
2670         * lyxfunc.C (dispatch):
2671         * lyxrc.C (read): changes due to the altered BranchList and
2672         LColor APIs.
2673
2674         * factory.C (createInset, readInset): changes due to altered
2675         InsetBranch c-tor.
2676
2677 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2678
2679         * factory.C:
2680         * lyxfunc.C: remove insetminipage. "minipage-insert"
2681         now produces a frameless minipage box inset.
2682
2683 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2684
2685         * textcursor.[Ch] (selStart,selEnd): add new methods
2686         remove selection::start, end, use LyXCursor::operator<
2687         * lyxcursor.[Ch] (operator<): add
2688         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2689         * BufferView.[Ch] (unsetXSel): add
2690         * text2.C (clearSelection): use unsetXSel,adjust
2691         * text.C: adjust
2692         * text3.C: adjust
2693         * rowpainter.C: adjust
2694         * bufferview_funcs.C (put_selection_at): adjust
2695
2696 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2697
2698         * BufferView_pimpl.C: small coord. correction
2699
2700 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2703         dragging over the splash screen.
2704
2705 2003-12-11  Angus Leeming  <leeming@lyx.org>
2706
2707         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2708         as it is now handled in LyXText::dispatch.
2709
2710         * text3.C (doInsertInset): remove a level of nesting.
2711
2712 2003-12-11  Angus Leeming  <leeming@lyx.org>
2713
2714         * factory.C (createInset): changes due to the changed interface to
2715         InsetCommandMailer::string2params.
2716
2717 2003-12-10  Angus Leeming  <leeming@lyx.org>
2718
2719         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2720         'dialog-show-new-inset <inset name>'
2721
2722 2003-12-10  Angus Leeming  <leeming@lyx.org>
2723
2724         * buffer.C: up the format to 227.
2725
2726         * factory.C: the box inset is now identified simply by 'Box'.
2727
2728 2003-12-10  Angus Leeming  <leeming@lyx.org>
2729
2730         * buffer.C: up the format to 226.
2731
2732         * factory.C: the note inset is now identified simply by 'Note'.
2733
2734 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2735
2736         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2737         when a pit is enough. Standarize a couple of loops.
2738
2739 2003-12-05  Angus Leeming  <leeming@lyx.org>
2740
2741         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2742         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2743         data to the re-worked "log" dialog.
2744
2745 2003-12-03  André Pönitz  <poenitz@gmx.net>
2746
2747         * PosIterator.C:
2748         * iterators.C:
2749         * lyxtext.h:
2750         * output_latex.C:
2751         * paragraph_funcs.C:
2752         * text.C:
2753         * text2.C: use Inset::getText instead of Inset::getParagraph
2754
2755 2003-12-03  André Pönitz  <poenitz@gmx.net>
2756
2757         * buffer.[Ch]:
2758         * lyxtext.h:
2759         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2760         InsetText::read() as LyXText::read()
2761
2762 2003-12-02  Angus Leeming  <leeming@lyx.org>
2763
2764         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2765         type. Add a comment in the implementation that the function uses
2766         the stream's bad() function rather than fail() as the std::streams
2767         would do.
2768
2769 2003-12-02  André Pönitz  <poenitz@gmx.net>
2770
2771         * lyxlex.[Ch]: make interface more similar to std::stream
2772
2773         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2774
2775 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2776
2777         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2778
2779 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2780
2781         * vspace.[Ch]: remove VSpace::NONE
2782
2783 2003-12-01  André Pönitz  <poenitz@gmx.net>
2784
2785         * buffer.[Ch]:
2786         * lyxtext.h: move ParagraphList member to LyXText
2787         rename LyXText::ownerParagraphs to LyXText::paragraph
2788
2789         * CutAndPaste.C:
2790         * bufferview_funcs.C:
2791         * iterators.[Ch]:
2792         * lyx_cb.C:
2793         * paragraph.C:
2794         * rowpainter.C:
2795         * tabular.C:
2796         * text.C:
2797         * text2.C:
2798         * text3.C: adjust
2799
2800         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2801
2802         * undo.C: fix cursor positioning
2803
2804 2003-12-01  John Levon  <levon@movementarian.org>
2805
2806         * BufferView_pimpl.C: fix a crash on exit with
2807         a buffer open
2808
2809 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2810
2811         * BranchList.C: fix setSelected() method.
2812
2813 2003-11-28  André Pönitz  <poenitz@gmx.net>
2814
2815         * ParagraphParameters.[Ch]:
2816         * ParameterStruct.h: remove space above/below from Paragraph to
2817          InsetVSpace
2818
2819         * BufferView_pimpl.C:
2820         * factory.C:
2821         * lyxfunc.C:
2822         * lyxtext.h:
2823         * output_latex.C:
2824         * paragraph.C:
2825         * paragraph_funcs.C:
2826         * rowpainter.[Ch]:
2827         * text.C:
2828         * text2.C:
2829         * text3.C: adjust
2830
2831 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2832
2833         * factory.C: Syntax change for CharStyles
2834
2835 2003-11-28  André Pönitz  <poenitz@gmx.net>
2836
2837         * BufferView.[Ch]:
2838         * BufferView.[Ch]:
2839         * buffer.[Ch]:
2840         * buffer.[Ch]: move LyXText member
2841
2842 2003-11-28  André Pönitz  <poenitz@gmx.net>
2843
2844         * BufferView.[Ch]: make LyXText * text a private member
2845
2846         * BufferView_pimpl.C:
2847         * cursor.C:
2848         * iterators.C:
2849         * lyx_cb.C:
2850         * lyxfind.C:
2851         * lyxtext.h:
2852         * rowpainter.[Ch]:
2853         * text.C:
2854         * text2.C:
2855         * undo.C: adjust
2856
2857         * output_plaintext.C: cleanup
2858
2859 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2860
2861         * buffer.C:
2862         * lyxtextclass.[Ch]: parametrize SGML document header
2863
2864 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2865
2866         * converter.[Ch]:
2867         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2868         getFlavor().
2869
2870 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2871
2872         * text2.C (setFont): rework using PosIterator (no more recursive)
2873         (setCharFont): no more needed
2874         (setLayout): no more selection cursors fiddling (done by redoCursor)
2875         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2876         destroy remaining ones)
2877
2878 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2879
2880         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2881         * lyxtext.h: ditto
2882         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2883         selection cursors
2884         * lyxfunc.C: adjust
2885         * text3.C: adjust + re-allow multi par depth changes
2886         * textcursor.C: simplify a bit
2887
2888 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2889
2890         * src/buffer.C:
2891         * src/lyxlayout.C:
2892         * src/lyxlayout.h:
2893         * src/lyxtext.h:
2894         * src/output_docbook.C:
2895         * src/output_latex.C:
2896         * src/paragraph.C:
2897         * src/paragraph.h:
2898         * src/sgml.C:
2899         * src/sgml.h:
2900         * src/text2.C: Introducing a number of tags parametrizing various
2901         XML formats that we may want to support
2902
2903 2003-11-25  André Pönitz  <poenitz@gmx.net>
2904
2905         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2906
2907         * lyxtext.h (leftMargin/rightMargin): simplify interface
2908
2909         * rowpainter.C:
2910         * text.C:
2911         * text2.C:
2912         * text3.C: adjust
2913
2914 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2915
2916         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2917         master file to any child files. Fixes bug 546.
2918
2919 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2920
2921         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2922
2923 2003-11-24  André Pönitz  <poenitz@gmx.net>
2924
2925         * rowpainter.C: simplification
2926
2927         * text2.C (updateCounters): remove call to redoParagraph on
2928         changed labels as this is far too expensive.
2929
2930 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * converter.C (convert): fix a crash: this function gets
2933         called with buffer == 0 from importer code.
2934
2935 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2936
2937         * text3.C (cursorPrevious): make sure that we do not compare
2938         iterators form different containers.
2939         (cursorNext): ditto
2940
2941         * rowpainter.C (paintSelection): make sure that we do not compare
2942         iterators from different containers.
2943
2944         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2945         iterators from different ParagraphList containers.
2946         [NEXT] ditto
2947
2948         * text2.C (LyXText): change order of initialization slightly
2949         (operator=): new function. copy all variables except cache_par_
2950         (moveUp): make sure that we do not compare iterators from
2951         different ParagraphList constainers.
2952         (moveDown): ditto
2953
2954         * text.C (firstPar): new function
2955         (lastPar): new function
2956         (endPar): new function
2957
2958         * lyxtext.h: move things around and group public functions, public
2959         variables, private functions, private variables
2960
2961 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2962
2963         * factory.C: change call to InsetERT constructor to avoid
2964         additional invocation of method status
2965         * text2.C (toggleInset): remove redundant update() call
2966         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2967         instead of a Bufferview pointer
2968
2969 2003-11-21  André Pönitz  <poenitz@gmx.net>
2970
2971         * rowpainter.C: simplification
2972
2973 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2974
2975         * text3.C (dispatch): make possible to extend a word/row selection
2976         with the mouse
2977
2978 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2979
2980         * lyxtext.h: x0_,y0_ -> xo_,yo_
2981         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2982         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2983         * rowpainter.C (paintRows): paint full paragraphs
2984
2985 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2986
2987         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2988         screen coordinates)
2989
2990 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2991
2992         * lyxtext.h: add x0_, y0_
2993         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2994         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2995
2996 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * text2.C (setCursorIntern): move the x_target update here *
2999         * text3.C: change some bv() to true/false in calls to
3000         cursorUp/Down/Right/Left
3001         * cursor.C: use helper function.
3002
3003 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3006         * paragraph_funcs.[Ch]: correct comment
3007         * rowpainter.C: do not paint selections away from bv->cursor()
3008         Fix a long standing selection painting bug.
3009         * text3.C: generalize mouse-selection code to LyXTexts other that
3010         top one
3011         * textcursor.C: do not use y coords if we can use par offsets
3012
3013 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3014
3015         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3016         cursor position after e.g. inset insert)
3017
3018 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3019
3020         * lyxfind.C (replace): adjust to locking removal + some
3021         code simplification
3022
3023 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3024
3025         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3026         of the path
3027
3028 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3029
3030         * lyxlayout.[Ch]:
3031         * output_docbook.C: XML sanitation: new layout
3032         parameters InnerTag and CommandDepth
3033
3034 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3035
3036         * BufferView_pimpl.C:
3037         * factory.C:
3038         * text3.C: Fix the insertion and modification of button-style
3039         insets
3040
3041 2003-11-13  André Pönitz  <poenitz@gmx.net>
3042
3043         * InsetList.[Ch]: remove deleteLyXText
3044
3045         * paragraph.[Ch]: cache beginOfBody position
3046
3047         * Bidi.C:
3048         * text.C:
3049         * text2.C:
3050         * text3.C: remove superfluous update() calls
3051
3052         * vspace.C: cleanup
3053
3054 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3055
3056         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3057         * BufferView.C (fitLockedInsetCursor): remove
3058         * cursor.[Ch] (getDim): add
3059         * text.C (getRowNearY): add faster version
3060         * text3.C: remove some update calls
3061
3062 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3063
3064         * LaTeXFeatures.C:
3065         * LyXAction.C:
3066         * MenuBackend.C:
3067         * MenuBackend.h:
3068         * dispatchresult.h:
3069         * factory.C:
3070         * lfuns.h:
3071         * lyxfunc.C:
3072         * lyxtextclass.C:
3073         * lyxtextclass.h:
3074         * text3.C: The Character Style /XML short element patch.
3075
3076 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3077
3078         * text3.C:
3079         * factory.C: Small step to solving 'unable to insert some insets'
3080         problem
3081
3082 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3083
3084         * cursor.[Ch] (updatePos): new function for updating the y
3085         position of the tip inset
3086         * bufferview_funcs.C (put_selection_at):
3087         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3088
3089 2003-11-11  André Pönitz  <poenitz@gmx.net>
3090
3091         * text.C: remove big comment on invalid Paragraph pointers as it is
3092         not valid anymore
3093
3094 2003-11-11  André Pönitz  <poenitz@gmx.net>
3095
3096         * text_funcs.[Ch]: merge with ...
3097
3098         * text.C: ... this
3099
3100         * lyxtext.h:
3101         * text2.C:
3102         * text3.C: adjust
3103
3104         * Makefile.am: remove text_funcs.[Ch]
3105
3106 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3107
3108         * cursor.C (getPos): return absolute cached y coord
3109
3110         * BufferView_pimpl.C (fitCursor): new simplistic code
3111         (workAreaDispatch): add a fitCursor call
3112
3113 2003-11-10  André Pönitz  <poenitz@gmx.net>
3114
3115         * BufferView.[Ch]:
3116         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3117
3118 2003-11-10  André Pönitz  <poenitz@gmx.net>
3119
3120         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3121         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3122         indicate that the cursor needs to leave an inset
3123
3124         * lyxtext.h: remove inset locking
3125
3126         * cursor.[Ch]: re-implement functionality provided by inset locking
3127
3128         * BufferView.[Ch]:
3129         * BufferView_pimpl.[Ch]:
3130         * LyXAction.C:
3131         * bufferview_funcs.[Ch]:
3132         * factory.C:
3133         * funcrequest.[Ch]:
3134         * iterators.C:
3135         * lyx_cb.C:
3136         * lyxfind.C:
3137         * lyxfunc.C:
3138         * text.C:
3139         * text2.C:
3140         * text3.C:
3141         * undo.C: adjust
3142
3143 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3144
3145         * PosIterator.[Ch]: replace the stack with a vector, add inset
3146         accesor
3147         * iterators.[C]: adjust
3148
3149 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3150
3151         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3152         replaced
3153         * paragraph_funcs.C (readParToken): put the correct id in the
3154         error item, not the id of the top paragraph
3155
3156 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3157
3158         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3159         * bufferview_funcs.C (put_selection_at): use the above
3160
3161 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3162
3163         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3164
3165 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3166
3167         * output_linuxdoc.h:
3168         * output_plaintext.h:
3169         * output.h:
3170         * output_docbook.h: add #include statements
3171
3172 2003-11-05  José Matos  <jamatos@lyx.org>
3173
3174         * output_docbook.[Ch]:
3175         * output_latex.[Ch]:
3176         * output_linuxdoc.[Ch]:
3177         * output_plaintext.[Ch]: New files for output formats.
3178         * output.[Ch]: New file for helper functions.
3179
3180         * buffer.[Ch]:
3181         * paragraph_funcs.[Ch]: output functions moved to new files.
3182
3183         * outputparams.h: rename of latexrunparams.h
3184
3185         * LaTeX.[Ch]:
3186         * buffer.[Ch]:
3187         * bufferlist.[Ch]:
3188         * converter.[Ch]:
3189         * exporter.C:
3190         * paragraph.[Ch]:
3191         * paragraph_funcs.[Ch]:
3192         * paragraph_pimpl.[Ch]:
3193         * tabular.[Ch]: rename ascii to plaintext
3194         and LatexRunParams to OutputParams.
3195
3196 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3197
3198         * iterators.[Ch] (text): require bv argument
3199         * undo.C (recordUndo):
3200         * lyxfunc.C (dispatch):
3201         * bufferview_funcs.C (put_selection_at): adjust
3202
3203 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3204
3205         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3206
3207 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3208
3209         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3210         nestings
3211
3212 2003-11-04  André Pönitz  <poenitz@gmx.net>
3213
3214         * cursor.[Ch]: restructure
3215
3216         * BufferView.[Ch]:
3217         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3218
3219         * iterators.[Ch] (asCursor): remove
3220
3221         * lfuns.h: remove LFUN_INSET_EDIT
3222
3223         * lyxfunc.C:
3224         * tabular.C:
3225         * text.C:
3226         * text2.C:
3227         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3228
3229 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * lyxfind.[Ch]: complete overhaul
3232         * BufferView_pimpl.C:
3233         * lyxfunc.C: adjust
3234         * paragraph.[Ch] (insert): add
3235
3236 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3237
3238         * BufferView.[Ch]:
3239         * lyxtext.h:
3240         * text.C: remove dead spellcheck code
3241
3242 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3243
3244         * dispatchresult.h: add a val setter
3245
3246         * cursor.C (dispatch): use a tempvar for data_[i]
3247
3248 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3249
3250         * PosIterator.[Ch]: compile fix
3251
3252 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3253
3254         * text.C (cursorPar): deactivate the cursor cache
3255
3256 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3257
3258         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3259
3260 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3261
3262         * text3.C (dispatch): adjust for new DisptchResult semantics.
3263
3264         * lyxfunc.C (dispatch): handle update when return from
3265         Cursor::dispatch, adjust for new DispatchResult semantics.
3266
3267         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3268         DispatchResult(true) mean to not update. Add class functions for
3269         setting dispatched and update, as well as reading.
3270
3271         * cursor.C (dispatch): don't handle update here
3272
3273 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3276         * trans_mgr.C: adjust
3277
3278         * paragraph_funcs.C (readParToken): exception safety
3279
3280         * lyxvc.h: store the vcs pointer in a scoped_ptr
3281         * lyxvc.C: adjust
3282
3283         * lyxsocket.C (serverCallback): exception safety
3284
3285         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3286
3287         * ispell.C (clone): make it return a auto_ptr
3288
3289         * factory.C (createInset): exception safety
3290         (readInset): exception safety
3291
3292         * bufferlist.C (newBuffer): exception safety
3293
3294         * Thesaurus.C (Thesaurus): use initialization for aik_
3295
3296         * MenuBackend.C (expandToc): exception safety.
3297
3298 2003-11-03  André Pönitz  <poenitz@gmx.net>
3299
3300         * buffer.C:
3301         * buffer.h:
3302         * bufferview_funcs.C: remove getInsetFromId()
3303
3304         * lyxcursor.[Ch]:
3305         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3306
3307         * lyxfunc.C:
3308         * text2.C:
3309         * text3.C: adjust
3310
3311 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * PosIterator.C (distance, advance): new
3314         * bufferview_funcs.[Ch] (put_selection_at): new
3315         * iterators.[Ch] (lockPath): new
3316
3317 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3318
3319         * iterators.[Ch] (asPosIterator): added
3320         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3321         * PosIterator.[Ch]: added
3322
3323 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * text3.C:
3326         * lyxfunc.C:
3327         * cursor.C (dispatch):
3328         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3329
3330         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3331         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3332         contructor, add a class function dispatched. Remove operator>=
3333
3334 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * debug.C: only use the default constructor for debugstream
3337         (lyxerr) here.
3338
3339         * main.C (main): include debug.h and setup the lyxerr streambuf
3340         here.
3341
3342 2003-10-31  José Matos  <jamatos@lyx.org>
3343
3344         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3345
3346         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3347         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3348         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3349         * paragraph_pimpl.C (simpleTeXSpecialC):
3350         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3351         add LatexRunParams argument.
3352
3353         * exporter.C (Export): change call accordingly.
3354
3355         * latexrunparams.h: add new member to take care of the other backends.
3356 2003-10-30  José Matos  <jamatos@lyx.org>
3357
3358         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3359         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3360         factorise code for paragraph output.
3361         * buffer.[Ch]:
3362         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3363         move functions.
3364
3365 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * text3.C (dispatch):
3368         * lyxfunc.C (dispatch):
3369         * cursor.C (dispatch):
3370         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3371
3372         * dispatchresult.h: make the dispatch_result_t ctor explicit
3373
3374 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3375
3376         * sgml.[Ch]:
3377         * buffer.C: small refactoring of docbook stuff
3378
3379 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3382         meaning.
3383
3384 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3387         operator dispatch_result_t, and operators for == != and >=
3388
3389         * cursor.C (dispatch): adjust for operator dispatch_result_t
3390         removal. comment out call to update
3391
3392         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3393
3394 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * text3.C:
3397         * text2.C:
3398         * text.C:
3399         * lyxtext.h:
3400         * lyxfunc.C:
3401         * cursor.C:
3402         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3403         (dispatch):
3404
3405         * dispatchresult.h: new file, DispatchResult broken out of
3406         insets/insetbase.h
3407
3408         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3409
3410 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3411
3412         * text.C (rowBreakPoint): put a hack inside #if 0
3413
3414 2003-10-28  André Pönitz  <poenitz@gmx.net>
3415
3416         * lyxtext.h:
3417         * metricsinfo.C:
3418         * paragraph_funcs.C:
3419         * rowpainter.C:
3420         * text.C:
3421         * text2.C: general cleanup (lots of small stuff)
3422
3423 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3424
3425         * text2.C (cursorEnd): simple fix to the "end key goes to one
3426         before the end on last row" bug
3427
3428 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3429
3430         * text.C (backspace): fix the "zombie characters"
3431
3432 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3435
3436 2003-10-27  André Pönitz  <poenitz@gmx.net>
3437
3438         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3439
3440         * factory.C: handle new InsetPagebreak, InsetLine
3441
3442         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3443         and move handling into new InsetPagebreak, InsetLine
3444
3445         * BufferView_pimpl.C:
3446         * LyXAction.C:
3447         * ParagraphParameters.C:
3448         * ParameterStruct.h:
3449         * lyxfunc.C:
3450         * lyxtext.h:
3451         * paragraph.C:
3452         * paragraph.h:
3453         * paragraph_funcs.C:
3454         * paragraph_pimpl.C:
3455         * rowpainter.C:
3456         * text.C:
3457         * text2.C:
3458         * text3.C: adjust
3459
3460 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3461
3462         * text.C:
3463         * lyxrow_funcs.[Ch]:
3464         * Bidi.C:
3465         * paragraph.C:
3466         * lyxtext.h:
3467         * rowpainter.C:
3468         * text2.C:
3469         * text3.C: remove lastPos uses in favour of Row::endpos
3470
3471 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3472
3473         * undo.C (performUndoOrRedo): fix two crashes by setting a
3474         cursor by hand and reordering some calls. Use bv->lockInset instead
3475         of inset->edit because the latter loses cursor information
3476
3477 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3480         by Martin
3481         (rowBreakPoint): fix width. change point to point + 1.
3482         Add a missing check.
3483
3484 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3485
3486         * MenuBackend.C:
3487         * lyxfunc.C: fix (at least partly) the problems
3488         with the Nav menu and headers inside branch insets
3489         reported by Kayvan
3490
3491 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3492
3493         * paragraph.C (getChar): add strong asserts
3494
3495         * lyxrow_funcs.C (lastPos): remove hideous hack
3496
3497         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3498         (fill): adjust to that (avoid an infinite loop)
3499
3500 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3501
3502         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3503
3504 2003-10-23  André Pönitz  <poenitz@gmx.net>
3505
3506         * RowList_fwd.h: change list<> to vector<> to gain speed
3507         after suggestion from Alfredo
3508
3509 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3510
3511         * lyxtext.h: move the bidi stuff from here...
3512         * text.C: and here
3513         * text2.C: and here
3514         * Bidi.[Ch]: ... to here
3515
3516 2003-10-23  André Pönitz  <poenitz@gmx.net>
3517
3518         * lyxtext.h:
3519         * text.C (isLastRow, isFirstRow): new functions
3520
3521         * paragraph.h: new width cache member
3522
3523         * rowpainter.C: replace RowList::iterator with Row & where possible
3524
3525         * lyxfunc.C: replace several view()->text with a single call
3526
3527         * toc.C: fix 'unused' warning
3528
3529 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3532         when woring with stream::pos_type
3533         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3534
3535 2003-10-22  André Pönitz  <poenitz@gmx.net>
3536
3537         * lyxtext.h:
3538         * text.C: use Row & instead of RowList::iterator
3539
3540         * lyxrow.h: rename end() to endpos()
3541
3542         * rowpainter.C:
3543         * text.C:
3544         * text2.C: adjust
3545
3546 2003-10-22  Angus Leeming  <leeming@lyx.org>
3547
3548         * buffer.[Ch] (fully_loaded): new member function, returning true
3549         only when the file has been loaded fully.
3550         Used to prevent the premature generation of previews and by the
3551         citation inset to prevent computation of the natbib-style label.
3552
3553         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3554         templates are all set up.
3555
3556         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3557
3558 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3559
3560         * text.C: fixed an "oops" in the "is a bit silly"
3561         bug fix
3562
3563 2003-10-21  André Pönitz  <poenitz@gmx.net>
3564
3565         * FuncStatus.[Ch]: small stuff, whitespace
3566
3567         * lyxfont.[Ch]: operator<<() for debug reasons
3568
3569         * lyxfunc.C:
3570         * lyxrow_funcs.C:
3571         * lyxtext.h: whitespace, spelling
3572
3573         * paragraph.C: naming of variables
3574
3575         * text.C:
3576         * text2.C: small stuff
3577
3578
3579 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3580
3581         * text.C: (1) finish off the inset display() work;
3582         (2) fix the "is a bit silly" bug (accessing char
3583         past end of par).
3584
3585 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3586
3587         * text.C: re-introduce display() for insets, fixing the
3588         various bugs (stretch of line above, math inset
3589         positioning, ...)
3590
3591 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3592
3593         * text.C (rightMargin): remove spurious semicolon
3594
3595         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3596         1415)
3597
3598 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3599
3600         * text3.C: fix one crash due to wrong cursor def
3601
3602 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3603
3604         * vc-backend.C (scanMaster): make the regex static
3605
3606         * LaTeX.C (scanAuxFile): make the regexs static
3607
3608         * text3.C (doInsertInset, dispatch, dispatch):
3609         * text2.C (cursorUp, cursorDown):
3610         * text.C (selectNextWordToSpellcheck):
3611         * BufferView_pimpl.C (dispatch):
3612         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3613
3614 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3615
3616         * lyxsocket.C: include <cerrno>
3617
3618 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * lyxfunc.C (dispatch): remove textcache stuff
3621
3622         * bufferlist.C (release): remove textcache stuff
3623         (closeAll): ditto
3624
3625         * TextCache.C: delete file
3626         * TextCache.h: delete file
3627
3628         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3629
3630         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3631         delete of the bv_->text.
3632         (resizeCurrentBuffer): remove texcache stuff
3633         (workAreaResize): ditto
3634
3635 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3636
3637         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3638         action.
3639
3640 2003-10-16  André Pönitz  <poenitz@gmx.net>
3641
3642         * lyxrow.[Ch]:
3643         * paragraph.h:
3644         * rowpainter.C:
3645         * text.C:
3646         * text2.C:
3647         * text3.C: speed up by storing y positions per paragraph plus per-row
3648         offset instead of having a 'full' y position in the row.
3649
3650 2003-10-15  André Pönitz  <poenitz@gmx.net>
3651
3652         * iterators.[Ch]:
3653         * iterators.[Ch]:
3654         * undo.[Ch]: make undo aware of inner insets
3655
3656 2003-10-14  Angus Leeming  <leeming@lyx.org>
3657
3658         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3659         static member functions LyX::ref() and LyX::cref.
3660         (lastfiles): new accessor functions for the new lastfiles_ member var.
3661         (addLyXView, views_): add a new LyXView to the list of views_.
3662         (updateInset): loop over all LyXViews to call their own updateInset
3663         member function, returning a pointer to the Buffer owning the inset.
3664
3665         * BufferView_pimpl.C (loadLyXFile):
3666         * MenuBackend.C (expandLastfiles):
3667         * bufferlist.C (MenuWrite, QuitLyX):
3668         lastfiles is no longer a global variable.
3669         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3670
3671         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3672         static function. Access through LyX::cref().emergencyCleanup().
3673
3674 2003-10-14  André Pönitz  <poenitz@gmx.net>
3675
3676         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3677
3678         * undo.[Ch]: restoring part of 'undo in insets'
3679
3680         * Makefile.am:
3681         * undo_funcs.[Ch]: merge with undo.[Ch]
3682
3683         * tabular.C: small cleansing stuff
3684
3685 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * paragraph_funcs.C (readParToken): report unknown insets as error
3688         boxes. Use the outer paragraph as location (also for unknown
3689         tokens).
3690
3691         * factory.C (readInset): do not abort on reading an unknown inset.
3692         Eat it and return 0.
3693
3694 2003-10-13  Angus Leeming  <leeming@lyx.org>
3695
3696         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3697
3698         * lyxrc.C: displayTranslator is now a function,
3699         declared in GraphicsTypes.h.
3700
3701 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3702
3703         * format.C: new placeholder $$a to pass the socket address.
3704
3705         * bufferlist.[Ch]: new function getBufferFromTmp.
3706
3707         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3708           files in the temporary dir.
3709
3710 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3711
3712         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3713
3714         * Makefile.am: add lyxsocket.[Ch].
3715
3716         * lyx_main.C (error_handler): handle SIGPIPE.
3717
3718 2003-10-13  André Pönitz  <poenitz@gmx.net>
3719
3720         * BufferView_pimpl.C:
3721         * lyxtext.h:
3722         * text.C:
3723         * text2.C:
3724         * text3.C:
3725         * undo_funcs.[Ch]: use paroffset_type instead of
3726           ParagraphList::iterators to prevent multiple conversion
3727           (and get a more robust interface)
3728
3729 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3732         * lyxtext.h: ditto
3733         * text3.C (dispatch): ditto
3734
3735 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3736
3737         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3738         move the onlyfile, use onlyfile instead of foundfile in a couple
3739         of places.
3740
3741         * DepTable.C (update): flush the error stream a bit more
3742
3743 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3744
3745         * lyxserver.C (callback): adjust
3746
3747         * lyxfunc.C (getStatus): add a missing brace in commented code
3748         (ensureBufferClean): reindent
3749         (dispatch): delete version taking a string
3750
3751 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3752
3753         * LaTeX.C (deplog): move found file handlig from here...
3754         (handleFoundFile): .. to new function here.
3755         (deplog): make sure to discover several files mentioned on the
3756         same log line.
3757
3758 2003-10-10  André Pönitz  <poenitz@gmx.net>
3759
3760         * lyxfunc.C:
3761         * lyxtext.h:
3762         * tabular.C:
3763         * text.C:
3764         * text2.C:
3765         * text3.C: fix some of the tabular crashes
3766
3767 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3768
3769         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3770
3771         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3772
3773 2003-10-09  André Pönitz  <poenitz@gmx.net>
3774
3775         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3776
3777         * BufferView.C:
3778         * BufferView_pimpl.C:
3779         * bufferview_funcs.C:
3780         * lyx_cb.C:
3781         * lyxcursor.C:
3782         * lyxfind.C:
3783         * lyxfunc.C:
3784         * lyxtext.h:
3785         * text.C:
3786         * text2.C:
3787         * text3.C:
3788         * text_funcs.[Ch]:
3789         * textcursor.[Ch]:
3790         * undo_funcs.C: adjust
3791
3792 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * text2.C (incrementItemDepth): new function, use a backtracking
3795         algorithm to discover the correct item depth.
3796         (resetEnumCounterIfNeeded): new function, use a backtracking
3797         algorithm to discover if counter reset is needed.
3798         (setCounter): use them. Simplify a bit. Add different labels for
3799         different item depths for itemize.
3800
3801         * paragraph.C (Paragraph): remove initialization of enumdepth
3802         (operator=): ditto
3803
3804         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3805         enumerate and itemize. Change the type of itemdepth to signed char.
3806
3807 2003-10-08  André Pönitz  <poenitz@gmx.net>
3808
3809         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3810           thing assignable.
3811         * text.C:
3812         * text2.C: adjust
3813
3814         * tabular.[Ch]: fix crash after 'row-insert'
3815
3816 2003-10-08  Angus Leeming  <leeming@lyx.org>
3817
3818         Fix doxygen warnings.
3819
3820         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3821         Remove CutAndPaste:: prefix from header file declaration.
3822
3823         * LColor.h (fill): remove LColor:: prefix from declaration.
3824
3825         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3826         use lyx::depth_type rather than Paragraph::depth_type so that
3827         header file and .C file match.
3828
3829         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3830
3831         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3832         * aspell.C: \file aspell_local.C -> \file aspell.C
3833         * gettext.C: \file gettext.C -> \file src/gettext.C
3834         * gettext.h: \file gettext.h -> \file src/gettext.h
3835         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3836         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3837         * text.C: \file text.C -> \file src/text.C
3838
3839         * toc.C: move comment so that doxygen is not confused.
3840
3841 2003-10-07  Angus Leeming  <leeming@lyx.org>
3842
3843         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3844
3845 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3846
3847         * aspell.C:
3848         * aspell_local.h: add forgotten std::string's.
3849
3850 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3851
3852         * LaTeXFeatures.C:
3853         * LyXAction.C:
3854         * factory.C:
3855         * lfuns.h:
3856         * lyxfunc.C:
3857         * text3.C: The Box patch. Fancybox support, minipage, parbox
3858
3859 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3860
3861         * CutAndPaste.h:
3862         * DepTable.h:
3863         * FloatList.h:
3864         * LaTeXFeatures.h:
3865         * ParagraphParameters.h:
3866         * TextCache.h:
3867         * Thesaurus.h:
3868         * bufferlist.h:
3869         * exporter.h:
3870         * importer.h:
3871         * lastfiles.h:
3872         * lyxfind.h:
3873         * lyxfont.h:
3874         * lyxlex.h:
3875         * lyxtextclasslist.h:
3876         * messages.h:
3877         * paragraph.h:
3878         * paragraph_pimpl.C:
3879         * textcursor.h: add <string> and other small fixes to make Lars'
3880         std::string patch compile with STLport.
3881
3882 2003-10-06  Angus Leeming  <leeming@lyx.org>
3883
3884         * LColor.h: Add missing #include <string>.
3885
3886 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3887
3888         * All most all file in all subdirs: Make <string> be the prefered
3889         way of getting to std::string, add using declarations.
3890
3891 2003-10-06  André Pönitz  <poenitz@gmx.net>
3892
3893         * metricsinfo.C: initialize LyXFont before changing attribute.
3894         (fixes the 'math in \emph is upright' bug)
3895
3896 2003-10-06  André Pönitz  <poenitz@gmx.net>
3897
3898         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3899
3900 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3901
3902         * graph.C:
3903         * paragraph_pimpl.C: Small fixes to build using STLport
3904
3905 2003-10-02  André Pönitz  <poenitz@gmx.net>
3906
3907         * lyxfunc.C:
3908         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3909
3910 2003-10-01  André Pönitz  <poenitz@gmx.net>
3911
3912         * factory.C: assert early
3913
3914 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3915
3916         * lyx_main.C: remove the global debug object
3917
3918         * debug.h: adjust for new debugstream
3919
3920         * debug.C: adjust for new debugstream and keep the global debug
3921         object here.
3922
3923 2003-09-22  Angus Leeming  <leeming@lyx.org>
3924
3925         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3926         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3927         an incomplete class LyXFont.
3928
3929 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3930
3931         * factory.C: bug fix in branches
3932
3933 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * lyxfunc.C (processKeySym): adjust
3936         (dispatch): adjust
3937         (dispatch): change arg name from ev to func, adjust
3938         (sendDispatchMessage): ditto
3939
3940         * lyx_main.C (defaultKeyBindings): adjust keybindings
3941         (deadKeyBindings): ditto
3942
3943         * kbsequence.C (addkey): return a FuncRequest
3944
3945         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3946
3947         * kbmap.C (bind): take a FuncRequest as arg, adjust
3948         (read): adjust
3949         (lookup): adjust
3950         (defkey): change to take a FuncRequest as arg, adjust
3951         (findbinding): take a FuncRequest as arg, adjust.
3952
3953         * funcrequest.h (operator=): added
3954
3955         * funcrequest.C (FuncRequest): default kb_action changed from
3956         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3957
3958         * buffer.C (dispatch): simplify
3959         (dispatch): adjust to take a FuncRequest as arg, adjust
3960
3961         * boost.C (assertion_failed): change assertion message slightly
3962
3963         * ToolbarBackend.C (read): simplify
3964
3965         * MenuBackend.C (binding): adjust call to findbinding, add a
3966         message if no binding is found.
3967         (read): simplify
3968         (expandToc): correct by adding a empty FuncRequest
3969
3970         * LyXAction.C: include <boost/assert.hpp>
3971         (isPseudoAction): delete function
3972         (LookupFunc): change name to...
3973         (lookupFunc): this. change return type to FuncRequest.
3974         (getActionName): take kb_action as arg, simplify
3975         (funcHasFlag): add an assert, simplify.
3976
3977 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3978
3979         * toc.C (action): return a FuncRequest, simplify
3980
3981         * lyxfunc.C (processKeySym): adjust
3982         (getStatus): delete version that takes an int.
3983         (getStatus): adjust
3984         (dispatch): delete version that takes action as int
3985         (dispatch): adjust
3986         (sendDispatchMessage): simplify and adjust
3987
3988         * funcrequest.C (getArg): take unsigned int as arg
3989
3990         * ToolbarBackend.C (read): adjust
3991         (add): delete version that takes func as a string.
3992         (getIton): take a FuncRequest as arg
3993
3994         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3995         action.
3996
3997         * MenuBackend.C (MenuItem): add a new construct that only takes a
3998         Kind, simplify the constructor use for submenus.
3999         (add): adjust
4000         (expandLastfiles): adjust
4001         (expandDocuments): adjust
4002         (expandFormats): adjust
4003         (expandFloatListInsert): adjust
4004         (expandFloatInsert): adjust
4005         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4006
4007         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4008         Remove class variables lyx_pseudo_map and lyx_arg_map
4009
4010         * LyXAction.C (searchActionArg): delete function
4011         (getPseudoAction): delete function
4012         (retrieveActionArg): delete function
4013         (LookupFunc): make it return kb_action, simplify.
4014         (getActionName): simplify
4015
4016         * factory.C (createInset): fix new bug
4017
4018 2003-09-19  Angus Leeming  <leeming@lyx.org>
4019
4020         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4021         masterFilename_ parameter in the include inset.
4022
4023         * factory.C (createInset): changes due to the changes to InsetInclude.
4024
4025 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4026
4027         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4028
4029 2003-09-18  Angus Leeming  <leeming@lyx.org>
4030
4031         * buffer.C:
4032         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4033         Inset::fillWithBibKeys.
4034         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4035
4036 2003-09-18  Angus Leeming  <leeming@lyx.org>
4037
4038         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4039         variables.
4040         (ctor): pass and store a 'Buffer const &'
4041         (buffer): new member function.
4042
4043         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4044         '*this' to the LaTeXFeatures ctor.
4045
4046 2003-09-18  Angus Leeming  <leeming@lyx.org>
4047
4048         * LColor.h:
4049         * lyxfont.C:
4050         * lyxfont.h:
4051         * lyxtext.h:
4052         * text.C: rename EnumLColor as LColor_color.
4053
4054 2003-09-18  Angus Leeming  <leeming@lyx.org>
4055
4056         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4057         remove #include "insets/insetbase.h" from cursor.h.
4058
4059 2003-09-18  Angus Leeming  <leeming@lyx.org>
4060
4061         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4062         InsetOld_code to remove #include "inset.h".
4063
4064         * iterators.C: add #include "insets/inset.h"
4065
4066 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4067
4068         * BufferView.C: remove more locking stuff that apparently doesn't
4069         do anything sensible.
4070
4071 2003-09-16  André Pönitz  <poenitz@gmx.net>
4072
4073         * paragraph.[Ch]:
4074         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4075           performance boost.
4076
4077 2003-09-16  Angus Leeming  <leeming@lyx.org>
4078
4079         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4080
4081         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4082         arg/return type.
4083
4084         * paragraph.h: remove #include "lyxfont.h". Forward declare
4085         LyXFont_size.
4086
4087 2003-09-16  Angus Leeming  <leeming@lyx.org>
4088
4089         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4090         of support/textutils.h.
4091         (isWord): move the contents of support/textutils.h's IsWordChar here.
4092
4093         * buffer.C:
4094         * lyxfind.C:
4095         * rowpainter.C:
4096         * text.C:
4097         * text2.C: add #include "paragraph.h".
4098
4099         * rowpainter.C:
4100         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4101
4102 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * main.C:
4105         * lyx_main.C:
4106         * lyx_cb.C:
4107         * buffer.C:
4108         * LaTeX.C: use namespace alias for lyx::support::os
4109
4110 2003-09-16  Angus Leeming  <leeming@lyx.org>
4111
4112         * bufferparams.C:
4113         * bufferview_funcs.C:
4114         * factory.C:
4115         * lyxfunc.C:
4116         * paragraph_pimpl.C:
4117         * rowpainter.C:
4118         * text.C: add #include "LColor.h".
4119
4120 2003-09-16  Angus Leeming  <leeming@lyx.org>
4121
4122         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4123         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4124         return LyXFont &.
4125         Store the FontBits::color variable as an int rather than as an
4126         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4127         file.
4128
4129         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4130         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4131         string calls together.
4132
4133         * lyxrc.C: add #include "LColor.h".
4134
4135 2003-09-15  Angus Leeming  <leeming@lyx.org>
4136
4137         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4138         a cow_ptr.
4139
4140 2003-09-15  Angus Leeming  <leeming@lyx.org>
4141
4142         * LColor.h: add an EnumLColor wrapper for LColor::color.
4143
4144         * lyxfont.[Ch] (color, setColor, realColor):
4145         * lyxtext.h, text.C (backgroundColor):
4146         pass EnumLColor args to/from the functions, rather than LColor::color
4147         ones.
4148
4149         * lyxfont.h:
4150         * lyxtext.h: forward declare EnumLColor.
4151
4152         * lyx_main.C: add #include "LColor.h".
4153
4154 2003-09-15  Angus Leeming  <leeming@lyx.org>
4155
4156         * .cvsignore: add lyx-gtk.
4157
4158 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * Chktex.C
4161         * LaTeX.C
4162         * LaTeXFeatures.C
4163         * ParagraphParameters.C
4164         * Spacing.C
4165         * buffer.C
4166         * bufferparams.C
4167         * bufferview_funcs.C
4168         * chset.C
4169         * counters.C
4170         * funcrequest.C
4171         * lyxfont.C
4172         * lyxgluelength.C
4173         * lyxlength.C
4174         * paragraph.C
4175         * paragraph_funcs.C
4176         * text3.C
4177         * vc-backend.C: remove usage of STRCONV
4178
4179 2003-09-15  Angus Leeming  <leeming@lyx.org>
4180
4181         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4182         explicitly define the color passed to the painter.
4183
4184 2003-09-15  Angus Leeming  <leeming@lyx.org>
4185
4186         * bufferparams.C (BufferParams): reorder member initializers to avoid
4187         compiler warning.
4188
4189 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4190
4191         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4192         * text.C (updateRowPositions): remove an unusual nop
4193
4194 2003-09-12  André Pönitz  <poenitz@gmx.net>
4195
4196         * BufferView_pimpl.C:
4197         * Bullet.C:
4198         * layout.h:
4199         * lyxfunc.C:
4200         * lyxlayout.[Ch]:
4201         * lyxtextclass.C:
4202         * rowpainter.C:
4203         * text.C:
4204         * text2.C:
4205         * Counters.[Ch]: finish the 'automatic counters' job
4206
4207 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4208
4209         * aspell.C: include <boost/assert.cpp> (compile fix)
4210
4211 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4212
4213         * boost.C (assertion_failed): use lyx::support::abort instead of
4214         assert.
4215
4216 2003-09-10  Angus Leeming  <leeming@lyx.org>
4217
4218         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4219         with their _fwd progeny.
4220
4221 2003-09-09  Angus Leeming  <leeming@lyx.org>
4222
4223         134 files throughtout the source tree: replace 'using namespace abc;'
4224         directives with the appropriate 'using abc::xyz;' declarations.
4225
4226 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4227
4228         * boost.C (emergencyCleanup): moved here from LAssert.c
4229         (assertion_failed): new function, called by BOOST_ASSERT
4230
4231         * several files: change Assert to BOOST_ASSERT
4232
4233 2003-09-09  Angus Leeming  <leeming@lyx.org>
4234
4235         * buffer.[Ch]: Add an Impl class and move Buffer's member
4236         variables into it. As a result move several header files out of
4237         buffer.h.
4238
4239         Add header files to lots of .C files all over the tree as a result.
4240
4241 2003-09-09  Angus Leeming  <leeming@lyx.org>
4242
4243         * buffer.[Ch]: make Buffer's member variables private. Add
4244         accessor functions.
4245
4246         Lots of changes all over the tree as a result.
4247
4248 2003-09-08  Angus Leeming  <leeming@lyx.org>
4249
4250         * graph.C: #include <config.h>.
4251
4252 2003-09-08  Angus Leeming  <leeming@lyx.org>
4253
4254         * BranchList.C:
4255         * BufferView.C:
4256         * BufferView_pimpl.C:
4257         * CutAndPaste.C:
4258         * DepTable.C:
4259         * LaTeX.C:
4260         * LaTeXFeatures.C:
4261         * LyXAction.C:
4262         * MenuBackend.C:
4263         * TextCache.C:
4264         * aspell.C:
4265         * buffer.C:
4266         * bufferlist.C:
4267         * changes.C:
4268         * chset.C:
4269         * converter.C:
4270         * counters.C:
4271         * debug.C:
4272         * graph.C:
4273         * ispell.C:
4274         * lyx_cb.C:
4275         * lyxfind.C:
4276         * lyxfunc.C:
4277         * lyxlex_pimpl.C:
4278         * lyxrc.C:
4279         * lyxrow.C:
4280         * paragraph.C:
4281         * rowpainter.C:
4282         * texrow.C:
4283         * text.C:
4284         * text2.C:
4285         * toc.C: remove redundant using directives.
4286
4287 2003-09-07  Angus Leeming  <leeming@lyx.org>
4288
4289         * LaTeXFeatures.h: remove #include "support/types.h".
4290         * ToolbarBackend.h: remove #include <algorithm>.
4291         * changes.h: remove #include <ctime>.
4292         * debug.h: remove #include <iosfwd>.
4293         * graph.h: remove #include "support/std_string.h".
4294         * lyx_main.h: remove #include <csignal>.
4295         * lyxlex_pimpl.h: remove #include <fstream>.
4296         * sgml.h: remove #include <algorithm>, <utility>.
4297         * toc.h: remove #include "support/std_ostream.h".
4298         Add #include <iosfwd>.
4299
4300 2003-09-07  Angus Leeming  <leeming@lyx.org>
4301
4302         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4303
4304         * converter.h: forward declare LatexRunParams.
4305         * encoding.h: remove #include "lyxrc.h".
4306         * lyxtext.h: remove #include "LColor.h".
4307         * lyxtextclass.h: remove #include "support/types.h".
4308         * trans.h: remove #include "tex-accent.h".
4309         * trans_mgr.h: remove #include "tex-accent.h".
4310         * insets/inset.h: remove #include "support/types.h", <vector>.
4311         * insets/insetcollapsable.h: remove #include "LColor.h".
4312         * insets/insetinclude.h: remove #include "dimension.h".
4313         * insets/insetlatexaccent.h: remove #include "dimension.h".
4314         * insets/insetoptarg.h:: remove #include "insettext.h".
4315         * insets/insettext.h: remove #include "dimension.h",
4316         <boost/shared_ptr.hpp>
4317
4318         * insets/renderers.h: add #include "dimension.h".
4319         * insets/updatableinset.h: add #include "support/types.h".
4320
4321         * many .C files: Associated changes.
4322
4323 2003-09-06  Angus Leeming  <leeming@lyx.org>
4324
4325         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4326         one, inside testInvariant.
4327
4328         * PrinterParams.C: new file.
4329         * PrinterParams.[Ch]: move the function bodies out of line.
4330
4331 2003-09-06  Angus Leeming  <leeming@lyx.org>
4332
4333         * ParagraphParameters.h: forward declare ParameterStruct rather than
4334         including its header file.
4335         (depth): moved out-of-line.
4336
4337 2003-09-06  Angus Leeming  <leeming@lyx.org>
4338
4339         * BufferView_pimpl.h:
4340         * kbmap.h:
4341         * kbsequence.h:
4342         * lyxfunc.h: forward declare LyXKeySym rather than
4343         #include "frontends/LyXKeySym.h".
4344
4345         * BufferView_pimpl.C:
4346         * kbmap.C:
4347         * kbsequence.C:
4348         * lyxfunc.C: associated changes.
4349
4350 2003-09-06  Angus Leeming  <leeming@lyx.org>
4351
4352         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4353         As a result, can remove the #include "insets/inset.h" from BufferView.h
4354
4355 2003-09-06  Angus Leeming  <leeming@lyx.org>
4356
4357         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4358         As a result, can remove the #include "insets/inset.h" from BufferView.h
4359
4360 2003-09-06  Angus Leeming  <leeming@lyx.org>
4361
4362         * buffer_funcs.C:
4363         * buffer.h:
4364         * bufferlist.C:
4365         * BufferView.C:
4366         * bufferview_funcs.C:
4367         * BufferView_pimpl.C:
4368         * CutAndPaste.C:
4369         * lyx_cb.C:
4370         * lyxfunc.C:
4371         * paragraph.h:
4372         * ParagraphParameters.C:
4373         * tabular.C:
4374         * text3.C:
4375         * toc.C:
4376         * undo_funcs.C:
4377         * frontends/controllers/ControlDocument.C:
4378         * insets/insetcaption.C: rearrange the #includes into some sort of
4379         coherent order.
4380
4381         * buffer.h: remove #includes ErrorList.h, undo.h
4382
4383 2003-09-06  Angus Leeming  <leeming@lyx.org>
4384
4385         * support/types.h: add a 'depth_type' typedef, used to store the
4386         nesting depth of a paragraph.
4387
4388         * paragraph.h:
4389         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4390         defining explicitly.
4391
4392         * buffer.h:
4393         * paragraph_funcs.h:
4394         * ParagraphParameters.h:
4395         * sgml.h: use lyx::depth_type rather than Paragraph or
4396         ParameterStruct's depth_type.
4397
4398         * buffer.h
4399         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4400
4401         * BufferView.C:
4402         * BufferView_pimpl.C:
4403         * CutAndPaste.C:
4404         * ParagraphParameters.C:
4405         * buffer_funcs.C:
4406         * bufferlist.C:
4407         * bufferview_funcs.C:
4408         * lyx_cb.C:
4409         * lyxfunc.C:
4410         * tabular.C:
4411         * text3.C:
4412         * toc.C:
4413         * undo_funcs.C:
4414         * frontends/LyXView.C:
4415         * frontends/controllers/ControlDocument.C:
4416         * frontends/controllers/ControlErrorList.C:
4417         * insets/insetbibitem.C:
4418         * insets/insetbranch.C:
4419         * insets/insetcaption.C:
4420         * insets/insetcollapsable.C:
4421         * insets/insetenv.C:
4422         * insets/insetert.C:
4423         * insets/insetfloat.C:
4424         * insets/insetfoot.C:
4425         * insets/insetfootlike.C:
4426         * insets/insetnewline.C:
4427         * insets/insetquotes.C:
4428         * insets/insettabular.C:
4429         * insets/insettext.C:
4430         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4431
4432         * frontends/controllers/ControlChanges.C: #include "changes.h".
4433
4434 2003-09-06  Angus Leeming  <leeming@lyx.org>
4435
4436         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4437         than #including paragraph.h.
4438
4439         * ParagraphList.h:
4440         * RowList.h: deleted. Superfluous.
4441
4442         * CutAndPaste.h:
4443         * iterators.h:
4444         * lyxcursor.h:
4445         * lyxtext.h:
4446         * text_funcs.h:
4447         * undo.h:
4448         * undo_funcs.h:
4449         * insets/inset.h:
4450         * insets/insettext.h: use ParagraphList_fwd.h rather than
4451         ParagraphList.h.
4452
4453         * paragraph.h: don't forward declare ParagraphList.
4454
4455         * buffer.h:
4456         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4457         rather than ParagraphList.h. paragraph.h is still needed for the
4458         Paragraph::depth_type parameters.
4459
4460         * textcursor.h: enable it to compile stand-alone in light of the
4461         above changes.
4462
4463         * bufferview_funcs.C:
4464         * iterators.C:
4465         * lyxfunc.C:
4466         * lyxrow_funcs.C:
4467         * paragraph.C:
4468         * rowpainter.C:
4469         * text.C:
4470         * text2.C:
4471         * text3.C:
4472         * text_funcs.C:
4473         * textcursor.C:
4474         * undo.C:
4475         * frontends/controllers/ControlParagraph.C:
4476         * frontends/controllers/ControlTabular.C:
4477         * insets/insetmarginal.C:
4478         * insets/insetminipage.C:
4479         * insets/insetnote.C:
4480         * insets/insetoptarg.C: add header files needed to compile again.
4481
4482 2003-09-06  Angus Leeming  <leeming@lyx.org>
4483
4484         * RowList_fwd.h: new file, forward-declaring Row rather than
4485         #including lyxrow.h.
4486
4487         * lyxrow_funcs.h:
4488         * lyxtext.h:
4489         * paragraph.h:
4490         * insets/insettext.h: use it instead of RowList.h
4491
4492         * bufferview_funcs.C:
4493         * lyxfunc.C:
4494         * lyxrow_funcs.C:
4495         * paragraph.C:
4496         * rowpainter.C:
4497         * text.C:
4498         * text2.C:
4499         * text3.C: #include "RowList.h".
4500
4501 2003-09-05  Angus Leeming  <leeming@lyx.org>
4502
4503         * factory.C (createInset):
4504         * vspace.C (c-tor): replace sscanf call with an istringstream.
4505         * ispell.C: re-add missing HP/UX headers.
4506         * lyxserver.C: re-add missing  os2 headers.
4507
4508 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4509
4510         * BranchList.C:
4511         * graph.C:
4512         * ispell.C:
4513         * lastfiles.C:
4514         * lyx_cb.C:
4515         * lyxserver.C:
4516         * texrow.C:
4517         * text3.C: re-add missing system headers, needed for 2.95.2.
4518
4519 2003-09-05  Angus Leeming  <leeming@lyx.org>
4520
4521         Changes most place everywhere due to the removal of using directives
4522         from support/std_sstream.h.
4523
4524 2003-09-05  Angus Leeming  <leeming@lyx.org>
4525
4526         Replace LString.h with support/std_string.h,
4527         Lsstream.h with support/std_sstream.h,
4528         support/LIstream.h with support/std_istream.h,
4529         support/LOstream.h with support/std_ostream.h.
4530
4531         Changes resulting throughout the tree.
4532
4533 2003-09-05  Angus Leeming  <leeming@lyx.org>
4534
4535         * sgml.h: ensure that the header file can be compiled stand-alone.
4536         * *.C: strip out redundant #includes. (320 in total.)
4537
4538 2003-09-04  Angus Leeming  <leeming@lyx.org>
4539
4540         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4541         here (from getPackages).
4542
4543         * debug.[Ch]: add a new EXTERNAL tag.
4544
4545 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4546
4547         * text2.C (cursorEnd): simplify
4548         (setCursor): adjust
4549         (getColumnNearX): adjust
4550
4551         * text.C (computeBidiTables): adjust
4552         (fill): adjust
4553
4554         * rowpainter.C (paintChars): adjust
4555         (paintSelection): adjust
4556         (paintChangeBar): adjust
4557         (paintText): adjust
4558
4559         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4560         lastPos instead.
4561         (numberOfSeparators): adjust
4562
4563 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4564
4565         * LyXAction.C:
4566         * box.[Ch]:
4567         * lfuns.h:
4568         * lyxfunc.C:
4569         * text3.C: Restricts the mouse click functionality
4570         of insets like bibtex, include, toc and floatlist to the visible
4571         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4572         up the dialogs. Cursor has to be in front of the inset (i.e.
4573         start of row) for this to function.
4574
4575 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4576
4577         * bufferview_funcs.C (currentState): output row information
4578
4579 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4580
4581         * bufferview_funcs.C (currentState): output paragraph position
4582
4583 2003-09-04  Angus Leeming  <leeming@lyx.org>
4584
4585         * FloatList.h: move out #include "Floating.h".
4586         * LaTeX.h: move out #include "DepTable.h".
4587         * LyXAction.h: move out #include "funcrequest.h".
4588         * buffer.h: move out #include "author.h", "iterators.h".
4589         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4590         * lyx_main.h: move out #include "errorlist.h".
4591         * lyxfunc.h: move out #include "FuncStatus.h".
4592         * lyxtext: move out #include "lyxcursor.h".
4593         * paragraph_pimpl.h: move out #include "counters.h".
4594
4595 2003-09-03  Angus Leeming  <leeming@lyx.org>
4596
4597         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4598         preamble_snippets list, enabling us to add snippets to the preamble
4599         only if the snippet was not there already.
4600
4601 2003-09-04  Angus Leeming  <leeming@lyx.org>
4602
4603         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4604
4605 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4606
4607         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4608         update
4609
4610 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4611
4612         * BranchList.C: point fix, earlier forgotten
4613
4614 2003-09-02  Angus Leeming  <leeming@lyx.org>
4615
4616         * box.C (contains): renamed from 'contained' after a fantastic
4617         amount of hot air.
4618
4619 2003-09-02  John Levon  <levon@movementarian.org>
4620
4621         * BufferView.C:
4622         * lyxcursor.h:
4623         * lyxcursor.C:
4624         * lyxfunc.C:
4625         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4626
4627 2003-09-02  John Levon  <levon@movementarian.org>
4628
4629         * text2.C: simplification of cursorEnd(), including partial
4630         fix for bug 1376
4631
4632 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * buffer.C (readFile): add a space
4635
4636 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4637
4638         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4639
4640 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4641
4642         * buffer.C (readFile): new function, take a filename and a
4643         ParagraphList::iterator
4644         (readFile): adjust
4645         (readFile): adjust, make it private. don't use setStream, make
4646         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4647         always contain the filename.
4648
4649         * BufferView.C (insertLyXFile): simplify and make it work for
4650         gzipped files.
4651
4652 2003-08-30  John Levon  <levon@movementarian.org>
4653
4654         * Makefile.am: fix dist (from Kayvan)
4655
4656 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * most files: change to use const Buffer refs
4659
4660 2003-08-27  André Pönitz  <poenitz@gmx.net>
4661
4662         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4663         on top of ownerPar().
4664
4665 2003-08-27  John Levon  <levon@movementarian.org>
4666
4667         * funcrequest.C: properly initialise POD members
4668
4669 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4670
4671         * lyxtext.h (top_y): move top_y from here
4672         * text.C:
4673         * text2.C:
4674         * text3.C:
4675         * BufferView.[Ch]:
4676         * BufferView_pimpl.[Ch]: to here
4677         * frontends/screen.C:
4678         * insets/insettabular.C:
4679         * insets/insettext.C: adjust
4680         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4681
4682 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4683
4684         * BufferView.[Ch]:
4685         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4686
4687 2003-08-26  André Pönitz  <poenitz@gmx.net>
4688
4689         * paragraph_func.[Ch] (outerPar): new function
4690
4691         * paragraph.C:
4692         * paragraph_funcs.C:
4693         * paragraph_funcs.h:
4694         * paragraph_pimpl.C:
4695         * text2.C: remove Inset::par_owner
4696
4697 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4698
4699         * lyxrow_funcs.C:
4700         * lyxtext.h:
4701         * text.C:
4702         * text2.C: eliminates the needFullRow/display() stuff
4703         altogether, putting the logic in metrics/draw in the insets.
4704
4705 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * text2.C (redoParagraphInternal, redoParagraphs):
4708         * text.C (redoParagraph): add a call to updateRowPositions at the
4709         end of each 'metrics-like' call. Remove all others.
4710         (getRow): remove the 'y-computing' version.
4711         (getRowNearY): do not compute nor return the real y. Solve the
4712         'y < 0' problem and simplify.
4713
4714 2003-08-22  Angus Leeming  <leeming@lyx.org>
4715
4716         * *.[Ch]: clean-up of licence and author blurbs.
4717         Also move config.h out of a few .h files and into a few .C files.
4718
4719 2003-08-22  André Pönitz  <poenitz@gmx.net>
4720
4721         * lyxrow.[Ch]: add x_ and *fill_ members
4722
4723         * lyxtext.h:
4724         * text.C:
4725         * rowpainter.C:
4726         * text2.C: adjust/remove prepareToPrint() calls
4727
4728 2003-08-22  André Pönitz  <poenitz@gmx.net>
4729
4730         * lyxrow.[Ch]: add  end_ member
4731
4732         * lyxrow_funcs.C: use LyXRow::end_
4733
4734         * lyxtext.h (singleWidth): add LyXFont parameter
4735
4736         * rowpainter.C:
4737         * text2.C: adjust LyXText::singleWidth() calls
4738
4739         * text.C (redoParagraph): simplify row breaking logic
4740
4741
4742 2003-08-19  André Pönitz  <poenitz@gmx.net>
4743
4744         * funcrequest.C: initialize button_ member
4745
4746         * text3.C:
4747         * rowpainter.[Ch]: interface consolidation
4748
4749 2003-08-18  André Pönitz  <poenitz@gmx.net>
4750
4751         * BufferView.C:
4752         * BufferView_pimpl.C:
4753         * lyxfind.C:
4754         * paragraph_funcs.C:
4755         * rowpainter.C:
4756         * text3.C: remove LyXScreen::draw() and fitCursor calls
4757
4758         * BranchList.h: remove spurious semicolons
4759
4760         * MenuBackend.C: fix branchlist related crash
4761
4762 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4763
4764         * BranchList.[Ch]:
4765         * InsetList.[Ch]:
4766         * LColor.[Ch]:
4767         * LyXAction.C:
4768         * Makefile.am:
4769         * MenuBackend.[Ch]:
4770         * bufferparams.[Ch]:
4771         * factory.C:
4772         * lfuns.h:
4773         * lyxfunc.C:
4774         * text3.C: implements the 'branch inset'
4775         idea. This allows the output of various versions of a document
4776         from a single source version, selectively outputing or suppressing
4777         output of parts of the text.
4778         This implementation contains a 'branch list editor' in a separate
4779         tab of the document settings dialog. Branches are user definable
4780         and have a "display colour" to distinguish them on-screen.
4781
4782         ColorHandler was somewhat cleaned up.
4783         (1) make possible a dynamically growing LColor list by allowing
4784         the graphic context cache to grow along (vector);
4785         (2) eliminate an IMHO unnecessary step in colour allocation.
4786
4787 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4788
4789         * BufferView_pimpl.C: compile fix
4790
4791 2003-08-15  André Pönitz  <poenitz@gmx.net>
4792
4793         * rowpainter.C: remove extra metrics calls
4794
4795         * lyxtext.h: merge the two constructors into a single one,
4796           pass reference to owner's par list
4797
4798         * BufferView_pimpl.C:
4799         * text.C:
4800         * text2.C: adjust
4801
4802 2003-08-15  André Pönitz  <poenitz@gmx.net>
4803
4804         * lyxrow_funcs.[Ch]:
4805         * lyxtext.h:
4806         * paragraph.h:
4807         * paragraph_funcs.C:
4808         * rowpainter.C:
4809         * text.C:
4810         * text2.C:
4811         * text3.C:
4812         * text_funcs.C: split LyXText::rowlist_ into individual
4813         Paragraph::rows_ chunks
4814
4815         * BufferView.[Ch]:
4816         * BufferView_pimpl.[Ch]:
4817         * lyxfind.C:
4818         * lyxtext.h:
4819         * text3.C: remove toggleSelection()
4820
4821 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4822
4823         * bufferlist.C: beautify two alerts (shorter text of buttons)
4824         * buffer.C: Remove redundant ' ' from message
4825         * tabular.h:
4826         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4827         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4828         rename VALIGN_CENTER to VALIGN_MIDDLE
4829
4830 2003-08-11  André Pönitz  <poenitz@gmx.net>
4831
4832         * lyxtext.h (getPar):
4833         * text.C: new function
4834
4835 2003-08-11  André Pönitz  <poenitz@gmx.net>
4836
4837         * Makefile.am:
4838         * tracer.[Ch]: remove unneeded files
4839
4840         * InsetList.[Ch]: remove resizeInsetsLyXText()
4841
4842         * lyxtext.h:
4843         * text.C:
4844         * text2.C:
4845         * text3.C: merge insertParagraphs() and appendParagraph()
4846         remove breakAgain(), update()
4847
4848         * BufferView_pimpl.[Ch]:
4849         * bufferview_funcs.[Ch]:
4850         * lyxfunc.C:
4851         * paragraph.[Ch]:
4852         * rowpainter.C:
4853         * tabular.C: adjust after text & InsetList changes.
4854
4855 2003-08-08  André Pönitz  <poenitz@gmx.net>
4856
4857         * text.C (insertChar, backspace): replace rowlist fiddling
4858         with rebreak of full par
4859
4860         * lyxtext.h:
4861         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4862         checkParagraph, updateInset): removed
4863
4864 2003-08-07  André Pönitz  <poenitz@gmx.net>
4865
4866         * paragraph.C:
4867         * text3.C: merge some LFUN handlers, remove dead code
4868
4869 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4870
4871         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4872
4873 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4874
4875         * text2.C (DEPM): fix part of bug 1255 and 1256
4876
4877 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4878
4879         * BufferView_pimpl.C (workAreaDispatch): change to use
4880         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4881         that are no mouse related.
4882
4883 2003-08-05  André Pönitz  <poenitz@gmx.net>
4884
4885         * BufferView.[Ch]:
4886         * BufferView_pimpl.[Ch]:
4887         * bufferview_funcs.C:
4888         * text2.C:
4889         * text3.C: rip out "deep update"
4890
4891         * textcursor.[Ch] (last_sel_cursor): remove unused member
4892
4893 2003-08-04  André Pönitz  <poenitz@gmx.net>
4894
4895         * BufferView.[Ch]:
4896         * BufferView_pimpl.[Ch]:
4897         * ParagraphParameters.C:
4898         * bufferview_funcs.C:
4899         * lyx_cb.C:
4900         * lyxfind.C:
4901         * lyxfunc.C:
4902         * text.C:
4903         * text2.C:
4904         * text3.C: replace "complicated" BufferView::update(...) calls with
4905         simpler ones.
4906
4907         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4908
4909 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4910
4911         * Makefile.am (lyx_SOURCES): add paper.h
4912
4913 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4914
4915         * Makefile.am: move things around so that both lyx-qt and
4916         lyx-xforms can be built (according to --with-frontend). Then lyx
4917         is a symbolic link to lyx-[firstfrontend]
4918
4919 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4920
4921         * Always use std::endl with lyxerr
4922
4923 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4924
4925         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4926
4927 2003-08-01  André Pönitz  <poenitz@gmx.net>
4928
4929         * BufferView.[Ch]:
4930         * BufferView_pimpl.[Ch]:
4931         * lyxfunc.C:
4932         * text3.C: merge BufferView::repaint() and BufferView::update()
4933
4934 2003-08-01  José Matos  <jamatos@lyx.org>
4935
4936         * buffer.[Ch]: file_format is no longer a buffer data element.
4937
4938 2003-08-01  André Pönitz  <poenitz@gmx.net>
4939
4940         * BufferView.C:
4941         * lyxtext.h:
4942         * text.C:
4943         * text2.C: make redoParagraph more independent of current cursor
4944
4945         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4946         * text.C:
4947         * text2.C: remove unneeded members
4948
4949 2003-07-30  André Pönitz  <poenitz@gmx.net>
4950
4951         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4952
4953         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4954           create a single function...
4955
4956         * paragraph_funcs.C (moveItem): ... here.
4957
4958         * text.C:
4959           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4960
4961 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4962
4963         * LColor.[Ch]: Add comment and greyedout logical colors.
4964
4965 2003-07-30  André Pönitz  <poenitz@gmx.net>
4966
4967         * tabular.C: don't use Assert too heavily. This crashes where it
4968           shouldn't
4969
4970 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4971
4972         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4973         is disabled (bug 1232)
4974
4975 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4976
4977         * factory.C: limited 'arg' scope
4978
4979 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4980
4981         * factory.C: fixed Note submenu issues
4982
4983 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4984
4985         * factory.C: submenu for Note/Comment/Greyedout
4986
4987 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4988
4989         * lyx_main.C (LyX):
4990         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4991
4992 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4993
4994         * LaTeXFeatures.C:
4995         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4996         greyedout. Patch provided by Jürgen Spitzmüller.
4997
4998 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4999
5000         * kbmap.C (read): fix error message when reading bind files
5001
5002 2003-07-29  Angus Leeming  <leeming@lyx.org>
5003
5004         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5005         certainly does not do what it purports to do. I am doing it, and
5006         us, a favour by killing it.
5007
5008 2003-07-28  José Matos  <jamatos@lyx.org>
5009
5010         * buffer.C (readBody, do_writeFile):
5011         * paragraph.C(readParagraph): \end_document replaces \the_end.
5012
5013 2003-07-29  André Pönitz  <poenitz@gmx.net>
5014
5015         * BufferView.[Ch]:
5016         * BufferView_pimpl.[Ch]:
5017         * lyxfunc.C:
5018         * text2.C:
5019         * text3.C:
5020         * textcursor.[Ch]: remove toggleToggle & Co
5021
5022 2003-07-28  José Matos  <jamatos@fep.up.pt>
5023
5024         * buffer.C (readParagraph):
5025         * params_func (readParToken, readParagraph):
5026         * paragraph.C (write): \layout -> \begin_layout.
5027
5028 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * lyxlex_pimpl.C (setFile): clean up slightly.
5031
5032         * bufferparams.h: add compressed var
5033
5034         * buffer_funcs.C (readFile): adjust for LyXLex change
5035         (newFile): ditto + simplify
5036
5037         * buffer.C (writeFile): handle writing of compressed files
5038
5039         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5040         Check if the file is compressed and set a bufferparm if so.
5041
5042         * Makefile.am (lyx_LDADD): remove explicit -lz
5043
5044 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5045
5046         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5047         makeDocBookFile): put the real LyX version in the first line of
5048         the file
5049
5050         * version.h:
5051         * version.C.in: remove lyx_docversion
5052
5053         * tabular.C (write_attribute): add a template-based version to
5054         write enums properly
5055
5056 2003-07-28  André Pönitz  <poenitz@gmx.net>
5057
5058         * lyxtext.h:
5059         * text.C:
5060         * text2.C:
5061         * text3.C: use doubles again for x-coordinates. They are needed.
5062
5063 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5064
5065         * messages.C (getLocaleDir): use lyx_localedir()
5066
5067         * lyxlex_pimpl.C (setFile): compress stuff
5068
5069         * buffer.C (writeFile): add some compression stuff
5070         (do_writeFile): new func, dont call expliti close... will this
5071         breake anything?
5072
5073         * Makefile.am (lyx_LDADD): add -lz
5074
5075 2003-07-28  José Matos  <jamatos@fep.up.pt>
5076
5077         * buffer.C: increment file format.
5078         * paragraph_funcs (readParagraph, readParToken):
5079         * paragraph.C (readParagraph): add \end_layout.
5080
5081 2003-07-27  Angus Leeming  <leeming@lyx.org>
5082
5083         * Makefile.am: remove special casing for configure-time setting of
5084         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5085
5086         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5087         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5088
5089 2003-07-26  André Pönitz  <poenitz@gmx.net>
5090
5091         * paragraph_func.[Ch]:
5092         * paragraph.C (realizeFont): inline it whereever it is used
5093
5094         * rowpainter.C:
5095         * text.C:
5096         * text2.C:
5097         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5098
5099
5100 2003-07-26  André Pönitz  <poenitz@gmx.net>
5101
5102         *       lyxtext.h:
5103         * text.C:
5104         * text2.C: get rid of LyXText::need_break_row
5105
5106 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * toc.[Ch]: put namespace toc inside namespace lyx
5109
5110         * MenuBackend.C (expandToc2): adjust for lyx::toc
5111         (expandToc): ditto
5112
5113         * lyxfunc.C (dispatch): adjust for lyx::find
5114
5115         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5116         lyx::find instead. Reorganize a bit.
5117         (LyXReplace): rename to replace
5118         (LyXFind): rename to find
5119
5120         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5121         (dispatch): ditto
5122
5123 2003-07-26  André Pönitz  <poenitz@gmx.net>
5124
5125         * text.C (setHeightOfRow): restrict scope of temporary variable
5126
5127         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5128           code (never has been used?)
5129
5130 2003-07-27  Asger Alstrup  <alstrup@local>
5131
5132         * text.C (fill): Optimise algorithm to exploit that we can reuse
5133         the LyXFont for many characters.
5134         (setHeightOfRow): Same thing.
5135         (rowBreakPoint): Same thing.
5136
5137 2003-07-26  Asger Alstrup  <alstrup@local>
5138
5139         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5140
5141         * text.C (singleWidth): Spurious font copying in hot-spot
5142         singleWidth avoided. Reorder tests for arabic for efficiency.
5143
5144         * text.C (fill): handle empty paragraphs better.
5145
5146 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5147
5148         * ispell.C:
5149         * encoding.h: add includes
5150
5151         * lyxrc.C: remove reading of bind files
5152
5153         * lyx_main.C (init): setup bindings and menus only if we have a
5154         gui.
5155
5156         * kbmap.C (read): new method. Do the actual reading of bind
5157         files.
5158
5159         * converter.C (dvipdfm_options):
5160         * bufferparams.C:
5161         * lyxrc.C (read):
5162         (output): adapt PAPER_* enums.
5163
5164         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5165
5166         * bufferparams.h: remove paper-related enums from there
5167
5168         * paper.h: New file. A trivial header file to hold paper-related
5169         enums. It should later expand to contain many paper-related
5170         horrors access.
5171
5172         * lyxrc.C: declare extern displayTranslator
5173
5174 2003-07-27  José Matos  <jamatos@fep.up.pt>
5175
5176         * tabular.[Ch] (linuxdoc): add support for tables and figures
5177         (linuxdoc).
5178
5179 2003-07-27  José Matos  <jamatos@fep.up.pt>
5180
5181         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5182         consistency in both functions.
5183         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5184
5185 2003-07-26  Asger Alstrup  <alstrup@local>
5186
5187         * rowpainter.C (paintRows): Change algorithm to work directly on
5188         the insets rather than asking every character in the document
5189         whether its an inset.
5190
5191 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5192
5193         * buffer.C (openFileWrite): factorize some code
5194
5195 2003-07-26  Angus Leeming  <leeming@lyx.org>
5196
5197         * lyx_cb.C:
5198         * lyx_main.[Ch]: replace occurances of system_tempdir with
5199         os::getTmpDir().
5200
5201 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * rename Inset to InsetOld
5204
5205 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5206
5207         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5208         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5209         which I think is a bit clearer. EDIT is gone, since it was
5210         premature optimisation, and broken for mathed anyway.
5211         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5212         with cursor positioning in insets as well (math insets still do not
5213         work, but that's a different story anyway.) It mysteriously
5214         crashes sometimes with undo in the first paragraph, but I'm fairly
5215         confident that this is a compiler bug.
5216
5217 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * paragraph.C (Paragraph): adjust for new clone return type
5220         (operator==): ditto
5221         (copyIntoMinibuffer): ditto
5222
5223 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5224
5225         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5226         by not having a special case, and always doing a full rebreak of
5227         the document after undo.
5228
5229 2003-07-23  Angus Leeming  <leeming@lyx.org>
5230
5231         * factory.C (createInset): InsetExternal::setParams now takes a
5232         Buffer const * arg.
5233
5234 2003-07-23  Angus Leeming  <leeming@lyx.org>
5235
5236         * factory.C (createInset): changed interface to the external and
5237         graphics mailers' string2params functions.
5238
5239 2003-07-23  Angus Leeming  <leeming@lyx.org>
5240
5241         * factory.C (createInset): pass a
5242         Buffer const * parameter to InsetExternalMailer's string2params.
5243
5244 2003-07-22  John Levon  <levon@movementarian.org>
5245
5246         * Thesaurus.h: include the right aiksaurus header
5247
5248 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5249
5250         * MenuBackend.C (expand): check menu shortcuts unconditionally
5251
5252 2003-07-21  Angus Leeming  <leeming@lyx.org>
5253
5254         * factory.C (createInset): pass a
5255         buffer_path parameter to InsetGraphicsMailer's string2params.
5256
5257 2003-07-21  Angus Leeming  <leeming@lyx.org>
5258
5259         * BufferView_pimpl.C (buffer):
5260         * buffer.C (d-tor):
5261         * lyx_main.C (LyX):
5262         * lyxfunc.C (dispatch):
5263         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5264         rather than the grfx shortcut.
5265
5266 2003-07-21  André Pönitz  <poenitz@gmx.net>
5267
5268         * rowpainter.C: remove unused variables
5269
5270         * tabular_funcs.C:
5271         * tabular_funcs.h: move to tabular.C
5272         * Makefile.am: adjust
5273
5274         * tabular.[Ch]: basic optical cleaning
5275
5276         * author.h: pass references, not values
5277
5278 2003-07-18  André Pönitz  <poenitz@gmx.net>
5279
5280         * lyxtext.h:
5281         * metricsinfo.C:
5282         * metricsinfo.h:
5283         * rowpainter.C:
5284         * text.C:
5285         * text2.C:
5286         * text3.C: two-phase drawing for InsetText and InsetTabular
5287         some float -> int changes.
5288
5289 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5290
5291         * lyx_main.C: fix the fix
5292
5293 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * lyx_main.C: fix a crash in batch mode if no files specified
5296         * converter.C: ws
5297
5298 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * format.[Ch] (papersize): moved to BufferParams
5301         * converter.[Ch] (dvips_options): moved to BufferParams
5302         (dvipdfm_options): moved to anon namespace
5303         * bufferparams.[Ch]: added above functions.
5304
5305 2003-07-17  André Pönitz  <poenitz@gmx.net>
5306
5307         * lyxtext.h:
5308         * rowpainter.C:
5309         * text2.C: don't call inset->update() anymore
5310
5311         * metricsinfo.[Ch]: add convenience constructor
5312
5313 2003-07-16  André Pönitz  <poenitz@gmx.net>
5314
5315         * lyxcursor.[Ch]:
5316         * lyxfunc.[Ch]:
5317         * text.C:
5318         * text2.C: replace the LyXCursor::irow_ member with
5319          on-demand computation of the value
5320
5321 2003-07-16  John Levon  <levon@movementarian.org>
5322
5323         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5324
5325 2003-07-15  André Pönitz  <poenitz@gmx.net>
5326
5327         * text.C:
5328         * text2.C: remove no more needed refresh_row
5329
5330 2003-07-15  André Pönitz  <poenitz@gmx.net>
5331
5332         * lyxtext.h:
5333         * rowpainter.C:
5334         * text2.C:
5335         * text3.C: refresh_status tristate -> need_update bool
5336
5337 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5338
5339         * lyxtext.h (init): remove reinit argument (act as if always true)
5340         * text2.C: adjust to that
5341
5342 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5343
5344         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5345         * text3.C: use it to delete selections in some cases
5346         (bugs 441, 673, 702, 954).
5347
5348 2003-07-14  André Pönitz  <poenitz@gmx.net>
5349
5350         * rowpainter.[Ch]: reduce interface
5351
5352 2003-07-14  André Pönitz  <poenitz@gmx.net>
5353
5354         * BufferView_pimpl.C:
5355         * text2.C: adjust after removing unused BufferView * argument
5356
5357 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5358
5359         * text2.C (init): fix a crash fired on resize
5360
5361 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5362
5363         * buffer.[Ch]: added new closing signal
5364         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5365         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5366         BufferView::Pimpl via the closing the signal
5367
5368 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5369
5370         * buffer.[Ch]: take out all bv-related from buffer
5371         * BufferView.C:
5372         * BufferView_pimpl.[Ch]: connect to new signals
5373         * CutAndPaste.C: removed useless asserts
5374         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5375         * lyxvc.[Ch]:
5376         * vc-backend.[Ch]:
5377         * lyxfunc.C: moved view-related funciontality from vc here
5378         * paragraph.C: removed outdated comments
5379         * text.C: ws
5380
5381 2003-07-10  André Pönitz  <poenitz@gmx.net>
5382
5383         * BufferView_pimpl.C:
5384         * tabular.h:
5385         * tabular_funcs.C:
5386         * text.C:
5387         * text2.C: remove InsetText::InnerCache, clean up consequences
5388
5389 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5390
5391         * ispell.C: fix two typos in error messages
5392
5393 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5394
5395         * Extend Note inset to other forms of annotation like Comment
5396         and Greyedout. Right button click gives dialog.
5397
5398         Files modified or added (+):
5399
5400         * insetnote.[Ch]
5401         * FormNote.[Ch]      +
5402         * ControlNote.[Ch]   +
5403         * form_note.fd       +
5404         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5405         frontends/controllers
5406         * xforms/Dialogs.C
5407         * factory.C
5408
5409 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5410
5411         * aspell.C: add missing namespace lyx::support
5412
5413 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5414
5415         * BufferView.[Ch] (newFile): Add
5416         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5417         * LaTeX.[Ch] (message): added this signal and use it
5418         * buffer.[Ch] (busy, message): added these signals and use them
5419         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5420         * converter.C:
5421         * exporter.C:
5422         * format.C:
5423         * importer.C: use buffer signals instead of direct bv calling
5424         * lyx_cb.[Ch] (ShowMessage): removed
5425         * lyx_main.C:
5426         * lyxfunc.C:
5427         * paragraph_funcs.C:
5428         * text2.C: use buffer signals
5429
5430 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5431
5432         * introduce namespace lyx::graphics
5433
5434 2003-07-02  André Pönitz  <poenitz@gmx.net>
5435
5436         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5437
5438 2003-07-01  André Pönitz  <poenitz@gmx.net>
5439
5440         * text.C:
5441         * text2.C:
5442         * text3.C:
5443         * text_funcs.[Ch]:
5444         * textcursor.h:
5445         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5446           text*.C to text_func.C
5447
5448 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5449
5450         * introduce namespace lyx::support
5451
5452 2003-06-30  André Pönitz  <poenitz@gmx.net>
5453
5454         * Chktex.C:
5455         * funcrequest.C:
5456         * lyxtext.h:
5457         * text.C: re-enable --with-included-string
5458
5459 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5460
5461         * textcursor.C: add <config.h>
5462
5463         * text.C (getWord): remove const from word_location arg
5464
5465         * lyxvc.C (getLogFile): fix const type order
5466
5467         * lyxtext.h: remove const from word_location arg, add arg name
5468
5469         * lyxlayout.h: currect type on labeltype.
5470
5471         * importer.C: correct \file
5472
5473         * converter.C (intToFormat): use std:: on ret val, ws changes
5474
5475         * bufferlist.h: correct \file
5476
5477         * buffer.C (makeLinuxDocFile): fix const type order
5478         (makeDocBookFile): ditto
5479         (fillWithBibKeys): use std:: on stdlib args.
5480
5481         * CutAndPaste.C: fix authors.
5482         (availableSelections): use std:: on return vector
5483
5484 2003-06-27  André Pönitz  <poenitz@gmx.net>
5485
5486         * BufferView_pimpl.C:
5487         * bufferview_funcs.C:
5488         * lyxcursor.C:
5489         * lyxcursor.h:
5490         * lyxfunc.C:
5491         * lyxtext.h:
5492         * rowpainter.C:
5493         * text.C:
5494         * text2.C:
5495         * text3.C: remove LyXCursor::row_ member
5496
5497         * lyxtext.h:
5498         * text.C: rename fullRebreak() to partialRebreak() and implement
5499           a fullRebreak() that really bereks fully
5500
5501         * textcursor.h: new struct for cursor-related data
5502
5503 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5504
5505         * lyx_main.C (LyX): get full path of document loaded on the
5506         command line
5507
5508 2003-06-26  André Pönitz  <poenitz@gmx.net>
5509
5510         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5511           remove unused/broken operator>,<,>=.
5512
5513         *       text.C: remove only use of broken operator<= in an Assert().
5514
5515 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5516
5517         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5518         moved errorlist_.clear to showErrorList
5519
5520 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5521
5522         * converter.C (scanLog, runLaTeX):
5523         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5524         move the bv->showErrorList call to the callers
5525         * lyxfunc.C: i.e. here...
5526         * text2.C: and here
5527         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5528         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5529         namespace, the second to...
5530         * buffer_funcs (BufferFormat, parseErrors): added
5531         * errorlist.C (ErrorList(TeXErrors const &)): removed
5532
5533 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5534
5535         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5536
5537 2003-06-24  "Garst R. Reese" <reese@isn.net>
5538
5539         * debug.C: fix typo
5540
5541 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5542
5543         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5544
5545         * version.C.in: change docversion to 1.4
5546
5547 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5548
5549         * buffer.C: fix a bug just introduced
5550
5551 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5552
5553         * buffer.[Ch]: added the parseError signal and use it, removed
5554         sgmlError
5555         * BufferView.[Ch] (addError): moved to ...
5556         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5557         to the Buffer::parseError signal to catch (guess what) parse errors
5558         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5559
5560 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5561
5562         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5563         ability to create a buffer and to return an existing one from
5564         the list. Moved these functions to...
5565         * buffer_funcs.[Ch]: added
5566         * BufferView.[Ch] (loadLyXFile): added
5567         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5568         job removed from bufferlist::loadLyXFile.
5569         * buffer.C (setReadOnly): make it work without view
5570         (i.e added an if (users))
5571
5572 2003-06-19  Angus Leeming  <leeming@lyx.org>
5573
5574         * lfuns.h:
5575         * LyXAction.C (init):
5576         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5577         with LFUN_DIALOG_SHOW <name> <data>.
5578
5579 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5580
5581         * CutAndPaste.C (availableSelections): small compilation fix for
5582         ancient (gcc 2.9x) compilers
5583
5584 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * text3.C (cursorNext): add tmp var
5587
5588         * text2.C (updateCounters): for function calling out of for clause
5589         (replaceSelectionWithString): ditto
5590         (insertStringAsParagraphs): ditto
5591         (getColumnNearX): add tmp var
5592         (setCursorFromCoordinates): add tmp var
5593         (cursorDownParagraph): add tmp var
5594         (deleteEmptyParagraphMechanism): add tmp var
5595
5596         * text.C (insertChar): add tmp var
5597
5598         * rowpainter.C (paintDepthBar): add tmp var
5599
5600         * CutAndPaste.C (availableSelections): potentially check all
5601         paragraphs in a cut to fill the shown strings.
5602
5603 2003-06-18  André Pönitz  <poenitz@gmx.net>
5604
5605         * kbmap.[Ch]: use vector<> instead of list<>
5606
5607 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5608
5609         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5610         pasteSelection with index
5611
5612         * text2.C (pasteSelection): modify, call pasteSelection with index
5613
5614         * paragraph.C (asString): reimplement version with no interval to
5615         call the one with interval.
5616
5617         * lyxtext.h: add index arg to pasteSelection
5618
5619         * MenuBackend.C (MenuItem): handle PasteRecent
5620         (Menu::read::Menutags): add md_pasterecent
5621         (read): handle it
5622         (expandPasteRecent): new function
5623         (expand): use it
5624
5625         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5626
5627         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5628         the limited stack
5629         (availableSelections): new function
5630
5631 2003-06-17  Angus Leeming  <leeming@lyx.org>
5632
5633         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5634
5635 2003-06-17  Angus Leeming  <leeming@lyx.org>
5636
5637         * lfuns.h:
5638         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5639
5640         * lyxfunc.C (dispatch): invoke it.
5641
5642 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5643
5644         * iterators.C (operator++, ParPosition): reintroduce some
5645         const_cast for the benefit of older compilers.
5646
5647 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5648
5649         * text3.C (dispatch): do not modify clipboard when doing
5650         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5651         LFUN_DELETE_SKIP on a selection selection
5652
5653 2003-06-16  André Pönitz  <poenitz@gmx.net>
5654
5655         * BufferView.C:
5656         * buffer.C:
5657         * buffer.h:
5658         * paragraph.C:
5659         * tabular.[Ch]: IU of clone() and getLabelList();
5660
5661 2003-06-13  André Pönitz  <poenitz@gmx.net>
5662
5663         * tabular.h: compactification
5664
5665 2003-06-12  André Pönitz  <poenitz@gmx.net>
5666
5667         * tabular.C:
5668         * tabular.h:
5669         * tabular_funcs.h: some renaming plus whitespace
5670
5671 2003-06-12  André Pönitz  <poenitz@gmx.net>
5672
5673         * BufferView.C:
5674         * BufferView_pimpl.C:
5675         * CutAndPaste.C:
5676         * buffer.C:
5677         * iterators.[Ch]:
5678         * lyxfunc.C:
5679         * text.C:
5680         * toc.C: Return a Paragraph & for ParIterator::operator*()
5681
5682 2003-06-11  John Levon  <levon@movementarian.org>
5683
5684         * lyx_main.C:
5685         * ToolbarBackend.h:
5686         * ToolbarBackend.C: add "Toolbars" section and
5687         put the flags there
5688
5689 2003-06-10  Angus Leeming  <leeming@lyx.org>
5690
5691         * lfuns.h:
5692         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5693
5694         * lyxfunc.C (dispatch): invoke it.
5695
5696 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * main.C: protect <ios> with HAVE_IOS
5699         (main): protect sync_with_stdio with HAVE_IOS
5700
5701 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5702
5703         * text2.C (cutSelection): adjust
5704         (pasteSelection): adjust
5705
5706         * messages.C: handle get of empty string
5707
5708         * main.C (main): use sync_with_stdio(false)
5709
5710         * lyxfunc.C (dispatch): adjust
5711
5712         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5713         (WriteAs): remove unneeded BufferView arg.
5714
5715         * bufferparams.h: use correct types on papersize, papersize2 and
5716         paperpackage.
5717
5718         * bufferparams.C (readToken): adjust for type
5719         (writeLaTeX): add missing cases to switch.
5720
5721         * bufferlist.C (quitWriteBuffer): adjust
5722         (close): adjust
5723
5724         * buffer.C (asciiParagraph): remove some commented code.
5725
5726         * CutAndPaste.C: remove current_view extern variable.
5727         (cutSelection): add BufferParams arg.
5728         (eraseSelection): add BufferParams arg.
5729         (pasteSelection): add Buffer const & arg
5730
5731 2003-06-07  John Levon  <levon@movementarian.org>
5732
5733         * buffer.C:
5734         * paragraph_funcs.C:
5735         * paragraph_pimpl.C:
5736         * text.C:
5737         * text2.C:
5738         * paragraph.h:
5739         * paragraph.C: allow InsetERT to freely space lines,
5740         and some consolidation of code
5741
5742 2003-06-06  José Matos  <jamatos@fep.up.pt>
5743
5744         * buffer.C (makeDocBookFile): fix bug #821
5745
5746 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5747
5748         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5749
5750 2003-06-04  Angus Leeming  <leeming@lyx.org>
5751
5752         * buffer.C: bump format to 224.
5753
5754 2003-06-05  André Pönitz  <poenitz@gmx.net>
5755
5756         * text2.C (redoParagraphs): remove two const_cast<>
5757
5758 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5759
5760         * ParagraphList.h: remove last remnants of NO_STD_LIST
5761
5762 2003-06-03  Angus Leeming  <leeming@lyx.org>
5763
5764         * factory.C (createInset): small change to the way InsetExternal's params
5765         are set.
5766
5767 2003-06-04  André Pönitz  <poenitz@gmx.net>
5768
5769         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5770
5771         * paragraph_pimpl.h:
5772         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5773
5774         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5775
5776         * undo_funcs.C: make some simple cases of undo work again
5777
5778 2003-06-03  John Levon  <levon@movementarian.org>
5779
5780         * ispell.C: HPUX doesn't have sys/select.h
5781         (from Albert Chin)
5782
5783 2003-06-03  John Levon  <levon@movementarian.org>
5784
5785         * CutAndPaste.C: update tabular and include inset
5786         buffer references
5787
5788         * buffer.h:
5789         * paragraph.h:
5790         * paragraph.C: remove owningBuffer(), don't pass Buffer
5791         to clone()
5792
5793         * factory.C: insetGraphicsParams changed
5794
5795 2003-06-02  John Levon  <levon@movementarian.org>
5796
5797         * LyXAction.C:
5798         * factory.C:
5799         * lfuns.h:
5800         * lyxfunc.C:
5801         * text3.C: remove insetparent
5802
5803 2003-06-02  John Levon  <levon@movementarian.org>
5804
5805         * buffer.h:
5806         * buffer.C: fix inset_iterator.end(), move out of line
5807         (bug 1149)
5808
5809 2003-06-01  John Levon  <levon@movementarian.org>
5810
5811         * text3.C: use a proper cut/paste when doing inset
5812         insert (from Jürgen Spitzmüller)
5813
5814 2003-06-01  John Levon  <levon@movementarian.org>
5815
5816         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5817
5818 2003-05-30  André Pönitz  <poenitz@gmx.net>
5819
5820         * rowpainter.C: unify second drawing phase
5821
5822 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * trans_mgr.C: remove one case of current_view
5825
5826         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5827
5828         * paragraph_funcs.h: remove paragraph.h include
5829
5830         * paragraph.h: delete NO_STD_LIST stuff
5831
5832         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5833
5834         * buffer.h: remove paragraph.h include
5835
5836         * ParagraphList.C: delete file
5837
5838         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5839
5840         * toc.C (getTocList): adjust
5841
5842         * paragraph_pimpl.C (validate): adjust
5843
5844         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5845
5846         * paragraph.C (Paragraph): adjust
5847         (getPositionOfInset): use const_iterator, adjust
5848         (bibitem): use const_iterator, adjust
5849         (setInsetOwner): adjust
5850
5851         * iterators.C (operator++): adjust
5852
5853         * InsetList.[Ch]: Replace selfmade iterator with standard
5854         vector::iterator also introduce const_iterator. Remove getPos,
5855         getInset and setInset from InsetTable. Adjust accordingly.
5856
5857         * BufferView.C (lockInset): adjust
5858         (ChangeInsets): adjust
5859
5860         * tabular.[Ch]: delete commented same_id functions
5861
5862 2003-05-28  John Levon  <levon@movementarian.org>
5863
5864         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5865
5866 2003-05-28  André Pönitz  <poenitz@gmx.net>
5867
5868         * metricsinfo.[Ch]: remove 'fullredraw' member
5869
5870 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5871
5872         * lyxtextclass.C (operator): remove caching.
5873
5874 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5875
5876         * text3.C: adjust
5877
5878         * text2.C (cursorBottom): adjust
5879         (setCounter): use ParagraphList::find, adjust
5880
5881         * text.C (workWidth): use ParagraphList::find, adjust
5882
5883         * lyxcursor.C (LyXCursor): adjust
5884
5885         * buffer.C (inset_iterator): adjust
5886
5887         * ParagraphList.h: make iterator(value_type) private, make
5888         ParagraphList a friend of iterator.
5889
5890         * ParagraphList.C (find): new function
5891
5892         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5893
5894 2003-05-27  André Pönitz  <poenitz@gmx.net>
5895
5896         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5897
5898 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5899
5900         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5901
5902 2003-05-26  John Levon  <levon@movementarian.org>
5903
5904         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5905
5906 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * remove same_id from function signatures, adjust.
5909
5910 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5913
5914         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5915
5916         * paragraph.C (Paragraph): get rid of same_ids parameter
5917
5918         * ParagraphList.C (insert): adjust
5919         (push_back): adjust
5920
5921 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * paragraph_funcs.C (breakParagraph): adjust
5924         (breakParagraphConservative): adjust
5925
5926         * buffer.C (readParagraph): adjust
5927
5928         * ParagraphList.C (insert): take a reference instead of a pointer
5929         (insert): adjust
5930
5931         * paragraph.[Ch] (id): new function
5932
5933         * bufferlist.C (newFile): adjust
5934
5935         * ParagraphList.C (ParagraphList): adjust
5936         (assign): adjust
5937         (push_back): take a reference instead of a pointer.
5938
5939         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5940
5941         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5942         instead.
5943
5944         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5945         set else use old code.
5946
5947         * ParagraphList.C: remove all NO_NEXT code and only compile this
5948         code of NO_STD_LIST is set.
5949
5950 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5951
5952         * BufferView_pimpl.C:
5953         * TextCache.C:
5954         * TextCache.h:
5955         * bufferlist.C:
5956         * errorlist.h:
5957         * format.C:
5958         * format.h:
5959         * graph.C:
5960         * lyxfunc.C:
5961         * lyxrc.C:
5962         * graphics/GraphicsConverter.C:
5963         * graphics/PreviewLoader.C: header adjustment
5964
5965 2003-05-23  Angus Leeming  <leeming@lyx.org>
5966
5967         * LaTeXFeatures.[Ch] (useBabel): new method.
5968         * bufferparams.C (writeLaTeX): use it.
5969
5970 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5971
5972         * ParagraphList.h (set): remove unused function.
5973
5974 2003-05-23  André Pönitz  <poenitz@gmx.net>
5975
5976         * BufferView.C:
5977         * BufferView_pimpl.C:
5978         * buffer.C:
5979         * buffer.h:
5980         * lyxfunc.C:
5981         * undo_funcs.C: setUndo reworked
5982
5983         * iterators.[Ch]: add access to topmost ParagraphList
5984
5985         * lyxtext.[Ch] (workWidth): add a const
5986
5987 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5988
5989         * texrow.[Ch] (increasePos): remove function
5990         * exporter.C (export): removed unused var and outdated comment
5991
5992 2003-05-23  Angus Leeming  <leeming@lyx.org>
5993
5994         * latexrunparams.h: rename fragile as moving_arg.
5995         * paragraph.C (simpleTeXOnePar): ditto.
5996         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5997
5998 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6001         (createUndo): ditto
6002         (textUndoOrRedo): comment out a currently unused var.
6003
6004         * paragraph.h (NO_NEXT): enable NO_NEXT
6005
6006         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6007
6008         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6009
6010         * exporter.C (Export): adjust for removeAutoInsets removal.
6011
6012         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6013
6014         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6015
6016         * BufferView.[Ch] (removeAutoInsets): delete function
6017
6018 2003-05-22  Angus Leeming  <leeming@lyx.org>
6019
6020         * latexrunparams.h: add a free_spacing variable.
6021
6022         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6023         to pass moving_arg, as the data is stored in runparams.fragile.
6024
6025         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6026         to Inset::latexOptional or to simpleTeXOnePar.
6027
6028         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6029         free_spacing arg to Inset::latexOptional.
6030
6031         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6032         free_spacing arg.
6033
6034 2003-05-22  Angus Leeming  <leeming@lyx.org>
6035
6036         * latexrunparams.h: add fragile and use_babel variables.
6037
6038         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6039         * buffer.C (makeLaTeXFile): store this returned value in
6040         runparams.use_babel, thus passing it to the inset::latex methods.
6041
6042         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6043         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6044
6045         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6046         longer has a fragile arg, as it is stored in runparams.fragile.
6047
6048         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6049         moving_arg parameter as the data is stored in runparams.fragile.
6050
6051         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6052         a fragile parameter as the data is stored in runparams.fragile.
6053
6054 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6057
6058 2003-05-22  Angus Leeming  <leeming@lyx.org>
6059
6060         * latexrunparams.h: add a 'bool nice' which defaults to false.
6061
6062         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6063         now encapsulated within runparams.
6064
6065         * bufferlist.C (updateIncludedTeXfiles):
6066         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6067
6068 2003-05-22  Angus Leeming  <leeming@lyx.org>
6069
6070         * latexrunparams.h: new file containing struct LatexRunParams.
6071         * Makefile.am: add new file.
6072
6073         * LaTeX.[Ch] (c-tor, run):
6074         * buffer.[Ch] (makeLaTeXFile):
6075         * bufferlist.[Ch] (updateIncludedTeXfiles):
6076         * converter.C (convert, scanLog):
6077         * converter.[Ch] (runLaTeX):
6078         * exporter.C (Export):
6079         * paragraph.[Ch] (simpleTeXOnePar):
6080         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6081         * paragraph_funcs.[Ch] (latexParagraphs):
6082         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6083         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6084         pass around a LatexRunParams parameter.
6085
6086 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * paragraph.[Ch]: remove unused constructor
6089
6090         * ParagraphList.C (erase): new function, taking two iterators
6091
6092 2003-05-22  André Pönitz  <poenitz@gmx.net>
6093
6094         * undo_funcs.C: remove duplicated code
6095
6096         * iterator.[Ch]: operator=
6097
6098 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * tabular.C (SetMultiColumn): ws changes
6101
6102         * rowpainter.C (paintFirst): get rid of a ->previous
6103
6104         * lyx_cb.C (getPossibleLabel): parlist simplification
6105
6106         * BufferView.C (ChangeInsets): simplify slightly.
6107
6108 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6109
6110         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6111         * lfuns.h: new LFUN_SPACE
6112         * lyxfunc.C: protected space has a new lfun
6113         * paragraph_funcs.C: read new space insets
6114         * text3.C:
6115         * factory.C: handle new space insets
6116
6117 2003-05-22  André Pönitz  <poenitz@gmx.net>
6118
6119         * BufferView.C:
6120         * BufferView_pimpl.C:
6121         * buffer.[Ch]:
6122         * lyxfunc.C:
6123         * undo_funcs.C: return a ParIterator from getParFromID.
6124
6125         * iterators.[Ch]: add two const's
6126
6127 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * toc.C (getTocList): adjust
6130
6131         * iterators.[Ch]: rework for parlist
6132
6133         * buffer.C (par_iterator_begin): adjust
6134         (par_iterator_end): adjust
6135
6136         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6137
6138         * BufferView.C (removeAutoInsets): adjust
6139         (ChangeInsets): adjust
6140
6141 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6142
6143         * text.C (top_y): fix bug 1110
6144
6145 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6146
6147         * errorlist.[Ch]: added
6148         * buffer.C:
6149         * BufferView.[Ch]:
6150         * BufferView_pimpl.C:
6151         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6152         instead
6153
6154 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6155
6156         * Makefile.am: ensure that lyx is relinked upon changes to the
6157         various "convenience" libs.
6158
6159 2003-05-20  Angus Leeming  <leeming@lyx.org>
6160
6161         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6162         files are compiled in alphabetical order again.
6163
6164         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6165
6166 2003-05-19  Angus Leeming  <leeming@lyx.org>
6167
6168         * gettext.[Ch]: remove "char const * _(char const *)".
6169
6170 2003-05-19  André Pönitz  <poenitz@gmx.net>
6171
6172         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6173
6174         * Makefile.am:
6175         * BufferView.C:
6176         * DepTable.h:
6177         * LaTeXFeatures.C:
6178         * buffer.C:
6179         * lyxfont.C:
6180         * lyxlex.h:
6181         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6182
6183 2003-05-19  André Pönitz  <poenitz@gmx.net>
6184
6185         * buffer.C:
6186         * lyxlayout.[Ch]:
6187         * lyxtextclass.[Ch]:
6188         * paragraph.C:
6189         * paragraph_funcs.[Ch]:
6190         * text2.C:
6191         * text3.C: more insetenv work
6192
6193 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6194
6195         * ParagraphParameters.C (params2string): small bug fixed
6196
6197 2003-05-16  André Pönitz  <poenitz@gmx.net>
6198
6199         * debug.C:
6200         * bufferview_funcs.C: patch from Kornel Benko to prevent
6201           crash when _(...) is called twice in a statement
6202
6203 2003-05-16  André Pönitz  <poenitz@gmx.net>
6204
6205         * BufferView.C:
6206         * lyxfunc.C:
6207         * text.C:
6208         * text2.C:
6209         * text3.C:
6210         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6211
6212 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6213
6214         * lyx_main.C (init): remove spurious static_cast
6215
6216 2003-05-14  André Pönitz  <poenitz@gmx.net>
6217
6218         * BufferView.C: fix format string
6219
6220 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6221
6222         * BufferView.[Ch] (insertErrors): removed
6223         * BufferView.[Ch] (showErrorList): added
6224         * buffer.C (runChkTeX):
6225         * converter.C (scanLog): call showErrorList instead of inserterrors
6226
6227 2003-05-13  André Pönitz  <poenitz@gmx.net>
6228
6229         * BufferView_pimpl.C:
6230         * buffer.C:
6231         * bufferview_func.C:
6232         * MenuBackend.C:
6233         * lyxfunc.C:
6234         * lyxrc.C:
6235         * tex-accent.C:
6236         * text3.C:
6237         * toc.C:
6238         * tabular_funcs.h: tostr() from its own header
6239
6240         * ParagraphParameters.C:
6241         * ToolbarBackend.C:
6242         * bufferparams.C:
6243         * format.C:
6244         * lyxlex_pimpl.C:
6245         * text3.C: STRCONV()
6246
6247 2003-05-12  André Pönitz  <poenitz@gmx.net>
6248
6249         * BufferView.C:
6250         * BufferView_pimpl.C:
6251         * CutAndPaste.C:
6252         * LaTeX.C:
6253         * LaTeXFeatures.C:
6254         * ParagraphParameters.C:
6255         * buffer.C:
6256         * bufferlist.C:
6257         * bufferparams.C:
6258         * bufferview_funcs.C:
6259         * converter.C:
6260         * counters.C:
6261         * debug.C:
6262         * exporter.C:
6263         * format.C:
6264         * importer.C:
6265         * lyx_cb.C:
6266         * lyx_main.C:
6267         * lyxfont.C:
6268         * lyxfunc.C:
6269         * lyxvc.C:
6270         * paragraph.C:
6271         * paragraph_funcs.C:
6272         * tabular.C:
6273         * tabular_funcs.C:
6274         * text2.C:
6275         * text3.C:  boost::format -> bformat  all over the place
6276
6277
6278 2003-05-09  André Pönitz  <poenitz@gmx.net>
6279
6280         * LColor.[Ch]: Pimpl the #include <map> away
6281
6282 2003-05-09  John Levon  <levon@movementarian.org>
6283
6284         * bufferlist.C: never remove emergency saves
6285
6286 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6287
6288         * Makefile.am: better lib building
6289
6290 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6293         instead.
6294         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6295         (simpleTeXSpecialChars): adjust
6296         (simpleTeXSpecialChars): adjust
6297         * paragraph.C (simpleTeXOnePar): adjust
6298         * buffer.C (makeLaTeXFile): adjust
6299
6300         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6301
6302         * text2.C (changeDepth): parlist cleanup
6303         (getColumnNearX): ditto
6304
6305         * rowpainter.C (getLabelFont): parlist cleanup
6306
6307         * bufferlist.C (newFile): parlist cleanup
6308
6309         * CutAndPaste.C (eraseSelection): parlist cleanup
6310
6311         * BufferView_pimpl.C (trackChanges): parlist cleanup
6312         (dispatch): ditto
6313
6314         * BufferView.C (lockInset): parlist cleanup.
6315         (ChangeInsets): ditto
6316
6317 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * CutAndPaste.h: Update file header.
6320
6321         * CutAndPaste.C: Update file header.
6322         Store the parts cut out of the Document in a limited_stack.
6323         (copySelection): adjust
6324         (pasteSelection): new function, takes the index in the limited stack.
6325         (nrOfParagraphs): adjust
6326         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6327         simplify error inset insertion.
6328         (checkPastePossible): adjust
6329
6330 2003-05-06  John Levon  <levon@movementarian.org>
6331
6332         * text2.C: don't cast wrap inset to float
6333
6334 2003-05-05  André Pönitz  <poenitz@gmx.net>
6335
6336         * iterator.C:
6337         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6338
6339         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6340           few naked Paragraph *.
6341
6342 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6343
6344         * bufferparams.C: Output warning if a document with missing
6345         TeX document class is loaded
6346         * exporter.C: Disable TeX exports if the document class is missing
6347         * lyxtextclass.C:
6348         * lyxtextclass.h:
6349         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6350         isTeXClassAvailable()
6351
6352 2003-05-03  John Levon  <levon@movementarian.org>
6353
6354         * BufferView.h:
6355         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6356         explicit cursor show/hide
6357
6358         * BufferView_pimpl.h:
6359         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6360         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6361
6362         * lyxfunc.C: hide cursor before dispatching.
6363
6364         * lyx_cb.C:
6365         * lyxfind.C:
6366         * text.C:
6367         * text3.C: remove explicit cursor hides
6368
6369 2003-05-02  André Pönitz  <poenitz@gmx.net>
6370
6371         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6372
6373         * undo_funcs.C:
6374         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6375           linked lists
6376
6377         * text2.C: tiny whitespace
6378
6379 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * undo_funcs.C: almost only ws changes.
6382
6383         * ParagraphList.C (splice): just return if pl is empty.
6384
6385 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * ParagraphList.C (splice): new function.
6388
6389         * CutAndPaste.C (pasteSelection): use it
6390
6391 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6392
6393         * CutAndPaste.C (pasteSelection): remove the last next and
6394         previous from this file.
6395
6396 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * CutAndPaste.C (pasteSelection): more clean up, user proper
6399         ParagraphList functions for pasteing.
6400
6401         * ParagraphList.C (insert): new function, three arg insert
6402
6403 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * ParagraphList.C (insert): new function, three arg insert
6406
6407         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6408         not on paragraphs.
6409
6410 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6413
6414 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6417
6418 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6419
6420         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6421         (copySelection): clean up a bit.
6422         (pasteSelection): use make_pair
6423
6424         * ParagraphList.C (ParagraphList): implement copy constructor
6425         (operator=): implement, base on copy constructor.
6426         (assign): new func
6427
6428         * paragraph.C (erase): return a bool
6429
6430         * paragraph_pimpl.C (erasePos): remove function, move contents...
6431         (erase): ... here. Return a bool.
6432         (erase): call erase instead of erasePos.
6433
6434 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * ParagraphList.h: define PitPosPair
6437         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6438         ParagraphList, fix a bug on pasting multiple pars
6439         * text2.C: change interface to C&P
6440
6441 2003-04-30  André Pönitz  <poenitz@gmx.net>
6442
6443         * undo_func.C: revert part of yesterday's patch 2
6444
6445 2003-04-30  John Levon  <levon@movementarian.org>
6446
6447         * LColor.C: s/tabular/table/
6448
6449 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * text3.C (dispatch): do not convert iterator -> pointer
6452         * undo_funcs.C (setCursorParUndo): ditto
6453         * text_funcs.C (transposeChars): ditto
6454
6455         * text2.C (setLayout): ws changes only
6456
6457         * text.C (breakParagraph): do not convert iterator -> pointer
6458         (insertChar): ditto
6459         (acceptChange): ditto
6460         (rejectChange): ditto
6461         (changeCase): ditto
6462         (Delete): ditto
6463         (backspace): ditto
6464
6465         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6466         pointer
6467
6468 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * text3.C (gotoInset): YABG (yet another bad getChar)
6471
6472 2003-04-29  André Pönitz  <poenitz@gmx.net>
6473
6474         * paragraph.h: make operator= private unimplemented as long as
6475           it is unusable
6476
6477         * ParagraphList.C: whitespace
6478
6479         * paragraph.[Ch]:
6480         * paragraph_pimpl.[Ch]:
6481         * paragraph_funcs.C:
6482         * CutAndPaste.C:
6483         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6484
6485         * text2.C:
6486           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6487
6488 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6489
6490         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6491         * paragraph.[Ch] (erase):
6492         * paragraph_pimpl.[Ch] (erase): change return type and value
6493         * text2.C (cutSelection): some rework
6494
6495 2003-04-28  John Levon  <levon@movementarian.org>
6496
6497         * bufferlist.C: changes for unsaved changes dialog
6498
6499 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6500
6501         * bufferlist.C (newFile): set language (messages_) for new
6502         documents also.
6503
6504         * buffer.C (readFile): ws changes only.
6505
6506 2003-04-28  André Pönitz  <poenitz@gmx.net>
6507
6508         * undo_funcs.C:
6509         * lyxfunc.C:
6510         * buffer.[Ch]:
6511         * BufferView_pimpl.C:
6512         * BufferView.C: getParFromID related ParagraphList::iterator changes
6513
6514 2003-04-28  André Pönitz  <poenitz@gmx.net>
6515
6516         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6517           Changes
6518
6519 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6520
6521         * messages.C: remove one more localedir class variable.
6522
6523 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6524
6525         * messages.C (getLocaleDir): singleton generation function
6526         (Pimpl): use it.
6527         (Messages): add a default constructor.
6528
6529         * main.C (main): do not setup localedir here, do not call
6530         gettext_init.
6531
6532         * gettext.C (_): use it.
6533         (gettext_init): delete funciton
6534
6535 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * gettext.C (getLyXMessages): new singleton generating function.
6538
6539         * buffer.C (updateDocLang): adjust
6540
6541         * Makefile.am (messages.o): add target
6542         (main.o): remove target
6543
6544 2003-04-27  John Levon  <levon@movementarian.org>
6545
6546         * bufferlist.C:
6547         * lyx_cb.C:
6548         * lyxfunc.C:
6549         * lyxvc.C: specify cancel button in Alert::prompt
6550
6551 2003-04-26  John Levon  <levon@movementarian.org>
6552
6553         * text3.C:
6554         * lyxfunc.C:
6555         * lfuns.h:
6556         * LyXAction.C: add LFUN_INSET_SETTINGS
6557
6558         * lyxfunc.C: don't enable tabular-feature when there's
6559         just any locking inset
6560
6561 2003-04-26  John Levon  <levon@movementarian.org>
6562
6563         * bufferlist.C: re-add Cancel to buffer close question
6564
6565         * lyxfunc.C: fix import UI a bit
6566
6567 2003-04-25  John Levon  <levon@movementarian.org>
6568
6569         * gettext.C: remove the broken asserts for now
6570
6571 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * messages.C: make case where setlocale cannot comply work better.
6574
6575         * buffer.C (updateDocLang): new function
6576         (changeLanguage): use it
6577         (readFile): use it
6578
6579         * text2.C (setCounter): use B_ a bit.
6580
6581         * lyxlayout.C (Read): be sure to trim the label strings.
6582
6583         * messages.C (Messages): fix typo in comment
6584
6585         * buffer.C (readFile): set message_ after file is loaded.
6586         (makeDocBookFile): remove double return
6587         (changeLanguage): reset message_ upon language change.
6588         (B_): new func, use this to get translated buffer strings.
6589
6590         * main.C: add myself and Jean Marc as authors.
6591
6592 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6593
6594         * messages.[hC]: pimplify Messages, and three different pimpls to be
6595         used in different circumstances.
6596
6597         * gettext.[Ch]: change for use with new message code.
6598
6599 2003-04-24 André Pönitz <poenitz@gmx.net>
6600
6601         * factory.C: support for eqref
6602
6603 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * messages.[Ch]: add missing char
6606
6607         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6608
6609         * messages.[Ch]: New files
6610
6611 2003-04-18  John Levon  <levon@movementarian.org>
6612
6613         * BufferView.h:
6614         * BufferView.C:
6615         * BufferView_pimpl.C:
6616         * lfuns.h:
6617         * LyXAction.C:
6618         * lyxtext.h:
6619         * text2.C: remove layout-copy/paste (bug 778)
6620
6621 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6622
6623         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6624
6625 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6626
6627         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6628         if they succeed. Act accordingly.
6629
6630 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * text2.C (setCharFont): adjust
6633         (setCounter): adjust
6634         (insertStringAsLines): adjust
6635
6636         * text.C (leftMargin): adjust
6637         (setHeightOfRow): adjust
6638
6639         * rowpainter.C (paintFirst): adjust
6640         (paintLast): adjust
6641
6642         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6643         (outerHook): ditto
6644         (isFirstInSequence): ditto
6645         (getEndLabel): ditto
6646         (outerFont): adjust
6647
6648         * paragraph.C (getParLanguage): comment out some hard stuff.
6649
6650         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6651         (sgmlError): ditto
6652         (simpleDocBookOnePar): ditto
6653         (makeDocBookFile): use ParagraphList::iterator
6654
6655         * CutAndPaste.C (pasteSelection): adjust
6656
6657 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6658
6659         * text2.C (getFont): adjust
6660         (getLayoutFont): adjust
6661         (getLabelFont): adjust
6662
6663         * paragraph_funcs.C (TeXOnePar): adjust
6664
6665         * buffer.C (simpleLinuxDocOnePar): adjust
6666         (simpleDocBookOnePar): adjust
6667
6668         * CutAndPaste.C (pasteSelection): adjust
6669
6670         * BufferView.C (getEncoding): adjust
6671
6672         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6673
6674 2003-04-16  John Levon  <levon@movementarian.org>
6675
6676         * lyxfind.C: use parlist stuff for search/changes
6677
6678 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6681
6682         * text2.C (deleteEmptyParagraphMechanism): adjust
6683
6684         * text2.[Ch] (ownerParagraph): delete func (both of them
6685
6686 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6689
6690 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * ParagraphList.C: prepare for NO_NEXT
6693
6694 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6695
6696         * text2.C (getFont): adjust
6697         (getLayoutFont): adjust
6698         (getLabelFont): adjust
6699
6700         * paragraph.C (getFont): adjust
6701         (getLabelFont): adjust
6702         (getLayoutFont): adjust
6703
6704         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6705
6706 2003-04-15  John Levon  <levon@movementarian.org>
6707
6708         From Angus Leeming
6709
6710         * lyx_main.C: handle Include in .ui files
6711
6712 2003-04-15  John Levon  <levon@movementarian.org>
6713
6714         * MenuBackend.C: make the doc files length shorter
6715
6716         * ToolbarBackend.h:
6717         * ToolbarBackend.C: handle toolbar placement flags,
6718         Minibuffer
6719
6720 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6723         adjust
6724
6725         * paragraph_funcs.C (TeXOnePar): adjust
6726
6727         * paragraph.C (getLabelFont): add outerfont arg, adjust
6728         (getLayoutFont): ditto
6729         (simpleTeXOnePar): adjust
6730
6731         * paragraph_pimpl.C (realizeFont): delete func
6732
6733 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6736         row argument, constify cur argument.
6737
6738 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * text2.C (getFont): adjust
6741         (getLayoutFont): adjust
6742         (getLabelFont): adjust
6743
6744         * paragraph_funcs.C (TeXOnePar): adjust
6745         (outerFont): new func...
6746         (realizeFont): ...moved out from here, changed this to facilitate
6747         transition
6748
6749         * paragraph.C (getFont): take outerfont as arg, adjust
6750         (simpleTeXOnePar): add outerfont arg, adjust
6751
6752         * buffer.C (simpleLinuxDocOnePar): adjust
6753         (simpleDocBookOnePar): adjust
6754
6755         * CutAndPaste.C (pasteSelection): adjust
6756
6757         * BufferView.C (getEncoding): adjust
6758
6759 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6760
6761         * text2.C (setCharFont): adjust
6762         (setCounter): adjust
6763
6764         * text.C (leftMargin): adjust
6765         (setHeightOfRow): adjust
6766
6767         * rowpainter.C (paintFirst): adjust
6768         (paintLast): adjust
6769
6770         * paragraph_pimpl.C (realizeFont): adjust
6771
6772         * paragraph.C (isFirstInSequence): move from here...
6773         * paragraph_funcs.C (isFirstInSequence): ...to here
6774
6775         * paragraph.C (outerHook): move from here...
6776         * paragraph_funcs.C (outerHook): ...to here
6777
6778         * paragraph.C (depthHook): move from here...
6779         * paragraph_funcs.C (depthHook): ...to here
6780
6781         * paragraph.C (getEndLabel): move from here...
6782         * paragraph_funcs.C (getEndLabel): ...to here
6783
6784         * text2.C (realizeFont): move from here...
6785         * paragraph_funcs.C (realizeFont): ...to here
6786
6787 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6790
6791 2003-04-14  Angus Leeming  <leeming@lyx.org>
6792
6793         * LColor.[Ch]: scrap LColor mathcursor.
6794
6795 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * lyxlex.[Ch] (text): delete function
6798         * trans.C (Load): adjust
6799         * paragraph_funcs.C (readParToken): adjust
6800
6801 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6802
6803         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6804         vector<char> instead of a char[].
6805
6806         * lyxlex_pimpl.C (getString): adjust
6807         (next): adjust
6808         (lex): use getString
6809         (eatLine): adjust
6810         (nextToken): adjust
6811
6812         * lyxlex.C (text): use pimpl_->getString()
6813         (getBool): ditto
6814         (findToken): ditto
6815
6816 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6817
6818         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6819         (makeFontEntriesLayoutSpecific): temp var for par.size()
6820         (setLayout): temp var for ownerParagraphs().end()
6821         (fullRebreak): temp var for rows().end()
6822         (selectionAsString): temp var for boost::next(startpit), realize
6823         that the while really is a regular for loop.
6824         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6825         setCursor in one place.
6826         (setParagraph): temp vr for ownerParagraphs().end()
6827         (updateCounters): make the while loop a for loop
6828         (cutSelection): temp var for ownerParagraphs().end()
6829         (updateInset): make the do {} while() a regular for loop
6830         (getCursorX): use temp vars
6831         (setCurrentFont): use temp vars
6832         (getColumnNearX): use temp vars
6833
6834 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6835
6836         * text.C (transformChar): use temp var for getChar
6837         (computeBidiTables): use temp var for row->par()
6838         (fill): move temp vars for row->par() and pit->layout() earlier in
6839         the function.
6840         (labelFill): use temp var for row->par()
6841         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6842         asc and desc, realize that pit never changes and that firstpit is
6843         just a duplicate and not needed. Exchange rit->par() with pit in a
6844         lot of places.
6845         (breakAgain): use a temp var for boost::next(rit)
6846         (breakAgainOneRow): ditto
6847         (breakParagraph): use a temp var for rows().begin()
6848         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6849         (cursorRightOneWord): use temp var for cursor.par() and
6850         cursor.pos(), remove usage of tmpcursor.
6851         (cursorLeftOneWord): use temp var for cursor.par() and
6852         cursor.pos() only set cur at end of function.
6853
6854 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6855
6856         * text.C, text2.C: exchange all usage of Paragraph::next with
6857         boost::next(ParagraphList::iterator)
6858
6859         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6860
6861         * text2.C (cursorTop): simplify implementation
6862         (cursorBottom): ditto
6863         (setParagraph): use ParagraphList::iterator
6864         (setCurrentFont): adjust
6865         (getColumnNearX): adjust
6866         (cursorRight): adjust
6867         (cursorLeft): remove usage of Paragraph::previous
6868         (cursorUpParagraph): ditto
6869         (deleteEmptyParagraphMechanism): slight cleanup
6870
6871         * text.C (isBoundary): take a Paragraph const & instead of a
6872         pointer as arg.
6873         (addressBreakPoint): ditto
6874         (leftMargin): remove usage of Paragraph::previous.
6875         (setHeightOfRow): ditto
6876         (cursorLeftOneWord): ditto
6877         (selectNextWordToSpellcheck): ditto
6878         (Delete): ditto
6879         (backspace): ditto
6880         (breakParagraph): remove one usage of Paragraph::next
6881         (redoParagraph): ditto
6882         (acceptChange): ditto
6883         (insertChar): adjust
6884         (rowBreakPoint): adjust
6885
6886         * bufferview_funcs.C (toggleAndShow): adjust
6887
6888 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6889
6890         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6891         methods to access it.
6892         * lyxtext.h:
6893         * text.C: Added updateRowPositions to compute all row positions.
6894         Make top_y and getRowNearY() to use the cached y position
6895
6896 2003-04-11  John Levon  <levon@movementarian.org>
6897
6898         * text.C (rowBreakPoint): reintroduce the labelEnd
6899         checks, code copied from the row fill stuff. Deep voodoo.
6900
6901         * text.C (fill): add a comment and debugging for the
6902         next poor soul.
6903
6904 2003-04-11  John Levon  <levon@movementarian.org>
6905
6906         * text.C: make sure fullrow insets get wrapped to the next line,
6907         even when they're in a manual label
6908
6909 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * text2.C (insertParagraph): make it take ParagraphList::iterator
6912         as arg.
6913         (setLayout): make it return ParagraphList::iterator
6914         (redoParagraphs): ditto
6915         (setCounter): ditto
6916         (checkParagraph): ditto
6917
6918         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6919
6920         * text2.C: adjust several funcs.
6921         (realizeFont): take a ParagraphList::iterator as arg.
6922         (getLayoutFont): ditto
6923         (getLabelFont): ditto
6924         (setCharFont): ditto
6925
6926         * text.C: adjust several funcs.
6927
6928 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6929
6930         * text.C (selectNextWordToSpellcheck): don't accidentally
6931         skip insets
6932
6933 2003-04-10  John Levon  <levon@movementarian.org>
6934
6935         * ToolbarBackend.C (getIcon): special handling for
6936         LFUN_MATH_DELIM
6937
6938 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6939
6940         * text2.C (cursorRight): a getChar assert fixed
6941
6942 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6943
6944         * text2.C (getFont): change to take a ParagraphList::iterator
6945         instead of Paragraph*
6946         Adjust several functions.
6947
6948         * text.C (transformChar): change to take a ParagraphList::iterator
6949         instead of Paragraph*
6950         (singleWidth): ditto
6951         Adjust several functions.
6952
6953         * rowpainter.C: adjust several functions
6954         * rowpainter.h:store a ParagraphList::iterator and not a
6955         Paragraph&.
6956
6957
6958 2003-04-09  John Levon  <levon@movementarian.org>
6959
6960         * lyxfunc.C:
6961         * lfuns.h:
6962         * LyXAction.h:
6963         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6964         and the "help" bits as well
6965
6966 2003-04-09  John Levon  <levon@movementarian.org>
6967
6968         * ToolbarBackend.h:
6969         * ToolbarBackend.C: allow multiple toolbars
6970
6971 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * undo_funcs.C (setCursorParUndo): adjust
6974
6975         * text_funcs.C (transposeChars): adjust
6976
6977         * text3.C (gotoNextInset): adjust
6978         (dispatch): adjust
6979
6980         * text2.C (setLayout): adjust
6981         (changeDepth): adjust
6982         (setFont): adjust
6983         (redoParagraphs): adjust
6984         (selectionAsString): adjust
6985         (setParagraph): adjust
6986         (insertInset): adjust
6987         (cutSelection): adjust
6988         (copySelection): adjust
6989         (pasteSelection): adjust
6990         (insertStringAsLines): adjust
6991         (updateInset): adjust
6992         (setCursor): change to take a ParagraphList::iterator parameter
6993         (setCursorIntern): change to take a ParagraphList::iterator parameter
6994         (setCurrentFont): adjust
6995         (cursorLeft): adjust
6996         (cursorRight): adjust
6997         (deleteEmptyParagraphMechanism): adjust
6998
6999         * text.C (breakParagraph): adjust
7000         (insertChar): adjust
7001         (acceptChange): adjust
7002         (rejectChange): adjust
7003         (selectNextWordToSpellcheck): adjust
7004         (changeCase): adjust
7005         (Delete): adjust
7006         (backspace): adjust
7007
7008         * lyxfind.C (SearchForward): adjust
7009         (SearchBackward): adjust
7010         (nextChange): adjust
7011
7012         * lyxcursor.C (par): adjust
7013
7014         * lyxcursor.h: store a ParagraphList::iterator instead of a
7015         Paragraph*
7016
7017         * lyx_cb.C (getPossibleLabel): adjust
7018
7019         * bufferview_funcs.C (toggleAndShow): adjust
7020
7021         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7022         (dispatch): adjust
7023
7024         * BufferView.C (removeAutoInsets): adjust
7025         (lockedInsetStoreUndo): adjust
7026
7027 2003-04-09  John Levon  <levon@movementarian.org>
7028
7029         * ToolbarBackend.C: try icon without argument
7030         if with argument fails
7031
7032 2003-04-08  John Levon  <levon@movementarian.org>
7033
7034         * ToolbarBackend.h:
7035         * ToolbarBackend.C: add getIcon(), handle tooltip,
7036         and change from "Icon" to "Item".
7037
7038 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7039
7040         * BufferView.C (lockInset): another bad getchar crunched
7041
7042 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7043
7044         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7045         again)
7046
7047 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7048
7049         * lyxfind.C (searchForward, searchBackwards): bug 782
7050
7051 2003-04-07  John Levon  <levon@movementarian.org>
7052
7053         * paragraph.C: remove dead comment
7054
7055         * text.C: remove troublesome depth-fiddling code
7056         in leftMargin() and rightMargin() (bug 1017)
7057
7058         * text.C: fix breaking of rows in nested lists
7059         (bug 1004)
7060
7061         * text2.C (updateCounters): fix up depth values
7062         (bug 1013)
7063
7064 2003-04-07  John Levon  <levon@movementarian.org>
7065
7066         * BufferView_pimpl.C: clear message when doc finishes resizing,
7067         and after a mouse event
7068
7069         * lyxfunc.C: clear message after exiting inset
7070
7071 2003-04-07  John Levon  <levon@movementarian.org>
7072
7073         * bufferview_funcs.C: show math status not outside
7074         status in the statusbar
7075
7076 2003-04-07  John Levon  <levon@movementarian.org>
7077
7078         * lyxfunc.C: note status changed after a depth change
7079
7080 2003-04-04  Angus Leeming  <leeming@lyx.org>
7081
7082         * LaTeX.h: move AuxInfo operator==, != out of line.
7083         Remove LaTeX virtual destructor; nothing derives from it.
7084         Move operator()() out of public area and rename it startscript().
7085         Change protected for private.
7086
7087 2003-04-04  Angus Leeming  <leeming@lyx.org>
7088
7089         * lyxfunc.C:
7090         * text2.C: remove unneeded #includes.
7091
7092 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7093
7094         * text2.C (dEPM): fix the heigth of the next row
7095
7096 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7097
7098         * text.C: squashed an invalid getChar requester + some ws changes
7099
7100 2003-04-03  John Levon  <levon@movementarian.org>
7101
7102         * bufferview_funcs.h:
7103         * bufferview_funcs.C:
7104         * lyxfunc.C:
7105         * lyxtext.h:
7106         * text2.C: make getStatus work for the env depth lfuns
7107
7108 2003-04-03  John Levon  <levon@movementarian.org>
7109
7110         * bufferview_funcs.h:
7111         * bufferview_funcs.C:
7112         * lyxfunc.C:
7113         * lyxtext.h:
7114         * text2.C: parlistize decDepth(), by merging it with incDepth()
7115
7116 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * lyxrow.h: store a ParagraphList::iterator instead of a
7119         Paragraph* and adjust other class functions to suit.
7120
7121         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7122         above.
7123
7124 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7125
7126         * text2.C (setCursor): do not anchor to cursor row for the time being
7127
7128 2003-04-02  John Levon  <levon@movementarian.org>
7129
7130         * LyXAction.C:
7131         * lfuns.h:
7132         * lyx_main.C:
7133         * lyxtext.h:
7134         * text.C:
7135         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7136
7137 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * paragraph.h: make ParagraphList and ParagraphList::iterator
7140         friends of Paragraph.
7141
7142         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7143
7144         * ParagraphList.C: Use the private next_ and previous_ from
7145         Paragraph.
7146
7147 2003-04-01  John Levon  <levon@movementarian.org>
7148
7149         * ToolbarBackend.h:
7150         * ToolbarBackend.C:
7151         * Makefile.am: rename, remove defaults gunk
7152
7153         * MenuBackend.h:
7154         * MenuBackend.C: remove defaults gunk
7155
7156         * Languages.h:
7157         * Languages.C: remove defaults gunk
7158
7159         * lyx_main.h:
7160         * lyx_main.C: error out if files couldn't be found.
7161
7162 2003-04-02  John Levon  <levon@movementarian.org>
7163
7164         * text2.C: make incDepth() use parlist
7165
7166 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * undo_funcs.C (firstUndoParagraph): adjust
7169
7170         * text3.C (gotoInset): adjust
7171         (dispatch): adjust, and rewrite loop.
7172
7173         * text2.C (init): adjust, and rewrite loop.
7174         (redoParagraphs): adjust
7175         (updateInset): adjust, and rewrite loop.
7176         (deleteEmptyParagraphMechanism): adjust
7177
7178         * tabular.C (LyXTabular): adjust
7179         (SetMultiColumn): adjust
7180         (TeXRow): adjust
7181
7182         * lyxtext.[Ch] (ownerParagraph): delete function
7183         (ownerParagraphs): new function returns a ParagraphList.
7184
7185         * BufferView.C (removeAutoInsets): adjust
7186         (insertErrors): adjust
7187         (setCursorFromRow): adjust
7188
7189 2003-04-01  Angus Leeming  <leeming@lyx.org>
7190
7191         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7192         in the frontends.
7193
7194 2003-04-02  John Levon  <levon@movementarian.org>
7195
7196         * lyxtext.h:
7197         * text.C:
7198         * Makefile.am:
7199         * text_funcs.h:
7200         * text_funcs.C: make transposeChars a free function
7201
7202         * lyxrow_funcs.C: remove wrong comment
7203
7204 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * lyxtext.h: adjust
7207         * rowpainter.C: adjust
7208         * text.C: adjust
7209         * text2.C: adjust
7210         * text3.C: adjust
7211
7212         * lyxrow_funcs. [Ch]: new files
7213
7214         * lyxrow.[Ch]: remove next and previous pointers
7215         (next,previous): remove accessor functions
7216         (isParEnd): move to lyxrow_funcs
7217         (lastPos): move to lyxrow_funcs
7218         (nextRowIsAllInset): move to lyxrow_funcs
7219         (lastPrintablePos): move to lyxrow_funcs
7220         (numberOfSeparators): move to lyxrow_funcs
7221         (numberOfHfills): move to lyxrow_funcs
7222         (numberOfLabelHfills): move to lyxrow_funcs
7223         (hfillExpansion): move to lyxrow_funcs
7224
7225         * lyxfunc.C: adjust
7226
7227         * bufferview_funcs.C (toggleAndShow): adjust
7228
7229         * RowList.h: Remove class RowList from file leave just a
7230         std::list<Row>.
7231
7232         * RowList.C: delete file
7233
7234         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7235         and lyxrow_funcs.h
7236
7237 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * text3.C (cursorPrevious): adjust
7240         (cursorNext): adjust
7241         (dispatch): adjust
7242
7243         * text2.C (redoHeightOfParagraph): adjust
7244         (redoDrawingOfParagraph): adjust
7245         (setCursor): adjust
7246
7247         * text.C (breakParagraph): adjust
7248         (insertChar): adjust
7249         (backspace): adjust
7250
7251         * rowpainter.C (RowPainter): adjust
7252         (leftMargin): simplify and adjust
7253         (most rowpainter functions): adjust.
7254
7255         * rowpainter.h: store the row as RowList::iterator not as Row*
7256
7257         * lyxcursor.C (row): taka RowList::iterator as arg
7258         (irow): ditto
7259
7260         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7261         of Row*.
7262
7263 2003-04-01  Angus Leeming  <leeming@lyx.org>
7264
7265         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7266         stuff like bool Bool.
7267
7268 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7269
7270         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7271         rewrite a loop
7272
7273 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7274
7275         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7276         RowList::iterator.
7277
7278         * lyxtext.h (rows): drop one version and leve a const variant that
7279         returns a RowList::iterator.
7280
7281 2003-03-31  Angus Leeming  <leeming@lyx.org>
7282
7283         * text.C (fill): ensure that the signature is the same as that in the
7284         header file.
7285
7286 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * text2.C (redoParagraphs): adjust
7289         (updateCounters): adjust
7290         (checkParagraph): adjust
7291         (getColumnNearX): adjust and reformat a bit.
7292
7293         * text.C (top_y): adjust
7294         (workWidth): adjust
7295         (leftMargin): adjust
7296         (prepareToPrint): adjust
7297         (getRow): adjust
7298         (getRowNearY): adjust
7299
7300         * lyxtext.h: make rowlist_ mutable.
7301
7302         * RowList.h: add const_iterator
7303         * RowList.C: adjust for RowList::const_iterator.
7304
7305         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7306         adjust.
7307
7308 2003-03-31  John Levon  <levon@movementarian.org>
7309
7310         * lyxrc.h:
7311         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7312
7313         * lyx_main.C: set default fonts from using lyx_gui funcs
7314
7315         * exporter.C: pdf_mode moved from lyxrc
7316
7317         * lyx_cb.C:
7318         * lyxfunc.C: changes from above
7319
7320 2003-03-31  John Levon  <levon@movementarian.org>
7321
7322         * lyx_main.C: fix to the last fix
7323
7324 2003-03-31  John Levon  <levon@movementarian.org>
7325
7326         * bufferlist.C: "Load original" -> "Load Original"
7327
7328         * converter.C:
7329         * exporter.C:
7330         * importer.C:
7331         * lyx_main.C:
7332         * format.C: more Alert cleanups
7333
7334 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7335
7336         * text2.C (removeParagraph): make it take a RowList::iterator as
7337         arg, adjust.
7338         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7339         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7340
7341         * text.C (anchor_row): make it take a RowList::iterator as arg,
7342         adjust.
7343         (computeBidiTables): make it take a const reference to Row instead
7344         of Row pointer, adjust.
7345         (leftMargin): make it take a RowList::iterator as arg, adjust.
7346         (rowBreakPoint): adjust
7347         (breakAgainOneRow): make it take a RowList::iterator as arg,
7348         adjust.
7349         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7350
7351         * bufferview_funcs.C (toggleAndShow): adjust
7352
7353 2003-03-30  John Levon  <levon@movementarian.org>
7354
7355         * Makefile.am:
7356         * BoostFormat.h:
7357         * boost-inst.C: moved to support
7358
7359         * several files: changes as a result
7360
7361 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * text2.C (LyXText): adjust.
7364         (init): adjust
7365         (removeRow): make it take a RowList::iterator as arg, adjust.
7366         (fullRebreak): adjust
7367         (deleteEmptyParagraphMechanism): adjust
7368         (clearPaint): adjust
7369         (postPaint): adjust
7370
7371         * text.C (top_y): adjust
7372         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7373         (breakAgain): make it take a RowList::iterator as arg, adjust.
7374         (breakParagraph): adjust
7375         (insertChar): adjust
7376         (backspace): adjust
7377
7378         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7379         need_break_row, and refresh_row.
7380
7381         * text3.C (dispatch): adjust
7382
7383         * text2.C (checkParagraph): adjust
7384         (setCursor): adjust
7385         (setCursorFromCoordinates): adjust
7386
7387         * text.C (top_y): adjust
7388         (workWidth): adjust
7389         (getRow): make it return a RowList::iterator, adjust
7390         (getRowNearY): make it return a RowList::iterator, adjust
7391
7392         * text2.C (init): adjust
7393         (insertRow): remove function
7394         (insertParagraph): adjust
7395         (redoParagraphs): adjust
7396         (fullRebreak): adjust
7397         (updateCounters): adjust
7398
7399         * text.C (top_y): rewrite to use RowList iterators.
7400         (top_y): adjust
7401         (setHeightOfRow): rewrite to sue RowList iterators.
7402         (appendParagraph): adjust
7403         (breakAgain): adjust
7404         (breakAgainOneRow): adjust
7405         (breakParagraph): adjust
7406         (getRow): adjust
7407         (getRowNearY): adjust, and remove commented code.
7408
7409         * lyxtext.h (firstRow): delete function
7410         (lastRow): delete function
7411         (rows): new function (const and non-const versions.)
7412         (insertRow): delete function
7413
7414         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7415
7416 2003-03-29  John Levon  <levon@movementarian.org>
7417
7418         * BufferView_pimpl.C: always update scrollbar top
7419         because pasting text when we're anchored could mean we
7420         miss an update altogether
7421
7422 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7423
7424         * text2.C (init): use rowlist_.end() and not 0.
7425         (insertRow): change to take a RowList::iterator as arg, adjust
7426         for this.
7427         (insertParagraph): change to take a RowList::iterator as arg,
7428         adjust for this.
7429         (redoParagraphs): remove some debug msgs.
7430
7431         * text.C (appendParagraph): change to take a RowList::iterator
7432         arg, adjust for this.
7433         (breakAgain): add an assert
7434         (breakAgainOneRow): ditto
7435
7436 2003-03-29  John Levon  <levon@movementarian.org>
7437
7438         * text2.C: do not clear selection after inc/decDepth
7439         (bug 550)
7440
7441 2003-03-29  John Levon  <levon@movementarian.org>
7442
7443         * BufferView.C:
7444         * buffer.C: fix broken strerrors according to Lars
7445
7446 2003-03-29  John Levon  <levon@movementarian.org>
7447
7448         * converters.C: more Alert cleanups
7449
7450 2003-03-29  John Levon  <levon@movementarian.org>
7451
7452         * bufferview_funcs.C: remove pointless Alert
7453
7454         * buffer.C: fix confusing error message when
7455         a template is chmoded 000
7456
7457 2003-03-29  John Levon  <levon@movementarian.org>
7458
7459         * BufferView.C:
7460         * BufferView.h:
7461         * BufferView_pimpl.C: Alert fixes
7462
7463         * Makefile.am:
7464         * tabular.C:
7465         * tabular-old.C: remove unused table compat reading
7466
7467 2003-03-29  John Levon  <levon@movementarian.org>
7468
7469         * BufferView.C:
7470         * buffer.C:
7471         * lyx_cb.h:
7472         * lyx_cb.C: more Alert cleanups
7473
7474         * lyxfunc.C: don't allow chktex if not latex document
7475
7476 2003-03-29  John Levon  <levon@movementarian.org>
7477
7478         * lyx_cb.C:
7479         * BufferView.C:
7480         * buffer.C: warnings pushed down from support/,
7481         kill err_alert
7482
7483 2003-03-29  John Levon  <levon@movementarian.org>
7484
7485         * lyxfunc.C: safety check for C-r (revert)
7486
7487 2003-03-29  John Levon  <levon@movementarian.org>
7488
7489         * bufferlist.h:
7490         * bufferlist.C: several UI fixes using Alert::prompt.
7491         Fix the pointless looping quit code. Fix stupid revert
7492         behaviour (bug 938)
7493
7494         * lyxvc.h:
7495         * lyxvc.C:
7496         * lyx_cb.C: use Alert::prompt
7497
7498         * lyx_main.C: remove a silly question
7499
7500         * lyxfunc.C: remove a couple of silly questions,
7501         use Alert::prompt
7502
7503 2003-03-28  John Levon  <levon@movementarian.org>
7504
7505         * text2.C: fix bug 974 (End on empty par)
7506
7507 2003-03-28  John Levon  <levon@movementarian.org>
7508
7509         * BufferView_pimpl.C:
7510         * LyXAction.C:
7511         * lfuns.h: remove do-nothing math greek lfuns
7512
7513 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7514
7515         * lyxgluelength.h (isValidGlueLength): add default arg on
7516         parameter 2. Remove default arg from friend in class.
7517
7518         * lyxlength.h (isValidLength): add default arg on parameter 2.
7519         Remove default arg from friend in class.
7520
7521         * text2.C (LyXText): adjust, initialize refresh_row.
7522         (init): adjust
7523         (removeRow): adjust
7524         (insertRow): adjust
7525         (insertParagraph): adjst
7526         (redoParagraphs): adjust
7527         (fullRebreak): adjust
7528         (updateCounters): adjust
7529         (deleteEmptyParagraphMechanism): first attempt at fixing a
7530         crashing bug.
7531
7532         * text.C (top_y): adjust
7533         (setHeightOfRow): adjust
7534         (getRow): adjust
7535         (getRowNearY): adjust
7536
7537         * lyxtext.h: include RowList.h
7538         (~LyXText): not needed anymore, deleted.
7539         (firstRow): modify for RowList
7540         (lastRow): new function
7541         Delete firstrow and lastrow class variables, add a Rowlist
7542         rowlist_ class variable.
7543
7544         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7545         paragraph is empty.
7546
7547         * RowList.C (insert): fix case where it == begin().
7548
7549 2003-03-26  Angus Leeming  <leeming@lyx.org>
7550
7551         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7552         the thesaurus dialog.
7553
7554 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7555
7556         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7557
7558         * RowList.[Ch]: new files
7559
7560         * ParagraphList.C (erase): handle the case where it == begin
7561         correctly.
7562
7563 2003-03-25  John Levon  <levon@movementarian.org>
7564
7565         * Makefile.am:
7566         * aspell_local.h:
7567         * aspell.C: add new aspell support
7568
7569         * lyxrc.h:
7570         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7571         have it accessible.
7572
7573 2003-03-25  Angus Leeming  <leeming@lyx.org>
7574
7575         * lfuns.h:
7576         * LyXAction.C (init): new LFUN_INSET_INSERT.
7577
7578         * BufferView_pimpl.C (dispatch): split out part of the
7579         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7580
7581         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7582         LFUN_INSET_APPLY.
7583
7584 2003-03-25  Angus Leeming  <leeming@lyx.org>
7585
7586         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7587
7588 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7589
7590         * text2.C:
7591         * text3.C: remove useless row->height(0)
7592
7593 2003-03-25  John Levon  <levon@movementarian.org>
7594
7595         * lyxtext.h:
7596         * text2.C:
7597         * text3.C: rename the refreshing stuff to better names
7598
7599 2003-03-24  John Levon  <levon@movementarian.org>
7600
7601         * BufferView_pimpl.h:
7602         * BufferView_pimpl.C: update layout choice on a mouse
7603         press/release
7604
7605 2003-03-23  John Levon  <levon@movementarian.org>
7606
7607         * Makefile.am: fix commandtags.h reference
7608
7609 2003-03-22  John Levon  <levon@movementarian.org>
7610
7611         * BufferView_pimpl.C:
7612         * lyxtext.h:
7613         * rowpainter.C:
7614         * rowpainter.h:
7615         * text.C:
7616         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7617
7618 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7619
7620         * lyxtext.h:
7621         * text.C: take the rtl methods out of line
7622
7623 2003-03-21 André Pönitz <poenitz@gmx.net>
7624
7625         * metricsinfo.[Ch]: new files containing structures to be passed around
7626         during the two-phase-drawing...
7627
7628 2003-03-21 André Pönitz <poenitz@gmx.net>
7629
7630         * lyxtextclass.C: read 'environment' tag.
7631
7632 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7633
7634         * text2.C (removeRow): fix bug 964
7635
7636 2003-03-20  John Levon  <levon@movementarian.org>
7637
7638         * rowpainter.C:
7639         * text.C:
7640         * text2.C: paint cleanups. Inset::update() dropped font
7641         parameter
7642
7643 2003-03-19  John Levon  <levon@movementarian.org>
7644
7645         * lyxfunc.C: only fitcursor/markDirty if available()
7646
7647 2003-03-19  John Levon  <levon@movementarian.org>
7648
7649         * commandtags.h: rename to ...
7650
7651         * lfuns.h: ... this, and renumber / cleanup
7652
7653 2003-03-19  John Levon  <levon@movementarian.org>
7654
7655         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7656         fit the cursor after an lfun
7657
7658         * BufferView.h:
7659         * BufferView.C:
7660         * BufferView_pimpl.h:
7661         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7662
7663         * LyXAction.C: layout-character should have ReadOnly
7664
7665         * ParagraphParameters.C:
7666         * buffer.C:
7667         * bufferview_funcs.C:
7668         * lyx_cb.C:
7669         * lyxfind.C:
7670         * lyxtext.h:
7671         * text.C:
7672         * text2.C:
7673         * text3.C:
7674         * undo_funcs.C: changes from above
7675
7676 2003-03-18  John Levon  <levon@movementarian.org>
7677
7678         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7679         remove it from update()
7680
7681         * lyxfunc.C: update layout choice after an lfun
7682
7683         * text3.C: remove extra updateLayoutChoice()s
7684
7685 2003-03-18  John Levon  <levon@movementarian.org>
7686
7687         * text.C: top_y change means full repaint, fix
7688         a drawing bug with cursor movement
7689
7690 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7691
7692         * lyxtext.h:
7693         * text.C:
7694         * text2.C: anchor row on setCursor
7695
7696 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7697
7698         * lyxtext.h: remove almost all mutable keywords
7699         * text.C:
7700         * text2.C:
7701         * text3.C: remove const keywords accordingly
7702
7703 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7704
7705         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7706         anon namespace
7707         (TeXEnvironment): ditto
7708         (TeXOnePar): ditto
7709
7710 2003-03-17  John Levon  <levon@movementarian.org>
7711
7712         * text.C (rowBreakPoint): remove attempt to fix displayed
7713         math insets inside a manual label
7714
7715 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * lyxtext.h: remove BufferView* as first arg from almost all class
7718         functions.
7719         * other files: adjust.
7720
7721 2003-03-17  John Levon  <levon@movementarian.org>
7722
7723         * lyxtext.h:
7724         * undo_funcs.C:
7725         * text2.C: more paint cleanups
7726
7727         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7728
7729         * rowpainter.h:
7730         * rowpainter.C: remove "smart" background painting code
7731
7732 2003-03-16  John Levon  <levon@movementarian.org>
7733
7734         * lyxtext.h:
7735         * text.C:
7736         * text2.C:
7737         * text3.C: add helper functions for setting refresh_row/y
7738
7739 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7740
7741         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7742         newline inset which *can* get inserted in the pass_thru layouts.
7743         This is primarily for literate documents.
7744
7745 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7746
7747         * buffer.C: increment LYX_FORMAT to 223
7748
7749 2003-03-14 André Pönitz <poenitz@gmx.net>
7750
7751         * textclass.h: prepare for environment handling, ws changes
7752         * lyxlayout.C: read latexheader and latexfooter tags
7753
7754 2003-03-14  John Levon  <levon@movementarian.org>
7755
7756         * text2.C: rewrite ::status() a bit
7757
7758 2003-03-13  John Levon  <levon@movementarian.org>
7759
7760         * lyxtext.h: add some docs
7761
7762 2003-03-13  John Levon  <levon@movementarian.org>
7763
7764         * lyxtext.h:
7765         * text.C:
7766         * text2.C:
7767         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7768
7769 2003-03-13  John Levon  <levon@movementarian.org>
7770
7771         * text3.C: fix appendix redrawing
7772
7773 2003-03-13  John Levon  <levon@movementarian.org>
7774
7775         * text.C (setHeightOfRow):
7776         * rowpainter.h:
7777         * rowpainter.C: make appendix mark have the text
7778           "Appendix" so the user knows what it is
7779
7780         * LColor.h:
7781         * LColor.C: s/appendixline/appendix/ from above
7782
7783 2003-03-13  John Levon  <levon@movementarian.org>
7784
7785         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7786
7787         * text.C: fix a getChar(pos) bug properly
7788
7789 2003-03-13  Angus Leeming  <leeming@lyx.org>
7790
7791         * commandtags.h:
7792         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7793         Probably only temporary. Let's see how things pan out.
7794
7795         * BufferView.C (unlockInset):
7796         * BufferView_pimpl.C (fitCursor):
7797         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7798
7799         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7800         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7801
7802         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7803         new functions that convert ParagraphParameters to and from a string.
7804
7805         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7806         BufferView::Pimpl's dispatch.
7807         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7808
7809 2003-03-13 André Pönitz <poenitz@gmx.net>
7810
7811         * lyxfunc.C:
7812         * text3.C:
7813         * factory.C: make it aware of InsetEnv
7814
7815 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * text2.C (setCursor): never ask for one past last
7818         (setCursor): add some debugging messages.
7819
7820         * text.C (singleWidth): never ask for one past last
7821         (singleWidth): ditto
7822         (leftMargin): ditto
7823         (rightMargin): ditto
7824         (rowBreakPoint): ditto
7825         (setHeightOfRow): ditto
7826         (prepareToPrint): ditto
7827
7828         * rowpainter.C (paintBackground): never ask for one past last
7829         (paintText): never ask for one past last
7830
7831         * paragraph_pimpl.C (getChar): make the assert stricter, never
7832         allow the one past last pos to be taken
7833
7834         * paragraph.C (getChar): ws changes only
7835
7836         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7837         (numberOfSeparators): ditto
7838         (numberOfHfills): ditto
7839
7840 2003-03-12  John Levon  <levon@movementarian.org>
7841
7842         * author.h:
7843         * author.C:
7844         * bufferparams.h:
7845         * bufferparams.C:
7846         * paragraph_funcs.C: fix per-buffer authorlists
7847
7848 2003-03-12  John Levon  <levon@movementarian.org>
7849
7850         * text.C: fix newline in right address
7851
7852 2003-03-12  Angus Leeming  <leeming@lyx.org>
7853
7854         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7855         duplicate those in LyXFunc::dispatch.
7856
7857         * commandtags.h:
7858         * LyXAction.C:
7859         * ToolbarDefaults.C:
7860         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7861         Add LFUN_FONTFREE_UPDATE.
7862
7863         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7864         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7865
7866         * bufferview_func.[Ch]: several new functions to facilliate
7867         transfer of data to and from the character dialog.
7868
7869 2003-03-12  John Levon  <levon@movementarian.org>
7870
7871         * buffer.C:
7872         * paragraph.h:
7873         * paragraph.C:
7874         * paragraph_funcs.C:
7875         * paragraph_pimpl.C:
7876         * sgml.C:
7877         * tabular.C:
7878         * text.C:
7879         * text3.C: remove META_NEWLINE in favour of an inset
7880
7881         * rowpainter.h:
7882         * rowpainter.C: remove paintNewline (done by inset)
7883
7884 2003-03-12  John Levon  <levon@movementarian.org>
7885
7886         * paragraph_pimpl.C: complain about bad getChar()s
7887         for a while at least
7888
7889 2003-03-12  John Levon  <levon@movementarian.org>
7890
7891         * buffer.h:
7892         * buffer.C: move paragraph read into a separate function,
7893         a little renaming to reflect that.
7894
7895         * bufferparams.h:
7896         * bufferparams.C: remove the author_ids map, not necessary now
7897
7898         * factory.h:
7899         * factory.C: moved Buffer::readInset to here
7900
7901         * paragraph_funcs.h:
7902         * paragraph_funcs.C: readParagraph free function moved from
7903         buffer.C
7904
7905         * tabular.C: name change
7906
7907 2003-03-12  John Levon  <levon@movementarian.org>
7908
7909         * buffer.C:
7910         * ParagraphParameters.C: move par params input to
7911         a read() method
7912
7913         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7914         behave like a normal read from the stream wrt reading
7915         a line vs. a \\token
7916
7917 2003-03-12  John Levon  <levon@movementarian.org>
7918
7919         * paragraph.C:
7920         * ParagraphParameters.h:
7921         * ParagraphParameters.C: move output code to a
7922         ::write() method
7923
7924 2003-03-12  John Levon  <levon@movementarian.org>
7925
7926         * BufferView.C (insertLyXFile):
7927         * buffer.h:
7928         * buffer.C:
7929         * tabular.C: use a parlist iterator for creating the
7930           document.
7931
7932 2003-03-12  John Levon  <levon@movementarian.org>
7933
7934         * buffer.C: make current_change static local not
7935           static file-scope
7936
7937 2003-03-12  John Levon  <levon@movementarian.org>
7938
7939         * buffer.C: fix insertStringAsLines for change tracking
7940
7941 2003-03-12  John Levon  <levon@movementarian.org>
7942
7943         * BufferView.C:
7944         * tabular.C:
7945         * buffer.h:
7946         * buffer.C:
7947         * bufferparams.h:
7948         * bufferparams.C: move author list into params. Rename some
7949           functions. Move the header reading into a separate token
7950           loop. Move the header token reading into BufferParams.
7951
7952 2003-03-12  John Levon  <levon@movementarian.org>
7953
7954         * changes.C: put debug inside lyxerr.debugging() checks
7955
7956 2003-03-11 André Pönitz <poenitz@gmx.net>
7957
7958         * factory.C: make it aware of InsetHFill
7959
7960 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7961
7962         * buffer.C (latexParagraphs): move function from here...
7963         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7964         args.
7965
7966 2003-03-10  Angus Leeming  <leeming@lyx.org>
7967
7968         * LyXAction.C (init): fix bug in poplating array with multiple entries
7969         with the same LFUN (spotted by JMarc).
7970
7971 2003-03-10  John Levon  <levon@movementarian.org>
7972
7973         * text.C:
7974         * text2.C: move getColumnNearX() near its
7975         only call site
7976
7977 2003-03-10  John Levon  <levon@movementarian.org>
7978
7979         * text.C: fix break before a minipage
7980
7981 2003-03-10  John Levon  <levon@movementarian.org>
7982
7983         * text.C: fix the last commit
7984
7985 2003-03-09  John Levon  <levon@movementarian.org>
7986
7987         * lyxtext.h:
7988         * text.C:
7989         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7990         bug 365 (don't break before insets unless needed). Don't
7991         return a value > last under any circumstances.
7992
7993 2003-03-09  Angus Leeming  <leeming@lyx.org>
7994
7995         * BufferView_pimpl.C (trackChanges, dispatch): call
7996         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7997
7998 2003-03-09  Angus Leeming  <leeming@lyx.org>
7999
8000         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8001         than Dialogs::showAboutlyx().
8002
8003 2003-03-09  Angus Leeming  <leeming@lyx.org>
8004
8005         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8006         than Dialogs::showTabularCreate().
8007
8008 2003-03-09  John Levon  <levon@movementarian.org>
8009
8010         * lyxtext.h:
8011         * text.C:
8012         * text2.C: 3rd arg to nextBreakPoint was always the same.
8013           Use references.
8014
8015 2003-03-08  John Levon  <levon@movementarian.org>
8016
8017         * lyxrow.C:
8018         * paragraph.C:
8019         * paragraph.h:
8020         * rowpainter.C:
8021         * text.C:
8022         * text2.C: Remove the "main" bit from the "main body"
8023           notion.
8024
8025 2003-03-08  John Levon  <levon@movementarian.org>
8026
8027         * text.C (leftMargin): The left margin of an empty
8028         manual label paragraph should not include the label width
8029         string length.
8030
8031         * text.C (prepareToPrint): don't attempt to measure hfills
8032         for empty manual label paragraphs - the answer should be 0
8033
8034 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * CutAndPaste.C: remove commented code and reindent.
8037
8038 2003-03-08  John Levon  <levon@movementarian.org>
8039
8040         * lyxfunc.h:
8041         * lyxfunc.C: move reloadBuffer()
8042
8043         * BufferView.h:
8044         * BufferView.C: to here
8045
8046         * lyxvc.C: add comment
8047
8048         * vc-backend.h:
8049         * vc-backend.C: call bv->reload() to avoid
8050           getStatus() check on MENURELOAD
8051
8052 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8053
8054         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8055         to an old format .dep file.
8056
8057 2003-03-07  Angus Leeming  <leeming@lyx.org>
8058
8059         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8060         when the LFUN_MOUSE_RELEASE should have been handled by
8061         inset->localDispatch.
8062
8063 2003-03-07  Angus Leeming  <leeming@lyx.org>
8064
8065         * BufferView_pimpl.C (dispatch):
8066         * LyXAction.C (init):
8067         * ToolbarDefaults.C (init):
8068         * commandtags.h:
8069         * lyxfunc.C (getStatus):
8070         remove LFUN_INSET_GRAPHICS.
8071
8072         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8073
8074 2003-03-07  Angus Leeming  <leeming@lyx.org>
8075
8076         * commandtags.h:
8077         * LyXAction.C (init):
8078         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8079
8080         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8081
8082         * commandtags.h:
8083         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8084
8085         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8086         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8087
8088 2003-03-07  Angus Leeming  <leeming@lyx.org>
8089
8090         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8091         remove "ert".
8092
8093 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * ParagraphList.C (front): new function
8096         (back): implement
8097
8098 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8099
8100         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8101         and top_row_offset_. removed var first_y.
8102         * text.C (top_y):
8103         * text2.C (LyXText, removeRow):
8104         * text3.C:
8105         * BufferView_pimpl.C:
8106         use these methods instead of using first_y
8107
8108 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8109
8110         * text2.C (pasteSelection): adjust for checkPastePossible
8111
8112         * CutAndPaste.C: remove Paragraph * buf and replace with
8113         ParagraphList paragraphs.
8114         (DeleteBuffer): delete
8115         (cutSelection): change the tc type to textclass_type
8116         (copySelection): change the tc type to textclass_type
8117         (copySelection): adjust for ParagraphList
8118         (pasteSelection): change the tc type to textclass_type
8119         (pasteSelection): adjust for Paragraphlist
8120         (nrOfParagraphs): simplify for ParagraphList
8121         (checkPastePossible): simplify for ParagraphList
8122         (checkPastePossible): remove unused arg
8123
8124         * ParagraphList.C (insert): handle the case where there are no
8125         paragraphs yet.
8126
8127         * CutAndPaste.h: make CutAndPaste a namespace.
8128
8129         * text3.C (dispatch): adjust
8130
8131         * text.C (breakParagraph): add a ParagraphList as arg
8132
8133         * paragraph_funcs.C (breakParagraph): change to take a
8134         BufferParams and a ParagraphList as args.
8135         (breakParagraphConservative): ditto
8136         (mergeParagraph): ditto
8137         (TeXDeeper): add a ParagraphList arg
8138         (TeXEnvironment): ditto
8139         (TeXOnePar): ditto
8140
8141         * buffer.C (readLyXformat2): adjust
8142         (insertStringAsLines): adjust
8143         (latexParagraphs): adjust
8144
8145         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8146         (cutSelection): adjust
8147         (pasteSelection): adjust
8148
8149         * BufferView_pimpl.C (insertInset): adjust
8150
8151 2003-03-05  Angus Leeming  <leeming@lyx.org>
8152
8153         * commandtags.h:
8154         * LyXAction.C (init):
8155         * BufferView_pimpl.C (dispatch):
8156         * lyxfunc.C (getStatus):
8157         remove LFUN_CHILD_INSERT.
8158
8159         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8160
8161 2003-03-05  Angus Leeming  <leeming@lyx.org>
8162
8163         * commandtags.h:
8164         * LyXAction.C (init):
8165         * src/factory.C (createInset):
8166         * lyxfunc.C (getStatus):
8167         * text3.C (dispatch):
8168         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8169
8170         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8171
8172 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * ParagraphList.C (insert): handle insert right before end()
8175         (erase): fix cases where it can be first or last paragraph.
8176
8177 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8178
8179         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8180         Paragraph::next and Paragraph::previous
8181         (TeXOnePar): ditto
8182
8183         * text.C (breakParagraph): adjust
8184
8185         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8186         BufferParams& as arg.
8187         (breakParagraph): use ParagraphList::insert
8188         (breakParagraphConservative): take a Buffer* instead of a
8189         BufferParams& as arg.
8190         (breakParagraphConservative): use ParagraphList::insert.
8191
8192         * buffer.C (insertStringAsLines): un-const it
8193         (insertStringAsLines): adjust
8194
8195         * ParagraphList.C (insert): new function
8196
8197         * CutAndPaste.C (pasteSelection): adjust
8198
8199         * text.C (backspace): adjust
8200
8201         * tabular.C (SetMultiColumn): adjust
8202
8203         * CutAndPaste.C (cutSelection): adjust
8204         (pasteSelection): adjust
8205
8206         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8207         Buffer const * as arg
8208
8209         * ParagraphList.C (erase): new function
8210         * paragraph_funcs.C (mergeParagraph): use it
8211         (mergeParagraph): make it take a Buffer* instead of a
8212         BufferParams* as arg
8213
8214         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8215         as arg
8216         (breakParagraphConservative): ditto
8217
8218         * paragraph.h: remove the breakParagraph friend
8219
8220         * paragraph.C (eraseIntern): new function
8221         (setChange): new function
8222
8223         * paragraph_funcs.C (mergeParagraph): make it take a
8224         ParagraphList::iterator instead of a Paragraph *, adjust
8225         accordingly.
8226
8227         * paragraph.h: move an #endif so that the change tracking stuff
8228         also works in the NO_NEXT case.
8229
8230 2003-03-04  Angus Leeming  <leeming@lyx.org>
8231
8232         * commandtags.h:
8233         * LyXAction.C: new LFUN_INSET_MODIFY.
8234
8235         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8236         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8237
8238 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8239
8240         * several files: ws changes only
8241
8242         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8243         (TeXEnvironment): ditto
8244         (TeXDeeper): ditto
8245
8246         * buffer.C (makeLaTeXFile): adjust
8247         (latexParagraphs): make it take ParagraphList::iterator as args
8248
8249 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8250
8251         * buffer.C (latexParagraphs): adjust
8252
8253         * paragraph.C (TeXOnePar): move function...
8254         (optArgInset): move function...
8255         (TeXEnvironment): move function...
8256         * paragraph_pimpl.C (TeXDeeper): move function...
8257         * paragraph_funcs.C: ...here
8258
8259         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8260
8261 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * buffer.C (readInset): remove compability code for old Figure and
8264         InsetInfo insets
8265
8266 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8267
8268         * buffer.C: ws changes
8269         (readInset):
8270
8271         * BufferView_pimpl.C: ditto
8272         * author.C: ditto
8273         * buffer.h: ditto
8274         * bufferlist.h: ditto
8275         * changes.h: ditto
8276         * lyxfunc.C: ditto
8277
8278 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8279
8280         * converter.[Ch]: split into itself +
8281         * graph.[Ch]
8282         * format.[Ch]
8283         * Makefile.am: += graph.[Ch] + format.[Ch]
8284         * MenuBackend.C
8285         * buffer.C
8286         * exporter.C
8287         * importer.C
8288         * lyx_main.C
8289         * lyxfunc.C
8290         * lyxrc.C: added #include "format.h"
8291
8292 2003-02-27  Angus Leeming  <leeming@lyx.org>
8293
8294         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8295           a label.
8296
8297         * factory.C (createInset): add "label" to the factory.
8298
8299         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8300           string and do no more.
8301
8302 2003-02-27  Angus Leeming  <leeming@lyx.org>
8303
8304         * commandtags.h:
8305         * LyXAction.C (init):
8306         * factory.C (createInset):
8307         * BufferView_pimpl.C (dispatch):
8308           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8309
8310         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8311
8312         * lyxfunc.C (dispatch):
8313         * text3.C (dispatch): pass name to params2string.
8314
8315 2003-02-26  Angus Leeming  <leeming@lyx.org>
8316
8317         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8318           blocks together.
8319           Rearrange the ~includes. Strip out the unnecessary ones.
8320
8321         * factory.C (createInset): reformat.
8322           create new insets for the various LFUN_XYZ_APPLY lfuns.
8323
8324 2003-02-26  John Levon  <levon@movementarian.org>
8325
8326         * lyxrow.h:
8327         * lyxrow.C: add isParStart,isParEnd helpers
8328
8329         * paragraph.h: make isInserted/DeletedText take refs
8330
8331         * paragraph_funcs.h:
8332         * paragraph_funcs.C: remove #if 0'd code
8333
8334         * lyxtext.h:
8335         * text3.C:
8336         * text2.C:
8337         * text.C: use lyxrow helpers above.
8338           Move draw and paint routines to RowPainter.
8339           Make several methods use refs not pointers.
8340           Make backgroundColor() const.
8341           Add markChangeInDraw(), isInInset().
8342           Merge changeRegionCase into changeCase.
8343           Make workWidth() shouldn't-happen code into an Assert.
8344
8345         * rowpainter.h:
8346         * rowpainter.C: new class for painting a row.
8347
8348         * vspace.h:
8349         * vspace.C: make inPixels take a ref
8350
8351 2003-02-26  Angus Leeming  <leeming@lyx.org>
8352
8353         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8354         LFUN_REF_APPLY.
8355
8356 2003-02-25  John Levon  <levon@movementarian.org>
8357
8358         * ispell.C: give the forked command a more accurate name
8359
8360 2003-02-22  John Levon  <levon@movementarian.org>
8361
8362         * toc.h:
8363         * toc.C: make TocItem store an id not a Paragraph *
8364           (bug #913)
8365
8366 2003-02-21  Angus Leeming  <leeming@lyx.org>
8367
8368         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8369           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8370           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8371           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8372           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8373           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8374
8375         * BufferView_pimpl.C (dispatch):
8376         * LyXAction.C (init):
8377         * factory.C (createInset):
8378         * lyxfunc.C (getStatus, dispatch):
8379         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8380
8381 2003-02-21  Angus Leeming  <leeming@lyx.org>
8382
8383         * BufferView_pimpl.C (MenuInsertLyXFile):
8384         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8385         * lyxfunc.C (menuNew, open, doImport):
8386           no longer pass a LyXView & to fileDlg.
8387
8388 2003-02-21  Angus Leeming  <leeming@lyx.org>
8389
8390         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8391         * LyXAction.C: change, BIBKEY to BIBITEM.
8392         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8393         Change InsetBibKey to InsetBibitem.
8394         Change BIBKEY_CODE to BIBITEM_CODE.
8395         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8396         * factory.C: replace insetbib.h with insetbibitem.h.
8397         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8398         * paragraph.C: replace insetbib.h with insetbibitem.h.
8399         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8400         Change bibkey() to bibitem().
8401         * text.C: remove insetbib.h.
8402         * text2.C: replace insetbib.h with insetbibitem.h.
8403         change bibkey() to bibitem().
8404         * text3.C: remove insetbib.h.
8405         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8406
8407 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8408
8409         * lyxrc.C (output): enclose user email in quotes (in case there are
8410         several words)
8411
8412 2003-02-18  John Levon  <levon@movementarian.org>
8413
8414         * buffer.h: add std::
8415
8416 2003-02-17  John Levon  <levon@movementarian.org>
8417
8418         * SpellBase.h:
8419         * ispell.h:
8420         * ispell.C:
8421         * pspell.h:
8422         * pspell.C: reworking. Especially in ispell, a large
8423           number of clean ups and bug fixes.
8424
8425         * lyxfunc.C: fix revert to behave sensibly
8426
8427 2003-02-17 André Pönitz <poenitz@gmx.net>
8428
8429         * LyXAction.C:
8430         * commandtags.h: new LFUN_INSERT_BIBKEY
8431
8432         * layout.h:
8433         * lyxlayout.C:
8434         * buffer.C:
8435         * factory.C:
8436         * text.C:
8437         * text2.C:
8438         * text3.C:
8439         * paragraph.[Ch]:
8440         * paragraph_func.C: remove special bibkey handling
8441
8442 2003-02-17  John Levon  <levon@movementarian.org>
8443
8444         * text.C (Delete): fix case where delete at the end of
8445           the very first paragraph would not merge the pars
8446
8447 2003-02-17  John Levon  <levon@movementarian.org>
8448
8449         * lyxrow.C: fix lastPrintablePos()
8450
8451 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8452
8453         * bufferparams.C (writeLaTeX): add a std:here
8454
8455         * buffer.C: and remove a using directive there
8456
8457 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * buffer.C (makeLaTeXFile): move the code that generates the
8460           preamble...
8461
8462         * bufferparams.C (writeLaTeX): ... in this new method
8463
8464         * LaTeXFeatures.C (getEncodingSet): make const
8465           (getLanguages): make const
8466
8467         * MenuBackend.C (binding): returns the binding associated to this
8468           action
8469           (add): sets the status of each item by calling getStatus. Adds
8470           some intelligence.
8471           (read): add support for OptSubMenu
8472           (expand): remove extra separator at the end of expanded menu
8473
8474 2003-02-15  John Levon  <levon@movementarian.org>
8475
8476         * BufferView.C:
8477         * BufferView_pimpl.C:
8478         * bufferlist.h:
8479         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8480           inset code that had no actual effect. Remove unneeded status
8481           code.
8482
8483 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8484
8485         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8486           in preamble
8487
8488 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8489
8490         * text.C (drawLengthMarker): also draw an arrow marker for
8491           symbolic lengths (medskip...)
8492
8493 2003-02-14  John Levon  <levon@movementarian.org>
8494
8495         * tabular.h:
8496         * tabular.C: better method names
8497
8498 2003-02-14  John Levon  <levon@movementarian.org>
8499
8500         * BufferView_pimpl.C:
8501         * bufferlist.C:
8502         * buffer.C:
8503         * converter.C:
8504         * lyx_cb.C:
8505         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8506           it's a more accurate name. Remove some pointless uses.
8507
8508 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8509
8510         * text2.C (LyXText): change order of initilizers to shut off
8511           warnings
8512
8513 2003-02-14  John Levon  <levon@movementarian.org>
8514
8515         * buffer.C: use ParIterator for getParFromID()
8516
8517         * paragraph.h:
8518         * paragraph.C:
8519         * paragraph_pimpl.h:
8520         * paragraph_pimpl.C: remove unused getParFromID()
8521
8522 2003-02-14  John Levon  <levon@movementarian.org>
8523
8524         * buffer.C: remove some very old #if 0'd parse code
8525
8526 2003-02-13  John Levon  <levon@movementarian.org>
8527
8528         * text.h:
8529         * text.C:
8530         * text2.C: move hfillExpansion(), numberOfSeparators(),
8531           rowLast(), rowLastPrintable(), numberofHfills(),
8532           numberOfLabelHfills() ...
8533
8534         * lyxrow.h:
8535         * lyxrow.C: ... to member functions here.
8536
8537         * paragraph.h:
8538         * paragraph.C:
8539         * lyxtext.h:
8540         * text.C: remove LyXText::beginningOfMainBody(), and call
8541           p->beginningOfMainBody() directly. Move the check for
8542           LABEL_MANUAL into the latter.
8543
8544         * text.h:
8545         * text.C:
8546         * text2.C:
8547         * vspace.C:
8548         * BufferView.h:
8549         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8550
8551         * text.h:
8552         * text.C:
8553         * text2.C:
8554         * text3.C:
8555         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8556           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8557
8558 2003-02-13  John Levon  <levon@movementarian.org>
8559
8560         * CutAndPaste.C: remove debug
8561
8562 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8563
8564         * paragraph.C (asString): remove two unused variables
8565
8566         * lyxtextclass.C (readTitleType):
8567           (Read):
8568           (LyXTextClass): handle new members titletype_ and titlename_
8569
8570         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8571
8572 2003-02-09  John Levon  <levon@movementarian.org>
8573
8574         * buffer.h:
8575         * buffer.C: replace hand-coded list with a map for the dep clean
8576
8577 2003-02-08  John Levon  <levon@movementarian.org>
8578
8579         * LaTeX.C: consolidate code into showRunMessage() helper
8580
8581 2003-02-08  John Levon  <levon@movementarian.org>
8582
8583         * lyxfind.C:
8584         * lyxtext.h:
8585         * text2.C:
8586         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8587           and pass the size in explicitly
8588
8589         * BufferView_pimpl.h:
8590         * BufferView_pimpl.C:
8591         * BufferView.h:
8592         * BufferView.C: add getCurrentChange()
8593
8594         * BufferView_pimpl.h:
8595         * BufferView_pimpl.C: handle change lfuns
8596
8597         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8598           for changes. Mark pasted paragraphs as new.
8599
8600         * support/lyxtime.h:
8601         * support/lyxtime.C:
8602         * DepTable.C: abstract time_t as lyx::time_type
8603
8604         * LColor.h:
8605         * LColor.C: add colours for new text, deleted text, changebars
8606
8607         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8608           package use "usenames" option.
8609
8610         * commandtags.h:
8611         * lyxfunc.C:
8612         * LyXAction.C: add change lfuns
8613
8614         * Makefile.am:
8615         * author.h:
8616         * author.C: author handling
8617
8618         * buffer.h:
8619         * buffer.C: add a per-buffer author list, with first entry as
8620           current author. Handle new .lyx tokens for change tracking. Output
8621           author list to .lyx file. Output dvipost stuff to .tex preamble.
8622           Bump lyx format to 222.
8623
8624         * bufferlist.h:
8625         * bufferlist.C: add setCurrentAuthor() to reset current author details
8626           in all buffers.
8627
8628         * bufferparams.h:
8629         * bufferparams.C: add param for tracking
8630
8631         * bufferview_funcs.C: output change info in minibuffer
8632
8633         * Makefile.am:
8634         * changes.h:
8635         * changes.C: add change-tracking structure
8636
8637         * debug.h:
8638         * debug.C: add CHANGES debug flag
8639
8640         * lyxfind.h:
8641         * lyxfind.C: add code for finding the next change piece
8642
8643         * lyxrc.h:
8644         * lyxrc.C: add user_name and user_email
8645
8646         * lyxrow.h:
8647         * lyxrow.C: add a metric for the top of the text line
8648
8649         * lyxtext.h:
8650         * text.C: implement accept/rejectChange()
8651
8652         * lyxtext.h:
8653         * text.C: paint changebars. Paint new/deleted text in the chosen
8654         colours. Strike through deleted text.
8655
8656         * paragraph.h:
8657         * paragraph.C:
8658         * paragraph_pimpl.h:
8659         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8660           in the current change to the insert functions. Rework erase to
8661           mark text as deleted, adding an eraseIntern() and a range-based
8662           erase(). Implement per-paragraph change lookup and
8663           accept/reject.
8664
8665         * paragraph_funcs.C: Fixup paste for change tracking.
8666
8667         * tabular.C: mark added row/columns as new.
8668
8669         * text.C: fix rowLast() to never return -1. Don't allow
8670           spellchecking of deleted text. Track transpose changes. Don't
8671           allow paragraph break or merge where appropriate.
8672
8673         * text2.C: leave cursor at end of selection after a cut.
8674
8675 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8676
8677         * text.C (getLengthMarkerHeight):
8678         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8679         visible on screen too.
8680
8681 2003-02-07  John Levon  <levon@movementarian.org>
8682
8683         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8684
8685 2003-02-05  Angus Leeming  <leeming@lyx.org>
8686
8687         * lyxserver.C (read_ready): revert my patch of 11 September last year
8688         as it sends PC cpu through the roof. Presumably this means that
8689         the lyxserver will no longer run on an Alpha...
8690
8691 2003-01-30  Angus Leeming  <leeming@lyx.org>
8692
8693         * factory.C (createInset): create an InsetCommandParam of type "index"
8694         and use it to 'do the right thing'.
8695
8696         * text2.C (getStringToIndex): ensure that cursor position is always
8697         reset to the reset_cursor position.
8698
8699 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8700
8701         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8702         disabled.
8703
8704 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8705
8706         * bufferview.C:
8707         * lyxcb.C:
8708         * lyxfunc.C: Output messages with identical spelling, punctuation,
8709         and spaces
8710
8711 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8712
8713         * MenuBackend.C (expandFormats): List only viewable export formats
8714         in "View" menu
8715
8716         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8717         message
8718
8719         * lyxfunc.C (getStatus): Make sure that formats other than
8720         "fax" can also be disabled
8721
8722 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8723
8724         * text3.C (dispatch): put the lfuns that insert insets in 3
8725         groups, and call doInsertInset with appropriate arguments.
8726         (doInsertInset): new function, that creates an inset and inserts
8727         it according to some boolean parameters.
8728
8729 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * buffer.C (readFile): remember to pass on 'par' when calling
8732         readFile recursively.
8733
8734 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8735
8736         * MenuBackend.C (expandFormats): add "..." to import formats.
8737
8738 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8739
8740         * paragraph.C (asString): Remove XForms RTL hacks.
8741
8742 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8743         * buffer.C: fix typo
8744
8745 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8746
8747         * Makefile.am (LIBS): delete var
8748         (lyx_LDADD): add @LIBS@ here instead.
8749
8750 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8751
8752         * Clarify the meaning of "wheel mouse jump"
8753
8754 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8755
8756         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8757         tabular in a float
8758
8759 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8760
8761         * importer.C (Loaders): do not preallocate 3 elements in the
8762         vector, since one ends up with 6 elements otherwise
8763
8764 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8765
8766         * DepTable.C (write): write the file name as last element of the
8767         .dep file (because it may contain spaces)
8768         (read): read info in the right order
8769
8770 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8771
8772         * paragraph_pimpl.C (simpleTeXBlanks):
8773         (simpleTeXSpecialChars):
8774         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8775
8776         * tabular.C (latex): add some missing case statements. Reindent.
8777
8778         * MenuBackend.C (expandToc): remove unused variable.
8779
8780 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8781
8782         * LColor.C:
8783         * LaTeX.C:
8784         * LyXAction.C:
8785         * MenuBackend.C:
8786         * buffer.C:
8787         * exporter.C:
8788         * lyxfunc.C:
8789         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8790         and the like.
8791
8792 2003-01-05  John Levon  <levon@movementarian.org>
8793
8794         * BufferView.h:
8795         * BufferView.C: add getEncoding()
8796
8797         * kbsequence.h:
8798         * kbsequence.C: do not store last keypress
8799
8800         * lyxfunc.h:
8801         * lyxfunc.C: store last keypress here instead. Pass encoding
8802           to getISOEncoded()
8803
8804 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8805
8806         * lyx_main.C (init): remove annoying error message when following
8807         symbolic links (bug #780)
8808
8809 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8810
8811         * text.C (insertChar):
8812         * lyxrc.C (getDescription): remove extra spaces
8813
8814 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8815
8816         * lyxrc.C (getDescription): remove extra spaces
8817
8818 2002-12-20  John Levon  <levon@movementarian.org>
8819
8820         * text3.C: hack fix for page up/down across tall rows
8821
8822 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8823
8824         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8825         not been invoked
8826
8827 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8828
8829         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8830         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8831         thesaurus is not compiled in
8832
8833 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8834
8835         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8836
8837 2002-12-16  Angus Leeming  <leeming@lyx.org>
8838
8839         * lyxrc.[Ch]:
8840         * lyx_main.C (init): remove override_x_deadkeys stuff.
8841
8842 2002-12-12  John Levon  <levon@movementarian.org>
8843
8844         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8845           insert. Only remove shift modifier under strict
8846           circumstances.
8847
8848 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8849
8850         * MenuBackend.C (expandToc): fix crash.
8851
8852 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8853
8854         * MenuBackend.C (expandToc): gettext on float names.
8855
8856 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8857
8858         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8859         implement bool empty() [bug 490]
8860
8861 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8862
8863         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8864
8865 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8866
8867         * several files: ws changes
8868
8869 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8870
8871         * text2.C (setCounter): clean up a bit, use boost.format.
8872         (updateCounters): initialize par upon declaration.
8873
8874         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8875         if the layout exists. We do not just store the layout any more.
8876         (SwitchLayoutsBetweenClasses): use boost.format
8877
8878 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8879
8880         * converter.C (convert): if from and to files are the same, use a
8881         temporary files as intermediary
8882
8883 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8884
8885         * commandtags.h:
8886         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8887
8888 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8889
8890         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8891
8892 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8893
8894         * tabular.C (asciiPrintCell): use string(size, char) instead of
8895         explicit loop.
8896
8897         * sgml.C (openTag): fix order of arguments to string constructor
8898         (closeTag): ditto
8899
8900         * lyxfunc.C (dispatch): use boost.format
8901
8902         * lots of files: change "c" -> 'c'
8903
8904 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8905
8906         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8907
8908 2002-11-25  Angus Leeming  <leeming@lyx.org>
8909
8910         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8911
8912         * lyx_main.C (init): compile fix.
8913
8914 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8915
8916         * lyx_cb.C (start): boost.formatify
8917         do not include <iostream>
8918
8919         * lengthcommon.C: ws only
8920
8921         * boost-inst.C,BoostFormat.h: add more explict instantations
8922
8923 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8924
8925         * lots of files: handle USE_BOOST_FORMAT
8926
8927 2002-11-21  John Levon  <levon@movementarian.org>
8928
8929         * pspell.C: fix compile
8930
8931 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8932
8933         * lyxfunc.C (dispatch): use boost::format
8934         (open): ditto
8935         (doImport): ditto
8936
8937         * lyxfont.C (stateText): use boost::format
8938
8939         * lyx_main.C (LyX): use boost::format
8940         (init): ditto
8941         (queryUserLyXDir): ditto
8942         (readRcFile): ditto
8943         (parse_dbg): ditto
8944         (typedef boost::function): use the recommened syntax.
8945
8946         * importer.C (Import): use boost::format
8947
8948         * debug.C (showLevel): use boost::format
8949
8950         * converter.C (view): use boost::format
8951         (convert): ditto
8952         (move): ditto
8953         (scanLog): ditto
8954
8955         * bufferview_funcs.C (currentState): use boost::format
8956
8957         * bufferlist.C (emergencyWrite): use boost::format
8958
8959         * buffer.C (readLyXformat2): use boost::format
8960         (parseSingleLyXformat2Token): ditto
8961
8962         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8963
8964         * LaTeX.C (run): use boost::format
8965
8966         * Chktex.C (scanLogFile): use boost::format
8967
8968         * BufferView_pimpl.C (savePosition): use boost::format
8969         (restorePosition): ditto
8970         (MenuInsertLyXFile): ditto
8971
8972         * BoostFormat.h: help file for explicit instation.
8973
8974 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8975
8976         * tabular.C (latex): Support for block alignment in fixed width
8977         columns.
8978
8979 2002-11-17  John Levon  <levon@movementarian.org>
8980
8981         * BufferView_pimpl.C:
8982         * lyx_cb.C:
8983         * lyxfunc.C: split filedialog into open/save
8984
8985 2002-11-08  Juergen Vigna  <jug@sad.it>
8986
8987         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8988         by my last patch (hopefully).
8989
8990 2002-11-08  John Levon  <levon@movementarian.org>
8991
8992         * iterators.h:
8993         * iterators.C:
8994         * buffer.h:
8995         * buffer.C:
8996         * paragraph.h:
8997         * paragraph.C:
8998         * toc.h:
8999         * toc.C: ParConstIterator, and use it (from Lars)
9000
9001 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9002
9003         * lyxtextclass.[Ch]: revise and add doxygen comments
9004
9005 2002-11-07  John Levon  <levon@movementarian.org>
9006
9007         * text.C: fix progress value for spellchecker
9008
9009         * toc.C: fix navigate menu for insetwrap inside minipage
9010
9011         * paragraph_funcs.C: added FIXME for suspect code
9012
9013 2002-11-07  John Levon  <levon@movementarian.org>
9014
9015         * BufferView_pimpl.C: fix redrawing of insets
9016           on buffer switch
9017
9018 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9019
9020         * text2.C (updateCounters): fix bug 668
9021
9022 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9023
9024         * text3.C (dispatch): Do not make the buffer dirty when moving the
9025         cursor.
9026
9027 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9028
9029         * vc-backend.C: STRCONV
9030         (scanMaster): ditto
9031
9032         * text2.C (setCounter): STRCONV
9033
9034         * paragraph.C (asString): STRCONV
9035
9036         * lyxlength.C (asString): STRCONV
9037         (asLatexString): ditto
9038
9039         * lyxgluelength.C (asString): STRCONV
9040         (asLatexString): ditto
9041
9042         * lyxfunc.C (dispatch): STRCONV
9043         (open): ditto
9044
9045         * lyxfont.C (stateText): STRCONV
9046
9047         * importer.C (Import): STRCONV
9048
9049         * counters.C (labelItem): STRCONV
9050         (numberLabel): ditto
9051         (numberLabel): remove unused ostringstream o
9052
9053         * chset.C: STRCONV
9054         (loadFile): ditto
9055
9056         * bufferview_funcs.C (currentState): STRCONV
9057
9058         * buffer.C (readFile): STRCONV
9059         (asciiParagraph): ditto
9060         (makeLaTeXFile): ditto
9061
9062         * Spacing.C (writeEnvirBegin): STRCONV
9063
9064         * LaTeXFeatures.C (getLanguages): STRCONV
9065         (getPackages): ditto
9066         (getMacros): ditto
9067         (getBabelOptions): ditto
9068         (getTClassPreamble): ditto
9069         (getLyXSGMLEntities): ditto
9070         (getIncludedFiles): ditto
9071
9072         * LaTeX.C: STRCONV
9073         (run): ditto
9074         (scanAuxFile): ditto
9075         (deplog): ditto
9076
9077         * LString.h: add the STRCONV macros
9078
9079         * BufferView_pimpl.C (savePosition): STRCONV
9080         (restorePosition): ditto
9081         (MenuInsertLyXFile): ditto
9082
9083         * vc-backend.C (scanMaster): change from submatch[...] to
9084         submatch.str(...)
9085
9086         * funcrequest.C: include config.h
9087
9088         * factory.C: include config.h
9089
9090         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9091
9092         * box.C: include config.h
9093
9094         * LaTeX.C (scanAuxFile): change from submatch[...] to
9095         submatch.str(...)
9096         (deplog): ditto
9097
9098 2002-10-25  Angus Leeming  <leeming@lyx.org>
9099
9100         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9101
9102         * ispell.[Ch] (setError): new method.
9103         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9104         Use setError() insetead of goto END.
9105
9106         * lyx_cb.C (AutoSave): move out child process into new class
9107         AutoSaveBuffer.
9108
9109 2002-10-30  John Levon  <levon@movementarian.org>
9110
9111         * text3.C: make start appendix undoable
9112
9113 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9114
9115         * lyxlength.C (inPixels): Fix returned value.
9116
9117         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9118         environment.
9119
9120 2002-10-24  Angus Leeming  <leeming@lyx.org>
9121
9122         * lyxgluelength.h: no need to forward declare BufferParams
9123         or BufferView, so don't.
9124
9125 2002-10-21  John Levon  <levon@movementarian.org>
9126
9127         * BufferView.C: menuUndo ->undo, redo
9128
9129         * BufferView.h: document, remove dead, make some methods private
9130
9131         * paragraph_funcs.h:
9132         * paragraph_funcs.C:
9133         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9134
9135         * buffer.h:
9136         * buffer.C:
9137         * sgml.h:
9138         * sgml.C: move sgml open/close tag into sgml.C
9139
9140         * bufferview_funcs.h: unused prototype
9141
9142         * lyxfunc.h:
9143         * lyxfunc.C: remove unused
9144
9145         * lyxtext.h:
9146         * text.C: remove unused
9147
9148 2002-10-21  John Levon  <levon@movementarian.org>
9149
9150         * BufferView.h:
9151         * BufferView.C:
9152         * BufferView_pimpl.h:
9153         * BufferView_pimpl.C: fix mouse wheel handling based on
9154           patch from Darren Freeman
9155
9156 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9157
9158         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9159
9160 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9161
9162         * lyxlength.C (inPixels): Fix hanfling of negative length.
9163         Fix LyXLength::MU case.
9164
9165 2002-10-16  John Levon  <levon@movementarian.org>
9166
9167         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9168
9169 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9170
9171         * converter.C (view): add support for $$i (file name) and $$p
9172         (file path) for the viewer command. If $$i is not specified, then
9173         it is appended to the command (for compatibility with old syntax)
9174
9175 2002-10-14  Juergen Vigna  <jug@sad.it>
9176
9177         * undo_funcs.C (textHandleUndo): alter the order in which the
9178         new undopar is added to the LyXText, as we have to set first
9179         the right prev/next and then add it as otherwise the rebuild of
9180         LyXText is not correct. Also reset the cursor to the right paragraph,
9181         with this IMO we could remove the hack in "redoParagraphs()".
9182
9183 2002-10-09  Angus Leeming  <leeming@lyx.org>
9184
9185         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9186         to turn off an optimisation if a new inset is to be inserted.
9187
9188 2002-10-11 André Pönitz <poenitz@gmx.net>
9189
9190         * lyxtext.h: make some functions public to allow access
9191         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9192
9193 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9194
9195         * text3.C (dispatch): when changing layout, avoid an infinite loop
9196         [bug #652]
9197
9198 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9199
9200         * lyxrc.C (read): treat a viewer or converter command of "none" as
9201         if it were empty.
9202
9203         * MenuBackend.C (expandFormats): for an update, also allow the
9204         formats that are not viewable
9205
9206         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9207         script if it is newer than the lyxrc.defaults in user directory
9208
9209 2002-10-07 André Pönitz <poenitz@gmx.net>
9210
9211         * text.C: Vitaly Lipatov's small i18n fix
9212
9213 2002-09-25  Angus Leeming  <leeming@lyx.org>
9214
9215         * ispell.h: doxygen fix.
9216
9217 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * buffer.h (readFile): Add a new argument to the method, to allow
9220         reading of old-format templates.
9221
9222 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9223
9224         * toc.C (getTocList): Get TOC from InsetWrap.
9225
9226 2002-09-16  John Levon  <levon@movementarian.org>
9227
9228         * lyxfunc.C: check tabular for cut/copy too
9229
9230 2002-09-12  John Levon  <levon@movementarian.org>
9231
9232         * LyXAction.C: tidy
9233
9234         * factory.h:
9235         * factory.C: add header
9236
9237         * paragraph_funcs.h:
9238         * paragraph_funcs.C: cleanup
9239
9240 2002-09-11  John Levon  <levon@movementarian.org>
9241
9242         * PrinterParams.h: odd/even default to true
9243
9244 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9245
9246         * PrinterParams.h: update printer parameters for new xforms dialog
9247
9248 2002-09-11  Angus Leeming  <leeming@lyx.org>
9249
9250         * lyxserver.C (read_ready): re-write to make it more transparent
9251         and to make it work in coherent fashion under Tru64 Unix.
9252
9253 2002-09-11  André Pönitz <poenitz@gmx.net>
9254
9255         * commandtags.h:
9256         * LyXAction.C:
9257         * text3.C: implement LFUN_WORDSEL
9258
9259 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9260
9261         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9262         make floatlist_ a boost::shared_ptr<FloatList>
9263
9264         * lyxtextclass.C: include FloatList.h
9265         (LyXTextClass): initialize floatlist_
9266         (TextClassTags): add TC_NOFLOAT
9267         (Read): match "nofloat" to TC_NOFLOAT and use it.
9268         (readFloat): modify call to floatlist_
9269         (floats): ditto
9270         (floats): ditto
9271
9272         * FloatList.[Ch] (FloatList): remove commented out float
9273         initialization.
9274         (erase): new function
9275
9276 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9277
9278         * MenuBackend.C (expandToc): fix crash when there is no document
9279         open
9280
9281 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9282
9283         * many files: Add insetwrap.
9284
9285 2002-09-09  John Levon  <levon@movementarian.org>
9286
9287         * text2.C: remove confusing and awkward depth wraparound
9288
9289 2002-09-09  John Levon  <levon@movementarian.org>
9290
9291         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9292
9293         * buffer.h:
9294         * buffer.C: remove getIncludeonlyList()
9295
9296         * paragraph.C:
9297         * lyxfunc.C: remove headers
9298
9299 2002-09-09  Juergen Vigna  <jug@sad.it>
9300
9301         * text.C (getColumnNearX): fix form Michael this is most
9302         probably a cut&paste bug.
9303
9304 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9305
9306         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9307
9308         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9309         references, ws changes.
9310
9311         * text2.C (init): update counters after init
9312         (insertParagraph): no need to set counter on idividual paragraphs.
9313         (setCounter): access the counters object in the textclass object
9314         on in the buffer object.
9315         (updateCounters): ditto
9316
9317         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9318         shared_ptr<Counters> to avoid loading counters.h in all
9319         compilation units.
9320         (LyXTextClass): initialize ctrs_
9321         (TextClassTags): add TC_COUNTER, and ...
9322         (Read): use it here.
9323         (CounterTags): new tags
9324         (readCounter): new function
9325         (counters): new funtion
9326         (defaultLayoutName): return a const reference
9327
9328         * counters.C (Counters): remove contructor
9329         (newCounter): remove a couple of unneeded statements.
9330         (newCounter): simplify a bit.
9331         (numberLabel): some small formatting changes.
9332
9333         * buffer.[Ch]: remove all traces of counters, move the Counters
9334         object to the LyXTextClass.
9335
9336 2002-09-06  Alain Castera  <castera@in2p3.fr>
9337
9338         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9339         package to set the horizontal alignment on fixed width columns.
9340
9341         * lyx_sty.C:
9342         * lyx_sty.h: added tabularnewline macro def.
9343
9344         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9345
9346 2002-09-06  John Levon  <levon@movementarian.org>
9347
9348         * LyXAction.C: tooltips for sub/superscript
9349
9350         * MenuBackend.C: a bit more verbose
9351
9352         * lyxfunc.C: tiny clean
9353
9354         * undo_funcs.C: document undo_frozen
9355
9356 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9357
9358         * counters.C (Counters): add missing algorithm counter.
9359
9360         * text2.C (setCounter): lookup the counter with layouts latexname
9361         instead of by section number.
9362         (setCounter): use a hackish way to lookup the correct enum
9363         counter.
9364         a float name->type change
9365         reset enum couners with counter name directly instead of depth value.
9366
9367         * counters.C (Counters): remove the push_backs, change to use the
9368         float type not the float name.
9369         (labelItem): remove unused string, float name->type change
9370
9371         * counters.h: don't include vector, loose the enums and sects vectors
9372
9373 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9376         (Read): add float->TC_FLOAT to textclassTags
9377         (Read): and handle it in the switch
9378         (readFloat): new function
9379
9380         * FloatList.C (FloatList): comment out the hardcoded float
9381         definitions.
9382
9383         * lyxlayout.h: ws change.
9384
9385 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9386
9387         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9388
9389 2002-09-03  Angus Leeming  <leeming@lyx.org>
9390
9391         * BufferView_pimpl.h: qualified name is not allowed in member
9392         declaration: WorkArea & Pimpl::workarea() const;
9393
9394         * factory.C: added using std::endl directive.
9395
9396         * text3.C: added using std::find and std::vector directives.
9397
9398 2002-08-29  André Pönitz <poenitz@gmx.net>
9399
9400         * lyxtext.h:
9401         * text2.C: remove unused member number_of_rows
9402
9403         * Makefile.am:
9404         * BufferView2.C: remove file, move contents to...
9405         * BufferView.C: ... here
9406
9407         * BufferView_pimpl.C:
9408         * factory.C: move more inset creation to factory
9409
9410         * vspace.C: avoid direct usage of LyXText, ws changes
9411
9412         * BufferView.[Ch]:
9413                 don't provide direct access to WorkArea, use two simple
9414                 acessors haveSelction() and workHeight() instead
9415
9416
9417 2002-08-29  John Levon  <levon@movementarian.org>
9418
9419         * BufferView_pimpl.C (dispatch): do not continue when
9420           no buffer
9421
9422 2002-08-28  André Pönitz <poenitz@gmx.net>
9423
9424         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9425
9426         * BufferView.h:
9427         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9428
9429 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9430
9431         * buffer.C: increment LYX_FORMAT to 221
9432
9433         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9434         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9435
9436         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9437
9438         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9439
9440 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * factory.C (createInset): use LyXTextClass::floats
9443
9444         * MenuBackend.C (expandFloatListInsert):
9445         (expandFloatInsert):
9446         (expandToc):
9447
9448         * text2.C (setCounter):
9449
9450         * LaTeXFeatures.C (useFloat):
9451         (getFloatDefinitions):
9452
9453         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9454
9455         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9456         floatlist_, with accessor floats().
9457
9458         * FloatList.h: remove global FloatList
9459
9460 2002-08-26  André Pönitz <poenitz@gmx.net>
9461
9462         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9463
9464         * BufferView.h:
9465         * BufferView2.C:
9466         * BufferView_pimpl.C:
9467         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9468
9469 2002-08-25  John Levon  <levon@movementarian.org>
9470
9471         * LyXAction.C: fix margin note description
9472
9473 2002-08-24  John Levon  <levon@movementarian.org>
9474
9475         * buffer.C:
9476         * bufferlist.C:
9477         * bufferview_funcs.C:
9478         * lyxfont.C:
9479         * undo_funcs.C: cleanups
9480
9481         * lyxfunc.C: disable CUT/COPY when no selection
9482
9483 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9484
9485         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9486         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9487
9488         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9489         Add backward compatibility to "mono", "gray" and "no".
9490
9491 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9492
9493         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9494         (and file_format >= 200).
9495
9496 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9499
9500 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9503
9504 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9505
9506         * BufferView_pimpl.C:
9507         * LyXAction.C:
9508         * buffer.C:
9509         * commandtags.h:
9510         * lyxfunc.C:
9511         * paragraph.[Ch]:
9512         * text2.C:
9513         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9514         inset and code to make it  work with the paragraph code. The inset
9515         can be anywhere in the paragraph, but will only do the expected
9516         thing in LaTeX if the layout file contains the parameter line
9517                         OptionalArgs    1
9518         (or more generally, a nonzero value) for that layout.
9519
9520 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9521
9522         * paragraph.h: remove the declaration of undefined counters class
9523         function.
9524
9525 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9526
9527         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9528         Dr. Richard Hawkins.
9529
9530 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * paragraph_funcs.h: remove some unneeded includes
9533
9534         * text.C (backspace): pasteParagraph now in global scipe
9535
9536         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9537         (pasteSelection): ditto
9538
9539         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9540         * paragraph_funcs.C (pasteParagraph): ... here
9541
9542 2002-08-20  André Pönitz <poenitz@gmx.net>
9543
9544         * commandtags.h: new LFUNs for swapping/copying table row/colums
9545
9546         * LyXAction.C:
9547         * lyxfunc.C: support for new lfuns
9548
9549 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9550
9551         * tabular.C:
9552         * buffer.[Ch]: remove NO_COMPABILITY stuff
9553
9554 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9555
9556         * boost.C (throw_exception): new file, with helper function for
9557         boost compiled without exceptions.
9558
9559         * paragraph.h:
9560         * lyxlength.C:
9561         * buffer.C:
9562         * ParameterStruct.h:
9563         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9564
9565         * bufferlist.C (emergencyWriteAll): use boost bind
9566
9567         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9568
9569         * text.C: include paragraph_funcs.h
9570         (breakParagraph): breakParagraph is now in global scope
9571
9572         * paragraph_funcs.[Ch]: new files
9573
9574         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9575         global scope
9576
9577         * buffer.C: include paragraph_funcs.h
9578         (insertStringAsLines): breakParagraph is now in global scope
9579
9580         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9581         paragraph_funcs.C
9582
9583         * CutAndPaste.C: include paragraph_funcs.h
9584         (cutSelection): breakParagraphConservative is now in global scope
9585         (pasteSelection): ditto
9586
9587         * buffer.h: declare oprator== and operator!= for
9588         Buffer::inset_iterator
9589
9590         * bufferlist.C (emergencyWrite): don't use fmt(...)
9591
9592         * text3.C: add using std::endl
9593
9594         * BufferView.C (moveCursorUpdate): remove default arg
9595
9596 2002-08-20  André Pönitz <poenitz@gmx.net>
9597
9598         * buffer.[Ch]: move inline functions to .C
9599
9600         * BufferView2.C:
9601         * BufferView_pimpl.C:
9602         * text.C:
9603         * buffer.[Ch]: use improved inset_iterator
9604
9605         * buffer.C:
9606         * paragraph.[Ch]: write one paragraph at a time
9607
9608 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9609
9610         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9611         style if style is not specified.
9612
9613 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9614
9615         * text2.C (setCounter): when searching for right label for a
9616         caption, make sure to recurse to parent insets (so that a caption
9617         in a minipage in a figure float works) (bug #568)
9618
9619 2002-08-20  André Pönitz <poenitz@gmx.net>
9620
9621         * text3.C: new file for LyXText::dispatch() and helpers
9622
9623         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9624
9625         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9626
9627 2002-08-19  André Pönitz <poenitz@gmx.net>
9628
9629         * lyxtext.h:
9630         * text.C: new LyXText::dispatch()
9631
9632         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9633
9634 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9635
9636         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9637
9638         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9639         Hebrew text.
9640
9641 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9642
9643         * Makefile.am: use $(variables) instead of @substitutions@
9644
9645 2002-08-15  André Pönitz <poenitz@gmx.net>
9646
9647         * lyxfunc.C:
9648         * BufferView_pimpl.C: streamlining mathed <-> outer world
9649         interaction
9650
9651         * commandtags.h:
9652         * LyXAction.C: remove unused LFUN_MATH
9653
9654 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9655
9656         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9657
9658 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9659
9660         * paragraph.C (Paragraph): reformat a bit
9661         (cutIntoMinibuffer): use builtin InsetList function instad of
9662         doing it manually.
9663         (getInset): ditto
9664
9665         * buffer.C: include boost/bind.hpp, add using std::for_each
9666         (writeFileAscii): use ParagraphList iterators
9667         (validate): use for_each for validate traversal of paragraphs
9668         (getBibkeyList): use ParagraphList iterators
9669         (resizeInsets): use for_each to resizeInsetsLyXText for all
9670         paragraphs.
9671         (getParFromID): use ParagraphList iterators
9672
9673         * BufferView2.C (lockInset): use paragraph list and iterators
9674
9675 2002-08-14  John Levon  <levon@movementarian.org>
9676
9677         * lyxserver.C: remove spurious xforms include
9678
9679 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9680
9681         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9682
9683 2002-08-13  André Pönitz <poenitz@gmx.net>
9684
9685         * LyXAction.[Ch]:
9686         * lyxfunc.C: further cleaning
9687
9688 2002-08-13  André Pönitz <poenitz@gmx.net>
9689
9690         * funcrequest.h: new constructor
9691
9692         * funcrequest.C: move stuff here from .h
9693
9694         * Makefile.am:
9695         * BufferView_pimpl.C:
9696         * LyXAction.C:
9697         * toc.C:
9698         * lyxfunc.C: subsequent changes
9699
9700         * lyxfunc.h: new view() member function
9701
9702         * lyxfunc.C: subsequent changes
9703
9704 2002-08-13  Angus Leeming  <leeming@lyx.org>
9705
9706         * BufferView2.C:
9707         * BufferView_pimpl.C:
9708         * buffer.C:
9709         * converter.C:
9710         * importer.C:
9711         * lyxfunc.C:
9712         * lyxvc.C:
9713         * toc.C:
9714         * vc-backend.C:
9715         changes due to the changed LyXView interface that now returns references
9716         to member variables not pointers.
9717
9718 2002-08-13  Angus Leeming  <leeming@lyx.org>
9719
9720         * WordLangTuple (word, lang_code): return references to strings,
9721         not strings.
9722
9723         * BufferView.h:
9724         * SpellBase.h:
9725         * lyxtext.h: forward-declare WordLangTuple.
9726
9727         * BufferView2.C:
9728         * ispell.C:
9729         * pspell.C:
9730         * text.C: #include "WordLangTuple.h".
9731
9732         * lyxtext.h:
9733         * text.C: (selectNextWordToSpellcheck): constify return type.
9734
9735 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9736
9737         * buffer.C:
9738         * buffer.h:
9739         * lyxtext.h:
9740         * paragraph.C:
9741         * paragraph_pimpl.h:
9742         * text.C:
9743         * text2.C:
9744         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9745         suggested by Angus.
9746         Made updateCounter always count from start of buffer, and removed
9747         second argument (par).
9748         Reverted floats number display to '#'. Perhaps I'll try again when the
9749         code base is sanitized a bit.
9750
9751 2002-08-12  Angus Leeming  <leeming@lyx.org>
9752
9753         * buffer.[Ch] (getLabelList): constify.
9754
9755 2002-08-07  André Pönitz <poenitz@gmx.net>
9756
9757         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9758
9759         * funcrequest.h: extension to keep mouse (x,y) position
9760
9761 2002-08-12  Juergen Vigna  <jug@sad.it>
9762
9763         * BufferView2.C (insertErrors): forbid undo when inserting error
9764         insets.
9765
9766         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9767
9768 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9769
9770         * ParagraphList.[Ch]: new files
9771
9772         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9773
9774         * BufferView2.C (lockInset): ParagraphList changes
9775         * toc.C: ditto
9776         * text2.C: ditto
9777         * bufferlist.C: ditto
9778         * buffer.h: ditto
9779         * buffer.C: ditto
9780
9781 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9782
9783         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9784         unused class variable counter_,
9785
9786         * paragraph.[Ch] (getFirstCounter): delete unused function
9787
9788         * counters.C: include LAssert.h
9789         (reset): add a new function with no arg, change other version to
9790         not have def. arg and to not allow empty arg.
9791
9792         * text2.C (setCounter): remove empty arg from call to Counters::reset
9793
9794 2002-08-11  John Levon  <levon@movementarian.org>
9795
9796         * Makefile.am: add WordLangTuple.h
9797
9798 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9799
9800         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9801         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9802
9803         * insets/insettext.C: InsetList changes
9804
9805         * graphics/GraphicsSupport.C (operator()): InsetList changes
9806
9807         * toc.C (getTocList): InsetList changes
9808
9809         * paragraph_pimpl.[Ch]: InsetList changes
9810
9811         * paragraph.[Ch]: InsetList changes
9812
9813         * buffer.C (inset_iterator): InsetList changes
9814         (setParagraph): ditto
9815         * buffer.h (inset_iterator): ditto
9816         * iterators.C (operator++): ditto
9817         * iterators.h: ditto
9818
9819         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9820
9821         * InsetList.[Ch]: new files, most InsetList handling moved out of
9822         paragraph.C.
9823
9824         * BufferView2.C (removeAutoInsets): InsetList changes
9825         (lockInset): ditto
9826         (ChangeInsets): ditto
9827
9828 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9829
9830         * paragraph_pimpl.h (empty): new function
9831
9832         * paragraph.[Ch] (empty): new function
9833
9834         * other files: use the new Paragraph::empty function
9835
9836 2002-08-09  John Levon  <levon@movementarian.org>
9837
9838         * lyxtext.h: remove unused refresh_height
9839
9840 2002-08-09  John Levon  <levon@movementarian.org>
9841
9842         * Makefile.am:
9843         * sgml.h:
9844         * sgml.C:
9845         * buffer.C:
9846         * paragraph.h:
9847         * paragraph.C: move sgml char escaping out of paragraph
9848
9849         * paragraph.h:
9850         * paragraph.C: remove id setter
9851
9852         * buffer.C:
9853         * paragraph.C:
9854         * paragraph_pimpl.C: remove dead tex_code_break_column
9855
9856         * bufferview_funcs.C: small cleanup
9857
9858         * lyxfunc.C: remove dead proto
9859
9860         * lyxtext.h: make some stuff private. Remove some dead stuff.
9861
9862         * lyxgluelength.C: make as[LyX]String() readable
9863
9864 2002-08-08  John Levon  <levon@movementarian.org>
9865
9866         * LyXAction.h:
9867         * LyXAction.C:
9868         * MenuBackend.C:
9869         * ToolbarDefaults.C:
9870         * lyxfunc.C:
9871         * lyxrc.C:
9872         * toc.C: lyxaction cleanup
9873
9874 2002-08-08  John Levon  <levon@movementarian.org>
9875
9876         * BufferView2.C: small cleanup
9877
9878         * lyxfind.h:
9879         * lyxfind.C: move unnecessary header into the .C
9880
9881 2002-08-08  John Levon  <levon@movementarian.org>
9882
9883         * funcrequest.h: just tedious nonsense
9884
9885         * lyx_main.h:
9886         * lyx_main.C: cleanups
9887
9888         * buffer.C:
9889         * vspace.C: remove dead header lyx_main.h
9890
9891 2002-08-07  Angus Leeming  <leeming@lyx.org>
9892
9893         * Paragraph.[Ch]:
9894         * paragraph_pimpl.h:
9895         Forward declare class Counters in paragraph.h by moving the ctrs member
9896         variable into Paragraph::Pimpl.
9897         (counters): new method, returning a reference to pimpl_->ctrs.
9898
9899         * text2.C: ensuing changes.
9900
9901 2002-08-07  John Levon  <levon@movementarian.org>
9902
9903         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9904
9905         * BufferView_pimpl.C: announce X selection on double/triple
9906           click
9907
9908         * lyx_main.C: use correct bool in batch dispatch
9909
9910         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9911
9912 2002-08-07  André Pönitz <poenitz@gmx.net>
9913
9914         * funcrequest.h: new class to wrap a kb_action and its argument
9915
9916         * BufferView.[Ch]:
9917         * BufferView_pimpl[Ch]:
9918         * LaTeX.C:
9919         * LyXAction.[Ch]:
9920         * lyxfunc.[Ch]:
9921         * lyxrc.C: subsequent changes
9922
9923
9924 2002-08-07  John Levon  <levon@movementarian.org>
9925
9926         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9927           document options change.
9928
9929 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9930
9931         * counters.[Ch]
9932         * text2.C
9933         * paragraph.[Ch]
9934         * makefile.am: move counters functionality over from
9935         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9936
9937 2002-08-06  John Levon  <levon@movementarian.org>
9938
9939         * WordLangTuple.h: new file for word + language code tuple
9940
9941         * SpellBase.h:
9942         * pspell.h:
9943         * pspell.C:
9944         * ispell.h:
9945         * ispell.C:
9946         * lyxtext.h:
9947         * text.C:
9948         * text2.C:
9949         * BufferView.h:
9950         * BufferView2.C: use WordLangTuple
9951
9952         * layout.h:
9953         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9954
9955 2002-08-06  John Levon  <levon@movementarian.org>
9956
9957         * lyx_main.C: fix cmdline batch handling
9958
9959 2002-08-06  André Pönitz <poenitz@gmx.net>
9960
9961         * lyxrc.C: set default for show_banner to true
9962
9963 2002-08-06  John Levon  <levon@movementarian.org>
9964
9965         * pspell.C: fix a crash, and allow new aspell to work
9966
9967 2002-08-06  John Levon  <levon@movementarian.org>
9968
9969         * lyxfunc.C:
9970         * kbmap.C: small cleanup
9971
9972         * vspace.h:
9973         * vspace.C: add const
9974
9975 2002-08-05  John Levon  <levon@movementarian.org>
9976
9977         * LyXAction.C: back to tabular-insert
9978
9979 2002-08-04  John Levon  <levon@movementarian.org>
9980
9981         * BufferView.h:
9982         * BufferView.C: cosmetic change
9983
9984         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9985
9986         * bufferlist.C:
9987         * buffer.h:
9988         * buffer.C:
9989         * lyxcb.h:
9990         * lyxcb.C:
9991         * lyxserver.C:
9992         * lyxvc.C:
9993         * vc-backend.C:
9994         * BufferView2.C: purge all "Lyx" not "LyX" strings
9995
9996         * lyxcursor.h:
9997         * lyxcursor.C: attempt to add some documentation
9998
9999         * lyxfunc.C:
10000         * commandtags.h:
10001         * LyXAction.C:
10002         * ToolbarDefaults.C:
10003         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10004           merge with LFUN_TABULAR_INSERT
10005
10006         * Makefile.am:
10007         * SpellBase.h:
10008         * ispell.h:
10009         * ispell.C:
10010         * pspell.h:
10011         * pspell.C: split up i/pspell implementations into separate
10012           files, many cleanups
10013
10014         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10015
10016         * text2.C: some cleanup
10017
10018         * lyxfunc.C: don't check for isp_command == "none" any more, it
10019           didn't make any sense
10020
10021 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10022
10023         * counters.[Ch]
10024         * text2.C
10025         * paragraph.[Ch]
10026         * makefile.am: move counters functionality over
10027         from text2.C/paragraph.[Ch] to counters.[Ch], and
10028         make proper C++.
10029 2002-08-02  John Levon  <levon@movementarian.org>
10030
10031         * buffer.C: s/lyxconvert/lyx2lyx/
10032
10033 2002-08-02  Angus Leeming  <leeming@lyx.org>
10034
10035         * lyxlex.C: revert John's change as it breaks reading of the user
10036         preamble.
10037
10038 2002-08-02  Angus Leeming  <leeming@lyx.org>
10039
10040         * importer.C (Import):
10041         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10042         changes due to LyXView::view() now returning a boost::shared_ptr.
10043
10044 2002-08-02  John Levon  <levon@movementarian.org>
10045
10046         * lyxlex.C: small cleanup
10047
10048 2002-08-02  John Levon  <levon@movementarian.org>
10049
10050         * text2.C (status): small cleanup, no logic change
10051
10052 2002-08-01  John Levon  <levon@movementarian.org>
10053
10054         * buffer.h:
10055         * buffer.C (writeFile): don't output alerts, caller
10056           handles this
10057
10058         * bufferlist.C:
10059         * lyx_cb.C: from above
10060
10061         * lyxfunc.C: allow to open non-existent files
10062
10063 2002-07-31  John Levon  <levon@movementarian.org>
10064
10065         * lyxserver.C: don't let incidental errors get
10066           in the way (errno)
10067
10068 2002-07-30  John Levon  <levon@movementarian.org>
10069
10070         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10071
10072 2002-07-30  John Levon  <levon@movementarian.org>
10073
10074         * lyxserver.h:
10075         * lyxserver.C: remove I/O callback too
10076
10077 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10080         log.
10081
10082 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10083
10084         * many files: strip,frontStrip -> trim,ltrim,rtrim
10085
10086 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10087
10088         * PrinterParams.h: remove extern containsOnly, and include
10089         support/lstrings.h instead.
10090
10091         * LaTeX.C (scanAuxFile): modify because of strip changes
10092         (deplog): ditto
10093         * buffer.C (makeLaTeXFile): ditto
10094         * bufferparams.C (writeFile): ditt
10095         * lyxfont.C (stateText): ditto
10096         * lyxserver.C (read_ready): ditto
10097         * vc-backend.C (scanMaster): ditto
10098
10099         * BufferView_pimpl.h: ws changes
10100
10101         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10102
10103 2002-07-26  André Pönitz <poenitz@gmx.net>
10104
10105         * kb_sequence.C: remove unnedred usings
10106
10107 2002-07-26  Juergen Vigna  <jug@sad.it>
10108
10109         * lyxfind.C (LyXReplace): we have to check better if the returned
10110         text is not of theLockingInset()->getLockingInset().
10111
10112 2002-07-25  Juergen Vigna  <jug@sad.it>
10113
10114         * lyxfind.C (LyXReplace): don't replace if we don't get the
10115         right LyXText.
10116
10117         * undo_funcs.C (createUndo): remove debugging code.
10118
10119 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10120
10121         * buffer.C (parseSingleLyXformat2Token): Use default placement
10122         when reading old floats.
10123
10124         * FloatList.C (FloatList): Change the default placement of figure
10125         and tables to "tbp".
10126
10127 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * MenuBackend.C: using std::max
10130
10131 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * MenuBackend.C (expandToc):
10134         (expandToc2): code moved from xforms menu frontend. It is now
10135         generic and TOCs are transparent to menu frontends.
10136
10137 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10138
10139         * toc.C (getTocList): protect against buf=0
10140
10141         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10142         Menu as first parameter. Now, this calls itself recursively to
10143         expand a whole tree (this will be useful for TOC handling)
10144         (expandFloatInsert): remove 'wide' version of floats
10145
10146         * MenuBackend.h (submenuname): returns the name of the submenu.
10147         (submenu): returns the submenu itself, provided it has been
10148         created by MenuBackend::expand
10149
10150 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10151
10152         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10153         insets which have noFontChange == true. (bug #172)
10154
10155 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10156
10157         * BufferView_pimpl.C: add connection objects and use them...
10158         (Pimpl): here.
10159
10160 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * MenuBackend.C (expandLastfiles):
10163         (expandDocuments):
10164         (expandFormats):
10165         (expandFloatListInsert):
10166         (expandFloatInsert):
10167         (expand): split expand in parts
10168
10169 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * lyx_gui.C: use lyx_gui::exit()
10172
10173 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * LyXAction.C: show the failing pseudo action
10176
10177 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10178
10179         * buffer.C (readFile): Run the lyxconvert script in order to read
10180         old files.
10181
10182 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10183
10184         * LyXAction.C:
10185         * commandtags.h:
10186         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10187
10188 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10189
10190         * LyXAction.C:
10191         * commandtags.h:
10192         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10193
10194 2002-07-22  Herbert Voss  <voss@lyx.org>
10195
10196         * lengthcommon.C:
10197         * lyxlength.[Ch]: add support for the vertical lengths
10198
10199 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10200
10201         * toc.[Ch]: std:: fixes
10202
10203 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10204
10205         * lyxrc.C: do not include lyx_main.h
10206
10207         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10208         for layouts
10209
10210         * lyxrc.C:
10211         * encoding.C:
10212         * bufferlist.C:
10213         * BufferView2.C: include "lyxlex.h"
10214
10215         * tabular.h:
10216         * bufferparams.h: do not #include "lyxlex.h"
10217
10218         * lyxtextclasslist.C (Add): remove method
10219         (classlist): renamed to classlist_
10220
10221         * paragraph_pimpl.C:
10222         * paragraph.C:
10223         * text2.C:
10224         * CutAndPaste.C:
10225         * bufferview_funcs.C:
10226         * bufferlist.C:
10227         * text.C:
10228         * LaTeXFeatures.C:
10229         * buffer.C:
10230         * toc.C (getTocList): use BufferParams::getLyXTextClass
10231
10232         * toc.C (getTocList): use InsetFloat::addToToc
10233
10234         * toc.[Ch]: new files, containing helper functions to handle table
10235         of contents
10236
10237         * lyxfunc.C (dispatch): no need to remove spaces around command
10238         given as a string
10239         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10240         first command of the sequence; it is not very clever, but I do not
10241         have a better idea, actually
10242
10243         * LyXAction.C (LookupFunc): make sure to remove space at the
10244         beginning and end of the command
10245
10246 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10247
10248         * MenuBackend.C (getMenubar): new method: return the menubar of
10249         this menu set
10250         (read): treat differently reading of menu and menubar (in
10251         particular, the menubar has no name now)
10252         (Menu::menubar): remove
10253
10254         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10255         saving is finished
10256
10257 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10258
10259         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10260         a bibitem inset in a RTL paragraph.
10261
10262 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10263
10264         * paragraph_pimpl.C: constify
10265
10266         * BufferView_pimpl.C:
10267         * LaTeX.C:
10268         * lyxfunc.C: fix dispatch in a nicer way
10269
10270 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10271
10272         * lyxfunc.C (dispatch):
10273         * BufferView_pimpl.C:
10274         * BufferView_pimpl.h:
10275         * BufferView.C:
10276         * BufferView.h: rename Dispatch() to dispatch()
10277
10278         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10279
10280         * lyxlayout.C (Read): honor DependsOn tag
10281
10282         * lyxlayout.[Ch] (depends_on): new method
10283
10284         * version.C.in: update lyx_docversion
10285
10286         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10287
10288         * paragraph.C (validate): remove from here...
10289         * paragraph_pimpl.C (validate): ... and move here
10290         (isTextAt): make it const
10291
10292         * buffer.C (getLists): ws cleanup
10293
10294 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10295
10296         * language.C (read): Use iso8859-1 encoding in latex_lang
10297         (this prevents LyX from crashing when using iso10646-1 encoding).
10298
10299 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10300
10301         * text2.C (toggleInset): if cursor is inside an inset, close the
10302         inset and leave cursor _after_ it
10303
10304 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10305
10306         * lyxfunc.C: move minibuffer completion handling out of here
10307
10308 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * BufferView_pimpl.C:
10311         * LaTeX.C: fix dispatch calls
10312
10313 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * text.C (drawChars): Fix Arabic text rendering.
10316
10317 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * LyXAction.C:
10320         * commandtags.h:
10321         * lyxfunc.C: remove message-push/pop
10322
10323         * lyxserver.C:
10324         * lyxfunc.h:
10325         * lyxfunc.C: rationalise some code by removing verboseDispatch
10326           in favour of a bool argument to dispatch()
10327
10328 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10329
10330         * lyx_main.C (init): make sure to read symlinks as absolute paths
10331
10332 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10333
10334         * lyxfunc.h:
10335         * lyxfunc.C: no need for commandshortcut to be a member
10336
10337 2002-07-15  André Pönitz <poenitz@gmx.net>
10338
10339         * converter.C: add support for $$s (scripts from lib/scripts dir)
10340         * lyx_main.C: white space
10341
10342 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10343
10344         * bufferlist.C:
10345         * lyxrc.h:
10346         * lyxrc.C: remove second exit confirmation
10347
10348 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10349
10350         * BufferView.h:
10351         * BufferView.C:
10352         * BufferView2.C:
10353         * BufferView_pimpl.h:
10354         * BufferView_pimpl.C:
10355         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10356
10357 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10358
10359         * MenuBackend.C (expand): add numeric shortcuts to document menu
10360
10361         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10362
10363 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * lyxfont.C (setLyXFamily):
10366         (setLyXSeries):
10367         (setLyXShape):
10368         (setLyXSize):
10369         (setLyXMisc):
10370         (lyxRead):
10371         * debug.C (value):
10372         * buffer.C (asciiParagraph): use ascii_lowercase
10373
10374 2002-07-15  Mike Fabian  <mfabian@suse.de>
10375
10376         * lyxlex_pimpl.C (search_kw):
10377         * lyxlex.C (getLongString):
10378         * converter.h (operator<):
10379         * converter.C (operator<):
10380         * buffer.C (parseSingleLyXformat2Token):
10381         (asciiParagraph):
10382         * ToolbarDefaults.C (read):
10383         * MenuBackend.C (checkShortcuts):
10384         (read):
10385         * LColor.C (getFromGUIName):
10386         (getFromLyXName): use the compare_ascii_no_case instead of
10387         compare_no_case, because in turkish, 'i' is not the lowercase
10388         version of 'I', and thus turkish locale breaks parsing of tags.
10389
10390 2002-07-16  Angus Leeming  <leeming@lyx.org>
10391
10392         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10393         now takes a Buffer const & argument.
10394
10395 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * BufferView.C (resize): check there's a buffer to resize
10398
10399 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10400
10401         * lyxfunc.C: remove dead code
10402
10403         * lyxserver.h:
10404         * lyxserver.C: use lyx_guii::set_read_callback
10405
10406 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10407
10408         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10409         an inset in a RTL paragraph.
10410
10411 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * lyxfunc.C: repaint after a font size update
10414
10415 2002-07-15  André Pönitz <poenitz@gmx.net>
10416
10417         * lyxlength.C: inBP should be able to return negative values
10418
10419 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10420
10421         * lyxfunc.C: use lyx_gui::update_fonts()
10422
10423 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * lyxfunc.C: use lyx_gui::update_color()
10426
10427 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * bufferlist.C:
10430         * lyxfunc.h:
10431         * lyxfunc.C:
10432         * lyxrc.h:
10433         * lyxrc.C: remove file->new asks for name option, and let
10434           buffer-new take an argument
10435
10436 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * BufferView_pimpl.C: remove unneeded extra repaint()
10439
10440 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * LyXAction.C: allow command-sequence with NoBuffer
10443
10444         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10445
10446 2002-07-10  Angus Leeming  <leeming@lyx.org>
10447
10448         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10449
10450 2002-07-09  Angus Leeming  <leeming@lyx.org>
10451
10452         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10453
10454 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10455
10456         * lengthcommon.h: whitespace
10457
10458         * lyxfunc.C: update scrollbar after goto paragraph
10459
10460         * lyxtext.h: factor out page break drawing, and fix it so
10461           page break/added space paints as selected nicely
10462
10463 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10464
10465         * BufferView_pimpl.C: add FIXMEs, clean up a little
10466
10467 2002-07-09  André Pönitz <poenitz@gmx.net>
10468
10469         * lyxfont.[Ch]: support for wasy symbols
10470
10471 2002-07-08  André Pönitz <poenitz@gmx.net>
10472
10473         * BufferView_pimpl.C: apply John's patch for #93.
10474
10475 2002-07-05  Angus Leeming  <leeming@lyx.org>
10476
10477         * BufferView_pimpl.C (buffer): generate previews if desired.
10478
10479         * LColor.h: add "preview" to the color enum.
10480
10481         * LColor.C (LColor): add a corresponding entry to the items array.
10482
10483         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10484         with this buffer.
10485
10486 2002-07-05  Angus Leeming  <leeming@lyx.org>
10487
10488         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10489         The body of the code is now in the method that is passed an ostream &
10490         rather than a file name.
10491         Pass an additional only_preamble parameter, useful for the forthcoming
10492         preview stuff.
10493
10494 2002-07-03  André Pönitz <poenitz@gmx.net>
10495
10496         * lyxfunc.C: simplify getStatus() a bit for math stuff
10497
10498 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10499
10500         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10501
10502 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * text.C (changeRegionCase): do not change case of all the
10505         document when region ends at paragraph end (bug #461)
10506
10507 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10508
10509         * paragraph.C (startTeXParParams):
10510         (endTeXParParams): add \protect when necessary
10511
10512 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10513
10514         * BufferView_pimpl.C (workAreaExpose): remove warning
10515
10516 2002-06-27  Angus Leeming  <leeming@lyx.org>
10517
10518         * Makefile.am: add lyxlayout_ptr_fwd.h.
10519
10520 2002-06-26  André Pönitz <poenitz@gmx.net>
10521
10522         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10523
10524 2002-06-25  Angus Leeming  <leeming@lyx.org>
10525
10526         * lyxfunc.C (dispatch): Comment out the call to
10527         grfx::GCache::changeDisplay. The method no longer exists now that the
10528         pixmap generation part of the graphics loader has been moved into
10529         InsetGraphics.
10530
10531 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10532
10533         * text2.C: layout as layout
10534
10535         * text.C: layout as layout
10536
10537         * tabular.C (OldFormatRead): layout as layout
10538
10539         * paragraph_pimpl.C (TeXDeeper): layout as layout
10540         (realizeFont): layout as layout
10541
10542         * paragraph.C (writeFile): layout as layout
10543         (validate): layout as layout
10544         (getFont): layout as layout
10545         (getLabelFont): layout as layout
10546         (getLayoutFont): layout as layout
10547         (breakParagraph): layout as layout
10548         (stripLeadingSpaces): layout as layout
10549         (getEndLabel): layout as layout
10550         (getMaxDepthAfter): layout as layout
10551         (applyLayout): layout as layout
10552         (TeXOnePar): layout as layout
10553         (simpleTeXOnePar): layout as layout
10554         (TeXEnvironment): layout as layout
10555         (layout): layout as layout
10556         (layout): layout as layout
10557
10558         * lyxtextclass.C (compare_name): new functor to work with
10559         shared_ptr, layout as layout
10560         (Read): layout as layout
10561         (hasLayout): layout as layout
10562         (operator): layout as layout
10563         (delete_layout): layout as layout
10564         (defaultLayout): layout as layout
10565
10566         * lyxlayout_ptr_fwd.h: new file
10567
10568         * lyxlayout.C (Read): layout as layout
10569
10570         * lyx_cb.C (MenuInsertLabel): layout as layout
10571
10572         * bufferlist.C (newFile): layout as layout
10573
10574         * buffer.C (readLyXformat2): layout as layout
10575         (parseSingleLyXformat2Token): layout as layout
10576         (insertStringAsLines): layout as layout
10577         (asciiParagraph): layout as layout
10578         (latexParagraphs): layout as layout
10579         (makeLinuxDocFile): layout as layout
10580         (simpleLinuxDocOnePar): layout as layout
10581         (makeDocBookFile): layout as layout
10582         (simpleDocBookOnePar): layout as layout
10583         (getLists): layout as layout
10584
10585         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10586
10587         * CutAndPaste.C (cutSelection): layout as layout
10588         (pasteSelection): layout as layout
10589         (SwitchLayoutsBetweenClasses): layout as layout
10590
10591         * BufferView_pimpl.C (Dispatch): layout as layout
10592         (smartQuote): layout as layout
10593
10594         * BufferView2.C (unlockInset): layout as layout
10595
10596 2002-06-24  André Pönitz <poenitz@gmx.net>
10597
10598         * lyxfunc.C: fix #487
10599
10600 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10601
10602         * lyxrc.h:
10603         * lyxrc.C:
10604         * lyxfunc.C: remove display_shortcuts, show_banner
10605
10606 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10607
10608         * Buffer_pimpl.C: oops, update on resize
10609
10610 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10611
10612         * buffer.C:
10613         * converter.C:
10614         * exporter.C:
10615         * lyxfunc.C:
10616         * BufferView.h:
10617         * BufferView.C: use repaint()
10618
10619         * BufferView_pimpl.h:
10620         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10621           as it's a clearer description. Remove superfluous
10622           redraws.
10623
10624 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * text.C: fix bug 488. Not ideal, but getting
10627           getWord() to work properly for the insets that
10628           matter is more difficult ...
10629
10630 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * BufferView_pimpl.C:
10633         * LyXAction.C:
10634         * commandtags.h:
10635         * lyxfunc.C: remove the six million index lyxfuncs to just
10636           one, and DTRT (bug 458)
10637
10638 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10639
10640         * BufferView.h:
10641         * BufferView.C:
10642         * BufferView_pimpl.h:
10643         * BufferView_pimpl.C: clean up resize() stuff,
10644           and unnecessary updateScreen()s
10645
10646 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * BufferView.h:
10649         * BufferView.C:
10650         * BufferView_pimpl.h:
10651         * BufferView_pimpl.C:
10652         * lyxfind.h:
10653         * lyxfind.C:
10654         * minibuffer.C: remove focus management of workarea,
10655           not needed. Use screen's greyOut()
10656
10657 2002-06-17  Herbert Voss  <voss@lyx.org>
10658
10659         * converter.C: (convert) do not post a message, when converting
10660         fails, let the calling function decide what to do in this case
10661
10662 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * lyxfunc.C: tidy up a little
10665
10666 2002-06-16    <alstrup@diku.dk>
10667
10668         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10669         Got rid of FORMS_H_LOCATION include. Now we are
10670         GUII.
10671
10672 2002-06-15  LyX Development team  <lyx@rilke>
10673
10674         * buffer.[Ch] (sgmlOpenTag):
10675         (sgmlCloseTag): Added support for avoiding pernicious mixed
10676         content. Return number of lines written.
10677
10678         (makeLinuxDocFile):
10679         (makeDocBookFile): Fixed calls to sgml*Tag.
10680         Simple white space clean.
10681
10682         (simpleDocBookOnePar): Simple white space clean.
10683
10684         * tabular.[Ch] (docBook): Renamed to docbook and got another
10685         argument to related with the pernicious mixed content.
10686
10687         (docbookRow): Fixed calls for docbook inset method.
10688
10689 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10690
10691         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10692         so it's X11 independent.
10693
10694         * kb*.[Ch]: ditto.
10695
10696         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10697
10698 2002-06-15  Lyx Development team  <lyx@electronia>
10699
10700         * intl.h: Renamed getTrans to getTransManager.
10701
10702 2002-06-14  Angus Leeming  <leeming@lyx.org>
10703
10704         * Makefile.am: nuke forgotten stl_string_fwd.h.
10705
10706 2002-06-12  Angus Leeming  <leeming@lyx.org>
10707
10708         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10709
10710 2002-06-13  Angus Leeming  <leeming@lyx.org>
10711
10712         * LaTeX.C:
10713         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10714
10715 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10716
10717         * kbmap.C (getiso): add support for cyrillic and greek
10718
10719 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * BufferView.h:
10722         * BufferView.C:
10723         * BufferView_pimpl.h:
10724         * BufferView_pimpl.C: move bogus scrolling logic
10725           to xforms
10726
10727 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10728
10729         * lyxfunc.C:
10730         * BufferView_pimpl.C: view->resize() change
10731
10732 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * BufferView_pimpl.C: topCursorVisible
10735           prototype change
10736
10737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * Makefile.am:
10740         * lyx_gui.h:
10741         * lyx_gui.C: move to frontends/
10742
10743         * main.C:
10744         * lyx_main.h:
10745         * lyx_main.C: changes from above
10746
10747 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * intl.C:
10750         * intl.h:
10751         * kbmap.C:
10752         * kbsequence.C:
10753         * lyx_cb.C:
10754         * lyx_main.C: minor tidy
10755
10756 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * BufferView_pimpl.h:
10759         * BufferView_pimpl.C:
10760         * BufferView.h:
10761         * BufferView.C: make painter() const,
10762           remove dead code
10763
10764         * BufferView2.C: use screen() accessor
10765
10766         * lyx_main.h:
10767         * lyx_main.C: some minor cleanup
10768
10769 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10770
10771         * BufferView_pimpl.h:
10772         * BufferView_pimpl.C: remove enter/leaveView,
10773           use workHeight()
10774
10775 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10776
10777         * BufferView.h:
10778         * BufferView.C:
10779         * BufferView2.C:
10780         * BufferView_pimpl.h:
10781         * BufferView_pimpl.C: only construct screen once,
10782           rename
10783
10784         * lyxrc.C: remove pointless comment
10785
10786 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10787
10788         * BufferView.h:
10789         * BufferView.C: remove active() and belowMouse()
10790
10791         * BufferView_pimpl.h:
10792         * BufferView_pimpl.C: use workarea() not workarea_,
10793           and make it use a scoped_ptr instead
10794
10795 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * lyx_gui.C: add debug message on BadWindow
10798
10799 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10800
10801         * sp_spell.C: fdopen is not part of the C++ standard.
10802
10803         * paragraph.C (InsetIterator): use >= instead of ==
10804
10805 2002-06-07  Angus Leeming  <leeming@lyx.org>
10806
10807         Fixes needed to compile with Compaq cxx 6.5.
10808         * BufferView_pimpl.C:
10809         * DepTable.C:
10810         * buffer.C:
10811         * converter.C:
10812         * encoding.C:
10813         * lyx_gui.C:
10814         * lyx_main.C:
10815         * lyxtextclasslist.C:
10816         * minibuffer.C:
10817         * sp_spell.C:
10818         * tabular_funcs.C:
10819         * vc-backend.C:
10820         all c-library variables have been moved into namespace std. Wrap
10821         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10822
10823         * lyxlength.C:
10824         * tabular-old.C:
10825         * tabular.C:
10826         Add a using std::abs declaration.
10827
10828         * kbmap.h (modifier_pair):
10829         * paragraph.h (InsetTable, InsetList):
10830         * lyxfont.h (FontBits):
10831         type definition made public.
10832
10833         * bufferlist.C (emergencyWriteAll): the compiler complains that
10834         there is more than one possible lyx::class_fun template to choose from.
10835         I re-named the void specialisation as lyx::void_class_fun.
10836
10837         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10838
10839         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10840         the compiler is is unable to find tostr in write_attribute.
10841
10842 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10843
10844         * buffer.C (sgmlError): hide #warning
10845
10846 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10847
10848         * xtl/*: get rid of xtl, which is not in use anyway
10849
10850         * LyXAction.C (init):
10851         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10852         were unimplemented xtl experimentation
10853
10854 2002-06-04  André Pönitz <poenitz@gmx.net>
10855
10856         * lyxfunc.C: disable array operation on simple formulae
10857
10858 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * converter.C: constify a bit
10861
10862 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10863
10864         * lyx_gui.C: check xforms version correctly
10865
10866 2002-04-30  Herbert Voss  <voss@lyx.org>
10867
10868         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10869         "keep" option
10870
10871 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10872
10873         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10874           attempt to register it with a VCS)
10875
10876 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10877
10878         * lyx_main.C (init): honor variables LYX_DIR_13x and
10879         LYX_USERDIR_13x
10880
10881 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * buffer.h:
10884         * buffer.C:
10885         * lyx_main.C: fix a crash on bad command line,
10886           and give a useful exit status on error
10887
10888         * lyxfunc.C (doImport): allow -i lyx to work
10889
10890 2002-03-30  André Pönitz <poenitz@gmx.net>
10891
10892         * lyxfunc.C: mathed font changes
10893
10894 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10895
10896         * LaTeX.C:
10897         * importer.h:
10898         * importer.C:
10899         * lyx_sty.h:
10900         * lyx_sty.C:
10901         * lyxlex.C:
10902         * lyxrow.h:
10903         * lyxtext.h:
10904         * paragraph.h:
10905         * paragraph.C:
10906         * texrow.h:
10907         * texrow.C:
10908         * text.C:
10909         * trans_mgr.h: srcdocs, and some minor cleanups
10910
10911 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10912
10913         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10914         call getFont all the time)
10915
10916 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10917
10918         * switch from SigC signals to boost::signals
10919
10920 2002-05-29  André Pönitz <poenitz@gmx.net>
10921
10922         * paragraph_pimpl.C (getChar): don't call size() too often...
10923
10924 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10925
10926         * paragraph_pimpl.C (insertChar): do not try to update tables when
10927         appending (pos == size())
10928
10929         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10930         in order to reduce drastically the number of comparisons needed to
10931         parse a large document
10932
10933 2002-05-29  André Pönitz <poenitz@gmx.net>
10934
10935         * text.C:
10936         * text2.C:
10937         * lyxtextclass.C:
10938         * sp_pspell.h:
10939         * textclasslist.[Ch]:
10940         * sp_ispell.h: whitespace change
10941
10942 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10943
10944         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10945         lyxaction directly now.
10946
10947 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * trans.C:
10950         * lyxfont.C:
10951         * lyxvc.C: remove unused headers
10952
10953 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10954
10955         * Makefile.am:
10956         * buffer.h:
10957         * undostack.h:
10958         * undostack.C:
10959         * undo_funcs.h:
10960         * undo_funcs.C: some cleanups. Use shared_ptr
10961           and a template for the undo stacks.
10962
10963 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10964
10965         * BufferView_pimpl.h:
10966         * BufferView_pimpl.C:
10967         * kbmap.h:
10968         * kbmap.C:
10969         * kbsequence.h:
10970         * kbsequence.C:
10971         * lyxfunc.h:
10972         * lyxfunc.C:
10973         * text2.C: use key_state/mouse_state
10974
10975 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10976
10977         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10978         and LSubstring
10979
10980         * chset.C: change include order
10981         (loadFile): use boost regex and get rid of LRegex and LSubstring
10982
10983         * Makefile.am (BOOST_LIBS): new variable
10984         (lyx_LDADD): use it
10985
10986         * LaTeX.C: change include order.
10987         (scanAuxFile): use boost regex and get rid of LRegex and
10988         LSubstring
10989         (deplog): ditto
10990
10991 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10992
10993         * ColorHandler.h:
10994         * ColorHandler.C:
10995         * FontInfo.h:
10996         * FontInfo.C: moved to frontends/xforms/
10997
10998         * FontLoader.h:
10999         * FontLoader.C: moved into frontends for GUIIzation
11000
11001         * Makefile.am:
11002         * lyx_gui.C:
11003         * lyxfont.C:
11004         * lyxfunc.C: changes from above
11005
11006 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11007
11008         * LColor.C: remove spurious X include
11009
11010         * BufferView_pimpl.C:
11011         * Makefile.am:
11012         * font.h:
11013         * font.C:
11014         * text.C:
11015         * text2.C: move font metrics to frontends/
11016
11017 2002-05-24  Juergen Vigna  <jug@sad.it>
11018
11019         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11020         setting the undo_cursor.
11021
11022         * ParagraphParameters.h: include local includes first.
11023
11024 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11025
11026         * BufferView_pimpl.C:
11027         * BufferView_pimpl.h:
11028         * Makefile.am:
11029         * WorkArea.h:
11030         * WorkArea.C:
11031         * screen.C: move WorkArea into frontends/
11032
11033         * lyxscreen.h:
11034         * screen.C:
11035         * text.C:
11036         * BufferView.C:
11037         * BufferView2.C: move LyXScreen into frontends/
11038
11039         * lyxlookup.h:
11040         * lyxlookup.C:
11041         * lyx_gui.C: move lyxlookup into frontends/xforms/
11042
11043 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11044
11045         * BufferView2.C:
11046         * BufferView_pimpl.C:
11047         * FontLoader.C:
11048         * LyXView.h:
11049         * LyXView.C:
11050         * Makefile.am:
11051         * WorkArea.C:
11052         * XFormsView.h:
11053         * XFormsView.C:
11054         * buffer.C:
11055         * bufferlist.C:
11056         * bufferview_funcs.C:
11057         * converter.C:
11058         * importer.C:
11059         * lyx_cb.C:
11060         * lyx_gui.C:
11061         * lyx_main.C:
11062         * lyx_find.C:
11063         * lyxfunc.C:
11064         * lyxvc.C:
11065         * minibuffer.C:
11066         * text.C:
11067         * text2.C:
11068         * trans.C:
11069         * vc-backend.C: move LyX/XFormsView into frontends/
11070
11071 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11072
11073         * Makefile.am:
11074         * PainterBase.C:
11075         * PainterBase.h:
11076         * Painter.C:
11077         * Painter.h:
11078         * WorkArea.C:
11079         * WorkArea.h:
11080         * screen.C:
11081         * tabular.C:
11082         * text.C:
11083         * text2.C: move Painter to frontends/
11084
11085 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11086
11087         * buffer.C: comment out some some code that depend upon lyx_format
11088         < 220
11089
11090         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11091         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11092
11093         * buffer.h (NO_COMPABILITY): turn off compability
11094
11095         * ColorHandler.C: include scoped_array.hpp
11096
11097         * font.C: Use more specific smart_ptr header.
11098         * Painter.C: ditto
11099         * gettext.C: ditto
11100         * ShareContainer.h: ditto
11101         * lyx_main.h: ditto
11102         * kbmap.h: ditto
11103         * FontInfo.h: ditto
11104         * BufferView_pimpl.h: ditto
11105         * ColorHandler.h: ditto
11106
11107         * kbmap.C (defkey): change call to shared_ptr::reset
11108
11109 2002-05-21  Juergen Vigna  <jug@sad.it>
11110
11111         * buffer.C (insertErtContents): fix to insert ert asis if it is
11112         non empty. Skip it completely if it contains only whitespaces.
11113
11114 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11115
11116         * BufferView_pimpl.C:
11117         * BufferView2.C: clear selection on paste (bug 393)
11118
11119 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * DepTable.C: include ctime
11122
11123 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11124
11125         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11126
11127 2002-05-14  Juergen Vigna  <jug@sad.it>
11128
11129         * text.C (breakParagraph): fixed function to honor the keepempty
11130         layout in the right maner and also to permit the right breaking
11131         algorithm on empty or non empyt keepempty paragraphs.
11132
11133         * paragraph.C (breakParagraph): we have to check also if the par
11134         is really empty (!size()) for isempty otherwise we do the wrong
11135         paragraph break.
11136
11137 2002-05-10  Juergen Vigna  <jug@sad.it>
11138
11139         * buffer.[Ch] : The following are only changes to the ert
11140         compatibility read reading old LaTeX layout and font stuff and
11141         convert it to ERTInsets.
11142
11143         * buffer.h: added isErtInset().
11144
11145         * buffer.C (struct ErtComp): add a fromlayout bool to check
11146         if we're inside a LaTeX layout.
11147         (isErtInset): new helper function.
11148         (insertErtContents): look for other ert insets before this one
11149         and insert the contents there, so that we don't have subsequent
11150         ERT insets with nothing between them. This way we create only one
11151         inset with multiple paragraphs. Also check if we don't insert only
11152         spaces ' ' as they are ignored anyway afterwards in the .tex file
11153         so if we have only spaces we will ignore this latex part in the
11154         new file.
11155         (parseSingleLyXformat2Token \\layout): better compatibility when
11156         reading layout-latex stuff.
11157         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11158         language tag.
11159         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11160         stuff after reading the inset only get the information back from
11161         the stack.
11162
11163 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11164
11165         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11166
11167         * LaTeXFeatures.C (getBabelOptions): New method.
11168
11169 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11170
11171         * BufferView_pimpl.C (Dispatch): work around missing argument for
11172         'layout'
11173
11174 2002-05-08  Juergen Vigna  <jug@sad.it>
11175
11176         * text.C (leftMargin): handle paragraph leftindent.
11177
11178         * paragraph.C (writeFile): write the new \\leftindent tag.
11179         (validate): handle leftindent code.
11180         (TeXEnvironment): handle paragraphleftindent code again.
11181
11182         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11183
11184         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11185         for paragrap_extra indent code and new token \\leftindent.
11186         (latexParagraphs): handle the leftindent as environment.
11187
11188         * ParameterStruct.h: added leftindent support.
11189
11190         * ParagraphParameters.C (leftIndent): added support functions for
11191         the paragraph left indent.
11192
11193         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11194         more appropriate.
11195
11196 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11197
11198         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11199         inside insetERT.
11200
11201         * text.C (computeBidiTables): No bidi in insetERT.
11202
11203         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11204         in RTL documents.
11205
11206 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11207
11208         * version.C.in: pre 5
11209
11210 2002-05-02  José Matos  <jamatos@fep.up.pt>
11211         * buffer.C (makeDocBookFile): white space changes, add newline to
11212         command styles.
11213         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11214
11215         * tabular.C (docBook): fix typo.
11216
11217 2002-05-03  Juergen Vigna  <jug@sad.it>
11218
11219         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11220         change in LyXText as we can not be sure it was not freed.
11221         (drawOneRow): remove unused code.
11222
11223         * text.C (drawInset): redo the calculation of the need_break_row as
11224         it could have a row which was already freed.
11225         (draw): look at the return value of drawInset and return false if
11226         it also returned false.
11227         (paintRowText): look at the return value of draw and return false if
11228         it also returned false.
11229
11230         * lyxtext.h: added bool return type to drawInset() and draw() so that
11231         if we have a change in the row so that the rowbreak has to be redone
11232         we abort drawing as it will be called again.
11233
11234 2002-05-02  Juergen Vigna  <jug@sad.it>
11235
11236         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11237         a change in the maintext also if we're inside an inset.
11238         (Dispatch): set the cursor again after a break line and after the
11239         screen has been updated as it could be we're in a different row.
11240
11241         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11242         to set the cursor behind the pargraph with > size().
11243         (setCursor): check also for the same paragraph when checking where
11244         to put the cursor if we have a NFR inset.
11245
11246         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11247         parts of layout read further up as it still was in the wrong
11248         position.
11249
11250 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11251
11252         * screen.C (drawFromTo): change sine fullRebreak always return
11253         true.
11254
11255         * buffer.C (parseSingleLyXformat2Token): reindent some
11256
11257         * BufferView_pimpl.C (update): change since fullRebreak always
11258         return true.
11259         (Dispatch): git rid of the last hardcoded "Standard"s.
11260
11261 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11262
11263         * text2.[Ch] (fullRebreak): make it return void now that we always
11264         returned true.
11265
11266 2002-04-30  Juergen Vigna  <jug@sad.it>
11267
11268         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11269         ert compatibility check for "latex" layout.
11270
11271 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11274         minipages: use col% instead of p%, and also use the current font.
11275         (makeLaTeXFile): Fix use babel condition.
11276         (parseSingleLyXformat2Token): Correct font when reading old floats.
11277
11278 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11279
11280         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11281         inserting list of floats.
11282
11283 2002-04-25  Herbert Voss  <voss@lyx.org>
11284
11285         * MenuBackend.C (expand): don't add the graphics extensions to the
11286         export menu
11287
11288 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11289
11290         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11291         non-existing layout, do not complain if it was the default layout
11292         of the original class (bug #342)
11293
11294 2002-04-24  Juergen Vigna  <jug@sad.it>
11295
11296         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11297         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11298
11299 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11300
11301         * buffer.C (getBibkeyList): If using \bibliography, return the
11302         option field with the reference itself. Enables us to provide natbib
11303         support when using \bibliography.
11304
11305 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11306
11307         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11308
11309         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11310         natbib is provided by the LaTeX class.
11311
11312 2002-04-23  Juergen Vigna  <jug@sad.it>
11313
11314         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11315         Wakeup functions.
11316
11317         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11318
11319 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11322
11323         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11324         ensuremath around textordmasculine, textordfeminine and
11325         textdegree.
11326
11327 2002-04-19  Juergen Vigna  <jug@sad.it>
11328
11329         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11330         reinitializing the buffer otherwise row-dimensions may be wrong.
11331         (update): reset also the selection cursors if they do exits otherwise
11332         their x/y positions may be wrong.
11333
11334         * text2.C (cursorDown): don't enter the inset if we came from a row
11335         above and are one row over the inset.
11336
11337         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11338         really leaving an inset.
11339
11340 2002-04-18  Juergen Vigna  <jug@sad.it>
11341
11342         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11343         of the selected paragraph does not have the selected layout also if
11344         the last one had!
11345
11346         * text2.C (setLayout): fixed bug which did not change last selected
11347         paragraph.
11348
11349         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11350         changed the read and substituted \\end_float with \\end_inset!
11351
11352         * BufferView_pimpl.C (cursorPrevious):
11353         (cursorNext): fixed to make it work with rows heigher than the work
11354         area without moving the cursor only the draw of the row.
11355         (workAreaMotionNotify): fix jumping over high rows.
11356
11357 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11358
11359         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11360         Ressler.
11361
11362 2002-04-16  Juergen Vigna  <jug@sad.it>
11363
11364         * text2.C (setCursor): set also the irow().
11365         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11366         (cursorUp):
11367         (cursorDown): support for locking an inset if the x_fix value goes
11368         inside it. That way I can transverse insets too with cursor up/down.
11369
11370         * lyxrow.h: added irow helper function same as other (i) functions.
11371
11372         * BufferView_pimpl.C (cursorPrevious):
11373         (cursorNext): fixed for insets!
11374
11375 2002-04-15  Juergen Vigna  <jug@sad.it>
11376
11377         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11378         position otherwise it is wrong in some cases.
11379
11380         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11381         inside the inset before the call.
11382
11383 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11384
11385         * buffer.[Ch] (getBibkeyList): make it const.
11386
11387 2002-04-12  Juergen Vigna  <jug@sad.it>
11388
11389         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11390
11391         * text2.C (getCursorX): new helper function
11392         (setCursor): compute also ix_
11393         (setCursorFromCoordinates): set also ix.
11394
11395         * lyxcursor.h: added ix_ and helper functions.
11396
11397         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11398
11399         * buffer.C (insertStringAsLines): dont break paragraph if the this
11400         paragraph is inside an inset which does not permit it!
11401
11402         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11403         also with no chars on this paragraph.
11404         (paintRowText): only paint stuff if it's inside the workarea!
11405
11406         * paragraph.C (breakParagraph): honor keepempty flag and break the
11407         paragraph always below not above.
11408
11409         * BufferView2.C (unlockInset): update the paragraph layout on inset
11410         unlock as we changed paragraph in such a case.
11411
11412         * lyxfind.C (LyXFind): clear the former selection if not found!
11413
11414         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11415         again called in insertChar().
11416
11417         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11418         an inset which uses the whole row!
11419         (rightMargin): ditto.
11420         (insertChar): force a rebreak if we inserted an inset!
11421
11422 2002-03-28  Herbert Voss  <voss@lyx.org>
11423
11424         * lyxlength.[Ch]: add inBP() to get the right PS-point
11425         units (BigPoint). With inPixels we have rounding errors
11426
11427 2002-04-11  Juergen Vigna  <jug@sad.it>
11428
11429         * text2.C (setCursorFromCoordinates): set iy to the right value.
11430         (setCursor): add check if row->previous exists!
11431
11432         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11433         an old float_type as this was the case in the old code!
11434
11435         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11436
11437         * BufferView2.C (showLockedInsetCursor): use iy
11438         (fitLockedInsetCursor): ditto
11439
11440         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11441         locked insets as there we have the right value now.
11442
11443         * lyxcursor.C: added iy_ variable and iy functions to set to the
11444         baseline of cursor-y of the locked inset.
11445
11446         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11447         (setCursor): fixed for insets which need a full row.
11448
11449         * text.C (rowLastPrintable): don't ignore the last space when before
11450         an inset which needs a full row.
11451         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11452         as last character of a row when before a inset which needs a full row.
11453
11454 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11455
11456         * version.C.in: update date
11457
11458         * text2.C (fullRebreak): try to always return true and see what
11459         happens...
11460
11461 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * MenuBackend.C (expand): use Floating::listName
11464
11465         * FloatList.C (FloatList): add listName argument to the built-in
11466         floats
11467
11468         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11469         text associated with the float.
11470
11471 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11474
11475 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11476
11477         * ShareContainer.h: add a couple of missing typenames.
11478
11479 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11480
11481         * lyxrc.C (getDescription): use _() correctly rather than N_().
11482
11483 2002-03-28  Herbert Voss  <voss@lyx.org>
11484
11485         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11486         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11487
11488 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11489
11490         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11491         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11492
11493 2002-03-29  Juergen Vigna  <jug@sad.it>
11494
11495         * lyxfunc.C (dispatch): add a missing fitCursor call.
11496
11497         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11498         it was scrolled by a cursor move, so return the bool status.
11499
11500         * BufferView.C (fitCursor): return the bool flag also to the outside
11501         world as this is needed.
11502
11503         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11504
11505         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11506         call the edit() as it is not needed (and wrong) IMO.
11507         (workAreaButtonPress): set the screen_first variable before evt.
11508         unlock the inset as this may change screen_first and then we have
11509         a wrong y position for the click!
11510
11511 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11512
11513         * MenuBackend.C (expand): another translation that I missed
11514
11515 2002-03-28  Juergen Vigna  <jug@sad.it>
11516
11517         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11518
11519         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11520
11521 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11522
11523         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11524
11525         * MenuBackend.C (expand): fix export/view/update when there is no
11526         document open.
11527
11528 2002-03-27  Herbert Voss  <voss@lyx.org>
11529
11530         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11531         and text%
11532
11533 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * bufferview_funcs.C (currentState): only show paragraph number
11536         for is DEVEL_VERSION is set.
11537
11538         * lyxfunc.C (dispatch): put warning in INFO channel
11539
11540         * MenuBackend.C (expand): translate the name of floats
11541
11542         * FloatList.C (FloatList): mark the float names for translation
11543
11544         * converter.C (convert): use LibScriptSearch
11545
11546 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11547
11548         * MenuBackend.C (defaults): fix default menu (we might as well get
11549         rid of it...)
11550
11551 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11554         directory.
11555
11556 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11557
11558         * lyxvc.C: reorder includes.
11559
11560 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11563           properly
11564
11565 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11566
11567         * CutAndPaste.C: change layouts earlier on paste
11568           to avoid crashing when calling getFont()
11569
11570 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11571
11572         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11573         irritating #error.
11574
11575 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * WorkArea.C: remove 'Pending' debug message.
11578
11579         * most files: ws cleanup
11580
11581         * buffer.[Ch]: ws changes
11582
11583         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11584
11585 2002-03-21  Juergen Vigna  <jug@sad.it>
11586
11587         * tabular.C (SetMultiColumn): collapse also the contents of the
11588         cells and set the last border right. Added a Buffer const * param.
11589
11590 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11591
11592         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11593         linking or not.
11594
11595 2002-03-19  Juergen Vigna  <jug@sad.it>
11596
11597         * text2.C (clearSelection): reset also xsel_cache.
11598
11599         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11600         where it needs to be called (John tells us to do so too :)
11601         (selectionLost): reset sel_cache.
11602
11603         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11604
11605 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * text2.C (setCursorIntern): put debuging code in INSETS channel
11608
11609 2002-03-19  André Pönitz <poenitz@gmx.net>
11610
11611         * lyxfunc.C: tiny whitespace change
11612
11613 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11614
11615         * ToolbarDefaults.C (init):
11616         * LyXAction.C (init):
11617         * commandtags.h:
11618         * BufferView_pimpl.C (Dispatch):
11619         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11620
11621 2002-03-19  Allan Rae  <rae@lyx.org>
11622
11623         * exporter.C (Export): removeAutoInsets before doing anything else.
11624         While I've just introduced a dependency on BufferView this really is
11625         the best place to clean the buffer otherwise you need to cleanup in
11626         a dozen places before calling export or cleanup in a dozen functions
11627         that export calls.
11628
11629         * converter.C (runLaTeX):
11630         (scanLog): Better handling of removeAutoInsets and screen updates.
11631
11632         * lyxfunc.C (dispatch): small whitespace changes
11633
11634 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11635
11636         * WorkArea.C (C_WorkAreaEvent): return a value.
11637         (event_cb): return 1 if we handled the event, 0 otherwise.
11638
11639         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11640
11641 2002-03-18  Juergen Vigna  <jug@sad.it>
11642
11643         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11644         (GetAdditionalWidth): ditto.
11645         (RightLine): ditto.
11646         (LeftLine): ditto.
11647
11648         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11649         inset if we're there actually (probably not used right now but this
11650         is the direction to go for unifying code).
11651         (paste): disable code to clear the selection.
11652
11653         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11654         inside an InsetText and move the check further up as it is in the
11655         wrong place.
11656
11657         * text2.C (pasteSelection): set a selection over the pasted text.
11658
11659 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11660
11661         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11662         and libgraphics to build on Cygwin.
11663
11664 2002-03-15  Juergen Vigna  <jug@sad.it>
11665
11666         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11667         inserting an Inset into the paragraph. I know this is not the best
11668         fix but we already use current_view in CutAndPaste so we will remove
11669         all of it's using at the same time.
11670
11671         * buffer.C (sgmlError): deactivated function till it is rewritten in
11672         the right mode, now it can create problems.
11673
11674         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11675         before accessing it.
11676
11677 2002-03-14  Juergen Vigna  <jug@sad.it>
11678
11679         * undo_funcs.C (textHandleUndo): do the right thing when updating
11680         the inset after the undo/redo.
11681
11682         * text2.C (setCursor): just some testcode for #44 not ready yet.
11683
11684         * undo_funcs.C (textHandleUndo): set the next() and previous()
11685         pointers of the paragraph to 0 before deleting otherwise we have
11686         problems with the Paragraph::[destructor].
11687
11688         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11689         on a paragraph insertion.
11690
11691 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * buffer.C (asciiParagraph): use += operator for char append to
11694         string.
11695
11696         * paragraph.C (getFontSettings): compare >= not just >
11697         (highestFontInRange): ditto
11698         (setFont): ditto
11699
11700 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * paragraph.C: change several algorithm to be more appripriate for
11703         the problem domain. This is lookip in FontList and in the InsetList.
11704
11705 2002-03-13  André Pönitz <poenitz@gmx.net>
11706
11707         * commandtags.h:
11708         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11709
11710 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * commandtags.h:
11713         * LyXAction.C:
11714         * lyxfunc.C:
11715         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11716
11717 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * Painter.C (display): anon helper function, adjust code for this
11720         change.
11721         (pixmap): remove function.
11722
11723         * Painter.h: remove private display variable.
11724
11725         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11726
11727 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11728
11729         * WorkArea.[Ch]: remove figinset_canvas cruft.
11730
11731 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * lyxtextclass.C (operator): add one item cache optimization.
11734
11735         * bufferlist.h: doxy changes
11736
11737         * bufferlist.C: ws changes
11738
11739         * DepTable.[Ch] (ext_exist): place const in the right spot.
11740
11741         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11742         call resizeInsets.
11743         (workAreaExpose): call resizeInsets when the with BufferView changes.
11744         (Dispatch): adjust for protectedBlank removal
11745         (specialChar): call updateInset if the insert went ok.
11746
11747         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11748         specialChar instead.
11749
11750         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11751
11752         * BufferView.h: doxy change
11753
11754         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11755
11756         * lyxtextclass.C (operator[]): remove non-const version
11757         (defaultLayout): remove non-const version
11758
11759 2002-03-12  Juergen Vigna  <jug@sad.it>
11760
11761         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11762         did resize the LyXText too.
11763
11764         * buffer.C (readLyXformat2): set layout information on newly allocated
11765         paragraphs.
11766
11767         * tabular.C (OldFormatRead): set layout information on the paragraph.
11768
11769 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11770
11771         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11772
11773 2002-03-11  Juergen Vigna  <jug@sad.it>
11774
11775         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11776         plainly wrong.
11777         (resizeCurrentBuffer): force also the insets to resize themselfes.
11778         (moveCursorUpdate): fixed up for InsetText.
11779
11780 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11781
11782         * commandtags.h:
11783         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11784         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11785         value of Dialogs::tooltipsEnabled().
11786         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11787
11788 2002-03-08  Juergen Vigna  <jug@sad.it>
11789
11790         * BufferView_pimpl.C (updateInset): update inset inside inset also
11791         if it isn't inside theLockingInset().
11792
11793 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11794
11795         * buffer.C (asciiParagraph): redo some of the word and line length
11796         handling.
11797         (getLists): look for Caption instead of caption.
11798
11799 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * buffer.C (Buffer): initialize niceFile to true
11802         (makeLaTeXFile):
11803         (makeLinuxDocFile):
11804         (makeDocBookFile): make sure niceFile is true on exit
11805
11806 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11807
11808         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11809
11810 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11811
11812         * LyXSendto.C: remove.
11813         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11814         * lyx_gui.C: remove now-redundant comment.
11815         * ColorHandler.h: remove forward declaration of class WorkArea.
11816         * lyxfunc.C: remove #include "WorkArea.h".
11817
11818 2002-03-07  Juergen Vigna  <jug@sad.it>
11819
11820         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11821         got moved away with the DEPM and also set the inset_owner always
11822         right which before could have been omitted.
11823
11824 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11827         wanted layout is not found.
11828
11829 2002-03-07  Juergen Vigna  <jug@sad.it>
11830
11831         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11832
11833 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11834
11835         * paragraph.C (breakParagraph): use default layout not layout of
11836         prev paragraph.
11837         (Paragraph): clear ParagraphParameters.
11838
11839 2002-03-06  Juergen Vigna  <jug@sad.it>
11840
11841         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11842         otherwise it would not be a valid lenght. Fixed a special case in
11843         the minipage compatibility read where we end the document with a
11844         minipage.
11845
11846         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11847         was set as it could be 0 for InsetTexts first entry.
11848
11849 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * paragraph.C (writeFile): if layout is empty write out
11852         defaultLayoutName().
11853
11854         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11855         file without named layout we set layout to defaultLayoutName().
11856
11857 2002-03-06  Juergen Vigna  <jug@sad.it>
11858
11859         * CutAndPaste.C (copySelection): set layout for new paragraph.
11860
11861         * text.C (prepareToPrint): leave ERT inset left aligned
11862         (leftMargin): don't indent paragraphs inside ERT insets
11863
11864 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11865
11866         * paragraph.C (breakParagraph): dont call clear do the work manually
11867
11868         * paragraph.[Ch] (clear): remove function
11869
11870 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11871
11872         * paragraph.C (Paragraph): dont call clear, the work has already
11873         been done.
11874
11875         * lyxtextclass.C (operator): assert if n is empty
11876
11877         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11878         work manually instead.
11879
11880 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * BufferView_pimpl.C: protect selectionLost against text == 0
11883
11884 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11885
11886         * text.C (breakParagraph): fix a setting layout to '0' problem.
11887
11888 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11889
11890         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11891         final location of file, for the included files, and graphics.
11892
11893 2002-03-05  Juergen Vigna  <jug@sad.it>
11894
11895         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11896
11897 2002-03-04  Juergen Vigna  <jug@sad.it>
11898
11899         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11900
11901         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11902         last column of multicolumn cells.
11903         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11904
11905 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11906
11907         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11908         file if it doesn't go to a temporary file.
11909
11910         * buffer.C (sgmlOpenTag):
11911         (sgmlCloseTag):  remove extra newline insertion.
11912
11913 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11914
11915         * text.C (getRowNearY): comment out debug msg
11916
11917 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * text2.C: first -> first_y
11920
11921         * text.C (getRowNearY): add some attemts at a possible
11922         optimization, not working.
11923
11924         * tabular.[Ch]: add BufferParams to several function so that newly
11925         created paragraph can be initialized to he default layotu for the
11926         buffers textclass.
11927
11928         * tabular-old.C (ReadOld): add buf->params to call of Init
11929
11930         * screen.C: rename text->first to text->first_y
11931
11932         * paragraph.C (breakParagraph): always set layout in the broken
11933         paragraph
11934
11935         * lyxtextclass.C (Read): remove lowercase
11936         (hasLayout): ditto
11937         (operator): ditto
11938         (delete_layout): ditto
11939
11940         * lyxtext.h: rename first -> first_y
11941
11942         * lyxlayout.C (Read): remove lowercase
11943         (name): ditto
11944         (setName): ditto
11945         (obsoleted_by): ditto
11946
11947         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11948
11949         * buffer.C (insertErtContents): add params are to InsetERT
11950         (parseSingleLyXformat2Token): add code to check if a paragraphs
11951         layout really exist.
11952         (parseSingleLyXformat2Token): add params to several inset
11953         constructors
11954         (asciiParagraph): remove lowercase, do the layout comparisons with
11955         no_case
11956
11957         * BufferView_pimpl.C (cursorNext): first -> first_y
11958         (resizeCurrentBuffer): first -> first_y
11959         (updateScrollbar): first -> first_y
11960         (scrollCB): first -> first_y
11961         (workAreaMotionNotify): first -> first_y
11962         (workAreaButtonPress): first -> first_y
11963         (checkInsetHit): first -> first_y
11964         (cursorPrevious): first -> first_y
11965         (cursorNext): first -> first_y
11966         (Dispatch): add buffer_->params to severl inset contructors
11967
11968 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11969
11970         * lyxlayout.C (Read): remove some debug info that I forgot.
11971
11972         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11973         clean up the code slightly.
11974         (makeLinuxDocFile): ditto
11975         (makeDocBookFile): ditto
11976
11977         * text2.C: layout as string
11978
11979         * text.C: layout as string
11980
11981         * paragraph_pimpl.C: layout as string
11982
11983         * paragraph.[Ch]: layout as string
11984
11985         * lyxtextclasslist.[Ch]: layout as string
11986
11987         * lyxtextclass.[Ch]: layout as string
11988
11989         * lyxtext.h: layout as string
11990
11991         * lyxlayout.[Ch]: layout as string
11992
11993         * lyx_cb.C: layout as string
11994
11995         * bufferview_funcs.C: layout as string
11996
11997         * bufferparams.C: layout as string
11998
11999         * buffer.C: layout as string
12000
12001         * LyXView.[Ch]: layout as string
12002
12003         * LaTeXFeatures.[Ch]: layout as string
12004
12005         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12006
12007         * BufferView_pimpl.C: change current_layout to string, remove
12008         lyx::layout_type.
12009         (Dispatch):
12010         (smartQuote):
12011         (insertInset):
12012         (workAreaButtonRelease): layout as string
12013
12014         * BufferView2.C (unlockInset): adjust
12015
12016         * vspace.C (asLatexCommand): use an explict temp variable.
12017
12018 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12019
12020         * Makefile.am: use FRONTEND_*
12021
12022 2002-03-01  Juergen Vigna  <jug@sad.it>
12023
12024         * tabular.C (SetWidthOfMulticolCell): changed to something better
12025         I hope but still work in progress.
12026         (recalculateMulticolumnsOfColumn): renamed function from
12027         recalculateMulticolCells as it is more appropriate now.
12028         (SetWidthOfCell): calculate multicols better.
12029
12030 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12031
12032         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12033
12034         * lyxfunc.C (processKeySym): print sequence also if it is
12035         `deleted' (complete)
12036
12037         * kbsequence.C (print): print sequence even if it is deleted
12038         (complete would be a better word, actually).
12039
12040         * lyxfunc.C (dispatch): print complete options after a prefix key
12041
12042         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12043
12044 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12045
12046         * text2.C (setCharFont): eliminate setCharFont code duplication.
12047
12048 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12049
12050         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12051         LFUN_TABULAR_FEATURE (bug #177)
12052
12053 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12054
12055         * Makefile.am: remove figure.h
12056
12057 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12058
12059         * Bufferview_pimpl.C:
12060         * CutAndPasteC:
12061         * LaTeX.C:
12062         * LyXSendto.C:
12063         * buffer.C:
12064         * bufferlist.C:
12065         * converter.C:
12066         * language.C:
12067         * lyxfunc.C:
12068         * lyxvc.C:
12069         * paragraph.C:
12070         * text.C:
12071         * text2.C: remove #include "lyx_gui_misc.h".
12072
12073         * LaTeX.C: added #include <cstdio>
12074
12075 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12076
12077         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12078         that the paragraph following this one can have.
12079
12080         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12081
12082         * vspace.C (asLatexCommand): fix bogus gcc warning
12083
12084         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12085
12086 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12087
12088         * text2.C (setLayout): get rid of redundant code
12089
12090 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12091
12092         * text2.C (incDepth): make sure depth cannot be increased beyond
12093         reasonable values.
12094
12095 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12096
12097         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12098         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12099
12100         * PainterBase.h (image):
12101         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12102         a LyXImage const *.
12103
12104 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12105
12106         * BufferView.C:
12107         * BufferView.h:
12108         * BufferView_pimpl.C:
12109         * BufferView_pimpl.h:
12110         * LaTeXFeatures.C:
12111         * LyXAction.C:
12112         * LyXView.C:
12113         * Makefile.am:
12114         * UpdateList.h:
12115         * UpdateList.C:
12116         * buffer.C:
12117         * figure.h:
12118         * figureForm.C:
12119         * figureForm.h:
12120         * figure_form.C:
12121         * figure_form.h:
12122         * lyx_cb.C:
12123         * lyx_gui.C:
12124         * lyx_gui_misc.C:
12125         * lyxfunc.C:
12126         * sp_base.h:
12127         * sp_ispell.h:
12128         * sp_pspell.h:
12129         * sp_spell.C: remove fig inset, and the crap house of
12130           cards that follows it
12131
12132 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * Makefile.am:
12135         * lyxserver.C:
12136         * os2_defines.h:
12137         * os2_errortable.h:
12138         * nt_defines.h: move .h into support/
12139
12140         * vms_defines.h: remove
12141
12142         * WorkArea.C: add space in debug output
12143
12144         * text2.C:
12145         * paragraph.C:
12146         * buffer.C: add WITH_WARNINGS
12147
12148         * vc-backend.h:
12149         * vc-backend.C:
12150         * bufferlist.C: s/retrive/retrieve/, add docs
12151
12152         * vspace.h:
12153         * vspace.C:
12154         * kbmap.h:
12155         * lyxlength.h:
12156         * lyxgluelength.h:
12157         * length_common.h:
12158         * chset.h:
12159         * chset.C: add docs
12160
12161         * lyxgui.C: add ID to X error handler
12162
12163         * lyxtestclass.c: fix typo
12164
12165 2002-02-26  Juergen Vigna  <jug@sad.it>
12166
12167         * tabular_funcs.C (write_attribute): changed so that some default
12168         attributes are not written at all.
12169         (getTokenValue): set default values before trying to read the
12170         value so we have the return value always set as default if we don't
12171         find the token we search for.
12172
12173         * tabular.C (Write): write bools as bools not as strings!
12174
12175 2002-02-22  Juergen Vigna  <jug@sad.it>
12176
12177         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12178         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12179
12180         * text.C (leftMargin): don't add an indent for paragraphs inside
12181         tabular cells (fix #208).
12182
12183 2002-02-21  José Matos  <jamatos@fep.up.pt>
12184
12185         * tabular.C (docBook): fixed support for long tables.
12186
12187 2002-02-20  Juergen Vigna  <jug@sad.it>
12188
12189         * text2.C (getFont): get the drawing font of the Inset if this
12190         paragraph is inside an inset (only important for InsetERT for now).
12191
12192         * buffer.C (insertErtContents): use new lanugage params in ERT
12193         constructor.
12194
12195         * CutAndPaste.C: commenting out seemingly uneeded code.
12196
12197 2002-02-19  Allan Rae  <rae@lyx.org>
12198
12199         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12200         Iterators might be simple to use but they also get invalidated.
12201         (removeAutoInsets): renamed saved cursor tracking variables and added
12202         some comments to clarify what everything does.
12203
12204 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12205
12206         * Chktex.C:
12207         * LaTeX.C:
12208         * LyXSendto.C:
12209         * converter.C:
12210         * lyx_cb.C:
12211         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12212         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12213
12214         * lyxfunc.C:
12215         * vc-backend.h: remove #include "support/syscall.h"
12216
12217         * LaTeX.C:
12218         * LyXSendto.C:
12219         * converter.C: rearrange #includes in Lars' approved fashion.
12220
12221         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12222         forward declare class Timeout in the header file.
12223
12224         * XFormsView.C: changes due to the above.
12225
12226         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12227         similar to LyXView.
12228
12229         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12230         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12231
12232 2002-02-18  José Matos  <jamatos@fep.up.pt>
12233
12234         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12235         insets contents.
12236
12237 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12238
12239         * a lot of small ws changes
12240         * add a lot of using std::XXX
12241         * use std construcs some places where approp.
12242         * use some exisint stuff from lyxfunctional where approp.
12243         * Make file changes to use partial linking (lets test this now...)
12244
12245 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12246
12247         * Chktex.C:
12248         * buffer.C:
12249         remove #include "support/syscontr.h" as it's redundant. Always has been.
12250
12251         * Chktex.C:
12252         * LaTeX.C:
12253         * LyXSendto.C:
12254         * converter.C:
12255         * lyx_cb.C:
12256         * vc-backend.C:
12257         change Systemcalls::System to Systemcalls::Wait and
12258         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12259         No change of functionality, just reflects the stripped down Systemcalls
12260         class.
12261
12262 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12263
12264         * debug.[Ch]: add a GRAPHICS type to the enum.
12265
12266 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12267
12268         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12269
12270         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12271         there is an inset.
12272
12273 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12276         match the changes below.
12277
12278         * text2.C (toggleInset): if there is not editable inset at cursor
12279         position, try to see if cursor is _inside_ a collapsable inset
12280         and close it.
12281
12282 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12285         document menu has a nice checkbox
12286
12287 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12288
12289         * lyxlength.C (asLatexString): change PW to output as percent of
12290         \textwidth.
12291
12292         * lengthcommon.C: change '%' to 't%'
12293
12294         * lyxfunc.C (dispatch): a few comments from Martin
12295
12296 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * WorkArea.h:
12299         * WorkArea.C:
12300         * BufferView_pimpl.h:
12301         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12302           the X selection.
12303
12304 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12305
12306         * vspace.C (inPixels): fix compiler warning
12307
12308 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12309
12310         * lyxfunc.C (getStatus): fix status message for disabled commands.
12311
12312 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12313
12314         * BufferView_pimpl.C: fix crash on close buffer
12315         during selection (#227)
12316
12317 2002-01-27  Herbert Voss  <voss@lyx.org>
12318
12319         * buffer.C: link old Figure to new graphic inset
12320
12321 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12322
12323         * FontLoader.C (getFontinfo): Change the latex font names in order
12324         to match the names of type1inst.
12325
12326 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12327
12328         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12329
12330         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12331         (extchanged): ditto
12332         (ext_exist): ditto
12333         (remove_files_with_extension): ditto
12334         (remove_file): ditto
12335         (write): ditto
12336
12337         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12338         document is smaller than the work area height. Do not initialize
12339         static variables to 0.
12340
12341 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12344
12345         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12346         LFUN_LAYOUT_PARAGRAPHS.
12347
12348         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12349         tabular. It is possible to provide a possible cell, which will
12350         typically be the actcell from the corresponding insettabular
12351
12352         * lyxfunc.C (getStatus): small cleanup; disable
12353         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12354         true
12355
12356 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12357
12358         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12359
12360         * paragraph.C (startTeXParParams):
12361         (endTeXParParams): new methods. The LaTeX code to
12362         start/end paragraph formatting
12363         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12364         empty (fixes bug #200)
12365
12366         * vspace.C (inPixels): adapt to the change below
12367         (inPixels): [later] more cleanups (remove unused variables)
12368
12369         * lyxlength.C (inPixels): change to use a width and a height as
12370         parameter.
12371
12372 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12375         Replaced with \paperwidth
12376
12377         * DepTable.C (insert): add std:: qualifier
12378
12379 2002-01-18  Allan Rae  <rae@lyx.org>
12380
12381         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12382         updated also?
12383
12384         * text.C (drawInset): Turned out I didn't know enough about how
12385         rebreaking worked.  This fixes most of the redraw problems.  I see
12386         an occasional cursor trail when a line is broken now and the cursor
12387         placement can seem out by a few pixels also after a rebreak.
12388
12389 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12390
12391         * buffer.C (parseSingleLyXformat2Token): update because minipage
12392         width is now a LyXLength
12393
12394         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12395
12396         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12397         math insets
12398
12399 2002-01-17  Juergen Vigna  <jug@sad.it>
12400
12401         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12402
12403         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12404         is set correctly and the inset is updated correctly.
12405
12406 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12407
12408         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12409         the beginning of the loop.
12410
12411 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12412
12413         * lyxrc.C: improve help for use_scalable_fonts
12414
12415 2002-01-17  Allan Rae  <rae@lyx.org>
12416
12417         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12418
12419 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12420
12421         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12422         make sure to set their inset_owner to the right value (bug #171)
12423
12424 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12425
12426         * DepTable.h
12427         * DepTable.C: Implement mtime checking to reduce time spent doing
12428         CRCs.
12429
12430 2002-01-16  Juergen Vigna  <jug@sad.it>
12431
12432         * tabular.C (GetAdditionalHeight): one of error fixed.
12433
12434         * lyxrc.C (output): small fix in writing use_pspell.
12435
12436 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12437
12438         * sp_base.h: #include LString.h
12439
12440 2002-01-16  Allan Rae  <rae@lyx.org>
12441
12442         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12443         Can someone check this please?
12444
12445         * text.C (drawInset): It was possible that p.row would be removed by
12446         breakAgainOneRow upsetting a few other settings.  There may be another
12447         small tweak possible by setting need_break_row = 0 when p.row has been
12448         removed but I don't know enough about the logic here.
12449
12450 2002-01-15  Allan Rae  <rae@lyx.org>
12451
12452         * text.C (insertChar): removed conditional truism.
12453
12454         * BufferView2.C (removeAutoInsets): More tweaks.
12455         cur_par_prev could be a stray pointer.  Check for trailing empty line
12456         in case last line was cur_par and only had an error inset on it.
12457
12458 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12459
12460         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12461         absolute
12462
12463         * vc-backend.C (most methods):
12464         * exporter.C (Export):
12465         * converter.C (convert):
12466         (runLaTeX):
12467         * LyXSendto.C (SendtoApplyCB):
12468         * lyxfunc.C (dispatch):
12469         (menuNew):
12470         (open):
12471         (doImport):
12472         * lyx_cb.C (AutoSave):
12473         (InsertAsciiFile):
12474         * BufferView_pimpl.C (MenuInsertLyXFile):
12475         * buffer.C (runChktex): use Buffer::filePath().
12476
12477         * buffer.h: rename filename to filename_; rename filepath to
12478         filepath_ and make it private
12479         (filePath): new method
12480
12481         * buffer.C (writeFile): use fileName()
12482         (getLatexName):
12483
12484         * lyx_main.C (init): fix starting  of LyX when the binary is a
12485         link from so,ewhere else.
12486
12487         * minibuffer.C: include <cctype> for isprint
12488
12489 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12490
12491         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12492         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12493         name clash with InsetCollapsable's width function.
12494
12495 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12496
12497         * lastfiles.C: include <iterator>
12498
12499 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12500
12501         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12502         std::count.
12503
12504         * buffer.C (makeLaTeXFile): ditto.
12505         Also make loop operation more transparent.
12506
12507 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * ToolbarDefaults.C: remove trailing comma closing namespace.
12510
12511         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12512
12513         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12514         as in WorkArea.
12515
12516         * trans.C (Load): comment out unused variable, allowed.
12517
12518 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12519
12520         * minibuffer.[Ch] (append_char): new method to recieve input from the
12521         drop-down completion browser. If a key was pressed, then recieve this
12522         char and append it to the existing string.
12523         (peek_event): modify the positioning data passed to the completion
12524         browser so that it can be placed above the minibuffer rather than below.
12525 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * LyXAction.C (init): alloe error-next for readonly documents.
12528
12529         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12530         count.
12531
12532 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12533
12534         * bufferlist.C (readFile): create the buffer _after_ checking that
12535         the file exists.
12536
12537         * lyxfunc.C (verboseDispatch): fix handling of arguments
12538
12539         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12540
12541         * lyxrc.C: use string::erase() instead of initializing to "".
12542
12543
12544 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * BufferView_pimpl.h:
12547         * BufferView_pimpl.C:
12548         * WorkArea.h:
12549         * WorkArea.C:
12550         * text2.C: tell X when we have made a selection for copying
12551
12552 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12553
12554         * BufferView_pimpl.C (MenuInsertLyXFile):
12555         * lyxfunc.C (menuNew):
12556         (open):
12557         (doImport): add shortcuts to directory buttons
12558
12559         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12560         open a float)
12561
12562         * lyxfunc.C (setStatusMessage):
12563         (getStatusMessage): new methods
12564         (getStatus):use setStatusMessage instead of setErrorMessage
12565         (dispatch): when function is disabled, set error message here
12566         [instead of in getStatus previously]
12567
12568         * BufferView_pimpl.C (workAreaButtonRelease): update
12569         toolbar/menubar here too.
12570
12571 2002-01-13  Allan Rae  <rae@lyx.org>
12572
12573         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12574         Now seems indestructible.  Remaining task is to audit all other
12575         code affected by deleteEmptyParagraphMechanism.  One small quirk
12576         left is that an empty document with an error in the preamble can
12577         be made to report an error but no error box appears.  I don't know
12578         where it goes.
12579         (removeAutoInsets): Improved comments.
12580
12581 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * Thesaurus.h:
12584         * Thesaurus.C: update for Aiksaurus 0.14
12585
12586 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12587
12588         * text2.C (firstParagraph): removed member function, all uses
12589         replaces with ownerParagraph
12590         (redoParagraphs): here
12591         (updateInset): here
12592         (toggleAppendix): here
12593         * BufferView2.C (insertErrors): here
12594         (setCursorFromRow): here
12595
12596 2002-01-13  Allan Rae  <rae@lyx.org>
12597
12598         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12599         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12600         There is still a way to segfault this although you may have to do this
12601         multiple times: Have an InsetERT with an unknown command in it.
12602         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12603         <down-arrow>, <Enter> again, View->DVI, BANG!
12604
12605         * text2.C (setCursor):
12606         (deleteEmptyParagraphMechanism):
12607         * lyxtext.h (setCursor):
12608         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12609         Making use of the return value may help fix other bugs.
12610
12611 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12612
12613         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12614
12615         * LyXView.C (updateMenubar): call MenuBar::update here
12616         (updateToolbar): but not here
12617         (showState): do not update toolbar/menubar
12618
12619         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12620         should need to care about that.
12621
12622         * lyxfunc.C (verboseDispatch): simplify a bit
12623         (getStatus): have a version which takes a pseudoaction, and
12624         another which requires a (kb_action,string).
12625
12626         * LyXAction.C (retrieveActionArg): make it work also when action
12627         is not a pseudo-action.
12628         (getActionName): simplify a bit
12629         (helpText):
12630
12631 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * lyxfunc.C (verboseDispatch): new families of methods with
12634         several ways to specify a command and a bool to indicate whether
12635         the command name and shortcut should be displayed in minibuffer
12636         (eventually, we could extend that to a finer bitmask like
12637         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12638         (dispatch): the pristine dispatch command which just, well,
12639         dispatchs! Note it still sets its result to minibuffer; I'm not
12640         sure we want that.
12641
12642         * lyxfunc.h: remove setHintMessage
12643
12644         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12645
12646 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12647
12648         * BufferView_pimpl.C (specialChar): delete new inset if we have
12649         not been able to insert it.
12650
12651         * kbmap.C: revert to using int instead of kb_action, since all we
12652         are dealing with is pseudo-actions.
12653
12654         * LyXAction.C (searchActionArg): change to return int instead of
12655         kb_action, since the result is a pseudoaction.
12656
12657 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12658
12659         * buffer.C (insertErtContents): Fix (partially) the font bug.
12660
12661 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12662
12663         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12664         as the other one is broken on my machine!
12665
12666 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12667
12668         * commandtags.h:
12669         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12670
12671 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12672
12673         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12674         reflect their actual use. Provide compatibility code for older lyxrc
12675         files.
12676
12677         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12678         FL_NORMAL_STYLE.
12679         change names of popup font variables in line with the changes to lyxrc.C
12680
12681 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12682
12683         * buffer.C (asciiParagraph): avoid outputing a word twice after
12684         an inset.
12685
12686         * lyxrc.C (getDescription): document that document_path and
12687         template_path can be empty.
12688
12689 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12690
12691         * LaTeXFeatures.C (getMacros):
12692         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12693
12694         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12695
12696         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12697         getPackages.
12698         (getPackages): rename feature "floats" to "float". Use an array to
12699         iterate over 'simple' features (i.e. just a \usepackage). Add
12700         handling of "amsmath" (renamed from "amsstyle").
12701
12702 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12703
12704         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12705         features list.
12706
12707 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12710         FuncStaus::FuncStatus & FuncStaus::some_method().
12711
12712 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12713
12714         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12715         of the func_satus stuff. Edited and massaged in various ways by
12716         JMarc.
12717
12718         * lyxfunc.C (getStatus): use FuncStatus
12719
12720 2002-01-08  Juergen Vigna  <jug@sad.it>
12721
12722         * text.C (nextBreakPoint): use function Inset::isChar().
12723
12724         * paragraph.C (TeXOnePar): use function
12725         Inset::forceDefaultParagraphs.
12726
12727         * buffer.C (latexParagraphs): use function
12728         Inset::forceDefaultParagraphs.
12729
12730 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12731
12732         * lyx_gui.C (init): set the style of the menu popups to
12733         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12734
12735 2002-01-07  Juergen Vigna  <jug@sad.it>
12736
12737         * text.C (setHeightOfRow): small fix
12738         (prepareToPrint): don't look at alignment if we don't have the place
12739         for doing it.
12740
12741 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12742
12743         * box.C: New file. Move the Box methods and functions out of box.h,
12744         following Lars' suggestion.
12745
12746 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12747
12748         * box.h: #include "support/LOstream.h", needed for inlined function.
12749
12750         * lyxtextclass.C:
12751         * lyxtextclasslist.C: added some using std declarations.
12752
12753 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * box.h: make signed dimensions to allow insets wider than
12756           the screen (bug #162)
12757
12758         * BufferView_pimpl.C: add some insetHit debug
12759
12760 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * vc-backend.C: add FIXME
12763
12764 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12765
12766         * lyxfunc.C (getStatus): enable code for showing math font status
12767         in toolbar/menu.
12768
12769 2002-01-07  Juergen Vigna  <jug@sad.it>
12770
12771         * text.C (nextBreakPoint): removed debug output not needed anymore.
12772
12773 2002-01-06  Juergen Vigna  <jug@sad.it>
12774
12775         * text.C (nextBreakPoint): fixed up this function we had this bug
12776         since ever but now hopefully we break row better.
12777         (insertChar): we have to check if an inset is the next char as it
12778         could now happen that a large inset is causing a break.
12779
12780 2002-01-05  Juergen Vigna  <jug@sad.it>
12781
12782         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12783         if it doesn't like to be drawed.
12784
12785 2002-01-04  Juergen Vigna  <jug@sad.it>
12786
12787         * BufferView2.C (lockInset): forgot to set a cursor.
12788
12789         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12790
12791 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12792
12793         * FormMathsPanel.C:
12794         * FormMathsPanel.h
12795         * MathsSymbols.C:
12796         * form_maths_panel.C:
12797         * form_maths_panel.h:
12798         * form_maths_panel.fd: implemented sub- and super- buttons in math
12799         panel.
12800
12801         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12802         (or ^ space) to be used as in TeX (req'd by André).
12803
12804         * lyxfunc.C: Allow ^ and _ again to be used both as
12805         super/subscript (mathed) and as themselves (in text).
12806
12807 2002-01-03  Allan Rae  <rae@lyx.org>
12808
12809         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12810         "LyX" or the filename of the current buffer if it has one.  This is a
12811         modified form of John Levon's patch.
12812
12813         * XFormsView.C (setWindowTitle): also set icon title.
12814
12815         * LyXView.h (setWindowTitle): signature changed.
12816         * XFormsView.h (setWindowTitle): ditto.
12817
12818 2002-01-02  Juergen Vigna  <jug@sad.it>
12819
12820         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12821
12822 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * screen.C (topCursorVisible): introduce a temp var for
12825         text->cursor.row(), handle the case where this row is null. (kindo
12826         hachish)
12827
12828         * text2.C (setCursor): add a couple of asserts.
12829
12830         * paragraph.h (inset_iterator): add -> operator
12831
12832         * paragraph.[Ch] (autoDeleteInsets): remove member function
12833
12834         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12835         cursor pos correctly and handle inset deletion by itself.
12836         (insertErrors): move iterator declaration out of for expression
12837
12838         * lyxtextclass.C: add <algorithm>
12839
12840         * Makefile.am: added the new files to sources, removed layout.C
12841
12842         * layout.C: removed file
12843
12844         * layout.h: remove LYX_DUMMY_LAYOUT
12845
12846         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12847         layout.
12848
12849         * lyxlayout.[Ch]:
12850         * lyxtextclass.[Ch]:
12851         * lyxtextclasslist.[Ch]: new files
12852
12853         * include order changes to a lot of files, also changes because of
12854         the six new files.
12855
12856 2001-12-27  Juergen Vigna  <jug@sad.it>
12857
12858         * buffer.C (asciiParagraph): more fixes.
12859
12860         * tabular.C (ascii): make ascii export support export of only the
12861         data separated by a column-delimiter.
12862         (ascii): better support for ascii export.
12863
12864         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12865
12866 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12867
12868         * tabular_funcs.C: use a "using std::getline" instead of the
12869         previous fix from Angus (necessary for cxx + lyxstring)
12870
12871 2001-12-24  Juergen Vigna  <jug@sad.it>
12872
12873         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12874
12875         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12876         problems. First check a minipage also if we have some ert-contents
12877         (not only on par->size(), second set the right depth of the paragraph
12878         on the relink to the root-paragraph-list!
12879
12880         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12881         which then did not anymore update the main paragraphs on undo/redo!
12882
12883 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12884
12885         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12886         code. Support all font-changing funcs (even those which are not in
12887         menu currently). Support for reporting font settings in
12888         mathed (disabled until Andre provides a function on mathed's side).
12889
12890         * func_status.h (toggle): small helper function to set toggle
12891         state on a flag.
12892
12893 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12894
12895         * tabular_funcs.C: getline -> std::getline
12896
12897 2001-12-21  Juergen Vigna  <jug@sad.it>
12898
12899         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12900         accessed and could be 0 (I couldn't generate this but it seems
12901         Michael could!).
12902
12903 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12906         * tabular_funcs.h: here and include iosfwd
12907
12908 2001-12-20  Juergen Vigna  <jug@sad.it>
12909
12910         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12911         inside inset but undo_par was.
12912
12913 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * Thesaurus.C: always include <config.h> in sources.
12916
12917         * Painter.h:
12918         * lyxlookup.h:
12919         * box.h: do not include <config.h> in header files
12920
12921         * text.C (paintLastRow): remove unused variable
12922
12923         * text.C (transformChar):
12924         (insertChar):
12925         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12926
12927         * Painter.C (text):
12928         * font.C (width): rewrite to use uppercase() instead of
12929         islower/toupper.
12930
12931         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12932
12933 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12934
12935         * lyxfind.C: clean up of find failure position change
12936
12937 2001-12-20  Juergen Vigna  <jug@sad.it>
12938
12939         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12940
12941         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12942         (TeXRow): added to LaTeX a single tabular row.
12943         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12944         (Latex): simplified and finally good LT-h/f support.
12945         (various_functions): just small adaptions for LT-h/f support.
12946
12947         * tabular_funcs.[hC]: added and moved here all not classfunctions
12948         of LyXTabular.
12949
12950 2001-12-19  Juergen Vigna  <jug@sad.it>
12951
12952         * tabular.[Ch]: better support for longtabular options (not finished
12953         yet!)
12954
12955 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12956
12957         * text.C (paintLastRow): use the label font instead of the font of
12958         the last character to compute the size of *_BOX. This makes more
12959         sense and avoids a crash with empty paragraphs.
12960         Use Painter::rectangle to draw EMPTY_BOX.
12961
12962 2001-12-19  Juergen Vigna  <jug@sad.it>
12963
12964         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12965         the paragraphs if the replaced paragraph is not the first one!
12966         Tried to delete not used paragraphs but does not work yet so for
12967         now it's inside #ifdef's and by default off!
12968
12969 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12970
12971         * MenuBackend.C: include "lyx_main.h" instead of declaring
12972         lastfiles (actually was declared as LastFiles* instead of a
12973         scoped_ptr).
12974
12975 2001-12-17  Juergen Vigna  <jug@sad.it>
12976
12977         * tabular.C (AppendColumn): applied John's fix
12978
12979 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12980
12981         * BufferView.h:
12982         * BufferView.C:
12983         * BufferView_pimpl.h:
12984         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12985
12986         * Makefile.am:
12987         * box.h: new start of class for above
12988
12989         * lyxfunc.C: ignore space-only minibuffer dispatches.
12990           Show the command name when it doesn't exist
12991
12992         * minibuffer.C: don't add empty lines to the history
12993
12994         * minibuffer.C: add a space on dropdown completion
12995
12996 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * text.C: fix line above/below drawing in insets
12999
13000 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13001
13002         * lyxlength.C (LyXLength): Initialize private variables.
13003
13004 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13005
13006         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13007         when inserting error insets.
13008
13009 2001-12-13  Juergen Vigna  <jug@sad.it>
13010
13011         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13012         actually sometimes the before-paragraph.
13013         (setUndo): don't clear the redostack if we're not actually undoing!
13014
13015 2001-12-06  Juergen Vigna  <jug@sad.it>
13016
13017         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13018         and fixed redoing of main paragraph, so we can use it now ;)
13019
13020         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13021
13022 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13023
13024         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13025         Juergen's request
13026
13027 2001-12-13  André Pönitz <poenitz@gmx.net>
13028
13029         * undostack.[Ch]:
13030         * undo_func.C: minor cleanup
13031
13032 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13033
13034         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13035         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13036         font in urw-fonts package which is marked as -urw-fontspecific and
13037         does not work (incidentally, changing the encoding in the
13038         fonts.dir of this package to -adobe-fontspecific fixes the
13039         problem).
13040
13041         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13042         is a crash when undoing first paragraph (Juergen, please take a
13043         look). THis does not mean the undo fix is wrong, just that it
13044         uncovers problems.
13045
13046         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13047         the (Paragraph*) version when needed instead of duplicating the
13048         code.
13049
13050         * text.C (workWidth): use Inset::parOwner to find out where the
13051         inset has been inserted. This is a huge performance gain for large
13052         documents with lots of insets. If Inset::parOwner is not set, fall
13053         back on the brute force method
13054
13055         * paragraph_pimpl.C (insertInset):
13056         * paragraph.C (Paragraph):
13057         (cutIntoMinibuffer): set parOwner of insets when
13058         inserting/removing them
13059
13060         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13061
13062 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13063
13064         * commandtags.h:
13065         * LyXAction.C:
13066         * lyx_main.C:
13067         * lyxfunc.C:
13068         * mathed/formulabase.C:
13069         * mathed/math_cursor.[Ch]:
13070         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13071
13072
13073 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13074
13075         * lyxlength.[Ch] (operator!=): new function
13076
13077 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13078
13079         * text.C (workWidth): use Inset::parOwner to find out where the
13080         inset has been inserted. This is a huge performance gain for large
13081         documents with lots of insets. If Inset::parOwner is not set, fall
13082         back on the brute force method
13083
13084         * paragraph_pimpl.C (insertInset):
13085         * paragraph.C (Paragraph):
13086         (cutIntoMinibuffer): set parOwner of insets when
13087         inserting/removing them
13088
13089         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13090
13091 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * tabular-old.C (getTokenValue):
13094         * tabular.C (getTokenValue):
13095         (write_attribute): new versions for LyXLength
13096         (everywhere): adjust the use of widths
13097
13098         * tabular.h: change the type of widths from string to LyXLength
13099
13100 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13101
13102         * paragraph.C: fixed missing line number count when exporting
13103         Environments to LaTeX file
13104
13105         * buffer.C: added informational message for checking line numbers.
13106
13107 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13108
13109         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13110         paragraph, do the 'double space' part, but not the 'empty
13111         paragraph' one.
13112
13113         * text.C (workWidth): small optimization
13114         (getLengthMarkerHeight): use minimal size for negative lengths.
13115
13116 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13117
13118         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13119
13120         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13121
13122 2001-12-11  André Pönitz <poenitz@gmx.net>
13123
13124         * FontLoader.C:
13125         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13126
13127 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13128
13129         * text2.C: keep selection on a setFont()
13130
13131 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13132
13133         * lyx_cb.C: another bv->text misuse, from insert label
13134
13135 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * kbsequence.h:
13138         * kbsequence.C: re-instate nmodifier mask
13139
13140 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * lyx_main.h: make lyxGUI private.
13143
13144 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13145
13146         * lyxfind.C: place the cursor correctly on failed search
13147
13148 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13149
13150         * text.C (getLengthMarkerHeight): for small heights, the arrows
13151         are not always on top/bottom of the text
13152         (drawLengthMarker): smaller arrows; take the left margin in
13153         account; draw also vfills.
13154         (paintFirstRow):
13155         (paintLastRow): remove special code for vfill and standard spaces,
13156         since everything is handled in drawLengthMarker now.
13157
13158 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * buffer.C (insertErtContents): try to handle font and language
13161         interaction a bit better.g
13162
13163         * ColorHandler.C (updateColor): change the hash to cover the whole
13164         LColor enum, ws cleanup
13165         (getGCLinepars): ditto
13166         (getGCLinepars): only lookup in the linecache once.
13167
13168 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13169
13170         * iterators.C (operator++): Make the iterator more robust
13171
13172         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13173         (John's patch)
13174         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13175
13176 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13177
13178         * lyxtext.h:
13179         * text.C: better added space drawing
13180
13181 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * LyXView.C:
13184         * BufferView2.C: fix layout combo update on inset unlock
13185
13186 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13187
13188         * Makefile.am: don't compile unused files
13189
13190 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * lyxfunc.C:
13193         * commandtags.h:
13194         * LyXAction.C: remove old LFUN_LAYOUTNO
13195
13196 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13197
13198         * paragraph_pimpl.h:
13199         * paragraph_pimpl.C: isTextAt() doesn't need font param
13200
13201 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * lyxlex.h:
13204         * lyxlex.C: little cleanup
13205
13206 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13207
13208         * BufferView_pimpl.C: fix insertAscii for insets
13209
13210 2001-12-05  Juergen Vigna  <jug@sad.it>
13211
13212         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13213         set the right font on the "multi" paragraph paste!
13214
13215 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * trans_decl.h:
13218         * trans_mgr.[Ch]:
13219         * trans.[Ch]:
13220         * lyxgluelength.C:
13221         * lyxlength.C: remove out-commented code.
13222
13223         * BufferView_pimpl:
13224         * CutAndPaste.C:
13225         * DepTable.C:
13226         * buffer.C:
13227         * chset.C:
13228         * lastfiles.C:
13229         * lyxlex.C:
13230         * lyxlex_pimpl.C:
13231         * lyxserver.C:
13232         * screen.C:
13233         * tabular-old.C:
13234         * tabular.C:
13235         * text.C:
13236         * trans_mgr.C:
13237         * vc-backend.C: change "while(" to "while ("
13238
13239         * lyxlength.[Ch]: add zero function to check if length is zero or
13240         not
13241         * lyxgluelength.C: use it
13242
13243 2001-12-05  Allan Rae  <rae@lyx.org>
13244
13245         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13246         Works for 2.95.3, from what I understand of Garst's reports this should
13247         work for other g++ versions.  We're screwed if the abs(int) definition
13248         changed between bugfix releases of gcc.
13249
13250 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13251
13252         * text.C: fix chapter label offset !
13253
13254 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * lyxtext.h:
13257         * text.C: fix hfill at end of line, clean up
13258
13259 2001-12-04  Juergen Vigna  <jug@sad.it>
13260
13261         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13262         that we force an update of the inset and it's owners if neccessary.
13263
13264 2001-12-03  Juergen Vigna  <jug@sad.it>
13265
13266         * text.C (rowLast): simplified code
13267
13268 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * lyxfunc.C: fix show options on timeout
13271
13272 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * screen.C (topCursorVisible): scroll half a page when the cursor
13275         reached top of bottom of screen
13276
13277 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13278
13279         * minibuffer.C: deactivate on loss of focus
13280
13281 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13282
13283         * vspace.[Ch] (operator!=): add operator.
13284
13285 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13286
13287         * BufferView_pimpl.C: refuse to open an inset when
13288         there's a selection.
13289
13290 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13291
13292         * BufferView_pimpl.C: allow to click on RHS of full row insets
13293
13294 2001-11-30  Juergen Vigna  <jug@sad.it>
13295
13296         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13297         insets for undo reasons.
13298
13299 2001-11-28  André Pönitz <poenitz@gmx.net>
13300
13301         * vspace.[Ch]: cosmetical changes
13302
13303 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * LyXAction.h:
13306         * LyXAction.C:
13307         * lyxfunc.h:
13308         * lyxfunc.C:
13309         * kbmap.h:
13310         * kbmap.C:
13311         * lyxrc.C:
13312         * kbsequence.h:
13313         * kbsequence.C: part re-write of old kb code
13314
13315         * Painter.C:
13316         * WorkArea.C: remove Lgb_bug_find_hack
13317
13318 2001-11-30  José Matos <jamatos@fep.up.pt>
13319
13320         * buffer.C (makeDocBookFile): add a comment to point a hack.
13321         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13322         Fixed a double write of labels.
13323
13324 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13325
13326         * LaTeX.C:
13327         * LaTeX.h Fixed bug in LaTeX class where it would not
13328         re-run latex if no depfiles were changed, but the .dvi was removed.
13329
13330 2001-11-28  André Pönitz <poenitz@gmx.net>
13331
13332         * all the files from the change on 2001/11/26:
13333         use lyx::layout_type instead of LyXTextClass::size_type
13334         use lyx::textclass_type instead of LyXTextClassList::size_type
13335
13336 2001-11-29  Juergen Vigna  <jug@sad.it>
13337
13338         * text.C: added support for paragraph::isFreeSpacing()
13339
13340         * buffer.C: same as above
13341
13342         * paragraph.h: inserted isFreeSpacing() function to enable
13343         FreeSpacing inside InsetERT.
13344
13345         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13346         of the paragraph's in the cut/copy buffer to 0!
13347
13348         * text2.C (removeRow): remove the assert as it can!
13349
13350         * lyxtext.h: added helper function firstRow returning firstrow and
13351         made firstrow private again.
13352
13353         * BufferView2.C (lockInset): don't relock if we're already locked!
13354
13355         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13356         the only paragraph.
13357         (removeRow): added Assert::(firstrow)
13358
13359         * debug.C: forgot to add INSETTEXT here.
13360
13361 2001-11-28  Juergen Vigna  <jug@sad.it>
13362
13363         * sp_spell.C (initialize): changed error text to more general
13364         spellchecker command use (not only ispell!)
13365
13366         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13367
13368         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13369
13370 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * vspace.C: initialise lyxgluelength on failure
13373
13374 2001-11-28  Allan Rae  <rae@lyx.org>
13375
13376         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13377         declaration & definition that looks like a function declaration.
13378
13379 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13380
13381         * BufferView2.C (copy):
13382         (copyEnvironment): do not clear the selection when doing a copy.
13383
13384         * text.C (paintFirstRow): compilation fix
13385
13386 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13387
13388         * tabular.C (Latex): correct line count when writing latex.
13389
13390 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13391
13392         * paragraph_pimpl.h:
13393         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13394           bug a bit
13395
13396 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * text.C:
13399         * LColor.h:
13400         * LColor.C: change vfillline->added_space
13401
13402         * text.C: add markers and text for added space
13403
13404         * vspace.C: fix comment
13405
13406 2001-11-28  André Pönitz <poenitz@gmx.net>
13407
13408         * paragraph.C: whitespace changes
13409         * all the other files from the change on 2001/11/26:
13410         change *::pos_type into lyx::pos_type
13411
13412 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13413
13414         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13415         language of the document when inserting error insets.
13416
13417 2001-11-26  André Pönitz <poenitz@gmx.net>
13418
13419         * BufferView_pimpl.[Ch]:
13420         *       CutAndPaste.C:
13421         * buffer.[Ch]:
13422         * lyxcursor.[Ch]:
13423         * lyxfind.C:
13424         * lyxfunc.C:
13425         * lyxrow.[Ch]:
13426         * paragraph.[Ch]:
13427         * paragraph_pimpl.[Ch]:
13428         * sp_spell.C:
13429         * text.C:
13430         * text2.C: reduce header dependencies, introduce type for positions
13431
13432 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13433
13434         * <various>: change to use Alert.h
13435
13436 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13437
13438         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13439         when encountering an unknown token.
13440         (readLyXformat2): Show an error message if there were unknown tokens.
13441
13442 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * BufferView2.C:
13445         * BufferView_pimpl.C:
13446         * buffer.C:
13447         * paragraph.h:
13448         * text.C:
13449         * text2.C: use par->isInset()
13450
13451 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13452
13453         * paragraph_pimpl.h:
13454         * paragraph_pimpl.C: cleanup
13455
13456 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13457
13458         * text2.C (removeRow):
13459         * text.C (setHeightOfRow): remove useless (and costly) call to
13460         getRow.
13461
13462 2001-11-20  Allan Rae  <rae@lyx.org>
13463
13464         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13465         Now need Inset*::checkInsertChar() to return true for appropriate
13466         cases so that the characters in the minibuffer will actually be
13467         inserted.
13468
13469 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13470
13471         * text.C: change the order of the includes.
13472         (workWidth): initialize it at once.
13473         (workWidth): make maxw unsigned
13474         (setHeightOfRow): remove unused variable (inset)
13475         (selectSelectedWord): remove unused variable (inset)
13476         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13477
13478 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13479
13480         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13481         server is not running.
13482         (openConnection):
13483         (closeConnection): add debug info when server is disabled.
13484
13485         * ColorHandler.C (getGCForeground): send debug message to GUI
13486         channel.
13487
13488         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13489
13490         * kbmap.C (bind): modify because return conventions of
13491         kb_sequence::parse have changed.
13492
13493         * kbsequence.C (parse): only ignore spaces and not any stupid
13494         control character. This avoids tests like s[i] <= ' ', which are
13495         guaranteed to fail with 8bit characters and signed chars.
13496         Change return code to string::npos when there have been no error
13497         (0 was a bad idea when error is at first character)
13498
13499 2001-11-14  José Matos  <jamatos@fep.up.pt>
13500
13501         * buffer.h:
13502         * buffer.C (simpleDocBookOnePar): removed unused argument.
13503
13504 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13505
13506         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13507         insets which are part of a word. Paragraph::isLetter takes care of
13508         that now. Use Paragraph::isInset to identify insets.
13509         (selectSelectedWord): do not test for hyphenation break.
13510
13511         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13512         that protected spaces are considered as spaces.
13513
13514         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13515         Inset::isLetter.
13516
13517 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13518
13519         * lyxserver.h:
13520         * lyxserver.C: fix it. and small cleanup.
13521
13522 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13523
13524         * BufferView_pimpl.C: use inline helpers
13525
13526         * LaTeXFeatures.h:
13527         * LaTeXFeatures.C: fix typos
13528
13529         * Spacing.h:
13530         * Spacing.C: move spacing_string into class
13531
13532         * ToolbarDefaults.C: move stuff into namespace anon
13533
13534         * layout.h: update enum
13535
13536         * lyxfunc.C: use better debug
13537
13538         * minibuffer.h: fix typo
13539
13540         * debug.h:
13541         * debug.C:
13542         * WorkArea.C: add and use Debug::WORKAREA
13543
13544         * lyxtext.h:
13545         * text.C:
13546         * text2.C: code re-organisation, inline helpers
13547
13548 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13549
13550         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13551         std::vector.empty().
13552
13553 2001-11-09  Allan Rae  <rae@lyx.org>
13554
13555         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13556         '\n's after tables.  Tabular and ERT inset work now makes this no
13557         longer necessary.
13558
13559 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * minibuffer.h:
13562         * minibuffer.C: fix crash, improve drop-down completion
13563
13564 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13565
13566         * lyxserver.h:
13567         * lyxserver.C: invalidate fd's when doing endPipe()
13568
13569 2001-11-08  José Matos  <jamatos@fep.up.pt>
13570
13571         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13572         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13573
13574         * paragraph.h:
13575         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13576
13577 2001-11-07  José Matos  <jamatos@fep.up.pt>
13578
13579         * buffer.h:
13580         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13581         const qualifier.
13582
13583         * buffer.C (sgmlOpenTag):
13584         * buffer.C (sgmlCloseTag): removed debug info.
13585
13586         * buffer.h (sgmlOpenTag):
13587         * buffer.h (sgmlCloseTag): made public.
13588
13589 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13590
13591         * buffer.C (saveParamsAsDefaults):
13592         * lyx_cb.C (MenuLayoutSave): remove
13593
13594         * LyXAction.C (init):
13595         * commandtags.h:
13596         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13597
13598 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13599
13600         * buffer.C (setPaperStuff): removed from here...
13601
13602         * bufferparams.C (setPaperStuff): ... and moved there.
13603
13604 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13605
13606         * minibuffer.h:
13607         * minibuffer.C:
13608         * XFormsView.C: add support for drop-down completion
13609
13610 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13611
13612         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13613         commands.
13614
13615 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13616
13617         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13618         disabled.
13619
13620 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13621
13622         * lyx_main.C: change ref to known bugs
13623
13624 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13625
13626         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13627         to work around older babel problems.
13628
13629 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13630
13631         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13632
13633 2001-10-24  Juergen Vigna  <jug@sad.it>
13634
13635         * tabular-old.C (ReadOld): below variable changes reflected.
13636
13637         * tabular.[Ch]: added ltType struct for longtable header/footer
13638         defines and changed all instances where they are used. Added
13639         future support for double top/bottom rows.
13640
13641 2001-10-24  José Matos  <jamatos@fep.up.pt>
13642
13643         * buffer.h (docbookHandleCaption):
13644         * buffer.C (docbookHandleCaption): removed unused function.
13645         (makeDocBookFile): moved docbook supported version to v4.1.
13646
13647 2001-10-24  José Matos  <jamatos@fep.up.pt>
13648
13649         * tabular.h:
13650         * tabular.C (docbookRow): new function to export docbook code of a row.
13651         (DocBook): now honors the longtable flags.
13652
13653 2001-10-23  José Matos  <jamatos@fep.up.pt>
13654
13655         * LaTeXFeatures.h:
13656         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13657         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13658
13659         * buffer.C (makeLinuxDocFile):
13660         (makeDocBookFile): reworked the preamble, more clean, and with
13661         support for lyx defined entities. Changed the document declaration
13662         to be more XML friendly.
13663
13664         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13665         if we need to output XML that should be done with a filter.
13666
13667 2001-10-22  Juergen Vigna  <jug@sad.it>
13668
13669         * sp_pspell.h (class PSpell): add alive function needed in the
13670         controller to see if the spellchecker could be started.
13671
13672 2001-10-22  Juergen Vigna  <jug@sad.it>
13673
13674         * buffer.C (insertStringAsLines): modify the font for inserting
13675         chars in certain conditions by calling checkInsertChar(font).
13676
13677 2001-10-19  Juergen Vigna  <jug@sad.it>
13678
13679         * text.C (workWidth): use getRow instead of wrong algorithm.
13680         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13681
13682 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13683
13684         * lyxserver.h:
13685         * lyxserver.C:
13686         * lyx_main.h:
13687         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13688
13689 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13690
13691         * text.C (workWidth): do not search for the exact row when
13692         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13693         optimization for big documents.
13694
13695 2001-10-18  Juergen Vigna  <jug@sad.it>
13696
13697         * text.C (workWidth): new function with added Inset * parameter.
13698
13699 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13700
13701         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13702
13703         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13704         change return type of getColumnNearX.
13705
13706
13707         * text.C (changeRegionCase): use uppercase/lowercase instead of
13708         toupper/tolower.
13709         (leftMargin):
13710         (rightMargin): simplify code by factoring out the uses of
13711         textclasslist.
13712         (labelFill):
13713         (numberOfHfills):
13714         (setHeightOfRow):
13715         (appendParagraph): use Paragraph::size_type
13716
13717 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13718
13719         * vspace.C (asLatexString): add a missing break
13720
13721 2001-10-15  Herbert Voss  <voss@perce.de>
13722
13723         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13724
13725 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13728         is not available.
13729
13730 2001-10-10  André Pönitz <poenitz@gmx.net>
13731
13732         * lyxfunc.C: removed greek_kb_flag.
13733
13734 2001-10-10  Herbert Voss  <voss@perce.de>
13735
13736         * lyx_main.C: delete global string help_lyxdir.
13737
13738 2001-10-09  Herbert Voss  <voss@perce.de>
13739
13740         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13741
13742         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13743
13744         * lyx_main.C: added global string help_lyxdir.
13745
13746         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13747
13748 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13749
13750         * lyxrc.C (set_font_norm_type): support iso8859-4
13751
13752 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13753
13754         * LaTeX.C (deplog): add another regex for MikTeX
13755
13756 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13757
13758         * lyxrc.C (set_font_norm_type): support iso8859-3
13759
13760 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13761
13762         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13763
13764         * LaTeXFeatures.C: remove special case of french and index
13765
13766         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13767         before \begin{document}). This solves several incompatibilities.
13768
13769 2001-10-03  Garst Reese  <reese@isn.net>
13770
13771         * lyx_cb.C: change CheckTex error msg.
13772
13773 2001-10-03  José Matos  <jamatos@fep.up.pt>
13774
13775         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13776
13777 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13778
13779         * .cvsignore: update
13780
13781         * lyx_main.C (commandLineVersionInfo): use new style version info.
13782
13783         * buffer.C (writeFile):
13784         (makeLaTeXFile):
13785         (makeLinuxDocFile):
13786         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13787
13788         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13789
13790         * version.h: update to use stuff in version.C
13791
13792         * version.C.in: new file. Contains version information determined
13793         at compile time. This is a merging of version.h and
13794         version_info.h.in.
13795
13796 2001-10-03  Juergen Vigna  <jug@sad.it>
13797
13798         * BufferView_pimpl.C (update): don't change "dirty" status in
13799         updateInset call.
13800
13801 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13802
13803         * WorkArea.C (c-tor): re-position version string slightly.
13804
13805 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13808         revert to previous code.
13809
13810         WorkArea.[Ch]: (show, destroySplash): methods removed.
13811
13812         WorkArea.C: rework code so that it's an amalgam of the codes before and
13813         after the splash screen was moved to WorkArea.
13814
13815 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13816
13817         * lyxrc.C (read):
13818         * vspace.C (inPixels):
13819         (lyx_advance):
13820         * kbmap.C (bind):
13821         * buffer.C (insertStringAsLines):
13822         (asciiParagraph): fix types to be large enough
13823
13824         * lyxlex_pimpl.h: change member status from short to int
13825
13826         * layout.h: fix type of endlabeltype
13827
13828         * kbmap.C (bind):
13829         * kbsequence.C (parse): change return type to string::size_type
13830
13831         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13832         variable
13833
13834         * Bullet.C (bulletSize):
13835         (bulletEntry): do not use short ints as parameters
13836
13837         * BufferView2.C (insertLyXFile): change a char to an int.
13838
13839         * WorkArea.C (WorkArea): remove unneeded floats in computation
13840
13841 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13842
13843         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13844
13845         * paragraph.C (asString): Do not ignore newline/hfill chars when
13846         copying to the clipboard.
13847
13848 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13849
13850         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13851         after a multi-line inset.
13852
13853 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * paragraph.C (validate): Set NeedLyXFootnoteCode
13856
13857 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13858
13859         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13860         and decrease-error to decrease.
13861
13862 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13863
13864         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13865         it more readable (should be equivalent)
13866
13867 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13868
13869         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13870
13871 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13872
13873         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13874         of a cursor (row, etc.) after a character has been deleted
13875         (deleteEmptyParagraphMechanism): call the method above on _all_
13876         cursors held by the LyXText when a double space has been
13877         detected/deleted.
13878
13879 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13880
13881         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13882         pixmap.
13883         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13884
13885         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13886         background. Use greyOut() and the new show() methods to toggle between
13887         the foreground and background. Add code to remove the splash after
13888         its initial showing.
13889
13890         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13891         (create_forms): no longer call Dialogs::showSplash.
13892
13893 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13894
13895         * .cvsignore: add version_info.h
13896
13897 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13898
13899         * version_info.h.in: new file
13900
13901         * Makefile.am: add version_info.h.in
13902
13903         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13904         version_info.h instead of VERSION_INFO
13905
13906 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13907
13908         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13909         The ERT inset now returns string().
13910
13911 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13912
13913         * lyxtext.h, text.C (selectNextWord): renamed as
13914         selectNextWordToSpellcheck.
13915
13916         * text.C (selectNextWordToSpellcheck): Modified to not select
13917         words inside an ERT inset.
13918
13919 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13920
13921         * lyx_cb.C (MenuLayoutSave): change a bit the question
13922
13923         * sp_base.h: include <sys/types.h>
13924
13925 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13926
13927         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13928
13929 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13930
13931         * several files: fix typos in user-visible strings
13932
13933 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13934
13935         * text2.C (pasteSelection): do not set the selection, since it
13936         will be cleared later. Actually, the intent was to fix the way the
13937         selection was set, but I figured rmoving the code was just as good.
13938
13939 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13940
13941         * FontLoader.C (available): Check if font is available without
13942         loading the font.
13943
13944 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13945
13946         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13947
13948 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * lyxrc.[Ch]: added display_graphics variable and associated code.
13951
13952 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13953
13954         * bufferparams.C (hasClassDefaults): new method. Returns true if
13955         the buffer parameters correspond to known class defaults
13956
13957 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13958
13959         * XFormsView.C (show): set minimum size to the main window.
13960
13961 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13962
13963         * text2.C (copySelection):
13964         (cutSelection):
13965         * lyxfind.C (LyXReplace):
13966         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13967         LyXText::selectionAsString.
13968
13969         * paragraph.C (asString): add "label" argument to the second form
13970
13971         * text2.C (selectionAsString): add "label" argument and pass it to
13972         Paragraph::asString.
13973
13974 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13975
13976         * lyx_main.C (commandLineHelp): remove version information
13977
13978 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13979
13980         * lyx_main.C: add -version commandline option
13981
13982 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13983
13984         * paragraph.h: make the optional constructor arg required instead.
13985         some modifications to other files because of this.
13986
13987         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13988
13989         * lyxserver.C (C_LyXComm_callback): make it static
13990
13991         * lyx_main.C (error_handler): make it static
13992
13993         * lyx_gui.C (LyX_XErrHandler): make it static
13994
13995         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13996
13997         * WorkArea.C: make the extern "C" methods static.
13998
13999         * Makefile.am (lyx_LDADD): simplify
14000
14001 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14002
14003         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14004         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14005
14006         * LyXAction.C (init):
14007         * lyxfunc.C (dispatch): associated code removal.
14008
14009 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * lyxfont.h (isSymbolFont): shut off warning
14012
14013         * text.C (setHeightOfRow):
14014         (getVisibleRow): fix crash with empty paragraphs which have a
14015         bottom line
14016
14017 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14018
14019         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14020         code.
14021
14022 2001-09-04  José Matos  <jamatos@fep.up.pt>
14023         * buffer.C
14024         * buffer.h
14025         * tabular.C (docbook): rename docBook method to docbook.
14026
14027 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14028
14029         * Makefile.am: add dependencies to main.o.
14030
14031 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14032
14033         * FontLoader.C (available): Return false if !lyxrc.use_gui
14034
14035 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14036
14037         * FontInfo.C (query):
14038         * converter.C (view):
14039         * importer.C (Import):
14040         * exporter.C (Export): Can not -> cannot.
14041
14042 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14043
14044         * BufferView_pimpl.C: allow to create index inset even if
14045           string is empty
14046
14047 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * buffer.C (getLists): replace boost::tie code with an explicit pair
14050         as boost::tie can break some compilers.
14051
14052         * iterators.h: Added a std:: declaration to the return type of
14053         ParIterator::size.
14054
14055 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14058           case.
14059
14060 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14061
14062         * iterators.[Ch]: New files. Provide paragraph iterators.
14063
14064         * buffer.C (changeLanguage): Use paragraph iterators.
14065         (isMultiLingual): ditto
14066
14067         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14068
14069 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14070
14071         * FontLoader.C: Support for cmr font.
14072
14073 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14074
14075         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14076         (available): New method.
14077
14078         * FontInfo.C (getFontname): Use scalable fonts even when
14079         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14080         found.
14081
14082 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14083
14084         * converter.C (Formats::view): reverted! Incorrect fix.
14085
14086 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * converter.C (Formats::view): only output the -paper option
14089         if the dvi viewer is xdvi, thereby fixing bug #233429.
14090
14091 2001-08-23  Herbert Voss  <voss@perce>
14092
14093         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14094
14095 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14096
14097         * Spacing.h (Spacing): Set space to Default on in the default
14098         constructor.
14099
14100 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14101
14102         * vc-backend.h (RCS::versionString): add RCS to version
14103         (CVS::versionString): add CVS to version
14104
14105         * vc-backend.C (scanMaster): do not add CVS to version.
14106         (scanMaster): do not add RCS to version
14107
14108         * lyxvc.C (versionString): new method
14109
14110         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14111
14112 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * Spacing.C (set): initialize fval
14115
14116 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14119         " or \.
14120
14121 2001-08-16  Juergen Vigna  <jug@sad.it>
14122
14123         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14124
14125 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14126
14127         * BufferView_pimpl.C:
14128         * figureForm.C:
14129         * lyxtext.h:
14130         * text2.C: setParagraph takes linespacing now
14131
14132 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14133
14134         * LyxAction.C: add internal LFUN_CITATION_INSERT
14135
14136         * LyXView.C: actually apply fix
14137
14138         * bufferlist.C: fix open non-existent file
14139
14140         * lyxfind.C: fix indentation
14141
14142         * lyxfunc.C: remove unneeded assert, fix typo
14143
14144 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14145
14146         * MenuBackend.C: use "Floatname List"
14147
14148 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14149
14150         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14151         when converting LaTeX layout to insetERT.
14152         Generate a non-collapsed float when reading old float
14153
14154 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14155
14156         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14157         ERT insets.
14158
14159 2001-08-13  Juergen Vigna  <jug@sad.it>
14160
14161         * text.C (fill): return 0 instead of 20 as this seems to be the more
14162         correct value.
14163
14164 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14165
14166         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14167         lyxrc.font_norm.
14168
14169 2001-08-13  Juergen Vigna  <jug@sad.it>
14170
14171         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14172         casesensitive off.
14173         (SearchBackward): comment out the unlocking of the inset_owner this
14174         should not be needed!
14175
14176 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14177
14178         * Many files: Remove inherit_language, and add latex_language
14179
14180         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14181         collapsible insets.
14182
14183 2001-08-10  Juergen Vigna  <jug@sad.it>
14184
14185         * text.C (prepareToPrint): fixed hfill-width in draw!
14186
14187         * BufferView2.C (selectLastWord): save the selection cursor as this
14188         now is cleared in the function LyXText::clearSelection!
14189
14190 2001-08-08  Juergen Vigna  <jug@sad.it>
14191
14192         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14193         BACKSPACE type functions.
14194
14195         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14196         is only cutted from the document but not put in the cut-buffer, where
14197         still the old stuff should be.
14198
14199         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14200
14201         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14202
14203         * tabular.C (SetWidthOfCell): fixed special case where the width
14204         was not updated!
14205         (LeftLine): handle '|' in align_special.
14206         (RightLine): ditto
14207         (LeftAlreadyDrawed): ditto
14208         (SetWidthOfCell): ditto
14209
14210 2001-08-07  Juergen Vigna  <jug@sad.it>
14211
14212         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14213
14214 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14215
14216         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14217         * lyxlex.[hC]: ditto
14218
14219 2001-08-06  Juergen Vigna  <jug@sad.it>
14220
14221         * text.C (getVisibleRow): fix up row clearing a bit.
14222
14223 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14224
14225         * minibuffer.C: make sure the X server sees the changes in the input.
14226
14227 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14228
14229         * paragraph.C (getFont): split into...
14230         (getLabelFont): this
14231         (getLayoutFont): and this
14232         * paragraph_pimpl.C (realizeFont): calling this
14233
14234         * text2.C (getFont): split into...
14235         (getLayoutFont): this
14236         (getLabelFont): and this
14237         (realizeFont): all three calling this
14238
14239         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14240         files where used.
14241
14242 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14243
14244         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14245
14246 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14247
14248         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14249         layouts from the Quote inset insertion.
14250
14251 2001-08-03  Juergen Vigna  <jug@sad.it>
14252
14253         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14254
14255         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14256         only if status not is already CHANGED_IN_DRAW (second level).
14257
14258         * text.C (draw): don't set the need_break_row when inside an
14259         InsetText LyXText.
14260
14261 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14262
14263         * buffer.C (parseSingleLyXformat2Token): handle more latex
14264         conversion cases.
14265
14266         * bufferview_funcs.[hC]: change function names to
14267         begin with small char, adjust other files.
14268
14269 2001-08-02  André Pönitz <poenitz@gmx.net>
14270
14271         * lyxfunc.C:
14272         BufferView_pimpl.C: remove broken special code for math-greek
14273
14274 2001-08-02  Juergen Vigna  <jug@sad.it>
14275
14276         * BufferView_pimpl.C (update): redone this function so that we
14277         update the text again if there was a CHANGE_IN_DRAW.
14278
14279         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14280         (drawFromTo): added a new internal bool which is used by draw() and
14281         redraw() function.
14282         (general): some cursor drawing problems fixed.
14283
14284 2001-08-01  Juergen Vigna  <jug@sad.it>
14285
14286         * lyxfind.C (LyXFind): fixed
14287         (SearchForward): ditto
14288         (SearchBackward): ditto
14289
14290         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14291         spurius drawing of the cursor in the main area.
14292
14293         * text2.C (status): small fix which could lead to a segfault!
14294         (clearSelection): remove unneeded BufferView param.
14295
14296 2001-08-01  André Pönitz <poenitz@gmx.net>
14297
14298         * lyxfunc.C: small change due to changed mathed interface
14299
14300 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14301
14302         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14303
14304 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14305
14306         * lyxfunc.c: fail gracefully if file doesn't exist
14307
14308         * LyXSendto.C:
14309         * buffer.C:
14310         * lyxfunc.C:
14311         * BufferView_pimpl.C: IsDirWriteable() proto changed
14312
14313         * LyXView.C: fix updateWindowTitle() to store the last title
14314
14315 2001-07-31  Juergen Vigna  <jug@sad.it>
14316
14317         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14318         the font (wrong since using of Paragraph::highestFontInRange).
14319
14320         * paragraph.C (highestFontInRange): added a default_size parameter.
14321
14322         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14323         (setHeightOfRow): reformat
14324
14325 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14326
14327         * converter.[hC] + affected files: move to (inital-char)lowercase
14328         function names.
14329
14330         * ParagraphParameters.C (ParagraphParameters): remove commented code
14331
14332         * PainterBase.[Ch]: remove commented code
14333
14334         * LaTeXFeatures.h: add "bool floats" for float.sty
14335
14336         * LaTeXFeatures.C (LaTeXFeatures): init floats
14337         (require): handle float
14338         (getPackages): do it with floats
14339
14340 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14341
14342         * BufferView_pimpl.C (Dispatch): improve handling of
14343         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14344
14345         * commandtags.h: #include lyxfont.h here temporarily to avoid
14346         keybinding bug.
14347
14348         * bufferlist.h: include LString.h here.
14349
14350 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * text2.C (getStringToIndex): new method.
14353
14354 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14355
14356         * *: Reduced header file dependencies all over.
14357
14358 2001-07-30  Baruch Even  <baruch@lyx.org>
14359
14360         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14361
14362 2001-07-29  Baruch Even  <baruch@lyx.org>
14363
14364         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14365
14366 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14367
14368         * ParameterStruct.h (endif): add a default constructor to make
14369         sure that all variables is initialized.
14370
14371         * ParagraphParameters.C (ParagraphParameters): adjust
14372
14373 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14374
14375         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14376         index; also, check that there is something to index, and that it
14377         does not span over several paragraphs.
14378         (doubleClick): use WHOLE_WORD_STRICT for double click.
14379
14380         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14381
14382         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14383         scheme.
14384
14385 2001-07-26  Baruch Even  <baruch@lyx.org>
14386
14387         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14388         an InsetFig figure, backwards compatible reading of old figure code.
14389
14390 2001-07-27  Juergen Vigna  <jug@sad.it>
14391
14392         * text2.C: font.realize function adaption.
14393
14394         * text.C (draw): add a warnings lyxerr text if needed.
14395
14396         * layout.C: font.realize function adaption.
14397
14398         * language.C: add inherit_language and implement it's handlings
14399
14400         * bufferview_funcs.C (StyleReset): remove language parameter from
14401         font creation (should be language_inherit now).
14402
14403         * bufferparams.C (writeFile): handle ignore_language.
14404
14405         * paragraph.C (getFontSettings): the language has to be resolved
14406         otherwise we have problems in LyXFont!
14407
14408         * lyxfont.C (lyxWriteChanges): added document_language parameter
14409         (update): removed unneeded language parameter
14410
14411         * paragraph.C (validate): fixed wrong output of color-package when
14412         using interface colors for certain fonts in certain environments,
14413         which should not seen as that on the final output.
14414
14415 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14416
14417         * BufferView_pimpl.C:
14418         * Thesaurus.h:
14419         * Thesaurus.C:
14420         * Makefile.am:
14421         * commandtags.h:
14422         * LyXAction.C: add thesaurus support
14423
14424         * lyxfind.h:
14425         * lyxfind.C: add "once" parameter, for thesaurus, to not
14426           move to the next match
14427
14428 2001-07-26  Juergen Vigna  <jug@sad.it>
14429
14430         * lyxfont.C (realize): honor ignore_language too!
14431         (resolved): ditto.
14432
14433         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14434
14435         * text.C (draw): one place more for ignore_language to not draw
14436         itself!
14437
14438 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14439
14440         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14441
14442 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14443
14444         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14445         the minipage conversion problem.
14446
14447 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14448
14449         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14450         insert an inset.
14451
14452 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * BufferView.h: don't forward declare WorkArea
14455
14456         * BufferView.C: don't include WorkArea.h
14457
14458 2001-07-25  André Pönitz <poenitz@gmx.net>
14459
14460         * commandtags.h:
14461         * LyXAction.C:
14462         * lyxfunc.C:  new LFUN 'math-space'
14463
14464         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14465
14466 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14467
14468         * text2.C (toggleInset): call open/close
14469
14470 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14471
14472         * lyxfunc.C (dispatch): add debug for the disabled case
14473
14474         * font.C (buttonText): make similar to rectText
14475
14476         * buffer.C (readInset): comment out parsing of insetlist and
14477         insttheorem
14478
14479         * PainterBase.C (rectText): small correction
14480
14481         * BufferView_pimpl.C: comment out insettheorem and insetlist
14482         * LyXAction.C: ditto
14483         * commandtags.h: ditto
14484
14485 2001-07-24  Juergen Vigna  <jug@sad.it>
14486
14487         * text.C (draw): honor the ignore_language.
14488
14489         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14490
14491 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14492
14493         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14494         char inset.
14495
14496 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14497
14498         * lyxtext.h: remove unused (and unimplemented) methods
14499
14500 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14501
14502         * text.C (getVisibleRow): honor background color
14503
14504         * PainterBase.h:
14505         * Painter.h: remove default color argument for fillRectangle
14506
14507         * text.C (backgroundColor): new method
14508
14509 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14510
14511         * text.C (getVisibleRow): adjust
14512
14513         * font.[Ch] (rectText): new method, metrics
14514         (buttonText): new method, metrics
14515
14516         * PainterBase.[hC]: make rectText and buttonText always draw and take
14517         fewer paramteres.
14518
14519 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14520
14521         * ToolbarDefaults.C (read):
14522         * MenuBackend.C (read): allow escaping in all strings
14523
14524         * BufferView_pimpl.C (insertAndEditInset): new method.
14525         (Dispatch): use insertAndEditInset whenever appropriate.
14526
14527         * BufferView_pimpl.C (insertNote): removed
14528
14529         * BufferView_pimpl.C (smartQuote): new method, moved from
14530         BufferView; if an insetquote cannot be inserted, insert a '"'
14531         character instead.
14532
14533         * BufferView2.C: remove insertCorrectQuote();
14534
14535         * lyxfunc.C (getStatus): Add support for all remaingin
14536         inset-insert lfuns.
14537
14538         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14539
14540         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14541         command (necessary to pass " as parameter of self-insert.
14542
14543         * text.C (selectWordWhenUnderCursor):
14544         (selectWord): add word_location parameter
14545         (selectWordWhenUnderCursor): same + remove special code for word
14546         boundary.
14547         (selectNextWord): use kind() to guess type of insetspecialchar,
14548         not latex().
14549
14550         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14551         (insertErtContents): create ert insets as collapsed.
14552         (readInset): better compatibility code for Info inset.
14553
14554 2001-07-20  Juergen Vigna  <jug@sad.it>
14555
14556         * lyxfunc.C (dispatch): use always LyXFind now!
14557
14558         * text2.C (init): add a reinit flag so that the LyXText can be
14559         reinited instead of deleted and reallocated (used in InsetText).
14560
14561         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14562
14563         * text.C: ditto
14564
14565         * text2.C: ditto
14566
14567 2001-07-18  Juergen Vigna  <jug@sad.it>
14568
14569         * text.C (selectNextWord): handle insets inside inset by calling
14570         always the bv->text functions so that we can go up the_locking_inset!
14571
14572         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14573         in strange locations when inside an inset!
14574
14575         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14576         handling to include insets.
14577
14578         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14579
14580 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14581
14582         * LyXAction.C (init):
14583         * commandtags.h:
14584         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14585         LIGATURE_BREAK, since the name is so stupid.
14586
14587 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14588
14589         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14590         InsetInfos.
14591
14592         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14593
14594         * sp_form.[Ch]: remove.
14595
14596         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14597
14598         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14599         InsetInfo.
14600
14601         * src/buffer.C (readInset): ditto.
14602
14603 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14604
14605         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14606         menuSeparator(), endOfSentenceDot(), ldots() and
14607         hyphenationPoint(), which are therefore removed.
14608         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14609
14610         * LyXAction.C (init):
14611         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14612
14613         * paragraph.C (getWord): removed.
14614
14615         * BufferView_pimpl.C (Dispatch): use last word or selection for
14616         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14617
14618         * lyx_main.C (queryUserLyXDir): do not ask before creating
14619         user_dir, except if it has been named explicitely.
14620
14621 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14622
14623         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14624         a document of zero size.
14625
14626 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14627
14628         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14629         approriately in the c-tor and in require().
14630         (getPackages): output the appropriate LaTeX for natbib support.
14631
14632         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14633         variables "use_natbib" and "use_numerical_citations" when reading the
14634         LyX file.
14635         (readInset): read the various natbib cite commands.
14636         (validate): white-space change.
14637
14638         * bufferparams.[Ch]: new variables "bool use_natbib" and
14639         "bool use_numerical_citations".
14640         (writeFile): output them in the LyX file.
14641
14642 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14643
14644         * lyxfunc.C (getStatus): add support for all the inset insertion
14645         commands.
14646
14647         * text2.C (insertInset):
14648         * paragraph.C (insetAllowed):
14649         * BufferView_pimpl.C (insertInset): update to take in account the
14650         renaming of insertInsetAllowed
14651
14652         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14653
14654         * text2.C (getInset): new method. returns inset at cursor position.
14655
14656         * BufferView_pimpl.C (Dispatch): changes because of this.
14657
14658         * LyXAction.C (init): rename open-stuff to inset-toggle.
14659
14660         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14661
14662         * text2.C (toggleInset): renamed from openStuff; use
14663         Inset::open().
14664
14665 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14666
14667         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14668
14669         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14670
14671 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14672
14673         * buffer.C (readLyXformat2): Add filename to the error dialog
14674
14675 2001-07-18  Juergen Vigna  <jug@sad.it>
14676
14677         * tabular.C (GetCellNumber): put an assert here instead of the check!
14678
14679 2001-07-17  Juergen Vigna  <jug@sad.it>
14680
14681         * BufferView_pimpl.C (toggleSelection): adapted too.
14682
14683         * text.C (selectNextWord): adapted for use with insets.
14684         (selectSelectedWord): ditto
14685
14686 2001-07-17  Juergen Vigna  <jug@sad.it>
14687
14688         * sp_spell.C (PSpell): fix initialitation order.
14689
14690 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * paragraph.C: spacing
14693
14694 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14695
14696         * sp_spell.C: repair language selection for pspell
14697
14698 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14699
14700         * lyxfunc.h: change more methods to begin with lower char.
14701
14702 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14703
14704         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14705         for unknown layouts.
14706
14707 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14708
14709         * buffer.C (readLyXformat2): Generate an error dialog if there are
14710         unknown layouts.
14711
14712 2001-07-16  Juergen Vigna  <jug@sad.it>
14713
14714         * sp_spell.C: always compile ISpell part.
14715
14716         * lyxrc.C: added use_pspell entry and it's handling.
14717
14718 2001-07-13  Juergen Vigna  <jug@sad.it>
14719
14720         * sp_spell.C: removed double includes.
14721
14722 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14723
14724         Consistent use of Lsstream.h:
14725         * Lsstream.h: added using std::stringstream for consistencies sake.
14726
14727         * buffer.C: removed using std::stringstream
14728
14729         * lyxfont.C (stateText):
14730         * paragraph.C (asString):
14731         * text.C (selectNextWord, selectSelectedWord):
14732         * text2.C (setCounter):
14733         * vspace.C (asString, asLatexString):
14734         std::ostringstream -> ostringstream.
14735
14736 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14737
14738         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14739         * commandtags.h: add LFUN_HELP_ABOUTLYX
14740         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14741
14742 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14743
14744         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14745         cursorToggle()
14746         * lyx_gui_misc.C: remove spellchecker
14747         * lyxfunc.C: showSpellchecker
14748         * sp_base.h: added
14749         * sp_ispell.h: added
14750         * sp_pspell.h: added
14751         * sp_spell.C: added
14752         * sp_form.[Ch]: removed
14753         * spellchecker.[Ch]: removed
14754
14755 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14756
14757         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14758         is set.
14759         (simpleTeXSpecialChars): Simply print the input character without
14760         any special translation if pass_thru is set.
14761
14762         * layout.h: Added bool pass_thru to layout class for being able to
14763         implement pass through of a paragraph for Literate Programming.
14764
14765         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14766         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14767         * layout.C (Read): add "passthru" to list of layout tags and add
14768         code to set the pass_thru boolean when it is read.
14769
14770 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14771
14772         * trans_decl.h: remove allowed from KmodInfo
14773
14774         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14775         remove allowed code
14776         (Load): adjust
14777
14778         * paragraph_pimpl.C (erase): use boost::prior
14779
14780         * Painter.C (text): use data() instead of c_str() when length is
14781         also provided.
14782         * WorkArea.C (putClipboard): ditto
14783         * font.h (width): ditto
14784
14785         * BufferView2.C: use it-> instead of (*it). for iterators
14786         * texrow.C: ditto
14787         * paragraph_pimpl.C: ditto
14788         * paragraph.C: ditto
14789         * minibuffer.C: ditto
14790         * language.C: ditto
14791         * kbmap.C: ditto
14792         * encoding.C: ditto
14793         * counters.C: ditto
14794         * converter.C: ditto
14795         * chset.C: ditto
14796         * Variables.C: ditto
14797         * TextCache.C: ditto
14798         * MenuBackend.C: ditto
14799         * LyXAction.C: ditto
14800         * LColor.C: ditto
14801         * FloatList.C: ditto
14802         * DepTable.C: ditto
14803         * ColorHandler.C (LyXColorHandler): ditto
14804
14805 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14806
14807         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14808
14809         * text2.C (openStuff): reintroduce this method (which had been
14810         nuked in NEW_INSETS frenzy).
14811
14812         * lyxfunc.C (Dispatch): when an action has not been handled, use
14813         its name in the error message, not its number.
14814
14815         * paragraph.C (inInset): change method name to begin with lowercase.
14816
14817         * undo_funcs.C:
14818         * text2.C: updates because of this.
14819
14820 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * ToolbarDefaults.C (add): add spaces in error message
14823
14824 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14825
14826         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14827         (readLyXformat2): rename return_par to first_par, use lyxlex's
14828         pushToken and remove the manual push handling.
14829         (parseSingleLyXformat2Token): add another ert comp. variable:
14830         in_tabular, rename return_par to first_par. handle newlines better
14831
14832 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14833
14834         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14835
14836 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14837
14838         * text2.C (getParFromID): removed
14839
14840         * buffer.C (getParFromID): new method moved form lyxtext.
14841         * BufferView2.C (insertErrors): adjust
14842         (setCursorFromRow): adjust
14843         * BufferView_pimpl.C (restorePosition): adjust
14844         * lyxfunc.C (Dispatch): adjust
14845         * undo_funcs.C (textUndo): adjust
14846         (textRedo): adjust
14847         (textHandleUndo): adjust
14848         (textHandleUndo): adjust
14849
14850 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14851
14852         * buffer.C: up' the LYX_FORMAT
14853
14854         * lyxfont.h: turn NO_LATEX on as default
14855
14856         * buffer.C (insertErtContents): new methods of tex style compability.
14857         (parseSingleLyXformat2Token): use it several places.
14858         * tabular.C (OldFormatRead): and here
14859
14860 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14861
14862         * text2.C: remove some commented code.
14863         reindent file.
14864
14865         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14866         * trans.C: changes because of the above.
14867
14868 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14869
14870         * text2.C (setCounter): Fix counters bug with bibliography layout.
14871
14872 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14873
14874         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14875         own member functions
14876         (simpleTeXSpecialChars): ditto
14877
14878 2001-07-06  Juergen Vigna  <jug@sad.it>
14879
14880         * a lot of files: changed the access to LyXText::status and the
14881         call of undo-functions.
14882
14883         * undo.[Ch]: added a inset_id to the undo informations.
14884
14885         * undo_funcs.[Ch]: added and moved here all undo functions.
14886
14887         * lyxtext.h: give the status enum a weight, made status_ a private
14888         variable and made accessor functions for it, removed the whole bunch
14889         of undo-functions as they are now in their own file, make some
14890         functions publically available. Added function ownerParagraph with
14891         int parameter.
14892
14893         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14894         made InInset() a const function, added getParFromID() function.
14895
14896         * buffer.[Ch]: added const version for inset_iterator functions,
14897         added getInsetFromID() function.
14898
14899         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14900         changed undo functions for new version.
14901
14902 2001-07-05  Juergen Vigna  <jug@sad.it>
14903
14904         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14905         unknow mechanism does not call the proper constructor but only this
14906         one also if I request the other!?
14907
14908 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14911
14912         * text2.C (LyXText): use initialization lists.
14913
14914         * lyxtext.h (Selection): initialize set_ and mark_
14915         (init): remove method
14916
14917 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14918
14919         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14920
14921 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * screen.[Ch]: change method names to begin with lowercase
14924
14925         * BufferView_pimpl.C (updateScrollbar): simplify further and
14926         hopefully make it a bit faster.
14927
14928 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14931         calling directly xforms functions.
14932
14933         * Painter.C (Painter):
14934         * lyx_cb.C (MenuWrite):
14935         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14936         fl_display.
14937
14938         * lyx_gui.C: remove bogus guiruntime extern declaration.
14939
14940 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14941
14942         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14943         in NEW_INSETS
14944         (redoDrawingOfParagraph): ditto
14945         (redoParagraphs): ditto
14946         (cutSelection): don't create a object for CutAndPaste use the
14947         static method directly
14948         (pasteSelection): ditto
14949
14950         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14951         LyXview (+ rename)
14952
14953 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * modifications to some other files because of this.
14956
14957         * Makefile.am (lyx_SOURCES): add XFormsView
14958
14959         * XFormsView.[Ch]: new files
14960
14961         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14962         the main window. Move the gui dependent stuff to XFormsView
14963
14964 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * tabular.C (GetCellInset): update cur_cell also in the row/col
14967         version of this function.
14968
14969         * lyxfunc.C: no need to include figure_form.h here.
14970
14971         * FontLoader.h:
14972         * lyxfunc.h:
14973         * lyxscreen.h:
14974         * text2.C:
14975         * lyxvc.C: no need to include forms.h here.
14976
14977 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14980
14981         * lyxfunc.C (Dispatch):
14982         * Spacing.C (set):
14983         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14984         constructor argument.
14985
14986 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14987
14988         * paragraph.C (Paragraph): dont't clear, and just set layout.
14989         (makeSameLayout): use params's copy contructor.
14990
14991         * ParagraphParameters.[Ch] (makeSame): delete method
14992
14993 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14994
14995         * Variables.[Ch]: fix indentation, rename set to isSet
14996
14997 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * lyxfunc.C (Dispatch): fix typo
15000
15001 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15002
15003         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15004         upper_bound.
15005
15006         * bufferlist.C: include assert.h for emergencyWrite().
15007
15008 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15009
15010         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15011           give up at last (bug #425202) !
15012
15013 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15014
15015         * lyx_gui_misc.C:
15016         * sp_form.h:
15017         * sp_form.C:
15018         * spellchecker.h:
15019         * spellchecker.C: strip spellchecker options and bring up
15020           preferences tab instead
15021
15022 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15023
15024         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15025         the istringstream constructor
15026
15027 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15028
15029         * paragraph.C (getLayout): fix return value
15030
15031         * paragraph.h: do not declare getLayout as inline.
15032
15033         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15034
15035 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15036
15037         * lyxcursor.h (operator<): new func
15038         (operator>): new func
15039         (operator>=): new func
15040         (operator<=): new func
15041
15042         * text.C (changeCase): use selection.start and selection.end
15043         (changeRegionCase): require from to be <= to. Require par to be a
15044         valid paragraph.
15045
15046         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15047
15048 2001-06-27  Juergen Vigna  <jug@sad.it>
15049
15050         * text.C (cursorLeftOneWord): changed to return the cursor and added
15051         overlay with BufferView * parameter which calls this one.
15052         (getWord): added
15053         (selectWord): use new getWord function.
15054         (changeCase): renamed from changeWordCase as and extended to work
15055         also on selections.
15056
15057         * lyxtext.h: added enum word_location
15058
15059         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15060         changeCase as this operates now also on selections.
15061
15062 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15063
15064         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15065
15066         * many files: send debug output to Debug::INFO instead of
15067         Debug::ANY.
15068
15069         * converter.C (View):
15070         (Convert):
15071         (Move): send debug output to Debug::FILES instead of console.
15072
15073 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15074
15075         * lyxfunc.C (getStatus): use func_status
15076
15077         * func_status.h: new header, describing the results of
15078         LyXFunc::getStatus;
15079
15080         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15081         LFUN_MATH_HALIGN.
15082
15083 2001-06-25  The LyX Project  <jug@sad.it>
15084
15085         * buffer.C (sgmlOpenTag):
15086         (sgmlCloseTag):
15087         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15088
15089 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * text2.C: remove some dead code
15092
15093         * tabular.C (GetCellInset): store the last cell checked (gotten)
15094
15095         * tabular.h: add the helper for the speedup
15096
15097         * lyxtext.h: remove some dead code
15098
15099 2001-06-26  The LyX Project  <Asger>
15100
15101         * paragraph.C: Change export to LaTeX of alignment to
15102         \begin{center} and family for better roundtrip work with reLyX.
15103
15104         * Tune the math drawing a bit.
15105
15106 2001-06-25  The LyX Project  <Asger>
15107
15108         * LColor.C (LColor): New color for math background. New color
15109         for buttons.
15110
15111 2001-06-25  The LyX Project  <jug@sad.it>
15112
15113         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15114
15115         * lyxfunc.C (Open):
15116         * bufferlist.C (newFile): do not restrict to files ending with
15117         .lyx
15118
15119         * BufferView_pimpl.C (MenuInsertLyXFile):
15120
15121 2001-06-24  The LyX Project  <jug@sad.it>
15122
15123         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15124         of compare_no_case
15125
15126 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * lyxtext.h: rename most methods to begin with a small char.
15129         Lots of changes because of this.
15130
15131         * paragraph.C (Paragraph): do not call fitToSize
15132         (erase): call Pimpl::erase
15133         (insertChar): call Pimpl::insertChar
15134         (insertInset): call Pipl::insertInset
15135         (breakParagraph): do not call fitToSize
15136         (breakParagraphConservative): do not call fitToSize
15137         (fitToSize): remove method
15138
15139         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15140
15141 2001-06-24  The LyX Project  <Asger>
15142
15143         * Fix Qt compilation^2
15144
15145 2001-06-24  The LyX Project  <jug@sad.it>
15146
15147         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15148         depthHook(getDepth()-1).
15149
15150         * paragraph.h:
15151         * ParagraphParameters.h:
15152         * ParameterStruct.h: change type of depth to unsigned int ==
15153         depth_type. Many adaptations to other files before of that.
15154
15155 2001-06-24  The LyX Project  <Asger>
15156
15157         * Fix Qt compilation.
15158
15159 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * paragraph.h: renamed several methods to begin with small letter.
15162         several changes to many parts of the code because of this.
15163
15164 2001-06-23  The LyX Project  <jug@sad.it>
15165
15166         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15167         rewritten to discard all double spaces when KeepEmpty is off
15168         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15169         to only handle newlines but not fiddle with spaces and friends.
15170
15171         * lyxfunc.C (MenuNew): when doing 'new from template', use
15172         template_path as default directory
15173
15174 2001-06-23  The LyX Project  <Asger>
15175
15176         * Clean-up of header file includes all over
15177         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15178
15179 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15180
15181         * paragraph.h: renamed from lyxparagraph.h
15182
15183 2001-06-23  Asger  <lyx@violet.home.sad.it>
15184
15185         * Buffer.h: Removed Buffer::resize
15186         * BufferList.h: Removed BufferList::resize
15187         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15188         the document lazily when we change the width, or the font settings.
15189
15190 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15191
15192         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15193
15194 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * buffer.h: remove out of date comment
15197
15198 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15199
15200         * lyxscreen.h:
15201         * screen.C: fix "theoretical" GC leak
15202
15203 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * LaTeX.C (scanAuxFile):
15206         (deplog): remove trailing \r when reading stream (useful under
15207         win32)
15208
15209 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15210
15211         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15212         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15213         and BufferView::theLockingInset(Inset*), so should use them and not
15214         access bv_->text->the_locking_inset directly.
15215
15216         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15217
15218 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15219
15220         * Makefile.am:
15221         * tex-defs.h: remove old unused file
15222
15223 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15224
15225         * BufferView_pimpl.C: fix typo, remove minibuffer message
15226           when buffer has loaded
15227
15228 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * lyxfunc.C (Dispatch): use stringstream
15231         (MenuNew): use stringstream
15232         (Open): use stringstream
15233
15234         * importer.C (Import): use stringstream
15235
15236         * bufferview_funcs.C (CurrentState): use stringstream
15237
15238         * LaTeX.C (run): use stringstream
15239
15240         * BufferView_pimpl.C (savePosition): use stringstream
15241         (restorePosition): use stringstream
15242         (MenuInsertLyXFile): use stringstream
15243
15244 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15245
15246         * BufferView.C:
15247         * Bullet.C:
15248         * ColorHandler.C:
15249         * FontInfo.C:
15250         * FontLoader.C:
15251         * LColor.C:
15252         * LaTeXFeatures.C:
15253         * Painter.C:
15254         * gettext.C:
15255         * lyx_gui_misc.C:
15256         * lyxserver.C:
15257         * vspace.C: removed // -*- C++ -*- as first line.
15258
15259         * lyxfind.h:
15260         * version.h: added // -*- C++ -*- as first line.
15261
15262 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15265
15266         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15267         of string
15268
15269 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15272         of floats.
15273
15274 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * gettext.C: include LString.h even when --disable-nls is on.
15277
15278 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15279
15280         * converter.h (Get): changed argument type from int to
15281         FormatList::size_type to avoid unnecessary conversion.
15282
15283         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15284         before using it.
15285
15286 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * gettext.h: include LString.h even when --disable-nls is on.
15289
15290 2001-06-07  Juergen Vigna  <jug@sad.it>
15291
15292         * text.C (BreakAgain): subst spaces with tabs.
15293
15294         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15295         (resizeInsetsLyXText): set force on resizeLyXText.
15296
15297 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15298
15299         * gettext.h (gettext_init):
15300         (locale_init): use a real definition instead of a macro
15301
15302 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15303
15304         * Bufferview_pimpl.C:
15305         * LColor.h:
15306         * LColor.C: further lcolor tidies
15307
15308 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15309
15310         * BufferView_pimpl.C (updateScrollbar): simplify.
15311
15312         * BufferView2.C: don't include insets/insetinfo.h, change
15313         prototype for insertInset and call the Pimpl version. let
15314         updateInset call Pimpl version.
15315
15316         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15317         gotoInset to BufferView::Pimpl
15318
15319 2001-06-01  Juergen Vigna  <jug@sad.it>
15320
15321         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15322         inside a LockingInset (is the update needed at all?).
15323
15324 2001-05-31  Juergen Vigna  <jug@sad.it>
15325
15326         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15327         here not the old one otherwise how should we compare it afterwards
15328         if it's the same!
15329
15330 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15331
15332         * lyxfont.C:
15333         * tabular.C:
15334         * tabular-old.C:
15335         * FontInfo.C: bring C functions into global namespace when
15336         necessary
15337
15338 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15339
15340         * LString.h: make sure config.h has been loaded before LString.h.
15341
15342         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15343         (one for each char read by EatLine!).
15344
15345         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15346         variables.
15347
15348 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15349
15350         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15351         to the same as the par we break from
15352
15353 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15354
15355         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15356
15357         * MenuBackend.C (expand): also create menu entries for wide
15358         versions of the floats.
15359
15360         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15361
15362         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15363
15364         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15365         frontends/Makefile.am
15366
15367         * text2.C: adjust
15368         * text.C: adjust
15369
15370
15371         * tabular.C (getTokenValue): add std::
15372
15373         * tabular-old.C (getTokenValue): add std::
15374         (getTokenValue): ditto
15375         (getTokenValue): ditto
15376
15377         * screen.C (ToggleSelection): adjust
15378
15379         * lyxtext.h: put selection cursors inside a Selection struct.
15380
15381         * lyxfunc.C (moveCursorUpdate): adjust
15382
15383         * lyxfont.C (latexWriteStartChanges): add std::
15384
15385         * lyxfind.C: adjust
15386
15387         * font.h: delete with(char const *, LyXFont const &)
15388
15389         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15390
15391         * FontInfo.C (getFontname): add std::
15392
15393         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15394         (workAreaButtonPress): adjust
15395         (tripleClick): adjust
15396         (update): adjust
15397         (moveCursorUpdate): adjust
15398         (Dispatch): adjust
15399
15400         * BufferView2.C (gotoInset): adjust
15401
15402 2001-05-30  Juergen Vigna  <jug@sad.it>
15403
15404         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15405         to check pspell I add this as default as I now have new pspell
15406         libraries and they seem to use this.
15407
15408 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15409
15410         * text2.C (CutSelection): make the cursor valid before the call to
15411         ClearSelection.
15412
15413 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15416         relied on 0 terminated strings and other horrors. Bug found due to
15417         the new assert in lyxstring!
15418
15419         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15420         KP_ keys.
15421
15422 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15425         to latinkeys.bind.
15426
15427         * lyxfunc.C (processKeySym): change method of getting to the
15428         self-insert char.
15429
15430         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15431         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15432         * BufferView_pimpl.[Ch]: here as private methods.
15433
15434 2001-05-28  Juergen Vigna  <jug@sad.it>
15435
15436         * text.C (SetHeightOfRow): added the update() call again as it is
15437         needed to initialize inset dimensions!
15438
15439 2001-05-16  Juergen Vigna  <jug@sad.it>
15440
15441         * text2.C (SetCharFont): Add new function with BufferView * and
15442         bool toggleall parameters for setting insets internal fonts.
15443         (SetFont): Freeze the undo as we may change fonts in Insets and
15444         all this change should be inside only one Undo!
15445
15446         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15447         setting font's in insets as for them we have the SetFont function!
15448
15449 2001-05-15  Juergen Vigna  <jug@sad.it>
15450
15451         * text2.C (ClearSelection): to be sure we REALLY don't have any
15452         selection anymore!
15453
15454         * tabular.C (TeXCellPreamble): fixed the left border problem for
15455         multicolumn cells.
15456
15457 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15458
15459         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15460         dependancy file
15461
15462 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15463
15464         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15465         LFUN_BREAKPARAGRAPH.
15466
15467         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15468         help test to "internal only", similar for LFUN_INSERT_URL
15469
15470         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15471         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15472         auto_region_delete and deadkeys.
15473
15474 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15475
15476         * LColor.h:
15477         * LColor.C: remove some dead entries, tidy a little
15478
15479 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15482         commented code.
15483         (Dispatch): implement LFUN_ESCAPE
15484
15485         * commandtags.h: add LFUN_ESCAPE
15486
15487         * LyXAction.C (init): add entry for LFUN_ESCAPE
15488
15489         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15490         Remove commented code.
15491         (insertNote): moved here
15492         (open_new_inset): moved here
15493
15494         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15495         BufferView_pimpl
15496
15497 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15498
15499         * kbmap.C (findbinding): clean it up and make it work correctly.
15500
15501         * lyx_main.C (init): do not pass argc and argv as parameters
15502
15503 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15504
15505         * buffer.C: fix path for OS/2 & Win32
15506
15507         * lyx_gui.C:
15508         * lyx_main:
15509         * lyx_main.C: Added os:: class.
15510
15511         * os2_defines.h: update
15512
15513 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15514
15515         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15516         better by trying again with reduced state.
15517
15518 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * lyxrc.C (read): print error about invalid key sequence only when
15521         debugging (because not all latinX keysyms are known to some X
15522         servers)
15523
15524         * kbsequence.C (getiso): add a few std:: qualifiers
15525         (getiso): comment out extra return statement.
15526
15527 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15528
15529         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15530         handling.
15531         (Dispatch): enhance the accent inset a bit. (not perfect)
15532
15533 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15534
15535         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15536
15537 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15538
15539         * bufferlist.C (emergencyWrite): fix assert() call
15540
15541 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15542
15543         * text.C (InsertChar): Added trivial patch to only send the "you
15544         can not do multiple spaces this way" message once during a
15545         session.
15546
15547 2001-05-08  Baruch Even  <baruch@lyx.org>
15548
15549         * Makefile.am: Changed order of libraries to get LyX to link properly
15550         with the gnome frontend.
15551
15552 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15553
15554         * LaTeXFeatures.h: add a std:: qualifier
15555
15556 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15557
15558         * paragraph.C (String): use stringstream
15559
15560 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15561
15562         * paragraph.C (writeFile): remove footflag arg
15563
15564         * buffer.C (makeLaTeXFile): use stringstream
15565         (latexParagraphs): remove footnot gurba
15566
15567         * LaTeXFeatures.C (getPackages): use stringstream
15568         (getMacros): likewise
15569         (getTClassPreamble): likewise
15570         (getFloatDefinitions): new method
15571
15572         * paragraph.C (writeFile): reindent
15573         (Erase): reindent
15574
15575         * WorkArea.h: revert the xpos + etc changes.
15576
15577         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15578
15579         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15580
15581         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15582         (pasteSelection): likewise
15583         * text2.C (CreateUndo): likewise
15584
15585 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15586
15587         * minibuffer.C (peek_event): temporarily reduce the functionality
15588         of the minibuffer (to allow args on lfuns)
15589
15590         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15591         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15592
15593         * buffer.C (readInset): add compability reading of old float
15594         lists, add reading of new style float list.
15595         (readInset): avoid reevaluation of inscmd.getCmdName()
15596         (getLists): reindent
15597
15598         * MenuBackend.C (MenuItem): implement parsing of
15599         md_floatlistinsert and md_floatinsert.
15600         (expand::LastFiles): move initalizaton of iterators out of loop,
15601         avoid reevaluation.
15602         (expand::Documents): introduce typdedef vector<string> Strings,
15603         and use it.
15604         (expand::ExportFormats): introduce typedef vector<Format const *>
15605         Formats, and use it.
15606         (expand): implement FloatListInsert and FloatInsert.
15607
15608         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15609         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15610         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15611
15612         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15613         handling.
15614         (Dispatch::LFUN_FLOAT_LIST): implement
15615
15616 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15617
15618         * LaTeX.C (run): Fix problem with --export code.
15619
15620 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15621
15622         * BufferView.[Ch] (workarea): removed.
15623         (getClipboard) new method; wrapper for workarea()->getClipboard()
15624
15625         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15626         bug.
15627
15628         * WorkArea.h (width, height, xpos, ypos): These methods all
15629         returned the dimensions of the work_area sub-area of WorkArea,
15630         resulting in a position error if the WorkArea were resized. Now
15631         return the dimensions of the entire WorkArea.
15632
15633         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15634
15635 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * LaTeX.C (deplog): correct the syntax of regex reg1
15638
15639 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15640
15641         * undo.C: remove !NEW_INSETS cruft
15642
15643 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15644
15645         * text2.C: remove !NEW_INSETS cruft
15646
15647         * text.C: remove !NEW_INSETS cruft
15648
15649         * tabular.C: remove !NEW_INSETS cruft
15650
15651         * spellchecker.C: remove !NEW_INSETS cruft
15652
15653         * lyxtext.h: remove !NEW_INSETS cruft
15654
15655         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15656
15657         * lyxfunc.C: remove !NEW_INSETS cruft
15658
15659         * lyxfind.C: remove !NEW_INSETS cruft
15660
15661         * lyx_cb.C: remove !NEW_INSETS cruft
15662
15663         * figureForm.C: remove  !NEW_INSETS cruft
15664
15665         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15666
15667         * buffer.[Ch]: remove !NEW_INSETS cruft
15668
15669         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15670
15671         * CutAndPaste.C: remove !NEW_INSETS cruft
15672
15673         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15674
15675         * BufferView2.C: remove !NEW_INSETS cruft
15676
15677         * BufferView.h: remove !NEW_INSETS cruft
15678
15679 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15680
15681         * Lsstream.h: include LString.h before the sstream headers to
15682         fix problem with gcc 2.95.3 and lyxstring
15683
15684 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15685
15686         * lyx_main.C: add using directives when needed for C functions
15687         declared in std:: namespace.
15688
15689 2001-04-27  Juergen Vigna  <jug@sad.it>
15690
15691         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15692         (SetHeightOfRow): comment out the update call should not be needed!
15693
15694 2001-04-13  Juergen Vigna  <jug@sad.it>
15695
15696         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15697         (LyXTabular): tried to minimize operator= operations (and realized
15698         hopfully Lars wish).
15699
15700 2001-04-27  Juergen Vigna  <jug@sad.it>
15701
15702         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15703
15704 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15705
15706         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15707
15708         * buffer.C (readInset): hack to make listof algorithm work
15709
15710         * BufferView_pimpl.C: hack to make listof algorithm work
15711
15712 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15713
15714         * LyXAction.C: removed all !NEW_INSETS cruft
15715         (init): moved lfun_item in method
15716
15717         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15718
15719 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15720
15721         * BufferView2.C (theLockingInset): white space.
15722
15723 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15724
15725         * minibuffer.C: include <iostream>
15726
15727         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15728
15729         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15730
15731         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15732
15733         * text.[Ch] (TransposeChars): new method
15734
15735 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15736
15737         * call message directly through LyXView instead of through LyXFunc
15738         * BufferView2.C: adjust
15739         * BufferView_pimpl.C: adjust
15740         * FontLoader.C: adjust
15741         * buffer.C: adjust
15742         * bufferview_funcs.C: adjust
15743         * converter.C: adjust
15744         * figureForm.C: adjust
15745         * importer.C: adjust
15746         * lyx_cb.C: adjust
15747         * lyx_gui_misc.C: adjust
15748         * lyxfunc.C: adjust
15749         * lyxvc.C: adjust
15750         * text2.C: adjust
15751         + more files in subdirs
15752
15753         * lyxparagraph.h (size): move up int file
15754         (GetLayout): ditto
15755
15756         * adjust all uses of Assert to lyx::Assert.
15757
15758         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15759         lyxfunctional in namespace lyx
15760         * layout.C (hasLayout): ditto
15761         (GetLayout): ditto
15762         (GetLayout): ditto
15763         (delete_layout): ditto
15764         (NumberOfClass): ditto
15765         * converter.C (GetFormat): ditto
15766         (GetNumber): ditto
15767         (Add): ditto
15768         (Delete): ditto
15769         (SetViewer): ditto
15770         * bufferlist.C (getFileNames): ditto
15771         (emergencyWriteAll): ditto
15772         (exists): ditto
15773         (getBuffer): ditto
15774         * MenuBackend.C (hasSubmenu): ditto
15775         (hasMenu): ditto
15776         (getMenu): ditto
15777         * BufferView_pimpl.C (getInsetByCode): ditto
15778
15779 2001-04-18  Juergen Vigna  <jug@sad.it>
15780
15781         * vspace.C (asLatexString): fixed the 100% problem.
15782
15783 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15784
15785         * lyxfunc.C (Dispatch):
15786         * minibuffer.C:
15787         * minibuffer.h: add a few std:: qualifiers
15788
15789 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15790
15791         * minibuffer.[Ch]: reimplement so that commands is initiated and
15792         run from lyxfunc, simplified som handling, and made the completion
15793         and history code for complete. wip.
15794
15795         * lyxfunc.C (processKeySym): call message
15796         (miniDispatch): new temporary method
15797         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15798         (LFUN_MESSAGE): implement
15799         (LFUN_MESSAGE_PUSH): implement
15800         (LFUN_MESSAGE_POP): implement
15801         (initMiniBuffer): the initial/defualt minibuffer message.
15802
15803         * lyxfont.[Ch]: inline some more getters
15804
15805         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15806
15807         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15808
15809         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15810         (AutoSave): use LFUN_MESSAGE
15811         (Reconfigure): ditto
15812
15813         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15814
15815         * figureForm.C: use LFUN_MESSAGE
15816
15817         * converter.C (runLaTeX): use LFUN_MESSAGE
15818
15819         * bufferview_funcs.C: use LFUN_MESSAGE
15820         (Melt): ditto
15821         (changeDepth): ditto
15822
15823         * bufferparams.h: use boost::
15824
15825         * bufferlist.h: inherit privately from noncopyable
15826
15827         * bufferlist.C (loadLyXFile): remove some commented code.
15828
15829         * buffer.C (runChktex): use LFUN_MESSAGE
15830
15831         * ShareContainer.h: inherit privately from noncopyable
15832
15833         * ParagraphParameters.[hC] (depth): inline it.
15834
15835         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15836         methods.
15837         (message): new method
15838         (messagePush): ditto
15839         (messagePop): ditto
15840         (show): init minibuffer
15841         (showState): direct call
15842
15843         * LaTeX.[Ch]: inherit privately from noncopyable
15844         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15845         instead of WriteStatus.
15846
15847         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15848
15849         * BufferView_pimpl.C (buffer): don't init minibuffer
15850         (workAreaButtonPress): use LFUN_MESSAGE
15851         (workAreaButtonRelease): ditto
15852         (savePosition): ditto
15853         (restorePosition): ditto
15854         (MenuInsertLyXFile): ditto
15855         (workAreaExpose): don't init minibuffer
15856         (update): remove commented code, simplify
15857
15858         * BufferView2.C (openStuff): use LFUN_MESSAGE
15859         (toggleFloat): ditto
15860         (menuUndo): ditto
15861         (menuRedo): ditto
15862         (copyEnvironment): ditto
15863         (pasteEnvironment): ditto
15864         (copy): ditto
15865         (cut): ditto
15866         (paste): ditto
15867         (gotoInset): ditto
15868         (updateInset): remove some commented code
15869
15870         * lastfiles.h: inherit privately from noncopyable
15871         * layout.h: ditto
15872         * lyx_gui.h: ditto
15873         * lyx_main.h: ditto
15874         * lyxlex.h: ditto
15875         * lyxlex_pimpl.h: ditto
15876
15877         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15878         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15879         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15880
15881         * LyXAction.h: inherit privately from noncopyable, add methods
15882         func_begin, func_end, returning iterators to the func map.
15883
15884         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15885         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15886         (func_begin): new method
15887         (func_end): new method
15888
15889         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15890         and not)
15891         (copySelection): ditto
15892         (pasteSelection): ditto
15893
15894         * BufferView.C: whitespace change
15895         * BufferView.h: inherit privately from noncopyable
15896
15897 2001-04-16  Allan Rae  <rae@lyx.org>
15898
15899         * tabular-old.C (l_getline):
15900         * spellchecker.C (sc_check_word):
15901         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15902         an unrecognised preprocessor directive.  So ensure they're wrapped.
15903
15904 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15905
15906         * src/exporter.C (Export): Give an error message when path to file
15907         contains spaces.
15908
15909 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15910
15911         * LaTeX.C (deplog): Always check that foundfile exists.
15912
15913 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15914
15915         * lyx_main.h:
15916         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15917
15918 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * tabular.[Ch] (getLabelList): implement new method
15921
15922         * minibuffer.h: comment ouf setTiimer
15923
15924         * minibuffer.C (ExecutingCB): constify res
15925         (peek_event): constify s
15926         (Set): constify ntext
15927         (Init): constify nicename
15928
15929         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15930
15931         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15932         (savePosition): use two params to Minibuffer::Set
15933         (restorePosition): ditto
15934
15935 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * lyx_main.C: include language.h
15938
15939         * Makefile.am (lyx_main.o): add language.h
15940
15941 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * exporter.C:
15944         * paragraph.C:
15945         * screen.C:
15946         * tabular.C:
15947         * CutAndPaste.C: include gettext.h
15948
15949         * lyxfont.h: remove old hack with ON and OFF.
15950
15951         * lyxparagraph.h:
15952         * lyxfont.h: do not include language.h...
15953
15954         * BufferView2.C:
15955         * LaTeXFeatures.C:
15956         * Painter.C:
15957         * bufferview_funcs.C:
15958         * font.C:
15959         * lyxfont.C:
15960         * text.C:
15961         * text2.C:
15962         * trans_mgr.C:
15963         * paragraph.C: ... but do it here instead
15964
15965 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15966
15967         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15968
15969         * tabular.C: small reformat
15970
15971         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15972         NEW_INSETS version
15973         (GetChar): ditto
15974         (BreakParagraph): ditto
15975         (SetOnlyLayout): ditto
15976         (SetLayout): ditto
15977
15978         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15979         with one arg less.
15980
15981         * lastfiles.C: removed most using decl, add std:: where needed
15982
15983         * buffer.C: ws changes
15984
15985         * MenuBackend.C (class compare_format): put into anon namespace
15986         (expand): constify label, names, action, action2
15987         (expand):
15988
15989         * text.C (SingleWidth): constify font
15990         (IsBoundary): constify rtl2
15991         (GetVisibleRow): constify ww
15992
15993         * LaTeX.C (deplog): constify logfile
15994
15995         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15996         start_x, end_x
15997         (workAreaExpose): constify widthChange, heightChange
15998
15999         * lyxrow.C (par): moved
16000         (height): moved
16001         (next): moved
16002         * lyxrow.h: as inlines here
16003
16004         * lyxfont.h (shape): moved from lyxfont.C
16005         (emph): moved from lyxfont.C
16006
16007         * lyxfont.C (LyXFont): use initialization list for all
16008         constructors
16009         (shape): move to lyxfont.h as inline
16010         (emph): move to lyxfont.h as inline
16011
16012
16013 2001-04-04  Juergen Vigna  <jug@sad.it>
16014
16015         * vspace.C: had to include stdio.h for use of sscanf
16016
16017 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16018
16019         * BufferView.h:
16020         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16021         independent of xforms.
16022
16023 2001-04-02  Juergen Vigna  <jug@sad.it>
16024
16025         * spellchecker.C: fixed namespace placing!
16026
16027 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16028
16029         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16030         the LyXParagraph * is 0.
16031
16032 2001-03-29  Juergen Vigna  <jug@sad.it>
16033
16034         * vspace.C: added support for %, c%, p%, l%.
16035         (stringFromUnit): added helper function.
16036         (asLatexString): changed to give right results for the %-values.
16037
16038         * buffer.C: convert the widthp in a width%.
16039
16040 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16041
16042         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16043         figureForm.[Ch].
16044
16045         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16046         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16047
16048         * lyx_cb.[Ch]: see above.
16049
16050         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16051         form1.[Ch].
16052
16053         * form1.[Ch]:
16054         * lyx.[Ch]: replaced by figure_form.[Ch].
16055
16056         * lyx_gui.C:
16057         * lyx_gui_misc.C:
16058         * lyxfunc.C: changed headers associated with above changes.
16059
16060 2001-03-27  Juergen Vigna  <jug@sad.it>
16061
16062         * BufferView_pimpl.C: set the temporary cursor right!
16063
16064 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16065
16066         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16067
16068 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16069
16070         * LString.h: removed "using std::getline"!
16071
16072         * BufferView_pimpl.C (Dispatch): changes due to changes in
16073         InsetInclude::Params.
16074
16075         * buffer.C (tag_name): removed redundant break statements as they were
16076         producing lots of warnings with my compiler.
16077
16078 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16079
16080         * LString.h: add "using std::getline" when using the real <string>.
16081
16082 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16083
16084         * buffer.C: removed bitset usage.
16085         PAR_TAG moved to an anonymous name space.
16086         (tag_name): new funtion, also in the anonymous namespace.
16087         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16088         (makeDocBookFile): clean code. Completed transition from string arrays
16089         to string vectors.
16090         (SimpleDocBookOnePar): code clean.
16091
16092 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16093
16094         * tabular.C: add some comments.
16095
16096 2001-03-22  Juergen Vigna  <jug@sad.it>
16097
16098         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16099         compatibility read a bit and fixed bug with minipage in different
16100         depth.
16101
16102 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16103
16104         * buffer.C (pop_tag): removed.
16105         (push_tag): removed.
16106         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16107         array replaced with vector. Added support for CDATA sections.
16108         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16109         at any nest level.
16110         (makeDocBookFile): XML conformant declaration of CDATA section,
16111         fixed bug related to <emphasis> in the first paragraph char.
16112         (sgmlOpenTag): exclude empty tags.
16113         (sgmlCloseTag): ditto.
16114
16115         * buffer.h (pop_tag): removed.
16116         (push_tag): removed.
16117
16118 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16119
16120         * language.h (Languages): added size_type and size().
16121
16122 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16123
16124         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16125         response on compability reading of minipages. One probliem is that
16126         the old usage of minipages was «flertydig»
16127
16128         * several files here and in subdirs: don't use static at file
16129         scope use anon namespaces instead.
16130
16131 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16132
16133         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16134         LaTeX output. This is necessary for Literate document
16135         processing.
16136
16137 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16138
16139         * buffer.C: insert hfill when needed.
16140
16141         * tabular.C (l_getline): use string::erase, small whitespace change.
16142
16143         * BufferView_pimpl.C: try the anon namespace.
16144         * WorkArea.C: ditto
16145
16146 2001-03-16  Juergen Vigna  <jug@sad.it>
16147
16148         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16149         otherwise it won't open options-dialogs.
16150
16151         * buffer.C: honor pextraWidth(p) on converting minipages.
16152
16153         * tabular.C (l_getline): changed the functions to strip trailing \r.
16154
16155 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16156
16157         * BufferView_pimpl.C:
16158         * minibuffer..C: added "using SigC::slot" declaration.
16159
16160 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16161
16162         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16163
16164         * text2.C: ditto
16165
16166         * text.C: ditto
16167
16168         * paragraph.C: ditto
16169
16170         * lyxtext.h: NO_PEXTRA
16171
16172         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16173
16174         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16175         * ParameterStruct.h: ditto
16176         * ParagraphParameters.h: ditto
16177         * lyxparagraph.h: ditto
16178
16179 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16180
16181         * buffer.C: add compability for minipage alignment.
16182         (latexParagraphs): remove unwanted pextra check.
16183
16184         * several files: remove CXX_WORKING_NAMESPACES
16185
16186         * buffer.C (pop_tag): tie is in namespace boost
16187
16188         * BufferView.h: noncopyable is in namespace boost
16189         * lyxlex.h: ditto
16190         * lyx_main.h: ditto
16191         * lyx_gui.h: ditto
16192         * layout.h: ditto
16193         * lastfiles.h: ditto
16194         * bufferlist.h: ditto
16195         * ShareContainer.h: ditto
16196         * LyXView.h: ditto
16197         * LyXAction.h: ditto
16198         * LaTeX.h: ditto
16199
16200 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16201
16202         * Merging changes from BRANCH_MVC back into HEAD.
16203
16204         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16205
16206 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16207
16208         * BufferView_pimpl.C: change from intl.C
16209
16210         * combox.h:
16211         * combox.C:
16212         * Makefile.am: move combox.*
16213
16214         * form1.h:
16215         * form1.C:
16216         * lyx_gui.C:
16217         * intl.h:
16218         * intl.C: remove dialog (covered by prefs)
16219
16220 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16221
16222         * lyxfunc.C (Dispatch): removed redundant break statement.
16223
16224 2001-03-14  Juergen Vigna  <jug@sad.it>
16225
16226         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16227
16228 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16229
16230         * buffer.C: add hack to fix compability reading of minipages.
16231
16232 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16233
16234         * buffer.C (getLists): Cleanup.
16235
16236 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16237
16238         * lyxfont.C (update): don't honor toggleall on font size.
16239
16240 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16241
16242         * bmtable.c:
16243         * bmtable.h:
16244         * Makefile.am: moved to frontends/xforms/
16245
16246         * lyx_gui_misc.C:
16247         * lyxfunc.C:
16248         * BufferView_pimpl.C: changes for moved mathpanel
16249
16250 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16251
16252         * gettext.h: fix gettext_init() in --disable-nls
16253
16254 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16257
16258 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16259
16260         * lyx.C:
16261         * lyx.h: strip external form
16262
16263 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16264
16265         * BufferView_pimpl.C: add comment, destroySplash()
16266
16267 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16268
16269         * BufferView_pimpl.C:
16270         * LyXAction.C:
16271         * buffer.C:
16272         * commandtags.h:
16273         * lyxfunc.C: use re-worked insetinclude
16274
16275 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16276
16277         * buffer.C: add using std::stringstream.
16278
16279         * lyx_cb.C: readd using std::ios.
16280
16281         * buffer.C: add using std::map.
16282
16283         * BufferView_pimpl.C: add using std::vector.
16284
16285         * ShareContainer.h: add std:: to swap.
16286
16287         * buffer.h: add some typedefs
16288         * buffer.C (getLists): use them
16289         (getLists): renamed from getTocList.
16290         add a counter for the different float types and use it in the
16291         generated string.
16292         (getLists): use the same counter for the NEW_INSETS and the "non"
16293         NEW_INSETS
16294
16295         * lyx_cb.h: remove unused items, includes, using etc.
16296
16297         * ShareContainer.h: remove some commented code, add more comments
16298         and "documentation".
16299
16300 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16301
16302         * buffer.C (getTocList): make the list also when NEW_INSETS is
16303         defined.
16304
16305         * buffer.h: remove TocType
16306
16307         * buffer.C (getTocList): change to return a map<string,
16308         vector<TocItem> >, implement for dynamic number of list.
16309
16310         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16311         * text2.C (PasteSelection): adjust
16312         * CutAndPaste.C (pasteSelection): adjust
16313
16314         * FloatList.C (FloatList): update from the new_insets branch.
16315         * Floating.[Ch]: ditto
16316         * LaTeXFeatures.C: ditto
16317         * buffer.C: ditto
16318         * lyxlex_pimpl.C: ditto
16319
16320         * paragraph.C (Last): remove when NEW_INSETS is defined.
16321
16322         * other file: changes because of the above.
16323
16324 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16325
16326         * lyxparagraph.h: rename next to next_, previous to previous_,
16327         make them private for NEW_INSETS. Rename Next() to next(),
16328         Previous() to previous().
16329
16330         * other files: changes because of the above.
16331
16332 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16333
16334         * BufferView.h:
16335         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16336         problem.
16337
16338 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16339
16340         * main.C (main): pass lyx_localedir to gettext_init().
16341
16342         * gettext.h: remove locale_init and gettext_init macros
16343
16344         * gettext.C (locale_init): new function
16345         (gettext_init): new function
16346
16347         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16348         setlocale().
16349
16350 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16351
16352         * Moved credits to frontends:
16353         * credits.[Ch]: removed
16354         * credits_form.[Ch]: removed
16355         * lyx_gui_misc.C: remove credits stuff
16356         * Makefile.am:
16357
16358 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16359
16360         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16361
16362         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16363         unneeded destructor.
16364
16365         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16366         a standalone pointer again.
16367
16368         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16369
16370 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16371
16372         * Makefile.am:
16373         * filedlg.h:
16374         * filedlg.C:
16375         * LyXAction.C:
16376         * ToolbarDefaults.C:
16377         * bufferlist.C:
16378         * commandtags.h:
16379         * form1.C:
16380         * form1.h:
16381         * lyx_cb.C:
16382         * lyx_cb.h:
16383         * lyxfunc.h:
16384         * lyxfunc.C:
16385         * BufferView_pimpl.C: use new file dialog in GUII
16386
16387         * lyx_cb.h:
16388         * lyx_cb.C: remove LayoutsCB to Toolbar
16389
16390 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * ShareContainer.h (get): add std:: qualifier
16393
16394 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16395
16396         * ShareContainer.h: define a proper ShareContainer::value_type
16397         type (and use typename to please compaq cxx)
16398
16399 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16400
16401         * lyxparagraph.h: move serveral local vars to
16402         ParameterStruct/ParagraphParameters., use ShareContainer in
16403         FontTable., make vars in FontTable private and add getter and
16404         setter.
16405
16406         * paragraph.C: changes because of the above.
16407
16408         * lyxfont.h: remove copy constructor and copy assignment. (the
16409         default ones is ok), move number inside FontBits. move inlines to
16410         lyxfont.C
16411
16412         * lyxfont.C: add number to initializaton of statics, move several
16413         inlines here. constify several local vars. some whitespace
16414         cleanup. Dont hide outerscope variables.
16415
16416         * Spacing.h: add two new constructors to match the set methods.
16417
16418         * ShareContainer.h: new file, will perhaps be moved to support
16419
16420         * ParameterStruct.h: new file
16421
16422         * ParagraphParameters.h: new file
16423
16424         * ParagraphParameters.C: new file
16425
16426         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16427         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16428
16429         * BufferView_pimpl.C: ParagraphParameter changes.
16430         * buffer.C: Likewise.
16431         * bufferview_funcs.C: Likewise.
16432         * text.C: Likewise.
16433         * text2.C: Likewise.
16434
16435 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * lyxfind.C (LyXReplace): do not redefine default argument in
16438         implementation.
16439         (IsStringInText): ditto
16440         (SearchForward): ditto
16441         (SearchBackward): ditto
16442
16443 2001-03-06  Juergen Vigna  <jug@sad.it>
16444
16445         * lyxfind.C (IsStringInText): put parentes around expressions.
16446
16447 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16448
16449         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16450
16451 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16452
16453         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16454
16455         * stl_string_fwd.h: add comment
16456
16457         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16458
16459         * tabular.h:
16460         * tabular.C: remove unused DocBook methods
16461
16462         * intl.C:
16463         * language.C:
16464         * paragraph.C:
16465         * buffer.C:
16466         killed DO_USE_DEFAULT_LANGUAGE
16467
16468 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16469
16470         * lyx_gui.C: do not include language.h.
16471
16472         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16473         arguments in function implementation.
16474
16475 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16476
16477         * BufferView_pimpl.C: add <ctime>
16478
16479 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16480
16481         * BufferView_pimpl.C: add using std::find_if
16482
16483 2001-02-27  José Matos  <jamatos@fep.up.pt>
16484
16485         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16486         by OnlyPath.
16487
16488 2001-02-11  José Matos  <jamatos@fep.up.pt>
16489
16490         * buffer.C (makeDocBookFile): command styles now have a parameter as
16491         "title" by default.
16492
16493 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16494
16495         * layout_forms.[Ch]: removed
16496         * lyx_cb.[Ch]: out character
16497         * lyx_gui.C: out character
16498         * lyx_gui_misc.C: out character
16499         * bufferview_funcs.C: : out character,
16500         added toggleall as parameter in ToggleAndShow
16501
16502 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16503
16504         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16505
16506         * text2.C (SetCurrentFont): Disable number property at boundary.
16507
16508 2001-02-26  Juergen Vigna  <jug@sad.it>
16509
16510         * lyxfunc.C (getStatus): added a string argument override function so
16511         that this is correctly called from LyXFunc::Dispatch if it contains a
16512         do_not_use_argument which is used!
16513         (Dispatch): added check for "custom" export and call appropriate func.
16514
16515 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16516
16517         * lyxrc.C: Add language_command_local, language_use_babel and
16518         language_global_options.
16519
16520         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16521
16522         * buffer.C (makeLaTeXFile): Use language_use_babel and
16523         language_global_options.
16524
16525 2001-02-23  Juergen Vigna  <jug@sad.it>
16526
16527         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16528         which works with LyXText and putted it inside BufferView. Here now we
16529         only call for that part the BufferView::Dispatch() function.
16530
16531         * BufferView.C (Dispatch): added.
16532
16533         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16534         functions which needs to use a LyXText over from LyXFunc.
16535         (MenuInsertLyXFile): added
16536         (getInsetByCode): added
16537         (moveCursorUpdate): added
16538         (static TEXT): added
16539
16540 2001-02-22  Juergen Vigna  <jug@sad.it>
16541
16542         * BufferView_pimpl.C (update): call a status update to see if LyXText
16543         needs it.
16544
16545 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16546
16547         * vc-backend.C (revert): implement for CVS
16548         (getLog): implement for CVS
16549
16550 2001-02-20  Juergen Vigna  <jug@sad.it>
16551
16552         * text2.C (ClearSelection): added BufferView param for inset_owner call
16553
16554         * lyxfunc.C (TEXT): added this function and use it instead of
16555         directly owner->view()-text of getLyXText().
16556
16557 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16558
16559         * src/layout_forms.C: out preamble
16560         * src/layout_forms.h: out preamble
16561         * src/lyx_cb.C: out preamble
16562         * src/lyx_cb.h: out preamble
16563         * src/lyx_gui.C: out preamble
16564         * src/lyx_gui_misc.C: out preamble
16565         * src/lyxfunc.C: connect with guii preamble
16566
16567 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16568
16569         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16570
16571 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16572
16573         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16574         whether to run bibtex.
16575
16576 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16577
16578         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16579
16580 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16581
16582         * Makefile.am (lyx_SOURCES): removed bibforms.h
16583
16584         * vspace.h: doxygen
16585
16586         * text.C (GetVisibleRow): make several local vars const
16587
16588         * tabular.C: small cleanup.
16589
16590         * lyxserver.C (callback): use compare instead of strncmp
16591
16592         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16593         inlines to after class or to paragraph.C
16594
16595         * lyxfont.h: remove friend operator!=
16596
16597         * converter.h: move friend bool operator< to non friend and after
16598         class def.
16599
16600         * combox.h: small cleanup
16601
16602         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16603         to inlines after class def.
16604
16605         * buffer.C (pop_tag): use string operations instead of strcmp
16606
16607         * bmtable.c: doxygen, small cleanup
16608
16609         * LaTeX.h: remove friend operator==
16610
16611 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16612
16613         * screen.C:
16614         * lyxrc.[Ch]:
16615         * lyxfunc.C:
16616         * lyxfont.[Ch]:
16617         * lyx_cb.C:
16618         * intl.[Ch]:
16619         * commandtags.h:
16620         * buffer.C:
16621         * WorkArea.[Ch]:
16622         * LyXAction.C:
16623         * BufferView_pimpl.C:
16624         * BufferView.[Ch]: remove cruft
16625
16626 2001-02-14  Juergen Vigna  <jug@sad.it>
16627
16628         * lyxfunc.C: removed #if 0 unused code
16629
16630         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16631
16632         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16633
16634         * text2.C (SetSelection): added a BufferView * parameter
16635
16636 2001-02-13  Juergen Vigna  <jug@sad.it>
16637
16638         * lyxfunc.C (Dispatch): fixed protected blank problem.
16639         * BufferView2.C (protectedBlank): added LyxText * parameter.
16640
16641         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16642         (AppendColumn): same as above for column_info.
16643
16644         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16645         (moveCursorUpdate): use a LyXText param for support of InsetText.
16646
16647         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16648         (tripleClick): ditto
16649
16650         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16651
16652         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16653
16654         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16655
16656         * text2.C (SetSelection): set correct update status if inset_owner
16657         (ToggleFree): ditto
16658
16659 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16660
16661         * tabular.C: remove some commented code.
16662
16663 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16664
16665         * BufferView_pimpl.C: call hideSplash()
16666
16667         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16668
16669         * include_form.h:
16670         * bibforms.h: remove
16671
16672         * lyxfunc.C:
16673         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16674           add LFUN_CHILD_CREATE
16675
16676         * counters.h: fix tiny typo
16677
16678         * lyx_cb.C:
16679         * lyx.h:
16680         * lyx_gui.C:
16681         * lyx.C: move splash to frontends/xforms/
16682
16683         * lyx_gui_misc.C: move Include and Bibform to frontends
16684
16685         * lyxvc.h: clarify comment
16686
16687         * vspace.C: tiny housekeeping
16688
16689 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16690
16691         * text.C (PrepareToPrint): RTL Fix.
16692
16693         * paragraph.C (GetUChar): New method.
16694         (String):  Use GetUChar.
16695
16696         * buffer.C (asciiParagraph): Use GetUChar.
16697
16698 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16699
16700         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16701
16702 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16703
16704         * buffer.h:
16705         * buffer.C: rename to getLogName(), handle
16706           build log / latex log nicely
16707
16708 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16709
16710         * MenuBackend.C:
16711         * MenuBackend.h: remove support for reference menuitem type.
16712
16713 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16714
16715         * BufferView_pimpl.C: housekeeping
16716         * BufferView_pimpl.h:
16717         * LyXView.h:
16718         * Makefile.am:
16719         * Timeout.C:
16720         * Timeout.h:
16721         * minibuffer.h: move Timeout GUI-I
16722
16723 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16724
16725         * lyxrc.C (read): Update converters data-structures.
16726
16727 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16728
16729         * LaTeX.h (operator!=): add operator != for Aux_Info
16730
16731 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16732
16733         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16734
16735         * LaTeXLog.C: deleted, useful code moved to Buffer
16736
16737         * buffer.h:
16738         * buffer.C: new function getLatexLogName()
16739
16740         * lyx_gui_misc.C:
16741         * lyx_gui.C:
16742         * lyxvc.C:
16743         * lyxvc.h:
16744         * lyxfunc.C: use frontends for LaTeX and VC logs
16745
16746 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16747
16748         * LaTeX.h: yet another std:: that Allan forgot.
16749
16750         * Variables.C (set): renamed from isset(), because this clashes
16751         with some HP-UX macros (grr).
16752
16753 2001-02-06  Allan Rae  <rae@lyx.org>
16754
16755         * LaTeX.h: Another bug fix.  Missing std:: this time.
16756
16757 2001-02-04  Allan Rae  <rae@lyx.org>
16758
16759         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16760         floats problem. I've left it commented out because it's not quite
16761         correct.  It should also test that the current object is a table or
16762         figure inset.  But I haven't gotten around to figuring out how to do
16763         that.  I *think* it'll be something like: "table" == inset.type()
16764
16765         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16766         bool.
16767
16768 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16769
16770         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16771         all the citation/databases/styles in the auxilary file.
16772         (run): Rerun latex if there was a babel language error.
16773
16774 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16775
16776         * text.C (Backspace): Preserve the font when changing newline char
16777         with a space.
16778         (BreakParagraph): If the cursor is before a space, delete the space.
16779
16780         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16781
16782 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16783
16784         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16785         new argument (code).
16786         (ChangeCitationsIfUnique): New method.
16787
16788         * paragraph.C (GetPositionOfInset): Handle bibkey.
16789
16790 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * BufferView_pimpl.h: change type of Position::par_pos to
16793         LyXParagraph::size_type.
16794
16795 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16796
16797         * BufferView_pimpl.C (savePosition, restorePosition): Write
16798         messages to minibuffer.
16799
16800 2001-01-28  José Matos  <jamatos@fep.up.pt>
16801
16802         * buffer.C (makeDocBookFile): adds support for document language.
16803         A silly restriction on the name of LatexCommand types where removed.
16804         Added support for CDATA sections, allows to chars unescaped, used
16805         among others in code, to avoid escape < and >.
16806
16807 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16808
16809         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16810         saved positions instrad of a stack. Furthermore, a position is
16811         stored using paragraph id/paragraph position.
16812
16813         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16814         Remove LFUN_REF_BACK.
16815
16816 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16817
16818         * converter.C (dvipdfm_options): New method.
16819
16820 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16821
16822         * vspace.C (isValidLength): Fix for empty input string.
16823
16824 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16825
16826         * LyXAction.C (init): change description of LFUN_FIGURE to
16827         "Insert Graphics"
16828
16829 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * LaTeX.C: add using directive
16832
16833 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16834
16835         * MenuBackend.C (expand): Fix the sorting of the formats.
16836
16837 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16838
16839         * lyx_main.C: tiny error message fix
16840
16841 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16842
16843         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16844         calling fl_initialize(). This fixes the problem with ',' as
16845         decimal separator in text files.
16846
16847 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16848
16849         * trans.C (process): Fix the keymap bug.
16850
16851 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16852
16853         * LaTeX.C (scanAuxFiles): New method. Provides support for
16854         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16855         (scanLogFile) Scan for "run BibTeX" messages.
16856
16857         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16858         OT1 font encoding. Also, load the aecompl package if the ae
16859         package is loaded.
16860
16861         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16862
16863 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16864
16865         * texrow.C (increasePos): turn two error messages into debug
16866         messages.
16867
16868 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16869
16870         * LaTeX.C (scanAux): Handle the \@input macro.
16871         (runBibTeX): Use scanAux().
16872
16873         * language.C (latex_options_): New field.
16874
16875         * LaTeXFeatures.C (getMacros): Add language macros.
16876
16877         * buffer.C (makeLaTeXFile): Small fix.
16878
16879 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16880
16881         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16882
16883         * text2.C: add a using directive.
16884
16885 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16886
16887         * BufferView2.C:
16888         * lyx_gui_misc.h:
16889         * lyxfr1.C:
16890         * lyxfunc.C: kill LyXBell.
16891
16892 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16893
16894         * text.C (IsBoundary): Remove the error message
16895
16896         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16897
16898         * lyxrc.C (setDefaults): Correct initialization value for
16899         font_norm_type.
16900
16901 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16902
16903         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16904         gotoError().
16905
16906         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16907         and GotoNextNote().
16908
16909         * src/LyXAction.C: Added reference-next.
16910
16911         * text.C (InsertChar): Use contains instead of strchr.
16912
16913         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16914
16915 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16916
16917         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16918         alignment commands (when needed).
16919
16920         * text.C (InsertChar): Add ':' to number separator chars.