]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d4a60b771bca47c44147ea88bad46985743b201c
[lyx.git] / src / ChangeLog
1 2005-01-13  Angus Leeming  <leeming@lyx.org>
2
3         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
4         os::cygwin_path_fix.
5         (write): output LyXRC::cygwin_path_fix as necessary.
6
7 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
8
9         * lyxrc.h:
10         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
11
12 2005-01-12  Angus Leeming  <leeming@lyx.org>
13
14         * lyx_main.C (init): set the PATH variable to include the
15         directory containing the LyX binary when running on Mac or Windows.
16
17 2005-01-12  Angus Leeming  <leeming@lyx.org>
18
19         * lyx_main.C (init): remove cruft that purports to set the locale
20         dir. It doesn't and is not needed anyway.
21
22 2005-01-10  Angus Leeming  <leeming@lyx.org>
23
24         * Makefile.am: remove the lyx_main.C special casing.
25
26         * BufferView_pimpl.C:
27         * bufferlist.C:
28         * exporter.C:
29         * lyx_cb.C:
30         * lyx_main.C:
31         * lyxfunc.C:
32         * messages.C: use support/package.h to provide the paths to the
33         various directories used by LyX.
34
35 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
36
37         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
38         layout if pasting into an empty paragraph)
39
40 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
41
42         * tex-accent.C: add <string>
43
44 2005-01-06  José Matos  <jamatos@lyx.org>
45
46         * ParagraphParameters.C (write): put every parameter in its own line.
47         * paragraph.C (write): reduce number of consecutive empty lines exported.
48         * buffer.C (LYX_FORMAT): increase file format to 239.
49
50 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
51
52         * everywhere: change support/tostr.h -> support/convert.h
53
54         * tabular.C: make all write_attributes templates, tostr -> convert
55
56         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
57         (emptyTag): and -> &&, and fix type for ret from getChar
58         (getFirstWord): fix type for ret from getChar
59         (onlyText): and -> &&
60         (simpleDocBookOnePar): and not -> && !, fix type for ret from
61         getChar
62
63         * toc.C (goTo, action):
64         * text3.C (dispatch):
65         * text.C (currentState):
66         * tex-accent.C (DoAccent):
67         * sgml.C:
68         * lyxrc.C:
69         * lyxfunc.C (menuNew):
70         * lyxfinc.C (replace):
71         * counters.C (laberItem):
72         * bufferview_funcs.C (font2string):
73         * bufferparams.C (writeFile):
74         * buffer.C (readFile):
75         * Spacing.C (set):
76         * MenuBackend.C: tostr -> convert
77
78         * LaTeX.C (runMessage): fix format
79         (scanAuxFiles): tostr -> convert
80
81         * BufferView_pimpl.C (savePosition): fix format
82         (restorePosition): ditto
83         (dispatch): ditto
84
85 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
86
87         * Spacing.[Ch]: New method getValueAsString().
88
89         * Spacing.[Ch]:
90         * bufferparams.C:
91         * ParagraphParameters.C:
92         * lyxlayout.C:
93         * text.C:
94         * text3.C: store/read spacing value as string.
95
96         * rowpainter.C: change float value (spacing_val) to double.
97
98         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
99         broken custom document spacing).
100
101 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
102
103         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
104         namespace, also more use of temp references and const
105
106         * cursor.[Ch] (getStatus): move to lyxfunc.C
107
108         * bufferparams.C: reformat slightly
109
110         * bufferview_funcs.C (font2string): constify arg
111
112         * changes.C:
113         * converter.C:
114         * counters.C:
115         * bufferlist.C:
116         * buffer_funcs.C: (many funcs): constify arg on function
117         definitions, also make more local vars const, also add ASSERTS on
118         pointer args.
119
120         * buffer.C (LYX_FORMAT): put const in correct place
121         (many funcs): constify arg on function definitions, also make
122         more local vars const
123
124         * aspell_local.h: remove "struct" from typdef setup
125
126         * aspell.C (check): make word_ok const
127         (nextMiss): simplify slightly
128         (error): ditto
129
130 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
131
132         * lyxrc.[Ch]: store all float values as strings.
133         use int (not float) for lyxrc.dpi.
134
135 2005-01-04  Angus Leeming  <leeming@lyx.org>
136
137         * lyx_cb.C (Reconfigure):
138         * lyx_main.C (queryUserLyXDir):
139         to run the <system_lyxdir>/configure correctly on Windows, prefix
140         the path to the script with "sh " when generating the string that
141         is passed to system().
142
143 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
146
147 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * lyxlength.C (asLatexString): get rid of setprecision
150
151 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * text2.C (setLayout): remove unused variable endpit.
154         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
155
156         * paragraph.C (onlyText): remove unused variable style.
157
158         * cursor.C (bruteFind): remove unused variables beg and end.
159
160         * Makefile.am (dist_noinset_DATA): not needed anymore
161
162         * cheaders/*: remove.
163
164 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
165
166         * text3.C: fix LFUN_MATH_MODE.
167
168 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * buffer_funcs.C (countWords): new function. Counts words between
171         two iterators.
172
173         * BufferView_pimpl.C (getStatus, dispatch): handle
174         LFUN_WORDS_COUNT.
175
176         * LyXAction.C (init):
177         * lfuns.h: add LFUN_WORDS_COUNT.
178
179 2004-12-19  Angus Leeming  <leeming@lyx.org>
180
181         * buffer.C (save): s/slashify_path/internal_path/.
182
183 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * lyxfind.C (findChange): do not search for end of pars, because
186         the change tracker cannot handle this (fixes bug 1719).
187
188 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
189
190         * paragraph.[Ch] (autoBreakRows): remove
191
192         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
193
194         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
195         avoid using the paragraph one
196
197         * text2.C (LyXText, insertStringAsLines): adjust
198
199 2004-12-16  Angus Leeming  <leeming@lyx.org>
200
201         * bufferlist.C:
202         * lyx_main.C:
203         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
204
205 2004-12-14  Angus Leeming  <leeming@lyx.org>
206
207         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
208
209         * bufferlist.C (emergencyWrite):
210         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
211         GetEnvPath("HOME").
212
213 2004-12-14  Angus Leeming  <leeming@lyx.org>
214
215         * main.C: (main): no longer pass pointers to os::init.
216
217 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
218
219         * undo.C (textUndoOrRedo): simplify logic, fix a crash
220         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
221
222 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * lyxfunc.C:
225         * text3.C: remove selection_possible global flag
226
227 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
228
229         * text2.C (getSelectionSpan): remove
230         (changeDepth, changeDepthAllowed): adjust
231
232 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
233
234         * Makefile.am (BOOST_LIBS): use boost variables
235
236 2004-12-03  José Matos  <jamatos@lyx.org>
237
238         * buffer.C: format up to 238.
239
240 2004-12-03  José Matos  <jamatos@lyx.org>
241
242         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
243
244 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
245
246         * cursor.C (goUpDown): remove call to idxUpDown2
247
248 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
249
250         * tabular.[Ch]: use size_t-like types for cell, row and column
251         indices
252
253 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * lyxfunc.C (getStatus): do not lose previous information when
256         calling BufferView::getStatus; do not set a default "Command
257         disabled" message at the beginning, but just before returning.
258
259 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * cursor.h (getStatus): add better comment from src/cursor.C
262
263 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * text3.C (getStatus): return false when the lfun is not handled
266
267 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * broken_headers.h: remove
270
271         * Makefile.am (lyx_SOURCES): remove broken_headers.h
272
273 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
274
275         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
276         offset_ref accessors
277
278         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
279         top_y_, merge fitcursor with update
280         (updateScrollbar, scrollDocView, fitCursor, center, update): new
281         coord scheme
282         (metrics): introduce
283         (workAreaDispatch): adapt to new coord scheme
284         (redoCurrentBuffer): remove
285
286         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
287
288         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
289         CurStatus enum.
290
291         * coordcache.[Ch]: add paragraph cache and helpers
292
293         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
294         adjust everywhere
295
296         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
297         (targetX, setTargetX): introduce
298
299         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
300         baseline -> ascent, as the rest of lyx
301
302         * lyxtext.h: remove redoParagraphs, updateParPositions,
303         fullRebreak, redoParagraphInternal. move dist to anon namespace in
304         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
305         have ascent/descent (ascent is ascent of first par)
306
307         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
308         step of BufferView
309
310         * paragraph.[Ch]: unify dimension handling with the rest of lyx
311
312         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
313
314         * pariterator.C: fix infinite loop introduced in par->pit renaming
315
316         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
317         in insets and LyXText, draw two off-screen paragraphs using
318         NullPainter, and adapt to new coord scheme
319
320         * text.C:
321         * text2.C:
322         * text3.C: adapt lfun handlers to the new coord scheme, which
323         means: there's only guaranteed coord information for onscreen pars
324         plus one above and one below. This implies that one can do search
325         from y coordinates in the range [-1,workHeight]
326
327 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
328
329         * rename a lot of InsetOld to InsetBase
330
331 2004-11-25  Angus Leeming  <leeming@lyx.org>
332
333         * BufferView_pimpl.C:
334         * lyx_cb.C:
335         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
336
337 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
338
339         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
340         call BufferView::getStatus if LCursor::getStatus did nothing
341         (setStatusMessage, getStatusMessage): removed.
342
343         * FuncStatus.C (message): new methods. Used to provide an error
344         message indicating why a command is disabled.
345         (clear, |=, FuncStatus): update for message.
346
347 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * lyxfunc.C (dispatch): always call sendDispatchMessage
350
351 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
352
353         * BufferView.C:
354         * BufferView_pimpl.C:
355         * CutAndPaste.C:
356         * FontIterator.C:
357         * buffer.C:
358         * cursor.C:
359         * cursor_slice.[Ch]:
360         * dociterator.[Ch]:
361         * lyxfind.C:
362         * paragraph_funcs.C:
363         * pariterator.C:
364         * rowpainter.C:
365         * text.C:
366         * text2.C:
367         * text3.C:
368         * undo.C: par->pit renaming
369
370 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
371
372         * tabular.C (cellstruct): use initialization, store a shared_ptr
373         to insettext instead of the insettext directly, adjust to fit.
374         (operator=):  new function
375         (swap): new function
376         (rowstruct): use initialization
377         (columnstruct): use initialization
378         (ltType): use initialization
379
380
381         * lyxlength.h (swap): new function
382
383         * LColor.[Ch] (operator=): use the common semantics
384
385 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
386
387         * lyxfind.C (findNextChange): update the bufferview after setting
388         the selection.
389
390 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
393         number of InsetOptArgs has already been inserted.
394
395         * output_latex.C (latexOptArgInsets): new method. This outputs all
396         the optarg insets, up to the limit defined in the layout file.
397         (optArgInset): removed
398         (TeXOnePar): call latexOptArgInsets; correctly update texrow
399
400 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * paragraph.C (isLetter): remove special spellchecker-related
403         code; return true also for digits
404         (isWord, isKomma): remove
405
406         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
407         * lyxfind.C (MatchString()): use isLetter instead of isWord
408
409 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
410
411         * pariterator.h (operatir=): comment out un-implemented member
412         function.
413
414         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
415         static cast.
416
417 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
418
419         * lyxfont.h: include LColor.h to satisfy concept checks.
420
421 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
422
423         * pariterator.h: add typdefs for value_type, difference_type,
424         pointer and reference to satisfy concept checks. Also add default
425         constructor for same reason.
426
427         * pariterator.C (operator++): add post-increment operator to
428         satisfy concept checks.
429
430         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
431         checks.
432
433         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
434
435         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
436         checks. Also rename base_type to BaseType to follow naming
437         standard better.
438
439         * FloatList.h: include Floating.h to satisfy concept checks.
440
441 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * lyxfunc.C (getStatus): when the origin of the request is menu or
444         toolbar, and the LyXView does not have focus, do as if there was
445         no buffer (bug 1720)
446
447         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
448         FuncRequest to individual entries of LFUN_SEQUENCE
449
450 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
451
452         * output_latex.C (TeXOnePar): override runparams.moving_arg
453         according to the needprotect value of the current paragraph (bug
454         1739)
455
456         * paragraph.C (simpleTeXOnePar): no need to override
457         runparams.moving_args here
458
459 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
460
461         * vspace.C: fix off-by-one-error, related to fix #1682
462
463 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
464
465         * lengthcommon.C: a more general fix for bug 1682
466
467 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * text.C (backspace): fix crash
470
471 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
472
473         * format.[Ch] (getFormatFromFile): new method
474         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
475
476 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
479
480 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         * lyxfunc.C (dispatch): remove the verbose argument
483         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
484         instead
485
486         * kbmap.C (defkey): set the origin of func to KEYBOARD
487
488         * MenuBackend.C (MenuItem):
489         * ToolbarBackend.C (add): set the origin of func to UI
490
491         * funcrequest.[Ch]: add origin member, which indicates which part
492         of LyX requests an action
493
494 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
495
496         * converter.C (move): don't lie in the error message
497         * converter.h (isReachable, move): document
498
499 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
500
501         * buffer.C: remove unused using lyx::support::atoi
502         * paragraph_funcs.C: ditto
503
504 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
505
506         * bufferlist.C (exists): use bind and equal_to instead of
507         compare_memfun
508         (getBuffer): ditto
509         * lyxtextclasslist.C (NumberOfClass): ditto
510
511         * cursor.C (insert): use for_each instead of explicit for loop
512
513         * bufferlist.C (getFileNames): use std::transform and
514         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
515
516         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
517         for loop
518
519         * buffer.C (changeLanguage): use for_each instead of explicit for
520         loop
521         (hasParWithID): implement using getParFromID
522
523         * LaTeXFeatures.C: ws change only
524
525         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
526         to cleanup a bit.
527
528         * BufferView_pimpl.C (trackChanges): use for_each instead of
529         expilicit for loop
530
531 2004-11-04  André Pönitz  <poenitz@gmx.net>
532
533         * undo.h:
534         * undo.C (textUndoOrRedo): fix crash when creating undo information.
535
536         * dociterator.C (asDocIterator): use hard assert again.
537
538 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
539
540         * lyxlength.C (asLatexString): rewrite so that it does not use
541         snprintf anymore
542
543 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * text3.C (specialChar, dispatch): make sure cursor moves to the
546         right after inserting an inset
547
548 2004-11-02  José Matos  <jamatos@lyx.org>
549
550         * output_docbook.C (docbook):
551         * paragraph.C (getID):
552         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
553         garantee that the output is always legal.
554
555         * tabular.C (docbook):
556         * outputprams.[Ch]: remove mixed contents.
557
558 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
559
560         * text2.C (setCounter): prevent endless loop
561
562 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
563
564         * exporter.C (copyFile): use the mover instead of support::copy()
565         * exporter.C (Export): pass format and latex name to copyFile()
566         * exporter.h (addExternalFile): document
567         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
568
569 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
570
571         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
572
573 2004-10-30  José Matos  <jamatos@lyx.org>
574
575         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
576         text and no inset or font change. This allows to use CDATA
577         sections just for the whole paragraph.
578
579 2004-10-30  José Matos  <jamatos@lyx.org>
580
581         * paragraph.C (getFirstWord): remove unused variable.
582
583 2004-10-30  José Matos  <jamatos@lyx.org>
584
585         * paragraph.C (getFirstWord): the content should always be escaped
586         there.
587         (simpleDocBookOnePar):
588         * output_docbook.C (makeEnvironment): replace reference to CDATA
589         to style pass_thru.
590
591 2004-10-30  José Matos  <jamatos@lyx.org>
592
593         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
594
595 2004-10-30  José Matos  <jamatos@lyx.org>
596
597         * output_docbook.C (makeParagraphs):
598         * paragraph.[Ch] (emptyTag): for docbook and company, if the
599         standard paragraph has only a given type of content drop the wrapper.
600
601 2004-10-29  José Matos  <jamatos@lyx.org>
602
603         * output_docbook.C (makeEnvironment):
604         * sgml.C (openTag):
605         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
606
607 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
608
609         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
610         (cleanID): sanitize any id.
611
612 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
613
614         * buffer.C, lyxlex_pimpl.C:
615         * lyxlex_pimpl.C (setFile):
616         s/getExtFromContents/getFormatFromContents/
617
618 2004-10-28  José Matos  <jamatos@lyx.org>
619
620         * output_docbook.C (makeEnvironment): move id to broadest possible
621         scope.
622
623         * sgml.C (openTag): apply substitution of <> for all attributes.
624
625 2004-10-28  José Matos  <jamatos@lyx.org>
626
627         * buffer.C (makeLinuxDocFile, makeDocBookFile):
628         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
629         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
630
631         * sgml.[Ch]: new version for open and closeTag for paragraph and
632         for strings. Now they handle the ids of paragraphs.
633
634 2004-10-26  Angus Leeming  <leeming@lyx.org>
635
636         * Makefile.am: add mover.[Ch].
637
638         * converter.C (convert, move): use the new Movers to move external
639         files to the temp directory.
640
641         * lyx_main.C (init): ensure that the global system_movers data
642         is initialised.
643
644         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
645         preferences file.
646
647         * mover.[Ch]: new files, defining a Mover as a utility to move an
648         external file between directories and, if necessary, manipulate this
649         file using a helper script.
650
651 2004-10-25  José Matos  <jamatos@lyx.org>
652
653         * output_docbook.C (makeCommand): merge two if's that tested the
654         same condition.
655
656 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * sgml.C (escapeString): fix warning in a better way
659
660 2004-10-25  José Matos  <jamatos@lyx.org>
661
662         * sgml.C (escapeString): import the require boosts header file for
663         tie, and avoid a signed unsigned comparison.
664
665 2004-10-25  José Matos  <jamatos@lyx.org>
666
667         * sgml.h: add #include <string>
668
669 2004-10-25  José Matos  <jamatos@lyx.org>
670
671         * sgml.[Ch] (escapeString): new function to escape all the string.
672
673 2004-10-24  José Matos  <jamatos@lyx.org>
674
675         * paragraph.[Ch] (getFirstWord): new function to get the first
676         word. Useful for description.
677         (simpleDocBookOnePar): remove depth argument, add another that
678         says where to start the paragraph.
679
680         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
681         use the new functions to fix cleanly the support for descriptions.
682
683 2004-10-24  José Matos  <jamatos@lyx.org>
684
685         * buffer.C (makeLinuxDocFile, makeDocBookFile):
686         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
687         * output_linuxdoc.C (linuxdocParagraphs):
688         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
689         add buffer as argument.
690
691 2004-10-24  José Matos  <jamatos@lyx.org>
692
693         * output_docbook.C (makeEnvironment, searchEnvironment): place
694         CDATA inside paragraphs and fix scope for listitems.
695
696 2004-10-24  José Matos  <jamatos@lyx.org>
697
698         * output_docbook.C: remove using statement for stack.
699
700 2004-10-23  José Matos  <jamatos@lyx.org>
701
702         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
703         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
704         docbook. The new scheme is recursive and makes use of iterators, the
705         same as latex export works.
706         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
707         directly with the paragraph contents. This code was moved up to
708         output_docbook.C (docbookParagraphs).
709         * sgml.C (openTag, closeTag): removed unneeded newlines.
710         (closeEnvTags) removed.
711
712 2004-10-23  André Pönitz  <poenitz@gmx.net>
713
714         * undo.C (textUndoOrRedo):
715         * dociterator.C (asDocIterator): work around crash
716
717         * cursor.C (getStatus): replace ASSERT by more verbose error message
718           and manual correction of the problem. Should increase stability
719           while providing more sensible information.
720
721 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
724
725         * bufferlist.C (previous, next): new methods
726
727         * lfuns.h:
728         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
729
730 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
731
732         * buffer.C (makeDocBookFile): add dsssl stylesheet control
733         entities to preamble.
734
735 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
736
737         * messages.C (Pimpl): strip off translation context information
738
739 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
742         the cursor is correct (bug 1694)
743
744 2004-10-13  José Matos  <jamatos@lyx.org>
745
746         * output_docbook.C (docbookParagraphs): fix closing tags in the
747         end of the document.
748
749 2004-10-09  José Matos  <jamatos@lyx.org>
750
751         * buffer.C: format up to 237.
752         * bufferparams.C (write): use tostr to convert booleans to strings.
753
754 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
755
756         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
757
758 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * LaTeX.C: implement use of babel language in xindy.
761
762 2004-10-05  José Matos  <jamatos@lyx.org>
763
764         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
765         Add new translators to help reading and writing the lyx file.
766
767 2004-10-05  José Matos  <jamatos@lyx.org>
768
769         * ParagraphParameters.C (read):
770         * text.C (readParToken): replace nexToken by more appropriate lex
771         methods.
772
773 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
774
775         * LaTeX.C (runMakeIndex):
776         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
777         (usually 'makeindex') configurable.
778
779         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
780         with a variable rather than with a number.
781
782 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
783
784         * output_latex.C (TeXOnePar): make sure font setting is the first
785         thing that gets output (and the last at the end). Should fix bug
786         1404.
787
788 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
789
790         * pch.h: use proper signal include
791
792         * LaTeX.h: Use preferred calling of Boost.Signal
793         * buffer.h: ditto
794
795 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
796
797         * pch.h: dont include <boost/function/function0.hpp>
798
799         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
800
801         * paragraph_pimpl.h: remove usage of ShareContainer
802
803         * paragraph_pimpl.C: remove initialization of ShareContainer.
804
805 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
806
807         Fix bug #1666
808
809         * BufferView.C (putSelectionAt): change the semantics when
810         backwards == true: now, this just swaps cursor and anchor wrt the
811         forward case
812
813         * BufferView.h (putSelectionAt): add some documentation
814
815         * lyxfind.C (findBackwards): rewrite using while(). In particular,
816         make sure backwardChar is done at least once (to avoid getting
817         stuck)
818         (findNextChange): use putSelectionAt in the forward direction
819         (operator()): use Paragraph::isWord
820
821 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
822
823         * Spacing.C (set): c_str fix
824
825 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
826
827         * lyx_cb.C (Reconfigure): quote the name of configure script in
828         case it contains spaces
829
830 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
831
832         * client: new dir
833
834         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
835         (BOOST_LIBS): use top_buildir when looking for the file
836
837 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
838
839         * pch.h: do not use include boost/format.hpp, multiple symbols
840                 will result (gcc bug)
841
842
843 2004-08-23  José Matos  <jamatos@lyx.org>
844
845         * bufferparams.C (readToken): fix reading of the author field.
846
847 2004-08-20  José Matos  <jamatos@lyx.org>
848
849         * lyxrc.C: remove support/translator.h inclusion since it is not used.
850
851 2004-08-20  José Matos  <jamatos@lyx.org>
852
853         * lyxlex.[Ch] (findToken): remove function.
854
855         * ParagraphParameters.C (findToken):
856         * bufferparams.C (findToken): replace call for previous function
857         with local copy. This local function has one more argument, the
858         read string argument.
859
860 2004-08-16  José Matos  <jamatos@lyx.org>
861
862         * ParagraphParameters.C (write):
863         * Spacing.C (writeFile):
864         * bufferparams.C (writeLaTeX):
865         * lyx_cb.C (Reconfigure):
866         * paragraph.C (write):
867         * tabular.C (write): remove unnecessary space at end of line.
868
869
870 2004-08-16  José Matos  <jamatos@lyx.org>
871
872         * text.C (readParagraph): remove debug message.
873
874 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
877         crash
878
879         * output_plaintext.C (asciiParagraph): set depth correctly
880
881         * outputparams.h: add member depth
882
883         * paragraph_funcs.C (ownerPar): remove.
884
885         * text2.C (setCounter): remove first_pit; comment out some
886         non-working code that uses ownerPar
887
888         * BufferView.C (getParentLanguage): remove. Not used anymore, and
889         uses ownerPar
890
891 2004-08-16  José Matos  <jamatos@lyx.org>
892
893         * text.C (readParToken, readParagraph, read): report all unknown tokens.
894         For the same level of importance use the same chanel to report problems.
895         (read): add code to deal with \begin_body and \end_body.
896
897
898 2004-08-15  José Matos  <jamatos@lyx.org>
899
900         * lyxlex.C (getString): fix comment, buffer::readBody is now
901         buffer:readDocument.
902
903         * tex-strings.C (string_papersize): Default -> default,
904         Custom -> custom, for consistency with other options.
905
906 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
907
908         * pch.h: new file
909
910         * Makefile.am: support pch
911
912 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
913
914         * text.C (readParToken): remove the static LyXFont variable and
915         pass it as a parameter instead. This fixes a nasty bug where an
916         inset will be inserted with a bad font in some situations
917         (readParagraph): adapt
918
919         * text2.C (setCounter): reduce number of calls to pars_[pit]
920
921         * text.C (singleWidth): add an assert, fix a test
922
923         * rowpainter.C (paintText): reduce number of calls to singleWidth
924
925         * paragraph.C (isHfill):
926         (isNewline): ws only
927
928 2004-08-14  André Pönitz  <poenitz@gmx.net>
929
930         * text.C:
931         * text2.C:
932         * rowpainter.C:
933         * lyxtext.h (several functions): use a Paragraph & argument
934         instead of par_type
935
936 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
937
938         * metricsinfo.h: add a new field ltr_pos to PainterInfo
939
940         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
941
942         * text.C (singleWidth): remove useless test
943
944 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * tabular.h: remove bogus comments
947
948         * tabular.C (getDescentOfRow):
949         (isPartOfMultiColumn): add assertions
950
951         * lyxlength.C (inPixels): remove #warning
952
953 2004-08-14  André Pönitz  <poenitz@gmx.net>
954
955         * paragraph.h: inline getChar()
956
957         * BufferView.h: remove unused declarations
958
959 2004-08-14  José Matos  <jamatos@lyx.org>
960
961         * Buffer.[Ch] (readDocument): new name for old readBody.
962         * Buffer.C: new file format, new keywords: \begin_document,
963         \begin_header, \begin_body, \end_body.
964
965         * bufferparams.C (readToken): replace all calls to lex.nextToken
966         by lex.next(). Do the same to eatLine except where really needed.
967
968         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
969         line when writing to the lyx file.
970
971         * output_plaintext.C (asciiParagraph): fix Bibliography style
972         handling.
973
974         * text.C (read): fix end of file handling.
975
976 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * MenuBackend.C (Menu::operator[]): new method to access
979         individual menu items
980         (Menu::hasFunc): new method. search for an item that corresponds
981         to a given func
982         (MenuBackend::specialMenu): new method
983         (MenuBackend::expand): if a special menu has been set, skip
984         entries whose func() appears in this menu
985
986 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
987
988         * text3.C: use Debug::DEBUG a bit more
989
990         * text.C (leftMargin): try to simplify a tiny bit change var x to
991         l_margin. Dont output the wide margins always.
992         (rightMargin): no margin in inner texts
993
994         * rowpainter.h (nestMargin): new func
995         (changebarMargin): new func
996         (rightMargin): new func
997
998         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
999         now functions.
1000         (paintLast): ditto
1001
1002         * factory.C (createInset): modify setDrawFrame
1003
1004         * cursor.C: use Debug::DEBUG a bit more
1005
1006 2004-08-14  André Pönitz  <poenitz@gmx.net>
1007
1008         * coordcache.[Ch]:
1009         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1010         cache for all insets in (at least partially) visible (top-level)
1011         paragraphs.
1012
1013         * BufferView_pimpl.C: reset external coord cache before every update.
1014         This means the coord cache only contains valid entries.
1015
1016 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1017
1018         bug 1096
1019         * BufferView_pimpl.C (getInsetByCode): move function out of class
1020         and change in to a template in anon namespace. Also fix to do what
1021         suits us better.
1022
1023 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1024
1025         bug 1305
1026         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1027         of char
1028         (breakParagraph): rename par to par_offset and use a local
1029         reference. Add code to keep the language over a rebreak.
1030         (breakParagraphConservative): rename par to par_offset, use a
1031         local reference
1032         (mergeParagraph): ditto
1033         (outerHook): ditto
1034         (isFirstInSequence): ditto
1035         (outerFont): rename pit to par_offset
1036
1037         * paragraph.C: ws change
1038         * paragraph.h: ditto
1039         * text3.C: ditto
1040         * text.C: ditto
1041
1042 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1043
1044         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1045         treatment for ']'
1046
1047         * paragraph.C (simpleTeXOnePar): when we have a \item with
1048         optional argument, enclose the argument with curly brackets (in
1049         case it contains a closing square bracket)
1050
1051         * text2.C (editXY):
1052         * text2.C (editXY):
1053         * text3.C (checkInsetHit): constify
1054
1055 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1056
1057         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1058         documents (bug 1629)
1059
1060 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         Fix toggling of collapsable insets with the mouse (bug 1558)
1063
1064         * lyxfunc.C (dispatch): adapt to LCursor changes
1065
1066         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1067         make sure that dispatch is not invoked twice
1068
1069         * cursor.C (needsUpdate): new method
1070         (dispatch): return void
1071         (result): new method, to access the DispatchResult of the cursor.
1072
1073 2004-08-13  José Matos  <jamatos@lyx.org>
1074
1075         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1076
1077 2004-08-13  André Pönitz  <poenitz@gmx.net>
1078
1079         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1080
1081         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1082           multiple cells
1083
1084 2004-08-12  André Pönitz  <poenitz@gmx.net>
1085
1086         * text3.C: take out the 'cursor right' form insertInset and only
1087         do it in those places when it is really needed. Fixes crash on
1088         C-m...
1089
1090 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1093
1094         * BufferView_pimpl.C (setBuffer): initialize the current font of
1095         the underlying LyXText
1096
1097 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098
1099         * kbsequence.C (print): use UI native formatting for menu
1100         shortcuts
1101
1102         * text.C (insertChar): call Paragraph::insertChar with a font
1103         argument (cosmetic)
1104
1105         * paragraph.C (insertInset, insertChar): the version that takes a
1106         LyXFont argument is now a wrapper around the other one (the
1107         opposite used to be true).
1108
1109         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1110         argument. Font setting is done in Paragraph now.
1111
1112 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * outputparams.h: add new members intitle and lang.
1115
1116         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1117         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1118
1119 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1120
1121         * text3.C (dispatch): remove special handling of button 4 and 5,
1122         it is now taken care of in the frontend code.
1123
1124 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1125
1126         * Spacing.h: add <string> (STLPort compile fix)
1127
1128 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1129
1130         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1131
1132 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1133
1134         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1135         to bool.
1136
1137         * converter.C (showMessage): inherit from unary_function, make
1138         operator() const.
1139
1140         * buffer.C (writeFile): initialize retval
1141
1142         * InsetList.h: rename private variable list to list_
1143         * InsetList.[Ch]: adjust accordingly.
1144
1145 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1146
1147         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1148         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1149         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1150         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1151         * ParagraphParameters.C, LaTeXFeatures.C: replace
1152         "support/std_sstream.h" with <sstream>
1153
1154 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1155
1156         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1157         * lyxsocket.C (LyXServerSocket): ditto
1158         (serverCallback): ditto
1159
1160 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1161
1162         * LaTeXFeatures.C: check release date when loading jurabib.
1163
1164 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1165
1166         * lyxserver.C (startPipe): call register_socket_callback
1167         (endPipe): call unregister_socket_callback
1168
1169 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1170
1171         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1172         (LyXServerSocket): register the callback
1173         (LyXServerSocket): unregister the callback
1174         (fd): delete function
1175         (serverCallback): improve error checking and setup the callbacks.
1176         (dataCallback): change arg to fd.
1177         (writeln): new func (copied fro the client socket) used for server
1178         write to client.
1179         (LyXDataSocket): simplify
1180         (~LyXDataSocket): close ann unregiser callback
1181         (server): delete function
1182         (fd): delete function
1183         (readln): small changes, improve some std::string usage
1184         (writeln): constify a bit
1185
1186 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1189         Qt frontend
1190
1191 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1192
1193         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1194         after it has been populated
1195
1196 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * text2.C (insertInset): move cursor when inserting inset.
1199
1200 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1201
1202         * kbmap.C (findbindings): a couple of new methods. returns a
1203         container of kb_sequence objects. The real work is done by the
1204         private recursive version
1205         (printbindings): uses findbindings to print out a bracketed list
1206         of bindings (renamed from findbinding).
1207
1208         * MenuBackend.C (binding): use kb_keymap::findbindings
1209
1210         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1211
1212 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1213
1214         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1215
1216 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * paragraph.C (isWord): return true on insets that report
1219         isLetter().
1220
1221         * text.C (getWord): use Paragraph::isWord to decide what is in a
1222         word and what is not; fix bug 1609.
1223
1224 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1225
1226         * tex-strings.C: add "none" to string_paperpackages[], fixes
1227         off-by-one-error in the paperpackage selection.
1228
1229         * lyxlex.[Ch]:
1230         * tex-strings.[Ch]: char const * string[n]
1231         -> char const * const string[]
1232
1233 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1236         command, return early.
1237
1238 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1239
1240         * debug.h: add DEBUG to enum and fix size of ANY.
1241
1242         * debug.C: add support for Debug::DEBUG
1243         (showTags): cast errorTags.level to unsigned int
1244
1245         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1246         (redoCurrentBuffer): ditto
1247         (updateScrollbar): ditto
1248         * cursor.C (dispatch): ditto
1249         * text2.C (setLayout): ditto
1250         (setFont): ditto
1251         (updateCounters): ditto
1252         (editXY): ditto
1253         (deleteEmptyParagraphMechanism): ditto
1254
1255 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1256
1257         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1258         annotations to cleanup the Makefile slightly.
1259
1260 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * lyxrc.C: do not set user_email to a default value but use empty
1263         instead. The entry used to be translated, which does not work
1264         since at the point where lyxrc is constructed there is no
1265         translation service available
1266
1267         * messages.C (getLocaleDir): remove and use directly
1268         lyx_localedir() instead
1269
1270 2004-06-02  Angus Leeming  <leeming@lyx.org>
1271
1272         Fix crash caused by dereferencing null pointer 'exportdata' in
1273         OutputParams by creating a new ExportData variable on the heap,
1274         storing it in a boost::shared_ptr.
1275         The crash was triggered when generating an Instant Preview
1276         of an external inset.
1277
1278         * Makefile.am: add outputparams.C
1279
1280         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1281         (c-tor): allocate memory to it.
1282
1283         * exporter.C (c-tor): associated changes.
1284
1285 2004-06-01  Angus Leeming  <leeming@lyx.org>
1286
1287         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1288         contains data before calling isInset(0). (Bug 1513.)
1289
1290 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1291
1292         * exporter.C (checkOverwrite): new method
1293         * exporter.C (copyFile): new method
1294         * exporter.C (Export): copy referenced files to the document dir
1295         * exporter.[Ch]: new class ExportedFile
1296         * exporter.[Ch]: new class ExportData. Contains currently the
1297         names of referenced external files
1298         * outputparams.h: add exportdata member.
1299
1300 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1301
1302         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1303         version.C-tmp
1304
1305 2004-05-19  Angus Leeming  <leeming@lyx.org>
1306
1307         * LaTeXFeatures.C:
1308         * ToolbarBackend.C:
1309         * bufferparams.C:
1310         * lyxfunc.C: small changes due to the introduction of namespace
1311         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1312
1313 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1314
1315         * text3.C (dispatch): supress update when only moving the cursor
1316         * cursor.C (selHandle): remove commented code
1317
1318 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1319
1320         * paragraph.C (startTeXParParams): correct column count
1321         * CutAndPaste.C (pasteSelection): remove const_cast
1322         * output_docbook.C (docbookParagraphs): remove const_cast
1323         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1324         const_cast and return ParagraphList::const_iterator
1325         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1326         * output_plaintext.C (writeFileAscii): remove const_cast
1327         * paragraph.[Ch] (simpleTeXOnePar): make const
1328         * paragraph_funcs.C (outerPar): use const iterators
1329         * paragraph_pimpl.C (validate): use const iterators
1330         * text.C (setHeightOfRow): use const iterators
1331
1332 2004-05-17  Angus Leeming  <leeming@lyx.org>
1333
1334         * lfuns.h:
1335         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1336
1337         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1338         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1339         if the citation engine has changed.
1340
1341 2004-05-14  José Matos  <jamatos@lyx.org>
1342
1343         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1344         if the textclass does not provide it. Have it different for sgml and
1345         xml.
1346         support the language of document.
1347         * output_docbook.C (docbookParagraphs):
1348         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1349         first anchor as the id of the paragraph, remove special case code.
1350         * sgml.C (escapeChar): escape only < & >.
1351
1352 2004-05-14  Angus Leeming  <leeming@lyx.org>
1353
1354         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1355         dependencies on src/frontends/controllers/biblio.h. Define a
1356         CiteEngine_enum wrapper class to enable the enum to be forward
1357         declared.
1358
1359 2004-05-12  Angus Leeming  <leeming@lyx.org>
1360
1361         * buffer.C: up LYX_FORMAT to 234.
1362         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1363         use_numerical_citations with a single biblio::CiteEngine cite_engine
1364         variable.
1365         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1366
1367 2004-05-13  José Matos  <jamatos@lyx.org>
1368
1369         * converter.h:
1370         * converter.C (Converter, readFlags): add xml member.
1371         * outputparams.h: add XML flavor.
1372         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1373
1374 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1375
1376         * lyxfunc.C (dispatch):
1377         (getStatus): fix handling of LFUN_SEQUENCE
1378
1379 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * debug.C (showLevel): do not forget the end-of-line marker
1382
1383 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1384
1385         * kbmap.C (read): do not stop parsing a bind file when an error
1386         occurs (bug 1575)
1387
1388 2004-04-29  Angus Leeming  <leeming@lyx.org>
1389
1390         * cursor.C:
1391         * factory.C:
1392         * pariterator.C:
1393         * text2.C: wrap a bunch of #warning statements
1394         inside #ifdef WITH_WARNINGS blocks.
1395
1396 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1397
1398         * buffer.C: increment format to 233.
1399
1400 2004-04-28  Angus Leeming  <leeming@lyx.org>
1401
1402         * BufferView_pimpl.C:
1403         * lyxfunc.C:
1404         * text3.C:
1405         s/updateToolbar()/updateToolbars()/
1406         s/Toolbar.h/Toolbars.h/
1407
1408 2004-04-28  Angus Leeming  <leeming@lyx.org>
1409
1410         * BufferView.[Ch] (c-tor):
1411         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1412         No longer passes these data to the WorkArea generator.
1413
1414 2004-04-28  Angus Leeming  <leeming@lyx.org>
1415
1416         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1417
1418 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1419
1420         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1421
1422 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1423
1424         * output_latex.C (TeXEnvironment): make sure that there is a line
1425         break before \end{foo} for the last paragraph of a document
1426         (TeXOnePar): if the paragraph is at the end of the document (or
1427         inset) and the language has to be reset, then make sure that the
1428         line break is _before_ the language command, not after (fixes bug
1429         1225); also make sure that the language reset command is the first
1430         thing after the paragraph (to ensure proper nesting of
1431         environments and thus fix bug 1404)
1432
1433 2004-04-21  John Levon  <levon@movementarian.org>
1434
1435         * ToolbarBackend.h:
1436         * ToolbarBackend.C: make "name" be a programmatic name
1437         and a gui_name field.
1438
1439         * lyxfunc.C: display the minibuffer on M-x
1440
1441 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1444         (bug 1526)
1445
1446 2004-04-19  Angus Leeming  <leeming@lyx.org>
1447
1448         * BufferView_pimpl.C (setBuffer): changed preview interface.
1449
1450         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1451         possible values.
1452
1453 2004-04-19  John Levon  <levon@movementarian.org>
1454
1455         * BufferView_pimpl.C:
1456         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1457
1458 2004-04-05  Angus Leeming  <leeming@lyx.org>
1459
1460         * text.C (redoParagraphs): add call to updateCounters(), thereby
1461         fixing the missing "Figure #:" label from the caption of a
1462         figure float.
1463
1464 2004-04-13  Angus Leeming  <leeming@lyx.org>
1465
1466         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1467         cursor is clicked out of an inset.
1468
1469 2004-04-13  Angus Leeming  <leeming@lyx.org>
1470
1471         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1472         than an InsetOld one.
1473
1474 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1475
1476         * format.[Ch]: add editor to Format
1477         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1478         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1479
1480 2004-04-08  André Pönitz  <poenitz@gmx.net>
1481
1482         * metricsinfo.h: remove PainterInfo::width member
1483
1484 2004-04-08  Angus Leeming  <leeming@lyx.org>
1485
1486         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1487         "\providecommand" rather than "\newcommand", thereby preventing
1488         clashes with packages that define "\boldsymbol" themselves.
1489         Eg, beamer.
1490
1491 2004-04-08  Angus Leeming  <leeming@lyx.org>
1492
1493         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1494         thereby squashing an unnecessary warning.
1495
1496 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1497
1498         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1499         setBuffer()
1500
1501 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1502
1503         * BufferView.C (setCursor): call redoParagraph (some insets could
1504         have been opened)
1505         (putSelectionAt): remove the 'double update' trick
1506
1507         * BufferView_pimpl.C (fitCursor): call refreshPar
1508         (workAreaDispatch): remove an uneeded update call
1509         (dispatch): remove some manual update calls
1510
1511         * cursor.[Ch]: remove cached_y_, updatePos
1512         (selHandle): set noUpdate when appropriate
1513
1514         * lyxfunc.C (dispatch): track if we need an update
1515
1516         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1517
1518         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1519         (paintSelection): cheap optimization, do not call cursorX when not
1520         needed
1521         (paintPars): change signature
1522         (refreshPar): add
1523         (paintText): adjust
1524         (paintTextInset): adjust
1525
1526         * text.C: adjust
1527
1528 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1529
1530         * lengthcommon.C: compilation fix: remove explicit array size from
1531         unit_name[] and friends
1532
1533 2004-04-05  Angus Leeming  <leeming@lyx.org>
1534
1535         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1536
1537         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1538         present only for the preferences dialog.
1539         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1540
1541 2004-04-05  Angus Leeming  <leeming@lyx.org>
1542
1543         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1544         to enable the frontends to export changes to lyxrc correctly.
1545
1546         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1547
1548 2004-04-07  André Pönitz  <poenitz@gmx.net>
1549
1550         * cursor.[Ch] (selClear, adjust): remove math
1551
1552         * cursor_slice.C: more agressive assert
1553
1554         * lyxfunc.C:
1555         * BufferView_pimpl.C: rework mouse event dispatch
1556
1557         * dociterator.C:
1558         * paragraph.C:
1559         * text2.C:
1560         * text3.C: adjust
1561
1562 2004-04-05  André Pönitz  <poenitz@gmx.net>
1563
1564         * cursor.[Ch] (valign, halign...): remove unneeded functions
1565
1566 2004-04-05  Angus Leeming  <leeming@lyx.org>
1567
1568         * lyxlength.[Ch] (unit_name et al.): const-correct.
1569
1570 2004-04-05  Angus Leeming  <leeming@lyx.org>
1571
1572         * BufferView_pimpl.C:
1573         * buffer.C:
1574         * counters.C:
1575         * cursor.C:
1576         * lyxfunc.C
1577         * paragraph.C:
1578         * pariterator.C:
1579         * text.C:
1580         * text2.C:
1581         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1582
1583 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1586
1587 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1588
1589         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1590         * BufferView_pimpl.[Ch] (getStatus)
1591         * BufferView.[Ch] (getStatus): add
1592         * lyxfunc.C (getStatus): move lfuns handled in
1593         BufferView::dispatch to te function above
1594         * Cursor.C (setSelection): set selection() = true
1595
1596 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1597
1598         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1599
1600 2004-03-31  Angus Leeming  <leeming@lyx.org>
1601
1602         * lyxfunc.C (dispatch): Fall through to the generic
1603         Dialogs::show("preamble").
1604
1605 2004-03-31  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyxfunc.C (dispatch): Fall through to the generic
1608         Dialogs::show("spellchecker").
1609
1610 2004-03-31  Angus Leeming  <leeming@lyx.org>
1611
1612         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1613         preferences dialog.
1614
1615 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * BufferView.C
1618         * cursor.[Ch]
1619         * dociterator.[Ch]:
1620         * insetiterator.[Ch]:
1621         * lyxfind.C:
1622         * lyxfunc.C:
1623         * pariterator.[Ch]:
1624         * text2.C:
1625         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1626
1627 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1628
1629         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1630         insets where we are putting the cursor.
1631
1632 2004-03-31  Angus Leeming  <leeming@lyx.org>
1633
1634         * lfuns.h:
1635         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1636
1637         * lyxrc.[Ch] (read, write): overloaded member functions taking
1638         a std::[io]stream arguments.
1639
1640         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1641
1642 2004-03-31  Angus Leeming  <leeming@lyx.org>
1643
1644         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1645         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1646
1647         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1648         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1649
1650 2004-03-31  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1653         the LFUN_ALL_INSETS_TOGGLE code.
1654
1655 2004-03-30  Angus Leeming  <leeming@lyx.org>
1656
1657         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1658         has died. Fall through to the generic Dialogs::show("document").
1659
1660 2004-03-30  Angus Leeming  <leeming@lyx.org>
1661
1662         * lfuns.h:
1663         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1664         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1665
1666         * lyxfunc.C (getStatus, dispatch): define the actions for these
1667         lfuns. Little more than a cut and pste job from ControlDocument.C
1668
1669         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1670
1671 2004-03-30  Angus Leeming  <leeming@lyx.org>
1672
1673         * lfuns.h:
1674         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1675         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1676
1677         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1678         open/closed state of ollapsable insets. Usage:
1679
1680         all-inset-toggle <state> <name>, where
1681         <state> == "open" || "closed" || "toggle" and
1682         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1683
1684         * lyxtext.h, text2.C (toggleInset): removed.
1685
1686         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1687         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1688         now passes LFUN_INSET_TOGGLE to the found inset.
1689
1690         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1691         is now invoked as "all-insets-toggle toggle branch".
1692
1693 2004-03-30  Angus Leeming  <leeming@lyx.org>
1694
1695         * dociterator.C:
1696         * insetiterator.C:
1697         * pariterator.[Ch]: added/corrected header blurb.
1698
1699 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1700
1701         * dociterator.[Ch]: add an inset_ member
1702         (backwardPos): implemented
1703         (backwardPos, forwardPos): use inset_ when the stack is empty.
1704         (doc_iterator_begin, doc_iterator_end): implemented
1705         * pariterator.[Ch]: adjust, add begin, end
1706         * insetiterator.[Ch]: adjust, add begin, end
1707         * cursor.C:
1708         * document.C:
1709         * BufferView.C:
1710         * BufferView_pimpl.C:
1711         * CutAndPaste.C: adjust
1712
1713 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1714
1715         * buffer.C: increment file format to 232.
1716         * LaTeXFeatures.C: add bibtopic package.
1717         * bufferparams.[Ch]: param \use_bibtopic.
1718
1719         * lyxrc.[Ch]: add lyxrc bibtex_command
1720         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1721
1722         * buffer.C: increment file format to 231.
1723
1724 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1725
1726         * dociterator.C: implement forwardPar
1727         * iterators.[Ch]: remove, replaced by
1728         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1729         * BufferView.C:
1730         * BufferView_pimpl.C:
1731         * CutAndPaste.C:
1732         * buffer.C:
1733         * bufferview_funcs.C:
1734         * cursor.C:
1735         * lyxfind.C
1736         * lyxfunc.C
1737         * paragraph_funcs.C
1738         * toc.C:
1739         * Makefile.am: adjust
1740
1741 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1742
1743         * CutAndPaste.C (pasteSelection): fix 2 crashes
1744         (eraseSelection): fix a crash
1745         * paragraph_funcs.C: remove a warning
1746
1747 2004-03-28  Angus Leeming  <leeming@lyx.org>
1748
1749         * lfuns.h:
1750         * LyXAction.C (init): new LFUN_PRINT.
1751
1752         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1753
1754 2004-03-27  Angus Leeming  <leeming@lyx.org>
1755
1756         * lfuns.h:
1757         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1758
1759         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1760
1761 2004-03-27  Angus Leeming  <leeming@lyx.org>
1762
1763         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1764         insetlist always contains non-null pointers to insets.
1765
1766 2004-03-26  Angus Leeming  <leeming@lyx.org>
1767
1768         * src/BufferView_pimpl.C:
1769         * src/CutAndPaste.C:
1770         * src/buffer.C:
1771         * src/iterators.C:
1772         * src/output_plaintext.C:
1773         * src/outputparams.h:
1774         * src/paragraph_funcs.C:
1775         * src/rowpainter.C:
1776         * src/text.C:
1777         * src/text2.C:
1778         * src/frontends/controllers/ControlErrorList.C:
1779         * src/frontends/gtk/FileDialogPrivate.C:
1780         * src/frontends/gtk/GPainter.C:
1781         * src/frontends/gtk/GToolbar.C:
1782         * src/frontends/qt2/QRef.C:
1783         * src/mathed/math_scriptinset.C: squash compiler warnings.
1784
1785 2004-03-26  Angus Leeming  <leeming@lyx.org>
1786
1787         * ispell.C (LaunchIspell::start):
1788         * lyx_cb.C (AutoSaveBuffer::start):
1789         invoke run(DontWait) rather than runNonBlocking().
1790
1791 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1792
1793         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1794
1795 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1796
1797         * kbsequence.C (print): adjust
1798
1799         * kbmap.C (printKeySym): rename and change signature
1800         (printKey): use LyXKeySym::print()
1801
1802 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1803
1804         * undo.C: add using std::advance to compile for stlport
1805
1806 2004-03-24  Angus Leeming  <leeming@lyx.org>
1807
1808         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1809         it leads to a crash when no buffer is present.
1810
1811 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1812             Martin Vermeer  <martin.vermeer@hut.fi>
1813
1814         * lyxfunc.C (dispatch):
1815         * bufferparams.C (readToken): use the new LColor::setColor
1816
1817         * LColor.[Ch] (setColor): new version that takes two strings as
1818         argument and creates a new color entry if necessary
1819
1820 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1821
1822         * buffer.C (makeLaTeXFile): if the main latex file that is
1823         processed is usually a subdocument of some master, then pretend
1824         for a while that it is actually the master
1825
1826 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1827
1828         * buffer.C (getLabelList):
1829         (getBibkeyList): use getMasterBuffer()
1830         (getMasterBuffer): new method. Returns the main document in the
1831         case where one is using included documents.
1832
1833 2004-03-25  André Pönitz  <poenitz@gmx.net>
1834
1835         * Makefile.am:
1836         * iterators.[Ch]:
1837         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1838
1839         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1840
1841         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1842         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1843
1844         * ParameterStruct.h: merge with ParagraphParameters
1845
1846         * lyxtext.h: remove LyXText::parOffset() and getPar()
1847
1848         * text3.C: Remove all 'manual' update calls. We do now one per user
1849         interaction which is completely sufficient.
1850
1851         * Bidi.C:
1852         * BufferView.[Ch]:
1853         * BufferView_pimpl.C:
1854         * FontIterator.[Ch]:
1855         * MenuBackend.C:
1856         * ParagraphParameters.[Ch]:
1857         * buffer.C:
1858         * buffer.h:
1859         * bufferlist.C:
1860         * cursor.[Ch]:
1861         * cursor_slice.[Ch]:
1862         * dociterator.[Ch]:
1863         * errorlist.[Ch]:
1864         * factory.C:
1865         * lfuns.h:
1866         * lyxfind.C:
1867         * lyxfunc.C:
1868         * output_docbook.[Ch]:
1869         * output_latex.[Ch]:
1870         * output_linuxdoc.[Ch]:
1871         * output_plaintext.[Ch]:
1872         * paragraph.[Ch]:
1873         * paragraph_funcs.[Ch]:
1874         * paragraph_pimpl.[Ch]:
1875         * rowpainter.C:
1876         * tabular.[Ch]:
1877         * text.C:
1878         * text2.C:
1879         * toc.C:
1880         * undo.[Ch]: adjust
1881
1882         * frontends/controllers/ControlDocument.C:
1883         * frontends/controllers/ControlErrorList.C:
1884         * frontends/controllers/ControlSpellchecker.C:
1885         * insets/inset.C:
1886         * insets/inset.h:
1887         * insets/insetbase.h:
1888         * insets/insetbibitem.C:
1889         * insets/insetbox.C:
1890         * insets/insetbranch.C:
1891         * insets/insetcaption.C:
1892         * insets/insetcharstyle.C:
1893         * insets/insetcharstyle.h:
1894         * insets/insetcollapsable.C:
1895         * insets/insetcollapsable.h:
1896         * insets/insetert.C:
1897         * insets/insetfloat.C:
1898         * insets/insetfoot.C:
1899         * insets/insetmarginal.C:
1900         * insets/insetnote.C:
1901         * insets/insetoptarg.C:
1902         * insets/insettabular.C:
1903         * insets/insettext.C:
1904         * insets/insettext.h:
1905         * insets/insetwrap.C:
1906         * mathed/math_mboxinset.C:
1907         * mathed/math_nestinset.C:
1908         * mathed/math_scriptinset.C:
1909         * mathed/math_scriptinset.h:
1910         * support/types.h:
1911
1912 2004-03-24  Angus Leeming  <leeming@lyx.org>
1913
1914         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1915         deal with any child processes that have finished but are waiting to
1916         communicate this fact to the rest of LyX.
1917
1918 2004-03-24  Angus Leeming  <leeming@lyx.org>
1919
1920         64-bit compile fixes.
1921
1922         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1923         (c-tor): pass lyx::pos_types rather than ints.
1924
1925         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1926         lyx::pos_type.
1927
1928         * text.C (Delete): compile fix.
1929         (getPar): ensure that function declaration is the same as that in
1930         the header file.
1931
1932 2004-03-23  Angus Leeming  <leeming@lyx.org>
1933
1934         * ispell.C (LaunchIspell):
1935         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1936         a boost::shred_ptr rather than a std::auto_ptr.
1937
1938 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1939
1940         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1941         handle LFUN_FILE_INSERT_*
1942
1943         * lyxrc.C (setDefaults, getDescription, output, read):
1944         * lyxrc.h: remove ps_command
1945
1946 2004-03-22  Angus Leeming  <leeming@lyx.org>
1947
1948         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1949         Ensure that error_handler is processed once only and that all data
1950         is saved before attempting to output any warning messages.
1951
1952         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1953
1954 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1955
1956         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1957
1958 2004-03-19  André Pönitz  <poenitz@gmx.net>
1959
1960         * cursor.[Ch] (reset): take main text inset as argument
1961
1962         * BufferView: adjust
1963         * BufferView_pimpl.C: adjust
1964
1965         * paragraph.[Ch]: fix completely broken operator=()
1966
1967 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1968
1969         * LColor.C (getFromLyXName): make sure that the color name is used
1970         as lowercase.
1971
1972 2004-03-17  Angus Leeming  <leeming@lyx.org>
1973
1974         * lfuns.h:
1975         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1976
1977         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1978         dialog and to kill a forked process.
1979
1980 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * text2.C (setCursorFromCoordinates): fix font problem
1983
1984 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1987         bogus "rebuild cursor" code
1988
1989 2004-03-11  André Pönitz  <poenitz@gmx.net>
1990
1991         * buffer.[Ch]: use InsetText instead of LyXText as container for
1992         the main lyx text.
1993
1994         * dociterator.[Ch]: drop the BufferView * member which is not needed
1995         anymore after the change to buffer.C
1996
1997         * paragraph_funcs.C:
1998         * text.C:
1999         * text2.C:
2000         * BufferView.[Ch]:
2001         * BufferView_pimpl.[Ch]:
2002         * cursor.[Ch]:
2003         * cursor_slice.[Ch]: adjust
2004
2005         * text3.C: fix bug in mathDispatch
2006
2007 2004-03-08  André Pönitz  <poenitz@gmx.net>
2008
2009         * undo.[Ch]: use 'StableDocumentIterator' as base for
2010         the Undo struct.
2011
2012 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2013
2014         * LaTeXFeatures.C:
2015         * bufferparams.[Ch]: add jurabib support and param.
2016
2017         * LaTeX.C: add FIXME/comment.
2018
2019 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2020
2021         * buffer.C: increment file format to 230.
2022
2023 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * cursor.C (dispatch): avoid infinite loops
2026
2027 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2028
2029         * rowpainter.C (paintSelection): fix x coordinates
2030
2031 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2032
2033         * text.C (rowBreakPoint): fix breaking before displayed insets
2034
2035 2004-03-01  André Pönitz  <poenitz@gmx.net>
2036
2037         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2038
2039         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2040
2041         * Makefile.am:
2042         * BufferView.C:
2043         * BufferView_pimpl.C:
2044         * buffer.C:
2045         * lyxfind.C:
2046         * lyxfunc.C:
2047         * text.C:
2048         * text2.C:
2049         * text3.C: adjust
2050
2051 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2052
2053         * lyxtext.h:
2054         * text.C:
2055         * text2.C:
2056         * rowpainter.C:
2057         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2058         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2059
2060 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * Bidi.[Ch] (computeTables): const correctness
2063         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2064         fill_hfill, fill_label_hfill and x from Row
2065         * lyxtext.h: prepareToPrint returns a RowMetrics
2066         * rowPainter.C: adjust
2067         * text.C (prepareToPrint): use width, not textWidth. adjust
2068         (redoParagraphInternal, cursorX): adjust
2069         * text2.C (getColumnNearX): adjust
2070         (init): put a default value to the top LyXText::width
2071
2072 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2073
2074         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2075
2076 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * lyxtext.h: add FontIterator class
2079
2080         * text.C (FontIterator, operator*, operator->, operator++): add
2081         (rowBreakPoint, setRowWidth): adjust (fixing a
2082         rebreaking bug)
2083
2084 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2085
2086         * BufferView_pimpl.C (workAreaDispatch): allow also
2087         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2088
2089 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2090
2091         * text.C (rowBreakPoint): fix a bug showing with very large insets
2092
2093 2004-02-25  André Pönitz  <poenitz@gmx.net>
2094
2095         * text3.C:
2096         * cursor.[Ch]: move some mathed specific code to mathed
2097
2098 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2099
2100         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2101         use_tempdir in preferences
2102         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2103         tempfile creation
2104         * lyx_main.C: ensure that tempdir is valid
2105         * lyxlex.h: correct typo
2106         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2107         * paragraph.[Ch] (isMultiLingual): make const
2108         * cursor.[Ch] (openable): make const
2109
2110 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2111
2112         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2113
2114 2004-02-20  André Pönitz  <poenitz@gmx.net>
2115
2116         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2117
2118         * cursor.[Ch]: prepare for localized getStatus()
2119
2120         * lyxtext.h:
2121         * tabular.C:
2122         * text.C:
2123         * text2.C:
2124         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2125
2126 2004-02-20  André Pönitz  <poenitz@gmx.net>
2127
2128         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2129
2130 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2131
2132         * text2.C (setCursorFromCoordinates): switch to absolute coords
2133         (cursorUp): adjust
2134         (cursorDown): adjust
2135         * text3.C (dispatch): adjust
2136
2137 2004-02-16  André Pönitz  <poenitz@gmx.net>
2138
2139         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2140           insets/ChangeLog)
2141
2142         * cursor_slice.[Ch]: remove unneeded acessor function
2143
2144         * lyxtext.h: rename rtl() to isRTL()
2145
2146         * rowpainter.C:
2147         * tabular.C:
2148         * text.C:
2149         * text2.C:
2150         * text3.C: adjust
2151
2152 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2153
2154         * rowpainter.C (paintSelection): coord fix
2155
2156 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2157
2158         * Spacing.C: compile fix
2159
2160 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * cursor.C (dispatch): restore current_ before returning
2163
2164 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2165
2166         * text2.C (cursorUp, cursorDown): fix coords
2167         (moveUp): fix crash
2168
2169 2004-02-12  André Pönitz  <poenitz@gmx.net>
2170
2171         * lyxtext.h:
2172         * text.C:
2173         * text2.C:
2174         * text3.C: add LCursor & parameter to most cursor movement functions
2175           remove usage of LyXText::cursorRow() and cursorPar()
2176
2177         * cursor.[Ch]: add textRow() needed members
2178
2179         * BufferView.C:
2180         * BufferView_pimpl.C:
2181         * paragraph.[Ch]:
2182         * BufferView.C:
2183         * BufferView_pimpl.C: adjust
2184
2185 2004-02-11  André Pönitz  <poenitz@gmx.net>
2186
2187         * lyxfunc.C:
2188         * BufferView.[Ch]:
2189         * BufferView_pimpl.C: shift undo/redo handling
2190
2191         * cursor.[Ch]: fix mathed crash
2192
2193         * lyxfind.C:
2194         * lyxtext.h: move selectionAsText to LCursor
2195
2196         * output_latex.C:
2197         * paragraph.C:
2198         * text.C:
2199         * text2.C:
2200         * text3.C: adjust
2201
2202         * rowpainter.C: fix excessive drawing
2203
2204 2004-02-06  André Pönitz  <poenitz@gmx.net>
2205
2206         * BufferView.[Ch]:
2207         * BufferView_pimpl.[Ch]:
2208         * text3.C: move some text specific LFUN handling
2209
2210 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2211
2212         * text3.C (checkInsetHit): adjust coords
2213         * text2.C (getColumnNearX): adjust coords
2214         (edit): adjust coords
2215         * text.C (getRowNearY): add two asserts
2216
2217 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2218
2219         * converter.C:
2220         * format.C: add using std::distance to compile on gcc 2.95/stlport
2221
2222 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2223
2224         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2225
2226 2004-02-04  André Pönitz  <poenitz@gmx.net>
2227
2228         * BufferView.[Ch] (insertInset):
2229         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2230
2231         * text2.C:
2232         * text3.C: adjust
2233
2234 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2235
2236         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2237         on the default clause of the switch
2238         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2239         wasn't catched by LCursor::dispatch
2240
2241 2004-02-03  André Pönitz  <poenitz@gmx.net>
2242
2243         * BufferView.C:
2244         * cursor.[Ch]: some additional asserts
2245
2246         * undo.[Ch]: remove LyXText dependency in interface
2247
2248         * lyxfunc.C: adjust
2249
2250         * lyxtext.h (firstPar, lastPar): remove dead functions
2251
2252         * text.C:
2253         * text2.C:
2254         * text3.C:
2255         * paragraph.[Ch]: adjust
2256
2257 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2258
2259         * lyxfind.C (find): fix argument order in call to ::find
2260
2261 2004-02-02  André Pönitz  <poenitz@gmx.net>
2262
2263         * cursor.[Ch]: remove direct access to anchor
2264
2265         * text.C: remove findText() hack
2266
2267 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2268
2269         * iterators.[Ch] (lockPath): remove in favour of...
2270         * BufferView.[Ch] (setCursor): this addition
2271         * BufferView.C (putSelectionAt): adjust
2272         * undo.C (performUndoOrRedo): adjust
2273         * lyxfunc.C (dispatch): adjust
2274
2275 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2276
2277         * iterators.C (lockPath): add a missing slice
2278         * undo.C (performUndoOrRedo): remove redundant positioning code
2279
2280 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2281
2282         * vc-backend.C (scanMaster): ";" -> ';'
2283
2284 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2285
2286         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2287         std::binary_function
2288
2289         * lyxtextclass.C (compare_name): rename to...
2290         (LayoutNamesEqual): ...this
2291
2292         * lyxlex_pimpl.C (compare_tags): inherit from
2293         std::binary_function, put back into anon namespace
2294
2295         * lyxfind.C (MatchString): inherig from std::binary_function
2296         (findChange): use empty() istead of !size()
2297
2298         * format.C (FormatNamesEqual): new functor
2299         (getFormat): use it
2300         (getNumber): use it
2301         (add): use it
2302         (erase): use it
2303         (setViewer): use it
2304
2305         * converter.C (compare_Converter): rename to...
2306         (ConverterEqual): ...this, and fixup a bit.
2307         (getConverter): use it, and make function const
2308         (getNumber): use it, and make function const
2309         (add): use it
2310         (erase): use it:
2311
2312         * bufferlist.C: add using boost::bind
2313
2314         * MenuBackend.C (MenuNamesEqual): new functor
2315         (hasMenu): use it, and make function const
2316         (hasSubmenu): use nested bind to get rid of compare_memfun.
2317
2318 2004-01-30  André Pönitz  <poenitz@gmx.net>
2319
2320         * BufferView_pimpl.C:
2321         * cursor.C:
2322         * cursor.h:
2323         * cursor_slice.[Ch]:
2324         * lyxfunc.C:
2325         * lyxtext.h:
2326         * paragraph_funcs.C:
2327         * paragraph_funcs.h:
2328         * rowpainter.C:
2329         * text.C:
2330         * text2.C:
2331         * text3.C: move some of the edit(x,y) handling to the insets
2332         some coordinate changes.
2333
2334 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2335
2336         * text.C: add using statements for std::advance and std::distance
2337
2338         * paragraph.C: add using statement for std::distance
2339
2340         * lyxfind.C: add using statement for std::advance
2341
2342         * cursor.C (region): remove std:: from swap
2343         (openable): use nucleus in stead of operator->
2344
2345         * BufferView.C: add using statements for std::distance and std::swap
2346
2347 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2348
2349         * iterators.C: Remove the pimple, move the needed structures to
2350         the header file. Create accessor for the positions stack.
2351         (asPosIterator): remove function
2352
2353         * PosIterator.C (PosIterator): move constructors to top of file
2354         (PosIterator): reimplement the constructor taking a ParIterator in
2355         terms of setFrom.
2356         (setFrom): new function
2357         (operator!=): inline it
2358
2359 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2360
2361         * lyxfind.C (replaceAll): use std::advance
2362
2363         * iterators.h: inherit from std::iterator.
2364
2365         * PosIterator.C (advance, distance): remove
2366         * PosIterator.h: interit from std::iterator.
2367
2368 2004-01-26  André Pönitz  <poenitz@gmx.net>
2369
2370         * BufferView.[Ch]:
2371         * BufferView_pimpl.[Ch]:
2372         * InsetList.[Ch]:
2373         * PosIterator.[Ch]:
2374         * buffer.h:
2375         * bufferview_funcs.C:
2376         * cursor.[Ch]:
2377         * cursor_slice.h:
2378         * factory.[Ch]:
2379         * iterators.[Ch]:
2380         * lyxfind.C:
2381         * lyxfunc.C:
2382         * lyxtext.h:
2383         * output_docbook.C:
2384         * output_latex.C:
2385         * output_linuxdoc.C:
2386         * output_plaintext.C:
2387         * paragraph.[Ch]:
2388         * paragraph_funcs.[Ch]:
2389         * paragraph_pimpl.[Ch]:
2390         * rowpainter.C:
2391         * tabular.C:
2392         * tabular.h:
2393         * text.C:
2394         * text2.C:
2395         * text3.C: more IU:  dumps most of the rest of the mathcursor
2396     implementation into cursor.[Ch]; "globalize" a bit of it.
2397
2398 2004-01-25  Angus Leeming  <leeming@lyx.org>
2399
2400         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2401
2402 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2403
2404         * LaTeXFeatures.h: add nice_ and nice() const
2405         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2406
2407 2004-01-20  André Pönitz  <poenitz@gmx.net>
2408
2409         * BufferView.[Ch]:
2410         * BufferView_pimpl.C:
2411         * PosIterator.C:
2412         * bufferview_funcs.C:
2413         * cursor.[Ch]:
2414         * cursor_slice.[Ch]:
2415         * factory.C:
2416         * iterators.C:
2417         * lyx_cb.C:
2418         * lyxfind.C:
2419         * lyxfunc.C:
2420         * lyxtext.h:
2421         * rowpainter.C:
2422         * text.C:
2423         * text2.C:
2424         * text3.C:
2425         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2426           LCursor and mathcursor parts to LCursor and InsetBase.
2427
2428 2004-01-15  André Pönitz  <poenitz@gmx.net>
2429
2430         * cursor_slice.[Ch]: add a few covienience functions
2431
2432         * funcrequest.[Ch]: remove BufferView * member
2433
2434         * BufferView_pimpl.C:
2435         * cursor.C:
2436         * factory.[Ch]:
2437         * lyxfind.[Ch]:
2438         * lyxfunc.C:
2439         * lyxtext.h:
2440         * text3.C:
2441         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2442
2443 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2444
2445         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2446         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2447
2448 2004-01-13  André Pönitz  <poenitz@gmx.net>
2449
2450         * textcursor.[Ch]:
2451         * lyxtext.h: hide cursor and selection anchor behind accessor function
2452
2453         * BufferView.C:
2454         * BufferView_pimpl.[Ch]:
2455         * PosIterator.C:
2456         * bufferview_funcs.C:
2457         * cursor.h:
2458         * lyxfind.C:
2459         * lyxfunc.C:
2460         * text.C:
2461         * text2.C:
2462         * text3.C:
2463         * undo.C: adjust
2464
2465         * cursor.h:
2466         * cursor_slice.[Ch]: some integer type changes for inset unification
2467
2468         * lyxcursor.[hC]: remove, it's CursorSlice now.
2469
2470         * Makefile.am:
2471         * BufferView_pimpl.[Ch]:
2472         * bufferview_funcs.C:
2473         * cursor_slice.C:
2474         * lyxtext.h:
2475         * text.C:
2476         * text2.C:
2477         * text3.C:
2478         * textcursor.[Ch]: adjust
2479
2480 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2481
2482         * text2.C (undoSpan): add and use
2483         * text.C (breakParagraph): use undoSpan (fix bug 578)
2484         * lyxtext.h: adjust
2485
2486 2004-01-08  Angus Leeming  <leeming@lyx.org>
2487
2488         * BufferView_pimpl.C (MenuInsertLyXFile):
2489         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2490         * lyxfunc.C (menuNew, open, doImport):
2491         FileFilterList change to the FileDialog open and save functions.
2492
2493 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2494
2495         * ShareContainer.h: make isEqual and isUnique adaptable
2496
2497         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2498
2499 2004-01-07  Angus Leeming  <leeming@lyx.org>
2500
2501         * LyXAction.C:
2502         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2503
2504         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2505
2506         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2507         functions replacing find, replace and replaceAll.
2508
2509         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2510         LFUN_WORDFIND(FORWARD|BACKWARD).
2511
2512 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2513
2514         * text.C (breakParagraph): remove an outdated #warning
2515
2516 2004-01-07  André Pönitz  <poenitz@gmx.net>
2517
2518         * lyxfind.C: somewhat clearer logic
2519
2520         * text.C: prevent crash in cursorX on unitialized row cache
2521
2522 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2523
2524         * lyxcursor.[Ch] (operator>): add
2525         * textcursor.C (selStart, selEnd): use std::min and std::max
2526
2527 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2528
2529         * Chktex.C: include boost/format.hpp
2530
2531 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2532
2533         * InsetList.C: replace functor MathcIt with adaptable functor
2534         InsetTablePosLess
2535         (insetIterator): modify accordingly
2536
2537         * BranchList.h: move the BranchNamesEqual functor here from...
2538         * BranchList.C: ... to here
2539
2540         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2541         SameName and match.
2542         (add): replace a finding loop with std::find_if.
2543
2544 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2545
2546         * output_docbook.C: moving LatexParam functionality into
2547         .layout files
2548
2549 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2550
2551         * buffer.C: increment format to 229.
2552
2553 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2554
2555         * LaTeXFeatures.C:
2556         * lyx_sty.[Ch]: remove minipageindent_def
2557
2558         * LyXAction.C:
2559         * factory.C:
2560         * lfuns.h:
2561         * lyxfunc.C:
2562         * text3.C: remove LFUN_INSET_MINIPAGE
2563
2564 2003-12-28  Angus Leeming  <leeming@lyx.org>
2565
2566         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2567
2568 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * text2.C (setParagraph): fix off-by-one crash
2571
2572 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2573
2574         * output_docbook.C: header stuff for AGU
2575
2576 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * text2.C (redoCursor): remove
2579         * text.C:
2580         * text3.C:
2581         * BufferView_pimpl.C: remove calls to redoCursor and
2582         setCursor(cursor.par(), cursor.pos()) all around
2583
2584 2003-12-15  Angus Leeming  <leeming@lyx.org>
2585
2586         * buffer.C: up the format to 228.
2587
2588 2003-12-15  André Pönitz  <poenitz@gmx.net>
2589
2590         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2591         slices
2592
2593         * Makefile.am:
2594
2595         * BufferView_pimpl.C:
2596         * cursor.[Ch]:
2597         * lyxcursor.[Ch]:
2598         * rowpainter.[Ch]:
2599         * lyxtext.h:
2600         * text.C:
2601         * text2.C:
2602         * text3.C: adjust
2603
2604 2003-12-15  Angus Leeming  <leeming@lyx.org>
2605
2606         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2607         than getFromGUIName to manipulate the color.
2608
2609 2003-12-14  Angus Leeming  <leeming@lyx.org>
2610
2611         * BranchList.[Ch]: minimize the API.
2612         (Branch::getBranch, getColor): now return a 'const &'.
2613         (Branch::setSelected) now returns a bool set to true if the
2614         selection status changes.
2615         (BranchList::clear, size, getColor, setColor, setSelected,
2616         allBranches, allSelected, separator): removed.
2617         (BranchList::find): new functions, returning the Branch with
2618         the given name.
2619         (BranchList::add, remove): return a bool indicating that
2620         the operation was successful.
2621
2622         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2623         new InsetBranch::isBranchSlected member function.
2624
2625         * LColor.[Ch]: mimimize the API.
2626         (fill): renamed as addColor and made private.
2627         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2628         versions of these functions taking a string arg have been removed.
2629
2630         * bufferparams.C (readToken):
2631         * lyxfunc.C (dispatch):
2632         * lyxrc.C (read): changes due to the altered BranchList and
2633         LColor APIs.
2634
2635         * factory.C (createInset, readInset): changes due to altered
2636         InsetBranch c-tor.
2637
2638 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2639
2640         * factory.C:
2641         * lyxfunc.C: remove insetminipage. "minipage-insert"
2642         now produces a frameless minipage box inset.
2643
2644 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2645
2646         * textcursor.[Ch] (selStart,selEnd): add new methods
2647         remove selection::start, end, use LyXCursor::operator<
2648         * lyxcursor.[Ch] (operator<): add
2649         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2650         * BufferView.[Ch] (unsetXSel): add
2651         * text2.C (clearSelection): use unsetXSel,adjust
2652         * text.C: adjust
2653         * text3.C: adjust
2654         * rowpainter.C: adjust
2655         * bufferview_funcs.C (put_selection_at): adjust
2656
2657 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * BufferView_pimpl.C: small coord. correction
2660
2661 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2662
2663         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2664         dragging over the splash screen.
2665
2666 2003-12-11  Angus Leeming  <leeming@lyx.org>
2667
2668         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2669         as it is now handled in LyXText::dispatch.
2670
2671         * text3.C (doInsertInset): remove a level of nesting.
2672
2673 2003-12-11  Angus Leeming  <leeming@lyx.org>
2674
2675         * factory.C (createInset): changes due to the changed interface to
2676         InsetCommandMailer::string2params.
2677
2678 2003-12-10  Angus Leeming  <leeming@lyx.org>
2679
2680         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2681         'dialog-show-new-inset <inset name>'
2682
2683 2003-12-10  Angus Leeming  <leeming@lyx.org>
2684
2685         * buffer.C: up the format to 227.
2686
2687         * factory.C: the box inset is now identified simply by 'Box'.
2688
2689 2003-12-10  Angus Leeming  <leeming@lyx.org>
2690
2691         * buffer.C: up the format to 226.
2692
2693         * factory.C: the note inset is now identified simply by 'Note'.
2694
2695 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2696
2697         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2698         when a pit is enough. Standarize a couple of loops.
2699
2700 2003-12-05  Angus Leeming  <leeming@lyx.org>
2701
2702         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2703         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2704         data to the re-worked "log" dialog.
2705
2706 2003-12-03  André Pönitz  <poenitz@gmx.net>
2707
2708         * PosIterator.C:
2709         * iterators.C:
2710         * lyxtext.h:
2711         * output_latex.C:
2712         * paragraph_funcs.C:
2713         * text.C:
2714         * text2.C: use Inset::getText instead of Inset::getParagraph
2715
2716 2003-12-03  André Pönitz  <poenitz@gmx.net>
2717
2718         * buffer.[Ch]:
2719         * lyxtext.h:
2720         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2721         InsetText::read() as LyXText::read()
2722
2723 2003-12-02  Angus Leeming  <leeming@lyx.org>
2724
2725         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2726         type. Add a comment in the implementation that the function uses
2727         the stream's bad() function rather than fail() as the std::streams
2728         would do.
2729
2730 2003-12-02  André Pönitz  <poenitz@gmx.net>
2731
2732         * lyxlex.[Ch]: make interface more similar to std::stream
2733
2734         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2735
2736 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2737
2738         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2739
2740 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2741
2742         * vspace.[Ch]: remove VSpace::NONE
2743
2744 2003-12-01  André Pönitz  <poenitz@gmx.net>
2745
2746         * buffer.[Ch]:
2747         * lyxtext.h: move ParagraphList member to LyXText
2748         rename LyXText::ownerParagraphs to LyXText::paragraph
2749
2750         * CutAndPaste.C:
2751         * bufferview_funcs.C:
2752         * iterators.[Ch]:
2753         * lyx_cb.C:
2754         * paragraph.C:
2755         * rowpainter.C:
2756         * tabular.C:
2757         * text.C:
2758         * text2.C:
2759         * text3.C: adjust
2760
2761         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2762
2763         * undo.C: fix cursor positioning
2764
2765 2003-12-01  John Levon  <levon@movementarian.org>
2766
2767         * BufferView_pimpl.C: fix a crash on exit with
2768         a buffer open
2769
2770 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2771
2772         * BranchList.C: fix setSelected() method.
2773
2774 2003-11-28  André Pönitz  <poenitz@gmx.net>
2775
2776         * ParagraphParameters.[Ch]:
2777         * ParameterStruct.h: remove space above/below from Paragraph to
2778          InsetVSpace
2779
2780         * BufferView_pimpl.C:
2781         * factory.C:
2782         * lyxfunc.C:
2783         * lyxtext.h:
2784         * output_latex.C:
2785         * paragraph.C:
2786         * paragraph_funcs.C:
2787         * rowpainter.[Ch]:
2788         * text.C:
2789         * text2.C:
2790         * text3.C: adjust
2791
2792 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2793
2794         * factory.C: Syntax change for CharStyles
2795
2796 2003-11-28  André Pönitz  <poenitz@gmx.net>
2797
2798         * BufferView.[Ch]:
2799         * BufferView.[Ch]:
2800         * buffer.[Ch]:
2801         * buffer.[Ch]: move LyXText member
2802
2803 2003-11-28  André Pönitz  <poenitz@gmx.net>
2804
2805         * BufferView.[Ch]: make LyXText * text a private member
2806
2807         * BufferView_pimpl.C:
2808         * cursor.C:
2809         * iterators.C:
2810         * lyx_cb.C:
2811         * lyxfind.C:
2812         * lyxtext.h:
2813         * rowpainter.[Ch]:
2814         * text.C:
2815         * text2.C:
2816         * undo.C: adjust
2817
2818         * output_plaintext.C: cleanup
2819
2820 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2821
2822         * buffer.C:
2823         * lyxtextclass.[Ch]: parametrize SGML document header
2824
2825 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2826
2827         * converter.[Ch]:
2828         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2829         getFlavor().
2830
2831 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2832
2833         * text2.C (setFont): rework using PosIterator (no more recursive)
2834         (setCharFont): no more needed
2835         (setLayout): no more selection cursors fiddling (done by redoCursor)
2836         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2837         destroy remaining ones)
2838
2839 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2842         * lyxtext.h: ditto
2843         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2844         selection cursors
2845         * lyxfunc.C: adjust
2846         * text3.C: adjust + re-allow multi par depth changes
2847         * textcursor.C: simplify a bit
2848
2849 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2850
2851         * src/buffer.C:
2852         * src/lyxlayout.C:
2853         * src/lyxlayout.h:
2854         * src/lyxtext.h:
2855         * src/output_docbook.C:
2856         * src/output_latex.C:
2857         * src/paragraph.C:
2858         * src/paragraph.h:
2859         * src/sgml.C:
2860         * src/sgml.h:
2861         * src/text2.C: Introducing a number of tags parametrizing various
2862         XML formats that we may want to support
2863
2864 2003-11-25  André Pönitz  <poenitz@gmx.net>
2865
2866         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2867
2868         * lyxtext.h (leftMargin/rightMargin): simplify interface
2869
2870         * rowpainter.C:
2871         * text.C:
2872         * text2.C:
2873         * text3.C: adjust
2874
2875 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2876
2877         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2878         master file to any child files. Fixes bug 546.
2879
2880 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2883
2884 2003-11-24  André Pönitz  <poenitz@gmx.net>
2885
2886         * rowpainter.C: simplification
2887
2888         * text2.C (updateCounters): remove call to redoParagraph on
2889         changed labels as this is far too expensive.
2890
2891 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2892
2893         * converter.C (convert): fix a crash: this function gets
2894         called with buffer == 0 from importer code.
2895
2896 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2897
2898         * text3.C (cursorPrevious): make sure that we do not compare
2899         iterators form different containers.
2900         (cursorNext): ditto
2901
2902         * rowpainter.C (paintSelection): make sure that we do not compare
2903         iterators from different containers.
2904
2905         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2906         iterators from different ParagraphList containers.
2907         [NEXT] ditto
2908
2909         * text2.C (LyXText): change order of initialization slightly
2910         (operator=): new function. copy all variables except cache_par_
2911         (moveUp): make sure that we do not compare iterators from
2912         different ParagraphList constainers.
2913         (moveDown): ditto
2914
2915         * text.C (firstPar): new function
2916         (lastPar): new function
2917         (endPar): new function
2918
2919         * lyxtext.h: move things around and group public functions, public
2920         variables, private functions, private variables
2921
2922 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2923
2924         * factory.C: change call to InsetERT constructor to avoid
2925         additional invocation of method status
2926         * text2.C (toggleInset): remove redundant update() call
2927         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2928         instead of a Bufferview pointer
2929
2930 2003-11-21  André Pönitz  <poenitz@gmx.net>
2931
2932         * rowpainter.C: simplification
2933
2934 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2935
2936         * text3.C (dispatch): make possible to extend a word/row selection
2937         with the mouse
2938
2939 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2940
2941         * lyxtext.h: x0_,y0_ -> xo_,yo_
2942         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2943         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2944         * rowpainter.C (paintRows): paint full paragraphs
2945
2946 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2949         screen coordinates)
2950
2951 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * lyxtext.h: add x0_, y0_
2954         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2955         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2956
2957 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2958
2959         * text2.C (setCursorIntern): move the x_target update here *
2960         * text3.C: change some bv() to true/false in calls to
2961         cursorUp/Down/Right/Left
2962         * cursor.C: use helper function.
2963
2964 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2967         * paragraph_funcs.[Ch]: correct comment
2968         * rowpainter.C: do not paint selections away from bv->cursor()
2969         Fix a long standing selection painting bug.
2970         * text3.C: generalize mouse-selection code to LyXTexts other that
2971         top one
2972         * textcursor.C: do not use y coords if we can use par offsets
2973
2974 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2975
2976         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2977         cursor position after e.g. inset insert)
2978
2979 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2980
2981         * lyxfind.C (replace): adjust to locking removal + some
2982         code simplification
2983
2984 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2987         of the path
2988
2989 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2990
2991         * lyxlayout.[Ch]:
2992         * output_docbook.C: XML sanitation: new layout
2993         parameters InnerTag and CommandDepth
2994
2995 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2996
2997         * BufferView_pimpl.C:
2998         * factory.C:
2999         * text3.C: Fix the insertion and modification of button-style
3000         insets
3001
3002 2003-11-13  André Pönitz  <poenitz@gmx.net>
3003
3004         * InsetList.[Ch]: remove deleteLyXText
3005
3006         * paragraph.[Ch]: cache beginOfBody position
3007
3008         * Bidi.C:
3009         * text.C:
3010         * text2.C:
3011         * text3.C: remove superfluous update() calls
3012
3013         * vspace.C: cleanup
3014
3015 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3018         * BufferView.C (fitLockedInsetCursor): remove
3019         * cursor.[Ch] (getDim): add
3020         * text.C (getRowNearY): add faster version
3021         * text3.C: remove some update calls
3022
3023 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3024
3025         * LaTeXFeatures.C:
3026         * LyXAction.C:
3027         * MenuBackend.C:
3028         * MenuBackend.h:
3029         * dispatchresult.h:
3030         * factory.C:
3031         * lfuns.h:
3032         * lyxfunc.C:
3033         * lyxtextclass.C:
3034         * lyxtextclass.h:
3035         * text3.C: The Character Style /XML short element patch.
3036
3037 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3038
3039         * text3.C:
3040         * factory.C: Small step to solving 'unable to insert some insets'
3041         problem
3042
3043 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3044
3045         * cursor.[Ch] (updatePos): new function for updating the y
3046         position of the tip inset
3047         * bufferview_funcs.C (put_selection_at):
3048         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3049
3050 2003-11-11  André Pönitz  <poenitz@gmx.net>
3051
3052         * text.C: remove big comment on invalid Paragraph pointers as it is
3053         not valid anymore
3054
3055 2003-11-11  André Pönitz  <poenitz@gmx.net>
3056
3057         * text_funcs.[Ch]: merge with ...
3058
3059         * text.C: ... this
3060
3061         * lyxtext.h:
3062         * text2.C:
3063         * text3.C: adjust
3064
3065         * Makefile.am: remove text_funcs.[Ch]
3066
3067 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * cursor.C (getPos): return absolute cached y coord
3070
3071         * BufferView_pimpl.C (fitCursor): new simplistic code
3072         (workAreaDispatch): add a fitCursor call
3073
3074 2003-11-10  André Pönitz  <poenitz@gmx.net>
3075
3076         * BufferView.[Ch]:
3077         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3078
3079 2003-11-10  André Pönitz  <poenitz@gmx.net>
3080
3081         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3082         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3083         indicate that the cursor needs to leave an inset
3084
3085         * lyxtext.h: remove inset locking
3086
3087         * cursor.[Ch]: re-implement functionality provided by inset locking
3088
3089         * BufferView.[Ch]:
3090         * BufferView_pimpl.[Ch]:
3091         * LyXAction.C:
3092         * bufferview_funcs.[Ch]:
3093         * factory.C:
3094         * funcrequest.[Ch]:
3095         * iterators.C:
3096         * lyx_cb.C:
3097         * lyxfind.C:
3098         * lyxfunc.C:
3099         * text.C:
3100         * text2.C:
3101         * text3.C:
3102         * undo.C: adjust
3103
3104 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3105
3106         * PosIterator.[Ch]: replace the stack with a vector, add inset
3107         accesor
3108         * iterators.[C]: adjust
3109
3110 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3111
3112         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3113         replaced
3114         * paragraph_funcs.C (readParToken): put the correct id in the
3115         error item, not the id of the top paragraph
3116
3117 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3118
3119         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3120         * bufferview_funcs.C (put_selection_at): use the above
3121
3122 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3123
3124         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3125
3126 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3127
3128         * output_linuxdoc.h:
3129         * output_plaintext.h:
3130         * output.h:
3131         * output_docbook.h: add #include statements
3132
3133 2003-11-05  José Matos  <jamatos@lyx.org>
3134
3135         * output_docbook.[Ch]:
3136         * output_latex.[Ch]:
3137         * output_linuxdoc.[Ch]:
3138         * output_plaintext.[Ch]: New files for output formats.
3139         * output.[Ch]: New file for helper functions.
3140
3141         * buffer.[Ch]:
3142         * paragraph_funcs.[Ch]: output functions moved to new files.
3143
3144         * outputparams.h: rename of latexrunparams.h
3145
3146         * LaTeX.[Ch]:
3147         * buffer.[Ch]:
3148         * bufferlist.[Ch]:
3149         * converter.[Ch]:
3150         * exporter.C:
3151         * paragraph.[Ch]:
3152         * paragraph_funcs.[Ch]:
3153         * paragraph_pimpl.[Ch]:
3154         * tabular.[Ch]: rename ascii to plaintext
3155         and LatexRunParams to OutputParams.
3156
3157 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3158
3159         * iterators.[Ch] (text): require bv argument
3160         * undo.C (recordUndo):
3161         * lyxfunc.C (dispatch):
3162         * bufferview_funcs.C (put_selection_at): adjust
3163
3164 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3165
3166         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3167
3168 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3169
3170         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3171         nestings
3172
3173 2003-11-04  André Pönitz  <poenitz@gmx.net>
3174
3175         * cursor.[Ch]: restructure
3176
3177         * BufferView.[Ch]:
3178         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3179
3180         * iterators.[Ch] (asCursor): remove
3181
3182         * lfuns.h: remove LFUN_INSET_EDIT
3183
3184         * lyxfunc.C:
3185         * tabular.C:
3186         * text.C:
3187         * text2.C:
3188         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3189
3190 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3191
3192         * lyxfind.[Ch]: complete overhaul
3193         * BufferView_pimpl.C:
3194         * lyxfunc.C: adjust
3195         * paragraph.[Ch] (insert): add
3196
3197 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3198
3199         * BufferView.[Ch]:
3200         * lyxtext.h:
3201         * text.C: remove dead spellcheck code
3202
3203 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3204
3205         * dispatchresult.h: add a val setter
3206
3207         * cursor.C (dispatch): use a tempvar for data_[i]
3208
3209 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * PosIterator.[Ch]: compile fix
3212
3213 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3214
3215         * text.C (cursorPar): deactivate the cursor cache
3216
3217 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3220
3221 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3222
3223         * text3.C (dispatch): adjust for new DisptchResult semantics.
3224
3225         * lyxfunc.C (dispatch): handle update when return from
3226         Cursor::dispatch, adjust for new DispatchResult semantics.
3227
3228         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3229         DispatchResult(true) mean to not update. Add class functions for
3230         setting dispatched and update, as well as reading.
3231
3232         * cursor.C (dispatch): don't handle update here
3233
3234 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3237         * trans_mgr.C: adjust
3238
3239         * paragraph_funcs.C (readParToken): exception safety
3240
3241         * lyxvc.h: store the vcs pointer in a scoped_ptr
3242         * lyxvc.C: adjust
3243
3244         * lyxsocket.C (serverCallback): exception safety
3245
3246         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3247
3248         * ispell.C (clone): make it return a auto_ptr
3249
3250         * factory.C (createInset): exception safety
3251         (readInset): exception safety
3252
3253         * bufferlist.C (newBuffer): exception safety
3254
3255         * Thesaurus.C (Thesaurus): use initialization for aik_
3256
3257         * MenuBackend.C (expandToc): exception safety.
3258
3259 2003-11-03  André Pönitz  <poenitz@gmx.net>
3260
3261         * buffer.C:
3262         * buffer.h:
3263         * bufferview_funcs.C: remove getInsetFromId()
3264
3265         * lyxcursor.[Ch]:
3266         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3267
3268         * lyxfunc.C:
3269         * text2.C:
3270         * text3.C: adjust
3271
3272 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3273
3274         * PosIterator.C (distance, advance): new
3275         * bufferview_funcs.[Ch] (put_selection_at): new
3276         * iterators.[Ch] (lockPath): new
3277
3278 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3279
3280         * iterators.[Ch] (asPosIterator): added
3281         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3282         * PosIterator.[Ch]: added
3283
3284 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * text3.C:
3287         * lyxfunc.C:
3288         * cursor.C (dispatch):
3289         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3290
3291         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3292         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3293         contructor, add a class function dispatched. Remove operator>=
3294
3295 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3296
3297         * debug.C: only use the default constructor for debugstream
3298         (lyxerr) here.
3299
3300         * main.C (main): include debug.h and setup the lyxerr streambuf
3301         here.
3302
3303 2003-10-31  José Matos  <jamatos@lyx.org>
3304
3305         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3306
3307         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3308         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3309         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3310         * paragraph_pimpl.C (simpleTeXSpecialC):
3311         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3312         add LatexRunParams argument.
3313
3314         * exporter.C (Export): change call accordingly.
3315
3316         * latexrunparams.h: add new member to take care of the other backends.
3317 2003-10-30  José Matos  <jamatos@lyx.org>
3318
3319         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3320         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3321         factorise code for paragraph output.
3322         * buffer.[Ch]:
3323         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3324         move functions.
3325
3326 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3327
3328         * text3.C (dispatch):
3329         * lyxfunc.C (dispatch):
3330         * cursor.C (dispatch):
3331         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3332
3333         * dispatchresult.h: make the dispatch_result_t ctor explicit
3334
3335 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3336
3337         * sgml.[Ch]:
3338         * buffer.C: small refactoring of docbook stuff
3339
3340 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3343         meaning.
3344
3345 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3348         operator dispatch_result_t, and operators for == != and >=
3349
3350         * cursor.C (dispatch): adjust for operator dispatch_result_t
3351         removal. comment out call to update
3352
3353         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3354
3355 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3356
3357         * text3.C:
3358         * text2.C:
3359         * text.C:
3360         * lyxtext.h:
3361         * lyxfunc.C:
3362         * cursor.C:
3363         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3364         (dispatch):
3365
3366         * dispatchresult.h: new file, DispatchResult broken out of
3367         insets/insetbase.h
3368
3369         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3370
3371 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3372
3373         * text.C (rowBreakPoint): put a hack inside #if 0
3374
3375 2003-10-28  André Pönitz  <poenitz@gmx.net>
3376
3377         * lyxtext.h:
3378         * metricsinfo.C:
3379         * paragraph_funcs.C:
3380         * rowpainter.C:
3381         * text.C:
3382         * text2.C: general cleanup (lots of small stuff)
3383
3384 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3385
3386         * text2.C (cursorEnd): simple fix to the "end key goes to one
3387         before the end on last row" bug
3388
3389 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3390
3391         * text.C (backspace): fix the "zombie characters"
3392
3393 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3394
3395         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3396
3397 2003-10-27  André Pönitz  <poenitz@gmx.net>
3398
3399         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3400
3401         * factory.C: handle new InsetPagebreak, InsetLine
3402
3403         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3404         and move handling into new InsetPagebreak, InsetLine
3405
3406         * BufferView_pimpl.C:
3407         * LyXAction.C:
3408         * ParagraphParameters.C:
3409         * ParameterStruct.h:
3410         * lyxfunc.C:
3411         * lyxtext.h:
3412         * paragraph.C:
3413         * paragraph.h:
3414         * paragraph_funcs.C:
3415         * paragraph_pimpl.C:
3416         * rowpainter.C:
3417         * text.C:
3418         * text2.C:
3419         * text3.C: adjust
3420
3421 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3422
3423         * text.C:
3424         * lyxrow_funcs.[Ch]:
3425         * Bidi.C:
3426         * paragraph.C:
3427         * lyxtext.h:
3428         * rowpainter.C:
3429         * text2.C:
3430         * text3.C: remove lastPos uses in favour of Row::endpos
3431
3432 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * undo.C (performUndoOrRedo): fix two crashes by setting a
3435         cursor by hand and reordering some calls. Use bv->lockInset instead
3436         of inset->edit because the latter loses cursor information
3437
3438 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3439
3440         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3441         by Martin
3442         (rowBreakPoint): fix width. change point to point + 1.
3443         Add a missing check.
3444
3445 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3446
3447         * MenuBackend.C:
3448         * lyxfunc.C: fix (at least partly) the problems
3449         with the Nav menu and headers inside branch insets
3450         reported by Kayvan
3451
3452 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3453
3454         * paragraph.C (getChar): add strong asserts
3455
3456         * lyxrow_funcs.C (lastPos): remove hideous hack
3457
3458         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3459         (fill): adjust to that (avoid an infinite loop)
3460
3461 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3462
3463         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3464
3465 2003-10-23  André Pönitz  <poenitz@gmx.net>
3466
3467         * RowList_fwd.h: change list<> to vector<> to gain speed
3468         after suggestion from Alfredo
3469
3470 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3471
3472         * lyxtext.h: move the bidi stuff from here...
3473         * text.C: and here
3474         * text2.C: and here
3475         * Bidi.[Ch]: ... to here
3476
3477 2003-10-23  André Pönitz  <poenitz@gmx.net>
3478
3479         * lyxtext.h:
3480         * text.C (isLastRow, isFirstRow): new functions
3481
3482         * paragraph.h: new width cache member
3483
3484         * rowpainter.C: replace RowList::iterator with Row & where possible
3485
3486         * lyxfunc.C: replace several view()->text with a single call
3487
3488         * toc.C: fix 'unused' warning
3489
3490 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3491
3492         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3493         when woring with stream::pos_type
3494         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3495
3496 2003-10-22  André Pönitz  <poenitz@gmx.net>
3497
3498         * lyxtext.h:
3499         * text.C: use Row & instead of RowList::iterator
3500
3501         * lyxrow.h: rename end() to endpos()
3502
3503         * rowpainter.C:
3504         * text.C:
3505         * text2.C: adjust
3506
3507 2003-10-22  Angus Leeming  <leeming@lyx.org>
3508
3509         * buffer.[Ch] (fully_loaded): new member function, returning true
3510         only when the file has been loaded fully.
3511         Used to prevent the premature generation of previews and by the
3512         citation inset to prevent computation of the natbib-style label.
3513
3514         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3515         templates are all set up.
3516
3517         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3518
3519 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3520
3521         * text.C: fixed an "oops" in the "is a bit silly"
3522         bug fix
3523
3524 2003-10-21  André Pönitz  <poenitz@gmx.net>
3525
3526         * FuncStatus.[Ch]: small stuff, whitespace
3527
3528         * lyxfont.[Ch]: operator<<() for debug reasons
3529
3530         * lyxfunc.C:
3531         * lyxrow_funcs.C:
3532         * lyxtext.h: whitespace, spelling
3533
3534         * paragraph.C: naming of variables
3535
3536         * text.C:
3537         * text2.C: small stuff
3538
3539
3540 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3541
3542         * text.C: (1) finish off the inset display() work;
3543         (2) fix the "is a bit silly" bug (accessing char
3544         past end of par).
3545
3546 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3547
3548         * text.C: re-introduce display() for insets, fixing the
3549         various bugs (stretch of line above, math inset
3550         positioning, ...)
3551
3552 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3553
3554         * text.C (rightMargin): remove spurious semicolon
3555
3556         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3557         1415)
3558
3559 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3560
3561         * text3.C: fix one crash due to wrong cursor def
3562
3563 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3564
3565         * vc-backend.C (scanMaster): make the regex static
3566
3567         * LaTeX.C (scanAuxFile): make the regexs static
3568
3569         * text3.C (doInsertInset, dispatch, dispatch):
3570         * text2.C (cursorUp, cursorDown):
3571         * text.C (selectNextWordToSpellcheck):
3572         * BufferView_pimpl.C (dispatch):
3573         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3574
3575 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3576
3577         * lyxsocket.C: include <cerrno>
3578
3579 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3580
3581         * lyxfunc.C (dispatch): remove textcache stuff
3582
3583         * bufferlist.C (release): remove textcache stuff
3584         (closeAll): ditto
3585
3586         * TextCache.C: delete file
3587         * TextCache.h: delete file
3588
3589         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3590
3591         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3592         delete of the bv_->text.
3593         (resizeCurrentBuffer): remove texcache stuff
3594         (workAreaResize): ditto
3595
3596 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3599         action.
3600
3601 2003-10-16  André Pönitz  <poenitz@gmx.net>
3602
3603         * lyxrow.[Ch]:
3604         * paragraph.h:
3605         * rowpainter.C:
3606         * text.C:
3607         * text2.C:
3608         * text3.C: speed up by storing y positions per paragraph plus per-row
3609         offset instead of having a 'full' y position in the row.
3610
3611 2003-10-15  André Pönitz  <poenitz@gmx.net>
3612
3613         * iterators.[Ch]:
3614         * iterators.[Ch]:
3615         * undo.[Ch]: make undo aware of inner insets
3616
3617 2003-10-14  Angus Leeming  <leeming@lyx.org>
3618
3619         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3620         static member functions LyX::ref() and LyX::cref.
3621         (lastfiles): new accessor functions for the new lastfiles_ member var.
3622         (addLyXView, views_): add a new LyXView to the list of views_.
3623         (updateInset): loop over all LyXViews to call their own updateInset
3624         member function, returning a pointer to the Buffer owning the inset.
3625
3626         * BufferView_pimpl.C (loadLyXFile):
3627         * MenuBackend.C (expandLastfiles):
3628         * bufferlist.C (MenuWrite, QuitLyX):
3629         lastfiles is no longer a global variable.
3630         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3631
3632         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3633         static function. Access through LyX::cref().emergencyCleanup().
3634
3635 2003-10-14  André Pönitz  <poenitz@gmx.net>
3636
3637         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3638
3639         * undo.[Ch]: restoring part of 'undo in insets'
3640
3641         * Makefile.am:
3642         * undo_funcs.[Ch]: merge with undo.[Ch]
3643
3644         * tabular.C: small cleansing stuff
3645
3646 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3647
3648         * paragraph_funcs.C (readParToken): report unknown insets as error
3649         boxes. Use the outer paragraph as location (also for unknown
3650         tokens).
3651
3652         * factory.C (readInset): do not abort on reading an unknown inset.
3653         Eat it and return 0.
3654
3655 2003-10-13  Angus Leeming  <leeming@lyx.org>
3656
3657         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3658
3659         * lyxrc.C: displayTranslator is now a function,
3660         declared in GraphicsTypes.h.
3661
3662 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3663
3664         * format.C: new placeholder $$a to pass the socket address.
3665
3666         * bufferlist.[Ch]: new function getBufferFromTmp.
3667
3668         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3669           files in the temporary dir.
3670
3671 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3672
3673         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3674
3675         * Makefile.am: add lyxsocket.[Ch].
3676
3677         * lyx_main.C (error_handler): handle SIGPIPE.
3678
3679 2003-10-13  André Pönitz  <poenitz@gmx.net>
3680
3681         * BufferView_pimpl.C:
3682         * lyxtext.h:
3683         * text.C:
3684         * text2.C:
3685         * text3.C:
3686         * undo_funcs.[Ch]: use paroffset_type instead of
3687           ParagraphList::iterators to prevent multiple conversion
3688           (and get a more robust interface)
3689
3690 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3693         * lyxtext.h: ditto
3694         * text3.C (dispatch): ditto
3695
3696 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3697
3698         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3699         move the onlyfile, use onlyfile instead of foundfile in a couple
3700         of places.
3701
3702         * DepTable.C (update): flush the error stream a bit more
3703
3704 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3705
3706         * lyxserver.C (callback): adjust
3707
3708         * lyxfunc.C (getStatus): add a missing brace in commented code
3709         (ensureBufferClean): reindent
3710         (dispatch): delete version taking a string
3711
3712 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * LaTeX.C (deplog): move found file handlig from here...
3715         (handleFoundFile): .. to new function here.
3716         (deplog): make sure to discover several files mentioned on the
3717         same log line.
3718
3719 2003-10-10  André Pönitz  <poenitz@gmx.net>
3720
3721         * lyxfunc.C:
3722         * lyxtext.h:
3723         * tabular.C:
3724         * text.C:
3725         * text2.C:
3726         * text3.C: fix some of the tabular crashes
3727
3728 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3729
3730         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3731
3732         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3733
3734 2003-10-09  André Pönitz  <poenitz@gmx.net>
3735
3736         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3737
3738         * BufferView.C:
3739         * BufferView_pimpl.C:
3740         * bufferview_funcs.C:
3741         * lyx_cb.C:
3742         * lyxcursor.C:
3743         * lyxfind.C:
3744         * lyxfunc.C:
3745         * lyxtext.h:
3746         * text.C:
3747         * text2.C:
3748         * text3.C:
3749         * text_funcs.[Ch]:
3750         * textcursor.[Ch]:
3751         * undo_funcs.C: adjust
3752
3753 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * text2.C (incrementItemDepth): new function, use a backtracking
3756         algorithm to discover the correct item depth.
3757         (resetEnumCounterIfNeeded): new function, use a backtracking
3758         algorithm to discover if counter reset is needed.
3759         (setCounter): use them. Simplify a bit. Add different labels for
3760         different item depths for itemize.
3761
3762         * paragraph.C (Paragraph): remove initialization of enumdepth
3763         (operator=): ditto
3764
3765         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3766         enumerate and itemize. Change the type of itemdepth to signed char.
3767
3768 2003-10-08  André Pönitz  <poenitz@gmx.net>
3769
3770         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3771           thing assignable.
3772         * text.C:
3773         * text2.C: adjust
3774
3775         * tabular.[Ch]: fix crash after 'row-insert'
3776
3777 2003-10-08  Angus Leeming  <leeming@lyx.org>
3778
3779         Fix doxygen warnings.
3780
3781         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3782         Remove CutAndPaste:: prefix from header file declaration.
3783
3784         * LColor.h (fill): remove LColor:: prefix from declaration.
3785
3786         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3787         use lyx::depth_type rather than Paragraph::depth_type so that
3788         header file and .C file match.
3789
3790         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3791
3792         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3793         * aspell.C: \file aspell_local.C -> \file aspell.C
3794         * gettext.C: \file gettext.C -> \file src/gettext.C
3795         * gettext.h: \file gettext.h -> \file src/gettext.h
3796         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3797         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3798         * text.C: \file text.C -> \file src/text.C
3799
3800         * toc.C: move comment so that doxygen is not confused.
3801
3802 2003-10-07  Angus Leeming  <leeming@lyx.org>
3803
3804         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3805
3806 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3807
3808         * aspell.C:
3809         * aspell_local.h: add forgotten std::string's.
3810
3811 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3812
3813         * LaTeXFeatures.C:
3814         * LyXAction.C:
3815         * factory.C:
3816         * lfuns.h:
3817         * lyxfunc.C:
3818         * text3.C: The Box patch. Fancybox support, minipage, parbox
3819
3820 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3821
3822         * CutAndPaste.h:
3823         * DepTable.h:
3824         * FloatList.h:
3825         * LaTeXFeatures.h:
3826         * ParagraphParameters.h:
3827         * TextCache.h:
3828         * Thesaurus.h:
3829         * bufferlist.h:
3830         * exporter.h:
3831         * importer.h:
3832         * lastfiles.h:
3833         * lyxfind.h:
3834         * lyxfont.h:
3835         * lyxlex.h:
3836         * lyxtextclasslist.h:
3837         * messages.h:
3838         * paragraph.h:
3839         * paragraph_pimpl.C:
3840         * textcursor.h: add <string> and other small fixes to make Lars'
3841         std::string patch compile with STLport.
3842
3843 2003-10-06  Angus Leeming  <leeming@lyx.org>
3844
3845         * LColor.h: Add missing #include <string>.
3846
3847 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * All most all file in all subdirs: Make <string> be the prefered
3850         way of getting to std::string, add using declarations.
3851
3852 2003-10-06  André Pönitz  <poenitz@gmx.net>
3853
3854         * metricsinfo.C: initialize LyXFont before changing attribute.
3855         (fixes the 'math in \emph is upright' bug)
3856
3857 2003-10-06  André Pönitz  <poenitz@gmx.net>
3858
3859         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3860
3861 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3862
3863         * graph.C:
3864         * paragraph_pimpl.C: Small fixes to build using STLport
3865
3866 2003-10-02  André Pönitz  <poenitz@gmx.net>
3867
3868         * lyxfunc.C:
3869         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3870
3871 2003-10-01  André Pönitz  <poenitz@gmx.net>
3872
3873         * factory.C: assert early
3874
3875 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * lyx_main.C: remove the global debug object
3878
3879         * debug.h: adjust for new debugstream
3880
3881         * debug.C: adjust for new debugstream and keep the global debug
3882         object here.
3883
3884 2003-09-22  Angus Leeming  <leeming@lyx.org>
3885
3886         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3887         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3888         an incomplete class LyXFont.
3889
3890 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3891
3892         * factory.C: bug fix in branches
3893
3894 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3895
3896         * lyxfunc.C (processKeySym): adjust
3897         (dispatch): adjust
3898         (dispatch): change arg name from ev to func, adjust
3899         (sendDispatchMessage): ditto
3900
3901         * lyx_main.C (defaultKeyBindings): adjust keybindings
3902         (deadKeyBindings): ditto
3903
3904         * kbsequence.C (addkey): return a FuncRequest
3905
3906         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3907
3908         * kbmap.C (bind): take a FuncRequest as arg, adjust
3909         (read): adjust
3910         (lookup): adjust
3911         (defkey): change to take a FuncRequest as arg, adjust
3912         (findbinding): take a FuncRequest as arg, adjust.
3913
3914         * funcrequest.h (operator=): added
3915
3916         * funcrequest.C (FuncRequest): default kb_action changed from
3917         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3918
3919         * buffer.C (dispatch): simplify
3920         (dispatch): adjust to take a FuncRequest as arg, adjust
3921
3922         * boost.C (assertion_failed): change assertion message slightly
3923
3924         * ToolbarBackend.C (read): simplify
3925
3926         * MenuBackend.C (binding): adjust call to findbinding, add a
3927         message if no binding is found.
3928         (read): simplify
3929         (expandToc): correct by adding a empty FuncRequest
3930
3931         * LyXAction.C: include <boost/assert.hpp>
3932         (isPseudoAction): delete function
3933         (LookupFunc): change name to...
3934         (lookupFunc): this. change return type to FuncRequest.
3935         (getActionName): take kb_action as arg, simplify
3936         (funcHasFlag): add an assert, simplify.
3937
3938 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3939
3940         * toc.C (action): return a FuncRequest, simplify
3941
3942         * lyxfunc.C (processKeySym): adjust
3943         (getStatus): delete version that takes an int.
3944         (getStatus): adjust
3945         (dispatch): delete version that takes action as int
3946         (dispatch): adjust
3947         (sendDispatchMessage): simplify and adjust
3948
3949         * funcrequest.C (getArg): take unsigned int as arg
3950
3951         * ToolbarBackend.C (read): adjust
3952         (add): delete version that takes func as a string.
3953         (getIton): take a FuncRequest as arg
3954
3955         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3956         action.
3957
3958         * MenuBackend.C (MenuItem): add a new construct that only takes a
3959         Kind, simplify the constructor use for submenus.
3960         (add): adjust
3961         (expandLastfiles): adjust
3962         (expandDocuments): adjust
3963         (expandFormats): adjust
3964         (expandFloatListInsert): adjust
3965         (expandFloatInsert): adjust
3966         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3967
3968         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3969         Remove class variables lyx_pseudo_map and lyx_arg_map
3970
3971         * LyXAction.C (searchActionArg): delete function
3972         (getPseudoAction): delete function
3973         (retrieveActionArg): delete function
3974         (LookupFunc): make it return kb_action, simplify.
3975         (getActionName): simplify
3976
3977         * factory.C (createInset): fix new bug
3978
3979 2003-09-19  Angus Leeming  <leeming@lyx.org>
3980
3981         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3982         masterFilename_ parameter in the include inset.
3983
3984         * factory.C (createInset): changes due to the changes to InsetInclude.
3985
3986 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3987
3988         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3989
3990 2003-09-18  Angus Leeming  <leeming@lyx.org>
3991
3992         * buffer.C:
3993         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3994         Inset::fillWithBibKeys.
3995         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3996
3997 2003-09-18  Angus Leeming  <leeming@lyx.org>
3998
3999         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4000         variables.
4001         (ctor): pass and store a 'Buffer const &'
4002         (buffer): new member function.
4003
4004         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4005         '*this' to the LaTeXFeatures ctor.
4006
4007 2003-09-18  Angus Leeming  <leeming@lyx.org>
4008
4009         * LColor.h:
4010         * lyxfont.C:
4011         * lyxfont.h:
4012         * lyxtext.h:
4013         * text.C: rename EnumLColor as LColor_color.
4014
4015 2003-09-18  Angus Leeming  <leeming@lyx.org>
4016
4017         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4018         remove #include "insets/insetbase.h" from cursor.h.
4019
4020 2003-09-18  Angus Leeming  <leeming@lyx.org>
4021
4022         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4023         InsetOld_code to remove #include "inset.h".
4024
4025         * iterators.C: add #include "insets/inset.h"
4026
4027 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4028
4029         * BufferView.C: remove more locking stuff that apparently doesn't
4030         do anything sensible.
4031
4032 2003-09-16  André Pönitz  <poenitz@gmx.net>
4033
4034         * paragraph.[Ch]:
4035         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4036           performance boost.
4037
4038 2003-09-16  Angus Leeming  <leeming@lyx.org>
4039
4040         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4041
4042         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4043         arg/return type.
4044
4045         * paragraph.h: remove #include "lyxfont.h". Forward declare
4046         LyXFont_size.
4047
4048 2003-09-16  Angus Leeming  <leeming@lyx.org>
4049
4050         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4051         of support/textutils.h.
4052         (isWord): move the contents of support/textutils.h's IsWordChar here.
4053
4054         * buffer.C:
4055         * lyxfind.C:
4056         * rowpainter.C:
4057         * text.C:
4058         * text2.C: add #include "paragraph.h".
4059
4060         * rowpainter.C:
4061         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4062
4063 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * main.C:
4066         * lyx_main.C:
4067         * lyx_cb.C:
4068         * buffer.C:
4069         * LaTeX.C: use namespace alias for lyx::support::os
4070
4071 2003-09-16  Angus Leeming  <leeming@lyx.org>
4072
4073         * bufferparams.C:
4074         * bufferview_funcs.C:
4075         * factory.C:
4076         * lyxfunc.C:
4077         * paragraph_pimpl.C:
4078         * rowpainter.C:
4079         * text.C: add #include "LColor.h".
4080
4081 2003-09-16  Angus Leeming  <leeming@lyx.org>
4082
4083         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4084         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4085         return LyXFont &.
4086         Store the FontBits::color variable as an int rather than as an
4087         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4088         file.
4089
4090         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4091         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4092         string calls together.
4093
4094         * lyxrc.C: add #include "LColor.h".
4095
4096 2003-09-15  Angus Leeming  <leeming@lyx.org>
4097
4098         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4099         a cow_ptr.
4100
4101 2003-09-15  Angus Leeming  <leeming@lyx.org>
4102
4103         * LColor.h: add an EnumLColor wrapper for LColor::color.
4104
4105         * lyxfont.[Ch] (color, setColor, realColor):
4106         * lyxtext.h, text.C (backgroundColor):
4107         pass EnumLColor args to/from the functions, rather than LColor::color
4108         ones.
4109
4110         * lyxfont.h:
4111         * lyxtext.h: forward declare EnumLColor.
4112
4113         * lyx_main.C: add #include "LColor.h".
4114
4115 2003-09-15  Angus Leeming  <leeming@lyx.org>
4116
4117         * .cvsignore: add lyx-gtk.
4118
4119 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4120
4121         * Chktex.C
4122         * LaTeX.C
4123         * LaTeXFeatures.C
4124         * ParagraphParameters.C
4125         * Spacing.C
4126         * buffer.C
4127         * bufferparams.C
4128         * bufferview_funcs.C
4129         * chset.C
4130         * counters.C
4131         * funcrequest.C
4132         * lyxfont.C
4133         * lyxgluelength.C
4134         * lyxlength.C
4135         * paragraph.C
4136         * paragraph_funcs.C
4137         * text3.C
4138         * vc-backend.C: remove usage of STRCONV
4139
4140 2003-09-15  Angus Leeming  <leeming@lyx.org>
4141
4142         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4143         explicitly define the color passed to the painter.
4144
4145 2003-09-15  Angus Leeming  <leeming@lyx.org>
4146
4147         * bufferparams.C (BufferParams): reorder member initializers to avoid
4148         compiler warning.
4149
4150 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4151
4152         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4153         * text.C (updateRowPositions): remove an unusual nop
4154
4155 2003-09-12  André Pönitz  <poenitz@gmx.net>
4156
4157         * BufferView_pimpl.C:
4158         * Bullet.C:
4159         * layout.h:
4160         * lyxfunc.C:
4161         * lyxlayout.[Ch]:
4162         * lyxtextclass.C:
4163         * rowpainter.C:
4164         * text.C:
4165         * text2.C:
4166         * Counters.[Ch]: finish the 'automatic counters' job
4167
4168 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4169
4170         * aspell.C: include <boost/assert.cpp> (compile fix)
4171
4172 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4173
4174         * boost.C (assertion_failed): use lyx::support::abort instead of
4175         assert.
4176
4177 2003-09-10  Angus Leeming  <leeming@lyx.org>
4178
4179         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4180         with their _fwd progeny.
4181
4182 2003-09-09  Angus Leeming  <leeming@lyx.org>
4183
4184         134 files throughtout the source tree: replace 'using namespace abc;'
4185         directives with the appropriate 'using abc::xyz;' declarations.
4186
4187 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4188
4189         * boost.C (emergencyCleanup): moved here from LAssert.c
4190         (assertion_failed): new function, called by BOOST_ASSERT
4191
4192         * several files: change Assert to BOOST_ASSERT
4193
4194 2003-09-09  Angus Leeming  <leeming@lyx.org>
4195
4196         * buffer.[Ch]: Add an Impl class and move Buffer's member
4197         variables into it. As a result move several header files out of
4198         buffer.h.
4199
4200         Add header files to lots of .C files all over the tree as a result.
4201
4202 2003-09-09  Angus Leeming  <leeming@lyx.org>
4203
4204         * buffer.[Ch]: make Buffer's member variables private. Add
4205         accessor functions.
4206
4207         Lots of changes all over the tree as a result.
4208
4209 2003-09-08  Angus Leeming  <leeming@lyx.org>
4210
4211         * graph.C: #include <config.h>.
4212
4213 2003-09-08  Angus Leeming  <leeming@lyx.org>
4214
4215         * BranchList.C:
4216         * BufferView.C:
4217         * BufferView_pimpl.C:
4218         * CutAndPaste.C:
4219         * DepTable.C:
4220         * LaTeX.C:
4221         * LaTeXFeatures.C:
4222         * LyXAction.C:
4223         * MenuBackend.C:
4224         * TextCache.C:
4225         * aspell.C:
4226         * buffer.C:
4227         * bufferlist.C:
4228         * changes.C:
4229         * chset.C:
4230         * converter.C:
4231         * counters.C:
4232         * debug.C:
4233         * graph.C:
4234         * ispell.C:
4235         * lyx_cb.C:
4236         * lyxfind.C:
4237         * lyxfunc.C:
4238         * lyxlex_pimpl.C:
4239         * lyxrc.C:
4240         * lyxrow.C:
4241         * paragraph.C:
4242         * rowpainter.C:
4243         * texrow.C:
4244         * text.C:
4245         * text2.C:
4246         * toc.C: remove redundant using directives.
4247
4248 2003-09-07  Angus Leeming  <leeming@lyx.org>
4249
4250         * LaTeXFeatures.h: remove #include "support/types.h".
4251         * ToolbarBackend.h: remove #include <algorithm>.
4252         * changes.h: remove #include <ctime>.
4253         * debug.h: remove #include <iosfwd>.
4254         * graph.h: remove #include "support/std_string.h".
4255         * lyx_main.h: remove #include <csignal>.
4256         * lyxlex_pimpl.h: remove #include <fstream>.
4257         * sgml.h: remove #include <algorithm>, <utility>.
4258         * toc.h: remove #include "support/std_ostream.h".
4259         Add #include <iosfwd>.
4260
4261 2003-09-07  Angus Leeming  <leeming@lyx.org>
4262
4263         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4264
4265         * converter.h: forward declare LatexRunParams.
4266         * encoding.h: remove #include "lyxrc.h".
4267         * lyxtext.h: remove #include "LColor.h".
4268         * lyxtextclass.h: remove #include "support/types.h".
4269         * trans.h: remove #include "tex-accent.h".
4270         * trans_mgr.h: remove #include "tex-accent.h".
4271         * insets/inset.h: remove #include "support/types.h", <vector>.
4272         * insets/insetcollapsable.h: remove #include "LColor.h".
4273         * insets/insetinclude.h: remove #include "dimension.h".
4274         * insets/insetlatexaccent.h: remove #include "dimension.h".
4275         * insets/insetoptarg.h:: remove #include "insettext.h".
4276         * insets/insettext.h: remove #include "dimension.h",
4277         <boost/shared_ptr.hpp>
4278
4279         * insets/renderers.h: add #include "dimension.h".
4280         * insets/updatableinset.h: add #include "support/types.h".
4281
4282         * many .C files: Associated changes.
4283
4284 2003-09-06  Angus Leeming  <leeming@lyx.org>
4285
4286         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4287         one, inside testInvariant.
4288
4289         * PrinterParams.C: new file.
4290         * PrinterParams.[Ch]: move the function bodies out of line.
4291
4292 2003-09-06  Angus Leeming  <leeming@lyx.org>
4293
4294         * ParagraphParameters.h: forward declare ParameterStruct rather than
4295         including its header file.
4296         (depth): moved out-of-line.
4297
4298 2003-09-06  Angus Leeming  <leeming@lyx.org>
4299
4300         * BufferView_pimpl.h:
4301         * kbmap.h:
4302         * kbsequence.h:
4303         * lyxfunc.h: forward declare LyXKeySym rather than
4304         #include "frontends/LyXKeySym.h".
4305
4306         * BufferView_pimpl.C:
4307         * kbmap.C:
4308         * kbsequence.C:
4309         * lyxfunc.C: associated changes.
4310
4311 2003-09-06  Angus Leeming  <leeming@lyx.org>
4312
4313         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4314         As a result, can remove the #include "insets/inset.h" from BufferView.h
4315
4316 2003-09-06  Angus Leeming  <leeming@lyx.org>
4317
4318         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4319         As a result, can remove the #include "insets/inset.h" from BufferView.h
4320
4321 2003-09-06  Angus Leeming  <leeming@lyx.org>
4322
4323         * buffer_funcs.C:
4324         * buffer.h:
4325         * bufferlist.C:
4326         * BufferView.C:
4327         * bufferview_funcs.C:
4328         * BufferView_pimpl.C:
4329         * CutAndPaste.C:
4330         * lyx_cb.C:
4331         * lyxfunc.C:
4332         * paragraph.h:
4333         * ParagraphParameters.C:
4334         * tabular.C:
4335         * text3.C:
4336         * toc.C:
4337         * undo_funcs.C:
4338         * frontends/controllers/ControlDocument.C:
4339         * insets/insetcaption.C: rearrange the #includes into some sort of
4340         coherent order.
4341
4342         * buffer.h: remove #includes ErrorList.h, undo.h
4343
4344 2003-09-06  Angus Leeming  <leeming@lyx.org>
4345
4346         * support/types.h: add a 'depth_type' typedef, used to store the
4347         nesting depth of a paragraph.
4348
4349         * paragraph.h:
4350         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4351         defining explicitly.
4352
4353         * buffer.h:
4354         * paragraph_funcs.h:
4355         * ParagraphParameters.h:
4356         * sgml.h: use lyx::depth_type rather than Paragraph or
4357         ParameterStruct's depth_type.
4358
4359         * buffer.h
4360         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4361
4362         * BufferView.C:
4363         * BufferView_pimpl.C:
4364         * CutAndPaste.C:
4365         * ParagraphParameters.C:
4366         * buffer_funcs.C:
4367         * bufferlist.C:
4368         * bufferview_funcs.C:
4369         * lyx_cb.C:
4370         * lyxfunc.C:
4371         * tabular.C:
4372         * text3.C:
4373         * toc.C:
4374         * undo_funcs.C:
4375         * frontends/LyXView.C:
4376         * frontends/controllers/ControlDocument.C:
4377         * frontends/controllers/ControlErrorList.C:
4378         * insets/insetbibitem.C:
4379         * insets/insetbranch.C:
4380         * insets/insetcaption.C:
4381         * insets/insetcollapsable.C:
4382         * insets/insetenv.C:
4383         * insets/insetert.C:
4384         * insets/insetfloat.C:
4385         * insets/insetfoot.C:
4386         * insets/insetfootlike.C:
4387         * insets/insetnewline.C:
4388         * insets/insetquotes.C:
4389         * insets/insettabular.C:
4390         * insets/insettext.C:
4391         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4392
4393         * frontends/controllers/ControlChanges.C: #include "changes.h".
4394
4395 2003-09-06  Angus Leeming  <leeming@lyx.org>
4396
4397         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4398         than #including paragraph.h.
4399
4400         * ParagraphList.h:
4401         * RowList.h: deleted. Superfluous.
4402
4403         * CutAndPaste.h:
4404         * iterators.h:
4405         * lyxcursor.h:
4406         * lyxtext.h:
4407         * text_funcs.h:
4408         * undo.h:
4409         * undo_funcs.h:
4410         * insets/inset.h:
4411         * insets/insettext.h: use ParagraphList_fwd.h rather than
4412         ParagraphList.h.
4413
4414         * paragraph.h: don't forward declare ParagraphList.
4415
4416         * buffer.h:
4417         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4418         rather than ParagraphList.h. paragraph.h is still needed for the
4419         Paragraph::depth_type parameters.
4420
4421         * textcursor.h: enable it to compile stand-alone in light of the
4422         above changes.
4423
4424         * bufferview_funcs.C:
4425         * iterators.C:
4426         * lyxfunc.C:
4427         * lyxrow_funcs.C:
4428         * paragraph.C:
4429         * rowpainter.C:
4430         * text.C:
4431         * text2.C:
4432         * text3.C:
4433         * text_funcs.C:
4434         * textcursor.C:
4435         * undo.C:
4436         * frontends/controllers/ControlParagraph.C:
4437         * frontends/controllers/ControlTabular.C:
4438         * insets/insetmarginal.C:
4439         * insets/insetminipage.C:
4440         * insets/insetnote.C:
4441         * insets/insetoptarg.C: add header files needed to compile again.
4442
4443 2003-09-06  Angus Leeming  <leeming@lyx.org>
4444
4445         * RowList_fwd.h: new file, forward-declaring Row rather than
4446         #including lyxrow.h.
4447
4448         * lyxrow_funcs.h:
4449         * lyxtext.h:
4450         * paragraph.h:
4451         * insets/insettext.h: use it instead of RowList.h
4452
4453         * bufferview_funcs.C:
4454         * lyxfunc.C:
4455         * lyxrow_funcs.C:
4456         * paragraph.C:
4457         * rowpainter.C:
4458         * text.C:
4459         * text2.C:
4460         * text3.C: #include "RowList.h".
4461
4462 2003-09-05  Angus Leeming  <leeming@lyx.org>
4463
4464         * factory.C (createInset):
4465         * vspace.C (c-tor): replace sscanf call with an istringstream.
4466         * ispell.C: re-add missing HP/UX headers.
4467         * lyxserver.C: re-add missing  os2 headers.
4468
4469 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4470
4471         * BranchList.C:
4472         * graph.C:
4473         * ispell.C:
4474         * lastfiles.C:
4475         * lyx_cb.C:
4476         * lyxserver.C:
4477         * texrow.C:
4478         * text3.C: re-add missing system headers, needed for 2.95.2.
4479
4480 2003-09-05  Angus Leeming  <leeming@lyx.org>
4481
4482         Changes most place everywhere due to the removal of using directives
4483         from support/std_sstream.h.
4484
4485 2003-09-05  Angus Leeming  <leeming@lyx.org>
4486
4487         Replace LString.h with support/std_string.h,
4488         Lsstream.h with support/std_sstream.h,
4489         support/LIstream.h with support/std_istream.h,
4490         support/LOstream.h with support/std_ostream.h.
4491
4492         Changes resulting throughout the tree.
4493
4494 2003-09-05  Angus Leeming  <leeming@lyx.org>
4495
4496         * sgml.h: ensure that the header file can be compiled stand-alone.
4497         * *.C: strip out redundant #includes. (320 in total.)
4498
4499 2003-09-04  Angus Leeming  <leeming@lyx.org>
4500
4501         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4502         here (from getPackages).
4503
4504         * debug.[Ch]: add a new EXTERNAL tag.
4505
4506 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4507
4508         * text2.C (cursorEnd): simplify
4509         (setCursor): adjust
4510         (getColumnNearX): adjust
4511
4512         * text.C (computeBidiTables): adjust
4513         (fill): adjust
4514
4515         * rowpainter.C (paintChars): adjust
4516         (paintSelection): adjust
4517         (paintChangeBar): adjust
4518         (paintText): adjust
4519
4520         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4521         lastPos instead.
4522         (numberOfSeparators): adjust
4523
4524 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4525
4526         * LyXAction.C:
4527         * box.[Ch]:
4528         * lfuns.h:
4529         * lyxfunc.C:
4530         * text3.C: Restricts the mouse click functionality
4531         of insets like bibtex, include, toc and floatlist to the visible
4532         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4533         up the dialogs. Cursor has to be in front of the inset (i.e.
4534         start of row) for this to function.
4535
4536 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4537
4538         * bufferview_funcs.C (currentState): output row information
4539
4540 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4541
4542         * bufferview_funcs.C (currentState): output paragraph position
4543
4544 2003-09-04  Angus Leeming  <leeming@lyx.org>
4545
4546         * FloatList.h: move out #include "Floating.h".
4547         * LaTeX.h: move out #include "DepTable.h".
4548         * LyXAction.h: move out #include "funcrequest.h".
4549         * buffer.h: move out #include "author.h", "iterators.h".
4550         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4551         * lyx_main.h: move out #include "errorlist.h".
4552         * lyxfunc.h: move out #include "FuncStatus.h".
4553         * lyxtext: move out #include "lyxcursor.h".
4554         * paragraph_pimpl.h: move out #include "counters.h".
4555
4556 2003-09-03  Angus Leeming  <leeming@lyx.org>
4557
4558         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4559         preamble_snippets list, enabling us to add snippets to the preamble
4560         only if the snippet was not there already.
4561
4562 2003-09-04  Angus Leeming  <leeming@lyx.org>
4563
4564         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4565
4566 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4569         update
4570
4571 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4572
4573         * BranchList.C: point fix, earlier forgotten
4574
4575 2003-09-02  Angus Leeming  <leeming@lyx.org>
4576
4577         * box.C (contains): renamed from 'contained' after a fantastic
4578         amount of hot air.
4579
4580 2003-09-02  John Levon  <levon@movementarian.org>
4581
4582         * BufferView.C:
4583         * lyxcursor.h:
4584         * lyxcursor.C:
4585         * lyxfunc.C:
4586         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4587
4588 2003-09-02  John Levon  <levon@movementarian.org>
4589
4590         * text2.C: simplification of cursorEnd(), including partial
4591         fix for bug 1376
4592
4593 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * buffer.C (readFile): add a space
4596
4597 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4598
4599         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4600
4601 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * buffer.C (readFile): new function, take a filename and a
4604         ParagraphList::iterator
4605         (readFile): adjust
4606         (readFile): adjust, make it private. don't use setStream, make
4607         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4608         always contain the filename.
4609
4610         * BufferView.C (insertLyXFile): simplify and make it work for
4611         gzipped files.
4612
4613 2003-08-30  John Levon  <levon@movementarian.org>
4614
4615         * Makefile.am: fix dist (from Kayvan)
4616
4617 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * most files: change to use const Buffer refs
4620
4621 2003-08-27  André Pönitz  <poenitz@gmx.net>
4622
4623         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4624         on top of ownerPar().
4625
4626 2003-08-27  John Levon  <levon@movementarian.org>
4627
4628         * funcrequest.C: properly initialise POD members
4629
4630 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * lyxtext.h (top_y): move top_y from here
4633         * text.C:
4634         * text2.C:
4635         * text3.C:
4636         * BufferView.[Ch]:
4637         * BufferView_pimpl.[Ch]: to here
4638         * frontends/screen.C:
4639         * insets/insettabular.C:
4640         * insets/insettext.C: adjust
4641         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4642
4643 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * BufferView.[Ch]:
4646         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4647
4648 2003-08-26  André Pönitz  <poenitz@gmx.net>
4649
4650         * paragraph_func.[Ch] (outerPar): new function
4651
4652         * paragraph.C:
4653         * paragraph_funcs.C:
4654         * paragraph_funcs.h:
4655         * paragraph_pimpl.C:
4656         * text2.C: remove Inset::par_owner
4657
4658 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4659
4660         * lyxrow_funcs.C:
4661         * lyxtext.h:
4662         * text.C:
4663         * text2.C: eliminates the needFullRow/display() stuff
4664         altogether, putting the logic in metrics/draw in the insets.
4665
4666 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4667
4668         * text2.C (redoParagraphInternal, redoParagraphs):
4669         * text.C (redoParagraph): add a call to updateRowPositions at the
4670         end of each 'metrics-like' call. Remove all others.
4671         (getRow): remove the 'y-computing' version.
4672         (getRowNearY): do not compute nor return the real y. Solve the
4673         'y < 0' problem and simplify.
4674
4675 2003-08-22  Angus Leeming  <leeming@lyx.org>
4676
4677         * *.[Ch]: clean-up of licence and author blurbs.
4678         Also move config.h out of a few .h files and into a few .C files.
4679
4680 2003-08-22  André Pönitz  <poenitz@gmx.net>
4681
4682         * lyxrow.[Ch]: add x_ and *fill_ members
4683
4684         * lyxtext.h:
4685         * text.C:
4686         * rowpainter.C:
4687         * text2.C: adjust/remove prepareToPrint() calls
4688
4689 2003-08-22  André Pönitz  <poenitz@gmx.net>
4690
4691         * lyxrow.[Ch]: add  end_ member
4692
4693         * lyxrow_funcs.C: use LyXRow::end_
4694
4695         * lyxtext.h (singleWidth): add LyXFont parameter
4696
4697         * rowpainter.C:
4698         * text2.C: adjust LyXText::singleWidth() calls
4699
4700         * text.C (redoParagraph): simplify row breaking logic
4701
4702
4703 2003-08-19  André Pönitz  <poenitz@gmx.net>
4704
4705         * funcrequest.C: initialize button_ member
4706
4707         * text3.C:
4708         * rowpainter.[Ch]: interface consolidation
4709
4710 2003-08-18  André Pönitz  <poenitz@gmx.net>
4711
4712         * BufferView.C:
4713         * BufferView_pimpl.C:
4714         * lyxfind.C:
4715         * paragraph_funcs.C:
4716         * rowpainter.C:
4717         * text3.C: remove LyXScreen::draw() and fitCursor calls
4718
4719         * BranchList.h: remove spurious semicolons
4720
4721         * MenuBackend.C: fix branchlist related crash
4722
4723 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4724
4725         * BranchList.[Ch]:
4726         * InsetList.[Ch]:
4727         * LColor.[Ch]:
4728         * LyXAction.C:
4729         * Makefile.am:
4730         * MenuBackend.[Ch]:
4731         * bufferparams.[Ch]:
4732         * factory.C:
4733         * lfuns.h:
4734         * lyxfunc.C:
4735         * text3.C: implements the 'branch inset'
4736         idea. This allows the output of various versions of a document
4737         from a single source version, selectively outputing or suppressing
4738         output of parts of the text.
4739         This implementation contains a 'branch list editor' in a separate
4740         tab of the document settings dialog. Branches are user definable
4741         and have a "display colour" to distinguish them on-screen.
4742
4743         ColorHandler was somewhat cleaned up.
4744         (1) make possible a dynamically growing LColor list by allowing
4745         the graphic context cache to grow along (vector);
4746         (2) eliminate an IMHO unnecessary step in colour allocation.
4747
4748 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4749
4750         * BufferView_pimpl.C: compile fix
4751
4752 2003-08-15  André Pönitz  <poenitz@gmx.net>
4753
4754         * rowpainter.C: remove extra metrics calls
4755
4756         * lyxtext.h: merge the two constructors into a single one,
4757           pass reference to owner's par list
4758
4759         * BufferView_pimpl.C:
4760         * text.C:
4761         * text2.C: adjust
4762
4763 2003-08-15  André Pönitz  <poenitz@gmx.net>
4764
4765         * lyxrow_funcs.[Ch]:
4766         * lyxtext.h:
4767         * paragraph.h:
4768         * paragraph_funcs.C:
4769         * rowpainter.C:
4770         * text.C:
4771         * text2.C:
4772         * text3.C:
4773         * text_funcs.C: split LyXText::rowlist_ into individual
4774         Paragraph::rows_ chunks
4775
4776         * BufferView.[Ch]:
4777         * BufferView_pimpl.[Ch]:
4778         * lyxfind.C:
4779         * lyxtext.h:
4780         * text3.C: remove toggleSelection()
4781
4782 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4783
4784         * bufferlist.C: beautify two alerts (shorter text of buttons)
4785         * buffer.C: Remove redundant ' ' from message
4786         * tabular.h:
4787         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4788         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4789         rename VALIGN_CENTER to VALIGN_MIDDLE
4790
4791 2003-08-11  André Pönitz  <poenitz@gmx.net>
4792
4793         * lyxtext.h (getPar):
4794         * text.C: new function
4795
4796 2003-08-11  André Pönitz  <poenitz@gmx.net>
4797
4798         * Makefile.am:
4799         * tracer.[Ch]: remove unneeded files
4800
4801         * InsetList.[Ch]: remove resizeInsetsLyXText()
4802
4803         * lyxtext.h:
4804         * text.C:
4805         * text2.C:
4806         * text3.C: merge insertParagraphs() and appendParagraph()
4807         remove breakAgain(), update()
4808
4809         * BufferView_pimpl.[Ch]:
4810         * bufferview_funcs.[Ch]:
4811         * lyxfunc.C:
4812         * paragraph.[Ch]:
4813         * rowpainter.C:
4814         * tabular.C: adjust after text & InsetList changes.
4815
4816 2003-08-08  André Pönitz  <poenitz@gmx.net>
4817
4818         * text.C (insertChar, backspace): replace rowlist fiddling
4819         with rebreak of full par
4820
4821         * lyxtext.h:
4822         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4823         checkParagraph, updateInset): removed
4824
4825 2003-08-07  André Pönitz  <poenitz@gmx.net>
4826
4827         * paragraph.C:
4828         * text3.C: merge some LFUN handlers, remove dead code
4829
4830 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4831
4832         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4833
4834 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4835
4836         * text2.C (DEPM): fix part of bug 1255 and 1256
4837
4838 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4839
4840         * BufferView_pimpl.C (workAreaDispatch): change to use
4841         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4842         that are no mouse related.
4843
4844 2003-08-05  André Pönitz  <poenitz@gmx.net>
4845
4846         * BufferView.[Ch]:
4847         * BufferView_pimpl.[Ch]:
4848         * bufferview_funcs.C:
4849         * text2.C:
4850         * text3.C: rip out "deep update"
4851
4852         * textcursor.[Ch] (last_sel_cursor): remove unused member
4853
4854 2003-08-04  André Pönitz  <poenitz@gmx.net>
4855
4856         * BufferView.[Ch]:
4857         * BufferView_pimpl.[Ch]:
4858         * ParagraphParameters.C:
4859         * bufferview_funcs.C:
4860         * lyx_cb.C:
4861         * lyxfind.C:
4862         * lyxfunc.C:
4863         * text.C:
4864         * text2.C:
4865         * text3.C: replace "complicated" BufferView::update(...) calls with
4866         simpler ones.
4867
4868         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4869
4870 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4871
4872         * Makefile.am (lyx_SOURCES): add paper.h
4873
4874 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4875
4876         * Makefile.am: move things around so that both lyx-qt and
4877         lyx-xforms can be built (according to --with-frontend). Then lyx
4878         is a symbolic link to lyx-[firstfrontend]
4879
4880 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4881
4882         * Always use std::endl with lyxerr
4883
4884 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4885
4886         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4887
4888 2003-08-01  André Pönitz  <poenitz@gmx.net>
4889
4890         * BufferView.[Ch]:
4891         * BufferView_pimpl.[Ch]:
4892         * lyxfunc.C:
4893         * text3.C: merge BufferView::repaint() and BufferView::update()
4894
4895 2003-08-01  José Matos  <jamatos@lyx.org>
4896
4897         * buffer.[Ch]: file_format is no longer a buffer data element.
4898
4899 2003-08-01  André Pönitz  <poenitz@gmx.net>
4900
4901         * BufferView.C:
4902         * lyxtext.h:
4903         * text.C:
4904         * text2.C: make redoParagraph more independent of current cursor
4905
4906         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4907         * text.C:
4908         * text2.C: remove unneeded members
4909
4910 2003-07-30  André Pönitz  <poenitz@gmx.net>
4911
4912         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4913
4914         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4915           create a single function...
4916
4917         * paragraph_funcs.C (moveItem): ... here.
4918
4919         * text.C:
4920           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4921
4922 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4923
4924         * LColor.[Ch]: Add comment and greyedout logical colors.
4925
4926 2003-07-30  André Pönitz  <poenitz@gmx.net>
4927
4928         * tabular.C: don't use Assert too heavily. This crashes where it
4929           shouldn't
4930
4931 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4932
4933         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4934         is disabled (bug 1232)
4935
4936 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4937
4938         * factory.C: limited 'arg' scope
4939
4940 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4941
4942         * factory.C: fixed Note submenu issues
4943
4944 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4945
4946         * factory.C: submenu for Note/Comment/Greyedout
4947
4948 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4949
4950         * lyx_main.C (LyX):
4951         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4952
4953 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4954
4955         * LaTeXFeatures.C:
4956         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4957         greyedout. Patch provided by Jürgen Spitzmüller.
4958
4959 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4960
4961         * kbmap.C (read): fix error message when reading bind files
4962
4963 2003-07-29  Angus Leeming  <leeming@lyx.org>
4964
4965         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4966         certainly does not do what it purports to do. I am doing it, and
4967         us, a favour by killing it.
4968
4969 2003-07-28  José Matos  <jamatos@lyx.org>
4970
4971         * buffer.C (readBody, do_writeFile):
4972         * paragraph.C(readParagraph): \end_document replaces \the_end.
4973
4974 2003-07-29  André Pönitz  <poenitz@gmx.net>
4975
4976         * BufferView.[Ch]:
4977         * BufferView_pimpl.[Ch]:
4978         * lyxfunc.C:
4979         * text2.C:
4980         * text3.C:
4981         * textcursor.[Ch]: remove toggleToggle & Co
4982
4983 2003-07-28  José Matos  <jamatos@fep.up.pt>
4984
4985         * buffer.C (readParagraph):
4986         * params_func (readParToken, readParagraph):
4987         * paragraph.C (write): \layout -> \begin_layout.
4988
4989 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * lyxlex_pimpl.C (setFile): clean up slightly.
4992
4993         * bufferparams.h: add compressed var
4994
4995         * buffer_funcs.C (readFile): adjust for LyXLex change
4996         (newFile): ditto + simplify
4997
4998         * buffer.C (writeFile): handle writing of compressed files
4999
5000         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5001         Check if the file is compressed and set a bufferparm if so.
5002
5003         * Makefile.am (lyx_LDADD): remove explicit -lz
5004
5005 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5006
5007         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5008         makeDocBookFile): put the real LyX version in the first line of
5009         the file
5010
5011         * version.h:
5012         * version.C.in: remove lyx_docversion
5013
5014         * tabular.C (write_attribute): add a template-based version to
5015         write enums properly
5016
5017 2003-07-28  André Pönitz  <poenitz@gmx.net>
5018
5019         * lyxtext.h:
5020         * text.C:
5021         * text2.C:
5022         * text3.C: use doubles again for x-coordinates. They are needed.
5023
5024 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * messages.C (getLocaleDir): use lyx_localedir()
5027
5028         * lyxlex_pimpl.C (setFile): compress stuff
5029
5030         * buffer.C (writeFile): add some compression stuff
5031         (do_writeFile): new func, dont call expliti close... will this
5032         breake anything?
5033
5034         * Makefile.am (lyx_LDADD): add -lz
5035
5036 2003-07-28  José Matos  <jamatos@fep.up.pt>
5037
5038         * buffer.C: increment file format.
5039         * paragraph_funcs (readParagraph, readParToken):
5040         * paragraph.C (readParagraph): add \end_layout.
5041
5042 2003-07-27  Angus Leeming  <leeming@lyx.org>
5043
5044         * Makefile.am: remove special casing for configure-time setting of
5045         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5046
5047         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5048         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5049
5050 2003-07-26  André Pönitz  <poenitz@gmx.net>
5051
5052         * paragraph_func.[Ch]:
5053         * paragraph.C (realizeFont): inline it whereever it is used
5054
5055         * rowpainter.C:
5056         * text.C:
5057         * text2.C:
5058         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5059
5060
5061 2003-07-26  André Pönitz  <poenitz@gmx.net>
5062
5063         *       lyxtext.h:
5064         * text.C:
5065         * text2.C: get rid of LyXText::need_break_row
5066
5067 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5068
5069         * toc.[Ch]: put namespace toc inside namespace lyx
5070
5071         * MenuBackend.C (expandToc2): adjust for lyx::toc
5072         (expandToc): ditto
5073
5074         * lyxfunc.C (dispatch): adjust for lyx::find
5075
5076         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5077         lyx::find instead. Reorganize a bit.
5078         (LyXReplace): rename to replace
5079         (LyXFind): rename to find
5080
5081         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5082         (dispatch): ditto
5083
5084 2003-07-26  André Pönitz  <poenitz@gmx.net>
5085
5086         * text.C (setHeightOfRow): restrict scope of temporary variable
5087
5088         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5089           code (never has been used?)
5090
5091 2003-07-27  Asger Alstrup  <alstrup@local>
5092
5093         * text.C (fill): Optimise algorithm to exploit that we can reuse
5094         the LyXFont for many characters.
5095         (setHeightOfRow): Same thing.
5096         (rowBreakPoint): Same thing.
5097
5098 2003-07-26  Asger Alstrup  <alstrup@local>
5099
5100         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5101
5102         * text.C (singleWidth): Spurious font copying in hot-spot
5103         singleWidth avoided. Reorder tests for arabic for efficiency.
5104
5105         * text.C (fill): handle empty paragraphs better.
5106
5107 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5108
5109         * ispell.C:
5110         * encoding.h: add includes
5111
5112         * lyxrc.C: remove reading of bind files
5113
5114         * lyx_main.C (init): setup bindings and menus only if we have a
5115         gui.
5116
5117         * kbmap.C (read): new method. Do the actual reading of bind
5118         files.
5119
5120         * converter.C (dvipdfm_options):
5121         * bufferparams.C:
5122         * lyxrc.C (read):
5123         (output): adapt PAPER_* enums.
5124
5125         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5126
5127         * bufferparams.h: remove paper-related enums from there
5128
5129         * paper.h: New file. A trivial header file to hold paper-related
5130         enums. It should later expand to contain many paper-related
5131         horrors access.
5132
5133         * lyxrc.C: declare extern displayTranslator
5134
5135 2003-07-27  José Matos  <jamatos@fep.up.pt>
5136
5137         * tabular.[Ch] (linuxdoc): add support for tables and figures
5138         (linuxdoc).
5139
5140 2003-07-27  José Matos  <jamatos@fep.up.pt>
5141
5142         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5143         consistency in both functions.
5144         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5145
5146 2003-07-26  Asger Alstrup  <alstrup@local>
5147
5148         * rowpainter.C (paintRows): Change algorithm to work directly on
5149         the insets rather than asking every character in the document
5150         whether its an inset.
5151
5152 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5153
5154         * buffer.C (openFileWrite): factorize some code
5155
5156 2003-07-26  Angus Leeming  <leeming@lyx.org>
5157
5158         * lyx_cb.C:
5159         * lyx_main.[Ch]: replace occurances of system_tempdir with
5160         os::getTmpDir().
5161
5162 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * rename Inset to InsetOld
5165
5166 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5167
5168         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5169         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5170         which I think is a bit clearer. EDIT is gone, since it was
5171         premature optimisation, and broken for mathed anyway.
5172         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5173         with cursor positioning in insets as well (math insets still do not
5174         work, but that's a different story anyway.) It mysteriously
5175         crashes sometimes with undo in the first paragraph, but I'm fairly
5176         confident that this is a compiler bug.
5177
5178 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5179
5180         * paragraph.C (Paragraph): adjust for new clone return type
5181         (operator==): ditto
5182         (copyIntoMinibuffer): ditto
5183
5184 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5185
5186         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5187         by not having a special case, and always doing a full rebreak of
5188         the document after undo.
5189
5190 2003-07-23  Angus Leeming  <leeming@lyx.org>
5191
5192         * factory.C (createInset): InsetExternal::setParams now takes a
5193         Buffer const * arg.
5194
5195 2003-07-23  Angus Leeming  <leeming@lyx.org>
5196
5197         * factory.C (createInset): changed interface to the external and
5198         graphics mailers' string2params functions.
5199
5200 2003-07-23  Angus Leeming  <leeming@lyx.org>
5201
5202         * factory.C (createInset): pass a
5203         Buffer const * parameter to InsetExternalMailer's string2params.
5204
5205 2003-07-22  John Levon  <levon@movementarian.org>
5206
5207         * Thesaurus.h: include the right aiksaurus header
5208
5209 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5210
5211         * MenuBackend.C (expand): check menu shortcuts unconditionally
5212
5213 2003-07-21  Angus Leeming  <leeming@lyx.org>
5214
5215         * factory.C (createInset): pass a
5216         buffer_path parameter to InsetGraphicsMailer's string2params.
5217
5218 2003-07-21  Angus Leeming  <leeming@lyx.org>
5219
5220         * BufferView_pimpl.C (buffer):
5221         * buffer.C (d-tor):
5222         * lyx_main.C (LyX):
5223         * lyxfunc.C (dispatch):
5224         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5225         rather than the grfx shortcut.
5226
5227 2003-07-21  André Pönitz  <poenitz@gmx.net>
5228
5229         * rowpainter.C: remove unused variables
5230
5231         * tabular_funcs.C:
5232         * tabular_funcs.h: move to tabular.C
5233         * Makefile.am: adjust
5234
5235         * tabular.[Ch]: basic optical cleaning
5236
5237         * author.h: pass references, not values
5238
5239 2003-07-18  André Pönitz  <poenitz@gmx.net>
5240
5241         * lyxtext.h:
5242         * metricsinfo.C:
5243         * metricsinfo.h:
5244         * rowpainter.C:
5245         * text.C:
5246         * text2.C:
5247         * text3.C: two-phase drawing for InsetText and InsetTabular
5248         some float -> int changes.
5249
5250 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * lyx_main.C: fix the fix
5253
5254 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5255
5256         * lyx_main.C: fix a crash in batch mode if no files specified
5257         * converter.C: ws
5258
5259 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5260
5261         * format.[Ch] (papersize): moved to BufferParams
5262         * converter.[Ch] (dvips_options): moved to BufferParams
5263         (dvipdfm_options): moved to anon namespace
5264         * bufferparams.[Ch]: added above functions.
5265
5266 2003-07-17  André Pönitz  <poenitz@gmx.net>
5267
5268         * lyxtext.h:
5269         * rowpainter.C:
5270         * text2.C: don't call inset->update() anymore
5271
5272         * metricsinfo.[Ch]: add convenience constructor
5273
5274 2003-07-16  André Pönitz  <poenitz@gmx.net>
5275
5276         * lyxcursor.[Ch]:
5277         * lyxfunc.[Ch]:
5278         * text.C:
5279         * text2.C: replace the LyXCursor::irow_ member with
5280          on-demand computation of the value
5281
5282 2003-07-16  John Levon  <levon@movementarian.org>
5283
5284         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5285
5286 2003-07-15  André Pönitz  <poenitz@gmx.net>
5287
5288         * text.C:
5289         * text2.C: remove no more needed refresh_row
5290
5291 2003-07-15  André Pönitz  <poenitz@gmx.net>
5292
5293         * lyxtext.h:
5294         * rowpainter.C:
5295         * text2.C:
5296         * text3.C: refresh_status tristate -> need_update bool
5297
5298 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5299
5300         * lyxtext.h (init): remove reinit argument (act as if always true)
5301         * text2.C: adjust to that
5302
5303 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5304
5305         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5306         * text3.C: use it to delete selections in some cases
5307         (bugs 441, 673, 702, 954).
5308
5309 2003-07-14  André Pönitz  <poenitz@gmx.net>
5310
5311         * rowpainter.[Ch]: reduce interface
5312
5313 2003-07-14  André Pönitz  <poenitz@gmx.net>
5314
5315         * BufferView_pimpl.C:
5316         * text2.C: adjust after removing unused BufferView * argument
5317
5318 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * text2.C (init): fix a crash fired on resize
5321
5322 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * buffer.[Ch]: added new closing signal
5325         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5326         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5327         BufferView::Pimpl via the closing the signal
5328
5329 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5330
5331         * buffer.[Ch]: take out all bv-related from buffer
5332         * BufferView.C:
5333         * BufferView_pimpl.[Ch]: connect to new signals
5334         * CutAndPaste.C: removed useless asserts
5335         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5336         * lyxvc.[Ch]:
5337         * vc-backend.[Ch]:
5338         * lyxfunc.C: moved view-related funciontality from vc here
5339         * paragraph.C: removed outdated comments
5340         * text.C: ws
5341
5342 2003-07-10  André Pönitz  <poenitz@gmx.net>
5343
5344         * BufferView_pimpl.C:
5345         * tabular.h:
5346         * tabular_funcs.C:
5347         * text.C:
5348         * text2.C: remove InsetText::InnerCache, clean up consequences
5349
5350 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5351
5352         * ispell.C: fix two typos in error messages
5353
5354 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5355
5356         * Extend Note inset to other forms of annotation like Comment
5357         and Greyedout. Right button click gives dialog.
5358
5359         Files modified or added (+):
5360
5361         * insetnote.[Ch]
5362         * FormNote.[Ch]      +
5363         * ControlNote.[Ch]   +
5364         * form_note.fd       +
5365         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5366         frontends/controllers
5367         * xforms/Dialogs.C
5368         * factory.C
5369
5370 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5371
5372         * aspell.C: add missing namespace lyx::support
5373
5374 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5375
5376         * BufferView.[Ch] (newFile): Add
5377         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5378         * LaTeX.[Ch] (message): added this signal and use it
5379         * buffer.[Ch] (busy, message): added these signals and use them
5380         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5381         * converter.C:
5382         * exporter.C:
5383         * format.C:
5384         * importer.C: use buffer signals instead of direct bv calling
5385         * lyx_cb.[Ch] (ShowMessage): removed
5386         * lyx_main.C:
5387         * lyxfunc.C:
5388         * paragraph_funcs.C:
5389         * text2.C: use buffer signals
5390
5391 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * introduce namespace lyx::graphics
5394
5395 2003-07-02  André Pönitz  <poenitz@gmx.net>
5396
5397         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5398
5399 2003-07-01  André Pönitz  <poenitz@gmx.net>
5400
5401         * text.C:
5402         * text2.C:
5403         * text3.C:
5404         * text_funcs.[Ch]:
5405         * textcursor.h:
5406         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5407           text*.C to text_func.C
5408
5409 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * introduce namespace lyx::support
5412
5413 2003-06-30  André Pönitz  <poenitz@gmx.net>
5414
5415         * Chktex.C:
5416         * funcrequest.C:
5417         * lyxtext.h:
5418         * text.C: re-enable --with-included-string
5419
5420 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * textcursor.C: add <config.h>
5423
5424         * text.C (getWord): remove const from word_location arg
5425
5426         * lyxvc.C (getLogFile): fix const type order
5427
5428         * lyxtext.h: remove const from word_location arg, add arg name
5429
5430         * lyxlayout.h: currect type on labeltype.
5431
5432         * importer.C: correct \file
5433
5434         * converter.C (intToFormat): use std:: on ret val, ws changes
5435
5436         * bufferlist.h: correct \file
5437
5438         * buffer.C (makeLinuxDocFile): fix const type order
5439         (makeDocBookFile): ditto
5440         (fillWithBibKeys): use std:: on stdlib args.
5441
5442         * CutAndPaste.C: fix authors.
5443         (availableSelections): use std:: on return vector
5444
5445 2003-06-27  André Pönitz  <poenitz@gmx.net>
5446
5447         * BufferView_pimpl.C:
5448         * bufferview_funcs.C:
5449         * lyxcursor.C:
5450         * lyxcursor.h:
5451         * lyxfunc.C:
5452         * lyxtext.h:
5453         * rowpainter.C:
5454         * text.C:
5455         * text2.C:
5456         * text3.C: remove LyXCursor::row_ member
5457
5458         * lyxtext.h:
5459         * text.C: rename fullRebreak() to partialRebreak() and implement
5460           a fullRebreak() that really bereks fully
5461
5462         * textcursor.h: new struct for cursor-related data
5463
5464 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5465
5466         * lyx_main.C (LyX): get full path of document loaded on the
5467         command line
5468
5469 2003-06-26  André Pönitz  <poenitz@gmx.net>
5470
5471         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5472           remove unused/broken operator>,<,>=.
5473
5474         *       text.C: remove only use of broken operator<= in an Assert().
5475
5476 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5477
5478         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5479         moved errorlist_.clear to showErrorList
5480
5481 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5482
5483         * converter.C (scanLog, runLaTeX):
5484         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5485         move the bv->showErrorList call to the callers
5486         * lyxfunc.C: i.e. here...
5487         * text2.C: and here
5488         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5489         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5490         namespace, the second to...
5491         * buffer_funcs (BufferFormat, parseErrors): added
5492         * errorlist.C (ErrorList(TeXErrors const &)): removed
5493
5494 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5495
5496         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5497
5498 2003-06-24  "Garst R. Reese" <reese@isn.net>
5499
5500         * debug.C: fix typo
5501
5502 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5503
5504         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5505
5506         * version.C.in: change docversion to 1.4
5507
5508 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5509
5510         * buffer.C: fix a bug just introduced
5511
5512 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5513
5514         * buffer.[Ch]: added the parseError signal and use it, removed
5515         sgmlError
5516         * BufferView.[Ch] (addError): moved to ...
5517         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5518         to the Buffer::parseError signal to catch (guess what) parse errors
5519         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5520
5521 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5522
5523         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5524         ability to create a buffer and to return an existing one from
5525         the list. Moved these functions to...
5526         * buffer_funcs.[Ch]: added
5527         * BufferView.[Ch] (loadLyXFile): added
5528         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5529         job removed from bufferlist::loadLyXFile.
5530         * buffer.C (setReadOnly): make it work without view
5531         (i.e added an if (users))
5532
5533 2003-06-19  Angus Leeming  <leeming@lyx.org>
5534
5535         * lfuns.h:
5536         * LyXAction.C (init):
5537         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5538         with LFUN_DIALOG_SHOW <name> <data>.
5539
5540 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5541
5542         * CutAndPaste.C (availableSelections): small compilation fix for
5543         ancient (gcc 2.9x) compilers
5544
5545 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5546
5547         * text3.C (cursorNext): add tmp var
5548
5549         * text2.C (updateCounters): for function calling out of for clause
5550         (replaceSelectionWithString): ditto
5551         (insertStringAsParagraphs): ditto
5552         (getColumnNearX): add tmp var
5553         (setCursorFromCoordinates): add tmp var
5554         (cursorDownParagraph): add tmp var
5555         (deleteEmptyParagraphMechanism): add tmp var
5556
5557         * text.C (insertChar): add tmp var
5558
5559         * rowpainter.C (paintDepthBar): add tmp var
5560
5561         * CutAndPaste.C (availableSelections): potentially check all
5562         paragraphs in a cut to fill the shown strings.
5563
5564 2003-06-18  André Pönitz  <poenitz@gmx.net>
5565
5566         * kbmap.[Ch]: use vector<> instead of list<>
5567
5568 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5569
5570         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5571         pasteSelection with index
5572
5573         * text2.C (pasteSelection): modify, call pasteSelection with index
5574
5575         * paragraph.C (asString): reimplement version with no interval to
5576         call the one with interval.
5577
5578         * lyxtext.h: add index arg to pasteSelection
5579
5580         * MenuBackend.C (MenuItem): handle PasteRecent
5581         (Menu::read::Menutags): add md_pasterecent
5582         (read): handle it
5583         (expandPasteRecent): new function
5584         (expand): use it
5585
5586         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5587
5588         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5589         the limited stack
5590         (availableSelections): new function
5591
5592 2003-06-17  Angus Leeming  <leeming@lyx.org>
5593
5594         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5595
5596 2003-06-17  Angus Leeming  <leeming@lyx.org>
5597
5598         * lfuns.h:
5599         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5600
5601         * lyxfunc.C (dispatch): invoke it.
5602
5603 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5604
5605         * iterators.C (operator++, ParPosition): reintroduce some
5606         const_cast for the benefit of older compilers.
5607
5608 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5609
5610         * text3.C (dispatch): do not modify clipboard when doing
5611         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5612         LFUN_DELETE_SKIP on a selection selection
5613
5614 2003-06-16  André Pönitz  <poenitz@gmx.net>
5615
5616         * BufferView.C:
5617         * buffer.C:
5618         * buffer.h:
5619         * paragraph.C:
5620         * tabular.[Ch]: IU of clone() and getLabelList();
5621
5622 2003-06-13  André Pönitz  <poenitz@gmx.net>
5623
5624         * tabular.h: compactification
5625
5626 2003-06-12  André Pönitz  <poenitz@gmx.net>
5627
5628         * tabular.C:
5629         * tabular.h:
5630         * tabular_funcs.h: some renaming plus whitespace
5631
5632 2003-06-12  André Pönitz  <poenitz@gmx.net>
5633
5634         * BufferView.C:
5635         * BufferView_pimpl.C:
5636         * CutAndPaste.C:
5637         * buffer.C:
5638         * iterators.[Ch]:
5639         * lyxfunc.C:
5640         * text.C:
5641         * toc.C: Return a Paragraph & for ParIterator::operator*()
5642
5643 2003-06-11  John Levon  <levon@movementarian.org>
5644
5645         * lyx_main.C:
5646         * ToolbarBackend.h:
5647         * ToolbarBackend.C: add "Toolbars" section and
5648         put the flags there
5649
5650 2003-06-10  Angus Leeming  <leeming@lyx.org>
5651
5652         * lfuns.h:
5653         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5654
5655         * lyxfunc.C (dispatch): invoke it.
5656
5657 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * main.C: protect <ios> with HAVE_IOS
5660         (main): protect sync_with_stdio with HAVE_IOS
5661
5662 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5663
5664         * text2.C (cutSelection): adjust
5665         (pasteSelection): adjust
5666
5667         * messages.C: handle get of empty string
5668
5669         * main.C (main): use sync_with_stdio(false)
5670
5671         * lyxfunc.C (dispatch): adjust
5672
5673         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5674         (WriteAs): remove unneeded BufferView arg.
5675
5676         * bufferparams.h: use correct types on papersize, papersize2 and
5677         paperpackage.
5678
5679         * bufferparams.C (readToken): adjust for type
5680         (writeLaTeX): add missing cases to switch.
5681
5682         * bufferlist.C (quitWriteBuffer): adjust
5683         (close): adjust
5684
5685         * buffer.C (asciiParagraph): remove some commented code.
5686
5687         * CutAndPaste.C: remove current_view extern variable.
5688         (cutSelection): add BufferParams arg.
5689         (eraseSelection): add BufferParams arg.
5690         (pasteSelection): add Buffer const & arg
5691
5692 2003-06-07  John Levon  <levon@movementarian.org>
5693
5694         * buffer.C:
5695         * paragraph_funcs.C:
5696         * paragraph_pimpl.C:
5697         * text.C:
5698         * text2.C:
5699         * paragraph.h:
5700         * paragraph.C: allow InsetERT to freely space lines,
5701         and some consolidation of code
5702
5703 2003-06-06  José Matos  <jamatos@fep.up.pt>
5704
5705         * buffer.C (makeDocBookFile): fix bug #821
5706
5707 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5708
5709         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5710
5711 2003-06-04  Angus Leeming  <leeming@lyx.org>
5712
5713         * buffer.C: bump format to 224.
5714
5715 2003-06-05  André Pönitz  <poenitz@gmx.net>
5716
5717         * text2.C (redoParagraphs): remove two const_cast<>
5718
5719 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5720
5721         * ParagraphList.h: remove last remnants of NO_STD_LIST
5722
5723 2003-06-03  Angus Leeming  <leeming@lyx.org>
5724
5725         * factory.C (createInset): small change to the way InsetExternal's params
5726         are set.
5727
5728 2003-06-04  André Pönitz  <poenitz@gmx.net>
5729
5730         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5731
5732         * paragraph_pimpl.h:
5733         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5734
5735         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5736
5737         * undo_funcs.C: make some simple cases of undo work again
5738
5739 2003-06-03  John Levon  <levon@movementarian.org>
5740
5741         * ispell.C: HPUX doesn't have sys/select.h
5742         (from Albert Chin)
5743
5744 2003-06-03  John Levon  <levon@movementarian.org>
5745
5746         * CutAndPaste.C: update tabular and include inset
5747         buffer references
5748
5749         * buffer.h:
5750         * paragraph.h:
5751         * paragraph.C: remove owningBuffer(), don't pass Buffer
5752         to clone()
5753
5754         * factory.C: insetGraphicsParams changed
5755
5756 2003-06-02  John Levon  <levon@movementarian.org>
5757
5758         * LyXAction.C:
5759         * factory.C:
5760         * lfuns.h:
5761         * lyxfunc.C:
5762         * text3.C: remove insetparent
5763
5764 2003-06-02  John Levon  <levon@movementarian.org>
5765
5766         * buffer.h:
5767         * buffer.C: fix inset_iterator.end(), move out of line
5768         (bug 1149)
5769
5770 2003-06-01  John Levon  <levon@movementarian.org>
5771
5772         * text3.C: use a proper cut/paste when doing inset
5773         insert (from Jürgen Spitzmüller)
5774
5775 2003-06-01  John Levon  <levon@movementarian.org>
5776
5777         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5778
5779 2003-05-30  André Pönitz  <poenitz@gmx.net>
5780
5781         * rowpainter.C: unify second drawing phase
5782
5783 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5784
5785         * trans_mgr.C: remove one case of current_view
5786
5787         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5788
5789         * paragraph_funcs.h: remove paragraph.h include
5790
5791         * paragraph.h: delete NO_STD_LIST stuff
5792
5793         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5794
5795         * buffer.h: remove paragraph.h include
5796
5797         * ParagraphList.C: delete file
5798
5799         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5800
5801         * toc.C (getTocList): adjust
5802
5803         * paragraph_pimpl.C (validate): adjust
5804
5805         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5806
5807         * paragraph.C (Paragraph): adjust
5808         (getPositionOfInset): use const_iterator, adjust
5809         (bibitem): use const_iterator, adjust
5810         (setInsetOwner): adjust
5811
5812         * iterators.C (operator++): adjust
5813
5814         * InsetList.[Ch]: Replace selfmade iterator with standard
5815         vector::iterator also introduce const_iterator. Remove getPos,
5816         getInset and setInset from InsetTable. Adjust accordingly.
5817
5818         * BufferView.C (lockInset): adjust
5819         (ChangeInsets): adjust
5820
5821         * tabular.[Ch]: delete commented same_id functions
5822
5823 2003-05-28  John Levon  <levon@movementarian.org>
5824
5825         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5826
5827 2003-05-28  André Pönitz  <poenitz@gmx.net>
5828
5829         * metricsinfo.[Ch]: remove 'fullredraw' member
5830
5831 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5832
5833         * lyxtextclass.C (operator): remove caching.
5834
5835 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5836
5837         * text3.C: adjust
5838
5839         * text2.C (cursorBottom): adjust
5840         (setCounter): use ParagraphList::find, adjust
5841
5842         * text.C (workWidth): use ParagraphList::find, adjust
5843
5844         * lyxcursor.C (LyXCursor): adjust
5845
5846         * buffer.C (inset_iterator): adjust
5847
5848         * ParagraphList.h: make iterator(value_type) private, make
5849         ParagraphList a friend of iterator.
5850
5851         * ParagraphList.C (find): new function
5852
5853         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5854
5855 2003-05-27  André Pönitz  <poenitz@gmx.net>
5856
5857         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5858
5859 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5860
5861         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5862
5863 2003-05-26  John Levon  <levon@movementarian.org>
5864
5865         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5866
5867 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5868
5869         * remove same_id from function signatures, adjust.
5870
5871 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5874
5875         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5876
5877         * paragraph.C (Paragraph): get rid of same_ids parameter
5878
5879         * ParagraphList.C (insert): adjust
5880         (push_back): adjust
5881
5882 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * paragraph_funcs.C (breakParagraph): adjust
5885         (breakParagraphConservative): adjust
5886
5887         * buffer.C (readParagraph): adjust
5888
5889         * ParagraphList.C (insert): take a reference instead of a pointer
5890         (insert): adjust
5891
5892         * paragraph.[Ch] (id): new function
5893
5894         * bufferlist.C (newFile): adjust
5895
5896         * ParagraphList.C (ParagraphList): adjust
5897         (assign): adjust
5898         (push_back): take a reference instead of a pointer.
5899
5900         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5901
5902         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5903         instead.
5904
5905         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5906         set else use old code.
5907
5908         * ParagraphList.C: remove all NO_NEXT code and only compile this
5909         code of NO_STD_LIST is set.
5910
5911 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5912
5913         * BufferView_pimpl.C:
5914         * TextCache.C:
5915         * TextCache.h:
5916         * bufferlist.C:
5917         * errorlist.h:
5918         * format.C:
5919         * format.h:
5920         * graph.C:
5921         * lyxfunc.C:
5922         * lyxrc.C:
5923         * graphics/GraphicsConverter.C:
5924         * graphics/PreviewLoader.C: header adjustment
5925
5926 2003-05-23  Angus Leeming  <leeming@lyx.org>
5927
5928         * LaTeXFeatures.[Ch] (useBabel): new method.
5929         * bufferparams.C (writeLaTeX): use it.
5930
5931 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5932
5933         * ParagraphList.h (set): remove unused function.
5934
5935 2003-05-23  André Pönitz  <poenitz@gmx.net>
5936
5937         * BufferView.C:
5938         * BufferView_pimpl.C:
5939         * buffer.C:
5940         * buffer.h:
5941         * lyxfunc.C:
5942         * undo_funcs.C: setUndo reworked
5943
5944         * iterators.[Ch]: add access to topmost ParagraphList
5945
5946         * lyxtext.[Ch] (workWidth): add a const
5947
5948 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5949
5950         * texrow.[Ch] (increasePos): remove function
5951         * exporter.C (export): removed unused var and outdated comment
5952
5953 2003-05-23  Angus Leeming  <leeming@lyx.org>
5954
5955         * latexrunparams.h: rename fragile as moving_arg.
5956         * paragraph.C (simpleTeXOnePar): ditto.
5957         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5958
5959 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5962         (createUndo): ditto
5963         (textUndoOrRedo): comment out a currently unused var.
5964
5965         * paragraph.h (NO_NEXT): enable NO_NEXT
5966
5967         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5968
5969         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5970
5971         * exporter.C (Export): adjust for removeAutoInsets removal.
5972
5973         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5974
5975         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5976
5977         * BufferView.[Ch] (removeAutoInsets): delete function
5978
5979 2003-05-22  Angus Leeming  <leeming@lyx.org>
5980
5981         * latexrunparams.h: add a free_spacing variable.
5982
5983         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5984         to pass moving_arg, as the data is stored in runparams.fragile.
5985
5986         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5987         to Inset::latexOptional or to simpleTeXOnePar.
5988
5989         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5990         free_spacing arg to Inset::latexOptional.
5991
5992         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5993         free_spacing arg.
5994
5995 2003-05-22  Angus Leeming  <leeming@lyx.org>
5996
5997         * latexrunparams.h: add fragile and use_babel variables.
5998
5999         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6000         * buffer.C (makeLaTeXFile): store this returned value in
6001         runparams.use_babel, thus passing it to the inset::latex methods.
6002
6003         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6004         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6005
6006         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6007         longer has a fragile arg, as it is stored in runparams.fragile.
6008
6009         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6010         moving_arg parameter as the data is stored in runparams.fragile.
6011
6012         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6013         a fragile parameter as the data is stored in runparams.fragile.
6014
6015 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6018
6019 2003-05-22  Angus Leeming  <leeming@lyx.org>
6020
6021         * latexrunparams.h: add a 'bool nice' which defaults to false.
6022
6023         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6024         now encapsulated within runparams.
6025
6026         * bufferlist.C (updateIncludedTeXfiles):
6027         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6028
6029 2003-05-22  Angus Leeming  <leeming@lyx.org>
6030
6031         * latexrunparams.h: new file containing struct LatexRunParams.
6032         * Makefile.am: add new file.
6033
6034         * LaTeX.[Ch] (c-tor, run):
6035         * buffer.[Ch] (makeLaTeXFile):
6036         * bufferlist.[Ch] (updateIncludedTeXfiles):
6037         * converter.C (convert, scanLog):
6038         * converter.[Ch] (runLaTeX):
6039         * exporter.C (Export):
6040         * paragraph.[Ch] (simpleTeXOnePar):
6041         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6042         * paragraph_funcs.[Ch] (latexParagraphs):
6043         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6044         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6045         pass around a LatexRunParams parameter.
6046
6047 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * paragraph.[Ch]: remove unused constructor
6050
6051         * ParagraphList.C (erase): new function, taking two iterators
6052
6053 2003-05-22  André Pönitz  <poenitz@gmx.net>
6054
6055         * undo_funcs.C: remove duplicated code
6056
6057         * iterator.[Ch]: operator=
6058
6059 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * tabular.C (SetMultiColumn): ws changes
6062
6063         * rowpainter.C (paintFirst): get rid of a ->previous
6064
6065         * lyx_cb.C (getPossibleLabel): parlist simplification
6066
6067         * BufferView.C (ChangeInsets): simplify slightly.
6068
6069 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6070
6071         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6072         * lfuns.h: new LFUN_SPACE
6073         * lyxfunc.C: protected space has a new lfun
6074         * paragraph_funcs.C: read new space insets
6075         * text3.C:
6076         * factory.C: handle new space insets
6077
6078 2003-05-22  André Pönitz  <poenitz@gmx.net>
6079
6080         * BufferView.C:
6081         * BufferView_pimpl.C:
6082         * buffer.[Ch]:
6083         * lyxfunc.C:
6084         * undo_funcs.C: return a ParIterator from getParFromID.
6085
6086         * iterators.[Ch]: add two const's
6087
6088 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * toc.C (getTocList): adjust
6091
6092         * iterators.[Ch]: rework for parlist
6093
6094         * buffer.C (par_iterator_begin): adjust
6095         (par_iterator_end): adjust
6096
6097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6098
6099         * BufferView.C (removeAutoInsets): adjust
6100         (ChangeInsets): adjust
6101
6102 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6103
6104         * text.C (top_y): fix bug 1110
6105
6106 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6107
6108         * errorlist.[Ch]: added
6109         * buffer.C:
6110         * BufferView.[Ch]:
6111         * BufferView_pimpl.C:
6112         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6113         instead
6114
6115 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6116
6117         * Makefile.am: ensure that lyx is relinked upon changes to the
6118         various "convenience" libs.
6119
6120 2003-05-20  Angus Leeming  <leeming@lyx.org>
6121
6122         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6123         files are compiled in alphabetical order again.
6124
6125         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6126
6127 2003-05-19  Angus Leeming  <leeming@lyx.org>
6128
6129         * gettext.[Ch]: remove "char const * _(char const *)".
6130
6131 2003-05-19  André Pönitz  <poenitz@gmx.net>
6132
6133         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6134
6135         * Makefile.am:
6136         * BufferView.C:
6137         * DepTable.h:
6138         * LaTeXFeatures.C:
6139         * buffer.C:
6140         * lyxfont.C:
6141         * lyxlex.h:
6142         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6143
6144 2003-05-19  André Pönitz  <poenitz@gmx.net>
6145
6146         * buffer.C:
6147         * lyxlayout.[Ch]:
6148         * lyxtextclass.[Ch]:
6149         * paragraph.C:
6150         * paragraph_funcs.[Ch]:
6151         * text2.C:
6152         * text3.C: more insetenv work
6153
6154 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6155
6156         * ParagraphParameters.C (params2string): small bug fixed
6157
6158 2003-05-16  André Pönitz  <poenitz@gmx.net>
6159
6160         * debug.C:
6161         * bufferview_funcs.C: patch from Kornel Benko to prevent
6162           crash when _(...) is called twice in a statement
6163
6164 2003-05-16  André Pönitz  <poenitz@gmx.net>
6165
6166         * BufferView.C:
6167         * lyxfunc.C:
6168         * text.C:
6169         * text2.C:
6170         * text3.C:
6171         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6172
6173 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6174
6175         * lyx_main.C (init): remove spurious static_cast
6176
6177 2003-05-14  André Pönitz  <poenitz@gmx.net>
6178
6179         * BufferView.C: fix format string
6180
6181 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6182
6183         * BufferView.[Ch] (insertErrors): removed
6184         * BufferView.[Ch] (showErrorList): added
6185         * buffer.C (runChkTeX):
6186         * converter.C (scanLog): call showErrorList instead of inserterrors
6187
6188 2003-05-13  André Pönitz  <poenitz@gmx.net>
6189
6190         * BufferView_pimpl.C:
6191         * buffer.C:
6192         * bufferview_func.C:
6193         * MenuBackend.C:
6194         * lyxfunc.C:
6195         * lyxrc.C:
6196         * tex-accent.C:
6197         * text3.C:
6198         * toc.C:
6199         * tabular_funcs.h: tostr() from its own header
6200
6201         * ParagraphParameters.C:
6202         * ToolbarBackend.C:
6203         * bufferparams.C:
6204         * format.C:
6205         * lyxlex_pimpl.C:
6206         * text3.C: STRCONV()
6207
6208 2003-05-12  André Pönitz  <poenitz@gmx.net>
6209
6210         * BufferView.C:
6211         * BufferView_pimpl.C:
6212         * CutAndPaste.C:
6213         * LaTeX.C:
6214         * LaTeXFeatures.C:
6215         * ParagraphParameters.C:
6216         * buffer.C:
6217         * bufferlist.C:
6218         * bufferparams.C:
6219         * bufferview_funcs.C:
6220         * converter.C:
6221         * counters.C:
6222         * debug.C:
6223         * exporter.C:
6224         * format.C:
6225         * importer.C:
6226         * lyx_cb.C:
6227         * lyx_main.C:
6228         * lyxfont.C:
6229         * lyxfunc.C:
6230         * lyxvc.C:
6231         * paragraph.C:
6232         * paragraph_funcs.C:
6233         * tabular.C:
6234         * tabular_funcs.C:
6235         * text2.C:
6236         * text3.C:  boost::format -> bformat  all over the place
6237
6238
6239 2003-05-09  André Pönitz  <poenitz@gmx.net>
6240
6241         * LColor.[Ch]: Pimpl the #include <map> away
6242
6243 2003-05-09  John Levon  <levon@movementarian.org>
6244
6245         * bufferlist.C: never remove emergency saves
6246
6247 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6248
6249         * Makefile.am: better lib building
6250
6251 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6254         instead.
6255         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6256         (simpleTeXSpecialChars): adjust
6257         (simpleTeXSpecialChars): adjust
6258         * paragraph.C (simpleTeXOnePar): adjust
6259         * buffer.C (makeLaTeXFile): adjust
6260
6261         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6262
6263         * text2.C (changeDepth): parlist cleanup
6264         (getColumnNearX): ditto
6265
6266         * rowpainter.C (getLabelFont): parlist cleanup
6267
6268         * bufferlist.C (newFile): parlist cleanup
6269
6270         * CutAndPaste.C (eraseSelection): parlist cleanup
6271
6272         * BufferView_pimpl.C (trackChanges): parlist cleanup
6273         (dispatch): ditto
6274
6275         * BufferView.C (lockInset): parlist cleanup.
6276         (ChangeInsets): ditto
6277
6278 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * CutAndPaste.h: Update file header.
6281
6282         * CutAndPaste.C: Update file header.
6283         Store the parts cut out of the Document in a limited_stack.
6284         (copySelection): adjust
6285         (pasteSelection): new function, takes the index in the limited stack.
6286         (nrOfParagraphs): adjust
6287         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6288         simplify error inset insertion.
6289         (checkPastePossible): adjust
6290
6291 2003-05-06  John Levon  <levon@movementarian.org>
6292
6293         * text2.C: don't cast wrap inset to float
6294
6295 2003-05-05  André Pönitz  <poenitz@gmx.net>
6296
6297         * iterator.C:
6298         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6299
6300         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6301           few naked Paragraph *.
6302
6303 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6304
6305         * bufferparams.C: Output warning if a document with missing
6306         TeX document class is loaded
6307         * exporter.C: Disable TeX exports if the document class is missing
6308         * lyxtextclass.C:
6309         * lyxtextclass.h:
6310         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6311         isTeXClassAvailable()
6312
6313 2003-05-03  John Levon  <levon@movementarian.org>
6314
6315         * BufferView.h:
6316         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6317         explicit cursor show/hide
6318
6319         * BufferView_pimpl.h:
6320         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6321         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6322
6323         * lyxfunc.C: hide cursor before dispatching.
6324
6325         * lyx_cb.C:
6326         * lyxfind.C:
6327         * text.C:
6328         * text3.C: remove explicit cursor hides
6329
6330 2003-05-02  André Pönitz  <poenitz@gmx.net>
6331
6332         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6333
6334         * undo_funcs.C:
6335         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6336           linked lists
6337
6338         * text2.C: tiny whitespace
6339
6340 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6341
6342         * undo_funcs.C: almost only ws changes.
6343
6344         * ParagraphList.C (splice): just return if pl is empty.
6345
6346 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * ParagraphList.C (splice): new function.
6349
6350         * CutAndPaste.C (pasteSelection): use it
6351
6352 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * CutAndPaste.C (pasteSelection): remove the last next and
6355         previous from this file.
6356
6357 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * CutAndPaste.C (pasteSelection): more clean up, user proper
6360         ParagraphList functions for pasteing.
6361
6362         * ParagraphList.C (insert): new function, three arg insert
6363
6364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * ParagraphList.C (insert): new function, three arg insert
6367
6368         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6369         not on paragraphs.
6370
6371 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6374
6375 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6376
6377         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6378
6379 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6382         (copySelection): clean up a bit.
6383         (pasteSelection): use make_pair
6384
6385         * ParagraphList.C (ParagraphList): implement copy constructor
6386         (operator=): implement, base on copy constructor.
6387         (assign): new func
6388
6389         * paragraph.C (erase): return a bool
6390
6391         * paragraph_pimpl.C (erasePos): remove function, move contents...
6392         (erase): ... here. Return a bool.
6393         (erase): call erase instead of erasePos.
6394
6395 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6396
6397         * ParagraphList.h: define PitPosPair
6398         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6399         ParagraphList, fix a bug on pasting multiple pars
6400         * text2.C: change interface to C&P
6401
6402 2003-04-30  André Pönitz  <poenitz@gmx.net>
6403
6404         * undo_func.C: revert part of yesterday's patch 2
6405
6406 2003-04-30  John Levon  <levon@movementarian.org>
6407
6408         * LColor.C: s/tabular/table/
6409
6410 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * text3.C (dispatch): do not convert iterator -> pointer
6413         * undo_funcs.C (setCursorParUndo): ditto
6414         * text_funcs.C (transposeChars): ditto
6415
6416         * text2.C (setLayout): ws changes only
6417
6418         * text.C (breakParagraph): do not convert iterator -> pointer
6419         (insertChar): ditto
6420         (acceptChange): ditto
6421         (rejectChange): ditto
6422         (changeCase): ditto
6423         (Delete): ditto
6424         (backspace): ditto
6425
6426         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6427         pointer
6428
6429 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6430
6431         * text3.C (gotoInset): YABG (yet another bad getChar)
6432
6433 2003-04-29  André Pönitz  <poenitz@gmx.net>
6434
6435         * paragraph.h: make operator= private unimplemented as long as
6436           it is unusable
6437
6438         * ParagraphList.C: whitespace
6439
6440         * paragraph.[Ch]:
6441         * paragraph_pimpl.[Ch]:
6442         * paragraph_funcs.C:
6443         * CutAndPaste.C:
6444         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6445
6446         * text2.C:
6447           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6448
6449 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6450
6451         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6452         * paragraph.[Ch] (erase):
6453         * paragraph_pimpl.[Ch] (erase): change return type and value
6454         * text2.C (cutSelection): some rework
6455
6456 2003-04-28  John Levon  <levon@movementarian.org>
6457
6458         * bufferlist.C: changes for unsaved changes dialog
6459
6460 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * bufferlist.C (newFile): set language (messages_) for new
6463         documents also.
6464
6465         * buffer.C (readFile): ws changes only.
6466
6467 2003-04-28  André Pönitz  <poenitz@gmx.net>
6468
6469         * undo_funcs.C:
6470         * lyxfunc.C:
6471         * buffer.[Ch]:
6472         * BufferView_pimpl.C:
6473         * BufferView.C: getParFromID related ParagraphList::iterator changes
6474
6475 2003-04-28  André Pönitz  <poenitz@gmx.net>
6476
6477         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6478           Changes
6479
6480 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * messages.C: remove one more localedir class variable.
6483
6484 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * messages.C (getLocaleDir): singleton generation function
6487         (Pimpl): use it.
6488         (Messages): add a default constructor.
6489
6490         * main.C (main): do not setup localedir here, do not call
6491         gettext_init.
6492
6493         * gettext.C (_): use it.
6494         (gettext_init): delete funciton
6495
6496 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * gettext.C (getLyXMessages): new singleton generating function.
6499
6500         * buffer.C (updateDocLang): adjust
6501
6502         * Makefile.am (messages.o): add target
6503         (main.o): remove target
6504
6505 2003-04-27  John Levon  <levon@movementarian.org>
6506
6507         * bufferlist.C:
6508         * lyx_cb.C:
6509         * lyxfunc.C:
6510         * lyxvc.C: specify cancel button in Alert::prompt
6511
6512 2003-04-26  John Levon  <levon@movementarian.org>
6513
6514         * text3.C:
6515         * lyxfunc.C:
6516         * lfuns.h:
6517         * LyXAction.C: add LFUN_INSET_SETTINGS
6518
6519         * lyxfunc.C: don't enable tabular-feature when there's
6520         just any locking inset
6521
6522 2003-04-26  John Levon  <levon@movementarian.org>
6523
6524         * bufferlist.C: re-add Cancel to buffer close question
6525
6526         * lyxfunc.C: fix import UI a bit
6527
6528 2003-04-25  John Levon  <levon@movementarian.org>
6529
6530         * gettext.C: remove the broken asserts for now
6531
6532 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * messages.C: make case where setlocale cannot comply work better.
6535
6536         * buffer.C (updateDocLang): new function
6537         (changeLanguage): use it
6538         (readFile): use it
6539
6540         * text2.C (setCounter): use B_ a bit.
6541
6542         * lyxlayout.C (Read): be sure to trim the label strings.
6543
6544         * messages.C (Messages): fix typo in comment
6545
6546         * buffer.C (readFile): set message_ after file is loaded.
6547         (makeDocBookFile): remove double return
6548         (changeLanguage): reset message_ upon language change.
6549         (B_): new func, use this to get translated buffer strings.
6550
6551         * main.C: add myself and Jean Marc as authors.
6552
6553 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * messages.[hC]: pimplify Messages, and three different pimpls to be
6556         used in different circumstances.
6557
6558         * gettext.[Ch]: change for use with new message code.
6559
6560 2003-04-24 André Pönitz <poenitz@gmx.net>
6561
6562         * factory.C: support for eqref
6563
6564 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6565
6566         * messages.[Ch]: add missing char
6567
6568         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6569
6570         * messages.[Ch]: New files
6571
6572 2003-04-18  John Levon  <levon@movementarian.org>
6573
6574         * BufferView.h:
6575         * BufferView.C:
6576         * BufferView_pimpl.C:
6577         * lfuns.h:
6578         * LyXAction.C:
6579         * lyxtext.h:
6580         * text2.C: remove layout-copy/paste (bug 778)
6581
6582 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6583
6584         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6585
6586 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6587
6588         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6589         if they succeed. Act accordingly.
6590
6591 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * text2.C (setCharFont): adjust
6594         (setCounter): adjust
6595         (insertStringAsLines): adjust
6596
6597         * text.C (leftMargin): adjust
6598         (setHeightOfRow): adjust
6599
6600         * rowpainter.C (paintFirst): adjust
6601         (paintLast): adjust
6602
6603         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6604         (outerHook): ditto
6605         (isFirstInSequence): ditto
6606         (getEndLabel): ditto
6607         (outerFont): adjust
6608
6609         * paragraph.C (getParLanguage): comment out some hard stuff.
6610
6611         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6612         (sgmlError): ditto
6613         (simpleDocBookOnePar): ditto
6614         (makeDocBookFile): use ParagraphList::iterator
6615
6616         * CutAndPaste.C (pasteSelection): adjust
6617
6618 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * text2.C (getFont): adjust
6621         (getLayoutFont): adjust
6622         (getLabelFont): adjust
6623
6624         * paragraph_funcs.C (TeXOnePar): adjust
6625
6626         * buffer.C (simpleLinuxDocOnePar): adjust
6627         (simpleDocBookOnePar): adjust
6628
6629         * CutAndPaste.C (pasteSelection): adjust
6630
6631         * BufferView.C (getEncoding): adjust
6632
6633         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6634
6635 2003-04-16  John Levon  <levon@movementarian.org>
6636
6637         * lyxfind.C: use parlist stuff for search/changes
6638
6639 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6640
6641         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6642
6643         * text2.C (deleteEmptyParagraphMechanism): adjust
6644
6645         * text2.[Ch] (ownerParagraph): delete func (both of them
6646
6647 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6648
6649         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6650
6651 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * ParagraphList.C: prepare for NO_NEXT
6654
6655 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * text2.C (getFont): adjust
6658         (getLayoutFont): adjust
6659         (getLabelFont): adjust
6660
6661         * paragraph.C (getFont): adjust
6662         (getLabelFont): adjust
6663         (getLayoutFont): adjust
6664
6665         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6666
6667 2003-04-15  John Levon  <levon@movementarian.org>
6668
6669         From Angus Leeming
6670
6671         * lyx_main.C: handle Include in .ui files
6672
6673 2003-04-15  John Levon  <levon@movementarian.org>
6674
6675         * MenuBackend.C: make the doc files length shorter
6676
6677         * ToolbarBackend.h:
6678         * ToolbarBackend.C: handle toolbar placement flags,
6679         Minibuffer
6680
6681 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6682
6683         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6684         adjust
6685
6686         * paragraph_funcs.C (TeXOnePar): adjust
6687
6688         * paragraph.C (getLabelFont): add outerfont arg, adjust
6689         (getLayoutFont): ditto
6690         (simpleTeXOnePar): adjust
6691
6692         * paragraph_pimpl.C (realizeFont): delete func
6693
6694 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6695
6696         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6697         row argument, constify cur argument.
6698
6699 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * text2.C (getFont): adjust
6702         (getLayoutFont): adjust
6703         (getLabelFont): adjust
6704
6705         * paragraph_funcs.C (TeXOnePar): adjust
6706         (outerFont): new func...
6707         (realizeFont): ...moved out from here, changed this to facilitate
6708         transition
6709
6710         * paragraph.C (getFont): take outerfont as arg, adjust
6711         (simpleTeXOnePar): add outerfont arg, adjust
6712
6713         * buffer.C (simpleLinuxDocOnePar): adjust
6714         (simpleDocBookOnePar): adjust
6715
6716         * CutAndPaste.C (pasteSelection): adjust
6717
6718         * BufferView.C (getEncoding): adjust
6719
6720 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * text2.C (setCharFont): adjust
6723         (setCounter): adjust
6724
6725         * text.C (leftMargin): adjust
6726         (setHeightOfRow): adjust
6727
6728         * rowpainter.C (paintFirst): adjust
6729         (paintLast): adjust
6730
6731         * paragraph_pimpl.C (realizeFont): adjust
6732
6733         * paragraph.C (isFirstInSequence): move from here...
6734         * paragraph_funcs.C (isFirstInSequence): ...to here
6735
6736         * paragraph.C (outerHook): move from here...
6737         * paragraph_funcs.C (outerHook): ...to here
6738
6739         * paragraph.C (depthHook): move from here...
6740         * paragraph_funcs.C (depthHook): ...to here
6741
6742         * paragraph.C (getEndLabel): move from here...
6743         * paragraph_funcs.C (getEndLabel): ...to here
6744
6745         * text2.C (realizeFont): move from here...
6746         * paragraph_funcs.C (realizeFont): ...to here
6747
6748 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6749
6750         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6751
6752 2003-04-14  Angus Leeming  <leeming@lyx.org>
6753
6754         * LColor.[Ch]: scrap LColor mathcursor.
6755
6756 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * lyxlex.[Ch] (text): delete function
6759         * trans.C (Load): adjust
6760         * paragraph_funcs.C (readParToken): adjust
6761
6762 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6763
6764         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6765         vector<char> instead of a char[].
6766
6767         * lyxlex_pimpl.C (getString): adjust
6768         (next): adjust
6769         (lex): use getString
6770         (eatLine): adjust
6771         (nextToken): adjust
6772
6773         * lyxlex.C (text): use pimpl_->getString()
6774         (getBool): ditto
6775         (findToken): ditto
6776
6777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6778
6779         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6780         (makeFontEntriesLayoutSpecific): temp var for par.size()
6781         (setLayout): temp var for ownerParagraphs().end()
6782         (fullRebreak): temp var for rows().end()
6783         (selectionAsString): temp var for boost::next(startpit), realize
6784         that the while really is a regular for loop.
6785         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6786         setCursor in one place.
6787         (setParagraph): temp vr for ownerParagraphs().end()
6788         (updateCounters): make the while loop a for loop
6789         (cutSelection): temp var for ownerParagraphs().end()
6790         (updateInset): make the do {} while() a regular for loop
6791         (getCursorX): use temp vars
6792         (setCurrentFont): use temp vars
6793         (getColumnNearX): use temp vars
6794
6795 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6796
6797         * text.C (transformChar): use temp var for getChar
6798         (computeBidiTables): use temp var for row->par()
6799         (fill): move temp vars for row->par() and pit->layout() earlier in
6800         the function.
6801         (labelFill): use temp var for row->par()
6802         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6803         asc and desc, realize that pit never changes and that firstpit is
6804         just a duplicate and not needed. Exchange rit->par() with pit in a
6805         lot of places.
6806         (breakAgain): use a temp var for boost::next(rit)
6807         (breakAgainOneRow): ditto
6808         (breakParagraph): use a temp var for rows().begin()
6809         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6810         (cursorRightOneWord): use temp var for cursor.par() and
6811         cursor.pos(), remove usage of tmpcursor.
6812         (cursorLeftOneWord): use temp var for cursor.par() and
6813         cursor.pos() only set cur at end of function.
6814
6815 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6816
6817         * text.C, text2.C: exchange all usage of Paragraph::next with
6818         boost::next(ParagraphList::iterator)
6819
6820         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6821
6822         * text2.C (cursorTop): simplify implementation
6823         (cursorBottom): ditto
6824         (setParagraph): use ParagraphList::iterator
6825         (setCurrentFont): adjust
6826         (getColumnNearX): adjust
6827         (cursorRight): adjust
6828         (cursorLeft): remove usage of Paragraph::previous
6829         (cursorUpParagraph): ditto
6830         (deleteEmptyParagraphMechanism): slight cleanup
6831
6832         * text.C (isBoundary): take a Paragraph const & instead of a
6833         pointer as arg.
6834         (addressBreakPoint): ditto
6835         (leftMargin): remove usage of Paragraph::previous.
6836         (setHeightOfRow): ditto
6837         (cursorLeftOneWord): ditto
6838         (selectNextWordToSpellcheck): ditto
6839         (Delete): ditto
6840         (backspace): ditto
6841         (breakParagraph): remove one usage of Paragraph::next
6842         (redoParagraph): ditto
6843         (acceptChange): ditto
6844         (insertChar): adjust
6845         (rowBreakPoint): adjust
6846
6847         * bufferview_funcs.C (toggleAndShow): adjust
6848
6849 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6850
6851         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6852         methods to access it.
6853         * lyxtext.h:
6854         * text.C: Added updateRowPositions to compute all row positions.
6855         Make top_y and getRowNearY() to use the cached y position
6856
6857 2003-04-11  John Levon  <levon@movementarian.org>
6858
6859         * text.C (rowBreakPoint): reintroduce the labelEnd
6860         checks, code copied from the row fill stuff. Deep voodoo.
6861
6862         * text.C (fill): add a comment and debugging for the
6863         next poor soul.
6864
6865 2003-04-11  John Levon  <levon@movementarian.org>
6866
6867         * text.C: make sure fullrow insets get wrapped to the next line,
6868         even when they're in a manual label
6869
6870 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6871
6872         * text2.C (insertParagraph): make it take ParagraphList::iterator
6873         as arg.
6874         (setLayout): make it return ParagraphList::iterator
6875         (redoParagraphs): ditto
6876         (setCounter): ditto
6877         (checkParagraph): ditto
6878
6879         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6880
6881         * text2.C: adjust several funcs.
6882         (realizeFont): take a ParagraphList::iterator as arg.
6883         (getLayoutFont): ditto
6884         (getLabelFont): ditto
6885         (setCharFont): ditto
6886
6887         * text.C: adjust several funcs.
6888
6889 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6890
6891         * text.C (selectNextWordToSpellcheck): don't accidentally
6892         skip insets
6893
6894 2003-04-10  John Levon  <levon@movementarian.org>
6895
6896         * ToolbarBackend.C (getIcon): special handling for
6897         LFUN_MATH_DELIM
6898
6899 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6900
6901         * text2.C (cursorRight): a getChar assert fixed
6902
6903 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6904
6905         * text2.C (getFont): change to take a ParagraphList::iterator
6906         instead of Paragraph*
6907         Adjust several functions.
6908
6909         * text.C (transformChar): change to take a ParagraphList::iterator
6910         instead of Paragraph*
6911         (singleWidth): ditto
6912         Adjust several functions.
6913
6914         * rowpainter.C: adjust several functions
6915         * rowpainter.h:store a ParagraphList::iterator and not a
6916         Paragraph&.
6917
6918
6919 2003-04-09  John Levon  <levon@movementarian.org>
6920
6921         * lyxfunc.C:
6922         * lfuns.h:
6923         * LyXAction.h:
6924         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6925         and the "help" bits as well
6926
6927 2003-04-09  John Levon  <levon@movementarian.org>
6928
6929         * ToolbarBackend.h:
6930         * ToolbarBackend.C: allow multiple toolbars
6931
6932 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * undo_funcs.C (setCursorParUndo): adjust
6935
6936         * text_funcs.C (transposeChars): adjust
6937
6938         * text3.C (gotoNextInset): adjust
6939         (dispatch): adjust
6940
6941         * text2.C (setLayout): adjust
6942         (changeDepth): adjust
6943         (setFont): adjust
6944         (redoParagraphs): adjust
6945         (selectionAsString): adjust
6946         (setParagraph): adjust
6947         (insertInset): adjust
6948         (cutSelection): adjust
6949         (copySelection): adjust
6950         (pasteSelection): adjust
6951         (insertStringAsLines): adjust
6952         (updateInset): adjust
6953         (setCursor): change to take a ParagraphList::iterator parameter
6954         (setCursorIntern): change to take a ParagraphList::iterator parameter
6955         (setCurrentFont): adjust
6956         (cursorLeft): adjust
6957         (cursorRight): adjust
6958         (deleteEmptyParagraphMechanism): adjust
6959
6960         * text.C (breakParagraph): adjust
6961         (insertChar): adjust
6962         (acceptChange): adjust
6963         (rejectChange): adjust
6964         (selectNextWordToSpellcheck): adjust
6965         (changeCase): adjust
6966         (Delete): adjust
6967         (backspace): adjust
6968
6969         * lyxfind.C (SearchForward): adjust
6970         (SearchBackward): adjust
6971         (nextChange): adjust
6972
6973         * lyxcursor.C (par): adjust
6974
6975         * lyxcursor.h: store a ParagraphList::iterator instead of a
6976         Paragraph*
6977
6978         * lyx_cb.C (getPossibleLabel): adjust
6979
6980         * bufferview_funcs.C (toggleAndShow): adjust
6981
6982         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6983         (dispatch): adjust
6984
6985         * BufferView.C (removeAutoInsets): adjust
6986         (lockedInsetStoreUndo): adjust
6987
6988 2003-04-09  John Levon  <levon@movementarian.org>
6989
6990         * ToolbarBackend.C: try icon without argument
6991         if with argument fails
6992
6993 2003-04-08  John Levon  <levon@movementarian.org>
6994
6995         * ToolbarBackend.h:
6996         * ToolbarBackend.C: add getIcon(), handle tooltip,
6997         and change from "Icon" to "Item".
6998
6999 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7000
7001         * BufferView.C (lockInset): another bad getchar crunched
7002
7003 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7004
7005         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7006         again)
7007
7008 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7009
7010         * lyxfind.C (searchForward, searchBackwards): bug 782
7011
7012 2003-04-07  John Levon  <levon@movementarian.org>
7013
7014         * paragraph.C: remove dead comment
7015
7016         * text.C: remove troublesome depth-fiddling code
7017         in leftMargin() and rightMargin() (bug 1017)
7018
7019         * text.C: fix breaking of rows in nested lists
7020         (bug 1004)
7021
7022         * text2.C (updateCounters): fix up depth values
7023         (bug 1013)
7024
7025 2003-04-07  John Levon  <levon@movementarian.org>
7026
7027         * BufferView_pimpl.C: clear message when doc finishes resizing,
7028         and after a mouse event
7029
7030         * lyxfunc.C: clear message after exiting inset
7031
7032 2003-04-07  John Levon  <levon@movementarian.org>
7033
7034         * bufferview_funcs.C: show math status not outside
7035         status in the statusbar
7036
7037 2003-04-07  John Levon  <levon@movementarian.org>
7038
7039         * lyxfunc.C: note status changed after a depth change
7040
7041 2003-04-04  Angus Leeming  <leeming@lyx.org>
7042
7043         * LaTeX.h: move AuxInfo operator==, != out of line.
7044         Remove LaTeX virtual destructor; nothing derives from it.
7045         Move operator()() out of public area and rename it startscript().
7046         Change protected for private.
7047
7048 2003-04-04  Angus Leeming  <leeming@lyx.org>
7049
7050         * lyxfunc.C:
7051         * text2.C: remove unneeded #includes.
7052
7053 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7054
7055         * text2.C (dEPM): fix the heigth of the next row
7056
7057 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7058
7059         * text.C: squashed an invalid getChar requester + some ws changes
7060
7061 2003-04-03  John Levon  <levon@movementarian.org>
7062
7063         * bufferview_funcs.h:
7064         * bufferview_funcs.C:
7065         * lyxfunc.C:
7066         * lyxtext.h:
7067         * text2.C: make getStatus work for the env depth lfuns
7068
7069 2003-04-03  John Levon  <levon@movementarian.org>
7070
7071         * bufferview_funcs.h:
7072         * bufferview_funcs.C:
7073         * lyxfunc.C:
7074         * lyxtext.h:
7075         * text2.C: parlistize decDepth(), by merging it with incDepth()
7076
7077 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * lyxrow.h: store a ParagraphList::iterator instead of a
7080         Paragraph* and adjust other class functions to suit.
7081
7082         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7083         above.
7084
7085 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7086
7087         * text2.C (setCursor): do not anchor to cursor row for the time being
7088
7089 2003-04-02  John Levon  <levon@movementarian.org>
7090
7091         * LyXAction.C:
7092         * lfuns.h:
7093         * lyx_main.C:
7094         * lyxtext.h:
7095         * text.C:
7096         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7097
7098 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * paragraph.h: make ParagraphList and ParagraphList::iterator
7101         friends of Paragraph.
7102
7103         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7104
7105         * ParagraphList.C: Use the private next_ and previous_ from
7106         Paragraph.
7107
7108 2003-04-01  John Levon  <levon@movementarian.org>
7109
7110         * ToolbarBackend.h:
7111         * ToolbarBackend.C:
7112         * Makefile.am: rename, remove defaults gunk
7113
7114         * MenuBackend.h:
7115         * MenuBackend.C: remove defaults gunk
7116
7117         * Languages.h:
7118         * Languages.C: remove defaults gunk
7119
7120         * lyx_main.h:
7121         * lyx_main.C: error out if files couldn't be found.
7122
7123 2003-04-02  John Levon  <levon@movementarian.org>
7124
7125         * text2.C: make incDepth() use parlist
7126
7127 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7128
7129         * undo_funcs.C (firstUndoParagraph): adjust
7130
7131         * text3.C (gotoInset): adjust
7132         (dispatch): adjust, and rewrite loop.
7133
7134         * text2.C (init): adjust, and rewrite loop.
7135         (redoParagraphs): adjust
7136         (updateInset): adjust, and rewrite loop.
7137         (deleteEmptyParagraphMechanism): adjust
7138
7139         * tabular.C (LyXTabular): adjust
7140         (SetMultiColumn): adjust
7141         (TeXRow): adjust
7142
7143         * lyxtext.[Ch] (ownerParagraph): delete function
7144         (ownerParagraphs): new function returns a ParagraphList.
7145
7146         * BufferView.C (removeAutoInsets): adjust
7147         (insertErrors): adjust
7148         (setCursorFromRow): adjust
7149
7150 2003-04-01  Angus Leeming  <leeming@lyx.org>
7151
7152         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7153         in the frontends.
7154
7155 2003-04-02  John Levon  <levon@movementarian.org>
7156
7157         * lyxtext.h:
7158         * text.C:
7159         * Makefile.am:
7160         * text_funcs.h:
7161         * text_funcs.C: make transposeChars a free function
7162
7163         * lyxrow_funcs.C: remove wrong comment
7164
7165 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7166
7167         * lyxtext.h: adjust
7168         * rowpainter.C: adjust
7169         * text.C: adjust
7170         * text2.C: adjust
7171         * text3.C: adjust
7172
7173         * lyxrow_funcs. [Ch]: new files
7174
7175         * lyxrow.[Ch]: remove next and previous pointers
7176         (next,previous): remove accessor functions
7177         (isParEnd): move to lyxrow_funcs
7178         (lastPos): move to lyxrow_funcs
7179         (nextRowIsAllInset): move to lyxrow_funcs
7180         (lastPrintablePos): move to lyxrow_funcs
7181         (numberOfSeparators): move to lyxrow_funcs
7182         (numberOfHfills): move to lyxrow_funcs
7183         (numberOfLabelHfills): move to lyxrow_funcs
7184         (hfillExpansion): move to lyxrow_funcs
7185
7186         * lyxfunc.C: adjust
7187
7188         * bufferview_funcs.C (toggleAndShow): adjust
7189
7190         * RowList.h: Remove class RowList from file leave just a
7191         std::list<Row>.
7192
7193         * RowList.C: delete file
7194
7195         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7196         and lyxrow_funcs.h
7197
7198 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * text3.C (cursorPrevious): adjust
7201         (cursorNext): adjust
7202         (dispatch): adjust
7203
7204         * text2.C (redoHeightOfParagraph): adjust
7205         (redoDrawingOfParagraph): adjust
7206         (setCursor): adjust
7207
7208         * text.C (breakParagraph): adjust
7209         (insertChar): adjust
7210         (backspace): adjust
7211
7212         * rowpainter.C (RowPainter): adjust
7213         (leftMargin): simplify and adjust
7214         (most rowpainter functions): adjust.
7215
7216         * rowpainter.h: store the row as RowList::iterator not as Row*
7217
7218         * lyxcursor.C (row): taka RowList::iterator as arg
7219         (irow): ditto
7220
7221         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7222         of Row*.
7223
7224 2003-04-01  Angus Leeming  <leeming@lyx.org>
7225
7226         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7227         stuff like bool Bool.
7228
7229 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7230
7231         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7232         rewrite a loop
7233
7234 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7237         RowList::iterator.
7238
7239         * lyxtext.h (rows): drop one version and leve a const variant that
7240         returns a RowList::iterator.
7241
7242 2003-03-31  Angus Leeming  <leeming@lyx.org>
7243
7244         * text.C (fill): ensure that the signature is the same as that in the
7245         header file.
7246
7247 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7248
7249         * text2.C (redoParagraphs): adjust
7250         (updateCounters): adjust
7251         (checkParagraph): adjust
7252         (getColumnNearX): adjust and reformat a bit.
7253
7254         * text.C (top_y): adjust
7255         (workWidth): adjust
7256         (leftMargin): adjust
7257         (prepareToPrint): adjust
7258         (getRow): adjust
7259         (getRowNearY): adjust
7260
7261         * lyxtext.h: make rowlist_ mutable.
7262
7263         * RowList.h: add const_iterator
7264         * RowList.C: adjust for RowList::const_iterator.
7265
7266         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7267         adjust.
7268
7269 2003-03-31  John Levon  <levon@movementarian.org>
7270
7271         * lyxrc.h:
7272         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7273
7274         * lyx_main.C: set default fonts from using lyx_gui funcs
7275
7276         * exporter.C: pdf_mode moved from lyxrc
7277
7278         * lyx_cb.C:
7279         * lyxfunc.C: changes from above
7280
7281 2003-03-31  John Levon  <levon@movementarian.org>
7282
7283         * lyx_main.C: fix to the last fix
7284
7285 2003-03-31  John Levon  <levon@movementarian.org>
7286
7287         * bufferlist.C: "Load original" -> "Load Original"
7288
7289         * converter.C:
7290         * exporter.C:
7291         * importer.C:
7292         * lyx_main.C:
7293         * format.C: more Alert cleanups
7294
7295 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7296
7297         * text2.C (removeParagraph): make it take a RowList::iterator as
7298         arg, adjust.
7299         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7300         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7301
7302         * text.C (anchor_row): make it take a RowList::iterator as arg,
7303         adjust.
7304         (computeBidiTables): make it take a const reference to Row instead
7305         of Row pointer, adjust.
7306         (leftMargin): make it take a RowList::iterator as arg, adjust.
7307         (rowBreakPoint): adjust
7308         (breakAgainOneRow): make it take a RowList::iterator as arg,
7309         adjust.
7310         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7311
7312         * bufferview_funcs.C (toggleAndShow): adjust
7313
7314 2003-03-30  John Levon  <levon@movementarian.org>
7315
7316         * Makefile.am:
7317         * BoostFormat.h:
7318         * boost-inst.C: moved to support
7319
7320         * several files: changes as a result
7321
7322 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7323
7324         * text2.C (LyXText): adjust.
7325         (init): adjust
7326         (removeRow): make it take a RowList::iterator as arg, adjust.
7327         (fullRebreak): adjust
7328         (deleteEmptyParagraphMechanism): adjust
7329         (clearPaint): adjust
7330         (postPaint): adjust
7331
7332         * text.C (top_y): adjust
7333         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7334         (breakAgain): make it take a RowList::iterator as arg, adjust.
7335         (breakParagraph): adjust
7336         (insertChar): adjust
7337         (backspace): adjust
7338
7339         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7340         need_break_row, and refresh_row.
7341
7342         * text3.C (dispatch): adjust
7343
7344         * text2.C (checkParagraph): adjust
7345         (setCursor): adjust
7346         (setCursorFromCoordinates): adjust
7347
7348         * text.C (top_y): adjust
7349         (workWidth): adjust
7350         (getRow): make it return a RowList::iterator, adjust
7351         (getRowNearY): make it return a RowList::iterator, adjust
7352
7353         * text2.C (init): adjust
7354         (insertRow): remove function
7355         (insertParagraph): adjust
7356         (redoParagraphs): adjust
7357         (fullRebreak): adjust
7358         (updateCounters): adjust
7359
7360         * text.C (top_y): rewrite to use RowList iterators.
7361         (top_y): adjust
7362         (setHeightOfRow): rewrite to sue RowList iterators.
7363         (appendParagraph): adjust
7364         (breakAgain): adjust
7365         (breakAgainOneRow): adjust
7366         (breakParagraph): adjust
7367         (getRow): adjust
7368         (getRowNearY): adjust, and remove commented code.
7369
7370         * lyxtext.h (firstRow): delete function
7371         (lastRow): delete function
7372         (rows): new function (const and non-const versions.)
7373         (insertRow): delete function
7374
7375         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7376
7377 2003-03-29  John Levon  <levon@movementarian.org>
7378
7379         * BufferView_pimpl.C: always update scrollbar top
7380         because pasting text when we're anchored could mean we
7381         miss an update altogether
7382
7383 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7384
7385         * text2.C (init): use rowlist_.end() and not 0.
7386         (insertRow): change to take a RowList::iterator as arg, adjust
7387         for this.
7388         (insertParagraph): change to take a RowList::iterator as arg,
7389         adjust for this.
7390         (redoParagraphs): remove some debug msgs.
7391
7392         * text.C (appendParagraph): change to take a RowList::iterator
7393         arg, adjust for this.
7394         (breakAgain): add an assert
7395         (breakAgainOneRow): ditto
7396
7397 2003-03-29  John Levon  <levon@movementarian.org>
7398
7399         * text2.C: do not clear selection after inc/decDepth
7400         (bug 550)
7401
7402 2003-03-29  John Levon  <levon@movementarian.org>
7403
7404         * BufferView.C:
7405         * buffer.C: fix broken strerrors according to Lars
7406
7407 2003-03-29  John Levon  <levon@movementarian.org>
7408
7409         * converters.C: more Alert cleanups
7410
7411 2003-03-29  John Levon  <levon@movementarian.org>
7412
7413         * bufferview_funcs.C: remove pointless Alert
7414
7415         * buffer.C: fix confusing error message when
7416         a template is chmoded 000
7417
7418 2003-03-29  John Levon  <levon@movementarian.org>
7419
7420         * BufferView.C:
7421         * BufferView.h:
7422         * BufferView_pimpl.C: Alert fixes
7423
7424         * Makefile.am:
7425         * tabular.C:
7426         * tabular-old.C: remove unused table compat reading
7427
7428 2003-03-29  John Levon  <levon@movementarian.org>
7429
7430         * BufferView.C:
7431         * buffer.C:
7432         * lyx_cb.h:
7433         * lyx_cb.C: more Alert cleanups
7434
7435         * lyxfunc.C: don't allow chktex if not latex document
7436
7437 2003-03-29  John Levon  <levon@movementarian.org>
7438
7439         * lyx_cb.C:
7440         * BufferView.C:
7441         * buffer.C: warnings pushed down from support/,
7442         kill err_alert
7443
7444 2003-03-29  John Levon  <levon@movementarian.org>
7445
7446         * lyxfunc.C: safety check for C-r (revert)
7447
7448 2003-03-29  John Levon  <levon@movementarian.org>
7449
7450         * bufferlist.h:
7451         * bufferlist.C: several UI fixes using Alert::prompt.
7452         Fix the pointless looping quit code. Fix stupid revert
7453         behaviour (bug 938)
7454
7455         * lyxvc.h:
7456         * lyxvc.C:
7457         * lyx_cb.C: use Alert::prompt
7458
7459         * lyx_main.C: remove a silly question
7460
7461         * lyxfunc.C: remove a couple of silly questions,
7462         use Alert::prompt
7463
7464 2003-03-28  John Levon  <levon@movementarian.org>
7465
7466         * text2.C: fix bug 974 (End on empty par)
7467
7468 2003-03-28  John Levon  <levon@movementarian.org>
7469
7470         * BufferView_pimpl.C:
7471         * LyXAction.C:
7472         * lfuns.h: remove do-nothing math greek lfuns
7473
7474 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7475
7476         * lyxgluelength.h (isValidGlueLength): add default arg on
7477         parameter 2. Remove default arg from friend in class.
7478
7479         * lyxlength.h (isValidLength): add default arg on parameter 2.
7480         Remove default arg from friend in class.
7481
7482         * text2.C (LyXText): adjust, initialize refresh_row.
7483         (init): adjust
7484         (removeRow): adjust
7485         (insertRow): adjust
7486         (insertParagraph): adjst
7487         (redoParagraphs): adjust
7488         (fullRebreak): adjust
7489         (updateCounters): adjust
7490         (deleteEmptyParagraphMechanism): first attempt at fixing a
7491         crashing bug.
7492
7493         * text.C (top_y): adjust
7494         (setHeightOfRow): adjust
7495         (getRow): adjust
7496         (getRowNearY): adjust
7497
7498         * lyxtext.h: include RowList.h
7499         (~LyXText): not needed anymore, deleted.
7500         (firstRow): modify for RowList
7501         (lastRow): new function
7502         Delete firstrow and lastrow class variables, add a Rowlist
7503         rowlist_ class variable.
7504
7505         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7506         paragraph is empty.
7507
7508         * RowList.C (insert): fix case where it == begin().
7509
7510 2003-03-26  Angus Leeming  <leeming@lyx.org>
7511
7512         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7513         the thesaurus dialog.
7514
7515 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7516
7517         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7518
7519         * RowList.[Ch]: new files
7520
7521         * ParagraphList.C (erase): handle the case where it == begin
7522         correctly.
7523
7524 2003-03-25  John Levon  <levon@movementarian.org>
7525
7526         * Makefile.am:
7527         * aspell_local.h:
7528         * aspell.C: add new aspell support
7529
7530         * lyxrc.h:
7531         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7532         have it accessible.
7533
7534 2003-03-25  Angus Leeming  <leeming@lyx.org>
7535
7536         * lfuns.h:
7537         * LyXAction.C (init): new LFUN_INSET_INSERT.
7538
7539         * BufferView_pimpl.C (dispatch): split out part of the
7540         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7541
7542         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7543         LFUN_INSET_APPLY.
7544
7545 2003-03-25  Angus Leeming  <leeming@lyx.org>
7546
7547         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7548
7549 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7550
7551         * text2.C:
7552         * text3.C: remove useless row->height(0)
7553
7554 2003-03-25  John Levon  <levon@movementarian.org>
7555
7556         * lyxtext.h:
7557         * text2.C:
7558         * text3.C: rename the refreshing stuff to better names
7559
7560 2003-03-24  John Levon  <levon@movementarian.org>
7561
7562         * BufferView_pimpl.h:
7563         * BufferView_pimpl.C: update layout choice on a mouse
7564         press/release
7565
7566 2003-03-23  John Levon  <levon@movementarian.org>
7567
7568         * Makefile.am: fix commandtags.h reference
7569
7570 2003-03-22  John Levon  <levon@movementarian.org>
7571
7572         * BufferView_pimpl.C:
7573         * lyxtext.h:
7574         * rowpainter.C:
7575         * rowpainter.h:
7576         * text.C:
7577         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7578
7579 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7580
7581         * lyxtext.h:
7582         * text.C: take the rtl methods out of line
7583
7584 2003-03-21 André Pönitz <poenitz@gmx.net>
7585
7586         * metricsinfo.[Ch]: new files containing structures to be passed around
7587         during the two-phase-drawing...
7588
7589 2003-03-21 André Pönitz <poenitz@gmx.net>
7590
7591         * lyxtextclass.C: read 'environment' tag.
7592
7593 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7594
7595         * text2.C (removeRow): fix bug 964
7596
7597 2003-03-20  John Levon  <levon@movementarian.org>
7598
7599         * rowpainter.C:
7600         * text.C:
7601         * text2.C: paint cleanups. Inset::update() dropped font
7602         parameter
7603
7604 2003-03-19  John Levon  <levon@movementarian.org>
7605
7606         * lyxfunc.C: only fitcursor/markDirty if available()
7607
7608 2003-03-19  John Levon  <levon@movementarian.org>
7609
7610         * commandtags.h: rename to ...
7611
7612         * lfuns.h: ... this, and renumber / cleanup
7613
7614 2003-03-19  John Levon  <levon@movementarian.org>
7615
7616         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7617         fit the cursor after an lfun
7618
7619         * BufferView.h:
7620         * BufferView.C:
7621         * BufferView_pimpl.h:
7622         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7623
7624         * LyXAction.C: layout-character should have ReadOnly
7625
7626         * ParagraphParameters.C:
7627         * buffer.C:
7628         * bufferview_funcs.C:
7629         * lyx_cb.C:
7630         * lyxfind.C:
7631         * lyxtext.h:
7632         * text.C:
7633         * text2.C:
7634         * text3.C:
7635         * undo_funcs.C: changes from above
7636
7637 2003-03-18  John Levon  <levon@movementarian.org>
7638
7639         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7640         remove it from update()
7641
7642         * lyxfunc.C: update layout choice after an lfun
7643
7644         * text3.C: remove extra updateLayoutChoice()s
7645
7646 2003-03-18  John Levon  <levon@movementarian.org>
7647
7648         * text.C: top_y change means full repaint, fix
7649         a drawing bug with cursor movement
7650
7651 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7652
7653         * lyxtext.h:
7654         * text.C:
7655         * text2.C: anchor row on setCursor
7656
7657 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7658
7659         * lyxtext.h: remove almost all mutable keywords
7660         * text.C:
7661         * text2.C:
7662         * text3.C: remove const keywords accordingly
7663
7664 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7667         anon namespace
7668         (TeXEnvironment): ditto
7669         (TeXOnePar): ditto
7670
7671 2003-03-17  John Levon  <levon@movementarian.org>
7672
7673         * text.C (rowBreakPoint): remove attempt to fix displayed
7674         math insets inside a manual label
7675
7676 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * lyxtext.h: remove BufferView* as first arg from almost all class
7679         functions.
7680         * other files: adjust.
7681
7682 2003-03-17  John Levon  <levon@movementarian.org>
7683
7684         * lyxtext.h:
7685         * undo_funcs.C:
7686         * text2.C: more paint cleanups
7687
7688         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7689
7690         * rowpainter.h:
7691         * rowpainter.C: remove "smart" background painting code
7692
7693 2003-03-16  John Levon  <levon@movementarian.org>
7694
7695         * lyxtext.h:
7696         * text.C:
7697         * text2.C:
7698         * text3.C: add helper functions for setting refresh_row/y
7699
7700 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7701
7702         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7703         newline inset which *can* get inserted in the pass_thru layouts.
7704         This is primarily for literate documents.
7705
7706 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7707
7708         * buffer.C: increment LYX_FORMAT to 223
7709
7710 2003-03-14 André Pönitz <poenitz@gmx.net>
7711
7712         * textclass.h: prepare for environment handling, ws changes
7713         * lyxlayout.C: read latexheader and latexfooter tags
7714
7715 2003-03-14  John Levon  <levon@movementarian.org>
7716
7717         * text2.C: rewrite ::status() a bit
7718
7719 2003-03-13  John Levon  <levon@movementarian.org>
7720
7721         * lyxtext.h: add some docs
7722
7723 2003-03-13  John Levon  <levon@movementarian.org>
7724
7725         * lyxtext.h:
7726         * text.C:
7727         * text2.C:
7728         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7729
7730 2003-03-13  John Levon  <levon@movementarian.org>
7731
7732         * text3.C: fix appendix redrawing
7733
7734 2003-03-13  John Levon  <levon@movementarian.org>
7735
7736         * text.C (setHeightOfRow):
7737         * rowpainter.h:
7738         * rowpainter.C: make appendix mark have the text
7739           "Appendix" so the user knows what it is
7740
7741         * LColor.h:
7742         * LColor.C: s/appendixline/appendix/ from above
7743
7744 2003-03-13  John Levon  <levon@movementarian.org>
7745
7746         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7747
7748         * text.C: fix a getChar(pos) bug properly
7749
7750 2003-03-13  Angus Leeming  <leeming@lyx.org>
7751
7752         * commandtags.h:
7753         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7754         Probably only temporary. Let's see how things pan out.
7755
7756         * BufferView.C (unlockInset):
7757         * BufferView_pimpl.C (fitCursor):
7758         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7759
7760         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7761         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7762
7763         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7764         new functions that convert ParagraphParameters to and from a string.
7765
7766         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7767         BufferView::Pimpl's dispatch.
7768         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7769
7770 2003-03-13 André Pönitz <poenitz@gmx.net>
7771
7772         * lyxfunc.C:
7773         * text3.C:
7774         * factory.C: make it aware of InsetEnv
7775
7776 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * text2.C (setCursor): never ask for one past last
7779         (setCursor): add some debugging messages.
7780
7781         * text.C (singleWidth): never ask for one past last
7782         (singleWidth): ditto
7783         (leftMargin): ditto
7784         (rightMargin): ditto
7785         (rowBreakPoint): ditto
7786         (setHeightOfRow): ditto
7787         (prepareToPrint): ditto
7788
7789         * rowpainter.C (paintBackground): never ask for one past last
7790         (paintText): never ask for one past last
7791
7792         * paragraph_pimpl.C (getChar): make the assert stricter, never
7793         allow the one past last pos to be taken
7794
7795         * paragraph.C (getChar): ws changes only
7796
7797         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7798         (numberOfSeparators): ditto
7799         (numberOfHfills): ditto
7800
7801 2003-03-12  John Levon  <levon@movementarian.org>
7802
7803         * author.h:
7804         * author.C:
7805         * bufferparams.h:
7806         * bufferparams.C:
7807         * paragraph_funcs.C: fix per-buffer authorlists
7808
7809 2003-03-12  John Levon  <levon@movementarian.org>
7810
7811         * text.C: fix newline in right address
7812
7813 2003-03-12  Angus Leeming  <leeming@lyx.org>
7814
7815         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7816         duplicate those in LyXFunc::dispatch.
7817
7818         * commandtags.h:
7819         * LyXAction.C:
7820         * ToolbarDefaults.C:
7821         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7822         Add LFUN_FONTFREE_UPDATE.
7823
7824         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7825         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7826
7827         * bufferview_func.[Ch]: several new functions to facilliate
7828         transfer of data to and from the character dialog.
7829
7830 2003-03-12  John Levon  <levon@movementarian.org>
7831
7832         * buffer.C:
7833         * paragraph.h:
7834         * paragraph.C:
7835         * paragraph_funcs.C:
7836         * paragraph_pimpl.C:
7837         * sgml.C:
7838         * tabular.C:
7839         * text.C:
7840         * text3.C: remove META_NEWLINE in favour of an inset
7841
7842         * rowpainter.h:
7843         * rowpainter.C: remove paintNewline (done by inset)
7844
7845 2003-03-12  John Levon  <levon@movementarian.org>
7846
7847         * paragraph_pimpl.C: complain about bad getChar()s
7848         for a while at least
7849
7850 2003-03-12  John Levon  <levon@movementarian.org>
7851
7852         * buffer.h:
7853         * buffer.C: move paragraph read into a separate function,
7854         a little renaming to reflect that.
7855
7856         * bufferparams.h:
7857         * bufferparams.C: remove the author_ids map, not necessary now
7858
7859         * factory.h:
7860         * factory.C: moved Buffer::readInset to here
7861
7862         * paragraph_funcs.h:
7863         * paragraph_funcs.C: readParagraph free function moved from
7864         buffer.C
7865
7866         * tabular.C: name change
7867
7868 2003-03-12  John Levon  <levon@movementarian.org>
7869
7870         * buffer.C:
7871         * ParagraphParameters.C: move par params input to
7872         a read() method
7873
7874         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7875         behave like a normal read from the stream wrt reading
7876         a line vs. a \\token
7877
7878 2003-03-12  John Levon  <levon@movementarian.org>
7879
7880         * paragraph.C:
7881         * ParagraphParameters.h:
7882         * ParagraphParameters.C: move output code to a
7883         ::write() method
7884
7885 2003-03-12  John Levon  <levon@movementarian.org>
7886
7887         * BufferView.C (insertLyXFile):
7888         * buffer.h:
7889         * buffer.C:
7890         * tabular.C: use a parlist iterator for creating the
7891           document.
7892
7893 2003-03-12  John Levon  <levon@movementarian.org>
7894
7895         * buffer.C: make current_change static local not
7896           static file-scope
7897
7898 2003-03-12  John Levon  <levon@movementarian.org>
7899
7900         * buffer.C: fix insertStringAsLines for change tracking
7901
7902 2003-03-12  John Levon  <levon@movementarian.org>
7903
7904         * BufferView.C:
7905         * tabular.C:
7906         * buffer.h:
7907         * buffer.C:
7908         * bufferparams.h:
7909         * bufferparams.C: move author list into params. Rename some
7910           functions. Move the header reading into a separate token
7911           loop. Move the header token reading into BufferParams.
7912
7913 2003-03-12  John Levon  <levon@movementarian.org>
7914
7915         * changes.C: put debug inside lyxerr.debugging() checks
7916
7917 2003-03-11 André Pönitz <poenitz@gmx.net>
7918
7919         * factory.C: make it aware of InsetHFill
7920
7921 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7922
7923         * buffer.C (latexParagraphs): move function from here...
7924         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7925         args.
7926
7927 2003-03-10  Angus Leeming  <leeming@lyx.org>
7928
7929         * LyXAction.C (init): fix bug in poplating array with multiple entries
7930         with the same LFUN (spotted by JMarc).
7931
7932 2003-03-10  John Levon  <levon@movementarian.org>
7933
7934         * text.C:
7935         * text2.C: move getColumnNearX() near its
7936         only call site
7937
7938 2003-03-10  John Levon  <levon@movementarian.org>
7939
7940         * text.C: fix break before a minipage
7941
7942 2003-03-10  John Levon  <levon@movementarian.org>
7943
7944         * text.C: fix the last commit
7945
7946 2003-03-09  John Levon  <levon@movementarian.org>
7947
7948         * lyxtext.h:
7949         * text.C:
7950         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7951         bug 365 (don't break before insets unless needed). Don't
7952         return a value > last under any circumstances.
7953
7954 2003-03-09  Angus Leeming  <leeming@lyx.org>
7955
7956         * BufferView_pimpl.C (trackChanges, dispatch): call
7957         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7958
7959 2003-03-09  Angus Leeming  <leeming@lyx.org>
7960
7961         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7962         than Dialogs::showAboutlyx().
7963
7964 2003-03-09  Angus Leeming  <leeming@lyx.org>
7965
7966         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7967         than Dialogs::showTabularCreate().
7968
7969 2003-03-09  John Levon  <levon@movementarian.org>
7970
7971         * lyxtext.h:
7972         * text.C:
7973         * text2.C: 3rd arg to nextBreakPoint was always the same.
7974           Use references.
7975
7976 2003-03-08  John Levon  <levon@movementarian.org>
7977
7978         * lyxrow.C:
7979         * paragraph.C:
7980         * paragraph.h:
7981         * rowpainter.C:
7982         * text.C:
7983         * text2.C: Remove the "main" bit from the "main body"
7984           notion.
7985
7986 2003-03-08  John Levon  <levon@movementarian.org>
7987
7988         * text.C (leftMargin): The left margin of an empty
7989         manual label paragraph should not include the label width
7990         string length.
7991
7992         * text.C (prepareToPrint): don't attempt to measure hfills
7993         for empty manual label paragraphs - the answer should be 0
7994
7995 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * CutAndPaste.C: remove commented code and reindent.
7998
7999 2003-03-08  John Levon  <levon@movementarian.org>
8000
8001         * lyxfunc.h:
8002         * lyxfunc.C: move reloadBuffer()
8003
8004         * BufferView.h:
8005         * BufferView.C: to here
8006
8007         * lyxvc.C: add comment
8008
8009         * vc-backend.h:
8010         * vc-backend.C: call bv->reload() to avoid
8011           getStatus() check on MENURELOAD
8012
8013 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8014
8015         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8016         to an old format .dep file.
8017
8018 2003-03-07  Angus Leeming  <leeming@lyx.org>
8019
8020         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8021         when the LFUN_MOUSE_RELEASE should have been handled by
8022         inset->localDispatch.
8023
8024 2003-03-07  Angus Leeming  <leeming@lyx.org>
8025
8026         * BufferView_pimpl.C (dispatch):
8027         * LyXAction.C (init):
8028         * ToolbarDefaults.C (init):
8029         * commandtags.h:
8030         * lyxfunc.C (getStatus):
8031         remove LFUN_INSET_GRAPHICS.
8032
8033         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8034
8035 2003-03-07  Angus Leeming  <leeming@lyx.org>
8036
8037         * commandtags.h:
8038         * LyXAction.C (init):
8039         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8040
8041         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8042
8043         * commandtags.h:
8044         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8045
8046         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8047         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8048
8049 2003-03-07  Angus Leeming  <leeming@lyx.org>
8050
8051         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8052         remove "ert".
8053
8054 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * ParagraphList.C (front): new function
8057         (back): implement
8058
8059 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8060
8061         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8062         and top_row_offset_. removed var first_y.
8063         * text.C (top_y):
8064         * text2.C (LyXText, removeRow):
8065         * text3.C:
8066         * BufferView_pimpl.C:
8067         use these methods instead of using first_y
8068
8069 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * text2.C (pasteSelection): adjust for checkPastePossible
8072
8073         * CutAndPaste.C: remove Paragraph * buf and replace with
8074         ParagraphList paragraphs.
8075         (DeleteBuffer): delete
8076         (cutSelection): change the tc type to textclass_type
8077         (copySelection): change the tc type to textclass_type
8078         (copySelection): adjust for ParagraphList
8079         (pasteSelection): change the tc type to textclass_type
8080         (pasteSelection): adjust for Paragraphlist
8081         (nrOfParagraphs): simplify for ParagraphList
8082         (checkPastePossible): simplify for ParagraphList
8083         (checkPastePossible): remove unused arg
8084
8085         * ParagraphList.C (insert): handle the case where there are no
8086         paragraphs yet.
8087
8088         * CutAndPaste.h: make CutAndPaste a namespace.
8089
8090         * text3.C (dispatch): adjust
8091
8092         * text.C (breakParagraph): add a ParagraphList as arg
8093
8094         * paragraph_funcs.C (breakParagraph): change to take a
8095         BufferParams and a ParagraphList as args.
8096         (breakParagraphConservative): ditto
8097         (mergeParagraph): ditto
8098         (TeXDeeper): add a ParagraphList arg
8099         (TeXEnvironment): ditto
8100         (TeXOnePar): ditto
8101
8102         * buffer.C (readLyXformat2): adjust
8103         (insertStringAsLines): adjust
8104         (latexParagraphs): adjust
8105
8106         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8107         (cutSelection): adjust
8108         (pasteSelection): adjust
8109
8110         * BufferView_pimpl.C (insertInset): adjust
8111
8112 2003-03-05  Angus Leeming  <leeming@lyx.org>
8113
8114         * commandtags.h:
8115         * LyXAction.C (init):
8116         * BufferView_pimpl.C (dispatch):
8117         * lyxfunc.C (getStatus):
8118         remove LFUN_CHILD_INSERT.
8119
8120         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8121
8122 2003-03-05  Angus Leeming  <leeming@lyx.org>
8123
8124         * commandtags.h:
8125         * LyXAction.C (init):
8126         * src/factory.C (createInset):
8127         * lyxfunc.C (getStatus):
8128         * text3.C (dispatch):
8129         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8130
8131         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8132
8133 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8134
8135         * ParagraphList.C (insert): handle insert right before end()
8136         (erase): fix cases where it can be first or last paragraph.
8137
8138 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8141         Paragraph::next and Paragraph::previous
8142         (TeXOnePar): ditto
8143
8144         * text.C (breakParagraph): adjust
8145
8146         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8147         BufferParams& as arg.
8148         (breakParagraph): use ParagraphList::insert
8149         (breakParagraphConservative): take a Buffer* instead of a
8150         BufferParams& as arg.
8151         (breakParagraphConservative): use ParagraphList::insert.
8152
8153         * buffer.C (insertStringAsLines): un-const it
8154         (insertStringAsLines): adjust
8155
8156         * ParagraphList.C (insert): new function
8157
8158         * CutAndPaste.C (pasteSelection): adjust
8159
8160         * text.C (backspace): adjust
8161
8162         * tabular.C (SetMultiColumn): adjust
8163
8164         * CutAndPaste.C (cutSelection): adjust
8165         (pasteSelection): adjust
8166
8167         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8168         Buffer const * as arg
8169
8170         * ParagraphList.C (erase): new function
8171         * paragraph_funcs.C (mergeParagraph): use it
8172         (mergeParagraph): make it take a Buffer* instead of a
8173         BufferParams* as arg
8174
8175         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8176         as arg
8177         (breakParagraphConservative): ditto
8178
8179         * paragraph.h: remove the breakParagraph friend
8180
8181         * paragraph.C (eraseIntern): new function
8182         (setChange): new function
8183
8184         * paragraph_funcs.C (mergeParagraph): make it take a
8185         ParagraphList::iterator instead of a Paragraph *, adjust
8186         accordingly.
8187
8188         * paragraph.h: move an #endif so that the change tracking stuff
8189         also works in the NO_NEXT case.
8190
8191 2003-03-04  Angus Leeming  <leeming@lyx.org>
8192
8193         * commandtags.h:
8194         * LyXAction.C: new LFUN_INSET_MODIFY.
8195
8196         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8197         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8198
8199 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * several files: ws changes only
8202
8203         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8204         (TeXEnvironment): ditto
8205         (TeXDeeper): ditto
8206
8207         * buffer.C (makeLaTeXFile): adjust
8208         (latexParagraphs): make it take ParagraphList::iterator as args
8209
8210 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8211
8212         * buffer.C (latexParagraphs): adjust
8213
8214         * paragraph.C (TeXOnePar): move function...
8215         (optArgInset): move function...
8216         (TeXEnvironment): move function...
8217         * paragraph_pimpl.C (TeXDeeper): move function...
8218         * paragraph_funcs.C: ...here
8219
8220         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8221
8222 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * buffer.C (readInset): remove compability code for old Figure and
8225         InsetInfo insets
8226
8227 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * buffer.C: ws changes
8230         (readInset):
8231
8232         * BufferView_pimpl.C: ditto
8233         * author.C: ditto
8234         * buffer.h: ditto
8235         * bufferlist.h: ditto
8236         * changes.h: ditto
8237         * lyxfunc.C: ditto
8238
8239 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8240
8241         * converter.[Ch]: split into itself +
8242         * graph.[Ch]
8243         * format.[Ch]
8244         * Makefile.am: += graph.[Ch] + format.[Ch]
8245         * MenuBackend.C
8246         * buffer.C
8247         * exporter.C
8248         * importer.C
8249         * lyx_main.C
8250         * lyxfunc.C
8251         * lyxrc.C: added #include "format.h"
8252
8253 2003-02-27  Angus Leeming  <leeming@lyx.org>
8254
8255         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8256           a label.
8257
8258         * factory.C (createInset): add "label" to the factory.
8259
8260         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8261           string and do no more.
8262
8263 2003-02-27  Angus Leeming  <leeming@lyx.org>
8264
8265         * commandtags.h:
8266         * LyXAction.C (init):
8267         * factory.C (createInset):
8268         * BufferView_pimpl.C (dispatch):
8269           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8270
8271         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8272
8273         * lyxfunc.C (dispatch):
8274         * text3.C (dispatch): pass name to params2string.
8275
8276 2003-02-26  Angus Leeming  <leeming@lyx.org>
8277
8278         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8279           blocks together.
8280           Rearrange the ~includes. Strip out the unnecessary ones.
8281
8282         * factory.C (createInset): reformat.
8283           create new insets for the various LFUN_XYZ_APPLY lfuns.
8284
8285 2003-02-26  John Levon  <levon@movementarian.org>
8286
8287         * lyxrow.h:
8288         * lyxrow.C: add isParStart,isParEnd helpers
8289
8290         * paragraph.h: make isInserted/DeletedText take refs
8291
8292         * paragraph_funcs.h:
8293         * paragraph_funcs.C: remove #if 0'd code
8294
8295         * lyxtext.h:
8296         * text3.C:
8297         * text2.C:
8298         * text.C: use lyxrow helpers above.
8299           Move draw and paint routines to RowPainter.
8300           Make several methods use refs not pointers.
8301           Make backgroundColor() const.
8302           Add markChangeInDraw(), isInInset().
8303           Merge changeRegionCase into changeCase.
8304           Make workWidth() shouldn't-happen code into an Assert.
8305
8306         * rowpainter.h:
8307         * rowpainter.C: new class for painting a row.
8308
8309         * vspace.h:
8310         * vspace.C: make inPixels take a ref
8311
8312 2003-02-26  Angus Leeming  <leeming@lyx.org>
8313
8314         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8315         LFUN_REF_APPLY.
8316
8317 2003-02-25  John Levon  <levon@movementarian.org>
8318
8319         * ispell.C: give the forked command a more accurate name
8320
8321 2003-02-22  John Levon  <levon@movementarian.org>
8322
8323         * toc.h:
8324         * toc.C: make TocItem store an id not a Paragraph *
8325           (bug #913)
8326
8327 2003-02-21  Angus Leeming  <leeming@lyx.org>
8328
8329         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8330           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8331           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8332           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8333           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8334           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8335
8336         * BufferView_pimpl.C (dispatch):
8337         * LyXAction.C (init):
8338         * factory.C (createInset):
8339         * lyxfunc.C (getStatus, dispatch):
8340         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8341
8342 2003-02-21  Angus Leeming  <leeming@lyx.org>
8343
8344         * BufferView_pimpl.C (MenuInsertLyXFile):
8345         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8346         * lyxfunc.C (menuNew, open, doImport):
8347           no longer pass a LyXView & to fileDlg.
8348
8349 2003-02-21  Angus Leeming  <leeming@lyx.org>
8350
8351         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8352         * LyXAction.C: change, BIBKEY to BIBITEM.
8353         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8354         Change InsetBibKey to InsetBibitem.
8355         Change BIBKEY_CODE to BIBITEM_CODE.
8356         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8357         * factory.C: replace insetbib.h with insetbibitem.h.
8358         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8359         * paragraph.C: replace insetbib.h with insetbibitem.h.
8360         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8361         Change bibkey() to bibitem().
8362         * text.C: remove insetbib.h.
8363         * text2.C: replace insetbib.h with insetbibitem.h.
8364         change bibkey() to bibitem().
8365         * text3.C: remove insetbib.h.
8366         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8367
8368 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8369
8370         * lyxrc.C (output): enclose user email in quotes (in case there are
8371         several words)
8372
8373 2003-02-18  John Levon  <levon@movementarian.org>
8374
8375         * buffer.h: add std::
8376
8377 2003-02-17  John Levon  <levon@movementarian.org>
8378
8379         * SpellBase.h:
8380         * ispell.h:
8381         * ispell.C:
8382         * pspell.h:
8383         * pspell.C: reworking. Especially in ispell, a large
8384           number of clean ups and bug fixes.
8385
8386         * lyxfunc.C: fix revert to behave sensibly
8387
8388 2003-02-17 André Pönitz <poenitz@gmx.net>
8389
8390         * LyXAction.C:
8391         * commandtags.h: new LFUN_INSERT_BIBKEY
8392
8393         * layout.h:
8394         * lyxlayout.C:
8395         * buffer.C:
8396         * factory.C:
8397         * text.C:
8398         * text2.C:
8399         * text3.C:
8400         * paragraph.[Ch]:
8401         * paragraph_func.C: remove special bibkey handling
8402
8403 2003-02-17  John Levon  <levon@movementarian.org>
8404
8405         * text.C (Delete): fix case where delete at the end of
8406           the very first paragraph would not merge the pars
8407
8408 2003-02-17  John Levon  <levon@movementarian.org>
8409
8410         * lyxrow.C: fix lastPrintablePos()
8411
8412 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8413
8414         * bufferparams.C (writeLaTeX): add a std:here
8415
8416         * buffer.C: and remove a using directive there
8417
8418 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8419
8420         * buffer.C (makeLaTeXFile): move the code that generates the
8421           preamble...
8422
8423         * bufferparams.C (writeLaTeX): ... in this new method
8424
8425         * LaTeXFeatures.C (getEncodingSet): make const
8426           (getLanguages): make const
8427
8428         * MenuBackend.C (binding): returns the binding associated to this
8429           action
8430           (add): sets the status of each item by calling getStatus. Adds
8431           some intelligence.
8432           (read): add support for OptSubMenu
8433           (expand): remove extra separator at the end of expanded menu
8434
8435 2003-02-15  John Levon  <levon@movementarian.org>
8436
8437         * BufferView.C:
8438         * BufferView_pimpl.C:
8439         * bufferlist.h:
8440         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8441           inset code that had no actual effect. Remove unneeded status
8442           code.
8443
8444 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8445
8446         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8447           in preamble
8448
8449 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8450
8451         * text.C (drawLengthMarker): also draw an arrow marker for
8452           symbolic lengths (medskip...)
8453
8454 2003-02-14  John Levon  <levon@movementarian.org>
8455
8456         * tabular.h:
8457         * tabular.C: better method names
8458
8459 2003-02-14  John Levon  <levon@movementarian.org>
8460
8461         * BufferView_pimpl.C:
8462         * bufferlist.C:
8463         * buffer.C:
8464         * converter.C:
8465         * lyx_cb.C:
8466         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8467           it's a more accurate name. Remove some pointless uses.
8468
8469 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8470
8471         * text2.C (LyXText): change order of initilizers to shut off
8472           warnings
8473
8474 2003-02-14  John Levon  <levon@movementarian.org>
8475
8476         * buffer.C: use ParIterator for getParFromID()
8477
8478         * paragraph.h:
8479         * paragraph.C:
8480         * paragraph_pimpl.h:
8481         * paragraph_pimpl.C: remove unused getParFromID()
8482
8483 2003-02-14  John Levon  <levon@movementarian.org>
8484
8485         * buffer.C: remove some very old #if 0'd parse code
8486
8487 2003-02-13  John Levon  <levon@movementarian.org>
8488
8489         * text.h:
8490         * text.C:
8491         * text2.C: move hfillExpansion(), numberOfSeparators(),
8492           rowLast(), rowLastPrintable(), numberofHfills(),
8493           numberOfLabelHfills() ...
8494
8495         * lyxrow.h:
8496         * lyxrow.C: ... to member functions here.
8497
8498         * paragraph.h:
8499         * paragraph.C:
8500         * lyxtext.h:
8501         * text.C: remove LyXText::beginningOfMainBody(), and call
8502           p->beginningOfMainBody() directly. Move the check for
8503           LABEL_MANUAL into the latter.
8504
8505         * text.h:
8506         * text.C:
8507         * text2.C:
8508         * vspace.C:
8509         * BufferView.h:
8510         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8511
8512         * text.h:
8513         * text.C:
8514         * text2.C:
8515         * text3.C:
8516         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8517           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8518
8519 2003-02-13  John Levon  <levon@movementarian.org>
8520
8521         * CutAndPaste.C: remove debug
8522
8523 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * paragraph.C (asString): remove two unused variables
8526
8527         * lyxtextclass.C (readTitleType):
8528           (Read):
8529           (LyXTextClass): handle new members titletype_ and titlename_
8530
8531         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8532
8533 2003-02-09  John Levon  <levon@movementarian.org>
8534
8535         * buffer.h:
8536         * buffer.C: replace hand-coded list with a map for the dep clean
8537
8538 2003-02-08  John Levon  <levon@movementarian.org>
8539
8540         * LaTeX.C: consolidate code into showRunMessage() helper
8541
8542 2003-02-08  John Levon  <levon@movementarian.org>
8543
8544         * lyxfind.C:
8545         * lyxtext.h:
8546         * text2.C:
8547         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8548           and pass the size in explicitly
8549
8550         * BufferView_pimpl.h:
8551         * BufferView_pimpl.C:
8552         * BufferView.h:
8553         * BufferView.C: add getCurrentChange()
8554
8555         * BufferView_pimpl.h:
8556         * BufferView_pimpl.C: handle change lfuns
8557
8558         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8559           for changes. Mark pasted paragraphs as new.
8560
8561         * support/lyxtime.h:
8562         * support/lyxtime.C:
8563         * DepTable.C: abstract time_t as lyx::time_type
8564
8565         * LColor.h:
8566         * LColor.C: add colours for new text, deleted text, changebars
8567
8568         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8569           package use "usenames" option.
8570
8571         * commandtags.h:
8572         * lyxfunc.C:
8573         * LyXAction.C: add change lfuns
8574
8575         * Makefile.am:
8576         * author.h:
8577         * author.C: author handling
8578
8579         * buffer.h:
8580         * buffer.C: add a per-buffer author list, with first entry as
8581           current author. Handle new .lyx tokens for change tracking. Output
8582           author list to .lyx file. Output dvipost stuff to .tex preamble.
8583           Bump lyx format to 222.
8584
8585         * bufferlist.h:
8586         * bufferlist.C: add setCurrentAuthor() to reset current author details
8587           in all buffers.
8588
8589         * bufferparams.h:
8590         * bufferparams.C: add param for tracking
8591
8592         * bufferview_funcs.C: output change info in minibuffer
8593
8594         * Makefile.am:
8595         * changes.h:
8596         * changes.C: add change-tracking structure
8597
8598         * debug.h:
8599         * debug.C: add CHANGES debug flag
8600
8601         * lyxfind.h:
8602         * lyxfind.C: add code for finding the next change piece
8603
8604         * lyxrc.h:
8605         * lyxrc.C: add user_name and user_email
8606
8607         * lyxrow.h:
8608         * lyxrow.C: add a metric for the top of the text line
8609
8610         * lyxtext.h:
8611         * text.C: implement accept/rejectChange()
8612
8613         * lyxtext.h:
8614         * text.C: paint changebars. Paint new/deleted text in the chosen
8615         colours. Strike through deleted text.
8616
8617         * paragraph.h:
8618         * paragraph.C:
8619         * paragraph_pimpl.h:
8620         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8621           in the current change to the insert functions. Rework erase to
8622           mark text as deleted, adding an eraseIntern() and a range-based
8623           erase(). Implement per-paragraph change lookup and
8624           accept/reject.
8625
8626         * paragraph_funcs.C: Fixup paste for change tracking.
8627
8628         * tabular.C: mark added row/columns as new.
8629
8630         * text.C: fix rowLast() to never return -1. Don't allow
8631           spellchecking of deleted text. Track transpose changes. Don't
8632           allow paragraph break or merge where appropriate.
8633
8634         * text2.C: leave cursor at end of selection after a cut.
8635
8636 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8637
8638         * text.C (getLengthMarkerHeight):
8639         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8640         visible on screen too.
8641
8642 2003-02-07  John Levon  <levon@movementarian.org>
8643
8644         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8645
8646 2003-02-05  Angus Leeming  <leeming@lyx.org>
8647
8648         * lyxserver.C (read_ready): revert my patch of 11 September last year
8649         as it sends PC cpu through the roof. Presumably this means that
8650         the lyxserver will no longer run on an Alpha...
8651
8652 2003-01-30  Angus Leeming  <leeming@lyx.org>
8653
8654         * factory.C (createInset): create an InsetCommandParam of type "index"
8655         and use it to 'do the right thing'.
8656
8657         * text2.C (getStringToIndex): ensure that cursor position is always
8658         reset to the reset_cursor position.
8659
8660 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8661
8662         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8663         disabled.
8664
8665 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8666
8667         * bufferview.C:
8668         * lyxcb.C:
8669         * lyxfunc.C: Output messages with identical spelling, punctuation,
8670         and spaces
8671
8672 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8673
8674         * MenuBackend.C (expandFormats): List only viewable export formats
8675         in "View" menu
8676
8677         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8678         message
8679
8680         * lyxfunc.C (getStatus): Make sure that formats other than
8681         "fax" can also be disabled
8682
8683 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8684
8685         * text3.C (dispatch): put the lfuns that insert insets in 3
8686         groups, and call doInsertInset with appropriate arguments.
8687         (doInsertInset): new function, that creates an inset and inserts
8688         it according to some boolean parameters.
8689
8690 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8691
8692         * buffer.C (readFile): remember to pass on 'par' when calling
8693         readFile recursively.
8694
8695 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8696
8697         * MenuBackend.C (expandFormats): add "..." to import formats.
8698
8699 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8700
8701         * paragraph.C (asString): Remove XForms RTL hacks.
8702
8703 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8704         * buffer.C: fix typo
8705
8706 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * Makefile.am (LIBS): delete var
8709         (lyx_LDADD): add @LIBS@ here instead.
8710
8711 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8712
8713         * Clarify the meaning of "wheel mouse jump"
8714
8715 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8716
8717         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8718         tabular in a float
8719
8720 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8721
8722         * importer.C (Loaders): do not preallocate 3 elements in the
8723         vector, since one ends up with 6 elements otherwise
8724
8725 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8726
8727         * DepTable.C (write): write the file name as last element of the
8728         .dep file (because it may contain spaces)
8729         (read): read info in the right order
8730
8731 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8732
8733         * paragraph_pimpl.C (simpleTeXBlanks):
8734         (simpleTeXSpecialChars):
8735         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8736
8737         * tabular.C (latex): add some missing case statements. Reindent.
8738
8739         * MenuBackend.C (expandToc): remove unused variable.
8740
8741 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8742
8743         * LColor.C:
8744         * LaTeX.C:
8745         * LyXAction.C:
8746         * MenuBackend.C:
8747         * buffer.C:
8748         * exporter.C:
8749         * lyxfunc.C:
8750         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8751         and the like.
8752
8753 2003-01-05  John Levon  <levon@movementarian.org>
8754
8755         * BufferView.h:
8756         * BufferView.C: add getEncoding()
8757
8758         * kbsequence.h:
8759         * kbsequence.C: do not store last keypress
8760
8761         * lyxfunc.h:
8762         * lyxfunc.C: store last keypress here instead. Pass encoding
8763           to getISOEncoded()
8764
8765 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8766
8767         * lyx_main.C (init): remove annoying error message when following
8768         symbolic links (bug #780)
8769
8770 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8771
8772         * text.C (insertChar):
8773         * lyxrc.C (getDescription): remove extra spaces
8774
8775 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8776
8777         * lyxrc.C (getDescription): remove extra spaces
8778
8779 2002-12-20  John Levon  <levon@movementarian.org>
8780
8781         * text3.C: hack fix for page up/down across tall rows
8782
8783 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8784
8785         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8786         not been invoked
8787
8788 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8789
8790         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8791         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8792         thesaurus is not compiled in
8793
8794 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8795
8796         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8797
8798 2002-12-16  Angus Leeming  <leeming@lyx.org>
8799
8800         * lyxrc.[Ch]:
8801         * lyx_main.C (init): remove override_x_deadkeys stuff.
8802
8803 2002-12-12  John Levon  <levon@movementarian.org>
8804
8805         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8806           insert. Only remove shift modifier under strict
8807           circumstances.
8808
8809 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8810
8811         * MenuBackend.C (expandToc): fix crash.
8812
8813 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8814
8815         * MenuBackend.C (expandToc): gettext on float names.
8816
8817 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8818
8819         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8820         implement bool empty() [bug 490]
8821
8822 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8823
8824         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8825
8826 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8827
8828         * several files: ws changes
8829
8830 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8831
8832         * text2.C (setCounter): clean up a bit, use boost.format.
8833         (updateCounters): initialize par upon declaration.
8834
8835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8836         if the layout exists. We do not just store the layout any more.
8837         (SwitchLayoutsBetweenClasses): use boost.format
8838
8839 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8840
8841         * converter.C (convert): if from and to files are the same, use a
8842         temporary files as intermediary
8843
8844 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8845
8846         * commandtags.h:
8847         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8848
8849 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8850
8851         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8852
8853 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8854
8855         * tabular.C (asciiPrintCell): use string(size, char) instead of
8856         explicit loop.
8857
8858         * sgml.C (openTag): fix order of arguments to string constructor
8859         (closeTag): ditto
8860
8861         * lyxfunc.C (dispatch): use boost.format
8862
8863         * lots of files: change "c" -> 'c'
8864
8865 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8866
8867         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8868
8869 2002-11-25  Angus Leeming  <leeming@lyx.org>
8870
8871         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8872
8873         * lyx_main.C (init): compile fix.
8874
8875 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8876
8877         * lyx_cb.C (start): boost.formatify
8878         do not include <iostream>
8879
8880         * lengthcommon.C: ws only
8881
8882         * boost-inst.C,BoostFormat.h: add more explict instantations
8883
8884 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8885
8886         * lots of files: handle USE_BOOST_FORMAT
8887
8888 2002-11-21  John Levon  <levon@movementarian.org>
8889
8890         * pspell.C: fix compile
8891
8892 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8893
8894         * lyxfunc.C (dispatch): use boost::format
8895         (open): ditto
8896         (doImport): ditto
8897
8898         * lyxfont.C (stateText): use boost::format
8899
8900         * lyx_main.C (LyX): use boost::format
8901         (init): ditto
8902         (queryUserLyXDir): ditto
8903         (readRcFile): ditto
8904         (parse_dbg): ditto
8905         (typedef boost::function): use the recommened syntax.
8906
8907         * importer.C (Import): use boost::format
8908
8909         * debug.C (showLevel): use boost::format
8910
8911         * converter.C (view): use boost::format
8912         (convert): ditto
8913         (move): ditto
8914         (scanLog): ditto
8915
8916         * bufferview_funcs.C (currentState): use boost::format
8917
8918         * bufferlist.C (emergencyWrite): use boost::format
8919
8920         * buffer.C (readLyXformat2): use boost::format
8921         (parseSingleLyXformat2Token): ditto
8922
8923         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8924
8925         * LaTeX.C (run): use boost::format
8926
8927         * Chktex.C (scanLogFile): use boost::format
8928
8929         * BufferView_pimpl.C (savePosition): use boost::format
8930         (restorePosition): ditto
8931         (MenuInsertLyXFile): ditto
8932
8933         * BoostFormat.h: help file for explicit instation.
8934
8935 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8936
8937         * tabular.C (latex): Support for block alignment in fixed width
8938         columns.
8939
8940 2002-11-17  John Levon  <levon@movementarian.org>
8941
8942         * BufferView_pimpl.C:
8943         * lyx_cb.C:
8944         * lyxfunc.C: split filedialog into open/save
8945
8946 2002-11-08  Juergen Vigna  <jug@sad.it>
8947
8948         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8949         by my last patch (hopefully).
8950
8951 2002-11-08  John Levon  <levon@movementarian.org>
8952
8953         * iterators.h:
8954         * iterators.C:
8955         * buffer.h:
8956         * buffer.C:
8957         * paragraph.h:
8958         * paragraph.C:
8959         * toc.h:
8960         * toc.C: ParConstIterator, and use it (from Lars)
8961
8962 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8963
8964         * lyxtextclass.[Ch]: revise and add doxygen comments
8965
8966 2002-11-07  John Levon  <levon@movementarian.org>
8967
8968         * text.C: fix progress value for spellchecker
8969
8970         * toc.C: fix navigate menu for insetwrap inside minipage
8971
8972         * paragraph_funcs.C: added FIXME for suspect code
8973
8974 2002-11-07  John Levon  <levon@movementarian.org>
8975
8976         * BufferView_pimpl.C: fix redrawing of insets
8977           on buffer switch
8978
8979 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8980
8981         * text2.C (updateCounters): fix bug 668
8982
8983 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8984
8985         * text3.C (dispatch): Do not make the buffer dirty when moving the
8986         cursor.
8987
8988 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * vc-backend.C: STRCONV
8991         (scanMaster): ditto
8992
8993         * text2.C (setCounter): STRCONV
8994
8995         * paragraph.C (asString): STRCONV
8996
8997         * lyxlength.C (asString): STRCONV
8998         (asLatexString): ditto
8999
9000         * lyxgluelength.C (asString): STRCONV
9001         (asLatexString): ditto
9002
9003         * lyxfunc.C (dispatch): STRCONV
9004         (open): ditto
9005
9006         * lyxfont.C (stateText): STRCONV
9007
9008         * importer.C (Import): STRCONV
9009
9010         * counters.C (labelItem): STRCONV
9011         (numberLabel): ditto
9012         (numberLabel): remove unused ostringstream o
9013
9014         * chset.C: STRCONV
9015         (loadFile): ditto
9016
9017         * bufferview_funcs.C (currentState): STRCONV
9018
9019         * buffer.C (readFile): STRCONV
9020         (asciiParagraph): ditto
9021         (makeLaTeXFile): ditto
9022
9023         * Spacing.C (writeEnvirBegin): STRCONV
9024
9025         * LaTeXFeatures.C (getLanguages): STRCONV
9026         (getPackages): ditto
9027         (getMacros): ditto
9028         (getBabelOptions): ditto
9029         (getTClassPreamble): ditto
9030         (getLyXSGMLEntities): ditto
9031         (getIncludedFiles): ditto
9032
9033         * LaTeX.C: STRCONV
9034         (run): ditto
9035         (scanAuxFile): ditto
9036         (deplog): ditto
9037
9038         * LString.h: add the STRCONV macros
9039
9040         * BufferView_pimpl.C (savePosition): STRCONV
9041         (restorePosition): ditto
9042         (MenuInsertLyXFile): ditto
9043
9044         * vc-backend.C (scanMaster): change from submatch[...] to
9045         submatch.str(...)
9046
9047         * funcrequest.C: include config.h
9048
9049         * factory.C: include config.h
9050
9051         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9052
9053         * box.C: include config.h
9054
9055         * LaTeX.C (scanAuxFile): change from submatch[...] to
9056         submatch.str(...)
9057         (deplog): ditto
9058
9059 2002-10-25  Angus Leeming  <leeming@lyx.org>
9060
9061         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9062
9063         * ispell.[Ch] (setError): new method.
9064         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9065         Use setError() insetead of goto END.
9066
9067         * lyx_cb.C (AutoSave): move out child process into new class
9068         AutoSaveBuffer.
9069
9070 2002-10-30  John Levon  <levon@movementarian.org>
9071
9072         * text3.C: make start appendix undoable
9073
9074 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9075
9076         * lyxlength.C (inPixels): Fix returned value.
9077
9078         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9079         environment.
9080
9081 2002-10-24  Angus Leeming  <leeming@lyx.org>
9082
9083         * lyxgluelength.h: no need to forward declare BufferParams
9084         or BufferView, so don't.
9085
9086 2002-10-21  John Levon  <levon@movementarian.org>
9087
9088         * BufferView.C: menuUndo ->undo, redo
9089
9090         * BufferView.h: document, remove dead, make some methods private
9091
9092         * paragraph_funcs.h:
9093         * paragraph_funcs.C:
9094         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9095
9096         * buffer.h:
9097         * buffer.C:
9098         * sgml.h:
9099         * sgml.C: move sgml open/close tag into sgml.C
9100
9101         * bufferview_funcs.h: unused prototype
9102
9103         * lyxfunc.h:
9104         * lyxfunc.C: remove unused
9105
9106         * lyxtext.h:
9107         * text.C: remove unused
9108
9109 2002-10-21  John Levon  <levon@movementarian.org>
9110
9111         * BufferView.h:
9112         * BufferView.C:
9113         * BufferView_pimpl.h:
9114         * BufferView_pimpl.C: fix mouse wheel handling based on
9115           patch from Darren Freeman
9116
9117 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9118
9119         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9120
9121 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9122
9123         * lyxlength.C (inPixels): Fix hanfling of negative length.
9124         Fix LyXLength::MU case.
9125
9126 2002-10-16  John Levon  <levon@movementarian.org>
9127
9128         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9129
9130 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9131
9132         * converter.C (view): add support for $$i (file name) and $$p
9133         (file path) for the viewer command. If $$i is not specified, then
9134         it is appended to the command (for compatibility with old syntax)
9135
9136 2002-10-14  Juergen Vigna  <jug@sad.it>
9137
9138         * undo_funcs.C (textHandleUndo): alter the order in which the
9139         new undopar is added to the LyXText, as we have to set first
9140         the right prev/next and then add it as otherwise the rebuild of
9141         LyXText is not correct. Also reset the cursor to the right paragraph,
9142         with this IMO we could remove the hack in "redoParagraphs()".
9143
9144 2002-10-09  Angus Leeming  <leeming@lyx.org>
9145
9146         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9147         to turn off an optimisation if a new inset is to be inserted.
9148
9149 2002-10-11 André Pönitz <poenitz@gmx.net>
9150
9151         * lyxtext.h: make some functions public to allow access
9152         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9153
9154 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9155
9156         * text3.C (dispatch): when changing layout, avoid an infinite loop
9157         [bug #652]
9158
9159 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9160
9161         * lyxrc.C (read): treat a viewer or converter command of "none" as
9162         if it were empty.
9163
9164         * MenuBackend.C (expandFormats): for an update, also allow the
9165         formats that are not viewable
9166
9167         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9168         script if it is newer than the lyxrc.defaults in user directory
9169
9170 2002-10-07 André Pönitz <poenitz@gmx.net>
9171
9172         * text.C: Vitaly Lipatov's small i18n fix
9173
9174 2002-09-25  Angus Leeming  <leeming@lyx.org>
9175
9176         * ispell.h: doxygen fix.
9177
9178 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9179
9180         * buffer.h (readFile): Add a new argument to the method, to allow
9181         reading of old-format templates.
9182
9183 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9184
9185         * toc.C (getTocList): Get TOC from InsetWrap.
9186
9187 2002-09-16  John Levon  <levon@movementarian.org>
9188
9189         * lyxfunc.C: check tabular for cut/copy too
9190
9191 2002-09-12  John Levon  <levon@movementarian.org>
9192
9193         * LyXAction.C: tidy
9194
9195         * factory.h:
9196         * factory.C: add header
9197
9198         * paragraph_funcs.h:
9199         * paragraph_funcs.C: cleanup
9200
9201 2002-09-11  John Levon  <levon@movementarian.org>
9202
9203         * PrinterParams.h: odd/even default to true
9204
9205 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9206
9207         * PrinterParams.h: update printer parameters for new xforms dialog
9208
9209 2002-09-11  Angus Leeming  <leeming@lyx.org>
9210
9211         * lyxserver.C (read_ready): re-write to make it more transparent
9212         and to make it work in coherent fashion under Tru64 Unix.
9213
9214 2002-09-11  André Pönitz <poenitz@gmx.net>
9215
9216         * commandtags.h:
9217         * LyXAction.C:
9218         * text3.C: implement LFUN_WORDSEL
9219
9220 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9221
9222         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9223         make floatlist_ a boost::shared_ptr<FloatList>
9224
9225         * lyxtextclass.C: include FloatList.h
9226         (LyXTextClass): initialize floatlist_
9227         (TextClassTags): add TC_NOFLOAT
9228         (Read): match "nofloat" to TC_NOFLOAT and use it.
9229         (readFloat): modify call to floatlist_
9230         (floats): ditto
9231         (floats): ditto
9232
9233         * FloatList.[Ch] (FloatList): remove commented out float
9234         initialization.
9235         (erase): new function
9236
9237 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9238
9239         * MenuBackend.C (expandToc): fix crash when there is no document
9240         open
9241
9242 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9243
9244         * many files: Add insetwrap.
9245
9246 2002-09-09  John Levon  <levon@movementarian.org>
9247
9248         * text2.C: remove confusing and awkward depth wraparound
9249
9250 2002-09-09  John Levon  <levon@movementarian.org>
9251
9252         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9253
9254         * buffer.h:
9255         * buffer.C: remove getIncludeonlyList()
9256
9257         * paragraph.C:
9258         * lyxfunc.C: remove headers
9259
9260 2002-09-09  Juergen Vigna  <jug@sad.it>
9261
9262         * text.C (getColumnNearX): fix form Michael this is most
9263         probably a cut&paste bug.
9264
9265 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9266
9267         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9268
9269         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9270         references, ws changes.
9271
9272         * text2.C (init): update counters after init
9273         (insertParagraph): no need to set counter on idividual paragraphs.
9274         (setCounter): access the counters object in the textclass object
9275         on in the buffer object.
9276         (updateCounters): ditto
9277
9278         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9279         shared_ptr<Counters> to avoid loading counters.h in all
9280         compilation units.
9281         (LyXTextClass): initialize ctrs_
9282         (TextClassTags): add TC_COUNTER, and ...
9283         (Read): use it here.
9284         (CounterTags): new tags
9285         (readCounter): new function
9286         (counters): new funtion
9287         (defaultLayoutName): return a const reference
9288
9289         * counters.C (Counters): remove contructor
9290         (newCounter): remove a couple of unneeded statements.
9291         (newCounter): simplify a bit.
9292         (numberLabel): some small formatting changes.
9293
9294         * buffer.[Ch]: remove all traces of counters, move the Counters
9295         object to the LyXTextClass.
9296
9297 2002-09-06  Alain Castera  <castera@in2p3.fr>
9298
9299         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9300         package to set the horizontal alignment on fixed width columns.
9301
9302         * lyx_sty.C:
9303         * lyx_sty.h: added tabularnewline macro def.
9304
9305         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9306
9307 2002-09-06  John Levon  <levon@movementarian.org>
9308
9309         * LyXAction.C: tooltips for sub/superscript
9310
9311         * MenuBackend.C: a bit more verbose
9312
9313         * lyxfunc.C: tiny clean
9314
9315         * undo_funcs.C: document undo_frozen
9316
9317 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9318
9319         * counters.C (Counters): add missing algorithm counter.
9320
9321         * text2.C (setCounter): lookup the counter with layouts latexname
9322         instead of by section number.
9323         (setCounter): use a hackish way to lookup the correct enum
9324         counter.
9325         a float name->type change
9326         reset enum couners with counter name directly instead of depth value.
9327
9328         * counters.C (Counters): remove the push_backs, change to use the
9329         float type not the float name.
9330         (labelItem): remove unused string, float name->type change
9331
9332         * counters.h: don't include vector, loose the enums and sects vectors
9333
9334 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9335
9336         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9337         (Read): add float->TC_FLOAT to textclassTags
9338         (Read): and handle it in the switch
9339         (readFloat): new function
9340
9341         * FloatList.C (FloatList): comment out the hardcoded float
9342         definitions.
9343
9344         * lyxlayout.h: ws change.
9345
9346 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9347
9348         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9349
9350 2002-09-03  Angus Leeming  <leeming@lyx.org>
9351
9352         * BufferView_pimpl.h: qualified name is not allowed in member
9353         declaration: WorkArea & Pimpl::workarea() const;
9354
9355         * factory.C: added using std::endl directive.
9356
9357         * text3.C: added using std::find and std::vector directives.
9358
9359 2002-08-29  André Pönitz <poenitz@gmx.net>
9360
9361         * lyxtext.h:
9362         * text2.C: remove unused member number_of_rows
9363
9364         * Makefile.am:
9365         * BufferView2.C: remove file, move contents to...
9366         * BufferView.C: ... here
9367
9368         * BufferView_pimpl.C:
9369         * factory.C: move more inset creation to factory
9370
9371         * vspace.C: avoid direct usage of LyXText, ws changes
9372
9373         * BufferView.[Ch]:
9374                 don't provide direct access to WorkArea, use two simple
9375                 acessors haveSelction() and workHeight() instead
9376
9377
9378 2002-08-29  John Levon  <levon@movementarian.org>
9379
9380         * BufferView_pimpl.C (dispatch): do not continue when
9381           no buffer
9382
9383 2002-08-28  André Pönitz <poenitz@gmx.net>
9384
9385         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9386
9387         * BufferView.h:
9388         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9389
9390 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9391
9392         * buffer.C: increment LYX_FORMAT to 221
9393
9394         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9395         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9396
9397         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9398
9399         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9400
9401 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9402
9403         * factory.C (createInset): use LyXTextClass::floats
9404
9405         * MenuBackend.C (expandFloatListInsert):
9406         (expandFloatInsert):
9407         (expandToc):
9408
9409         * text2.C (setCounter):
9410
9411         * LaTeXFeatures.C (useFloat):
9412         (getFloatDefinitions):
9413
9414         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9415
9416         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9417         floatlist_, with accessor floats().
9418
9419         * FloatList.h: remove global FloatList
9420
9421 2002-08-26  André Pönitz <poenitz@gmx.net>
9422
9423         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9424
9425         * BufferView.h:
9426         * BufferView2.C:
9427         * BufferView_pimpl.C:
9428         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9429
9430 2002-08-25  John Levon  <levon@movementarian.org>
9431
9432         * LyXAction.C: fix margin note description
9433
9434 2002-08-24  John Levon  <levon@movementarian.org>
9435
9436         * buffer.C:
9437         * bufferlist.C:
9438         * bufferview_funcs.C:
9439         * lyxfont.C:
9440         * undo_funcs.C: cleanups
9441
9442         * lyxfunc.C: disable CUT/COPY when no selection
9443
9444 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9445
9446         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9447         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9448
9449         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9450         Add backward compatibility to "mono", "gray" and "no".
9451
9452 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9453
9454         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9455         (and file_format >= 200).
9456
9457 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9458
9459         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9460
9461 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9464
9465 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9466
9467         * BufferView_pimpl.C:
9468         * LyXAction.C:
9469         * buffer.C:
9470         * commandtags.h:
9471         * lyxfunc.C:
9472         * paragraph.[Ch]:
9473         * text2.C:
9474         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9475         inset and code to make it  work with the paragraph code. The inset
9476         can be anywhere in the paragraph, but will only do the expected
9477         thing in LaTeX if the layout file contains the parameter line
9478                         OptionalArgs    1
9479         (or more generally, a nonzero value) for that layout.
9480
9481 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9482
9483         * paragraph.h: remove the declaration of undefined counters class
9484         function.
9485
9486 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9487
9488         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9489         Dr. Richard Hawkins.
9490
9491 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9492
9493         * paragraph_funcs.h: remove some unneeded includes
9494
9495         * text.C (backspace): pasteParagraph now in global scipe
9496
9497         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9498         (pasteSelection): ditto
9499
9500         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9501         * paragraph_funcs.C (pasteParagraph): ... here
9502
9503 2002-08-20  André Pönitz <poenitz@gmx.net>
9504
9505         * commandtags.h: new LFUNs for swapping/copying table row/colums
9506
9507         * LyXAction.C:
9508         * lyxfunc.C: support for new lfuns
9509
9510 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9511
9512         * tabular.C:
9513         * buffer.[Ch]: remove NO_COMPABILITY stuff
9514
9515 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9516
9517         * boost.C (throw_exception): new file, with helper function for
9518         boost compiled without exceptions.
9519
9520         * paragraph.h:
9521         * lyxlength.C:
9522         * buffer.C:
9523         * ParameterStruct.h:
9524         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9525
9526         * bufferlist.C (emergencyWriteAll): use boost bind
9527
9528         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9529
9530         * text.C: include paragraph_funcs.h
9531         (breakParagraph): breakParagraph is now in global scope
9532
9533         * paragraph_funcs.[Ch]: new files
9534
9535         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9536         global scope
9537
9538         * buffer.C: include paragraph_funcs.h
9539         (insertStringAsLines): breakParagraph is now in global scope
9540
9541         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9542         paragraph_funcs.C
9543
9544         * CutAndPaste.C: include paragraph_funcs.h
9545         (cutSelection): breakParagraphConservative is now in global scope
9546         (pasteSelection): ditto
9547
9548         * buffer.h: declare oprator== and operator!= for
9549         Buffer::inset_iterator
9550
9551         * bufferlist.C (emergencyWrite): don't use fmt(...)
9552
9553         * text3.C: add using std::endl
9554
9555         * BufferView.C (moveCursorUpdate): remove default arg
9556
9557 2002-08-20  André Pönitz <poenitz@gmx.net>
9558
9559         * buffer.[Ch]: move inline functions to .C
9560
9561         * BufferView2.C:
9562         * BufferView_pimpl.C:
9563         * text.C:
9564         * buffer.[Ch]: use improved inset_iterator
9565
9566         * buffer.C:
9567         * paragraph.[Ch]: write one paragraph at a time
9568
9569 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9570
9571         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9572         style if style is not specified.
9573
9574 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9575
9576         * text2.C (setCounter): when searching for right label for a
9577         caption, make sure to recurse to parent insets (so that a caption
9578         in a minipage in a figure float works) (bug #568)
9579
9580 2002-08-20  André Pönitz <poenitz@gmx.net>
9581
9582         * text3.C: new file for LyXText::dispatch() and helpers
9583
9584         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9585
9586         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9587
9588 2002-08-19  André Pönitz <poenitz@gmx.net>
9589
9590         * lyxtext.h:
9591         * text.C: new LyXText::dispatch()
9592
9593         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9594
9595 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9596
9597         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9598
9599         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9600         Hebrew text.
9601
9602 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9603
9604         * Makefile.am: use $(variables) instead of @substitutions@
9605
9606 2002-08-15  André Pönitz <poenitz@gmx.net>
9607
9608         * lyxfunc.C:
9609         * BufferView_pimpl.C: streamlining mathed <-> outer world
9610         interaction
9611
9612         * commandtags.h:
9613         * LyXAction.C: remove unused LFUN_MATH
9614
9615 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9616
9617         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9618
9619 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9620
9621         * paragraph.C (Paragraph): reformat a bit
9622         (cutIntoMinibuffer): use builtin InsetList function instad of
9623         doing it manually.
9624         (getInset): ditto
9625
9626         * buffer.C: include boost/bind.hpp, add using std::for_each
9627         (writeFileAscii): use ParagraphList iterators
9628         (validate): use for_each for validate traversal of paragraphs
9629         (getBibkeyList): use ParagraphList iterators
9630         (resizeInsets): use for_each to resizeInsetsLyXText for all
9631         paragraphs.
9632         (getParFromID): use ParagraphList iterators
9633
9634         * BufferView2.C (lockInset): use paragraph list and iterators
9635
9636 2002-08-14  John Levon  <levon@movementarian.org>
9637
9638         * lyxserver.C: remove spurious xforms include
9639
9640 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9643
9644 2002-08-13  André Pönitz <poenitz@gmx.net>
9645
9646         * LyXAction.[Ch]:
9647         * lyxfunc.C: further cleaning
9648
9649 2002-08-13  André Pönitz <poenitz@gmx.net>
9650
9651         * funcrequest.h: new constructor
9652
9653         * funcrequest.C: move stuff here from .h
9654
9655         * Makefile.am:
9656         * BufferView_pimpl.C:
9657         * LyXAction.C:
9658         * toc.C:
9659         * lyxfunc.C: subsequent changes
9660
9661         * lyxfunc.h: new view() member function
9662
9663         * lyxfunc.C: subsequent changes
9664
9665 2002-08-13  Angus Leeming  <leeming@lyx.org>
9666
9667         * BufferView2.C:
9668         * BufferView_pimpl.C:
9669         * buffer.C:
9670         * converter.C:
9671         * importer.C:
9672         * lyxfunc.C:
9673         * lyxvc.C:
9674         * toc.C:
9675         * vc-backend.C:
9676         changes due to the changed LyXView interface that now returns references
9677         to member variables not pointers.
9678
9679 2002-08-13  Angus Leeming  <leeming@lyx.org>
9680
9681         * WordLangTuple (word, lang_code): return references to strings,
9682         not strings.
9683
9684         * BufferView.h:
9685         * SpellBase.h:
9686         * lyxtext.h: forward-declare WordLangTuple.
9687
9688         * BufferView2.C:
9689         * ispell.C:
9690         * pspell.C:
9691         * text.C: #include "WordLangTuple.h".
9692
9693         * lyxtext.h:
9694         * text.C: (selectNextWordToSpellcheck): constify return type.
9695
9696 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9697
9698         * buffer.C:
9699         * buffer.h:
9700         * lyxtext.h:
9701         * paragraph.C:
9702         * paragraph_pimpl.h:
9703         * text.C:
9704         * text2.C:
9705         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9706         suggested by Angus.
9707         Made updateCounter always count from start of buffer, and removed
9708         second argument (par).
9709         Reverted floats number display to '#'. Perhaps I'll try again when the
9710         code base is sanitized a bit.
9711
9712 2002-08-12  Angus Leeming  <leeming@lyx.org>
9713
9714         * buffer.[Ch] (getLabelList): constify.
9715
9716 2002-08-07  André Pönitz <poenitz@gmx.net>
9717
9718         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9719
9720         * funcrequest.h: extension to keep mouse (x,y) position
9721
9722 2002-08-12  Juergen Vigna  <jug@sad.it>
9723
9724         * BufferView2.C (insertErrors): forbid undo when inserting error
9725         insets.
9726
9727         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9728
9729 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9730
9731         * ParagraphList.[Ch]: new files
9732
9733         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9734
9735         * BufferView2.C (lockInset): ParagraphList changes
9736         * toc.C: ditto
9737         * text2.C: ditto
9738         * bufferlist.C: ditto
9739         * buffer.h: ditto
9740         * buffer.C: ditto
9741
9742 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9743
9744         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9745         unused class variable counter_,
9746
9747         * paragraph.[Ch] (getFirstCounter): delete unused function
9748
9749         * counters.C: include LAssert.h
9750         (reset): add a new function with no arg, change other version to
9751         not have def. arg and to not allow empty arg.
9752
9753         * text2.C (setCounter): remove empty arg from call to Counters::reset
9754
9755 2002-08-11  John Levon  <levon@movementarian.org>
9756
9757         * Makefile.am: add WordLangTuple.h
9758
9759 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9760
9761         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9762         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9763
9764         * insets/insettext.C: InsetList changes
9765
9766         * graphics/GraphicsSupport.C (operator()): InsetList changes
9767
9768         * toc.C (getTocList): InsetList changes
9769
9770         * paragraph_pimpl.[Ch]: InsetList changes
9771
9772         * paragraph.[Ch]: InsetList changes
9773
9774         * buffer.C (inset_iterator): InsetList changes
9775         (setParagraph): ditto
9776         * buffer.h (inset_iterator): ditto
9777         * iterators.C (operator++): ditto
9778         * iterators.h: ditto
9779
9780         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9781
9782         * InsetList.[Ch]: new files, most InsetList handling moved out of
9783         paragraph.C.
9784
9785         * BufferView2.C (removeAutoInsets): InsetList changes
9786         (lockInset): ditto
9787         (ChangeInsets): ditto
9788
9789 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9790
9791         * paragraph_pimpl.h (empty): new function
9792
9793         * paragraph.[Ch] (empty): new function
9794
9795         * other files: use the new Paragraph::empty function
9796
9797 2002-08-09  John Levon  <levon@movementarian.org>
9798
9799         * lyxtext.h: remove unused refresh_height
9800
9801 2002-08-09  John Levon  <levon@movementarian.org>
9802
9803         * Makefile.am:
9804         * sgml.h:
9805         * sgml.C:
9806         * buffer.C:
9807         * paragraph.h:
9808         * paragraph.C: move sgml char escaping out of paragraph
9809
9810         * paragraph.h:
9811         * paragraph.C: remove id setter
9812
9813         * buffer.C:
9814         * paragraph.C:
9815         * paragraph_pimpl.C: remove dead tex_code_break_column
9816
9817         * bufferview_funcs.C: small cleanup
9818
9819         * lyxfunc.C: remove dead proto
9820
9821         * lyxtext.h: make some stuff private. Remove some dead stuff.
9822
9823         * lyxgluelength.C: make as[LyX]String() readable
9824
9825 2002-08-08  John Levon  <levon@movementarian.org>
9826
9827         * LyXAction.h:
9828         * LyXAction.C:
9829         * MenuBackend.C:
9830         * ToolbarDefaults.C:
9831         * lyxfunc.C:
9832         * lyxrc.C:
9833         * toc.C: lyxaction cleanup
9834
9835 2002-08-08  John Levon  <levon@movementarian.org>
9836
9837         * BufferView2.C: small cleanup
9838
9839         * lyxfind.h:
9840         * lyxfind.C: move unnecessary header into the .C
9841
9842 2002-08-08  John Levon  <levon@movementarian.org>
9843
9844         * funcrequest.h: just tedious nonsense
9845
9846         * lyx_main.h:
9847         * lyx_main.C: cleanups
9848
9849         * buffer.C:
9850         * vspace.C: remove dead header lyx_main.h
9851
9852 2002-08-07  Angus Leeming  <leeming@lyx.org>
9853
9854         * Paragraph.[Ch]:
9855         * paragraph_pimpl.h:
9856         Forward declare class Counters in paragraph.h by moving the ctrs member
9857         variable into Paragraph::Pimpl.
9858         (counters): new method, returning a reference to pimpl_->ctrs.
9859
9860         * text2.C: ensuing changes.
9861
9862 2002-08-07  John Levon  <levon@movementarian.org>
9863
9864         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9865
9866         * BufferView_pimpl.C: announce X selection on double/triple
9867           click
9868
9869         * lyx_main.C: use correct bool in batch dispatch
9870
9871         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9872
9873 2002-08-07  André Pönitz <poenitz@gmx.net>
9874
9875         * funcrequest.h: new class to wrap a kb_action and its argument
9876
9877         * BufferView.[Ch]:
9878         * BufferView_pimpl[Ch]:
9879         * LaTeX.C:
9880         * LyXAction.[Ch]:
9881         * lyxfunc.[Ch]:
9882         * lyxrc.C: subsequent changes
9883
9884
9885 2002-08-07  John Levon  <levon@movementarian.org>
9886
9887         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9888           document options change.
9889
9890 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9891
9892         * counters.[Ch]
9893         * text2.C
9894         * paragraph.[Ch]
9895         * makefile.am: move counters functionality over from
9896         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9897
9898 2002-08-06  John Levon  <levon@movementarian.org>
9899
9900         * WordLangTuple.h: new file for word + language code tuple
9901
9902         * SpellBase.h:
9903         * pspell.h:
9904         * pspell.C:
9905         * ispell.h:
9906         * ispell.C:
9907         * lyxtext.h:
9908         * text.C:
9909         * text2.C:
9910         * BufferView.h:
9911         * BufferView2.C: use WordLangTuple
9912
9913         * layout.h:
9914         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9915
9916 2002-08-06  John Levon  <levon@movementarian.org>
9917
9918         * lyx_main.C: fix cmdline batch handling
9919
9920 2002-08-06  André Pönitz <poenitz@gmx.net>
9921
9922         * lyxrc.C: set default for show_banner to true
9923
9924 2002-08-06  John Levon  <levon@movementarian.org>
9925
9926         * pspell.C: fix a crash, and allow new aspell to work
9927
9928 2002-08-06  John Levon  <levon@movementarian.org>
9929
9930         * lyxfunc.C:
9931         * kbmap.C: small cleanup
9932
9933         * vspace.h:
9934         * vspace.C: add const
9935
9936 2002-08-05  John Levon  <levon@movementarian.org>
9937
9938         * LyXAction.C: back to tabular-insert
9939
9940 2002-08-04  John Levon  <levon@movementarian.org>
9941
9942         * BufferView.h:
9943         * BufferView.C: cosmetic change
9944
9945         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9946
9947         * bufferlist.C:
9948         * buffer.h:
9949         * buffer.C:
9950         * lyxcb.h:
9951         * lyxcb.C:
9952         * lyxserver.C:
9953         * lyxvc.C:
9954         * vc-backend.C:
9955         * BufferView2.C: purge all "Lyx" not "LyX" strings
9956
9957         * lyxcursor.h:
9958         * lyxcursor.C: attempt to add some documentation
9959
9960         * lyxfunc.C:
9961         * commandtags.h:
9962         * LyXAction.C:
9963         * ToolbarDefaults.C:
9964         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9965           merge with LFUN_TABULAR_INSERT
9966
9967         * Makefile.am:
9968         * SpellBase.h:
9969         * ispell.h:
9970         * ispell.C:
9971         * pspell.h:
9972         * pspell.C: split up i/pspell implementations into separate
9973           files, many cleanups
9974
9975         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9976
9977         * text2.C: some cleanup
9978
9979         * lyxfunc.C: don't check for isp_command == "none" any more, it
9980           didn't make any sense
9981
9982 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9983
9984         * counters.[Ch]
9985         * text2.C
9986         * paragraph.[Ch]
9987         * makefile.am: move counters functionality over
9988         from text2.C/paragraph.[Ch] to counters.[Ch], and
9989         make proper C++.
9990 2002-08-02  John Levon  <levon@movementarian.org>
9991
9992         * buffer.C: s/lyxconvert/lyx2lyx/
9993
9994 2002-08-02  Angus Leeming  <leeming@lyx.org>
9995
9996         * lyxlex.C: revert John's change as it breaks reading of the user
9997         preamble.
9998
9999 2002-08-02  Angus Leeming  <leeming@lyx.org>
10000
10001         * importer.C (Import):
10002         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10003         changes due to LyXView::view() now returning a boost::shared_ptr.
10004
10005 2002-08-02  John Levon  <levon@movementarian.org>
10006
10007         * lyxlex.C: small cleanup
10008
10009 2002-08-02  John Levon  <levon@movementarian.org>
10010
10011         * text2.C (status): small cleanup, no logic change
10012
10013 2002-08-01  John Levon  <levon@movementarian.org>
10014
10015         * buffer.h:
10016         * buffer.C (writeFile): don't output alerts, caller
10017           handles this
10018
10019         * bufferlist.C:
10020         * lyx_cb.C: from above
10021
10022         * lyxfunc.C: allow to open non-existent files
10023
10024 2002-07-31  John Levon  <levon@movementarian.org>
10025
10026         * lyxserver.C: don't let incidental errors get
10027           in the way (errno)
10028
10029 2002-07-30  John Levon  <levon@movementarian.org>
10030
10031         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10032
10033 2002-07-30  John Levon  <levon@movementarian.org>
10034
10035         * lyxserver.h:
10036         * lyxserver.C: remove I/O callback too
10037
10038 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10039
10040         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10041         log.
10042
10043 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10044
10045         * many files: strip,frontStrip -> trim,ltrim,rtrim
10046
10047 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10048
10049         * PrinterParams.h: remove extern containsOnly, and include
10050         support/lstrings.h instead.
10051
10052         * LaTeX.C (scanAuxFile): modify because of strip changes
10053         (deplog): ditto
10054         * buffer.C (makeLaTeXFile): ditto
10055         * bufferparams.C (writeFile): ditt
10056         * lyxfont.C (stateText): ditto
10057         * lyxserver.C (read_ready): ditto
10058         * vc-backend.C (scanMaster): ditto
10059
10060         * BufferView_pimpl.h: ws changes
10061
10062         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10063
10064 2002-07-26  André Pönitz <poenitz@gmx.net>
10065
10066         * kb_sequence.C: remove unnedred usings
10067
10068 2002-07-26  Juergen Vigna  <jug@sad.it>
10069
10070         * lyxfind.C (LyXReplace): we have to check better if the returned
10071         text is not of theLockingInset()->getLockingInset().
10072
10073 2002-07-25  Juergen Vigna  <jug@sad.it>
10074
10075         * lyxfind.C (LyXReplace): don't replace if we don't get the
10076         right LyXText.
10077
10078         * undo_funcs.C (createUndo): remove debugging code.
10079
10080 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10081
10082         * buffer.C (parseSingleLyXformat2Token): Use default placement
10083         when reading old floats.
10084
10085         * FloatList.C (FloatList): Change the default placement of figure
10086         and tables to "tbp".
10087
10088 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * MenuBackend.C: using std::max
10091
10092 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10093
10094         * MenuBackend.C (expandToc):
10095         (expandToc2): code moved from xforms menu frontend. It is now
10096         generic and TOCs are transparent to menu frontends.
10097
10098 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10099
10100         * toc.C (getTocList): protect against buf=0
10101
10102         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10103         Menu as first parameter. Now, this calls itself recursively to
10104         expand a whole tree (this will be useful for TOC handling)
10105         (expandFloatInsert): remove 'wide' version of floats
10106
10107         * MenuBackend.h (submenuname): returns the name of the submenu.
10108         (submenu): returns the submenu itself, provided it has been
10109         created by MenuBackend::expand
10110
10111 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10114         insets which have noFontChange == true. (bug #172)
10115
10116 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10117
10118         * BufferView_pimpl.C: add connection objects and use them...
10119         (Pimpl): here.
10120
10121 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * MenuBackend.C (expandLastfiles):
10124         (expandDocuments):
10125         (expandFormats):
10126         (expandFloatListInsert):
10127         (expandFloatInsert):
10128         (expand): split expand in parts
10129
10130 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10131
10132         * lyx_gui.C: use lyx_gui::exit()
10133
10134 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * LyXAction.C: show the failing pseudo action
10137
10138 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10139
10140         * buffer.C (readFile): Run the lyxconvert script in order to read
10141         old files.
10142
10143 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * LyXAction.C:
10146         * commandtags.h:
10147         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10148
10149 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * LyXAction.C:
10152         * commandtags.h:
10153         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10154
10155 2002-07-22  Herbert Voss  <voss@lyx.org>
10156
10157         * lengthcommon.C:
10158         * lyxlength.[Ch]: add support for the vertical lengths
10159
10160 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * toc.[Ch]: std:: fixes
10163
10164 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10165
10166         * lyxrc.C: do not include lyx_main.h
10167
10168         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10169         for layouts
10170
10171         * lyxrc.C:
10172         * encoding.C:
10173         * bufferlist.C:
10174         * BufferView2.C: include "lyxlex.h"
10175
10176         * tabular.h:
10177         * bufferparams.h: do not #include "lyxlex.h"
10178
10179         * lyxtextclasslist.C (Add): remove method
10180         (classlist): renamed to classlist_
10181
10182         * paragraph_pimpl.C:
10183         * paragraph.C:
10184         * text2.C:
10185         * CutAndPaste.C:
10186         * bufferview_funcs.C:
10187         * bufferlist.C:
10188         * text.C:
10189         * LaTeXFeatures.C:
10190         * buffer.C:
10191         * toc.C (getTocList): use BufferParams::getLyXTextClass
10192
10193         * toc.C (getTocList): use InsetFloat::addToToc
10194
10195         * toc.[Ch]: new files, containing helper functions to handle table
10196         of contents
10197
10198         * lyxfunc.C (dispatch): no need to remove spaces around command
10199         given as a string
10200         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10201         first command of the sequence; it is not very clever, but I do not
10202         have a better idea, actually
10203
10204         * LyXAction.C (LookupFunc): make sure to remove space at the
10205         beginning and end of the command
10206
10207 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * MenuBackend.C (getMenubar): new method: return the menubar of
10210         this menu set
10211         (read): treat differently reading of menu and menubar (in
10212         particular, the menubar has no name now)
10213         (Menu::menubar): remove
10214
10215         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10216         saving is finished
10217
10218 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10219
10220         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10221         a bibitem inset in a RTL paragraph.
10222
10223 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * paragraph_pimpl.C: constify
10226
10227         * BufferView_pimpl.C:
10228         * LaTeX.C:
10229         * lyxfunc.C: fix dispatch in a nicer way
10230
10231 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10232
10233         * lyxfunc.C (dispatch):
10234         * BufferView_pimpl.C:
10235         * BufferView_pimpl.h:
10236         * BufferView.C:
10237         * BufferView.h: rename Dispatch() to dispatch()
10238
10239         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10240
10241         * lyxlayout.C (Read): honor DependsOn tag
10242
10243         * lyxlayout.[Ch] (depends_on): new method
10244
10245         * version.C.in: update lyx_docversion
10246
10247         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10248
10249         * paragraph.C (validate): remove from here...
10250         * paragraph_pimpl.C (validate): ... and move here
10251         (isTextAt): make it const
10252
10253         * buffer.C (getLists): ws cleanup
10254
10255 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10256
10257         * language.C (read): Use iso8859-1 encoding in latex_lang
10258         (this prevents LyX from crashing when using iso10646-1 encoding).
10259
10260 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10261
10262         * text2.C (toggleInset): if cursor is inside an inset, close the
10263         inset and leave cursor _after_ it
10264
10265 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * lyxfunc.C: move minibuffer completion handling out of here
10268
10269 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10270
10271         * BufferView_pimpl.C:
10272         * LaTeX.C: fix dispatch calls
10273
10274 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10275
10276         * text.C (drawChars): Fix Arabic text rendering.
10277
10278 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * LyXAction.C:
10281         * commandtags.h:
10282         * lyxfunc.C: remove message-push/pop
10283
10284         * lyxserver.C:
10285         * lyxfunc.h:
10286         * lyxfunc.C: rationalise some code by removing verboseDispatch
10287           in favour of a bool argument to dispatch()
10288
10289 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10290
10291         * lyx_main.C (init): make sure to read symlinks as absolute paths
10292
10293 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10294
10295         * lyxfunc.h:
10296         * lyxfunc.C: no need for commandshortcut to be a member
10297
10298 2002-07-15  André Pönitz <poenitz@gmx.net>
10299
10300         * converter.C: add support for $$s (scripts from lib/scripts dir)
10301         * lyx_main.C: white space
10302
10303 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10304
10305         * bufferlist.C:
10306         * lyxrc.h:
10307         * lyxrc.C: remove second exit confirmation
10308
10309 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * BufferView.h:
10312         * BufferView.C:
10313         * BufferView2.C:
10314         * BufferView_pimpl.h:
10315         * BufferView_pimpl.C:
10316         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10317
10318 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10319
10320         * MenuBackend.C (expand): add numeric shortcuts to document menu
10321
10322         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10323
10324 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * lyxfont.C (setLyXFamily):
10327         (setLyXSeries):
10328         (setLyXShape):
10329         (setLyXSize):
10330         (setLyXMisc):
10331         (lyxRead):
10332         * debug.C (value):
10333         * buffer.C (asciiParagraph): use ascii_lowercase
10334
10335 2002-07-15  Mike Fabian  <mfabian@suse.de>
10336
10337         * lyxlex_pimpl.C (search_kw):
10338         * lyxlex.C (getLongString):
10339         * converter.h (operator<):
10340         * converter.C (operator<):
10341         * buffer.C (parseSingleLyXformat2Token):
10342         (asciiParagraph):
10343         * ToolbarDefaults.C (read):
10344         * MenuBackend.C (checkShortcuts):
10345         (read):
10346         * LColor.C (getFromGUIName):
10347         (getFromLyXName): use the compare_ascii_no_case instead of
10348         compare_no_case, because in turkish, 'i' is not the lowercase
10349         version of 'I', and thus turkish locale breaks parsing of tags.
10350
10351 2002-07-16  Angus Leeming  <leeming@lyx.org>
10352
10353         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10354         now takes a Buffer const & argument.
10355
10356 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * BufferView.C (resize): check there's a buffer to resize
10359
10360 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10361
10362         * lyxfunc.C: remove dead code
10363
10364         * lyxserver.h:
10365         * lyxserver.C: use lyx_guii::set_read_callback
10366
10367 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10368
10369         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10370         an inset in a RTL paragraph.
10371
10372 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * lyxfunc.C: repaint after a font size update
10375
10376 2002-07-15  André Pönitz <poenitz@gmx.net>
10377
10378         * lyxlength.C: inBP should be able to return negative values
10379
10380 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * lyxfunc.C: use lyx_gui::update_fonts()
10383
10384 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * lyxfunc.C: use lyx_gui::update_color()
10387
10388 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10389
10390         * bufferlist.C:
10391         * lyxfunc.h:
10392         * lyxfunc.C:
10393         * lyxrc.h:
10394         * lyxrc.C: remove file->new asks for name option, and let
10395           buffer-new take an argument
10396
10397 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * BufferView_pimpl.C: remove unneeded extra repaint()
10400
10401 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10402
10403         * LyXAction.C: allow command-sequence with NoBuffer
10404
10405         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10406
10407 2002-07-10  Angus Leeming  <leeming@lyx.org>
10408
10409         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10410
10411 2002-07-09  Angus Leeming  <leeming@lyx.org>
10412
10413         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10414
10415 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * lengthcommon.h: whitespace
10418
10419         * lyxfunc.C: update scrollbar after goto paragraph
10420
10421         * lyxtext.h: factor out page break drawing, and fix it so
10422           page break/added space paints as selected nicely
10423
10424 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * BufferView_pimpl.C: add FIXMEs, clean up a little
10427
10428 2002-07-09  André Pönitz <poenitz@gmx.net>
10429
10430         * lyxfont.[Ch]: support for wasy symbols
10431
10432 2002-07-08  André Pönitz <poenitz@gmx.net>
10433
10434         * BufferView_pimpl.C: apply John's patch for #93.
10435
10436 2002-07-05  Angus Leeming  <leeming@lyx.org>
10437
10438         * BufferView_pimpl.C (buffer): generate previews if desired.
10439
10440         * LColor.h: add "preview" to the color enum.
10441
10442         * LColor.C (LColor): add a corresponding entry to the items array.
10443
10444         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10445         with this buffer.
10446
10447 2002-07-05  Angus Leeming  <leeming@lyx.org>
10448
10449         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10450         The body of the code is now in the method that is passed an ostream &
10451         rather than a file name.
10452         Pass an additional only_preamble parameter, useful for the forthcoming
10453         preview stuff.
10454
10455 2002-07-03  André Pönitz <poenitz@gmx.net>
10456
10457         * lyxfunc.C: simplify getStatus() a bit for math stuff
10458
10459 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10462
10463 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10464
10465         * text.C (changeRegionCase): do not change case of all the
10466         document when region ends at paragraph end (bug #461)
10467
10468 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * paragraph.C (startTeXParParams):
10471         (endTeXParParams): add \protect when necessary
10472
10473 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10474
10475         * BufferView_pimpl.C (workAreaExpose): remove warning
10476
10477 2002-06-27  Angus Leeming  <leeming@lyx.org>
10478
10479         * Makefile.am: add lyxlayout_ptr_fwd.h.
10480
10481 2002-06-26  André Pönitz <poenitz@gmx.net>
10482
10483         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10484
10485 2002-06-25  Angus Leeming  <leeming@lyx.org>
10486
10487         * lyxfunc.C (dispatch): Comment out the call to
10488         grfx::GCache::changeDisplay. The method no longer exists now that the
10489         pixmap generation part of the graphics loader has been moved into
10490         InsetGraphics.
10491
10492 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10493
10494         * text2.C: layout as layout
10495
10496         * text.C: layout as layout
10497
10498         * tabular.C (OldFormatRead): layout as layout
10499
10500         * paragraph_pimpl.C (TeXDeeper): layout as layout
10501         (realizeFont): layout as layout
10502
10503         * paragraph.C (writeFile): layout as layout
10504         (validate): layout as layout
10505         (getFont): layout as layout
10506         (getLabelFont): layout as layout
10507         (getLayoutFont): layout as layout
10508         (breakParagraph): layout as layout
10509         (stripLeadingSpaces): layout as layout
10510         (getEndLabel): layout as layout
10511         (getMaxDepthAfter): layout as layout
10512         (applyLayout): layout as layout
10513         (TeXOnePar): layout as layout
10514         (simpleTeXOnePar): layout as layout
10515         (TeXEnvironment): layout as layout
10516         (layout): layout as layout
10517         (layout): layout as layout
10518
10519         * lyxtextclass.C (compare_name): new functor to work with
10520         shared_ptr, layout as layout
10521         (Read): layout as layout
10522         (hasLayout): layout as layout
10523         (operator): layout as layout
10524         (delete_layout): layout as layout
10525         (defaultLayout): layout as layout
10526
10527         * lyxlayout_ptr_fwd.h: new file
10528
10529         * lyxlayout.C (Read): layout as layout
10530
10531         * lyx_cb.C (MenuInsertLabel): layout as layout
10532
10533         * bufferlist.C (newFile): layout as layout
10534
10535         * buffer.C (readLyXformat2): layout as layout
10536         (parseSingleLyXformat2Token): layout as layout
10537         (insertStringAsLines): layout as layout
10538         (asciiParagraph): layout as layout
10539         (latexParagraphs): layout as layout
10540         (makeLinuxDocFile): layout as layout
10541         (simpleLinuxDocOnePar): layout as layout
10542         (makeDocBookFile): layout as layout
10543         (simpleDocBookOnePar): layout as layout
10544         (getLists): layout as layout
10545
10546         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10547
10548         * CutAndPaste.C (cutSelection): layout as layout
10549         (pasteSelection): layout as layout
10550         (SwitchLayoutsBetweenClasses): layout as layout
10551
10552         * BufferView_pimpl.C (Dispatch): layout as layout
10553         (smartQuote): layout as layout
10554
10555         * BufferView2.C (unlockInset): layout as layout
10556
10557 2002-06-24  André Pönitz <poenitz@gmx.net>
10558
10559         * lyxfunc.C: fix #487
10560
10561 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10562
10563         * lyxrc.h:
10564         * lyxrc.C:
10565         * lyxfunc.C: remove display_shortcuts, show_banner
10566
10567 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * Buffer_pimpl.C: oops, update on resize
10570
10571 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * buffer.C:
10574         * converter.C:
10575         * exporter.C:
10576         * lyxfunc.C:
10577         * BufferView.h:
10578         * BufferView.C: use repaint()
10579
10580         * BufferView_pimpl.h:
10581         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10582           as it's a clearer description. Remove superfluous
10583           redraws.
10584
10585 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * text.C: fix bug 488. Not ideal, but getting
10588           getWord() to work properly for the insets that
10589           matter is more difficult ...
10590
10591 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10592
10593         * BufferView_pimpl.C:
10594         * LyXAction.C:
10595         * commandtags.h:
10596         * lyxfunc.C: remove the six million index lyxfuncs to just
10597           one, and DTRT (bug 458)
10598
10599 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * BufferView.h:
10602         * BufferView.C:
10603         * BufferView_pimpl.h:
10604         * BufferView_pimpl.C: clean up resize() stuff,
10605           and unnecessary updateScreen()s
10606
10607 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * BufferView.h:
10610         * BufferView.C:
10611         * BufferView_pimpl.h:
10612         * BufferView_pimpl.C:
10613         * lyxfind.h:
10614         * lyxfind.C:
10615         * minibuffer.C: remove focus management of workarea,
10616           not needed. Use screen's greyOut()
10617
10618 2002-06-17  Herbert Voss  <voss@lyx.org>
10619
10620         * converter.C: (convert) do not post a message, when converting
10621         fails, let the calling function decide what to do in this case
10622
10623 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10624
10625         * lyxfunc.C: tidy up a little
10626
10627 2002-06-16    <alstrup@diku.dk>
10628
10629         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10630         Got rid of FORMS_H_LOCATION include. Now we are
10631         GUII.
10632
10633 2002-06-15  LyX Development team  <lyx@rilke>
10634
10635         * buffer.[Ch] (sgmlOpenTag):
10636         (sgmlCloseTag): Added support for avoiding pernicious mixed
10637         content. Return number of lines written.
10638
10639         (makeLinuxDocFile):
10640         (makeDocBookFile): Fixed calls to sgml*Tag.
10641         Simple white space clean.
10642
10643         (simpleDocBookOnePar): Simple white space clean.
10644
10645         * tabular.[Ch] (docBook): Renamed to docbook and got another
10646         argument to related with the pernicious mixed content.
10647
10648         (docbookRow): Fixed calls for docbook inset method.
10649
10650 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10651
10652         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10653         so it's X11 independent.
10654
10655         * kb*.[Ch]: ditto.
10656
10657         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10658
10659 2002-06-15  Lyx Development team  <lyx@electronia>
10660
10661         * intl.h: Renamed getTrans to getTransManager.
10662
10663 2002-06-14  Angus Leeming  <leeming@lyx.org>
10664
10665         * Makefile.am: nuke forgotten stl_string_fwd.h.
10666
10667 2002-06-12  Angus Leeming  <leeming@lyx.org>
10668
10669         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10670
10671 2002-06-13  Angus Leeming  <leeming@lyx.org>
10672
10673         * LaTeX.C:
10674         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10675
10676 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10677
10678         * kbmap.C (getiso): add support for cyrillic and greek
10679
10680 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10681
10682         * BufferView.h:
10683         * BufferView.C:
10684         * BufferView_pimpl.h:
10685         * BufferView_pimpl.C: move bogus scrolling logic
10686           to xforms
10687
10688 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * lyxfunc.C:
10691         * BufferView_pimpl.C: view->resize() change
10692
10693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * BufferView_pimpl.C: topCursorVisible
10696           prototype change
10697
10698 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * Makefile.am:
10701         * lyx_gui.h:
10702         * lyx_gui.C: move to frontends/
10703
10704         * main.C:
10705         * lyx_main.h:
10706         * lyx_main.C: changes from above
10707
10708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10709
10710         * intl.C:
10711         * intl.h:
10712         * kbmap.C:
10713         * kbsequence.C:
10714         * lyx_cb.C:
10715         * lyx_main.C: minor tidy
10716
10717 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * BufferView_pimpl.h:
10720         * BufferView_pimpl.C:
10721         * BufferView.h:
10722         * BufferView.C: make painter() const,
10723           remove dead code
10724
10725         * BufferView2.C: use screen() accessor
10726
10727         * lyx_main.h:
10728         * lyx_main.C: some minor cleanup
10729
10730 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10731
10732         * BufferView_pimpl.h:
10733         * BufferView_pimpl.C: remove enter/leaveView,
10734           use workHeight()
10735
10736 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * BufferView.h:
10739         * BufferView.C:
10740         * BufferView2.C:
10741         * BufferView_pimpl.h:
10742         * BufferView_pimpl.C: only construct screen once,
10743           rename
10744
10745         * lyxrc.C: remove pointless comment
10746
10747 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * BufferView.h:
10750         * BufferView.C: remove active() and belowMouse()
10751
10752         * BufferView_pimpl.h:
10753         * BufferView_pimpl.C: use workarea() not workarea_,
10754           and make it use a scoped_ptr instead
10755
10756 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * lyx_gui.C: add debug message on BadWindow
10759
10760 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10761
10762         * sp_spell.C: fdopen is not part of the C++ standard.
10763
10764         * paragraph.C (InsetIterator): use >= instead of ==
10765
10766 2002-06-07  Angus Leeming  <leeming@lyx.org>
10767
10768         Fixes needed to compile with Compaq cxx 6.5.
10769         * BufferView_pimpl.C:
10770         * DepTable.C:
10771         * buffer.C:
10772         * converter.C:
10773         * encoding.C:
10774         * lyx_gui.C:
10775         * lyx_main.C:
10776         * lyxtextclasslist.C:
10777         * minibuffer.C:
10778         * sp_spell.C:
10779         * tabular_funcs.C:
10780         * vc-backend.C:
10781         all c-library variables have been moved into namespace std. Wrap
10782         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10783
10784         * lyxlength.C:
10785         * tabular-old.C:
10786         * tabular.C:
10787         Add a using std::abs declaration.
10788
10789         * kbmap.h (modifier_pair):
10790         * paragraph.h (InsetTable, InsetList):
10791         * lyxfont.h (FontBits):
10792         type definition made public.
10793
10794         * bufferlist.C (emergencyWriteAll): the compiler complains that
10795         there is more than one possible lyx::class_fun template to choose from.
10796         I re-named the void specialisation as lyx::void_class_fun.
10797
10798         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10799
10800         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10801         the compiler is is unable to find tostr in write_attribute.
10802
10803 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10804
10805         * buffer.C (sgmlError): hide #warning
10806
10807 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10808
10809         * xtl/*: get rid of xtl, which is not in use anyway
10810
10811         * LyXAction.C (init):
10812         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10813         were unimplemented xtl experimentation
10814
10815 2002-06-04  André Pönitz <poenitz@gmx.net>
10816
10817         * lyxfunc.C: disable array operation on simple formulae
10818
10819 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10820
10821         * converter.C: constify a bit
10822
10823 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * lyx_gui.C: check xforms version correctly
10826
10827 2002-04-30  Herbert Voss  <voss@lyx.org>
10828
10829         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10830         "keep" option
10831
10832 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10833
10834         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10835           attempt to register it with a VCS)
10836
10837 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10838
10839         * lyx_main.C (init): honor variables LYX_DIR_13x and
10840         LYX_USERDIR_13x
10841
10842 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10843
10844         * buffer.h:
10845         * buffer.C:
10846         * lyx_main.C: fix a crash on bad command line,
10847           and give a useful exit status on error
10848
10849         * lyxfunc.C (doImport): allow -i lyx to work
10850
10851 2002-03-30  André Pönitz <poenitz@gmx.net>
10852
10853         * lyxfunc.C: mathed font changes
10854
10855 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10856
10857         * LaTeX.C:
10858         * importer.h:
10859         * importer.C:
10860         * lyx_sty.h:
10861         * lyx_sty.C:
10862         * lyxlex.C:
10863         * lyxrow.h:
10864         * lyxtext.h:
10865         * paragraph.h:
10866         * paragraph.C:
10867         * texrow.h:
10868         * texrow.C:
10869         * text.C:
10870         * trans_mgr.h: srcdocs, and some minor cleanups
10871
10872 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10875         call getFont all the time)
10876
10877 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10878
10879         * switch from SigC signals to boost::signals
10880
10881 2002-05-29  André Pönitz <poenitz@gmx.net>
10882
10883         * paragraph_pimpl.C (getChar): don't call size() too often...
10884
10885 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10886
10887         * paragraph_pimpl.C (insertChar): do not try to update tables when
10888         appending (pos == size())
10889
10890         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10891         in order to reduce drastically the number of comparisons needed to
10892         parse a large document
10893
10894 2002-05-29  André Pönitz <poenitz@gmx.net>
10895
10896         * text.C:
10897         * text2.C:
10898         * lyxtextclass.C:
10899         * sp_pspell.h:
10900         * textclasslist.[Ch]:
10901         * sp_ispell.h: whitespace change
10902
10903 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10904
10905         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10906         lyxaction directly now.
10907
10908 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * trans.C:
10911         * lyxfont.C:
10912         * lyxvc.C: remove unused headers
10913
10914 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10915
10916         * Makefile.am:
10917         * buffer.h:
10918         * undostack.h:
10919         * undostack.C:
10920         * undo_funcs.h:
10921         * undo_funcs.C: some cleanups. Use shared_ptr
10922           and a template for the undo stacks.
10923
10924 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * BufferView_pimpl.h:
10927         * BufferView_pimpl.C:
10928         * kbmap.h:
10929         * kbmap.C:
10930         * kbsequence.h:
10931         * kbsequence.C:
10932         * lyxfunc.h:
10933         * lyxfunc.C:
10934         * text2.C: use key_state/mouse_state
10935
10936 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10937
10938         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10939         and LSubstring
10940
10941         * chset.C: change include order
10942         (loadFile): use boost regex and get rid of LRegex and LSubstring
10943
10944         * Makefile.am (BOOST_LIBS): new variable
10945         (lyx_LDADD): use it
10946
10947         * LaTeX.C: change include order.
10948         (scanAuxFile): use boost regex and get rid of LRegex and
10949         LSubstring
10950         (deplog): ditto
10951
10952 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10953
10954         * ColorHandler.h:
10955         * ColorHandler.C:
10956         * FontInfo.h:
10957         * FontInfo.C: moved to frontends/xforms/
10958
10959         * FontLoader.h:
10960         * FontLoader.C: moved into frontends for GUIIzation
10961
10962         * Makefile.am:
10963         * lyx_gui.C:
10964         * lyxfont.C:
10965         * lyxfunc.C: changes from above
10966
10967 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10968
10969         * LColor.C: remove spurious X include
10970
10971         * BufferView_pimpl.C:
10972         * Makefile.am:
10973         * font.h:
10974         * font.C:
10975         * text.C:
10976         * text2.C: move font metrics to frontends/
10977
10978 2002-05-24  Juergen Vigna  <jug@sad.it>
10979
10980         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10981         setting the undo_cursor.
10982
10983         * ParagraphParameters.h: include local includes first.
10984
10985 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10986
10987         * BufferView_pimpl.C:
10988         * BufferView_pimpl.h:
10989         * Makefile.am:
10990         * WorkArea.h:
10991         * WorkArea.C:
10992         * screen.C: move WorkArea into frontends/
10993
10994         * lyxscreen.h:
10995         * screen.C:
10996         * text.C:
10997         * BufferView.C:
10998         * BufferView2.C: move LyXScreen into frontends/
10999
11000         * lyxlookup.h:
11001         * lyxlookup.C:
11002         * lyx_gui.C: move lyxlookup into frontends/xforms/
11003
11004 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * BufferView2.C:
11007         * BufferView_pimpl.C:
11008         * FontLoader.C:
11009         * LyXView.h:
11010         * LyXView.C:
11011         * Makefile.am:
11012         * WorkArea.C:
11013         * XFormsView.h:
11014         * XFormsView.C:
11015         * buffer.C:
11016         * bufferlist.C:
11017         * bufferview_funcs.C:
11018         * converter.C:
11019         * importer.C:
11020         * lyx_cb.C:
11021         * lyx_gui.C:
11022         * lyx_main.C:
11023         * lyx_find.C:
11024         * lyxfunc.C:
11025         * lyxvc.C:
11026         * minibuffer.C:
11027         * text.C:
11028         * text2.C:
11029         * trans.C:
11030         * vc-backend.C: move LyX/XFormsView into frontends/
11031
11032 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * Makefile.am:
11035         * PainterBase.C:
11036         * PainterBase.h:
11037         * Painter.C:
11038         * Painter.h:
11039         * WorkArea.C:
11040         * WorkArea.h:
11041         * screen.C:
11042         * tabular.C:
11043         * text.C:
11044         * text2.C: move Painter to frontends/
11045
11046 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11047
11048         * buffer.C: comment out some some code that depend upon lyx_format
11049         < 220
11050
11051         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11052         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11053
11054         * buffer.h (NO_COMPABILITY): turn off compability
11055
11056         * ColorHandler.C: include scoped_array.hpp
11057
11058         * font.C: Use more specific smart_ptr header.
11059         * Painter.C: ditto
11060         * gettext.C: ditto
11061         * ShareContainer.h: ditto
11062         * lyx_main.h: ditto
11063         * kbmap.h: ditto
11064         * FontInfo.h: ditto
11065         * BufferView_pimpl.h: ditto
11066         * ColorHandler.h: ditto
11067
11068         * kbmap.C (defkey): change call to shared_ptr::reset
11069
11070 2002-05-21  Juergen Vigna  <jug@sad.it>
11071
11072         * buffer.C (insertErtContents): fix to insert ert asis if it is
11073         non empty. Skip it completely if it contains only whitespaces.
11074
11075 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11076
11077         * BufferView_pimpl.C:
11078         * BufferView2.C: clear selection on paste (bug 393)
11079
11080 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11081
11082         * DepTable.C: include ctime
11083
11084 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11085
11086         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11087
11088 2002-05-14  Juergen Vigna  <jug@sad.it>
11089
11090         * text.C (breakParagraph): fixed function to honor the keepempty
11091         layout in the right maner and also to permit the right breaking
11092         algorithm on empty or non empyt keepempty paragraphs.
11093
11094         * paragraph.C (breakParagraph): we have to check also if the par
11095         is really empty (!size()) for isempty otherwise we do the wrong
11096         paragraph break.
11097
11098 2002-05-10  Juergen Vigna  <jug@sad.it>
11099
11100         * buffer.[Ch] : The following are only changes to the ert
11101         compatibility read reading old LaTeX layout and font stuff and
11102         convert it to ERTInsets.
11103
11104         * buffer.h: added isErtInset().
11105
11106         * buffer.C (struct ErtComp): add a fromlayout bool to check
11107         if we're inside a LaTeX layout.
11108         (isErtInset): new helper function.
11109         (insertErtContents): look for other ert insets before this one
11110         and insert the contents there, so that we don't have subsequent
11111         ERT insets with nothing between them. This way we create only one
11112         inset with multiple paragraphs. Also check if we don't insert only
11113         spaces ' ' as they are ignored anyway afterwards in the .tex file
11114         so if we have only spaces we will ignore this latex part in the
11115         new file.
11116         (parseSingleLyXformat2Token \\layout): better compatibility when
11117         reading layout-latex stuff.
11118         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11119         language tag.
11120         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11121         stuff after reading the inset only get the information back from
11122         the stack.
11123
11124 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11125
11126         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11127
11128         * LaTeXFeatures.C (getBabelOptions): New method.
11129
11130 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11131
11132         * BufferView_pimpl.C (Dispatch): work around missing argument for
11133         'layout'
11134
11135 2002-05-08  Juergen Vigna  <jug@sad.it>
11136
11137         * text.C (leftMargin): handle paragraph leftindent.
11138
11139         * paragraph.C (writeFile): write the new \\leftindent tag.
11140         (validate): handle leftindent code.
11141         (TeXEnvironment): handle paragraphleftindent code again.
11142
11143         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11144
11145         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11146         for paragrap_extra indent code and new token \\leftindent.
11147         (latexParagraphs): handle the leftindent as environment.
11148
11149         * ParameterStruct.h: added leftindent support.
11150
11151         * ParagraphParameters.C (leftIndent): added support functions for
11152         the paragraph left indent.
11153
11154         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11155         more appropriate.
11156
11157 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11158
11159         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11160         inside insetERT.
11161
11162         * text.C (computeBidiTables): No bidi in insetERT.
11163
11164         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11165         in RTL documents.
11166
11167 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11168
11169         * version.C.in: pre 5
11170
11171 2002-05-02  José Matos  <jamatos@fep.up.pt>
11172         * buffer.C (makeDocBookFile): white space changes, add newline to
11173         command styles.
11174         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11175
11176         * tabular.C (docBook): fix typo.
11177
11178 2002-05-03  Juergen Vigna  <jug@sad.it>
11179
11180         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11181         change in LyXText as we can not be sure it was not freed.
11182         (drawOneRow): remove unused code.
11183
11184         * text.C (drawInset): redo the calculation of the need_break_row as
11185         it could have a row which was already freed.
11186         (draw): look at the return value of drawInset and return false if
11187         it also returned false.
11188         (paintRowText): look at the return value of draw and return false if
11189         it also returned false.
11190
11191         * lyxtext.h: added bool return type to drawInset() and draw() so that
11192         if we have a change in the row so that the rowbreak has to be redone
11193         we abort drawing as it will be called again.
11194
11195 2002-05-02  Juergen Vigna  <jug@sad.it>
11196
11197         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11198         a change in the maintext also if we're inside an inset.
11199         (Dispatch): set the cursor again after a break line and after the
11200         screen has been updated as it could be we're in a different row.
11201
11202         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11203         to set the cursor behind the pargraph with > size().
11204         (setCursor): check also for the same paragraph when checking where
11205         to put the cursor if we have a NFR inset.
11206
11207         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11208         parts of layout read further up as it still was in the wrong
11209         position.
11210
11211 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * screen.C (drawFromTo): change sine fullRebreak always return
11214         true.
11215
11216         * buffer.C (parseSingleLyXformat2Token): reindent some
11217
11218         * BufferView_pimpl.C (update): change since fullRebreak always
11219         return true.
11220         (Dispatch): git rid of the last hardcoded "Standard"s.
11221
11222 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * text2.[Ch] (fullRebreak): make it return void now that we always
11225         returned true.
11226
11227 2002-04-30  Juergen Vigna  <jug@sad.it>
11228
11229         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11230         ert compatibility check for "latex" layout.
11231
11232 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11233
11234         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11235         minipages: use col% instead of p%, and also use the current font.
11236         (makeLaTeXFile): Fix use babel condition.
11237         (parseSingleLyXformat2Token): Correct font when reading old floats.
11238
11239 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11240
11241         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11242         inserting list of floats.
11243
11244 2002-04-25  Herbert Voss  <voss@lyx.org>
11245
11246         * MenuBackend.C (expand): don't add the graphics extensions to the
11247         export menu
11248
11249 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11252         non-existing layout, do not complain if it was the default layout
11253         of the original class (bug #342)
11254
11255 2002-04-24  Juergen Vigna  <jug@sad.it>
11256
11257         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11258         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11259
11260 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11261
11262         * buffer.C (getBibkeyList): If using \bibliography, return the
11263         option field with the reference itself. Enables us to provide natbib
11264         support when using \bibliography.
11265
11266 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11267
11268         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11269
11270         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11271         natbib is provided by the LaTeX class.
11272
11273 2002-04-23  Juergen Vigna  <jug@sad.it>
11274
11275         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11276         Wakeup functions.
11277
11278         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11279
11280 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11283
11284         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11285         ensuremath around textordmasculine, textordfeminine and
11286         textdegree.
11287
11288 2002-04-19  Juergen Vigna  <jug@sad.it>
11289
11290         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11291         reinitializing the buffer otherwise row-dimensions may be wrong.
11292         (update): reset also the selection cursors if they do exits otherwise
11293         their x/y positions may be wrong.
11294
11295         * text2.C (cursorDown): don't enter the inset if we came from a row
11296         above and are one row over the inset.
11297
11298         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11299         really leaving an inset.
11300
11301 2002-04-18  Juergen Vigna  <jug@sad.it>
11302
11303         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11304         of the selected paragraph does not have the selected layout also if
11305         the last one had!
11306
11307         * text2.C (setLayout): fixed bug which did not change last selected
11308         paragraph.
11309
11310         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11311         changed the read and substituted \\end_float with \\end_inset!
11312
11313         * BufferView_pimpl.C (cursorPrevious):
11314         (cursorNext): fixed to make it work with rows heigher than the work
11315         area without moving the cursor only the draw of the row.
11316         (workAreaMotionNotify): fix jumping over high rows.
11317
11318 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11319
11320         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11321         Ressler.
11322
11323 2002-04-16  Juergen Vigna  <jug@sad.it>
11324
11325         * text2.C (setCursor): set also the irow().
11326         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11327         (cursorUp):
11328         (cursorDown): support for locking an inset if the x_fix value goes
11329         inside it. That way I can transverse insets too with cursor up/down.
11330
11331         * lyxrow.h: added irow helper function same as other (i) functions.
11332
11333         * BufferView_pimpl.C (cursorPrevious):
11334         (cursorNext): fixed for insets!
11335
11336 2002-04-15  Juergen Vigna  <jug@sad.it>
11337
11338         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11339         position otherwise it is wrong in some cases.
11340
11341         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11342         inside the inset before the call.
11343
11344 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11345
11346         * buffer.[Ch] (getBibkeyList): make it const.
11347
11348 2002-04-12  Juergen Vigna  <jug@sad.it>
11349
11350         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11351
11352         * text2.C (getCursorX): new helper function
11353         (setCursor): compute also ix_
11354         (setCursorFromCoordinates): set also ix.
11355
11356         * lyxcursor.h: added ix_ and helper functions.
11357
11358         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11359
11360         * buffer.C (insertStringAsLines): dont break paragraph if the this
11361         paragraph is inside an inset which does not permit it!
11362
11363         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11364         also with no chars on this paragraph.
11365         (paintRowText): only paint stuff if it's inside the workarea!
11366
11367         * paragraph.C (breakParagraph): honor keepempty flag and break the
11368         paragraph always below not above.
11369
11370         * BufferView2.C (unlockInset): update the paragraph layout on inset
11371         unlock as we changed paragraph in such a case.
11372
11373         * lyxfind.C (LyXFind): clear the former selection if not found!
11374
11375         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11376         again called in insertChar().
11377
11378         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11379         an inset which uses the whole row!
11380         (rightMargin): ditto.
11381         (insertChar): force a rebreak if we inserted an inset!
11382
11383 2002-03-28  Herbert Voss  <voss@lyx.org>
11384
11385         * lyxlength.[Ch]: add inBP() to get the right PS-point
11386         units (BigPoint). With inPixels we have rounding errors
11387
11388 2002-04-11  Juergen Vigna  <jug@sad.it>
11389
11390         * text2.C (setCursorFromCoordinates): set iy to the right value.
11391         (setCursor): add check if row->previous exists!
11392
11393         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11394         an old float_type as this was the case in the old code!
11395
11396         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11397
11398         * BufferView2.C (showLockedInsetCursor): use iy
11399         (fitLockedInsetCursor): ditto
11400
11401         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11402         locked insets as there we have the right value now.
11403
11404         * lyxcursor.C: added iy_ variable and iy functions to set to the
11405         baseline of cursor-y of the locked inset.
11406
11407         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11408         (setCursor): fixed for insets which need a full row.
11409
11410         * text.C (rowLastPrintable): don't ignore the last space when before
11411         an inset which needs a full row.
11412         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11413         as last character of a row when before a inset which needs a full row.
11414
11415 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * version.C.in: update date
11418
11419         * text2.C (fullRebreak): try to always return true and see what
11420         happens...
11421
11422 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11423
11424         * MenuBackend.C (expand): use Floating::listName
11425
11426         * FloatList.C (FloatList): add listName argument to the built-in
11427         floats
11428
11429         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11430         text associated with the float.
11431
11432 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11433
11434         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11435
11436 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * ShareContainer.h: add a couple of missing typenames.
11439
11440 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11441
11442         * lyxrc.C (getDescription): use _() correctly rather than N_().
11443
11444 2002-03-28  Herbert Voss  <voss@lyx.org>
11445
11446         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11447         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11448
11449 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11450
11451         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11452         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11453
11454 2002-03-29  Juergen Vigna  <jug@sad.it>
11455
11456         * lyxfunc.C (dispatch): add a missing fitCursor call.
11457
11458         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11459         it was scrolled by a cursor move, so return the bool status.
11460
11461         * BufferView.C (fitCursor): return the bool flag also to the outside
11462         world as this is needed.
11463
11464         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11465
11466         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11467         call the edit() as it is not needed (and wrong) IMO.
11468         (workAreaButtonPress): set the screen_first variable before evt.
11469         unlock the inset as this may change screen_first and then we have
11470         a wrong y position for the click!
11471
11472 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11473
11474         * MenuBackend.C (expand): another translation that I missed
11475
11476 2002-03-28  Juergen Vigna  <jug@sad.it>
11477
11478         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11479
11480         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11481
11482 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11483
11484         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11485
11486         * MenuBackend.C (expand): fix export/view/update when there is no
11487         document open.
11488
11489 2002-03-27  Herbert Voss  <voss@lyx.org>
11490
11491         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11492         and text%
11493
11494 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * bufferview_funcs.C (currentState): only show paragraph number
11497         for is DEVEL_VERSION is set.
11498
11499         * lyxfunc.C (dispatch): put warning in INFO channel
11500
11501         * MenuBackend.C (expand): translate the name of floats
11502
11503         * FloatList.C (FloatList): mark the float names for translation
11504
11505         * converter.C (convert): use LibScriptSearch
11506
11507 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11508
11509         * MenuBackend.C (defaults): fix default menu (we might as well get
11510         rid of it...)
11511
11512 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11513
11514         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11515         directory.
11516
11517 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * lyxvc.C: reorder includes.
11520
11521 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11524           properly
11525
11526 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * CutAndPaste.C: change layouts earlier on paste
11529           to avoid crashing when calling getFont()
11530
11531 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11532
11533         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11534         irritating #error.
11535
11536 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * WorkArea.C: remove 'Pending' debug message.
11539
11540         * most files: ws cleanup
11541
11542         * buffer.[Ch]: ws changes
11543
11544         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11545
11546 2002-03-21  Juergen Vigna  <jug@sad.it>
11547
11548         * tabular.C (SetMultiColumn): collapse also the contents of the
11549         cells and set the last border right. Added a Buffer const * param.
11550
11551 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11552
11553         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11554         linking or not.
11555
11556 2002-03-19  Juergen Vigna  <jug@sad.it>
11557
11558         * text2.C (clearSelection): reset also xsel_cache.
11559
11560         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11561         where it needs to be called (John tells us to do so too :)
11562         (selectionLost): reset sel_cache.
11563
11564         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11565
11566 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * text2.C (setCursorIntern): put debuging code in INSETS channel
11569
11570 2002-03-19  André Pönitz <poenitz@gmx.net>
11571
11572         * lyxfunc.C: tiny whitespace change
11573
11574 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11575
11576         * ToolbarDefaults.C (init):
11577         * LyXAction.C (init):
11578         * commandtags.h:
11579         * BufferView_pimpl.C (Dispatch):
11580         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11581
11582 2002-03-19  Allan Rae  <rae@lyx.org>
11583
11584         * exporter.C (Export): removeAutoInsets before doing anything else.
11585         While I've just introduced a dependency on BufferView this really is
11586         the best place to clean the buffer otherwise you need to cleanup in
11587         a dozen places before calling export or cleanup in a dozen functions
11588         that export calls.
11589
11590         * converter.C (runLaTeX):
11591         (scanLog): Better handling of removeAutoInsets and screen updates.
11592
11593         * lyxfunc.C (dispatch): small whitespace changes
11594
11595 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * WorkArea.C (C_WorkAreaEvent): return a value.
11598         (event_cb): return 1 if we handled the event, 0 otherwise.
11599
11600         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11601
11602 2002-03-18  Juergen Vigna  <jug@sad.it>
11603
11604         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11605         (GetAdditionalWidth): ditto.
11606         (RightLine): ditto.
11607         (LeftLine): ditto.
11608
11609         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11610         inset if we're there actually (probably not used right now but this
11611         is the direction to go for unifying code).
11612         (paste): disable code to clear the selection.
11613
11614         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11615         inside an InsetText and move the check further up as it is in the
11616         wrong place.
11617
11618         * text2.C (pasteSelection): set a selection over the pasted text.
11619
11620 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11621
11622         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11623         and libgraphics to build on Cygwin.
11624
11625 2002-03-15  Juergen Vigna  <jug@sad.it>
11626
11627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11628         inserting an Inset into the paragraph. I know this is not the best
11629         fix but we already use current_view in CutAndPaste so we will remove
11630         all of it's using at the same time.
11631
11632         * buffer.C (sgmlError): deactivated function till it is rewritten in
11633         the right mode, now it can create problems.
11634
11635         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11636         before accessing it.
11637
11638 2002-03-14  Juergen Vigna  <jug@sad.it>
11639
11640         * undo_funcs.C (textHandleUndo): do the right thing when updating
11641         the inset after the undo/redo.
11642
11643         * text2.C (setCursor): just some testcode for #44 not ready yet.
11644
11645         * undo_funcs.C (textHandleUndo): set the next() and previous()
11646         pointers of the paragraph to 0 before deleting otherwise we have
11647         problems with the Paragraph::[destructor].
11648
11649         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11650         on a paragraph insertion.
11651
11652 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11653
11654         * buffer.C (asciiParagraph): use += operator for char append to
11655         string.
11656
11657         * paragraph.C (getFontSettings): compare >= not just >
11658         (highestFontInRange): ditto
11659         (setFont): ditto
11660
11661 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11662
11663         * paragraph.C: change several algorithm to be more appripriate for
11664         the problem domain. This is lookip in FontList and in the InsetList.
11665
11666 2002-03-13  André Pönitz <poenitz@gmx.net>
11667
11668         * commandtags.h:
11669         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11670
11671 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * commandtags.h:
11674         * LyXAction.C:
11675         * lyxfunc.C:
11676         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11677
11678 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11679
11680         * Painter.C (display): anon helper function, adjust code for this
11681         change.
11682         (pixmap): remove function.
11683
11684         * Painter.h: remove private display variable.
11685
11686         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11687
11688 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11689
11690         * WorkArea.[Ch]: remove figinset_canvas cruft.
11691
11692 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11693
11694         * lyxtextclass.C (operator): add one item cache optimization.
11695
11696         * bufferlist.h: doxy changes
11697
11698         * bufferlist.C: ws changes
11699
11700         * DepTable.[Ch] (ext_exist): place const in the right spot.
11701
11702         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11703         call resizeInsets.
11704         (workAreaExpose): call resizeInsets when the with BufferView changes.
11705         (Dispatch): adjust for protectedBlank removal
11706         (specialChar): call updateInset if the insert went ok.
11707
11708         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11709         specialChar instead.
11710
11711         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11712
11713         * BufferView.h: doxy change
11714
11715         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11716
11717         * lyxtextclass.C (operator[]): remove non-const version
11718         (defaultLayout): remove non-const version
11719
11720 2002-03-12  Juergen Vigna  <jug@sad.it>
11721
11722         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11723         did resize the LyXText too.
11724
11725         * buffer.C (readLyXformat2): set layout information on newly allocated
11726         paragraphs.
11727
11728         * tabular.C (OldFormatRead): set layout information on the paragraph.
11729
11730 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11731
11732         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11733
11734 2002-03-11  Juergen Vigna  <jug@sad.it>
11735
11736         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11737         plainly wrong.
11738         (resizeCurrentBuffer): force also the insets to resize themselfes.
11739         (moveCursorUpdate): fixed up for InsetText.
11740
11741 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11742
11743         * commandtags.h:
11744         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11745         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11746         value of Dialogs::tooltipsEnabled().
11747         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11748
11749 2002-03-08  Juergen Vigna  <jug@sad.it>
11750
11751         * BufferView_pimpl.C (updateInset): update inset inside inset also
11752         if it isn't inside theLockingInset().
11753
11754 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11755
11756         * buffer.C (asciiParagraph): redo some of the word and line length
11757         handling.
11758         (getLists): look for Caption instead of caption.
11759
11760 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * buffer.C (Buffer): initialize niceFile to true
11763         (makeLaTeXFile):
11764         (makeLinuxDocFile):
11765         (makeDocBookFile): make sure niceFile is true on exit
11766
11767 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11768
11769         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11770
11771 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11772
11773         * LyXSendto.C: remove.
11774         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11775         * lyx_gui.C: remove now-redundant comment.
11776         * ColorHandler.h: remove forward declaration of class WorkArea.
11777         * lyxfunc.C: remove #include "WorkArea.h".
11778
11779 2002-03-07  Juergen Vigna  <jug@sad.it>
11780
11781         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11782         got moved away with the DEPM and also set the inset_owner always
11783         right which before could have been omitted.
11784
11785 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11788         wanted layout is not found.
11789
11790 2002-03-07  Juergen Vigna  <jug@sad.it>
11791
11792         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11793
11794 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * paragraph.C (breakParagraph): use default layout not layout of
11797         prev paragraph.
11798         (Paragraph): clear ParagraphParameters.
11799
11800 2002-03-06  Juergen Vigna  <jug@sad.it>
11801
11802         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11803         otherwise it would not be a valid lenght. Fixed a special case in
11804         the minipage compatibility read where we end the document with a
11805         minipage.
11806
11807         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11808         was set as it could be 0 for InsetTexts first entry.
11809
11810 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * paragraph.C (writeFile): if layout is empty write out
11813         defaultLayoutName().
11814
11815         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11816         file without named layout we set layout to defaultLayoutName().
11817
11818 2002-03-06  Juergen Vigna  <jug@sad.it>
11819
11820         * CutAndPaste.C (copySelection): set layout for new paragraph.
11821
11822         * text.C (prepareToPrint): leave ERT inset left aligned
11823         (leftMargin): don't indent paragraphs inside ERT insets
11824
11825 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * paragraph.C (breakParagraph): dont call clear do the work manually
11828
11829         * paragraph.[Ch] (clear): remove function
11830
11831 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11832
11833         * paragraph.C (Paragraph): dont call clear, the work has already
11834         been done.
11835
11836         * lyxtextclass.C (operator): assert if n is empty
11837
11838         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11839         work manually instead.
11840
11841 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * BufferView_pimpl.C: protect selectionLost against text == 0
11844
11845 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * text.C (breakParagraph): fix a setting layout to '0' problem.
11848
11849 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11850
11851         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11852         final location of file, for the included files, and graphics.
11853
11854 2002-03-05  Juergen Vigna  <jug@sad.it>
11855
11856         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11857
11858 2002-03-04  Juergen Vigna  <jug@sad.it>
11859
11860         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11861
11862         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11863         last column of multicolumn cells.
11864         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11865
11866 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11867
11868         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11869         file if it doesn't go to a temporary file.
11870
11871         * buffer.C (sgmlOpenTag):
11872         (sgmlCloseTag):  remove extra newline insertion.
11873
11874 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11875
11876         * text.C (getRowNearY): comment out debug msg
11877
11878 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * text2.C: first -> first_y
11881
11882         * text.C (getRowNearY): add some attemts at a possible
11883         optimization, not working.
11884
11885         * tabular.[Ch]: add BufferParams to several function so that newly
11886         created paragraph can be initialized to he default layotu for the
11887         buffers textclass.
11888
11889         * tabular-old.C (ReadOld): add buf->params to call of Init
11890
11891         * screen.C: rename text->first to text->first_y
11892
11893         * paragraph.C (breakParagraph): always set layout in the broken
11894         paragraph
11895
11896         * lyxtextclass.C (Read): remove lowercase
11897         (hasLayout): ditto
11898         (operator): ditto
11899         (delete_layout): ditto
11900
11901         * lyxtext.h: rename first -> first_y
11902
11903         * lyxlayout.C (Read): remove lowercase
11904         (name): ditto
11905         (setName): ditto
11906         (obsoleted_by): ditto
11907
11908         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11909
11910         * buffer.C (insertErtContents): add params are to InsetERT
11911         (parseSingleLyXformat2Token): add code to check if a paragraphs
11912         layout really exist.
11913         (parseSingleLyXformat2Token): add params to several inset
11914         constructors
11915         (asciiParagraph): remove lowercase, do the layout comparisons with
11916         no_case
11917
11918         * BufferView_pimpl.C (cursorNext): first -> first_y
11919         (resizeCurrentBuffer): first -> first_y
11920         (updateScrollbar): first -> first_y
11921         (scrollCB): first -> first_y
11922         (workAreaMotionNotify): first -> first_y
11923         (workAreaButtonPress): first -> first_y
11924         (checkInsetHit): first -> first_y
11925         (cursorPrevious): first -> first_y
11926         (cursorNext): first -> first_y
11927         (Dispatch): add buffer_->params to severl inset contructors
11928
11929 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11930
11931         * lyxlayout.C (Read): remove some debug info that I forgot.
11932
11933         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11934         clean up the code slightly.
11935         (makeLinuxDocFile): ditto
11936         (makeDocBookFile): ditto
11937
11938         * text2.C: layout as string
11939
11940         * text.C: layout as string
11941
11942         * paragraph_pimpl.C: layout as string
11943
11944         * paragraph.[Ch]: layout as string
11945
11946         * lyxtextclasslist.[Ch]: layout as string
11947
11948         * lyxtextclass.[Ch]: layout as string
11949
11950         * lyxtext.h: layout as string
11951
11952         * lyxlayout.[Ch]: layout as string
11953
11954         * lyx_cb.C: layout as string
11955
11956         * bufferview_funcs.C: layout as string
11957
11958         * bufferparams.C: layout as string
11959
11960         * buffer.C: layout as string
11961
11962         * LyXView.[Ch]: layout as string
11963
11964         * LaTeXFeatures.[Ch]: layout as string
11965
11966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11967
11968         * BufferView_pimpl.C: change current_layout to string, remove
11969         lyx::layout_type.
11970         (Dispatch):
11971         (smartQuote):
11972         (insertInset):
11973         (workAreaButtonRelease): layout as string
11974
11975         * BufferView2.C (unlockInset): adjust
11976
11977         * vspace.C (asLatexCommand): use an explict temp variable.
11978
11979 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * Makefile.am: use FRONTEND_*
11982
11983 2002-03-01  Juergen Vigna  <jug@sad.it>
11984
11985         * tabular.C (SetWidthOfMulticolCell): changed to something better
11986         I hope but still work in progress.
11987         (recalculateMulticolumnsOfColumn): renamed function from
11988         recalculateMulticolCells as it is more appropriate now.
11989         (SetWidthOfCell): calculate multicols better.
11990
11991 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11994
11995         * lyxfunc.C (processKeySym): print sequence also if it is
11996         `deleted' (complete)
11997
11998         * kbsequence.C (print): print sequence even if it is deleted
11999         (complete would be a better word, actually).
12000
12001         * lyxfunc.C (dispatch): print complete options after a prefix key
12002
12003         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12004
12005 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12006
12007         * text2.C (setCharFont): eliminate setCharFont code duplication.
12008
12009 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12010
12011         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12012         LFUN_TABULAR_FEATURE (bug #177)
12013
12014 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12015
12016         * Makefile.am: remove figure.h
12017
12018 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12019
12020         * Bufferview_pimpl.C:
12021         * CutAndPasteC:
12022         * LaTeX.C:
12023         * LyXSendto.C:
12024         * buffer.C:
12025         * bufferlist.C:
12026         * converter.C:
12027         * language.C:
12028         * lyxfunc.C:
12029         * lyxvc.C:
12030         * paragraph.C:
12031         * text.C:
12032         * text2.C: remove #include "lyx_gui_misc.h".
12033
12034         * LaTeX.C: added #include <cstdio>
12035
12036 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12039         that the paragraph following this one can have.
12040
12041         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12042
12043         * vspace.C (asLatexCommand): fix bogus gcc warning
12044
12045         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12046
12047 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12048
12049         * text2.C (setLayout): get rid of redundant code
12050
12051 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12052
12053         * text2.C (incDepth): make sure depth cannot be increased beyond
12054         reasonable values.
12055
12056 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12059         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12060
12061         * PainterBase.h (image):
12062         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12063         a LyXImage const *.
12064
12065 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * BufferView.C:
12068         * BufferView.h:
12069         * BufferView_pimpl.C:
12070         * BufferView_pimpl.h:
12071         * LaTeXFeatures.C:
12072         * LyXAction.C:
12073         * LyXView.C:
12074         * Makefile.am:
12075         * UpdateList.h:
12076         * UpdateList.C:
12077         * buffer.C:
12078         * figure.h:
12079         * figureForm.C:
12080         * figureForm.h:
12081         * figure_form.C:
12082         * figure_form.h:
12083         * lyx_cb.C:
12084         * lyx_gui.C:
12085         * lyx_gui_misc.C:
12086         * lyxfunc.C:
12087         * sp_base.h:
12088         * sp_ispell.h:
12089         * sp_pspell.h:
12090         * sp_spell.C: remove fig inset, and the crap house of
12091           cards that follows it
12092
12093 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * Makefile.am:
12096         * lyxserver.C:
12097         * os2_defines.h:
12098         * os2_errortable.h:
12099         * nt_defines.h: move .h into support/
12100
12101         * vms_defines.h: remove
12102
12103         * WorkArea.C: add space in debug output
12104
12105         * text2.C:
12106         * paragraph.C:
12107         * buffer.C: add WITH_WARNINGS
12108
12109         * vc-backend.h:
12110         * vc-backend.C:
12111         * bufferlist.C: s/retrive/retrieve/, add docs
12112
12113         * vspace.h:
12114         * vspace.C:
12115         * kbmap.h:
12116         * lyxlength.h:
12117         * lyxgluelength.h:
12118         * length_common.h:
12119         * chset.h:
12120         * chset.C: add docs
12121
12122         * lyxgui.C: add ID to X error handler
12123
12124         * lyxtestclass.c: fix typo
12125
12126 2002-02-26  Juergen Vigna  <jug@sad.it>
12127
12128         * tabular_funcs.C (write_attribute): changed so that some default
12129         attributes are not written at all.
12130         (getTokenValue): set default values before trying to read the
12131         value so we have the return value always set as default if we don't
12132         find the token we search for.
12133
12134         * tabular.C (Write): write bools as bools not as strings!
12135
12136 2002-02-22  Juergen Vigna  <jug@sad.it>
12137
12138         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12139         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12140
12141         * text.C (leftMargin): don't add an indent for paragraphs inside
12142         tabular cells (fix #208).
12143
12144 2002-02-21  José Matos  <jamatos@fep.up.pt>
12145
12146         * tabular.C (docBook): fixed support for long tables.
12147
12148 2002-02-20  Juergen Vigna  <jug@sad.it>
12149
12150         * text2.C (getFont): get the drawing font of the Inset if this
12151         paragraph is inside an inset (only important for InsetERT for now).
12152
12153         * buffer.C (insertErtContents): use new lanugage params in ERT
12154         constructor.
12155
12156         * CutAndPaste.C: commenting out seemingly uneeded code.
12157
12158 2002-02-19  Allan Rae  <rae@lyx.org>
12159
12160         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12161         Iterators might be simple to use but they also get invalidated.
12162         (removeAutoInsets): renamed saved cursor tracking variables and added
12163         some comments to clarify what everything does.
12164
12165 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12166
12167         * Chktex.C:
12168         * LaTeX.C:
12169         * LyXSendto.C:
12170         * converter.C:
12171         * lyx_cb.C:
12172         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12173         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12174
12175         * lyxfunc.C:
12176         * vc-backend.h: remove #include "support/syscall.h"
12177
12178         * LaTeX.C:
12179         * LyXSendto.C:
12180         * converter.C: rearrange #includes in Lars' approved fashion.
12181
12182         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12183         forward declare class Timeout in the header file.
12184
12185         * XFormsView.C: changes due to the above.
12186
12187         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12188         similar to LyXView.
12189
12190         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12191         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12192
12193 2002-02-18  José Matos  <jamatos@fep.up.pt>
12194
12195         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12196         insets contents.
12197
12198 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12199
12200         * a lot of small ws changes
12201         * add a lot of using std::XXX
12202         * use std construcs some places where approp.
12203         * use some exisint stuff from lyxfunctional where approp.
12204         * Make file changes to use partial linking (lets test this now...)
12205
12206 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12207
12208         * Chktex.C:
12209         * buffer.C:
12210         remove #include "support/syscontr.h" as it's redundant. Always has been.
12211
12212         * Chktex.C:
12213         * LaTeX.C:
12214         * LyXSendto.C:
12215         * converter.C:
12216         * lyx_cb.C:
12217         * vc-backend.C:
12218         change Systemcalls::System to Systemcalls::Wait and
12219         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12220         No change of functionality, just reflects the stripped down Systemcalls
12221         class.
12222
12223 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12224
12225         * debug.[Ch]: add a GRAPHICS type to the enum.
12226
12227 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12228
12229         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12230
12231         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12232         there is an inset.
12233
12234 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12237         match the changes below.
12238
12239         * text2.C (toggleInset): if there is not editable inset at cursor
12240         position, try to see if cursor is _inside_ a collapsable inset
12241         and close it.
12242
12243 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12244
12245         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12246         document menu has a nice checkbox
12247
12248 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * lyxlength.C (asLatexString): change PW to output as percent of
12251         \textwidth.
12252
12253         * lengthcommon.C: change '%' to 't%'
12254
12255         * lyxfunc.C (dispatch): a few comments from Martin
12256
12257 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * WorkArea.h:
12260         * WorkArea.C:
12261         * BufferView_pimpl.h:
12262         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12263           the X selection.
12264
12265 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12266
12267         * vspace.C (inPixels): fix compiler warning
12268
12269 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12270
12271         * lyxfunc.C (getStatus): fix status message for disabled commands.
12272
12273 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12274
12275         * BufferView_pimpl.C: fix crash on close buffer
12276         during selection (#227)
12277
12278 2002-01-27  Herbert Voss  <voss@lyx.org>
12279
12280         * buffer.C: link old Figure to new graphic inset
12281
12282 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12283
12284         * FontLoader.C (getFontinfo): Change the latex font names in order
12285         to match the names of type1inst.
12286
12287 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12288
12289         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12290
12291         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12292         (extchanged): ditto
12293         (ext_exist): ditto
12294         (remove_files_with_extension): ditto
12295         (remove_file): ditto
12296         (write): ditto
12297
12298         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12299         document is smaller than the work area height. Do not initialize
12300         static variables to 0.
12301
12302 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12303
12304         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12305
12306         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12307         LFUN_LAYOUT_PARAGRAPHS.
12308
12309         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12310         tabular. It is possible to provide a possible cell, which will
12311         typically be the actcell from the corresponding insettabular
12312
12313         * lyxfunc.C (getStatus): small cleanup; disable
12314         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12315         true
12316
12317 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12320
12321         * paragraph.C (startTeXParParams):
12322         (endTeXParParams): new methods. The LaTeX code to
12323         start/end paragraph formatting
12324         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12325         empty (fixes bug #200)
12326
12327         * vspace.C (inPixels): adapt to the change below
12328         (inPixels): [later] more cleanups (remove unused variables)
12329
12330         * lyxlength.C (inPixels): change to use a width and a height as
12331         parameter.
12332
12333 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12334
12335         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12336         Replaced with \paperwidth
12337
12338         * DepTable.C (insert): add std:: qualifier
12339
12340 2002-01-18  Allan Rae  <rae@lyx.org>
12341
12342         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12343         updated also?
12344
12345         * text.C (drawInset): Turned out I didn't know enough about how
12346         rebreaking worked.  This fixes most of the redraw problems.  I see
12347         an occasional cursor trail when a line is broken now and the cursor
12348         placement can seem out by a few pixels also after a rebreak.
12349
12350 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12351
12352         * buffer.C (parseSingleLyXformat2Token): update because minipage
12353         width is now a LyXLength
12354
12355         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12356
12357         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12358         math insets
12359
12360 2002-01-17  Juergen Vigna  <jug@sad.it>
12361
12362         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12363
12364         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12365         is set correctly and the inset is updated correctly.
12366
12367 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12368
12369         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12370         the beginning of the loop.
12371
12372 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12373
12374         * lyxrc.C: improve help for use_scalable_fonts
12375
12376 2002-01-17  Allan Rae  <rae@lyx.org>
12377
12378         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12379
12380 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12381
12382         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12383         make sure to set their inset_owner to the right value (bug #171)
12384
12385 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12386
12387         * DepTable.h
12388         * DepTable.C: Implement mtime checking to reduce time spent doing
12389         CRCs.
12390
12391 2002-01-16  Juergen Vigna  <jug@sad.it>
12392
12393         * tabular.C (GetAdditionalHeight): one of error fixed.
12394
12395         * lyxrc.C (output): small fix in writing use_pspell.
12396
12397 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12398
12399         * sp_base.h: #include LString.h
12400
12401 2002-01-16  Allan Rae  <rae@lyx.org>
12402
12403         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12404         Can someone check this please?
12405
12406         * text.C (drawInset): It was possible that p.row would be removed by
12407         breakAgainOneRow upsetting a few other settings.  There may be another
12408         small tweak possible by setting need_break_row = 0 when p.row has been
12409         removed but I don't know enough about the logic here.
12410
12411 2002-01-15  Allan Rae  <rae@lyx.org>
12412
12413         * text.C (insertChar): removed conditional truism.
12414
12415         * BufferView2.C (removeAutoInsets): More tweaks.
12416         cur_par_prev could be a stray pointer.  Check for trailing empty line
12417         in case last line was cur_par and only had an error inset on it.
12418
12419 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12420
12421         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12422         absolute
12423
12424         * vc-backend.C (most methods):
12425         * exporter.C (Export):
12426         * converter.C (convert):
12427         (runLaTeX):
12428         * LyXSendto.C (SendtoApplyCB):
12429         * lyxfunc.C (dispatch):
12430         (menuNew):
12431         (open):
12432         (doImport):
12433         * lyx_cb.C (AutoSave):
12434         (InsertAsciiFile):
12435         * BufferView_pimpl.C (MenuInsertLyXFile):
12436         * buffer.C (runChktex): use Buffer::filePath().
12437
12438         * buffer.h: rename filename to filename_; rename filepath to
12439         filepath_ and make it private
12440         (filePath): new method
12441
12442         * buffer.C (writeFile): use fileName()
12443         (getLatexName):
12444
12445         * lyx_main.C (init): fix starting  of LyX when the binary is a
12446         link from so,ewhere else.
12447
12448         * minibuffer.C: include <cctype> for isprint
12449
12450 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12451
12452         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12453         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12454         name clash with InsetCollapsable's width function.
12455
12456 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * lastfiles.C: include <iterator>
12459
12460 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12461
12462         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12463         std::count.
12464
12465         * buffer.C (makeLaTeXFile): ditto.
12466         Also make loop operation more transparent.
12467
12468 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12469
12470         * ToolbarDefaults.C: remove trailing comma closing namespace.
12471
12472         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12473
12474         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12475         as in WorkArea.
12476
12477         * trans.C (Load): comment out unused variable, allowed.
12478
12479 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12480
12481         * minibuffer.[Ch] (append_char): new method to recieve input from the
12482         drop-down completion browser. If a key was pressed, then recieve this
12483         char and append it to the existing string.
12484         (peek_event): modify the positioning data passed to the completion
12485         browser so that it can be placed above the minibuffer rather than below.
12486 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * LyXAction.C (init): alloe error-next for readonly documents.
12489
12490         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12491         count.
12492
12493 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12494
12495         * bufferlist.C (readFile): create the buffer _after_ checking that
12496         the file exists.
12497
12498         * lyxfunc.C (verboseDispatch): fix handling of arguments
12499
12500         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12501
12502         * lyxrc.C: use string::erase() instead of initializing to "".
12503
12504
12505 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * BufferView_pimpl.h:
12508         * BufferView_pimpl.C:
12509         * WorkArea.h:
12510         * WorkArea.C:
12511         * text2.C: tell X when we have made a selection for copying
12512
12513 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * BufferView_pimpl.C (MenuInsertLyXFile):
12516         * lyxfunc.C (menuNew):
12517         (open):
12518         (doImport): add shortcuts to directory buttons
12519
12520         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12521         open a float)
12522
12523         * lyxfunc.C (setStatusMessage):
12524         (getStatusMessage): new methods
12525         (getStatus):use setStatusMessage instead of setErrorMessage
12526         (dispatch): when function is disabled, set error message here
12527         [instead of in getStatus previously]
12528
12529         * BufferView_pimpl.C (workAreaButtonRelease): update
12530         toolbar/menubar here too.
12531
12532 2002-01-13  Allan Rae  <rae@lyx.org>
12533
12534         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12535         Now seems indestructible.  Remaining task is to audit all other
12536         code affected by deleteEmptyParagraphMechanism.  One small quirk
12537         left is that an empty document with an error in the preamble can
12538         be made to report an error but no error box appears.  I don't know
12539         where it goes.
12540         (removeAutoInsets): Improved comments.
12541
12542 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12543
12544         * Thesaurus.h:
12545         * Thesaurus.C: update for Aiksaurus 0.14
12546
12547 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * text2.C (firstParagraph): removed member function, all uses
12550         replaces with ownerParagraph
12551         (redoParagraphs): here
12552         (updateInset): here
12553         (toggleAppendix): here
12554         * BufferView2.C (insertErrors): here
12555         (setCursorFromRow): here
12556
12557 2002-01-13  Allan Rae  <rae@lyx.org>
12558
12559         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12560         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12561         There is still a way to segfault this although you may have to do this
12562         multiple times: Have an InsetERT with an unknown command in it.
12563         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12564         <down-arrow>, <Enter> again, View->DVI, BANG!
12565
12566         * text2.C (setCursor):
12567         (deleteEmptyParagraphMechanism):
12568         * lyxtext.h (setCursor):
12569         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12570         Making use of the return value may help fix other bugs.
12571
12572 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12573
12574         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12575
12576         * LyXView.C (updateMenubar): call MenuBar::update here
12577         (updateToolbar): but not here
12578         (showState): do not update toolbar/menubar
12579
12580         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12581         should need to care about that.
12582
12583         * lyxfunc.C (verboseDispatch): simplify a bit
12584         (getStatus): have a version which takes a pseudoaction, and
12585         another which requires a (kb_action,string).
12586
12587         * LyXAction.C (retrieveActionArg): make it work also when action
12588         is not a pseudo-action.
12589         (getActionName): simplify a bit
12590         (helpText):
12591
12592 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12593
12594         * lyxfunc.C (verboseDispatch): new families of methods with
12595         several ways to specify a command and a bool to indicate whether
12596         the command name and shortcut should be displayed in minibuffer
12597         (eventually, we could extend that to a finer bitmask like
12598         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12599         (dispatch): the pristine dispatch command which just, well,
12600         dispatchs! Note it still sets its result to minibuffer; I'm not
12601         sure we want that.
12602
12603         * lyxfunc.h: remove setHintMessage
12604
12605         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12606
12607 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12608
12609         * BufferView_pimpl.C (specialChar): delete new inset if we have
12610         not been able to insert it.
12611
12612         * kbmap.C: revert to using int instead of kb_action, since all we
12613         are dealing with is pseudo-actions.
12614
12615         * LyXAction.C (searchActionArg): change to return int instead of
12616         kb_action, since the result is a pseudoaction.
12617
12618 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12619
12620         * buffer.C (insertErtContents): Fix (partially) the font bug.
12621
12622 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12623
12624         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12625         as the other one is broken on my machine!
12626
12627 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12628
12629         * commandtags.h:
12630         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12631
12632 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12633
12634         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12635         reflect their actual use. Provide compatibility code for older lyxrc
12636         files.
12637
12638         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12639         FL_NORMAL_STYLE.
12640         change names of popup font variables in line with the changes to lyxrc.C
12641
12642 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12643
12644         * buffer.C (asciiParagraph): avoid outputing a word twice after
12645         an inset.
12646
12647         * lyxrc.C (getDescription): document that document_path and
12648         template_path can be empty.
12649
12650 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12651
12652         * LaTeXFeatures.C (getMacros):
12653         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12654
12655         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12656
12657         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12658         getPackages.
12659         (getPackages): rename feature "floats" to "float". Use an array to
12660         iterate over 'simple' features (i.e. just a \usepackage). Add
12661         handling of "amsmath" (renamed from "amsstyle").
12662
12663 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12664
12665         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12666         features list.
12667
12668 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12669
12670         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12671         FuncStaus::FuncStatus & FuncStaus::some_method().
12672
12673 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12674
12675         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12676         of the func_satus stuff. Edited and massaged in various ways by
12677         JMarc.
12678
12679         * lyxfunc.C (getStatus): use FuncStatus
12680
12681 2002-01-08  Juergen Vigna  <jug@sad.it>
12682
12683         * text.C (nextBreakPoint): use function Inset::isChar().
12684
12685         * paragraph.C (TeXOnePar): use function
12686         Inset::forceDefaultParagraphs.
12687
12688         * buffer.C (latexParagraphs): use function
12689         Inset::forceDefaultParagraphs.
12690
12691 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * lyx_gui.C (init): set the style of the menu popups to
12694         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12695
12696 2002-01-07  Juergen Vigna  <jug@sad.it>
12697
12698         * text.C (setHeightOfRow): small fix
12699         (prepareToPrint): don't look at alignment if we don't have the place
12700         for doing it.
12701
12702 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * box.C: New file. Move the Box methods and functions out of box.h,
12705         following Lars' suggestion.
12706
12707 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * box.h: #include "support/LOstream.h", needed for inlined function.
12710
12711         * lyxtextclass.C:
12712         * lyxtextclasslist.C: added some using std declarations.
12713
12714 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12715
12716         * box.h: make signed dimensions to allow insets wider than
12717           the screen (bug #162)
12718
12719         * BufferView_pimpl.C: add some insetHit debug
12720
12721 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * vc-backend.C: add FIXME
12724
12725 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12726
12727         * lyxfunc.C (getStatus): enable code for showing math font status
12728         in toolbar/menu.
12729
12730 2002-01-07  Juergen Vigna  <jug@sad.it>
12731
12732         * text.C (nextBreakPoint): removed debug output not needed anymore.
12733
12734 2002-01-06  Juergen Vigna  <jug@sad.it>
12735
12736         * text.C (nextBreakPoint): fixed up this function we had this bug
12737         since ever but now hopefully we break row better.
12738         (insertChar): we have to check if an inset is the next char as it
12739         could now happen that a large inset is causing a break.
12740
12741 2002-01-05  Juergen Vigna  <jug@sad.it>
12742
12743         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12744         if it doesn't like to be drawed.
12745
12746 2002-01-04  Juergen Vigna  <jug@sad.it>
12747
12748         * BufferView2.C (lockInset): forgot to set a cursor.
12749
12750         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12751
12752 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12753
12754         * FormMathsPanel.C:
12755         * FormMathsPanel.h
12756         * MathsSymbols.C:
12757         * form_maths_panel.C:
12758         * form_maths_panel.h:
12759         * form_maths_panel.fd: implemented sub- and super- buttons in math
12760         panel.
12761
12762         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12763         (or ^ space) to be used as in TeX (req'd by André).
12764
12765         * lyxfunc.C: Allow ^ and _ again to be used both as
12766         super/subscript (mathed) and as themselves (in text).
12767
12768 2002-01-03  Allan Rae  <rae@lyx.org>
12769
12770         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12771         "LyX" or the filename of the current buffer if it has one.  This is a
12772         modified form of John Levon's patch.
12773
12774         * XFormsView.C (setWindowTitle): also set icon title.
12775
12776         * LyXView.h (setWindowTitle): signature changed.
12777         * XFormsView.h (setWindowTitle): ditto.
12778
12779 2002-01-02  Juergen Vigna  <jug@sad.it>
12780
12781         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12782
12783 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * screen.C (topCursorVisible): introduce a temp var for
12786         text->cursor.row(), handle the case where this row is null. (kindo
12787         hachish)
12788
12789         * text2.C (setCursor): add a couple of asserts.
12790
12791         * paragraph.h (inset_iterator): add -> operator
12792
12793         * paragraph.[Ch] (autoDeleteInsets): remove member function
12794
12795         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12796         cursor pos correctly and handle inset deletion by itself.
12797         (insertErrors): move iterator declaration out of for expression
12798
12799         * lyxtextclass.C: add <algorithm>
12800
12801         * Makefile.am: added the new files to sources, removed layout.C
12802
12803         * layout.C: removed file
12804
12805         * layout.h: remove LYX_DUMMY_LAYOUT
12806
12807         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12808         layout.
12809
12810         * lyxlayout.[Ch]:
12811         * lyxtextclass.[Ch]:
12812         * lyxtextclasslist.[Ch]: new files
12813
12814         * include order changes to a lot of files, also changes because of
12815         the six new files.
12816
12817 2001-12-27  Juergen Vigna  <jug@sad.it>
12818
12819         * buffer.C (asciiParagraph): more fixes.
12820
12821         * tabular.C (ascii): make ascii export support export of only the
12822         data separated by a column-delimiter.
12823         (ascii): better support for ascii export.
12824
12825         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12826
12827 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12828
12829         * tabular_funcs.C: use a "using std::getline" instead of the
12830         previous fix from Angus (necessary for cxx + lyxstring)
12831
12832 2001-12-24  Juergen Vigna  <jug@sad.it>
12833
12834         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12835
12836         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12837         problems. First check a minipage also if we have some ert-contents
12838         (not only on par->size(), second set the right depth of the paragraph
12839         on the relink to the root-paragraph-list!
12840
12841         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12842         which then did not anymore update the main paragraphs on undo/redo!
12843
12844 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12845
12846         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12847         code. Support all font-changing funcs (even those which are not in
12848         menu currently). Support for reporting font settings in
12849         mathed (disabled until Andre provides a function on mathed's side).
12850
12851         * func_status.h (toggle): small helper function to set toggle
12852         state on a flag.
12853
12854 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12855
12856         * tabular_funcs.C: getline -> std::getline
12857
12858 2001-12-21  Juergen Vigna  <jug@sad.it>
12859
12860         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12861         accessed and could be 0 (I couldn't generate this but it seems
12862         Michael could!).
12863
12864 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12867         * tabular_funcs.h: here and include iosfwd
12868
12869 2001-12-20  Juergen Vigna  <jug@sad.it>
12870
12871         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12872         inside inset but undo_par was.
12873
12874 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12875
12876         * Thesaurus.C: always include <config.h> in sources.
12877
12878         * Painter.h:
12879         * lyxlookup.h:
12880         * box.h: do not include <config.h> in header files
12881
12882         * text.C (paintLastRow): remove unused variable
12883
12884         * text.C (transformChar):
12885         (insertChar):
12886         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12887
12888         * Painter.C (text):
12889         * font.C (width): rewrite to use uppercase() instead of
12890         islower/toupper.
12891
12892         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12893
12894 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * lyxfind.C: clean up of find failure position change
12897
12898 2001-12-20  Juergen Vigna  <jug@sad.it>
12899
12900         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12901
12902         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12903         (TeXRow): added to LaTeX a single tabular row.
12904         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12905         (Latex): simplified and finally good LT-h/f support.
12906         (various_functions): just small adaptions for LT-h/f support.
12907
12908         * tabular_funcs.[hC]: added and moved here all not classfunctions
12909         of LyXTabular.
12910
12911 2001-12-19  Juergen Vigna  <jug@sad.it>
12912
12913         * tabular.[Ch]: better support for longtabular options (not finished
12914         yet!)
12915
12916 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12917
12918         * text.C (paintLastRow): use the label font instead of the font of
12919         the last character to compute the size of *_BOX. This makes more
12920         sense and avoids a crash with empty paragraphs.
12921         Use Painter::rectangle to draw EMPTY_BOX.
12922
12923 2001-12-19  Juergen Vigna  <jug@sad.it>
12924
12925         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12926         the paragraphs if the replaced paragraph is not the first one!
12927         Tried to delete not used paragraphs but does not work yet so for
12928         now it's inside #ifdef's and by default off!
12929
12930 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12931
12932         * MenuBackend.C: include "lyx_main.h" instead of declaring
12933         lastfiles (actually was declared as LastFiles* instead of a
12934         scoped_ptr).
12935
12936 2001-12-17  Juergen Vigna  <jug@sad.it>
12937
12938         * tabular.C (AppendColumn): applied John's fix
12939
12940 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12941
12942         * BufferView.h:
12943         * BufferView.C:
12944         * BufferView_pimpl.h:
12945         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12946
12947         * Makefile.am:
12948         * box.h: new start of class for above
12949
12950         * lyxfunc.C: ignore space-only minibuffer dispatches.
12951           Show the command name when it doesn't exist
12952
12953         * minibuffer.C: don't add empty lines to the history
12954
12955         * minibuffer.C: add a space on dropdown completion
12956
12957 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12958
12959         * text.C: fix line above/below drawing in insets
12960
12961 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * lyxlength.C (LyXLength): Initialize private variables.
12964
12965 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12966
12967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12968         when inserting error insets.
12969
12970 2001-12-13  Juergen Vigna  <jug@sad.it>
12971
12972         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12973         actually sometimes the before-paragraph.
12974         (setUndo): don't clear the redostack if we're not actually undoing!
12975
12976 2001-12-06  Juergen Vigna  <jug@sad.it>
12977
12978         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12979         and fixed redoing of main paragraph, so we can use it now ;)
12980
12981         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12982
12983 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12984
12985         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12986         Juergen's request
12987
12988 2001-12-13  André Pönitz <poenitz@gmx.net>
12989
12990         * undostack.[Ch]:
12991         * undo_func.C: minor cleanup
12992
12993 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12994
12995         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12996         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12997         font in urw-fonts package which is marked as -urw-fontspecific and
12998         does not work (incidentally, changing the encoding in the
12999         fonts.dir of this package to -adobe-fontspecific fixes the
13000         problem).
13001
13002         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13003         is a crash when undoing first paragraph (Juergen, please take a
13004         look). THis does not mean the undo fix is wrong, just that it
13005         uncovers problems.
13006
13007         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13008         the (Paragraph*) version when needed instead of duplicating the
13009         code.
13010
13011         * text.C (workWidth): use Inset::parOwner to find out where the
13012         inset has been inserted. This is a huge performance gain for large
13013         documents with lots of insets. If Inset::parOwner is not set, fall
13014         back on the brute force method
13015
13016         * paragraph_pimpl.C (insertInset):
13017         * paragraph.C (Paragraph):
13018         (cutIntoMinibuffer): set parOwner of insets when
13019         inserting/removing them
13020
13021         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13022
13023 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13024
13025         * commandtags.h:
13026         * LyXAction.C:
13027         * lyx_main.C:
13028         * lyxfunc.C:
13029         * mathed/formulabase.C:
13030         * mathed/math_cursor.[Ch]:
13031         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13032
13033
13034 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13035
13036         * lyxlength.[Ch] (operator!=): new function
13037
13038 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13039
13040         * text.C (workWidth): use Inset::parOwner to find out where the
13041         inset has been inserted. This is a huge performance gain for large
13042         documents with lots of insets. If Inset::parOwner is not set, fall
13043         back on the brute force method
13044
13045         * paragraph_pimpl.C (insertInset):
13046         * paragraph.C (Paragraph):
13047         (cutIntoMinibuffer): set parOwner of insets when
13048         inserting/removing them
13049
13050         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13051
13052 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13053
13054         * tabular-old.C (getTokenValue):
13055         * tabular.C (getTokenValue):
13056         (write_attribute): new versions for LyXLength
13057         (everywhere): adjust the use of widths
13058
13059         * tabular.h: change the type of widths from string to LyXLength
13060
13061 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13062
13063         * paragraph.C: fixed missing line number count when exporting
13064         Environments to LaTeX file
13065
13066         * buffer.C: added informational message for checking line numbers.
13067
13068 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13069
13070         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13071         paragraph, do the 'double space' part, but not the 'empty
13072         paragraph' one.
13073
13074         * text.C (workWidth): small optimization
13075         (getLengthMarkerHeight): use minimal size for negative lengths.
13076
13077 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13078
13079         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13080
13081         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13082
13083 2001-12-11  André Pönitz <poenitz@gmx.net>
13084
13085         * FontLoader.C:
13086         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13087
13088 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * text2.C: keep selection on a setFont()
13091
13092 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13093
13094         * lyx_cb.C: another bv->text misuse, from insert label
13095
13096 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * kbsequence.h:
13099         * kbsequence.C: re-instate nmodifier mask
13100
13101 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13102
13103         * lyx_main.h: make lyxGUI private.
13104
13105 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * lyxfind.C: place the cursor correctly on failed search
13108
13109 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13110
13111         * text.C (getLengthMarkerHeight): for small heights, the arrows
13112         are not always on top/bottom of the text
13113         (drawLengthMarker): smaller arrows; take the left margin in
13114         account; draw also vfills.
13115         (paintFirstRow):
13116         (paintLastRow): remove special code for vfill and standard spaces,
13117         since everything is handled in drawLengthMarker now.
13118
13119 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * buffer.C (insertErtContents): try to handle font and language
13122         interaction a bit better.g
13123
13124         * ColorHandler.C (updateColor): change the hash to cover the whole
13125         LColor enum, ws cleanup
13126         (getGCLinepars): ditto
13127         (getGCLinepars): only lookup in the linecache once.
13128
13129 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13130
13131         * iterators.C (operator++): Make the iterator more robust
13132
13133         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13134         (John's patch)
13135         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13136
13137 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13138
13139         * lyxtext.h:
13140         * text.C: better added space drawing
13141
13142 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * LyXView.C:
13145         * BufferView2.C: fix layout combo update on inset unlock
13146
13147 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * Makefile.am: don't compile unused files
13150
13151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * lyxfunc.C:
13154         * commandtags.h:
13155         * LyXAction.C: remove old LFUN_LAYOUTNO
13156
13157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * paragraph_pimpl.h:
13160         * paragraph_pimpl.C: isTextAt() doesn't need font param
13161
13162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * lyxlex.h:
13165         * lyxlex.C: little cleanup
13166
13167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * BufferView_pimpl.C: fix insertAscii for insets
13170
13171 2001-12-05  Juergen Vigna  <jug@sad.it>
13172
13173         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13174         set the right font on the "multi" paragraph paste!
13175
13176 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13177
13178         * trans_decl.h:
13179         * trans_mgr.[Ch]:
13180         * trans.[Ch]:
13181         * lyxgluelength.C:
13182         * lyxlength.C: remove out-commented code.
13183
13184         * BufferView_pimpl:
13185         * CutAndPaste.C:
13186         * DepTable.C:
13187         * buffer.C:
13188         * chset.C:
13189         * lastfiles.C:
13190         * lyxlex.C:
13191         * lyxlex_pimpl.C:
13192         * lyxserver.C:
13193         * screen.C:
13194         * tabular-old.C:
13195         * tabular.C:
13196         * text.C:
13197         * trans_mgr.C:
13198         * vc-backend.C: change "while(" to "while ("
13199
13200         * lyxlength.[Ch]: add zero function to check if length is zero or
13201         not
13202         * lyxgluelength.C: use it
13203
13204 2001-12-05  Allan Rae  <rae@lyx.org>
13205
13206         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13207         Works for 2.95.3, from what I understand of Garst's reports this should
13208         work for other g++ versions.  We're screwed if the abs(int) definition
13209         changed between bugfix releases of gcc.
13210
13211 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * text.C: fix chapter label offset !
13214
13215 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * lyxtext.h:
13218         * text.C: fix hfill at end of line, clean up
13219
13220 2001-12-04  Juergen Vigna  <jug@sad.it>
13221
13222         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13223         that we force an update of the inset and it's owners if neccessary.
13224
13225 2001-12-03  Juergen Vigna  <jug@sad.it>
13226
13227         * text.C (rowLast): simplified code
13228
13229 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13230
13231         * lyxfunc.C: fix show options on timeout
13232
13233 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13234
13235         * screen.C (topCursorVisible): scroll half a page when the cursor
13236         reached top of bottom of screen
13237
13238 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * minibuffer.C: deactivate on loss of focus
13241
13242 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13243
13244         * vspace.[Ch] (operator!=): add operator.
13245
13246 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13247
13248         * BufferView_pimpl.C: refuse to open an inset when
13249         there's a selection.
13250
13251 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * BufferView_pimpl.C: allow to click on RHS of full row insets
13254
13255 2001-11-30  Juergen Vigna  <jug@sad.it>
13256
13257         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13258         insets for undo reasons.
13259
13260 2001-11-28  André Pönitz <poenitz@gmx.net>
13261
13262         * vspace.[Ch]: cosmetical changes
13263
13264 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13265
13266         * LyXAction.h:
13267         * LyXAction.C:
13268         * lyxfunc.h:
13269         * lyxfunc.C:
13270         * kbmap.h:
13271         * kbmap.C:
13272         * lyxrc.C:
13273         * kbsequence.h:
13274         * kbsequence.C: part re-write of old kb code
13275
13276         * Painter.C:
13277         * WorkArea.C: remove Lgb_bug_find_hack
13278
13279 2001-11-30  José Matos <jamatos@fep.up.pt>
13280
13281         * buffer.C (makeDocBookFile): add a comment to point a hack.
13282         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13283         Fixed a double write of labels.
13284
13285 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13286
13287         * LaTeX.C:
13288         * LaTeX.h Fixed bug in LaTeX class where it would not
13289         re-run latex if no depfiles were changed, but the .dvi was removed.
13290
13291 2001-11-28  André Pönitz <poenitz@gmx.net>
13292
13293         * all the files from the change on 2001/11/26:
13294         use lyx::layout_type instead of LyXTextClass::size_type
13295         use lyx::textclass_type instead of LyXTextClassList::size_type
13296
13297 2001-11-29  Juergen Vigna  <jug@sad.it>
13298
13299         * text.C: added support for paragraph::isFreeSpacing()
13300
13301         * buffer.C: same as above
13302
13303         * paragraph.h: inserted isFreeSpacing() function to enable
13304         FreeSpacing inside InsetERT.
13305
13306         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13307         of the paragraph's in the cut/copy buffer to 0!
13308
13309         * text2.C (removeRow): remove the assert as it can!
13310
13311         * lyxtext.h: added helper function firstRow returning firstrow and
13312         made firstrow private again.
13313
13314         * BufferView2.C (lockInset): don't relock if we're already locked!
13315
13316         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13317         the only paragraph.
13318         (removeRow): added Assert::(firstrow)
13319
13320         * debug.C: forgot to add INSETTEXT here.
13321
13322 2001-11-28  Juergen Vigna  <jug@sad.it>
13323
13324         * sp_spell.C (initialize): changed error text to more general
13325         spellchecker command use (not only ispell!)
13326
13327         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13328
13329         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13330
13331 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13332
13333         * vspace.C: initialise lyxgluelength on failure
13334
13335 2001-11-28  Allan Rae  <rae@lyx.org>
13336
13337         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13338         declaration & definition that looks like a function declaration.
13339
13340 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13341
13342         * BufferView2.C (copy):
13343         (copyEnvironment): do not clear the selection when doing a copy.
13344
13345         * text.C (paintFirstRow): compilation fix
13346
13347 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13348
13349         * tabular.C (Latex): correct line count when writing latex.
13350
13351 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13352
13353         * paragraph_pimpl.h:
13354         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13355           bug a bit
13356
13357 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13358
13359         * text.C:
13360         * LColor.h:
13361         * LColor.C: change vfillline->added_space
13362
13363         * text.C: add markers and text for added space
13364
13365         * vspace.C: fix comment
13366
13367 2001-11-28  André Pönitz <poenitz@gmx.net>
13368
13369         * paragraph.C: whitespace changes
13370         * all the other files from the change on 2001/11/26:
13371         change *::pos_type into lyx::pos_type
13372
13373 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13374
13375         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13376         language of the document when inserting error insets.
13377
13378 2001-11-26  André Pönitz <poenitz@gmx.net>
13379
13380         * BufferView_pimpl.[Ch]:
13381         *       CutAndPaste.C:
13382         * buffer.[Ch]:
13383         * lyxcursor.[Ch]:
13384         * lyxfind.C:
13385         * lyxfunc.C:
13386         * lyxrow.[Ch]:
13387         * paragraph.[Ch]:
13388         * paragraph_pimpl.[Ch]:
13389         * sp_spell.C:
13390         * text.C:
13391         * text2.C: reduce header dependencies, introduce type for positions
13392
13393 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13394
13395         * <various>: change to use Alert.h
13396
13397 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13398
13399         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13400         when encountering an unknown token.
13401         (readLyXformat2): Show an error message if there were unknown tokens.
13402
13403 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13404
13405         * BufferView2.C:
13406         * BufferView_pimpl.C:
13407         * buffer.C:
13408         * paragraph.h:
13409         * text.C:
13410         * text2.C: use par->isInset()
13411
13412 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * paragraph_pimpl.h:
13415         * paragraph_pimpl.C: cleanup
13416
13417 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13418
13419         * text2.C (removeRow):
13420         * text.C (setHeightOfRow): remove useless (and costly) call to
13421         getRow.
13422
13423 2001-11-20  Allan Rae  <rae@lyx.org>
13424
13425         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13426         Now need Inset*::checkInsertChar() to return true for appropriate
13427         cases so that the characters in the minibuffer will actually be
13428         inserted.
13429
13430 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13431
13432         * text.C: change the order of the includes.
13433         (workWidth): initialize it at once.
13434         (workWidth): make maxw unsigned
13435         (setHeightOfRow): remove unused variable (inset)
13436         (selectSelectedWord): remove unused variable (inset)
13437         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13438
13439 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13440
13441         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13442         server is not running.
13443         (openConnection):
13444         (closeConnection): add debug info when server is disabled.
13445
13446         * ColorHandler.C (getGCForeground): send debug message to GUI
13447         channel.
13448
13449         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13450
13451         * kbmap.C (bind): modify because return conventions of
13452         kb_sequence::parse have changed.
13453
13454         * kbsequence.C (parse): only ignore spaces and not any stupid
13455         control character. This avoids tests like s[i] <= ' ', which are
13456         guaranteed to fail with 8bit characters and signed chars.
13457         Change return code to string::npos when there have been no error
13458         (0 was a bad idea when error is at first character)
13459
13460 2001-11-14  José Matos  <jamatos@fep.up.pt>
13461
13462         * buffer.h:
13463         * buffer.C (simpleDocBookOnePar): removed unused argument.
13464
13465 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13466
13467         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13468         insets which are part of a word. Paragraph::isLetter takes care of
13469         that now. Use Paragraph::isInset to identify insets.
13470         (selectSelectedWord): do not test for hyphenation break.
13471
13472         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13473         that protected spaces are considered as spaces.
13474
13475         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13476         Inset::isLetter.
13477
13478 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13479
13480         * lyxserver.h:
13481         * lyxserver.C: fix it. and small cleanup.
13482
13483 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * BufferView_pimpl.C: use inline helpers
13486
13487         * LaTeXFeatures.h:
13488         * LaTeXFeatures.C: fix typos
13489
13490         * Spacing.h:
13491         * Spacing.C: move spacing_string into class
13492
13493         * ToolbarDefaults.C: move stuff into namespace anon
13494
13495         * layout.h: update enum
13496
13497         * lyxfunc.C: use better debug
13498
13499         * minibuffer.h: fix typo
13500
13501         * debug.h:
13502         * debug.C:
13503         * WorkArea.C: add and use Debug::WORKAREA
13504
13505         * lyxtext.h:
13506         * text.C:
13507         * text2.C: code re-organisation, inline helpers
13508
13509 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13510
13511         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13512         std::vector.empty().
13513
13514 2001-11-09  Allan Rae  <rae@lyx.org>
13515
13516         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13517         '\n's after tables.  Tabular and ERT inset work now makes this no
13518         longer necessary.
13519
13520 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13521
13522         * minibuffer.h:
13523         * minibuffer.C: fix crash, improve drop-down completion
13524
13525 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * lyxserver.h:
13528         * lyxserver.C: invalidate fd's when doing endPipe()
13529
13530 2001-11-08  José Matos  <jamatos@fep.up.pt>
13531
13532         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13533         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13534
13535         * paragraph.h:
13536         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13537
13538 2001-11-07  José Matos  <jamatos@fep.up.pt>
13539
13540         * buffer.h:
13541         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13542         const qualifier.
13543
13544         * buffer.C (sgmlOpenTag):
13545         * buffer.C (sgmlCloseTag): removed debug info.
13546
13547         * buffer.h (sgmlOpenTag):
13548         * buffer.h (sgmlCloseTag): made public.
13549
13550 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13551
13552         * buffer.C (saveParamsAsDefaults):
13553         * lyx_cb.C (MenuLayoutSave): remove
13554
13555         * LyXAction.C (init):
13556         * commandtags.h:
13557         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13558
13559 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13560
13561         * buffer.C (setPaperStuff): removed from here...
13562
13563         * bufferparams.C (setPaperStuff): ... and moved there.
13564
13565 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * minibuffer.h:
13568         * minibuffer.C:
13569         * XFormsView.C: add support for drop-down completion
13570
13571 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13572
13573         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13574         commands.
13575
13576 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13577
13578         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13579         disabled.
13580
13581 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13582
13583         * lyx_main.C: change ref to known bugs
13584
13585 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13586
13587         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13588         to work around older babel problems.
13589
13590 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13591
13592         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13593
13594 2001-10-24  Juergen Vigna  <jug@sad.it>
13595
13596         * tabular-old.C (ReadOld): below variable changes reflected.
13597
13598         * tabular.[Ch]: added ltType struct for longtable header/footer
13599         defines and changed all instances where they are used. Added
13600         future support for double top/bottom rows.
13601
13602 2001-10-24  José Matos  <jamatos@fep.up.pt>
13603
13604         * buffer.h (docbookHandleCaption):
13605         * buffer.C (docbookHandleCaption): removed unused function.
13606         (makeDocBookFile): moved docbook supported version to v4.1.
13607
13608 2001-10-24  José Matos  <jamatos@fep.up.pt>
13609
13610         * tabular.h:
13611         * tabular.C (docbookRow): new function to export docbook code of a row.
13612         (DocBook): now honors the longtable flags.
13613
13614 2001-10-23  José Matos  <jamatos@fep.up.pt>
13615
13616         * LaTeXFeatures.h:
13617         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13618         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13619
13620         * buffer.C (makeLinuxDocFile):
13621         (makeDocBookFile): reworked the preamble, more clean, and with
13622         support for lyx defined entities. Changed the document declaration
13623         to be more XML friendly.
13624
13625         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13626         if we need to output XML that should be done with a filter.
13627
13628 2001-10-22  Juergen Vigna  <jug@sad.it>
13629
13630         * sp_pspell.h (class PSpell): add alive function needed in the
13631         controller to see if the spellchecker could be started.
13632
13633 2001-10-22  Juergen Vigna  <jug@sad.it>
13634
13635         * buffer.C (insertStringAsLines): modify the font for inserting
13636         chars in certain conditions by calling checkInsertChar(font).
13637
13638 2001-10-19  Juergen Vigna  <jug@sad.it>
13639
13640         * text.C (workWidth): use getRow instead of wrong algorithm.
13641         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13642
13643 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13644
13645         * lyxserver.h:
13646         * lyxserver.C:
13647         * lyx_main.h:
13648         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13649
13650 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * text.C (workWidth): do not search for the exact row when
13653         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13654         optimization for big documents.
13655
13656 2001-10-18  Juergen Vigna  <jug@sad.it>
13657
13658         * text.C (workWidth): new function with added Inset * parameter.
13659
13660 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13663
13664         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13665         change return type of getColumnNearX.
13666
13667
13668         * text.C (changeRegionCase): use uppercase/lowercase instead of
13669         toupper/tolower.
13670         (leftMargin):
13671         (rightMargin): simplify code by factoring out the uses of
13672         textclasslist.
13673         (labelFill):
13674         (numberOfHfills):
13675         (setHeightOfRow):
13676         (appendParagraph): use Paragraph::size_type
13677
13678 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * vspace.C (asLatexString): add a missing break
13681
13682 2001-10-15  Herbert Voss  <voss@perce.de>
13683
13684         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13685
13686 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13687
13688         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13689         is not available.
13690
13691 2001-10-10  André Pönitz <poenitz@gmx.net>
13692
13693         * lyxfunc.C: removed greek_kb_flag.
13694
13695 2001-10-10  Herbert Voss  <voss@perce.de>
13696
13697         * lyx_main.C: delete global string help_lyxdir.
13698
13699 2001-10-09  Herbert Voss  <voss@perce.de>
13700
13701         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13702
13703         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13704
13705         * lyx_main.C: added global string help_lyxdir.
13706
13707         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13708
13709 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13710
13711         * lyxrc.C (set_font_norm_type): support iso8859-4
13712
13713 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13714
13715         * LaTeX.C (deplog): add another regex for MikTeX
13716
13717 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13718
13719         * lyxrc.C (set_font_norm_type): support iso8859-3
13720
13721 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13722
13723         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13724
13725         * LaTeXFeatures.C: remove special case of french and index
13726
13727         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13728         before \begin{document}). This solves several incompatibilities.
13729
13730 2001-10-03  Garst Reese  <reese@isn.net>
13731
13732         * lyx_cb.C: change CheckTex error msg.
13733
13734 2001-10-03  José Matos  <jamatos@fep.up.pt>
13735
13736         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13737
13738 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * .cvsignore: update
13741
13742         * lyx_main.C (commandLineVersionInfo): use new style version info.
13743
13744         * buffer.C (writeFile):
13745         (makeLaTeXFile):
13746         (makeLinuxDocFile):
13747         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13748
13749         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13750
13751         * version.h: update to use stuff in version.C
13752
13753         * version.C.in: new file. Contains version information determined
13754         at compile time. This is a merging of version.h and
13755         version_info.h.in.
13756
13757 2001-10-03  Juergen Vigna  <jug@sad.it>
13758
13759         * BufferView_pimpl.C (update): don't change "dirty" status in
13760         updateInset call.
13761
13762 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13763
13764         * WorkArea.C (c-tor): re-position version string slightly.
13765
13766 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13767
13768         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13769         revert to previous code.
13770
13771         WorkArea.[Ch]: (show, destroySplash): methods removed.
13772
13773         WorkArea.C: rework code so that it's an amalgam of the codes before and
13774         after the splash screen was moved to WorkArea.
13775
13776 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13777
13778         * lyxrc.C (read):
13779         * vspace.C (inPixels):
13780         (lyx_advance):
13781         * kbmap.C (bind):
13782         * buffer.C (insertStringAsLines):
13783         (asciiParagraph): fix types to be large enough
13784
13785         * lyxlex_pimpl.h: change member status from short to int
13786
13787         * layout.h: fix type of endlabeltype
13788
13789         * kbmap.C (bind):
13790         * kbsequence.C (parse): change return type to string::size_type
13791
13792         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13793         variable
13794
13795         * Bullet.C (bulletSize):
13796         (bulletEntry): do not use short ints as parameters
13797
13798         * BufferView2.C (insertLyXFile): change a char to an int.
13799
13800         * WorkArea.C (WorkArea): remove unneeded floats in computation
13801
13802 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13803
13804         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13805
13806         * paragraph.C (asString): Do not ignore newline/hfill chars when
13807         copying to the clipboard.
13808
13809 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13812         after a multi-line inset.
13813
13814 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13815
13816         * paragraph.C (validate): Set NeedLyXFootnoteCode
13817
13818 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13819
13820         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13821         and decrease-error to decrease.
13822
13823 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13824
13825         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13826         it more readable (should be equivalent)
13827
13828 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13829
13830         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13831
13832 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13833
13834         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13835         of a cursor (row, etc.) after a character has been deleted
13836         (deleteEmptyParagraphMechanism): call the method above on _all_
13837         cursors held by the LyXText when a double space has been
13838         detected/deleted.
13839
13840 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13841
13842         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13843         pixmap.
13844         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13845
13846         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13847         background. Use greyOut() and the new show() methods to toggle between
13848         the foreground and background. Add code to remove the splash after
13849         its initial showing.
13850
13851         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13852         (create_forms): no longer call Dialogs::showSplash.
13853
13854 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13855
13856         * .cvsignore: add version_info.h
13857
13858 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13859
13860         * version_info.h.in: new file
13861
13862         * Makefile.am: add version_info.h.in
13863
13864         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13865         version_info.h instead of VERSION_INFO
13866
13867 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13868
13869         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13870         The ERT inset now returns string().
13871
13872 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13873
13874         * lyxtext.h, text.C (selectNextWord): renamed as
13875         selectNextWordToSpellcheck.
13876
13877         * text.C (selectNextWordToSpellcheck): Modified to not select
13878         words inside an ERT inset.
13879
13880 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13881
13882         * lyx_cb.C (MenuLayoutSave): change a bit the question
13883
13884         * sp_base.h: include <sys/types.h>
13885
13886 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13887
13888         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13889
13890 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13891
13892         * several files: fix typos in user-visible strings
13893
13894 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13895
13896         * text2.C (pasteSelection): do not set the selection, since it
13897         will be cleared later. Actually, the intent was to fix the way the
13898         selection was set, but I figured rmoving the code was just as good.
13899
13900 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13901
13902         * FontLoader.C (available): Check if font is available without
13903         loading the font.
13904
13905 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13906
13907         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13908
13909 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13910
13911         * lyxrc.[Ch]: added display_graphics variable and associated code.
13912
13913 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13914
13915         * bufferparams.C (hasClassDefaults): new method. Returns true if
13916         the buffer parameters correspond to known class defaults
13917
13918 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13919
13920         * XFormsView.C (show): set minimum size to the main window.
13921
13922 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13923
13924         * text2.C (copySelection):
13925         (cutSelection):
13926         * lyxfind.C (LyXReplace):
13927         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13928         LyXText::selectionAsString.
13929
13930         * paragraph.C (asString): add "label" argument to the second form
13931
13932         * text2.C (selectionAsString): add "label" argument and pass it to
13933         Paragraph::asString.
13934
13935 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * lyx_main.C (commandLineHelp): remove version information
13938
13939 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13940
13941         * lyx_main.C: add -version commandline option
13942
13943 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * paragraph.h: make the optional constructor arg required instead.
13946         some modifications to other files because of this.
13947
13948         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13949
13950         * lyxserver.C (C_LyXComm_callback): make it static
13951
13952         * lyx_main.C (error_handler): make it static
13953
13954         * lyx_gui.C (LyX_XErrHandler): make it static
13955
13956         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13957
13958         * WorkArea.C: make the extern "C" methods static.
13959
13960         * Makefile.am (lyx_LDADD): simplify
13961
13962 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13963
13964         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13965         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13966
13967         * LyXAction.C (init):
13968         * lyxfunc.C (dispatch): associated code removal.
13969
13970 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13971
13972         * lyxfont.h (isSymbolFont): shut off warning
13973
13974         * text.C (setHeightOfRow):
13975         (getVisibleRow): fix crash with empty paragraphs which have a
13976         bottom line
13977
13978 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13979
13980         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13981         code.
13982
13983 2001-09-04  José Matos  <jamatos@fep.up.pt>
13984         * buffer.C
13985         * buffer.h
13986         * tabular.C (docbook): rename docBook method to docbook.
13987
13988 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13989
13990         * Makefile.am: add dependencies to main.o.
13991
13992 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13993
13994         * FontLoader.C (available): Return false if !lyxrc.use_gui
13995
13996 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13997
13998         * FontInfo.C (query):
13999         * converter.C (view):
14000         * importer.C (Import):
14001         * exporter.C (Export): Can not -> cannot.
14002
14003 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14004
14005         * BufferView_pimpl.C: allow to create index inset even if
14006           string is empty
14007
14008 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14009
14010         * buffer.C (getLists): replace boost::tie code with an explicit pair
14011         as boost::tie can break some compilers.
14012
14013         * iterators.h: Added a std:: declaration to the return type of
14014         ParIterator::size.
14015
14016 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14019           case.
14020
14021 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14022
14023         * iterators.[Ch]: New files. Provide paragraph iterators.
14024
14025         * buffer.C (changeLanguage): Use paragraph iterators.
14026         (isMultiLingual): ditto
14027
14028         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14029
14030 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14031
14032         * FontLoader.C: Support for cmr font.
14033
14034 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14035
14036         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14037         (available): New method.
14038
14039         * FontInfo.C (getFontname): Use scalable fonts even when
14040         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14041         found.
14042
14043 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14044
14045         * converter.C (Formats::view): reverted! Incorrect fix.
14046
14047 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14048
14049         * converter.C (Formats::view): only output the -paper option
14050         if the dvi viewer is xdvi, thereby fixing bug #233429.
14051
14052 2001-08-23  Herbert Voss  <voss@perce>
14053
14054         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14055
14056 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14057
14058         * Spacing.h (Spacing): Set space to Default on in the default
14059         constructor.
14060
14061 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * vc-backend.h (RCS::versionString): add RCS to version
14064         (CVS::versionString): add CVS to version
14065
14066         * vc-backend.C (scanMaster): do not add CVS to version.
14067         (scanMaster): do not add RCS to version
14068
14069         * lyxvc.C (versionString): new method
14070
14071         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14072
14073 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14074
14075         * Spacing.C (set): initialize fval
14076
14077 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14078
14079         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14080         " or \.
14081
14082 2001-08-16  Juergen Vigna  <jug@sad.it>
14083
14084         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14085
14086 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14087
14088         * BufferView_pimpl.C:
14089         * figureForm.C:
14090         * lyxtext.h:
14091         * text2.C: setParagraph takes linespacing now
14092
14093 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * LyxAction.C: add internal LFUN_CITATION_INSERT
14096
14097         * LyXView.C: actually apply fix
14098
14099         * bufferlist.C: fix open non-existent file
14100
14101         * lyxfind.C: fix indentation
14102
14103         * lyxfunc.C: remove unneeded assert, fix typo
14104
14105 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * MenuBackend.C: use "Floatname List"
14108
14109 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14110
14111         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14112         when converting LaTeX layout to insetERT.
14113         Generate a non-collapsed float when reading old float
14114
14115 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14116
14117         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14118         ERT insets.
14119
14120 2001-08-13  Juergen Vigna  <jug@sad.it>
14121
14122         * text.C (fill): return 0 instead of 20 as this seems to be the more
14123         correct value.
14124
14125 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14126
14127         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14128         lyxrc.font_norm.
14129
14130 2001-08-13  Juergen Vigna  <jug@sad.it>
14131
14132         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14133         casesensitive off.
14134         (SearchBackward): comment out the unlocking of the inset_owner this
14135         should not be needed!
14136
14137 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14138
14139         * Many files: Remove inherit_language, and add latex_language
14140
14141         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14142         collapsible insets.
14143
14144 2001-08-10  Juergen Vigna  <jug@sad.it>
14145
14146         * text.C (prepareToPrint): fixed hfill-width in draw!
14147
14148         * BufferView2.C (selectLastWord): save the selection cursor as this
14149         now is cleared in the function LyXText::clearSelection!
14150
14151 2001-08-08  Juergen Vigna  <jug@sad.it>
14152
14153         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14154         BACKSPACE type functions.
14155
14156         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14157         is only cutted from the document but not put in the cut-buffer, where
14158         still the old stuff should be.
14159
14160         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14161
14162         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14163
14164         * tabular.C (SetWidthOfCell): fixed special case where the width
14165         was not updated!
14166         (LeftLine): handle '|' in align_special.
14167         (RightLine): ditto
14168         (LeftAlreadyDrawed): ditto
14169         (SetWidthOfCell): ditto
14170
14171 2001-08-07  Juergen Vigna  <jug@sad.it>
14172
14173         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14174
14175 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14176
14177         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14178         * lyxlex.[hC]: ditto
14179
14180 2001-08-06  Juergen Vigna  <jug@sad.it>
14181
14182         * text.C (getVisibleRow): fix up row clearing a bit.
14183
14184 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14185
14186         * minibuffer.C: make sure the X server sees the changes in the input.
14187
14188 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * paragraph.C (getFont): split into...
14191         (getLabelFont): this
14192         (getLayoutFont): and this
14193         * paragraph_pimpl.C (realizeFont): calling this
14194
14195         * text2.C (getFont): split into...
14196         (getLayoutFont): this
14197         (getLabelFont): and this
14198         (realizeFont): all three calling this
14199
14200         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14201         files where used.
14202
14203 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14204
14205         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14206
14207 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14208
14209         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14210         layouts from the Quote inset insertion.
14211
14212 2001-08-03  Juergen Vigna  <jug@sad.it>
14213
14214         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14215
14216         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14217         only if status not is already CHANGED_IN_DRAW (second level).
14218
14219         * text.C (draw): don't set the need_break_row when inside an
14220         InsetText LyXText.
14221
14222 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14223
14224         * buffer.C (parseSingleLyXformat2Token): handle more latex
14225         conversion cases.
14226
14227         * bufferview_funcs.[hC]: change function names to
14228         begin with small char, adjust other files.
14229
14230 2001-08-02  André Pönitz <poenitz@gmx.net>
14231
14232         * lyxfunc.C:
14233         BufferView_pimpl.C: remove broken special code for math-greek
14234
14235 2001-08-02  Juergen Vigna  <jug@sad.it>
14236
14237         * BufferView_pimpl.C (update): redone this function so that we
14238         update the text again if there was a CHANGE_IN_DRAW.
14239
14240         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14241         (drawFromTo): added a new internal bool which is used by draw() and
14242         redraw() function.
14243         (general): some cursor drawing problems fixed.
14244
14245 2001-08-01  Juergen Vigna  <jug@sad.it>
14246
14247         * lyxfind.C (LyXFind): fixed
14248         (SearchForward): ditto
14249         (SearchBackward): ditto
14250
14251         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14252         spurius drawing of the cursor in the main area.
14253
14254         * text2.C (status): small fix which could lead to a segfault!
14255         (clearSelection): remove unneeded BufferView param.
14256
14257 2001-08-01  André Pönitz <poenitz@gmx.net>
14258
14259         * lyxfunc.C: small change due to changed mathed interface
14260
14261 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14262
14263         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14264
14265 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * lyxfunc.c: fail gracefully if file doesn't exist
14268
14269         * LyXSendto.C:
14270         * buffer.C:
14271         * lyxfunc.C:
14272         * BufferView_pimpl.C: IsDirWriteable() proto changed
14273
14274         * LyXView.C: fix updateWindowTitle() to store the last title
14275
14276 2001-07-31  Juergen Vigna  <jug@sad.it>
14277
14278         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14279         the font (wrong since using of Paragraph::highestFontInRange).
14280
14281         * paragraph.C (highestFontInRange): added a default_size parameter.
14282
14283         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14284         (setHeightOfRow): reformat
14285
14286 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14287
14288         * converter.[hC] + affected files: move to (inital-char)lowercase
14289         function names.
14290
14291         * ParagraphParameters.C (ParagraphParameters): remove commented code
14292
14293         * PainterBase.[Ch]: remove commented code
14294
14295         * LaTeXFeatures.h: add "bool floats" for float.sty
14296
14297         * LaTeXFeatures.C (LaTeXFeatures): init floats
14298         (require): handle float
14299         (getPackages): do it with floats
14300
14301 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * BufferView_pimpl.C (Dispatch): improve handling of
14304         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14305
14306         * commandtags.h: #include lyxfont.h here temporarily to avoid
14307         keybinding bug.
14308
14309         * bufferlist.h: include LString.h here.
14310
14311 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14312
14313         * text2.C (getStringToIndex): new method.
14314
14315 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14316
14317         * *: Reduced header file dependencies all over.
14318
14319 2001-07-30  Baruch Even  <baruch@lyx.org>
14320
14321         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14322
14323 2001-07-29  Baruch Even  <baruch@lyx.org>
14324
14325         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14326
14327 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * ParameterStruct.h (endif): add a default constructor to make
14330         sure that all variables is initialized.
14331
14332         * ParagraphParameters.C (ParagraphParameters): adjust
14333
14334 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14335
14336         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14337         index; also, check that there is something to index, and that it
14338         does not span over several paragraphs.
14339         (doubleClick): use WHOLE_WORD_STRICT for double click.
14340
14341         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14342
14343         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14344         scheme.
14345
14346 2001-07-26  Baruch Even  <baruch@lyx.org>
14347
14348         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14349         an InsetFig figure, backwards compatible reading of old figure code.
14350
14351 2001-07-27  Juergen Vigna  <jug@sad.it>
14352
14353         * text2.C: font.realize function adaption.
14354
14355         * text.C (draw): add a warnings lyxerr text if needed.
14356
14357         * layout.C: font.realize function adaption.
14358
14359         * language.C: add inherit_language and implement it's handlings
14360
14361         * bufferview_funcs.C (StyleReset): remove language parameter from
14362         font creation (should be language_inherit now).
14363
14364         * bufferparams.C (writeFile): handle ignore_language.
14365
14366         * paragraph.C (getFontSettings): the language has to be resolved
14367         otherwise we have problems in LyXFont!
14368
14369         * lyxfont.C (lyxWriteChanges): added document_language parameter
14370         (update): removed unneeded language parameter
14371
14372         * paragraph.C (validate): fixed wrong output of color-package when
14373         using interface colors for certain fonts in certain environments,
14374         which should not seen as that on the final output.
14375
14376 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14377
14378         * BufferView_pimpl.C:
14379         * Thesaurus.h:
14380         * Thesaurus.C:
14381         * Makefile.am:
14382         * commandtags.h:
14383         * LyXAction.C: add thesaurus support
14384
14385         * lyxfind.h:
14386         * lyxfind.C: add "once" parameter, for thesaurus, to not
14387           move to the next match
14388
14389 2001-07-26  Juergen Vigna  <jug@sad.it>
14390
14391         * lyxfont.C (realize): honor ignore_language too!
14392         (resolved): ditto.
14393
14394         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14395
14396         * text.C (draw): one place more for ignore_language to not draw
14397         itself!
14398
14399 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14400
14401         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14402
14403 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14404
14405         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14406         the minipage conversion problem.
14407
14408 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14411         insert an inset.
14412
14413 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14414
14415         * BufferView.h: don't forward declare WorkArea
14416
14417         * BufferView.C: don't include WorkArea.h
14418
14419 2001-07-25  André Pönitz <poenitz@gmx.net>
14420
14421         * commandtags.h:
14422         * LyXAction.C:
14423         * lyxfunc.C:  new LFUN 'math-space'
14424
14425         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14426
14427 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * text2.C (toggleInset): call open/close
14430
14431 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14432
14433         * lyxfunc.C (dispatch): add debug for the disabled case
14434
14435         * font.C (buttonText): make similar to rectText
14436
14437         * buffer.C (readInset): comment out parsing of insetlist and
14438         insttheorem
14439
14440         * PainterBase.C (rectText): small correction
14441
14442         * BufferView_pimpl.C: comment out insettheorem and insetlist
14443         * LyXAction.C: ditto
14444         * commandtags.h: ditto
14445
14446 2001-07-24  Juergen Vigna  <jug@sad.it>
14447
14448         * text.C (draw): honor the ignore_language.
14449
14450         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14451
14452 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14453
14454         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14455         char inset.
14456
14457 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14458
14459         * lyxtext.h: remove unused (and unimplemented) methods
14460
14461 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14462
14463         * text.C (getVisibleRow): honor background color
14464
14465         * PainterBase.h:
14466         * Painter.h: remove default color argument for fillRectangle
14467
14468         * text.C (backgroundColor): new method
14469
14470 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14471
14472         * text.C (getVisibleRow): adjust
14473
14474         * font.[Ch] (rectText): new method, metrics
14475         (buttonText): new method, metrics
14476
14477         * PainterBase.[hC]: make rectText and buttonText always draw and take
14478         fewer paramteres.
14479
14480 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14481
14482         * ToolbarDefaults.C (read):
14483         * MenuBackend.C (read): allow escaping in all strings
14484
14485         * BufferView_pimpl.C (insertAndEditInset): new method.
14486         (Dispatch): use insertAndEditInset whenever appropriate.
14487
14488         * BufferView_pimpl.C (insertNote): removed
14489
14490         * BufferView_pimpl.C (smartQuote): new method, moved from
14491         BufferView; if an insetquote cannot be inserted, insert a '"'
14492         character instead.
14493
14494         * BufferView2.C: remove insertCorrectQuote();
14495
14496         * lyxfunc.C (getStatus): Add support for all remaingin
14497         inset-insert lfuns.
14498
14499         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14500
14501         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14502         command (necessary to pass " as parameter of self-insert.
14503
14504         * text.C (selectWordWhenUnderCursor):
14505         (selectWord): add word_location parameter
14506         (selectWordWhenUnderCursor): same + remove special code for word
14507         boundary.
14508         (selectNextWord): use kind() to guess type of insetspecialchar,
14509         not latex().
14510
14511         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14512         (insertErtContents): create ert insets as collapsed.
14513         (readInset): better compatibility code for Info inset.
14514
14515 2001-07-20  Juergen Vigna  <jug@sad.it>
14516
14517         * lyxfunc.C (dispatch): use always LyXFind now!
14518
14519         * text2.C (init): add a reinit flag so that the LyXText can be
14520         reinited instead of deleted and reallocated (used in InsetText).
14521
14522         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14523
14524         * text.C: ditto
14525
14526         * text2.C: ditto
14527
14528 2001-07-18  Juergen Vigna  <jug@sad.it>
14529
14530         * text.C (selectNextWord): handle insets inside inset by calling
14531         always the bv->text functions so that we can go up the_locking_inset!
14532
14533         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14534         in strange locations when inside an inset!
14535
14536         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14537         handling to include insets.
14538
14539         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14540
14541 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * LyXAction.C (init):
14544         * commandtags.h:
14545         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14546         LIGATURE_BREAK, since the name is so stupid.
14547
14548 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14549
14550         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14551         InsetInfos.
14552
14553         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14554
14555         * sp_form.[Ch]: remove.
14556
14557         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14558
14559         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14560         InsetInfo.
14561
14562         * src/buffer.C (readInset): ditto.
14563
14564 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14565
14566         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14567         menuSeparator(), endOfSentenceDot(), ldots() and
14568         hyphenationPoint(), which are therefore removed.
14569         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14570
14571         * LyXAction.C (init):
14572         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14573
14574         * paragraph.C (getWord): removed.
14575
14576         * BufferView_pimpl.C (Dispatch): use last word or selection for
14577         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14578
14579         * lyx_main.C (queryUserLyXDir): do not ask before creating
14580         user_dir, except if it has been named explicitely.
14581
14582 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14583
14584         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14585         a document of zero size.
14586
14587 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14588
14589         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14590         approriately in the c-tor and in require().
14591         (getPackages): output the appropriate LaTeX for natbib support.
14592
14593         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14594         variables "use_natbib" and "use_numerical_citations" when reading the
14595         LyX file.
14596         (readInset): read the various natbib cite commands.
14597         (validate): white-space change.
14598
14599         * bufferparams.[Ch]: new variables "bool use_natbib" and
14600         "bool use_numerical_citations".
14601         (writeFile): output them in the LyX file.
14602
14603 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14604
14605         * lyxfunc.C (getStatus): add support for all the inset insertion
14606         commands.
14607
14608         * text2.C (insertInset):
14609         * paragraph.C (insetAllowed):
14610         * BufferView_pimpl.C (insertInset): update to take in account the
14611         renaming of insertInsetAllowed
14612
14613         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14614
14615         * text2.C (getInset): new method. returns inset at cursor position.
14616
14617         * BufferView_pimpl.C (Dispatch): changes because of this.
14618
14619         * LyXAction.C (init): rename open-stuff to inset-toggle.
14620
14621         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14622
14623         * text2.C (toggleInset): renamed from openStuff; use
14624         Inset::open().
14625
14626 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14627
14628         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14629
14630         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14631
14632 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14633
14634         * buffer.C (readLyXformat2): Add filename to the error dialog
14635
14636 2001-07-18  Juergen Vigna  <jug@sad.it>
14637
14638         * tabular.C (GetCellNumber): put an assert here instead of the check!
14639
14640 2001-07-17  Juergen Vigna  <jug@sad.it>
14641
14642         * BufferView_pimpl.C (toggleSelection): adapted too.
14643
14644         * text.C (selectNextWord): adapted for use with insets.
14645         (selectSelectedWord): ditto
14646
14647 2001-07-17  Juergen Vigna  <jug@sad.it>
14648
14649         * sp_spell.C (PSpell): fix initialitation order.
14650
14651 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * paragraph.C: spacing
14654
14655 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14656
14657         * sp_spell.C: repair language selection for pspell
14658
14659 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14660
14661         * lyxfunc.h: change more methods to begin with lower char.
14662
14663 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14664
14665         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14666         for unknown layouts.
14667
14668 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14669
14670         * buffer.C (readLyXformat2): Generate an error dialog if there are
14671         unknown layouts.
14672
14673 2001-07-16  Juergen Vigna  <jug@sad.it>
14674
14675         * sp_spell.C: always compile ISpell part.
14676
14677         * lyxrc.C: added use_pspell entry and it's handling.
14678
14679 2001-07-13  Juergen Vigna  <jug@sad.it>
14680
14681         * sp_spell.C: removed double includes.
14682
14683 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14684
14685         Consistent use of Lsstream.h:
14686         * Lsstream.h: added using std::stringstream for consistencies sake.
14687
14688         * buffer.C: removed using std::stringstream
14689
14690         * lyxfont.C (stateText):
14691         * paragraph.C (asString):
14692         * text.C (selectNextWord, selectSelectedWord):
14693         * text2.C (setCounter):
14694         * vspace.C (asString, asLatexString):
14695         std::ostringstream -> ostringstream.
14696
14697 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14698
14699         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14700         * commandtags.h: add LFUN_HELP_ABOUTLYX
14701         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14702
14703 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14704
14705         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14706         cursorToggle()
14707         * lyx_gui_misc.C: remove spellchecker
14708         * lyxfunc.C: showSpellchecker
14709         * sp_base.h: added
14710         * sp_ispell.h: added
14711         * sp_pspell.h: added
14712         * sp_spell.C: added
14713         * sp_form.[Ch]: removed
14714         * spellchecker.[Ch]: removed
14715
14716 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14717
14718         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14719         is set.
14720         (simpleTeXSpecialChars): Simply print the input character without
14721         any special translation if pass_thru is set.
14722
14723         * layout.h: Added bool pass_thru to layout class for being able to
14724         implement pass through of a paragraph for Literate Programming.
14725
14726         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14727         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14728         * layout.C (Read): add "passthru" to list of layout tags and add
14729         code to set the pass_thru boolean when it is read.
14730
14731 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * trans_decl.h: remove allowed from KmodInfo
14734
14735         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14736         remove allowed code
14737         (Load): adjust
14738
14739         * paragraph_pimpl.C (erase): use boost::prior
14740
14741         * Painter.C (text): use data() instead of c_str() when length is
14742         also provided.
14743         * WorkArea.C (putClipboard): ditto
14744         * font.h (width): ditto
14745
14746         * BufferView2.C: use it-> instead of (*it). for iterators
14747         * texrow.C: ditto
14748         * paragraph_pimpl.C: ditto
14749         * paragraph.C: ditto
14750         * minibuffer.C: ditto
14751         * language.C: ditto
14752         * kbmap.C: ditto
14753         * encoding.C: ditto
14754         * counters.C: ditto
14755         * converter.C: ditto
14756         * chset.C: ditto
14757         * Variables.C: ditto
14758         * TextCache.C: ditto
14759         * MenuBackend.C: ditto
14760         * LyXAction.C: ditto
14761         * LColor.C: ditto
14762         * FloatList.C: ditto
14763         * DepTable.C: ditto
14764         * ColorHandler.C (LyXColorHandler): ditto
14765
14766 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14767
14768         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14769
14770         * text2.C (openStuff): reintroduce this method (which had been
14771         nuked in NEW_INSETS frenzy).
14772
14773         * lyxfunc.C (Dispatch): when an action has not been handled, use
14774         its name in the error message, not its number.
14775
14776         * paragraph.C (inInset): change method name to begin with lowercase.
14777
14778         * undo_funcs.C:
14779         * text2.C: updates because of this.
14780
14781 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14782
14783         * ToolbarDefaults.C (add): add spaces in error message
14784
14785 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14786
14787         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14788         (readLyXformat2): rename return_par to first_par, use lyxlex's
14789         pushToken and remove the manual push handling.
14790         (parseSingleLyXformat2Token): add another ert comp. variable:
14791         in_tabular, rename return_par to first_par. handle newlines better
14792
14793 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14794
14795         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14796
14797 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * text2.C (getParFromID): removed
14800
14801         * buffer.C (getParFromID): new method moved form lyxtext.
14802         * BufferView2.C (insertErrors): adjust
14803         (setCursorFromRow): adjust
14804         * BufferView_pimpl.C (restorePosition): adjust
14805         * lyxfunc.C (Dispatch): adjust
14806         * undo_funcs.C (textUndo): adjust
14807         (textRedo): adjust
14808         (textHandleUndo): adjust
14809         (textHandleUndo): adjust
14810
14811 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * buffer.C: up' the LYX_FORMAT
14814
14815         * lyxfont.h: turn NO_LATEX on as default
14816
14817         * buffer.C (insertErtContents): new methods of tex style compability.
14818         (parseSingleLyXformat2Token): use it several places.
14819         * tabular.C (OldFormatRead): and here
14820
14821 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * text2.C: remove some commented code.
14824         reindent file.
14825
14826         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14827         * trans.C: changes because of the above.
14828
14829 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14830
14831         * text2.C (setCounter): Fix counters bug with bibliography layout.
14832
14833 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14834
14835         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14836         own member functions
14837         (simpleTeXSpecialChars): ditto
14838
14839 2001-07-06  Juergen Vigna  <jug@sad.it>
14840
14841         * a lot of files: changed the access to LyXText::status and the
14842         call of undo-functions.
14843
14844         * undo.[Ch]: added a inset_id to the undo informations.
14845
14846         * undo_funcs.[Ch]: added and moved here all undo functions.
14847
14848         * lyxtext.h: give the status enum a weight, made status_ a private
14849         variable and made accessor functions for it, removed the whole bunch
14850         of undo-functions as they are now in their own file, make some
14851         functions publically available. Added function ownerParagraph with
14852         int parameter.
14853
14854         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14855         made InInset() a const function, added getParFromID() function.
14856
14857         * buffer.[Ch]: added const version for inset_iterator functions,
14858         added getInsetFromID() function.
14859
14860         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14861         changed undo functions for new version.
14862
14863 2001-07-05  Juergen Vigna  <jug@sad.it>
14864
14865         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14866         unknow mechanism does not call the proper constructor but only this
14867         one also if I request the other!?
14868
14869 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14870
14871         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14872
14873         * text2.C (LyXText): use initialization lists.
14874
14875         * lyxtext.h (Selection): initialize set_ and mark_
14876         (init): remove method
14877
14878 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14879
14880         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14881
14882 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14883
14884         * screen.[Ch]: change method names to begin with lowercase
14885
14886         * BufferView_pimpl.C (updateScrollbar): simplify further and
14887         hopefully make it a bit faster.
14888
14889 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14892         calling directly xforms functions.
14893
14894         * Painter.C (Painter):
14895         * lyx_cb.C (MenuWrite):
14896         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14897         fl_display.
14898
14899         * lyx_gui.C: remove bogus guiruntime extern declaration.
14900
14901 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14902
14903         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14904         in NEW_INSETS
14905         (redoDrawingOfParagraph): ditto
14906         (redoParagraphs): ditto
14907         (cutSelection): don't create a object for CutAndPaste use the
14908         static method directly
14909         (pasteSelection): ditto
14910
14911         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14912         LyXview (+ rename)
14913
14914 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14915
14916         * modifications to some other files because of this.
14917
14918         * Makefile.am (lyx_SOURCES): add XFormsView
14919
14920         * XFormsView.[Ch]: new files
14921
14922         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14923         the main window. Move the gui dependent stuff to XFormsView
14924
14925 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * tabular.C (GetCellInset): update cur_cell also in the row/col
14928         version of this function.
14929
14930         * lyxfunc.C: no need to include figure_form.h here.
14931
14932         * FontLoader.h:
14933         * lyxfunc.h:
14934         * lyxscreen.h:
14935         * text2.C:
14936         * lyxvc.C: no need to include forms.h here.
14937
14938 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14941
14942         * lyxfunc.C (Dispatch):
14943         * Spacing.C (set):
14944         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14945         constructor argument.
14946
14947 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14948
14949         * paragraph.C (Paragraph): dont't clear, and just set layout.
14950         (makeSameLayout): use params's copy contructor.
14951
14952         * ParagraphParameters.[Ch] (makeSame): delete method
14953
14954 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14955
14956         * Variables.[Ch]: fix indentation, rename set to isSet
14957
14958 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * lyxfunc.C (Dispatch): fix typo
14961
14962 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14963
14964         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14965         upper_bound.
14966
14967         * bufferlist.C: include assert.h for emergencyWrite().
14968
14969 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14972           give up at last (bug #425202) !
14973
14974 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * lyx_gui_misc.C:
14977         * sp_form.h:
14978         * sp_form.C:
14979         * spellchecker.h:
14980         * spellchecker.C: strip spellchecker options and bring up
14981           preferences tab instead
14982
14983 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14986         the istringstream constructor
14987
14988 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * paragraph.C (getLayout): fix return value
14991
14992         * paragraph.h: do not declare getLayout as inline.
14993
14994         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14995
14996 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14997
14998         * lyxcursor.h (operator<): new func
14999         (operator>): new func
15000         (operator>=): new func
15001         (operator<=): new func
15002
15003         * text.C (changeCase): use selection.start and selection.end
15004         (changeRegionCase): require from to be <= to. Require par to be a
15005         valid paragraph.
15006
15007         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15008
15009 2001-06-27  Juergen Vigna  <jug@sad.it>
15010
15011         * text.C (cursorLeftOneWord): changed to return the cursor and added
15012         overlay with BufferView * parameter which calls this one.
15013         (getWord): added
15014         (selectWord): use new getWord function.
15015         (changeCase): renamed from changeWordCase as and extended to work
15016         also on selections.
15017
15018         * lyxtext.h: added enum word_location
15019
15020         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15021         changeCase as this operates now also on selections.
15022
15023 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15024
15025         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15026
15027         * many files: send debug output to Debug::INFO instead of
15028         Debug::ANY.
15029
15030         * converter.C (View):
15031         (Convert):
15032         (Move): send debug output to Debug::FILES instead of console.
15033
15034 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15035
15036         * lyxfunc.C (getStatus): use func_status
15037
15038         * func_status.h: new header, describing the results of
15039         LyXFunc::getStatus;
15040
15041         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15042         LFUN_MATH_HALIGN.
15043
15044 2001-06-25  The LyX Project  <jug@sad.it>
15045
15046         * buffer.C (sgmlOpenTag):
15047         (sgmlCloseTag):
15048         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15049
15050 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15051
15052         * text2.C: remove some dead code
15053
15054         * tabular.C (GetCellInset): store the last cell checked (gotten)
15055
15056         * tabular.h: add the helper for the speedup
15057
15058         * lyxtext.h: remove some dead code
15059
15060 2001-06-26  The LyX Project  <Asger>
15061
15062         * paragraph.C: Change export to LaTeX of alignment to
15063         \begin{center} and family for better roundtrip work with reLyX.
15064
15065         * Tune the math drawing a bit.
15066
15067 2001-06-25  The LyX Project  <Asger>
15068
15069         * LColor.C (LColor): New color for math background. New color
15070         for buttons.
15071
15072 2001-06-25  The LyX Project  <jug@sad.it>
15073
15074         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15075
15076         * lyxfunc.C (Open):
15077         * bufferlist.C (newFile): do not restrict to files ending with
15078         .lyx
15079
15080         * BufferView_pimpl.C (MenuInsertLyXFile):
15081
15082 2001-06-24  The LyX Project  <jug@sad.it>
15083
15084         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15085         of compare_no_case
15086
15087 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15088
15089         * lyxtext.h: rename most methods to begin with a small char.
15090         Lots of changes because of this.
15091
15092         * paragraph.C (Paragraph): do not call fitToSize
15093         (erase): call Pimpl::erase
15094         (insertChar): call Pimpl::insertChar
15095         (insertInset): call Pipl::insertInset
15096         (breakParagraph): do not call fitToSize
15097         (breakParagraphConservative): do not call fitToSize
15098         (fitToSize): remove method
15099
15100         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15101
15102 2001-06-24  The LyX Project  <Asger>
15103
15104         * Fix Qt compilation^2
15105
15106 2001-06-24  The LyX Project  <jug@sad.it>
15107
15108         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15109         depthHook(getDepth()-1).
15110
15111         * paragraph.h:
15112         * ParagraphParameters.h:
15113         * ParameterStruct.h: change type of depth to unsigned int ==
15114         depth_type. Many adaptations to other files before of that.
15115
15116 2001-06-24  The LyX Project  <Asger>
15117
15118         * Fix Qt compilation.
15119
15120 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15121
15122         * paragraph.h: renamed several methods to begin with small letter.
15123         several changes to many parts of the code because of this.
15124
15125 2001-06-23  The LyX Project  <jug@sad.it>
15126
15127         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15128         rewritten to discard all double spaces when KeepEmpty is off
15129         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15130         to only handle newlines but not fiddle with spaces and friends.
15131
15132         * lyxfunc.C (MenuNew): when doing 'new from template', use
15133         template_path as default directory
15134
15135 2001-06-23  The LyX Project  <Asger>
15136
15137         * Clean-up of header file includes all over
15138         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15139
15140 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15141
15142         * paragraph.h: renamed from lyxparagraph.h
15143
15144 2001-06-23  Asger  <lyx@violet.home.sad.it>
15145
15146         * Buffer.h: Removed Buffer::resize
15147         * BufferList.h: Removed BufferList::resize
15148         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15149         the document lazily when we change the width, or the font settings.
15150
15151 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15152
15153         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15154
15155 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15156
15157         * buffer.h: remove out of date comment
15158
15159 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15160
15161         * lyxscreen.h:
15162         * screen.C: fix "theoretical" GC leak
15163
15164 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15165
15166         * LaTeX.C (scanAuxFile):
15167         (deplog): remove trailing \r when reading stream (useful under
15168         win32)
15169
15170 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15171
15172         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15173         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15174         and BufferView::theLockingInset(Inset*), so should use them and not
15175         access bv_->text->the_locking_inset directly.
15176
15177         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15178
15179 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * Makefile.am:
15182         * tex-defs.h: remove old unused file
15183
15184 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * BufferView_pimpl.C: fix typo, remove minibuffer message
15187           when buffer has loaded
15188
15189 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15190
15191         * lyxfunc.C (Dispatch): use stringstream
15192         (MenuNew): use stringstream
15193         (Open): use stringstream
15194
15195         * importer.C (Import): use stringstream
15196
15197         * bufferview_funcs.C (CurrentState): use stringstream
15198
15199         * LaTeX.C (run): use stringstream
15200
15201         * BufferView_pimpl.C (savePosition): use stringstream
15202         (restorePosition): use stringstream
15203         (MenuInsertLyXFile): use stringstream
15204
15205 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15206
15207         * BufferView.C:
15208         * Bullet.C:
15209         * ColorHandler.C:
15210         * FontInfo.C:
15211         * FontLoader.C:
15212         * LColor.C:
15213         * LaTeXFeatures.C:
15214         * Painter.C:
15215         * gettext.C:
15216         * lyx_gui_misc.C:
15217         * lyxserver.C:
15218         * vspace.C: removed // -*- C++ -*- as first line.
15219
15220         * lyxfind.h:
15221         * version.h: added // -*- C++ -*- as first line.
15222
15223 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15226
15227         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15228         of string
15229
15230 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15231
15232         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15233         of floats.
15234
15235 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15236
15237         * gettext.C: include LString.h even when --disable-nls is on.
15238
15239 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15240
15241         * converter.h (Get): changed argument type from int to
15242         FormatList::size_type to avoid unnecessary conversion.
15243
15244         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15245         before using it.
15246
15247 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * gettext.h: include LString.h even when --disable-nls is on.
15250
15251 2001-06-07  Juergen Vigna  <jug@sad.it>
15252
15253         * text.C (BreakAgain): subst spaces with tabs.
15254
15255         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15256         (resizeInsetsLyXText): set force on resizeLyXText.
15257
15258 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15259
15260         * gettext.h (gettext_init):
15261         (locale_init): use a real definition instead of a macro
15262
15263 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15264
15265         * Bufferview_pimpl.C:
15266         * LColor.h:
15267         * LColor.C: further lcolor tidies
15268
15269 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * BufferView_pimpl.C (updateScrollbar): simplify.
15272
15273         * BufferView2.C: don't include insets/insetinfo.h, change
15274         prototype for insertInset and call the Pimpl version. let
15275         updateInset call Pimpl version.
15276
15277         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15278         gotoInset to BufferView::Pimpl
15279
15280 2001-06-01  Juergen Vigna  <jug@sad.it>
15281
15282         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15283         inside a LockingInset (is the update needed at all?).
15284
15285 2001-05-31  Juergen Vigna  <jug@sad.it>
15286
15287         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15288         here not the old one otherwise how should we compare it afterwards
15289         if it's the same!
15290
15291 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * lyxfont.C:
15294         * tabular.C:
15295         * tabular-old.C:
15296         * FontInfo.C: bring C functions into global namespace when
15297         necessary
15298
15299 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15300
15301         * LString.h: make sure config.h has been loaded before LString.h.
15302
15303         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15304         (one for each char read by EatLine!).
15305
15306         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15307         variables.
15308
15309 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15310
15311         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15312         to the same as the par we break from
15313
15314 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15315
15316         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15317
15318         * MenuBackend.C (expand): also create menu entries for wide
15319         versions of the floats.
15320
15321         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15322
15323         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15324
15325         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15326         frontends/Makefile.am
15327
15328         * text2.C: adjust
15329         * text.C: adjust
15330
15331
15332         * tabular.C (getTokenValue): add std::
15333
15334         * tabular-old.C (getTokenValue): add std::
15335         (getTokenValue): ditto
15336         (getTokenValue): ditto
15337
15338         * screen.C (ToggleSelection): adjust
15339
15340         * lyxtext.h: put selection cursors inside a Selection struct.
15341
15342         * lyxfunc.C (moveCursorUpdate): adjust
15343
15344         * lyxfont.C (latexWriteStartChanges): add std::
15345
15346         * lyxfind.C: adjust
15347
15348         * font.h: delete with(char const *, LyXFont const &)
15349
15350         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15351
15352         * FontInfo.C (getFontname): add std::
15353
15354         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15355         (workAreaButtonPress): adjust
15356         (tripleClick): adjust
15357         (update): adjust
15358         (moveCursorUpdate): adjust
15359         (Dispatch): adjust
15360
15361         * BufferView2.C (gotoInset): adjust
15362
15363 2001-05-30  Juergen Vigna  <jug@sad.it>
15364
15365         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15366         to check pspell I add this as default as I now have new pspell
15367         libraries and they seem to use this.
15368
15369 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15370
15371         * text2.C (CutSelection): make the cursor valid before the call to
15372         ClearSelection.
15373
15374 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375
15376         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15377         relied on 0 terminated strings and other horrors. Bug found due to
15378         the new assert in lyxstring!
15379
15380         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15381         KP_ keys.
15382
15383 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15384
15385         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15386         to latinkeys.bind.
15387
15388         * lyxfunc.C (processKeySym): change method of getting to the
15389         self-insert char.
15390
15391         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15392         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15393         * BufferView_pimpl.[Ch]: here as private methods.
15394
15395 2001-05-28  Juergen Vigna  <jug@sad.it>
15396
15397         * text.C (SetHeightOfRow): added the update() call again as it is
15398         needed to initialize inset dimensions!
15399
15400 2001-05-16  Juergen Vigna  <jug@sad.it>
15401
15402         * text2.C (SetCharFont): Add new function with BufferView * and
15403         bool toggleall parameters for setting insets internal fonts.
15404         (SetFont): Freeze the undo as we may change fonts in Insets and
15405         all this change should be inside only one Undo!
15406
15407         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15408         setting font's in insets as for them we have the SetFont function!
15409
15410 2001-05-15  Juergen Vigna  <jug@sad.it>
15411
15412         * text2.C (ClearSelection): to be sure we REALLY don't have any
15413         selection anymore!
15414
15415         * tabular.C (TeXCellPreamble): fixed the left border problem for
15416         multicolumn cells.
15417
15418 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15419
15420         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15421         dependancy file
15422
15423 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15426         LFUN_BREAKPARAGRAPH.
15427
15428         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15429         help test to "internal only", similar for LFUN_INSERT_URL
15430
15431         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15432         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15433         auto_region_delete and deadkeys.
15434
15435 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15436
15437         * LColor.h:
15438         * LColor.C: remove some dead entries, tidy a little
15439
15440 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15441
15442         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15443         commented code.
15444         (Dispatch): implement LFUN_ESCAPE
15445
15446         * commandtags.h: add LFUN_ESCAPE
15447
15448         * LyXAction.C (init): add entry for LFUN_ESCAPE
15449
15450         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15451         Remove commented code.
15452         (insertNote): moved here
15453         (open_new_inset): moved here
15454
15455         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15456         BufferView_pimpl
15457
15458 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * kbmap.C (findbinding): clean it up and make it work correctly.
15461
15462         * lyx_main.C (init): do not pass argc and argv as parameters
15463
15464 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15465
15466         * buffer.C: fix path for OS/2 & Win32
15467
15468         * lyx_gui.C:
15469         * lyx_main:
15470         * lyx_main.C: Added os:: class.
15471
15472         * os2_defines.h: update
15473
15474 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15477         better by trying again with reduced state.
15478
15479 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15480
15481         * lyxrc.C (read): print error about invalid key sequence only when
15482         debugging (because not all latinX keysyms are known to some X
15483         servers)
15484
15485         * kbsequence.C (getiso): add a few std:: qualifiers
15486         (getiso): comment out extra return statement.
15487
15488 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15489
15490         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15491         handling.
15492         (Dispatch): enhance the accent inset a bit. (not perfect)
15493
15494 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15495
15496         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15497
15498 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * bufferlist.C (emergencyWrite): fix assert() call
15501
15502 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15503
15504         * text.C (InsertChar): Added trivial patch to only send the "you
15505         can not do multiple spaces this way" message once during a
15506         session.
15507
15508 2001-05-08  Baruch Even  <baruch@lyx.org>
15509
15510         * Makefile.am: Changed order of libraries to get LyX to link properly
15511         with the gnome frontend.
15512
15513 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * LaTeXFeatures.h: add a std:: qualifier
15516
15517 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15518
15519         * paragraph.C (String): use stringstream
15520
15521 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * paragraph.C (writeFile): remove footflag arg
15524
15525         * buffer.C (makeLaTeXFile): use stringstream
15526         (latexParagraphs): remove footnot gurba
15527
15528         * LaTeXFeatures.C (getPackages): use stringstream
15529         (getMacros): likewise
15530         (getTClassPreamble): likewise
15531         (getFloatDefinitions): new method
15532
15533         * paragraph.C (writeFile): reindent
15534         (Erase): reindent
15535
15536         * WorkArea.h: revert the xpos + etc changes.
15537
15538         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15539
15540         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15541
15542         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15543         (pasteSelection): likewise
15544         * text2.C (CreateUndo): likewise
15545
15546 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * minibuffer.C (peek_event): temporarily reduce the functionality
15549         of the minibuffer (to allow args on lfuns)
15550
15551         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15552         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15553
15554         * buffer.C (readInset): add compability reading of old float
15555         lists, add reading of new style float list.
15556         (readInset): avoid reevaluation of inscmd.getCmdName()
15557         (getLists): reindent
15558
15559         * MenuBackend.C (MenuItem): implement parsing of
15560         md_floatlistinsert and md_floatinsert.
15561         (expand::LastFiles): move initalizaton of iterators out of loop,
15562         avoid reevaluation.
15563         (expand::Documents): introduce typdedef vector<string> Strings,
15564         and use it.
15565         (expand::ExportFormats): introduce typedef vector<Format const *>
15566         Formats, and use it.
15567         (expand): implement FloatListInsert and FloatInsert.
15568
15569         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15570         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15571         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15572
15573         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15574         handling.
15575         (Dispatch::LFUN_FLOAT_LIST): implement
15576
15577 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15578
15579         * LaTeX.C (run): Fix problem with --export code.
15580
15581 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15582
15583         * BufferView.[Ch] (workarea): removed.
15584         (getClipboard) new method; wrapper for workarea()->getClipboard()
15585
15586         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15587         bug.
15588
15589         * WorkArea.h (width, height, xpos, ypos): These methods all
15590         returned the dimensions of the work_area sub-area of WorkArea,
15591         resulting in a position error if the WorkArea were resized. Now
15592         return the dimensions of the entire WorkArea.
15593
15594         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15595
15596 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15597
15598         * LaTeX.C (deplog): correct the syntax of regex reg1
15599
15600 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15601
15602         * undo.C: remove !NEW_INSETS cruft
15603
15604 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15605
15606         * text2.C: remove !NEW_INSETS cruft
15607
15608         * text.C: remove !NEW_INSETS cruft
15609
15610         * tabular.C: remove !NEW_INSETS cruft
15611
15612         * spellchecker.C: remove !NEW_INSETS cruft
15613
15614         * lyxtext.h: remove !NEW_INSETS cruft
15615
15616         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15617
15618         * lyxfunc.C: remove !NEW_INSETS cruft
15619
15620         * lyxfind.C: remove !NEW_INSETS cruft
15621
15622         * lyx_cb.C: remove !NEW_INSETS cruft
15623
15624         * figureForm.C: remove  !NEW_INSETS cruft
15625
15626         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15627
15628         * buffer.[Ch]: remove !NEW_INSETS cruft
15629
15630         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15631
15632         * CutAndPaste.C: remove !NEW_INSETS cruft
15633
15634         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15635
15636         * BufferView2.C: remove !NEW_INSETS cruft
15637
15638         * BufferView.h: remove !NEW_INSETS cruft
15639
15640 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15641
15642         * Lsstream.h: include LString.h before the sstream headers to
15643         fix problem with gcc 2.95.3 and lyxstring
15644
15645 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15646
15647         * lyx_main.C: add using directives when needed for C functions
15648         declared in std:: namespace.
15649
15650 2001-04-27  Juergen Vigna  <jug@sad.it>
15651
15652         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15653         (SetHeightOfRow): comment out the update call should not be needed!
15654
15655 2001-04-13  Juergen Vigna  <jug@sad.it>
15656
15657         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15658         (LyXTabular): tried to minimize operator= operations (and realized
15659         hopfully Lars wish).
15660
15661 2001-04-27  Juergen Vigna  <jug@sad.it>
15662
15663         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15664
15665 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15666
15667         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15668
15669         * buffer.C (readInset): hack to make listof algorithm work
15670
15671         * BufferView_pimpl.C: hack to make listof algorithm work
15672
15673 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15674
15675         * LyXAction.C: removed all !NEW_INSETS cruft
15676         (init): moved lfun_item in method
15677
15678         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15679
15680 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15681
15682         * BufferView2.C (theLockingInset): white space.
15683
15684 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15685
15686         * minibuffer.C: include <iostream>
15687
15688         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15689
15690         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15691
15692         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15693
15694         * text.[Ch] (TransposeChars): new method
15695
15696 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15697
15698         * call message directly through LyXView instead of through LyXFunc
15699         * BufferView2.C: adjust
15700         * BufferView_pimpl.C: adjust
15701         * FontLoader.C: adjust
15702         * buffer.C: adjust
15703         * bufferview_funcs.C: adjust
15704         * converter.C: adjust
15705         * figureForm.C: adjust
15706         * importer.C: adjust
15707         * lyx_cb.C: adjust
15708         * lyx_gui_misc.C: adjust
15709         * lyxfunc.C: adjust
15710         * lyxvc.C: adjust
15711         * text2.C: adjust
15712         + more files in subdirs
15713
15714         * lyxparagraph.h (size): move up int file
15715         (GetLayout): ditto
15716
15717         * adjust all uses of Assert to lyx::Assert.
15718
15719         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15720         lyxfunctional in namespace lyx
15721         * layout.C (hasLayout): ditto
15722         (GetLayout): ditto
15723         (GetLayout): ditto
15724         (delete_layout): ditto
15725         (NumberOfClass): ditto
15726         * converter.C (GetFormat): ditto
15727         (GetNumber): ditto
15728         (Add): ditto
15729         (Delete): ditto
15730         (SetViewer): ditto
15731         * bufferlist.C (getFileNames): ditto
15732         (emergencyWriteAll): ditto
15733         (exists): ditto
15734         (getBuffer): ditto
15735         * MenuBackend.C (hasSubmenu): ditto
15736         (hasMenu): ditto
15737         (getMenu): ditto
15738         * BufferView_pimpl.C (getInsetByCode): ditto
15739
15740 2001-04-18  Juergen Vigna  <jug@sad.it>
15741
15742         * vspace.C (asLatexString): fixed the 100% problem.
15743
15744 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15745
15746         * lyxfunc.C (Dispatch):
15747         * minibuffer.C:
15748         * minibuffer.h: add a few std:: qualifiers
15749
15750 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15751
15752         * minibuffer.[Ch]: reimplement so that commands is initiated and
15753         run from lyxfunc, simplified som handling, and made the completion
15754         and history code for complete. wip.
15755
15756         * lyxfunc.C (processKeySym): call message
15757         (miniDispatch): new temporary method
15758         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15759         (LFUN_MESSAGE): implement
15760         (LFUN_MESSAGE_PUSH): implement
15761         (LFUN_MESSAGE_POP): implement
15762         (initMiniBuffer): the initial/defualt minibuffer message.
15763
15764         * lyxfont.[Ch]: inline some more getters
15765
15766         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15767
15768         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15769
15770         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15771         (AutoSave): use LFUN_MESSAGE
15772         (Reconfigure): ditto
15773
15774         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15775
15776         * figureForm.C: use LFUN_MESSAGE
15777
15778         * converter.C (runLaTeX): use LFUN_MESSAGE
15779
15780         * bufferview_funcs.C: use LFUN_MESSAGE
15781         (Melt): ditto
15782         (changeDepth): ditto
15783
15784         * bufferparams.h: use boost::
15785
15786         * bufferlist.h: inherit privately from noncopyable
15787
15788         * bufferlist.C (loadLyXFile): remove some commented code.
15789
15790         * buffer.C (runChktex): use LFUN_MESSAGE
15791
15792         * ShareContainer.h: inherit privately from noncopyable
15793
15794         * ParagraphParameters.[hC] (depth): inline it.
15795
15796         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15797         methods.
15798         (message): new method
15799         (messagePush): ditto
15800         (messagePop): ditto
15801         (show): init minibuffer
15802         (showState): direct call
15803
15804         * LaTeX.[Ch]: inherit privately from noncopyable
15805         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15806         instead of WriteStatus.
15807
15808         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15809
15810         * BufferView_pimpl.C (buffer): don't init minibuffer
15811         (workAreaButtonPress): use LFUN_MESSAGE
15812         (workAreaButtonRelease): ditto
15813         (savePosition): ditto
15814         (restorePosition): ditto
15815         (MenuInsertLyXFile): ditto
15816         (workAreaExpose): don't init minibuffer
15817         (update): remove commented code, simplify
15818
15819         * BufferView2.C (openStuff): use LFUN_MESSAGE
15820         (toggleFloat): ditto
15821         (menuUndo): ditto
15822         (menuRedo): ditto
15823         (copyEnvironment): ditto
15824         (pasteEnvironment): ditto
15825         (copy): ditto
15826         (cut): ditto
15827         (paste): ditto
15828         (gotoInset): ditto
15829         (updateInset): remove some commented code
15830
15831         * lastfiles.h: inherit privately from noncopyable
15832         * layout.h: ditto
15833         * lyx_gui.h: ditto
15834         * lyx_main.h: ditto
15835         * lyxlex.h: ditto
15836         * lyxlex_pimpl.h: ditto
15837
15838         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15839         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15840         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15841
15842         * LyXAction.h: inherit privately from noncopyable, add methods
15843         func_begin, func_end, returning iterators to the func map.
15844
15845         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15846         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15847         (func_begin): new method
15848         (func_end): new method
15849
15850         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15851         and not)
15852         (copySelection): ditto
15853         (pasteSelection): ditto
15854
15855         * BufferView.C: whitespace change
15856         * BufferView.h: inherit privately from noncopyable
15857
15858 2001-04-16  Allan Rae  <rae@lyx.org>
15859
15860         * tabular-old.C (l_getline):
15861         * spellchecker.C (sc_check_word):
15862         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15863         an unrecognised preprocessor directive.  So ensure they're wrapped.
15864
15865 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15866
15867         * src/exporter.C (Export): Give an error message when path to file
15868         contains spaces.
15869
15870 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15871
15872         * LaTeX.C (deplog): Always check that foundfile exists.
15873
15874 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15875
15876         * lyx_main.h:
15877         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15878
15879 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15880
15881         * tabular.[Ch] (getLabelList): implement new method
15882
15883         * minibuffer.h: comment ouf setTiimer
15884
15885         * minibuffer.C (ExecutingCB): constify res
15886         (peek_event): constify s
15887         (Set): constify ntext
15888         (Init): constify nicename
15889
15890         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15891
15892         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15893         (savePosition): use two params to Minibuffer::Set
15894         (restorePosition): ditto
15895
15896 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15897
15898         * lyx_main.C: include language.h
15899
15900         * Makefile.am (lyx_main.o): add language.h
15901
15902 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15903
15904         * exporter.C:
15905         * paragraph.C:
15906         * screen.C:
15907         * tabular.C:
15908         * CutAndPaste.C: include gettext.h
15909
15910         * lyxfont.h: remove old hack with ON and OFF.
15911
15912         * lyxparagraph.h:
15913         * lyxfont.h: do not include language.h...
15914
15915         * BufferView2.C:
15916         * LaTeXFeatures.C:
15917         * Painter.C:
15918         * bufferview_funcs.C:
15919         * font.C:
15920         * lyxfont.C:
15921         * text.C:
15922         * text2.C:
15923         * trans_mgr.C:
15924         * paragraph.C: ... but do it here instead
15925
15926 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15927
15928         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15929
15930         * tabular.C: small reformat
15931
15932         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15933         NEW_INSETS version
15934         (GetChar): ditto
15935         (BreakParagraph): ditto
15936         (SetOnlyLayout): ditto
15937         (SetLayout): ditto
15938
15939         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15940         with one arg less.
15941
15942         * lastfiles.C: removed most using decl, add std:: where needed
15943
15944         * buffer.C: ws changes
15945
15946         * MenuBackend.C (class compare_format): put into anon namespace
15947         (expand): constify label, names, action, action2
15948         (expand):
15949
15950         * text.C (SingleWidth): constify font
15951         (IsBoundary): constify rtl2
15952         (GetVisibleRow): constify ww
15953
15954         * LaTeX.C (deplog): constify logfile
15955
15956         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15957         start_x, end_x
15958         (workAreaExpose): constify widthChange, heightChange
15959
15960         * lyxrow.C (par): moved
15961         (height): moved
15962         (next): moved
15963         * lyxrow.h: as inlines here
15964
15965         * lyxfont.h (shape): moved from lyxfont.C
15966         (emph): moved from lyxfont.C
15967
15968         * lyxfont.C (LyXFont): use initialization list for all
15969         constructors
15970         (shape): move to lyxfont.h as inline
15971         (emph): move to lyxfont.h as inline
15972
15973
15974 2001-04-04  Juergen Vigna  <jug@sad.it>
15975
15976         * vspace.C: had to include stdio.h for use of sscanf
15977
15978 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15979
15980         * BufferView.h:
15981         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15982         independent of xforms.
15983
15984 2001-04-02  Juergen Vigna  <jug@sad.it>
15985
15986         * spellchecker.C: fixed namespace placing!
15987
15988 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15989
15990         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15991         the LyXParagraph * is 0.
15992
15993 2001-03-29  Juergen Vigna  <jug@sad.it>
15994
15995         * vspace.C: added support for %, c%, p%, l%.
15996         (stringFromUnit): added helper function.
15997         (asLatexString): changed to give right results for the %-values.
15998
15999         * buffer.C: convert the widthp in a width%.
16000
16001 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16002
16003         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16004         figureForm.[Ch].
16005
16006         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16007         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16008
16009         * lyx_cb.[Ch]: see above.
16010
16011         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16012         form1.[Ch].
16013
16014         * form1.[Ch]:
16015         * lyx.[Ch]: replaced by figure_form.[Ch].
16016
16017         * lyx_gui.C:
16018         * lyx_gui_misc.C:
16019         * lyxfunc.C: changed headers associated with above changes.
16020
16021 2001-03-27  Juergen Vigna  <jug@sad.it>
16022
16023         * BufferView_pimpl.C: set the temporary cursor right!
16024
16025 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16026
16027         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16028
16029 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16030
16031         * LString.h: removed "using std::getline"!
16032
16033         * BufferView_pimpl.C (Dispatch): changes due to changes in
16034         InsetInclude::Params.
16035
16036         * buffer.C (tag_name): removed redundant break statements as they were
16037         producing lots of warnings with my compiler.
16038
16039 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16040
16041         * LString.h: add "using std::getline" when using the real <string>.
16042
16043 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16044
16045         * buffer.C: removed bitset usage.
16046         PAR_TAG moved to an anonymous name space.
16047         (tag_name): new funtion, also in the anonymous namespace.
16048         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16049         (makeDocBookFile): clean code. Completed transition from string arrays
16050         to string vectors.
16051         (SimpleDocBookOnePar): code clean.
16052
16053 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16054
16055         * tabular.C: add some comments.
16056
16057 2001-03-22  Juergen Vigna  <jug@sad.it>
16058
16059         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16060         compatibility read a bit and fixed bug with minipage in different
16061         depth.
16062
16063 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16064
16065         * buffer.C (pop_tag): removed.
16066         (push_tag): removed.
16067         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16068         array replaced with vector. Added support for CDATA sections.
16069         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16070         at any nest level.
16071         (makeDocBookFile): XML conformant declaration of CDATA section,
16072         fixed bug related to <emphasis> in the first paragraph char.
16073         (sgmlOpenTag): exclude empty tags.
16074         (sgmlCloseTag): ditto.
16075
16076         * buffer.h (pop_tag): removed.
16077         (push_tag): removed.
16078
16079 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16080
16081         * language.h (Languages): added size_type and size().
16082
16083 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16084
16085         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16086         response on compability reading of minipages. One probliem is that
16087         the old usage of minipages was «flertydig»
16088
16089         * several files here and in subdirs: don't use static at file
16090         scope use anon namespaces instead.
16091
16092 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16093
16094         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16095         LaTeX output. This is necessary for Literate document
16096         processing.
16097
16098 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16099
16100         * buffer.C: insert hfill when needed.
16101
16102         * tabular.C (l_getline): use string::erase, small whitespace change.
16103
16104         * BufferView_pimpl.C: try the anon namespace.
16105         * WorkArea.C: ditto
16106
16107 2001-03-16  Juergen Vigna  <jug@sad.it>
16108
16109         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16110         otherwise it won't open options-dialogs.
16111
16112         * buffer.C: honor pextraWidth(p) on converting minipages.
16113
16114         * tabular.C (l_getline): changed the functions to strip trailing \r.
16115
16116 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16117
16118         * BufferView_pimpl.C:
16119         * minibuffer..C: added "using SigC::slot" declaration.
16120
16121 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16122
16123         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16124
16125         * text2.C: ditto
16126
16127         * text.C: ditto
16128
16129         * paragraph.C: ditto
16130
16131         * lyxtext.h: NO_PEXTRA
16132
16133         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16134
16135         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16136         * ParameterStruct.h: ditto
16137         * ParagraphParameters.h: ditto
16138         * lyxparagraph.h: ditto
16139
16140 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16141
16142         * buffer.C: add compability for minipage alignment.
16143         (latexParagraphs): remove unwanted pextra check.
16144
16145         * several files: remove CXX_WORKING_NAMESPACES
16146
16147         * buffer.C (pop_tag): tie is in namespace boost
16148
16149         * BufferView.h: noncopyable is in namespace boost
16150         * lyxlex.h: ditto
16151         * lyx_main.h: ditto
16152         * lyx_gui.h: ditto
16153         * layout.h: ditto
16154         * lastfiles.h: ditto
16155         * bufferlist.h: ditto
16156         * ShareContainer.h: ditto
16157         * LyXView.h: ditto
16158         * LyXAction.h: ditto
16159         * LaTeX.h: ditto
16160
16161 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16162
16163         * Merging changes from BRANCH_MVC back into HEAD.
16164
16165         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16166
16167 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16168
16169         * BufferView_pimpl.C: change from intl.C
16170
16171         * combox.h:
16172         * combox.C:
16173         * Makefile.am: move combox.*
16174
16175         * form1.h:
16176         * form1.C:
16177         * lyx_gui.C:
16178         * intl.h:
16179         * intl.C: remove dialog (covered by prefs)
16180
16181 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16182
16183         * lyxfunc.C (Dispatch): removed redundant break statement.
16184
16185 2001-03-14  Juergen Vigna  <jug@sad.it>
16186
16187         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16188
16189 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16190
16191         * buffer.C: add hack to fix compability reading of minipages.
16192
16193 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16194
16195         * buffer.C (getLists): Cleanup.
16196
16197 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16198
16199         * lyxfont.C (update): don't honor toggleall on font size.
16200
16201 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16202
16203         * bmtable.c:
16204         * bmtable.h:
16205         * Makefile.am: moved to frontends/xforms/
16206
16207         * lyx_gui_misc.C:
16208         * lyxfunc.C:
16209         * BufferView_pimpl.C: changes for moved mathpanel
16210
16211 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16212
16213         * gettext.h: fix gettext_init() in --disable-nls
16214
16215 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16216
16217         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16218
16219 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16220
16221         * lyx.C:
16222         * lyx.h: strip external form
16223
16224 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16225
16226         * BufferView_pimpl.C: add comment, destroySplash()
16227
16228 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16229
16230         * BufferView_pimpl.C:
16231         * LyXAction.C:
16232         * buffer.C:
16233         * commandtags.h:
16234         * lyxfunc.C: use re-worked insetinclude
16235
16236 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16237
16238         * buffer.C: add using std::stringstream.
16239
16240         * lyx_cb.C: readd using std::ios.
16241
16242         * buffer.C: add using std::map.
16243
16244         * BufferView_pimpl.C: add using std::vector.
16245
16246         * ShareContainer.h: add std:: to swap.
16247
16248         * buffer.h: add some typedefs
16249         * buffer.C (getLists): use them
16250         (getLists): renamed from getTocList.
16251         add a counter for the different float types and use it in the
16252         generated string.
16253         (getLists): use the same counter for the NEW_INSETS and the "non"
16254         NEW_INSETS
16255
16256         * lyx_cb.h: remove unused items, includes, using etc.
16257
16258         * ShareContainer.h: remove some commented code, add more comments
16259         and "documentation".
16260
16261 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16262
16263         * buffer.C (getTocList): make the list also when NEW_INSETS is
16264         defined.
16265
16266         * buffer.h: remove TocType
16267
16268         * buffer.C (getTocList): change to return a map<string,
16269         vector<TocItem> >, implement for dynamic number of list.
16270
16271         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16272         * text2.C (PasteSelection): adjust
16273         * CutAndPaste.C (pasteSelection): adjust
16274
16275         * FloatList.C (FloatList): update from the new_insets branch.
16276         * Floating.[Ch]: ditto
16277         * LaTeXFeatures.C: ditto
16278         * buffer.C: ditto
16279         * lyxlex_pimpl.C: ditto
16280
16281         * paragraph.C (Last): remove when NEW_INSETS is defined.
16282
16283         * other file: changes because of the above.
16284
16285 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16286
16287         * lyxparagraph.h: rename next to next_, previous to previous_,
16288         make them private for NEW_INSETS. Rename Next() to next(),
16289         Previous() to previous().
16290
16291         * other files: changes because of the above.
16292
16293 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16294
16295         * BufferView.h:
16296         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16297         problem.
16298
16299 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * main.C (main): pass lyx_localedir to gettext_init().
16302
16303         * gettext.h: remove locale_init and gettext_init macros
16304
16305         * gettext.C (locale_init): new function
16306         (gettext_init): new function
16307
16308         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16309         setlocale().
16310
16311 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16312
16313         * Moved credits to frontends:
16314         * credits.[Ch]: removed
16315         * credits_form.[Ch]: removed
16316         * lyx_gui_misc.C: remove credits stuff
16317         * Makefile.am:
16318
16319 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16320
16321         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16322
16323         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16324         unneeded destructor.
16325
16326         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16327         a standalone pointer again.
16328
16329         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16330
16331 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16332
16333         * Makefile.am:
16334         * filedlg.h:
16335         * filedlg.C:
16336         * LyXAction.C:
16337         * ToolbarDefaults.C:
16338         * bufferlist.C:
16339         * commandtags.h:
16340         * form1.C:
16341         * form1.h:
16342         * lyx_cb.C:
16343         * lyx_cb.h:
16344         * lyxfunc.h:
16345         * lyxfunc.C:
16346         * BufferView_pimpl.C: use new file dialog in GUII
16347
16348         * lyx_cb.h:
16349         * lyx_cb.C: remove LayoutsCB to Toolbar
16350
16351 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16352
16353         * ShareContainer.h (get): add std:: qualifier
16354
16355 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16356
16357         * ShareContainer.h: define a proper ShareContainer::value_type
16358         type (and use typename to please compaq cxx)
16359
16360 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16361
16362         * lyxparagraph.h: move serveral local vars to
16363         ParameterStruct/ParagraphParameters., use ShareContainer in
16364         FontTable., make vars in FontTable private and add getter and
16365         setter.
16366
16367         * paragraph.C: changes because of the above.
16368
16369         * lyxfont.h: remove copy constructor and copy assignment. (the
16370         default ones is ok), move number inside FontBits. move inlines to
16371         lyxfont.C
16372
16373         * lyxfont.C: add number to initializaton of statics, move several
16374         inlines here. constify several local vars. some whitespace
16375         cleanup. Dont hide outerscope variables.
16376
16377         * Spacing.h: add two new constructors to match the set methods.
16378
16379         * ShareContainer.h: new file, will perhaps be moved to support
16380
16381         * ParameterStruct.h: new file
16382
16383         * ParagraphParameters.h: new file
16384
16385         * ParagraphParameters.C: new file
16386
16387         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16388         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16389
16390         * BufferView_pimpl.C: ParagraphParameter changes.
16391         * buffer.C: Likewise.
16392         * bufferview_funcs.C: Likewise.
16393         * text.C: Likewise.
16394         * text2.C: Likewise.
16395
16396 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16397
16398         * lyxfind.C (LyXReplace): do not redefine default argument in
16399         implementation.
16400         (IsStringInText): ditto
16401         (SearchForward): ditto
16402         (SearchBackward): ditto
16403
16404 2001-03-06  Juergen Vigna  <jug@sad.it>
16405
16406         * lyxfind.C (IsStringInText): put parentes around expressions.
16407
16408 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16409
16410         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16411
16412 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16413
16414         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16415
16416         * stl_string_fwd.h: add comment
16417
16418         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16419
16420         * tabular.h:
16421         * tabular.C: remove unused DocBook methods
16422
16423         * intl.C:
16424         * language.C:
16425         * paragraph.C:
16426         * buffer.C:
16427         killed DO_USE_DEFAULT_LANGUAGE
16428
16429 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16430
16431         * lyx_gui.C: do not include language.h.
16432
16433         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16434         arguments in function implementation.
16435
16436 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16437
16438         * BufferView_pimpl.C: add <ctime>
16439
16440 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16441
16442         * BufferView_pimpl.C: add using std::find_if
16443
16444 2001-02-27  José Matos  <jamatos@fep.up.pt>
16445
16446         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16447         by OnlyPath.
16448
16449 2001-02-11  José Matos  <jamatos@fep.up.pt>
16450
16451         * buffer.C (makeDocBookFile): command styles now have a parameter as
16452         "title" by default.
16453
16454 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16455
16456         * layout_forms.[Ch]: removed
16457         * lyx_cb.[Ch]: out character
16458         * lyx_gui.C: out character
16459         * lyx_gui_misc.C: out character
16460         * bufferview_funcs.C: : out character,
16461         added toggleall as parameter in ToggleAndShow
16462
16463 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16464
16465         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16466
16467         * text2.C (SetCurrentFont): Disable number property at boundary.
16468
16469 2001-02-26  Juergen Vigna  <jug@sad.it>
16470
16471         * lyxfunc.C (getStatus): added a string argument override function so
16472         that this is correctly called from LyXFunc::Dispatch if it contains a
16473         do_not_use_argument which is used!
16474         (Dispatch): added check for "custom" export and call appropriate func.
16475
16476 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16477
16478         * lyxrc.C: Add language_command_local, language_use_babel and
16479         language_global_options.
16480
16481         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16482
16483         * buffer.C (makeLaTeXFile): Use language_use_babel and
16484         language_global_options.
16485
16486 2001-02-23  Juergen Vigna  <jug@sad.it>
16487
16488         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16489         which works with LyXText and putted it inside BufferView. Here now we
16490         only call for that part the BufferView::Dispatch() function.
16491
16492         * BufferView.C (Dispatch): added.
16493
16494         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16495         functions which needs to use a LyXText over from LyXFunc.
16496         (MenuInsertLyXFile): added
16497         (getInsetByCode): added
16498         (moveCursorUpdate): added
16499         (static TEXT): added
16500
16501 2001-02-22  Juergen Vigna  <jug@sad.it>
16502
16503         * BufferView_pimpl.C (update): call a status update to see if LyXText
16504         needs it.
16505
16506 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16507
16508         * vc-backend.C (revert): implement for CVS
16509         (getLog): implement for CVS
16510
16511 2001-02-20  Juergen Vigna  <jug@sad.it>
16512
16513         * text2.C (ClearSelection): added BufferView param for inset_owner call
16514
16515         * lyxfunc.C (TEXT): added this function and use it instead of
16516         directly owner->view()-text of getLyXText().
16517
16518 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16519
16520         * src/layout_forms.C: out preamble
16521         * src/layout_forms.h: out preamble
16522         * src/lyx_cb.C: out preamble
16523         * src/lyx_cb.h: out preamble
16524         * src/lyx_gui.C: out preamble
16525         * src/lyx_gui_misc.C: out preamble
16526         * src/lyxfunc.C: connect with guii preamble
16527
16528 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16529
16530         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16531
16532 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16533
16534         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16535         whether to run bibtex.
16536
16537 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16538
16539         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16540
16541 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16542
16543         * Makefile.am (lyx_SOURCES): removed bibforms.h
16544
16545         * vspace.h: doxygen
16546
16547         * text.C (GetVisibleRow): make several local vars const
16548
16549         * tabular.C: small cleanup.
16550
16551         * lyxserver.C (callback): use compare instead of strncmp
16552
16553         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16554         inlines to after class or to paragraph.C
16555
16556         * lyxfont.h: remove friend operator!=
16557
16558         * converter.h: move friend bool operator< to non friend and after
16559         class def.
16560
16561         * combox.h: small cleanup
16562
16563         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16564         to inlines after class def.
16565
16566         * buffer.C (pop_tag): use string operations instead of strcmp
16567
16568         * bmtable.c: doxygen, small cleanup
16569
16570         * LaTeX.h: remove friend operator==
16571
16572 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16573
16574         * screen.C:
16575         * lyxrc.[Ch]:
16576         * lyxfunc.C:
16577         * lyxfont.[Ch]:
16578         * lyx_cb.C:
16579         * intl.[Ch]:
16580         * commandtags.h:
16581         * buffer.C:
16582         * WorkArea.[Ch]:
16583         * LyXAction.C:
16584         * BufferView_pimpl.C:
16585         * BufferView.[Ch]: remove cruft
16586
16587 2001-02-14  Juergen Vigna  <jug@sad.it>
16588
16589         * lyxfunc.C: removed #if 0 unused code
16590
16591         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16592
16593         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16594
16595         * text2.C (SetSelection): added a BufferView * parameter
16596
16597 2001-02-13  Juergen Vigna  <jug@sad.it>
16598
16599         * lyxfunc.C (Dispatch): fixed protected blank problem.
16600         * BufferView2.C (protectedBlank): added LyxText * parameter.
16601
16602         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16603         (AppendColumn): same as above for column_info.
16604
16605         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16606         (moveCursorUpdate): use a LyXText param for support of InsetText.
16607
16608         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16609         (tripleClick): ditto
16610
16611         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16612
16613         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16614
16615         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16616
16617         * text2.C (SetSelection): set correct update status if inset_owner
16618         (ToggleFree): ditto
16619
16620 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16621
16622         * tabular.C: remove some commented code.
16623
16624 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16625
16626         * BufferView_pimpl.C: call hideSplash()
16627
16628         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16629
16630         * include_form.h:
16631         * bibforms.h: remove
16632
16633         * lyxfunc.C:
16634         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16635           add LFUN_CHILD_CREATE
16636
16637         * counters.h: fix tiny typo
16638
16639         * lyx_cb.C:
16640         * lyx.h:
16641         * lyx_gui.C:
16642         * lyx.C: move splash to frontends/xforms/
16643
16644         * lyx_gui_misc.C: move Include and Bibform to frontends
16645
16646         * lyxvc.h: clarify comment
16647
16648         * vspace.C: tiny housekeeping
16649
16650 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16651
16652         * text.C (PrepareToPrint): RTL Fix.
16653
16654         * paragraph.C (GetUChar): New method.
16655         (String):  Use GetUChar.
16656
16657         * buffer.C (asciiParagraph): Use GetUChar.
16658
16659 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16660
16661         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16662
16663 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16664
16665         * buffer.h:
16666         * buffer.C: rename to getLogName(), handle
16667           build log / latex log nicely
16668
16669 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16670
16671         * MenuBackend.C:
16672         * MenuBackend.h: remove support for reference menuitem type.
16673
16674 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16675
16676         * BufferView_pimpl.C: housekeeping
16677         * BufferView_pimpl.h:
16678         * LyXView.h:
16679         * Makefile.am:
16680         * Timeout.C:
16681         * Timeout.h:
16682         * minibuffer.h: move Timeout GUI-I
16683
16684 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16685
16686         * lyxrc.C (read): Update converters data-structures.
16687
16688 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16689
16690         * LaTeX.h (operator!=): add operator != for Aux_Info
16691
16692 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16693
16694         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16695
16696         * LaTeXLog.C: deleted, useful code moved to Buffer
16697
16698         * buffer.h:
16699         * buffer.C: new function getLatexLogName()
16700
16701         * lyx_gui_misc.C:
16702         * lyx_gui.C:
16703         * lyxvc.C:
16704         * lyxvc.h:
16705         * lyxfunc.C: use frontends for LaTeX and VC logs
16706
16707 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16708
16709         * LaTeX.h: yet another std:: that Allan forgot.
16710
16711         * Variables.C (set): renamed from isset(), because this clashes
16712         with some HP-UX macros (grr).
16713
16714 2001-02-06  Allan Rae  <rae@lyx.org>
16715
16716         * LaTeX.h: Another bug fix.  Missing std:: this time.
16717
16718 2001-02-04  Allan Rae  <rae@lyx.org>
16719
16720         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16721         floats problem. I've left it commented out because it's not quite
16722         correct.  It should also test that the current object is a table or
16723         figure inset.  But I haven't gotten around to figuring out how to do
16724         that.  I *think* it'll be something like: "table" == inset.type()
16725
16726         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16727         bool.
16728
16729 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16730
16731         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16732         all the citation/databases/styles in the auxilary file.
16733         (run): Rerun latex if there was a babel language error.
16734
16735 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16736
16737         * text.C (Backspace): Preserve the font when changing newline char
16738         with a space.
16739         (BreakParagraph): If the cursor is before a space, delete the space.
16740
16741         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16742
16743 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16744
16745         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16746         new argument (code).
16747         (ChangeCitationsIfUnique): New method.
16748
16749         * paragraph.C (GetPositionOfInset): Handle bibkey.
16750
16751 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16752
16753         * BufferView_pimpl.h: change type of Position::par_pos to
16754         LyXParagraph::size_type.
16755
16756 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16757
16758         * BufferView_pimpl.C (savePosition, restorePosition): Write
16759         messages to minibuffer.
16760
16761 2001-01-28  José Matos  <jamatos@fep.up.pt>
16762
16763         * buffer.C (makeDocBookFile): adds support for document language.
16764         A silly restriction on the name of LatexCommand types where removed.
16765         Added support for CDATA sections, allows to chars unescaped, used
16766         among others in code, to avoid escape < and >.
16767
16768 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16769
16770         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16771         saved positions instrad of a stack. Furthermore, a position is
16772         stored using paragraph id/paragraph position.
16773
16774         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16775         Remove LFUN_REF_BACK.
16776
16777 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16778
16779         * converter.C (dvipdfm_options): New method.
16780
16781 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16782
16783         * vspace.C (isValidLength): Fix for empty input string.
16784
16785 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16786
16787         * LyXAction.C (init): change description of LFUN_FIGURE to
16788         "Insert Graphics"
16789
16790 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * LaTeX.C: add using directive
16793
16794 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16795
16796         * MenuBackend.C (expand): Fix the sorting of the formats.
16797
16798 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16799
16800         * lyx_main.C: tiny error message fix
16801
16802 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16803
16804         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16805         calling fl_initialize(). This fixes the problem with ',' as
16806         decimal separator in text files.
16807
16808 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16809
16810         * trans.C (process): Fix the keymap bug.
16811
16812 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16813
16814         * LaTeX.C (scanAuxFiles): New method. Provides support for
16815         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16816         (scanLogFile) Scan for "run BibTeX" messages.
16817
16818         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16819         OT1 font encoding. Also, load the aecompl package if the ae
16820         package is loaded.
16821
16822         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16823
16824 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16825
16826         * texrow.C (increasePos): turn two error messages into debug
16827         messages.
16828
16829 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16830
16831         * LaTeX.C (scanAux): Handle the \@input macro.
16832         (runBibTeX): Use scanAux().
16833
16834         * language.C (latex_options_): New field.
16835
16836         * LaTeXFeatures.C (getMacros): Add language macros.
16837
16838         * buffer.C (makeLaTeXFile): Small fix.
16839
16840 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16841
16842         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16843
16844         * text2.C: add a using directive.
16845
16846 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16847
16848         * BufferView2.C:
16849         * lyx_gui_misc.h:
16850         * lyxfr1.C:
16851         * lyxfunc.C: kill LyXBell.
16852
16853 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16854
16855         * text.C (IsBoundary): Remove the error message
16856
16857         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16858
16859         * lyxrc.C (setDefaults): Correct initialization value for
16860         font_norm_type.
16861
16862 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16863
16864         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16865         gotoError().
16866
16867         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16868         and GotoNextNote().
16869
16870         * src/LyXAction.C: Added reference-next.
16871
16872         * text.C (InsertChar): Use contains instead of strchr.
16873
16874         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16875
16876 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16877
16878         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16879         alignment commands (when needed).
16880
16881         * text.C (InsertChar): Add ':' to number separator chars.