]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Get rid of some unicode chars.
[lyx.git] / src / ChangeLog
1 2005-01-10  Angus Leeming  <leeming@lyx.org>
2
3         * Makefile.am: remove the lyx_main.C special casing.
4
5         * BufferView_pimpl.C:
6         * bufferlist.C:
7         * exporter.C:
8         * lyx_cb.C:
9         * lyx_main.C:
10         * lyxfunc.C:
11         * messages.C: use support/package.h to provide the paths to the
12         various directories used by LyX.
13
14 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
15
16         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
17         layout if pasting into an empty paragraph)
18
19 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
20
21         * tex-accent.C: add <string>
22
23 2005-01-06  José Matos  <jamatos@lyx.org>
24
25         * ParagraphParameters.C (write): put every parameter in its own line.
26         * paragraph.C (write): reduce number of consecutive empty lines exported.
27         * buffer.C (LYX_FORMAT): increase file format to 239.
28
29 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
30
31         * everywhere: change support/tostr.h -> support/convert.h
32
33         * tabular.C: make all write_attributes templates, tostr -> convert
34
35         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
36         (emptyTag): and -> &&, and fix type for ret from getChar
37         (getFirstWord): fix type for ret from getChar
38         (onlyText): and -> &&
39         (simpleDocBookOnePar): and not -> && !, fix type for ret from
40         getChar
41
42         * toc.C (goTo, action):
43         * text3.C (dispatch):
44         * text.C (currentState):
45         * tex-accent.C (DoAccent):
46         * sgml.C:
47         * lyxrc.C:
48         * lyxfunc.C (menuNew):
49         * lyxfinc.C (replace):
50         * counters.C (laberItem):
51         * bufferview_funcs.C (font2string):
52         * bufferparams.C (writeFile):
53         * buffer.C (readFile):
54         * Spacing.C (set):
55         * MenuBackend.C: tostr -> convert
56
57         * LaTeX.C (runMessage): fix format
58         (scanAuxFiles): tostr -> convert
59
60         * BufferView_pimpl.C (savePosition): fix format
61         (restorePosition): ditto
62         (dispatch): ditto
63
64 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
65
66         * Spacing.[Ch]: New method getValueAsString().
67
68         * Spacing.[Ch]:
69         * bufferparams.C:
70         * ParagraphParameters.C:
71         * lyxlayout.C:
72         * text.C:
73         * text3.C: store/read spacing value as string.
74
75         * rowpainter.C: change float value (spacing_val) to double.
76
77         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
78         broken custom document spacing).
79
80 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
81
82         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
83         namespace, also more use of temp references and const
84
85         * cursor.[Ch] (getStatus): move to lyxfunc.C
86
87         * bufferparams.C: reformat slightly
88
89         * bufferview_funcs.C (font2string): constify arg
90
91         * changes.C:
92         * converter.C:
93         * counters.C:
94         * bufferlist.C:
95         * buffer_funcs.C: (many funcs): constify arg on function
96         definitions, also make more local vars const, also add ASSERTS on
97         pointer args.
98
99         * buffer.C (LYX_FORMAT): put const in correct place
100         (many funcs): constify arg on function definitions, also make
101         more local vars const
102
103         * aspell_local.h: remove "struct" from typdef setup
104
105         * aspell.C (check): make word_ok const
106         (nextMiss): simplify slightly
107         (error): ditto
108
109 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
110
111         * lyxrc.[Ch]: store all float values as strings.
112         use int (not float) for lyxrc.dpi.
113
114 2005-01-04  Angus Leeming  <leeming@lyx.org>
115
116         * lyx_cb.C (Reconfigure):
117         * lyx_main.C (queryUserLyXDir):
118         to run the <system_lyxdir>/configure correctly on Windows, prefix
119         the path to the script with "sh " when generating the string that
120         is passed to system().
121
122 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
123
124         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
125
126 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * lyxlength.C (asLatexString): get rid of setprecision
129
130 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
131
132         * text2.C (setLayout): remove unused variable endpit.
133         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
134
135         * paragraph.C (onlyText): remove unused variable style.
136
137         * cursor.C (bruteFind): remove unused variables beg and end.
138
139         * Makefile.am (dist_noinset_DATA): not needed anymore
140
141         * cheaders/*: remove.
142
143 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * text3.C: fix LFUN_MATH_MODE.
146
147 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * buffer_funcs.C (countWords): new function. Counts words between
150         two iterators.
151
152         * BufferView_pimpl.C (getStatus, dispatch): handle
153         LFUN_WORDS_COUNT.
154
155         * LyXAction.C (init):
156         * lfuns.h: add LFUN_WORDS_COUNT.
157
158 2004-12-19  Angus Leeming  <leeming@lyx.org>
159
160         * buffer.C (save): s/slashify_path/internal_path/.
161
162 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * lyxfind.C (findChange): do not search for end of pars, because
165         the change tracker cannot handle this (fixes bug 1719).
166
167 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
168
169         * paragraph.[Ch] (autoBreakRows): remove
170
171         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
172
173         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
174         avoid using the paragraph one
175
176         * text2.C (LyXText, insertStringAsLines): adjust
177
178 2004-12-16  Angus Leeming  <leeming@lyx.org>
179
180         * bufferlist.C:
181         * lyx_main.C:
182         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
183
184 2004-12-14  Angus Leeming  <leeming@lyx.org>
185
186         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
187
188         * bufferlist.C (emergencyWrite):
189         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
190         GetEnvPath("HOME").
191
192 2004-12-14  Angus Leeming  <leeming@lyx.org>
193
194         * main.C: (main): no longer pass pointers to os::init.
195
196 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
197
198         * undo.C (textUndoOrRedo): simplify logic, fix a crash
199         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
200
201 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
202
203         * lyxfunc.C:
204         * text3.C: remove selection_possible global flag
205
206 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
207
208         * text2.C (getSelectionSpan): remove
209         (changeDepth, changeDepthAllowed): adjust
210
211 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
212
213         * Makefile.am (BOOST_LIBS): use boost variables
214
215 2004-12-03  José Matos  <jamatos@lyx.org>
216
217         * buffer.C: format up to 238.
218
219 2004-12-03  José Matos  <jamatos@lyx.org>
220
221         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
222
223 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
224
225         * cursor.C (goUpDown): remove call to idxUpDown2
226
227 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
228
229         * tabular.[Ch]: use size_t-like types for cell, row and column
230         indices
231
232 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * lyxfunc.C (getStatus): do not lose previous information when
235         calling BufferView::getStatus; do not set a default "Command
236         disabled" message at the beginning, but just before returning.
237
238 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
239
240         * cursor.h (getStatus): add better comment from src/cursor.C
241
242 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * text3.C (getStatus): return false when the lfun is not handled
245
246 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * broken_headers.h: remove
249
250         * Makefile.am (lyx_SOURCES): remove broken_headers.h
251
252 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
255         offset_ref accessors
256
257         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
258         top_y_, merge fitcursor with update
259         (updateScrollbar, scrollDocView, fitCursor, center, update): new
260         coord scheme
261         (metrics): introduce
262         (workAreaDispatch): adapt to new coord scheme
263         (redoCurrentBuffer): remove
264
265         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
266
267         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
268         CurStatus enum.
269
270         * coordcache.[Ch]: add paragraph cache and helpers
271
272         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
273         adjust everywhere
274
275         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
276         (targetX, setTargetX): introduce
277
278         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
279         baseline -> ascent, as the rest of lyx
280
281         * lyxtext.h: remove redoParagraphs, updateParPositions,
282         fullRebreak, redoParagraphInternal. move dist to anon namespace in
283         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
284         have ascent/descent (ascent is ascent of first par)
285
286         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
287         step of BufferView
288
289         * paragraph.[Ch]: unify dimension handling with the rest of lyx
290
291         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
292
293         * pariterator.C: fix infinite loop introduced in par->pit renaming
294
295         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
296         in insets and LyXText, draw two off-screen paragraphs using
297         NullPainter, and adapt to new coord scheme
298
299         * text.C:
300         * text2.C:
301         * text3.C: adapt lfun handlers to the new coord scheme, which
302         means: there's only guaranteed coord information for onscreen pars
303         plus one above and one below. This implies that one can do search
304         from y coordinates in the range [-1,workHeight]
305
306 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
307
308         * rename a lot of InsetOld to InsetBase
309
310 2004-11-25  Angus Leeming  <leeming@lyx.org>
311
312         * BufferView_pimpl.C:
313         * lyx_cb.C:
314         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
315
316 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
317
318         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
319         call BufferView::getStatus if LCursor::getStatus did nothing
320         (setStatusMessage, getStatusMessage): removed.
321
322         * FuncStatus.C (message): new methods. Used to provide an error
323         message indicating why a command is disabled.
324         (clear, |=, FuncStatus): update for message.
325
326 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
327
328         * lyxfunc.C (dispatch): always call sendDispatchMessage
329
330 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
331
332         * BufferView.C:
333         * BufferView_pimpl.C:
334         * CutAndPaste.C:
335         * FontIterator.C:
336         * buffer.C:
337         * cursor.C:
338         * cursor_slice.[Ch]:
339         * dociterator.[Ch]:
340         * lyxfind.C:
341         * paragraph_funcs.C:
342         * pariterator.C:
343         * rowpainter.C:
344         * text.C:
345         * text2.C:
346         * text3.C:
347         * undo.C: par->pit renaming
348
349 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
350
351         * tabular.C (cellstruct): use initialization, store a shared_ptr
352         to insettext instead of the insettext directly, adjust to fit.
353         (operator=):  new function
354         (swap): new function
355         (rowstruct): use initialization
356         (columnstruct): use initialization
357         (ltType): use initialization
358
359
360         * lyxlength.h (swap): new function
361
362         * LColor.[Ch] (operator=): use the common semantics
363
364 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * lyxfind.C (findNextChange): update the bufferview after setting
367         the selection.
368
369 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
372         number of InsetOptArgs has already been inserted.
373
374         * output_latex.C (latexOptArgInsets): new method. This outputs all
375         the optarg insets, up to the limit defined in the layout file.
376         (optArgInset): removed
377         (TeXOnePar): call latexOptArgInsets; correctly update texrow
378
379 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
380
381         * paragraph.C (isLetter): remove special spellchecker-related
382         code; return true also for digits
383         (isWord, isKomma): remove
384
385         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
386         * lyxfind.C (MatchString()): use isLetter instead of isWord
387
388 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
389
390         * pariterator.h (operatir=): comment out un-implemented member
391         function.
392
393         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
394         static cast.
395
396 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
397
398         * lyxfont.h: include LColor.h to satisfy concept checks.
399
400 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
401
402         * pariterator.h: add typdefs for value_type, difference_type,
403         pointer and reference to satisfy concept checks. Also add default
404         constructor for same reason.
405
406         * pariterator.C (operator++): add post-increment operator to
407         satisfy concept checks.
408
409         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
410         checks.
411
412         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
413
414         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
415         checks. Also rename base_type to BaseType to follow naming
416         standard better.
417
418         * FloatList.h: include Floating.h to satisfy concept checks.
419
420 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
421
422         * lyxfunc.C (getStatus): when the origin of the request is menu or
423         toolbar, and the LyXView does not have focus, do as if there was
424         no buffer (bug 1720)
425
426         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
427         FuncRequest to individual entries of LFUN_SEQUENCE
428
429 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * output_latex.C (TeXOnePar): override runparams.moving_arg
432         according to the needprotect value of the current paragraph (bug
433         1739)
434
435         * paragraph.C (simpleTeXOnePar): no need to override
436         runparams.moving_args here
437
438 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
439
440         * vspace.C: fix off-by-one-error, related to fix #1682
441
442 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
443
444         * lengthcommon.C: a more general fix for bug 1682
445
446 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
447
448         * text.C (backspace): fix crash
449
450 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
451
452         * format.[Ch] (getFormatFromFile): new method
453         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
454
455 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
458
459 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * lyxfunc.C (dispatch): remove the verbose argument
462         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
463         instead
464
465         * kbmap.C (defkey): set the origin of func to KEYBOARD
466
467         * MenuBackend.C (MenuItem):
468         * ToolbarBackend.C (add): set the origin of func to UI
469
470         * funcrequest.[Ch]: add origin member, which indicates which part
471         of LyX requests an action
472
473 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
474
475         * converter.C (move): don't lie in the error message
476         * converter.h (isReachable, move): document
477
478 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
479
480         * buffer.C: remove unused using lyx::support::atoi
481         * paragraph_funcs.C: ditto
482
483 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
484
485         * bufferlist.C (exists): use bind and equal_to instead of
486         compare_memfun
487         (getBuffer): ditto
488         * lyxtextclasslist.C (NumberOfClass): ditto
489
490         * cursor.C (insert): use for_each instead of explicit for loop
491
492         * bufferlist.C (getFileNames): use std::transform and
493         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
494
495         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
496         for loop
497
498         * buffer.C (changeLanguage): use for_each instead of explicit for
499         loop
500         (hasParWithID): implement using getParFromID
501
502         * LaTeXFeatures.C: ws change only
503
504         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
505         to cleanup a bit.
506
507         * BufferView_pimpl.C (trackChanges): use for_each instead of
508         expilicit for loop
509
510 2004-11-04  André Pönitz  <poenitz@gmx.net>
511
512         * undo.h:
513         * undo.C (textUndoOrRedo): fix crash when creating undo information.
514
515         * dociterator.C (asDocIterator): use hard assert again.
516
517 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * lyxlength.C (asLatexString): rewrite so that it does not use
520         snprintf anymore
521
522 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
523
524         * text3.C (specialChar, dispatch): make sure cursor moves to the
525         right after inserting an inset
526
527 2004-11-02  José Matos  <jamatos@lyx.org>
528
529         * output_docbook.C (docbook):
530         * paragraph.C (getID):
531         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
532         garantee that the output is always legal.
533
534         * tabular.C (docbook):
535         * outputprams.[Ch]: remove mixed contents.
536
537 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
538
539         * text2.C (setCounter): prevent endless loop
540
541 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
542
543         * exporter.C (copyFile): use the mover instead of support::copy()
544         * exporter.C (Export): pass format and latex name to copyFile()
545         * exporter.h (addExternalFile): document
546         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
547
548 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
549
550         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
551
552 2004-10-30  José Matos  <jamatos@lyx.org>
553
554         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
555         text and no inset or font change. This allows to use CDATA
556         sections just for the whole paragraph.
557
558 2004-10-30  José Matos  <jamatos@lyx.org>
559
560         * paragraph.C (getFirstWord): remove unused variable.
561
562 2004-10-30  José Matos  <jamatos@lyx.org>
563
564         * paragraph.C (getFirstWord): the content should always be escaped
565         there.
566         (simpleDocBookOnePar):
567         * output_docbook.C (makeEnvironment): replace reference to CDATA
568         to style pass_thru.
569
570 2004-10-30  José Matos  <jamatos@lyx.org>
571
572         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
573
574 2004-10-30  José Matos  <jamatos@lyx.org>
575
576         * output_docbook.C (makeParagraphs):
577         * paragraph.[Ch] (emptyTag): for docbook and company, if the
578         standard paragraph has only a given type of content drop the wrapper.
579
580 2004-10-29  José Matos  <jamatos@lyx.org>
581
582         * output_docbook.C (makeEnvironment):
583         * sgml.C (openTag):
584         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
585
586 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
587
588         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
589         (cleanID): sanitize any id.
590
591 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
592
593         * buffer.C, lyxlex_pimpl.C:
594         * lyxlex_pimpl.C (setFile):
595         s/getExtFromContents/getFormatFromContents/
596
597 2004-10-28  José Matos  <jamatos@lyx.org>
598
599         * output_docbook.C (makeEnvironment): move id to broadest possible
600         scope.
601
602         * sgml.C (openTag): apply substitution of <> for all attributes.
603
604 2004-10-28  José Matos  <jamatos@lyx.org>
605
606         * buffer.C (makeLinuxDocFile, makeDocBookFile):
607         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
608         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
609
610         * sgml.[Ch]: new version for open and closeTag for paragraph and
611         for strings. Now they handle the ids of paragraphs.
612
613 2004-10-26  Angus Leeming  <leeming@lyx.org>
614
615         * Makefile.am: add mover.[Ch].
616
617         * converter.C (convert, move): use the new Movers to move external
618         files to the temp directory.
619
620         * lyx_main.C (init): ensure that the global system_movers data
621         is initialised.
622
623         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
624         preferences file.
625
626         * mover.[Ch]: new files, defining a Mover as a utility to move an
627         external file between directories and, if necessary, manipulate this
628         file using a helper script.
629
630 2004-10-25  José Matos  <jamatos@lyx.org>
631
632         * output_docbook.C (makeCommand): merge two if's that tested the
633         same condition.
634
635 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * sgml.C (escapeString): fix warning in a better way
638
639 2004-10-25  José Matos  <jamatos@lyx.org>
640
641         * sgml.C (escapeString): import the require boosts header file for
642         tie, and avoid a signed unsigned comparison.
643
644 2004-10-25  José Matos  <jamatos@lyx.org>
645
646         * sgml.h: add #include <string>
647
648 2004-10-25  José Matos  <jamatos@lyx.org>
649
650         * sgml.[Ch] (escapeString): new function to escape all the string.
651
652 2004-10-24  José Matos  <jamatos@lyx.org>
653
654         * paragraph.[Ch] (getFirstWord): new function to get the first
655         word. Useful for description.
656         (simpleDocBookOnePar): remove depth argument, add another that
657         says where to start the paragraph.
658
659         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
660         use the new functions to fix cleanly the support for descriptions.
661
662 2004-10-24  José Matos  <jamatos@lyx.org>
663
664         * buffer.C (makeLinuxDocFile, makeDocBookFile):
665         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
666         * output_linuxdoc.C (linuxdocParagraphs):
667         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
668         add buffer as argument.
669
670 2004-10-24  José Matos  <jamatos@lyx.org>
671
672         * output_docbook.C (makeEnvironment, searchEnvironment): place
673         CDATA inside paragraphs and fix scope for listitems.
674
675 2004-10-24  José Matos  <jamatos@lyx.org>
676
677         * output_docbook.C: remove using statement for stack.
678
679 2004-10-23  José Matos  <jamatos@lyx.org>
680
681         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
682         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
683         docbook. The new scheme is recursive and makes use of iterators, the
684         same as latex export works.
685         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
686         directly with the paragraph contents. This code was moved up to
687         output_docbook.C (docbookParagraphs).
688         * sgml.C (openTag, closeTag): removed unneeded newlines.
689         (closeEnvTags) removed.
690
691 2004-10-23  André Pönitz  <poenitz@gmx.net>
692
693         * undo.C (textUndoOrRedo):
694         * dociterator.C (asDocIterator): work around crash
695
696         * cursor.C (getStatus): replace ASSERT by more verbose error message
697           and manual correction of the problem. Should increase stability
698           while providing more sensible information.
699
700 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
703
704         * bufferlist.C (previous, next): new methods
705
706         * lfuns.h:
707         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
708
709 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
710
711         * buffer.C (makeDocBookFile): add dsssl stylesheet control
712         entities to preamble.
713
714 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
715
716         * messages.C (Pimpl): strip off translation context information
717
718 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
721         the cursor is correct (bug 1694)
722
723 2004-10-13  José Matos  <jamatos@lyx.org>
724
725         * output_docbook.C (docbookParagraphs): fix closing tags in the
726         end of the document.
727
728 2004-10-09  José Matos  <jamatos@lyx.org>
729
730         * buffer.C: format up to 237.
731         * bufferparams.C (write): use tostr to convert booleans to strings.
732
733 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
734
735         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
736
737 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
738
739         * LaTeX.C: implement use of babel language in xindy.
740
741 2004-10-05  José Matos  <jamatos@lyx.org>
742
743         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
744         Add new translators to help reading and writing the lyx file.
745
746 2004-10-05  José Matos  <jamatos@lyx.org>
747
748         * ParagraphParameters.C (read):
749         * text.C (readParToken): replace nexToken by more appropriate lex
750         methods.
751
752 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
753
754         * LaTeX.C (runMakeIndex):
755         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
756         (usually 'makeindex') configurable.
757
758         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
759         with a variable rather than with a number.
760
761 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * output_latex.C (TeXOnePar): make sure font setting is the first
764         thing that gets output (and the last at the end). Should fix bug
765         1404.
766
767 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
768
769         * pch.h: use proper signal include
770
771         * LaTeX.h: Use preferred calling of Boost.Signal
772         * buffer.h: ditto
773
774 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
775
776         * pch.h: dont include <boost/function/function0.hpp>
777
778         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
779
780         * paragraph_pimpl.h: remove usage of ShareContainer
781
782         * paragraph_pimpl.C: remove initialization of ShareContainer.
783
784 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
785
786         Fix bug #1666
787
788         * BufferView.C (putSelectionAt): change the semantics when
789         backwards == true: now, this just swaps cursor and anchor wrt the
790         forward case
791
792         * BufferView.h (putSelectionAt): add some documentation
793
794         * lyxfind.C (findBackwards): rewrite using while(). In particular,
795         make sure backwardChar is done at least once (to avoid getting
796         stuck)
797         (findNextChange): use putSelectionAt in the forward direction
798         (operator()): use Paragraph::isWord
799
800 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
801
802         * Spacing.C (set): c_str fix
803
804 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
805
806         * lyx_cb.C (Reconfigure): quote the name of configure script in
807         case it contains spaces
808
809 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
810
811         * client: new dir
812
813         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
814         (BOOST_LIBS): use top_buildir when looking for the file
815
816 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
817
818         * pch.h: do not use include boost/format.hpp, multiple symbols
819                 will result (gcc bug)
820
821
822 2004-08-23  José Matos  <jamatos@lyx.org>
823
824         * bufferparams.C (readToken): fix reading of the author field.
825
826 2004-08-20  José Matos  <jamatos@lyx.org>
827
828         * lyxrc.C: remove support/translator.h inclusion since it is not used.
829
830 2004-08-20  José Matos  <jamatos@lyx.org>
831
832         * lyxlex.[Ch] (findToken): remove function.
833
834         * ParagraphParameters.C (findToken):
835         * bufferparams.C (findToken): replace call for previous function
836         with local copy. This local function has one more argument, the
837         read string argument.
838
839 2004-08-16  José Matos  <jamatos@lyx.org>
840
841         * ParagraphParameters.C (write):
842         * Spacing.C (writeFile):
843         * bufferparams.C (writeLaTeX):
844         * lyx_cb.C (Reconfigure):
845         * paragraph.C (write):
846         * tabular.C (write): remove unnecessary space at end of line.
847
848
849 2004-08-16  José Matos  <jamatos@lyx.org>
850
851         * text.C (readParagraph): remove debug message.
852
853 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
856         crash
857
858         * output_plaintext.C (asciiParagraph): set depth correctly
859
860         * outputparams.h: add member depth
861
862         * paragraph_funcs.C (ownerPar): remove.
863
864         * text2.C (setCounter): remove first_pit; comment out some
865         non-working code that uses ownerPar
866
867         * BufferView.C (getParentLanguage): remove. Not used anymore, and
868         uses ownerPar
869
870 2004-08-16  José Matos  <jamatos@lyx.org>
871
872         * text.C (readParToken, readParagraph, read): report all unknown tokens.
873         For the same level of importance use the same chanel to report problems.
874         (read): add code to deal with \begin_body and \end_body.
875
876
877 2004-08-15  José Matos  <jamatos@lyx.org>
878
879         * lyxlex.C (getString): fix comment, buffer::readBody is now
880         buffer:readDocument.
881
882         * tex-strings.C (string_papersize): Default -> default,
883         Custom -> custom, for consistency with other options.
884
885 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
886
887         * pch.h: new file
888
889         * Makefile.am: support pch
890
891 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
892
893         * text.C (readParToken): remove the static LyXFont variable and
894         pass it as a parameter instead. This fixes a nasty bug where an
895         inset will be inserted with a bad font in some situations
896         (readParagraph): adapt
897
898         * text2.C (setCounter): reduce number of calls to pars_[pit]
899
900         * text.C (singleWidth): add an assert, fix a test
901
902         * rowpainter.C (paintText): reduce number of calls to singleWidth
903
904         * paragraph.C (isHfill):
905         (isNewline): ws only
906
907 2004-08-14  André Pönitz  <poenitz@gmx.net>
908
909         * text.C:
910         * text2.C:
911         * rowpainter.C:
912         * lyxtext.h (several functions): use a Paragraph & argument
913         instead of par_type
914
915 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
916
917         * metricsinfo.h: add a new field ltr_pos to PainterInfo
918
919         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
920
921         * text.C (singleWidth): remove useless test
922
923 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
924
925         * tabular.h: remove bogus comments
926
927         * tabular.C (getDescentOfRow):
928         (isPartOfMultiColumn): add assertions
929
930         * lyxlength.C (inPixels): remove #warning
931
932 2004-08-14  André Pönitz  <poenitz@gmx.net>
933
934         * paragraph.h: inline getChar()
935
936         * BufferView.h: remove unused declarations
937
938 2004-08-14  José Matos  <jamatos@lyx.org>
939
940         * Buffer.[Ch] (readDocument): new name for old readBody.
941         * Buffer.C: new file format, new keywords: \begin_document,
942         \begin_header, \begin_body, \end_body.
943
944         * bufferparams.C (readToken): replace all calls to lex.nextToken
945         by lex.next(). Do the same to eatLine except where really needed.
946
947         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
948         line when writing to the lyx file.
949
950         * output_plaintext.C (asciiParagraph): fix Bibliography style
951         handling.
952
953         * text.C (read): fix end of file handling.
954
955 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * MenuBackend.C (Menu::operator[]): new method to access
958         individual menu items
959         (Menu::hasFunc): new method. search for an item that corresponds
960         to a given func
961         (MenuBackend::specialMenu): new method
962         (MenuBackend::expand): if a special menu has been set, skip
963         entries whose func() appears in this menu
964
965 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
966
967         * text3.C: use Debug::DEBUG a bit more
968
969         * text.C (leftMargin): try to simplify a tiny bit change var x to
970         l_margin. Dont output the wide margins always.
971         (rightMargin): no margin in inner texts
972
973         * rowpainter.h (nestMargin): new func
974         (changebarMargin): new func
975         (rightMargin): new func
976
977         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
978         now functions.
979         (paintLast): ditto
980
981         * factory.C (createInset): modify setDrawFrame
982
983         * cursor.C: use Debug::DEBUG a bit more
984
985 2004-08-14  André Pönitz  <poenitz@gmx.net>
986
987         * coordcache.[Ch]:
988         * Makefile.am: new files to accomodate an 'external' (x,y)-position
989         cache for all insets in (at least partially) visible (top-level)
990         paragraphs.
991
992         * BufferView_pimpl.C: reset external coord cache before every update.
993         This means the coord cache only contains valid entries.
994
995 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
996
997         bug 1096
998         * BufferView_pimpl.C (getInsetByCode): move function out of class
999         and change in to a template in anon namespace. Also fix to do what
1000         suits us better.
1001
1002 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1003
1004         bug 1305
1005         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1006         of char
1007         (breakParagraph): rename par to par_offset and use a local
1008         reference. Add code to keep the language over a rebreak.
1009         (breakParagraphConservative): rename par to par_offset, use a
1010         local reference
1011         (mergeParagraph): ditto
1012         (outerHook): ditto
1013         (isFirstInSequence): ditto
1014         (outerFont): rename pit to par_offset
1015
1016         * paragraph.C: ws change
1017         * paragraph.h: ditto
1018         * text3.C: ditto
1019         * text.C: ditto
1020
1021 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1024         treatment for ']'
1025
1026         * paragraph.C (simpleTeXOnePar): when we have a \item with
1027         optional argument, enclose the argument with curly brackets (in
1028         case it contains a closing square bracket)
1029
1030         * text2.C (editXY):
1031         * text2.C (editXY):
1032         * text3.C (checkInsetHit): constify
1033
1034 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1035
1036         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1037         documents (bug 1629)
1038
1039 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         Fix toggling of collapsable insets with the mouse (bug 1558)
1042
1043         * lyxfunc.C (dispatch): adapt to LCursor changes
1044
1045         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1046         make sure that dispatch is not invoked twice
1047
1048         * cursor.C (needsUpdate): new method
1049         (dispatch): return void
1050         (result): new method, to access the DispatchResult of the cursor.
1051
1052 2004-08-13  José Matos  <jamatos@lyx.org>
1053
1054         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1055
1056 2004-08-13  André Pönitz  <poenitz@gmx.net>
1057
1058         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1059
1060         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1061           multiple cells
1062
1063 2004-08-12  André Pönitz  <poenitz@gmx.net>
1064
1065         * text3.C: take out the 'cursor right' form insertInset and only
1066         do it in those places when it is really needed. Fixes crash on
1067         C-m...
1068
1069 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1072
1073         * BufferView_pimpl.C (setBuffer): initialize the current font of
1074         the underlying LyXText
1075
1076 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1077
1078         * kbsequence.C (print): use UI native formatting for menu
1079         shortcuts
1080
1081         * text.C (insertChar): call Paragraph::insertChar with a font
1082         argument (cosmetic)
1083
1084         * paragraph.C (insertInset, insertChar): the version that takes a
1085         LyXFont argument is now a wrapper around the other one (the
1086         opposite used to be true).
1087
1088         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1089         argument. Font setting is done in Paragraph now.
1090
1091 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * outputparams.h: add new members intitle and lang.
1094
1095         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1096         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1097
1098 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1099
1100         * text3.C (dispatch): remove special handling of button 4 and 5,
1101         it is now taken care of in the frontend code.
1102
1103 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1104
1105         * Spacing.h: add <string> (STLPort compile fix)
1106
1107 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1108
1109         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1110
1111 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1112
1113         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1114         to bool.
1115
1116         * converter.C (showMessage): inherit from unary_function, make
1117         operator() const.
1118
1119         * buffer.C (writeFile): initialize retval
1120
1121         * InsetList.h: rename private variable list to list_
1122         * InsetList.[Ch]: adjust accordingly.
1123
1124 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1125
1126         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1127         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1128         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1129         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1130         * ParagraphParameters.C, LaTeXFeatures.C: replace
1131         "support/std_sstream.h" with <sstream>
1132
1133 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1134
1135         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1136         * lyxsocket.C (LyXServerSocket): ditto
1137         (serverCallback): ditto
1138
1139 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1140
1141         * LaTeXFeatures.C: check release date when loading jurabib.
1142
1143 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1144
1145         * lyxserver.C (startPipe): call register_socket_callback
1146         (endPipe): call unregister_socket_callback
1147
1148 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1149
1150         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1151         (LyXServerSocket): register the callback
1152         (LyXServerSocket): unregister the callback
1153         (fd): delete function
1154         (serverCallback): improve error checking and setup the callbacks.
1155         (dataCallback): change arg to fd.
1156         (writeln): new func (copied fro the client socket) used for server
1157         write to client.
1158         (LyXDataSocket): simplify
1159         (~LyXDataSocket): close ann unregiser callback
1160         (server): delete function
1161         (fd): delete function
1162         (readln): small changes, improve some std::string usage
1163         (writeln): constify a bit
1164
1165 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1166
1167         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1168         Qt frontend
1169
1170 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1173         after it has been populated
1174
1175 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * text2.C (insertInset): move cursor when inserting inset.
1178
1179 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1180
1181         * kbmap.C (findbindings): a couple of new methods. returns a
1182         container of kb_sequence objects. The real work is done by the
1183         private recursive version
1184         (printbindings): uses findbindings to print out a bracketed list
1185         of bindings (renamed from findbinding).
1186
1187         * MenuBackend.C (binding): use kb_keymap::findbindings
1188
1189         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1190
1191 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1192
1193         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1194
1195 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1196
1197         * paragraph.C (isWord): return true on insets that report
1198         isLetter().
1199
1200         * text.C (getWord): use Paragraph::isWord to decide what is in a
1201         word and what is not; fix bug 1609.
1202
1203 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1204
1205         * tex-strings.C: add "none" to string_paperpackages[], fixes
1206         off-by-one-error in the paperpackage selection.
1207
1208         * lyxlex.[Ch]:
1209         * tex-strings.[Ch]: char const * string[n]
1210         -> char const * const string[]
1211
1212 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1213
1214         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1215         command, return early.
1216
1217 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1218
1219         * debug.h: add DEBUG to enum and fix size of ANY.
1220
1221         * debug.C: add support for Debug::DEBUG
1222         (showTags): cast errorTags.level to unsigned int
1223
1224         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1225         (redoCurrentBuffer): ditto
1226         (updateScrollbar): ditto
1227         * cursor.C (dispatch): ditto
1228         * text2.C (setLayout): ditto
1229         (setFont): ditto
1230         (updateCounters): ditto
1231         (editXY): ditto
1232         (deleteEmptyParagraphMechanism): ditto
1233
1234 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1235
1236         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1237         annotations to cleanup the Makefile slightly.
1238
1239 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1240
1241         * lyxrc.C: do not set user_email to a default value but use empty
1242         instead. The entry used to be translated, which does not work
1243         since at the point where lyxrc is constructed there is no
1244         translation service available
1245
1246         * messages.C (getLocaleDir): remove and use directly
1247         lyx_localedir() instead
1248
1249 2004-06-02  Angus Leeming  <leeming@lyx.org>
1250
1251         Fix crash caused by dereferencing null pointer 'exportdata' in
1252         OutputParams by creating a new ExportData variable on the heap,
1253         storing it in a boost::shared_ptr.
1254         The crash was triggered when generating an Instant Preview
1255         of an external inset.
1256
1257         * Makefile.am: add outputparams.C
1258
1259         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1260         (c-tor): allocate memory to it.
1261
1262         * exporter.C (c-tor): associated changes.
1263
1264 2004-06-01  Angus Leeming  <leeming@lyx.org>
1265
1266         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1267         contains data before calling isInset(0). (Bug 1513.)
1268
1269 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1270
1271         * exporter.C (checkOverwrite): new method
1272         * exporter.C (copyFile): new method
1273         * exporter.C (Export): copy referenced files to the document dir
1274         * exporter.[Ch]: new class ExportedFile
1275         * exporter.[Ch]: new class ExportData. Contains currently the
1276         names of referenced external files
1277         * outputparams.h: add exportdata member.
1278
1279 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1280
1281         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1282         version.C-tmp
1283
1284 2004-05-19  Angus Leeming  <leeming@lyx.org>
1285
1286         * LaTeXFeatures.C:
1287         * ToolbarBackend.C:
1288         * bufferparams.C:
1289         * lyxfunc.C: small changes due to the introduction of namespace
1290         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1291
1292 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1293
1294         * text3.C (dispatch): supress update when only moving the cursor
1295         * cursor.C (selHandle): remove commented code
1296
1297 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1298
1299         * paragraph.C (startTeXParParams): correct column count
1300         * CutAndPaste.C (pasteSelection): remove const_cast
1301         * output_docbook.C (docbookParagraphs): remove const_cast
1302         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1303         const_cast and return ParagraphList::const_iterator
1304         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1305         * output_plaintext.C (writeFileAscii): remove const_cast
1306         * paragraph.[Ch] (simpleTeXOnePar): make const
1307         * paragraph_funcs.C (outerPar): use const iterators
1308         * paragraph_pimpl.C (validate): use const iterators
1309         * text.C (setHeightOfRow): use const iterators
1310
1311 2004-05-17  Angus Leeming  <leeming@lyx.org>
1312
1313         * lfuns.h:
1314         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1315
1316         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1317         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1318         if the citation engine has changed.
1319
1320 2004-05-14  José Matos  <jamatos@lyx.org>
1321
1322         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1323         if the textclass does not provide it. Have it different for sgml and
1324         xml.
1325         support the language of document.
1326         * output_docbook.C (docbookParagraphs):
1327         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1328         first anchor as the id of the paragraph, remove special case code.
1329         * sgml.C (escapeChar): escape only < & >.
1330
1331 2004-05-14  Angus Leeming  <leeming@lyx.org>
1332
1333         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1334         dependencies on src/frontends/controllers/biblio.h. Define a
1335         CiteEngine_enum wrapper class to enable the enum to be forward
1336         declared.
1337
1338 2004-05-12  Angus Leeming  <leeming@lyx.org>
1339
1340         * buffer.C: up LYX_FORMAT to 234.
1341         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1342         use_numerical_citations with a single biblio::CiteEngine cite_engine
1343         variable.
1344         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1345
1346 2004-05-13  José Matos  <jamatos@lyx.org>
1347
1348         * converter.h:
1349         * converter.C (Converter, readFlags): add xml member.
1350         * outputparams.h: add XML flavor.
1351         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1352
1353 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1354
1355         * lyxfunc.C (dispatch):
1356         (getStatus): fix handling of LFUN_SEQUENCE
1357
1358 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1359
1360         * debug.C (showLevel): do not forget the end-of-line marker
1361
1362 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1363
1364         * kbmap.C (read): do not stop parsing a bind file when an error
1365         occurs (bug 1575)
1366
1367 2004-04-29  Angus Leeming  <leeming@lyx.org>
1368
1369         * cursor.C:
1370         * factory.C:
1371         * pariterator.C:
1372         * text2.C: wrap a bunch of #warning statements
1373         inside #ifdef WITH_WARNINGS blocks.
1374
1375 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1376
1377         * buffer.C: increment format to 233.
1378
1379 2004-04-28  Angus Leeming  <leeming@lyx.org>
1380
1381         * BufferView_pimpl.C:
1382         * lyxfunc.C:
1383         * text3.C:
1384         s/updateToolbar()/updateToolbars()/
1385         s/Toolbar.h/Toolbars.h/
1386
1387 2004-04-28  Angus Leeming  <leeming@lyx.org>
1388
1389         * BufferView.[Ch] (c-tor):
1390         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1391         No longer passes these data to the WorkArea generator.
1392
1393 2004-04-28  Angus Leeming  <leeming@lyx.org>
1394
1395         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1396
1397 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1398
1399         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1400
1401 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * output_latex.C (TeXEnvironment): make sure that there is a line
1404         break before \end{foo} for the last paragraph of a document
1405         (TeXOnePar): if the paragraph is at the end of the document (or
1406         inset) and the language has to be reset, then make sure that the
1407         line break is _before_ the language command, not after (fixes bug
1408         1225); also make sure that the language reset command is the first
1409         thing after the paragraph (to ensure proper nesting of
1410         environments and thus fix bug 1404)
1411
1412 2004-04-21  John Levon  <levon@movementarian.org>
1413
1414         * ToolbarBackend.h:
1415         * ToolbarBackend.C: make "name" be a programmatic name
1416         and a gui_name field.
1417
1418         * lyxfunc.C: display the minibuffer on M-x
1419
1420 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1421
1422         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1423         (bug 1526)
1424
1425 2004-04-19  Angus Leeming  <leeming@lyx.org>
1426
1427         * BufferView_pimpl.C (setBuffer): changed preview interface.
1428
1429         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1430         possible values.
1431
1432 2004-04-19  John Levon  <levon@movementarian.org>
1433
1434         * BufferView_pimpl.C:
1435         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1436
1437 2004-04-05  Angus Leeming  <leeming@lyx.org>
1438
1439         * text.C (redoParagraphs): add call to updateCounters(), thereby
1440         fixing the missing "Figure #:" label from the caption of a
1441         figure float.
1442
1443 2004-04-13  Angus Leeming  <leeming@lyx.org>
1444
1445         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1446         cursor is clicked out of an inset.
1447
1448 2004-04-13  Angus Leeming  <leeming@lyx.org>
1449
1450         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1451         than an InsetOld one.
1452
1453 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * format.[Ch]: add editor to Format
1456         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1457         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1458
1459 2004-04-08  André Pönitz  <poenitz@gmx.net>
1460
1461         * metricsinfo.h: remove PainterInfo::width member
1462
1463 2004-04-08  Angus Leeming  <leeming@lyx.org>
1464
1465         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1466         "\providecommand" rather than "\newcommand", thereby preventing
1467         clashes with packages that define "\boldsymbol" themselves.
1468         Eg, beamer.
1469
1470 2004-04-08  Angus Leeming  <leeming@lyx.org>
1471
1472         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1473         thereby squashing an unnecessary warning.
1474
1475 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1476
1477         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1478         setBuffer()
1479
1480 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1481
1482         * BufferView.C (setCursor): call redoParagraph (some insets could
1483         have been opened)
1484         (putSelectionAt): remove the 'double update' trick
1485
1486         * BufferView_pimpl.C (fitCursor): call refreshPar
1487         (workAreaDispatch): remove an uneeded update call
1488         (dispatch): remove some manual update calls
1489
1490         * cursor.[Ch]: remove cached_y_, updatePos
1491         (selHandle): set noUpdate when appropriate
1492
1493         * lyxfunc.C (dispatch): track if we need an update
1494
1495         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1496
1497         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1498         (paintSelection): cheap optimization, do not call cursorX when not
1499         needed
1500         (paintPars): change signature
1501         (refreshPar): add
1502         (paintText): adjust
1503         (paintTextInset): adjust
1504
1505         * text.C: adjust
1506
1507 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1508
1509         * lengthcommon.C: compilation fix: remove explicit array size from
1510         unit_name[] and friends
1511
1512 2004-04-05  Angus Leeming  <leeming@lyx.org>
1513
1514         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1515
1516         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1517         present only for the preferences dialog.
1518         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1519
1520 2004-04-05  Angus Leeming  <leeming@lyx.org>
1521
1522         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1523         to enable the frontends to export changes to lyxrc correctly.
1524
1525         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1526
1527 2004-04-07  André Pönitz  <poenitz@gmx.net>
1528
1529         * cursor.[Ch] (selClear, adjust): remove math
1530
1531         * cursor_slice.C: more agressive assert
1532
1533         * lyxfunc.C:
1534         * BufferView_pimpl.C: rework mouse event dispatch
1535
1536         * dociterator.C:
1537         * paragraph.C:
1538         * text2.C:
1539         * text3.C: adjust
1540
1541 2004-04-05  André Pönitz  <poenitz@gmx.net>
1542
1543         * cursor.[Ch] (valign, halign...): remove unneeded functions
1544
1545 2004-04-05  Angus Leeming  <leeming@lyx.org>
1546
1547         * lyxlength.[Ch] (unit_name et al.): const-correct.
1548
1549 2004-04-05  Angus Leeming  <leeming@lyx.org>
1550
1551         * BufferView_pimpl.C:
1552         * buffer.C:
1553         * counters.C:
1554         * cursor.C:
1555         * lyxfunc.C
1556         * paragraph.C:
1557         * pariterator.C:
1558         * text.C:
1559         * text2.C:
1560         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1561
1562 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1565
1566 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1567
1568         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1569         * BufferView_pimpl.[Ch] (getStatus)
1570         * BufferView.[Ch] (getStatus): add
1571         * lyxfunc.C (getStatus): move lfuns handled in
1572         BufferView::dispatch to te function above
1573         * Cursor.C (setSelection): set selection() = true
1574
1575 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1576
1577         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1578
1579 2004-03-31  Angus Leeming  <leeming@lyx.org>
1580
1581         * lyxfunc.C (dispatch): Fall through to the generic
1582         Dialogs::show("preamble").
1583
1584 2004-03-31  Angus Leeming  <leeming@lyx.org>
1585
1586         * lyxfunc.C (dispatch): Fall through to the generic
1587         Dialogs::show("spellchecker").
1588
1589 2004-03-31  Angus Leeming  <leeming@lyx.org>
1590
1591         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1592         preferences dialog.
1593
1594 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1595
1596         * BufferView.C
1597         * cursor.[Ch]
1598         * dociterator.[Ch]:
1599         * insetiterator.[Ch]:
1600         * lyxfind.C:
1601         * lyxfunc.C:
1602         * pariterator.[Ch]:
1603         * text2.C:
1604         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1605
1606 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1607
1608         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1609         insets where we are putting the cursor.
1610
1611 2004-03-31  Angus Leeming  <leeming@lyx.org>
1612
1613         * lfuns.h:
1614         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1615
1616         * lyxrc.[Ch] (read, write): overloaded member functions taking
1617         a std::[io]stream arguments.
1618
1619         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1620
1621 2004-03-31  Angus Leeming  <leeming@lyx.org>
1622
1623         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1624         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1625
1626         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1627         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1628
1629 2004-03-31  Angus Leeming  <leeming@lyx.org>
1630
1631         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1632         the LFUN_ALL_INSETS_TOGGLE code.
1633
1634 2004-03-30  Angus Leeming  <leeming@lyx.org>
1635
1636         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1637         has died. Fall through to the generic Dialogs::show("document").
1638
1639 2004-03-30  Angus Leeming  <leeming@lyx.org>
1640
1641         * lfuns.h:
1642         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1643         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1644
1645         * lyxfunc.C (getStatus, dispatch): define the actions for these
1646         lfuns. Little more than a cut and pste job from ControlDocument.C
1647
1648         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1649
1650 2004-03-30  Angus Leeming  <leeming@lyx.org>
1651
1652         * lfuns.h:
1653         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1654         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1655
1656         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1657         open/closed state of ollapsable insets. Usage:
1658
1659         all-inset-toggle <state> <name>, where
1660         <state> == "open" || "closed" || "toggle" and
1661         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1662
1663         * lyxtext.h, text2.C (toggleInset): removed.
1664
1665         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1666         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1667         now passes LFUN_INSET_TOGGLE to the found inset.
1668
1669         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1670         is now invoked as "all-insets-toggle toggle branch".
1671
1672 2004-03-30  Angus Leeming  <leeming@lyx.org>
1673
1674         * dociterator.C:
1675         * insetiterator.C:
1676         * pariterator.[Ch]: added/corrected header blurb.
1677
1678 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1679
1680         * dociterator.[Ch]: add an inset_ member
1681         (backwardPos): implemented
1682         (backwardPos, forwardPos): use inset_ when the stack is empty.
1683         (doc_iterator_begin, doc_iterator_end): implemented
1684         * pariterator.[Ch]: adjust, add begin, end
1685         * insetiterator.[Ch]: adjust, add begin, end
1686         * cursor.C:
1687         * document.C:
1688         * BufferView.C:
1689         * BufferView_pimpl.C:
1690         * CutAndPaste.C: adjust
1691
1692 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1693
1694         * buffer.C: increment file format to 232.
1695         * LaTeXFeatures.C: add bibtopic package.
1696         * bufferparams.[Ch]: param \use_bibtopic.
1697
1698         * lyxrc.[Ch]: add lyxrc bibtex_command
1699         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1700
1701         * buffer.C: increment file format to 231.
1702
1703 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1704
1705         * dociterator.C: implement forwardPar
1706         * iterators.[Ch]: remove, replaced by
1707         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1708         * BufferView.C:
1709         * BufferView_pimpl.C:
1710         * CutAndPaste.C:
1711         * buffer.C:
1712         * bufferview_funcs.C:
1713         * cursor.C:
1714         * lyxfind.C
1715         * lyxfunc.C
1716         * paragraph_funcs.C
1717         * toc.C:
1718         * Makefile.am: adjust
1719
1720 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1721
1722         * CutAndPaste.C (pasteSelection): fix 2 crashes
1723         (eraseSelection): fix a crash
1724         * paragraph_funcs.C: remove a warning
1725
1726 2004-03-28  Angus Leeming  <leeming@lyx.org>
1727
1728         * lfuns.h:
1729         * LyXAction.C (init): new LFUN_PRINT.
1730
1731         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1732
1733 2004-03-27  Angus Leeming  <leeming@lyx.org>
1734
1735         * lfuns.h:
1736         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1737
1738         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1739
1740 2004-03-27  Angus Leeming  <leeming@lyx.org>
1741
1742         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1743         insetlist always contains non-null pointers to insets.
1744
1745 2004-03-26  Angus Leeming  <leeming@lyx.org>
1746
1747         * src/BufferView_pimpl.C:
1748         * src/CutAndPaste.C:
1749         * src/buffer.C:
1750         * src/iterators.C:
1751         * src/output_plaintext.C:
1752         * src/outputparams.h:
1753         * src/paragraph_funcs.C:
1754         * src/rowpainter.C:
1755         * src/text.C:
1756         * src/text2.C:
1757         * src/frontends/controllers/ControlErrorList.C:
1758         * src/frontends/gtk/FileDialogPrivate.C:
1759         * src/frontends/gtk/GPainter.C:
1760         * src/frontends/gtk/GToolbar.C:
1761         * src/frontends/qt2/QRef.C:
1762         * src/mathed/math_scriptinset.C: squash compiler warnings.
1763
1764 2004-03-26  Angus Leeming  <leeming@lyx.org>
1765
1766         * ispell.C (LaunchIspell::start):
1767         * lyx_cb.C (AutoSaveBuffer::start):
1768         invoke run(DontWait) rather than runNonBlocking().
1769
1770 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1771
1772         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1773
1774 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1775
1776         * kbsequence.C (print): adjust
1777
1778         * kbmap.C (printKeySym): rename and change signature
1779         (printKey): use LyXKeySym::print()
1780
1781 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1782
1783         * undo.C: add using std::advance to compile for stlport
1784
1785 2004-03-24  Angus Leeming  <leeming@lyx.org>
1786
1787         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1788         it leads to a crash when no buffer is present.
1789
1790 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1791             Martin Vermeer  <martin.vermeer@hut.fi>
1792
1793         * lyxfunc.C (dispatch):
1794         * bufferparams.C (readToken): use the new LColor::setColor
1795
1796         * LColor.[Ch] (setColor): new version that takes two strings as
1797         argument and creates a new color entry if necessary
1798
1799 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1800
1801         * buffer.C (makeLaTeXFile): if the main latex file that is
1802         processed is usually a subdocument of some master, then pretend
1803         for a while that it is actually the master
1804
1805 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1806
1807         * buffer.C (getLabelList):
1808         (getBibkeyList): use getMasterBuffer()
1809         (getMasterBuffer): new method. Returns the main document in the
1810         case where one is using included documents.
1811
1812 2004-03-25  André Pönitz  <poenitz@gmx.net>
1813
1814         * Makefile.am:
1815         * iterators.[Ch]:
1816         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1817
1818         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1819
1820         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1821         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1822
1823         * ParameterStruct.h: merge with ParagraphParameters
1824
1825         * lyxtext.h: remove LyXText::parOffset() and getPar()
1826
1827         * text3.C: Remove all 'manual' update calls. We do now one per user
1828         interaction which is completely sufficient.
1829
1830         * Bidi.C:
1831         * BufferView.[Ch]:
1832         * BufferView_pimpl.C:
1833         * FontIterator.[Ch]:
1834         * MenuBackend.C:
1835         * ParagraphParameters.[Ch]:
1836         * buffer.C:
1837         * buffer.h:
1838         * bufferlist.C:
1839         * cursor.[Ch]:
1840         * cursor_slice.[Ch]:
1841         * dociterator.[Ch]:
1842         * errorlist.[Ch]:
1843         * factory.C:
1844         * lfuns.h:
1845         * lyxfind.C:
1846         * lyxfunc.C:
1847         * output_docbook.[Ch]:
1848         * output_latex.[Ch]:
1849         * output_linuxdoc.[Ch]:
1850         * output_plaintext.[Ch]:
1851         * paragraph.[Ch]:
1852         * paragraph_funcs.[Ch]:
1853         * paragraph_pimpl.[Ch]:
1854         * rowpainter.C:
1855         * tabular.[Ch]:
1856         * text.C:
1857         * text2.C:
1858         * toc.C:
1859         * undo.[Ch]: adjust
1860
1861         * frontends/controllers/ControlDocument.C:
1862         * frontends/controllers/ControlErrorList.C:
1863         * frontends/controllers/ControlSpellchecker.C:
1864         * insets/inset.C:
1865         * insets/inset.h:
1866         * insets/insetbase.h:
1867         * insets/insetbibitem.C:
1868         * insets/insetbox.C:
1869         * insets/insetbranch.C:
1870         * insets/insetcaption.C:
1871         * insets/insetcharstyle.C:
1872         * insets/insetcharstyle.h:
1873         * insets/insetcollapsable.C:
1874         * insets/insetcollapsable.h:
1875         * insets/insetert.C:
1876         * insets/insetfloat.C:
1877         * insets/insetfoot.C:
1878         * insets/insetmarginal.C:
1879         * insets/insetnote.C:
1880         * insets/insetoptarg.C:
1881         * insets/insettabular.C:
1882         * insets/insettext.C:
1883         * insets/insettext.h:
1884         * insets/insetwrap.C:
1885         * mathed/math_mboxinset.C:
1886         * mathed/math_nestinset.C:
1887         * mathed/math_scriptinset.C:
1888         * mathed/math_scriptinset.h:
1889         * support/types.h:
1890
1891 2004-03-24  Angus Leeming  <leeming@lyx.org>
1892
1893         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1894         deal with any child processes that have finished but are waiting to
1895         communicate this fact to the rest of LyX.
1896
1897 2004-03-24  Angus Leeming  <leeming@lyx.org>
1898
1899         64-bit compile fixes.
1900
1901         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1902         (c-tor): pass lyx::pos_types rather than ints.
1903
1904         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1905         lyx::pos_type.
1906
1907         * text.C (Delete): compile fix.
1908         (getPar): ensure that function declaration is the same as that in
1909         the header file.
1910
1911 2004-03-23  Angus Leeming  <leeming@lyx.org>
1912
1913         * ispell.C (LaunchIspell):
1914         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1915         a boost::shred_ptr rather than a std::auto_ptr.
1916
1917 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1918
1919         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1920         handle LFUN_FILE_INSERT_*
1921
1922         * lyxrc.C (setDefaults, getDescription, output, read):
1923         * lyxrc.h: remove ps_command
1924
1925 2004-03-22  Angus Leeming  <leeming@lyx.org>
1926
1927         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1928         Ensure that error_handler is processed once only and that all data
1929         is saved before attempting to output any warning messages.
1930
1931         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1932
1933 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1934
1935         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1936
1937 2004-03-19  André Pönitz  <poenitz@gmx.net>
1938
1939         * cursor.[Ch] (reset): take main text inset as argument
1940
1941         * BufferView: adjust
1942         * BufferView_pimpl.C: adjust
1943
1944         * paragraph.[Ch]: fix completely broken operator=()
1945
1946 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1947
1948         * LColor.C (getFromLyXName): make sure that the color name is used
1949         as lowercase.
1950
1951 2004-03-17  Angus Leeming  <leeming@lyx.org>
1952
1953         * lfuns.h:
1954         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1955
1956         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1957         dialog and to kill a forked process.
1958
1959 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1960
1961         * text2.C (setCursorFromCoordinates): fix font problem
1962
1963 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1966         bogus "rebuild cursor" code
1967
1968 2004-03-11  André Pönitz  <poenitz@gmx.net>
1969
1970         * buffer.[Ch]: use InsetText instead of LyXText as container for
1971         the main lyx text.
1972
1973         * dociterator.[Ch]: drop the BufferView * member which is not needed
1974         anymore after the change to buffer.C
1975
1976         * paragraph_funcs.C:
1977         * text.C:
1978         * text2.C:
1979         * BufferView.[Ch]:
1980         * BufferView_pimpl.[Ch]:
1981         * cursor.[Ch]:
1982         * cursor_slice.[Ch]: adjust
1983
1984         * text3.C: fix bug in mathDispatch
1985
1986 2004-03-08  André Pönitz  <poenitz@gmx.net>
1987
1988         * undo.[Ch]: use 'StableDocumentIterator' as base for
1989         the Undo struct.
1990
1991 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1992
1993         * LaTeXFeatures.C:
1994         * bufferparams.[Ch]: add jurabib support and param.
1995
1996         * LaTeX.C: add FIXME/comment.
1997
1998 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1999
2000         * buffer.C: increment file format to 230.
2001
2002 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * cursor.C (dispatch): avoid infinite loops
2005
2006 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * rowpainter.C (paintSelection): fix x coordinates
2009
2010 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * text.C (rowBreakPoint): fix breaking before displayed insets
2013
2014 2004-03-01  André Pönitz  <poenitz@gmx.net>
2015
2016         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2017
2018         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2019
2020         * Makefile.am:
2021         * BufferView.C:
2022         * BufferView_pimpl.C:
2023         * buffer.C:
2024         * lyxfind.C:
2025         * lyxfunc.C:
2026         * text.C:
2027         * text2.C:
2028         * text3.C: adjust
2029
2030 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * lyxtext.h:
2033         * text.C:
2034         * text2.C:
2035         * rowpainter.C:
2036         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2037         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2038
2039 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2040
2041         * Bidi.[Ch] (computeTables): const correctness
2042         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2043         fill_hfill, fill_label_hfill and x from Row
2044         * lyxtext.h: prepareToPrint returns a RowMetrics
2045         * rowPainter.C: adjust
2046         * text.C (prepareToPrint): use width, not textWidth. adjust
2047         (redoParagraphInternal, cursorX): adjust
2048         * text2.C (getColumnNearX): adjust
2049         (init): put a default value to the top LyXText::width
2050
2051 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2052
2053         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2054
2055 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * lyxtext.h: add FontIterator class
2058
2059         * text.C (FontIterator, operator*, operator->, operator++): add
2060         (rowBreakPoint, setRowWidth): adjust (fixing a
2061         rebreaking bug)
2062
2063 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2064
2065         * BufferView_pimpl.C (workAreaDispatch): allow also
2066         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2067
2068 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2069
2070         * text.C (rowBreakPoint): fix a bug showing with very large insets
2071
2072 2004-02-25  André Pönitz  <poenitz@gmx.net>
2073
2074         * text3.C:
2075         * cursor.[Ch]: move some mathed specific code to mathed
2076
2077 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2078
2079         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2080         use_tempdir in preferences
2081         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2082         tempfile creation
2083         * lyx_main.C: ensure that tempdir is valid
2084         * lyxlex.h: correct typo
2085         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2086         * paragraph.[Ch] (isMultiLingual): make const
2087         * cursor.[Ch] (openable): make const
2088
2089 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2090
2091         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2092
2093 2004-02-20  André Pönitz  <poenitz@gmx.net>
2094
2095         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2096
2097         * cursor.[Ch]: prepare for localized getStatus()
2098
2099         * lyxtext.h:
2100         * tabular.C:
2101         * text.C:
2102         * text2.C:
2103         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2104
2105 2004-02-20  André Pönitz  <poenitz@gmx.net>
2106
2107         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2108
2109 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2110
2111         * text2.C (setCursorFromCoordinates): switch to absolute coords
2112         (cursorUp): adjust
2113         (cursorDown): adjust
2114         * text3.C (dispatch): adjust
2115
2116 2004-02-16  André Pönitz  <poenitz@gmx.net>
2117
2118         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2119           insets/ChangeLog)
2120
2121         * cursor_slice.[Ch]: remove unneeded acessor function
2122
2123         * lyxtext.h: rename rtl() to isRTL()
2124
2125         * rowpainter.C:
2126         * tabular.C:
2127         * text.C:
2128         * text2.C:
2129         * text3.C: adjust
2130
2131 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2132
2133         * rowpainter.C (paintSelection): coord fix
2134
2135 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2136
2137         * Spacing.C: compile fix
2138
2139 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2140
2141         * cursor.C (dispatch): restore current_ before returning
2142
2143 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2144
2145         * text2.C (cursorUp, cursorDown): fix coords
2146         (moveUp): fix crash
2147
2148 2004-02-12  André Pönitz  <poenitz@gmx.net>
2149
2150         * lyxtext.h:
2151         * text.C:
2152         * text2.C:
2153         * text3.C: add LCursor & parameter to most cursor movement functions
2154           remove usage of LyXText::cursorRow() and cursorPar()
2155
2156         * cursor.[Ch]: add textRow() needed members
2157
2158         * BufferView.C:
2159         * BufferView_pimpl.C:
2160         * paragraph.[Ch]:
2161         * BufferView.C:
2162         * BufferView_pimpl.C: adjust
2163
2164 2004-02-11  André Pönitz  <poenitz@gmx.net>
2165
2166         * lyxfunc.C:
2167         * BufferView.[Ch]:
2168         * BufferView_pimpl.C: shift undo/redo handling
2169
2170         * cursor.[Ch]: fix mathed crash
2171
2172         * lyxfind.C:
2173         * lyxtext.h: move selectionAsText to LCursor
2174
2175         * output_latex.C:
2176         * paragraph.C:
2177         * text.C:
2178         * text2.C:
2179         * text3.C: adjust
2180
2181         * rowpainter.C: fix excessive drawing
2182
2183 2004-02-06  André Pönitz  <poenitz@gmx.net>
2184
2185         * BufferView.[Ch]:
2186         * BufferView_pimpl.[Ch]:
2187         * text3.C: move some text specific LFUN handling
2188
2189 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2190
2191         * text3.C (checkInsetHit): adjust coords
2192         * text2.C (getColumnNearX): adjust coords
2193         (edit): adjust coords
2194         * text.C (getRowNearY): add two asserts
2195
2196 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2197
2198         * converter.C:
2199         * format.C: add using std::distance to compile on gcc 2.95/stlport
2200
2201 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2202
2203         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2204
2205 2004-02-04  André Pönitz  <poenitz@gmx.net>
2206
2207         * BufferView.[Ch] (insertInset):
2208         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2209
2210         * text2.C:
2211         * text3.C: adjust
2212
2213 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2214
2215         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2216         on the default clause of the switch
2217         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2218         wasn't catched by LCursor::dispatch
2219
2220 2004-02-03  André Pönitz  <poenitz@gmx.net>
2221
2222         * BufferView.C:
2223         * cursor.[Ch]: some additional asserts
2224
2225         * undo.[Ch]: remove LyXText dependency in interface
2226
2227         * lyxfunc.C: adjust
2228
2229         * lyxtext.h (firstPar, lastPar): remove dead functions
2230
2231         * text.C:
2232         * text2.C:
2233         * text3.C:
2234         * paragraph.[Ch]: adjust
2235
2236 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2237
2238         * lyxfind.C (find): fix argument order in call to ::find
2239
2240 2004-02-02  André Pönitz  <poenitz@gmx.net>
2241
2242         * cursor.[Ch]: remove direct access to anchor
2243
2244         * text.C: remove findText() hack
2245
2246 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2247
2248         * iterators.[Ch] (lockPath): remove in favour of...
2249         * BufferView.[Ch] (setCursor): this addition
2250         * BufferView.C (putSelectionAt): adjust
2251         * undo.C (performUndoOrRedo): adjust
2252         * lyxfunc.C (dispatch): adjust
2253
2254 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2255
2256         * iterators.C (lockPath): add a missing slice
2257         * undo.C (performUndoOrRedo): remove redundant positioning code
2258
2259 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2260
2261         * vc-backend.C (scanMaster): ";" -> ';'
2262
2263 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2264
2265         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2266         std::binary_function
2267
2268         * lyxtextclass.C (compare_name): rename to...
2269         (LayoutNamesEqual): ...this
2270
2271         * lyxlex_pimpl.C (compare_tags): inherit from
2272         std::binary_function, put back into anon namespace
2273
2274         * lyxfind.C (MatchString): inherig from std::binary_function
2275         (findChange): use empty() istead of !size()
2276
2277         * format.C (FormatNamesEqual): new functor
2278         (getFormat): use it
2279         (getNumber): use it
2280         (add): use it
2281         (erase): use it
2282         (setViewer): use it
2283
2284         * converter.C (compare_Converter): rename to...
2285         (ConverterEqual): ...this, and fixup a bit.
2286         (getConverter): use it, and make function const
2287         (getNumber): use it, and make function const
2288         (add): use it
2289         (erase): use it:
2290
2291         * bufferlist.C: add using boost::bind
2292
2293         * MenuBackend.C (MenuNamesEqual): new functor
2294         (hasMenu): use it, and make function const
2295         (hasSubmenu): use nested bind to get rid of compare_memfun.
2296
2297 2004-01-30  André Pönitz  <poenitz@gmx.net>
2298
2299         * BufferView_pimpl.C:
2300         * cursor.C:
2301         * cursor.h:
2302         * cursor_slice.[Ch]:
2303         * lyxfunc.C:
2304         * lyxtext.h:
2305         * paragraph_funcs.C:
2306         * paragraph_funcs.h:
2307         * rowpainter.C:
2308         * text.C:
2309         * text2.C:
2310         * text3.C: move some of the edit(x,y) handling to the insets
2311         some coordinate changes.
2312
2313 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2314
2315         * text.C: add using statements for std::advance and std::distance
2316
2317         * paragraph.C: add using statement for std::distance
2318
2319         * lyxfind.C: add using statement for std::advance
2320
2321         * cursor.C (region): remove std:: from swap
2322         (openable): use nucleus in stead of operator->
2323
2324         * BufferView.C: add using statements for std::distance and std::swap
2325
2326 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2327
2328         * iterators.C: Remove the pimple, move the needed structures to
2329         the header file. Create accessor for the positions stack.
2330         (asPosIterator): remove function
2331
2332         * PosIterator.C (PosIterator): move constructors to top of file
2333         (PosIterator): reimplement the constructor taking a ParIterator in
2334         terms of setFrom.
2335         (setFrom): new function
2336         (operator!=): inline it
2337
2338 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2339
2340         * lyxfind.C (replaceAll): use std::advance
2341
2342         * iterators.h: inherit from std::iterator.
2343
2344         * PosIterator.C (advance, distance): remove
2345         * PosIterator.h: interit from std::iterator.
2346
2347 2004-01-26  André Pönitz  <poenitz@gmx.net>
2348
2349         * BufferView.[Ch]:
2350         * BufferView_pimpl.[Ch]:
2351         * InsetList.[Ch]:
2352         * PosIterator.[Ch]:
2353         * buffer.h:
2354         * bufferview_funcs.C:
2355         * cursor.[Ch]:
2356         * cursor_slice.h:
2357         * factory.[Ch]:
2358         * iterators.[Ch]:
2359         * lyxfind.C:
2360         * lyxfunc.C:
2361         * lyxtext.h:
2362         * output_docbook.C:
2363         * output_latex.C:
2364         * output_linuxdoc.C:
2365         * output_plaintext.C:
2366         * paragraph.[Ch]:
2367         * paragraph_funcs.[Ch]:
2368         * paragraph_pimpl.[Ch]:
2369         * rowpainter.C:
2370         * tabular.C:
2371         * tabular.h:
2372         * text.C:
2373         * text2.C:
2374         * text3.C: more IU:  dumps most of the rest of the mathcursor
2375     implementation into cursor.[Ch]; "globalize" a bit of it.
2376
2377 2004-01-25  Angus Leeming  <leeming@lyx.org>
2378
2379         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2380
2381 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2382
2383         * LaTeXFeatures.h: add nice_ and nice() const
2384         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2385
2386 2004-01-20  André Pönitz  <poenitz@gmx.net>
2387
2388         * BufferView.[Ch]:
2389         * BufferView_pimpl.C:
2390         * PosIterator.C:
2391         * bufferview_funcs.C:
2392         * cursor.[Ch]:
2393         * cursor_slice.[Ch]:
2394         * factory.C:
2395         * iterators.C:
2396         * lyx_cb.C:
2397         * lyxfind.C:
2398         * lyxfunc.C:
2399         * lyxtext.h:
2400         * rowpainter.C:
2401         * text.C:
2402         * text2.C:
2403         * text3.C:
2404         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2405           LCursor and mathcursor parts to LCursor and InsetBase.
2406
2407 2004-01-15  André Pönitz  <poenitz@gmx.net>
2408
2409         * cursor_slice.[Ch]: add a few covienience functions
2410
2411         * funcrequest.[Ch]: remove BufferView * member
2412
2413         * BufferView_pimpl.C:
2414         * cursor.C:
2415         * factory.[Ch]:
2416         * lyxfind.[Ch]:
2417         * lyxfunc.C:
2418         * lyxtext.h:
2419         * text3.C:
2420         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2421
2422 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2425         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2426
2427 2004-01-13  André Pönitz  <poenitz@gmx.net>
2428
2429         * textcursor.[Ch]:
2430         * lyxtext.h: hide cursor and selection anchor behind accessor function
2431
2432         * BufferView.C:
2433         * BufferView_pimpl.[Ch]:
2434         * PosIterator.C:
2435         * bufferview_funcs.C:
2436         * cursor.h:
2437         * lyxfind.C:
2438         * lyxfunc.C:
2439         * text.C:
2440         * text2.C:
2441         * text3.C:
2442         * undo.C: adjust
2443
2444         * cursor.h:
2445         * cursor_slice.[Ch]: some integer type changes for inset unification
2446
2447         * lyxcursor.[hC]: remove, it's CursorSlice now.
2448
2449         * Makefile.am:
2450         * BufferView_pimpl.[Ch]:
2451         * bufferview_funcs.C:
2452         * cursor_slice.C:
2453         * lyxtext.h:
2454         * text.C:
2455         * text2.C:
2456         * text3.C:
2457         * textcursor.[Ch]: adjust
2458
2459 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2460
2461         * text2.C (undoSpan): add and use
2462         * text.C (breakParagraph): use undoSpan (fix bug 578)
2463         * lyxtext.h: adjust
2464
2465 2004-01-08  Angus Leeming  <leeming@lyx.org>
2466
2467         * BufferView_pimpl.C (MenuInsertLyXFile):
2468         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2469         * lyxfunc.C (menuNew, open, doImport):
2470         FileFilterList change to the FileDialog open and save functions.
2471
2472 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2473
2474         * ShareContainer.h: make isEqual and isUnique adaptable
2475
2476         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2477
2478 2004-01-07  Angus Leeming  <leeming@lyx.org>
2479
2480         * LyXAction.C:
2481         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2482
2483         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2484
2485         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2486         functions replacing find, replace and replaceAll.
2487
2488         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2489         LFUN_WORDFIND(FORWARD|BACKWARD).
2490
2491 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2492
2493         * text.C (breakParagraph): remove an outdated #warning
2494
2495 2004-01-07  André Pönitz  <poenitz@gmx.net>
2496
2497         * lyxfind.C: somewhat clearer logic
2498
2499         * text.C: prevent crash in cursorX on unitialized row cache
2500
2501 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2502
2503         * lyxcursor.[Ch] (operator>): add
2504         * textcursor.C (selStart, selEnd): use std::min and std::max
2505
2506 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2507
2508         * Chktex.C: include boost/format.hpp
2509
2510 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2511
2512         * InsetList.C: replace functor MathcIt with adaptable functor
2513         InsetTablePosLess
2514         (insetIterator): modify accordingly
2515
2516         * BranchList.h: move the BranchNamesEqual functor here from...
2517         * BranchList.C: ... to here
2518
2519         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2520         SameName and match.
2521         (add): replace a finding loop with std::find_if.
2522
2523 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2524
2525         * output_docbook.C: moving LatexParam functionality into
2526         .layout files
2527
2528 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2529
2530         * buffer.C: increment format to 229.
2531
2532 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2533
2534         * LaTeXFeatures.C:
2535         * lyx_sty.[Ch]: remove minipageindent_def
2536
2537         * LyXAction.C:
2538         * factory.C:
2539         * lfuns.h:
2540         * lyxfunc.C:
2541         * text3.C: remove LFUN_INSET_MINIPAGE
2542
2543 2003-12-28  Angus Leeming  <leeming@lyx.org>
2544
2545         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2546
2547 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2548
2549         * text2.C (setParagraph): fix off-by-one crash
2550
2551 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2552
2553         * output_docbook.C: header stuff for AGU
2554
2555 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2556
2557         * text2.C (redoCursor): remove
2558         * text.C:
2559         * text3.C:
2560         * BufferView_pimpl.C: remove calls to redoCursor and
2561         setCursor(cursor.par(), cursor.pos()) all around
2562
2563 2003-12-15  Angus Leeming  <leeming@lyx.org>
2564
2565         * buffer.C: up the format to 228.
2566
2567 2003-12-15  André Pönitz  <poenitz@gmx.net>
2568
2569         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2570         slices
2571
2572         * Makefile.am:
2573
2574         * BufferView_pimpl.C:
2575         * cursor.[Ch]:
2576         * lyxcursor.[Ch]:
2577         * rowpainter.[Ch]:
2578         * lyxtext.h:
2579         * text.C:
2580         * text2.C:
2581         * text3.C: adjust
2582
2583 2003-12-15  Angus Leeming  <leeming@lyx.org>
2584
2585         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2586         than getFromGUIName to manipulate the color.
2587
2588 2003-12-14  Angus Leeming  <leeming@lyx.org>
2589
2590         * BranchList.[Ch]: minimize the API.
2591         (Branch::getBranch, getColor): now return a 'const &'.
2592         (Branch::setSelected) now returns a bool set to true if the
2593         selection status changes.
2594         (BranchList::clear, size, getColor, setColor, setSelected,
2595         allBranches, allSelected, separator): removed.
2596         (BranchList::find): new functions, returning the Branch with
2597         the given name.
2598         (BranchList::add, remove): return a bool indicating that
2599         the operation was successful.
2600
2601         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2602         new InsetBranch::isBranchSlected member function.
2603
2604         * LColor.[Ch]: mimimize the API.
2605         (fill): renamed as addColor and made private.
2606         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2607         versions of these functions taking a string arg have been removed.
2608
2609         * bufferparams.C (readToken):
2610         * lyxfunc.C (dispatch):
2611         * lyxrc.C (read): changes due to the altered BranchList and
2612         LColor APIs.
2613
2614         * factory.C (createInset, readInset): changes due to altered
2615         InsetBranch c-tor.
2616
2617 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2618
2619         * factory.C:
2620         * lyxfunc.C: remove insetminipage. "minipage-insert"
2621         now produces a frameless minipage box inset.
2622
2623 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2624
2625         * textcursor.[Ch] (selStart,selEnd): add new methods
2626         remove selection::start, end, use LyXCursor::operator<
2627         * lyxcursor.[Ch] (operator<): add
2628         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2629         * BufferView.[Ch] (unsetXSel): add
2630         * text2.C (clearSelection): use unsetXSel,adjust
2631         * text.C: adjust
2632         * text3.C: adjust
2633         * rowpainter.C: adjust
2634         * bufferview_funcs.C (put_selection_at): adjust
2635
2636 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2637
2638         * BufferView_pimpl.C: small coord. correction
2639
2640 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2641
2642         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2643         dragging over the splash screen.
2644
2645 2003-12-11  Angus Leeming  <leeming@lyx.org>
2646
2647         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2648         as it is now handled in LyXText::dispatch.
2649
2650         * text3.C (doInsertInset): remove a level of nesting.
2651
2652 2003-12-11  Angus Leeming  <leeming@lyx.org>
2653
2654         * factory.C (createInset): changes due to the changed interface to
2655         InsetCommandMailer::string2params.
2656
2657 2003-12-10  Angus Leeming  <leeming@lyx.org>
2658
2659         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2660         'dialog-show-new-inset <inset name>'
2661
2662 2003-12-10  Angus Leeming  <leeming@lyx.org>
2663
2664         * buffer.C: up the format to 227.
2665
2666         * factory.C: the box inset is now identified simply by 'Box'.
2667
2668 2003-12-10  Angus Leeming  <leeming@lyx.org>
2669
2670         * buffer.C: up the format to 226.
2671
2672         * factory.C: the note inset is now identified simply by 'Note'.
2673
2674 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2675
2676         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2677         when a pit is enough. Standarize a couple of loops.
2678
2679 2003-12-05  Angus Leeming  <leeming@lyx.org>
2680
2681         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2682         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2683         data to the re-worked "log" dialog.
2684
2685 2003-12-03  André Pönitz  <poenitz@gmx.net>
2686
2687         * PosIterator.C:
2688         * iterators.C:
2689         * lyxtext.h:
2690         * output_latex.C:
2691         * paragraph_funcs.C:
2692         * text.C:
2693         * text2.C: use Inset::getText instead of Inset::getParagraph
2694
2695 2003-12-03  André Pönitz  <poenitz@gmx.net>
2696
2697         * buffer.[Ch]:
2698         * lyxtext.h:
2699         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2700         InsetText::read() as LyXText::read()
2701
2702 2003-12-02  Angus Leeming  <leeming@lyx.org>
2703
2704         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2705         type. Add a comment in the implementation that the function uses
2706         the stream's bad() function rather than fail() as the std::streams
2707         would do.
2708
2709 2003-12-02  André Pönitz  <poenitz@gmx.net>
2710
2711         * lyxlex.[Ch]: make interface more similar to std::stream
2712
2713         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2714
2715 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2716
2717         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2718
2719 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2720
2721         * vspace.[Ch]: remove VSpace::NONE
2722
2723 2003-12-01  André Pönitz  <poenitz@gmx.net>
2724
2725         * buffer.[Ch]:
2726         * lyxtext.h: move ParagraphList member to LyXText
2727         rename LyXText::ownerParagraphs to LyXText::paragraph
2728
2729         * CutAndPaste.C:
2730         * bufferview_funcs.C:
2731         * iterators.[Ch]:
2732         * lyx_cb.C:
2733         * paragraph.C:
2734         * rowpainter.C:
2735         * tabular.C:
2736         * text.C:
2737         * text2.C:
2738         * text3.C: adjust
2739
2740         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2741
2742         * undo.C: fix cursor positioning
2743
2744 2003-12-01  John Levon  <levon@movementarian.org>
2745
2746         * BufferView_pimpl.C: fix a crash on exit with
2747         a buffer open
2748
2749 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2750
2751         * BranchList.C: fix setSelected() method.
2752
2753 2003-11-28  André Pönitz  <poenitz@gmx.net>
2754
2755         * ParagraphParameters.[Ch]:
2756         * ParameterStruct.h: remove space above/below from Paragraph to
2757          InsetVSpace
2758
2759         * BufferView_pimpl.C:
2760         * factory.C:
2761         * lyxfunc.C:
2762         * lyxtext.h:
2763         * output_latex.C:
2764         * paragraph.C:
2765         * paragraph_funcs.C:
2766         * rowpainter.[Ch]:
2767         * text.C:
2768         * text2.C:
2769         * text3.C: adjust
2770
2771 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2772
2773         * factory.C: Syntax change for CharStyles
2774
2775 2003-11-28  André Pönitz  <poenitz@gmx.net>
2776
2777         * BufferView.[Ch]:
2778         * BufferView.[Ch]:
2779         * buffer.[Ch]:
2780         * buffer.[Ch]: move LyXText member
2781
2782 2003-11-28  André Pönitz  <poenitz@gmx.net>
2783
2784         * BufferView.[Ch]: make LyXText * text a private member
2785
2786         * BufferView_pimpl.C:
2787         * cursor.C:
2788         * iterators.C:
2789         * lyx_cb.C:
2790         * lyxfind.C:
2791         * lyxtext.h:
2792         * rowpainter.[Ch]:
2793         * text.C:
2794         * text2.C:
2795         * undo.C: adjust
2796
2797         * output_plaintext.C: cleanup
2798
2799 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2800
2801         * buffer.C:
2802         * lyxtextclass.[Ch]: parametrize SGML document header
2803
2804 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2805
2806         * converter.[Ch]:
2807         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2808         getFlavor().
2809
2810 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2811
2812         * text2.C (setFont): rework using PosIterator (no more recursive)
2813         (setCharFont): no more needed
2814         (setLayout): no more selection cursors fiddling (done by redoCursor)
2815         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2816         destroy remaining ones)
2817
2818 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2821         * lyxtext.h: ditto
2822         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2823         selection cursors
2824         * lyxfunc.C: adjust
2825         * text3.C: adjust + re-allow multi par depth changes
2826         * textcursor.C: simplify a bit
2827
2828 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2829
2830         * src/buffer.C:
2831         * src/lyxlayout.C:
2832         * src/lyxlayout.h:
2833         * src/lyxtext.h:
2834         * src/output_docbook.C:
2835         * src/output_latex.C:
2836         * src/paragraph.C:
2837         * src/paragraph.h:
2838         * src/sgml.C:
2839         * src/sgml.h:
2840         * src/text2.C: Introducing a number of tags parametrizing various
2841         XML formats that we may want to support
2842
2843 2003-11-25  André Pönitz  <poenitz@gmx.net>
2844
2845         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2846
2847         * lyxtext.h (leftMargin/rightMargin): simplify interface
2848
2849         * rowpainter.C:
2850         * text.C:
2851         * text2.C:
2852         * text3.C: adjust
2853
2854 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2855
2856         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2857         master file to any child files. Fixes bug 546.
2858
2859 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2860
2861         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2862
2863 2003-11-24  André Pönitz  <poenitz@gmx.net>
2864
2865         * rowpainter.C: simplification
2866
2867         * text2.C (updateCounters): remove call to redoParagraph on
2868         changed labels as this is far too expensive.
2869
2870 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2871
2872         * converter.C (convert): fix a crash: this function gets
2873         called with buffer == 0 from importer code.
2874
2875 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2876
2877         * text3.C (cursorPrevious): make sure that we do not compare
2878         iterators form different containers.
2879         (cursorNext): ditto
2880
2881         * rowpainter.C (paintSelection): make sure that we do not compare
2882         iterators from different containers.
2883
2884         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2885         iterators from different ParagraphList containers.
2886         [NEXT] ditto
2887
2888         * text2.C (LyXText): change order of initialization slightly
2889         (operator=): new function. copy all variables except cache_par_
2890         (moveUp): make sure that we do not compare iterators from
2891         different ParagraphList constainers.
2892         (moveDown): ditto
2893
2894         * text.C (firstPar): new function
2895         (lastPar): new function
2896         (endPar): new function
2897
2898         * lyxtext.h: move things around and group public functions, public
2899         variables, private functions, private variables
2900
2901 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2902
2903         * factory.C: change call to InsetERT constructor to avoid
2904         additional invocation of method status
2905         * text2.C (toggleInset): remove redundant update() call
2906         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2907         instead of a Bufferview pointer
2908
2909 2003-11-21  André Pönitz  <poenitz@gmx.net>
2910
2911         * rowpainter.C: simplification
2912
2913 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2914
2915         * text3.C (dispatch): make possible to extend a word/row selection
2916         with the mouse
2917
2918 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2919
2920         * lyxtext.h: x0_,y0_ -> xo_,yo_
2921         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2922         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2923         * rowpainter.C (paintRows): paint full paragraphs
2924
2925 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2926
2927         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2928         screen coordinates)
2929
2930 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2931
2932         * lyxtext.h: add x0_, y0_
2933         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2934         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2935
2936 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2937
2938         * text2.C (setCursorIntern): move the x_target update here *
2939         * text3.C: change some bv() to true/false in calls to
2940         cursorUp/Down/Right/Left
2941         * cursor.C: use helper function.
2942
2943 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2944
2945         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2946         * paragraph_funcs.[Ch]: correct comment
2947         * rowpainter.C: do not paint selections away from bv->cursor()
2948         Fix a long standing selection painting bug.
2949         * text3.C: generalize mouse-selection code to LyXTexts other that
2950         top one
2951         * textcursor.C: do not use y coords if we can use par offsets
2952
2953 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2954
2955         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2956         cursor position after e.g. inset insert)
2957
2958 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * lyxfind.C (replace): adjust to locking removal + some
2961         code simplification
2962
2963 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2966         of the path
2967
2968 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2969
2970         * lyxlayout.[Ch]:
2971         * output_docbook.C: XML sanitation: new layout
2972         parameters InnerTag and CommandDepth
2973
2974 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2975
2976         * BufferView_pimpl.C:
2977         * factory.C:
2978         * text3.C: Fix the insertion and modification of button-style
2979         insets
2980
2981 2003-11-13  André Pönitz  <poenitz@gmx.net>
2982
2983         * InsetList.[Ch]: remove deleteLyXText
2984
2985         * paragraph.[Ch]: cache beginOfBody position
2986
2987         * Bidi.C:
2988         * text.C:
2989         * text2.C:
2990         * text3.C: remove superfluous update() calls
2991
2992         * vspace.C: cleanup
2993
2994 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2995
2996         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2997         * BufferView.C (fitLockedInsetCursor): remove
2998         * cursor.[Ch] (getDim): add
2999         * text.C (getRowNearY): add faster version
3000         * text3.C: remove some update calls
3001
3002 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3003
3004         * LaTeXFeatures.C:
3005         * LyXAction.C:
3006         * MenuBackend.C:
3007         * MenuBackend.h:
3008         * dispatchresult.h:
3009         * factory.C:
3010         * lfuns.h:
3011         * lyxfunc.C:
3012         * lyxtextclass.C:
3013         * lyxtextclass.h:
3014         * text3.C: The Character Style /XML short element patch.
3015
3016 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3017
3018         * text3.C:
3019         * factory.C: Small step to solving 'unable to insert some insets'
3020         problem
3021
3022 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3023
3024         * cursor.[Ch] (updatePos): new function for updating the y
3025         position of the tip inset
3026         * bufferview_funcs.C (put_selection_at):
3027         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3028
3029 2003-11-11  André Pönitz  <poenitz@gmx.net>
3030
3031         * text.C: remove big comment on invalid Paragraph pointers as it is
3032         not valid anymore
3033
3034 2003-11-11  André Pönitz  <poenitz@gmx.net>
3035
3036         * text_funcs.[Ch]: merge with ...
3037
3038         * text.C: ... this
3039
3040         * lyxtext.h:
3041         * text2.C:
3042         * text3.C: adjust
3043
3044         * Makefile.am: remove text_funcs.[Ch]
3045
3046 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3047
3048         * cursor.C (getPos): return absolute cached y coord
3049
3050         * BufferView_pimpl.C (fitCursor): new simplistic code
3051         (workAreaDispatch): add a fitCursor call
3052
3053 2003-11-10  André Pönitz  <poenitz@gmx.net>
3054
3055         * BufferView.[Ch]:
3056         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3057
3058 2003-11-10  André Pönitz  <poenitz@gmx.net>
3059
3060         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3061         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3062         indicate that the cursor needs to leave an inset
3063
3064         * lyxtext.h: remove inset locking
3065
3066         * cursor.[Ch]: re-implement functionality provided by inset locking
3067
3068         * BufferView.[Ch]:
3069         * BufferView_pimpl.[Ch]:
3070         * LyXAction.C:
3071         * bufferview_funcs.[Ch]:
3072         * factory.C:
3073         * funcrequest.[Ch]:
3074         * iterators.C:
3075         * lyx_cb.C:
3076         * lyxfind.C:
3077         * lyxfunc.C:
3078         * text.C:
3079         * text2.C:
3080         * text3.C:
3081         * undo.C: adjust
3082
3083 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3084
3085         * PosIterator.[Ch]: replace the stack with a vector, add inset
3086         accesor
3087         * iterators.[C]: adjust
3088
3089 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3090
3091         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3092         replaced
3093         * paragraph_funcs.C (readParToken): put the correct id in the
3094         error item, not the id of the top paragraph
3095
3096 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3097
3098         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3099         * bufferview_funcs.C (put_selection_at): use the above
3100
3101 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3102
3103         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3104
3105 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * output_linuxdoc.h:
3108         * output_plaintext.h:
3109         * output.h:
3110         * output_docbook.h: add #include statements
3111
3112 2003-11-05  José Matos  <jamatos@lyx.org>
3113
3114         * output_docbook.[Ch]:
3115         * output_latex.[Ch]:
3116         * output_linuxdoc.[Ch]:
3117         * output_plaintext.[Ch]: New files for output formats.
3118         * output.[Ch]: New file for helper functions.
3119
3120         * buffer.[Ch]:
3121         * paragraph_funcs.[Ch]: output functions moved to new files.
3122
3123         * outputparams.h: rename of latexrunparams.h
3124
3125         * LaTeX.[Ch]:
3126         * buffer.[Ch]:
3127         * bufferlist.[Ch]:
3128         * converter.[Ch]:
3129         * exporter.C:
3130         * paragraph.[Ch]:
3131         * paragraph_funcs.[Ch]:
3132         * paragraph_pimpl.[Ch]:
3133         * tabular.[Ch]: rename ascii to plaintext
3134         and LatexRunParams to OutputParams.
3135
3136 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3137
3138         * iterators.[Ch] (text): require bv argument
3139         * undo.C (recordUndo):
3140         * lyxfunc.C (dispatch):
3141         * bufferview_funcs.C (put_selection_at): adjust
3142
3143 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3144
3145         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3146
3147 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3150         nestings
3151
3152 2003-11-04  André Pönitz  <poenitz@gmx.net>
3153
3154         * cursor.[Ch]: restructure
3155
3156         * BufferView.[Ch]:
3157         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3158
3159         * iterators.[Ch] (asCursor): remove
3160
3161         * lfuns.h: remove LFUN_INSET_EDIT
3162
3163         * lyxfunc.C:
3164         * tabular.C:
3165         * text.C:
3166         * text2.C:
3167         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3168
3169 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3170
3171         * lyxfind.[Ch]: complete overhaul
3172         * BufferView_pimpl.C:
3173         * lyxfunc.C: adjust
3174         * paragraph.[Ch] (insert): add
3175
3176 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3177
3178         * BufferView.[Ch]:
3179         * lyxtext.h:
3180         * text.C: remove dead spellcheck code
3181
3182 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3183
3184         * dispatchresult.h: add a val setter
3185
3186         * cursor.C (dispatch): use a tempvar for data_[i]
3187
3188 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * PosIterator.[Ch]: compile fix
3191
3192 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3193
3194         * text.C (cursorPar): deactivate the cursor cache
3195
3196 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3197
3198         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3199
3200 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * text3.C (dispatch): adjust for new DisptchResult semantics.
3203
3204         * lyxfunc.C (dispatch): handle update when return from
3205         Cursor::dispatch, adjust for new DispatchResult semantics.
3206
3207         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3208         DispatchResult(true) mean to not update. Add class functions for
3209         setting dispatched and update, as well as reading.
3210
3211         * cursor.C (dispatch): don't handle update here
3212
3213 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3214
3215         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3216         * trans_mgr.C: adjust
3217
3218         * paragraph_funcs.C (readParToken): exception safety
3219
3220         * lyxvc.h: store the vcs pointer in a scoped_ptr
3221         * lyxvc.C: adjust
3222
3223         * lyxsocket.C (serverCallback): exception safety
3224
3225         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3226
3227         * ispell.C (clone): make it return a auto_ptr
3228
3229         * factory.C (createInset): exception safety
3230         (readInset): exception safety
3231
3232         * bufferlist.C (newBuffer): exception safety
3233
3234         * Thesaurus.C (Thesaurus): use initialization for aik_
3235
3236         * MenuBackend.C (expandToc): exception safety.
3237
3238 2003-11-03  André Pönitz  <poenitz@gmx.net>
3239
3240         * buffer.C:
3241         * buffer.h:
3242         * bufferview_funcs.C: remove getInsetFromId()
3243
3244         * lyxcursor.[Ch]:
3245         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3246
3247         * lyxfunc.C:
3248         * text2.C:
3249         * text3.C: adjust
3250
3251 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3252
3253         * PosIterator.C (distance, advance): new
3254         * bufferview_funcs.[Ch] (put_selection_at): new
3255         * iterators.[Ch] (lockPath): new
3256
3257 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3258
3259         * iterators.[Ch] (asPosIterator): added
3260         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3261         * PosIterator.[Ch]: added
3262
3263 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3264
3265         * text3.C:
3266         * lyxfunc.C:
3267         * cursor.C (dispatch):
3268         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3269
3270         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3271         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3272         contructor, add a class function dispatched. Remove operator>=
3273
3274 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * debug.C: only use the default constructor for debugstream
3277         (lyxerr) here.
3278
3279         * main.C (main): include debug.h and setup the lyxerr streambuf
3280         here.
3281
3282 2003-10-31  José Matos  <jamatos@lyx.org>
3283
3284         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3285
3286         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3287         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3288         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3289         * paragraph_pimpl.C (simpleTeXSpecialC):
3290         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3291         add LatexRunParams argument.
3292
3293         * exporter.C (Export): change call accordingly.
3294
3295         * latexrunparams.h: add new member to take care of the other backends.
3296 2003-10-30  José Matos  <jamatos@lyx.org>
3297
3298         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3299         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3300         factorise code for paragraph output.
3301         * buffer.[Ch]:
3302         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3303         move functions.
3304
3305 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3306
3307         * text3.C (dispatch):
3308         * lyxfunc.C (dispatch):
3309         * cursor.C (dispatch):
3310         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3311
3312         * dispatchresult.h: make the dispatch_result_t ctor explicit
3313
3314 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3315
3316         * sgml.[Ch]:
3317         * buffer.C: small refactoring of docbook stuff
3318
3319 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3322         meaning.
3323
3324 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3325
3326         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3327         operator dispatch_result_t, and operators for == != and >=
3328
3329         * cursor.C (dispatch): adjust for operator dispatch_result_t
3330         removal. comment out call to update
3331
3332         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3333
3334 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * text3.C:
3337         * text2.C:
3338         * text.C:
3339         * lyxtext.h:
3340         * lyxfunc.C:
3341         * cursor.C:
3342         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3343         (dispatch):
3344
3345         * dispatchresult.h: new file, DispatchResult broken out of
3346         insets/insetbase.h
3347
3348         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3349
3350 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * text.C (rowBreakPoint): put a hack inside #if 0
3353
3354 2003-10-28  André Pönitz  <poenitz@gmx.net>
3355
3356         * lyxtext.h:
3357         * metricsinfo.C:
3358         * paragraph_funcs.C:
3359         * rowpainter.C:
3360         * text.C:
3361         * text2.C: general cleanup (lots of small stuff)
3362
3363 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3364
3365         * text2.C (cursorEnd): simple fix to the "end key goes to one
3366         before the end on last row" bug
3367
3368 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3369
3370         * text.C (backspace): fix the "zombie characters"
3371
3372 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3373
3374         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3375
3376 2003-10-27  André Pönitz  <poenitz@gmx.net>
3377
3378         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3379
3380         * factory.C: handle new InsetPagebreak, InsetLine
3381
3382         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3383         and move handling into new InsetPagebreak, InsetLine
3384
3385         * BufferView_pimpl.C:
3386         * LyXAction.C:
3387         * ParagraphParameters.C:
3388         * ParameterStruct.h:
3389         * lyxfunc.C:
3390         * lyxtext.h:
3391         * paragraph.C:
3392         * paragraph.h:
3393         * paragraph_funcs.C:
3394         * paragraph_pimpl.C:
3395         * rowpainter.C:
3396         * text.C:
3397         * text2.C:
3398         * text3.C: adjust
3399
3400 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3401
3402         * text.C:
3403         * lyxrow_funcs.[Ch]:
3404         * Bidi.C:
3405         * paragraph.C:
3406         * lyxtext.h:
3407         * rowpainter.C:
3408         * text2.C:
3409         * text3.C: remove lastPos uses in favour of Row::endpos
3410
3411 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3412
3413         * undo.C (performUndoOrRedo): fix two crashes by setting a
3414         cursor by hand and reordering some calls. Use bv->lockInset instead
3415         of inset->edit because the latter loses cursor information
3416
3417 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3418
3419         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3420         by Martin
3421         (rowBreakPoint): fix width. change point to point + 1.
3422         Add a missing check.
3423
3424 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3425
3426         * MenuBackend.C:
3427         * lyxfunc.C: fix (at least partly) the problems
3428         with the Nav menu and headers inside branch insets
3429         reported by Kayvan
3430
3431 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3432
3433         * paragraph.C (getChar): add strong asserts
3434
3435         * lyxrow_funcs.C (lastPos): remove hideous hack
3436
3437         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3438         (fill): adjust to that (avoid an infinite loop)
3439
3440 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3443
3444 2003-10-23  André Pönitz  <poenitz@gmx.net>
3445
3446         * RowList_fwd.h: change list<> to vector<> to gain speed
3447         after suggestion from Alfredo
3448
3449 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3450
3451         * lyxtext.h: move the bidi stuff from here...
3452         * text.C: and here
3453         * text2.C: and here
3454         * Bidi.[Ch]: ... to here
3455
3456 2003-10-23  André Pönitz  <poenitz@gmx.net>
3457
3458         * lyxtext.h:
3459         * text.C (isLastRow, isFirstRow): new functions
3460
3461         * paragraph.h: new width cache member
3462
3463         * rowpainter.C: replace RowList::iterator with Row & where possible
3464
3465         * lyxfunc.C: replace several view()->text with a single call
3466
3467         * toc.C: fix 'unused' warning
3468
3469 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3470
3471         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3472         when woring with stream::pos_type
3473         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3474
3475 2003-10-22  André Pönitz  <poenitz@gmx.net>
3476
3477         * lyxtext.h:
3478         * text.C: use Row & instead of RowList::iterator
3479
3480         * lyxrow.h: rename end() to endpos()
3481
3482         * rowpainter.C:
3483         * text.C:
3484         * text2.C: adjust
3485
3486 2003-10-22  Angus Leeming  <leeming@lyx.org>
3487
3488         * buffer.[Ch] (fully_loaded): new member function, returning true
3489         only when the file has been loaded fully.
3490         Used to prevent the premature generation of previews and by the
3491         citation inset to prevent computation of the natbib-style label.
3492
3493         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3494         templates are all set up.
3495
3496         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3497
3498 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3499
3500         * text.C: fixed an "oops" in the "is a bit silly"
3501         bug fix
3502
3503 2003-10-21  André Pönitz  <poenitz@gmx.net>
3504
3505         * FuncStatus.[Ch]: small stuff, whitespace
3506
3507         * lyxfont.[Ch]: operator<<() for debug reasons
3508
3509         * lyxfunc.C:
3510         * lyxrow_funcs.C:
3511         * lyxtext.h: whitespace, spelling
3512
3513         * paragraph.C: naming of variables
3514
3515         * text.C:
3516         * text2.C: small stuff
3517
3518
3519 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3520
3521         * text.C: (1) finish off the inset display() work;
3522         (2) fix the "is a bit silly" bug (accessing char
3523         past end of par).
3524
3525 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3526
3527         * text.C: re-introduce display() for insets, fixing the
3528         various bugs (stretch of line above, math inset
3529         positioning, ...)
3530
3531 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3532
3533         * text.C (rightMargin): remove spurious semicolon
3534
3535         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3536         1415)
3537
3538 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3539
3540         * text3.C: fix one crash due to wrong cursor def
3541
3542 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3543
3544         * vc-backend.C (scanMaster): make the regex static
3545
3546         * LaTeX.C (scanAuxFile): make the regexs static
3547
3548         * text3.C (doInsertInset, dispatch, dispatch):
3549         * text2.C (cursorUp, cursorDown):
3550         * text.C (selectNextWordToSpellcheck):
3551         * BufferView_pimpl.C (dispatch):
3552         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3553
3554 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3555
3556         * lyxsocket.C: include <cerrno>
3557
3558 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * lyxfunc.C (dispatch): remove textcache stuff
3561
3562         * bufferlist.C (release): remove textcache stuff
3563         (closeAll): ditto
3564
3565         * TextCache.C: delete file
3566         * TextCache.h: delete file
3567
3568         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3569
3570         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3571         delete of the bv_->text.
3572         (resizeCurrentBuffer): remove texcache stuff
3573         (workAreaResize): ditto
3574
3575 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3578         action.
3579
3580 2003-10-16  André Pönitz  <poenitz@gmx.net>
3581
3582         * lyxrow.[Ch]:
3583         * paragraph.h:
3584         * rowpainter.C:
3585         * text.C:
3586         * text2.C:
3587         * text3.C: speed up by storing y positions per paragraph plus per-row
3588         offset instead of having a 'full' y position in the row.
3589
3590 2003-10-15  André Pönitz  <poenitz@gmx.net>
3591
3592         * iterators.[Ch]:
3593         * iterators.[Ch]:
3594         * undo.[Ch]: make undo aware of inner insets
3595
3596 2003-10-14  Angus Leeming  <leeming@lyx.org>
3597
3598         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3599         static member functions LyX::ref() and LyX::cref.
3600         (lastfiles): new accessor functions for the new lastfiles_ member var.
3601         (addLyXView, views_): add a new LyXView to the list of views_.
3602         (updateInset): loop over all LyXViews to call their own updateInset
3603         member function, returning a pointer to the Buffer owning the inset.
3604
3605         * BufferView_pimpl.C (loadLyXFile):
3606         * MenuBackend.C (expandLastfiles):
3607         * bufferlist.C (MenuWrite, QuitLyX):
3608         lastfiles is no longer a global variable.
3609         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3610
3611         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3612         static function. Access through LyX::cref().emergencyCleanup().
3613
3614 2003-10-14  André Pönitz  <poenitz@gmx.net>
3615
3616         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3617
3618         * undo.[Ch]: restoring part of 'undo in insets'
3619
3620         * Makefile.am:
3621         * undo_funcs.[Ch]: merge with undo.[Ch]
3622
3623         * tabular.C: small cleansing stuff
3624
3625 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3626
3627         * paragraph_funcs.C (readParToken): report unknown insets as error
3628         boxes. Use the outer paragraph as location (also for unknown
3629         tokens).
3630
3631         * factory.C (readInset): do not abort on reading an unknown inset.
3632         Eat it and return 0.
3633
3634 2003-10-13  Angus Leeming  <leeming@lyx.org>
3635
3636         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3637
3638         * lyxrc.C: displayTranslator is now a function,
3639         declared in GraphicsTypes.h.
3640
3641 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3642
3643         * format.C: new placeholder $$a to pass the socket address.
3644
3645         * bufferlist.[Ch]: new function getBufferFromTmp.
3646
3647         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3648           files in the temporary dir.
3649
3650 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3651
3652         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3653
3654         * Makefile.am: add lyxsocket.[Ch].
3655
3656         * lyx_main.C (error_handler): handle SIGPIPE.
3657
3658 2003-10-13  André Pönitz  <poenitz@gmx.net>
3659
3660         * BufferView_pimpl.C:
3661         * lyxtext.h:
3662         * text.C:
3663         * text2.C:
3664         * text3.C:
3665         * undo_funcs.[Ch]: use paroffset_type instead of
3666           ParagraphList::iterators to prevent multiple conversion
3667           (and get a more robust interface)
3668
3669 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3672         * lyxtext.h: ditto
3673         * text3.C (dispatch): ditto
3674
3675 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3678         move the onlyfile, use onlyfile instead of foundfile in a couple
3679         of places.
3680
3681         * DepTable.C (update): flush the error stream a bit more
3682
3683 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3684
3685         * lyxserver.C (callback): adjust
3686
3687         * lyxfunc.C (getStatus): add a missing brace in commented code
3688         (ensureBufferClean): reindent
3689         (dispatch): delete version taking a string
3690
3691 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * LaTeX.C (deplog): move found file handlig from here...
3694         (handleFoundFile): .. to new function here.
3695         (deplog): make sure to discover several files mentioned on the
3696         same log line.
3697
3698 2003-10-10  André Pönitz  <poenitz@gmx.net>
3699
3700         * lyxfunc.C:
3701         * lyxtext.h:
3702         * tabular.C:
3703         * text.C:
3704         * text2.C:
3705         * text3.C: fix some of the tabular crashes
3706
3707 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3708
3709         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3710
3711         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3712
3713 2003-10-09  André Pönitz  <poenitz@gmx.net>
3714
3715         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3716
3717         * BufferView.C:
3718         * BufferView_pimpl.C:
3719         * bufferview_funcs.C:
3720         * lyx_cb.C:
3721         * lyxcursor.C:
3722         * lyxfind.C:
3723         * lyxfunc.C:
3724         * lyxtext.h:
3725         * text.C:
3726         * text2.C:
3727         * text3.C:
3728         * text_funcs.[Ch]:
3729         * textcursor.[Ch]:
3730         * undo_funcs.C: adjust
3731
3732 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * text2.C (incrementItemDepth): new function, use a backtracking
3735         algorithm to discover the correct item depth.
3736         (resetEnumCounterIfNeeded): new function, use a backtracking
3737         algorithm to discover if counter reset is needed.
3738         (setCounter): use them. Simplify a bit. Add different labels for
3739         different item depths for itemize.
3740
3741         * paragraph.C (Paragraph): remove initialization of enumdepth
3742         (operator=): ditto
3743
3744         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3745         enumerate and itemize. Change the type of itemdepth to signed char.
3746
3747 2003-10-08  André Pönitz  <poenitz@gmx.net>
3748
3749         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3750           thing assignable.
3751         * text.C:
3752         * text2.C: adjust
3753
3754         * tabular.[Ch]: fix crash after 'row-insert'
3755
3756 2003-10-08  Angus Leeming  <leeming@lyx.org>
3757
3758         Fix doxygen warnings.
3759
3760         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3761         Remove CutAndPaste:: prefix from header file declaration.
3762
3763         * LColor.h (fill): remove LColor:: prefix from declaration.
3764
3765         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3766         use lyx::depth_type rather than Paragraph::depth_type so that
3767         header file and .C file match.
3768
3769         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3770
3771         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3772         * aspell.C: \file aspell_local.C -> \file aspell.C
3773         * gettext.C: \file gettext.C -> \file src/gettext.C
3774         * gettext.h: \file gettext.h -> \file src/gettext.h
3775         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3776         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3777         * text.C: \file text.C -> \file src/text.C
3778
3779         * toc.C: move comment so that doxygen is not confused.
3780
3781 2003-10-07  Angus Leeming  <leeming@lyx.org>
3782
3783         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3784
3785 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3786
3787         * aspell.C:
3788         * aspell_local.h: add forgotten std::string's.
3789
3790 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3791
3792         * LaTeXFeatures.C:
3793         * LyXAction.C:
3794         * factory.C:
3795         * lfuns.h:
3796         * lyxfunc.C:
3797         * text3.C: The Box patch. Fancybox support, minipage, parbox
3798
3799 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3800
3801         * CutAndPaste.h:
3802         * DepTable.h:
3803         * FloatList.h:
3804         * LaTeXFeatures.h:
3805         * ParagraphParameters.h:
3806         * TextCache.h:
3807         * Thesaurus.h:
3808         * bufferlist.h:
3809         * exporter.h:
3810         * importer.h:
3811         * lastfiles.h:
3812         * lyxfind.h:
3813         * lyxfont.h:
3814         * lyxlex.h:
3815         * lyxtextclasslist.h:
3816         * messages.h:
3817         * paragraph.h:
3818         * paragraph_pimpl.C:
3819         * textcursor.h: add <string> and other small fixes to make Lars'
3820         std::string patch compile with STLport.
3821
3822 2003-10-06  Angus Leeming  <leeming@lyx.org>
3823
3824         * LColor.h: Add missing #include <string>.
3825
3826 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * All most all file in all subdirs: Make <string> be the prefered
3829         way of getting to std::string, add using declarations.
3830
3831 2003-10-06  André Pönitz  <poenitz@gmx.net>
3832
3833         * metricsinfo.C: initialize LyXFont before changing attribute.
3834         (fixes the 'math in \emph is upright' bug)
3835
3836 2003-10-06  André Pönitz  <poenitz@gmx.net>
3837
3838         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3839
3840 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3841
3842         * graph.C:
3843         * paragraph_pimpl.C: Small fixes to build using STLport
3844
3845 2003-10-02  André Pönitz  <poenitz@gmx.net>
3846
3847         * lyxfunc.C:
3848         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3849
3850 2003-10-01  André Pönitz  <poenitz@gmx.net>
3851
3852         * factory.C: assert early
3853
3854 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3855
3856         * lyx_main.C: remove the global debug object
3857
3858         * debug.h: adjust for new debugstream
3859
3860         * debug.C: adjust for new debugstream and keep the global debug
3861         object here.
3862
3863 2003-09-22  Angus Leeming  <leeming@lyx.org>
3864
3865         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3866         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3867         an incomplete class LyXFont.
3868
3869 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3870
3871         * factory.C: bug fix in branches
3872
3873 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3874
3875         * lyxfunc.C (processKeySym): adjust
3876         (dispatch): adjust
3877         (dispatch): change arg name from ev to func, adjust
3878         (sendDispatchMessage): ditto
3879
3880         * lyx_main.C (defaultKeyBindings): adjust keybindings
3881         (deadKeyBindings): ditto
3882
3883         * kbsequence.C (addkey): return a FuncRequest
3884
3885         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3886
3887         * kbmap.C (bind): take a FuncRequest as arg, adjust
3888         (read): adjust
3889         (lookup): adjust
3890         (defkey): change to take a FuncRequest as arg, adjust
3891         (findbinding): take a FuncRequest as arg, adjust.
3892
3893         * funcrequest.h (operator=): added
3894
3895         * funcrequest.C (FuncRequest): default kb_action changed from
3896         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3897
3898         * buffer.C (dispatch): simplify
3899         (dispatch): adjust to take a FuncRequest as arg, adjust
3900
3901         * boost.C (assertion_failed): change assertion message slightly
3902
3903         * ToolbarBackend.C (read): simplify
3904
3905         * MenuBackend.C (binding): adjust call to findbinding, add a
3906         message if no binding is found.
3907         (read): simplify
3908         (expandToc): correct by adding a empty FuncRequest
3909
3910         * LyXAction.C: include <boost/assert.hpp>
3911         (isPseudoAction): delete function
3912         (LookupFunc): change name to...
3913         (lookupFunc): this. change return type to FuncRequest.
3914         (getActionName): take kb_action as arg, simplify
3915         (funcHasFlag): add an assert, simplify.
3916
3917 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * toc.C (action): return a FuncRequest, simplify
3920
3921         * lyxfunc.C (processKeySym): adjust
3922         (getStatus): delete version that takes an int.
3923         (getStatus): adjust
3924         (dispatch): delete version that takes action as int
3925         (dispatch): adjust
3926         (sendDispatchMessage): simplify and adjust
3927
3928         * funcrequest.C (getArg): take unsigned int as arg
3929
3930         * ToolbarBackend.C (read): adjust
3931         (add): delete version that takes func as a string.
3932         (getIton): take a FuncRequest as arg
3933
3934         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3935         action.
3936
3937         * MenuBackend.C (MenuItem): add a new construct that only takes a
3938         Kind, simplify the constructor use for submenus.
3939         (add): adjust
3940         (expandLastfiles): adjust
3941         (expandDocuments): adjust
3942         (expandFormats): adjust
3943         (expandFloatListInsert): adjust
3944         (expandFloatInsert): adjust
3945         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3946
3947         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3948         Remove class variables lyx_pseudo_map and lyx_arg_map
3949
3950         * LyXAction.C (searchActionArg): delete function
3951         (getPseudoAction): delete function
3952         (retrieveActionArg): delete function
3953         (LookupFunc): make it return kb_action, simplify.
3954         (getActionName): simplify
3955
3956         * factory.C (createInset): fix new bug
3957
3958 2003-09-19  Angus Leeming  <leeming@lyx.org>
3959
3960         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3961         masterFilename_ parameter in the include inset.
3962
3963         * factory.C (createInset): changes due to the changes to InsetInclude.
3964
3965 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3966
3967         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3968
3969 2003-09-18  Angus Leeming  <leeming@lyx.org>
3970
3971         * buffer.C:
3972         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3973         Inset::fillWithBibKeys.
3974         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3975
3976 2003-09-18  Angus Leeming  <leeming@lyx.org>
3977
3978         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3979         variables.
3980         (ctor): pass and store a 'Buffer const &'
3981         (buffer): new member function.
3982
3983         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3984         '*this' to the LaTeXFeatures ctor.
3985
3986 2003-09-18  Angus Leeming  <leeming@lyx.org>
3987
3988         * LColor.h:
3989         * lyxfont.C:
3990         * lyxfont.h:
3991         * lyxtext.h:
3992         * text.C: rename EnumLColor as LColor_color.
3993
3994 2003-09-18  Angus Leeming  <leeming@lyx.org>
3995
3996         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3997         remove #include "insets/insetbase.h" from cursor.h.
3998
3999 2003-09-18  Angus Leeming  <leeming@lyx.org>
4000
4001         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4002         InsetOld_code to remove #include "inset.h".
4003
4004         * iterators.C: add #include "insets/inset.h"
4005
4006 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4007
4008         * BufferView.C: remove more locking stuff that apparently doesn't
4009         do anything sensible.
4010
4011 2003-09-16  André Pönitz  <poenitz@gmx.net>
4012
4013         * paragraph.[Ch]:
4014         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4015           performance boost.
4016
4017 2003-09-16  Angus Leeming  <leeming@lyx.org>
4018
4019         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4020
4021         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4022         arg/return type.
4023
4024         * paragraph.h: remove #include "lyxfont.h". Forward declare
4025         LyXFont_size.
4026
4027 2003-09-16  Angus Leeming  <leeming@lyx.org>
4028
4029         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4030         of support/textutils.h.
4031         (isWord): move the contents of support/textutils.h's IsWordChar here.
4032
4033         * buffer.C:
4034         * lyxfind.C:
4035         * rowpainter.C:
4036         * text.C:
4037         * text2.C: add #include "paragraph.h".
4038
4039         * rowpainter.C:
4040         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4041
4042 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * main.C:
4045         * lyx_main.C:
4046         * lyx_cb.C:
4047         * buffer.C:
4048         * LaTeX.C: use namespace alias for lyx::support::os
4049
4050 2003-09-16  Angus Leeming  <leeming@lyx.org>
4051
4052         * bufferparams.C:
4053         * bufferview_funcs.C:
4054         * factory.C:
4055         * lyxfunc.C:
4056         * paragraph_pimpl.C:
4057         * rowpainter.C:
4058         * text.C: add #include "LColor.h".
4059
4060 2003-09-16  Angus Leeming  <leeming@lyx.org>
4061
4062         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4063         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4064         return LyXFont &.
4065         Store the FontBits::color variable as an int rather than as an
4066         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4067         file.
4068
4069         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4070         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4071         string calls together.
4072
4073         * lyxrc.C: add #include "LColor.h".
4074
4075 2003-09-15  Angus Leeming  <leeming@lyx.org>
4076
4077         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4078         a cow_ptr.
4079
4080 2003-09-15  Angus Leeming  <leeming@lyx.org>
4081
4082         * LColor.h: add an EnumLColor wrapper for LColor::color.
4083
4084         * lyxfont.[Ch] (color, setColor, realColor):
4085         * lyxtext.h, text.C (backgroundColor):
4086         pass EnumLColor args to/from the functions, rather than LColor::color
4087         ones.
4088
4089         * lyxfont.h:
4090         * lyxtext.h: forward declare EnumLColor.
4091
4092         * lyx_main.C: add #include "LColor.h".
4093
4094 2003-09-15  Angus Leeming  <leeming@lyx.org>
4095
4096         * .cvsignore: add lyx-gtk.
4097
4098 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * Chktex.C
4101         * LaTeX.C
4102         * LaTeXFeatures.C
4103         * ParagraphParameters.C
4104         * Spacing.C
4105         * buffer.C
4106         * bufferparams.C
4107         * bufferview_funcs.C
4108         * chset.C
4109         * counters.C
4110         * funcrequest.C
4111         * lyxfont.C
4112         * lyxgluelength.C
4113         * lyxlength.C
4114         * paragraph.C
4115         * paragraph_funcs.C
4116         * text3.C
4117         * vc-backend.C: remove usage of STRCONV
4118
4119 2003-09-15  Angus Leeming  <leeming@lyx.org>
4120
4121         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4122         explicitly define the color passed to the painter.
4123
4124 2003-09-15  Angus Leeming  <leeming@lyx.org>
4125
4126         * bufferparams.C (BufferParams): reorder member initializers to avoid
4127         compiler warning.
4128
4129 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4130
4131         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4132         * text.C (updateRowPositions): remove an unusual nop
4133
4134 2003-09-12  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView_pimpl.C:
4137         * Bullet.C:
4138         * layout.h:
4139         * lyxfunc.C:
4140         * lyxlayout.[Ch]:
4141         * lyxtextclass.C:
4142         * rowpainter.C:
4143         * text.C:
4144         * text2.C:
4145         * Counters.[Ch]: finish the 'automatic counters' job
4146
4147 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4148
4149         * aspell.C: include <boost/assert.cpp> (compile fix)
4150
4151 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4152
4153         * boost.C (assertion_failed): use lyx::support::abort instead of
4154         assert.
4155
4156 2003-09-10  Angus Leeming  <leeming@lyx.org>
4157
4158         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4159         with their _fwd progeny.
4160
4161 2003-09-09  Angus Leeming  <leeming@lyx.org>
4162
4163         134 files throughtout the source tree: replace 'using namespace abc;'
4164         directives with the appropriate 'using abc::xyz;' declarations.
4165
4166 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4167
4168         * boost.C (emergencyCleanup): moved here from LAssert.c
4169         (assertion_failed): new function, called by BOOST_ASSERT
4170
4171         * several files: change Assert to BOOST_ASSERT
4172
4173 2003-09-09  Angus Leeming  <leeming@lyx.org>
4174
4175         * buffer.[Ch]: Add an Impl class and move Buffer's member
4176         variables into it. As a result move several header files out of
4177         buffer.h.
4178
4179         Add header files to lots of .C files all over the tree as a result.
4180
4181 2003-09-09  Angus Leeming  <leeming@lyx.org>
4182
4183         * buffer.[Ch]: make Buffer's member variables private. Add
4184         accessor functions.
4185
4186         Lots of changes all over the tree as a result.
4187
4188 2003-09-08  Angus Leeming  <leeming@lyx.org>
4189
4190         * graph.C: #include <config.h>.
4191
4192 2003-09-08  Angus Leeming  <leeming@lyx.org>
4193
4194         * BranchList.C:
4195         * BufferView.C:
4196         * BufferView_pimpl.C:
4197         * CutAndPaste.C:
4198         * DepTable.C:
4199         * LaTeX.C:
4200         * LaTeXFeatures.C:
4201         * LyXAction.C:
4202         * MenuBackend.C:
4203         * TextCache.C:
4204         * aspell.C:
4205         * buffer.C:
4206         * bufferlist.C:
4207         * changes.C:
4208         * chset.C:
4209         * converter.C:
4210         * counters.C:
4211         * debug.C:
4212         * graph.C:
4213         * ispell.C:
4214         * lyx_cb.C:
4215         * lyxfind.C:
4216         * lyxfunc.C:
4217         * lyxlex_pimpl.C:
4218         * lyxrc.C:
4219         * lyxrow.C:
4220         * paragraph.C:
4221         * rowpainter.C:
4222         * texrow.C:
4223         * text.C:
4224         * text2.C:
4225         * toc.C: remove redundant using directives.
4226
4227 2003-09-07  Angus Leeming  <leeming@lyx.org>
4228
4229         * LaTeXFeatures.h: remove #include "support/types.h".
4230         * ToolbarBackend.h: remove #include <algorithm>.
4231         * changes.h: remove #include <ctime>.
4232         * debug.h: remove #include <iosfwd>.
4233         * graph.h: remove #include "support/std_string.h".
4234         * lyx_main.h: remove #include <csignal>.
4235         * lyxlex_pimpl.h: remove #include <fstream>.
4236         * sgml.h: remove #include <algorithm>, <utility>.
4237         * toc.h: remove #include "support/std_ostream.h".
4238         Add #include <iosfwd>.
4239
4240 2003-09-07  Angus Leeming  <leeming@lyx.org>
4241
4242         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4243
4244         * converter.h: forward declare LatexRunParams.
4245         * encoding.h: remove #include "lyxrc.h".
4246         * lyxtext.h: remove #include "LColor.h".
4247         * lyxtextclass.h: remove #include "support/types.h".
4248         * trans.h: remove #include "tex-accent.h".
4249         * trans_mgr.h: remove #include "tex-accent.h".
4250         * insets/inset.h: remove #include "support/types.h", <vector>.
4251         * insets/insetcollapsable.h: remove #include "LColor.h".
4252         * insets/insetinclude.h: remove #include "dimension.h".
4253         * insets/insetlatexaccent.h: remove #include "dimension.h".
4254         * insets/insetoptarg.h:: remove #include "insettext.h".
4255         * insets/insettext.h: remove #include "dimension.h",
4256         <boost/shared_ptr.hpp>
4257
4258         * insets/renderers.h: add #include "dimension.h".
4259         * insets/updatableinset.h: add #include "support/types.h".
4260
4261         * many .C files: Associated changes.
4262
4263 2003-09-06  Angus Leeming  <leeming@lyx.org>
4264
4265         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4266         one, inside testInvariant.
4267
4268         * PrinterParams.C: new file.
4269         * PrinterParams.[Ch]: move the function bodies out of line.
4270
4271 2003-09-06  Angus Leeming  <leeming@lyx.org>
4272
4273         * ParagraphParameters.h: forward declare ParameterStruct rather than
4274         including its header file.
4275         (depth): moved out-of-line.
4276
4277 2003-09-06  Angus Leeming  <leeming@lyx.org>
4278
4279         * BufferView_pimpl.h:
4280         * kbmap.h:
4281         * kbsequence.h:
4282         * lyxfunc.h: forward declare LyXKeySym rather than
4283         #include "frontends/LyXKeySym.h".
4284
4285         * BufferView_pimpl.C:
4286         * kbmap.C:
4287         * kbsequence.C:
4288         * lyxfunc.C: associated changes.
4289
4290 2003-09-06  Angus Leeming  <leeming@lyx.org>
4291
4292         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4293         As a result, can remove the #include "insets/inset.h" from BufferView.h
4294
4295 2003-09-06  Angus Leeming  <leeming@lyx.org>
4296
4297         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4298         As a result, can remove the #include "insets/inset.h" from BufferView.h
4299
4300 2003-09-06  Angus Leeming  <leeming@lyx.org>
4301
4302         * buffer_funcs.C:
4303         * buffer.h:
4304         * bufferlist.C:
4305         * BufferView.C:
4306         * bufferview_funcs.C:
4307         * BufferView_pimpl.C:
4308         * CutAndPaste.C:
4309         * lyx_cb.C:
4310         * lyxfunc.C:
4311         * paragraph.h:
4312         * ParagraphParameters.C:
4313         * tabular.C:
4314         * text3.C:
4315         * toc.C:
4316         * undo_funcs.C:
4317         * frontends/controllers/ControlDocument.C:
4318         * insets/insetcaption.C: rearrange the #includes into some sort of
4319         coherent order.
4320
4321         * buffer.h: remove #includes ErrorList.h, undo.h
4322
4323 2003-09-06  Angus Leeming  <leeming@lyx.org>
4324
4325         * support/types.h: add a 'depth_type' typedef, used to store the
4326         nesting depth of a paragraph.
4327
4328         * paragraph.h:
4329         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4330         defining explicitly.
4331
4332         * buffer.h:
4333         * paragraph_funcs.h:
4334         * ParagraphParameters.h:
4335         * sgml.h: use lyx::depth_type rather than Paragraph or
4336         ParameterStruct's depth_type.
4337
4338         * buffer.h
4339         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4340
4341         * BufferView.C:
4342         * BufferView_pimpl.C:
4343         * CutAndPaste.C:
4344         * ParagraphParameters.C:
4345         * buffer_funcs.C:
4346         * bufferlist.C:
4347         * bufferview_funcs.C:
4348         * lyx_cb.C:
4349         * lyxfunc.C:
4350         * tabular.C:
4351         * text3.C:
4352         * toc.C:
4353         * undo_funcs.C:
4354         * frontends/LyXView.C:
4355         * frontends/controllers/ControlDocument.C:
4356         * frontends/controllers/ControlErrorList.C:
4357         * insets/insetbibitem.C:
4358         * insets/insetbranch.C:
4359         * insets/insetcaption.C:
4360         * insets/insetcollapsable.C:
4361         * insets/insetenv.C:
4362         * insets/insetert.C:
4363         * insets/insetfloat.C:
4364         * insets/insetfoot.C:
4365         * insets/insetfootlike.C:
4366         * insets/insetnewline.C:
4367         * insets/insetquotes.C:
4368         * insets/insettabular.C:
4369         * insets/insettext.C:
4370         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4371
4372         * frontends/controllers/ControlChanges.C: #include "changes.h".
4373
4374 2003-09-06  Angus Leeming  <leeming@lyx.org>
4375
4376         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4377         than #including paragraph.h.
4378
4379         * ParagraphList.h:
4380         * RowList.h: deleted. Superfluous.
4381
4382         * CutAndPaste.h:
4383         * iterators.h:
4384         * lyxcursor.h:
4385         * lyxtext.h:
4386         * text_funcs.h:
4387         * undo.h:
4388         * undo_funcs.h:
4389         * insets/inset.h:
4390         * insets/insettext.h: use ParagraphList_fwd.h rather than
4391         ParagraphList.h.
4392
4393         * paragraph.h: don't forward declare ParagraphList.
4394
4395         * buffer.h:
4396         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4397         rather than ParagraphList.h. paragraph.h is still needed for the
4398         Paragraph::depth_type parameters.
4399
4400         * textcursor.h: enable it to compile stand-alone in light of the
4401         above changes.
4402
4403         * bufferview_funcs.C:
4404         * iterators.C:
4405         * lyxfunc.C:
4406         * lyxrow_funcs.C:
4407         * paragraph.C:
4408         * rowpainter.C:
4409         * text.C:
4410         * text2.C:
4411         * text3.C:
4412         * text_funcs.C:
4413         * textcursor.C:
4414         * undo.C:
4415         * frontends/controllers/ControlParagraph.C:
4416         * frontends/controllers/ControlTabular.C:
4417         * insets/insetmarginal.C:
4418         * insets/insetminipage.C:
4419         * insets/insetnote.C:
4420         * insets/insetoptarg.C: add header files needed to compile again.
4421
4422 2003-09-06  Angus Leeming  <leeming@lyx.org>
4423
4424         * RowList_fwd.h: new file, forward-declaring Row rather than
4425         #including lyxrow.h.
4426
4427         * lyxrow_funcs.h:
4428         * lyxtext.h:
4429         * paragraph.h:
4430         * insets/insettext.h: use it instead of RowList.h
4431
4432         * bufferview_funcs.C:
4433         * lyxfunc.C:
4434         * lyxrow_funcs.C:
4435         * paragraph.C:
4436         * rowpainter.C:
4437         * text.C:
4438         * text2.C:
4439         * text3.C: #include "RowList.h".
4440
4441 2003-09-05  Angus Leeming  <leeming@lyx.org>
4442
4443         * factory.C (createInset):
4444         * vspace.C (c-tor): replace sscanf call with an istringstream.
4445         * ispell.C: re-add missing HP/UX headers.
4446         * lyxserver.C: re-add missing  os2 headers.
4447
4448 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4449
4450         * BranchList.C:
4451         * graph.C:
4452         * ispell.C:
4453         * lastfiles.C:
4454         * lyx_cb.C:
4455         * lyxserver.C:
4456         * texrow.C:
4457         * text3.C: re-add missing system headers, needed for 2.95.2.
4458
4459 2003-09-05  Angus Leeming  <leeming@lyx.org>
4460
4461         Changes most place everywhere due to the removal of using directives
4462         from support/std_sstream.h.
4463
4464 2003-09-05  Angus Leeming  <leeming@lyx.org>
4465
4466         Replace LString.h with support/std_string.h,
4467         Lsstream.h with support/std_sstream.h,
4468         support/LIstream.h with support/std_istream.h,
4469         support/LOstream.h with support/std_ostream.h.
4470
4471         Changes resulting throughout the tree.
4472
4473 2003-09-05  Angus Leeming  <leeming@lyx.org>
4474
4475         * sgml.h: ensure that the header file can be compiled stand-alone.
4476         * *.C: strip out redundant #includes. (320 in total.)
4477
4478 2003-09-04  Angus Leeming  <leeming@lyx.org>
4479
4480         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4481         here (from getPackages).
4482
4483         * debug.[Ch]: add a new EXTERNAL tag.
4484
4485 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4486
4487         * text2.C (cursorEnd): simplify
4488         (setCursor): adjust
4489         (getColumnNearX): adjust
4490
4491         * text.C (computeBidiTables): adjust
4492         (fill): adjust
4493
4494         * rowpainter.C (paintChars): adjust
4495         (paintSelection): adjust
4496         (paintChangeBar): adjust
4497         (paintText): adjust
4498
4499         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4500         lastPos instead.
4501         (numberOfSeparators): adjust
4502
4503 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4504
4505         * LyXAction.C:
4506         * box.[Ch]:
4507         * lfuns.h:
4508         * lyxfunc.C:
4509         * text3.C: Restricts the mouse click functionality
4510         of insets like bibtex, include, toc and floatlist to the visible
4511         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4512         up the dialogs. Cursor has to be in front of the inset (i.e.
4513         start of row) for this to function.
4514
4515 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4516
4517         * bufferview_funcs.C (currentState): output row information
4518
4519 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4520
4521         * bufferview_funcs.C (currentState): output paragraph position
4522
4523 2003-09-04  Angus Leeming  <leeming@lyx.org>
4524
4525         * FloatList.h: move out #include "Floating.h".
4526         * LaTeX.h: move out #include "DepTable.h".
4527         * LyXAction.h: move out #include "funcrequest.h".
4528         * buffer.h: move out #include "author.h", "iterators.h".
4529         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4530         * lyx_main.h: move out #include "errorlist.h".
4531         * lyxfunc.h: move out #include "FuncStatus.h".
4532         * lyxtext: move out #include "lyxcursor.h".
4533         * paragraph_pimpl.h: move out #include "counters.h".
4534
4535 2003-09-03  Angus Leeming  <leeming@lyx.org>
4536
4537         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4538         preamble_snippets list, enabling us to add snippets to the preamble
4539         only if the snippet was not there already.
4540
4541 2003-09-04  Angus Leeming  <leeming@lyx.org>
4542
4543         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4544
4545 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4548         update
4549
4550 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4551
4552         * BranchList.C: point fix, earlier forgotten
4553
4554 2003-09-02  Angus Leeming  <leeming@lyx.org>
4555
4556         * box.C (contains): renamed from 'contained' after a fantastic
4557         amount of hot air.
4558
4559 2003-09-02  John Levon  <levon@movementarian.org>
4560
4561         * BufferView.C:
4562         * lyxcursor.h:
4563         * lyxcursor.C:
4564         * lyxfunc.C:
4565         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4566
4567 2003-09-02  John Levon  <levon@movementarian.org>
4568
4569         * text2.C: simplification of cursorEnd(), including partial
4570         fix for bug 1376
4571
4572 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * buffer.C (readFile): add a space
4575
4576 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4577
4578         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4579
4580 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * buffer.C (readFile): new function, take a filename and a
4583         ParagraphList::iterator
4584         (readFile): adjust
4585         (readFile): adjust, make it private. don't use setStream, make
4586         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4587         always contain the filename.
4588
4589         * BufferView.C (insertLyXFile): simplify and make it work for
4590         gzipped files.
4591
4592 2003-08-30  John Levon  <levon@movementarian.org>
4593
4594         * Makefile.am: fix dist (from Kayvan)
4595
4596 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4597
4598         * most files: change to use const Buffer refs
4599
4600 2003-08-27  André Pönitz  <poenitz@gmx.net>
4601
4602         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4603         on top of ownerPar().
4604
4605 2003-08-27  John Levon  <levon@movementarian.org>
4606
4607         * funcrequest.C: properly initialise POD members
4608
4609 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * lyxtext.h (top_y): move top_y from here
4612         * text.C:
4613         * text2.C:
4614         * text3.C:
4615         * BufferView.[Ch]:
4616         * BufferView_pimpl.[Ch]: to here
4617         * frontends/screen.C:
4618         * insets/insettabular.C:
4619         * insets/insettext.C: adjust
4620         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4621
4622 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4623
4624         * BufferView.[Ch]:
4625         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4626
4627 2003-08-26  André Pönitz  <poenitz@gmx.net>
4628
4629         * paragraph_func.[Ch] (outerPar): new function
4630
4631         * paragraph.C:
4632         * paragraph_funcs.C:
4633         * paragraph_funcs.h:
4634         * paragraph_pimpl.C:
4635         * text2.C: remove Inset::par_owner
4636
4637 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4638
4639         * lyxrow_funcs.C:
4640         * lyxtext.h:
4641         * text.C:
4642         * text2.C: eliminates the needFullRow/display() stuff
4643         altogether, putting the logic in metrics/draw in the insets.
4644
4645 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4646
4647         * text2.C (redoParagraphInternal, redoParagraphs):
4648         * text.C (redoParagraph): add a call to updateRowPositions at the
4649         end of each 'metrics-like' call. Remove all others.
4650         (getRow): remove the 'y-computing' version.
4651         (getRowNearY): do not compute nor return the real y. Solve the
4652         'y < 0' problem and simplify.
4653
4654 2003-08-22  Angus Leeming  <leeming@lyx.org>
4655
4656         * *.[Ch]: clean-up of licence and author blurbs.
4657         Also move config.h out of a few .h files and into a few .C files.
4658
4659 2003-08-22  André Pönitz  <poenitz@gmx.net>
4660
4661         * lyxrow.[Ch]: add x_ and *fill_ members
4662
4663         * lyxtext.h:
4664         * text.C:
4665         * rowpainter.C:
4666         * text2.C: adjust/remove prepareToPrint() calls
4667
4668 2003-08-22  André Pönitz  <poenitz@gmx.net>
4669
4670         * lyxrow.[Ch]: add  end_ member
4671
4672         * lyxrow_funcs.C: use LyXRow::end_
4673
4674         * lyxtext.h (singleWidth): add LyXFont parameter
4675
4676         * rowpainter.C:
4677         * text2.C: adjust LyXText::singleWidth() calls
4678
4679         * text.C (redoParagraph): simplify row breaking logic
4680
4681
4682 2003-08-19  André Pönitz  <poenitz@gmx.net>
4683
4684         * funcrequest.C: initialize button_ member
4685
4686         * text3.C:
4687         * rowpainter.[Ch]: interface consolidation
4688
4689 2003-08-18  André Pönitz  <poenitz@gmx.net>
4690
4691         * BufferView.C:
4692         * BufferView_pimpl.C:
4693         * lyxfind.C:
4694         * paragraph_funcs.C:
4695         * rowpainter.C:
4696         * text3.C: remove LyXScreen::draw() and fitCursor calls
4697
4698         * BranchList.h: remove spurious semicolons
4699
4700         * MenuBackend.C: fix branchlist related crash
4701
4702 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4703
4704         * BranchList.[Ch]:
4705         * InsetList.[Ch]:
4706         * LColor.[Ch]:
4707         * LyXAction.C:
4708         * Makefile.am:
4709         * MenuBackend.[Ch]:
4710         * bufferparams.[Ch]:
4711         * factory.C:
4712         * lfuns.h:
4713         * lyxfunc.C:
4714         * text3.C: implements the 'branch inset'
4715         idea. This allows the output of various versions of a document
4716         from a single source version, selectively outputing or suppressing
4717         output of parts of the text.
4718         This implementation contains a 'branch list editor' in a separate
4719         tab of the document settings dialog. Branches are user definable
4720         and have a "display colour" to distinguish them on-screen.
4721
4722         ColorHandler was somewhat cleaned up.
4723         (1) make possible a dynamically growing LColor list by allowing
4724         the graphic context cache to grow along (vector);
4725         (2) eliminate an IMHO unnecessary step in colour allocation.
4726
4727 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4728
4729         * BufferView_pimpl.C: compile fix
4730
4731 2003-08-15  André Pönitz  <poenitz@gmx.net>
4732
4733         * rowpainter.C: remove extra metrics calls
4734
4735         * lyxtext.h: merge the two constructors into a single one,
4736           pass reference to owner's par list
4737
4738         * BufferView_pimpl.C:
4739         * text.C:
4740         * text2.C: adjust
4741
4742 2003-08-15  André Pönitz  <poenitz@gmx.net>
4743
4744         * lyxrow_funcs.[Ch]:
4745         * lyxtext.h:
4746         * paragraph.h:
4747         * paragraph_funcs.C:
4748         * rowpainter.C:
4749         * text.C:
4750         * text2.C:
4751         * text3.C:
4752         * text_funcs.C: split LyXText::rowlist_ into individual
4753         Paragraph::rows_ chunks
4754
4755         * BufferView.[Ch]:
4756         * BufferView_pimpl.[Ch]:
4757         * lyxfind.C:
4758         * lyxtext.h:
4759         * text3.C: remove toggleSelection()
4760
4761 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4762
4763         * bufferlist.C: beautify two alerts (shorter text of buttons)
4764         * buffer.C: Remove redundant ' ' from message
4765         * tabular.h:
4766         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4767         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4768         rename VALIGN_CENTER to VALIGN_MIDDLE
4769
4770 2003-08-11  André Pönitz  <poenitz@gmx.net>
4771
4772         * lyxtext.h (getPar):
4773         * text.C: new function
4774
4775 2003-08-11  André Pönitz  <poenitz@gmx.net>
4776
4777         * Makefile.am:
4778         * tracer.[Ch]: remove unneeded files
4779
4780         * InsetList.[Ch]: remove resizeInsetsLyXText()
4781
4782         * lyxtext.h:
4783         * text.C:
4784         * text2.C:
4785         * text3.C: merge insertParagraphs() and appendParagraph()
4786         remove breakAgain(), update()
4787
4788         * BufferView_pimpl.[Ch]:
4789         * bufferview_funcs.[Ch]:
4790         * lyxfunc.C:
4791         * paragraph.[Ch]:
4792         * rowpainter.C:
4793         * tabular.C: adjust after text & InsetList changes.
4794
4795 2003-08-08  André Pönitz  <poenitz@gmx.net>
4796
4797         * text.C (insertChar, backspace): replace rowlist fiddling
4798         with rebreak of full par
4799
4800         * lyxtext.h:
4801         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4802         checkParagraph, updateInset): removed
4803
4804 2003-08-07  André Pönitz  <poenitz@gmx.net>
4805
4806         * paragraph.C:
4807         * text3.C: merge some LFUN handlers, remove dead code
4808
4809 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4810
4811         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4812
4813 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * text2.C (DEPM): fix part of bug 1255 and 1256
4816
4817 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4818
4819         * BufferView_pimpl.C (workAreaDispatch): change to use
4820         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4821         that are no mouse related.
4822
4823 2003-08-05  André Pönitz  <poenitz@gmx.net>
4824
4825         * BufferView.[Ch]:
4826         * BufferView_pimpl.[Ch]:
4827         * bufferview_funcs.C:
4828         * text2.C:
4829         * text3.C: rip out "deep update"
4830
4831         * textcursor.[Ch] (last_sel_cursor): remove unused member
4832
4833 2003-08-04  André Pönitz  <poenitz@gmx.net>
4834
4835         * BufferView.[Ch]:
4836         * BufferView_pimpl.[Ch]:
4837         * ParagraphParameters.C:
4838         * bufferview_funcs.C:
4839         * lyx_cb.C:
4840         * lyxfind.C:
4841         * lyxfunc.C:
4842         * text.C:
4843         * text2.C:
4844         * text3.C: replace "complicated" BufferView::update(...) calls with
4845         simpler ones.
4846
4847         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4848
4849 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4850
4851         * Makefile.am (lyx_SOURCES): add paper.h
4852
4853 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4854
4855         * Makefile.am: move things around so that both lyx-qt and
4856         lyx-xforms can be built (according to --with-frontend). Then lyx
4857         is a symbolic link to lyx-[firstfrontend]
4858
4859 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4860
4861         * Always use std::endl with lyxerr
4862
4863 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4864
4865         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4866
4867 2003-08-01  André Pönitz  <poenitz@gmx.net>
4868
4869         * BufferView.[Ch]:
4870         * BufferView_pimpl.[Ch]:
4871         * lyxfunc.C:
4872         * text3.C: merge BufferView::repaint() and BufferView::update()
4873
4874 2003-08-01  José Matos  <jamatos@lyx.org>
4875
4876         * buffer.[Ch]: file_format is no longer a buffer data element.
4877
4878 2003-08-01  André Pönitz  <poenitz@gmx.net>
4879
4880         * BufferView.C:
4881         * lyxtext.h:
4882         * text.C:
4883         * text2.C: make redoParagraph more independent of current cursor
4884
4885         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4886         * text.C:
4887         * text2.C: remove unneeded members
4888
4889 2003-07-30  André Pönitz  <poenitz@gmx.net>
4890
4891         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4892
4893         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4894           create a single function...
4895
4896         * paragraph_funcs.C (moveItem): ... here.
4897
4898         * text.C:
4899           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4900
4901 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4902
4903         * LColor.[Ch]: Add comment and greyedout logical colors.
4904
4905 2003-07-30  André Pönitz  <poenitz@gmx.net>
4906
4907         * tabular.C: don't use Assert too heavily. This crashes where it
4908           shouldn't
4909
4910 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4911
4912         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4913         is disabled (bug 1232)
4914
4915 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4916
4917         * factory.C: limited 'arg' scope
4918
4919 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4920
4921         * factory.C: fixed Note submenu issues
4922
4923 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4924
4925         * factory.C: submenu for Note/Comment/Greyedout
4926
4927 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4928
4929         * lyx_main.C (LyX):
4930         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4931
4932 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4933
4934         * LaTeXFeatures.C:
4935         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4936         greyedout. Patch provided by Jürgen Spitzmüller.
4937
4938 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4939
4940         * kbmap.C (read): fix error message when reading bind files
4941
4942 2003-07-29  Angus Leeming  <leeming@lyx.org>
4943
4944         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4945         certainly does not do what it purports to do. I am doing it, and
4946         us, a favour by killing it.
4947
4948 2003-07-28  José Matos  <jamatos@lyx.org>
4949
4950         * buffer.C (readBody, do_writeFile):
4951         * paragraph.C(readParagraph): \end_document replaces \the_end.
4952
4953 2003-07-29  André Pönitz  <poenitz@gmx.net>
4954
4955         * BufferView.[Ch]:
4956         * BufferView_pimpl.[Ch]:
4957         * lyxfunc.C:
4958         * text2.C:
4959         * text3.C:
4960         * textcursor.[Ch]: remove toggleToggle & Co
4961
4962 2003-07-28  José Matos  <jamatos@fep.up.pt>
4963
4964         * buffer.C (readParagraph):
4965         * params_func (readParToken, readParagraph):
4966         * paragraph.C (write): \layout -> \begin_layout.
4967
4968 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * lyxlex_pimpl.C (setFile): clean up slightly.
4971
4972         * bufferparams.h: add compressed var
4973
4974         * buffer_funcs.C (readFile): adjust for LyXLex change
4975         (newFile): ditto + simplify
4976
4977         * buffer.C (writeFile): handle writing of compressed files
4978
4979         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4980         Check if the file is compressed and set a bufferparm if so.
4981
4982         * Makefile.am (lyx_LDADD): remove explicit -lz
4983
4984 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4985
4986         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4987         makeDocBookFile): put the real LyX version in the first line of
4988         the file
4989
4990         * version.h:
4991         * version.C.in: remove lyx_docversion
4992
4993         * tabular.C (write_attribute): add a template-based version to
4994         write enums properly
4995
4996 2003-07-28  André Pönitz  <poenitz@gmx.net>
4997
4998         * lyxtext.h:
4999         * text.C:
5000         * text2.C:
5001         * text3.C: use doubles again for x-coordinates. They are needed.
5002
5003 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * messages.C (getLocaleDir): use lyx_localedir()
5006
5007         * lyxlex_pimpl.C (setFile): compress stuff
5008
5009         * buffer.C (writeFile): add some compression stuff
5010         (do_writeFile): new func, dont call expliti close... will this
5011         breake anything?
5012
5013         * Makefile.am (lyx_LDADD): add -lz
5014
5015 2003-07-28  José Matos  <jamatos@fep.up.pt>
5016
5017         * buffer.C: increment file format.
5018         * paragraph_funcs (readParagraph, readParToken):
5019         * paragraph.C (readParagraph): add \end_layout.
5020
5021 2003-07-27  Angus Leeming  <leeming@lyx.org>
5022
5023         * Makefile.am: remove special casing for configure-time setting of
5024         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5025
5026         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5027         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5028
5029 2003-07-26  André Pönitz  <poenitz@gmx.net>
5030
5031         * paragraph_func.[Ch]:
5032         * paragraph.C (realizeFont): inline it whereever it is used
5033
5034         * rowpainter.C:
5035         * text.C:
5036         * text2.C:
5037         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5038
5039
5040 2003-07-26  André Pönitz  <poenitz@gmx.net>
5041
5042         *       lyxtext.h:
5043         * text.C:
5044         * text2.C: get rid of LyXText::need_break_row
5045
5046 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5047
5048         * toc.[Ch]: put namespace toc inside namespace lyx
5049
5050         * MenuBackend.C (expandToc2): adjust for lyx::toc
5051         (expandToc): ditto
5052
5053         * lyxfunc.C (dispatch): adjust for lyx::find
5054
5055         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5056         lyx::find instead. Reorganize a bit.
5057         (LyXReplace): rename to replace
5058         (LyXFind): rename to find
5059
5060         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5061         (dispatch): ditto
5062
5063 2003-07-26  André Pönitz  <poenitz@gmx.net>
5064
5065         * text.C (setHeightOfRow): restrict scope of temporary variable
5066
5067         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5068           code (never has been used?)
5069
5070 2003-07-27  Asger Alstrup  <alstrup@local>
5071
5072         * text.C (fill): Optimise algorithm to exploit that we can reuse
5073         the LyXFont for many characters.
5074         (setHeightOfRow): Same thing.
5075         (rowBreakPoint): Same thing.
5076
5077 2003-07-26  Asger Alstrup  <alstrup@local>
5078
5079         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5080
5081         * text.C (singleWidth): Spurious font copying in hot-spot
5082         singleWidth avoided. Reorder tests for arabic for efficiency.
5083
5084         * text.C (fill): handle empty paragraphs better.
5085
5086 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5087
5088         * ispell.C:
5089         * encoding.h: add includes
5090
5091         * lyxrc.C: remove reading of bind files
5092
5093         * lyx_main.C (init): setup bindings and menus only if we have a
5094         gui.
5095
5096         * kbmap.C (read): new method. Do the actual reading of bind
5097         files.
5098
5099         * converter.C (dvipdfm_options):
5100         * bufferparams.C:
5101         * lyxrc.C (read):
5102         (output): adapt PAPER_* enums.
5103
5104         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5105
5106         * bufferparams.h: remove paper-related enums from there
5107
5108         * paper.h: New file. A trivial header file to hold paper-related
5109         enums. It should later expand to contain many paper-related
5110         horrors access.
5111
5112         * lyxrc.C: declare extern displayTranslator
5113
5114 2003-07-27  José Matos  <jamatos@fep.up.pt>
5115
5116         * tabular.[Ch] (linuxdoc): add support for tables and figures
5117         (linuxdoc).
5118
5119 2003-07-27  José Matos  <jamatos@fep.up.pt>
5120
5121         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5122         consistency in both functions.
5123         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5124
5125 2003-07-26  Asger Alstrup  <alstrup@local>
5126
5127         * rowpainter.C (paintRows): Change algorithm to work directly on
5128         the insets rather than asking every character in the document
5129         whether its an inset.
5130
5131 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * buffer.C (openFileWrite): factorize some code
5134
5135 2003-07-26  Angus Leeming  <leeming@lyx.org>
5136
5137         * lyx_cb.C:
5138         * lyx_main.[Ch]: replace occurances of system_tempdir with
5139         os::getTmpDir().
5140
5141 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5142
5143         * rename Inset to InsetOld
5144
5145 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5146
5147         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5148         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5149         which I think is a bit clearer. EDIT is gone, since it was
5150         premature optimisation, and broken for mathed anyway.
5151         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5152         with cursor positioning in insets as well (math insets still do not
5153         work, but that's a different story anyway.) It mysteriously
5154         crashes sometimes with undo in the first paragraph, but I'm fairly
5155         confident that this is a compiler bug.
5156
5157 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * paragraph.C (Paragraph): adjust for new clone return type
5160         (operator==): ditto
5161         (copyIntoMinibuffer): ditto
5162
5163 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5164
5165         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5166         by not having a special case, and always doing a full rebreak of
5167         the document after undo.
5168
5169 2003-07-23  Angus Leeming  <leeming@lyx.org>
5170
5171         * factory.C (createInset): InsetExternal::setParams now takes a
5172         Buffer const * arg.
5173
5174 2003-07-23  Angus Leeming  <leeming@lyx.org>
5175
5176         * factory.C (createInset): changed interface to the external and
5177         graphics mailers' string2params functions.
5178
5179 2003-07-23  Angus Leeming  <leeming@lyx.org>
5180
5181         * factory.C (createInset): pass a
5182         Buffer const * parameter to InsetExternalMailer's string2params.
5183
5184 2003-07-22  John Levon  <levon@movementarian.org>
5185
5186         * Thesaurus.h: include the right aiksaurus header
5187
5188 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5189
5190         * MenuBackend.C (expand): check menu shortcuts unconditionally
5191
5192 2003-07-21  Angus Leeming  <leeming@lyx.org>
5193
5194         * factory.C (createInset): pass a
5195         buffer_path parameter to InsetGraphicsMailer's string2params.
5196
5197 2003-07-21  Angus Leeming  <leeming@lyx.org>
5198
5199         * BufferView_pimpl.C (buffer):
5200         * buffer.C (d-tor):
5201         * lyx_main.C (LyX):
5202         * lyxfunc.C (dispatch):
5203         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5204         rather than the grfx shortcut.
5205
5206 2003-07-21  André Pönitz  <poenitz@gmx.net>
5207
5208         * rowpainter.C: remove unused variables
5209
5210         * tabular_funcs.C:
5211         * tabular_funcs.h: move to tabular.C
5212         * Makefile.am: adjust
5213
5214         * tabular.[Ch]: basic optical cleaning
5215
5216         * author.h: pass references, not values
5217
5218 2003-07-18  André Pönitz  <poenitz@gmx.net>
5219
5220         * lyxtext.h:
5221         * metricsinfo.C:
5222         * metricsinfo.h:
5223         * rowpainter.C:
5224         * text.C:
5225         * text2.C:
5226         * text3.C: two-phase drawing for InsetText and InsetTabular
5227         some float -> int changes.
5228
5229 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5230
5231         * lyx_main.C: fix the fix
5232
5233 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5234
5235         * lyx_main.C: fix a crash in batch mode if no files specified
5236         * converter.C: ws
5237
5238 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5239
5240         * format.[Ch] (papersize): moved to BufferParams
5241         * converter.[Ch] (dvips_options): moved to BufferParams
5242         (dvipdfm_options): moved to anon namespace
5243         * bufferparams.[Ch]: added above functions.
5244
5245 2003-07-17  André Pönitz  <poenitz@gmx.net>
5246
5247         * lyxtext.h:
5248         * rowpainter.C:
5249         * text2.C: don't call inset->update() anymore
5250
5251         * metricsinfo.[Ch]: add convenience constructor
5252
5253 2003-07-16  André Pönitz  <poenitz@gmx.net>
5254
5255         * lyxcursor.[Ch]:
5256         * lyxfunc.[Ch]:
5257         * text.C:
5258         * text2.C: replace the LyXCursor::irow_ member with
5259          on-demand computation of the value
5260
5261 2003-07-16  John Levon  <levon@movementarian.org>
5262
5263         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5264
5265 2003-07-15  André Pönitz  <poenitz@gmx.net>
5266
5267         * text.C:
5268         * text2.C: remove no more needed refresh_row
5269
5270 2003-07-15  André Pönitz  <poenitz@gmx.net>
5271
5272         * lyxtext.h:
5273         * rowpainter.C:
5274         * text2.C:
5275         * text3.C: refresh_status tristate -> need_update bool
5276
5277 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5278
5279         * lyxtext.h (init): remove reinit argument (act as if always true)
5280         * text2.C: adjust to that
5281
5282 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5283
5284         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5285         * text3.C: use it to delete selections in some cases
5286         (bugs 441, 673, 702, 954).
5287
5288 2003-07-14  André Pönitz  <poenitz@gmx.net>
5289
5290         * rowpainter.[Ch]: reduce interface
5291
5292 2003-07-14  André Pönitz  <poenitz@gmx.net>
5293
5294         * BufferView_pimpl.C:
5295         * text2.C: adjust after removing unused BufferView * argument
5296
5297 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * text2.C (init): fix a crash fired on resize
5300
5301 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5302
5303         * buffer.[Ch]: added new closing signal
5304         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5305         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5306         BufferView::Pimpl via the closing the signal
5307
5308 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5309
5310         * buffer.[Ch]: take out all bv-related from buffer
5311         * BufferView.C:
5312         * BufferView_pimpl.[Ch]: connect to new signals
5313         * CutAndPaste.C: removed useless asserts
5314         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5315         * lyxvc.[Ch]:
5316         * vc-backend.[Ch]:
5317         * lyxfunc.C: moved view-related funciontality from vc here
5318         * paragraph.C: removed outdated comments
5319         * text.C: ws
5320
5321 2003-07-10  André Pönitz  <poenitz@gmx.net>
5322
5323         * BufferView_pimpl.C:
5324         * tabular.h:
5325         * tabular_funcs.C:
5326         * text.C:
5327         * text2.C: remove InsetText::InnerCache, clean up consequences
5328
5329 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5330
5331         * ispell.C: fix two typos in error messages
5332
5333 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5334
5335         * Extend Note inset to other forms of annotation like Comment
5336         and Greyedout. Right button click gives dialog.
5337
5338         Files modified or added (+):
5339
5340         * insetnote.[Ch]
5341         * FormNote.[Ch]      +
5342         * ControlNote.[Ch]   +
5343         * form_note.fd       +
5344         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5345         frontends/controllers
5346         * xforms/Dialogs.C
5347         * factory.C
5348
5349 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5350
5351         * aspell.C: add missing namespace lyx::support
5352
5353 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5354
5355         * BufferView.[Ch] (newFile): Add
5356         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5357         * LaTeX.[Ch] (message): added this signal and use it
5358         * buffer.[Ch] (busy, message): added these signals and use them
5359         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5360         * converter.C:
5361         * exporter.C:
5362         * format.C:
5363         * importer.C: use buffer signals instead of direct bv calling
5364         * lyx_cb.[Ch] (ShowMessage): removed
5365         * lyx_main.C:
5366         * lyxfunc.C:
5367         * paragraph_funcs.C:
5368         * text2.C: use buffer signals
5369
5370 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * introduce namespace lyx::graphics
5373
5374 2003-07-02  André Pönitz  <poenitz@gmx.net>
5375
5376         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5377
5378 2003-07-01  André Pönitz  <poenitz@gmx.net>
5379
5380         * text.C:
5381         * text2.C:
5382         * text3.C:
5383         * text_funcs.[Ch]:
5384         * textcursor.h:
5385         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5386           text*.C to text_func.C
5387
5388 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5389
5390         * introduce namespace lyx::support
5391
5392 2003-06-30  André Pönitz  <poenitz@gmx.net>
5393
5394         * Chktex.C:
5395         * funcrequest.C:
5396         * lyxtext.h:
5397         * text.C: re-enable --with-included-string
5398
5399 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * textcursor.C: add <config.h>
5402
5403         * text.C (getWord): remove const from word_location arg
5404
5405         * lyxvc.C (getLogFile): fix const type order
5406
5407         * lyxtext.h: remove const from word_location arg, add arg name
5408
5409         * lyxlayout.h: currect type on labeltype.
5410
5411         * importer.C: correct \file
5412
5413         * converter.C (intToFormat): use std:: on ret val, ws changes
5414
5415         * bufferlist.h: correct \file
5416
5417         * buffer.C (makeLinuxDocFile): fix const type order
5418         (makeDocBookFile): ditto
5419         (fillWithBibKeys): use std:: on stdlib args.
5420
5421         * CutAndPaste.C: fix authors.
5422         (availableSelections): use std:: on return vector
5423
5424 2003-06-27  André Pönitz  <poenitz@gmx.net>
5425
5426         * BufferView_pimpl.C:
5427         * bufferview_funcs.C:
5428         * lyxcursor.C:
5429         * lyxcursor.h:
5430         * lyxfunc.C:
5431         * lyxtext.h:
5432         * rowpainter.C:
5433         * text.C:
5434         * text2.C:
5435         * text3.C: remove LyXCursor::row_ member
5436
5437         * lyxtext.h:
5438         * text.C: rename fullRebreak() to partialRebreak() and implement
5439           a fullRebreak() that really bereks fully
5440
5441         * textcursor.h: new struct for cursor-related data
5442
5443 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5444
5445         * lyx_main.C (LyX): get full path of document loaded on the
5446         command line
5447
5448 2003-06-26  André Pönitz  <poenitz@gmx.net>
5449
5450         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5451           remove unused/broken operator>,<,>=.
5452
5453         *       text.C: remove only use of broken operator<= in an Assert().
5454
5455 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5456
5457         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5458         moved errorlist_.clear to showErrorList
5459
5460 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5461
5462         * converter.C (scanLog, runLaTeX):
5463         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5464         move the bv->showErrorList call to the callers
5465         * lyxfunc.C: i.e. here...
5466         * text2.C: and here
5467         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5468         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5469         namespace, the second to...
5470         * buffer_funcs (BufferFormat, parseErrors): added
5471         * errorlist.C (ErrorList(TeXErrors const &)): removed
5472
5473 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5474
5475         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5476
5477 2003-06-24  "Garst R. Reese" <reese@isn.net>
5478
5479         * debug.C: fix typo
5480
5481 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5482
5483         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5484
5485         * version.C.in: change docversion to 1.4
5486
5487 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5488
5489         * buffer.C: fix a bug just introduced
5490
5491 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5492
5493         * buffer.[Ch]: added the parseError signal and use it, removed
5494         sgmlError
5495         * BufferView.[Ch] (addError): moved to ...
5496         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5497         to the Buffer::parseError signal to catch (guess what) parse errors
5498         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5499
5500 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5501
5502         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5503         ability to create a buffer and to return an existing one from
5504         the list. Moved these functions to...
5505         * buffer_funcs.[Ch]: added
5506         * BufferView.[Ch] (loadLyXFile): added
5507         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5508         job removed from bufferlist::loadLyXFile.
5509         * buffer.C (setReadOnly): make it work without view
5510         (i.e added an if (users))
5511
5512 2003-06-19  Angus Leeming  <leeming@lyx.org>
5513
5514         * lfuns.h:
5515         * LyXAction.C (init):
5516         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5517         with LFUN_DIALOG_SHOW <name> <data>.
5518
5519 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5520
5521         * CutAndPaste.C (availableSelections): small compilation fix for
5522         ancient (gcc 2.9x) compilers
5523
5524 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * text3.C (cursorNext): add tmp var
5527
5528         * text2.C (updateCounters): for function calling out of for clause
5529         (replaceSelectionWithString): ditto
5530         (insertStringAsParagraphs): ditto
5531         (getColumnNearX): add tmp var
5532         (setCursorFromCoordinates): add tmp var
5533         (cursorDownParagraph): add tmp var
5534         (deleteEmptyParagraphMechanism): add tmp var
5535
5536         * text.C (insertChar): add tmp var
5537
5538         * rowpainter.C (paintDepthBar): add tmp var
5539
5540         * CutAndPaste.C (availableSelections): potentially check all
5541         paragraphs in a cut to fill the shown strings.
5542
5543 2003-06-18  André Pönitz  <poenitz@gmx.net>
5544
5545         * kbmap.[Ch]: use vector<> instead of list<>
5546
5547 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5548
5549         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5550         pasteSelection with index
5551
5552         * text2.C (pasteSelection): modify, call pasteSelection with index
5553
5554         * paragraph.C (asString): reimplement version with no interval to
5555         call the one with interval.
5556
5557         * lyxtext.h: add index arg to pasteSelection
5558
5559         * MenuBackend.C (MenuItem): handle PasteRecent
5560         (Menu::read::Menutags): add md_pasterecent
5561         (read): handle it
5562         (expandPasteRecent): new function
5563         (expand): use it
5564
5565         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5566
5567         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5568         the limited stack
5569         (availableSelections): new function
5570
5571 2003-06-17  Angus Leeming  <leeming@lyx.org>
5572
5573         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5574
5575 2003-06-17  Angus Leeming  <leeming@lyx.org>
5576
5577         * lfuns.h:
5578         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5579
5580         * lyxfunc.C (dispatch): invoke it.
5581
5582 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5583
5584         * iterators.C (operator++, ParPosition): reintroduce some
5585         const_cast for the benefit of older compilers.
5586
5587 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5588
5589         * text3.C (dispatch): do not modify clipboard when doing
5590         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5591         LFUN_DELETE_SKIP on a selection selection
5592
5593 2003-06-16  André Pönitz  <poenitz@gmx.net>
5594
5595         * BufferView.C:
5596         * buffer.C:
5597         * buffer.h:
5598         * paragraph.C:
5599         * tabular.[Ch]: IU of clone() and getLabelList();
5600
5601 2003-06-13  André Pönitz  <poenitz@gmx.net>
5602
5603         * tabular.h: compactification
5604
5605 2003-06-12  André Pönitz  <poenitz@gmx.net>
5606
5607         * tabular.C:
5608         * tabular.h:
5609         * tabular_funcs.h: some renaming plus whitespace
5610
5611 2003-06-12  André Pönitz  <poenitz@gmx.net>
5612
5613         * BufferView.C:
5614         * BufferView_pimpl.C:
5615         * CutAndPaste.C:
5616         * buffer.C:
5617         * iterators.[Ch]:
5618         * lyxfunc.C:
5619         * text.C:
5620         * toc.C: Return a Paragraph & for ParIterator::operator*()
5621
5622 2003-06-11  John Levon  <levon@movementarian.org>
5623
5624         * lyx_main.C:
5625         * ToolbarBackend.h:
5626         * ToolbarBackend.C: add "Toolbars" section and
5627         put the flags there
5628
5629 2003-06-10  Angus Leeming  <leeming@lyx.org>
5630
5631         * lfuns.h:
5632         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5633
5634         * lyxfunc.C (dispatch): invoke it.
5635
5636 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5637
5638         * main.C: protect <ios> with HAVE_IOS
5639         (main): protect sync_with_stdio with HAVE_IOS
5640
5641 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5642
5643         * text2.C (cutSelection): adjust
5644         (pasteSelection): adjust
5645
5646         * messages.C: handle get of empty string
5647
5648         * main.C (main): use sync_with_stdio(false)
5649
5650         * lyxfunc.C (dispatch): adjust
5651
5652         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5653         (WriteAs): remove unneeded BufferView arg.
5654
5655         * bufferparams.h: use correct types on papersize, papersize2 and
5656         paperpackage.
5657
5658         * bufferparams.C (readToken): adjust for type
5659         (writeLaTeX): add missing cases to switch.
5660
5661         * bufferlist.C (quitWriteBuffer): adjust
5662         (close): adjust
5663
5664         * buffer.C (asciiParagraph): remove some commented code.
5665
5666         * CutAndPaste.C: remove current_view extern variable.
5667         (cutSelection): add BufferParams arg.
5668         (eraseSelection): add BufferParams arg.
5669         (pasteSelection): add Buffer const & arg
5670
5671 2003-06-07  John Levon  <levon@movementarian.org>
5672
5673         * buffer.C:
5674         * paragraph_funcs.C:
5675         * paragraph_pimpl.C:
5676         * text.C:
5677         * text2.C:
5678         * paragraph.h:
5679         * paragraph.C: allow InsetERT to freely space lines,
5680         and some consolidation of code
5681
5682 2003-06-06  José Matos  <jamatos@fep.up.pt>
5683
5684         * buffer.C (makeDocBookFile): fix bug #821
5685
5686 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5687
5688         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5689
5690 2003-06-04  Angus Leeming  <leeming@lyx.org>
5691
5692         * buffer.C: bump format to 224.
5693
5694 2003-06-05  André Pönitz  <poenitz@gmx.net>
5695
5696         * text2.C (redoParagraphs): remove two const_cast<>
5697
5698 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5699
5700         * ParagraphList.h: remove last remnants of NO_STD_LIST
5701
5702 2003-06-03  Angus Leeming  <leeming@lyx.org>
5703
5704         * factory.C (createInset): small change to the way InsetExternal's params
5705         are set.
5706
5707 2003-06-04  André Pönitz  <poenitz@gmx.net>
5708
5709         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5710
5711         * paragraph_pimpl.h:
5712         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5713
5714         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5715
5716         * undo_funcs.C: make some simple cases of undo work again
5717
5718 2003-06-03  John Levon  <levon@movementarian.org>
5719
5720         * ispell.C: HPUX doesn't have sys/select.h
5721         (from Albert Chin)
5722
5723 2003-06-03  John Levon  <levon@movementarian.org>
5724
5725         * CutAndPaste.C: update tabular and include inset
5726         buffer references
5727
5728         * buffer.h:
5729         * paragraph.h:
5730         * paragraph.C: remove owningBuffer(), don't pass Buffer
5731         to clone()
5732
5733         * factory.C: insetGraphicsParams changed
5734
5735 2003-06-02  John Levon  <levon@movementarian.org>
5736
5737         * LyXAction.C:
5738         * factory.C:
5739         * lfuns.h:
5740         * lyxfunc.C:
5741         * text3.C: remove insetparent
5742
5743 2003-06-02  John Levon  <levon@movementarian.org>
5744
5745         * buffer.h:
5746         * buffer.C: fix inset_iterator.end(), move out of line
5747         (bug 1149)
5748
5749 2003-06-01  John Levon  <levon@movementarian.org>
5750
5751         * text3.C: use a proper cut/paste when doing inset
5752         insert (from Jürgen Spitzmüller)
5753
5754 2003-06-01  John Levon  <levon@movementarian.org>
5755
5756         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5757
5758 2003-05-30  André Pönitz  <poenitz@gmx.net>
5759
5760         * rowpainter.C: unify second drawing phase
5761
5762 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * trans_mgr.C: remove one case of current_view
5765
5766         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5767
5768         * paragraph_funcs.h: remove paragraph.h include
5769
5770         * paragraph.h: delete NO_STD_LIST stuff
5771
5772         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5773
5774         * buffer.h: remove paragraph.h include
5775
5776         * ParagraphList.C: delete file
5777
5778         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5779
5780         * toc.C (getTocList): adjust
5781
5782         * paragraph_pimpl.C (validate): adjust
5783
5784         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5785
5786         * paragraph.C (Paragraph): adjust
5787         (getPositionOfInset): use const_iterator, adjust
5788         (bibitem): use const_iterator, adjust
5789         (setInsetOwner): adjust
5790
5791         * iterators.C (operator++): adjust
5792
5793         * InsetList.[Ch]: Replace selfmade iterator with standard
5794         vector::iterator also introduce const_iterator. Remove getPos,
5795         getInset and setInset from InsetTable. Adjust accordingly.
5796
5797         * BufferView.C (lockInset): adjust
5798         (ChangeInsets): adjust
5799
5800         * tabular.[Ch]: delete commented same_id functions
5801
5802 2003-05-28  John Levon  <levon@movementarian.org>
5803
5804         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5805
5806 2003-05-28  André Pönitz  <poenitz@gmx.net>
5807
5808         * metricsinfo.[Ch]: remove 'fullredraw' member
5809
5810 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5811
5812         * lyxtextclass.C (operator): remove caching.
5813
5814 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * text3.C: adjust
5817
5818         * text2.C (cursorBottom): adjust
5819         (setCounter): use ParagraphList::find, adjust
5820
5821         * text.C (workWidth): use ParagraphList::find, adjust
5822
5823         * lyxcursor.C (LyXCursor): adjust
5824
5825         * buffer.C (inset_iterator): adjust
5826
5827         * ParagraphList.h: make iterator(value_type) private, make
5828         ParagraphList a friend of iterator.
5829
5830         * ParagraphList.C (find): new function
5831
5832         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5833
5834 2003-05-27  André Pönitz  <poenitz@gmx.net>
5835
5836         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5837
5838 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5839
5840         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5841
5842 2003-05-26  John Levon  <levon@movementarian.org>
5843
5844         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5845
5846 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5847
5848         * remove same_id from function signatures, adjust.
5849
5850 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5851
5852         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5853
5854         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5855
5856         * paragraph.C (Paragraph): get rid of same_ids parameter
5857
5858         * ParagraphList.C (insert): adjust
5859         (push_back): adjust
5860
5861 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5862
5863         * paragraph_funcs.C (breakParagraph): adjust
5864         (breakParagraphConservative): adjust
5865
5866         * buffer.C (readParagraph): adjust
5867
5868         * ParagraphList.C (insert): take a reference instead of a pointer
5869         (insert): adjust
5870
5871         * paragraph.[Ch] (id): new function
5872
5873         * bufferlist.C (newFile): adjust
5874
5875         * ParagraphList.C (ParagraphList): adjust
5876         (assign): adjust
5877         (push_back): take a reference instead of a pointer.
5878
5879         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5880
5881         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5882         instead.
5883
5884         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5885         set else use old code.
5886
5887         * ParagraphList.C: remove all NO_NEXT code and only compile this
5888         code of NO_STD_LIST is set.
5889
5890 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5891
5892         * BufferView_pimpl.C:
5893         * TextCache.C:
5894         * TextCache.h:
5895         * bufferlist.C:
5896         * errorlist.h:
5897         * format.C:
5898         * format.h:
5899         * graph.C:
5900         * lyxfunc.C:
5901         * lyxrc.C:
5902         * graphics/GraphicsConverter.C:
5903         * graphics/PreviewLoader.C: header adjustment
5904
5905 2003-05-23  Angus Leeming  <leeming@lyx.org>
5906
5907         * LaTeXFeatures.[Ch] (useBabel): new method.
5908         * bufferparams.C (writeLaTeX): use it.
5909
5910 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * ParagraphList.h (set): remove unused function.
5913
5914 2003-05-23  André Pönitz  <poenitz@gmx.net>
5915
5916         * BufferView.C:
5917         * BufferView_pimpl.C:
5918         * buffer.C:
5919         * buffer.h:
5920         * lyxfunc.C:
5921         * undo_funcs.C: setUndo reworked
5922
5923         * iterators.[Ch]: add access to topmost ParagraphList
5924
5925         * lyxtext.[Ch] (workWidth): add a const
5926
5927 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5928
5929         * texrow.[Ch] (increasePos): remove function
5930         * exporter.C (export): removed unused var and outdated comment
5931
5932 2003-05-23  Angus Leeming  <leeming@lyx.org>
5933
5934         * latexrunparams.h: rename fragile as moving_arg.
5935         * paragraph.C (simpleTeXOnePar): ditto.
5936         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5937
5938 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5941         (createUndo): ditto
5942         (textUndoOrRedo): comment out a currently unused var.
5943
5944         * paragraph.h (NO_NEXT): enable NO_NEXT
5945
5946         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5947
5948         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5949
5950         * exporter.C (Export): adjust for removeAutoInsets removal.
5951
5952         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5953
5954         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5955
5956         * BufferView.[Ch] (removeAutoInsets): delete function
5957
5958 2003-05-22  Angus Leeming  <leeming@lyx.org>
5959
5960         * latexrunparams.h: add a free_spacing variable.
5961
5962         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5963         to pass moving_arg, as the data is stored in runparams.fragile.
5964
5965         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5966         to Inset::latexOptional or to simpleTeXOnePar.
5967
5968         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5969         free_spacing arg to Inset::latexOptional.
5970
5971         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5972         free_spacing arg.
5973
5974 2003-05-22  Angus Leeming  <leeming@lyx.org>
5975
5976         * latexrunparams.h: add fragile and use_babel variables.
5977
5978         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5979         * buffer.C (makeLaTeXFile): store this returned value in
5980         runparams.use_babel, thus passing it to the inset::latex methods.
5981
5982         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5983         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5984
5985         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5986         longer has a fragile arg, as it is stored in runparams.fragile.
5987
5988         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5989         moving_arg parameter as the data is stored in runparams.fragile.
5990
5991         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5992         a fragile parameter as the data is stored in runparams.fragile.
5993
5994 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5995
5996         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5997
5998 2003-05-22  Angus Leeming  <leeming@lyx.org>
5999
6000         * latexrunparams.h: add a 'bool nice' which defaults to false.
6001
6002         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6003         now encapsulated within runparams.
6004
6005         * bufferlist.C (updateIncludedTeXfiles):
6006         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6007
6008 2003-05-22  Angus Leeming  <leeming@lyx.org>
6009
6010         * latexrunparams.h: new file containing struct LatexRunParams.
6011         * Makefile.am: add new file.
6012
6013         * LaTeX.[Ch] (c-tor, run):
6014         * buffer.[Ch] (makeLaTeXFile):
6015         * bufferlist.[Ch] (updateIncludedTeXfiles):
6016         * converter.C (convert, scanLog):
6017         * converter.[Ch] (runLaTeX):
6018         * exporter.C (Export):
6019         * paragraph.[Ch] (simpleTeXOnePar):
6020         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6021         * paragraph_funcs.[Ch] (latexParagraphs):
6022         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6023         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6024         pass around a LatexRunParams parameter.
6025
6026 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * paragraph.[Ch]: remove unused constructor
6029
6030         * ParagraphList.C (erase): new function, taking two iterators
6031
6032 2003-05-22  André Pönitz  <poenitz@gmx.net>
6033
6034         * undo_funcs.C: remove duplicated code
6035
6036         * iterator.[Ch]: operator=
6037
6038 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * tabular.C (SetMultiColumn): ws changes
6041
6042         * rowpainter.C (paintFirst): get rid of a ->previous
6043
6044         * lyx_cb.C (getPossibleLabel): parlist simplification
6045
6046         * BufferView.C (ChangeInsets): simplify slightly.
6047
6048 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6049
6050         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6051         * lfuns.h: new LFUN_SPACE
6052         * lyxfunc.C: protected space has a new lfun
6053         * paragraph_funcs.C: read new space insets
6054         * text3.C:
6055         * factory.C: handle new space insets
6056
6057 2003-05-22  André Pönitz  <poenitz@gmx.net>
6058
6059         * BufferView.C:
6060         * BufferView_pimpl.C:
6061         * buffer.[Ch]:
6062         * lyxfunc.C:
6063         * undo_funcs.C: return a ParIterator from getParFromID.
6064
6065         * iterators.[Ch]: add two const's
6066
6067 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * toc.C (getTocList): adjust
6070
6071         * iterators.[Ch]: rework for parlist
6072
6073         * buffer.C (par_iterator_begin): adjust
6074         (par_iterator_end): adjust
6075
6076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6077
6078         * BufferView.C (removeAutoInsets): adjust
6079         (ChangeInsets): adjust
6080
6081 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6082
6083         * text.C (top_y): fix bug 1110
6084
6085 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6086
6087         * errorlist.[Ch]: added
6088         * buffer.C:
6089         * BufferView.[Ch]:
6090         * BufferView_pimpl.C:
6091         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6092         instead
6093
6094 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * Makefile.am: ensure that lyx is relinked upon changes to the
6097         various "convenience" libs.
6098
6099 2003-05-20  Angus Leeming  <leeming@lyx.org>
6100
6101         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6102         files are compiled in alphabetical order again.
6103
6104         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6105
6106 2003-05-19  Angus Leeming  <leeming@lyx.org>
6107
6108         * gettext.[Ch]: remove "char const * _(char const *)".
6109
6110 2003-05-19  André Pönitz  <poenitz@gmx.net>
6111
6112         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6113
6114         * Makefile.am:
6115         * BufferView.C:
6116         * DepTable.h:
6117         * LaTeXFeatures.C:
6118         * buffer.C:
6119         * lyxfont.C:
6120         * lyxlex.h:
6121         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6122
6123 2003-05-19  André Pönitz  <poenitz@gmx.net>
6124
6125         * buffer.C:
6126         * lyxlayout.[Ch]:
6127         * lyxtextclass.[Ch]:
6128         * paragraph.C:
6129         * paragraph_funcs.[Ch]:
6130         * text2.C:
6131         * text3.C: more insetenv work
6132
6133 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6134
6135         * ParagraphParameters.C (params2string): small bug fixed
6136
6137 2003-05-16  André Pönitz  <poenitz@gmx.net>
6138
6139         * debug.C:
6140         * bufferview_funcs.C: patch from Kornel Benko to prevent
6141           crash when _(...) is called twice in a statement
6142
6143 2003-05-16  André Pönitz  <poenitz@gmx.net>
6144
6145         * BufferView.C:
6146         * lyxfunc.C:
6147         * text.C:
6148         * text2.C:
6149         * text3.C:
6150         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6151
6152 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6153
6154         * lyx_main.C (init): remove spurious static_cast
6155
6156 2003-05-14  André Pönitz  <poenitz@gmx.net>
6157
6158         * BufferView.C: fix format string
6159
6160 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6161
6162         * BufferView.[Ch] (insertErrors): removed
6163         * BufferView.[Ch] (showErrorList): added
6164         * buffer.C (runChkTeX):
6165         * converter.C (scanLog): call showErrorList instead of inserterrors
6166
6167 2003-05-13  André Pönitz  <poenitz@gmx.net>
6168
6169         * BufferView_pimpl.C:
6170         * buffer.C:
6171         * bufferview_func.C:
6172         * MenuBackend.C:
6173         * lyxfunc.C:
6174         * lyxrc.C:
6175         * tex-accent.C:
6176         * text3.C:
6177         * toc.C:
6178         * tabular_funcs.h: tostr() from its own header
6179
6180         * ParagraphParameters.C:
6181         * ToolbarBackend.C:
6182         * bufferparams.C:
6183         * format.C:
6184         * lyxlex_pimpl.C:
6185         * text3.C: STRCONV()
6186
6187 2003-05-12  André Pönitz  <poenitz@gmx.net>
6188
6189         * BufferView.C:
6190         * BufferView_pimpl.C:
6191         * CutAndPaste.C:
6192         * LaTeX.C:
6193         * LaTeXFeatures.C:
6194         * ParagraphParameters.C:
6195         * buffer.C:
6196         * bufferlist.C:
6197         * bufferparams.C:
6198         * bufferview_funcs.C:
6199         * converter.C:
6200         * counters.C:
6201         * debug.C:
6202         * exporter.C:
6203         * format.C:
6204         * importer.C:
6205         * lyx_cb.C:
6206         * lyx_main.C:
6207         * lyxfont.C:
6208         * lyxfunc.C:
6209         * lyxvc.C:
6210         * paragraph.C:
6211         * paragraph_funcs.C:
6212         * tabular.C:
6213         * tabular_funcs.C:
6214         * text2.C:
6215         * text3.C:  boost::format -> bformat  all over the place
6216
6217
6218 2003-05-09  André Pönitz  <poenitz@gmx.net>
6219
6220         * LColor.[Ch]: Pimpl the #include <map> away
6221
6222 2003-05-09  John Levon  <levon@movementarian.org>
6223
6224         * bufferlist.C: never remove emergency saves
6225
6226 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * Makefile.am: better lib building
6229
6230 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6233         instead.
6234         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6235         (simpleTeXSpecialChars): adjust
6236         (simpleTeXSpecialChars): adjust
6237         * paragraph.C (simpleTeXOnePar): adjust
6238         * buffer.C (makeLaTeXFile): adjust
6239
6240         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6241
6242         * text2.C (changeDepth): parlist cleanup
6243         (getColumnNearX): ditto
6244
6245         * rowpainter.C (getLabelFont): parlist cleanup
6246
6247         * bufferlist.C (newFile): parlist cleanup
6248
6249         * CutAndPaste.C (eraseSelection): parlist cleanup
6250
6251         * BufferView_pimpl.C (trackChanges): parlist cleanup
6252         (dispatch): ditto
6253
6254         * BufferView.C (lockInset): parlist cleanup.
6255         (ChangeInsets): ditto
6256
6257 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258
6259         * CutAndPaste.h: Update file header.
6260
6261         * CutAndPaste.C: Update file header.
6262         Store the parts cut out of the Document in a limited_stack.
6263         (copySelection): adjust
6264         (pasteSelection): new function, takes the index in the limited stack.
6265         (nrOfParagraphs): adjust
6266         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6267         simplify error inset insertion.
6268         (checkPastePossible): adjust
6269
6270 2003-05-06  John Levon  <levon@movementarian.org>
6271
6272         * text2.C: don't cast wrap inset to float
6273
6274 2003-05-05  André Pönitz  <poenitz@gmx.net>
6275
6276         * iterator.C:
6277         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6278
6279         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6280           few naked Paragraph *.
6281
6282 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6283
6284         * bufferparams.C: Output warning if a document with missing
6285         TeX document class is loaded
6286         * exporter.C: Disable TeX exports if the document class is missing
6287         * lyxtextclass.C:
6288         * lyxtextclass.h:
6289         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6290         isTeXClassAvailable()
6291
6292 2003-05-03  John Levon  <levon@movementarian.org>
6293
6294         * BufferView.h:
6295         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6296         explicit cursor show/hide
6297
6298         * BufferView_pimpl.h:
6299         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6300         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6301
6302         * lyxfunc.C: hide cursor before dispatching.
6303
6304         * lyx_cb.C:
6305         * lyxfind.C:
6306         * text.C:
6307         * text3.C: remove explicit cursor hides
6308
6309 2003-05-02  André Pönitz  <poenitz@gmx.net>
6310
6311         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6312
6313         * undo_funcs.C:
6314         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6315           linked lists
6316
6317         * text2.C: tiny whitespace
6318
6319 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * undo_funcs.C: almost only ws changes.
6322
6323         * ParagraphList.C (splice): just return if pl is empty.
6324
6325 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * ParagraphList.C (splice): new function.
6328
6329         * CutAndPaste.C (pasteSelection): use it
6330
6331 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * CutAndPaste.C (pasteSelection): remove the last next and
6334         previous from this file.
6335
6336 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * CutAndPaste.C (pasteSelection): more clean up, user proper
6339         ParagraphList functions for pasteing.
6340
6341         * ParagraphList.C (insert): new function, three arg insert
6342
6343 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6344
6345         * ParagraphList.C (insert): new function, three arg insert
6346
6347         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6348         not on paragraphs.
6349
6350 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6353
6354 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6357
6358 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6359
6360         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6361         (copySelection): clean up a bit.
6362         (pasteSelection): use make_pair
6363
6364         * ParagraphList.C (ParagraphList): implement copy constructor
6365         (operator=): implement, base on copy constructor.
6366         (assign): new func
6367
6368         * paragraph.C (erase): return a bool
6369
6370         * paragraph_pimpl.C (erasePos): remove function, move contents...
6371         (erase): ... here. Return a bool.
6372         (erase): call erase instead of erasePos.
6373
6374 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6375
6376         * ParagraphList.h: define PitPosPair
6377         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6378         ParagraphList, fix a bug on pasting multiple pars
6379         * text2.C: change interface to C&P
6380
6381 2003-04-30  André Pönitz  <poenitz@gmx.net>
6382
6383         * undo_func.C: revert part of yesterday's patch 2
6384
6385 2003-04-30  John Levon  <levon@movementarian.org>
6386
6387         * LColor.C: s/tabular/table/
6388
6389 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * text3.C (dispatch): do not convert iterator -> pointer
6392         * undo_funcs.C (setCursorParUndo): ditto
6393         * text_funcs.C (transposeChars): ditto
6394
6395         * text2.C (setLayout): ws changes only
6396
6397         * text.C (breakParagraph): do not convert iterator -> pointer
6398         (insertChar): ditto
6399         (acceptChange): ditto
6400         (rejectChange): ditto
6401         (changeCase): ditto
6402         (Delete): ditto
6403         (backspace): ditto
6404
6405         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6406         pointer
6407
6408 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6409
6410         * text3.C (gotoInset): YABG (yet another bad getChar)
6411
6412 2003-04-29  André Pönitz  <poenitz@gmx.net>
6413
6414         * paragraph.h: make operator= private unimplemented as long as
6415           it is unusable
6416
6417         * ParagraphList.C: whitespace
6418
6419         * paragraph.[Ch]:
6420         * paragraph_pimpl.[Ch]:
6421         * paragraph_funcs.C:
6422         * CutAndPaste.C:
6423         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6424
6425         * text2.C:
6426           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6427
6428 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6429
6430         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6431         * paragraph.[Ch] (erase):
6432         * paragraph_pimpl.[Ch] (erase): change return type and value
6433         * text2.C (cutSelection): some rework
6434
6435 2003-04-28  John Levon  <levon@movementarian.org>
6436
6437         * bufferlist.C: changes for unsaved changes dialog
6438
6439 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * bufferlist.C (newFile): set language (messages_) for new
6442         documents also.
6443
6444         * buffer.C (readFile): ws changes only.
6445
6446 2003-04-28  André Pönitz  <poenitz@gmx.net>
6447
6448         * undo_funcs.C:
6449         * lyxfunc.C:
6450         * buffer.[Ch]:
6451         * BufferView_pimpl.C:
6452         * BufferView.C: getParFromID related ParagraphList::iterator changes
6453
6454 2003-04-28  André Pönitz  <poenitz@gmx.net>
6455
6456         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6457           Changes
6458
6459 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6460
6461         * messages.C: remove one more localedir class variable.
6462
6463 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6464
6465         * messages.C (getLocaleDir): singleton generation function
6466         (Pimpl): use it.
6467         (Messages): add a default constructor.
6468
6469         * main.C (main): do not setup localedir here, do not call
6470         gettext_init.
6471
6472         * gettext.C (_): use it.
6473         (gettext_init): delete funciton
6474
6475 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * gettext.C (getLyXMessages): new singleton generating function.
6478
6479         * buffer.C (updateDocLang): adjust
6480
6481         * Makefile.am (messages.o): add target
6482         (main.o): remove target
6483
6484 2003-04-27  John Levon  <levon@movementarian.org>
6485
6486         * bufferlist.C:
6487         * lyx_cb.C:
6488         * lyxfunc.C:
6489         * lyxvc.C: specify cancel button in Alert::prompt
6490
6491 2003-04-26  John Levon  <levon@movementarian.org>
6492
6493         * text3.C:
6494         * lyxfunc.C:
6495         * lfuns.h:
6496         * LyXAction.C: add LFUN_INSET_SETTINGS
6497
6498         * lyxfunc.C: don't enable tabular-feature when there's
6499         just any locking inset
6500
6501 2003-04-26  John Levon  <levon@movementarian.org>
6502
6503         * bufferlist.C: re-add Cancel to buffer close question
6504
6505         * lyxfunc.C: fix import UI a bit
6506
6507 2003-04-25  John Levon  <levon@movementarian.org>
6508
6509         * gettext.C: remove the broken asserts for now
6510
6511 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * messages.C: make case where setlocale cannot comply work better.
6514
6515         * buffer.C (updateDocLang): new function
6516         (changeLanguage): use it
6517         (readFile): use it
6518
6519         * text2.C (setCounter): use B_ a bit.
6520
6521         * lyxlayout.C (Read): be sure to trim the label strings.
6522
6523         * messages.C (Messages): fix typo in comment
6524
6525         * buffer.C (readFile): set message_ after file is loaded.
6526         (makeDocBookFile): remove double return
6527         (changeLanguage): reset message_ upon language change.
6528         (B_): new func, use this to get translated buffer strings.
6529
6530         * main.C: add myself and Jean Marc as authors.
6531
6532 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * messages.[hC]: pimplify Messages, and three different pimpls to be
6535         used in different circumstances.
6536
6537         * gettext.[Ch]: change for use with new message code.
6538
6539 2003-04-24 André Pönitz <poenitz@gmx.net>
6540
6541         * factory.C: support for eqref
6542
6543 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * messages.[Ch]: add missing char
6546
6547         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6548
6549         * messages.[Ch]: New files
6550
6551 2003-04-18  John Levon  <levon@movementarian.org>
6552
6553         * BufferView.h:
6554         * BufferView.C:
6555         * BufferView_pimpl.C:
6556         * lfuns.h:
6557         * LyXAction.C:
6558         * lyxtext.h:
6559         * text2.C: remove layout-copy/paste (bug 778)
6560
6561 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6564
6565 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6566
6567         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6568         if they succeed. Act accordingly.
6569
6570 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * text2.C (setCharFont): adjust
6573         (setCounter): adjust
6574         (insertStringAsLines): adjust
6575
6576         * text.C (leftMargin): adjust
6577         (setHeightOfRow): adjust
6578
6579         * rowpainter.C (paintFirst): adjust
6580         (paintLast): adjust
6581
6582         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6583         (outerHook): ditto
6584         (isFirstInSequence): ditto
6585         (getEndLabel): ditto
6586         (outerFont): adjust
6587
6588         * paragraph.C (getParLanguage): comment out some hard stuff.
6589
6590         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6591         (sgmlError): ditto
6592         (simpleDocBookOnePar): ditto
6593         (makeDocBookFile): use ParagraphList::iterator
6594
6595         * CutAndPaste.C (pasteSelection): adjust
6596
6597 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6598
6599         * text2.C (getFont): adjust
6600         (getLayoutFont): adjust
6601         (getLabelFont): adjust
6602
6603         * paragraph_funcs.C (TeXOnePar): adjust
6604
6605         * buffer.C (simpleLinuxDocOnePar): adjust
6606         (simpleDocBookOnePar): adjust
6607
6608         * CutAndPaste.C (pasteSelection): adjust
6609
6610         * BufferView.C (getEncoding): adjust
6611
6612         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6613
6614 2003-04-16  John Levon  <levon@movementarian.org>
6615
6616         * lyxfind.C: use parlist stuff for search/changes
6617
6618 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6621
6622         * text2.C (deleteEmptyParagraphMechanism): adjust
6623
6624         * text2.[Ch] (ownerParagraph): delete func (both of them
6625
6626 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6627
6628         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6629
6630 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * ParagraphList.C: prepare for NO_NEXT
6633
6634 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * text2.C (getFont): adjust
6637         (getLayoutFont): adjust
6638         (getLabelFont): adjust
6639
6640         * paragraph.C (getFont): adjust
6641         (getLabelFont): adjust
6642         (getLayoutFont): adjust
6643
6644         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6645
6646 2003-04-15  John Levon  <levon@movementarian.org>
6647
6648         From Angus Leeming
6649
6650         * lyx_main.C: handle Include in .ui files
6651
6652 2003-04-15  John Levon  <levon@movementarian.org>
6653
6654         * MenuBackend.C: make the doc files length shorter
6655
6656         * ToolbarBackend.h:
6657         * ToolbarBackend.C: handle toolbar placement flags,
6658         Minibuffer
6659
6660 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6663         adjust
6664
6665         * paragraph_funcs.C (TeXOnePar): adjust
6666
6667         * paragraph.C (getLabelFont): add outerfont arg, adjust
6668         (getLayoutFont): ditto
6669         (simpleTeXOnePar): adjust
6670
6671         * paragraph_pimpl.C (realizeFont): delete func
6672
6673 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6674
6675         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6676         row argument, constify cur argument.
6677
6678 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6679
6680         * text2.C (getFont): adjust
6681         (getLayoutFont): adjust
6682         (getLabelFont): adjust
6683
6684         * paragraph_funcs.C (TeXOnePar): adjust
6685         (outerFont): new func...
6686         (realizeFont): ...moved out from here, changed this to facilitate
6687         transition
6688
6689         * paragraph.C (getFont): take outerfont as arg, adjust
6690         (simpleTeXOnePar): add outerfont arg, adjust
6691
6692         * buffer.C (simpleLinuxDocOnePar): adjust
6693         (simpleDocBookOnePar): adjust
6694
6695         * CutAndPaste.C (pasteSelection): adjust
6696
6697         * BufferView.C (getEncoding): adjust
6698
6699 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6700
6701         * text2.C (setCharFont): adjust
6702         (setCounter): adjust
6703
6704         * text.C (leftMargin): adjust
6705         (setHeightOfRow): adjust
6706
6707         * rowpainter.C (paintFirst): adjust
6708         (paintLast): adjust
6709
6710         * paragraph_pimpl.C (realizeFont): adjust
6711
6712         * paragraph.C (isFirstInSequence): move from here...
6713         * paragraph_funcs.C (isFirstInSequence): ...to here
6714
6715         * paragraph.C (outerHook): move from here...
6716         * paragraph_funcs.C (outerHook): ...to here
6717
6718         * paragraph.C (depthHook): move from here...
6719         * paragraph_funcs.C (depthHook): ...to here
6720
6721         * paragraph.C (getEndLabel): move from here...
6722         * paragraph_funcs.C (getEndLabel): ...to here
6723
6724         * text2.C (realizeFont): move from here...
6725         * paragraph_funcs.C (realizeFont): ...to here
6726
6727 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6728
6729         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6730
6731 2003-04-14  Angus Leeming  <leeming@lyx.org>
6732
6733         * LColor.[Ch]: scrap LColor mathcursor.
6734
6735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * lyxlex.[Ch] (text): delete function
6738         * trans.C (Load): adjust
6739         * paragraph_funcs.C (readParToken): adjust
6740
6741 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6744         vector<char> instead of a char[].
6745
6746         * lyxlex_pimpl.C (getString): adjust
6747         (next): adjust
6748         (lex): use getString
6749         (eatLine): adjust
6750         (nextToken): adjust
6751
6752         * lyxlex.C (text): use pimpl_->getString()
6753         (getBool): ditto
6754         (findToken): ditto
6755
6756 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6757
6758         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6759         (makeFontEntriesLayoutSpecific): temp var for par.size()
6760         (setLayout): temp var for ownerParagraphs().end()
6761         (fullRebreak): temp var for rows().end()
6762         (selectionAsString): temp var for boost::next(startpit), realize
6763         that the while really is a regular for loop.
6764         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6765         setCursor in one place.
6766         (setParagraph): temp vr for ownerParagraphs().end()
6767         (updateCounters): make the while loop a for loop
6768         (cutSelection): temp var for ownerParagraphs().end()
6769         (updateInset): make the do {} while() a regular for loop
6770         (getCursorX): use temp vars
6771         (setCurrentFont): use temp vars
6772         (getColumnNearX): use temp vars
6773
6774 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6775
6776         * text.C (transformChar): use temp var for getChar
6777         (computeBidiTables): use temp var for row->par()
6778         (fill): move temp vars for row->par() and pit->layout() earlier in
6779         the function.
6780         (labelFill): use temp var for row->par()
6781         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6782         asc and desc, realize that pit never changes and that firstpit is
6783         just a duplicate and not needed. Exchange rit->par() with pit in a
6784         lot of places.
6785         (breakAgain): use a temp var for boost::next(rit)
6786         (breakAgainOneRow): ditto
6787         (breakParagraph): use a temp var for rows().begin()
6788         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6789         (cursorRightOneWord): use temp var for cursor.par() and
6790         cursor.pos(), remove usage of tmpcursor.
6791         (cursorLeftOneWord): use temp var for cursor.par() and
6792         cursor.pos() only set cur at end of function.
6793
6794 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6795
6796         * text.C, text2.C: exchange all usage of Paragraph::next with
6797         boost::next(ParagraphList::iterator)
6798
6799         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6800
6801         * text2.C (cursorTop): simplify implementation
6802         (cursorBottom): ditto
6803         (setParagraph): use ParagraphList::iterator
6804         (setCurrentFont): adjust
6805         (getColumnNearX): adjust
6806         (cursorRight): adjust
6807         (cursorLeft): remove usage of Paragraph::previous
6808         (cursorUpParagraph): ditto
6809         (deleteEmptyParagraphMechanism): slight cleanup
6810
6811         * text.C (isBoundary): take a Paragraph const & instead of a
6812         pointer as arg.
6813         (addressBreakPoint): ditto
6814         (leftMargin): remove usage of Paragraph::previous.
6815         (setHeightOfRow): ditto
6816         (cursorLeftOneWord): ditto
6817         (selectNextWordToSpellcheck): ditto
6818         (Delete): ditto
6819         (backspace): ditto
6820         (breakParagraph): remove one usage of Paragraph::next
6821         (redoParagraph): ditto
6822         (acceptChange): ditto
6823         (insertChar): adjust
6824         (rowBreakPoint): adjust
6825
6826         * bufferview_funcs.C (toggleAndShow): adjust
6827
6828 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6829
6830         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6831         methods to access it.
6832         * lyxtext.h:
6833         * text.C: Added updateRowPositions to compute all row positions.
6834         Make top_y and getRowNearY() to use the cached y position
6835
6836 2003-04-11  John Levon  <levon@movementarian.org>
6837
6838         * text.C (rowBreakPoint): reintroduce the labelEnd
6839         checks, code copied from the row fill stuff. Deep voodoo.
6840
6841         * text.C (fill): add a comment and debugging for the
6842         next poor soul.
6843
6844 2003-04-11  John Levon  <levon@movementarian.org>
6845
6846         * text.C: make sure fullrow insets get wrapped to the next line,
6847         even when they're in a manual label
6848
6849 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6850
6851         * text2.C (insertParagraph): make it take ParagraphList::iterator
6852         as arg.
6853         (setLayout): make it return ParagraphList::iterator
6854         (redoParagraphs): ditto
6855         (setCounter): ditto
6856         (checkParagraph): ditto
6857
6858         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6859
6860         * text2.C: adjust several funcs.
6861         (realizeFont): take a ParagraphList::iterator as arg.
6862         (getLayoutFont): ditto
6863         (getLabelFont): ditto
6864         (setCharFont): ditto
6865
6866         * text.C: adjust several funcs.
6867
6868 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6869
6870         * text.C (selectNextWordToSpellcheck): don't accidentally
6871         skip insets
6872
6873 2003-04-10  John Levon  <levon@movementarian.org>
6874
6875         * ToolbarBackend.C (getIcon): special handling for
6876         LFUN_MATH_DELIM
6877
6878 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6879
6880         * text2.C (cursorRight): a getChar assert fixed
6881
6882 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * text2.C (getFont): change to take a ParagraphList::iterator
6885         instead of Paragraph*
6886         Adjust several functions.
6887
6888         * text.C (transformChar): change to take a ParagraphList::iterator
6889         instead of Paragraph*
6890         (singleWidth): ditto
6891         Adjust several functions.
6892
6893         * rowpainter.C: adjust several functions
6894         * rowpainter.h:store a ParagraphList::iterator and not a
6895         Paragraph&.
6896
6897
6898 2003-04-09  John Levon  <levon@movementarian.org>
6899
6900         * lyxfunc.C:
6901         * lfuns.h:
6902         * LyXAction.h:
6903         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6904         and the "help" bits as well
6905
6906 2003-04-09  John Levon  <levon@movementarian.org>
6907
6908         * ToolbarBackend.h:
6909         * ToolbarBackend.C: allow multiple toolbars
6910
6911 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6912
6913         * undo_funcs.C (setCursorParUndo): adjust
6914
6915         * text_funcs.C (transposeChars): adjust
6916
6917         * text3.C (gotoNextInset): adjust
6918         (dispatch): adjust
6919
6920         * text2.C (setLayout): adjust
6921         (changeDepth): adjust
6922         (setFont): adjust
6923         (redoParagraphs): adjust
6924         (selectionAsString): adjust
6925         (setParagraph): adjust
6926         (insertInset): adjust
6927         (cutSelection): adjust
6928         (copySelection): adjust
6929         (pasteSelection): adjust
6930         (insertStringAsLines): adjust
6931         (updateInset): adjust
6932         (setCursor): change to take a ParagraphList::iterator parameter
6933         (setCursorIntern): change to take a ParagraphList::iterator parameter
6934         (setCurrentFont): adjust
6935         (cursorLeft): adjust
6936         (cursorRight): adjust
6937         (deleteEmptyParagraphMechanism): adjust
6938
6939         * text.C (breakParagraph): adjust
6940         (insertChar): adjust
6941         (acceptChange): adjust
6942         (rejectChange): adjust
6943         (selectNextWordToSpellcheck): adjust
6944         (changeCase): adjust
6945         (Delete): adjust
6946         (backspace): adjust
6947
6948         * lyxfind.C (SearchForward): adjust
6949         (SearchBackward): adjust
6950         (nextChange): adjust
6951
6952         * lyxcursor.C (par): adjust
6953
6954         * lyxcursor.h: store a ParagraphList::iterator instead of a
6955         Paragraph*
6956
6957         * lyx_cb.C (getPossibleLabel): adjust
6958
6959         * bufferview_funcs.C (toggleAndShow): adjust
6960
6961         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6962         (dispatch): adjust
6963
6964         * BufferView.C (removeAutoInsets): adjust
6965         (lockedInsetStoreUndo): adjust
6966
6967 2003-04-09  John Levon  <levon@movementarian.org>
6968
6969         * ToolbarBackend.C: try icon without argument
6970         if with argument fails
6971
6972 2003-04-08  John Levon  <levon@movementarian.org>
6973
6974         * ToolbarBackend.h:
6975         * ToolbarBackend.C: add getIcon(), handle tooltip,
6976         and change from "Icon" to "Item".
6977
6978 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6979
6980         * BufferView.C (lockInset): another bad getchar crunched
6981
6982 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6983
6984         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6985         again)
6986
6987 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6988
6989         * lyxfind.C (searchForward, searchBackwards): bug 782
6990
6991 2003-04-07  John Levon  <levon@movementarian.org>
6992
6993         * paragraph.C: remove dead comment
6994
6995         * text.C: remove troublesome depth-fiddling code
6996         in leftMargin() and rightMargin() (bug 1017)
6997
6998         * text.C: fix breaking of rows in nested lists
6999         (bug 1004)
7000
7001         * text2.C (updateCounters): fix up depth values
7002         (bug 1013)
7003
7004 2003-04-07  John Levon  <levon@movementarian.org>
7005
7006         * BufferView_pimpl.C: clear message when doc finishes resizing,
7007         and after a mouse event
7008
7009         * lyxfunc.C: clear message after exiting inset
7010
7011 2003-04-07  John Levon  <levon@movementarian.org>
7012
7013         * bufferview_funcs.C: show math status not outside
7014         status in the statusbar
7015
7016 2003-04-07  John Levon  <levon@movementarian.org>
7017
7018         * lyxfunc.C: note status changed after a depth change
7019
7020 2003-04-04  Angus Leeming  <leeming@lyx.org>
7021
7022         * LaTeX.h: move AuxInfo operator==, != out of line.
7023         Remove LaTeX virtual destructor; nothing derives from it.
7024         Move operator()() out of public area and rename it startscript().
7025         Change protected for private.
7026
7027 2003-04-04  Angus Leeming  <leeming@lyx.org>
7028
7029         * lyxfunc.C:
7030         * text2.C: remove unneeded #includes.
7031
7032 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7033
7034         * text2.C (dEPM): fix the heigth of the next row
7035
7036 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7037
7038         * text.C: squashed an invalid getChar requester + some ws changes
7039
7040 2003-04-03  John Levon  <levon@movementarian.org>
7041
7042         * bufferview_funcs.h:
7043         * bufferview_funcs.C:
7044         * lyxfunc.C:
7045         * lyxtext.h:
7046         * text2.C: make getStatus work for the env depth lfuns
7047
7048 2003-04-03  John Levon  <levon@movementarian.org>
7049
7050         * bufferview_funcs.h:
7051         * bufferview_funcs.C:
7052         * lyxfunc.C:
7053         * lyxtext.h:
7054         * text2.C: parlistize decDepth(), by merging it with incDepth()
7055
7056 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * lyxrow.h: store a ParagraphList::iterator instead of a
7059         Paragraph* and adjust other class functions to suit.
7060
7061         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7062         above.
7063
7064 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * text2.C (setCursor): do not anchor to cursor row for the time being
7067
7068 2003-04-02  John Levon  <levon@movementarian.org>
7069
7070         * LyXAction.C:
7071         * lfuns.h:
7072         * lyx_main.C:
7073         * lyxtext.h:
7074         * text.C:
7075         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7076
7077 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * paragraph.h: make ParagraphList and ParagraphList::iterator
7080         friends of Paragraph.
7081
7082         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7083
7084         * ParagraphList.C: Use the private next_ and previous_ from
7085         Paragraph.
7086
7087 2003-04-01  John Levon  <levon@movementarian.org>
7088
7089         * ToolbarBackend.h:
7090         * ToolbarBackend.C:
7091         * Makefile.am: rename, remove defaults gunk
7092
7093         * MenuBackend.h:
7094         * MenuBackend.C: remove defaults gunk
7095
7096         * Languages.h:
7097         * Languages.C: remove defaults gunk
7098
7099         * lyx_main.h:
7100         * lyx_main.C: error out if files couldn't be found.
7101
7102 2003-04-02  John Levon  <levon@movementarian.org>
7103
7104         * text2.C: make incDepth() use parlist
7105
7106 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * undo_funcs.C (firstUndoParagraph): adjust
7109
7110         * text3.C (gotoInset): adjust
7111         (dispatch): adjust, and rewrite loop.
7112
7113         * text2.C (init): adjust, and rewrite loop.
7114         (redoParagraphs): adjust
7115         (updateInset): adjust, and rewrite loop.
7116         (deleteEmptyParagraphMechanism): adjust
7117
7118         * tabular.C (LyXTabular): adjust
7119         (SetMultiColumn): adjust
7120         (TeXRow): adjust
7121
7122         * lyxtext.[Ch] (ownerParagraph): delete function
7123         (ownerParagraphs): new function returns a ParagraphList.
7124
7125         * BufferView.C (removeAutoInsets): adjust
7126         (insertErrors): adjust
7127         (setCursorFromRow): adjust
7128
7129 2003-04-01  Angus Leeming  <leeming@lyx.org>
7130
7131         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7132         in the frontends.
7133
7134 2003-04-02  John Levon  <levon@movementarian.org>
7135
7136         * lyxtext.h:
7137         * text.C:
7138         * Makefile.am:
7139         * text_funcs.h:
7140         * text_funcs.C: make transposeChars a free function
7141
7142         * lyxrow_funcs.C: remove wrong comment
7143
7144 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7145
7146         * lyxtext.h: adjust
7147         * rowpainter.C: adjust
7148         * text.C: adjust
7149         * text2.C: adjust
7150         * text3.C: adjust
7151
7152         * lyxrow_funcs. [Ch]: new files
7153
7154         * lyxrow.[Ch]: remove next and previous pointers
7155         (next,previous): remove accessor functions
7156         (isParEnd): move to lyxrow_funcs
7157         (lastPos): move to lyxrow_funcs
7158         (nextRowIsAllInset): move to lyxrow_funcs
7159         (lastPrintablePos): move to lyxrow_funcs
7160         (numberOfSeparators): move to lyxrow_funcs
7161         (numberOfHfills): move to lyxrow_funcs
7162         (numberOfLabelHfills): move to lyxrow_funcs
7163         (hfillExpansion): move to lyxrow_funcs
7164
7165         * lyxfunc.C: adjust
7166
7167         * bufferview_funcs.C (toggleAndShow): adjust
7168
7169         * RowList.h: Remove class RowList from file leave just a
7170         std::list<Row>.
7171
7172         * RowList.C: delete file
7173
7174         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7175         and lyxrow_funcs.h
7176
7177 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * text3.C (cursorPrevious): adjust
7180         (cursorNext): adjust
7181         (dispatch): adjust
7182
7183         * text2.C (redoHeightOfParagraph): adjust
7184         (redoDrawingOfParagraph): adjust
7185         (setCursor): adjust
7186
7187         * text.C (breakParagraph): adjust
7188         (insertChar): adjust
7189         (backspace): adjust
7190
7191         * rowpainter.C (RowPainter): adjust
7192         (leftMargin): simplify and adjust
7193         (most rowpainter functions): adjust.
7194
7195         * rowpainter.h: store the row as RowList::iterator not as Row*
7196
7197         * lyxcursor.C (row): taka RowList::iterator as arg
7198         (irow): ditto
7199
7200         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7201         of Row*.
7202
7203 2003-04-01  Angus Leeming  <leeming@lyx.org>
7204
7205         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7206         stuff like bool Bool.
7207
7208 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7209
7210         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7211         rewrite a loop
7212
7213 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7214
7215         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7216         RowList::iterator.
7217
7218         * lyxtext.h (rows): drop one version and leve a const variant that
7219         returns a RowList::iterator.
7220
7221 2003-03-31  Angus Leeming  <leeming@lyx.org>
7222
7223         * text.C (fill): ensure that the signature is the same as that in the
7224         header file.
7225
7226 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * text2.C (redoParagraphs): adjust
7229         (updateCounters): adjust
7230         (checkParagraph): adjust
7231         (getColumnNearX): adjust and reformat a bit.
7232
7233         * text.C (top_y): adjust
7234         (workWidth): adjust
7235         (leftMargin): adjust
7236         (prepareToPrint): adjust
7237         (getRow): adjust
7238         (getRowNearY): adjust
7239
7240         * lyxtext.h: make rowlist_ mutable.
7241
7242         * RowList.h: add const_iterator
7243         * RowList.C: adjust for RowList::const_iterator.
7244
7245         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7246         adjust.
7247
7248 2003-03-31  John Levon  <levon@movementarian.org>
7249
7250         * lyxrc.h:
7251         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7252
7253         * lyx_main.C: set default fonts from using lyx_gui funcs
7254
7255         * exporter.C: pdf_mode moved from lyxrc
7256
7257         * lyx_cb.C:
7258         * lyxfunc.C: changes from above
7259
7260 2003-03-31  John Levon  <levon@movementarian.org>
7261
7262         * lyx_main.C: fix to the last fix
7263
7264 2003-03-31  John Levon  <levon@movementarian.org>
7265
7266         * bufferlist.C: "Load original" -> "Load Original"
7267
7268         * converter.C:
7269         * exporter.C:
7270         * importer.C:
7271         * lyx_main.C:
7272         * format.C: more Alert cleanups
7273
7274 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * text2.C (removeParagraph): make it take a RowList::iterator as
7277         arg, adjust.
7278         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7279         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7280
7281         * text.C (anchor_row): make it take a RowList::iterator as arg,
7282         adjust.
7283         (computeBidiTables): make it take a const reference to Row instead
7284         of Row pointer, adjust.
7285         (leftMargin): make it take a RowList::iterator as arg, adjust.
7286         (rowBreakPoint): adjust
7287         (breakAgainOneRow): make it take a RowList::iterator as arg,
7288         adjust.
7289         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7290
7291         * bufferview_funcs.C (toggleAndShow): adjust
7292
7293 2003-03-30  John Levon  <levon@movementarian.org>
7294
7295         * Makefile.am:
7296         * BoostFormat.h:
7297         * boost-inst.C: moved to support
7298
7299         * several files: changes as a result
7300
7301 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7302
7303         * text2.C (LyXText): adjust.
7304         (init): adjust
7305         (removeRow): make it take a RowList::iterator as arg, adjust.
7306         (fullRebreak): adjust
7307         (deleteEmptyParagraphMechanism): adjust
7308         (clearPaint): adjust
7309         (postPaint): adjust
7310
7311         * text.C (top_y): adjust
7312         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7313         (breakAgain): make it take a RowList::iterator as arg, adjust.
7314         (breakParagraph): adjust
7315         (insertChar): adjust
7316         (backspace): adjust
7317
7318         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7319         need_break_row, and refresh_row.
7320
7321         * text3.C (dispatch): adjust
7322
7323         * text2.C (checkParagraph): adjust
7324         (setCursor): adjust
7325         (setCursorFromCoordinates): adjust
7326
7327         * text.C (top_y): adjust
7328         (workWidth): adjust
7329         (getRow): make it return a RowList::iterator, adjust
7330         (getRowNearY): make it return a RowList::iterator, adjust
7331
7332         * text2.C (init): adjust
7333         (insertRow): remove function
7334         (insertParagraph): adjust
7335         (redoParagraphs): adjust
7336         (fullRebreak): adjust
7337         (updateCounters): adjust
7338
7339         * text.C (top_y): rewrite to use RowList iterators.
7340         (top_y): adjust
7341         (setHeightOfRow): rewrite to sue RowList iterators.
7342         (appendParagraph): adjust
7343         (breakAgain): adjust
7344         (breakAgainOneRow): adjust
7345         (breakParagraph): adjust
7346         (getRow): adjust
7347         (getRowNearY): adjust, and remove commented code.
7348
7349         * lyxtext.h (firstRow): delete function
7350         (lastRow): delete function
7351         (rows): new function (const and non-const versions.)
7352         (insertRow): delete function
7353
7354         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7355
7356 2003-03-29  John Levon  <levon@movementarian.org>
7357
7358         * BufferView_pimpl.C: always update scrollbar top
7359         because pasting text when we're anchored could mean we
7360         miss an update altogether
7361
7362 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * text2.C (init): use rowlist_.end() and not 0.
7365         (insertRow): change to take a RowList::iterator as arg, adjust
7366         for this.
7367         (insertParagraph): change to take a RowList::iterator as arg,
7368         adjust for this.
7369         (redoParagraphs): remove some debug msgs.
7370
7371         * text.C (appendParagraph): change to take a RowList::iterator
7372         arg, adjust for this.
7373         (breakAgain): add an assert
7374         (breakAgainOneRow): ditto
7375
7376 2003-03-29  John Levon  <levon@movementarian.org>
7377
7378         * text2.C: do not clear selection after inc/decDepth
7379         (bug 550)
7380
7381 2003-03-29  John Levon  <levon@movementarian.org>
7382
7383         * BufferView.C:
7384         * buffer.C: fix broken strerrors according to Lars
7385
7386 2003-03-29  John Levon  <levon@movementarian.org>
7387
7388         * converters.C: more Alert cleanups
7389
7390 2003-03-29  John Levon  <levon@movementarian.org>
7391
7392         * bufferview_funcs.C: remove pointless Alert
7393
7394         * buffer.C: fix confusing error message when
7395         a template is chmoded 000
7396
7397 2003-03-29  John Levon  <levon@movementarian.org>
7398
7399         * BufferView.C:
7400         * BufferView.h:
7401         * BufferView_pimpl.C: Alert fixes
7402
7403         * Makefile.am:
7404         * tabular.C:
7405         * tabular-old.C: remove unused table compat reading
7406
7407 2003-03-29  John Levon  <levon@movementarian.org>
7408
7409         * BufferView.C:
7410         * buffer.C:
7411         * lyx_cb.h:
7412         * lyx_cb.C: more Alert cleanups
7413
7414         * lyxfunc.C: don't allow chktex if not latex document
7415
7416 2003-03-29  John Levon  <levon@movementarian.org>
7417
7418         * lyx_cb.C:
7419         * BufferView.C:
7420         * buffer.C: warnings pushed down from support/,
7421         kill err_alert
7422
7423 2003-03-29  John Levon  <levon@movementarian.org>
7424
7425         * lyxfunc.C: safety check for C-r (revert)
7426
7427 2003-03-29  John Levon  <levon@movementarian.org>
7428
7429         * bufferlist.h:
7430         * bufferlist.C: several UI fixes using Alert::prompt.
7431         Fix the pointless looping quit code. Fix stupid revert
7432         behaviour (bug 938)
7433
7434         * lyxvc.h:
7435         * lyxvc.C:
7436         * lyx_cb.C: use Alert::prompt
7437
7438         * lyx_main.C: remove a silly question
7439
7440         * lyxfunc.C: remove a couple of silly questions,
7441         use Alert::prompt
7442
7443 2003-03-28  John Levon  <levon@movementarian.org>
7444
7445         * text2.C: fix bug 974 (End on empty par)
7446
7447 2003-03-28  John Levon  <levon@movementarian.org>
7448
7449         * BufferView_pimpl.C:
7450         * LyXAction.C:
7451         * lfuns.h: remove do-nothing math greek lfuns
7452
7453 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * lyxgluelength.h (isValidGlueLength): add default arg on
7456         parameter 2. Remove default arg from friend in class.
7457
7458         * lyxlength.h (isValidLength): add default arg on parameter 2.
7459         Remove default arg from friend in class.
7460
7461         * text2.C (LyXText): adjust, initialize refresh_row.
7462         (init): adjust
7463         (removeRow): adjust
7464         (insertRow): adjust
7465         (insertParagraph): adjst
7466         (redoParagraphs): adjust
7467         (fullRebreak): adjust
7468         (updateCounters): adjust
7469         (deleteEmptyParagraphMechanism): first attempt at fixing a
7470         crashing bug.
7471
7472         * text.C (top_y): adjust
7473         (setHeightOfRow): adjust
7474         (getRow): adjust
7475         (getRowNearY): adjust
7476
7477         * lyxtext.h: include RowList.h
7478         (~LyXText): not needed anymore, deleted.
7479         (firstRow): modify for RowList
7480         (lastRow): new function
7481         Delete firstrow and lastrow class variables, add a Rowlist
7482         rowlist_ class variable.
7483
7484         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7485         paragraph is empty.
7486
7487         * RowList.C (insert): fix case where it == begin().
7488
7489 2003-03-26  Angus Leeming  <leeming@lyx.org>
7490
7491         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7492         the thesaurus dialog.
7493
7494 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7497
7498         * RowList.[Ch]: new files
7499
7500         * ParagraphList.C (erase): handle the case where it == begin
7501         correctly.
7502
7503 2003-03-25  John Levon  <levon@movementarian.org>
7504
7505         * Makefile.am:
7506         * aspell_local.h:
7507         * aspell.C: add new aspell support
7508
7509         * lyxrc.h:
7510         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7511         have it accessible.
7512
7513 2003-03-25  Angus Leeming  <leeming@lyx.org>
7514
7515         * lfuns.h:
7516         * LyXAction.C (init): new LFUN_INSET_INSERT.
7517
7518         * BufferView_pimpl.C (dispatch): split out part of the
7519         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7520
7521         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7522         LFUN_INSET_APPLY.
7523
7524 2003-03-25  Angus Leeming  <leeming@lyx.org>
7525
7526         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7527
7528 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7529
7530         * text2.C:
7531         * text3.C: remove useless row->height(0)
7532
7533 2003-03-25  John Levon  <levon@movementarian.org>
7534
7535         * lyxtext.h:
7536         * text2.C:
7537         * text3.C: rename the refreshing stuff to better names
7538
7539 2003-03-24  John Levon  <levon@movementarian.org>
7540
7541         * BufferView_pimpl.h:
7542         * BufferView_pimpl.C: update layout choice on a mouse
7543         press/release
7544
7545 2003-03-23  John Levon  <levon@movementarian.org>
7546
7547         * Makefile.am: fix commandtags.h reference
7548
7549 2003-03-22  John Levon  <levon@movementarian.org>
7550
7551         * BufferView_pimpl.C:
7552         * lyxtext.h:
7553         * rowpainter.C:
7554         * rowpainter.h:
7555         * text.C:
7556         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7557
7558 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7559
7560         * lyxtext.h:
7561         * text.C: take the rtl methods out of line
7562
7563 2003-03-21 André Pönitz <poenitz@gmx.net>
7564
7565         * metricsinfo.[Ch]: new files containing structures to be passed around
7566         during the two-phase-drawing...
7567
7568 2003-03-21 André Pönitz <poenitz@gmx.net>
7569
7570         * lyxtextclass.C: read 'environment' tag.
7571
7572 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7573
7574         * text2.C (removeRow): fix bug 964
7575
7576 2003-03-20  John Levon  <levon@movementarian.org>
7577
7578         * rowpainter.C:
7579         * text.C:
7580         * text2.C: paint cleanups. Inset::update() dropped font
7581         parameter
7582
7583 2003-03-19  John Levon  <levon@movementarian.org>
7584
7585         * lyxfunc.C: only fitcursor/markDirty if available()
7586
7587 2003-03-19  John Levon  <levon@movementarian.org>
7588
7589         * commandtags.h: rename to ...
7590
7591         * lfuns.h: ... this, and renumber / cleanup
7592
7593 2003-03-19  John Levon  <levon@movementarian.org>
7594
7595         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7596         fit the cursor after an lfun
7597
7598         * BufferView.h:
7599         * BufferView.C:
7600         * BufferView_pimpl.h:
7601         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7602
7603         * LyXAction.C: layout-character should have ReadOnly
7604
7605         * ParagraphParameters.C:
7606         * buffer.C:
7607         * bufferview_funcs.C:
7608         * lyx_cb.C:
7609         * lyxfind.C:
7610         * lyxtext.h:
7611         * text.C:
7612         * text2.C:
7613         * text3.C:
7614         * undo_funcs.C: changes from above
7615
7616 2003-03-18  John Levon  <levon@movementarian.org>
7617
7618         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7619         remove it from update()
7620
7621         * lyxfunc.C: update layout choice after an lfun
7622
7623         * text3.C: remove extra updateLayoutChoice()s
7624
7625 2003-03-18  John Levon  <levon@movementarian.org>
7626
7627         * text.C: top_y change means full repaint, fix
7628         a drawing bug with cursor movement
7629
7630 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7631
7632         * lyxtext.h:
7633         * text.C:
7634         * text2.C: anchor row on setCursor
7635
7636 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7637
7638         * lyxtext.h: remove almost all mutable keywords
7639         * text.C:
7640         * text2.C:
7641         * text3.C: remove const keywords accordingly
7642
7643 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7644
7645         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7646         anon namespace
7647         (TeXEnvironment): ditto
7648         (TeXOnePar): ditto
7649
7650 2003-03-17  John Levon  <levon@movementarian.org>
7651
7652         * text.C (rowBreakPoint): remove attempt to fix displayed
7653         math insets inside a manual label
7654
7655 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * lyxtext.h: remove BufferView* as first arg from almost all class
7658         functions.
7659         * other files: adjust.
7660
7661 2003-03-17  John Levon  <levon@movementarian.org>
7662
7663         * lyxtext.h:
7664         * undo_funcs.C:
7665         * text2.C: more paint cleanups
7666
7667         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7668
7669         * rowpainter.h:
7670         * rowpainter.C: remove "smart" background painting code
7671
7672 2003-03-16  John Levon  <levon@movementarian.org>
7673
7674         * lyxtext.h:
7675         * text.C:
7676         * text2.C:
7677         * text3.C: add helper functions for setting refresh_row/y
7678
7679 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7680
7681         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7682         newline inset which *can* get inserted in the pass_thru layouts.
7683         This is primarily for literate documents.
7684
7685 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7686
7687         * buffer.C: increment LYX_FORMAT to 223
7688
7689 2003-03-14 André Pönitz <poenitz@gmx.net>
7690
7691         * textclass.h: prepare for environment handling, ws changes
7692         * lyxlayout.C: read latexheader and latexfooter tags
7693
7694 2003-03-14  John Levon  <levon@movementarian.org>
7695
7696         * text2.C: rewrite ::status() a bit
7697
7698 2003-03-13  John Levon  <levon@movementarian.org>
7699
7700         * lyxtext.h: add some docs
7701
7702 2003-03-13  John Levon  <levon@movementarian.org>
7703
7704         * lyxtext.h:
7705         * text.C:
7706         * text2.C:
7707         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7708
7709 2003-03-13  John Levon  <levon@movementarian.org>
7710
7711         * text3.C: fix appendix redrawing
7712
7713 2003-03-13  John Levon  <levon@movementarian.org>
7714
7715         * text.C (setHeightOfRow):
7716         * rowpainter.h:
7717         * rowpainter.C: make appendix mark have the text
7718           "Appendix" so the user knows what it is
7719
7720         * LColor.h:
7721         * LColor.C: s/appendixline/appendix/ from above
7722
7723 2003-03-13  John Levon  <levon@movementarian.org>
7724
7725         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7726
7727         * text.C: fix a getChar(pos) bug properly
7728
7729 2003-03-13  Angus Leeming  <leeming@lyx.org>
7730
7731         * commandtags.h:
7732         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7733         Probably only temporary. Let's see how things pan out.
7734
7735         * BufferView.C (unlockInset):
7736         * BufferView_pimpl.C (fitCursor):
7737         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7738
7739         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7740         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7741
7742         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7743         new functions that convert ParagraphParameters to and from a string.
7744
7745         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7746         BufferView::Pimpl's dispatch.
7747         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7748
7749 2003-03-13 André Pönitz <poenitz@gmx.net>
7750
7751         * lyxfunc.C:
7752         * text3.C:
7753         * factory.C: make it aware of InsetEnv
7754
7755 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * text2.C (setCursor): never ask for one past last
7758         (setCursor): add some debugging messages.
7759
7760         * text.C (singleWidth): never ask for one past last
7761         (singleWidth): ditto
7762         (leftMargin): ditto
7763         (rightMargin): ditto
7764         (rowBreakPoint): ditto
7765         (setHeightOfRow): ditto
7766         (prepareToPrint): ditto
7767
7768         * rowpainter.C (paintBackground): never ask for one past last
7769         (paintText): never ask for one past last
7770
7771         * paragraph_pimpl.C (getChar): make the assert stricter, never
7772         allow the one past last pos to be taken
7773
7774         * paragraph.C (getChar): ws changes only
7775
7776         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7777         (numberOfSeparators): ditto
7778         (numberOfHfills): ditto
7779
7780 2003-03-12  John Levon  <levon@movementarian.org>
7781
7782         * author.h:
7783         * author.C:
7784         * bufferparams.h:
7785         * bufferparams.C:
7786         * paragraph_funcs.C: fix per-buffer authorlists
7787
7788 2003-03-12  John Levon  <levon@movementarian.org>
7789
7790         * text.C: fix newline in right address
7791
7792 2003-03-12  Angus Leeming  <leeming@lyx.org>
7793
7794         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7795         duplicate those in LyXFunc::dispatch.
7796
7797         * commandtags.h:
7798         * LyXAction.C:
7799         * ToolbarDefaults.C:
7800         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7801         Add LFUN_FONTFREE_UPDATE.
7802
7803         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7804         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7805
7806         * bufferview_func.[Ch]: several new functions to facilliate
7807         transfer of data to and from the character dialog.
7808
7809 2003-03-12  John Levon  <levon@movementarian.org>
7810
7811         * buffer.C:
7812         * paragraph.h:
7813         * paragraph.C:
7814         * paragraph_funcs.C:
7815         * paragraph_pimpl.C:
7816         * sgml.C:
7817         * tabular.C:
7818         * text.C:
7819         * text3.C: remove META_NEWLINE in favour of an inset
7820
7821         * rowpainter.h:
7822         * rowpainter.C: remove paintNewline (done by inset)
7823
7824 2003-03-12  John Levon  <levon@movementarian.org>
7825
7826         * paragraph_pimpl.C: complain about bad getChar()s
7827         for a while at least
7828
7829 2003-03-12  John Levon  <levon@movementarian.org>
7830
7831         * buffer.h:
7832         * buffer.C: move paragraph read into a separate function,
7833         a little renaming to reflect that.
7834
7835         * bufferparams.h:
7836         * bufferparams.C: remove the author_ids map, not necessary now
7837
7838         * factory.h:
7839         * factory.C: moved Buffer::readInset to here
7840
7841         * paragraph_funcs.h:
7842         * paragraph_funcs.C: readParagraph free function moved from
7843         buffer.C
7844
7845         * tabular.C: name change
7846
7847 2003-03-12  John Levon  <levon@movementarian.org>
7848
7849         * buffer.C:
7850         * ParagraphParameters.C: move par params input to
7851         a read() method
7852
7853         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7854         behave like a normal read from the stream wrt reading
7855         a line vs. a \\token
7856
7857 2003-03-12  John Levon  <levon@movementarian.org>
7858
7859         * paragraph.C:
7860         * ParagraphParameters.h:
7861         * ParagraphParameters.C: move output code to a
7862         ::write() method
7863
7864 2003-03-12  John Levon  <levon@movementarian.org>
7865
7866         * BufferView.C (insertLyXFile):
7867         * buffer.h:
7868         * buffer.C:
7869         * tabular.C: use a parlist iterator for creating the
7870           document.
7871
7872 2003-03-12  John Levon  <levon@movementarian.org>
7873
7874         * buffer.C: make current_change static local not
7875           static file-scope
7876
7877 2003-03-12  John Levon  <levon@movementarian.org>
7878
7879         * buffer.C: fix insertStringAsLines for change tracking
7880
7881 2003-03-12  John Levon  <levon@movementarian.org>
7882
7883         * BufferView.C:
7884         * tabular.C:
7885         * buffer.h:
7886         * buffer.C:
7887         * bufferparams.h:
7888         * bufferparams.C: move author list into params. Rename some
7889           functions. Move the header reading into a separate token
7890           loop. Move the header token reading into BufferParams.
7891
7892 2003-03-12  John Levon  <levon@movementarian.org>
7893
7894         * changes.C: put debug inside lyxerr.debugging() checks
7895
7896 2003-03-11 André Pönitz <poenitz@gmx.net>
7897
7898         * factory.C: make it aware of InsetHFill
7899
7900 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7901
7902         * buffer.C (latexParagraphs): move function from here...
7903         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7904         args.
7905
7906 2003-03-10  Angus Leeming  <leeming@lyx.org>
7907
7908         * LyXAction.C (init): fix bug in poplating array with multiple entries
7909         with the same LFUN (spotted by JMarc).
7910
7911 2003-03-10  John Levon  <levon@movementarian.org>
7912
7913         * text.C:
7914         * text2.C: move getColumnNearX() near its
7915         only call site
7916
7917 2003-03-10  John Levon  <levon@movementarian.org>
7918
7919         * text.C: fix break before a minipage
7920
7921 2003-03-10  John Levon  <levon@movementarian.org>
7922
7923         * text.C: fix the last commit
7924
7925 2003-03-09  John Levon  <levon@movementarian.org>
7926
7927         * lyxtext.h:
7928         * text.C:
7929         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7930         bug 365 (don't break before insets unless needed). Don't
7931         return a value > last under any circumstances.
7932
7933 2003-03-09  Angus Leeming  <leeming@lyx.org>
7934
7935         * BufferView_pimpl.C (trackChanges, dispatch): call
7936         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7937
7938 2003-03-09  Angus Leeming  <leeming@lyx.org>
7939
7940         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7941         than Dialogs::showAboutlyx().
7942
7943 2003-03-09  Angus Leeming  <leeming@lyx.org>
7944
7945         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7946         than Dialogs::showTabularCreate().
7947
7948 2003-03-09  John Levon  <levon@movementarian.org>
7949
7950         * lyxtext.h:
7951         * text.C:
7952         * text2.C: 3rd arg to nextBreakPoint was always the same.
7953           Use references.
7954
7955 2003-03-08  John Levon  <levon@movementarian.org>
7956
7957         * lyxrow.C:
7958         * paragraph.C:
7959         * paragraph.h:
7960         * rowpainter.C:
7961         * text.C:
7962         * text2.C: Remove the "main" bit from the "main body"
7963           notion.
7964
7965 2003-03-08  John Levon  <levon@movementarian.org>
7966
7967         * text.C (leftMargin): The left margin of an empty
7968         manual label paragraph should not include the label width
7969         string length.
7970
7971         * text.C (prepareToPrint): don't attempt to measure hfills
7972         for empty manual label paragraphs - the answer should be 0
7973
7974 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7975
7976         * CutAndPaste.C: remove commented code and reindent.
7977
7978 2003-03-08  John Levon  <levon@movementarian.org>
7979
7980         * lyxfunc.h:
7981         * lyxfunc.C: move reloadBuffer()
7982
7983         * BufferView.h:
7984         * BufferView.C: to here
7985
7986         * lyxvc.C: add comment
7987
7988         * vc-backend.h:
7989         * vc-backend.C: call bv->reload() to avoid
7990           getStatus() check on MENURELOAD
7991
7992 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7993
7994         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7995         to an old format .dep file.
7996
7997 2003-03-07  Angus Leeming  <leeming@lyx.org>
7998
7999         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8000         when the LFUN_MOUSE_RELEASE should have been handled by
8001         inset->localDispatch.
8002
8003 2003-03-07  Angus Leeming  <leeming@lyx.org>
8004
8005         * BufferView_pimpl.C (dispatch):
8006         * LyXAction.C (init):
8007         * ToolbarDefaults.C (init):
8008         * commandtags.h:
8009         * lyxfunc.C (getStatus):
8010         remove LFUN_INSET_GRAPHICS.
8011
8012         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8013
8014 2003-03-07  Angus Leeming  <leeming@lyx.org>
8015
8016         * commandtags.h:
8017         * LyXAction.C (init):
8018         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8019
8020         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8021
8022         * commandtags.h:
8023         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8024
8025         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8026         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8027
8028 2003-03-07  Angus Leeming  <leeming@lyx.org>
8029
8030         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8031         remove "ert".
8032
8033 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * ParagraphList.C (front): new function
8036         (back): implement
8037
8038 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8039
8040         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8041         and top_row_offset_. removed var first_y.
8042         * text.C (top_y):
8043         * text2.C (LyXText, removeRow):
8044         * text3.C:
8045         * BufferView_pimpl.C:
8046         use these methods instead of using first_y
8047
8048 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8049
8050         * text2.C (pasteSelection): adjust for checkPastePossible
8051
8052         * CutAndPaste.C: remove Paragraph * buf and replace with
8053         ParagraphList paragraphs.
8054         (DeleteBuffer): delete
8055         (cutSelection): change the tc type to textclass_type
8056         (copySelection): change the tc type to textclass_type
8057         (copySelection): adjust for ParagraphList
8058         (pasteSelection): change the tc type to textclass_type
8059         (pasteSelection): adjust for Paragraphlist
8060         (nrOfParagraphs): simplify for ParagraphList
8061         (checkPastePossible): simplify for ParagraphList
8062         (checkPastePossible): remove unused arg
8063
8064         * ParagraphList.C (insert): handle the case where there are no
8065         paragraphs yet.
8066
8067         * CutAndPaste.h: make CutAndPaste a namespace.
8068
8069         * text3.C (dispatch): adjust
8070
8071         * text.C (breakParagraph): add a ParagraphList as arg
8072
8073         * paragraph_funcs.C (breakParagraph): change to take a
8074         BufferParams and a ParagraphList as args.
8075         (breakParagraphConservative): ditto
8076         (mergeParagraph): ditto
8077         (TeXDeeper): add a ParagraphList arg
8078         (TeXEnvironment): ditto
8079         (TeXOnePar): ditto
8080
8081         * buffer.C (readLyXformat2): adjust
8082         (insertStringAsLines): adjust
8083         (latexParagraphs): adjust
8084
8085         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8086         (cutSelection): adjust
8087         (pasteSelection): adjust
8088
8089         * BufferView_pimpl.C (insertInset): adjust
8090
8091 2003-03-05  Angus Leeming  <leeming@lyx.org>
8092
8093         * commandtags.h:
8094         * LyXAction.C (init):
8095         * BufferView_pimpl.C (dispatch):
8096         * lyxfunc.C (getStatus):
8097         remove LFUN_CHILD_INSERT.
8098
8099         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8100
8101 2003-03-05  Angus Leeming  <leeming@lyx.org>
8102
8103         * commandtags.h:
8104         * LyXAction.C (init):
8105         * src/factory.C (createInset):
8106         * lyxfunc.C (getStatus):
8107         * text3.C (dispatch):
8108         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8109
8110         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8111
8112 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * ParagraphList.C (insert): handle insert right before end()
8115         (erase): fix cases where it can be first or last paragraph.
8116
8117 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8118
8119         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8120         Paragraph::next and Paragraph::previous
8121         (TeXOnePar): ditto
8122
8123         * text.C (breakParagraph): adjust
8124
8125         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8126         BufferParams& as arg.
8127         (breakParagraph): use ParagraphList::insert
8128         (breakParagraphConservative): take a Buffer* instead of a
8129         BufferParams& as arg.
8130         (breakParagraphConservative): use ParagraphList::insert.
8131
8132         * buffer.C (insertStringAsLines): un-const it
8133         (insertStringAsLines): adjust
8134
8135         * ParagraphList.C (insert): new function
8136
8137         * CutAndPaste.C (pasteSelection): adjust
8138
8139         * text.C (backspace): adjust
8140
8141         * tabular.C (SetMultiColumn): adjust
8142
8143         * CutAndPaste.C (cutSelection): adjust
8144         (pasteSelection): adjust
8145
8146         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8147         Buffer const * as arg
8148
8149         * ParagraphList.C (erase): new function
8150         * paragraph_funcs.C (mergeParagraph): use it
8151         (mergeParagraph): make it take a Buffer* instead of a
8152         BufferParams* as arg
8153
8154         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8155         as arg
8156         (breakParagraphConservative): ditto
8157
8158         * paragraph.h: remove the breakParagraph friend
8159
8160         * paragraph.C (eraseIntern): new function
8161         (setChange): new function
8162
8163         * paragraph_funcs.C (mergeParagraph): make it take a
8164         ParagraphList::iterator instead of a Paragraph *, adjust
8165         accordingly.
8166
8167         * paragraph.h: move an #endif so that the change tracking stuff
8168         also works in the NO_NEXT case.
8169
8170 2003-03-04  Angus Leeming  <leeming@lyx.org>
8171
8172         * commandtags.h:
8173         * LyXAction.C: new LFUN_INSET_MODIFY.
8174
8175         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8176         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8177
8178 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8179
8180         * several files: ws changes only
8181
8182         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8183         (TeXEnvironment): ditto
8184         (TeXDeeper): ditto
8185
8186         * buffer.C (makeLaTeXFile): adjust
8187         (latexParagraphs): make it take ParagraphList::iterator as args
8188
8189 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8190
8191         * buffer.C (latexParagraphs): adjust
8192
8193         * paragraph.C (TeXOnePar): move function...
8194         (optArgInset): move function...
8195         (TeXEnvironment): move function...
8196         * paragraph_pimpl.C (TeXDeeper): move function...
8197         * paragraph_funcs.C: ...here
8198
8199         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8200
8201 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8202
8203         * buffer.C (readInset): remove compability code for old Figure and
8204         InsetInfo insets
8205
8206 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * buffer.C: ws changes
8209         (readInset):
8210
8211         * BufferView_pimpl.C: ditto
8212         * author.C: ditto
8213         * buffer.h: ditto
8214         * bufferlist.h: ditto
8215         * changes.h: ditto
8216         * lyxfunc.C: ditto
8217
8218 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8219
8220         * converter.[Ch]: split into itself +
8221         * graph.[Ch]
8222         * format.[Ch]
8223         * Makefile.am: += graph.[Ch] + format.[Ch]
8224         * MenuBackend.C
8225         * buffer.C
8226         * exporter.C
8227         * importer.C
8228         * lyx_main.C
8229         * lyxfunc.C
8230         * lyxrc.C: added #include "format.h"
8231
8232 2003-02-27  Angus Leeming  <leeming@lyx.org>
8233
8234         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8235           a label.
8236
8237         * factory.C (createInset): add "label" to the factory.
8238
8239         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8240           string and do no more.
8241
8242 2003-02-27  Angus Leeming  <leeming@lyx.org>
8243
8244         * commandtags.h:
8245         * LyXAction.C (init):
8246         * factory.C (createInset):
8247         * BufferView_pimpl.C (dispatch):
8248           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8249
8250         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8251
8252         * lyxfunc.C (dispatch):
8253         * text3.C (dispatch): pass name to params2string.
8254
8255 2003-02-26  Angus Leeming  <leeming@lyx.org>
8256
8257         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8258           blocks together.
8259           Rearrange the ~includes. Strip out the unnecessary ones.
8260
8261         * factory.C (createInset): reformat.
8262           create new insets for the various LFUN_XYZ_APPLY lfuns.
8263
8264 2003-02-26  John Levon  <levon@movementarian.org>
8265
8266         * lyxrow.h:
8267         * lyxrow.C: add isParStart,isParEnd helpers
8268
8269         * paragraph.h: make isInserted/DeletedText take refs
8270
8271         * paragraph_funcs.h:
8272         * paragraph_funcs.C: remove #if 0'd code
8273
8274         * lyxtext.h:
8275         * text3.C:
8276         * text2.C:
8277         * text.C: use lyxrow helpers above.
8278           Move draw and paint routines to RowPainter.
8279           Make several methods use refs not pointers.
8280           Make backgroundColor() const.
8281           Add markChangeInDraw(), isInInset().
8282           Merge changeRegionCase into changeCase.
8283           Make workWidth() shouldn't-happen code into an Assert.
8284
8285         * rowpainter.h:
8286         * rowpainter.C: new class for painting a row.
8287
8288         * vspace.h:
8289         * vspace.C: make inPixels take a ref
8290
8291 2003-02-26  Angus Leeming  <leeming@lyx.org>
8292
8293         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8294         LFUN_REF_APPLY.
8295
8296 2003-02-25  John Levon  <levon@movementarian.org>
8297
8298         * ispell.C: give the forked command a more accurate name
8299
8300 2003-02-22  John Levon  <levon@movementarian.org>
8301
8302         * toc.h:
8303         * toc.C: make TocItem store an id not a Paragraph *
8304           (bug #913)
8305
8306 2003-02-21  Angus Leeming  <leeming@lyx.org>
8307
8308         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8309           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8310           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8311           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8312           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8313           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8314
8315         * BufferView_pimpl.C (dispatch):
8316         * LyXAction.C (init):
8317         * factory.C (createInset):
8318         * lyxfunc.C (getStatus, dispatch):
8319         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8320
8321 2003-02-21  Angus Leeming  <leeming@lyx.org>
8322
8323         * BufferView_pimpl.C (MenuInsertLyXFile):
8324         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8325         * lyxfunc.C (menuNew, open, doImport):
8326           no longer pass a LyXView & to fileDlg.
8327
8328 2003-02-21  Angus Leeming  <leeming@lyx.org>
8329
8330         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8331         * LyXAction.C: change, BIBKEY to BIBITEM.
8332         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8333         Change InsetBibKey to InsetBibitem.
8334         Change BIBKEY_CODE to BIBITEM_CODE.
8335         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8336         * factory.C: replace insetbib.h with insetbibitem.h.
8337         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8338         * paragraph.C: replace insetbib.h with insetbibitem.h.
8339         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8340         Change bibkey() to bibitem().
8341         * text.C: remove insetbib.h.
8342         * text2.C: replace insetbib.h with insetbibitem.h.
8343         change bibkey() to bibitem().
8344         * text3.C: remove insetbib.h.
8345         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8346
8347 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8348
8349         * lyxrc.C (output): enclose user email in quotes (in case there are
8350         several words)
8351
8352 2003-02-18  John Levon  <levon@movementarian.org>
8353
8354         * buffer.h: add std::
8355
8356 2003-02-17  John Levon  <levon@movementarian.org>
8357
8358         * SpellBase.h:
8359         * ispell.h:
8360         * ispell.C:
8361         * pspell.h:
8362         * pspell.C: reworking. Especially in ispell, a large
8363           number of clean ups and bug fixes.
8364
8365         * lyxfunc.C: fix revert to behave sensibly
8366
8367 2003-02-17 André Pönitz <poenitz@gmx.net>
8368
8369         * LyXAction.C:
8370         * commandtags.h: new LFUN_INSERT_BIBKEY
8371
8372         * layout.h:
8373         * lyxlayout.C:
8374         * buffer.C:
8375         * factory.C:
8376         * text.C:
8377         * text2.C:
8378         * text3.C:
8379         * paragraph.[Ch]:
8380         * paragraph_func.C: remove special bibkey handling
8381
8382 2003-02-17  John Levon  <levon@movementarian.org>
8383
8384         * text.C (Delete): fix case where delete at the end of
8385           the very first paragraph would not merge the pars
8386
8387 2003-02-17  John Levon  <levon@movementarian.org>
8388
8389         * lyxrow.C: fix lastPrintablePos()
8390
8391 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8392
8393         * bufferparams.C (writeLaTeX): add a std:here
8394
8395         * buffer.C: and remove a using directive there
8396
8397 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8398
8399         * buffer.C (makeLaTeXFile): move the code that generates the
8400           preamble...
8401
8402         * bufferparams.C (writeLaTeX): ... in this new method
8403
8404         * LaTeXFeatures.C (getEncodingSet): make const
8405           (getLanguages): make const
8406
8407         * MenuBackend.C (binding): returns the binding associated to this
8408           action
8409           (add): sets the status of each item by calling getStatus. Adds
8410           some intelligence.
8411           (read): add support for OptSubMenu
8412           (expand): remove extra separator at the end of expanded menu
8413
8414 2003-02-15  John Levon  <levon@movementarian.org>
8415
8416         * BufferView.C:
8417         * BufferView_pimpl.C:
8418         * bufferlist.h:
8419         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8420           inset code that had no actual effect. Remove unneeded status
8421           code.
8422
8423 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8426           in preamble
8427
8428 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8429
8430         * text.C (drawLengthMarker): also draw an arrow marker for
8431           symbolic lengths (medskip...)
8432
8433 2003-02-14  John Levon  <levon@movementarian.org>
8434
8435         * tabular.h:
8436         * tabular.C: better method names
8437
8438 2003-02-14  John Levon  <levon@movementarian.org>
8439
8440         * BufferView_pimpl.C:
8441         * bufferlist.C:
8442         * buffer.C:
8443         * converter.C:
8444         * lyx_cb.C:
8445         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8446           it's a more accurate name. Remove some pointless uses.
8447
8448 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8449
8450         * text2.C (LyXText): change order of initilizers to shut off
8451           warnings
8452
8453 2003-02-14  John Levon  <levon@movementarian.org>
8454
8455         * buffer.C: use ParIterator for getParFromID()
8456
8457         * paragraph.h:
8458         * paragraph.C:
8459         * paragraph_pimpl.h:
8460         * paragraph_pimpl.C: remove unused getParFromID()
8461
8462 2003-02-14  John Levon  <levon@movementarian.org>
8463
8464         * buffer.C: remove some very old #if 0'd parse code
8465
8466 2003-02-13  John Levon  <levon@movementarian.org>
8467
8468         * text.h:
8469         * text.C:
8470         * text2.C: move hfillExpansion(), numberOfSeparators(),
8471           rowLast(), rowLastPrintable(), numberofHfills(),
8472           numberOfLabelHfills() ...
8473
8474         * lyxrow.h:
8475         * lyxrow.C: ... to member functions here.
8476
8477         * paragraph.h:
8478         * paragraph.C:
8479         * lyxtext.h:
8480         * text.C: remove LyXText::beginningOfMainBody(), and call
8481           p->beginningOfMainBody() directly. Move the check for
8482           LABEL_MANUAL into the latter.
8483
8484         * text.h:
8485         * text.C:
8486         * text2.C:
8487         * vspace.C:
8488         * BufferView.h:
8489         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8490
8491         * text.h:
8492         * text.C:
8493         * text2.C:
8494         * text3.C:
8495         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8496           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8497
8498 2003-02-13  John Levon  <levon@movementarian.org>
8499
8500         * CutAndPaste.C: remove debug
8501
8502 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8503
8504         * paragraph.C (asString): remove two unused variables
8505
8506         * lyxtextclass.C (readTitleType):
8507           (Read):
8508           (LyXTextClass): handle new members titletype_ and titlename_
8509
8510         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8511
8512 2003-02-09  John Levon  <levon@movementarian.org>
8513
8514         * buffer.h:
8515         * buffer.C: replace hand-coded list with a map for the dep clean
8516
8517 2003-02-08  John Levon  <levon@movementarian.org>
8518
8519         * LaTeX.C: consolidate code into showRunMessage() helper
8520
8521 2003-02-08  John Levon  <levon@movementarian.org>
8522
8523         * lyxfind.C:
8524         * lyxtext.h:
8525         * text2.C:
8526         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8527           and pass the size in explicitly
8528
8529         * BufferView_pimpl.h:
8530         * BufferView_pimpl.C:
8531         * BufferView.h:
8532         * BufferView.C: add getCurrentChange()
8533
8534         * BufferView_pimpl.h:
8535         * BufferView_pimpl.C: handle change lfuns
8536
8537         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8538           for changes. Mark pasted paragraphs as new.
8539
8540         * support/lyxtime.h:
8541         * support/lyxtime.C:
8542         * DepTable.C: abstract time_t as lyx::time_type
8543
8544         * LColor.h:
8545         * LColor.C: add colours for new text, deleted text, changebars
8546
8547         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8548           package use "usenames" option.
8549
8550         * commandtags.h:
8551         * lyxfunc.C:
8552         * LyXAction.C: add change lfuns
8553
8554         * Makefile.am:
8555         * author.h:
8556         * author.C: author handling
8557
8558         * buffer.h:
8559         * buffer.C: add a per-buffer author list, with first entry as
8560           current author. Handle new .lyx tokens for change tracking. Output
8561           author list to .lyx file. Output dvipost stuff to .tex preamble.
8562           Bump lyx format to 222.
8563
8564         * bufferlist.h:
8565         * bufferlist.C: add setCurrentAuthor() to reset current author details
8566           in all buffers.
8567
8568         * bufferparams.h:
8569         * bufferparams.C: add param for tracking
8570
8571         * bufferview_funcs.C: output change info in minibuffer
8572
8573         * Makefile.am:
8574         * changes.h:
8575         * changes.C: add change-tracking structure
8576
8577         * debug.h:
8578         * debug.C: add CHANGES debug flag
8579
8580         * lyxfind.h:
8581         * lyxfind.C: add code for finding the next change piece
8582
8583         * lyxrc.h:
8584         * lyxrc.C: add user_name and user_email
8585
8586         * lyxrow.h:
8587         * lyxrow.C: add a metric for the top of the text line
8588
8589         * lyxtext.h:
8590         * text.C: implement accept/rejectChange()
8591
8592         * lyxtext.h:
8593         * text.C: paint changebars. Paint new/deleted text in the chosen
8594         colours. Strike through deleted text.
8595
8596         * paragraph.h:
8597         * paragraph.C:
8598         * paragraph_pimpl.h:
8599         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8600           in the current change to the insert functions. Rework erase to
8601           mark text as deleted, adding an eraseIntern() and a range-based
8602           erase(). Implement per-paragraph change lookup and
8603           accept/reject.
8604
8605         * paragraph_funcs.C: Fixup paste for change tracking.
8606
8607         * tabular.C: mark added row/columns as new.
8608
8609         * text.C: fix rowLast() to never return -1. Don't allow
8610           spellchecking of deleted text. Track transpose changes. Don't
8611           allow paragraph break or merge where appropriate.
8612
8613         * text2.C: leave cursor at end of selection after a cut.
8614
8615 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8616
8617         * text.C (getLengthMarkerHeight):
8618         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8619         visible on screen too.
8620
8621 2003-02-07  John Levon  <levon@movementarian.org>
8622
8623         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8624
8625 2003-02-05  Angus Leeming  <leeming@lyx.org>
8626
8627         * lyxserver.C (read_ready): revert my patch of 11 September last year
8628         as it sends PC cpu through the roof. Presumably this means that
8629         the lyxserver will no longer run on an Alpha...
8630
8631 2003-01-30  Angus Leeming  <leeming@lyx.org>
8632
8633         * factory.C (createInset): create an InsetCommandParam of type "index"
8634         and use it to 'do the right thing'.
8635
8636         * text2.C (getStringToIndex): ensure that cursor position is always
8637         reset to the reset_cursor position.
8638
8639 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8640
8641         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8642         disabled.
8643
8644 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8645
8646         * bufferview.C:
8647         * lyxcb.C:
8648         * lyxfunc.C: Output messages with identical spelling, punctuation,
8649         and spaces
8650
8651 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8652
8653         * MenuBackend.C (expandFormats): List only viewable export formats
8654         in "View" menu
8655
8656         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8657         message
8658
8659         * lyxfunc.C (getStatus): Make sure that formats other than
8660         "fax" can also be disabled
8661
8662 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8663
8664         * text3.C (dispatch): put the lfuns that insert insets in 3
8665         groups, and call doInsertInset with appropriate arguments.
8666         (doInsertInset): new function, that creates an inset and inserts
8667         it according to some boolean parameters.
8668
8669 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * buffer.C (readFile): remember to pass on 'par' when calling
8672         readFile recursively.
8673
8674 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8675
8676         * MenuBackend.C (expandFormats): add "..." to import formats.
8677
8678 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8679
8680         * paragraph.C (asString): Remove XForms RTL hacks.
8681
8682 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8683         * buffer.C: fix typo
8684
8685 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8686
8687         * Makefile.am (LIBS): delete var
8688         (lyx_LDADD): add @LIBS@ here instead.
8689
8690 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8691
8692         * Clarify the meaning of "wheel mouse jump"
8693
8694 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8695
8696         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8697         tabular in a float
8698
8699 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8700
8701         * importer.C (Loaders): do not preallocate 3 elements in the
8702         vector, since one ends up with 6 elements otherwise
8703
8704 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * DepTable.C (write): write the file name as last element of the
8707         .dep file (because it may contain spaces)
8708         (read): read info in the right order
8709
8710 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8711
8712         * paragraph_pimpl.C (simpleTeXBlanks):
8713         (simpleTeXSpecialChars):
8714         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8715
8716         * tabular.C (latex): add some missing case statements. Reindent.
8717
8718         * MenuBackend.C (expandToc): remove unused variable.
8719
8720 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8721
8722         * LColor.C:
8723         * LaTeX.C:
8724         * LyXAction.C:
8725         * MenuBackend.C:
8726         * buffer.C:
8727         * exporter.C:
8728         * lyxfunc.C:
8729         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8730         and the like.
8731
8732 2003-01-05  John Levon  <levon@movementarian.org>
8733
8734         * BufferView.h:
8735         * BufferView.C: add getEncoding()
8736
8737         * kbsequence.h:
8738         * kbsequence.C: do not store last keypress
8739
8740         * lyxfunc.h:
8741         * lyxfunc.C: store last keypress here instead. Pass encoding
8742           to getISOEncoded()
8743
8744 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8745
8746         * lyx_main.C (init): remove annoying error message when following
8747         symbolic links (bug #780)
8748
8749 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8750
8751         * text.C (insertChar):
8752         * lyxrc.C (getDescription): remove extra spaces
8753
8754 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8755
8756         * lyxrc.C (getDescription): remove extra spaces
8757
8758 2002-12-20  John Levon  <levon@movementarian.org>
8759
8760         * text3.C: hack fix for page up/down across tall rows
8761
8762 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8763
8764         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8765         not been invoked
8766
8767 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8768
8769         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8770         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8771         thesaurus is not compiled in
8772
8773 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8774
8775         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8776
8777 2002-12-16  Angus Leeming  <leeming@lyx.org>
8778
8779         * lyxrc.[Ch]:
8780         * lyx_main.C (init): remove override_x_deadkeys stuff.
8781
8782 2002-12-12  John Levon  <levon@movementarian.org>
8783
8784         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8785           insert. Only remove shift modifier under strict
8786           circumstances.
8787
8788 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8789
8790         * MenuBackend.C (expandToc): fix crash.
8791
8792 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * MenuBackend.C (expandToc): gettext on float names.
8795
8796 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8797
8798         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8799         implement bool empty() [bug 490]
8800
8801 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8802
8803         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8804
8805 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * several files: ws changes
8808
8809 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8810
8811         * text2.C (setCounter): clean up a bit, use boost.format.
8812         (updateCounters): initialize par upon declaration.
8813
8814         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8815         if the layout exists. We do not just store the layout any more.
8816         (SwitchLayoutsBetweenClasses): use boost.format
8817
8818 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8819
8820         * converter.C (convert): if from and to files are the same, use a
8821         temporary files as intermediary
8822
8823 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8824
8825         * commandtags.h:
8826         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8827
8828 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8829
8830         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8831
8832 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8833
8834         * tabular.C (asciiPrintCell): use string(size, char) instead of
8835         explicit loop.
8836
8837         * sgml.C (openTag): fix order of arguments to string constructor
8838         (closeTag): ditto
8839
8840         * lyxfunc.C (dispatch): use boost.format
8841
8842         * lots of files: change "c" -> 'c'
8843
8844 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8845
8846         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8847
8848 2002-11-25  Angus Leeming  <leeming@lyx.org>
8849
8850         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8851
8852         * lyx_main.C (init): compile fix.
8853
8854 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8855
8856         * lyx_cb.C (start): boost.formatify
8857         do not include <iostream>
8858
8859         * lengthcommon.C: ws only
8860
8861         * boost-inst.C,BoostFormat.h: add more explict instantations
8862
8863 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8864
8865         * lots of files: handle USE_BOOST_FORMAT
8866
8867 2002-11-21  John Levon  <levon@movementarian.org>
8868
8869         * pspell.C: fix compile
8870
8871 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8872
8873         * lyxfunc.C (dispatch): use boost::format
8874         (open): ditto
8875         (doImport): ditto
8876
8877         * lyxfont.C (stateText): use boost::format
8878
8879         * lyx_main.C (LyX): use boost::format
8880         (init): ditto
8881         (queryUserLyXDir): ditto
8882         (readRcFile): ditto
8883         (parse_dbg): ditto
8884         (typedef boost::function): use the recommened syntax.
8885
8886         * importer.C (Import): use boost::format
8887
8888         * debug.C (showLevel): use boost::format
8889
8890         * converter.C (view): use boost::format
8891         (convert): ditto
8892         (move): ditto
8893         (scanLog): ditto
8894
8895         * bufferview_funcs.C (currentState): use boost::format
8896
8897         * bufferlist.C (emergencyWrite): use boost::format
8898
8899         * buffer.C (readLyXformat2): use boost::format
8900         (parseSingleLyXformat2Token): ditto
8901
8902         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8903
8904         * LaTeX.C (run): use boost::format
8905
8906         * Chktex.C (scanLogFile): use boost::format
8907
8908         * BufferView_pimpl.C (savePosition): use boost::format
8909         (restorePosition): ditto
8910         (MenuInsertLyXFile): ditto
8911
8912         * BoostFormat.h: help file for explicit instation.
8913
8914 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8915
8916         * tabular.C (latex): Support for block alignment in fixed width
8917         columns.
8918
8919 2002-11-17  John Levon  <levon@movementarian.org>
8920
8921         * BufferView_pimpl.C:
8922         * lyx_cb.C:
8923         * lyxfunc.C: split filedialog into open/save
8924
8925 2002-11-08  Juergen Vigna  <jug@sad.it>
8926
8927         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8928         by my last patch (hopefully).
8929
8930 2002-11-08  John Levon  <levon@movementarian.org>
8931
8932         * iterators.h:
8933         * iterators.C:
8934         * buffer.h:
8935         * buffer.C:
8936         * paragraph.h:
8937         * paragraph.C:
8938         * toc.h:
8939         * toc.C: ParConstIterator, and use it (from Lars)
8940
8941 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8942
8943         * lyxtextclass.[Ch]: revise and add doxygen comments
8944
8945 2002-11-07  John Levon  <levon@movementarian.org>
8946
8947         * text.C: fix progress value for spellchecker
8948
8949         * toc.C: fix navigate menu for insetwrap inside minipage
8950
8951         * paragraph_funcs.C: added FIXME for suspect code
8952
8953 2002-11-07  John Levon  <levon@movementarian.org>
8954
8955         * BufferView_pimpl.C: fix redrawing of insets
8956           on buffer switch
8957
8958 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8959
8960         * text2.C (updateCounters): fix bug 668
8961
8962 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8963
8964         * text3.C (dispatch): Do not make the buffer dirty when moving the
8965         cursor.
8966
8967 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8968
8969         * vc-backend.C: STRCONV
8970         (scanMaster): ditto
8971
8972         * text2.C (setCounter): STRCONV
8973
8974         * paragraph.C (asString): STRCONV
8975
8976         * lyxlength.C (asString): STRCONV
8977         (asLatexString): ditto
8978
8979         * lyxgluelength.C (asString): STRCONV
8980         (asLatexString): ditto
8981
8982         * lyxfunc.C (dispatch): STRCONV
8983         (open): ditto
8984
8985         * lyxfont.C (stateText): STRCONV
8986
8987         * importer.C (Import): STRCONV
8988
8989         * counters.C (labelItem): STRCONV
8990         (numberLabel): ditto
8991         (numberLabel): remove unused ostringstream o
8992
8993         * chset.C: STRCONV
8994         (loadFile): ditto
8995
8996         * bufferview_funcs.C (currentState): STRCONV
8997
8998         * buffer.C (readFile): STRCONV
8999         (asciiParagraph): ditto
9000         (makeLaTeXFile): ditto
9001
9002         * Spacing.C (writeEnvirBegin): STRCONV
9003
9004         * LaTeXFeatures.C (getLanguages): STRCONV
9005         (getPackages): ditto
9006         (getMacros): ditto
9007         (getBabelOptions): ditto
9008         (getTClassPreamble): ditto
9009         (getLyXSGMLEntities): ditto
9010         (getIncludedFiles): ditto
9011
9012         * LaTeX.C: STRCONV
9013         (run): ditto
9014         (scanAuxFile): ditto
9015         (deplog): ditto
9016
9017         * LString.h: add the STRCONV macros
9018
9019         * BufferView_pimpl.C (savePosition): STRCONV
9020         (restorePosition): ditto
9021         (MenuInsertLyXFile): ditto
9022
9023         * vc-backend.C (scanMaster): change from submatch[...] to
9024         submatch.str(...)
9025
9026         * funcrequest.C: include config.h
9027
9028         * factory.C: include config.h
9029
9030         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9031
9032         * box.C: include config.h
9033
9034         * LaTeX.C (scanAuxFile): change from submatch[...] to
9035         submatch.str(...)
9036         (deplog): ditto
9037
9038 2002-10-25  Angus Leeming  <leeming@lyx.org>
9039
9040         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9041
9042         * ispell.[Ch] (setError): new method.
9043         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9044         Use setError() insetead of goto END.
9045
9046         * lyx_cb.C (AutoSave): move out child process into new class
9047         AutoSaveBuffer.
9048
9049 2002-10-30  John Levon  <levon@movementarian.org>
9050
9051         * text3.C: make start appendix undoable
9052
9053 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9054
9055         * lyxlength.C (inPixels): Fix returned value.
9056
9057         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9058         environment.
9059
9060 2002-10-24  Angus Leeming  <leeming@lyx.org>
9061
9062         * lyxgluelength.h: no need to forward declare BufferParams
9063         or BufferView, so don't.
9064
9065 2002-10-21  John Levon  <levon@movementarian.org>
9066
9067         * BufferView.C: menuUndo ->undo, redo
9068
9069         * BufferView.h: document, remove dead, make some methods private
9070
9071         * paragraph_funcs.h:
9072         * paragraph_funcs.C:
9073         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9074
9075         * buffer.h:
9076         * buffer.C:
9077         * sgml.h:
9078         * sgml.C: move sgml open/close tag into sgml.C
9079
9080         * bufferview_funcs.h: unused prototype
9081
9082         * lyxfunc.h:
9083         * lyxfunc.C: remove unused
9084
9085         * lyxtext.h:
9086         * text.C: remove unused
9087
9088 2002-10-21  John Levon  <levon@movementarian.org>
9089
9090         * BufferView.h:
9091         * BufferView.C:
9092         * BufferView_pimpl.h:
9093         * BufferView_pimpl.C: fix mouse wheel handling based on
9094           patch from Darren Freeman
9095
9096 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9097
9098         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9099
9100 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9101
9102         * lyxlength.C (inPixels): Fix hanfling of negative length.
9103         Fix LyXLength::MU case.
9104
9105 2002-10-16  John Levon  <levon@movementarian.org>
9106
9107         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9108
9109 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9110
9111         * converter.C (view): add support for $$i (file name) and $$p
9112         (file path) for the viewer command. If $$i is not specified, then
9113         it is appended to the command (for compatibility with old syntax)
9114
9115 2002-10-14  Juergen Vigna  <jug@sad.it>
9116
9117         * undo_funcs.C (textHandleUndo): alter the order in which the
9118         new undopar is added to the LyXText, as we have to set first
9119         the right prev/next and then add it as otherwise the rebuild of
9120         LyXText is not correct. Also reset the cursor to the right paragraph,
9121         with this IMO we could remove the hack in "redoParagraphs()".
9122
9123 2002-10-09  Angus Leeming  <leeming@lyx.org>
9124
9125         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9126         to turn off an optimisation if a new inset is to be inserted.
9127
9128 2002-10-11 André Pönitz <poenitz@gmx.net>
9129
9130         * lyxtext.h: make some functions public to allow access
9131         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9132
9133 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9134
9135         * text3.C (dispatch): when changing layout, avoid an infinite loop
9136         [bug #652]
9137
9138 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9139
9140         * lyxrc.C (read): treat a viewer or converter command of "none" as
9141         if it were empty.
9142
9143         * MenuBackend.C (expandFormats): for an update, also allow the
9144         formats that are not viewable
9145
9146         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9147         script if it is newer than the lyxrc.defaults in user directory
9148
9149 2002-10-07 André Pönitz <poenitz@gmx.net>
9150
9151         * text.C: Vitaly Lipatov's small i18n fix
9152
9153 2002-09-25  Angus Leeming  <leeming@lyx.org>
9154
9155         * ispell.h: doxygen fix.
9156
9157 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9158
9159         * buffer.h (readFile): Add a new argument to the method, to allow
9160         reading of old-format templates.
9161
9162 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9163
9164         * toc.C (getTocList): Get TOC from InsetWrap.
9165
9166 2002-09-16  John Levon  <levon@movementarian.org>
9167
9168         * lyxfunc.C: check tabular for cut/copy too
9169
9170 2002-09-12  John Levon  <levon@movementarian.org>
9171
9172         * LyXAction.C: tidy
9173
9174         * factory.h:
9175         * factory.C: add header
9176
9177         * paragraph_funcs.h:
9178         * paragraph_funcs.C: cleanup
9179
9180 2002-09-11  John Levon  <levon@movementarian.org>
9181
9182         * PrinterParams.h: odd/even default to true
9183
9184 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9185
9186         * PrinterParams.h: update printer parameters for new xforms dialog
9187
9188 2002-09-11  Angus Leeming  <leeming@lyx.org>
9189
9190         * lyxserver.C (read_ready): re-write to make it more transparent
9191         and to make it work in coherent fashion under Tru64 Unix.
9192
9193 2002-09-11  André Pönitz <poenitz@gmx.net>
9194
9195         * commandtags.h:
9196         * LyXAction.C:
9197         * text3.C: implement LFUN_WORDSEL
9198
9199 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9202         make floatlist_ a boost::shared_ptr<FloatList>
9203
9204         * lyxtextclass.C: include FloatList.h
9205         (LyXTextClass): initialize floatlist_
9206         (TextClassTags): add TC_NOFLOAT
9207         (Read): match "nofloat" to TC_NOFLOAT and use it.
9208         (readFloat): modify call to floatlist_
9209         (floats): ditto
9210         (floats): ditto
9211
9212         * FloatList.[Ch] (FloatList): remove commented out float
9213         initialization.
9214         (erase): new function
9215
9216 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9217
9218         * MenuBackend.C (expandToc): fix crash when there is no document
9219         open
9220
9221 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9222
9223         * many files: Add insetwrap.
9224
9225 2002-09-09  John Levon  <levon@movementarian.org>
9226
9227         * text2.C: remove confusing and awkward depth wraparound
9228
9229 2002-09-09  John Levon  <levon@movementarian.org>
9230
9231         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9232
9233         * buffer.h:
9234         * buffer.C: remove getIncludeonlyList()
9235
9236         * paragraph.C:
9237         * lyxfunc.C: remove headers
9238
9239 2002-09-09  Juergen Vigna  <jug@sad.it>
9240
9241         * text.C (getColumnNearX): fix form Michael this is most
9242         probably a cut&paste bug.
9243
9244 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9245
9246         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9247
9248         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9249         references, ws changes.
9250
9251         * text2.C (init): update counters after init
9252         (insertParagraph): no need to set counter on idividual paragraphs.
9253         (setCounter): access the counters object in the textclass object
9254         on in the buffer object.
9255         (updateCounters): ditto
9256
9257         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9258         shared_ptr<Counters> to avoid loading counters.h in all
9259         compilation units.
9260         (LyXTextClass): initialize ctrs_
9261         (TextClassTags): add TC_COUNTER, and ...
9262         (Read): use it here.
9263         (CounterTags): new tags
9264         (readCounter): new function
9265         (counters): new funtion
9266         (defaultLayoutName): return a const reference
9267
9268         * counters.C (Counters): remove contructor
9269         (newCounter): remove a couple of unneeded statements.
9270         (newCounter): simplify a bit.
9271         (numberLabel): some small formatting changes.
9272
9273         * buffer.[Ch]: remove all traces of counters, move the Counters
9274         object to the LyXTextClass.
9275
9276 2002-09-06  Alain Castera  <castera@in2p3.fr>
9277
9278         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9279         package to set the horizontal alignment on fixed width columns.
9280
9281         * lyx_sty.C:
9282         * lyx_sty.h: added tabularnewline macro def.
9283
9284         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9285
9286 2002-09-06  John Levon  <levon@movementarian.org>
9287
9288         * LyXAction.C: tooltips for sub/superscript
9289
9290         * MenuBackend.C: a bit more verbose
9291
9292         * lyxfunc.C: tiny clean
9293
9294         * undo_funcs.C: document undo_frozen
9295
9296 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9297
9298         * counters.C (Counters): add missing algorithm counter.
9299
9300         * text2.C (setCounter): lookup the counter with layouts latexname
9301         instead of by section number.
9302         (setCounter): use a hackish way to lookup the correct enum
9303         counter.
9304         a float name->type change
9305         reset enum couners with counter name directly instead of depth value.
9306
9307         * counters.C (Counters): remove the push_backs, change to use the
9308         float type not the float name.
9309         (labelItem): remove unused string, float name->type change
9310
9311         * counters.h: don't include vector, loose the enums and sects vectors
9312
9313 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9314
9315         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9316         (Read): add float->TC_FLOAT to textclassTags
9317         (Read): and handle it in the switch
9318         (readFloat): new function
9319
9320         * FloatList.C (FloatList): comment out the hardcoded float
9321         definitions.
9322
9323         * lyxlayout.h: ws change.
9324
9325 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9326
9327         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9328
9329 2002-09-03  Angus Leeming  <leeming@lyx.org>
9330
9331         * BufferView_pimpl.h: qualified name is not allowed in member
9332         declaration: WorkArea & Pimpl::workarea() const;
9333
9334         * factory.C: added using std::endl directive.
9335
9336         * text3.C: added using std::find and std::vector directives.
9337
9338 2002-08-29  André Pönitz <poenitz@gmx.net>
9339
9340         * lyxtext.h:
9341         * text2.C: remove unused member number_of_rows
9342
9343         * Makefile.am:
9344         * BufferView2.C: remove file, move contents to...
9345         * BufferView.C: ... here
9346
9347         * BufferView_pimpl.C:
9348         * factory.C: move more inset creation to factory
9349
9350         * vspace.C: avoid direct usage of LyXText, ws changes
9351
9352         * BufferView.[Ch]:
9353                 don't provide direct access to WorkArea, use two simple
9354                 acessors haveSelction() and workHeight() instead
9355
9356
9357 2002-08-29  John Levon  <levon@movementarian.org>
9358
9359         * BufferView_pimpl.C (dispatch): do not continue when
9360           no buffer
9361
9362 2002-08-28  André Pönitz <poenitz@gmx.net>
9363
9364         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9365
9366         * BufferView.h:
9367         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9368
9369 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9370
9371         * buffer.C: increment LYX_FORMAT to 221
9372
9373         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9374         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9375
9376         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9377
9378         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9379
9380 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9381
9382         * factory.C (createInset): use LyXTextClass::floats
9383
9384         * MenuBackend.C (expandFloatListInsert):
9385         (expandFloatInsert):
9386         (expandToc):
9387
9388         * text2.C (setCounter):
9389
9390         * LaTeXFeatures.C (useFloat):
9391         (getFloatDefinitions):
9392
9393         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9394
9395         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9396         floatlist_, with accessor floats().
9397
9398         * FloatList.h: remove global FloatList
9399
9400 2002-08-26  André Pönitz <poenitz@gmx.net>
9401
9402         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9403
9404         * BufferView.h:
9405         * BufferView2.C:
9406         * BufferView_pimpl.C:
9407         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9408
9409 2002-08-25  John Levon  <levon@movementarian.org>
9410
9411         * LyXAction.C: fix margin note description
9412
9413 2002-08-24  John Levon  <levon@movementarian.org>
9414
9415         * buffer.C:
9416         * bufferlist.C:
9417         * bufferview_funcs.C:
9418         * lyxfont.C:
9419         * undo_funcs.C: cleanups
9420
9421         * lyxfunc.C: disable CUT/COPY when no selection
9422
9423 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9424
9425         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9426         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9427
9428         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9429         Add backward compatibility to "mono", "gray" and "no".
9430
9431 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9432
9433         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9434         (and file_format >= 200).
9435
9436 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9437
9438         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9439
9440 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9441
9442         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9443
9444 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9445
9446         * BufferView_pimpl.C:
9447         * LyXAction.C:
9448         * buffer.C:
9449         * commandtags.h:
9450         * lyxfunc.C:
9451         * paragraph.[Ch]:
9452         * text2.C:
9453         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9454         inset and code to make it  work with the paragraph code. The inset
9455         can be anywhere in the paragraph, but will only do the expected
9456         thing in LaTeX if the layout file contains the parameter line
9457                         OptionalArgs    1
9458         (or more generally, a nonzero value) for that layout.
9459
9460 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9461
9462         * paragraph.h: remove the declaration of undefined counters class
9463         function.
9464
9465 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9466
9467         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9468         Dr. Richard Hawkins.
9469
9470 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9471
9472         * paragraph_funcs.h: remove some unneeded includes
9473
9474         * text.C (backspace): pasteParagraph now in global scipe
9475
9476         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9477         (pasteSelection): ditto
9478
9479         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9480         * paragraph_funcs.C (pasteParagraph): ... here
9481
9482 2002-08-20  André Pönitz <poenitz@gmx.net>
9483
9484         * commandtags.h: new LFUNs for swapping/copying table row/colums
9485
9486         * LyXAction.C:
9487         * lyxfunc.C: support for new lfuns
9488
9489 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9490
9491         * tabular.C:
9492         * buffer.[Ch]: remove NO_COMPABILITY stuff
9493
9494 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9495
9496         * boost.C (throw_exception): new file, with helper function for
9497         boost compiled without exceptions.
9498
9499         * paragraph.h:
9500         * lyxlength.C:
9501         * buffer.C:
9502         * ParameterStruct.h:
9503         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9504
9505         * bufferlist.C (emergencyWriteAll): use boost bind
9506
9507         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9508
9509         * text.C: include paragraph_funcs.h
9510         (breakParagraph): breakParagraph is now in global scope
9511
9512         * paragraph_funcs.[Ch]: new files
9513
9514         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9515         global scope
9516
9517         * buffer.C: include paragraph_funcs.h
9518         (insertStringAsLines): breakParagraph is now in global scope
9519
9520         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9521         paragraph_funcs.C
9522
9523         * CutAndPaste.C: include paragraph_funcs.h
9524         (cutSelection): breakParagraphConservative is now in global scope
9525         (pasteSelection): ditto
9526
9527         * buffer.h: declare oprator== and operator!= for
9528         Buffer::inset_iterator
9529
9530         * bufferlist.C (emergencyWrite): don't use fmt(...)
9531
9532         * text3.C: add using std::endl
9533
9534         * BufferView.C (moveCursorUpdate): remove default arg
9535
9536 2002-08-20  André Pönitz <poenitz@gmx.net>
9537
9538         * buffer.[Ch]: move inline functions to .C
9539
9540         * BufferView2.C:
9541         * BufferView_pimpl.C:
9542         * text.C:
9543         * buffer.[Ch]: use improved inset_iterator
9544
9545         * buffer.C:
9546         * paragraph.[Ch]: write one paragraph at a time
9547
9548 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9549
9550         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9551         style if style is not specified.
9552
9553 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9554
9555         * text2.C (setCounter): when searching for right label for a
9556         caption, make sure to recurse to parent insets (so that a caption
9557         in a minipage in a figure float works) (bug #568)
9558
9559 2002-08-20  André Pönitz <poenitz@gmx.net>
9560
9561         * text3.C: new file for LyXText::dispatch() and helpers
9562
9563         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9564
9565         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9566
9567 2002-08-19  André Pönitz <poenitz@gmx.net>
9568
9569         * lyxtext.h:
9570         * text.C: new LyXText::dispatch()
9571
9572         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9573
9574 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9575
9576         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9577
9578         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9579         Hebrew text.
9580
9581 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9582
9583         * Makefile.am: use $(variables) instead of @substitutions@
9584
9585 2002-08-15  André Pönitz <poenitz@gmx.net>
9586
9587         * lyxfunc.C:
9588         * BufferView_pimpl.C: streamlining mathed <-> outer world
9589         interaction
9590
9591         * commandtags.h:
9592         * LyXAction.C: remove unused LFUN_MATH
9593
9594 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9595
9596         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9597
9598 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9599
9600         * paragraph.C (Paragraph): reformat a bit
9601         (cutIntoMinibuffer): use builtin InsetList function instad of
9602         doing it manually.
9603         (getInset): ditto
9604
9605         * buffer.C: include boost/bind.hpp, add using std::for_each
9606         (writeFileAscii): use ParagraphList iterators
9607         (validate): use for_each for validate traversal of paragraphs
9608         (getBibkeyList): use ParagraphList iterators
9609         (resizeInsets): use for_each to resizeInsetsLyXText for all
9610         paragraphs.
9611         (getParFromID): use ParagraphList iterators
9612
9613         * BufferView2.C (lockInset): use paragraph list and iterators
9614
9615 2002-08-14  John Levon  <levon@movementarian.org>
9616
9617         * lyxserver.C: remove spurious xforms include
9618
9619 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9620
9621         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9622
9623 2002-08-13  André Pönitz <poenitz@gmx.net>
9624
9625         * LyXAction.[Ch]:
9626         * lyxfunc.C: further cleaning
9627
9628 2002-08-13  André Pönitz <poenitz@gmx.net>
9629
9630         * funcrequest.h: new constructor
9631
9632         * funcrequest.C: move stuff here from .h
9633
9634         * Makefile.am:
9635         * BufferView_pimpl.C:
9636         * LyXAction.C:
9637         * toc.C:
9638         * lyxfunc.C: subsequent changes
9639
9640         * lyxfunc.h: new view() member function
9641
9642         * lyxfunc.C: subsequent changes
9643
9644 2002-08-13  Angus Leeming  <leeming@lyx.org>
9645
9646         * BufferView2.C:
9647         * BufferView_pimpl.C:
9648         * buffer.C:
9649         * converter.C:
9650         * importer.C:
9651         * lyxfunc.C:
9652         * lyxvc.C:
9653         * toc.C:
9654         * vc-backend.C:
9655         changes due to the changed LyXView interface that now returns references
9656         to member variables not pointers.
9657
9658 2002-08-13  Angus Leeming  <leeming@lyx.org>
9659
9660         * WordLangTuple (word, lang_code): return references to strings,
9661         not strings.
9662
9663         * BufferView.h:
9664         * SpellBase.h:
9665         * lyxtext.h: forward-declare WordLangTuple.
9666
9667         * BufferView2.C:
9668         * ispell.C:
9669         * pspell.C:
9670         * text.C: #include "WordLangTuple.h".
9671
9672         * lyxtext.h:
9673         * text.C: (selectNextWordToSpellcheck): constify return type.
9674
9675 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9676
9677         * buffer.C:
9678         * buffer.h:
9679         * lyxtext.h:
9680         * paragraph.C:
9681         * paragraph_pimpl.h:
9682         * text.C:
9683         * text2.C:
9684         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9685         suggested by Angus.
9686         Made updateCounter always count from start of buffer, and removed
9687         second argument (par).
9688         Reverted floats number display to '#'. Perhaps I'll try again when the
9689         code base is sanitized a bit.
9690
9691 2002-08-12  Angus Leeming  <leeming@lyx.org>
9692
9693         * buffer.[Ch] (getLabelList): constify.
9694
9695 2002-08-07  André Pönitz <poenitz@gmx.net>
9696
9697         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9698
9699         * funcrequest.h: extension to keep mouse (x,y) position
9700
9701 2002-08-12  Juergen Vigna  <jug@sad.it>
9702
9703         * BufferView2.C (insertErrors): forbid undo when inserting error
9704         insets.
9705
9706         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9707
9708 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9709
9710         * ParagraphList.[Ch]: new files
9711
9712         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9713
9714         * BufferView2.C (lockInset): ParagraphList changes
9715         * toc.C: ditto
9716         * text2.C: ditto
9717         * bufferlist.C: ditto
9718         * buffer.h: ditto
9719         * buffer.C: ditto
9720
9721 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9722
9723         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9724         unused class variable counter_,
9725
9726         * paragraph.[Ch] (getFirstCounter): delete unused function
9727
9728         * counters.C: include LAssert.h
9729         (reset): add a new function with no arg, change other version to
9730         not have def. arg and to not allow empty arg.
9731
9732         * text2.C (setCounter): remove empty arg from call to Counters::reset
9733
9734 2002-08-11  John Levon  <levon@movementarian.org>
9735
9736         * Makefile.am: add WordLangTuple.h
9737
9738 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9739
9740         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9741         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9742
9743         * insets/insettext.C: InsetList changes
9744
9745         * graphics/GraphicsSupport.C (operator()): InsetList changes
9746
9747         * toc.C (getTocList): InsetList changes
9748
9749         * paragraph_pimpl.[Ch]: InsetList changes
9750
9751         * paragraph.[Ch]: InsetList changes
9752
9753         * buffer.C (inset_iterator): InsetList changes
9754         (setParagraph): ditto
9755         * buffer.h (inset_iterator): ditto
9756         * iterators.C (operator++): ditto
9757         * iterators.h: ditto
9758
9759         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9760
9761         * InsetList.[Ch]: new files, most InsetList handling moved out of
9762         paragraph.C.
9763
9764         * BufferView2.C (removeAutoInsets): InsetList changes
9765         (lockInset): ditto
9766         (ChangeInsets): ditto
9767
9768 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9769
9770         * paragraph_pimpl.h (empty): new function
9771
9772         * paragraph.[Ch] (empty): new function
9773
9774         * other files: use the new Paragraph::empty function
9775
9776 2002-08-09  John Levon  <levon@movementarian.org>
9777
9778         * lyxtext.h: remove unused refresh_height
9779
9780 2002-08-09  John Levon  <levon@movementarian.org>
9781
9782         * Makefile.am:
9783         * sgml.h:
9784         * sgml.C:
9785         * buffer.C:
9786         * paragraph.h:
9787         * paragraph.C: move sgml char escaping out of paragraph
9788
9789         * paragraph.h:
9790         * paragraph.C: remove id setter
9791
9792         * buffer.C:
9793         * paragraph.C:
9794         * paragraph_pimpl.C: remove dead tex_code_break_column
9795
9796         * bufferview_funcs.C: small cleanup
9797
9798         * lyxfunc.C: remove dead proto
9799
9800         * lyxtext.h: make some stuff private. Remove some dead stuff.
9801
9802         * lyxgluelength.C: make as[LyX]String() readable
9803
9804 2002-08-08  John Levon  <levon@movementarian.org>
9805
9806         * LyXAction.h:
9807         * LyXAction.C:
9808         * MenuBackend.C:
9809         * ToolbarDefaults.C:
9810         * lyxfunc.C:
9811         * lyxrc.C:
9812         * toc.C: lyxaction cleanup
9813
9814 2002-08-08  John Levon  <levon@movementarian.org>
9815
9816         * BufferView2.C: small cleanup
9817
9818         * lyxfind.h:
9819         * lyxfind.C: move unnecessary header into the .C
9820
9821 2002-08-08  John Levon  <levon@movementarian.org>
9822
9823         * funcrequest.h: just tedious nonsense
9824
9825         * lyx_main.h:
9826         * lyx_main.C: cleanups
9827
9828         * buffer.C:
9829         * vspace.C: remove dead header lyx_main.h
9830
9831 2002-08-07  Angus Leeming  <leeming@lyx.org>
9832
9833         * Paragraph.[Ch]:
9834         * paragraph_pimpl.h:
9835         Forward declare class Counters in paragraph.h by moving the ctrs member
9836         variable into Paragraph::Pimpl.
9837         (counters): new method, returning a reference to pimpl_->ctrs.
9838
9839         * text2.C: ensuing changes.
9840
9841 2002-08-07  John Levon  <levon@movementarian.org>
9842
9843         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9844
9845         * BufferView_pimpl.C: announce X selection on double/triple
9846           click
9847
9848         * lyx_main.C: use correct bool in batch dispatch
9849
9850         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9851
9852 2002-08-07  André Pönitz <poenitz@gmx.net>
9853
9854         * funcrequest.h: new class to wrap a kb_action and its argument
9855
9856         * BufferView.[Ch]:
9857         * BufferView_pimpl[Ch]:
9858         * LaTeX.C:
9859         * LyXAction.[Ch]:
9860         * lyxfunc.[Ch]:
9861         * lyxrc.C: subsequent changes
9862
9863
9864 2002-08-07  John Levon  <levon@movementarian.org>
9865
9866         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9867           document options change.
9868
9869 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9870
9871         * counters.[Ch]
9872         * text2.C
9873         * paragraph.[Ch]
9874         * makefile.am: move counters functionality over from
9875         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9876
9877 2002-08-06  John Levon  <levon@movementarian.org>
9878
9879         * WordLangTuple.h: new file for word + language code tuple
9880
9881         * SpellBase.h:
9882         * pspell.h:
9883         * pspell.C:
9884         * ispell.h:
9885         * ispell.C:
9886         * lyxtext.h:
9887         * text.C:
9888         * text2.C:
9889         * BufferView.h:
9890         * BufferView2.C: use WordLangTuple
9891
9892         * layout.h:
9893         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9894
9895 2002-08-06  John Levon  <levon@movementarian.org>
9896
9897         * lyx_main.C: fix cmdline batch handling
9898
9899 2002-08-06  André Pönitz <poenitz@gmx.net>
9900
9901         * lyxrc.C: set default for show_banner to true
9902
9903 2002-08-06  John Levon  <levon@movementarian.org>
9904
9905         * pspell.C: fix a crash, and allow new aspell to work
9906
9907 2002-08-06  John Levon  <levon@movementarian.org>
9908
9909         * lyxfunc.C:
9910         * kbmap.C: small cleanup
9911
9912         * vspace.h:
9913         * vspace.C: add const
9914
9915 2002-08-05  John Levon  <levon@movementarian.org>
9916
9917         * LyXAction.C: back to tabular-insert
9918
9919 2002-08-04  John Levon  <levon@movementarian.org>
9920
9921         * BufferView.h:
9922         * BufferView.C: cosmetic change
9923
9924         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9925
9926         * bufferlist.C:
9927         * buffer.h:
9928         * buffer.C:
9929         * lyxcb.h:
9930         * lyxcb.C:
9931         * lyxserver.C:
9932         * lyxvc.C:
9933         * vc-backend.C:
9934         * BufferView2.C: purge all "Lyx" not "LyX" strings
9935
9936         * lyxcursor.h:
9937         * lyxcursor.C: attempt to add some documentation
9938
9939         * lyxfunc.C:
9940         * commandtags.h:
9941         * LyXAction.C:
9942         * ToolbarDefaults.C:
9943         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9944           merge with LFUN_TABULAR_INSERT
9945
9946         * Makefile.am:
9947         * SpellBase.h:
9948         * ispell.h:
9949         * ispell.C:
9950         * pspell.h:
9951         * pspell.C: split up i/pspell implementations into separate
9952           files, many cleanups
9953
9954         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9955
9956         * text2.C: some cleanup
9957
9958         * lyxfunc.C: don't check for isp_command == "none" any more, it
9959           didn't make any sense
9960
9961 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9962
9963         * counters.[Ch]
9964         * text2.C
9965         * paragraph.[Ch]
9966         * makefile.am: move counters functionality over
9967         from text2.C/paragraph.[Ch] to counters.[Ch], and
9968         make proper C++.
9969 2002-08-02  John Levon  <levon@movementarian.org>
9970
9971         * buffer.C: s/lyxconvert/lyx2lyx/
9972
9973 2002-08-02  Angus Leeming  <leeming@lyx.org>
9974
9975         * lyxlex.C: revert John's change as it breaks reading of the user
9976         preamble.
9977
9978 2002-08-02  Angus Leeming  <leeming@lyx.org>
9979
9980         * importer.C (Import):
9981         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9982         changes due to LyXView::view() now returning a boost::shared_ptr.
9983
9984 2002-08-02  John Levon  <levon@movementarian.org>
9985
9986         * lyxlex.C: small cleanup
9987
9988 2002-08-02  John Levon  <levon@movementarian.org>
9989
9990         * text2.C (status): small cleanup, no logic change
9991
9992 2002-08-01  John Levon  <levon@movementarian.org>
9993
9994         * buffer.h:
9995         * buffer.C (writeFile): don't output alerts, caller
9996           handles this
9997
9998         * bufferlist.C:
9999         * lyx_cb.C: from above
10000
10001         * lyxfunc.C: allow to open non-existent files
10002
10003 2002-07-31  John Levon  <levon@movementarian.org>
10004
10005         * lyxserver.C: don't let incidental errors get
10006           in the way (errno)
10007
10008 2002-07-30  John Levon  <levon@movementarian.org>
10009
10010         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10011
10012 2002-07-30  John Levon  <levon@movementarian.org>
10013
10014         * lyxserver.h:
10015         * lyxserver.C: remove I/O callback too
10016
10017 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10018
10019         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10020         log.
10021
10022 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10023
10024         * many files: strip,frontStrip -> trim,ltrim,rtrim
10025
10026 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10027
10028         * PrinterParams.h: remove extern containsOnly, and include
10029         support/lstrings.h instead.
10030
10031         * LaTeX.C (scanAuxFile): modify because of strip changes
10032         (deplog): ditto
10033         * buffer.C (makeLaTeXFile): ditto
10034         * bufferparams.C (writeFile): ditt
10035         * lyxfont.C (stateText): ditto
10036         * lyxserver.C (read_ready): ditto
10037         * vc-backend.C (scanMaster): ditto
10038
10039         * BufferView_pimpl.h: ws changes
10040
10041         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10042
10043 2002-07-26  André Pönitz <poenitz@gmx.net>
10044
10045         * kb_sequence.C: remove unnedred usings
10046
10047 2002-07-26  Juergen Vigna  <jug@sad.it>
10048
10049         * lyxfind.C (LyXReplace): we have to check better if the returned
10050         text is not of theLockingInset()->getLockingInset().
10051
10052 2002-07-25  Juergen Vigna  <jug@sad.it>
10053
10054         * lyxfind.C (LyXReplace): don't replace if we don't get the
10055         right LyXText.
10056
10057         * undo_funcs.C (createUndo): remove debugging code.
10058
10059 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10060
10061         * buffer.C (parseSingleLyXformat2Token): Use default placement
10062         when reading old floats.
10063
10064         * FloatList.C (FloatList): Change the default placement of figure
10065         and tables to "tbp".
10066
10067 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10068
10069         * MenuBackend.C: using std::max
10070
10071 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10072
10073         * MenuBackend.C (expandToc):
10074         (expandToc2): code moved from xforms menu frontend. It is now
10075         generic and TOCs are transparent to menu frontends.
10076
10077 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * toc.C (getTocList): protect against buf=0
10080
10081         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10082         Menu as first parameter. Now, this calls itself recursively to
10083         expand a whole tree (this will be useful for TOC handling)
10084         (expandFloatInsert): remove 'wide' version of floats
10085
10086         * MenuBackend.h (submenuname): returns the name of the submenu.
10087         (submenu): returns the submenu itself, provided it has been
10088         created by MenuBackend::expand
10089
10090 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10091
10092         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10093         insets which have noFontChange == true. (bug #172)
10094
10095 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10096
10097         * BufferView_pimpl.C: add connection objects and use them...
10098         (Pimpl): here.
10099
10100 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10101
10102         * MenuBackend.C (expandLastfiles):
10103         (expandDocuments):
10104         (expandFormats):
10105         (expandFloatListInsert):
10106         (expandFloatInsert):
10107         (expand): split expand in parts
10108
10109 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * lyx_gui.C: use lyx_gui::exit()
10112
10113 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * LyXAction.C: show the failing pseudo action
10116
10117 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10118
10119         * buffer.C (readFile): Run the lyxconvert script in order to read
10120         old files.
10121
10122 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * LyXAction.C:
10125         * commandtags.h:
10126         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10127
10128 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * LyXAction.C:
10131         * commandtags.h:
10132         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10133
10134 2002-07-22  Herbert Voss  <voss@lyx.org>
10135
10136         * lengthcommon.C:
10137         * lyxlength.[Ch]: add support for the vertical lengths
10138
10139 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * toc.[Ch]: std:: fixes
10142
10143 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * lyxrc.C: do not include lyx_main.h
10146
10147         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10148         for layouts
10149
10150         * lyxrc.C:
10151         * encoding.C:
10152         * bufferlist.C:
10153         * BufferView2.C: include "lyxlex.h"
10154
10155         * tabular.h:
10156         * bufferparams.h: do not #include "lyxlex.h"
10157
10158         * lyxtextclasslist.C (Add): remove method
10159         (classlist): renamed to classlist_
10160
10161         * paragraph_pimpl.C:
10162         * paragraph.C:
10163         * text2.C:
10164         * CutAndPaste.C:
10165         * bufferview_funcs.C:
10166         * bufferlist.C:
10167         * text.C:
10168         * LaTeXFeatures.C:
10169         * buffer.C:
10170         * toc.C (getTocList): use BufferParams::getLyXTextClass
10171
10172         * toc.C (getTocList): use InsetFloat::addToToc
10173
10174         * toc.[Ch]: new files, containing helper functions to handle table
10175         of contents
10176
10177         * lyxfunc.C (dispatch): no need to remove spaces around command
10178         given as a string
10179         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10180         first command of the sequence; it is not very clever, but I do not
10181         have a better idea, actually
10182
10183         * LyXAction.C (LookupFunc): make sure to remove space at the
10184         beginning and end of the command
10185
10186 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * MenuBackend.C (getMenubar): new method: return the menubar of
10189         this menu set
10190         (read): treat differently reading of menu and menubar (in
10191         particular, the menubar has no name now)
10192         (Menu::menubar): remove
10193
10194         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10195         saving is finished
10196
10197 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10198
10199         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10200         a bibitem inset in a RTL paragraph.
10201
10202 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10203
10204         * paragraph_pimpl.C: constify
10205
10206         * BufferView_pimpl.C:
10207         * LaTeX.C:
10208         * lyxfunc.C: fix dispatch in a nicer way
10209
10210 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10211
10212         * lyxfunc.C (dispatch):
10213         * BufferView_pimpl.C:
10214         * BufferView_pimpl.h:
10215         * BufferView.C:
10216         * BufferView.h: rename Dispatch() to dispatch()
10217
10218         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10219
10220         * lyxlayout.C (Read): honor DependsOn tag
10221
10222         * lyxlayout.[Ch] (depends_on): new method
10223
10224         * version.C.in: update lyx_docversion
10225
10226         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10227
10228         * paragraph.C (validate): remove from here...
10229         * paragraph_pimpl.C (validate): ... and move here
10230         (isTextAt): make it const
10231
10232         * buffer.C (getLists): ws cleanup
10233
10234 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10235
10236         * language.C (read): Use iso8859-1 encoding in latex_lang
10237         (this prevents LyX from crashing when using iso10646-1 encoding).
10238
10239 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10240
10241         * text2.C (toggleInset): if cursor is inside an inset, close the
10242         inset and leave cursor _after_ it
10243
10244 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10245
10246         * lyxfunc.C: move minibuffer completion handling out of here
10247
10248 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * BufferView_pimpl.C:
10251         * LaTeX.C: fix dispatch calls
10252
10253 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10254
10255         * text.C (drawChars): Fix Arabic text rendering.
10256
10257 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * LyXAction.C:
10260         * commandtags.h:
10261         * lyxfunc.C: remove message-push/pop
10262
10263         * lyxserver.C:
10264         * lyxfunc.h:
10265         * lyxfunc.C: rationalise some code by removing verboseDispatch
10266           in favour of a bool argument to dispatch()
10267
10268 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10269
10270         * lyx_main.C (init): make sure to read symlinks as absolute paths
10271
10272 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * lyxfunc.h:
10275         * lyxfunc.C: no need for commandshortcut to be a member
10276
10277 2002-07-15  André Pönitz <poenitz@gmx.net>
10278
10279         * converter.C: add support for $$s (scripts from lib/scripts dir)
10280         * lyx_main.C: white space
10281
10282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10283
10284         * bufferlist.C:
10285         * lyxrc.h:
10286         * lyxrc.C: remove second exit confirmation
10287
10288 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * BufferView.h:
10291         * BufferView.C:
10292         * BufferView2.C:
10293         * BufferView_pimpl.h:
10294         * BufferView_pimpl.C:
10295         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10296
10297 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10298
10299         * MenuBackend.C (expand): add numeric shortcuts to document menu
10300
10301         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10302
10303 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10304
10305         * lyxfont.C (setLyXFamily):
10306         (setLyXSeries):
10307         (setLyXShape):
10308         (setLyXSize):
10309         (setLyXMisc):
10310         (lyxRead):
10311         * debug.C (value):
10312         * buffer.C (asciiParagraph): use ascii_lowercase
10313
10314 2002-07-15  Mike Fabian  <mfabian@suse.de>
10315
10316         * lyxlex_pimpl.C (search_kw):
10317         * lyxlex.C (getLongString):
10318         * converter.h (operator<):
10319         * converter.C (operator<):
10320         * buffer.C (parseSingleLyXformat2Token):
10321         (asciiParagraph):
10322         * ToolbarDefaults.C (read):
10323         * MenuBackend.C (checkShortcuts):
10324         (read):
10325         * LColor.C (getFromGUIName):
10326         (getFromLyXName): use the compare_ascii_no_case instead of
10327         compare_no_case, because in turkish, 'i' is not the lowercase
10328         version of 'I', and thus turkish locale breaks parsing of tags.
10329
10330 2002-07-16  Angus Leeming  <leeming@lyx.org>
10331
10332         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10333         now takes a Buffer const & argument.
10334
10335 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10336
10337         * BufferView.C (resize): check there's a buffer to resize
10338
10339 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * lyxfunc.C: remove dead code
10342
10343         * lyxserver.h:
10344         * lyxserver.C: use lyx_guii::set_read_callback
10345
10346 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10347
10348         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10349         an inset in a RTL paragraph.
10350
10351 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10352
10353         * lyxfunc.C: repaint after a font size update
10354
10355 2002-07-15  André Pönitz <poenitz@gmx.net>
10356
10357         * lyxlength.C: inBP should be able to return negative values
10358
10359 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10360
10361         * lyxfunc.C: use lyx_gui::update_fonts()
10362
10363 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * lyxfunc.C: use lyx_gui::update_color()
10366
10367 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * bufferlist.C:
10370         * lyxfunc.h:
10371         * lyxfunc.C:
10372         * lyxrc.h:
10373         * lyxrc.C: remove file->new asks for name option, and let
10374           buffer-new take an argument
10375
10376 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * BufferView_pimpl.C: remove unneeded extra repaint()
10379
10380 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10381
10382         * LyXAction.C: allow command-sequence with NoBuffer
10383
10384         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10385
10386 2002-07-10  Angus Leeming  <leeming@lyx.org>
10387
10388         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10389
10390 2002-07-09  Angus Leeming  <leeming@lyx.org>
10391
10392         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10393
10394 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * lengthcommon.h: whitespace
10397
10398         * lyxfunc.C: update scrollbar after goto paragraph
10399
10400         * lyxtext.h: factor out page break drawing, and fix it so
10401           page break/added space paints as selected nicely
10402
10403 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * BufferView_pimpl.C: add FIXMEs, clean up a little
10406
10407 2002-07-09  André Pönitz <poenitz@gmx.net>
10408
10409         * lyxfont.[Ch]: support for wasy symbols
10410
10411 2002-07-08  André Pönitz <poenitz@gmx.net>
10412
10413         * BufferView_pimpl.C: apply John's patch for #93.
10414
10415 2002-07-05  Angus Leeming  <leeming@lyx.org>
10416
10417         * BufferView_pimpl.C (buffer): generate previews if desired.
10418
10419         * LColor.h: add "preview" to the color enum.
10420
10421         * LColor.C (LColor): add a corresponding entry to the items array.
10422
10423         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10424         with this buffer.
10425
10426 2002-07-05  Angus Leeming  <leeming@lyx.org>
10427
10428         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10429         The body of the code is now in the method that is passed an ostream &
10430         rather than a file name.
10431         Pass an additional only_preamble parameter, useful for the forthcoming
10432         preview stuff.
10433
10434 2002-07-03  André Pönitz <poenitz@gmx.net>
10435
10436         * lyxfunc.C: simplify getStatus() a bit for math stuff
10437
10438 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10439
10440         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10441
10442 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * text.C (changeRegionCase): do not change case of all the
10445         document when region ends at paragraph end (bug #461)
10446
10447 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10448
10449         * paragraph.C (startTeXParParams):
10450         (endTeXParParams): add \protect when necessary
10451
10452 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * BufferView_pimpl.C (workAreaExpose): remove warning
10455
10456 2002-06-27  Angus Leeming  <leeming@lyx.org>
10457
10458         * Makefile.am: add lyxlayout_ptr_fwd.h.
10459
10460 2002-06-26  André Pönitz <poenitz@gmx.net>
10461
10462         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10463
10464 2002-06-25  Angus Leeming  <leeming@lyx.org>
10465
10466         * lyxfunc.C (dispatch): Comment out the call to
10467         grfx::GCache::changeDisplay. The method no longer exists now that the
10468         pixmap generation part of the graphics loader has been moved into
10469         InsetGraphics.
10470
10471 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10472
10473         * text2.C: layout as layout
10474
10475         * text.C: layout as layout
10476
10477         * tabular.C (OldFormatRead): layout as layout
10478
10479         * paragraph_pimpl.C (TeXDeeper): layout as layout
10480         (realizeFont): layout as layout
10481
10482         * paragraph.C (writeFile): layout as layout
10483         (validate): layout as layout
10484         (getFont): layout as layout
10485         (getLabelFont): layout as layout
10486         (getLayoutFont): layout as layout
10487         (breakParagraph): layout as layout
10488         (stripLeadingSpaces): layout as layout
10489         (getEndLabel): layout as layout
10490         (getMaxDepthAfter): layout as layout
10491         (applyLayout): layout as layout
10492         (TeXOnePar): layout as layout
10493         (simpleTeXOnePar): layout as layout
10494         (TeXEnvironment): layout as layout
10495         (layout): layout as layout
10496         (layout): layout as layout
10497
10498         * lyxtextclass.C (compare_name): new functor to work with
10499         shared_ptr, layout as layout
10500         (Read): layout as layout
10501         (hasLayout): layout as layout
10502         (operator): layout as layout
10503         (delete_layout): layout as layout
10504         (defaultLayout): layout as layout
10505
10506         * lyxlayout_ptr_fwd.h: new file
10507
10508         * lyxlayout.C (Read): layout as layout
10509
10510         * lyx_cb.C (MenuInsertLabel): layout as layout
10511
10512         * bufferlist.C (newFile): layout as layout
10513
10514         * buffer.C (readLyXformat2): layout as layout
10515         (parseSingleLyXformat2Token): layout as layout
10516         (insertStringAsLines): layout as layout
10517         (asciiParagraph): layout as layout
10518         (latexParagraphs): layout as layout
10519         (makeLinuxDocFile): layout as layout
10520         (simpleLinuxDocOnePar): layout as layout
10521         (makeDocBookFile): layout as layout
10522         (simpleDocBookOnePar): layout as layout
10523         (getLists): layout as layout
10524
10525         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10526
10527         * CutAndPaste.C (cutSelection): layout as layout
10528         (pasteSelection): layout as layout
10529         (SwitchLayoutsBetweenClasses): layout as layout
10530
10531         * BufferView_pimpl.C (Dispatch): layout as layout
10532         (smartQuote): layout as layout
10533
10534         * BufferView2.C (unlockInset): layout as layout
10535
10536 2002-06-24  André Pönitz <poenitz@gmx.net>
10537
10538         * lyxfunc.C: fix #487
10539
10540 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10541
10542         * lyxrc.h:
10543         * lyxrc.C:
10544         * lyxfunc.C: remove display_shortcuts, show_banner
10545
10546 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10547
10548         * Buffer_pimpl.C: oops, update on resize
10549
10550 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * buffer.C:
10553         * converter.C:
10554         * exporter.C:
10555         * lyxfunc.C:
10556         * BufferView.h:
10557         * BufferView.C: use repaint()
10558
10559         * BufferView_pimpl.h:
10560         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10561           as it's a clearer description. Remove superfluous
10562           redraws.
10563
10564 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * text.C: fix bug 488. Not ideal, but getting
10567           getWord() to work properly for the insets that
10568           matter is more difficult ...
10569
10570 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10571
10572         * BufferView_pimpl.C:
10573         * LyXAction.C:
10574         * commandtags.h:
10575         * lyxfunc.C: remove the six million index lyxfuncs to just
10576           one, and DTRT (bug 458)
10577
10578 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10579
10580         * BufferView.h:
10581         * BufferView.C:
10582         * BufferView_pimpl.h:
10583         * BufferView_pimpl.C: clean up resize() stuff,
10584           and unnecessary updateScreen()s
10585
10586 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * BufferView.h:
10589         * BufferView.C:
10590         * BufferView_pimpl.h:
10591         * BufferView_pimpl.C:
10592         * lyxfind.h:
10593         * lyxfind.C:
10594         * minibuffer.C: remove focus management of workarea,
10595           not needed. Use screen's greyOut()
10596
10597 2002-06-17  Herbert Voss  <voss@lyx.org>
10598
10599         * converter.C: (convert) do not post a message, when converting
10600         fails, let the calling function decide what to do in this case
10601
10602 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10603
10604         * lyxfunc.C: tidy up a little
10605
10606 2002-06-16    <alstrup@diku.dk>
10607
10608         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10609         Got rid of FORMS_H_LOCATION include. Now we are
10610         GUII.
10611
10612 2002-06-15  LyX Development team  <lyx@rilke>
10613
10614         * buffer.[Ch] (sgmlOpenTag):
10615         (sgmlCloseTag): Added support for avoiding pernicious mixed
10616         content. Return number of lines written.
10617
10618         (makeLinuxDocFile):
10619         (makeDocBookFile): Fixed calls to sgml*Tag.
10620         Simple white space clean.
10621
10622         (simpleDocBookOnePar): Simple white space clean.
10623
10624         * tabular.[Ch] (docBook): Renamed to docbook and got another
10625         argument to related with the pernicious mixed content.
10626
10627         (docbookRow): Fixed calls for docbook inset method.
10628
10629 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10630
10631         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10632         so it's X11 independent.
10633
10634         * kb*.[Ch]: ditto.
10635
10636         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10637
10638 2002-06-15  Lyx Development team  <lyx@electronia>
10639
10640         * intl.h: Renamed getTrans to getTransManager.
10641
10642 2002-06-14  Angus Leeming  <leeming@lyx.org>
10643
10644         * Makefile.am: nuke forgotten stl_string_fwd.h.
10645
10646 2002-06-12  Angus Leeming  <leeming@lyx.org>
10647
10648         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10649
10650 2002-06-13  Angus Leeming  <leeming@lyx.org>
10651
10652         * LaTeX.C:
10653         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10654
10655 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10656
10657         * kbmap.C (getiso): add support for cyrillic and greek
10658
10659 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * BufferView.h:
10662         * BufferView.C:
10663         * BufferView_pimpl.h:
10664         * BufferView_pimpl.C: move bogus scrolling logic
10665           to xforms
10666
10667 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10668
10669         * lyxfunc.C:
10670         * BufferView_pimpl.C: view->resize() change
10671
10672 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * BufferView_pimpl.C: topCursorVisible
10675           prototype change
10676
10677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * Makefile.am:
10680         * lyx_gui.h:
10681         * lyx_gui.C: move to frontends/
10682
10683         * main.C:
10684         * lyx_main.h:
10685         * lyx_main.C: changes from above
10686
10687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * intl.C:
10690         * intl.h:
10691         * kbmap.C:
10692         * kbsequence.C:
10693         * lyx_cb.C:
10694         * lyx_main.C: minor tidy
10695
10696 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * BufferView_pimpl.h:
10699         * BufferView_pimpl.C:
10700         * BufferView.h:
10701         * BufferView.C: make painter() const,
10702           remove dead code
10703
10704         * BufferView2.C: use screen() accessor
10705
10706         * lyx_main.h:
10707         * lyx_main.C: some minor cleanup
10708
10709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * BufferView_pimpl.h:
10712         * BufferView_pimpl.C: remove enter/leaveView,
10713           use workHeight()
10714
10715 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10716
10717         * BufferView.h:
10718         * BufferView.C:
10719         * BufferView2.C:
10720         * BufferView_pimpl.h:
10721         * BufferView_pimpl.C: only construct screen once,
10722           rename
10723
10724         * lyxrc.C: remove pointless comment
10725
10726 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * BufferView.h:
10729         * BufferView.C: remove active() and belowMouse()
10730
10731         * BufferView_pimpl.h:
10732         * BufferView_pimpl.C: use workarea() not workarea_,
10733           and make it use a scoped_ptr instead
10734
10735 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * lyx_gui.C: add debug message on BadWindow
10738
10739 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10740
10741         * sp_spell.C: fdopen is not part of the C++ standard.
10742
10743         * paragraph.C (InsetIterator): use >= instead of ==
10744
10745 2002-06-07  Angus Leeming  <leeming@lyx.org>
10746
10747         Fixes needed to compile with Compaq cxx 6.5.
10748         * BufferView_pimpl.C:
10749         * DepTable.C:
10750         * buffer.C:
10751         * converter.C:
10752         * encoding.C:
10753         * lyx_gui.C:
10754         * lyx_main.C:
10755         * lyxtextclasslist.C:
10756         * minibuffer.C:
10757         * sp_spell.C:
10758         * tabular_funcs.C:
10759         * vc-backend.C:
10760         all c-library variables have been moved into namespace std. Wrap
10761         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10762
10763         * lyxlength.C:
10764         * tabular-old.C:
10765         * tabular.C:
10766         Add a using std::abs declaration.
10767
10768         * kbmap.h (modifier_pair):
10769         * paragraph.h (InsetTable, InsetList):
10770         * lyxfont.h (FontBits):
10771         type definition made public.
10772
10773         * bufferlist.C (emergencyWriteAll): the compiler complains that
10774         there is more than one possible lyx::class_fun template to choose from.
10775         I re-named the void specialisation as lyx::void_class_fun.
10776
10777         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10778
10779         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10780         the compiler is is unable to find tostr in write_attribute.
10781
10782 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10783
10784         * buffer.C (sgmlError): hide #warning
10785
10786 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * xtl/*: get rid of xtl, which is not in use anyway
10789
10790         * LyXAction.C (init):
10791         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10792         were unimplemented xtl experimentation
10793
10794 2002-06-04  André Pönitz <poenitz@gmx.net>
10795
10796         * lyxfunc.C: disable array operation on simple formulae
10797
10798 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10799
10800         * converter.C: constify a bit
10801
10802 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * lyx_gui.C: check xforms version correctly
10805
10806 2002-04-30  Herbert Voss  <voss@lyx.org>
10807
10808         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10809         "keep" option
10810
10811 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10812
10813         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10814           attempt to register it with a VCS)
10815
10816 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10817
10818         * lyx_main.C (init): honor variables LYX_DIR_13x and
10819         LYX_USERDIR_13x
10820
10821 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * buffer.h:
10824         * buffer.C:
10825         * lyx_main.C: fix a crash on bad command line,
10826           and give a useful exit status on error
10827
10828         * lyxfunc.C (doImport): allow -i lyx to work
10829
10830 2002-03-30  André Pönitz <poenitz@gmx.net>
10831
10832         * lyxfunc.C: mathed font changes
10833
10834 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10835
10836         * LaTeX.C:
10837         * importer.h:
10838         * importer.C:
10839         * lyx_sty.h:
10840         * lyx_sty.C:
10841         * lyxlex.C:
10842         * lyxrow.h:
10843         * lyxtext.h:
10844         * paragraph.h:
10845         * paragraph.C:
10846         * texrow.h:
10847         * texrow.C:
10848         * text.C:
10849         * trans_mgr.h: srcdocs, and some minor cleanups
10850
10851 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10852
10853         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10854         call getFont all the time)
10855
10856 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10857
10858         * switch from SigC signals to boost::signals
10859
10860 2002-05-29  André Pönitz <poenitz@gmx.net>
10861
10862         * paragraph_pimpl.C (getChar): don't call size() too often...
10863
10864 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * paragraph_pimpl.C (insertChar): do not try to update tables when
10867         appending (pos == size())
10868
10869         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10870         in order to reduce drastically the number of comparisons needed to
10871         parse a large document
10872
10873 2002-05-29  André Pönitz <poenitz@gmx.net>
10874
10875         * text.C:
10876         * text2.C:
10877         * lyxtextclass.C:
10878         * sp_pspell.h:
10879         * textclasslist.[Ch]:
10880         * sp_ispell.h: whitespace change
10881
10882 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10883
10884         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10885         lyxaction directly now.
10886
10887 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10888
10889         * trans.C:
10890         * lyxfont.C:
10891         * lyxvc.C: remove unused headers
10892
10893 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * Makefile.am:
10896         * buffer.h:
10897         * undostack.h:
10898         * undostack.C:
10899         * undo_funcs.h:
10900         * undo_funcs.C: some cleanups. Use shared_ptr
10901           and a template for the undo stacks.
10902
10903 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * BufferView_pimpl.h:
10906         * BufferView_pimpl.C:
10907         * kbmap.h:
10908         * kbmap.C:
10909         * kbsequence.h:
10910         * kbsequence.C:
10911         * lyxfunc.h:
10912         * lyxfunc.C:
10913         * text2.C: use key_state/mouse_state
10914
10915 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10916
10917         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10918         and LSubstring
10919
10920         * chset.C: change include order
10921         (loadFile): use boost regex and get rid of LRegex and LSubstring
10922
10923         * Makefile.am (BOOST_LIBS): new variable
10924         (lyx_LDADD): use it
10925
10926         * LaTeX.C: change include order.
10927         (scanAuxFile): use boost regex and get rid of LRegex and
10928         LSubstring
10929         (deplog): ditto
10930
10931 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * ColorHandler.h:
10934         * ColorHandler.C:
10935         * FontInfo.h:
10936         * FontInfo.C: moved to frontends/xforms/
10937
10938         * FontLoader.h:
10939         * FontLoader.C: moved into frontends for GUIIzation
10940
10941         * Makefile.am:
10942         * lyx_gui.C:
10943         * lyxfont.C:
10944         * lyxfunc.C: changes from above
10945
10946 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * LColor.C: remove spurious X include
10949
10950         * BufferView_pimpl.C:
10951         * Makefile.am:
10952         * font.h:
10953         * font.C:
10954         * text.C:
10955         * text2.C: move font metrics to frontends/
10956
10957 2002-05-24  Juergen Vigna  <jug@sad.it>
10958
10959         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10960         setting the undo_cursor.
10961
10962         * ParagraphParameters.h: include local includes first.
10963
10964 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10965
10966         * BufferView_pimpl.C:
10967         * BufferView_pimpl.h:
10968         * Makefile.am:
10969         * WorkArea.h:
10970         * WorkArea.C:
10971         * screen.C: move WorkArea into frontends/
10972
10973         * lyxscreen.h:
10974         * screen.C:
10975         * text.C:
10976         * BufferView.C:
10977         * BufferView2.C: move LyXScreen into frontends/
10978
10979         * lyxlookup.h:
10980         * lyxlookup.C:
10981         * lyx_gui.C: move lyxlookup into frontends/xforms/
10982
10983 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10984
10985         * BufferView2.C:
10986         * BufferView_pimpl.C:
10987         * FontLoader.C:
10988         * LyXView.h:
10989         * LyXView.C:
10990         * Makefile.am:
10991         * WorkArea.C:
10992         * XFormsView.h:
10993         * XFormsView.C:
10994         * buffer.C:
10995         * bufferlist.C:
10996         * bufferview_funcs.C:
10997         * converter.C:
10998         * importer.C:
10999         * lyx_cb.C:
11000         * lyx_gui.C:
11001         * lyx_main.C:
11002         * lyx_find.C:
11003         * lyxfunc.C:
11004         * lyxvc.C:
11005         * minibuffer.C:
11006         * text.C:
11007         * text2.C:
11008         * trans.C:
11009         * vc-backend.C: move LyX/XFormsView into frontends/
11010
11011 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11012
11013         * Makefile.am:
11014         * PainterBase.C:
11015         * PainterBase.h:
11016         * Painter.C:
11017         * Painter.h:
11018         * WorkArea.C:
11019         * WorkArea.h:
11020         * screen.C:
11021         * tabular.C:
11022         * text.C:
11023         * text2.C: move Painter to frontends/
11024
11025 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11026
11027         * buffer.C: comment out some some code that depend upon lyx_format
11028         < 220
11029
11030         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11031         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11032
11033         * buffer.h (NO_COMPABILITY): turn off compability
11034
11035         * ColorHandler.C: include scoped_array.hpp
11036
11037         * font.C: Use more specific smart_ptr header.
11038         * Painter.C: ditto
11039         * gettext.C: ditto
11040         * ShareContainer.h: ditto
11041         * lyx_main.h: ditto
11042         * kbmap.h: ditto
11043         * FontInfo.h: ditto
11044         * BufferView_pimpl.h: ditto
11045         * ColorHandler.h: ditto
11046
11047         * kbmap.C (defkey): change call to shared_ptr::reset
11048
11049 2002-05-21  Juergen Vigna  <jug@sad.it>
11050
11051         * buffer.C (insertErtContents): fix to insert ert asis if it is
11052         non empty. Skip it completely if it contains only whitespaces.
11053
11054 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11055
11056         * BufferView_pimpl.C:
11057         * BufferView2.C: clear selection on paste (bug 393)
11058
11059 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * DepTable.C: include ctime
11062
11063 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11064
11065         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11066
11067 2002-05-14  Juergen Vigna  <jug@sad.it>
11068
11069         * text.C (breakParagraph): fixed function to honor the keepempty
11070         layout in the right maner and also to permit the right breaking
11071         algorithm on empty or non empyt keepempty paragraphs.
11072
11073         * paragraph.C (breakParagraph): we have to check also if the par
11074         is really empty (!size()) for isempty otherwise we do the wrong
11075         paragraph break.
11076
11077 2002-05-10  Juergen Vigna  <jug@sad.it>
11078
11079         * buffer.[Ch] : The following are only changes to the ert
11080         compatibility read reading old LaTeX layout and font stuff and
11081         convert it to ERTInsets.
11082
11083         * buffer.h: added isErtInset().
11084
11085         * buffer.C (struct ErtComp): add a fromlayout bool to check
11086         if we're inside a LaTeX layout.
11087         (isErtInset): new helper function.
11088         (insertErtContents): look for other ert insets before this one
11089         and insert the contents there, so that we don't have subsequent
11090         ERT insets with nothing between them. This way we create only one
11091         inset with multiple paragraphs. Also check if we don't insert only
11092         spaces ' ' as they are ignored anyway afterwards in the .tex file
11093         so if we have only spaces we will ignore this latex part in the
11094         new file.
11095         (parseSingleLyXformat2Token \\layout): better compatibility when
11096         reading layout-latex stuff.
11097         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11098         language tag.
11099         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11100         stuff after reading the inset only get the information back from
11101         the stack.
11102
11103 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11106
11107         * LaTeXFeatures.C (getBabelOptions): New method.
11108
11109 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11110
11111         * BufferView_pimpl.C (Dispatch): work around missing argument for
11112         'layout'
11113
11114 2002-05-08  Juergen Vigna  <jug@sad.it>
11115
11116         * text.C (leftMargin): handle paragraph leftindent.
11117
11118         * paragraph.C (writeFile): write the new \\leftindent tag.
11119         (validate): handle leftindent code.
11120         (TeXEnvironment): handle paragraphleftindent code again.
11121
11122         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11123
11124         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11125         for paragrap_extra indent code and new token \\leftindent.
11126         (latexParagraphs): handle the leftindent as environment.
11127
11128         * ParameterStruct.h: added leftindent support.
11129
11130         * ParagraphParameters.C (leftIndent): added support functions for
11131         the paragraph left indent.
11132
11133         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11134         more appropriate.
11135
11136 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11137
11138         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11139         inside insetERT.
11140
11141         * text.C (computeBidiTables): No bidi in insetERT.
11142
11143         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11144         in RTL documents.
11145
11146 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * version.C.in: pre 5
11149
11150 2002-05-02  José Matos  <jamatos@fep.up.pt>
11151         * buffer.C (makeDocBookFile): white space changes, add newline to
11152         command styles.
11153         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11154
11155         * tabular.C (docBook): fix typo.
11156
11157 2002-05-03  Juergen Vigna  <jug@sad.it>
11158
11159         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11160         change in LyXText as we can not be sure it was not freed.
11161         (drawOneRow): remove unused code.
11162
11163         * text.C (drawInset): redo the calculation of the need_break_row as
11164         it could have a row which was already freed.
11165         (draw): look at the return value of drawInset and return false if
11166         it also returned false.
11167         (paintRowText): look at the return value of draw and return false if
11168         it also returned false.
11169
11170         * lyxtext.h: added bool return type to drawInset() and draw() so that
11171         if we have a change in the row so that the rowbreak has to be redone
11172         we abort drawing as it will be called again.
11173
11174 2002-05-02  Juergen Vigna  <jug@sad.it>
11175
11176         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11177         a change in the maintext also if we're inside an inset.
11178         (Dispatch): set the cursor again after a break line and after the
11179         screen has been updated as it could be we're in a different row.
11180
11181         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11182         to set the cursor behind the pargraph with > size().
11183         (setCursor): check also for the same paragraph when checking where
11184         to put the cursor if we have a NFR inset.
11185
11186         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11187         parts of layout read further up as it still was in the wrong
11188         position.
11189
11190 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * screen.C (drawFromTo): change sine fullRebreak always return
11193         true.
11194
11195         * buffer.C (parseSingleLyXformat2Token): reindent some
11196
11197         * BufferView_pimpl.C (update): change since fullRebreak always
11198         return true.
11199         (Dispatch): git rid of the last hardcoded "Standard"s.
11200
11201 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11202
11203         * text2.[Ch] (fullRebreak): make it return void now that we always
11204         returned true.
11205
11206 2002-04-30  Juergen Vigna  <jug@sad.it>
11207
11208         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11209         ert compatibility check for "latex" layout.
11210
11211 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11212
11213         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11214         minipages: use col% instead of p%, and also use the current font.
11215         (makeLaTeXFile): Fix use babel condition.
11216         (parseSingleLyXformat2Token): Correct font when reading old floats.
11217
11218 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11219
11220         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11221         inserting list of floats.
11222
11223 2002-04-25  Herbert Voss  <voss@lyx.org>
11224
11225         * MenuBackend.C (expand): don't add the graphics extensions to the
11226         export menu
11227
11228 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11231         non-existing layout, do not complain if it was the default layout
11232         of the original class (bug #342)
11233
11234 2002-04-24  Juergen Vigna  <jug@sad.it>
11235
11236         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11237         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11238
11239 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11240
11241         * buffer.C (getBibkeyList): If using \bibliography, return the
11242         option field with the reference itself. Enables us to provide natbib
11243         support when using \bibliography.
11244
11245 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11246
11247         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11248
11249         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11250         natbib is provided by the LaTeX class.
11251
11252 2002-04-23  Juergen Vigna  <jug@sad.it>
11253
11254         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11255         Wakeup functions.
11256
11257         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11258
11259 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11260
11261         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11262
11263         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11264         ensuremath around textordmasculine, textordfeminine and
11265         textdegree.
11266
11267 2002-04-19  Juergen Vigna  <jug@sad.it>
11268
11269         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11270         reinitializing the buffer otherwise row-dimensions may be wrong.
11271         (update): reset also the selection cursors if they do exits otherwise
11272         their x/y positions may be wrong.
11273
11274         * text2.C (cursorDown): don't enter the inset if we came from a row
11275         above and are one row over the inset.
11276
11277         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11278         really leaving an inset.
11279
11280 2002-04-18  Juergen Vigna  <jug@sad.it>
11281
11282         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11283         of the selected paragraph does not have the selected layout also if
11284         the last one had!
11285
11286         * text2.C (setLayout): fixed bug which did not change last selected
11287         paragraph.
11288
11289         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11290         changed the read and substituted \\end_float with \\end_inset!
11291
11292         * BufferView_pimpl.C (cursorPrevious):
11293         (cursorNext): fixed to make it work with rows heigher than the work
11294         area without moving the cursor only the draw of the row.
11295         (workAreaMotionNotify): fix jumping over high rows.
11296
11297 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11298
11299         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11300         Ressler.
11301
11302 2002-04-16  Juergen Vigna  <jug@sad.it>
11303
11304         * text2.C (setCursor): set also the irow().
11305         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11306         (cursorUp):
11307         (cursorDown): support for locking an inset if the x_fix value goes
11308         inside it. That way I can transverse insets too with cursor up/down.
11309
11310         * lyxrow.h: added irow helper function same as other (i) functions.
11311
11312         * BufferView_pimpl.C (cursorPrevious):
11313         (cursorNext): fixed for insets!
11314
11315 2002-04-15  Juergen Vigna  <jug@sad.it>
11316
11317         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11318         position otherwise it is wrong in some cases.
11319
11320         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11321         inside the inset before the call.
11322
11323 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11324
11325         * buffer.[Ch] (getBibkeyList): make it const.
11326
11327 2002-04-12  Juergen Vigna  <jug@sad.it>
11328
11329         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11330
11331         * text2.C (getCursorX): new helper function
11332         (setCursor): compute also ix_
11333         (setCursorFromCoordinates): set also ix.
11334
11335         * lyxcursor.h: added ix_ and helper functions.
11336
11337         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11338
11339         * buffer.C (insertStringAsLines): dont break paragraph if the this
11340         paragraph is inside an inset which does not permit it!
11341
11342         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11343         also with no chars on this paragraph.
11344         (paintRowText): only paint stuff if it's inside the workarea!
11345
11346         * paragraph.C (breakParagraph): honor keepempty flag and break the
11347         paragraph always below not above.
11348
11349         * BufferView2.C (unlockInset): update the paragraph layout on inset
11350         unlock as we changed paragraph in such a case.
11351
11352         * lyxfind.C (LyXFind): clear the former selection if not found!
11353
11354         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11355         again called in insertChar().
11356
11357         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11358         an inset which uses the whole row!
11359         (rightMargin): ditto.
11360         (insertChar): force a rebreak if we inserted an inset!
11361
11362 2002-03-28  Herbert Voss  <voss@lyx.org>
11363
11364         * lyxlength.[Ch]: add inBP() to get the right PS-point
11365         units (BigPoint). With inPixels we have rounding errors
11366
11367 2002-04-11  Juergen Vigna  <jug@sad.it>
11368
11369         * text2.C (setCursorFromCoordinates): set iy to the right value.
11370         (setCursor): add check if row->previous exists!
11371
11372         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11373         an old float_type as this was the case in the old code!
11374
11375         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11376
11377         * BufferView2.C (showLockedInsetCursor): use iy
11378         (fitLockedInsetCursor): ditto
11379
11380         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11381         locked insets as there we have the right value now.
11382
11383         * lyxcursor.C: added iy_ variable and iy functions to set to the
11384         baseline of cursor-y of the locked inset.
11385
11386         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11387         (setCursor): fixed for insets which need a full row.
11388
11389         * text.C (rowLastPrintable): don't ignore the last space when before
11390         an inset which needs a full row.
11391         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11392         as last character of a row when before a inset which needs a full row.
11393
11394 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * version.C.in: update date
11397
11398         * text2.C (fullRebreak): try to always return true and see what
11399         happens...
11400
11401 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11402
11403         * MenuBackend.C (expand): use Floating::listName
11404
11405         * FloatList.C (FloatList): add listName argument to the built-in
11406         floats
11407
11408         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11409         text associated with the float.
11410
11411 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11414
11415 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * ShareContainer.h: add a couple of missing typenames.
11418
11419 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11420
11421         * lyxrc.C (getDescription): use _() correctly rather than N_().
11422
11423 2002-03-28  Herbert Voss  <voss@lyx.org>
11424
11425         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11426         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11427
11428 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429
11430         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11431         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11432
11433 2002-03-29  Juergen Vigna  <jug@sad.it>
11434
11435         * lyxfunc.C (dispatch): add a missing fitCursor call.
11436
11437         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11438         it was scrolled by a cursor move, so return the bool status.
11439
11440         * BufferView.C (fitCursor): return the bool flag also to the outside
11441         world as this is needed.
11442
11443         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11444
11445         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11446         call the edit() as it is not needed (and wrong) IMO.
11447         (workAreaButtonPress): set the screen_first variable before evt.
11448         unlock the inset as this may change screen_first and then we have
11449         a wrong y position for the click!
11450
11451 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11452
11453         * MenuBackend.C (expand): another translation that I missed
11454
11455 2002-03-28  Juergen Vigna  <jug@sad.it>
11456
11457         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11458
11459         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11460
11461 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11464
11465         * MenuBackend.C (expand): fix export/view/update when there is no
11466         document open.
11467
11468 2002-03-27  Herbert Voss  <voss@lyx.org>
11469
11470         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11471         and text%
11472
11473 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11474
11475         * bufferview_funcs.C (currentState): only show paragraph number
11476         for is DEVEL_VERSION is set.
11477
11478         * lyxfunc.C (dispatch): put warning in INFO channel
11479
11480         * MenuBackend.C (expand): translate the name of floats
11481
11482         * FloatList.C (FloatList): mark the float names for translation
11483
11484         * converter.C (convert): use LibScriptSearch
11485
11486 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11487
11488         * MenuBackend.C (defaults): fix default menu (we might as well get
11489         rid of it...)
11490
11491 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11492
11493         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11494         directory.
11495
11496 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11497
11498         * lyxvc.C: reorder includes.
11499
11500 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11501
11502         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11503           properly
11504
11505 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11506
11507         * CutAndPaste.C: change layouts earlier on paste
11508           to avoid crashing when calling getFont()
11509
11510 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11511
11512         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11513         irritating #error.
11514
11515 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * WorkArea.C: remove 'Pending' debug message.
11518
11519         * most files: ws cleanup
11520
11521         * buffer.[Ch]: ws changes
11522
11523         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11524
11525 2002-03-21  Juergen Vigna  <jug@sad.it>
11526
11527         * tabular.C (SetMultiColumn): collapse also the contents of the
11528         cells and set the last border right. Added a Buffer const * param.
11529
11530 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11531
11532         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11533         linking or not.
11534
11535 2002-03-19  Juergen Vigna  <jug@sad.it>
11536
11537         * text2.C (clearSelection): reset also xsel_cache.
11538
11539         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11540         where it needs to be called (John tells us to do so too :)
11541         (selectionLost): reset sel_cache.
11542
11543         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11544
11545 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11546
11547         * text2.C (setCursorIntern): put debuging code in INSETS channel
11548
11549 2002-03-19  André Pönitz <poenitz@gmx.net>
11550
11551         * lyxfunc.C: tiny whitespace change
11552
11553 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11554
11555         * ToolbarDefaults.C (init):
11556         * LyXAction.C (init):
11557         * commandtags.h:
11558         * BufferView_pimpl.C (Dispatch):
11559         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11560
11561 2002-03-19  Allan Rae  <rae@lyx.org>
11562
11563         * exporter.C (Export): removeAutoInsets before doing anything else.
11564         While I've just introduced a dependency on BufferView this really is
11565         the best place to clean the buffer otherwise you need to cleanup in
11566         a dozen places before calling export or cleanup in a dozen functions
11567         that export calls.
11568
11569         * converter.C (runLaTeX):
11570         (scanLog): Better handling of removeAutoInsets and screen updates.
11571
11572         * lyxfunc.C (dispatch): small whitespace changes
11573
11574 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11575
11576         * WorkArea.C (C_WorkAreaEvent): return a value.
11577         (event_cb): return 1 if we handled the event, 0 otherwise.
11578
11579         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11580
11581 2002-03-18  Juergen Vigna  <jug@sad.it>
11582
11583         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11584         (GetAdditionalWidth): ditto.
11585         (RightLine): ditto.
11586         (LeftLine): ditto.
11587
11588         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11589         inset if we're there actually (probably not used right now but this
11590         is the direction to go for unifying code).
11591         (paste): disable code to clear the selection.
11592
11593         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11594         inside an InsetText and move the check further up as it is in the
11595         wrong place.
11596
11597         * text2.C (pasteSelection): set a selection over the pasted text.
11598
11599 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11600
11601         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11602         and libgraphics to build on Cygwin.
11603
11604 2002-03-15  Juergen Vigna  <jug@sad.it>
11605
11606         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11607         inserting an Inset into the paragraph. I know this is not the best
11608         fix but we already use current_view in CutAndPaste so we will remove
11609         all of it's using at the same time.
11610
11611         * buffer.C (sgmlError): deactivated function till it is rewritten in
11612         the right mode, now it can create problems.
11613
11614         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11615         before accessing it.
11616
11617 2002-03-14  Juergen Vigna  <jug@sad.it>
11618
11619         * undo_funcs.C (textHandleUndo): do the right thing when updating
11620         the inset after the undo/redo.
11621
11622         * text2.C (setCursor): just some testcode for #44 not ready yet.
11623
11624         * undo_funcs.C (textHandleUndo): set the next() and previous()
11625         pointers of the paragraph to 0 before deleting otherwise we have
11626         problems with the Paragraph::[destructor].
11627
11628         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11629         on a paragraph insertion.
11630
11631 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * buffer.C (asciiParagraph): use += operator for char append to
11634         string.
11635
11636         * paragraph.C (getFontSettings): compare >= not just >
11637         (highestFontInRange): ditto
11638         (setFont): ditto
11639
11640 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11641
11642         * paragraph.C: change several algorithm to be more appripriate for
11643         the problem domain. This is lookip in FontList and in the InsetList.
11644
11645 2002-03-13  André Pönitz <poenitz@gmx.net>
11646
11647         * commandtags.h:
11648         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11649
11650 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * commandtags.h:
11653         * LyXAction.C:
11654         * lyxfunc.C:
11655         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11656
11657 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * Painter.C (display): anon helper function, adjust code for this
11660         change.
11661         (pixmap): remove function.
11662
11663         * Painter.h: remove private display variable.
11664
11665         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11666
11667 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11668
11669         * WorkArea.[Ch]: remove figinset_canvas cruft.
11670
11671 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * lyxtextclass.C (operator): add one item cache optimization.
11674
11675         * bufferlist.h: doxy changes
11676
11677         * bufferlist.C: ws changes
11678
11679         * DepTable.[Ch] (ext_exist): place const in the right spot.
11680
11681         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11682         call resizeInsets.
11683         (workAreaExpose): call resizeInsets when the with BufferView changes.
11684         (Dispatch): adjust for protectedBlank removal
11685         (specialChar): call updateInset if the insert went ok.
11686
11687         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11688         specialChar instead.
11689
11690         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11691
11692         * BufferView.h: doxy change
11693
11694         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11695
11696         * lyxtextclass.C (operator[]): remove non-const version
11697         (defaultLayout): remove non-const version
11698
11699 2002-03-12  Juergen Vigna  <jug@sad.it>
11700
11701         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11702         did resize the LyXText too.
11703
11704         * buffer.C (readLyXformat2): set layout information on newly allocated
11705         paragraphs.
11706
11707         * tabular.C (OldFormatRead): set layout information on the paragraph.
11708
11709 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11710
11711         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11712
11713 2002-03-11  Juergen Vigna  <jug@sad.it>
11714
11715         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11716         plainly wrong.
11717         (resizeCurrentBuffer): force also the insets to resize themselfes.
11718         (moveCursorUpdate): fixed up for InsetText.
11719
11720 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11721
11722         * commandtags.h:
11723         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11724         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11725         value of Dialogs::tooltipsEnabled().
11726         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11727
11728 2002-03-08  Juergen Vigna  <jug@sad.it>
11729
11730         * BufferView_pimpl.C (updateInset): update inset inside inset also
11731         if it isn't inside theLockingInset().
11732
11733 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11734
11735         * buffer.C (asciiParagraph): redo some of the word and line length
11736         handling.
11737         (getLists): look for Caption instead of caption.
11738
11739 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11740
11741         * buffer.C (Buffer): initialize niceFile to true
11742         (makeLaTeXFile):
11743         (makeLinuxDocFile):
11744         (makeDocBookFile): make sure niceFile is true on exit
11745
11746 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11747
11748         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11749
11750 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11751
11752         * LyXSendto.C: remove.
11753         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11754         * lyx_gui.C: remove now-redundant comment.
11755         * ColorHandler.h: remove forward declaration of class WorkArea.
11756         * lyxfunc.C: remove #include "WorkArea.h".
11757
11758 2002-03-07  Juergen Vigna  <jug@sad.it>
11759
11760         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11761         got moved away with the DEPM and also set the inset_owner always
11762         right which before could have been omitted.
11763
11764 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11765
11766         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11767         wanted layout is not found.
11768
11769 2002-03-07  Juergen Vigna  <jug@sad.it>
11770
11771         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11772
11773 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11774
11775         * paragraph.C (breakParagraph): use default layout not layout of
11776         prev paragraph.
11777         (Paragraph): clear ParagraphParameters.
11778
11779 2002-03-06  Juergen Vigna  <jug@sad.it>
11780
11781         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11782         otherwise it would not be a valid lenght. Fixed a special case in
11783         the minipage compatibility read where we end the document with a
11784         minipage.
11785
11786         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11787         was set as it could be 0 for InsetTexts first entry.
11788
11789 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11790
11791         * paragraph.C (writeFile): if layout is empty write out
11792         defaultLayoutName().
11793
11794         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11795         file without named layout we set layout to defaultLayoutName().
11796
11797 2002-03-06  Juergen Vigna  <jug@sad.it>
11798
11799         * CutAndPaste.C (copySelection): set layout for new paragraph.
11800
11801         * text.C (prepareToPrint): leave ERT inset left aligned
11802         (leftMargin): don't indent paragraphs inside ERT insets
11803
11804 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11805
11806         * paragraph.C (breakParagraph): dont call clear do the work manually
11807
11808         * paragraph.[Ch] (clear): remove function
11809
11810 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * paragraph.C (Paragraph): dont call clear, the work has already
11813         been done.
11814
11815         * lyxtextclass.C (operator): assert if n is empty
11816
11817         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11818         work manually instead.
11819
11820 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * BufferView_pimpl.C: protect selectionLost against text == 0
11823
11824 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * text.C (breakParagraph): fix a setting layout to '0' problem.
11827
11828 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11829
11830         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11831         final location of file, for the included files, and graphics.
11832
11833 2002-03-05  Juergen Vigna  <jug@sad.it>
11834
11835         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11836
11837 2002-03-04  Juergen Vigna  <jug@sad.it>
11838
11839         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11840
11841         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11842         last column of multicolumn cells.
11843         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11844
11845 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11846
11847         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11848         file if it doesn't go to a temporary file.
11849
11850         * buffer.C (sgmlOpenTag):
11851         (sgmlCloseTag):  remove extra newline insertion.
11852
11853 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11854
11855         * text.C (getRowNearY): comment out debug msg
11856
11857 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11858
11859         * text2.C: first -> first_y
11860
11861         * text.C (getRowNearY): add some attemts at a possible
11862         optimization, not working.
11863
11864         * tabular.[Ch]: add BufferParams to several function so that newly
11865         created paragraph can be initialized to he default layotu for the
11866         buffers textclass.
11867
11868         * tabular-old.C (ReadOld): add buf->params to call of Init
11869
11870         * screen.C: rename text->first to text->first_y
11871
11872         * paragraph.C (breakParagraph): always set layout in the broken
11873         paragraph
11874
11875         * lyxtextclass.C (Read): remove lowercase
11876         (hasLayout): ditto
11877         (operator): ditto
11878         (delete_layout): ditto
11879
11880         * lyxtext.h: rename first -> first_y
11881
11882         * lyxlayout.C (Read): remove lowercase
11883         (name): ditto
11884         (setName): ditto
11885         (obsoleted_by): ditto
11886
11887         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11888
11889         * buffer.C (insertErtContents): add params are to InsetERT
11890         (parseSingleLyXformat2Token): add code to check if a paragraphs
11891         layout really exist.
11892         (parseSingleLyXformat2Token): add params to several inset
11893         constructors
11894         (asciiParagraph): remove lowercase, do the layout comparisons with
11895         no_case
11896
11897         * BufferView_pimpl.C (cursorNext): first -> first_y
11898         (resizeCurrentBuffer): first -> first_y
11899         (updateScrollbar): first -> first_y
11900         (scrollCB): first -> first_y
11901         (workAreaMotionNotify): first -> first_y
11902         (workAreaButtonPress): first -> first_y
11903         (checkInsetHit): first -> first_y
11904         (cursorPrevious): first -> first_y
11905         (cursorNext): first -> first_y
11906         (Dispatch): add buffer_->params to severl inset contructors
11907
11908 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * lyxlayout.C (Read): remove some debug info that I forgot.
11911
11912         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11913         clean up the code slightly.
11914         (makeLinuxDocFile): ditto
11915         (makeDocBookFile): ditto
11916
11917         * text2.C: layout as string
11918
11919         * text.C: layout as string
11920
11921         * paragraph_pimpl.C: layout as string
11922
11923         * paragraph.[Ch]: layout as string
11924
11925         * lyxtextclasslist.[Ch]: layout as string
11926
11927         * lyxtextclass.[Ch]: layout as string
11928
11929         * lyxtext.h: layout as string
11930
11931         * lyxlayout.[Ch]: layout as string
11932
11933         * lyx_cb.C: layout as string
11934
11935         * bufferview_funcs.C: layout as string
11936
11937         * bufferparams.C: layout as string
11938
11939         * buffer.C: layout as string
11940
11941         * LyXView.[Ch]: layout as string
11942
11943         * LaTeXFeatures.[Ch]: layout as string
11944
11945         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11946
11947         * BufferView_pimpl.C: change current_layout to string, remove
11948         lyx::layout_type.
11949         (Dispatch):
11950         (smartQuote):
11951         (insertInset):
11952         (workAreaButtonRelease): layout as string
11953
11954         * BufferView2.C (unlockInset): adjust
11955
11956         * vspace.C (asLatexCommand): use an explict temp variable.
11957
11958 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * Makefile.am: use FRONTEND_*
11961
11962 2002-03-01  Juergen Vigna  <jug@sad.it>
11963
11964         * tabular.C (SetWidthOfMulticolCell): changed to something better
11965         I hope but still work in progress.
11966         (recalculateMulticolumnsOfColumn): renamed function from
11967         recalculateMulticolCells as it is more appropriate now.
11968         (SetWidthOfCell): calculate multicols better.
11969
11970 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11971
11972         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11973
11974         * lyxfunc.C (processKeySym): print sequence also if it is
11975         `deleted' (complete)
11976
11977         * kbsequence.C (print): print sequence even if it is deleted
11978         (complete would be a better word, actually).
11979
11980         * lyxfunc.C (dispatch): print complete options after a prefix key
11981
11982         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11983
11984 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11985
11986         * text2.C (setCharFont): eliminate setCharFont code duplication.
11987
11988 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11989
11990         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11991         LFUN_TABULAR_FEATURE (bug #177)
11992
11993 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11994
11995         * Makefile.am: remove figure.h
11996
11997 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11998
11999         * Bufferview_pimpl.C:
12000         * CutAndPasteC:
12001         * LaTeX.C:
12002         * LyXSendto.C:
12003         * buffer.C:
12004         * bufferlist.C:
12005         * converter.C:
12006         * language.C:
12007         * lyxfunc.C:
12008         * lyxvc.C:
12009         * paragraph.C:
12010         * text.C:
12011         * text2.C: remove #include "lyx_gui_misc.h".
12012
12013         * LaTeX.C: added #include <cstdio>
12014
12015 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12018         that the paragraph following this one can have.
12019
12020         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12021
12022         * vspace.C (asLatexCommand): fix bogus gcc warning
12023
12024         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12025
12026 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12027
12028         * text2.C (setLayout): get rid of redundant code
12029
12030 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12031
12032         * text2.C (incDepth): make sure depth cannot be increased beyond
12033         reasonable values.
12034
12035 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12036
12037         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12038         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12039
12040         * PainterBase.h (image):
12041         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12042         a LyXImage const *.
12043
12044 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * BufferView.C:
12047         * BufferView.h:
12048         * BufferView_pimpl.C:
12049         * BufferView_pimpl.h:
12050         * LaTeXFeatures.C:
12051         * LyXAction.C:
12052         * LyXView.C:
12053         * Makefile.am:
12054         * UpdateList.h:
12055         * UpdateList.C:
12056         * buffer.C:
12057         * figure.h:
12058         * figureForm.C:
12059         * figureForm.h:
12060         * figure_form.C:
12061         * figure_form.h:
12062         * lyx_cb.C:
12063         * lyx_gui.C:
12064         * lyx_gui_misc.C:
12065         * lyxfunc.C:
12066         * sp_base.h:
12067         * sp_ispell.h:
12068         * sp_pspell.h:
12069         * sp_spell.C: remove fig inset, and the crap house of
12070           cards that follows it
12071
12072 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * Makefile.am:
12075         * lyxserver.C:
12076         * os2_defines.h:
12077         * os2_errortable.h:
12078         * nt_defines.h: move .h into support/
12079
12080         * vms_defines.h: remove
12081
12082         * WorkArea.C: add space in debug output
12083
12084         * text2.C:
12085         * paragraph.C:
12086         * buffer.C: add WITH_WARNINGS
12087
12088         * vc-backend.h:
12089         * vc-backend.C:
12090         * bufferlist.C: s/retrive/retrieve/, add docs
12091
12092         * vspace.h:
12093         * vspace.C:
12094         * kbmap.h:
12095         * lyxlength.h:
12096         * lyxgluelength.h:
12097         * length_common.h:
12098         * chset.h:
12099         * chset.C: add docs
12100
12101         * lyxgui.C: add ID to X error handler
12102
12103         * lyxtestclass.c: fix typo
12104
12105 2002-02-26  Juergen Vigna  <jug@sad.it>
12106
12107         * tabular_funcs.C (write_attribute): changed so that some default
12108         attributes are not written at all.
12109         (getTokenValue): set default values before trying to read the
12110         value so we have the return value always set as default if we don't
12111         find the token we search for.
12112
12113         * tabular.C (Write): write bools as bools not as strings!
12114
12115 2002-02-22  Juergen Vigna  <jug@sad.it>
12116
12117         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12118         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12119
12120         * text.C (leftMargin): don't add an indent for paragraphs inside
12121         tabular cells (fix #208).
12122
12123 2002-02-21  José Matos  <jamatos@fep.up.pt>
12124
12125         * tabular.C (docBook): fixed support for long tables.
12126
12127 2002-02-20  Juergen Vigna  <jug@sad.it>
12128
12129         * text2.C (getFont): get the drawing font of the Inset if this
12130         paragraph is inside an inset (only important for InsetERT for now).
12131
12132         * buffer.C (insertErtContents): use new lanugage params in ERT
12133         constructor.
12134
12135         * CutAndPaste.C: commenting out seemingly uneeded code.
12136
12137 2002-02-19  Allan Rae  <rae@lyx.org>
12138
12139         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12140         Iterators might be simple to use but they also get invalidated.
12141         (removeAutoInsets): renamed saved cursor tracking variables and added
12142         some comments to clarify what everything does.
12143
12144 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12145
12146         * Chktex.C:
12147         * LaTeX.C:
12148         * LyXSendto.C:
12149         * converter.C:
12150         * lyx_cb.C:
12151         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12152         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12153
12154         * lyxfunc.C:
12155         * vc-backend.h: remove #include "support/syscall.h"
12156
12157         * LaTeX.C:
12158         * LyXSendto.C:
12159         * converter.C: rearrange #includes in Lars' approved fashion.
12160
12161         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12162         forward declare class Timeout in the header file.
12163
12164         * XFormsView.C: changes due to the above.
12165
12166         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12167         similar to LyXView.
12168
12169         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12170         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12171
12172 2002-02-18  José Matos  <jamatos@fep.up.pt>
12173
12174         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12175         insets contents.
12176
12177 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12178
12179         * a lot of small ws changes
12180         * add a lot of using std::XXX
12181         * use std construcs some places where approp.
12182         * use some exisint stuff from lyxfunctional where approp.
12183         * Make file changes to use partial linking (lets test this now...)
12184
12185 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         * Chktex.C:
12188         * buffer.C:
12189         remove #include "support/syscontr.h" as it's redundant. Always has been.
12190
12191         * Chktex.C:
12192         * LaTeX.C:
12193         * LyXSendto.C:
12194         * converter.C:
12195         * lyx_cb.C:
12196         * vc-backend.C:
12197         change Systemcalls::System to Systemcalls::Wait and
12198         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12199         No change of functionality, just reflects the stripped down Systemcalls
12200         class.
12201
12202 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * debug.[Ch]: add a GRAPHICS type to the enum.
12205
12206 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12207
12208         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12209
12210         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12211         there is an inset.
12212
12213 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12214
12215         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12216         match the changes below.
12217
12218         * text2.C (toggleInset): if there is not editable inset at cursor
12219         position, try to see if cursor is _inside_ a collapsable inset
12220         and close it.
12221
12222 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12225         document menu has a nice checkbox
12226
12227 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12228
12229         * lyxlength.C (asLatexString): change PW to output as percent of
12230         \textwidth.
12231
12232         * lengthcommon.C: change '%' to 't%'
12233
12234         * lyxfunc.C (dispatch): a few comments from Martin
12235
12236 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * WorkArea.h:
12239         * WorkArea.C:
12240         * BufferView_pimpl.h:
12241         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12242           the X selection.
12243
12244 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12245
12246         * vspace.C (inPixels): fix compiler warning
12247
12248 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * lyxfunc.C (getStatus): fix status message for disabled commands.
12251
12252 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12253
12254         * BufferView_pimpl.C: fix crash on close buffer
12255         during selection (#227)
12256
12257 2002-01-27  Herbert Voss  <voss@lyx.org>
12258
12259         * buffer.C: link old Figure to new graphic inset
12260
12261 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12262
12263         * FontLoader.C (getFontinfo): Change the latex font names in order
12264         to match the names of type1inst.
12265
12266 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12267
12268         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12269
12270         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12271         (extchanged): ditto
12272         (ext_exist): ditto
12273         (remove_files_with_extension): ditto
12274         (remove_file): ditto
12275         (write): ditto
12276
12277         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12278         document is smaller than the work area height. Do not initialize
12279         static variables to 0.
12280
12281 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12284
12285         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12286         LFUN_LAYOUT_PARAGRAPHS.
12287
12288         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12289         tabular. It is possible to provide a possible cell, which will
12290         typically be the actcell from the corresponding insettabular
12291
12292         * lyxfunc.C (getStatus): small cleanup; disable
12293         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12294         true
12295
12296 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12299
12300         * paragraph.C (startTeXParParams):
12301         (endTeXParParams): new methods. The LaTeX code to
12302         start/end paragraph formatting
12303         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12304         empty (fixes bug #200)
12305
12306         * vspace.C (inPixels): adapt to the change below
12307         (inPixels): [later] more cleanups (remove unused variables)
12308
12309         * lyxlength.C (inPixels): change to use a width and a height as
12310         parameter.
12311
12312 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12313
12314         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12315         Replaced with \paperwidth
12316
12317         * DepTable.C (insert): add std:: qualifier
12318
12319 2002-01-18  Allan Rae  <rae@lyx.org>
12320
12321         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12322         updated also?
12323
12324         * text.C (drawInset): Turned out I didn't know enough about how
12325         rebreaking worked.  This fixes most of the redraw problems.  I see
12326         an occasional cursor trail when a line is broken now and the cursor
12327         placement can seem out by a few pixels also after a rebreak.
12328
12329 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12330
12331         * buffer.C (parseSingleLyXformat2Token): update because minipage
12332         width is now a LyXLength
12333
12334         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12335
12336         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12337         math insets
12338
12339 2002-01-17  Juergen Vigna  <jug@sad.it>
12340
12341         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12342
12343         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12344         is set correctly and the inset is updated correctly.
12345
12346 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12347
12348         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12349         the beginning of the loop.
12350
12351 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12352
12353         * lyxrc.C: improve help for use_scalable_fonts
12354
12355 2002-01-17  Allan Rae  <rae@lyx.org>
12356
12357         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12358
12359 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12360
12361         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12362         make sure to set their inset_owner to the right value (bug #171)
12363
12364 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12365
12366         * DepTable.h
12367         * DepTable.C: Implement mtime checking to reduce time spent doing
12368         CRCs.
12369
12370 2002-01-16  Juergen Vigna  <jug@sad.it>
12371
12372         * tabular.C (GetAdditionalHeight): one of error fixed.
12373
12374         * lyxrc.C (output): small fix in writing use_pspell.
12375
12376 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12377
12378         * sp_base.h: #include LString.h
12379
12380 2002-01-16  Allan Rae  <rae@lyx.org>
12381
12382         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12383         Can someone check this please?
12384
12385         * text.C (drawInset): It was possible that p.row would be removed by
12386         breakAgainOneRow upsetting a few other settings.  There may be another
12387         small tweak possible by setting need_break_row = 0 when p.row has been
12388         removed but I don't know enough about the logic here.
12389
12390 2002-01-15  Allan Rae  <rae@lyx.org>
12391
12392         * text.C (insertChar): removed conditional truism.
12393
12394         * BufferView2.C (removeAutoInsets): More tweaks.
12395         cur_par_prev could be a stray pointer.  Check for trailing empty line
12396         in case last line was cur_par and only had an error inset on it.
12397
12398 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12399
12400         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12401         absolute
12402
12403         * vc-backend.C (most methods):
12404         * exporter.C (Export):
12405         * converter.C (convert):
12406         (runLaTeX):
12407         * LyXSendto.C (SendtoApplyCB):
12408         * lyxfunc.C (dispatch):
12409         (menuNew):
12410         (open):
12411         (doImport):
12412         * lyx_cb.C (AutoSave):
12413         (InsertAsciiFile):
12414         * BufferView_pimpl.C (MenuInsertLyXFile):
12415         * buffer.C (runChktex): use Buffer::filePath().
12416
12417         * buffer.h: rename filename to filename_; rename filepath to
12418         filepath_ and make it private
12419         (filePath): new method
12420
12421         * buffer.C (writeFile): use fileName()
12422         (getLatexName):
12423
12424         * lyx_main.C (init): fix starting  of LyX when the binary is a
12425         link from so,ewhere else.
12426
12427         * minibuffer.C: include <cctype> for isprint
12428
12429 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12430
12431         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12432         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12433         name clash with InsetCollapsable's width function.
12434
12435 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12436
12437         * lastfiles.C: include <iterator>
12438
12439 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12442         std::count.
12443
12444         * buffer.C (makeLaTeXFile): ditto.
12445         Also make loop operation more transparent.
12446
12447 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12448
12449         * ToolbarDefaults.C: remove trailing comma closing namespace.
12450
12451         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12452
12453         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12454         as in WorkArea.
12455
12456         * trans.C (Load): comment out unused variable, allowed.
12457
12458 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12459
12460         * minibuffer.[Ch] (append_char): new method to recieve input from the
12461         drop-down completion browser. If a key was pressed, then recieve this
12462         char and append it to the existing string.
12463         (peek_event): modify the positioning data passed to the completion
12464         browser so that it can be placed above the minibuffer rather than below.
12465 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12466
12467         * LyXAction.C (init): alloe error-next for readonly documents.
12468
12469         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12470         count.
12471
12472 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * bufferlist.C (readFile): create the buffer _after_ checking that
12475         the file exists.
12476
12477         * lyxfunc.C (verboseDispatch): fix handling of arguments
12478
12479         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12480
12481         * lyxrc.C: use string::erase() instead of initializing to "".
12482
12483
12484 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * BufferView_pimpl.h:
12487         * BufferView_pimpl.C:
12488         * WorkArea.h:
12489         * WorkArea.C:
12490         * text2.C: tell X when we have made a selection for copying
12491
12492 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * BufferView_pimpl.C (MenuInsertLyXFile):
12495         * lyxfunc.C (menuNew):
12496         (open):
12497         (doImport): add shortcuts to directory buttons
12498
12499         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12500         open a float)
12501
12502         * lyxfunc.C (setStatusMessage):
12503         (getStatusMessage): new methods
12504         (getStatus):use setStatusMessage instead of setErrorMessage
12505         (dispatch): when function is disabled, set error message here
12506         [instead of in getStatus previously]
12507
12508         * BufferView_pimpl.C (workAreaButtonRelease): update
12509         toolbar/menubar here too.
12510
12511 2002-01-13  Allan Rae  <rae@lyx.org>
12512
12513         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12514         Now seems indestructible.  Remaining task is to audit all other
12515         code affected by deleteEmptyParagraphMechanism.  One small quirk
12516         left is that an empty document with an error in the preamble can
12517         be made to report an error but no error box appears.  I don't know
12518         where it goes.
12519         (removeAutoInsets): Improved comments.
12520
12521 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12522
12523         * Thesaurus.h:
12524         * Thesaurus.C: update for Aiksaurus 0.14
12525
12526 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * text2.C (firstParagraph): removed member function, all uses
12529         replaces with ownerParagraph
12530         (redoParagraphs): here
12531         (updateInset): here
12532         (toggleAppendix): here
12533         * BufferView2.C (insertErrors): here
12534         (setCursorFromRow): here
12535
12536 2002-01-13  Allan Rae  <rae@lyx.org>
12537
12538         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12539         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12540         There is still a way to segfault this although you may have to do this
12541         multiple times: Have an InsetERT with an unknown command in it.
12542         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12543         <down-arrow>, <Enter> again, View->DVI, BANG!
12544
12545         * text2.C (setCursor):
12546         (deleteEmptyParagraphMechanism):
12547         * lyxtext.h (setCursor):
12548         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12549         Making use of the return value may help fix other bugs.
12550
12551 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12552
12553         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12554
12555         * LyXView.C (updateMenubar): call MenuBar::update here
12556         (updateToolbar): but not here
12557         (showState): do not update toolbar/menubar
12558
12559         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12560         should need to care about that.
12561
12562         * lyxfunc.C (verboseDispatch): simplify a bit
12563         (getStatus): have a version which takes a pseudoaction, and
12564         another which requires a (kb_action,string).
12565
12566         * LyXAction.C (retrieveActionArg): make it work also when action
12567         is not a pseudo-action.
12568         (getActionName): simplify a bit
12569         (helpText):
12570
12571 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12572
12573         * lyxfunc.C (verboseDispatch): new families of methods with
12574         several ways to specify a command and a bool to indicate whether
12575         the command name and shortcut should be displayed in minibuffer
12576         (eventually, we could extend that to a finer bitmask like
12577         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12578         (dispatch): the pristine dispatch command which just, well,
12579         dispatchs! Note it still sets its result to minibuffer; I'm not
12580         sure we want that.
12581
12582         * lyxfunc.h: remove setHintMessage
12583
12584         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12585
12586 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12587
12588         * BufferView_pimpl.C (specialChar): delete new inset if we have
12589         not been able to insert it.
12590
12591         * kbmap.C: revert to using int instead of kb_action, since all we
12592         are dealing with is pseudo-actions.
12593
12594         * LyXAction.C (searchActionArg): change to return int instead of
12595         kb_action, since the result is a pseudoaction.
12596
12597 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12598
12599         * buffer.C (insertErtContents): Fix (partially) the font bug.
12600
12601 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12602
12603         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12604         as the other one is broken on my machine!
12605
12606 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12607
12608         * commandtags.h:
12609         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12610
12611 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12612
12613         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12614         reflect their actual use. Provide compatibility code for older lyxrc
12615         files.
12616
12617         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12618         FL_NORMAL_STYLE.
12619         change names of popup font variables in line with the changes to lyxrc.C
12620
12621 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12622
12623         * buffer.C (asciiParagraph): avoid outputing a word twice after
12624         an inset.
12625
12626         * lyxrc.C (getDescription): document that document_path and
12627         template_path can be empty.
12628
12629 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12630
12631         * LaTeXFeatures.C (getMacros):
12632         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12633
12634         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12635
12636         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12637         getPackages.
12638         (getPackages): rename feature "floats" to "float". Use an array to
12639         iterate over 'simple' features (i.e. just a \usepackage). Add
12640         handling of "amsmath" (renamed from "amsstyle").
12641
12642 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12643
12644         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12645         features list.
12646
12647 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12648
12649         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12650         FuncStaus::FuncStatus & FuncStaus::some_method().
12651
12652 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12653
12654         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12655         of the func_satus stuff. Edited and massaged in various ways by
12656         JMarc.
12657
12658         * lyxfunc.C (getStatus): use FuncStatus
12659
12660 2002-01-08  Juergen Vigna  <jug@sad.it>
12661
12662         * text.C (nextBreakPoint): use function Inset::isChar().
12663
12664         * paragraph.C (TeXOnePar): use function
12665         Inset::forceDefaultParagraphs.
12666
12667         * buffer.C (latexParagraphs): use function
12668         Inset::forceDefaultParagraphs.
12669
12670 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12671
12672         * lyx_gui.C (init): set the style of the menu popups to
12673         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12674
12675 2002-01-07  Juergen Vigna  <jug@sad.it>
12676
12677         * text.C (setHeightOfRow): small fix
12678         (prepareToPrint): don't look at alignment if we don't have the place
12679         for doing it.
12680
12681 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12682
12683         * box.C: New file. Move the Box methods and functions out of box.h,
12684         following Lars' suggestion.
12685
12686 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * box.h: #include "support/LOstream.h", needed for inlined function.
12689
12690         * lyxtextclass.C:
12691         * lyxtextclasslist.C: added some using std declarations.
12692
12693 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * box.h: make signed dimensions to allow insets wider than
12696           the screen (bug #162)
12697
12698         * BufferView_pimpl.C: add some insetHit debug
12699
12700 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * vc-backend.C: add FIXME
12703
12704 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12705
12706         * lyxfunc.C (getStatus): enable code for showing math font status
12707         in toolbar/menu.
12708
12709 2002-01-07  Juergen Vigna  <jug@sad.it>
12710
12711         * text.C (nextBreakPoint): removed debug output not needed anymore.
12712
12713 2002-01-06  Juergen Vigna  <jug@sad.it>
12714
12715         * text.C (nextBreakPoint): fixed up this function we had this bug
12716         since ever but now hopefully we break row better.
12717         (insertChar): we have to check if an inset is the next char as it
12718         could now happen that a large inset is causing a break.
12719
12720 2002-01-05  Juergen Vigna  <jug@sad.it>
12721
12722         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12723         if it doesn't like to be drawed.
12724
12725 2002-01-04  Juergen Vigna  <jug@sad.it>
12726
12727         * BufferView2.C (lockInset): forgot to set a cursor.
12728
12729         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12730
12731 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12732
12733         * FormMathsPanel.C:
12734         * FormMathsPanel.h
12735         * MathsSymbols.C:
12736         * form_maths_panel.C:
12737         * form_maths_panel.h:
12738         * form_maths_panel.fd: implemented sub- and super- buttons in math
12739         panel.
12740
12741         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12742         (or ^ space) to be used as in TeX (req'd by André).
12743
12744         * lyxfunc.C: Allow ^ and _ again to be used both as
12745         super/subscript (mathed) and as themselves (in text).
12746
12747 2002-01-03  Allan Rae  <rae@lyx.org>
12748
12749         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12750         "LyX" or the filename of the current buffer if it has one.  This is a
12751         modified form of John Levon's patch.
12752
12753         * XFormsView.C (setWindowTitle): also set icon title.
12754
12755         * LyXView.h (setWindowTitle): signature changed.
12756         * XFormsView.h (setWindowTitle): ditto.
12757
12758 2002-01-02  Juergen Vigna  <jug@sad.it>
12759
12760         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12761
12762 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * screen.C (topCursorVisible): introduce a temp var for
12765         text->cursor.row(), handle the case where this row is null. (kindo
12766         hachish)
12767
12768         * text2.C (setCursor): add a couple of asserts.
12769
12770         * paragraph.h (inset_iterator): add -> operator
12771
12772         * paragraph.[Ch] (autoDeleteInsets): remove member function
12773
12774         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12775         cursor pos correctly and handle inset deletion by itself.
12776         (insertErrors): move iterator declaration out of for expression
12777
12778         * lyxtextclass.C: add <algorithm>
12779
12780         * Makefile.am: added the new files to sources, removed layout.C
12781
12782         * layout.C: removed file
12783
12784         * layout.h: remove LYX_DUMMY_LAYOUT
12785
12786         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12787         layout.
12788
12789         * lyxlayout.[Ch]:
12790         * lyxtextclass.[Ch]:
12791         * lyxtextclasslist.[Ch]: new files
12792
12793         * include order changes to a lot of files, also changes because of
12794         the six new files.
12795
12796 2001-12-27  Juergen Vigna  <jug@sad.it>
12797
12798         * buffer.C (asciiParagraph): more fixes.
12799
12800         * tabular.C (ascii): make ascii export support export of only the
12801         data separated by a column-delimiter.
12802         (ascii): better support for ascii export.
12803
12804         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12805
12806 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12807
12808         * tabular_funcs.C: use a "using std::getline" instead of the
12809         previous fix from Angus (necessary for cxx + lyxstring)
12810
12811 2001-12-24  Juergen Vigna  <jug@sad.it>
12812
12813         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12814
12815         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12816         problems. First check a minipage also if we have some ert-contents
12817         (not only on par->size(), second set the right depth of the paragraph
12818         on the relink to the root-paragraph-list!
12819
12820         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12821         which then did not anymore update the main paragraphs on undo/redo!
12822
12823 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12826         code. Support all font-changing funcs (even those which are not in
12827         menu currently). Support for reporting font settings in
12828         mathed (disabled until Andre provides a function on mathed's side).
12829
12830         * func_status.h (toggle): small helper function to set toggle
12831         state on a flag.
12832
12833 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12834
12835         * tabular_funcs.C: getline -> std::getline
12836
12837 2001-12-21  Juergen Vigna  <jug@sad.it>
12838
12839         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12840         accessed and could be 0 (I couldn't generate this but it seems
12841         Michael could!).
12842
12843 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12846         * tabular_funcs.h: here and include iosfwd
12847
12848 2001-12-20  Juergen Vigna  <jug@sad.it>
12849
12850         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12851         inside inset but undo_par was.
12852
12853 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12854
12855         * Thesaurus.C: always include <config.h> in sources.
12856
12857         * Painter.h:
12858         * lyxlookup.h:
12859         * box.h: do not include <config.h> in header files
12860
12861         * text.C (paintLastRow): remove unused variable
12862
12863         * text.C (transformChar):
12864         (insertChar):
12865         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12866
12867         * Painter.C (text):
12868         * font.C (width): rewrite to use uppercase() instead of
12869         islower/toupper.
12870
12871         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12872
12873 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * lyxfind.C: clean up of find failure position change
12876
12877 2001-12-20  Juergen Vigna  <jug@sad.it>
12878
12879         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12880
12881         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12882         (TeXRow): added to LaTeX a single tabular row.
12883         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12884         (Latex): simplified and finally good LT-h/f support.
12885         (various_functions): just small adaptions for LT-h/f support.
12886
12887         * tabular_funcs.[hC]: added and moved here all not classfunctions
12888         of LyXTabular.
12889
12890 2001-12-19  Juergen Vigna  <jug@sad.it>
12891
12892         * tabular.[Ch]: better support for longtabular options (not finished
12893         yet!)
12894
12895 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12896
12897         * text.C (paintLastRow): use the label font instead of the font of
12898         the last character to compute the size of *_BOX. This makes more
12899         sense and avoids a crash with empty paragraphs.
12900         Use Painter::rectangle to draw EMPTY_BOX.
12901
12902 2001-12-19  Juergen Vigna  <jug@sad.it>
12903
12904         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12905         the paragraphs if the replaced paragraph is not the first one!
12906         Tried to delete not used paragraphs but does not work yet so for
12907         now it's inside #ifdef's and by default off!
12908
12909 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * MenuBackend.C: include "lyx_main.h" instead of declaring
12912         lastfiles (actually was declared as LastFiles* instead of a
12913         scoped_ptr).
12914
12915 2001-12-17  Juergen Vigna  <jug@sad.it>
12916
12917         * tabular.C (AppendColumn): applied John's fix
12918
12919 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12920
12921         * BufferView.h:
12922         * BufferView.C:
12923         * BufferView_pimpl.h:
12924         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12925
12926         * Makefile.am:
12927         * box.h: new start of class for above
12928
12929         * lyxfunc.C: ignore space-only minibuffer dispatches.
12930           Show the command name when it doesn't exist
12931
12932         * minibuffer.C: don't add empty lines to the history
12933
12934         * minibuffer.C: add a space on dropdown completion
12935
12936 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * text.C: fix line above/below drawing in insets
12939
12940 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12941
12942         * lyxlength.C (LyXLength): Initialize private variables.
12943
12944 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12945
12946         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12947         when inserting error insets.
12948
12949 2001-12-13  Juergen Vigna  <jug@sad.it>
12950
12951         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12952         actually sometimes the before-paragraph.
12953         (setUndo): don't clear the redostack if we're not actually undoing!
12954
12955 2001-12-06  Juergen Vigna  <jug@sad.it>
12956
12957         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12958         and fixed redoing of main paragraph, so we can use it now ;)
12959
12960         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12961
12962 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12963
12964         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12965         Juergen's request
12966
12967 2001-12-13  André Pönitz <poenitz@gmx.net>
12968
12969         * undostack.[Ch]:
12970         * undo_func.C: minor cleanup
12971
12972 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12973
12974         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12975         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12976         font in urw-fonts package which is marked as -urw-fontspecific and
12977         does not work (incidentally, changing the encoding in the
12978         fonts.dir of this package to -adobe-fontspecific fixes the
12979         problem).
12980
12981         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12982         is a crash when undoing first paragraph (Juergen, please take a
12983         look). THis does not mean the undo fix is wrong, just that it
12984         uncovers problems.
12985
12986         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12987         the (Paragraph*) version when needed instead of duplicating the
12988         code.
12989
12990         * text.C (workWidth): use Inset::parOwner to find out where the
12991         inset has been inserted. This is a huge performance gain for large
12992         documents with lots of insets. If Inset::parOwner is not set, fall
12993         back on the brute force method
12994
12995         * paragraph_pimpl.C (insertInset):
12996         * paragraph.C (Paragraph):
12997         (cutIntoMinibuffer): set parOwner of insets when
12998         inserting/removing them
12999
13000         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13001
13002 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13003
13004         * commandtags.h:
13005         * LyXAction.C:
13006         * lyx_main.C:
13007         * lyxfunc.C:
13008         * mathed/formulabase.C:
13009         * mathed/math_cursor.[Ch]:
13010         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13011
13012
13013 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * lyxlength.[Ch] (operator!=): new function
13016
13017 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13018
13019         * text.C (workWidth): use Inset::parOwner to find out where the
13020         inset has been inserted. This is a huge performance gain for large
13021         documents with lots of insets. If Inset::parOwner is not set, fall
13022         back on the brute force method
13023
13024         * paragraph_pimpl.C (insertInset):
13025         * paragraph.C (Paragraph):
13026         (cutIntoMinibuffer): set parOwner of insets when
13027         inserting/removing them
13028
13029         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13030
13031 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13032
13033         * tabular-old.C (getTokenValue):
13034         * tabular.C (getTokenValue):
13035         (write_attribute): new versions for LyXLength
13036         (everywhere): adjust the use of widths
13037
13038         * tabular.h: change the type of widths from string to LyXLength
13039
13040 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13041
13042         * paragraph.C: fixed missing line number count when exporting
13043         Environments to LaTeX file
13044
13045         * buffer.C: added informational message for checking line numbers.
13046
13047 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13048
13049         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13050         paragraph, do the 'double space' part, but not the 'empty
13051         paragraph' one.
13052
13053         * text.C (workWidth): small optimization
13054         (getLengthMarkerHeight): use minimal size for negative lengths.
13055
13056 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13057
13058         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13059
13060         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13061
13062 2001-12-11  André Pönitz <poenitz@gmx.net>
13063
13064         * FontLoader.C:
13065         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13066
13067 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13068
13069         * text2.C: keep selection on a setFont()
13070
13071 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13072
13073         * lyx_cb.C: another bv->text misuse, from insert label
13074
13075 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13076
13077         * kbsequence.h:
13078         * kbsequence.C: re-instate nmodifier mask
13079
13080 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13081
13082         * lyx_main.h: make lyxGUI private.
13083
13084 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * lyxfind.C: place the cursor correctly on failed search
13087
13088 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13089
13090         * text.C (getLengthMarkerHeight): for small heights, the arrows
13091         are not always on top/bottom of the text
13092         (drawLengthMarker): smaller arrows; take the left margin in
13093         account; draw also vfills.
13094         (paintFirstRow):
13095         (paintLastRow): remove special code for vfill and standard spaces,
13096         since everything is handled in drawLengthMarker now.
13097
13098 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13099
13100         * buffer.C (insertErtContents): try to handle font and language
13101         interaction a bit better.g
13102
13103         * ColorHandler.C (updateColor): change the hash to cover the whole
13104         LColor enum, ws cleanup
13105         (getGCLinepars): ditto
13106         (getGCLinepars): only lookup in the linecache once.
13107
13108 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13109
13110         * iterators.C (operator++): Make the iterator more robust
13111
13112         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13113         (John's patch)
13114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13115
13116 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * lyxtext.h:
13119         * text.C: better added space drawing
13120
13121 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13122
13123         * LyXView.C:
13124         * BufferView2.C: fix layout combo update on inset unlock
13125
13126 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * Makefile.am: don't compile unused files
13129
13130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13131
13132         * lyxfunc.C:
13133         * commandtags.h:
13134         * LyXAction.C: remove old LFUN_LAYOUTNO
13135
13136 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13137
13138         * paragraph_pimpl.h:
13139         * paragraph_pimpl.C: isTextAt() doesn't need font param
13140
13141 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * lyxlex.h:
13144         * lyxlex.C: little cleanup
13145
13146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13147
13148         * BufferView_pimpl.C: fix insertAscii for insets
13149
13150 2001-12-05  Juergen Vigna  <jug@sad.it>
13151
13152         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13153         set the right font on the "multi" paragraph paste!
13154
13155 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13156
13157         * trans_decl.h:
13158         * trans_mgr.[Ch]:
13159         * trans.[Ch]:
13160         * lyxgluelength.C:
13161         * lyxlength.C: remove out-commented code.
13162
13163         * BufferView_pimpl:
13164         * CutAndPaste.C:
13165         * DepTable.C:
13166         * buffer.C:
13167         * chset.C:
13168         * lastfiles.C:
13169         * lyxlex.C:
13170         * lyxlex_pimpl.C:
13171         * lyxserver.C:
13172         * screen.C:
13173         * tabular-old.C:
13174         * tabular.C:
13175         * text.C:
13176         * trans_mgr.C:
13177         * vc-backend.C: change "while(" to "while ("
13178
13179         * lyxlength.[Ch]: add zero function to check if length is zero or
13180         not
13181         * lyxgluelength.C: use it
13182
13183 2001-12-05  Allan Rae  <rae@lyx.org>
13184
13185         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13186         Works for 2.95.3, from what I understand of Garst's reports this should
13187         work for other g++ versions.  We're screwed if the abs(int) definition
13188         changed between bugfix releases of gcc.
13189
13190 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * text.C: fix chapter label offset !
13193
13194 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13195
13196         * lyxtext.h:
13197         * text.C: fix hfill at end of line, clean up
13198
13199 2001-12-04  Juergen Vigna  <jug@sad.it>
13200
13201         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13202         that we force an update of the inset and it's owners if neccessary.
13203
13204 2001-12-03  Juergen Vigna  <jug@sad.it>
13205
13206         * text.C (rowLast): simplified code
13207
13208 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * lyxfunc.C: fix show options on timeout
13211
13212 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13213
13214         * screen.C (topCursorVisible): scroll half a page when the cursor
13215         reached top of bottom of screen
13216
13217 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * minibuffer.C: deactivate on loss of focus
13220
13221 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13222
13223         * vspace.[Ch] (operator!=): add operator.
13224
13225 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13226
13227         * BufferView_pimpl.C: refuse to open an inset when
13228         there's a selection.
13229
13230 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13231
13232         * BufferView_pimpl.C: allow to click on RHS of full row insets
13233
13234 2001-11-30  Juergen Vigna  <jug@sad.it>
13235
13236         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13237         insets for undo reasons.
13238
13239 2001-11-28  André Pönitz <poenitz@gmx.net>
13240
13241         * vspace.[Ch]: cosmetical changes
13242
13243 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * LyXAction.h:
13246         * LyXAction.C:
13247         * lyxfunc.h:
13248         * lyxfunc.C:
13249         * kbmap.h:
13250         * kbmap.C:
13251         * lyxrc.C:
13252         * kbsequence.h:
13253         * kbsequence.C: part re-write of old kb code
13254
13255         * Painter.C:
13256         * WorkArea.C: remove Lgb_bug_find_hack
13257
13258 2001-11-30  José Matos <jamatos@fep.up.pt>
13259
13260         * buffer.C (makeDocBookFile): add a comment to point a hack.
13261         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13262         Fixed a double write of labels.
13263
13264 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13265
13266         * LaTeX.C:
13267         * LaTeX.h Fixed bug in LaTeX class where it would not
13268         re-run latex if no depfiles were changed, but the .dvi was removed.
13269
13270 2001-11-28  André Pönitz <poenitz@gmx.net>
13271
13272         * all the files from the change on 2001/11/26:
13273         use lyx::layout_type instead of LyXTextClass::size_type
13274         use lyx::textclass_type instead of LyXTextClassList::size_type
13275
13276 2001-11-29  Juergen Vigna  <jug@sad.it>
13277
13278         * text.C: added support for paragraph::isFreeSpacing()
13279
13280         * buffer.C: same as above
13281
13282         * paragraph.h: inserted isFreeSpacing() function to enable
13283         FreeSpacing inside InsetERT.
13284
13285         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13286         of the paragraph's in the cut/copy buffer to 0!
13287
13288         * text2.C (removeRow): remove the assert as it can!
13289
13290         * lyxtext.h: added helper function firstRow returning firstrow and
13291         made firstrow private again.
13292
13293         * BufferView2.C (lockInset): don't relock if we're already locked!
13294
13295         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13296         the only paragraph.
13297         (removeRow): added Assert::(firstrow)
13298
13299         * debug.C: forgot to add INSETTEXT here.
13300
13301 2001-11-28  Juergen Vigna  <jug@sad.it>
13302
13303         * sp_spell.C (initialize): changed error text to more general
13304         spellchecker command use (not only ispell!)
13305
13306         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13307
13308         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13309
13310 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * vspace.C: initialise lyxgluelength on failure
13313
13314 2001-11-28  Allan Rae  <rae@lyx.org>
13315
13316         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13317         declaration & definition that looks like a function declaration.
13318
13319 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13320
13321         * BufferView2.C (copy):
13322         (copyEnvironment): do not clear the selection when doing a copy.
13323
13324         * text.C (paintFirstRow): compilation fix
13325
13326 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13327
13328         * tabular.C (Latex): correct line count when writing latex.
13329
13330 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13331
13332         * paragraph_pimpl.h:
13333         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13334           bug a bit
13335
13336 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13337
13338         * text.C:
13339         * LColor.h:
13340         * LColor.C: change vfillline->added_space
13341
13342         * text.C: add markers and text for added space
13343
13344         * vspace.C: fix comment
13345
13346 2001-11-28  André Pönitz <poenitz@gmx.net>
13347
13348         * paragraph.C: whitespace changes
13349         * all the other files from the change on 2001/11/26:
13350         change *::pos_type into lyx::pos_type
13351
13352 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13353
13354         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13355         language of the document when inserting error insets.
13356
13357 2001-11-26  André Pönitz <poenitz@gmx.net>
13358
13359         * BufferView_pimpl.[Ch]:
13360         *       CutAndPaste.C:
13361         * buffer.[Ch]:
13362         * lyxcursor.[Ch]:
13363         * lyxfind.C:
13364         * lyxfunc.C:
13365         * lyxrow.[Ch]:
13366         * paragraph.[Ch]:
13367         * paragraph_pimpl.[Ch]:
13368         * sp_spell.C:
13369         * text.C:
13370         * text2.C: reduce header dependencies, introduce type for positions
13371
13372 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13373
13374         * <various>: change to use Alert.h
13375
13376 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13377
13378         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13379         when encountering an unknown token.
13380         (readLyXformat2): Show an error message if there were unknown tokens.
13381
13382 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * BufferView2.C:
13385         * BufferView_pimpl.C:
13386         * buffer.C:
13387         * paragraph.h:
13388         * text.C:
13389         * text2.C: use par->isInset()
13390
13391 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * paragraph_pimpl.h:
13394         * paragraph_pimpl.C: cleanup
13395
13396 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * text2.C (removeRow):
13399         * text.C (setHeightOfRow): remove useless (and costly) call to
13400         getRow.
13401
13402 2001-11-20  Allan Rae  <rae@lyx.org>
13403
13404         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13405         Now need Inset*::checkInsertChar() to return true for appropriate
13406         cases so that the characters in the minibuffer will actually be
13407         inserted.
13408
13409 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * text.C: change the order of the includes.
13412         (workWidth): initialize it at once.
13413         (workWidth): make maxw unsigned
13414         (setHeightOfRow): remove unused variable (inset)
13415         (selectSelectedWord): remove unused variable (inset)
13416         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13417
13418 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13419
13420         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13421         server is not running.
13422         (openConnection):
13423         (closeConnection): add debug info when server is disabled.
13424
13425         * ColorHandler.C (getGCForeground): send debug message to GUI
13426         channel.
13427
13428         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13429
13430         * kbmap.C (bind): modify because return conventions of
13431         kb_sequence::parse have changed.
13432
13433         * kbsequence.C (parse): only ignore spaces and not any stupid
13434         control character. This avoids tests like s[i] <= ' ', which are
13435         guaranteed to fail with 8bit characters and signed chars.
13436         Change return code to string::npos when there have been no error
13437         (0 was a bad idea when error is at first character)
13438
13439 2001-11-14  José Matos  <jamatos@fep.up.pt>
13440
13441         * buffer.h:
13442         * buffer.C (simpleDocBookOnePar): removed unused argument.
13443
13444 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13445
13446         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13447         insets which are part of a word. Paragraph::isLetter takes care of
13448         that now. Use Paragraph::isInset to identify insets.
13449         (selectSelectedWord): do not test for hyphenation break.
13450
13451         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13452         that protected spaces are considered as spaces.
13453
13454         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13455         Inset::isLetter.
13456
13457 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13458
13459         * lyxserver.h:
13460         * lyxserver.C: fix it. and small cleanup.
13461
13462 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13463
13464         * BufferView_pimpl.C: use inline helpers
13465
13466         * LaTeXFeatures.h:
13467         * LaTeXFeatures.C: fix typos
13468
13469         * Spacing.h:
13470         * Spacing.C: move spacing_string into class
13471
13472         * ToolbarDefaults.C: move stuff into namespace anon
13473
13474         * layout.h: update enum
13475
13476         * lyxfunc.C: use better debug
13477
13478         * minibuffer.h: fix typo
13479
13480         * debug.h:
13481         * debug.C:
13482         * WorkArea.C: add and use Debug::WORKAREA
13483
13484         * lyxtext.h:
13485         * text.C:
13486         * text2.C: code re-organisation, inline helpers
13487
13488 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13489
13490         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13491         std::vector.empty().
13492
13493 2001-11-09  Allan Rae  <rae@lyx.org>
13494
13495         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13496         '\n's after tables.  Tabular and ERT inset work now makes this no
13497         longer necessary.
13498
13499 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13500
13501         * minibuffer.h:
13502         * minibuffer.C: fix crash, improve drop-down completion
13503
13504 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13505
13506         * lyxserver.h:
13507         * lyxserver.C: invalidate fd's when doing endPipe()
13508
13509 2001-11-08  José Matos  <jamatos@fep.up.pt>
13510
13511         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13512         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13513
13514         * paragraph.h:
13515         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13516
13517 2001-11-07  José Matos  <jamatos@fep.up.pt>
13518
13519         * buffer.h:
13520         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13521         const qualifier.
13522
13523         * buffer.C (sgmlOpenTag):
13524         * buffer.C (sgmlCloseTag): removed debug info.
13525
13526         * buffer.h (sgmlOpenTag):
13527         * buffer.h (sgmlCloseTag): made public.
13528
13529 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13530
13531         * buffer.C (saveParamsAsDefaults):
13532         * lyx_cb.C (MenuLayoutSave): remove
13533
13534         * LyXAction.C (init):
13535         * commandtags.h:
13536         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13537
13538 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13539
13540         * buffer.C (setPaperStuff): removed from here...
13541
13542         * bufferparams.C (setPaperStuff): ... and moved there.
13543
13544 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13545
13546         * minibuffer.h:
13547         * minibuffer.C:
13548         * XFormsView.C: add support for drop-down completion
13549
13550 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13551
13552         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13553         commands.
13554
13555 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13558         disabled.
13559
13560 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13561
13562         * lyx_main.C: change ref to known bugs
13563
13564 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13565
13566         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13567         to work around older babel problems.
13568
13569 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13570
13571         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13572
13573 2001-10-24  Juergen Vigna  <jug@sad.it>
13574
13575         * tabular-old.C (ReadOld): below variable changes reflected.
13576
13577         * tabular.[Ch]: added ltType struct for longtable header/footer
13578         defines and changed all instances where they are used. Added
13579         future support for double top/bottom rows.
13580
13581 2001-10-24  José Matos  <jamatos@fep.up.pt>
13582
13583         * buffer.h (docbookHandleCaption):
13584         * buffer.C (docbookHandleCaption): removed unused function.
13585         (makeDocBookFile): moved docbook supported version to v4.1.
13586
13587 2001-10-24  José Matos  <jamatos@fep.up.pt>
13588
13589         * tabular.h:
13590         * tabular.C (docbookRow): new function to export docbook code of a row.
13591         (DocBook): now honors the longtable flags.
13592
13593 2001-10-23  José Matos  <jamatos@fep.up.pt>
13594
13595         * LaTeXFeatures.h:
13596         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13597         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13598
13599         * buffer.C (makeLinuxDocFile):
13600         (makeDocBookFile): reworked the preamble, more clean, and with
13601         support for lyx defined entities. Changed the document declaration
13602         to be more XML friendly.
13603
13604         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13605         if we need to output XML that should be done with a filter.
13606
13607 2001-10-22  Juergen Vigna  <jug@sad.it>
13608
13609         * sp_pspell.h (class PSpell): add alive function needed in the
13610         controller to see if the spellchecker could be started.
13611
13612 2001-10-22  Juergen Vigna  <jug@sad.it>
13613
13614         * buffer.C (insertStringAsLines): modify the font for inserting
13615         chars in certain conditions by calling checkInsertChar(font).
13616
13617 2001-10-19  Juergen Vigna  <jug@sad.it>
13618
13619         * text.C (workWidth): use getRow instead of wrong algorithm.
13620         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13621
13622 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13623
13624         * lyxserver.h:
13625         * lyxserver.C:
13626         * lyx_main.h:
13627         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13628
13629 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * text.C (workWidth): do not search for the exact row when
13632         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13633         optimization for big documents.
13634
13635 2001-10-18  Juergen Vigna  <jug@sad.it>
13636
13637         * text.C (workWidth): new function with added Inset * parameter.
13638
13639 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13642
13643         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13644         change return type of getColumnNearX.
13645
13646
13647         * text.C (changeRegionCase): use uppercase/lowercase instead of
13648         toupper/tolower.
13649         (leftMargin):
13650         (rightMargin): simplify code by factoring out the uses of
13651         textclasslist.
13652         (labelFill):
13653         (numberOfHfills):
13654         (setHeightOfRow):
13655         (appendParagraph): use Paragraph::size_type
13656
13657 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * vspace.C (asLatexString): add a missing break
13660
13661 2001-10-15  Herbert Voss  <voss@perce.de>
13662
13663         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13664
13665 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13668         is not available.
13669
13670 2001-10-10  André Pönitz <poenitz@gmx.net>
13671
13672         * lyxfunc.C: removed greek_kb_flag.
13673
13674 2001-10-10  Herbert Voss  <voss@perce.de>
13675
13676         * lyx_main.C: delete global string help_lyxdir.
13677
13678 2001-10-09  Herbert Voss  <voss@perce.de>
13679
13680         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13681
13682         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13683
13684         * lyx_main.C: added global string help_lyxdir.
13685
13686         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13687
13688 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13689
13690         * lyxrc.C (set_font_norm_type): support iso8859-4
13691
13692 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13693
13694         * LaTeX.C (deplog): add another regex for MikTeX
13695
13696 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13697
13698         * lyxrc.C (set_font_norm_type): support iso8859-3
13699
13700 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13703
13704         * LaTeXFeatures.C: remove special case of french and index
13705
13706         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13707         before \begin{document}). This solves several incompatibilities.
13708
13709 2001-10-03  Garst Reese  <reese@isn.net>
13710
13711         * lyx_cb.C: change CheckTex error msg.
13712
13713 2001-10-03  José Matos  <jamatos@fep.up.pt>
13714
13715         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13716
13717 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13718
13719         * .cvsignore: update
13720
13721         * lyx_main.C (commandLineVersionInfo): use new style version info.
13722
13723         * buffer.C (writeFile):
13724         (makeLaTeXFile):
13725         (makeLinuxDocFile):
13726         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13727
13728         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13729
13730         * version.h: update to use stuff in version.C
13731
13732         * version.C.in: new file. Contains version information determined
13733         at compile time. This is a merging of version.h and
13734         version_info.h.in.
13735
13736 2001-10-03  Juergen Vigna  <jug@sad.it>
13737
13738         * BufferView_pimpl.C (update): don't change "dirty" status in
13739         updateInset call.
13740
13741 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * WorkArea.C (c-tor): re-position version string slightly.
13744
13745 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13746
13747         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13748         revert to previous code.
13749
13750         WorkArea.[Ch]: (show, destroySplash): methods removed.
13751
13752         WorkArea.C: rework code so that it's an amalgam of the codes before and
13753         after the splash screen was moved to WorkArea.
13754
13755 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13756
13757         * lyxrc.C (read):
13758         * vspace.C (inPixels):
13759         (lyx_advance):
13760         * kbmap.C (bind):
13761         * buffer.C (insertStringAsLines):
13762         (asciiParagraph): fix types to be large enough
13763
13764         * lyxlex_pimpl.h: change member status from short to int
13765
13766         * layout.h: fix type of endlabeltype
13767
13768         * kbmap.C (bind):
13769         * kbsequence.C (parse): change return type to string::size_type
13770
13771         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13772         variable
13773
13774         * Bullet.C (bulletSize):
13775         (bulletEntry): do not use short ints as parameters
13776
13777         * BufferView2.C (insertLyXFile): change a char to an int.
13778
13779         * WorkArea.C (WorkArea): remove unneeded floats in computation
13780
13781 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13782
13783         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13784
13785         * paragraph.C (asString): Do not ignore newline/hfill chars when
13786         copying to the clipboard.
13787
13788 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13789
13790         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13791         after a multi-line inset.
13792
13793 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13794
13795         * paragraph.C (validate): Set NeedLyXFootnoteCode
13796
13797 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13798
13799         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13800         and decrease-error to decrease.
13801
13802 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13803
13804         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13805         it more readable (should be equivalent)
13806
13807 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13808
13809         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13810
13811 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13812
13813         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13814         of a cursor (row, etc.) after a character has been deleted
13815         (deleteEmptyParagraphMechanism): call the method above on _all_
13816         cursors held by the LyXText when a double space has been
13817         detected/deleted.
13818
13819 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13820
13821         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13822         pixmap.
13823         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13824
13825         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13826         background. Use greyOut() and the new show() methods to toggle between
13827         the foreground and background. Add code to remove the splash after
13828         its initial showing.
13829
13830         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13831         (create_forms): no longer call Dialogs::showSplash.
13832
13833 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13834
13835         * .cvsignore: add version_info.h
13836
13837 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13838
13839         * version_info.h.in: new file
13840
13841         * Makefile.am: add version_info.h.in
13842
13843         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13844         version_info.h instead of VERSION_INFO
13845
13846 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13847
13848         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13849         The ERT inset now returns string().
13850
13851 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13852
13853         * lyxtext.h, text.C (selectNextWord): renamed as
13854         selectNextWordToSpellcheck.
13855
13856         * text.C (selectNextWordToSpellcheck): Modified to not select
13857         words inside an ERT inset.
13858
13859 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * lyx_cb.C (MenuLayoutSave): change a bit the question
13862
13863         * sp_base.h: include <sys/types.h>
13864
13865 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13868
13869 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13870
13871         * several files: fix typos in user-visible strings
13872
13873 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13874
13875         * text2.C (pasteSelection): do not set the selection, since it
13876         will be cleared later. Actually, the intent was to fix the way the
13877         selection was set, but I figured rmoving the code was just as good.
13878
13879 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13880
13881         * FontLoader.C (available): Check if font is available without
13882         loading the font.
13883
13884 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13885
13886         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13887
13888 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13889
13890         * lyxrc.[Ch]: added display_graphics variable and associated code.
13891
13892 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * bufferparams.C (hasClassDefaults): new method. Returns true if
13895         the buffer parameters correspond to known class defaults
13896
13897 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * XFormsView.C (show): set minimum size to the main window.
13900
13901 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13902
13903         * text2.C (copySelection):
13904         (cutSelection):
13905         * lyxfind.C (LyXReplace):
13906         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13907         LyXText::selectionAsString.
13908
13909         * paragraph.C (asString): add "label" argument to the second form
13910
13911         * text2.C (selectionAsString): add "label" argument and pass it to
13912         Paragraph::asString.
13913
13914 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13915
13916         * lyx_main.C (commandLineHelp): remove version information
13917
13918 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13919
13920         * lyx_main.C: add -version commandline option
13921
13922 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13923
13924         * paragraph.h: make the optional constructor arg required instead.
13925         some modifications to other files because of this.
13926
13927         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13928
13929         * lyxserver.C (C_LyXComm_callback): make it static
13930
13931         * lyx_main.C (error_handler): make it static
13932
13933         * lyx_gui.C (LyX_XErrHandler): make it static
13934
13935         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13936
13937         * WorkArea.C: make the extern "C" methods static.
13938
13939         * Makefile.am (lyx_LDADD): simplify
13940
13941 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13944         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13945
13946         * LyXAction.C (init):
13947         * lyxfunc.C (dispatch): associated code removal.
13948
13949 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13950
13951         * lyxfont.h (isSymbolFont): shut off warning
13952
13953         * text.C (setHeightOfRow):
13954         (getVisibleRow): fix crash with empty paragraphs which have a
13955         bottom line
13956
13957 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13958
13959         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13960         code.
13961
13962 2001-09-04  José Matos  <jamatos@fep.up.pt>
13963         * buffer.C
13964         * buffer.h
13965         * tabular.C (docbook): rename docBook method to docbook.
13966
13967 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * Makefile.am: add dependencies to main.o.
13970
13971 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * FontLoader.C (available): Return false if !lyxrc.use_gui
13974
13975 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13976
13977         * FontInfo.C (query):
13978         * converter.C (view):
13979         * importer.C (Import):
13980         * exporter.C (Export): Can not -> cannot.
13981
13982 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13983
13984         * BufferView_pimpl.C: allow to create index inset even if
13985           string is empty
13986
13987 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13988
13989         * buffer.C (getLists): replace boost::tie code with an explicit pair
13990         as boost::tie can break some compilers.
13991
13992         * iterators.h: Added a std:: declaration to the return type of
13993         ParIterator::size.
13994
13995 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13996
13997         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13998           case.
13999
14000 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14001
14002         * iterators.[Ch]: New files. Provide paragraph iterators.
14003
14004         * buffer.C (changeLanguage): Use paragraph iterators.
14005         (isMultiLingual): ditto
14006
14007         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14008
14009 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14010
14011         * FontLoader.C: Support for cmr font.
14012
14013 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14016         (available): New method.
14017
14018         * FontInfo.C (getFontname): Use scalable fonts even when
14019         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14020         found.
14021
14022 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14023
14024         * converter.C (Formats::view): reverted! Incorrect fix.
14025
14026 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * converter.C (Formats::view): only output the -paper option
14029         if the dvi viewer is xdvi, thereby fixing bug #233429.
14030
14031 2001-08-23  Herbert Voss  <voss@perce>
14032
14033         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14034
14035 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14036
14037         * Spacing.h (Spacing): Set space to Default on in the default
14038         constructor.
14039
14040 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14041
14042         * vc-backend.h (RCS::versionString): add RCS to version
14043         (CVS::versionString): add CVS to version
14044
14045         * vc-backend.C (scanMaster): do not add CVS to version.
14046         (scanMaster): do not add RCS to version
14047
14048         * lyxvc.C (versionString): new method
14049
14050         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14051
14052 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14053
14054         * Spacing.C (set): initialize fval
14055
14056 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14057
14058         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14059         " or \.
14060
14061 2001-08-16  Juergen Vigna  <jug@sad.it>
14062
14063         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14064
14065 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14066
14067         * BufferView_pimpl.C:
14068         * figureForm.C:
14069         * lyxtext.h:
14070         * text2.C: setParagraph takes linespacing now
14071
14072 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14073
14074         * LyxAction.C: add internal LFUN_CITATION_INSERT
14075
14076         * LyXView.C: actually apply fix
14077
14078         * bufferlist.C: fix open non-existent file
14079
14080         * lyxfind.C: fix indentation
14081
14082         * lyxfunc.C: remove unneeded assert, fix typo
14083
14084 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * MenuBackend.C: use "Floatname List"
14087
14088 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14089
14090         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14091         when converting LaTeX layout to insetERT.
14092         Generate a non-collapsed float when reading old float
14093
14094 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14095
14096         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14097         ERT insets.
14098
14099 2001-08-13  Juergen Vigna  <jug@sad.it>
14100
14101         * text.C (fill): return 0 instead of 20 as this seems to be the more
14102         correct value.
14103
14104 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14105
14106         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14107         lyxrc.font_norm.
14108
14109 2001-08-13  Juergen Vigna  <jug@sad.it>
14110
14111         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14112         casesensitive off.
14113         (SearchBackward): comment out the unlocking of the inset_owner this
14114         should not be needed!
14115
14116 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14117
14118         * Many files: Remove inherit_language, and add latex_language
14119
14120         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14121         collapsible insets.
14122
14123 2001-08-10  Juergen Vigna  <jug@sad.it>
14124
14125         * text.C (prepareToPrint): fixed hfill-width in draw!
14126
14127         * BufferView2.C (selectLastWord): save the selection cursor as this
14128         now is cleared in the function LyXText::clearSelection!
14129
14130 2001-08-08  Juergen Vigna  <jug@sad.it>
14131
14132         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14133         BACKSPACE type functions.
14134
14135         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14136         is only cutted from the document but not put in the cut-buffer, where
14137         still the old stuff should be.
14138
14139         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14140
14141         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14142
14143         * tabular.C (SetWidthOfCell): fixed special case where the width
14144         was not updated!
14145         (LeftLine): handle '|' in align_special.
14146         (RightLine): ditto
14147         (LeftAlreadyDrawed): ditto
14148         (SetWidthOfCell): ditto
14149
14150 2001-08-07  Juergen Vigna  <jug@sad.it>
14151
14152         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14153
14154 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14155
14156         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14157         * lyxlex.[hC]: ditto
14158
14159 2001-08-06  Juergen Vigna  <jug@sad.it>
14160
14161         * text.C (getVisibleRow): fix up row clearing a bit.
14162
14163 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14164
14165         * minibuffer.C: make sure the X server sees the changes in the input.
14166
14167 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14168
14169         * paragraph.C (getFont): split into...
14170         (getLabelFont): this
14171         (getLayoutFont): and this
14172         * paragraph_pimpl.C (realizeFont): calling this
14173
14174         * text2.C (getFont): split into...
14175         (getLayoutFont): this
14176         (getLabelFont): and this
14177         (realizeFont): all three calling this
14178
14179         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14180         files where used.
14181
14182 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14185
14186 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14187
14188         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14189         layouts from the Quote inset insertion.
14190
14191 2001-08-03  Juergen Vigna  <jug@sad.it>
14192
14193         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14194
14195         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14196         only if status not is already CHANGED_IN_DRAW (second level).
14197
14198         * text.C (draw): don't set the need_break_row when inside an
14199         InsetText LyXText.
14200
14201 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * buffer.C (parseSingleLyXformat2Token): handle more latex
14204         conversion cases.
14205
14206         * bufferview_funcs.[hC]: change function names to
14207         begin with small char, adjust other files.
14208
14209 2001-08-02  André Pönitz <poenitz@gmx.net>
14210
14211         * lyxfunc.C:
14212         BufferView_pimpl.C: remove broken special code for math-greek
14213
14214 2001-08-02  Juergen Vigna  <jug@sad.it>
14215
14216         * BufferView_pimpl.C (update): redone this function so that we
14217         update the text again if there was a CHANGE_IN_DRAW.
14218
14219         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14220         (drawFromTo): added a new internal bool which is used by draw() and
14221         redraw() function.
14222         (general): some cursor drawing problems fixed.
14223
14224 2001-08-01  Juergen Vigna  <jug@sad.it>
14225
14226         * lyxfind.C (LyXFind): fixed
14227         (SearchForward): ditto
14228         (SearchBackward): ditto
14229
14230         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14231         spurius drawing of the cursor in the main area.
14232
14233         * text2.C (status): small fix which could lead to a segfault!
14234         (clearSelection): remove unneeded BufferView param.
14235
14236 2001-08-01  André Pönitz <poenitz@gmx.net>
14237
14238         * lyxfunc.C: small change due to changed mathed interface
14239
14240 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14243
14244 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14245
14246         * lyxfunc.c: fail gracefully if file doesn't exist
14247
14248         * LyXSendto.C:
14249         * buffer.C:
14250         * lyxfunc.C:
14251         * BufferView_pimpl.C: IsDirWriteable() proto changed
14252
14253         * LyXView.C: fix updateWindowTitle() to store the last title
14254
14255 2001-07-31  Juergen Vigna  <jug@sad.it>
14256
14257         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14258         the font (wrong since using of Paragraph::highestFontInRange).
14259
14260         * paragraph.C (highestFontInRange): added a default_size parameter.
14261
14262         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14263         (setHeightOfRow): reformat
14264
14265 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * converter.[hC] + affected files: move to (inital-char)lowercase
14268         function names.
14269
14270         * ParagraphParameters.C (ParagraphParameters): remove commented code
14271
14272         * PainterBase.[Ch]: remove commented code
14273
14274         * LaTeXFeatures.h: add "bool floats" for float.sty
14275
14276         * LaTeXFeatures.C (LaTeXFeatures): init floats
14277         (require): handle float
14278         (getPackages): do it with floats
14279
14280 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14281
14282         * BufferView_pimpl.C (Dispatch): improve handling of
14283         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14284
14285         * commandtags.h: #include lyxfont.h here temporarily to avoid
14286         keybinding bug.
14287
14288         * bufferlist.h: include LString.h here.
14289
14290 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * text2.C (getStringToIndex): new method.
14293
14294 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14295
14296         * *: Reduced header file dependencies all over.
14297
14298 2001-07-30  Baruch Even  <baruch@lyx.org>
14299
14300         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14301
14302 2001-07-29  Baruch Even  <baruch@lyx.org>
14303
14304         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14305
14306 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14307
14308         * ParameterStruct.h (endif): add a default constructor to make
14309         sure that all variables is initialized.
14310
14311         * ParagraphParameters.C (ParagraphParameters): adjust
14312
14313 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14314
14315         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14316         index; also, check that there is something to index, and that it
14317         does not span over several paragraphs.
14318         (doubleClick): use WHOLE_WORD_STRICT for double click.
14319
14320         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14321
14322         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14323         scheme.
14324
14325 2001-07-26  Baruch Even  <baruch@lyx.org>
14326
14327         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14328         an InsetFig figure, backwards compatible reading of old figure code.
14329
14330 2001-07-27  Juergen Vigna  <jug@sad.it>
14331
14332         * text2.C: font.realize function adaption.
14333
14334         * text.C (draw): add a warnings lyxerr text if needed.
14335
14336         * layout.C: font.realize function adaption.
14337
14338         * language.C: add inherit_language and implement it's handlings
14339
14340         * bufferview_funcs.C (StyleReset): remove language parameter from
14341         font creation (should be language_inherit now).
14342
14343         * bufferparams.C (writeFile): handle ignore_language.
14344
14345         * paragraph.C (getFontSettings): the language has to be resolved
14346         otherwise we have problems in LyXFont!
14347
14348         * lyxfont.C (lyxWriteChanges): added document_language parameter
14349         (update): removed unneeded language parameter
14350
14351         * paragraph.C (validate): fixed wrong output of color-package when
14352         using interface colors for certain fonts in certain environments,
14353         which should not seen as that on the final output.
14354
14355 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * BufferView_pimpl.C:
14358         * Thesaurus.h:
14359         * Thesaurus.C:
14360         * Makefile.am:
14361         * commandtags.h:
14362         * LyXAction.C: add thesaurus support
14363
14364         * lyxfind.h:
14365         * lyxfind.C: add "once" parameter, for thesaurus, to not
14366           move to the next match
14367
14368 2001-07-26  Juergen Vigna  <jug@sad.it>
14369
14370         * lyxfont.C (realize): honor ignore_language too!
14371         (resolved): ditto.
14372
14373         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14374
14375         * text.C (draw): one place more for ignore_language to not draw
14376         itself!
14377
14378 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14379
14380         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14381
14382 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14383
14384         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14385         the minipage conversion problem.
14386
14387 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14388
14389         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14390         insert an inset.
14391
14392 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14393
14394         * BufferView.h: don't forward declare WorkArea
14395
14396         * BufferView.C: don't include WorkArea.h
14397
14398 2001-07-25  André Pönitz <poenitz@gmx.net>
14399
14400         * commandtags.h:
14401         * LyXAction.C:
14402         * lyxfunc.C:  new LFUN 'math-space'
14403
14404         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14405
14406 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14407
14408         * text2.C (toggleInset): call open/close
14409
14410 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14411
14412         * lyxfunc.C (dispatch): add debug for the disabled case
14413
14414         * font.C (buttonText): make similar to rectText
14415
14416         * buffer.C (readInset): comment out parsing of insetlist and
14417         insttheorem
14418
14419         * PainterBase.C (rectText): small correction
14420
14421         * BufferView_pimpl.C: comment out insettheorem and insetlist
14422         * LyXAction.C: ditto
14423         * commandtags.h: ditto
14424
14425 2001-07-24  Juergen Vigna  <jug@sad.it>
14426
14427         * text.C (draw): honor the ignore_language.
14428
14429         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14430
14431 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14434         char inset.
14435
14436 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14437
14438         * lyxtext.h: remove unused (and unimplemented) methods
14439
14440 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14441
14442         * text.C (getVisibleRow): honor background color
14443
14444         * PainterBase.h:
14445         * Painter.h: remove default color argument for fillRectangle
14446
14447         * text.C (backgroundColor): new method
14448
14449 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * text.C (getVisibleRow): adjust
14452
14453         * font.[Ch] (rectText): new method, metrics
14454         (buttonText): new method, metrics
14455
14456         * PainterBase.[hC]: make rectText and buttonText always draw and take
14457         fewer paramteres.
14458
14459 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14460
14461         * ToolbarDefaults.C (read):
14462         * MenuBackend.C (read): allow escaping in all strings
14463
14464         * BufferView_pimpl.C (insertAndEditInset): new method.
14465         (Dispatch): use insertAndEditInset whenever appropriate.
14466
14467         * BufferView_pimpl.C (insertNote): removed
14468
14469         * BufferView_pimpl.C (smartQuote): new method, moved from
14470         BufferView; if an insetquote cannot be inserted, insert a '"'
14471         character instead.
14472
14473         * BufferView2.C: remove insertCorrectQuote();
14474
14475         * lyxfunc.C (getStatus): Add support for all remaingin
14476         inset-insert lfuns.
14477
14478         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14479
14480         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14481         command (necessary to pass " as parameter of self-insert.
14482
14483         * text.C (selectWordWhenUnderCursor):
14484         (selectWord): add word_location parameter
14485         (selectWordWhenUnderCursor): same + remove special code for word
14486         boundary.
14487         (selectNextWord): use kind() to guess type of insetspecialchar,
14488         not latex().
14489
14490         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14491         (insertErtContents): create ert insets as collapsed.
14492         (readInset): better compatibility code for Info inset.
14493
14494 2001-07-20  Juergen Vigna  <jug@sad.it>
14495
14496         * lyxfunc.C (dispatch): use always LyXFind now!
14497
14498         * text2.C (init): add a reinit flag so that the LyXText can be
14499         reinited instead of deleted and reallocated (used in InsetText).
14500
14501         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14502
14503         * text.C: ditto
14504
14505         * text2.C: ditto
14506
14507 2001-07-18  Juergen Vigna  <jug@sad.it>
14508
14509         * text.C (selectNextWord): handle insets inside inset by calling
14510         always the bv->text functions so that we can go up the_locking_inset!
14511
14512         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14513         in strange locations when inside an inset!
14514
14515         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14516         handling to include insets.
14517
14518         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14519
14520 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14521
14522         * LyXAction.C (init):
14523         * commandtags.h:
14524         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14525         LIGATURE_BREAK, since the name is so stupid.
14526
14527 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14528
14529         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14530         InsetInfos.
14531
14532         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14533
14534         * sp_form.[Ch]: remove.
14535
14536         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14537
14538         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14539         InsetInfo.
14540
14541         * src/buffer.C (readInset): ditto.
14542
14543 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14544
14545         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14546         menuSeparator(), endOfSentenceDot(), ldots() and
14547         hyphenationPoint(), which are therefore removed.
14548         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14549
14550         * LyXAction.C (init):
14551         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14552
14553         * paragraph.C (getWord): removed.
14554
14555         * BufferView_pimpl.C (Dispatch): use last word or selection for
14556         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14557
14558         * lyx_main.C (queryUserLyXDir): do not ask before creating
14559         user_dir, except if it has been named explicitely.
14560
14561 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14562
14563         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14564         a document of zero size.
14565
14566 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14567
14568         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14569         approriately in the c-tor and in require().
14570         (getPackages): output the appropriate LaTeX for natbib support.
14571
14572         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14573         variables "use_natbib" and "use_numerical_citations" when reading the
14574         LyX file.
14575         (readInset): read the various natbib cite commands.
14576         (validate): white-space change.
14577
14578         * bufferparams.[Ch]: new variables "bool use_natbib" and
14579         "bool use_numerical_citations".
14580         (writeFile): output them in the LyX file.
14581
14582 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14583
14584         * lyxfunc.C (getStatus): add support for all the inset insertion
14585         commands.
14586
14587         * text2.C (insertInset):
14588         * paragraph.C (insetAllowed):
14589         * BufferView_pimpl.C (insertInset): update to take in account the
14590         renaming of insertInsetAllowed
14591
14592         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14593
14594         * text2.C (getInset): new method. returns inset at cursor position.
14595
14596         * BufferView_pimpl.C (Dispatch): changes because of this.
14597
14598         * LyXAction.C (init): rename open-stuff to inset-toggle.
14599
14600         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14601
14602         * text2.C (toggleInset): renamed from openStuff; use
14603         Inset::open().
14604
14605 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14606
14607         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14608
14609         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14610
14611 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14612
14613         * buffer.C (readLyXformat2): Add filename to the error dialog
14614
14615 2001-07-18  Juergen Vigna  <jug@sad.it>
14616
14617         * tabular.C (GetCellNumber): put an assert here instead of the check!
14618
14619 2001-07-17  Juergen Vigna  <jug@sad.it>
14620
14621         * BufferView_pimpl.C (toggleSelection): adapted too.
14622
14623         * text.C (selectNextWord): adapted for use with insets.
14624         (selectSelectedWord): ditto
14625
14626 2001-07-17  Juergen Vigna  <jug@sad.it>
14627
14628         * sp_spell.C (PSpell): fix initialitation order.
14629
14630 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * paragraph.C: spacing
14633
14634 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14635
14636         * sp_spell.C: repair language selection for pspell
14637
14638 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14639
14640         * lyxfunc.h: change more methods to begin with lower char.
14641
14642 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14643
14644         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14645         for unknown layouts.
14646
14647 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14648
14649         * buffer.C (readLyXformat2): Generate an error dialog if there are
14650         unknown layouts.
14651
14652 2001-07-16  Juergen Vigna  <jug@sad.it>
14653
14654         * sp_spell.C: always compile ISpell part.
14655
14656         * lyxrc.C: added use_pspell entry and it's handling.
14657
14658 2001-07-13  Juergen Vigna  <jug@sad.it>
14659
14660         * sp_spell.C: removed double includes.
14661
14662 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14663
14664         Consistent use of Lsstream.h:
14665         * Lsstream.h: added using std::stringstream for consistencies sake.
14666
14667         * buffer.C: removed using std::stringstream
14668
14669         * lyxfont.C (stateText):
14670         * paragraph.C (asString):
14671         * text.C (selectNextWord, selectSelectedWord):
14672         * text2.C (setCounter):
14673         * vspace.C (asString, asLatexString):
14674         std::ostringstream -> ostringstream.
14675
14676 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14677
14678         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14679         * commandtags.h: add LFUN_HELP_ABOUTLYX
14680         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14681
14682 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14683
14684         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14685         cursorToggle()
14686         * lyx_gui_misc.C: remove spellchecker
14687         * lyxfunc.C: showSpellchecker
14688         * sp_base.h: added
14689         * sp_ispell.h: added
14690         * sp_pspell.h: added
14691         * sp_spell.C: added
14692         * sp_form.[Ch]: removed
14693         * spellchecker.[Ch]: removed
14694
14695 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14696
14697         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14698         is set.
14699         (simpleTeXSpecialChars): Simply print the input character without
14700         any special translation if pass_thru is set.
14701
14702         * layout.h: Added bool pass_thru to layout class for being able to
14703         implement pass through of a paragraph for Literate Programming.
14704
14705         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14706         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14707         * layout.C (Read): add "passthru" to list of layout tags and add
14708         code to set the pass_thru boolean when it is read.
14709
14710 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14711
14712         * trans_decl.h: remove allowed from KmodInfo
14713
14714         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14715         remove allowed code
14716         (Load): adjust
14717
14718         * paragraph_pimpl.C (erase): use boost::prior
14719
14720         * Painter.C (text): use data() instead of c_str() when length is
14721         also provided.
14722         * WorkArea.C (putClipboard): ditto
14723         * font.h (width): ditto
14724
14725         * BufferView2.C: use it-> instead of (*it). for iterators
14726         * texrow.C: ditto
14727         * paragraph_pimpl.C: ditto
14728         * paragraph.C: ditto
14729         * minibuffer.C: ditto
14730         * language.C: ditto
14731         * kbmap.C: ditto
14732         * encoding.C: ditto
14733         * counters.C: ditto
14734         * converter.C: ditto
14735         * chset.C: ditto
14736         * Variables.C: ditto
14737         * TextCache.C: ditto
14738         * MenuBackend.C: ditto
14739         * LyXAction.C: ditto
14740         * LColor.C: ditto
14741         * FloatList.C: ditto
14742         * DepTable.C: ditto
14743         * ColorHandler.C (LyXColorHandler): ditto
14744
14745 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14746
14747         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14748
14749         * text2.C (openStuff): reintroduce this method (which had been
14750         nuked in NEW_INSETS frenzy).
14751
14752         * lyxfunc.C (Dispatch): when an action has not been handled, use
14753         its name in the error message, not its number.
14754
14755         * paragraph.C (inInset): change method name to begin with lowercase.
14756
14757         * undo_funcs.C:
14758         * text2.C: updates because of this.
14759
14760 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * ToolbarDefaults.C (add): add spaces in error message
14763
14764 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14767         (readLyXformat2): rename return_par to first_par, use lyxlex's
14768         pushToken and remove the manual push handling.
14769         (parseSingleLyXformat2Token): add another ert comp. variable:
14770         in_tabular, rename return_par to first_par. handle newlines better
14771
14772 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14773
14774         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14775
14776 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14777
14778         * text2.C (getParFromID): removed
14779
14780         * buffer.C (getParFromID): new method moved form lyxtext.
14781         * BufferView2.C (insertErrors): adjust
14782         (setCursorFromRow): adjust
14783         * BufferView_pimpl.C (restorePosition): adjust
14784         * lyxfunc.C (Dispatch): adjust
14785         * undo_funcs.C (textUndo): adjust
14786         (textRedo): adjust
14787         (textHandleUndo): adjust
14788         (textHandleUndo): adjust
14789
14790 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * buffer.C: up' the LYX_FORMAT
14793
14794         * lyxfont.h: turn NO_LATEX on as default
14795
14796         * buffer.C (insertErtContents): new methods of tex style compability.
14797         (parseSingleLyXformat2Token): use it several places.
14798         * tabular.C (OldFormatRead): and here
14799
14800 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * text2.C: remove some commented code.
14803         reindent file.
14804
14805         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14806         * trans.C: changes because of the above.
14807
14808 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14809
14810         * text2.C (setCounter): Fix counters bug with bibliography layout.
14811
14812 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14813
14814         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14815         own member functions
14816         (simpleTeXSpecialChars): ditto
14817
14818 2001-07-06  Juergen Vigna  <jug@sad.it>
14819
14820         * a lot of files: changed the access to LyXText::status and the
14821         call of undo-functions.
14822
14823         * undo.[Ch]: added a inset_id to the undo informations.
14824
14825         * undo_funcs.[Ch]: added and moved here all undo functions.
14826
14827         * lyxtext.h: give the status enum a weight, made status_ a private
14828         variable and made accessor functions for it, removed the whole bunch
14829         of undo-functions as they are now in their own file, make some
14830         functions publically available. Added function ownerParagraph with
14831         int parameter.
14832
14833         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14834         made InInset() a const function, added getParFromID() function.
14835
14836         * buffer.[Ch]: added const version for inset_iterator functions,
14837         added getInsetFromID() function.
14838
14839         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14840         changed undo functions for new version.
14841
14842 2001-07-05  Juergen Vigna  <jug@sad.it>
14843
14844         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14845         unknow mechanism does not call the proper constructor but only this
14846         one also if I request the other!?
14847
14848 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14849
14850         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14851
14852         * text2.C (LyXText): use initialization lists.
14853
14854         * lyxtext.h (Selection): initialize set_ and mark_
14855         (init): remove method
14856
14857 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14858
14859         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14860
14861 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14862
14863         * screen.[Ch]: change method names to begin with lowercase
14864
14865         * BufferView_pimpl.C (updateScrollbar): simplify further and
14866         hopefully make it a bit faster.
14867
14868 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14869
14870         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14871         calling directly xforms functions.
14872
14873         * Painter.C (Painter):
14874         * lyx_cb.C (MenuWrite):
14875         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14876         fl_display.
14877
14878         * lyx_gui.C: remove bogus guiruntime extern declaration.
14879
14880 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14881
14882         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14883         in NEW_INSETS
14884         (redoDrawingOfParagraph): ditto
14885         (redoParagraphs): ditto
14886         (cutSelection): don't create a object for CutAndPaste use the
14887         static method directly
14888         (pasteSelection): ditto
14889
14890         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14891         LyXview (+ rename)
14892
14893 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14894
14895         * modifications to some other files because of this.
14896
14897         * Makefile.am (lyx_SOURCES): add XFormsView
14898
14899         * XFormsView.[Ch]: new files
14900
14901         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14902         the main window. Move the gui dependent stuff to XFormsView
14903
14904 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14905
14906         * tabular.C (GetCellInset): update cur_cell also in the row/col
14907         version of this function.
14908
14909         * lyxfunc.C: no need to include figure_form.h here.
14910
14911         * FontLoader.h:
14912         * lyxfunc.h:
14913         * lyxscreen.h:
14914         * text2.C:
14915         * lyxvc.C: no need to include forms.h here.
14916
14917 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14920
14921         * lyxfunc.C (Dispatch):
14922         * Spacing.C (set):
14923         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14924         constructor argument.
14925
14926 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14927
14928         * paragraph.C (Paragraph): dont't clear, and just set layout.
14929         (makeSameLayout): use params's copy contructor.
14930
14931         * ParagraphParameters.[Ch] (makeSame): delete method
14932
14933 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * Variables.[Ch]: fix indentation, rename set to isSet
14936
14937 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14938
14939         * lyxfunc.C (Dispatch): fix typo
14940
14941 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14942
14943         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14944         upper_bound.
14945
14946         * bufferlist.C: include assert.h for emergencyWrite().
14947
14948 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14949
14950         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14951           give up at last (bug #425202) !
14952
14953 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14954
14955         * lyx_gui_misc.C:
14956         * sp_form.h:
14957         * sp_form.C:
14958         * spellchecker.h:
14959         * spellchecker.C: strip spellchecker options and bring up
14960           preferences tab instead
14961
14962 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14963
14964         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14965         the istringstream constructor
14966
14967 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14968
14969         * paragraph.C (getLayout): fix return value
14970
14971         * paragraph.h: do not declare getLayout as inline.
14972
14973         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14974
14975 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14976
14977         * lyxcursor.h (operator<): new func
14978         (operator>): new func
14979         (operator>=): new func
14980         (operator<=): new func
14981
14982         * text.C (changeCase): use selection.start and selection.end
14983         (changeRegionCase): require from to be <= to. Require par to be a
14984         valid paragraph.
14985
14986         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14987
14988 2001-06-27  Juergen Vigna  <jug@sad.it>
14989
14990         * text.C (cursorLeftOneWord): changed to return the cursor and added
14991         overlay with BufferView * parameter which calls this one.
14992         (getWord): added
14993         (selectWord): use new getWord function.
14994         (changeCase): renamed from changeWordCase as and extended to work
14995         also on selections.
14996
14997         * lyxtext.h: added enum word_location
14998
14999         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15000         changeCase as this operates now also on selections.
15001
15002 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15003
15004         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15005
15006         * many files: send debug output to Debug::INFO instead of
15007         Debug::ANY.
15008
15009         * converter.C (View):
15010         (Convert):
15011         (Move): send debug output to Debug::FILES instead of console.
15012
15013 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15014
15015         * lyxfunc.C (getStatus): use func_status
15016
15017         * func_status.h: new header, describing the results of
15018         LyXFunc::getStatus;
15019
15020         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15021         LFUN_MATH_HALIGN.
15022
15023 2001-06-25  The LyX Project  <jug@sad.it>
15024
15025         * buffer.C (sgmlOpenTag):
15026         (sgmlCloseTag):
15027         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15028
15029 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15030
15031         * text2.C: remove some dead code
15032
15033         * tabular.C (GetCellInset): store the last cell checked (gotten)
15034
15035         * tabular.h: add the helper for the speedup
15036
15037         * lyxtext.h: remove some dead code
15038
15039 2001-06-26  The LyX Project  <Asger>
15040
15041         * paragraph.C: Change export to LaTeX of alignment to
15042         \begin{center} and family for better roundtrip work with reLyX.
15043
15044         * Tune the math drawing a bit.
15045
15046 2001-06-25  The LyX Project  <Asger>
15047
15048         * LColor.C (LColor): New color for math background. New color
15049         for buttons.
15050
15051 2001-06-25  The LyX Project  <jug@sad.it>
15052
15053         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15054
15055         * lyxfunc.C (Open):
15056         * bufferlist.C (newFile): do not restrict to files ending with
15057         .lyx
15058
15059         * BufferView_pimpl.C (MenuInsertLyXFile):
15060
15061 2001-06-24  The LyX Project  <jug@sad.it>
15062
15063         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15064         of compare_no_case
15065
15066 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * lyxtext.h: rename most methods to begin with a small char.
15069         Lots of changes because of this.
15070
15071         * paragraph.C (Paragraph): do not call fitToSize
15072         (erase): call Pimpl::erase
15073         (insertChar): call Pimpl::insertChar
15074         (insertInset): call Pipl::insertInset
15075         (breakParagraph): do not call fitToSize
15076         (breakParagraphConservative): do not call fitToSize
15077         (fitToSize): remove method
15078
15079         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15080
15081 2001-06-24  The LyX Project  <Asger>
15082
15083         * Fix Qt compilation^2
15084
15085 2001-06-24  The LyX Project  <jug@sad.it>
15086
15087         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15088         depthHook(getDepth()-1).
15089
15090         * paragraph.h:
15091         * ParagraphParameters.h:
15092         * ParameterStruct.h: change type of depth to unsigned int ==
15093         depth_type. Many adaptations to other files before of that.
15094
15095 2001-06-24  The LyX Project  <Asger>
15096
15097         * Fix Qt compilation.
15098
15099 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15100
15101         * paragraph.h: renamed several methods to begin with small letter.
15102         several changes to many parts of the code because of this.
15103
15104 2001-06-23  The LyX Project  <jug@sad.it>
15105
15106         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15107         rewritten to discard all double spaces when KeepEmpty is off
15108         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15109         to only handle newlines but not fiddle with spaces and friends.
15110
15111         * lyxfunc.C (MenuNew): when doing 'new from template', use
15112         template_path as default directory
15113
15114 2001-06-23  The LyX Project  <Asger>
15115
15116         * Clean-up of header file includes all over
15117         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15118
15119 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15120
15121         * paragraph.h: renamed from lyxparagraph.h
15122
15123 2001-06-23  Asger  <lyx@violet.home.sad.it>
15124
15125         * Buffer.h: Removed Buffer::resize
15126         * BufferList.h: Removed BufferList::resize
15127         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15128         the document lazily when we change the width, or the font settings.
15129
15130 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15133
15134 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * buffer.h: remove out of date comment
15137
15138 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15139
15140         * lyxscreen.h:
15141         * screen.C: fix "theoretical" GC leak
15142
15143 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15144
15145         * LaTeX.C (scanAuxFile):
15146         (deplog): remove trailing \r when reading stream (useful under
15147         win32)
15148
15149 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15150
15151         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15152         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15153         and BufferView::theLockingInset(Inset*), so should use them and not
15154         access bv_->text->the_locking_inset directly.
15155
15156         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15157
15158 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15159
15160         * Makefile.am:
15161         * tex-defs.h: remove old unused file
15162
15163 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15164
15165         * BufferView_pimpl.C: fix typo, remove minibuffer message
15166           when buffer has loaded
15167
15168 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * lyxfunc.C (Dispatch): use stringstream
15171         (MenuNew): use stringstream
15172         (Open): use stringstream
15173
15174         * importer.C (Import): use stringstream
15175
15176         * bufferview_funcs.C (CurrentState): use stringstream
15177
15178         * LaTeX.C (run): use stringstream
15179
15180         * BufferView_pimpl.C (savePosition): use stringstream
15181         (restorePosition): use stringstream
15182         (MenuInsertLyXFile): use stringstream
15183
15184 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15185
15186         * BufferView.C:
15187         * Bullet.C:
15188         * ColorHandler.C:
15189         * FontInfo.C:
15190         * FontLoader.C:
15191         * LColor.C:
15192         * LaTeXFeatures.C:
15193         * Painter.C:
15194         * gettext.C:
15195         * lyx_gui_misc.C:
15196         * lyxserver.C:
15197         * vspace.C: removed // -*- C++ -*- as first line.
15198
15199         * lyxfind.h:
15200         * version.h: added // -*- C++ -*- as first line.
15201
15202 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15203
15204         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15205
15206         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15207         of string
15208
15209 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15212         of floats.
15213
15214 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15215
15216         * gettext.C: include LString.h even when --disable-nls is on.
15217
15218 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15219
15220         * converter.h (Get): changed argument type from int to
15221         FormatList::size_type to avoid unnecessary conversion.
15222
15223         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15224         before using it.
15225
15226 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15227
15228         * gettext.h: include LString.h even when --disable-nls is on.
15229
15230 2001-06-07  Juergen Vigna  <jug@sad.it>
15231
15232         * text.C (BreakAgain): subst spaces with tabs.
15233
15234         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15235         (resizeInsetsLyXText): set force on resizeLyXText.
15236
15237 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15238
15239         * gettext.h (gettext_init):
15240         (locale_init): use a real definition instead of a macro
15241
15242 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15243
15244         * Bufferview_pimpl.C:
15245         * LColor.h:
15246         * LColor.C: further lcolor tidies
15247
15248 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15249
15250         * BufferView_pimpl.C (updateScrollbar): simplify.
15251
15252         * BufferView2.C: don't include insets/insetinfo.h, change
15253         prototype for insertInset and call the Pimpl version. let
15254         updateInset call Pimpl version.
15255
15256         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15257         gotoInset to BufferView::Pimpl
15258
15259 2001-06-01  Juergen Vigna  <jug@sad.it>
15260
15261         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15262         inside a LockingInset (is the update needed at all?).
15263
15264 2001-05-31  Juergen Vigna  <jug@sad.it>
15265
15266         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15267         here not the old one otherwise how should we compare it afterwards
15268         if it's the same!
15269
15270 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15271
15272         * lyxfont.C:
15273         * tabular.C:
15274         * tabular-old.C:
15275         * FontInfo.C: bring C functions into global namespace when
15276         necessary
15277
15278 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15279
15280         * LString.h: make sure config.h has been loaded before LString.h.
15281
15282         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15283         (one for each char read by EatLine!).
15284
15285         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15286         variables.
15287
15288 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15289
15290         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15291         to the same as the par we break from
15292
15293 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15294
15295         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15296
15297         * MenuBackend.C (expand): also create menu entries for wide
15298         versions of the floats.
15299
15300         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15301
15302         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15303
15304         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15305         frontends/Makefile.am
15306
15307         * text2.C: adjust
15308         * text.C: adjust
15309
15310
15311         * tabular.C (getTokenValue): add std::
15312
15313         * tabular-old.C (getTokenValue): add std::
15314         (getTokenValue): ditto
15315         (getTokenValue): ditto
15316
15317         * screen.C (ToggleSelection): adjust
15318
15319         * lyxtext.h: put selection cursors inside a Selection struct.
15320
15321         * lyxfunc.C (moveCursorUpdate): adjust
15322
15323         * lyxfont.C (latexWriteStartChanges): add std::
15324
15325         * lyxfind.C: adjust
15326
15327         * font.h: delete with(char const *, LyXFont const &)
15328
15329         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15330
15331         * FontInfo.C (getFontname): add std::
15332
15333         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15334         (workAreaButtonPress): adjust
15335         (tripleClick): adjust
15336         (update): adjust
15337         (moveCursorUpdate): adjust
15338         (Dispatch): adjust
15339
15340         * BufferView2.C (gotoInset): adjust
15341
15342 2001-05-30  Juergen Vigna  <jug@sad.it>
15343
15344         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15345         to check pspell I add this as default as I now have new pspell
15346         libraries and they seem to use this.
15347
15348 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15349
15350         * text2.C (CutSelection): make the cursor valid before the call to
15351         ClearSelection.
15352
15353 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15356         relied on 0 terminated strings and other horrors. Bug found due to
15357         the new assert in lyxstring!
15358
15359         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15360         KP_ keys.
15361
15362 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15363
15364         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15365         to latinkeys.bind.
15366
15367         * lyxfunc.C (processKeySym): change method of getting to the
15368         self-insert char.
15369
15370         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15371         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15372         * BufferView_pimpl.[Ch]: here as private methods.
15373
15374 2001-05-28  Juergen Vigna  <jug@sad.it>
15375
15376         * text.C (SetHeightOfRow): added the update() call again as it is
15377         needed to initialize inset dimensions!
15378
15379 2001-05-16  Juergen Vigna  <jug@sad.it>
15380
15381         * text2.C (SetCharFont): Add new function with BufferView * and
15382         bool toggleall parameters for setting insets internal fonts.
15383         (SetFont): Freeze the undo as we may change fonts in Insets and
15384         all this change should be inside only one Undo!
15385
15386         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15387         setting font's in insets as for them we have the SetFont function!
15388
15389 2001-05-15  Juergen Vigna  <jug@sad.it>
15390
15391         * text2.C (ClearSelection): to be sure we REALLY don't have any
15392         selection anymore!
15393
15394         * tabular.C (TeXCellPreamble): fixed the left border problem for
15395         multicolumn cells.
15396
15397 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15398
15399         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15400         dependancy file
15401
15402 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15403
15404         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15405         LFUN_BREAKPARAGRAPH.
15406
15407         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15408         help test to "internal only", similar for LFUN_INSERT_URL
15409
15410         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15411         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15412         auto_region_delete and deadkeys.
15413
15414 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15415
15416         * LColor.h:
15417         * LColor.C: remove some dead entries, tidy a little
15418
15419 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15420
15421         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15422         commented code.
15423         (Dispatch): implement LFUN_ESCAPE
15424
15425         * commandtags.h: add LFUN_ESCAPE
15426
15427         * LyXAction.C (init): add entry for LFUN_ESCAPE
15428
15429         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15430         Remove commented code.
15431         (insertNote): moved here
15432         (open_new_inset): moved here
15433
15434         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15435         BufferView_pimpl
15436
15437 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * kbmap.C (findbinding): clean it up and make it work correctly.
15440
15441         * lyx_main.C (init): do not pass argc and argv as parameters
15442
15443 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15444
15445         * buffer.C: fix path for OS/2 & Win32
15446
15447         * lyx_gui.C:
15448         * lyx_main:
15449         * lyx_main.C: Added os:: class.
15450
15451         * os2_defines.h: update
15452
15453 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15456         better by trying again with reduced state.
15457
15458 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * lyxrc.C (read): print error about invalid key sequence only when
15461         debugging (because not all latinX keysyms are known to some X
15462         servers)
15463
15464         * kbsequence.C (getiso): add a few std:: qualifiers
15465         (getiso): comment out extra return statement.
15466
15467 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15468
15469         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15470         handling.
15471         (Dispatch): enhance the accent inset a bit. (not perfect)
15472
15473 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15474
15475         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15476
15477 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15478
15479         * bufferlist.C (emergencyWrite): fix assert() call
15480
15481 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15482
15483         * text.C (InsertChar): Added trivial patch to only send the "you
15484         can not do multiple spaces this way" message once during a
15485         session.
15486
15487 2001-05-08  Baruch Even  <baruch@lyx.org>
15488
15489         * Makefile.am: Changed order of libraries to get LyX to link properly
15490         with the gnome frontend.
15491
15492 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * LaTeXFeatures.h: add a std:: qualifier
15495
15496 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15497
15498         * paragraph.C (String): use stringstream
15499
15500 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15501
15502         * paragraph.C (writeFile): remove footflag arg
15503
15504         * buffer.C (makeLaTeXFile): use stringstream
15505         (latexParagraphs): remove footnot gurba
15506
15507         * LaTeXFeatures.C (getPackages): use stringstream
15508         (getMacros): likewise
15509         (getTClassPreamble): likewise
15510         (getFloatDefinitions): new method
15511
15512         * paragraph.C (writeFile): reindent
15513         (Erase): reindent
15514
15515         * WorkArea.h: revert the xpos + etc changes.
15516
15517         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15518
15519         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15520
15521         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15522         (pasteSelection): likewise
15523         * text2.C (CreateUndo): likewise
15524
15525 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * minibuffer.C (peek_event): temporarily reduce the functionality
15528         of the minibuffer (to allow args on lfuns)
15529
15530         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15531         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15532
15533         * buffer.C (readInset): add compability reading of old float
15534         lists, add reading of new style float list.
15535         (readInset): avoid reevaluation of inscmd.getCmdName()
15536         (getLists): reindent
15537
15538         * MenuBackend.C (MenuItem): implement parsing of
15539         md_floatlistinsert and md_floatinsert.
15540         (expand::LastFiles): move initalizaton of iterators out of loop,
15541         avoid reevaluation.
15542         (expand::Documents): introduce typdedef vector<string> Strings,
15543         and use it.
15544         (expand::ExportFormats): introduce typedef vector<Format const *>
15545         Formats, and use it.
15546         (expand): implement FloatListInsert and FloatInsert.
15547
15548         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15549         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15550         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15551
15552         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15553         handling.
15554         (Dispatch::LFUN_FLOAT_LIST): implement
15555
15556 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15557
15558         * LaTeX.C (run): Fix problem with --export code.
15559
15560 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15561
15562         * BufferView.[Ch] (workarea): removed.
15563         (getClipboard) new method; wrapper for workarea()->getClipboard()
15564
15565         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15566         bug.
15567
15568         * WorkArea.h (width, height, xpos, ypos): These methods all
15569         returned the dimensions of the work_area sub-area of WorkArea,
15570         resulting in a position error if the WorkArea were resized. Now
15571         return the dimensions of the entire WorkArea.
15572
15573         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15574
15575 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15576
15577         * LaTeX.C (deplog): correct the syntax of regex reg1
15578
15579 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15580
15581         * undo.C: remove !NEW_INSETS cruft
15582
15583 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15584
15585         * text2.C: remove !NEW_INSETS cruft
15586
15587         * text.C: remove !NEW_INSETS cruft
15588
15589         * tabular.C: remove !NEW_INSETS cruft
15590
15591         * spellchecker.C: remove !NEW_INSETS cruft
15592
15593         * lyxtext.h: remove !NEW_INSETS cruft
15594
15595         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15596
15597         * lyxfunc.C: remove !NEW_INSETS cruft
15598
15599         * lyxfind.C: remove !NEW_INSETS cruft
15600
15601         * lyx_cb.C: remove !NEW_INSETS cruft
15602
15603         * figureForm.C: remove  !NEW_INSETS cruft
15604
15605         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15606
15607         * buffer.[Ch]: remove !NEW_INSETS cruft
15608
15609         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15610
15611         * CutAndPaste.C: remove !NEW_INSETS cruft
15612
15613         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15614
15615         * BufferView2.C: remove !NEW_INSETS cruft
15616
15617         * BufferView.h: remove !NEW_INSETS cruft
15618
15619 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15620
15621         * Lsstream.h: include LString.h before the sstream headers to
15622         fix problem with gcc 2.95.3 and lyxstring
15623
15624 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15625
15626         * lyx_main.C: add using directives when needed for C functions
15627         declared in std:: namespace.
15628
15629 2001-04-27  Juergen Vigna  <jug@sad.it>
15630
15631         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15632         (SetHeightOfRow): comment out the update call should not be needed!
15633
15634 2001-04-13  Juergen Vigna  <jug@sad.it>
15635
15636         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15637         (LyXTabular): tried to minimize operator= operations (and realized
15638         hopfully Lars wish).
15639
15640 2001-04-27  Juergen Vigna  <jug@sad.it>
15641
15642         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15643
15644 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15645
15646         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15647
15648         * buffer.C (readInset): hack to make listof algorithm work
15649
15650         * BufferView_pimpl.C: hack to make listof algorithm work
15651
15652 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15653
15654         * LyXAction.C: removed all !NEW_INSETS cruft
15655         (init): moved lfun_item in method
15656
15657         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15658
15659 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15660
15661         * BufferView2.C (theLockingInset): white space.
15662
15663 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15664
15665         * minibuffer.C: include <iostream>
15666
15667         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15668
15669         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15670
15671         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15672
15673         * text.[Ch] (TransposeChars): new method
15674
15675 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15676
15677         * call message directly through LyXView instead of through LyXFunc
15678         * BufferView2.C: adjust
15679         * BufferView_pimpl.C: adjust
15680         * FontLoader.C: adjust
15681         * buffer.C: adjust
15682         * bufferview_funcs.C: adjust
15683         * converter.C: adjust
15684         * figureForm.C: adjust
15685         * importer.C: adjust
15686         * lyx_cb.C: adjust
15687         * lyx_gui_misc.C: adjust
15688         * lyxfunc.C: adjust
15689         * lyxvc.C: adjust
15690         * text2.C: adjust
15691         + more files in subdirs
15692
15693         * lyxparagraph.h (size): move up int file
15694         (GetLayout): ditto
15695
15696         * adjust all uses of Assert to lyx::Assert.
15697
15698         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15699         lyxfunctional in namespace lyx
15700         * layout.C (hasLayout): ditto
15701         (GetLayout): ditto
15702         (GetLayout): ditto
15703         (delete_layout): ditto
15704         (NumberOfClass): ditto
15705         * converter.C (GetFormat): ditto
15706         (GetNumber): ditto
15707         (Add): ditto
15708         (Delete): ditto
15709         (SetViewer): ditto
15710         * bufferlist.C (getFileNames): ditto
15711         (emergencyWriteAll): ditto
15712         (exists): ditto
15713         (getBuffer): ditto
15714         * MenuBackend.C (hasSubmenu): ditto
15715         (hasMenu): ditto
15716         (getMenu): ditto
15717         * BufferView_pimpl.C (getInsetByCode): ditto
15718
15719 2001-04-18  Juergen Vigna  <jug@sad.it>
15720
15721         * vspace.C (asLatexString): fixed the 100% problem.
15722
15723 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15724
15725         * lyxfunc.C (Dispatch):
15726         * minibuffer.C:
15727         * minibuffer.h: add a few std:: qualifiers
15728
15729 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * minibuffer.[Ch]: reimplement so that commands is initiated and
15732         run from lyxfunc, simplified som handling, and made the completion
15733         and history code for complete. wip.
15734
15735         * lyxfunc.C (processKeySym): call message
15736         (miniDispatch): new temporary method
15737         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15738         (LFUN_MESSAGE): implement
15739         (LFUN_MESSAGE_PUSH): implement
15740         (LFUN_MESSAGE_POP): implement
15741         (initMiniBuffer): the initial/defualt minibuffer message.
15742
15743         * lyxfont.[Ch]: inline some more getters
15744
15745         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15746
15747         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15748
15749         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15750         (AutoSave): use LFUN_MESSAGE
15751         (Reconfigure): ditto
15752
15753         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15754
15755         * figureForm.C: use LFUN_MESSAGE
15756
15757         * converter.C (runLaTeX): use LFUN_MESSAGE
15758
15759         * bufferview_funcs.C: use LFUN_MESSAGE
15760         (Melt): ditto
15761         (changeDepth): ditto
15762
15763         * bufferparams.h: use boost::
15764
15765         * bufferlist.h: inherit privately from noncopyable
15766
15767         * bufferlist.C (loadLyXFile): remove some commented code.
15768
15769         * buffer.C (runChktex): use LFUN_MESSAGE
15770
15771         * ShareContainer.h: inherit privately from noncopyable
15772
15773         * ParagraphParameters.[hC] (depth): inline it.
15774
15775         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15776         methods.
15777         (message): new method
15778         (messagePush): ditto
15779         (messagePop): ditto
15780         (show): init minibuffer
15781         (showState): direct call
15782
15783         * LaTeX.[Ch]: inherit privately from noncopyable
15784         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15785         instead of WriteStatus.
15786
15787         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15788
15789         * BufferView_pimpl.C (buffer): don't init minibuffer
15790         (workAreaButtonPress): use LFUN_MESSAGE
15791         (workAreaButtonRelease): ditto
15792         (savePosition): ditto
15793         (restorePosition): ditto
15794         (MenuInsertLyXFile): ditto
15795         (workAreaExpose): don't init minibuffer
15796         (update): remove commented code, simplify
15797
15798         * BufferView2.C (openStuff): use LFUN_MESSAGE
15799         (toggleFloat): ditto
15800         (menuUndo): ditto
15801         (menuRedo): ditto
15802         (copyEnvironment): ditto
15803         (pasteEnvironment): ditto
15804         (copy): ditto
15805         (cut): ditto
15806         (paste): ditto
15807         (gotoInset): ditto
15808         (updateInset): remove some commented code
15809
15810         * lastfiles.h: inherit privately from noncopyable
15811         * layout.h: ditto
15812         * lyx_gui.h: ditto
15813         * lyx_main.h: ditto
15814         * lyxlex.h: ditto
15815         * lyxlex_pimpl.h: ditto
15816
15817         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15818         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15819         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15820
15821         * LyXAction.h: inherit privately from noncopyable, add methods
15822         func_begin, func_end, returning iterators to the func map.
15823
15824         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15825         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15826         (func_begin): new method
15827         (func_end): new method
15828
15829         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15830         and not)
15831         (copySelection): ditto
15832         (pasteSelection): ditto
15833
15834         * BufferView.C: whitespace change
15835         * BufferView.h: inherit privately from noncopyable
15836
15837 2001-04-16  Allan Rae  <rae@lyx.org>
15838
15839         * tabular-old.C (l_getline):
15840         * spellchecker.C (sc_check_word):
15841         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15842         an unrecognised preprocessor directive.  So ensure they're wrapped.
15843
15844 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15845
15846         * src/exporter.C (Export): Give an error message when path to file
15847         contains spaces.
15848
15849 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15850
15851         * LaTeX.C (deplog): Always check that foundfile exists.
15852
15853 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15854
15855         * lyx_main.h:
15856         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15857
15858 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15859
15860         * tabular.[Ch] (getLabelList): implement new method
15861
15862         * minibuffer.h: comment ouf setTiimer
15863
15864         * minibuffer.C (ExecutingCB): constify res
15865         (peek_event): constify s
15866         (Set): constify ntext
15867         (Init): constify nicename
15868
15869         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15870
15871         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15872         (savePosition): use two params to Minibuffer::Set
15873         (restorePosition): ditto
15874
15875 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15876
15877         * lyx_main.C: include language.h
15878
15879         * Makefile.am (lyx_main.o): add language.h
15880
15881 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15882
15883         * exporter.C:
15884         * paragraph.C:
15885         * screen.C:
15886         * tabular.C:
15887         * CutAndPaste.C: include gettext.h
15888
15889         * lyxfont.h: remove old hack with ON and OFF.
15890
15891         * lyxparagraph.h:
15892         * lyxfont.h: do not include language.h...
15893
15894         * BufferView2.C:
15895         * LaTeXFeatures.C:
15896         * Painter.C:
15897         * bufferview_funcs.C:
15898         * font.C:
15899         * lyxfont.C:
15900         * text.C:
15901         * text2.C:
15902         * trans_mgr.C:
15903         * paragraph.C: ... but do it here instead
15904
15905 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15906
15907         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15908
15909         * tabular.C: small reformat
15910
15911         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15912         NEW_INSETS version
15913         (GetChar): ditto
15914         (BreakParagraph): ditto
15915         (SetOnlyLayout): ditto
15916         (SetLayout): ditto
15917
15918         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15919         with one arg less.
15920
15921         * lastfiles.C: removed most using decl, add std:: where needed
15922
15923         * buffer.C: ws changes
15924
15925         * MenuBackend.C (class compare_format): put into anon namespace
15926         (expand): constify label, names, action, action2
15927         (expand):
15928
15929         * text.C (SingleWidth): constify font
15930         (IsBoundary): constify rtl2
15931         (GetVisibleRow): constify ww
15932
15933         * LaTeX.C (deplog): constify logfile
15934
15935         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15936         start_x, end_x
15937         (workAreaExpose): constify widthChange, heightChange
15938
15939         * lyxrow.C (par): moved
15940         (height): moved
15941         (next): moved
15942         * lyxrow.h: as inlines here
15943
15944         * lyxfont.h (shape): moved from lyxfont.C
15945         (emph): moved from lyxfont.C
15946
15947         * lyxfont.C (LyXFont): use initialization list for all
15948         constructors
15949         (shape): move to lyxfont.h as inline
15950         (emph): move to lyxfont.h as inline
15951
15952
15953 2001-04-04  Juergen Vigna  <jug@sad.it>
15954
15955         * vspace.C: had to include stdio.h for use of sscanf
15956
15957 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15958
15959         * BufferView.h:
15960         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15961         independent of xforms.
15962
15963 2001-04-02  Juergen Vigna  <jug@sad.it>
15964
15965         * spellchecker.C: fixed namespace placing!
15966
15967 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15968
15969         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15970         the LyXParagraph * is 0.
15971
15972 2001-03-29  Juergen Vigna  <jug@sad.it>
15973
15974         * vspace.C: added support for %, c%, p%, l%.
15975         (stringFromUnit): added helper function.
15976         (asLatexString): changed to give right results for the %-values.
15977
15978         * buffer.C: convert the widthp in a width%.
15979
15980 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15981
15982         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15983         figureForm.[Ch].
15984
15985         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15986         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15987
15988         * lyx_cb.[Ch]: see above.
15989
15990         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15991         form1.[Ch].
15992
15993         * form1.[Ch]:
15994         * lyx.[Ch]: replaced by figure_form.[Ch].
15995
15996         * lyx_gui.C:
15997         * lyx_gui_misc.C:
15998         * lyxfunc.C: changed headers associated with above changes.
15999
16000 2001-03-27  Juergen Vigna  <jug@sad.it>
16001
16002         * BufferView_pimpl.C: set the temporary cursor right!
16003
16004 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16005
16006         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16007
16008 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16009
16010         * LString.h: removed "using std::getline"!
16011
16012         * BufferView_pimpl.C (Dispatch): changes due to changes in
16013         InsetInclude::Params.
16014
16015         * buffer.C (tag_name): removed redundant break statements as they were
16016         producing lots of warnings with my compiler.
16017
16018 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16019
16020         * LString.h: add "using std::getline" when using the real <string>.
16021
16022 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16023
16024         * buffer.C: removed bitset usage.
16025         PAR_TAG moved to an anonymous name space.
16026         (tag_name): new funtion, also in the anonymous namespace.
16027         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16028         (makeDocBookFile): clean code. Completed transition from string arrays
16029         to string vectors.
16030         (SimpleDocBookOnePar): code clean.
16031
16032 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16033
16034         * tabular.C: add some comments.
16035
16036 2001-03-22  Juergen Vigna  <jug@sad.it>
16037
16038         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16039         compatibility read a bit and fixed bug with minipage in different
16040         depth.
16041
16042 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16043
16044         * buffer.C (pop_tag): removed.
16045         (push_tag): removed.
16046         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16047         array replaced with vector. Added support for CDATA sections.
16048         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16049         at any nest level.
16050         (makeDocBookFile): XML conformant declaration of CDATA section,
16051         fixed bug related to <emphasis> in the first paragraph char.
16052         (sgmlOpenTag): exclude empty tags.
16053         (sgmlCloseTag): ditto.
16054
16055         * buffer.h (pop_tag): removed.
16056         (push_tag): removed.
16057
16058 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16059
16060         * language.h (Languages): added size_type and size().
16061
16062 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16063
16064         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16065         response on compability reading of minipages. One probliem is that
16066         the old usage of minipages was «flertydig»
16067
16068         * several files here and in subdirs: don't use static at file
16069         scope use anon namespaces instead.
16070
16071 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16072
16073         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16074         LaTeX output. This is necessary for Literate document
16075         processing.
16076
16077 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16078
16079         * buffer.C: insert hfill when needed.
16080
16081         * tabular.C (l_getline): use string::erase, small whitespace change.
16082
16083         * BufferView_pimpl.C: try the anon namespace.
16084         * WorkArea.C: ditto
16085
16086 2001-03-16  Juergen Vigna  <jug@sad.it>
16087
16088         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16089         otherwise it won't open options-dialogs.
16090
16091         * buffer.C: honor pextraWidth(p) on converting minipages.
16092
16093         * tabular.C (l_getline): changed the functions to strip trailing \r.
16094
16095 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16096
16097         * BufferView_pimpl.C:
16098         * minibuffer..C: added "using SigC::slot" declaration.
16099
16100 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16101
16102         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16103
16104         * text2.C: ditto
16105
16106         * text.C: ditto
16107
16108         * paragraph.C: ditto
16109
16110         * lyxtext.h: NO_PEXTRA
16111
16112         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16113
16114         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16115         * ParameterStruct.h: ditto
16116         * ParagraphParameters.h: ditto
16117         * lyxparagraph.h: ditto
16118
16119 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16120
16121         * buffer.C: add compability for minipage alignment.
16122         (latexParagraphs): remove unwanted pextra check.
16123
16124         * several files: remove CXX_WORKING_NAMESPACES
16125
16126         * buffer.C (pop_tag): tie is in namespace boost
16127
16128         * BufferView.h: noncopyable is in namespace boost
16129         * lyxlex.h: ditto
16130         * lyx_main.h: ditto
16131         * lyx_gui.h: ditto
16132         * layout.h: ditto
16133         * lastfiles.h: ditto
16134         * bufferlist.h: ditto
16135         * ShareContainer.h: ditto
16136         * LyXView.h: ditto
16137         * LyXAction.h: ditto
16138         * LaTeX.h: ditto
16139
16140 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16141
16142         * Merging changes from BRANCH_MVC back into HEAD.
16143
16144         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16145
16146 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16147
16148         * BufferView_pimpl.C: change from intl.C
16149
16150         * combox.h:
16151         * combox.C:
16152         * Makefile.am: move combox.*
16153
16154         * form1.h:
16155         * form1.C:
16156         * lyx_gui.C:
16157         * intl.h:
16158         * intl.C: remove dialog (covered by prefs)
16159
16160 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16161
16162         * lyxfunc.C (Dispatch): removed redundant break statement.
16163
16164 2001-03-14  Juergen Vigna  <jug@sad.it>
16165
16166         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16167
16168 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16169
16170         * buffer.C: add hack to fix compability reading of minipages.
16171
16172 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16173
16174         * buffer.C (getLists): Cleanup.
16175
16176 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16177
16178         * lyxfont.C (update): don't honor toggleall on font size.
16179
16180 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16181
16182         * bmtable.c:
16183         * bmtable.h:
16184         * Makefile.am: moved to frontends/xforms/
16185
16186         * lyx_gui_misc.C:
16187         * lyxfunc.C:
16188         * BufferView_pimpl.C: changes for moved mathpanel
16189
16190 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16191
16192         * gettext.h: fix gettext_init() in --disable-nls
16193
16194 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16195
16196         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16197
16198 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16199
16200         * lyx.C:
16201         * lyx.h: strip external form
16202
16203 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16204
16205         * BufferView_pimpl.C: add comment, destroySplash()
16206
16207 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16208
16209         * BufferView_pimpl.C:
16210         * LyXAction.C:
16211         * buffer.C:
16212         * commandtags.h:
16213         * lyxfunc.C: use re-worked insetinclude
16214
16215 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16216
16217         * buffer.C: add using std::stringstream.
16218
16219         * lyx_cb.C: readd using std::ios.
16220
16221         * buffer.C: add using std::map.
16222
16223         * BufferView_pimpl.C: add using std::vector.
16224
16225         * ShareContainer.h: add std:: to swap.
16226
16227         * buffer.h: add some typedefs
16228         * buffer.C (getLists): use them
16229         (getLists): renamed from getTocList.
16230         add a counter for the different float types and use it in the
16231         generated string.
16232         (getLists): use the same counter for the NEW_INSETS and the "non"
16233         NEW_INSETS
16234
16235         * lyx_cb.h: remove unused items, includes, using etc.
16236
16237         * ShareContainer.h: remove some commented code, add more comments
16238         and "documentation".
16239
16240 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16241
16242         * buffer.C (getTocList): make the list also when NEW_INSETS is
16243         defined.
16244
16245         * buffer.h: remove TocType
16246
16247         * buffer.C (getTocList): change to return a map<string,
16248         vector<TocItem> >, implement for dynamic number of list.
16249
16250         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16251         * text2.C (PasteSelection): adjust
16252         * CutAndPaste.C (pasteSelection): adjust
16253
16254         * FloatList.C (FloatList): update from the new_insets branch.
16255         * Floating.[Ch]: ditto
16256         * LaTeXFeatures.C: ditto
16257         * buffer.C: ditto
16258         * lyxlex_pimpl.C: ditto
16259
16260         * paragraph.C (Last): remove when NEW_INSETS is defined.
16261
16262         * other file: changes because of the above.
16263
16264 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16265
16266         * lyxparagraph.h: rename next to next_, previous to previous_,
16267         make them private for NEW_INSETS. Rename Next() to next(),
16268         Previous() to previous().
16269
16270         * other files: changes because of the above.
16271
16272 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16273
16274         * BufferView.h:
16275         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16276         problem.
16277
16278 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16279
16280         * main.C (main): pass lyx_localedir to gettext_init().
16281
16282         * gettext.h: remove locale_init and gettext_init macros
16283
16284         * gettext.C (locale_init): new function
16285         (gettext_init): new function
16286
16287         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16288         setlocale().
16289
16290 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16291
16292         * Moved credits to frontends:
16293         * credits.[Ch]: removed
16294         * credits_form.[Ch]: removed
16295         * lyx_gui_misc.C: remove credits stuff
16296         * Makefile.am:
16297
16298 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16299
16300         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16301
16302         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16303         unneeded destructor.
16304
16305         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16306         a standalone pointer again.
16307
16308         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16309
16310 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16311
16312         * Makefile.am:
16313         * filedlg.h:
16314         * filedlg.C:
16315         * LyXAction.C:
16316         * ToolbarDefaults.C:
16317         * bufferlist.C:
16318         * commandtags.h:
16319         * form1.C:
16320         * form1.h:
16321         * lyx_cb.C:
16322         * lyx_cb.h:
16323         * lyxfunc.h:
16324         * lyxfunc.C:
16325         * BufferView_pimpl.C: use new file dialog in GUII
16326
16327         * lyx_cb.h:
16328         * lyx_cb.C: remove LayoutsCB to Toolbar
16329
16330 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * ShareContainer.h (get): add std:: qualifier
16333
16334 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16335
16336         * ShareContainer.h: define a proper ShareContainer::value_type
16337         type (and use typename to please compaq cxx)
16338
16339 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16340
16341         * lyxparagraph.h: move serveral local vars to
16342         ParameterStruct/ParagraphParameters., use ShareContainer in
16343         FontTable., make vars in FontTable private and add getter and
16344         setter.
16345
16346         * paragraph.C: changes because of the above.
16347
16348         * lyxfont.h: remove copy constructor and copy assignment. (the
16349         default ones is ok), move number inside FontBits. move inlines to
16350         lyxfont.C
16351
16352         * lyxfont.C: add number to initializaton of statics, move several
16353         inlines here. constify several local vars. some whitespace
16354         cleanup. Dont hide outerscope variables.
16355
16356         * Spacing.h: add two new constructors to match the set methods.
16357
16358         * ShareContainer.h: new file, will perhaps be moved to support
16359
16360         * ParameterStruct.h: new file
16361
16362         * ParagraphParameters.h: new file
16363
16364         * ParagraphParameters.C: new file
16365
16366         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16367         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16368
16369         * BufferView_pimpl.C: ParagraphParameter changes.
16370         * buffer.C: Likewise.
16371         * bufferview_funcs.C: Likewise.
16372         * text.C: Likewise.
16373         * text2.C: Likewise.
16374
16375 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * lyxfind.C (LyXReplace): do not redefine default argument in
16378         implementation.
16379         (IsStringInText): ditto
16380         (SearchForward): ditto
16381         (SearchBackward): ditto
16382
16383 2001-03-06  Juergen Vigna  <jug@sad.it>
16384
16385         * lyxfind.C (IsStringInText): put parentes around expressions.
16386
16387 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16388
16389         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16390
16391 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16392
16393         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16394
16395         * stl_string_fwd.h: add comment
16396
16397         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16398
16399         * tabular.h:
16400         * tabular.C: remove unused DocBook methods
16401
16402         * intl.C:
16403         * language.C:
16404         * paragraph.C:
16405         * buffer.C:
16406         killed DO_USE_DEFAULT_LANGUAGE
16407
16408 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16409
16410         * lyx_gui.C: do not include language.h.
16411
16412         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16413         arguments in function implementation.
16414
16415 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16416
16417         * BufferView_pimpl.C: add <ctime>
16418
16419 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16420
16421         * BufferView_pimpl.C: add using std::find_if
16422
16423 2001-02-27  José Matos  <jamatos@fep.up.pt>
16424
16425         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16426         by OnlyPath.
16427
16428 2001-02-11  José Matos  <jamatos@fep.up.pt>
16429
16430         * buffer.C (makeDocBookFile): command styles now have a parameter as
16431         "title" by default.
16432
16433 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16434
16435         * layout_forms.[Ch]: removed
16436         * lyx_cb.[Ch]: out character
16437         * lyx_gui.C: out character
16438         * lyx_gui_misc.C: out character
16439         * bufferview_funcs.C: : out character,
16440         added toggleall as parameter in ToggleAndShow
16441
16442 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16443
16444         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16445
16446         * text2.C (SetCurrentFont): Disable number property at boundary.
16447
16448 2001-02-26  Juergen Vigna  <jug@sad.it>
16449
16450         * lyxfunc.C (getStatus): added a string argument override function so
16451         that this is correctly called from LyXFunc::Dispatch if it contains a
16452         do_not_use_argument which is used!
16453         (Dispatch): added check for "custom" export and call appropriate func.
16454
16455 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16456
16457         * lyxrc.C: Add language_command_local, language_use_babel and
16458         language_global_options.
16459
16460         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16461
16462         * buffer.C (makeLaTeXFile): Use language_use_babel and
16463         language_global_options.
16464
16465 2001-02-23  Juergen Vigna  <jug@sad.it>
16466
16467         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16468         which works with LyXText and putted it inside BufferView. Here now we
16469         only call for that part the BufferView::Dispatch() function.
16470
16471         * BufferView.C (Dispatch): added.
16472
16473         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16474         functions which needs to use a LyXText over from LyXFunc.
16475         (MenuInsertLyXFile): added
16476         (getInsetByCode): added
16477         (moveCursorUpdate): added
16478         (static TEXT): added
16479
16480 2001-02-22  Juergen Vigna  <jug@sad.it>
16481
16482         * BufferView_pimpl.C (update): call a status update to see if LyXText
16483         needs it.
16484
16485 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16486
16487         * vc-backend.C (revert): implement for CVS
16488         (getLog): implement for CVS
16489
16490 2001-02-20  Juergen Vigna  <jug@sad.it>
16491
16492         * text2.C (ClearSelection): added BufferView param for inset_owner call
16493
16494         * lyxfunc.C (TEXT): added this function and use it instead of
16495         directly owner->view()-text of getLyXText().
16496
16497 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16498
16499         * src/layout_forms.C: out preamble
16500         * src/layout_forms.h: out preamble
16501         * src/lyx_cb.C: out preamble
16502         * src/lyx_cb.h: out preamble
16503         * src/lyx_gui.C: out preamble
16504         * src/lyx_gui_misc.C: out preamble
16505         * src/lyxfunc.C: connect with guii preamble
16506
16507 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16508
16509         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16510
16511 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16512
16513         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16514         whether to run bibtex.
16515
16516 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16517
16518         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16519
16520 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16521
16522         * Makefile.am (lyx_SOURCES): removed bibforms.h
16523
16524         * vspace.h: doxygen
16525
16526         * text.C (GetVisibleRow): make several local vars const
16527
16528         * tabular.C: small cleanup.
16529
16530         * lyxserver.C (callback): use compare instead of strncmp
16531
16532         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16533         inlines to after class or to paragraph.C
16534
16535         * lyxfont.h: remove friend operator!=
16536
16537         * converter.h: move friend bool operator< to non friend and after
16538         class def.
16539
16540         * combox.h: small cleanup
16541
16542         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16543         to inlines after class def.
16544
16545         * buffer.C (pop_tag): use string operations instead of strcmp
16546
16547         * bmtable.c: doxygen, small cleanup
16548
16549         * LaTeX.h: remove friend operator==
16550
16551 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16552
16553         * screen.C:
16554         * lyxrc.[Ch]:
16555         * lyxfunc.C:
16556         * lyxfont.[Ch]:
16557         * lyx_cb.C:
16558         * intl.[Ch]:
16559         * commandtags.h:
16560         * buffer.C:
16561         * WorkArea.[Ch]:
16562         * LyXAction.C:
16563         * BufferView_pimpl.C:
16564         * BufferView.[Ch]: remove cruft
16565
16566 2001-02-14  Juergen Vigna  <jug@sad.it>
16567
16568         * lyxfunc.C: removed #if 0 unused code
16569
16570         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16571
16572         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16573
16574         * text2.C (SetSelection): added a BufferView * parameter
16575
16576 2001-02-13  Juergen Vigna  <jug@sad.it>
16577
16578         * lyxfunc.C (Dispatch): fixed protected blank problem.
16579         * BufferView2.C (protectedBlank): added LyxText * parameter.
16580
16581         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16582         (AppendColumn): same as above for column_info.
16583
16584         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16585         (moveCursorUpdate): use a LyXText param for support of InsetText.
16586
16587         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16588         (tripleClick): ditto
16589
16590         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16591
16592         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16593
16594         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16595
16596         * text2.C (SetSelection): set correct update status if inset_owner
16597         (ToggleFree): ditto
16598
16599 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16600
16601         * tabular.C: remove some commented code.
16602
16603 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16604
16605         * BufferView_pimpl.C: call hideSplash()
16606
16607         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16608
16609         * include_form.h:
16610         * bibforms.h: remove
16611
16612         * lyxfunc.C:
16613         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16614           add LFUN_CHILD_CREATE
16615
16616         * counters.h: fix tiny typo
16617
16618         * lyx_cb.C:
16619         * lyx.h:
16620         * lyx_gui.C:
16621         * lyx.C: move splash to frontends/xforms/
16622
16623         * lyx_gui_misc.C: move Include and Bibform to frontends
16624
16625         * lyxvc.h: clarify comment
16626
16627         * vspace.C: tiny housekeeping
16628
16629 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16630
16631         * text.C (PrepareToPrint): RTL Fix.
16632
16633         * paragraph.C (GetUChar): New method.
16634         (String):  Use GetUChar.
16635
16636         * buffer.C (asciiParagraph): Use GetUChar.
16637
16638 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16639
16640         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16641
16642 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16643
16644         * buffer.h:
16645         * buffer.C: rename to getLogName(), handle
16646           build log / latex log nicely
16647
16648 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16649
16650         * MenuBackend.C:
16651         * MenuBackend.h: remove support for reference menuitem type.
16652
16653 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16654
16655         * BufferView_pimpl.C: housekeeping
16656         * BufferView_pimpl.h:
16657         * LyXView.h:
16658         * Makefile.am:
16659         * Timeout.C:
16660         * Timeout.h:
16661         * minibuffer.h: move Timeout GUI-I
16662
16663 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16664
16665         * lyxrc.C (read): Update converters data-structures.
16666
16667 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16668
16669         * LaTeX.h (operator!=): add operator != for Aux_Info
16670
16671 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16672
16673         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16674
16675         * LaTeXLog.C: deleted, useful code moved to Buffer
16676
16677         * buffer.h:
16678         * buffer.C: new function getLatexLogName()
16679
16680         * lyx_gui_misc.C:
16681         * lyx_gui.C:
16682         * lyxvc.C:
16683         * lyxvc.h:
16684         * lyxfunc.C: use frontends for LaTeX and VC logs
16685
16686 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16687
16688         * LaTeX.h: yet another std:: that Allan forgot.
16689
16690         * Variables.C (set): renamed from isset(), because this clashes
16691         with some HP-UX macros (grr).
16692
16693 2001-02-06  Allan Rae  <rae@lyx.org>
16694
16695         * LaTeX.h: Another bug fix.  Missing std:: this time.
16696
16697 2001-02-04  Allan Rae  <rae@lyx.org>
16698
16699         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16700         floats problem. I've left it commented out because it's not quite
16701         correct.  It should also test that the current object is a table or
16702         figure inset.  But I haven't gotten around to figuring out how to do
16703         that.  I *think* it'll be something like: "table" == inset.type()
16704
16705         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16706         bool.
16707
16708 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16709
16710         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16711         all the citation/databases/styles in the auxilary file.
16712         (run): Rerun latex if there was a babel language error.
16713
16714 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16715
16716         * text.C (Backspace): Preserve the font when changing newline char
16717         with a space.
16718         (BreakParagraph): If the cursor is before a space, delete the space.
16719
16720         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16721
16722 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16723
16724         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16725         new argument (code).
16726         (ChangeCitationsIfUnique): New method.
16727
16728         * paragraph.C (GetPositionOfInset): Handle bibkey.
16729
16730 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16731
16732         * BufferView_pimpl.h: change type of Position::par_pos to
16733         LyXParagraph::size_type.
16734
16735 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16736
16737         * BufferView_pimpl.C (savePosition, restorePosition): Write
16738         messages to minibuffer.
16739
16740 2001-01-28  José Matos  <jamatos@fep.up.pt>
16741
16742         * buffer.C (makeDocBookFile): adds support for document language.
16743         A silly restriction on the name of LatexCommand types where removed.
16744         Added support for CDATA sections, allows to chars unescaped, used
16745         among others in code, to avoid escape < and >.
16746
16747 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16748
16749         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16750         saved positions instrad of a stack. Furthermore, a position is
16751         stored using paragraph id/paragraph position.
16752
16753         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16754         Remove LFUN_REF_BACK.
16755
16756 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16757
16758         * converter.C (dvipdfm_options): New method.
16759
16760 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16761
16762         * vspace.C (isValidLength): Fix for empty input string.
16763
16764 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16765
16766         * LyXAction.C (init): change description of LFUN_FIGURE to
16767         "Insert Graphics"
16768
16769 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16770
16771         * LaTeX.C: add using directive
16772
16773 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16774
16775         * MenuBackend.C (expand): Fix the sorting of the formats.
16776
16777 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16778
16779         * lyx_main.C: tiny error message fix
16780
16781 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16784         calling fl_initialize(). This fixes the problem with ',' as
16785         decimal separator in text files.
16786
16787 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16788
16789         * trans.C (process): Fix the keymap bug.
16790
16791 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16792
16793         * LaTeX.C (scanAuxFiles): New method. Provides support for
16794         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16795         (scanLogFile) Scan for "run BibTeX" messages.
16796
16797         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16798         OT1 font encoding. Also, load the aecompl package if the ae
16799         package is loaded.
16800
16801         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16802
16803 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16804
16805         * texrow.C (increasePos): turn two error messages into debug
16806         messages.
16807
16808 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16809
16810         * LaTeX.C (scanAux): Handle the \@input macro.
16811         (runBibTeX): Use scanAux().
16812
16813         * language.C (latex_options_): New field.
16814
16815         * LaTeXFeatures.C (getMacros): Add language macros.
16816
16817         * buffer.C (makeLaTeXFile): Small fix.
16818
16819 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16820
16821         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16822
16823         * text2.C: add a using directive.
16824
16825 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16826
16827         * BufferView2.C:
16828         * lyx_gui_misc.h:
16829         * lyxfr1.C:
16830         * lyxfunc.C: kill LyXBell.
16831
16832 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16833
16834         * text.C (IsBoundary): Remove the error message
16835
16836         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16837
16838         * lyxrc.C (setDefaults): Correct initialization value for
16839         font_norm_type.
16840
16841 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16842
16843         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16844         gotoError().
16845
16846         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16847         and GotoNextNote().
16848
16849         * src/LyXAction.C: Added reference-next.
16850
16851         * text.C (InsertChar): Use contains instead of strchr.
16852
16853         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16854
16855 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16856
16857         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16858         alignment commands (when needed).
16859
16860         * text.C (InsertChar): Add ':' to number separator chars.