]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
62389552911fd950828e0100acb72eb724b0744c
[lyx.git] / src / ChangeLog
1 2005-01-12  Angus Leeming  <leeming@lyx.org>
2
3         * lyx_main.C (init): set the PATH variable to include the
4         directory containing the LyX binary when running on Mac or Windows.
5
6 2005-01-12  Angus Leeming  <leeming@lyx.org>
7
8         * lyx_main.C (init): remove cruft that purports to set the locale
9         dir. It doesn't and is not needed anyway.
10
11 2005-01-10  Angus Leeming  <leeming@lyx.org>
12
13         * Makefile.am: remove the lyx_main.C special casing.
14
15         * BufferView_pimpl.C:
16         * bufferlist.C:
17         * exporter.C:
18         * lyx_cb.C:
19         * lyx_main.C:
20         * lyxfunc.C:
21         * messages.C: use support/package.h to provide the paths to the
22         various directories used by LyX.
23
24 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
25
26         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
27         layout if pasting into an empty paragraph)
28
29 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
30
31         * tex-accent.C: add <string>
32
33 2005-01-06  José Matos  <jamatos@lyx.org>
34
35         * ParagraphParameters.C (write): put every parameter in its own line.
36         * paragraph.C (write): reduce number of consecutive empty lines exported.
37         * buffer.C (LYX_FORMAT): increase file format to 239.
38
39 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
40
41         * everywhere: change support/tostr.h -> support/convert.h
42
43         * tabular.C: make all write_attributes templates, tostr -> convert
44
45         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
46         (emptyTag): and -> &&, and fix type for ret from getChar
47         (getFirstWord): fix type for ret from getChar
48         (onlyText): and -> &&
49         (simpleDocBookOnePar): and not -> && !, fix type for ret from
50         getChar
51
52         * toc.C (goTo, action):
53         * text3.C (dispatch):
54         * text.C (currentState):
55         * tex-accent.C (DoAccent):
56         * sgml.C:
57         * lyxrc.C:
58         * lyxfunc.C (menuNew):
59         * lyxfinc.C (replace):
60         * counters.C (laberItem):
61         * bufferview_funcs.C (font2string):
62         * bufferparams.C (writeFile):
63         * buffer.C (readFile):
64         * Spacing.C (set):
65         * MenuBackend.C: tostr -> convert
66
67         * LaTeX.C (runMessage): fix format
68         (scanAuxFiles): tostr -> convert
69
70         * BufferView_pimpl.C (savePosition): fix format
71         (restorePosition): ditto
72         (dispatch): ditto
73
74 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
75
76         * Spacing.[Ch]: New method getValueAsString().
77
78         * Spacing.[Ch]:
79         * bufferparams.C:
80         * ParagraphParameters.C:
81         * lyxlayout.C:
82         * text.C:
83         * text3.C: store/read spacing value as string.
84
85         * rowpainter.C: change float value (spacing_val) to double.
86
87         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
88         broken custom document spacing).
89
90 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
91
92         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
93         namespace, also more use of temp references and const
94
95         * cursor.[Ch] (getStatus): move to lyxfunc.C
96
97         * bufferparams.C: reformat slightly
98
99         * bufferview_funcs.C (font2string): constify arg
100
101         * changes.C:
102         * converter.C:
103         * counters.C:
104         * bufferlist.C:
105         * buffer_funcs.C: (many funcs): constify arg on function
106         definitions, also make more local vars const, also add ASSERTS on
107         pointer args.
108
109         * buffer.C (LYX_FORMAT): put const in correct place
110         (many funcs): constify arg on function definitions, also make
111         more local vars const
112
113         * aspell_local.h: remove "struct" from typdef setup
114
115         * aspell.C (check): make word_ok const
116         (nextMiss): simplify slightly
117         (error): ditto
118
119 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * lyxrc.[Ch]: store all float values as strings.
122         use int (not float) for lyxrc.dpi.
123
124 2005-01-04  Angus Leeming  <leeming@lyx.org>
125
126         * lyx_cb.C (Reconfigure):
127         * lyx_main.C (queryUserLyXDir):
128         to run the <system_lyxdir>/configure correctly on Windows, prefix
129         the path to the script with "sh " when generating the string that
130         is passed to system().
131
132 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
133
134         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
135
136 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
137
138         * lyxlength.C (asLatexString): get rid of setprecision
139
140 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * text2.C (setLayout): remove unused variable endpit.
143         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
144
145         * paragraph.C (onlyText): remove unused variable style.
146
147         * cursor.C (bruteFind): remove unused variables beg and end.
148
149         * Makefile.am (dist_noinset_DATA): not needed anymore
150
151         * cheaders/*: remove.
152
153 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * text3.C: fix LFUN_MATH_MODE.
156
157 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * buffer_funcs.C (countWords): new function. Counts words between
160         two iterators.
161
162         * BufferView_pimpl.C (getStatus, dispatch): handle
163         LFUN_WORDS_COUNT.
164
165         * LyXAction.C (init):
166         * lfuns.h: add LFUN_WORDS_COUNT.
167
168 2004-12-19  Angus Leeming  <leeming@lyx.org>
169
170         * buffer.C (save): s/slashify_path/internal_path/.
171
172 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
173
174         * lyxfind.C (findChange): do not search for end of pars, because
175         the change tracker cannot handle this (fixes bug 1719).
176
177 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
178
179         * paragraph.[Ch] (autoBreakRows): remove
180
181         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
182
183         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
184         avoid using the paragraph one
185
186         * text2.C (LyXText, insertStringAsLines): adjust
187
188 2004-12-16  Angus Leeming  <leeming@lyx.org>
189
190         * bufferlist.C:
191         * lyx_main.C:
192         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
193
194 2004-12-14  Angus Leeming  <leeming@lyx.org>
195
196         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
197
198         * bufferlist.C (emergencyWrite):
199         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
200         GetEnvPath("HOME").
201
202 2004-12-14  Angus Leeming  <leeming@lyx.org>
203
204         * main.C: (main): no longer pass pointers to os::init.
205
206 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
207
208         * undo.C (textUndoOrRedo): simplify logic, fix a crash
209         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
210
211 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
212
213         * lyxfunc.C:
214         * text3.C: remove selection_possible global flag
215
216 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
217
218         * text2.C (getSelectionSpan): remove
219         (changeDepth, changeDepthAllowed): adjust
220
221 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
222
223         * Makefile.am (BOOST_LIBS): use boost variables
224
225 2004-12-03  José Matos  <jamatos@lyx.org>
226
227         * buffer.C: format up to 238.
228
229 2004-12-03  José Matos  <jamatos@lyx.org>
230
231         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
232
233 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
234
235         * cursor.C (goUpDown): remove call to idxUpDown2
236
237 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * tabular.[Ch]: use size_t-like types for cell, row and column
240         indices
241
242 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
243
244         * lyxfunc.C (getStatus): do not lose previous information when
245         calling BufferView::getStatus; do not set a default "Command
246         disabled" message at the beginning, but just before returning.
247
248 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
249
250         * cursor.h (getStatus): add better comment from src/cursor.C
251
252 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * text3.C (getStatus): return false when the lfun is not handled
255
256 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * broken_headers.h: remove
259
260         * Makefile.am (lyx_SOURCES): remove broken_headers.h
261
262 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
263
264         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
265         offset_ref accessors
266
267         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
268         top_y_, merge fitcursor with update
269         (updateScrollbar, scrollDocView, fitCursor, center, update): new
270         coord scheme
271         (metrics): introduce
272         (workAreaDispatch): adapt to new coord scheme
273         (redoCurrentBuffer): remove
274
275         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
276
277         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
278         CurStatus enum.
279
280         * coordcache.[Ch]: add paragraph cache and helpers
281
282         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
283         adjust everywhere
284
285         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
286         (targetX, setTargetX): introduce
287
288         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
289         baseline -> ascent, as the rest of lyx
290
291         * lyxtext.h: remove redoParagraphs, updateParPositions,
292         fullRebreak, redoParagraphInternal. move dist to anon namespace in
293         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
294         have ascent/descent (ascent is ascent of first par)
295
296         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
297         step of BufferView
298
299         * paragraph.[Ch]: unify dimension handling with the rest of lyx
300
301         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
302
303         * pariterator.C: fix infinite loop introduced in par->pit renaming
304
305         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
306         in insets and LyXText, draw two off-screen paragraphs using
307         NullPainter, and adapt to new coord scheme
308
309         * text.C:
310         * text2.C:
311         * text3.C: adapt lfun handlers to the new coord scheme, which
312         means: there's only guaranteed coord information for onscreen pars
313         plus one above and one below. This implies that one can do search
314         from y coordinates in the range [-1,workHeight]
315
316 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
317
318         * rename a lot of InsetOld to InsetBase
319
320 2004-11-25  Angus Leeming  <leeming@lyx.org>
321
322         * BufferView_pimpl.C:
323         * lyx_cb.C:
324         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
325
326 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
329         call BufferView::getStatus if LCursor::getStatus did nothing
330         (setStatusMessage, getStatusMessage): removed.
331
332         * FuncStatus.C (message): new methods. Used to provide an error
333         message indicating why a command is disabled.
334         (clear, |=, FuncStatus): update for message.
335
336 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
337
338         * lyxfunc.C (dispatch): always call sendDispatchMessage
339
340 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
341
342         * BufferView.C:
343         * BufferView_pimpl.C:
344         * CutAndPaste.C:
345         * FontIterator.C:
346         * buffer.C:
347         * cursor.C:
348         * cursor_slice.[Ch]:
349         * dociterator.[Ch]:
350         * lyxfind.C:
351         * paragraph_funcs.C:
352         * pariterator.C:
353         * rowpainter.C:
354         * text.C:
355         * text2.C:
356         * text3.C:
357         * undo.C: par->pit renaming
358
359 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
360
361         * tabular.C (cellstruct): use initialization, store a shared_ptr
362         to insettext instead of the insettext directly, adjust to fit.
363         (operator=):  new function
364         (swap): new function
365         (rowstruct): use initialization
366         (columnstruct): use initialization
367         (ltType): use initialization
368
369
370         * lyxlength.h (swap): new function
371
372         * LColor.[Ch] (operator=): use the common semantics
373
374 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * lyxfind.C (findNextChange): update the bufferview after setting
377         the selection.
378
379 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
380
381         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
382         number of InsetOptArgs has already been inserted.
383
384         * output_latex.C (latexOptArgInsets): new method. This outputs all
385         the optarg insets, up to the limit defined in the layout file.
386         (optArgInset): removed
387         (TeXOnePar): call latexOptArgInsets; correctly update texrow
388
389 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * paragraph.C (isLetter): remove special spellchecker-related
392         code; return true also for digits
393         (isWord, isKomma): remove
394
395         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
396         * lyxfind.C (MatchString()): use isLetter instead of isWord
397
398 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
399
400         * pariterator.h (operatir=): comment out un-implemented member
401         function.
402
403         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
404         static cast.
405
406 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
407
408         * lyxfont.h: include LColor.h to satisfy concept checks.
409
410 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
411
412         * pariterator.h: add typdefs for value_type, difference_type,
413         pointer and reference to satisfy concept checks. Also add default
414         constructor for same reason.
415
416         * pariterator.C (operator++): add post-increment operator to
417         satisfy concept checks.
418
419         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
420         checks.
421
422         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
423
424         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
425         checks. Also rename base_type to BaseType to follow naming
426         standard better.
427
428         * FloatList.h: include Floating.h to satisfy concept checks.
429
430 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
431
432         * lyxfunc.C (getStatus): when the origin of the request is menu or
433         toolbar, and the LyXView does not have focus, do as if there was
434         no buffer (bug 1720)
435
436         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
437         FuncRequest to individual entries of LFUN_SEQUENCE
438
439 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * output_latex.C (TeXOnePar): override runparams.moving_arg
442         according to the needprotect value of the current paragraph (bug
443         1739)
444
445         * paragraph.C (simpleTeXOnePar): no need to override
446         runparams.moving_args here
447
448 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
449
450         * vspace.C: fix off-by-one-error, related to fix #1682
451
452 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
453
454         * lengthcommon.C: a more general fix for bug 1682
455
456 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * text.C (backspace): fix crash
459
460 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
461
462         * format.[Ch] (getFormatFromFile): new method
463         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
464
465 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
468
469 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lyxfunc.C (dispatch): remove the verbose argument
472         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
473         instead
474
475         * kbmap.C (defkey): set the origin of func to KEYBOARD
476
477         * MenuBackend.C (MenuItem):
478         * ToolbarBackend.C (add): set the origin of func to UI
479
480         * funcrequest.[Ch]: add origin member, which indicates which part
481         of LyX requests an action
482
483 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
484
485         * converter.C (move): don't lie in the error message
486         * converter.h (isReachable, move): document
487
488 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
489
490         * buffer.C: remove unused using lyx::support::atoi
491         * paragraph_funcs.C: ditto
492
493 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
494
495         * bufferlist.C (exists): use bind and equal_to instead of
496         compare_memfun
497         (getBuffer): ditto
498         * lyxtextclasslist.C (NumberOfClass): ditto
499
500         * cursor.C (insert): use for_each instead of explicit for loop
501
502         * bufferlist.C (getFileNames): use std::transform and
503         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
504
505         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
506         for loop
507
508         * buffer.C (changeLanguage): use for_each instead of explicit for
509         loop
510         (hasParWithID): implement using getParFromID
511
512         * LaTeXFeatures.C: ws change only
513
514         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
515         to cleanup a bit.
516
517         * BufferView_pimpl.C (trackChanges): use for_each instead of
518         expilicit for loop
519
520 2004-11-04  André Pönitz  <poenitz@gmx.net>
521
522         * undo.h:
523         * undo.C (textUndoOrRedo): fix crash when creating undo information.
524
525         * dociterator.C (asDocIterator): use hard assert again.
526
527 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * lyxlength.C (asLatexString): rewrite so that it does not use
530         snprintf anymore
531
532 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * text3.C (specialChar, dispatch): make sure cursor moves to the
535         right after inserting an inset
536
537 2004-11-02  José Matos  <jamatos@lyx.org>
538
539         * output_docbook.C (docbook):
540         * paragraph.C (getID):
541         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
542         garantee that the output is always legal.
543
544         * tabular.C (docbook):
545         * outputprams.[Ch]: remove mixed contents.
546
547 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
548
549         * text2.C (setCounter): prevent endless loop
550
551 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
552
553         * exporter.C (copyFile): use the mover instead of support::copy()
554         * exporter.C (Export): pass format and latex name to copyFile()
555         * exporter.h (addExternalFile): document
556         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
557
558 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
559
560         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
561
562 2004-10-30  José Matos  <jamatos@lyx.org>
563
564         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
565         text and no inset or font change. This allows to use CDATA
566         sections just for the whole paragraph.
567
568 2004-10-30  José Matos  <jamatos@lyx.org>
569
570         * paragraph.C (getFirstWord): remove unused variable.
571
572 2004-10-30  José Matos  <jamatos@lyx.org>
573
574         * paragraph.C (getFirstWord): the content should always be escaped
575         there.
576         (simpleDocBookOnePar):
577         * output_docbook.C (makeEnvironment): replace reference to CDATA
578         to style pass_thru.
579
580 2004-10-30  José Matos  <jamatos@lyx.org>
581
582         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
583
584 2004-10-30  José Matos  <jamatos@lyx.org>
585
586         * output_docbook.C (makeParagraphs):
587         * paragraph.[Ch] (emptyTag): for docbook and company, if the
588         standard paragraph has only a given type of content drop the wrapper.
589
590 2004-10-29  José Matos  <jamatos@lyx.org>
591
592         * output_docbook.C (makeEnvironment):
593         * sgml.C (openTag):
594         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
595
596 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
597
598         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
599         (cleanID): sanitize any id.
600
601 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
602
603         * buffer.C, lyxlex_pimpl.C:
604         * lyxlex_pimpl.C (setFile):
605         s/getExtFromContents/getFormatFromContents/
606
607 2004-10-28  José Matos  <jamatos@lyx.org>
608
609         * output_docbook.C (makeEnvironment): move id to broadest possible
610         scope.
611
612         * sgml.C (openTag): apply substitution of <> for all attributes.
613
614 2004-10-28  José Matos  <jamatos@lyx.org>
615
616         * buffer.C (makeLinuxDocFile, makeDocBookFile):
617         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
618         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
619
620         * sgml.[Ch]: new version for open and closeTag for paragraph and
621         for strings. Now they handle the ids of paragraphs.
622
623 2004-10-26  Angus Leeming  <leeming@lyx.org>
624
625         * Makefile.am: add mover.[Ch].
626
627         * converter.C (convert, move): use the new Movers to move external
628         files to the temp directory.
629
630         * lyx_main.C (init): ensure that the global system_movers data
631         is initialised.
632
633         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
634         preferences file.
635
636         * mover.[Ch]: new files, defining a Mover as a utility to move an
637         external file between directories and, if necessary, manipulate this
638         file using a helper script.
639
640 2004-10-25  José Matos  <jamatos@lyx.org>
641
642         * output_docbook.C (makeCommand): merge two if's that tested the
643         same condition.
644
645 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
646
647         * sgml.C (escapeString): fix warning in a better way
648
649 2004-10-25  José Matos  <jamatos@lyx.org>
650
651         * sgml.C (escapeString): import the require boosts header file for
652         tie, and avoid a signed unsigned comparison.
653
654 2004-10-25  José Matos  <jamatos@lyx.org>
655
656         * sgml.h: add #include <string>
657
658 2004-10-25  José Matos  <jamatos@lyx.org>
659
660         * sgml.[Ch] (escapeString): new function to escape all the string.
661
662 2004-10-24  José Matos  <jamatos@lyx.org>
663
664         * paragraph.[Ch] (getFirstWord): new function to get the first
665         word. Useful for description.
666         (simpleDocBookOnePar): remove depth argument, add another that
667         says where to start the paragraph.
668
669         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
670         use the new functions to fix cleanly the support for descriptions.
671
672 2004-10-24  José Matos  <jamatos@lyx.org>
673
674         * buffer.C (makeLinuxDocFile, makeDocBookFile):
675         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
676         * output_linuxdoc.C (linuxdocParagraphs):
677         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
678         add buffer as argument.
679
680 2004-10-24  José Matos  <jamatos@lyx.org>
681
682         * output_docbook.C (makeEnvironment, searchEnvironment): place
683         CDATA inside paragraphs and fix scope for listitems.
684
685 2004-10-24  José Matos  <jamatos@lyx.org>
686
687         * output_docbook.C: remove using statement for stack.
688
689 2004-10-23  José Matos  <jamatos@lyx.org>
690
691         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
692         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
693         docbook. The new scheme is recursive and makes use of iterators, the
694         same as latex export works.
695         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
696         directly with the paragraph contents. This code was moved up to
697         output_docbook.C (docbookParagraphs).
698         * sgml.C (openTag, closeTag): removed unneeded newlines.
699         (closeEnvTags) removed.
700
701 2004-10-23  André Pönitz  <poenitz@gmx.net>
702
703         * undo.C (textUndoOrRedo):
704         * dociterator.C (asDocIterator): work around crash
705
706         * cursor.C (getStatus): replace ASSERT by more verbose error message
707           and manual correction of the problem. Should increase stability
708           while providing more sensible information.
709
710 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
711
712         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
713
714         * bufferlist.C (previous, next): new methods
715
716         * lfuns.h:
717         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
718
719 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
720
721         * buffer.C (makeDocBookFile): add dsssl stylesheet control
722         entities to preamble.
723
724 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
725
726         * messages.C (Pimpl): strip off translation context information
727
728 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
731         the cursor is correct (bug 1694)
732
733 2004-10-13  José Matos  <jamatos@lyx.org>
734
735         * output_docbook.C (docbookParagraphs): fix closing tags in the
736         end of the document.
737
738 2004-10-09  José Matos  <jamatos@lyx.org>
739
740         * buffer.C: format up to 237.
741         * bufferparams.C (write): use tostr to convert booleans to strings.
742
743 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
746
747 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
748
749         * LaTeX.C: implement use of babel language in xindy.
750
751 2004-10-05  José Matos  <jamatos@lyx.org>
752
753         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
754         Add new translators to help reading and writing the lyx file.
755
756 2004-10-05  José Matos  <jamatos@lyx.org>
757
758         * ParagraphParameters.C (read):
759         * text.C (readParToken): replace nexToken by more appropriate lex
760         methods.
761
762 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
763
764         * LaTeX.C (runMakeIndex):
765         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
766         (usually 'makeindex') configurable.
767
768         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
769         with a variable rather than with a number.
770
771 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * output_latex.C (TeXOnePar): make sure font setting is the first
774         thing that gets output (and the last at the end). Should fix bug
775         1404.
776
777 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
778
779         * pch.h: use proper signal include
780
781         * LaTeX.h: Use preferred calling of Boost.Signal
782         * buffer.h: ditto
783
784 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
785
786         * pch.h: dont include <boost/function/function0.hpp>
787
788         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
789
790         * paragraph_pimpl.h: remove usage of ShareContainer
791
792         * paragraph_pimpl.C: remove initialization of ShareContainer.
793
794 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         Fix bug #1666
797
798         * BufferView.C (putSelectionAt): change the semantics when
799         backwards == true: now, this just swaps cursor and anchor wrt the
800         forward case
801
802         * BufferView.h (putSelectionAt): add some documentation
803
804         * lyxfind.C (findBackwards): rewrite using while(). In particular,
805         make sure backwardChar is done at least once (to avoid getting
806         stuck)
807         (findNextChange): use putSelectionAt in the forward direction
808         (operator()): use Paragraph::isWord
809
810 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
811
812         * Spacing.C (set): c_str fix
813
814 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
815
816         * lyx_cb.C (Reconfigure): quote the name of configure script in
817         case it contains spaces
818
819 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
820
821         * client: new dir
822
823         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
824         (BOOST_LIBS): use top_buildir when looking for the file
825
826 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
827
828         * pch.h: do not use include boost/format.hpp, multiple symbols
829                 will result (gcc bug)
830
831
832 2004-08-23  José Matos  <jamatos@lyx.org>
833
834         * bufferparams.C (readToken): fix reading of the author field.
835
836 2004-08-20  José Matos  <jamatos@lyx.org>
837
838         * lyxrc.C: remove support/translator.h inclusion since it is not used.
839
840 2004-08-20  José Matos  <jamatos@lyx.org>
841
842         * lyxlex.[Ch] (findToken): remove function.
843
844         * ParagraphParameters.C (findToken):
845         * bufferparams.C (findToken): replace call for previous function
846         with local copy. This local function has one more argument, the
847         read string argument.
848
849 2004-08-16  José Matos  <jamatos@lyx.org>
850
851         * ParagraphParameters.C (write):
852         * Spacing.C (writeFile):
853         * bufferparams.C (writeLaTeX):
854         * lyx_cb.C (Reconfigure):
855         * paragraph.C (write):
856         * tabular.C (write): remove unnecessary space at end of line.
857
858
859 2004-08-16  José Matos  <jamatos@lyx.org>
860
861         * text.C (readParagraph): remove debug message.
862
863 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
866         crash
867
868         * output_plaintext.C (asciiParagraph): set depth correctly
869
870         * outputparams.h: add member depth
871
872         * paragraph_funcs.C (ownerPar): remove.
873
874         * text2.C (setCounter): remove first_pit; comment out some
875         non-working code that uses ownerPar
876
877         * BufferView.C (getParentLanguage): remove. Not used anymore, and
878         uses ownerPar
879
880 2004-08-16  José Matos  <jamatos@lyx.org>
881
882         * text.C (readParToken, readParagraph, read): report all unknown tokens.
883         For the same level of importance use the same chanel to report problems.
884         (read): add code to deal with \begin_body and \end_body.
885
886
887 2004-08-15  José Matos  <jamatos@lyx.org>
888
889         * lyxlex.C (getString): fix comment, buffer::readBody is now
890         buffer:readDocument.
891
892         * tex-strings.C (string_papersize): Default -> default,
893         Custom -> custom, for consistency with other options.
894
895 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
896
897         * pch.h: new file
898
899         * Makefile.am: support pch
900
901 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         * text.C (readParToken): remove the static LyXFont variable and
904         pass it as a parameter instead. This fixes a nasty bug where an
905         inset will be inserted with a bad font in some situations
906         (readParagraph): adapt
907
908         * text2.C (setCounter): reduce number of calls to pars_[pit]
909
910         * text.C (singleWidth): add an assert, fix a test
911
912         * rowpainter.C (paintText): reduce number of calls to singleWidth
913
914         * paragraph.C (isHfill):
915         (isNewline): ws only
916
917 2004-08-14  André Pönitz  <poenitz@gmx.net>
918
919         * text.C:
920         * text2.C:
921         * rowpainter.C:
922         * lyxtext.h (several functions): use a Paragraph & argument
923         instead of par_type
924
925 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * metricsinfo.h: add a new field ltr_pos to PainterInfo
928
929         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
930
931         * text.C (singleWidth): remove useless test
932
933 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * tabular.h: remove bogus comments
936
937         * tabular.C (getDescentOfRow):
938         (isPartOfMultiColumn): add assertions
939
940         * lyxlength.C (inPixels): remove #warning
941
942 2004-08-14  André Pönitz  <poenitz@gmx.net>
943
944         * paragraph.h: inline getChar()
945
946         * BufferView.h: remove unused declarations
947
948 2004-08-14  José Matos  <jamatos@lyx.org>
949
950         * Buffer.[Ch] (readDocument): new name for old readBody.
951         * Buffer.C: new file format, new keywords: \begin_document,
952         \begin_header, \begin_body, \end_body.
953
954         * bufferparams.C (readToken): replace all calls to lex.nextToken
955         by lex.next(). Do the same to eatLine except where really needed.
956
957         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
958         line when writing to the lyx file.
959
960         * output_plaintext.C (asciiParagraph): fix Bibliography style
961         handling.
962
963         * text.C (read): fix end of file handling.
964
965 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
966
967         * MenuBackend.C (Menu::operator[]): new method to access
968         individual menu items
969         (Menu::hasFunc): new method. search for an item that corresponds
970         to a given func
971         (MenuBackend::specialMenu): new method
972         (MenuBackend::expand): if a special menu has been set, skip
973         entries whose func() appears in this menu
974
975 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
976
977         * text3.C: use Debug::DEBUG a bit more
978
979         * text.C (leftMargin): try to simplify a tiny bit change var x to
980         l_margin. Dont output the wide margins always.
981         (rightMargin): no margin in inner texts
982
983         * rowpainter.h (nestMargin): new func
984         (changebarMargin): new func
985         (rightMargin): new func
986
987         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
988         now functions.
989         (paintLast): ditto
990
991         * factory.C (createInset): modify setDrawFrame
992
993         * cursor.C: use Debug::DEBUG a bit more
994
995 2004-08-14  André Pönitz  <poenitz@gmx.net>
996
997         * coordcache.[Ch]:
998         * Makefile.am: new files to accomodate an 'external' (x,y)-position
999         cache for all insets in (at least partially) visible (top-level)
1000         paragraphs.
1001
1002         * BufferView_pimpl.C: reset external coord cache before every update.
1003         This means the coord cache only contains valid entries.
1004
1005 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1006
1007         bug 1096
1008         * BufferView_pimpl.C (getInsetByCode): move function out of class
1009         and change in to a template in anon namespace. Also fix to do what
1010         suits us better.
1011
1012 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1013
1014         bug 1305
1015         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1016         of char
1017         (breakParagraph): rename par to par_offset and use a local
1018         reference. Add code to keep the language over a rebreak.
1019         (breakParagraphConservative): rename par to par_offset, use a
1020         local reference
1021         (mergeParagraph): ditto
1022         (outerHook): ditto
1023         (isFirstInSequence): ditto
1024         (outerFont): rename pit to par_offset
1025
1026         * paragraph.C: ws change
1027         * paragraph.h: ditto
1028         * text3.C: ditto
1029         * text.C: ditto
1030
1031 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1032
1033         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1034         treatment for ']'
1035
1036         * paragraph.C (simpleTeXOnePar): when we have a \item with
1037         optional argument, enclose the argument with curly brackets (in
1038         case it contains a closing square bracket)
1039
1040         * text2.C (editXY):
1041         * text2.C (editXY):
1042         * text3.C (checkInsetHit): constify
1043
1044 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1045
1046         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1047         documents (bug 1629)
1048
1049 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         Fix toggling of collapsable insets with the mouse (bug 1558)
1052
1053         * lyxfunc.C (dispatch): adapt to LCursor changes
1054
1055         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1056         make sure that dispatch is not invoked twice
1057
1058         * cursor.C (needsUpdate): new method
1059         (dispatch): return void
1060         (result): new method, to access the DispatchResult of the cursor.
1061
1062 2004-08-13  José Matos  <jamatos@lyx.org>
1063
1064         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1065
1066 2004-08-13  André Pönitz  <poenitz@gmx.net>
1067
1068         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1069
1070         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1071           multiple cells
1072
1073 2004-08-12  André Pönitz  <poenitz@gmx.net>
1074
1075         * text3.C: take out the 'cursor right' form insertInset and only
1076         do it in those places when it is really needed. Fixes crash on
1077         C-m...
1078
1079 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1080
1081         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1082
1083         * BufferView_pimpl.C (setBuffer): initialize the current font of
1084         the underlying LyXText
1085
1086 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1087
1088         * kbsequence.C (print): use UI native formatting for menu
1089         shortcuts
1090
1091         * text.C (insertChar): call Paragraph::insertChar with a font
1092         argument (cosmetic)
1093
1094         * paragraph.C (insertInset, insertChar): the version that takes a
1095         LyXFont argument is now a wrapper around the other one (the
1096         opposite used to be true).
1097
1098         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1099         argument. Font setting is done in Paragraph now.
1100
1101 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1102
1103         * outputparams.h: add new members intitle and lang.
1104
1105         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1106         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1107
1108 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1109
1110         * text3.C (dispatch): remove special handling of button 4 and 5,
1111         it is now taken care of in the frontend code.
1112
1113 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1114
1115         * Spacing.h: add <string> (STLPort compile fix)
1116
1117 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1118
1119         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1120
1121 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1122
1123         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1124         to bool.
1125
1126         * converter.C (showMessage): inherit from unary_function, make
1127         operator() const.
1128
1129         * buffer.C (writeFile): initialize retval
1130
1131         * InsetList.h: rename private variable list to list_
1132         * InsetList.[Ch]: adjust accordingly.
1133
1134 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1135
1136         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1137         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1138         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1139         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1140         * ParagraphParameters.C, LaTeXFeatures.C: replace
1141         "support/std_sstream.h" with <sstream>
1142
1143 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1144
1145         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1146         * lyxsocket.C (LyXServerSocket): ditto
1147         (serverCallback): ditto
1148
1149 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1150
1151         * LaTeXFeatures.C: check release date when loading jurabib.
1152
1153 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1154
1155         * lyxserver.C (startPipe): call register_socket_callback
1156         (endPipe): call unregister_socket_callback
1157
1158 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1159
1160         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1161         (LyXServerSocket): register the callback
1162         (LyXServerSocket): unregister the callback
1163         (fd): delete function
1164         (serverCallback): improve error checking and setup the callbacks.
1165         (dataCallback): change arg to fd.
1166         (writeln): new func (copied fro the client socket) used for server
1167         write to client.
1168         (LyXDataSocket): simplify
1169         (~LyXDataSocket): close ann unregiser callback
1170         (server): delete function
1171         (fd): delete function
1172         (readln): small changes, improve some std::string usage
1173         (writeln): constify a bit
1174
1175 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1178         Qt frontend
1179
1180 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1181
1182         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1183         after it has been populated
1184
1185 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1186
1187         * text2.C (insertInset): move cursor when inserting inset.
1188
1189 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * kbmap.C (findbindings): a couple of new methods. returns a
1192         container of kb_sequence objects. The real work is done by the
1193         private recursive version
1194         (printbindings): uses findbindings to print out a bracketed list
1195         of bindings (renamed from findbinding).
1196
1197         * MenuBackend.C (binding): use kb_keymap::findbindings
1198
1199         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1200
1201 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1202
1203         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1204
1205 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1206
1207         * paragraph.C (isWord): return true on insets that report
1208         isLetter().
1209
1210         * text.C (getWord): use Paragraph::isWord to decide what is in a
1211         word and what is not; fix bug 1609.
1212
1213 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1214
1215         * tex-strings.C: add "none" to string_paperpackages[], fixes
1216         off-by-one-error in the paperpackage selection.
1217
1218         * lyxlex.[Ch]:
1219         * tex-strings.[Ch]: char const * string[n]
1220         -> char const * const string[]
1221
1222 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1223
1224         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1225         command, return early.
1226
1227 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1228
1229         * debug.h: add DEBUG to enum and fix size of ANY.
1230
1231         * debug.C: add support for Debug::DEBUG
1232         (showTags): cast errorTags.level to unsigned int
1233
1234         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1235         (redoCurrentBuffer): ditto
1236         (updateScrollbar): ditto
1237         * cursor.C (dispatch): ditto
1238         * text2.C (setLayout): ditto
1239         (setFont): ditto
1240         (updateCounters): ditto
1241         (editXY): ditto
1242         (deleteEmptyParagraphMechanism): ditto
1243
1244 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1245
1246         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1247         annotations to cleanup the Makefile slightly.
1248
1249 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1250
1251         * lyxrc.C: do not set user_email to a default value but use empty
1252         instead. The entry used to be translated, which does not work
1253         since at the point where lyxrc is constructed there is no
1254         translation service available
1255
1256         * messages.C (getLocaleDir): remove and use directly
1257         lyx_localedir() instead
1258
1259 2004-06-02  Angus Leeming  <leeming@lyx.org>
1260
1261         Fix crash caused by dereferencing null pointer 'exportdata' in
1262         OutputParams by creating a new ExportData variable on the heap,
1263         storing it in a boost::shared_ptr.
1264         The crash was triggered when generating an Instant Preview
1265         of an external inset.
1266
1267         * Makefile.am: add outputparams.C
1268
1269         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1270         (c-tor): allocate memory to it.
1271
1272         * exporter.C (c-tor): associated changes.
1273
1274 2004-06-01  Angus Leeming  <leeming@lyx.org>
1275
1276         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1277         contains data before calling isInset(0). (Bug 1513.)
1278
1279 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1280
1281         * exporter.C (checkOverwrite): new method
1282         * exporter.C (copyFile): new method
1283         * exporter.C (Export): copy referenced files to the document dir
1284         * exporter.[Ch]: new class ExportedFile
1285         * exporter.[Ch]: new class ExportData. Contains currently the
1286         names of referenced external files
1287         * outputparams.h: add exportdata member.
1288
1289 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1290
1291         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1292         version.C-tmp
1293
1294 2004-05-19  Angus Leeming  <leeming@lyx.org>
1295
1296         * LaTeXFeatures.C:
1297         * ToolbarBackend.C:
1298         * bufferparams.C:
1299         * lyxfunc.C: small changes due to the introduction of namespace
1300         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1301
1302 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1303
1304         * text3.C (dispatch): supress update when only moving the cursor
1305         * cursor.C (selHandle): remove commented code
1306
1307 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1308
1309         * paragraph.C (startTeXParParams): correct column count
1310         * CutAndPaste.C (pasteSelection): remove const_cast
1311         * output_docbook.C (docbookParagraphs): remove const_cast
1312         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1313         const_cast and return ParagraphList::const_iterator
1314         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1315         * output_plaintext.C (writeFileAscii): remove const_cast
1316         * paragraph.[Ch] (simpleTeXOnePar): make const
1317         * paragraph_funcs.C (outerPar): use const iterators
1318         * paragraph_pimpl.C (validate): use const iterators
1319         * text.C (setHeightOfRow): use const iterators
1320
1321 2004-05-17  Angus Leeming  <leeming@lyx.org>
1322
1323         * lfuns.h:
1324         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1325
1326         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1327         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1328         if the citation engine has changed.
1329
1330 2004-05-14  José Matos  <jamatos@lyx.org>
1331
1332         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1333         if the textclass does not provide it. Have it different for sgml and
1334         xml.
1335         support the language of document.
1336         * output_docbook.C (docbookParagraphs):
1337         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1338         first anchor as the id of the paragraph, remove special case code.
1339         * sgml.C (escapeChar): escape only < & >.
1340
1341 2004-05-14  Angus Leeming  <leeming@lyx.org>
1342
1343         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1344         dependencies on src/frontends/controllers/biblio.h. Define a
1345         CiteEngine_enum wrapper class to enable the enum to be forward
1346         declared.
1347
1348 2004-05-12  Angus Leeming  <leeming@lyx.org>
1349
1350         * buffer.C: up LYX_FORMAT to 234.
1351         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1352         use_numerical_citations with a single biblio::CiteEngine cite_engine
1353         variable.
1354         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1355
1356 2004-05-13  José Matos  <jamatos@lyx.org>
1357
1358         * converter.h:
1359         * converter.C (Converter, readFlags): add xml member.
1360         * outputparams.h: add XML flavor.
1361         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1362
1363 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1364
1365         * lyxfunc.C (dispatch):
1366         (getStatus): fix handling of LFUN_SEQUENCE
1367
1368 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1369
1370         * debug.C (showLevel): do not forget the end-of-line marker
1371
1372 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1373
1374         * kbmap.C (read): do not stop parsing a bind file when an error
1375         occurs (bug 1575)
1376
1377 2004-04-29  Angus Leeming  <leeming@lyx.org>
1378
1379         * cursor.C:
1380         * factory.C:
1381         * pariterator.C:
1382         * text2.C: wrap a bunch of #warning statements
1383         inside #ifdef WITH_WARNINGS blocks.
1384
1385 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1386
1387         * buffer.C: increment format to 233.
1388
1389 2004-04-28  Angus Leeming  <leeming@lyx.org>
1390
1391         * BufferView_pimpl.C:
1392         * lyxfunc.C:
1393         * text3.C:
1394         s/updateToolbar()/updateToolbars()/
1395         s/Toolbar.h/Toolbars.h/
1396
1397 2004-04-28  Angus Leeming  <leeming@lyx.org>
1398
1399         * BufferView.[Ch] (c-tor):
1400         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1401         No longer passes these data to the WorkArea generator.
1402
1403 2004-04-28  Angus Leeming  <leeming@lyx.org>
1404
1405         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1406
1407 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1408
1409         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1410
1411 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * output_latex.C (TeXEnvironment): make sure that there is a line
1414         break before \end{foo} for the last paragraph of a document
1415         (TeXOnePar): if the paragraph is at the end of the document (or
1416         inset) and the language has to be reset, then make sure that the
1417         line break is _before_ the language command, not after (fixes bug
1418         1225); also make sure that the language reset command is the first
1419         thing after the paragraph (to ensure proper nesting of
1420         environments and thus fix bug 1404)
1421
1422 2004-04-21  John Levon  <levon@movementarian.org>
1423
1424         * ToolbarBackend.h:
1425         * ToolbarBackend.C: make "name" be a programmatic name
1426         and a gui_name field.
1427
1428         * lyxfunc.C: display the minibuffer on M-x
1429
1430 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1433         (bug 1526)
1434
1435 2004-04-19  Angus Leeming  <leeming@lyx.org>
1436
1437         * BufferView_pimpl.C (setBuffer): changed preview interface.
1438
1439         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1440         possible values.
1441
1442 2004-04-19  John Levon  <levon@movementarian.org>
1443
1444         * BufferView_pimpl.C:
1445         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1446
1447 2004-04-05  Angus Leeming  <leeming@lyx.org>
1448
1449         * text.C (redoParagraphs): add call to updateCounters(), thereby
1450         fixing the missing "Figure #:" label from the caption of a
1451         figure float.
1452
1453 2004-04-13  Angus Leeming  <leeming@lyx.org>
1454
1455         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1456         cursor is clicked out of an inset.
1457
1458 2004-04-13  Angus Leeming  <leeming@lyx.org>
1459
1460         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1461         than an InsetOld one.
1462
1463 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1464
1465         * format.[Ch]: add editor to Format
1466         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1467         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1468
1469 2004-04-08  André Pönitz  <poenitz@gmx.net>
1470
1471         * metricsinfo.h: remove PainterInfo::width member
1472
1473 2004-04-08  Angus Leeming  <leeming@lyx.org>
1474
1475         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1476         "\providecommand" rather than "\newcommand", thereby preventing
1477         clashes with packages that define "\boldsymbol" themselves.
1478         Eg, beamer.
1479
1480 2004-04-08  Angus Leeming  <leeming@lyx.org>
1481
1482         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1483         thereby squashing an unnecessary warning.
1484
1485 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1486
1487         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1488         setBuffer()
1489
1490 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1491
1492         * BufferView.C (setCursor): call redoParagraph (some insets could
1493         have been opened)
1494         (putSelectionAt): remove the 'double update' trick
1495
1496         * BufferView_pimpl.C (fitCursor): call refreshPar
1497         (workAreaDispatch): remove an uneeded update call
1498         (dispatch): remove some manual update calls
1499
1500         * cursor.[Ch]: remove cached_y_, updatePos
1501         (selHandle): set noUpdate when appropriate
1502
1503         * lyxfunc.C (dispatch): track if we need an update
1504
1505         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1506
1507         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1508         (paintSelection): cheap optimization, do not call cursorX when not
1509         needed
1510         (paintPars): change signature
1511         (refreshPar): add
1512         (paintText): adjust
1513         (paintTextInset): adjust
1514
1515         * text.C: adjust
1516
1517 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * lengthcommon.C: compilation fix: remove explicit array size from
1520         unit_name[] and friends
1521
1522 2004-04-05  Angus Leeming  <leeming@lyx.org>
1523
1524         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1525
1526         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1527         present only for the preferences dialog.
1528         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1529
1530 2004-04-05  Angus Leeming  <leeming@lyx.org>
1531
1532         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1533         to enable the frontends to export changes to lyxrc correctly.
1534
1535         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1536
1537 2004-04-07  André Pönitz  <poenitz@gmx.net>
1538
1539         * cursor.[Ch] (selClear, adjust): remove math
1540
1541         * cursor_slice.C: more agressive assert
1542
1543         * lyxfunc.C:
1544         * BufferView_pimpl.C: rework mouse event dispatch
1545
1546         * dociterator.C:
1547         * paragraph.C:
1548         * text2.C:
1549         * text3.C: adjust
1550
1551 2004-04-05  André Pönitz  <poenitz@gmx.net>
1552
1553         * cursor.[Ch] (valign, halign...): remove unneeded functions
1554
1555 2004-04-05  Angus Leeming  <leeming@lyx.org>
1556
1557         * lyxlength.[Ch] (unit_name et al.): const-correct.
1558
1559 2004-04-05  Angus Leeming  <leeming@lyx.org>
1560
1561         * BufferView_pimpl.C:
1562         * buffer.C:
1563         * counters.C:
1564         * cursor.C:
1565         * lyxfunc.C
1566         * paragraph.C:
1567         * pariterator.C:
1568         * text.C:
1569         * text2.C:
1570         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1571
1572 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1573
1574         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1575
1576 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1579         * BufferView_pimpl.[Ch] (getStatus)
1580         * BufferView.[Ch] (getStatus): add
1581         * lyxfunc.C (getStatus): move lfuns handled in
1582         BufferView::dispatch to te function above
1583         * Cursor.C (setSelection): set selection() = true
1584
1585 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1586
1587         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1588
1589 2004-03-31  Angus Leeming  <leeming@lyx.org>
1590
1591         * lyxfunc.C (dispatch): Fall through to the generic
1592         Dialogs::show("preamble").
1593
1594 2004-03-31  Angus Leeming  <leeming@lyx.org>
1595
1596         * lyxfunc.C (dispatch): Fall through to the generic
1597         Dialogs::show("spellchecker").
1598
1599 2004-03-31  Angus Leeming  <leeming@lyx.org>
1600
1601         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1602         preferences dialog.
1603
1604 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1605
1606         * BufferView.C
1607         * cursor.[Ch]
1608         * dociterator.[Ch]:
1609         * insetiterator.[Ch]:
1610         * lyxfind.C:
1611         * lyxfunc.C:
1612         * pariterator.[Ch]:
1613         * text2.C:
1614         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1615
1616 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1617
1618         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1619         insets where we are putting the cursor.
1620
1621 2004-03-31  Angus Leeming  <leeming@lyx.org>
1622
1623         * lfuns.h:
1624         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1625
1626         * lyxrc.[Ch] (read, write): overloaded member functions taking
1627         a std::[io]stream arguments.
1628
1629         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1630
1631 2004-03-31  Angus Leeming  <leeming@lyx.org>
1632
1633         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1634         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1635
1636         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1637         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1638
1639 2004-03-31  Angus Leeming  <leeming@lyx.org>
1640
1641         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1642         the LFUN_ALL_INSETS_TOGGLE code.
1643
1644 2004-03-30  Angus Leeming  <leeming@lyx.org>
1645
1646         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1647         has died. Fall through to the generic Dialogs::show("document").
1648
1649 2004-03-30  Angus Leeming  <leeming@lyx.org>
1650
1651         * lfuns.h:
1652         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1653         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1654
1655         * lyxfunc.C (getStatus, dispatch): define the actions for these
1656         lfuns. Little more than a cut and pste job from ControlDocument.C
1657
1658         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1659
1660 2004-03-30  Angus Leeming  <leeming@lyx.org>
1661
1662         * lfuns.h:
1663         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1664         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1665
1666         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1667         open/closed state of ollapsable insets. Usage:
1668
1669         all-inset-toggle <state> <name>, where
1670         <state> == "open" || "closed" || "toggle" and
1671         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1672
1673         * lyxtext.h, text2.C (toggleInset): removed.
1674
1675         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1676         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1677         now passes LFUN_INSET_TOGGLE to the found inset.
1678
1679         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1680         is now invoked as "all-insets-toggle toggle branch".
1681
1682 2004-03-30  Angus Leeming  <leeming@lyx.org>
1683
1684         * dociterator.C:
1685         * insetiterator.C:
1686         * pariterator.[Ch]: added/corrected header blurb.
1687
1688 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * dociterator.[Ch]: add an inset_ member
1691         (backwardPos): implemented
1692         (backwardPos, forwardPos): use inset_ when the stack is empty.
1693         (doc_iterator_begin, doc_iterator_end): implemented
1694         * pariterator.[Ch]: adjust, add begin, end
1695         * insetiterator.[Ch]: adjust, add begin, end
1696         * cursor.C:
1697         * document.C:
1698         * BufferView.C:
1699         * BufferView_pimpl.C:
1700         * CutAndPaste.C: adjust
1701
1702 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1703
1704         * buffer.C: increment file format to 232.
1705         * LaTeXFeatures.C: add bibtopic package.
1706         * bufferparams.[Ch]: param \use_bibtopic.
1707
1708         * lyxrc.[Ch]: add lyxrc bibtex_command
1709         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1710
1711         * buffer.C: increment file format to 231.
1712
1713 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1714
1715         * dociterator.C: implement forwardPar
1716         * iterators.[Ch]: remove, replaced by
1717         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1718         * BufferView.C:
1719         * BufferView_pimpl.C:
1720         * CutAndPaste.C:
1721         * buffer.C:
1722         * bufferview_funcs.C:
1723         * cursor.C:
1724         * lyxfind.C
1725         * lyxfunc.C
1726         * paragraph_funcs.C
1727         * toc.C:
1728         * Makefile.am: adjust
1729
1730 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1731
1732         * CutAndPaste.C (pasteSelection): fix 2 crashes
1733         (eraseSelection): fix a crash
1734         * paragraph_funcs.C: remove a warning
1735
1736 2004-03-28  Angus Leeming  <leeming@lyx.org>
1737
1738         * lfuns.h:
1739         * LyXAction.C (init): new LFUN_PRINT.
1740
1741         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1742
1743 2004-03-27  Angus Leeming  <leeming@lyx.org>
1744
1745         * lfuns.h:
1746         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1747
1748         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1749
1750 2004-03-27  Angus Leeming  <leeming@lyx.org>
1751
1752         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1753         insetlist always contains non-null pointers to insets.
1754
1755 2004-03-26  Angus Leeming  <leeming@lyx.org>
1756
1757         * src/BufferView_pimpl.C:
1758         * src/CutAndPaste.C:
1759         * src/buffer.C:
1760         * src/iterators.C:
1761         * src/output_plaintext.C:
1762         * src/outputparams.h:
1763         * src/paragraph_funcs.C:
1764         * src/rowpainter.C:
1765         * src/text.C:
1766         * src/text2.C:
1767         * src/frontends/controllers/ControlErrorList.C:
1768         * src/frontends/gtk/FileDialogPrivate.C:
1769         * src/frontends/gtk/GPainter.C:
1770         * src/frontends/gtk/GToolbar.C:
1771         * src/frontends/qt2/QRef.C:
1772         * src/mathed/math_scriptinset.C: squash compiler warnings.
1773
1774 2004-03-26  Angus Leeming  <leeming@lyx.org>
1775
1776         * ispell.C (LaunchIspell::start):
1777         * lyx_cb.C (AutoSaveBuffer::start):
1778         invoke run(DontWait) rather than runNonBlocking().
1779
1780 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1781
1782         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1783
1784 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1785
1786         * kbsequence.C (print): adjust
1787
1788         * kbmap.C (printKeySym): rename and change signature
1789         (printKey): use LyXKeySym::print()
1790
1791 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1792
1793         * undo.C: add using std::advance to compile for stlport
1794
1795 2004-03-24  Angus Leeming  <leeming@lyx.org>
1796
1797         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1798         it leads to a crash when no buffer is present.
1799
1800 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801             Martin Vermeer  <martin.vermeer@hut.fi>
1802
1803         * lyxfunc.C (dispatch):
1804         * bufferparams.C (readToken): use the new LColor::setColor
1805
1806         * LColor.[Ch] (setColor): new version that takes two strings as
1807         argument and creates a new color entry if necessary
1808
1809 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1810
1811         * buffer.C (makeLaTeXFile): if the main latex file that is
1812         processed is usually a subdocument of some master, then pretend
1813         for a while that it is actually the master
1814
1815 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1816
1817         * buffer.C (getLabelList):
1818         (getBibkeyList): use getMasterBuffer()
1819         (getMasterBuffer): new method. Returns the main document in the
1820         case where one is using included documents.
1821
1822 2004-03-25  André Pönitz  <poenitz@gmx.net>
1823
1824         * Makefile.am:
1825         * iterators.[Ch]:
1826         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1827
1828         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1829
1830         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1831         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1832
1833         * ParameterStruct.h: merge with ParagraphParameters
1834
1835         * lyxtext.h: remove LyXText::parOffset() and getPar()
1836
1837         * text3.C: Remove all 'manual' update calls. We do now one per user
1838         interaction which is completely sufficient.
1839
1840         * Bidi.C:
1841         * BufferView.[Ch]:
1842         * BufferView_pimpl.C:
1843         * FontIterator.[Ch]:
1844         * MenuBackend.C:
1845         * ParagraphParameters.[Ch]:
1846         * buffer.C:
1847         * buffer.h:
1848         * bufferlist.C:
1849         * cursor.[Ch]:
1850         * cursor_slice.[Ch]:
1851         * dociterator.[Ch]:
1852         * errorlist.[Ch]:
1853         * factory.C:
1854         * lfuns.h:
1855         * lyxfind.C:
1856         * lyxfunc.C:
1857         * output_docbook.[Ch]:
1858         * output_latex.[Ch]:
1859         * output_linuxdoc.[Ch]:
1860         * output_plaintext.[Ch]:
1861         * paragraph.[Ch]:
1862         * paragraph_funcs.[Ch]:
1863         * paragraph_pimpl.[Ch]:
1864         * rowpainter.C:
1865         * tabular.[Ch]:
1866         * text.C:
1867         * text2.C:
1868         * toc.C:
1869         * undo.[Ch]: adjust
1870
1871         * frontends/controllers/ControlDocument.C:
1872         * frontends/controllers/ControlErrorList.C:
1873         * frontends/controllers/ControlSpellchecker.C:
1874         * insets/inset.C:
1875         * insets/inset.h:
1876         * insets/insetbase.h:
1877         * insets/insetbibitem.C:
1878         * insets/insetbox.C:
1879         * insets/insetbranch.C:
1880         * insets/insetcaption.C:
1881         * insets/insetcharstyle.C:
1882         * insets/insetcharstyle.h:
1883         * insets/insetcollapsable.C:
1884         * insets/insetcollapsable.h:
1885         * insets/insetert.C:
1886         * insets/insetfloat.C:
1887         * insets/insetfoot.C:
1888         * insets/insetmarginal.C:
1889         * insets/insetnote.C:
1890         * insets/insetoptarg.C:
1891         * insets/insettabular.C:
1892         * insets/insettext.C:
1893         * insets/insettext.h:
1894         * insets/insetwrap.C:
1895         * mathed/math_mboxinset.C:
1896         * mathed/math_nestinset.C:
1897         * mathed/math_scriptinset.C:
1898         * mathed/math_scriptinset.h:
1899         * support/types.h:
1900
1901 2004-03-24  Angus Leeming  <leeming@lyx.org>
1902
1903         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1904         deal with any child processes that have finished but are waiting to
1905         communicate this fact to the rest of LyX.
1906
1907 2004-03-24  Angus Leeming  <leeming@lyx.org>
1908
1909         64-bit compile fixes.
1910
1911         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1912         (c-tor): pass lyx::pos_types rather than ints.
1913
1914         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1915         lyx::pos_type.
1916
1917         * text.C (Delete): compile fix.
1918         (getPar): ensure that function declaration is the same as that in
1919         the header file.
1920
1921 2004-03-23  Angus Leeming  <leeming@lyx.org>
1922
1923         * ispell.C (LaunchIspell):
1924         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1925         a boost::shred_ptr rather than a std::auto_ptr.
1926
1927 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1928
1929         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1930         handle LFUN_FILE_INSERT_*
1931
1932         * lyxrc.C (setDefaults, getDescription, output, read):
1933         * lyxrc.h: remove ps_command
1934
1935 2004-03-22  Angus Leeming  <leeming@lyx.org>
1936
1937         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1938         Ensure that error_handler is processed once only and that all data
1939         is saved before attempting to output any warning messages.
1940
1941         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1942
1943 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1944
1945         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1946
1947 2004-03-19  André Pönitz  <poenitz@gmx.net>
1948
1949         * cursor.[Ch] (reset): take main text inset as argument
1950
1951         * BufferView: adjust
1952         * BufferView_pimpl.C: adjust
1953
1954         * paragraph.[Ch]: fix completely broken operator=()
1955
1956 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * LColor.C (getFromLyXName): make sure that the color name is used
1959         as lowercase.
1960
1961 2004-03-17  Angus Leeming  <leeming@lyx.org>
1962
1963         * lfuns.h:
1964         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1965
1966         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1967         dialog and to kill a forked process.
1968
1969 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1970
1971         * text2.C (setCursorFromCoordinates): fix font problem
1972
1973 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1974
1975         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1976         bogus "rebuild cursor" code
1977
1978 2004-03-11  André Pönitz  <poenitz@gmx.net>
1979
1980         * buffer.[Ch]: use InsetText instead of LyXText as container for
1981         the main lyx text.
1982
1983         * dociterator.[Ch]: drop the BufferView * member which is not needed
1984         anymore after the change to buffer.C
1985
1986         * paragraph_funcs.C:
1987         * text.C:
1988         * text2.C:
1989         * BufferView.[Ch]:
1990         * BufferView_pimpl.[Ch]:
1991         * cursor.[Ch]:
1992         * cursor_slice.[Ch]: adjust
1993
1994         * text3.C: fix bug in mathDispatch
1995
1996 2004-03-08  André Pönitz  <poenitz@gmx.net>
1997
1998         * undo.[Ch]: use 'StableDocumentIterator' as base for
1999         the Undo struct.
2000
2001 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2002
2003         * LaTeXFeatures.C:
2004         * bufferparams.[Ch]: add jurabib support and param.
2005
2006         * LaTeX.C: add FIXME/comment.
2007
2008 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2009
2010         * buffer.C: increment file format to 230.
2011
2012 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2013
2014         * cursor.C (dispatch): avoid infinite loops
2015
2016 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2017
2018         * rowpainter.C (paintSelection): fix x coordinates
2019
2020 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2021
2022         * text.C (rowBreakPoint): fix breaking before displayed insets
2023
2024 2004-03-01  André Pönitz  <poenitz@gmx.net>
2025
2026         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2027
2028         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2029
2030         * Makefile.am:
2031         * BufferView.C:
2032         * BufferView_pimpl.C:
2033         * buffer.C:
2034         * lyxfind.C:
2035         * lyxfunc.C:
2036         * text.C:
2037         * text2.C:
2038         * text3.C: adjust
2039
2040 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2041
2042         * lyxtext.h:
2043         * text.C:
2044         * text2.C:
2045         * rowpainter.C:
2046         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2047         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2048
2049 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2050
2051         * Bidi.[Ch] (computeTables): const correctness
2052         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2053         fill_hfill, fill_label_hfill and x from Row
2054         * lyxtext.h: prepareToPrint returns a RowMetrics
2055         * rowPainter.C: adjust
2056         * text.C (prepareToPrint): use width, not textWidth. adjust
2057         (redoParagraphInternal, cursorX): adjust
2058         * text2.C (getColumnNearX): adjust
2059         (init): put a default value to the top LyXText::width
2060
2061 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2064
2065 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * lyxtext.h: add FontIterator class
2068
2069         * text.C (FontIterator, operator*, operator->, operator++): add
2070         (rowBreakPoint, setRowWidth): adjust (fixing a
2071         rebreaking bug)
2072
2073 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2074
2075         * BufferView_pimpl.C (workAreaDispatch): allow also
2076         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2077
2078 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * text.C (rowBreakPoint): fix a bug showing with very large insets
2081
2082 2004-02-25  André Pönitz  <poenitz@gmx.net>
2083
2084         * text3.C:
2085         * cursor.[Ch]: move some mathed specific code to mathed
2086
2087 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2088
2089         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2090         use_tempdir in preferences
2091         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2092         tempfile creation
2093         * lyx_main.C: ensure that tempdir is valid
2094         * lyxlex.h: correct typo
2095         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2096         * paragraph.[Ch] (isMultiLingual): make const
2097         * cursor.[Ch] (openable): make const
2098
2099 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2100
2101         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2102
2103 2004-02-20  André Pönitz  <poenitz@gmx.net>
2104
2105         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2106
2107         * cursor.[Ch]: prepare for localized getStatus()
2108
2109         * lyxtext.h:
2110         * tabular.C:
2111         * text.C:
2112         * text2.C:
2113         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2114
2115 2004-02-20  André Pönitz  <poenitz@gmx.net>
2116
2117         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2118
2119 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2120
2121         * text2.C (setCursorFromCoordinates): switch to absolute coords
2122         (cursorUp): adjust
2123         (cursorDown): adjust
2124         * text3.C (dispatch): adjust
2125
2126 2004-02-16  André Pönitz  <poenitz@gmx.net>
2127
2128         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2129           insets/ChangeLog)
2130
2131         * cursor_slice.[Ch]: remove unneeded acessor function
2132
2133         * lyxtext.h: rename rtl() to isRTL()
2134
2135         * rowpainter.C:
2136         * tabular.C:
2137         * text.C:
2138         * text2.C:
2139         * text3.C: adjust
2140
2141 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2142
2143         * rowpainter.C (paintSelection): coord fix
2144
2145 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2146
2147         * Spacing.C: compile fix
2148
2149 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2150
2151         * cursor.C (dispatch): restore current_ before returning
2152
2153 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2154
2155         * text2.C (cursorUp, cursorDown): fix coords
2156         (moveUp): fix crash
2157
2158 2004-02-12  André Pönitz  <poenitz@gmx.net>
2159
2160         * lyxtext.h:
2161         * text.C:
2162         * text2.C:
2163         * text3.C: add LCursor & parameter to most cursor movement functions
2164           remove usage of LyXText::cursorRow() and cursorPar()
2165
2166         * cursor.[Ch]: add textRow() needed members
2167
2168         * BufferView.C:
2169         * BufferView_pimpl.C:
2170         * paragraph.[Ch]:
2171         * BufferView.C:
2172         * BufferView_pimpl.C: adjust
2173
2174 2004-02-11  André Pönitz  <poenitz@gmx.net>
2175
2176         * lyxfunc.C:
2177         * BufferView.[Ch]:
2178         * BufferView_pimpl.C: shift undo/redo handling
2179
2180         * cursor.[Ch]: fix mathed crash
2181
2182         * lyxfind.C:
2183         * lyxtext.h: move selectionAsText to LCursor
2184
2185         * output_latex.C:
2186         * paragraph.C:
2187         * text.C:
2188         * text2.C:
2189         * text3.C: adjust
2190
2191         * rowpainter.C: fix excessive drawing
2192
2193 2004-02-06  André Pönitz  <poenitz@gmx.net>
2194
2195         * BufferView.[Ch]:
2196         * BufferView_pimpl.[Ch]:
2197         * text3.C: move some text specific LFUN handling
2198
2199 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2200
2201         * text3.C (checkInsetHit): adjust coords
2202         * text2.C (getColumnNearX): adjust coords
2203         (edit): adjust coords
2204         * text.C (getRowNearY): add two asserts
2205
2206 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2207
2208         * converter.C:
2209         * format.C: add using std::distance to compile on gcc 2.95/stlport
2210
2211 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2212
2213         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2214
2215 2004-02-04  André Pönitz  <poenitz@gmx.net>
2216
2217         * BufferView.[Ch] (insertInset):
2218         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2219
2220         * text2.C:
2221         * text3.C: adjust
2222
2223 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2224
2225         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2226         on the default clause of the switch
2227         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2228         wasn't catched by LCursor::dispatch
2229
2230 2004-02-03  André Pönitz  <poenitz@gmx.net>
2231
2232         * BufferView.C:
2233         * cursor.[Ch]: some additional asserts
2234
2235         * undo.[Ch]: remove LyXText dependency in interface
2236
2237         * lyxfunc.C: adjust
2238
2239         * lyxtext.h (firstPar, lastPar): remove dead functions
2240
2241         * text.C:
2242         * text2.C:
2243         * text3.C:
2244         * paragraph.[Ch]: adjust
2245
2246 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2247
2248         * lyxfind.C (find): fix argument order in call to ::find
2249
2250 2004-02-02  André Pönitz  <poenitz@gmx.net>
2251
2252         * cursor.[Ch]: remove direct access to anchor
2253
2254         * text.C: remove findText() hack
2255
2256 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * iterators.[Ch] (lockPath): remove in favour of...
2259         * BufferView.[Ch] (setCursor): this addition
2260         * BufferView.C (putSelectionAt): adjust
2261         * undo.C (performUndoOrRedo): adjust
2262         * lyxfunc.C (dispatch): adjust
2263
2264 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2265
2266         * iterators.C (lockPath): add a missing slice
2267         * undo.C (performUndoOrRedo): remove redundant positioning code
2268
2269 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2270
2271         * vc-backend.C (scanMaster): ";" -> ';'
2272
2273 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2274
2275         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2276         std::binary_function
2277
2278         * lyxtextclass.C (compare_name): rename to...
2279         (LayoutNamesEqual): ...this
2280
2281         * lyxlex_pimpl.C (compare_tags): inherit from
2282         std::binary_function, put back into anon namespace
2283
2284         * lyxfind.C (MatchString): inherig from std::binary_function
2285         (findChange): use empty() istead of !size()
2286
2287         * format.C (FormatNamesEqual): new functor
2288         (getFormat): use it
2289         (getNumber): use it
2290         (add): use it
2291         (erase): use it
2292         (setViewer): use it
2293
2294         * converter.C (compare_Converter): rename to...
2295         (ConverterEqual): ...this, and fixup a bit.
2296         (getConverter): use it, and make function const
2297         (getNumber): use it, and make function const
2298         (add): use it
2299         (erase): use it:
2300
2301         * bufferlist.C: add using boost::bind
2302
2303         * MenuBackend.C (MenuNamesEqual): new functor
2304         (hasMenu): use it, and make function const
2305         (hasSubmenu): use nested bind to get rid of compare_memfun.
2306
2307 2004-01-30  André Pönitz  <poenitz@gmx.net>
2308
2309         * BufferView_pimpl.C:
2310         * cursor.C:
2311         * cursor.h:
2312         * cursor_slice.[Ch]:
2313         * lyxfunc.C:
2314         * lyxtext.h:
2315         * paragraph_funcs.C:
2316         * paragraph_funcs.h:
2317         * rowpainter.C:
2318         * text.C:
2319         * text2.C:
2320         * text3.C: move some of the edit(x,y) handling to the insets
2321         some coordinate changes.
2322
2323 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2324
2325         * text.C: add using statements for std::advance and std::distance
2326
2327         * paragraph.C: add using statement for std::distance
2328
2329         * lyxfind.C: add using statement for std::advance
2330
2331         * cursor.C (region): remove std:: from swap
2332         (openable): use nucleus in stead of operator->
2333
2334         * BufferView.C: add using statements for std::distance and std::swap
2335
2336 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2337
2338         * iterators.C: Remove the pimple, move the needed structures to
2339         the header file. Create accessor for the positions stack.
2340         (asPosIterator): remove function
2341
2342         * PosIterator.C (PosIterator): move constructors to top of file
2343         (PosIterator): reimplement the constructor taking a ParIterator in
2344         terms of setFrom.
2345         (setFrom): new function
2346         (operator!=): inline it
2347
2348 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2349
2350         * lyxfind.C (replaceAll): use std::advance
2351
2352         * iterators.h: inherit from std::iterator.
2353
2354         * PosIterator.C (advance, distance): remove
2355         * PosIterator.h: interit from std::iterator.
2356
2357 2004-01-26  André Pönitz  <poenitz@gmx.net>
2358
2359         * BufferView.[Ch]:
2360         * BufferView_pimpl.[Ch]:
2361         * InsetList.[Ch]:
2362         * PosIterator.[Ch]:
2363         * buffer.h:
2364         * bufferview_funcs.C:
2365         * cursor.[Ch]:
2366         * cursor_slice.h:
2367         * factory.[Ch]:
2368         * iterators.[Ch]:
2369         * lyxfind.C:
2370         * lyxfunc.C:
2371         * lyxtext.h:
2372         * output_docbook.C:
2373         * output_latex.C:
2374         * output_linuxdoc.C:
2375         * output_plaintext.C:
2376         * paragraph.[Ch]:
2377         * paragraph_funcs.[Ch]:
2378         * paragraph_pimpl.[Ch]:
2379         * rowpainter.C:
2380         * tabular.C:
2381         * tabular.h:
2382         * text.C:
2383         * text2.C:
2384         * text3.C: more IU:  dumps most of the rest of the mathcursor
2385     implementation into cursor.[Ch]; "globalize" a bit of it.
2386
2387 2004-01-25  Angus Leeming  <leeming@lyx.org>
2388
2389         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2390
2391 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2392
2393         * LaTeXFeatures.h: add nice_ and nice() const
2394         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2395
2396 2004-01-20  André Pönitz  <poenitz@gmx.net>
2397
2398         * BufferView.[Ch]:
2399         * BufferView_pimpl.C:
2400         * PosIterator.C:
2401         * bufferview_funcs.C:
2402         * cursor.[Ch]:
2403         * cursor_slice.[Ch]:
2404         * factory.C:
2405         * iterators.C:
2406         * lyx_cb.C:
2407         * lyxfind.C:
2408         * lyxfunc.C:
2409         * lyxtext.h:
2410         * rowpainter.C:
2411         * text.C:
2412         * text2.C:
2413         * text3.C:
2414         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2415           LCursor and mathcursor parts to LCursor and InsetBase.
2416
2417 2004-01-15  André Pönitz  <poenitz@gmx.net>
2418
2419         * cursor_slice.[Ch]: add a few covienience functions
2420
2421         * funcrequest.[Ch]: remove BufferView * member
2422
2423         * BufferView_pimpl.C:
2424         * cursor.C:
2425         * factory.[Ch]:
2426         * lyxfind.[Ch]:
2427         * lyxfunc.C:
2428         * lyxtext.h:
2429         * text3.C:
2430         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2431
2432 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2435         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2436
2437 2004-01-13  André Pönitz  <poenitz@gmx.net>
2438
2439         * textcursor.[Ch]:
2440         * lyxtext.h: hide cursor and selection anchor behind accessor function
2441
2442         * BufferView.C:
2443         * BufferView_pimpl.[Ch]:
2444         * PosIterator.C:
2445         * bufferview_funcs.C:
2446         * cursor.h:
2447         * lyxfind.C:
2448         * lyxfunc.C:
2449         * text.C:
2450         * text2.C:
2451         * text3.C:
2452         * undo.C: adjust
2453
2454         * cursor.h:
2455         * cursor_slice.[Ch]: some integer type changes for inset unification
2456
2457         * lyxcursor.[hC]: remove, it's CursorSlice now.
2458
2459         * Makefile.am:
2460         * BufferView_pimpl.[Ch]:
2461         * bufferview_funcs.C:
2462         * cursor_slice.C:
2463         * lyxtext.h:
2464         * text.C:
2465         * text2.C:
2466         * text3.C:
2467         * textcursor.[Ch]: adjust
2468
2469 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2470
2471         * text2.C (undoSpan): add and use
2472         * text.C (breakParagraph): use undoSpan (fix bug 578)
2473         * lyxtext.h: adjust
2474
2475 2004-01-08  Angus Leeming  <leeming@lyx.org>
2476
2477         * BufferView_pimpl.C (MenuInsertLyXFile):
2478         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2479         * lyxfunc.C (menuNew, open, doImport):
2480         FileFilterList change to the FileDialog open and save functions.
2481
2482 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2483
2484         * ShareContainer.h: make isEqual and isUnique adaptable
2485
2486         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2487
2488 2004-01-07  Angus Leeming  <leeming@lyx.org>
2489
2490         * LyXAction.C:
2491         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2492
2493         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2494
2495         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2496         functions replacing find, replace and replaceAll.
2497
2498         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2499         LFUN_WORDFIND(FORWARD|BACKWARD).
2500
2501 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2502
2503         * text.C (breakParagraph): remove an outdated #warning
2504
2505 2004-01-07  André Pönitz  <poenitz@gmx.net>
2506
2507         * lyxfind.C: somewhat clearer logic
2508
2509         * text.C: prevent crash in cursorX on unitialized row cache
2510
2511 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * lyxcursor.[Ch] (operator>): add
2514         * textcursor.C (selStart, selEnd): use std::min and std::max
2515
2516 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2517
2518         * Chktex.C: include boost/format.hpp
2519
2520 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2521
2522         * InsetList.C: replace functor MathcIt with adaptable functor
2523         InsetTablePosLess
2524         (insetIterator): modify accordingly
2525
2526         * BranchList.h: move the BranchNamesEqual functor here from...
2527         * BranchList.C: ... to here
2528
2529         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2530         SameName and match.
2531         (add): replace a finding loop with std::find_if.
2532
2533 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2534
2535         * output_docbook.C: moving LatexParam functionality into
2536         .layout files
2537
2538 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2539
2540         * buffer.C: increment format to 229.
2541
2542 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2543
2544         * LaTeXFeatures.C:
2545         * lyx_sty.[Ch]: remove minipageindent_def
2546
2547         * LyXAction.C:
2548         * factory.C:
2549         * lfuns.h:
2550         * lyxfunc.C:
2551         * text3.C: remove LFUN_INSET_MINIPAGE
2552
2553 2003-12-28  Angus Leeming  <leeming@lyx.org>
2554
2555         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2556
2557 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * text2.C (setParagraph): fix off-by-one crash
2560
2561 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2562
2563         * output_docbook.C: header stuff for AGU
2564
2565 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2566
2567         * text2.C (redoCursor): remove
2568         * text.C:
2569         * text3.C:
2570         * BufferView_pimpl.C: remove calls to redoCursor and
2571         setCursor(cursor.par(), cursor.pos()) all around
2572
2573 2003-12-15  Angus Leeming  <leeming@lyx.org>
2574
2575         * buffer.C: up the format to 228.
2576
2577 2003-12-15  André Pönitz  <poenitz@gmx.net>
2578
2579         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2580         slices
2581
2582         * Makefile.am:
2583
2584         * BufferView_pimpl.C:
2585         * cursor.[Ch]:
2586         * lyxcursor.[Ch]:
2587         * rowpainter.[Ch]:
2588         * lyxtext.h:
2589         * text.C:
2590         * text2.C:
2591         * text3.C: adjust
2592
2593 2003-12-15  Angus Leeming  <leeming@lyx.org>
2594
2595         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2596         than getFromGUIName to manipulate the color.
2597
2598 2003-12-14  Angus Leeming  <leeming@lyx.org>
2599
2600         * BranchList.[Ch]: minimize the API.
2601         (Branch::getBranch, getColor): now return a 'const &'.
2602         (Branch::setSelected) now returns a bool set to true if the
2603         selection status changes.
2604         (BranchList::clear, size, getColor, setColor, setSelected,
2605         allBranches, allSelected, separator): removed.
2606         (BranchList::find): new functions, returning the Branch with
2607         the given name.
2608         (BranchList::add, remove): return a bool indicating that
2609         the operation was successful.
2610
2611         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2612         new InsetBranch::isBranchSlected member function.
2613
2614         * LColor.[Ch]: mimimize the API.
2615         (fill): renamed as addColor and made private.
2616         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2617         versions of these functions taking a string arg have been removed.
2618
2619         * bufferparams.C (readToken):
2620         * lyxfunc.C (dispatch):
2621         * lyxrc.C (read): changes due to the altered BranchList and
2622         LColor APIs.
2623
2624         * factory.C (createInset, readInset): changes due to altered
2625         InsetBranch c-tor.
2626
2627 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2628
2629         * factory.C:
2630         * lyxfunc.C: remove insetminipage. "minipage-insert"
2631         now produces a frameless minipage box inset.
2632
2633 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2634
2635         * textcursor.[Ch] (selStart,selEnd): add new methods
2636         remove selection::start, end, use LyXCursor::operator<
2637         * lyxcursor.[Ch] (operator<): add
2638         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2639         * BufferView.[Ch] (unsetXSel): add
2640         * text2.C (clearSelection): use unsetXSel,adjust
2641         * text.C: adjust
2642         * text3.C: adjust
2643         * rowpainter.C: adjust
2644         * bufferview_funcs.C (put_selection_at): adjust
2645
2646 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2647
2648         * BufferView_pimpl.C: small coord. correction
2649
2650 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2651
2652         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2653         dragging over the splash screen.
2654
2655 2003-12-11  Angus Leeming  <leeming@lyx.org>
2656
2657         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2658         as it is now handled in LyXText::dispatch.
2659
2660         * text3.C (doInsertInset): remove a level of nesting.
2661
2662 2003-12-11  Angus Leeming  <leeming@lyx.org>
2663
2664         * factory.C (createInset): changes due to the changed interface to
2665         InsetCommandMailer::string2params.
2666
2667 2003-12-10  Angus Leeming  <leeming@lyx.org>
2668
2669         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2670         'dialog-show-new-inset <inset name>'
2671
2672 2003-12-10  Angus Leeming  <leeming@lyx.org>
2673
2674         * buffer.C: up the format to 227.
2675
2676         * factory.C: the box inset is now identified simply by 'Box'.
2677
2678 2003-12-10  Angus Leeming  <leeming@lyx.org>
2679
2680         * buffer.C: up the format to 226.
2681
2682         * factory.C: the note inset is now identified simply by 'Note'.
2683
2684 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2685
2686         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2687         when a pit is enough. Standarize a couple of loops.
2688
2689 2003-12-05  Angus Leeming  <leeming@lyx.org>
2690
2691         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2692         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2693         data to the re-worked "log" dialog.
2694
2695 2003-12-03  André Pönitz  <poenitz@gmx.net>
2696
2697         * PosIterator.C:
2698         * iterators.C:
2699         * lyxtext.h:
2700         * output_latex.C:
2701         * paragraph_funcs.C:
2702         * text.C:
2703         * text2.C: use Inset::getText instead of Inset::getParagraph
2704
2705 2003-12-03  André Pönitz  <poenitz@gmx.net>
2706
2707         * buffer.[Ch]:
2708         * lyxtext.h:
2709         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2710         InsetText::read() as LyXText::read()
2711
2712 2003-12-02  Angus Leeming  <leeming@lyx.org>
2713
2714         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2715         type. Add a comment in the implementation that the function uses
2716         the stream's bad() function rather than fail() as the std::streams
2717         would do.
2718
2719 2003-12-02  André Pönitz  <poenitz@gmx.net>
2720
2721         * lyxlex.[Ch]: make interface more similar to std::stream
2722
2723         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2724
2725 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2726
2727         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2728
2729 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2730
2731         * vspace.[Ch]: remove VSpace::NONE
2732
2733 2003-12-01  André Pönitz  <poenitz@gmx.net>
2734
2735         * buffer.[Ch]:
2736         * lyxtext.h: move ParagraphList member to LyXText
2737         rename LyXText::ownerParagraphs to LyXText::paragraph
2738
2739         * CutAndPaste.C:
2740         * bufferview_funcs.C:
2741         * iterators.[Ch]:
2742         * lyx_cb.C:
2743         * paragraph.C:
2744         * rowpainter.C:
2745         * tabular.C:
2746         * text.C:
2747         * text2.C:
2748         * text3.C: adjust
2749
2750         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2751
2752         * undo.C: fix cursor positioning
2753
2754 2003-12-01  John Levon  <levon@movementarian.org>
2755
2756         * BufferView_pimpl.C: fix a crash on exit with
2757         a buffer open
2758
2759 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2760
2761         * BranchList.C: fix setSelected() method.
2762
2763 2003-11-28  André Pönitz  <poenitz@gmx.net>
2764
2765         * ParagraphParameters.[Ch]:
2766         * ParameterStruct.h: remove space above/below from Paragraph to
2767          InsetVSpace
2768
2769         * BufferView_pimpl.C:
2770         * factory.C:
2771         * lyxfunc.C:
2772         * lyxtext.h:
2773         * output_latex.C:
2774         * paragraph.C:
2775         * paragraph_funcs.C:
2776         * rowpainter.[Ch]:
2777         * text.C:
2778         * text2.C:
2779         * text3.C: adjust
2780
2781 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2782
2783         * factory.C: Syntax change for CharStyles
2784
2785 2003-11-28  André Pönitz  <poenitz@gmx.net>
2786
2787         * BufferView.[Ch]:
2788         * BufferView.[Ch]:
2789         * buffer.[Ch]:
2790         * buffer.[Ch]: move LyXText member
2791
2792 2003-11-28  André Pönitz  <poenitz@gmx.net>
2793
2794         * BufferView.[Ch]: make LyXText * text a private member
2795
2796         * BufferView_pimpl.C:
2797         * cursor.C:
2798         * iterators.C:
2799         * lyx_cb.C:
2800         * lyxfind.C:
2801         * lyxtext.h:
2802         * rowpainter.[Ch]:
2803         * text.C:
2804         * text2.C:
2805         * undo.C: adjust
2806
2807         * output_plaintext.C: cleanup
2808
2809 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2810
2811         * buffer.C:
2812         * lyxtextclass.[Ch]: parametrize SGML document header
2813
2814 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2815
2816         * converter.[Ch]:
2817         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2818         getFlavor().
2819
2820 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2821
2822         * text2.C (setFont): rework using PosIterator (no more recursive)
2823         (setCharFont): no more needed
2824         (setLayout): no more selection cursors fiddling (done by redoCursor)
2825         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2826         destroy remaining ones)
2827
2828 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2829
2830         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2831         * lyxtext.h: ditto
2832         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2833         selection cursors
2834         * lyxfunc.C: adjust
2835         * text3.C: adjust + re-allow multi par depth changes
2836         * textcursor.C: simplify a bit
2837
2838 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2839
2840         * src/buffer.C:
2841         * src/lyxlayout.C:
2842         * src/lyxlayout.h:
2843         * src/lyxtext.h:
2844         * src/output_docbook.C:
2845         * src/output_latex.C:
2846         * src/paragraph.C:
2847         * src/paragraph.h:
2848         * src/sgml.C:
2849         * src/sgml.h:
2850         * src/text2.C: Introducing a number of tags parametrizing various
2851         XML formats that we may want to support
2852
2853 2003-11-25  André Pönitz  <poenitz@gmx.net>
2854
2855         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2856
2857         * lyxtext.h (leftMargin/rightMargin): simplify interface
2858
2859         * rowpainter.C:
2860         * text.C:
2861         * text2.C:
2862         * text3.C: adjust
2863
2864 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2865
2866         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2867         master file to any child files. Fixes bug 546.
2868
2869 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2870
2871         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2872
2873 2003-11-24  André Pönitz  <poenitz@gmx.net>
2874
2875         * rowpainter.C: simplification
2876
2877         * text2.C (updateCounters): remove call to redoParagraph on
2878         changed labels as this is far too expensive.
2879
2880 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * converter.C (convert): fix a crash: this function gets
2883         called with buffer == 0 from importer code.
2884
2885 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2886
2887         * text3.C (cursorPrevious): make sure that we do not compare
2888         iterators form different containers.
2889         (cursorNext): ditto
2890
2891         * rowpainter.C (paintSelection): make sure that we do not compare
2892         iterators from different containers.
2893
2894         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2895         iterators from different ParagraphList containers.
2896         [NEXT] ditto
2897
2898         * text2.C (LyXText): change order of initialization slightly
2899         (operator=): new function. copy all variables except cache_par_
2900         (moveUp): make sure that we do not compare iterators from
2901         different ParagraphList constainers.
2902         (moveDown): ditto
2903
2904         * text.C (firstPar): new function
2905         (lastPar): new function
2906         (endPar): new function
2907
2908         * lyxtext.h: move things around and group public functions, public
2909         variables, private functions, private variables
2910
2911 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2912
2913         * factory.C: change call to InsetERT constructor to avoid
2914         additional invocation of method status
2915         * text2.C (toggleInset): remove redundant update() call
2916         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2917         instead of a Bufferview pointer
2918
2919 2003-11-21  André Pönitz  <poenitz@gmx.net>
2920
2921         * rowpainter.C: simplification
2922
2923 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2924
2925         * text3.C (dispatch): make possible to extend a word/row selection
2926         with the mouse
2927
2928 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2929
2930         * lyxtext.h: x0_,y0_ -> xo_,yo_
2931         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2932         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2933         * rowpainter.C (paintRows): paint full paragraphs
2934
2935 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2936
2937         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2938         screen coordinates)
2939
2940 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2941
2942         * lyxtext.h: add x0_, y0_
2943         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2944         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2945
2946 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2947
2948         * text2.C (setCursorIntern): move the x_target update here *
2949         * text3.C: change some bv() to true/false in calls to
2950         cursorUp/Down/Right/Left
2951         * cursor.C: use helper function.
2952
2953 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2954
2955         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2956         * paragraph_funcs.[Ch]: correct comment
2957         * rowpainter.C: do not paint selections away from bv->cursor()
2958         Fix a long standing selection painting bug.
2959         * text3.C: generalize mouse-selection code to LyXTexts other that
2960         top one
2961         * textcursor.C: do not use y coords if we can use par offsets
2962
2963 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2966         cursor position after e.g. inset insert)
2967
2968 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2969
2970         * lyxfind.C (replace): adjust to locking removal + some
2971         code simplification
2972
2973 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2974
2975         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2976         of the path
2977
2978 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2979
2980         * lyxlayout.[Ch]:
2981         * output_docbook.C: XML sanitation: new layout
2982         parameters InnerTag and CommandDepth
2983
2984 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2985
2986         * BufferView_pimpl.C:
2987         * factory.C:
2988         * text3.C: Fix the insertion and modification of button-style
2989         insets
2990
2991 2003-11-13  André Pönitz  <poenitz@gmx.net>
2992
2993         * InsetList.[Ch]: remove deleteLyXText
2994
2995         * paragraph.[Ch]: cache beginOfBody position
2996
2997         * Bidi.C:
2998         * text.C:
2999         * text2.C:
3000         * text3.C: remove superfluous update() calls
3001
3002         * vspace.C: cleanup
3003
3004 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3005
3006         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3007         * BufferView.C (fitLockedInsetCursor): remove
3008         * cursor.[Ch] (getDim): add
3009         * text.C (getRowNearY): add faster version
3010         * text3.C: remove some update calls
3011
3012 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3013
3014         * LaTeXFeatures.C:
3015         * LyXAction.C:
3016         * MenuBackend.C:
3017         * MenuBackend.h:
3018         * dispatchresult.h:
3019         * factory.C:
3020         * lfuns.h:
3021         * lyxfunc.C:
3022         * lyxtextclass.C:
3023         * lyxtextclass.h:
3024         * text3.C: The Character Style /XML short element patch.
3025
3026 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3027
3028         * text3.C:
3029         * factory.C: Small step to solving 'unable to insert some insets'
3030         problem
3031
3032 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * cursor.[Ch] (updatePos): new function for updating the y
3035         position of the tip inset
3036         * bufferview_funcs.C (put_selection_at):
3037         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3038
3039 2003-11-11  André Pönitz  <poenitz@gmx.net>
3040
3041         * text.C: remove big comment on invalid Paragraph pointers as it is
3042         not valid anymore
3043
3044 2003-11-11  André Pönitz  <poenitz@gmx.net>
3045
3046         * text_funcs.[Ch]: merge with ...
3047
3048         * text.C: ... this
3049
3050         * lyxtext.h:
3051         * text2.C:
3052         * text3.C: adjust
3053
3054         * Makefile.am: remove text_funcs.[Ch]
3055
3056 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3057
3058         * cursor.C (getPos): return absolute cached y coord
3059
3060         * BufferView_pimpl.C (fitCursor): new simplistic code
3061         (workAreaDispatch): add a fitCursor call
3062
3063 2003-11-10  André Pönitz  <poenitz@gmx.net>
3064
3065         * BufferView.[Ch]:
3066         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3067
3068 2003-11-10  André Pönitz  <poenitz@gmx.net>
3069
3070         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3071         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3072         indicate that the cursor needs to leave an inset
3073
3074         * lyxtext.h: remove inset locking
3075
3076         * cursor.[Ch]: re-implement functionality provided by inset locking
3077
3078         * BufferView.[Ch]:
3079         * BufferView_pimpl.[Ch]:
3080         * LyXAction.C:
3081         * bufferview_funcs.[Ch]:
3082         * factory.C:
3083         * funcrequest.[Ch]:
3084         * iterators.C:
3085         * lyx_cb.C:
3086         * lyxfind.C:
3087         * lyxfunc.C:
3088         * text.C:
3089         * text2.C:
3090         * text3.C:
3091         * undo.C: adjust
3092
3093 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3094
3095         * PosIterator.[Ch]: replace the stack with a vector, add inset
3096         accesor
3097         * iterators.[C]: adjust
3098
3099 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3100
3101         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3102         replaced
3103         * paragraph_funcs.C (readParToken): put the correct id in the
3104         error item, not the id of the top paragraph
3105
3106 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3107
3108         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3109         * bufferview_funcs.C (put_selection_at): use the above
3110
3111 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3112
3113         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3114
3115 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3116
3117         * output_linuxdoc.h:
3118         * output_plaintext.h:
3119         * output.h:
3120         * output_docbook.h: add #include statements
3121
3122 2003-11-05  José Matos  <jamatos@lyx.org>
3123
3124         * output_docbook.[Ch]:
3125         * output_latex.[Ch]:
3126         * output_linuxdoc.[Ch]:
3127         * output_plaintext.[Ch]: New files for output formats.
3128         * output.[Ch]: New file for helper functions.
3129
3130         * buffer.[Ch]:
3131         * paragraph_funcs.[Ch]: output functions moved to new files.
3132
3133         * outputparams.h: rename of latexrunparams.h
3134
3135         * LaTeX.[Ch]:
3136         * buffer.[Ch]:
3137         * bufferlist.[Ch]:
3138         * converter.[Ch]:
3139         * exporter.C:
3140         * paragraph.[Ch]:
3141         * paragraph_funcs.[Ch]:
3142         * paragraph_pimpl.[Ch]:
3143         * tabular.[Ch]: rename ascii to plaintext
3144         and LatexRunParams to OutputParams.
3145
3146 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3147
3148         * iterators.[Ch] (text): require bv argument
3149         * undo.C (recordUndo):
3150         * lyxfunc.C (dispatch):
3151         * bufferview_funcs.C (put_selection_at): adjust
3152
3153 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3154
3155         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3156
3157 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3158
3159         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3160         nestings
3161
3162 2003-11-04  André Pönitz  <poenitz@gmx.net>
3163
3164         * cursor.[Ch]: restructure
3165
3166         * BufferView.[Ch]:
3167         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3168
3169         * iterators.[Ch] (asCursor): remove
3170
3171         * lfuns.h: remove LFUN_INSET_EDIT
3172
3173         * lyxfunc.C:
3174         * tabular.C:
3175         * text.C:
3176         * text2.C:
3177         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3178
3179 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3180
3181         * lyxfind.[Ch]: complete overhaul
3182         * BufferView_pimpl.C:
3183         * lyxfunc.C: adjust
3184         * paragraph.[Ch] (insert): add
3185
3186 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3187
3188         * BufferView.[Ch]:
3189         * lyxtext.h:
3190         * text.C: remove dead spellcheck code
3191
3192 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * dispatchresult.h: add a val setter
3195
3196         * cursor.C (dispatch): use a tempvar for data_[i]
3197
3198 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3199
3200         * PosIterator.[Ch]: compile fix
3201
3202 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * text.C (cursorPar): deactivate the cursor cache
3205
3206 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3209
3210 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3211
3212         * text3.C (dispatch): adjust for new DisptchResult semantics.
3213
3214         * lyxfunc.C (dispatch): handle update when return from
3215         Cursor::dispatch, adjust for new DispatchResult semantics.
3216
3217         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3218         DispatchResult(true) mean to not update. Add class functions for
3219         setting dispatched and update, as well as reading.
3220
3221         * cursor.C (dispatch): don't handle update here
3222
3223 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3224
3225         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3226         * trans_mgr.C: adjust
3227
3228         * paragraph_funcs.C (readParToken): exception safety
3229
3230         * lyxvc.h: store the vcs pointer in a scoped_ptr
3231         * lyxvc.C: adjust
3232
3233         * lyxsocket.C (serverCallback): exception safety
3234
3235         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3236
3237         * ispell.C (clone): make it return a auto_ptr
3238
3239         * factory.C (createInset): exception safety
3240         (readInset): exception safety
3241
3242         * bufferlist.C (newBuffer): exception safety
3243
3244         * Thesaurus.C (Thesaurus): use initialization for aik_
3245
3246         * MenuBackend.C (expandToc): exception safety.
3247
3248 2003-11-03  André Pönitz  <poenitz@gmx.net>
3249
3250         * buffer.C:
3251         * buffer.h:
3252         * bufferview_funcs.C: remove getInsetFromId()
3253
3254         * lyxcursor.[Ch]:
3255         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3256
3257         * lyxfunc.C:
3258         * text2.C:
3259         * text3.C: adjust
3260
3261 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3262
3263         * PosIterator.C (distance, advance): new
3264         * bufferview_funcs.[Ch] (put_selection_at): new
3265         * iterators.[Ch] (lockPath): new
3266
3267 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3268
3269         * iterators.[Ch] (asPosIterator): added
3270         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3271         * PosIterator.[Ch]: added
3272
3273 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * text3.C:
3276         * lyxfunc.C:
3277         * cursor.C (dispatch):
3278         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3279
3280         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3281         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3282         contructor, add a class function dispatched. Remove operator>=
3283
3284 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * debug.C: only use the default constructor for debugstream
3287         (lyxerr) here.
3288
3289         * main.C (main): include debug.h and setup the lyxerr streambuf
3290         here.
3291
3292 2003-10-31  José Matos  <jamatos@lyx.org>
3293
3294         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3295
3296         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3297         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3298         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3299         * paragraph_pimpl.C (simpleTeXSpecialC):
3300         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3301         add LatexRunParams argument.
3302
3303         * exporter.C (Export): change call accordingly.
3304
3305         * latexrunparams.h: add new member to take care of the other backends.
3306 2003-10-30  José Matos  <jamatos@lyx.org>
3307
3308         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3309         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3310         factorise code for paragraph output.
3311         * buffer.[Ch]:
3312         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3313         move functions.
3314
3315 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * text3.C (dispatch):
3318         * lyxfunc.C (dispatch):
3319         * cursor.C (dispatch):
3320         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3321
3322         * dispatchresult.h: make the dispatch_result_t ctor explicit
3323
3324 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3325
3326         * sgml.[Ch]:
3327         * buffer.C: small refactoring of docbook stuff
3328
3329 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3332         meaning.
3333
3334 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3335
3336         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3337         operator dispatch_result_t, and operators for == != and >=
3338
3339         * cursor.C (dispatch): adjust for operator dispatch_result_t
3340         removal. comment out call to update
3341
3342         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3343
3344 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * text3.C:
3347         * text2.C:
3348         * text.C:
3349         * lyxtext.h:
3350         * lyxfunc.C:
3351         * cursor.C:
3352         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3353         (dispatch):
3354
3355         * dispatchresult.h: new file, DispatchResult broken out of
3356         insets/insetbase.h
3357
3358         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3359
3360 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3361
3362         * text.C (rowBreakPoint): put a hack inside #if 0
3363
3364 2003-10-28  André Pönitz  <poenitz@gmx.net>
3365
3366         * lyxtext.h:
3367         * metricsinfo.C:
3368         * paragraph_funcs.C:
3369         * rowpainter.C:
3370         * text.C:
3371         * text2.C: general cleanup (lots of small stuff)
3372
3373 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3374
3375         * text2.C (cursorEnd): simple fix to the "end key goes to one
3376         before the end on last row" bug
3377
3378 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * text.C (backspace): fix the "zombie characters"
3381
3382 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3383
3384         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3385
3386 2003-10-27  André Pönitz  <poenitz@gmx.net>
3387
3388         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3389
3390         * factory.C: handle new InsetPagebreak, InsetLine
3391
3392         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3393         and move handling into new InsetPagebreak, InsetLine
3394
3395         * BufferView_pimpl.C:
3396         * LyXAction.C:
3397         * ParagraphParameters.C:
3398         * ParameterStruct.h:
3399         * lyxfunc.C:
3400         * lyxtext.h:
3401         * paragraph.C:
3402         * paragraph.h:
3403         * paragraph_funcs.C:
3404         * paragraph_pimpl.C:
3405         * rowpainter.C:
3406         * text.C:
3407         * text2.C:
3408         * text3.C: adjust
3409
3410 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3411
3412         * text.C:
3413         * lyxrow_funcs.[Ch]:
3414         * Bidi.C:
3415         * paragraph.C:
3416         * lyxtext.h:
3417         * rowpainter.C:
3418         * text2.C:
3419         * text3.C: remove lastPos uses in favour of Row::endpos
3420
3421 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3422
3423         * undo.C (performUndoOrRedo): fix two crashes by setting a
3424         cursor by hand and reordering some calls. Use bv->lockInset instead
3425         of inset->edit because the latter loses cursor information
3426
3427 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3428
3429         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3430         by Martin
3431         (rowBreakPoint): fix width. change point to point + 1.
3432         Add a missing check.
3433
3434 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3435
3436         * MenuBackend.C:
3437         * lyxfunc.C: fix (at least partly) the problems
3438         with the Nav menu and headers inside branch insets
3439         reported by Kayvan
3440
3441 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3442
3443         * paragraph.C (getChar): add strong asserts
3444
3445         * lyxrow_funcs.C (lastPos): remove hideous hack
3446
3447         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3448         (fill): adjust to that (avoid an infinite loop)
3449
3450 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3451
3452         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3453
3454 2003-10-23  André Pönitz  <poenitz@gmx.net>
3455
3456         * RowList_fwd.h: change list<> to vector<> to gain speed
3457         after suggestion from Alfredo
3458
3459 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3460
3461         * lyxtext.h: move the bidi stuff from here...
3462         * text.C: and here
3463         * text2.C: and here
3464         * Bidi.[Ch]: ... to here
3465
3466 2003-10-23  André Pönitz  <poenitz@gmx.net>
3467
3468         * lyxtext.h:
3469         * text.C (isLastRow, isFirstRow): new functions
3470
3471         * paragraph.h: new width cache member
3472
3473         * rowpainter.C: replace RowList::iterator with Row & where possible
3474
3475         * lyxfunc.C: replace several view()->text with a single call
3476
3477         * toc.C: fix 'unused' warning
3478
3479 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3482         when woring with stream::pos_type
3483         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3484
3485 2003-10-22  André Pönitz  <poenitz@gmx.net>
3486
3487         * lyxtext.h:
3488         * text.C: use Row & instead of RowList::iterator
3489
3490         * lyxrow.h: rename end() to endpos()
3491
3492         * rowpainter.C:
3493         * text.C:
3494         * text2.C: adjust
3495
3496 2003-10-22  Angus Leeming  <leeming@lyx.org>
3497
3498         * buffer.[Ch] (fully_loaded): new member function, returning true
3499         only when the file has been loaded fully.
3500         Used to prevent the premature generation of previews and by the
3501         citation inset to prevent computation of the natbib-style label.
3502
3503         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3504         templates are all set up.
3505
3506         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3507
3508 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3509
3510         * text.C: fixed an "oops" in the "is a bit silly"
3511         bug fix
3512
3513 2003-10-21  André Pönitz  <poenitz@gmx.net>
3514
3515         * FuncStatus.[Ch]: small stuff, whitespace
3516
3517         * lyxfont.[Ch]: operator<<() for debug reasons
3518
3519         * lyxfunc.C:
3520         * lyxrow_funcs.C:
3521         * lyxtext.h: whitespace, spelling
3522
3523         * paragraph.C: naming of variables
3524
3525         * text.C:
3526         * text2.C: small stuff
3527
3528
3529 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3530
3531         * text.C: (1) finish off the inset display() work;
3532         (2) fix the "is a bit silly" bug (accessing char
3533         past end of par).
3534
3535 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3536
3537         * text.C: re-introduce display() for insets, fixing the
3538         various bugs (stretch of line above, math inset
3539         positioning, ...)
3540
3541 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3542
3543         * text.C (rightMargin): remove spurious semicolon
3544
3545         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3546         1415)
3547
3548 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3549
3550         * text3.C: fix one crash due to wrong cursor def
3551
3552 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3553
3554         * vc-backend.C (scanMaster): make the regex static
3555
3556         * LaTeX.C (scanAuxFile): make the regexs static
3557
3558         * text3.C (doInsertInset, dispatch, dispatch):
3559         * text2.C (cursorUp, cursorDown):
3560         * text.C (selectNextWordToSpellcheck):
3561         * BufferView_pimpl.C (dispatch):
3562         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3563
3564 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3565
3566         * lyxsocket.C: include <cerrno>
3567
3568 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * lyxfunc.C (dispatch): remove textcache stuff
3571
3572         * bufferlist.C (release): remove textcache stuff
3573         (closeAll): ditto
3574
3575         * TextCache.C: delete file
3576         * TextCache.h: delete file
3577
3578         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3579
3580         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3581         delete of the bv_->text.
3582         (resizeCurrentBuffer): remove texcache stuff
3583         (workAreaResize): ditto
3584
3585 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3586
3587         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3588         action.
3589
3590 2003-10-16  André Pönitz  <poenitz@gmx.net>
3591
3592         * lyxrow.[Ch]:
3593         * paragraph.h:
3594         * rowpainter.C:
3595         * text.C:
3596         * text2.C:
3597         * text3.C: speed up by storing y positions per paragraph plus per-row
3598         offset instead of having a 'full' y position in the row.
3599
3600 2003-10-15  André Pönitz  <poenitz@gmx.net>
3601
3602         * iterators.[Ch]:
3603         * iterators.[Ch]:
3604         * undo.[Ch]: make undo aware of inner insets
3605
3606 2003-10-14  Angus Leeming  <leeming@lyx.org>
3607
3608         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3609         static member functions LyX::ref() and LyX::cref.
3610         (lastfiles): new accessor functions for the new lastfiles_ member var.
3611         (addLyXView, views_): add a new LyXView to the list of views_.
3612         (updateInset): loop over all LyXViews to call their own updateInset
3613         member function, returning a pointer to the Buffer owning the inset.
3614
3615         * BufferView_pimpl.C (loadLyXFile):
3616         * MenuBackend.C (expandLastfiles):
3617         * bufferlist.C (MenuWrite, QuitLyX):
3618         lastfiles is no longer a global variable.
3619         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3620
3621         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3622         static function. Access through LyX::cref().emergencyCleanup().
3623
3624 2003-10-14  André Pönitz  <poenitz@gmx.net>
3625
3626         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3627
3628         * undo.[Ch]: restoring part of 'undo in insets'
3629
3630         * Makefile.am:
3631         * undo_funcs.[Ch]: merge with undo.[Ch]
3632
3633         * tabular.C: small cleansing stuff
3634
3635 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3636
3637         * paragraph_funcs.C (readParToken): report unknown insets as error
3638         boxes. Use the outer paragraph as location (also for unknown
3639         tokens).
3640
3641         * factory.C (readInset): do not abort on reading an unknown inset.
3642         Eat it and return 0.
3643
3644 2003-10-13  Angus Leeming  <leeming@lyx.org>
3645
3646         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3647
3648         * lyxrc.C: displayTranslator is now a function,
3649         declared in GraphicsTypes.h.
3650
3651 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3652
3653         * format.C: new placeholder $$a to pass the socket address.
3654
3655         * bufferlist.[Ch]: new function getBufferFromTmp.
3656
3657         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3658           files in the temporary dir.
3659
3660 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3661
3662         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3663
3664         * Makefile.am: add lyxsocket.[Ch].
3665
3666         * lyx_main.C (error_handler): handle SIGPIPE.
3667
3668 2003-10-13  André Pönitz  <poenitz@gmx.net>
3669
3670         * BufferView_pimpl.C:
3671         * lyxtext.h:
3672         * text.C:
3673         * text2.C:
3674         * text3.C:
3675         * undo_funcs.[Ch]: use paroffset_type instead of
3676           ParagraphList::iterators to prevent multiple conversion
3677           (and get a more robust interface)
3678
3679 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3682         * lyxtext.h: ditto
3683         * text3.C (dispatch): ditto
3684
3685 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3688         move the onlyfile, use onlyfile instead of foundfile in a couple
3689         of places.
3690
3691         * DepTable.C (update): flush the error stream a bit more
3692
3693 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3694
3695         * lyxserver.C (callback): adjust
3696
3697         * lyxfunc.C (getStatus): add a missing brace in commented code
3698         (ensureBufferClean): reindent
3699         (dispatch): delete version taking a string
3700
3701 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * LaTeX.C (deplog): move found file handlig from here...
3704         (handleFoundFile): .. to new function here.
3705         (deplog): make sure to discover several files mentioned on the
3706         same log line.
3707
3708 2003-10-10  André Pönitz  <poenitz@gmx.net>
3709
3710         * lyxfunc.C:
3711         * lyxtext.h:
3712         * tabular.C:
3713         * text.C:
3714         * text2.C:
3715         * text3.C: fix some of the tabular crashes
3716
3717 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3718
3719         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3720
3721         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3722
3723 2003-10-09  André Pönitz  <poenitz@gmx.net>
3724
3725         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3726
3727         * BufferView.C:
3728         * BufferView_pimpl.C:
3729         * bufferview_funcs.C:
3730         * lyx_cb.C:
3731         * lyxcursor.C:
3732         * lyxfind.C:
3733         * lyxfunc.C:
3734         * lyxtext.h:
3735         * text.C:
3736         * text2.C:
3737         * text3.C:
3738         * text_funcs.[Ch]:
3739         * textcursor.[Ch]:
3740         * undo_funcs.C: adjust
3741
3742 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * text2.C (incrementItemDepth): new function, use a backtracking
3745         algorithm to discover the correct item depth.
3746         (resetEnumCounterIfNeeded): new function, use a backtracking
3747         algorithm to discover if counter reset is needed.
3748         (setCounter): use them. Simplify a bit. Add different labels for
3749         different item depths for itemize.
3750
3751         * paragraph.C (Paragraph): remove initialization of enumdepth
3752         (operator=): ditto
3753
3754         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3755         enumerate and itemize. Change the type of itemdepth to signed char.
3756
3757 2003-10-08  André Pönitz  <poenitz@gmx.net>
3758
3759         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3760           thing assignable.
3761         * text.C:
3762         * text2.C: adjust
3763
3764         * tabular.[Ch]: fix crash after 'row-insert'
3765
3766 2003-10-08  Angus Leeming  <leeming@lyx.org>
3767
3768         Fix doxygen warnings.
3769
3770         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3771         Remove CutAndPaste:: prefix from header file declaration.
3772
3773         * LColor.h (fill): remove LColor:: prefix from declaration.
3774
3775         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3776         use lyx::depth_type rather than Paragraph::depth_type so that
3777         header file and .C file match.
3778
3779         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3780
3781         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3782         * aspell.C: \file aspell_local.C -> \file aspell.C
3783         * gettext.C: \file gettext.C -> \file src/gettext.C
3784         * gettext.h: \file gettext.h -> \file src/gettext.h
3785         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3786         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3787         * text.C: \file text.C -> \file src/text.C
3788
3789         * toc.C: move comment so that doxygen is not confused.
3790
3791 2003-10-07  Angus Leeming  <leeming@lyx.org>
3792
3793         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3794
3795 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3796
3797         * aspell.C:
3798         * aspell_local.h: add forgotten std::string's.
3799
3800 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3801
3802         * LaTeXFeatures.C:
3803         * LyXAction.C:
3804         * factory.C:
3805         * lfuns.h:
3806         * lyxfunc.C:
3807         * text3.C: The Box patch. Fancybox support, minipage, parbox
3808
3809 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3810
3811         * CutAndPaste.h:
3812         * DepTable.h:
3813         * FloatList.h:
3814         * LaTeXFeatures.h:
3815         * ParagraphParameters.h:
3816         * TextCache.h:
3817         * Thesaurus.h:
3818         * bufferlist.h:
3819         * exporter.h:
3820         * importer.h:
3821         * lastfiles.h:
3822         * lyxfind.h:
3823         * lyxfont.h:
3824         * lyxlex.h:
3825         * lyxtextclasslist.h:
3826         * messages.h:
3827         * paragraph.h:
3828         * paragraph_pimpl.C:
3829         * textcursor.h: add <string> and other small fixes to make Lars'
3830         std::string patch compile with STLport.
3831
3832 2003-10-06  Angus Leeming  <leeming@lyx.org>
3833
3834         * LColor.h: Add missing #include <string>.
3835
3836 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * All most all file in all subdirs: Make <string> be the prefered
3839         way of getting to std::string, add using declarations.
3840
3841 2003-10-06  André Pönitz  <poenitz@gmx.net>
3842
3843         * metricsinfo.C: initialize LyXFont before changing attribute.
3844         (fixes the 'math in \emph is upright' bug)
3845
3846 2003-10-06  André Pönitz  <poenitz@gmx.net>
3847
3848         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3849
3850 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3851
3852         * graph.C:
3853         * paragraph_pimpl.C: Small fixes to build using STLport
3854
3855 2003-10-02  André Pönitz  <poenitz@gmx.net>
3856
3857         * lyxfunc.C:
3858         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3859
3860 2003-10-01  André Pönitz  <poenitz@gmx.net>
3861
3862         * factory.C: assert early
3863
3864 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3865
3866         * lyx_main.C: remove the global debug object
3867
3868         * debug.h: adjust for new debugstream
3869
3870         * debug.C: adjust for new debugstream and keep the global debug
3871         object here.
3872
3873 2003-09-22  Angus Leeming  <leeming@lyx.org>
3874
3875         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3876         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3877         an incomplete class LyXFont.
3878
3879 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3880
3881         * factory.C: bug fix in branches
3882
3883 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * lyxfunc.C (processKeySym): adjust
3886         (dispatch): adjust
3887         (dispatch): change arg name from ev to func, adjust
3888         (sendDispatchMessage): ditto
3889
3890         * lyx_main.C (defaultKeyBindings): adjust keybindings
3891         (deadKeyBindings): ditto
3892
3893         * kbsequence.C (addkey): return a FuncRequest
3894
3895         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3896
3897         * kbmap.C (bind): take a FuncRequest as arg, adjust
3898         (read): adjust
3899         (lookup): adjust
3900         (defkey): change to take a FuncRequest as arg, adjust
3901         (findbinding): take a FuncRequest as arg, adjust.
3902
3903         * funcrequest.h (operator=): added
3904
3905         * funcrequest.C (FuncRequest): default kb_action changed from
3906         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3907
3908         * buffer.C (dispatch): simplify
3909         (dispatch): adjust to take a FuncRequest as arg, adjust
3910
3911         * boost.C (assertion_failed): change assertion message slightly
3912
3913         * ToolbarBackend.C (read): simplify
3914
3915         * MenuBackend.C (binding): adjust call to findbinding, add a
3916         message if no binding is found.
3917         (read): simplify
3918         (expandToc): correct by adding a empty FuncRequest
3919
3920         * LyXAction.C: include <boost/assert.hpp>
3921         (isPseudoAction): delete function
3922         (LookupFunc): change name to...
3923         (lookupFunc): this. change return type to FuncRequest.
3924         (getActionName): take kb_action as arg, simplify
3925         (funcHasFlag): add an assert, simplify.
3926
3927 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * toc.C (action): return a FuncRequest, simplify
3930
3931         * lyxfunc.C (processKeySym): adjust
3932         (getStatus): delete version that takes an int.
3933         (getStatus): adjust
3934         (dispatch): delete version that takes action as int
3935         (dispatch): adjust
3936         (sendDispatchMessage): simplify and adjust
3937
3938         * funcrequest.C (getArg): take unsigned int as arg
3939
3940         * ToolbarBackend.C (read): adjust
3941         (add): delete version that takes func as a string.
3942         (getIton): take a FuncRequest as arg
3943
3944         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3945         action.
3946
3947         * MenuBackend.C (MenuItem): add a new construct that only takes a
3948         Kind, simplify the constructor use for submenus.
3949         (add): adjust
3950         (expandLastfiles): adjust
3951         (expandDocuments): adjust
3952         (expandFormats): adjust
3953         (expandFloatListInsert): adjust
3954         (expandFloatInsert): adjust
3955         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3956
3957         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3958         Remove class variables lyx_pseudo_map and lyx_arg_map
3959
3960         * LyXAction.C (searchActionArg): delete function
3961         (getPseudoAction): delete function
3962         (retrieveActionArg): delete function
3963         (LookupFunc): make it return kb_action, simplify.
3964         (getActionName): simplify
3965
3966         * factory.C (createInset): fix new bug
3967
3968 2003-09-19  Angus Leeming  <leeming@lyx.org>
3969
3970         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3971         masterFilename_ parameter in the include inset.
3972
3973         * factory.C (createInset): changes due to the changes to InsetInclude.
3974
3975 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3976
3977         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3978
3979 2003-09-18  Angus Leeming  <leeming@lyx.org>
3980
3981         * buffer.C:
3982         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3983         Inset::fillWithBibKeys.
3984         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3985
3986 2003-09-18  Angus Leeming  <leeming@lyx.org>
3987
3988         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3989         variables.
3990         (ctor): pass and store a 'Buffer const &'
3991         (buffer): new member function.
3992
3993         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3994         '*this' to the LaTeXFeatures ctor.
3995
3996 2003-09-18  Angus Leeming  <leeming@lyx.org>
3997
3998         * LColor.h:
3999         * lyxfont.C:
4000         * lyxfont.h:
4001         * lyxtext.h:
4002         * text.C: rename EnumLColor as LColor_color.
4003
4004 2003-09-18  Angus Leeming  <leeming@lyx.org>
4005
4006         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4007         remove #include "insets/insetbase.h" from cursor.h.
4008
4009 2003-09-18  Angus Leeming  <leeming@lyx.org>
4010
4011         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4012         InsetOld_code to remove #include "inset.h".
4013
4014         * iterators.C: add #include "insets/inset.h"
4015
4016 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4017
4018         * BufferView.C: remove more locking stuff that apparently doesn't
4019         do anything sensible.
4020
4021 2003-09-16  André Pönitz  <poenitz@gmx.net>
4022
4023         * paragraph.[Ch]:
4024         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4025           performance boost.
4026
4027 2003-09-16  Angus Leeming  <leeming@lyx.org>
4028
4029         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4030
4031         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4032         arg/return type.
4033
4034         * paragraph.h: remove #include "lyxfont.h". Forward declare
4035         LyXFont_size.
4036
4037 2003-09-16  Angus Leeming  <leeming@lyx.org>
4038
4039         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4040         of support/textutils.h.
4041         (isWord): move the contents of support/textutils.h's IsWordChar here.
4042
4043         * buffer.C:
4044         * lyxfind.C:
4045         * rowpainter.C:
4046         * text.C:
4047         * text2.C: add #include "paragraph.h".
4048
4049         * rowpainter.C:
4050         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4051
4052 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * main.C:
4055         * lyx_main.C:
4056         * lyx_cb.C:
4057         * buffer.C:
4058         * LaTeX.C: use namespace alias for lyx::support::os
4059
4060 2003-09-16  Angus Leeming  <leeming@lyx.org>
4061
4062         * bufferparams.C:
4063         * bufferview_funcs.C:
4064         * factory.C:
4065         * lyxfunc.C:
4066         * paragraph_pimpl.C:
4067         * rowpainter.C:
4068         * text.C: add #include "LColor.h".
4069
4070 2003-09-16  Angus Leeming  <leeming@lyx.org>
4071
4072         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4073         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4074         return LyXFont &.
4075         Store the FontBits::color variable as an int rather than as an
4076         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4077         file.
4078
4079         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4080         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4081         string calls together.
4082
4083         * lyxrc.C: add #include "LColor.h".
4084
4085 2003-09-15  Angus Leeming  <leeming@lyx.org>
4086
4087         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4088         a cow_ptr.
4089
4090 2003-09-15  Angus Leeming  <leeming@lyx.org>
4091
4092         * LColor.h: add an EnumLColor wrapper for LColor::color.
4093
4094         * lyxfont.[Ch] (color, setColor, realColor):
4095         * lyxtext.h, text.C (backgroundColor):
4096         pass EnumLColor args to/from the functions, rather than LColor::color
4097         ones.
4098
4099         * lyxfont.h:
4100         * lyxtext.h: forward declare EnumLColor.
4101
4102         * lyx_main.C: add #include "LColor.h".
4103
4104 2003-09-15  Angus Leeming  <leeming@lyx.org>
4105
4106         * .cvsignore: add lyx-gtk.
4107
4108 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * Chktex.C
4111         * LaTeX.C
4112         * LaTeXFeatures.C
4113         * ParagraphParameters.C
4114         * Spacing.C
4115         * buffer.C
4116         * bufferparams.C
4117         * bufferview_funcs.C
4118         * chset.C
4119         * counters.C
4120         * funcrequest.C
4121         * lyxfont.C
4122         * lyxgluelength.C
4123         * lyxlength.C
4124         * paragraph.C
4125         * paragraph_funcs.C
4126         * text3.C
4127         * vc-backend.C: remove usage of STRCONV
4128
4129 2003-09-15  Angus Leeming  <leeming@lyx.org>
4130
4131         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4132         explicitly define the color passed to the painter.
4133
4134 2003-09-15  Angus Leeming  <leeming@lyx.org>
4135
4136         * bufferparams.C (BufferParams): reorder member initializers to avoid
4137         compiler warning.
4138
4139 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4142         * text.C (updateRowPositions): remove an unusual nop
4143
4144 2003-09-12  André Pönitz  <poenitz@gmx.net>
4145
4146         * BufferView_pimpl.C:
4147         * Bullet.C:
4148         * layout.h:
4149         * lyxfunc.C:
4150         * lyxlayout.[Ch]:
4151         * lyxtextclass.C:
4152         * rowpainter.C:
4153         * text.C:
4154         * text2.C:
4155         * Counters.[Ch]: finish the 'automatic counters' job
4156
4157 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4158
4159         * aspell.C: include <boost/assert.cpp> (compile fix)
4160
4161 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4162
4163         * boost.C (assertion_failed): use lyx::support::abort instead of
4164         assert.
4165
4166 2003-09-10  Angus Leeming  <leeming@lyx.org>
4167
4168         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4169         with their _fwd progeny.
4170
4171 2003-09-09  Angus Leeming  <leeming@lyx.org>
4172
4173         134 files throughtout the source tree: replace 'using namespace abc;'
4174         directives with the appropriate 'using abc::xyz;' declarations.
4175
4176 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4177
4178         * boost.C (emergencyCleanup): moved here from LAssert.c
4179         (assertion_failed): new function, called by BOOST_ASSERT
4180
4181         * several files: change Assert to BOOST_ASSERT
4182
4183 2003-09-09  Angus Leeming  <leeming@lyx.org>
4184
4185         * buffer.[Ch]: Add an Impl class and move Buffer's member
4186         variables into it. As a result move several header files out of
4187         buffer.h.
4188
4189         Add header files to lots of .C files all over the tree as a result.
4190
4191 2003-09-09  Angus Leeming  <leeming@lyx.org>
4192
4193         * buffer.[Ch]: make Buffer's member variables private. Add
4194         accessor functions.
4195
4196         Lots of changes all over the tree as a result.
4197
4198 2003-09-08  Angus Leeming  <leeming@lyx.org>
4199
4200         * graph.C: #include <config.h>.
4201
4202 2003-09-08  Angus Leeming  <leeming@lyx.org>
4203
4204         * BranchList.C:
4205         * BufferView.C:
4206         * BufferView_pimpl.C:
4207         * CutAndPaste.C:
4208         * DepTable.C:
4209         * LaTeX.C:
4210         * LaTeXFeatures.C:
4211         * LyXAction.C:
4212         * MenuBackend.C:
4213         * TextCache.C:
4214         * aspell.C:
4215         * buffer.C:
4216         * bufferlist.C:
4217         * changes.C:
4218         * chset.C:
4219         * converter.C:
4220         * counters.C:
4221         * debug.C:
4222         * graph.C:
4223         * ispell.C:
4224         * lyx_cb.C:
4225         * lyxfind.C:
4226         * lyxfunc.C:
4227         * lyxlex_pimpl.C:
4228         * lyxrc.C:
4229         * lyxrow.C:
4230         * paragraph.C:
4231         * rowpainter.C:
4232         * texrow.C:
4233         * text.C:
4234         * text2.C:
4235         * toc.C: remove redundant using directives.
4236
4237 2003-09-07  Angus Leeming  <leeming@lyx.org>
4238
4239         * LaTeXFeatures.h: remove #include "support/types.h".
4240         * ToolbarBackend.h: remove #include <algorithm>.
4241         * changes.h: remove #include <ctime>.
4242         * debug.h: remove #include <iosfwd>.
4243         * graph.h: remove #include "support/std_string.h".
4244         * lyx_main.h: remove #include <csignal>.
4245         * lyxlex_pimpl.h: remove #include <fstream>.
4246         * sgml.h: remove #include <algorithm>, <utility>.
4247         * toc.h: remove #include "support/std_ostream.h".
4248         Add #include <iosfwd>.
4249
4250 2003-09-07  Angus Leeming  <leeming@lyx.org>
4251
4252         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4253
4254         * converter.h: forward declare LatexRunParams.
4255         * encoding.h: remove #include "lyxrc.h".
4256         * lyxtext.h: remove #include "LColor.h".
4257         * lyxtextclass.h: remove #include "support/types.h".
4258         * trans.h: remove #include "tex-accent.h".
4259         * trans_mgr.h: remove #include "tex-accent.h".
4260         * insets/inset.h: remove #include "support/types.h", <vector>.
4261         * insets/insetcollapsable.h: remove #include "LColor.h".
4262         * insets/insetinclude.h: remove #include "dimension.h".
4263         * insets/insetlatexaccent.h: remove #include "dimension.h".
4264         * insets/insetoptarg.h:: remove #include "insettext.h".
4265         * insets/insettext.h: remove #include "dimension.h",
4266         <boost/shared_ptr.hpp>
4267
4268         * insets/renderers.h: add #include "dimension.h".
4269         * insets/updatableinset.h: add #include "support/types.h".
4270
4271         * many .C files: Associated changes.
4272
4273 2003-09-06  Angus Leeming  <leeming@lyx.org>
4274
4275         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4276         one, inside testInvariant.
4277
4278         * PrinterParams.C: new file.
4279         * PrinterParams.[Ch]: move the function bodies out of line.
4280
4281 2003-09-06  Angus Leeming  <leeming@lyx.org>
4282
4283         * ParagraphParameters.h: forward declare ParameterStruct rather than
4284         including its header file.
4285         (depth): moved out-of-line.
4286
4287 2003-09-06  Angus Leeming  <leeming@lyx.org>
4288
4289         * BufferView_pimpl.h:
4290         * kbmap.h:
4291         * kbsequence.h:
4292         * lyxfunc.h: forward declare LyXKeySym rather than
4293         #include "frontends/LyXKeySym.h".
4294
4295         * BufferView_pimpl.C:
4296         * kbmap.C:
4297         * kbsequence.C:
4298         * lyxfunc.C: associated changes.
4299
4300 2003-09-06  Angus Leeming  <leeming@lyx.org>
4301
4302         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4303         As a result, can remove the #include "insets/inset.h" from BufferView.h
4304
4305 2003-09-06  Angus Leeming  <leeming@lyx.org>
4306
4307         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4308         As a result, can remove the #include "insets/inset.h" from BufferView.h
4309
4310 2003-09-06  Angus Leeming  <leeming@lyx.org>
4311
4312         * buffer_funcs.C:
4313         * buffer.h:
4314         * bufferlist.C:
4315         * BufferView.C:
4316         * bufferview_funcs.C:
4317         * BufferView_pimpl.C:
4318         * CutAndPaste.C:
4319         * lyx_cb.C:
4320         * lyxfunc.C:
4321         * paragraph.h:
4322         * ParagraphParameters.C:
4323         * tabular.C:
4324         * text3.C:
4325         * toc.C:
4326         * undo_funcs.C:
4327         * frontends/controllers/ControlDocument.C:
4328         * insets/insetcaption.C: rearrange the #includes into some sort of
4329         coherent order.
4330
4331         * buffer.h: remove #includes ErrorList.h, undo.h
4332
4333 2003-09-06  Angus Leeming  <leeming@lyx.org>
4334
4335         * support/types.h: add a 'depth_type' typedef, used to store the
4336         nesting depth of a paragraph.
4337
4338         * paragraph.h:
4339         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4340         defining explicitly.
4341
4342         * buffer.h:
4343         * paragraph_funcs.h:
4344         * ParagraphParameters.h:
4345         * sgml.h: use lyx::depth_type rather than Paragraph or
4346         ParameterStruct's depth_type.
4347
4348         * buffer.h
4349         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4350
4351         * BufferView.C:
4352         * BufferView_pimpl.C:
4353         * CutAndPaste.C:
4354         * ParagraphParameters.C:
4355         * buffer_funcs.C:
4356         * bufferlist.C:
4357         * bufferview_funcs.C:
4358         * lyx_cb.C:
4359         * lyxfunc.C:
4360         * tabular.C:
4361         * text3.C:
4362         * toc.C:
4363         * undo_funcs.C:
4364         * frontends/LyXView.C:
4365         * frontends/controllers/ControlDocument.C:
4366         * frontends/controllers/ControlErrorList.C:
4367         * insets/insetbibitem.C:
4368         * insets/insetbranch.C:
4369         * insets/insetcaption.C:
4370         * insets/insetcollapsable.C:
4371         * insets/insetenv.C:
4372         * insets/insetert.C:
4373         * insets/insetfloat.C:
4374         * insets/insetfoot.C:
4375         * insets/insetfootlike.C:
4376         * insets/insetnewline.C:
4377         * insets/insetquotes.C:
4378         * insets/insettabular.C:
4379         * insets/insettext.C:
4380         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4381
4382         * frontends/controllers/ControlChanges.C: #include "changes.h".
4383
4384 2003-09-06  Angus Leeming  <leeming@lyx.org>
4385
4386         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4387         than #including paragraph.h.
4388
4389         * ParagraphList.h:
4390         * RowList.h: deleted. Superfluous.
4391
4392         * CutAndPaste.h:
4393         * iterators.h:
4394         * lyxcursor.h:
4395         * lyxtext.h:
4396         * text_funcs.h:
4397         * undo.h:
4398         * undo_funcs.h:
4399         * insets/inset.h:
4400         * insets/insettext.h: use ParagraphList_fwd.h rather than
4401         ParagraphList.h.
4402
4403         * paragraph.h: don't forward declare ParagraphList.
4404
4405         * buffer.h:
4406         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4407         rather than ParagraphList.h. paragraph.h is still needed for the
4408         Paragraph::depth_type parameters.
4409
4410         * textcursor.h: enable it to compile stand-alone in light of the
4411         above changes.
4412
4413         * bufferview_funcs.C:
4414         * iterators.C:
4415         * lyxfunc.C:
4416         * lyxrow_funcs.C:
4417         * paragraph.C:
4418         * rowpainter.C:
4419         * text.C:
4420         * text2.C:
4421         * text3.C:
4422         * text_funcs.C:
4423         * textcursor.C:
4424         * undo.C:
4425         * frontends/controllers/ControlParagraph.C:
4426         * frontends/controllers/ControlTabular.C:
4427         * insets/insetmarginal.C:
4428         * insets/insetminipage.C:
4429         * insets/insetnote.C:
4430         * insets/insetoptarg.C: add header files needed to compile again.
4431
4432 2003-09-06  Angus Leeming  <leeming@lyx.org>
4433
4434         * RowList_fwd.h: new file, forward-declaring Row rather than
4435         #including lyxrow.h.
4436
4437         * lyxrow_funcs.h:
4438         * lyxtext.h:
4439         * paragraph.h:
4440         * insets/insettext.h: use it instead of RowList.h
4441
4442         * bufferview_funcs.C:
4443         * lyxfunc.C:
4444         * lyxrow_funcs.C:
4445         * paragraph.C:
4446         * rowpainter.C:
4447         * text.C:
4448         * text2.C:
4449         * text3.C: #include "RowList.h".
4450
4451 2003-09-05  Angus Leeming  <leeming@lyx.org>
4452
4453         * factory.C (createInset):
4454         * vspace.C (c-tor): replace sscanf call with an istringstream.
4455         * ispell.C: re-add missing HP/UX headers.
4456         * lyxserver.C: re-add missing  os2 headers.
4457
4458 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4459
4460         * BranchList.C:
4461         * graph.C:
4462         * ispell.C:
4463         * lastfiles.C:
4464         * lyx_cb.C:
4465         * lyxserver.C:
4466         * texrow.C:
4467         * text3.C: re-add missing system headers, needed for 2.95.2.
4468
4469 2003-09-05  Angus Leeming  <leeming@lyx.org>
4470
4471         Changes most place everywhere due to the removal of using directives
4472         from support/std_sstream.h.
4473
4474 2003-09-05  Angus Leeming  <leeming@lyx.org>
4475
4476         Replace LString.h with support/std_string.h,
4477         Lsstream.h with support/std_sstream.h,
4478         support/LIstream.h with support/std_istream.h,
4479         support/LOstream.h with support/std_ostream.h.
4480
4481         Changes resulting throughout the tree.
4482
4483 2003-09-05  Angus Leeming  <leeming@lyx.org>
4484
4485         * sgml.h: ensure that the header file can be compiled stand-alone.
4486         * *.C: strip out redundant #includes. (320 in total.)
4487
4488 2003-09-04  Angus Leeming  <leeming@lyx.org>
4489
4490         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4491         here (from getPackages).
4492
4493         * debug.[Ch]: add a new EXTERNAL tag.
4494
4495 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4496
4497         * text2.C (cursorEnd): simplify
4498         (setCursor): adjust
4499         (getColumnNearX): adjust
4500
4501         * text.C (computeBidiTables): adjust
4502         (fill): adjust
4503
4504         * rowpainter.C (paintChars): adjust
4505         (paintSelection): adjust
4506         (paintChangeBar): adjust
4507         (paintText): adjust
4508
4509         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4510         lastPos instead.
4511         (numberOfSeparators): adjust
4512
4513 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4514
4515         * LyXAction.C:
4516         * box.[Ch]:
4517         * lfuns.h:
4518         * lyxfunc.C:
4519         * text3.C: Restricts the mouse click functionality
4520         of insets like bibtex, include, toc and floatlist to the visible
4521         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4522         up the dialogs. Cursor has to be in front of the inset (i.e.
4523         start of row) for this to function.
4524
4525 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4526
4527         * bufferview_funcs.C (currentState): output row information
4528
4529 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4530
4531         * bufferview_funcs.C (currentState): output paragraph position
4532
4533 2003-09-04  Angus Leeming  <leeming@lyx.org>
4534
4535         * FloatList.h: move out #include "Floating.h".
4536         * LaTeX.h: move out #include "DepTable.h".
4537         * LyXAction.h: move out #include "funcrequest.h".
4538         * buffer.h: move out #include "author.h", "iterators.h".
4539         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4540         * lyx_main.h: move out #include "errorlist.h".
4541         * lyxfunc.h: move out #include "FuncStatus.h".
4542         * lyxtext: move out #include "lyxcursor.h".
4543         * paragraph_pimpl.h: move out #include "counters.h".
4544
4545 2003-09-03  Angus Leeming  <leeming@lyx.org>
4546
4547         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4548         preamble_snippets list, enabling us to add snippets to the preamble
4549         only if the snippet was not there already.
4550
4551 2003-09-04  Angus Leeming  <leeming@lyx.org>
4552
4553         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4554
4555 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4556
4557         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4558         update
4559
4560 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * BranchList.C: point fix, earlier forgotten
4563
4564 2003-09-02  Angus Leeming  <leeming@lyx.org>
4565
4566         * box.C (contains): renamed from 'contained' after a fantastic
4567         amount of hot air.
4568
4569 2003-09-02  John Levon  <levon@movementarian.org>
4570
4571         * BufferView.C:
4572         * lyxcursor.h:
4573         * lyxcursor.C:
4574         * lyxfunc.C:
4575         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4576
4577 2003-09-02  John Levon  <levon@movementarian.org>
4578
4579         * text2.C: simplification of cursorEnd(), including partial
4580         fix for bug 1376
4581
4582 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4583
4584         * buffer.C (readFile): add a space
4585
4586 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4587
4588         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4589
4590 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * buffer.C (readFile): new function, take a filename and a
4593         ParagraphList::iterator
4594         (readFile): adjust
4595         (readFile): adjust, make it private. don't use setStream, make
4596         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4597         always contain the filename.
4598
4599         * BufferView.C (insertLyXFile): simplify and make it work for
4600         gzipped files.
4601
4602 2003-08-30  John Levon  <levon@movementarian.org>
4603
4604         * Makefile.am: fix dist (from Kayvan)
4605
4606 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * most files: change to use const Buffer refs
4609
4610 2003-08-27  André Pönitz  <poenitz@gmx.net>
4611
4612         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4613         on top of ownerPar().
4614
4615 2003-08-27  John Levon  <levon@movementarian.org>
4616
4617         * funcrequest.C: properly initialise POD members
4618
4619 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * lyxtext.h (top_y): move top_y from here
4622         * text.C:
4623         * text2.C:
4624         * text3.C:
4625         * BufferView.[Ch]:
4626         * BufferView_pimpl.[Ch]: to here
4627         * frontends/screen.C:
4628         * insets/insettabular.C:
4629         * insets/insettext.C: adjust
4630         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4631
4632 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4633
4634         * BufferView.[Ch]:
4635         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4636
4637 2003-08-26  André Pönitz  <poenitz@gmx.net>
4638
4639         * paragraph_func.[Ch] (outerPar): new function
4640
4641         * paragraph.C:
4642         * paragraph_funcs.C:
4643         * paragraph_funcs.h:
4644         * paragraph_pimpl.C:
4645         * text2.C: remove Inset::par_owner
4646
4647 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4648
4649         * lyxrow_funcs.C:
4650         * lyxtext.h:
4651         * text.C:
4652         * text2.C: eliminates the needFullRow/display() stuff
4653         altogether, putting the logic in metrics/draw in the insets.
4654
4655 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4656
4657         * text2.C (redoParagraphInternal, redoParagraphs):
4658         * text.C (redoParagraph): add a call to updateRowPositions at the
4659         end of each 'metrics-like' call. Remove all others.
4660         (getRow): remove the 'y-computing' version.
4661         (getRowNearY): do not compute nor return the real y. Solve the
4662         'y < 0' problem and simplify.
4663
4664 2003-08-22  Angus Leeming  <leeming@lyx.org>
4665
4666         * *.[Ch]: clean-up of licence and author blurbs.
4667         Also move config.h out of a few .h files and into a few .C files.
4668
4669 2003-08-22  André Pönitz  <poenitz@gmx.net>
4670
4671         * lyxrow.[Ch]: add x_ and *fill_ members
4672
4673         * lyxtext.h:
4674         * text.C:
4675         * rowpainter.C:
4676         * text2.C: adjust/remove prepareToPrint() calls
4677
4678 2003-08-22  André Pönitz  <poenitz@gmx.net>
4679
4680         * lyxrow.[Ch]: add  end_ member
4681
4682         * lyxrow_funcs.C: use LyXRow::end_
4683
4684         * lyxtext.h (singleWidth): add LyXFont parameter
4685
4686         * rowpainter.C:
4687         * text2.C: adjust LyXText::singleWidth() calls
4688
4689         * text.C (redoParagraph): simplify row breaking logic
4690
4691
4692 2003-08-19  André Pönitz  <poenitz@gmx.net>
4693
4694         * funcrequest.C: initialize button_ member
4695
4696         * text3.C:
4697         * rowpainter.[Ch]: interface consolidation
4698
4699 2003-08-18  André Pönitz  <poenitz@gmx.net>
4700
4701         * BufferView.C:
4702         * BufferView_pimpl.C:
4703         * lyxfind.C:
4704         * paragraph_funcs.C:
4705         * rowpainter.C:
4706         * text3.C: remove LyXScreen::draw() and fitCursor calls
4707
4708         * BranchList.h: remove spurious semicolons
4709
4710         * MenuBackend.C: fix branchlist related crash
4711
4712 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4713
4714         * BranchList.[Ch]:
4715         * InsetList.[Ch]:
4716         * LColor.[Ch]:
4717         * LyXAction.C:
4718         * Makefile.am:
4719         * MenuBackend.[Ch]:
4720         * bufferparams.[Ch]:
4721         * factory.C:
4722         * lfuns.h:
4723         * lyxfunc.C:
4724         * text3.C: implements the 'branch inset'
4725         idea. This allows the output of various versions of a document
4726         from a single source version, selectively outputing or suppressing
4727         output of parts of the text.
4728         This implementation contains a 'branch list editor' in a separate
4729         tab of the document settings dialog. Branches are user definable
4730         and have a "display colour" to distinguish them on-screen.
4731
4732         ColorHandler was somewhat cleaned up.
4733         (1) make possible a dynamically growing LColor list by allowing
4734         the graphic context cache to grow along (vector);
4735         (2) eliminate an IMHO unnecessary step in colour allocation.
4736
4737 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4738
4739         * BufferView_pimpl.C: compile fix
4740
4741 2003-08-15  André Pönitz  <poenitz@gmx.net>
4742
4743         * rowpainter.C: remove extra metrics calls
4744
4745         * lyxtext.h: merge the two constructors into a single one,
4746           pass reference to owner's par list
4747
4748         * BufferView_pimpl.C:
4749         * text.C:
4750         * text2.C: adjust
4751
4752 2003-08-15  André Pönitz  <poenitz@gmx.net>
4753
4754         * lyxrow_funcs.[Ch]:
4755         * lyxtext.h:
4756         * paragraph.h:
4757         * paragraph_funcs.C:
4758         * rowpainter.C:
4759         * text.C:
4760         * text2.C:
4761         * text3.C:
4762         * text_funcs.C: split LyXText::rowlist_ into individual
4763         Paragraph::rows_ chunks
4764
4765         * BufferView.[Ch]:
4766         * BufferView_pimpl.[Ch]:
4767         * lyxfind.C:
4768         * lyxtext.h:
4769         * text3.C: remove toggleSelection()
4770
4771 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4772
4773         * bufferlist.C: beautify two alerts (shorter text of buttons)
4774         * buffer.C: Remove redundant ' ' from message
4775         * tabular.h:
4776         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4777         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4778         rename VALIGN_CENTER to VALIGN_MIDDLE
4779
4780 2003-08-11  André Pönitz  <poenitz@gmx.net>
4781
4782         * lyxtext.h (getPar):
4783         * text.C: new function
4784
4785 2003-08-11  André Pönitz  <poenitz@gmx.net>
4786
4787         * Makefile.am:
4788         * tracer.[Ch]: remove unneeded files
4789
4790         * InsetList.[Ch]: remove resizeInsetsLyXText()
4791
4792         * lyxtext.h:
4793         * text.C:
4794         * text2.C:
4795         * text3.C: merge insertParagraphs() and appendParagraph()
4796         remove breakAgain(), update()
4797
4798         * BufferView_pimpl.[Ch]:
4799         * bufferview_funcs.[Ch]:
4800         * lyxfunc.C:
4801         * paragraph.[Ch]:
4802         * rowpainter.C:
4803         * tabular.C: adjust after text & InsetList changes.
4804
4805 2003-08-08  André Pönitz  <poenitz@gmx.net>
4806
4807         * text.C (insertChar, backspace): replace rowlist fiddling
4808         with rebreak of full par
4809
4810         * lyxtext.h:
4811         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4812         checkParagraph, updateInset): removed
4813
4814 2003-08-07  André Pönitz  <poenitz@gmx.net>
4815
4816         * paragraph.C:
4817         * text3.C: merge some LFUN handlers, remove dead code
4818
4819 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4820
4821         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4822
4823 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4824
4825         * text2.C (DEPM): fix part of bug 1255 and 1256
4826
4827 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4828
4829         * BufferView_pimpl.C (workAreaDispatch): change to use
4830         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4831         that are no mouse related.
4832
4833 2003-08-05  André Pönitz  <poenitz@gmx.net>
4834
4835         * BufferView.[Ch]:
4836         * BufferView_pimpl.[Ch]:
4837         * bufferview_funcs.C:
4838         * text2.C:
4839         * text3.C: rip out "deep update"
4840
4841         * textcursor.[Ch] (last_sel_cursor): remove unused member
4842
4843 2003-08-04  André Pönitz  <poenitz@gmx.net>
4844
4845         * BufferView.[Ch]:
4846         * BufferView_pimpl.[Ch]:
4847         * ParagraphParameters.C:
4848         * bufferview_funcs.C:
4849         * lyx_cb.C:
4850         * lyxfind.C:
4851         * lyxfunc.C:
4852         * text.C:
4853         * text2.C:
4854         * text3.C: replace "complicated" BufferView::update(...) calls with
4855         simpler ones.
4856
4857         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4858
4859 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4860
4861         * Makefile.am (lyx_SOURCES): add paper.h
4862
4863 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4864
4865         * Makefile.am: move things around so that both lyx-qt and
4866         lyx-xforms can be built (according to --with-frontend). Then lyx
4867         is a symbolic link to lyx-[firstfrontend]
4868
4869 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4870
4871         * Always use std::endl with lyxerr
4872
4873 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4874
4875         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4876
4877 2003-08-01  André Pönitz  <poenitz@gmx.net>
4878
4879         * BufferView.[Ch]:
4880         * BufferView_pimpl.[Ch]:
4881         * lyxfunc.C:
4882         * text3.C: merge BufferView::repaint() and BufferView::update()
4883
4884 2003-08-01  José Matos  <jamatos@lyx.org>
4885
4886         * buffer.[Ch]: file_format is no longer a buffer data element.
4887
4888 2003-08-01  André Pönitz  <poenitz@gmx.net>
4889
4890         * BufferView.C:
4891         * lyxtext.h:
4892         * text.C:
4893         * text2.C: make redoParagraph more independent of current cursor
4894
4895         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4896         * text.C:
4897         * text2.C: remove unneeded members
4898
4899 2003-07-30  André Pönitz  <poenitz@gmx.net>
4900
4901         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4902
4903         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4904           create a single function...
4905
4906         * paragraph_funcs.C (moveItem): ... here.
4907
4908         * text.C:
4909           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4910
4911 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4912
4913         * LColor.[Ch]: Add comment and greyedout logical colors.
4914
4915 2003-07-30  André Pönitz  <poenitz@gmx.net>
4916
4917         * tabular.C: don't use Assert too heavily. This crashes where it
4918           shouldn't
4919
4920 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4921
4922         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4923         is disabled (bug 1232)
4924
4925 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4926
4927         * factory.C: limited 'arg' scope
4928
4929 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4930
4931         * factory.C: fixed Note submenu issues
4932
4933 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4934
4935         * factory.C: submenu for Note/Comment/Greyedout
4936
4937 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4938
4939         * lyx_main.C (LyX):
4940         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4941
4942 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4943
4944         * LaTeXFeatures.C:
4945         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4946         greyedout. Patch provided by Jürgen Spitzmüller.
4947
4948 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4949
4950         * kbmap.C (read): fix error message when reading bind files
4951
4952 2003-07-29  Angus Leeming  <leeming@lyx.org>
4953
4954         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4955         certainly does not do what it purports to do. I am doing it, and
4956         us, a favour by killing it.
4957
4958 2003-07-28  José Matos  <jamatos@lyx.org>
4959
4960         * buffer.C (readBody, do_writeFile):
4961         * paragraph.C(readParagraph): \end_document replaces \the_end.
4962
4963 2003-07-29  André Pönitz  <poenitz@gmx.net>
4964
4965         * BufferView.[Ch]:
4966         * BufferView_pimpl.[Ch]:
4967         * lyxfunc.C:
4968         * text2.C:
4969         * text3.C:
4970         * textcursor.[Ch]: remove toggleToggle & Co
4971
4972 2003-07-28  José Matos  <jamatos@fep.up.pt>
4973
4974         * buffer.C (readParagraph):
4975         * params_func (readParToken, readParagraph):
4976         * paragraph.C (write): \layout -> \begin_layout.
4977
4978 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4979
4980         * lyxlex_pimpl.C (setFile): clean up slightly.
4981
4982         * bufferparams.h: add compressed var
4983
4984         * buffer_funcs.C (readFile): adjust for LyXLex change
4985         (newFile): ditto + simplify
4986
4987         * buffer.C (writeFile): handle writing of compressed files
4988
4989         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4990         Check if the file is compressed and set a bufferparm if so.
4991
4992         * Makefile.am (lyx_LDADD): remove explicit -lz
4993
4994 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4995
4996         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4997         makeDocBookFile): put the real LyX version in the first line of
4998         the file
4999
5000         * version.h:
5001         * version.C.in: remove lyx_docversion
5002
5003         * tabular.C (write_attribute): add a template-based version to
5004         write enums properly
5005
5006 2003-07-28  André Pönitz  <poenitz@gmx.net>
5007
5008         * lyxtext.h:
5009         * text.C:
5010         * text2.C:
5011         * text3.C: use doubles again for x-coordinates. They are needed.
5012
5013 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5014
5015         * messages.C (getLocaleDir): use lyx_localedir()
5016
5017         * lyxlex_pimpl.C (setFile): compress stuff
5018
5019         * buffer.C (writeFile): add some compression stuff
5020         (do_writeFile): new func, dont call expliti close... will this
5021         breake anything?
5022
5023         * Makefile.am (lyx_LDADD): add -lz
5024
5025 2003-07-28  José Matos  <jamatos@fep.up.pt>
5026
5027         * buffer.C: increment file format.
5028         * paragraph_funcs (readParagraph, readParToken):
5029         * paragraph.C (readParagraph): add \end_layout.
5030
5031 2003-07-27  Angus Leeming  <leeming@lyx.org>
5032
5033         * Makefile.am: remove special casing for configure-time setting of
5034         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5035
5036         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5037         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5038
5039 2003-07-26  André Pönitz  <poenitz@gmx.net>
5040
5041         * paragraph_func.[Ch]:
5042         * paragraph.C (realizeFont): inline it whereever it is used
5043
5044         * rowpainter.C:
5045         * text.C:
5046         * text2.C:
5047         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5048
5049
5050 2003-07-26  André Pönitz  <poenitz@gmx.net>
5051
5052         *       lyxtext.h:
5053         * text.C:
5054         * text2.C: get rid of LyXText::need_break_row
5055
5056 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5057
5058         * toc.[Ch]: put namespace toc inside namespace lyx
5059
5060         * MenuBackend.C (expandToc2): adjust for lyx::toc
5061         (expandToc): ditto
5062
5063         * lyxfunc.C (dispatch): adjust for lyx::find
5064
5065         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5066         lyx::find instead. Reorganize a bit.
5067         (LyXReplace): rename to replace
5068         (LyXFind): rename to find
5069
5070         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5071         (dispatch): ditto
5072
5073 2003-07-26  André Pönitz  <poenitz@gmx.net>
5074
5075         * text.C (setHeightOfRow): restrict scope of temporary variable
5076
5077         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5078           code (never has been used?)
5079
5080 2003-07-27  Asger Alstrup  <alstrup@local>
5081
5082         * text.C (fill): Optimise algorithm to exploit that we can reuse
5083         the LyXFont for many characters.
5084         (setHeightOfRow): Same thing.
5085         (rowBreakPoint): Same thing.
5086
5087 2003-07-26  Asger Alstrup  <alstrup@local>
5088
5089         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5090
5091         * text.C (singleWidth): Spurious font copying in hot-spot
5092         singleWidth avoided. Reorder tests for arabic for efficiency.
5093
5094         * text.C (fill): handle empty paragraphs better.
5095
5096 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5097
5098         * ispell.C:
5099         * encoding.h: add includes
5100
5101         * lyxrc.C: remove reading of bind files
5102
5103         * lyx_main.C (init): setup bindings and menus only if we have a
5104         gui.
5105
5106         * kbmap.C (read): new method. Do the actual reading of bind
5107         files.
5108
5109         * converter.C (dvipdfm_options):
5110         * bufferparams.C:
5111         * lyxrc.C (read):
5112         (output): adapt PAPER_* enums.
5113
5114         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5115
5116         * bufferparams.h: remove paper-related enums from there
5117
5118         * paper.h: New file. A trivial header file to hold paper-related
5119         enums. It should later expand to contain many paper-related
5120         horrors access.
5121
5122         * lyxrc.C: declare extern displayTranslator
5123
5124 2003-07-27  José Matos  <jamatos@fep.up.pt>
5125
5126         * tabular.[Ch] (linuxdoc): add support for tables and figures
5127         (linuxdoc).
5128
5129 2003-07-27  José Matos  <jamatos@fep.up.pt>
5130
5131         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5132         consistency in both functions.
5133         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5134
5135 2003-07-26  Asger Alstrup  <alstrup@local>
5136
5137         * rowpainter.C (paintRows): Change algorithm to work directly on
5138         the insets rather than asking every character in the document
5139         whether its an inset.
5140
5141 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5142
5143         * buffer.C (openFileWrite): factorize some code
5144
5145 2003-07-26  Angus Leeming  <leeming@lyx.org>
5146
5147         * lyx_cb.C:
5148         * lyx_main.[Ch]: replace occurances of system_tempdir with
5149         os::getTmpDir().
5150
5151 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * rename Inset to InsetOld
5154
5155 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5156
5157         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5158         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5159         which I think is a bit clearer. EDIT is gone, since it was
5160         premature optimisation, and broken for mathed anyway.
5161         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5162         with cursor positioning in insets as well (math insets still do not
5163         work, but that's a different story anyway.) It mysteriously
5164         crashes sometimes with undo in the first paragraph, but I'm fairly
5165         confident that this is a compiler bug.
5166
5167 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * paragraph.C (Paragraph): adjust for new clone return type
5170         (operator==): ditto
5171         (copyIntoMinibuffer): ditto
5172
5173 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5174
5175         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5176         by not having a special case, and always doing a full rebreak of
5177         the document after undo.
5178
5179 2003-07-23  Angus Leeming  <leeming@lyx.org>
5180
5181         * factory.C (createInset): InsetExternal::setParams now takes a
5182         Buffer const * arg.
5183
5184 2003-07-23  Angus Leeming  <leeming@lyx.org>
5185
5186         * factory.C (createInset): changed interface to the external and
5187         graphics mailers' string2params functions.
5188
5189 2003-07-23  Angus Leeming  <leeming@lyx.org>
5190
5191         * factory.C (createInset): pass a
5192         Buffer const * parameter to InsetExternalMailer's string2params.
5193
5194 2003-07-22  John Levon  <levon@movementarian.org>
5195
5196         * Thesaurus.h: include the right aiksaurus header
5197
5198 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5199
5200         * MenuBackend.C (expand): check menu shortcuts unconditionally
5201
5202 2003-07-21  Angus Leeming  <leeming@lyx.org>
5203
5204         * factory.C (createInset): pass a
5205         buffer_path parameter to InsetGraphicsMailer's string2params.
5206
5207 2003-07-21  Angus Leeming  <leeming@lyx.org>
5208
5209         * BufferView_pimpl.C (buffer):
5210         * buffer.C (d-tor):
5211         * lyx_main.C (LyX):
5212         * lyxfunc.C (dispatch):
5213         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5214         rather than the grfx shortcut.
5215
5216 2003-07-21  André Pönitz  <poenitz@gmx.net>
5217
5218         * rowpainter.C: remove unused variables
5219
5220         * tabular_funcs.C:
5221         * tabular_funcs.h: move to tabular.C
5222         * Makefile.am: adjust
5223
5224         * tabular.[Ch]: basic optical cleaning
5225
5226         * author.h: pass references, not values
5227
5228 2003-07-18  André Pönitz  <poenitz@gmx.net>
5229
5230         * lyxtext.h:
5231         * metricsinfo.C:
5232         * metricsinfo.h:
5233         * rowpainter.C:
5234         * text.C:
5235         * text2.C:
5236         * text3.C: two-phase drawing for InsetText and InsetTabular
5237         some float -> int changes.
5238
5239 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5240
5241         * lyx_main.C: fix the fix
5242
5243 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * lyx_main.C: fix a crash in batch mode if no files specified
5246         * converter.C: ws
5247
5248 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * format.[Ch] (papersize): moved to BufferParams
5251         * converter.[Ch] (dvips_options): moved to BufferParams
5252         (dvipdfm_options): moved to anon namespace
5253         * bufferparams.[Ch]: added above functions.
5254
5255 2003-07-17  André Pönitz  <poenitz@gmx.net>
5256
5257         * lyxtext.h:
5258         * rowpainter.C:
5259         * text2.C: don't call inset->update() anymore
5260
5261         * metricsinfo.[Ch]: add convenience constructor
5262
5263 2003-07-16  André Pönitz  <poenitz@gmx.net>
5264
5265         * lyxcursor.[Ch]:
5266         * lyxfunc.[Ch]:
5267         * text.C:
5268         * text2.C: replace the LyXCursor::irow_ member with
5269          on-demand computation of the value
5270
5271 2003-07-16  John Levon  <levon@movementarian.org>
5272
5273         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5274
5275 2003-07-15  André Pönitz  <poenitz@gmx.net>
5276
5277         * text.C:
5278         * text2.C: remove no more needed refresh_row
5279
5280 2003-07-15  André Pönitz  <poenitz@gmx.net>
5281
5282         * lyxtext.h:
5283         * rowpainter.C:
5284         * text2.C:
5285         * text3.C: refresh_status tristate -> need_update bool
5286
5287 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * lyxtext.h (init): remove reinit argument (act as if always true)
5290         * text2.C: adjust to that
5291
5292 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5293
5294         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5295         * text3.C: use it to delete selections in some cases
5296         (bugs 441, 673, 702, 954).
5297
5298 2003-07-14  André Pönitz  <poenitz@gmx.net>
5299
5300         * rowpainter.[Ch]: reduce interface
5301
5302 2003-07-14  André Pönitz  <poenitz@gmx.net>
5303
5304         * BufferView_pimpl.C:
5305         * text2.C: adjust after removing unused BufferView * argument
5306
5307 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5308
5309         * text2.C (init): fix a crash fired on resize
5310
5311 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5312
5313         * buffer.[Ch]: added new closing signal
5314         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5315         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5316         BufferView::Pimpl via the closing the signal
5317
5318 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5319
5320         * buffer.[Ch]: take out all bv-related from buffer
5321         * BufferView.C:
5322         * BufferView_pimpl.[Ch]: connect to new signals
5323         * CutAndPaste.C: removed useless asserts
5324         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5325         * lyxvc.[Ch]:
5326         * vc-backend.[Ch]:
5327         * lyxfunc.C: moved view-related funciontality from vc here
5328         * paragraph.C: removed outdated comments
5329         * text.C: ws
5330
5331 2003-07-10  André Pönitz  <poenitz@gmx.net>
5332
5333         * BufferView_pimpl.C:
5334         * tabular.h:
5335         * tabular_funcs.C:
5336         * text.C:
5337         * text2.C: remove InsetText::InnerCache, clean up consequences
5338
5339 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5340
5341         * ispell.C: fix two typos in error messages
5342
5343 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5344
5345         * Extend Note inset to other forms of annotation like Comment
5346         and Greyedout. Right button click gives dialog.
5347
5348         Files modified or added (+):
5349
5350         * insetnote.[Ch]
5351         * FormNote.[Ch]      +
5352         * ControlNote.[Ch]   +
5353         * form_note.fd       +
5354         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5355         frontends/controllers
5356         * xforms/Dialogs.C
5357         * factory.C
5358
5359 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5360
5361         * aspell.C: add missing namespace lyx::support
5362
5363 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5364
5365         * BufferView.[Ch] (newFile): Add
5366         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5367         * LaTeX.[Ch] (message): added this signal and use it
5368         * buffer.[Ch] (busy, message): added these signals and use them
5369         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5370         * converter.C:
5371         * exporter.C:
5372         * format.C:
5373         * importer.C: use buffer signals instead of direct bv calling
5374         * lyx_cb.[Ch] (ShowMessage): removed
5375         * lyx_main.C:
5376         * lyxfunc.C:
5377         * paragraph_funcs.C:
5378         * text2.C: use buffer signals
5379
5380 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * introduce namespace lyx::graphics
5383
5384 2003-07-02  André Pönitz  <poenitz@gmx.net>
5385
5386         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5387
5388 2003-07-01  André Pönitz  <poenitz@gmx.net>
5389
5390         * text.C:
5391         * text2.C:
5392         * text3.C:
5393         * text_funcs.[Ch]:
5394         * textcursor.h:
5395         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5396           text*.C to text_func.C
5397
5398 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5399
5400         * introduce namespace lyx::support
5401
5402 2003-06-30  André Pönitz  <poenitz@gmx.net>
5403
5404         * Chktex.C:
5405         * funcrequest.C:
5406         * lyxtext.h:
5407         * text.C: re-enable --with-included-string
5408
5409 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * textcursor.C: add <config.h>
5412
5413         * text.C (getWord): remove const from word_location arg
5414
5415         * lyxvc.C (getLogFile): fix const type order
5416
5417         * lyxtext.h: remove const from word_location arg, add arg name
5418
5419         * lyxlayout.h: currect type on labeltype.
5420
5421         * importer.C: correct \file
5422
5423         * converter.C (intToFormat): use std:: on ret val, ws changes
5424
5425         * bufferlist.h: correct \file
5426
5427         * buffer.C (makeLinuxDocFile): fix const type order
5428         (makeDocBookFile): ditto
5429         (fillWithBibKeys): use std:: on stdlib args.
5430
5431         * CutAndPaste.C: fix authors.
5432         (availableSelections): use std:: on return vector
5433
5434 2003-06-27  André Pönitz  <poenitz@gmx.net>
5435
5436         * BufferView_pimpl.C:
5437         * bufferview_funcs.C:
5438         * lyxcursor.C:
5439         * lyxcursor.h:
5440         * lyxfunc.C:
5441         * lyxtext.h:
5442         * rowpainter.C:
5443         * text.C:
5444         * text2.C:
5445         * text3.C: remove LyXCursor::row_ member
5446
5447         * lyxtext.h:
5448         * text.C: rename fullRebreak() to partialRebreak() and implement
5449           a fullRebreak() that really bereks fully
5450
5451         * textcursor.h: new struct for cursor-related data
5452
5453 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5454
5455         * lyx_main.C (LyX): get full path of document loaded on the
5456         command line
5457
5458 2003-06-26  André Pönitz  <poenitz@gmx.net>
5459
5460         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5461           remove unused/broken operator>,<,>=.
5462
5463         *       text.C: remove only use of broken operator<= in an Assert().
5464
5465 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5466
5467         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5468         moved errorlist_.clear to showErrorList
5469
5470 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5471
5472         * converter.C (scanLog, runLaTeX):
5473         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5474         move the bv->showErrorList call to the callers
5475         * lyxfunc.C: i.e. here...
5476         * text2.C: and here
5477         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5478         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5479         namespace, the second to...
5480         * buffer_funcs (BufferFormat, parseErrors): added
5481         * errorlist.C (ErrorList(TeXErrors const &)): removed
5482
5483 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5484
5485         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5486
5487 2003-06-24  "Garst R. Reese" <reese@isn.net>
5488
5489         * debug.C: fix typo
5490
5491 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5492
5493         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5494
5495         * version.C.in: change docversion to 1.4
5496
5497 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5498
5499         * buffer.C: fix a bug just introduced
5500
5501 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5502
5503         * buffer.[Ch]: added the parseError signal and use it, removed
5504         sgmlError
5505         * BufferView.[Ch] (addError): moved to ...
5506         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5507         to the Buffer::parseError signal to catch (guess what) parse errors
5508         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5509
5510 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5511
5512         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5513         ability to create a buffer and to return an existing one from
5514         the list. Moved these functions to...
5515         * buffer_funcs.[Ch]: added
5516         * BufferView.[Ch] (loadLyXFile): added
5517         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5518         job removed from bufferlist::loadLyXFile.
5519         * buffer.C (setReadOnly): make it work without view
5520         (i.e added an if (users))
5521
5522 2003-06-19  Angus Leeming  <leeming@lyx.org>
5523
5524         * lfuns.h:
5525         * LyXAction.C (init):
5526         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5527         with LFUN_DIALOG_SHOW <name> <data>.
5528
5529 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5530
5531         * CutAndPaste.C (availableSelections): small compilation fix for
5532         ancient (gcc 2.9x) compilers
5533
5534 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5535
5536         * text3.C (cursorNext): add tmp var
5537
5538         * text2.C (updateCounters): for function calling out of for clause
5539         (replaceSelectionWithString): ditto
5540         (insertStringAsParagraphs): ditto
5541         (getColumnNearX): add tmp var
5542         (setCursorFromCoordinates): add tmp var
5543         (cursorDownParagraph): add tmp var
5544         (deleteEmptyParagraphMechanism): add tmp var
5545
5546         * text.C (insertChar): add tmp var
5547
5548         * rowpainter.C (paintDepthBar): add tmp var
5549
5550         * CutAndPaste.C (availableSelections): potentially check all
5551         paragraphs in a cut to fill the shown strings.
5552
5553 2003-06-18  André Pönitz  <poenitz@gmx.net>
5554
5555         * kbmap.[Ch]: use vector<> instead of list<>
5556
5557 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5558
5559         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5560         pasteSelection with index
5561
5562         * text2.C (pasteSelection): modify, call pasteSelection with index
5563
5564         * paragraph.C (asString): reimplement version with no interval to
5565         call the one with interval.
5566
5567         * lyxtext.h: add index arg to pasteSelection
5568
5569         * MenuBackend.C (MenuItem): handle PasteRecent
5570         (Menu::read::Menutags): add md_pasterecent
5571         (read): handle it
5572         (expandPasteRecent): new function
5573         (expand): use it
5574
5575         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5576
5577         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5578         the limited stack
5579         (availableSelections): new function
5580
5581 2003-06-17  Angus Leeming  <leeming@lyx.org>
5582
5583         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5584
5585 2003-06-17  Angus Leeming  <leeming@lyx.org>
5586
5587         * lfuns.h:
5588         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5589
5590         * lyxfunc.C (dispatch): invoke it.
5591
5592 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5593
5594         * iterators.C (operator++, ParPosition): reintroduce some
5595         const_cast for the benefit of older compilers.
5596
5597 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5598
5599         * text3.C (dispatch): do not modify clipboard when doing
5600         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5601         LFUN_DELETE_SKIP on a selection selection
5602
5603 2003-06-16  André Pönitz  <poenitz@gmx.net>
5604
5605         * BufferView.C:
5606         * buffer.C:
5607         * buffer.h:
5608         * paragraph.C:
5609         * tabular.[Ch]: IU of clone() and getLabelList();
5610
5611 2003-06-13  André Pönitz  <poenitz@gmx.net>
5612
5613         * tabular.h: compactification
5614
5615 2003-06-12  André Pönitz  <poenitz@gmx.net>
5616
5617         * tabular.C:
5618         * tabular.h:
5619         * tabular_funcs.h: some renaming plus whitespace
5620
5621 2003-06-12  André Pönitz  <poenitz@gmx.net>
5622
5623         * BufferView.C:
5624         * BufferView_pimpl.C:
5625         * CutAndPaste.C:
5626         * buffer.C:
5627         * iterators.[Ch]:
5628         * lyxfunc.C:
5629         * text.C:
5630         * toc.C: Return a Paragraph & for ParIterator::operator*()
5631
5632 2003-06-11  John Levon  <levon@movementarian.org>
5633
5634         * lyx_main.C:
5635         * ToolbarBackend.h:
5636         * ToolbarBackend.C: add "Toolbars" section and
5637         put the flags there
5638
5639 2003-06-10  Angus Leeming  <leeming@lyx.org>
5640
5641         * lfuns.h:
5642         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5643
5644         * lyxfunc.C (dispatch): invoke it.
5645
5646 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * main.C: protect <ios> with HAVE_IOS
5649         (main): protect sync_with_stdio with HAVE_IOS
5650
5651 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5652
5653         * text2.C (cutSelection): adjust
5654         (pasteSelection): adjust
5655
5656         * messages.C: handle get of empty string
5657
5658         * main.C (main): use sync_with_stdio(false)
5659
5660         * lyxfunc.C (dispatch): adjust
5661
5662         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5663         (WriteAs): remove unneeded BufferView arg.
5664
5665         * bufferparams.h: use correct types on papersize, papersize2 and
5666         paperpackage.
5667
5668         * bufferparams.C (readToken): adjust for type
5669         (writeLaTeX): add missing cases to switch.
5670
5671         * bufferlist.C (quitWriteBuffer): adjust
5672         (close): adjust
5673
5674         * buffer.C (asciiParagraph): remove some commented code.
5675
5676         * CutAndPaste.C: remove current_view extern variable.
5677         (cutSelection): add BufferParams arg.
5678         (eraseSelection): add BufferParams arg.
5679         (pasteSelection): add Buffer const & arg
5680
5681 2003-06-07  John Levon  <levon@movementarian.org>
5682
5683         * buffer.C:
5684         * paragraph_funcs.C:
5685         * paragraph_pimpl.C:
5686         * text.C:
5687         * text2.C:
5688         * paragraph.h:
5689         * paragraph.C: allow InsetERT to freely space lines,
5690         and some consolidation of code
5691
5692 2003-06-06  José Matos  <jamatos@fep.up.pt>
5693
5694         * buffer.C (makeDocBookFile): fix bug #821
5695
5696 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5699
5700 2003-06-04  Angus Leeming  <leeming@lyx.org>
5701
5702         * buffer.C: bump format to 224.
5703
5704 2003-06-05  André Pönitz  <poenitz@gmx.net>
5705
5706         * text2.C (redoParagraphs): remove two const_cast<>
5707
5708 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5709
5710         * ParagraphList.h: remove last remnants of NO_STD_LIST
5711
5712 2003-06-03  Angus Leeming  <leeming@lyx.org>
5713
5714         * factory.C (createInset): small change to the way InsetExternal's params
5715         are set.
5716
5717 2003-06-04  André Pönitz  <poenitz@gmx.net>
5718
5719         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5720
5721         * paragraph_pimpl.h:
5722         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5723
5724         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5725
5726         * undo_funcs.C: make some simple cases of undo work again
5727
5728 2003-06-03  John Levon  <levon@movementarian.org>
5729
5730         * ispell.C: HPUX doesn't have sys/select.h
5731         (from Albert Chin)
5732
5733 2003-06-03  John Levon  <levon@movementarian.org>
5734
5735         * CutAndPaste.C: update tabular and include inset
5736         buffer references
5737
5738         * buffer.h:
5739         * paragraph.h:
5740         * paragraph.C: remove owningBuffer(), don't pass Buffer
5741         to clone()
5742
5743         * factory.C: insetGraphicsParams changed
5744
5745 2003-06-02  John Levon  <levon@movementarian.org>
5746
5747         * LyXAction.C:
5748         * factory.C:
5749         * lfuns.h:
5750         * lyxfunc.C:
5751         * text3.C: remove insetparent
5752
5753 2003-06-02  John Levon  <levon@movementarian.org>
5754
5755         * buffer.h:
5756         * buffer.C: fix inset_iterator.end(), move out of line
5757         (bug 1149)
5758
5759 2003-06-01  John Levon  <levon@movementarian.org>
5760
5761         * text3.C: use a proper cut/paste when doing inset
5762         insert (from Jürgen Spitzmüller)
5763
5764 2003-06-01  John Levon  <levon@movementarian.org>
5765
5766         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5767
5768 2003-05-30  André Pönitz  <poenitz@gmx.net>
5769
5770         * rowpainter.C: unify second drawing phase
5771
5772 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5773
5774         * trans_mgr.C: remove one case of current_view
5775
5776         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5777
5778         * paragraph_funcs.h: remove paragraph.h include
5779
5780         * paragraph.h: delete NO_STD_LIST stuff
5781
5782         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5783
5784         * buffer.h: remove paragraph.h include
5785
5786         * ParagraphList.C: delete file
5787
5788         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5789
5790         * toc.C (getTocList): adjust
5791
5792         * paragraph_pimpl.C (validate): adjust
5793
5794         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5795
5796         * paragraph.C (Paragraph): adjust
5797         (getPositionOfInset): use const_iterator, adjust
5798         (bibitem): use const_iterator, adjust
5799         (setInsetOwner): adjust
5800
5801         * iterators.C (operator++): adjust
5802
5803         * InsetList.[Ch]: Replace selfmade iterator with standard
5804         vector::iterator also introduce const_iterator. Remove getPos,
5805         getInset and setInset from InsetTable. Adjust accordingly.
5806
5807         * BufferView.C (lockInset): adjust
5808         (ChangeInsets): adjust
5809
5810         * tabular.[Ch]: delete commented same_id functions
5811
5812 2003-05-28  John Levon  <levon@movementarian.org>
5813
5814         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5815
5816 2003-05-28  André Pönitz  <poenitz@gmx.net>
5817
5818         * metricsinfo.[Ch]: remove 'fullredraw' member
5819
5820 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5821
5822         * lyxtextclass.C (operator): remove caching.
5823
5824 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * text3.C: adjust
5827
5828         * text2.C (cursorBottom): adjust
5829         (setCounter): use ParagraphList::find, adjust
5830
5831         * text.C (workWidth): use ParagraphList::find, adjust
5832
5833         * lyxcursor.C (LyXCursor): adjust
5834
5835         * buffer.C (inset_iterator): adjust
5836
5837         * ParagraphList.h: make iterator(value_type) private, make
5838         ParagraphList a friend of iterator.
5839
5840         * ParagraphList.C (find): new function
5841
5842         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5843
5844 2003-05-27  André Pönitz  <poenitz@gmx.net>
5845
5846         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5847
5848 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5849
5850         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5851
5852 2003-05-26  John Levon  <levon@movementarian.org>
5853
5854         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5855
5856 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5857
5858         * remove same_id from function signatures, adjust.
5859
5860 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5863
5864         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5865
5866         * paragraph.C (Paragraph): get rid of same_ids parameter
5867
5868         * ParagraphList.C (insert): adjust
5869         (push_back): adjust
5870
5871 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5872
5873         * paragraph_funcs.C (breakParagraph): adjust
5874         (breakParagraphConservative): adjust
5875
5876         * buffer.C (readParagraph): adjust
5877
5878         * ParagraphList.C (insert): take a reference instead of a pointer
5879         (insert): adjust
5880
5881         * paragraph.[Ch] (id): new function
5882
5883         * bufferlist.C (newFile): adjust
5884
5885         * ParagraphList.C (ParagraphList): adjust
5886         (assign): adjust
5887         (push_back): take a reference instead of a pointer.
5888
5889         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5890
5891         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5892         instead.
5893
5894         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5895         set else use old code.
5896
5897         * ParagraphList.C: remove all NO_NEXT code and only compile this
5898         code of NO_STD_LIST is set.
5899
5900 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5901
5902         * BufferView_pimpl.C:
5903         * TextCache.C:
5904         * TextCache.h:
5905         * bufferlist.C:
5906         * errorlist.h:
5907         * format.C:
5908         * format.h:
5909         * graph.C:
5910         * lyxfunc.C:
5911         * lyxrc.C:
5912         * graphics/GraphicsConverter.C:
5913         * graphics/PreviewLoader.C: header adjustment
5914
5915 2003-05-23  Angus Leeming  <leeming@lyx.org>
5916
5917         * LaTeXFeatures.[Ch] (useBabel): new method.
5918         * bufferparams.C (writeLaTeX): use it.
5919
5920 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * ParagraphList.h (set): remove unused function.
5923
5924 2003-05-23  André Pönitz  <poenitz@gmx.net>
5925
5926         * BufferView.C:
5927         * BufferView_pimpl.C:
5928         * buffer.C:
5929         * buffer.h:
5930         * lyxfunc.C:
5931         * undo_funcs.C: setUndo reworked
5932
5933         * iterators.[Ch]: add access to topmost ParagraphList
5934
5935         * lyxtext.[Ch] (workWidth): add a const
5936
5937 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5938
5939         * texrow.[Ch] (increasePos): remove function
5940         * exporter.C (export): removed unused var and outdated comment
5941
5942 2003-05-23  Angus Leeming  <leeming@lyx.org>
5943
5944         * latexrunparams.h: rename fragile as moving_arg.
5945         * paragraph.C (simpleTeXOnePar): ditto.
5946         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5947
5948 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5951         (createUndo): ditto
5952         (textUndoOrRedo): comment out a currently unused var.
5953
5954         * paragraph.h (NO_NEXT): enable NO_NEXT
5955
5956         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5957
5958         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5959
5960         * exporter.C (Export): adjust for removeAutoInsets removal.
5961
5962         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5963
5964         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5965
5966         * BufferView.[Ch] (removeAutoInsets): delete function
5967
5968 2003-05-22  Angus Leeming  <leeming@lyx.org>
5969
5970         * latexrunparams.h: add a free_spacing variable.
5971
5972         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5973         to pass moving_arg, as the data is stored in runparams.fragile.
5974
5975         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5976         to Inset::latexOptional or to simpleTeXOnePar.
5977
5978         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5979         free_spacing arg to Inset::latexOptional.
5980
5981         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5982         free_spacing arg.
5983
5984 2003-05-22  Angus Leeming  <leeming@lyx.org>
5985
5986         * latexrunparams.h: add fragile and use_babel variables.
5987
5988         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5989         * buffer.C (makeLaTeXFile): store this returned value in
5990         runparams.use_babel, thus passing it to the inset::latex methods.
5991
5992         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5993         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5994
5995         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5996         longer has a fragile arg, as it is stored in runparams.fragile.
5997
5998         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5999         moving_arg parameter as the data is stored in runparams.fragile.
6000
6001         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6002         a fragile parameter as the data is stored in runparams.fragile.
6003
6004 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6007
6008 2003-05-22  Angus Leeming  <leeming@lyx.org>
6009
6010         * latexrunparams.h: add a 'bool nice' which defaults to false.
6011
6012         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6013         now encapsulated within runparams.
6014
6015         * bufferlist.C (updateIncludedTeXfiles):
6016         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6017
6018 2003-05-22  Angus Leeming  <leeming@lyx.org>
6019
6020         * latexrunparams.h: new file containing struct LatexRunParams.
6021         * Makefile.am: add new file.
6022
6023         * LaTeX.[Ch] (c-tor, run):
6024         * buffer.[Ch] (makeLaTeXFile):
6025         * bufferlist.[Ch] (updateIncludedTeXfiles):
6026         * converter.C (convert, scanLog):
6027         * converter.[Ch] (runLaTeX):
6028         * exporter.C (Export):
6029         * paragraph.[Ch] (simpleTeXOnePar):
6030         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6031         * paragraph_funcs.[Ch] (latexParagraphs):
6032         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6033         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6034         pass around a LatexRunParams parameter.
6035
6036 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * paragraph.[Ch]: remove unused constructor
6039
6040         * ParagraphList.C (erase): new function, taking two iterators
6041
6042 2003-05-22  André Pönitz  <poenitz@gmx.net>
6043
6044         * undo_funcs.C: remove duplicated code
6045
6046         * iterator.[Ch]: operator=
6047
6048 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * tabular.C (SetMultiColumn): ws changes
6051
6052         * rowpainter.C (paintFirst): get rid of a ->previous
6053
6054         * lyx_cb.C (getPossibleLabel): parlist simplification
6055
6056         * BufferView.C (ChangeInsets): simplify slightly.
6057
6058 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6059
6060         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6061         * lfuns.h: new LFUN_SPACE
6062         * lyxfunc.C: protected space has a new lfun
6063         * paragraph_funcs.C: read new space insets
6064         * text3.C:
6065         * factory.C: handle new space insets
6066
6067 2003-05-22  André Pönitz  <poenitz@gmx.net>
6068
6069         * BufferView.C:
6070         * BufferView_pimpl.C:
6071         * buffer.[Ch]:
6072         * lyxfunc.C:
6073         * undo_funcs.C: return a ParIterator from getParFromID.
6074
6075         * iterators.[Ch]: add two const's
6076
6077 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6078
6079         * toc.C (getTocList): adjust
6080
6081         * iterators.[Ch]: rework for parlist
6082
6083         * buffer.C (par_iterator_begin): adjust
6084         (par_iterator_end): adjust
6085
6086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6087
6088         * BufferView.C (removeAutoInsets): adjust
6089         (ChangeInsets): adjust
6090
6091 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6092
6093         * text.C (top_y): fix bug 1110
6094
6095 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6096
6097         * errorlist.[Ch]: added
6098         * buffer.C:
6099         * BufferView.[Ch]:
6100         * BufferView_pimpl.C:
6101         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6102         instead
6103
6104 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6105
6106         * Makefile.am: ensure that lyx is relinked upon changes to the
6107         various "convenience" libs.
6108
6109 2003-05-20  Angus Leeming  <leeming@lyx.org>
6110
6111         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6112         files are compiled in alphabetical order again.
6113
6114         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6115
6116 2003-05-19  Angus Leeming  <leeming@lyx.org>
6117
6118         * gettext.[Ch]: remove "char const * _(char const *)".
6119
6120 2003-05-19  André Pönitz  <poenitz@gmx.net>
6121
6122         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6123
6124         * Makefile.am:
6125         * BufferView.C:
6126         * DepTable.h:
6127         * LaTeXFeatures.C:
6128         * buffer.C:
6129         * lyxfont.C:
6130         * lyxlex.h:
6131         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6132
6133 2003-05-19  André Pönitz  <poenitz@gmx.net>
6134
6135         * buffer.C:
6136         * lyxlayout.[Ch]:
6137         * lyxtextclass.[Ch]:
6138         * paragraph.C:
6139         * paragraph_funcs.[Ch]:
6140         * text2.C:
6141         * text3.C: more insetenv work
6142
6143 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6144
6145         * ParagraphParameters.C (params2string): small bug fixed
6146
6147 2003-05-16  André Pönitz  <poenitz@gmx.net>
6148
6149         * debug.C:
6150         * bufferview_funcs.C: patch from Kornel Benko to prevent
6151           crash when _(...) is called twice in a statement
6152
6153 2003-05-16  André Pönitz  <poenitz@gmx.net>
6154
6155         * BufferView.C:
6156         * lyxfunc.C:
6157         * text.C:
6158         * text2.C:
6159         * text3.C:
6160         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6161
6162 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6163
6164         * lyx_main.C (init): remove spurious static_cast
6165
6166 2003-05-14  André Pönitz  <poenitz@gmx.net>
6167
6168         * BufferView.C: fix format string
6169
6170 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * BufferView.[Ch] (insertErrors): removed
6173         * BufferView.[Ch] (showErrorList): added
6174         * buffer.C (runChkTeX):
6175         * converter.C (scanLog): call showErrorList instead of inserterrors
6176
6177 2003-05-13  André Pönitz  <poenitz@gmx.net>
6178
6179         * BufferView_pimpl.C:
6180         * buffer.C:
6181         * bufferview_func.C:
6182         * MenuBackend.C:
6183         * lyxfunc.C:
6184         * lyxrc.C:
6185         * tex-accent.C:
6186         * text3.C:
6187         * toc.C:
6188         * tabular_funcs.h: tostr() from its own header
6189
6190         * ParagraphParameters.C:
6191         * ToolbarBackend.C:
6192         * bufferparams.C:
6193         * format.C:
6194         * lyxlex_pimpl.C:
6195         * text3.C: STRCONV()
6196
6197 2003-05-12  André Pönitz  <poenitz@gmx.net>
6198
6199         * BufferView.C:
6200         * BufferView_pimpl.C:
6201         * CutAndPaste.C:
6202         * LaTeX.C:
6203         * LaTeXFeatures.C:
6204         * ParagraphParameters.C:
6205         * buffer.C:
6206         * bufferlist.C:
6207         * bufferparams.C:
6208         * bufferview_funcs.C:
6209         * converter.C:
6210         * counters.C:
6211         * debug.C:
6212         * exporter.C:
6213         * format.C:
6214         * importer.C:
6215         * lyx_cb.C:
6216         * lyx_main.C:
6217         * lyxfont.C:
6218         * lyxfunc.C:
6219         * lyxvc.C:
6220         * paragraph.C:
6221         * paragraph_funcs.C:
6222         * tabular.C:
6223         * tabular_funcs.C:
6224         * text2.C:
6225         * text3.C:  boost::format -> bformat  all over the place
6226
6227
6228 2003-05-09  André Pönitz  <poenitz@gmx.net>
6229
6230         * LColor.[Ch]: Pimpl the #include <map> away
6231
6232 2003-05-09  John Levon  <levon@movementarian.org>
6233
6234         * bufferlist.C: never remove emergency saves
6235
6236 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237
6238         * Makefile.am: better lib building
6239
6240 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6243         instead.
6244         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6245         (simpleTeXSpecialChars): adjust
6246         (simpleTeXSpecialChars): adjust
6247         * paragraph.C (simpleTeXOnePar): adjust
6248         * buffer.C (makeLaTeXFile): adjust
6249
6250         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6251
6252         * text2.C (changeDepth): parlist cleanup
6253         (getColumnNearX): ditto
6254
6255         * rowpainter.C (getLabelFont): parlist cleanup
6256
6257         * bufferlist.C (newFile): parlist cleanup
6258
6259         * CutAndPaste.C (eraseSelection): parlist cleanup
6260
6261         * BufferView_pimpl.C (trackChanges): parlist cleanup
6262         (dispatch): ditto
6263
6264         * BufferView.C (lockInset): parlist cleanup.
6265         (ChangeInsets): ditto
6266
6267 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * CutAndPaste.h: Update file header.
6270
6271         * CutAndPaste.C: Update file header.
6272         Store the parts cut out of the Document in a limited_stack.
6273         (copySelection): adjust
6274         (pasteSelection): new function, takes the index in the limited stack.
6275         (nrOfParagraphs): adjust
6276         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6277         simplify error inset insertion.
6278         (checkPastePossible): adjust
6279
6280 2003-05-06  John Levon  <levon@movementarian.org>
6281
6282         * text2.C: don't cast wrap inset to float
6283
6284 2003-05-05  André Pönitz  <poenitz@gmx.net>
6285
6286         * iterator.C:
6287         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6288
6289         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6290           few naked Paragraph *.
6291
6292 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6293
6294         * bufferparams.C: Output warning if a document with missing
6295         TeX document class is loaded
6296         * exporter.C: Disable TeX exports if the document class is missing
6297         * lyxtextclass.C:
6298         * lyxtextclass.h:
6299         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6300         isTeXClassAvailable()
6301
6302 2003-05-03  John Levon  <levon@movementarian.org>
6303
6304         * BufferView.h:
6305         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6306         explicit cursor show/hide
6307
6308         * BufferView_pimpl.h:
6309         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6310         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6311
6312         * lyxfunc.C: hide cursor before dispatching.
6313
6314         * lyx_cb.C:
6315         * lyxfind.C:
6316         * text.C:
6317         * text3.C: remove explicit cursor hides
6318
6319 2003-05-02  André Pönitz  <poenitz@gmx.net>
6320
6321         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6322
6323         * undo_funcs.C:
6324         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6325           linked lists
6326
6327         * text2.C: tiny whitespace
6328
6329 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * undo_funcs.C: almost only ws changes.
6332
6333         * ParagraphList.C (splice): just return if pl is empty.
6334
6335 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6336
6337         * ParagraphList.C (splice): new function.
6338
6339         * CutAndPaste.C (pasteSelection): use it
6340
6341 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * CutAndPaste.C (pasteSelection): remove the last next and
6344         previous from this file.
6345
6346 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * CutAndPaste.C (pasteSelection): more clean up, user proper
6349         ParagraphList functions for pasteing.
6350
6351         * ParagraphList.C (insert): new function, three arg insert
6352
6353 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6354
6355         * ParagraphList.C (insert): new function, three arg insert
6356
6357         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6358         not on paragraphs.
6359
6360 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6363
6364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6365
6366         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6367
6368 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6369
6370         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6371         (copySelection): clean up a bit.
6372         (pasteSelection): use make_pair
6373
6374         * ParagraphList.C (ParagraphList): implement copy constructor
6375         (operator=): implement, base on copy constructor.
6376         (assign): new func
6377
6378         * paragraph.C (erase): return a bool
6379
6380         * paragraph_pimpl.C (erasePos): remove function, move contents...
6381         (erase): ... here. Return a bool.
6382         (erase): call erase instead of erasePos.
6383
6384 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6385
6386         * ParagraphList.h: define PitPosPair
6387         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6388         ParagraphList, fix a bug on pasting multiple pars
6389         * text2.C: change interface to C&P
6390
6391 2003-04-30  André Pönitz  <poenitz@gmx.net>
6392
6393         * undo_func.C: revert part of yesterday's patch 2
6394
6395 2003-04-30  John Levon  <levon@movementarian.org>
6396
6397         * LColor.C: s/tabular/table/
6398
6399 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * text3.C (dispatch): do not convert iterator -> pointer
6402         * undo_funcs.C (setCursorParUndo): ditto
6403         * text_funcs.C (transposeChars): ditto
6404
6405         * text2.C (setLayout): ws changes only
6406
6407         * text.C (breakParagraph): do not convert iterator -> pointer
6408         (insertChar): ditto
6409         (acceptChange): ditto
6410         (rejectChange): ditto
6411         (changeCase): ditto
6412         (Delete): ditto
6413         (backspace): ditto
6414
6415         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6416         pointer
6417
6418 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6419
6420         * text3.C (gotoInset): YABG (yet another bad getChar)
6421
6422 2003-04-29  André Pönitz  <poenitz@gmx.net>
6423
6424         * paragraph.h: make operator= private unimplemented as long as
6425           it is unusable
6426
6427         * ParagraphList.C: whitespace
6428
6429         * paragraph.[Ch]:
6430         * paragraph_pimpl.[Ch]:
6431         * paragraph_funcs.C:
6432         * CutAndPaste.C:
6433         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6434
6435         * text2.C:
6436           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6437
6438 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6439
6440         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6441         * paragraph.[Ch] (erase):
6442         * paragraph_pimpl.[Ch] (erase): change return type and value
6443         * text2.C (cutSelection): some rework
6444
6445 2003-04-28  John Levon  <levon@movementarian.org>
6446
6447         * bufferlist.C: changes for unsaved changes dialog
6448
6449 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * bufferlist.C (newFile): set language (messages_) for new
6452         documents also.
6453
6454         * buffer.C (readFile): ws changes only.
6455
6456 2003-04-28  André Pönitz  <poenitz@gmx.net>
6457
6458         * undo_funcs.C:
6459         * lyxfunc.C:
6460         * buffer.[Ch]:
6461         * BufferView_pimpl.C:
6462         * BufferView.C: getParFromID related ParagraphList::iterator changes
6463
6464 2003-04-28  André Pönitz  <poenitz@gmx.net>
6465
6466         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6467           Changes
6468
6469 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * messages.C: remove one more localedir class variable.
6472
6473 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6474
6475         * messages.C (getLocaleDir): singleton generation function
6476         (Pimpl): use it.
6477         (Messages): add a default constructor.
6478
6479         * main.C (main): do not setup localedir here, do not call
6480         gettext_init.
6481
6482         * gettext.C (_): use it.
6483         (gettext_init): delete funciton
6484
6485 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * gettext.C (getLyXMessages): new singleton generating function.
6488
6489         * buffer.C (updateDocLang): adjust
6490
6491         * Makefile.am (messages.o): add target
6492         (main.o): remove target
6493
6494 2003-04-27  John Levon  <levon@movementarian.org>
6495
6496         * bufferlist.C:
6497         * lyx_cb.C:
6498         * lyxfunc.C:
6499         * lyxvc.C: specify cancel button in Alert::prompt
6500
6501 2003-04-26  John Levon  <levon@movementarian.org>
6502
6503         * text3.C:
6504         * lyxfunc.C:
6505         * lfuns.h:
6506         * LyXAction.C: add LFUN_INSET_SETTINGS
6507
6508         * lyxfunc.C: don't enable tabular-feature when there's
6509         just any locking inset
6510
6511 2003-04-26  John Levon  <levon@movementarian.org>
6512
6513         * bufferlist.C: re-add Cancel to buffer close question
6514
6515         * lyxfunc.C: fix import UI a bit
6516
6517 2003-04-25  John Levon  <levon@movementarian.org>
6518
6519         * gettext.C: remove the broken asserts for now
6520
6521 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * messages.C: make case where setlocale cannot comply work better.
6524
6525         * buffer.C (updateDocLang): new function
6526         (changeLanguage): use it
6527         (readFile): use it
6528
6529         * text2.C (setCounter): use B_ a bit.
6530
6531         * lyxlayout.C (Read): be sure to trim the label strings.
6532
6533         * messages.C (Messages): fix typo in comment
6534
6535         * buffer.C (readFile): set message_ after file is loaded.
6536         (makeDocBookFile): remove double return
6537         (changeLanguage): reset message_ upon language change.
6538         (B_): new func, use this to get translated buffer strings.
6539
6540         * main.C: add myself and Jean Marc as authors.
6541
6542 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6543
6544         * messages.[hC]: pimplify Messages, and three different pimpls to be
6545         used in different circumstances.
6546
6547         * gettext.[Ch]: change for use with new message code.
6548
6549 2003-04-24 André Pönitz <poenitz@gmx.net>
6550
6551         * factory.C: support for eqref
6552
6553 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * messages.[Ch]: add missing char
6556
6557         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6558
6559         * messages.[Ch]: New files
6560
6561 2003-04-18  John Levon  <levon@movementarian.org>
6562
6563         * BufferView.h:
6564         * BufferView.C:
6565         * BufferView_pimpl.C:
6566         * lfuns.h:
6567         * LyXAction.C:
6568         * lyxtext.h:
6569         * text2.C: remove layout-copy/paste (bug 778)
6570
6571 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6572
6573         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6574
6575 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6576
6577         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6578         if they succeed. Act accordingly.
6579
6580 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * text2.C (setCharFont): adjust
6583         (setCounter): adjust
6584         (insertStringAsLines): adjust
6585
6586         * text.C (leftMargin): adjust
6587         (setHeightOfRow): adjust
6588
6589         * rowpainter.C (paintFirst): adjust
6590         (paintLast): adjust
6591
6592         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6593         (outerHook): ditto
6594         (isFirstInSequence): ditto
6595         (getEndLabel): ditto
6596         (outerFont): adjust
6597
6598         * paragraph.C (getParLanguage): comment out some hard stuff.
6599
6600         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6601         (sgmlError): ditto
6602         (simpleDocBookOnePar): ditto
6603         (makeDocBookFile): use ParagraphList::iterator
6604
6605         * CutAndPaste.C (pasteSelection): adjust
6606
6607 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * text2.C (getFont): adjust
6610         (getLayoutFont): adjust
6611         (getLabelFont): adjust
6612
6613         * paragraph_funcs.C (TeXOnePar): adjust
6614
6615         * buffer.C (simpleLinuxDocOnePar): adjust
6616         (simpleDocBookOnePar): adjust
6617
6618         * CutAndPaste.C (pasteSelection): adjust
6619
6620         * BufferView.C (getEncoding): adjust
6621
6622         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6623
6624 2003-04-16  John Levon  <levon@movementarian.org>
6625
6626         * lyxfind.C: use parlist stuff for search/changes
6627
6628 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6631
6632         * text2.C (deleteEmptyParagraphMechanism): adjust
6633
6634         * text2.[Ch] (ownerParagraph): delete func (both of them
6635
6636 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6637
6638         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6639
6640 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * ParagraphList.C: prepare for NO_NEXT
6643
6644 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * text2.C (getFont): adjust
6647         (getLayoutFont): adjust
6648         (getLabelFont): adjust
6649
6650         * paragraph.C (getFont): adjust
6651         (getLabelFont): adjust
6652         (getLayoutFont): adjust
6653
6654         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6655
6656 2003-04-15  John Levon  <levon@movementarian.org>
6657
6658         From Angus Leeming
6659
6660         * lyx_main.C: handle Include in .ui files
6661
6662 2003-04-15  John Levon  <levon@movementarian.org>
6663
6664         * MenuBackend.C: make the doc files length shorter
6665
6666         * ToolbarBackend.h:
6667         * ToolbarBackend.C: handle toolbar placement flags,
6668         Minibuffer
6669
6670 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6671
6672         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6673         adjust
6674
6675         * paragraph_funcs.C (TeXOnePar): adjust
6676
6677         * paragraph.C (getLabelFont): add outerfont arg, adjust
6678         (getLayoutFont): ditto
6679         (simpleTeXOnePar): adjust
6680
6681         * paragraph_pimpl.C (realizeFont): delete func
6682
6683 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6684
6685         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6686         row argument, constify cur argument.
6687
6688 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * text2.C (getFont): adjust
6691         (getLayoutFont): adjust
6692         (getLabelFont): adjust
6693
6694         * paragraph_funcs.C (TeXOnePar): adjust
6695         (outerFont): new func...
6696         (realizeFont): ...moved out from here, changed this to facilitate
6697         transition
6698
6699         * paragraph.C (getFont): take outerfont as arg, adjust
6700         (simpleTeXOnePar): add outerfont arg, adjust
6701
6702         * buffer.C (simpleLinuxDocOnePar): adjust
6703         (simpleDocBookOnePar): adjust
6704
6705         * CutAndPaste.C (pasteSelection): adjust
6706
6707         * BufferView.C (getEncoding): adjust
6708
6709 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * text2.C (setCharFont): adjust
6712         (setCounter): adjust
6713
6714         * text.C (leftMargin): adjust
6715         (setHeightOfRow): adjust
6716
6717         * rowpainter.C (paintFirst): adjust
6718         (paintLast): adjust
6719
6720         * paragraph_pimpl.C (realizeFont): adjust
6721
6722         * paragraph.C (isFirstInSequence): move from here...
6723         * paragraph_funcs.C (isFirstInSequence): ...to here
6724
6725         * paragraph.C (outerHook): move from here...
6726         * paragraph_funcs.C (outerHook): ...to here
6727
6728         * paragraph.C (depthHook): move from here...
6729         * paragraph_funcs.C (depthHook): ...to here
6730
6731         * paragraph.C (getEndLabel): move from here...
6732         * paragraph_funcs.C (getEndLabel): ...to here
6733
6734         * text2.C (realizeFont): move from here...
6735         * paragraph_funcs.C (realizeFont): ...to here
6736
6737 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6738
6739         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6740
6741 2003-04-14  Angus Leeming  <leeming@lyx.org>
6742
6743         * LColor.[Ch]: scrap LColor mathcursor.
6744
6745 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6746
6747         * lyxlex.[Ch] (text): delete function
6748         * trans.C (Load): adjust
6749         * paragraph_funcs.C (readParToken): adjust
6750
6751 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6754         vector<char> instead of a char[].
6755
6756         * lyxlex_pimpl.C (getString): adjust
6757         (next): adjust
6758         (lex): use getString
6759         (eatLine): adjust
6760         (nextToken): adjust
6761
6762         * lyxlex.C (text): use pimpl_->getString()
6763         (getBool): ditto
6764         (findToken): ditto
6765
6766 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6767
6768         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6769         (makeFontEntriesLayoutSpecific): temp var for par.size()
6770         (setLayout): temp var for ownerParagraphs().end()
6771         (fullRebreak): temp var for rows().end()
6772         (selectionAsString): temp var for boost::next(startpit), realize
6773         that the while really is a regular for loop.
6774         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6775         setCursor in one place.
6776         (setParagraph): temp vr for ownerParagraphs().end()
6777         (updateCounters): make the while loop a for loop
6778         (cutSelection): temp var for ownerParagraphs().end()
6779         (updateInset): make the do {} while() a regular for loop
6780         (getCursorX): use temp vars
6781         (setCurrentFont): use temp vars
6782         (getColumnNearX): use temp vars
6783
6784 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6785
6786         * text.C (transformChar): use temp var for getChar
6787         (computeBidiTables): use temp var for row->par()
6788         (fill): move temp vars for row->par() and pit->layout() earlier in
6789         the function.
6790         (labelFill): use temp var for row->par()
6791         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6792         asc and desc, realize that pit never changes and that firstpit is
6793         just a duplicate and not needed. Exchange rit->par() with pit in a
6794         lot of places.
6795         (breakAgain): use a temp var for boost::next(rit)
6796         (breakAgainOneRow): ditto
6797         (breakParagraph): use a temp var for rows().begin()
6798         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6799         (cursorRightOneWord): use temp var for cursor.par() and
6800         cursor.pos(), remove usage of tmpcursor.
6801         (cursorLeftOneWord): use temp var for cursor.par() and
6802         cursor.pos() only set cur at end of function.
6803
6804 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * text.C, text2.C: exchange all usage of Paragraph::next with
6807         boost::next(ParagraphList::iterator)
6808
6809         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6810
6811         * text2.C (cursorTop): simplify implementation
6812         (cursorBottom): ditto
6813         (setParagraph): use ParagraphList::iterator
6814         (setCurrentFont): adjust
6815         (getColumnNearX): adjust
6816         (cursorRight): adjust
6817         (cursorLeft): remove usage of Paragraph::previous
6818         (cursorUpParagraph): ditto
6819         (deleteEmptyParagraphMechanism): slight cleanup
6820
6821         * text.C (isBoundary): take a Paragraph const & instead of a
6822         pointer as arg.
6823         (addressBreakPoint): ditto
6824         (leftMargin): remove usage of Paragraph::previous.
6825         (setHeightOfRow): ditto
6826         (cursorLeftOneWord): ditto
6827         (selectNextWordToSpellcheck): ditto
6828         (Delete): ditto
6829         (backspace): ditto
6830         (breakParagraph): remove one usage of Paragraph::next
6831         (redoParagraph): ditto
6832         (acceptChange): ditto
6833         (insertChar): adjust
6834         (rowBreakPoint): adjust
6835
6836         * bufferview_funcs.C (toggleAndShow): adjust
6837
6838 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6839
6840         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6841         methods to access it.
6842         * lyxtext.h:
6843         * text.C: Added updateRowPositions to compute all row positions.
6844         Make top_y and getRowNearY() to use the cached y position
6845
6846 2003-04-11  John Levon  <levon@movementarian.org>
6847
6848         * text.C (rowBreakPoint): reintroduce the labelEnd
6849         checks, code copied from the row fill stuff. Deep voodoo.
6850
6851         * text.C (fill): add a comment and debugging for the
6852         next poor soul.
6853
6854 2003-04-11  John Levon  <levon@movementarian.org>
6855
6856         * text.C: make sure fullrow insets get wrapped to the next line,
6857         even when they're in a manual label
6858
6859 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6860
6861         * text2.C (insertParagraph): make it take ParagraphList::iterator
6862         as arg.
6863         (setLayout): make it return ParagraphList::iterator
6864         (redoParagraphs): ditto
6865         (setCounter): ditto
6866         (checkParagraph): ditto
6867
6868         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6869
6870         * text2.C: adjust several funcs.
6871         (realizeFont): take a ParagraphList::iterator as arg.
6872         (getLayoutFont): ditto
6873         (getLabelFont): ditto
6874         (setCharFont): ditto
6875
6876         * text.C: adjust several funcs.
6877
6878 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6879
6880         * text.C (selectNextWordToSpellcheck): don't accidentally
6881         skip insets
6882
6883 2003-04-10  John Levon  <levon@movementarian.org>
6884
6885         * ToolbarBackend.C (getIcon): special handling for
6886         LFUN_MATH_DELIM
6887
6888 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6889
6890         * text2.C (cursorRight): a getChar assert fixed
6891
6892 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6893
6894         * text2.C (getFont): change to take a ParagraphList::iterator
6895         instead of Paragraph*
6896         Adjust several functions.
6897
6898         * text.C (transformChar): change to take a ParagraphList::iterator
6899         instead of Paragraph*
6900         (singleWidth): ditto
6901         Adjust several functions.
6902
6903         * rowpainter.C: adjust several functions
6904         * rowpainter.h:store a ParagraphList::iterator and not a
6905         Paragraph&.
6906
6907
6908 2003-04-09  John Levon  <levon@movementarian.org>
6909
6910         * lyxfunc.C:
6911         * lfuns.h:
6912         * LyXAction.h:
6913         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6914         and the "help" bits as well
6915
6916 2003-04-09  John Levon  <levon@movementarian.org>
6917
6918         * ToolbarBackend.h:
6919         * ToolbarBackend.C: allow multiple toolbars
6920
6921 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6922
6923         * undo_funcs.C (setCursorParUndo): adjust
6924
6925         * text_funcs.C (transposeChars): adjust
6926
6927         * text3.C (gotoNextInset): adjust
6928         (dispatch): adjust
6929
6930         * text2.C (setLayout): adjust
6931         (changeDepth): adjust
6932         (setFont): adjust
6933         (redoParagraphs): adjust
6934         (selectionAsString): adjust
6935         (setParagraph): adjust
6936         (insertInset): adjust
6937         (cutSelection): adjust
6938         (copySelection): adjust
6939         (pasteSelection): adjust
6940         (insertStringAsLines): adjust
6941         (updateInset): adjust
6942         (setCursor): change to take a ParagraphList::iterator parameter
6943         (setCursorIntern): change to take a ParagraphList::iterator parameter
6944         (setCurrentFont): adjust
6945         (cursorLeft): adjust
6946         (cursorRight): adjust
6947         (deleteEmptyParagraphMechanism): adjust
6948
6949         * text.C (breakParagraph): adjust
6950         (insertChar): adjust
6951         (acceptChange): adjust
6952         (rejectChange): adjust
6953         (selectNextWordToSpellcheck): adjust
6954         (changeCase): adjust
6955         (Delete): adjust
6956         (backspace): adjust
6957
6958         * lyxfind.C (SearchForward): adjust
6959         (SearchBackward): adjust
6960         (nextChange): adjust
6961
6962         * lyxcursor.C (par): adjust
6963
6964         * lyxcursor.h: store a ParagraphList::iterator instead of a
6965         Paragraph*
6966
6967         * lyx_cb.C (getPossibleLabel): adjust
6968
6969         * bufferview_funcs.C (toggleAndShow): adjust
6970
6971         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6972         (dispatch): adjust
6973
6974         * BufferView.C (removeAutoInsets): adjust
6975         (lockedInsetStoreUndo): adjust
6976
6977 2003-04-09  John Levon  <levon@movementarian.org>
6978
6979         * ToolbarBackend.C: try icon without argument
6980         if with argument fails
6981
6982 2003-04-08  John Levon  <levon@movementarian.org>
6983
6984         * ToolbarBackend.h:
6985         * ToolbarBackend.C: add getIcon(), handle tooltip,
6986         and change from "Icon" to "Item".
6987
6988 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6989
6990         * BufferView.C (lockInset): another bad getchar crunched
6991
6992 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6993
6994         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6995         again)
6996
6997 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6998
6999         * lyxfind.C (searchForward, searchBackwards): bug 782
7000
7001 2003-04-07  John Levon  <levon@movementarian.org>
7002
7003         * paragraph.C: remove dead comment
7004
7005         * text.C: remove troublesome depth-fiddling code
7006         in leftMargin() and rightMargin() (bug 1017)
7007
7008         * text.C: fix breaking of rows in nested lists
7009         (bug 1004)
7010
7011         * text2.C (updateCounters): fix up depth values
7012         (bug 1013)
7013
7014 2003-04-07  John Levon  <levon@movementarian.org>
7015
7016         * BufferView_pimpl.C: clear message when doc finishes resizing,
7017         and after a mouse event
7018
7019         * lyxfunc.C: clear message after exiting inset
7020
7021 2003-04-07  John Levon  <levon@movementarian.org>
7022
7023         * bufferview_funcs.C: show math status not outside
7024         status in the statusbar
7025
7026 2003-04-07  John Levon  <levon@movementarian.org>
7027
7028         * lyxfunc.C: note status changed after a depth change
7029
7030 2003-04-04  Angus Leeming  <leeming@lyx.org>
7031
7032         * LaTeX.h: move AuxInfo operator==, != out of line.
7033         Remove LaTeX virtual destructor; nothing derives from it.
7034         Move operator()() out of public area and rename it startscript().
7035         Change protected for private.
7036
7037 2003-04-04  Angus Leeming  <leeming@lyx.org>
7038
7039         * lyxfunc.C:
7040         * text2.C: remove unneeded #includes.
7041
7042 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7043
7044         * text2.C (dEPM): fix the heigth of the next row
7045
7046 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7047
7048         * text.C: squashed an invalid getChar requester + some ws changes
7049
7050 2003-04-03  John Levon  <levon@movementarian.org>
7051
7052         * bufferview_funcs.h:
7053         * bufferview_funcs.C:
7054         * lyxfunc.C:
7055         * lyxtext.h:
7056         * text2.C: make getStatus work for the env depth lfuns
7057
7058 2003-04-03  John Levon  <levon@movementarian.org>
7059
7060         * bufferview_funcs.h:
7061         * bufferview_funcs.C:
7062         * lyxfunc.C:
7063         * lyxtext.h:
7064         * text2.C: parlistize decDepth(), by merging it with incDepth()
7065
7066 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7067
7068         * lyxrow.h: store a ParagraphList::iterator instead of a
7069         Paragraph* and adjust other class functions to suit.
7070
7071         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7072         above.
7073
7074 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7075
7076         * text2.C (setCursor): do not anchor to cursor row for the time being
7077
7078 2003-04-02  John Levon  <levon@movementarian.org>
7079
7080         * LyXAction.C:
7081         * lfuns.h:
7082         * lyx_main.C:
7083         * lyxtext.h:
7084         * text.C:
7085         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7086
7087 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7088
7089         * paragraph.h: make ParagraphList and ParagraphList::iterator
7090         friends of Paragraph.
7091
7092         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7093
7094         * ParagraphList.C: Use the private next_ and previous_ from
7095         Paragraph.
7096
7097 2003-04-01  John Levon  <levon@movementarian.org>
7098
7099         * ToolbarBackend.h:
7100         * ToolbarBackend.C:
7101         * Makefile.am: rename, remove defaults gunk
7102
7103         * MenuBackend.h:
7104         * MenuBackend.C: remove defaults gunk
7105
7106         * Languages.h:
7107         * Languages.C: remove defaults gunk
7108
7109         * lyx_main.h:
7110         * lyx_main.C: error out if files couldn't be found.
7111
7112 2003-04-02  John Levon  <levon@movementarian.org>
7113
7114         * text2.C: make incDepth() use parlist
7115
7116 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * undo_funcs.C (firstUndoParagraph): adjust
7119
7120         * text3.C (gotoInset): adjust
7121         (dispatch): adjust, and rewrite loop.
7122
7123         * text2.C (init): adjust, and rewrite loop.
7124         (redoParagraphs): adjust
7125         (updateInset): adjust, and rewrite loop.
7126         (deleteEmptyParagraphMechanism): adjust
7127
7128         * tabular.C (LyXTabular): adjust
7129         (SetMultiColumn): adjust
7130         (TeXRow): adjust
7131
7132         * lyxtext.[Ch] (ownerParagraph): delete function
7133         (ownerParagraphs): new function returns a ParagraphList.
7134
7135         * BufferView.C (removeAutoInsets): adjust
7136         (insertErrors): adjust
7137         (setCursorFromRow): adjust
7138
7139 2003-04-01  Angus Leeming  <leeming@lyx.org>
7140
7141         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7142         in the frontends.
7143
7144 2003-04-02  John Levon  <levon@movementarian.org>
7145
7146         * lyxtext.h:
7147         * text.C:
7148         * Makefile.am:
7149         * text_funcs.h:
7150         * text_funcs.C: make transposeChars a free function
7151
7152         * lyxrow_funcs.C: remove wrong comment
7153
7154 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * lyxtext.h: adjust
7157         * rowpainter.C: adjust
7158         * text.C: adjust
7159         * text2.C: adjust
7160         * text3.C: adjust
7161
7162         * lyxrow_funcs. [Ch]: new files
7163
7164         * lyxrow.[Ch]: remove next and previous pointers
7165         (next,previous): remove accessor functions
7166         (isParEnd): move to lyxrow_funcs
7167         (lastPos): move to lyxrow_funcs
7168         (nextRowIsAllInset): move to lyxrow_funcs
7169         (lastPrintablePos): move to lyxrow_funcs
7170         (numberOfSeparators): move to lyxrow_funcs
7171         (numberOfHfills): move to lyxrow_funcs
7172         (numberOfLabelHfills): move to lyxrow_funcs
7173         (hfillExpansion): move to lyxrow_funcs
7174
7175         * lyxfunc.C: adjust
7176
7177         * bufferview_funcs.C (toggleAndShow): adjust
7178
7179         * RowList.h: Remove class RowList from file leave just a
7180         std::list<Row>.
7181
7182         * RowList.C: delete file
7183
7184         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7185         and lyxrow_funcs.h
7186
7187 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7188
7189         * text3.C (cursorPrevious): adjust
7190         (cursorNext): adjust
7191         (dispatch): adjust
7192
7193         * text2.C (redoHeightOfParagraph): adjust
7194         (redoDrawingOfParagraph): adjust
7195         (setCursor): adjust
7196
7197         * text.C (breakParagraph): adjust
7198         (insertChar): adjust
7199         (backspace): adjust
7200
7201         * rowpainter.C (RowPainter): adjust
7202         (leftMargin): simplify and adjust
7203         (most rowpainter functions): adjust.
7204
7205         * rowpainter.h: store the row as RowList::iterator not as Row*
7206
7207         * lyxcursor.C (row): taka RowList::iterator as arg
7208         (irow): ditto
7209
7210         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7211         of Row*.
7212
7213 2003-04-01  Angus Leeming  <leeming@lyx.org>
7214
7215         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7216         stuff like bool Bool.
7217
7218 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7219
7220         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7221         rewrite a loop
7222
7223 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7224
7225         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7226         RowList::iterator.
7227
7228         * lyxtext.h (rows): drop one version and leve a const variant that
7229         returns a RowList::iterator.
7230
7231 2003-03-31  Angus Leeming  <leeming@lyx.org>
7232
7233         * text.C (fill): ensure that the signature is the same as that in the
7234         header file.
7235
7236 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * text2.C (redoParagraphs): adjust
7239         (updateCounters): adjust
7240         (checkParagraph): adjust
7241         (getColumnNearX): adjust and reformat a bit.
7242
7243         * text.C (top_y): adjust
7244         (workWidth): adjust
7245         (leftMargin): adjust
7246         (prepareToPrint): adjust
7247         (getRow): adjust
7248         (getRowNearY): adjust
7249
7250         * lyxtext.h: make rowlist_ mutable.
7251
7252         * RowList.h: add const_iterator
7253         * RowList.C: adjust for RowList::const_iterator.
7254
7255         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7256         adjust.
7257
7258 2003-03-31  John Levon  <levon@movementarian.org>
7259
7260         * lyxrc.h:
7261         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7262
7263         * lyx_main.C: set default fonts from using lyx_gui funcs
7264
7265         * exporter.C: pdf_mode moved from lyxrc
7266
7267         * lyx_cb.C:
7268         * lyxfunc.C: changes from above
7269
7270 2003-03-31  John Levon  <levon@movementarian.org>
7271
7272         * lyx_main.C: fix to the last fix
7273
7274 2003-03-31  John Levon  <levon@movementarian.org>
7275
7276         * bufferlist.C: "Load original" -> "Load Original"
7277
7278         * converter.C:
7279         * exporter.C:
7280         * importer.C:
7281         * lyx_main.C:
7282         * format.C: more Alert cleanups
7283
7284 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7285
7286         * text2.C (removeParagraph): make it take a RowList::iterator as
7287         arg, adjust.
7288         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7289         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7290
7291         * text.C (anchor_row): make it take a RowList::iterator as arg,
7292         adjust.
7293         (computeBidiTables): make it take a const reference to Row instead
7294         of Row pointer, adjust.
7295         (leftMargin): make it take a RowList::iterator as arg, adjust.
7296         (rowBreakPoint): adjust
7297         (breakAgainOneRow): make it take a RowList::iterator as arg,
7298         adjust.
7299         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7300
7301         * bufferview_funcs.C (toggleAndShow): adjust
7302
7303 2003-03-30  John Levon  <levon@movementarian.org>
7304
7305         * Makefile.am:
7306         * BoostFormat.h:
7307         * boost-inst.C: moved to support
7308
7309         * several files: changes as a result
7310
7311 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7312
7313         * text2.C (LyXText): adjust.
7314         (init): adjust
7315         (removeRow): make it take a RowList::iterator as arg, adjust.
7316         (fullRebreak): adjust
7317         (deleteEmptyParagraphMechanism): adjust
7318         (clearPaint): adjust
7319         (postPaint): adjust
7320
7321         * text.C (top_y): adjust
7322         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7323         (breakAgain): make it take a RowList::iterator as arg, adjust.
7324         (breakParagraph): adjust
7325         (insertChar): adjust
7326         (backspace): adjust
7327
7328         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7329         need_break_row, and refresh_row.
7330
7331         * text3.C (dispatch): adjust
7332
7333         * text2.C (checkParagraph): adjust
7334         (setCursor): adjust
7335         (setCursorFromCoordinates): adjust
7336
7337         * text.C (top_y): adjust
7338         (workWidth): adjust
7339         (getRow): make it return a RowList::iterator, adjust
7340         (getRowNearY): make it return a RowList::iterator, adjust
7341
7342         * text2.C (init): adjust
7343         (insertRow): remove function
7344         (insertParagraph): adjust
7345         (redoParagraphs): adjust
7346         (fullRebreak): adjust
7347         (updateCounters): adjust
7348
7349         * text.C (top_y): rewrite to use RowList iterators.
7350         (top_y): adjust
7351         (setHeightOfRow): rewrite to sue RowList iterators.
7352         (appendParagraph): adjust
7353         (breakAgain): adjust
7354         (breakAgainOneRow): adjust
7355         (breakParagraph): adjust
7356         (getRow): adjust
7357         (getRowNearY): adjust, and remove commented code.
7358
7359         * lyxtext.h (firstRow): delete function
7360         (lastRow): delete function
7361         (rows): new function (const and non-const versions.)
7362         (insertRow): delete function
7363
7364         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7365
7366 2003-03-29  John Levon  <levon@movementarian.org>
7367
7368         * BufferView_pimpl.C: always update scrollbar top
7369         because pasting text when we're anchored could mean we
7370         miss an update altogether
7371
7372 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * text2.C (init): use rowlist_.end() and not 0.
7375         (insertRow): change to take a RowList::iterator as arg, adjust
7376         for this.
7377         (insertParagraph): change to take a RowList::iterator as arg,
7378         adjust for this.
7379         (redoParagraphs): remove some debug msgs.
7380
7381         * text.C (appendParagraph): change to take a RowList::iterator
7382         arg, adjust for this.
7383         (breakAgain): add an assert
7384         (breakAgainOneRow): ditto
7385
7386 2003-03-29  John Levon  <levon@movementarian.org>
7387
7388         * text2.C: do not clear selection after inc/decDepth
7389         (bug 550)
7390
7391 2003-03-29  John Levon  <levon@movementarian.org>
7392
7393         * BufferView.C:
7394         * buffer.C: fix broken strerrors according to Lars
7395
7396 2003-03-29  John Levon  <levon@movementarian.org>
7397
7398         * converters.C: more Alert cleanups
7399
7400 2003-03-29  John Levon  <levon@movementarian.org>
7401
7402         * bufferview_funcs.C: remove pointless Alert
7403
7404         * buffer.C: fix confusing error message when
7405         a template is chmoded 000
7406
7407 2003-03-29  John Levon  <levon@movementarian.org>
7408
7409         * BufferView.C:
7410         * BufferView.h:
7411         * BufferView_pimpl.C: Alert fixes
7412
7413         * Makefile.am:
7414         * tabular.C:
7415         * tabular-old.C: remove unused table compat reading
7416
7417 2003-03-29  John Levon  <levon@movementarian.org>
7418
7419         * BufferView.C:
7420         * buffer.C:
7421         * lyx_cb.h:
7422         * lyx_cb.C: more Alert cleanups
7423
7424         * lyxfunc.C: don't allow chktex if not latex document
7425
7426 2003-03-29  John Levon  <levon@movementarian.org>
7427
7428         * lyx_cb.C:
7429         * BufferView.C:
7430         * buffer.C: warnings pushed down from support/,
7431         kill err_alert
7432
7433 2003-03-29  John Levon  <levon@movementarian.org>
7434
7435         * lyxfunc.C: safety check for C-r (revert)
7436
7437 2003-03-29  John Levon  <levon@movementarian.org>
7438
7439         * bufferlist.h:
7440         * bufferlist.C: several UI fixes using Alert::prompt.
7441         Fix the pointless looping quit code. Fix stupid revert
7442         behaviour (bug 938)
7443
7444         * lyxvc.h:
7445         * lyxvc.C:
7446         * lyx_cb.C: use Alert::prompt
7447
7448         * lyx_main.C: remove a silly question
7449
7450         * lyxfunc.C: remove a couple of silly questions,
7451         use Alert::prompt
7452
7453 2003-03-28  John Levon  <levon@movementarian.org>
7454
7455         * text2.C: fix bug 974 (End on empty par)
7456
7457 2003-03-28  John Levon  <levon@movementarian.org>
7458
7459         * BufferView_pimpl.C:
7460         * LyXAction.C:
7461         * lfuns.h: remove do-nothing math greek lfuns
7462
7463 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * lyxgluelength.h (isValidGlueLength): add default arg on
7466         parameter 2. Remove default arg from friend in class.
7467
7468         * lyxlength.h (isValidLength): add default arg on parameter 2.
7469         Remove default arg from friend in class.
7470
7471         * text2.C (LyXText): adjust, initialize refresh_row.
7472         (init): adjust
7473         (removeRow): adjust
7474         (insertRow): adjust
7475         (insertParagraph): adjst
7476         (redoParagraphs): adjust
7477         (fullRebreak): adjust
7478         (updateCounters): adjust
7479         (deleteEmptyParagraphMechanism): first attempt at fixing a
7480         crashing bug.
7481
7482         * text.C (top_y): adjust
7483         (setHeightOfRow): adjust
7484         (getRow): adjust
7485         (getRowNearY): adjust
7486
7487         * lyxtext.h: include RowList.h
7488         (~LyXText): not needed anymore, deleted.
7489         (firstRow): modify for RowList
7490         (lastRow): new function
7491         Delete firstrow and lastrow class variables, add a Rowlist
7492         rowlist_ class variable.
7493
7494         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7495         paragraph is empty.
7496
7497         * RowList.C (insert): fix case where it == begin().
7498
7499 2003-03-26  Angus Leeming  <leeming@lyx.org>
7500
7501         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7502         the thesaurus dialog.
7503
7504 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7505
7506         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7507
7508         * RowList.[Ch]: new files
7509
7510         * ParagraphList.C (erase): handle the case where it == begin
7511         correctly.
7512
7513 2003-03-25  John Levon  <levon@movementarian.org>
7514
7515         * Makefile.am:
7516         * aspell_local.h:
7517         * aspell.C: add new aspell support
7518
7519         * lyxrc.h:
7520         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7521         have it accessible.
7522
7523 2003-03-25  Angus Leeming  <leeming@lyx.org>
7524
7525         * lfuns.h:
7526         * LyXAction.C (init): new LFUN_INSET_INSERT.
7527
7528         * BufferView_pimpl.C (dispatch): split out part of the
7529         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7530
7531         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7532         LFUN_INSET_APPLY.
7533
7534 2003-03-25  Angus Leeming  <leeming@lyx.org>
7535
7536         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7537
7538 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7539
7540         * text2.C:
7541         * text3.C: remove useless row->height(0)
7542
7543 2003-03-25  John Levon  <levon@movementarian.org>
7544
7545         * lyxtext.h:
7546         * text2.C:
7547         * text3.C: rename the refreshing stuff to better names
7548
7549 2003-03-24  John Levon  <levon@movementarian.org>
7550
7551         * BufferView_pimpl.h:
7552         * BufferView_pimpl.C: update layout choice on a mouse
7553         press/release
7554
7555 2003-03-23  John Levon  <levon@movementarian.org>
7556
7557         * Makefile.am: fix commandtags.h reference
7558
7559 2003-03-22  John Levon  <levon@movementarian.org>
7560
7561         * BufferView_pimpl.C:
7562         * lyxtext.h:
7563         * rowpainter.C:
7564         * rowpainter.h:
7565         * text.C:
7566         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7567
7568 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7569
7570         * lyxtext.h:
7571         * text.C: take the rtl methods out of line
7572
7573 2003-03-21 André Pönitz <poenitz@gmx.net>
7574
7575         * metricsinfo.[Ch]: new files containing structures to be passed around
7576         during the two-phase-drawing...
7577
7578 2003-03-21 André Pönitz <poenitz@gmx.net>
7579
7580         * lyxtextclass.C: read 'environment' tag.
7581
7582 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7583
7584         * text2.C (removeRow): fix bug 964
7585
7586 2003-03-20  John Levon  <levon@movementarian.org>
7587
7588         * rowpainter.C:
7589         * text.C:
7590         * text2.C: paint cleanups. Inset::update() dropped font
7591         parameter
7592
7593 2003-03-19  John Levon  <levon@movementarian.org>
7594
7595         * lyxfunc.C: only fitcursor/markDirty if available()
7596
7597 2003-03-19  John Levon  <levon@movementarian.org>
7598
7599         * commandtags.h: rename to ...
7600
7601         * lfuns.h: ... this, and renumber / cleanup
7602
7603 2003-03-19  John Levon  <levon@movementarian.org>
7604
7605         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7606         fit the cursor after an lfun
7607
7608         * BufferView.h:
7609         * BufferView.C:
7610         * BufferView_pimpl.h:
7611         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7612
7613         * LyXAction.C: layout-character should have ReadOnly
7614
7615         * ParagraphParameters.C:
7616         * buffer.C:
7617         * bufferview_funcs.C:
7618         * lyx_cb.C:
7619         * lyxfind.C:
7620         * lyxtext.h:
7621         * text.C:
7622         * text2.C:
7623         * text3.C:
7624         * undo_funcs.C: changes from above
7625
7626 2003-03-18  John Levon  <levon@movementarian.org>
7627
7628         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7629         remove it from update()
7630
7631         * lyxfunc.C: update layout choice after an lfun
7632
7633         * text3.C: remove extra updateLayoutChoice()s
7634
7635 2003-03-18  John Levon  <levon@movementarian.org>
7636
7637         * text.C: top_y change means full repaint, fix
7638         a drawing bug with cursor movement
7639
7640 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7641
7642         * lyxtext.h:
7643         * text.C:
7644         * text2.C: anchor row on setCursor
7645
7646 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7647
7648         * lyxtext.h: remove almost all mutable keywords
7649         * text.C:
7650         * text2.C:
7651         * text3.C: remove const keywords accordingly
7652
7653 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7656         anon namespace
7657         (TeXEnvironment): ditto
7658         (TeXOnePar): ditto
7659
7660 2003-03-17  John Levon  <levon@movementarian.org>
7661
7662         * text.C (rowBreakPoint): remove attempt to fix displayed
7663         math insets inside a manual label
7664
7665 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7666
7667         * lyxtext.h: remove BufferView* as first arg from almost all class
7668         functions.
7669         * other files: adjust.
7670
7671 2003-03-17  John Levon  <levon@movementarian.org>
7672
7673         * lyxtext.h:
7674         * undo_funcs.C:
7675         * text2.C: more paint cleanups
7676
7677         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7678
7679         * rowpainter.h:
7680         * rowpainter.C: remove "smart" background painting code
7681
7682 2003-03-16  John Levon  <levon@movementarian.org>
7683
7684         * lyxtext.h:
7685         * text.C:
7686         * text2.C:
7687         * text3.C: add helper functions for setting refresh_row/y
7688
7689 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7690
7691         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7692         newline inset which *can* get inserted in the pass_thru layouts.
7693         This is primarily for literate documents.
7694
7695 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7696
7697         * buffer.C: increment LYX_FORMAT to 223
7698
7699 2003-03-14 André Pönitz <poenitz@gmx.net>
7700
7701         * textclass.h: prepare for environment handling, ws changes
7702         * lyxlayout.C: read latexheader and latexfooter tags
7703
7704 2003-03-14  John Levon  <levon@movementarian.org>
7705
7706         * text2.C: rewrite ::status() a bit
7707
7708 2003-03-13  John Levon  <levon@movementarian.org>
7709
7710         * lyxtext.h: add some docs
7711
7712 2003-03-13  John Levon  <levon@movementarian.org>
7713
7714         * lyxtext.h:
7715         * text.C:
7716         * text2.C:
7717         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7718
7719 2003-03-13  John Levon  <levon@movementarian.org>
7720
7721         * text3.C: fix appendix redrawing
7722
7723 2003-03-13  John Levon  <levon@movementarian.org>
7724
7725         * text.C (setHeightOfRow):
7726         * rowpainter.h:
7727         * rowpainter.C: make appendix mark have the text
7728           "Appendix" so the user knows what it is
7729
7730         * LColor.h:
7731         * LColor.C: s/appendixline/appendix/ from above
7732
7733 2003-03-13  John Levon  <levon@movementarian.org>
7734
7735         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7736
7737         * text.C: fix a getChar(pos) bug properly
7738
7739 2003-03-13  Angus Leeming  <leeming@lyx.org>
7740
7741         * commandtags.h:
7742         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7743         Probably only temporary. Let's see how things pan out.
7744
7745         * BufferView.C (unlockInset):
7746         * BufferView_pimpl.C (fitCursor):
7747         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7748
7749         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7750         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7751
7752         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7753         new functions that convert ParagraphParameters to and from a string.
7754
7755         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7756         BufferView::Pimpl's dispatch.
7757         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7758
7759 2003-03-13 André Pönitz <poenitz@gmx.net>
7760
7761         * lyxfunc.C:
7762         * text3.C:
7763         * factory.C: make it aware of InsetEnv
7764
7765 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * text2.C (setCursor): never ask for one past last
7768         (setCursor): add some debugging messages.
7769
7770         * text.C (singleWidth): never ask for one past last
7771         (singleWidth): ditto
7772         (leftMargin): ditto
7773         (rightMargin): ditto
7774         (rowBreakPoint): ditto
7775         (setHeightOfRow): ditto
7776         (prepareToPrint): ditto
7777
7778         * rowpainter.C (paintBackground): never ask for one past last
7779         (paintText): never ask for one past last
7780
7781         * paragraph_pimpl.C (getChar): make the assert stricter, never
7782         allow the one past last pos to be taken
7783
7784         * paragraph.C (getChar): ws changes only
7785
7786         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7787         (numberOfSeparators): ditto
7788         (numberOfHfills): ditto
7789
7790 2003-03-12  John Levon  <levon@movementarian.org>
7791
7792         * author.h:
7793         * author.C:
7794         * bufferparams.h:
7795         * bufferparams.C:
7796         * paragraph_funcs.C: fix per-buffer authorlists
7797
7798 2003-03-12  John Levon  <levon@movementarian.org>
7799
7800         * text.C: fix newline in right address
7801
7802 2003-03-12  Angus Leeming  <leeming@lyx.org>
7803
7804         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7805         duplicate those in LyXFunc::dispatch.
7806
7807         * commandtags.h:
7808         * LyXAction.C:
7809         * ToolbarDefaults.C:
7810         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7811         Add LFUN_FONTFREE_UPDATE.
7812
7813         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7814         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7815
7816         * bufferview_func.[Ch]: several new functions to facilliate
7817         transfer of data to and from the character dialog.
7818
7819 2003-03-12  John Levon  <levon@movementarian.org>
7820
7821         * buffer.C:
7822         * paragraph.h:
7823         * paragraph.C:
7824         * paragraph_funcs.C:
7825         * paragraph_pimpl.C:
7826         * sgml.C:
7827         * tabular.C:
7828         * text.C:
7829         * text3.C: remove META_NEWLINE in favour of an inset
7830
7831         * rowpainter.h:
7832         * rowpainter.C: remove paintNewline (done by inset)
7833
7834 2003-03-12  John Levon  <levon@movementarian.org>
7835
7836         * paragraph_pimpl.C: complain about bad getChar()s
7837         for a while at least
7838
7839 2003-03-12  John Levon  <levon@movementarian.org>
7840
7841         * buffer.h:
7842         * buffer.C: move paragraph read into a separate function,
7843         a little renaming to reflect that.
7844
7845         * bufferparams.h:
7846         * bufferparams.C: remove the author_ids map, not necessary now
7847
7848         * factory.h:
7849         * factory.C: moved Buffer::readInset to here
7850
7851         * paragraph_funcs.h:
7852         * paragraph_funcs.C: readParagraph free function moved from
7853         buffer.C
7854
7855         * tabular.C: name change
7856
7857 2003-03-12  John Levon  <levon@movementarian.org>
7858
7859         * buffer.C:
7860         * ParagraphParameters.C: move par params input to
7861         a read() method
7862
7863         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7864         behave like a normal read from the stream wrt reading
7865         a line vs. a \\token
7866
7867 2003-03-12  John Levon  <levon@movementarian.org>
7868
7869         * paragraph.C:
7870         * ParagraphParameters.h:
7871         * ParagraphParameters.C: move output code to a
7872         ::write() method
7873
7874 2003-03-12  John Levon  <levon@movementarian.org>
7875
7876         * BufferView.C (insertLyXFile):
7877         * buffer.h:
7878         * buffer.C:
7879         * tabular.C: use a parlist iterator for creating the
7880           document.
7881
7882 2003-03-12  John Levon  <levon@movementarian.org>
7883
7884         * buffer.C: make current_change static local not
7885           static file-scope
7886
7887 2003-03-12  John Levon  <levon@movementarian.org>
7888
7889         * buffer.C: fix insertStringAsLines for change tracking
7890
7891 2003-03-12  John Levon  <levon@movementarian.org>
7892
7893         * BufferView.C:
7894         * tabular.C:
7895         * buffer.h:
7896         * buffer.C:
7897         * bufferparams.h:
7898         * bufferparams.C: move author list into params. Rename some
7899           functions. Move the header reading into a separate token
7900           loop. Move the header token reading into BufferParams.
7901
7902 2003-03-12  John Levon  <levon@movementarian.org>
7903
7904         * changes.C: put debug inside lyxerr.debugging() checks
7905
7906 2003-03-11 André Pönitz <poenitz@gmx.net>
7907
7908         * factory.C: make it aware of InsetHFill
7909
7910 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7911
7912         * buffer.C (latexParagraphs): move function from here...
7913         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7914         args.
7915
7916 2003-03-10  Angus Leeming  <leeming@lyx.org>
7917
7918         * LyXAction.C (init): fix bug in poplating array with multiple entries
7919         with the same LFUN (spotted by JMarc).
7920
7921 2003-03-10  John Levon  <levon@movementarian.org>
7922
7923         * text.C:
7924         * text2.C: move getColumnNearX() near its
7925         only call site
7926
7927 2003-03-10  John Levon  <levon@movementarian.org>
7928
7929         * text.C: fix break before a minipage
7930
7931 2003-03-10  John Levon  <levon@movementarian.org>
7932
7933         * text.C: fix the last commit
7934
7935 2003-03-09  John Levon  <levon@movementarian.org>
7936
7937         * lyxtext.h:
7938         * text.C:
7939         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7940         bug 365 (don't break before insets unless needed). Don't
7941         return a value > last under any circumstances.
7942
7943 2003-03-09  Angus Leeming  <leeming@lyx.org>
7944
7945         * BufferView_pimpl.C (trackChanges, dispatch): call
7946         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7947
7948 2003-03-09  Angus Leeming  <leeming@lyx.org>
7949
7950         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7951         than Dialogs::showAboutlyx().
7952
7953 2003-03-09  Angus Leeming  <leeming@lyx.org>
7954
7955         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7956         than Dialogs::showTabularCreate().
7957
7958 2003-03-09  John Levon  <levon@movementarian.org>
7959
7960         * lyxtext.h:
7961         * text.C:
7962         * text2.C: 3rd arg to nextBreakPoint was always the same.
7963           Use references.
7964
7965 2003-03-08  John Levon  <levon@movementarian.org>
7966
7967         * lyxrow.C:
7968         * paragraph.C:
7969         * paragraph.h:
7970         * rowpainter.C:
7971         * text.C:
7972         * text2.C: Remove the "main" bit from the "main body"
7973           notion.
7974
7975 2003-03-08  John Levon  <levon@movementarian.org>
7976
7977         * text.C (leftMargin): The left margin of an empty
7978         manual label paragraph should not include the label width
7979         string length.
7980
7981         * text.C (prepareToPrint): don't attempt to measure hfills
7982         for empty manual label paragraphs - the answer should be 0
7983
7984 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * CutAndPaste.C: remove commented code and reindent.
7987
7988 2003-03-08  John Levon  <levon@movementarian.org>
7989
7990         * lyxfunc.h:
7991         * lyxfunc.C: move reloadBuffer()
7992
7993         * BufferView.h:
7994         * BufferView.C: to here
7995
7996         * lyxvc.C: add comment
7997
7998         * vc-backend.h:
7999         * vc-backend.C: call bv->reload() to avoid
8000           getStatus() check on MENURELOAD
8001
8002 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8003
8004         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8005         to an old format .dep file.
8006
8007 2003-03-07  Angus Leeming  <leeming@lyx.org>
8008
8009         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8010         when the LFUN_MOUSE_RELEASE should have been handled by
8011         inset->localDispatch.
8012
8013 2003-03-07  Angus Leeming  <leeming@lyx.org>
8014
8015         * BufferView_pimpl.C (dispatch):
8016         * LyXAction.C (init):
8017         * ToolbarDefaults.C (init):
8018         * commandtags.h:
8019         * lyxfunc.C (getStatus):
8020         remove LFUN_INSET_GRAPHICS.
8021
8022         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8023
8024 2003-03-07  Angus Leeming  <leeming@lyx.org>
8025
8026         * commandtags.h:
8027         * LyXAction.C (init):
8028         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8029
8030         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8031
8032         * commandtags.h:
8033         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8034
8035         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8036         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8037
8038 2003-03-07  Angus Leeming  <leeming@lyx.org>
8039
8040         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8041         remove "ert".
8042
8043 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * ParagraphList.C (front): new function
8046         (back): implement
8047
8048 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8049
8050         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8051         and top_row_offset_. removed var first_y.
8052         * text.C (top_y):
8053         * text2.C (LyXText, removeRow):
8054         * text3.C:
8055         * BufferView_pimpl.C:
8056         use these methods instead of using first_y
8057
8058 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8059
8060         * text2.C (pasteSelection): adjust for checkPastePossible
8061
8062         * CutAndPaste.C: remove Paragraph * buf and replace with
8063         ParagraphList paragraphs.
8064         (DeleteBuffer): delete
8065         (cutSelection): change the tc type to textclass_type
8066         (copySelection): change the tc type to textclass_type
8067         (copySelection): adjust for ParagraphList
8068         (pasteSelection): change the tc type to textclass_type
8069         (pasteSelection): adjust for Paragraphlist
8070         (nrOfParagraphs): simplify for ParagraphList
8071         (checkPastePossible): simplify for ParagraphList
8072         (checkPastePossible): remove unused arg
8073
8074         * ParagraphList.C (insert): handle the case where there are no
8075         paragraphs yet.
8076
8077         * CutAndPaste.h: make CutAndPaste a namespace.
8078
8079         * text3.C (dispatch): adjust
8080
8081         * text.C (breakParagraph): add a ParagraphList as arg
8082
8083         * paragraph_funcs.C (breakParagraph): change to take a
8084         BufferParams and a ParagraphList as args.
8085         (breakParagraphConservative): ditto
8086         (mergeParagraph): ditto
8087         (TeXDeeper): add a ParagraphList arg
8088         (TeXEnvironment): ditto
8089         (TeXOnePar): ditto
8090
8091         * buffer.C (readLyXformat2): adjust
8092         (insertStringAsLines): adjust
8093         (latexParagraphs): adjust
8094
8095         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8096         (cutSelection): adjust
8097         (pasteSelection): adjust
8098
8099         * BufferView_pimpl.C (insertInset): adjust
8100
8101 2003-03-05  Angus Leeming  <leeming@lyx.org>
8102
8103         * commandtags.h:
8104         * LyXAction.C (init):
8105         * BufferView_pimpl.C (dispatch):
8106         * lyxfunc.C (getStatus):
8107         remove LFUN_CHILD_INSERT.
8108
8109         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8110
8111 2003-03-05  Angus Leeming  <leeming@lyx.org>
8112
8113         * commandtags.h:
8114         * LyXAction.C (init):
8115         * src/factory.C (createInset):
8116         * lyxfunc.C (getStatus):
8117         * text3.C (dispatch):
8118         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8119
8120         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8121
8122 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * ParagraphList.C (insert): handle insert right before end()
8125         (erase): fix cases where it can be first or last paragraph.
8126
8127 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8130         Paragraph::next and Paragraph::previous
8131         (TeXOnePar): ditto
8132
8133         * text.C (breakParagraph): adjust
8134
8135         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8136         BufferParams& as arg.
8137         (breakParagraph): use ParagraphList::insert
8138         (breakParagraphConservative): take a Buffer* instead of a
8139         BufferParams& as arg.
8140         (breakParagraphConservative): use ParagraphList::insert.
8141
8142         * buffer.C (insertStringAsLines): un-const it
8143         (insertStringAsLines): adjust
8144
8145         * ParagraphList.C (insert): new function
8146
8147         * CutAndPaste.C (pasteSelection): adjust
8148
8149         * text.C (backspace): adjust
8150
8151         * tabular.C (SetMultiColumn): adjust
8152
8153         * CutAndPaste.C (cutSelection): adjust
8154         (pasteSelection): adjust
8155
8156         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8157         Buffer const * as arg
8158
8159         * ParagraphList.C (erase): new function
8160         * paragraph_funcs.C (mergeParagraph): use it
8161         (mergeParagraph): make it take a Buffer* instead of a
8162         BufferParams* as arg
8163
8164         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8165         as arg
8166         (breakParagraphConservative): ditto
8167
8168         * paragraph.h: remove the breakParagraph friend
8169
8170         * paragraph.C (eraseIntern): new function
8171         (setChange): new function
8172
8173         * paragraph_funcs.C (mergeParagraph): make it take a
8174         ParagraphList::iterator instead of a Paragraph *, adjust
8175         accordingly.
8176
8177         * paragraph.h: move an #endif so that the change tracking stuff
8178         also works in the NO_NEXT case.
8179
8180 2003-03-04  Angus Leeming  <leeming@lyx.org>
8181
8182         * commandtags.h:
8183         * LyXAction.C: new LFUN_INSET_MODIFY.
8184
8185         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8186         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8187
8188 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8189
8190         * several files: ws changes only
8191
8192         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8193         (TeXEnvironment): ditto
8194         (TeXDeeper): ditto
8195
8196         * buffer.C (makeLaTeXFile): adjust
8197         (latexParagraphs): make it take ParagraphList::iterator as args
8198
8199 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * buffer.C (latexParagraphs): adjust
8202
8203         * paragraph.C (TeXOnePar): move function...
8204         (optArgInset): move function...
8205         (TeXEnvironment): move function...
8206         * paragraph_pimpl.C (TeXDeeper): move function...
8207         * paragraph_funcs.C: ...here
8208
8209         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8210
8211 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * buffer.C (readInset): remove compability code for old Figure and
8214         InsetInfo insets
8215
8216 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * buffer.C: ws changes
8219         (readInset):
8220
8221         * BufferView_pimpl.C: ditto
8222         * author.C: ditto
8223         * buffer.h: ditto
8224         * bufferlist.h: ditto
8225         * changes.h: ditto
8226         * lyxfunc.C: ditto
8227
8228 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8229
8230         * converter.[Ch]: split into itself +
8231         * graph.[Ch]
8232         * format.[Ch]
8233         * Makefile.am: += graph.[Ch] + format.[Ch]
8234         * MenuBackend.C
8235         * buffer.C
8236         * exporter.C
8237         * importer.C
8238         * lyx_main.C
8239         * lyxfunc.C
8240         * lyxrc.C: added #include "format.h"
8241
8242 2003-02-27  Angus Leeming  <leeming@lyx.org>
8243
8244         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8245           a label.
8246
8247         * factory.C (createInset): add "label" to the factory.
8248
8249         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8250           string and do no more.
8251
8252 2003-02-27  Angus Leeming  <leeming@lyx.org>
8253
8254         * commandtags.h:
8255         * LyXAction.C (init):
8256         * factory.C (createInset):
8257         * BufferView_pimpl.C (dispatch):
8258           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8259
8260         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8261
8262         * lyxfunc.C (dispatch):
8263         * text3.C (dispatch): pass name to params2string.
8264
8265 2003-02-26  Angus Leeming  <leeming@lyx.org>
8266
8267         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8268           blocks together.
8269           Rearrange the ~includes. Strip out the unnecessary ones.
8270
8271         * factory.C (createInset): reformat.
8272           create new insets for the various LFUN_XYZ_APPLY lfuns.
8273
8274 2003-02-26  John Levon  <levon@movementarian.org>
8275
8276         * lyxrow.h:
8277         * lyxrow.C: add isParStart,isParEnd helpers
8278
8279         * paragraph.h: make isInserted/DeletedText take refs
8280
8281         * paragraph_funcs.h:
8282         * paragraph_funcs.C: remove #if 0'd code
8283
8284         * lyxtext.h:
8285         * text3.C:
8286         * text2.C:
8287         * text.C: use lyxrow helpers above.
8288           Move draw and paint routines to RowPainter.
8289           Make several methods use refs not pointers.
8290           Make backgroundColor() const.
8291           Add markChangeInDraw(), isInInset().
8292           Merge changeRegionCase into changeCase.
8293           Make workWidth() shouldn't-happen code into an Assert.
8294
8295         * rowpainter.h:
8296         * rowpainter.C: new class for painting a row.
8297
8298         * vspace.h:
8299         * vspace.C: make inPixels take a ref
8300
8301 2003-02-26  Angus Leeming  <leeming@lyx.org>
8302
8303         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8304         LFUN_REF_APPLY.
8305
8306 2003-02-25  John Levon  <levon@movementarian.org>
8307
8308         * ispell.C: give the forked command a more accurate name
8309
8310 2003-02-22  John Levon  <levon@movementarian.org>
8311
8312         * toc.h:
8313         * toc.C: make TocItem store an id not a Paragraph *
8314           (bug #913)
8315
8316 2003-02-21  Angus Leeming  <leeming@lyx.org>
8317
8318         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8319           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8320           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8321           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8322           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8323           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8324
8325         * BufferView_pimpl.C (dispatch):
8326         * LyXAction.C (init):
8327         * factory.C (createInset):
8328         * lyxfunc.C (getStatus, dispatch):
8329         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8330
8331 2003-02-21  Angus Leeming  <leeming@lyx.org>
8332
8333         * BufferView_pimpl.C (MenuInsertLyXFile):
8334         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8335         * lyxfunc.C (menuNew, open, doImport):
8336           no longer pass a LyXView & to fileDlg.
8337
8338 2003-02-21  Angus Leeming  <leeming@lyx.org>
8339
8340         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8341         * LyXAction.C: change, BIBKEY to BIBITEM.
8342         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8343         Change InsetBibKey to InsetBibitem.
8344         Change BIBKEY_CODE to BIBITEM_CODE.
8345         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8346         * factory.C: replace insetbib.h with insetbibitem.h.
8347         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8348         * paragraph.C: replace insetbib.h with insetbibitem.h.
8349         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8350         Change bibkey() to bibitem().
8351         * text.C: remove insetbib.h.
8352         * text2.C: replace insetbib.h with insetbibitem.h.
8353         change bibkey() to bibitem().
8354         * text3.C: remove insetbib.h.
8355         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8356
8357 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8358
8359         * lyxrc.C (output): enclose user email in quotes (in case there are
8360         several words)
8361
8362 2003-02-18  John Levon  <levon@movementarian.org>
8363
8364         * buffer.h: add std::
8365
8366 2003-02-17  John Levon  <levon@movementarian.org>
8367
8368         * SpellBase.h:
8369         * ispell.h:
8370         * ispell.C:
8371         * pspell.h:
8372         * pspell.C: reworking. Especially in ispell, a large
8373           number of clean ups and bug fixes.
8374
8375         * lyxfunc.C: fix revert to behave sensibly
8376
8377 2003-02-17 André Pönitz <poenitz@gmx.net>
8378
8379         * LyXAction.C:
8380         * commandtags.h: new LFUN_INSERT_BIBKEY
8381
8382         * layout.h:
8383         * lyxlayout.C:
8384         * buffer.C:
8385         * factory.C:
8386         * text.C:
8387         * text2.C:
8388         * text3.C:
8389         * paragraph.[Ch]:
8390         * paragraph_func.C: remove special bibkey handling
8391
8392 2003-02-17  John Levon  <levon@movementarian.org>
8393
8394         * text.C (Delete): fix case where delete at the end of
8395           the very first paragraph would not merge the pars
8396
8397 2003-02-17  John Levon  <levon@movementarian.org>
8398
8399         * lyxrow.C: fix lastPrintablePos()
8400
8401 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8402
8403         * bufferparams.C (writeLaTeX): add a std:here
8404
8405         * buffer.C: and remove a using directive there
8406
8407 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8408
8409         * buffer.C (makeLaTeXFile): move the code that generates the
8410           preamble...
8411
8412         * bufferparams.C (writeLaTeX): ... in this new method
8413
8414         * LaTeXFeatures.C (getEncodingSet): make const
8415           (getLanguages): make const
8416
8417         * MenuBackend.C (binding): returns the binding associated to this
8418           action
8419           (add): sets the status of each item by calling getStatus. Adds
8420           some intelligence.
8421           (read): add support for OptSubMenu
8422           (expand): remove extra separator at the end of expanded menu
8423
8424 2003-02-15  John Levon  <levon@movementarian.org>
8425
8426         * BufferView.C:
8427         * BufferView_pimpl.C:
8428         * bufferlist.h:
8429         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8430           inset code that had no actual effect. Remove unneeded status
8431           code.
8432
8433 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8434
8435         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8436           in preamble
8437
8438 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8439
8440         * text.C (drawLengthMarker): also draw an arrow marker for
8441           symbolic lengths (medskip...)
8442
8443 2003-02-14  John Levon  <levon@movementarian.org>
8444
8445         * tabular.h:
8446         * tabular.C: better method names
8447
8448 2003-02-14  John Levon  <levon@movementarian.org>
8449
8450         * BufferView_pimpl.C:
8451         * bufferlist.C:
8452         * buffer.C:
8453         * converter.C:
8454         * lyx_cb.C:
8455         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8456           it's a more accurate name. Remove some pointless uses.
8457
8458 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8459
8460         * text2.C (LyXText): change order of initilizers to shut off
8461           warnings
8462
8463 2003-02-14  John Levon  <levon@movementarian.org>
8464
8465         * buffer.C: use ParIterator for getParFromID()
8466
8467         * paragraph.h:
8468         * paragraph.C:
8469         * paragraph_pimpl.h:
8470         * paragraph_pimpl.C: remove unused getParFromID()
8471
8472 2003-02-14  John Levon  <levon@movementarian.org>
8473
8474         * buffer.C: remove some very old #if 0'd parse code
8475
8476 2003-02-13  John Levon  <levon@movementarian.org>
8477
8478         * text.h:
8479         * text.C:
8480         * text2.C: move hfillExpansion(), numberOfSeparators(),
8481           rowLast(), rowLastPrintable(), numberofHfills(),
8482           numberOfLabelHfills() ...
8483
8484         * lyxrow.h:
8485         * lyxrow.C: ... to member functions here.
8486
8487         * paragraph.h:
8488         * paragraph.C:
8489         * lyxtext.h:
8490         * text.C: remove LyXText::beginningOfMainBody(), and call
8491           p->beginningOfMainBody() directly. Move the check for
8492           LABEL_MANUAL into the latter.
8493
8494         * text.h:
8495         * text.C:
8496         * text2.C:
8497         * vspace.C:
8498         * BufferView.h:
8499         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8500
8501         * text.h:
8502         * text.C:
8503         * text2.C:
8504         * text3.C:
8505         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8506           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8507
8508 2003-02-13  John Levon  <levon@movementarian.org>
8509
8510         * CutAndPaste.C: remove debug
8511
8512 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8513
8514         * paragraph.C (asString): remove two unused variables
8515
8516         * lyxtextclass.C (readTitleType):
8517           (Read):
8518           (LyXTextClass): handle new members titletype_ and titlename_
8519
8520         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8521
8522 2003-02-09  John Levon  <levon@movementarian.org>
8523
8524         * buffer.h:
8525         * buffer.C: replace hand-coded list with a map for the dep clean
8526
8527 2003-02-08  John Levon  <levon@movementarian.org>
8528
8529         * LaTeX.C: consolidate code into showRunMessage() helper
8530
8531 2003-02-08  John Levon  <levon@movementarian.org>
8532
8533         * lyxfind.C:
8534         * lyxtext.h:
8535         * text2.C:
8536         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8537           and pass the size in explicitly
8538
8539         * BufferView_pimpl.h:
8540         * BufferView_pimpl.C:
8541         * BufferView.h:
8542         * BufferView.C: add getCurrentChange()
8543
8544         * BufferView_pimpl.h:
8545         * BufferView_pimpl.C: handle change lfuns
8546
8547         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8548           for changes. Mark pasted paragraphs as new.
8549
8550         * support/lyxtime.h:
8551         * support/lyxtime.C:
8552         * DepTable.C: abstract time_t as lyx::time_type
8553
8554         * LColor.h:
8555         * LColor.C: add colours for new text, deleted text, changebars
8556
8557         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8558           package use "usenames" option.
8559
8560         * commandtags.h:
8561         * lyxfunc.C:
8562         * LyXAction.C: add change lfuns
8563
8564         * Makefile.am:
8565         * author.h:
8566         * author.C: author handling
8567
8568         * buffer.h:
8569         * buffer.C: add a per-buffer author list, with first entry as
8570           current author. Handle new .lyx tokens for change tracking. Output
8571           author list to .lyx file. Output dvipost stuff to .tex preamble.
8572           Bump lyx format to 222.
8573
8574         * bufferlist.h:
8575         * bufferlist.C: add setCurrentAuthor() to reset current author details
8576           in all buffers.
8577
8578         * bufferparams.h:
8579         * bufferparams.C: add param for tracking
8580
8581         * bufferview_funcs.C: output change info in minibuffer
8582
8583         * Makefile.am:
8584         * changes.h:
8585         * changes.C: add change-tracking structure
8586
8587         * debug.h:
8588         * debug.C: add CHANGES debug flag
8589
8590         * lyxfind.h:
8591         * lyxfind.C: add code for finding the next change piece
8592
8593         * lyxrc.h:
8594         * lyxrc.C: add user_name and user_email
8595
8596         * lyxrow.h:
8597         * lyxrow.C: add a metric for the top of the text line
8598
8599         * lyxtext.h:
8600         * text.C: implement accept/rejectChange()
8601
8602         * lyxtext.h:
8603         * text.C: paint changebars. Paint new/deleted text in the chosen
8604         colours. Strike through deleted text.
8605
8606         * paragraph.h:
8607         * paragraph.C:
8608         * paragraph_pimpl.h:
8609         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8610           in the current change to the insert functions. Rework erase to
8611           mark text as deleted, adding an eraseIntern() and a range-based
8612           erase(). Implement per-paragraph change lookup and
8613           accept/reject.
8614
8615         * paragraph_funcs.C: Fixup paste for change tracking.
8616
8617         * tabular.C: mark added row/columns as new.
8618
8619         * text.C: fix rowLast() to never return -1. Don't allow
8620           spellchecking of deleted text. Track transpose changes. Don't
8621           allow paragraph break or merge where appropriate.
8622
8623         * text2.C: leave cursor at end of selection after a cut.
8624
8625 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8626
8627         * text.C (getLengthMarkerHeight):
8628         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8629         visible on screen too.
8630
8631 2003-02-07  John Levon  <levon@movementarian.org>
8632
8633         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8634
8635 2003-02-05  Angus Leeming  <leeming@lyx.org>
8636
8637         * lyxserver.C (read_ready): revert my patch of 11 September last year
8638         as it sends PC cpu through the roof. Presumably this means that
8639         the lyxserver will no longer run on an Alpha...
8640
8641 2003-01-30  Angus Leeming  <leeming@lyx.org>
8642
8643         * factory.C (createInset): create an InsetCommandParam of type "index"
8644         and use it to 'do the right thing'.
8645
8646         * text2.C (getStringToIndex): ensure that cursor position is always
8647         reset to the reset_cursor position.
8648
8649 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8650
8651         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8652         disabled.
8653
8654 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8655
8656         * bufferview.C:
8657         * lyxcb.C:
8658         * lyxfunc.C: Output messages with identical spelling, punctuation,
8659         and spaces
8660
8661 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8662
8663         * MenuBackend.C (expandFormats): List only viewable export formats
8664         in "View" menu
8665
8666         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8667         message
8668
8669         * lyxfunc.C (getStatus): Make sure that formats other than
8670         "fax" can also be disabled
8671
8672 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8673
8674         * text3.C (dispatch): put the lfuns that insert insets in 3
8675         groups, and call doInsertInset with appropriate arguments.
8676         (doInsertInset): new function, that creates an inset and inserts
8677         it according to some boolean parameters.
8678
8679 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8680
8681         * buffer.C (readFile): remember to pass on 'par' when calling
8682         readFile recursively.
8683
8684 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8685
8686         * MenuBackend.C (expandFormats): add "..." to import formats.
8687
8688 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8689
8690         * paragraph.C (asString): Remove XForms RTL hacks.
8691
8692 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8693         * buffer.C: fix typo
8694
8695 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8696
8697         * Makefile.am (LIBS): delete var
8698         (lyx_LDADD): add @LIBS@ here instead.
8699
8700 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8701
8702         * Clarify the meaning of "wheel mouse jump"
8703
8704 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8705
8706         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8707         tabular in a float
8708
8709 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8710
8711         * importer.C (Loaders): do not preallocate 3 elements in the
8712         vector, since one ends up with 6 elements otherwise
8713
8714 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8715
8716         * DepTable.C (write): write the file name as last element of the
8717         .dep file (because it may contain spaces)
8718         (read): read info in the right order
8719
8720 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8721
8722         * paragraph_pimpl.C (simpleTeXBlanks):
8723         (simpleTeXSpecialChars):
8724         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8725
8726         * tabular.C (latex): add some missing case statements. Reindent.
8727
8728         * MenuBackend.C (expandToc): remove unused variable.
8729
8730 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8731
8732         * LColor.C:
8733         * LaTeX.C:
8734         * LyXAction.C:
8735         * MenuBackend.C:
8736         * buffer.C:
8737         * exporter.C:
8738         * lyxfunc.C:
8739         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8740         and the like.
8741
8742 2003-01-05  John Levon  <levon@movementarian.org>
8743
8744         * BufferView.h:
8745         * BufferView.C: add getEncoding()
8746
8747         * kbsequence.h:
8748         * kbsequence.C: do not store last keypress
8749
8750         * lyxfunc.h:
8751         * lyxfunc.C: store last keypress here instead. Pass encoding
8752           to getISOEncoded()
8753
8754 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8755
8756         * lyx_main.C (init): remove annoying error message when following
8757         symbolic links (bug #780)
8758
8759 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8760
8761         * text.C (insertChar):
8762         * lyxrc.C (getDescription): remove extra spaces
8763
8764 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8765
8766         * lyxrc.C (getDescription): remove extra spaces
8767
8768 2002-12-20  John Levon  <levon@movementarian.org>
8769
8770         * text3.C: hack fix for page up/down across tall rows
8771
8772 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8773
8774         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8775         not been invoked
8776
8777 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8778
8779         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8780         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8781         thesaurus is not compiled in
8782
8783 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8784
8785         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8786
8787 2002-12-16  Angus Leeming  <leeming@lyx.org>
8788
8789         * lyxrc.[Ch]:
8790         * lyx_main.C (init): remove override_x_deadkeys stuff.
8791
8792 2002-12-12  John Levon  <levon@movementarian.org>
8793
8794         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8795           insert. Only remove shift modifier under strict
8796           circumstances.
8797
8798 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8799
8800         * MenuBackend.C (expandToc): fix crash.
8801
8802 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8803
8804         * MenuBackend.C (expandToc): gettext on float names.
8805
8806 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8807
8808         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8809         implement bool empty() [bug 490]
8810
8811 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8812
8813         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8814
8815 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8816
8817         * several files: ws changes
8818
8819 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8820
8821         * text2.C (setCounter): clean up a bit, use boost.format.
8822         (updateCounters): initialize par upon declaration.
8823
8824         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8825         if the layout exists. We do not just store the layout any more.
8826         (SwitchLayoutsBetweenClasses): use boost.format
8827
8828 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8829
8830         * converter.C (convert): if from and to files are the same, use a
8831         temporary files as intermediary
8832
8833 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8834
8835         * commandtags.h:
8836         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8837
8838 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8839
8840         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8841
8842 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8843
8844         * tabular.C (asciiPrintCell): use string(size, char) instead of
8845         explicit loop.
8846
8847         * sgml.C (openTag): fix order of arguments to string constructor
8848         (closeTag): ditto
8849
8850         * lyxfunc.C (dispatch): use boost.format
8851
8852         * lots of files: change "c" -> 'c'
8853
8854 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8855
8856         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8857
8858 2002-11-25  Angus Leeming  <leeming@lyx.org>
8859
8860         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8861
8862         * lyx_main.C (init): compile fix.
8863
8864 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8865
8866         * lyx_cb.C (start): boost.formatify
8867         do not include <iostream>
8868
8869         * lengthcommon.C: ws only
8870
8871         * boost-inst.C,BoostFormat.h: add more explict instantations
8872
8873 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8874
8875         * lots of files: handle USE_BOOST_FORMAT
8876
8877 2002-11-21  John Levon  <levon@movementarian.org>
8878
8879         * pspell.C: fix compile
8880
8881 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8882
8883         * lyxfunc.C (dispatch): use boost::format
8884         (open): ditto
8885         (doImport): ditto
8886
8887         * lyxfont.C (stateText): use boost::format
8888
8889         * lyx_main.C (LyX): use boost::format
8890         (init): ditto
8891         (queryUserLyXDir): ditto
8892         (readRcFile): ditto
8893         (parse_dbg): ditto
8894         (typedef boost::function): use the recommened syntax.
8895
8896         * importer.C (Import): use boost::format
8897
8898         * debug.C (showLevel): use boost::format
8899
8900         * converter.C (view): use boost::format
8901         (convert): ditto
8902         (move): ditto
8903         (scanLog): ditto
8904
8905         * bufferview_funcs.C (currentState): use boost::format
8906
8907         * bufferlist.C (emergencyWrite): use boost::format
8908
8909         * buffer.C (readLyXformat2): use boost::format
8910         (parseSingleLyXformat2Token): ditto
8911
8912         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8913
8914         * LaTeX.C (run): use boost::format
8915
8916         * Chktex.C (scanLogFile): use boost::format
8917
8918         * BufferView_pimpl.C (savePosition): use boost::format
8919         (restorePosition): ditto
8920         (MenuInsertLyXFile): ditto
8921
8922         * BoostFormat.h: help file for explicit instation.
8923
8924 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8925
8926         * tabular.C (latex): Support for block alignment in fixed width
8927         columns.
8928
8929 2002-11-17  John Levon  <levon@movementarian.org>
8930
8931         * BufferView_pimpl.C:
8932         * lyx_cb.C:
8933         * lyxfunc.C: split filedialog into open/save
8934
8935 2002-11-08  Juergen Vigna  <jug@sad.it>
8936
8937         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8938         by my last patch (hopefully).
8939
8940 2002-11-08  John Levon  <levon@movementarian.org>
8941
8942         * iterators.h:
8943         * iterators.C:
8944         * buffer.h:
8945         * buffer.C:
8946         * paragraph.h:
8947         * paragraph.C:
8948         * toc.h:
8949         * toc.C: ParConstIterator, and use it (from Lars)
8950
8951 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8952
8953         * lyxtextclass.[Ch]: revise and add doxygen comments
8954
8955 2002-11-07  John Levon  <levon@movementarian.org>
8956
8957         * text.C: fix progress value for spellchecker
8958
8959         * toc.C: fix navigate menu for insetwrap inside minipage
8960
8961         * paragraph_funcs.C: added FIXME for suspect code
8962
8963 2002-11-07  John Levon  <levon@movementarian.org>
8964
8965         * BufferView_pimpl.C: fix redrawing of insets
8966           on buffer switch
8967
8968 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8969
8970         * text2.C (updateCounters): fix bug 668
8971
8972 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8973
8974         * text3.C (dispatch): Do not make the buffer dirty when moving the
8975         cursor.
8976
8977 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8978
8979         * vc-backend.C: STRCONV
8980         (scanMaster): ditto
8981
8982         * text2.C (setCounter): STRCONV
8983
8984         * paragraph.C (asString): STRCONV
8985
8986         * lyxlength.C (asString): STRCONV
8987         (asLatexString): ditto
8988
8989         * lyxgluelength.C (asString): STRCONV
8990         (asLatexString): ditto
8991
8992         * lyxfunc.C (dispatch): STRCONV
8993         (open): ditto
8994
8995         * lyxfont.C (stateText): STRCONV
8996
8997         * importer.C (Import): STRCONV
8998
8999         * counters.C (labelItem): STRCONV
9000         (numberLabel): ditto
9001         (numberLabel): remove unused ostringstream o
9002
9003         * chset.C: STRCONV
9004         (loadFile): ditto
9005
9006         * bufferview_funcs.C (currentState): STRCONV
9007
9008         * buffer.C (readFile): STRCONV
9009         (asciiParagraph): ditto
9010         (makeLaTeXFile): ditto
9011
9012         * Spacing.C (writeEnvirBegin): STRCONV
9013
9014         * LaTeXFeatures.C (getLanguages): STRCONV
9015         (getPackages): ditto
9016         (getMacros): ditto
9017         (getBabelOptions): ditto
9018         (getTClassPreamble): ditto
9019         (getLyXSGMLEntities): ditto
9020         (getIncludedFiles): ditto
9021
9022         * LaTeX.C: STRCONV
9023         (run): ditto
9024         (scanAuxFile): ditto
9025         (deplog): ditto
9026
9027         * LString.h: add the STRCONV macros
9028
9029         * BufferView_pimpl.C (savePosition): STRCONV
9030         (restorePosition): ditto
9031         (MenuInsertLyXFile): ditto
9032
9033         * vc-backend.C (scanMaster): change from submatch[...] to
9034         submatch.str(...)
9035
9036         * funcrequest.C: include config.h
9037
9038         * factory.C: include config.h
9039
9040         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9041
9042         * box.C: include config.h
9043
9044         * LaTeX.C (scanAuxFile): change from submatch[...] to
9045         submatch.str(...)
9046         (deplog): ditto
9047
9048 2002-10-25  Angus Leeming  <leeming@lyx.org>
9049
9050         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9051
9052         * ispell.[Ch] (setError): new method.
9053         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9054         Use setError() insetead of goto END.
9055
9056         * lyx_cb.C (AutoSave): move out child process into new class
9057         AutoSaveBuffer.
9058
9059 2002-10-30  John Levon  <levon@movementarian.org>
9060
9061         * text3.C: make start appendix undoable
9062
9063 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9064
9065         * lyxlength.C (inPixels): Fix returned value.
9066
9067         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9068         environment.
9069
9070 2002-10-24  Angus Leeming  <leeming@lyx.org>
9071
9072         * lyxgluelength.h: no need to forward declare BufferParams
9073         or BufferView, so don't.
9074
9075 2002-10-21  John Levon  <levon@movementarian.org>
9076
9077         * BufferView.C: menuUndo ->undo, redo
9078
9079         * BufferView.h: document, remove dead, make some methods private
9080
9081         * paragraph_funcs.h:
9082         * paragraph_funcs.C:
9083         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9084
9085         * buffer.h:
9086         * buffer.C:
9087         * sgml.h:
9088         * sgml.C: move sgml open/close tag into sgml.C
9089
9090         * bufferview_funcs.h: unused prototype
9091
9092         * lyxfunc.h:
9093         * lyxfunc.C: remove unused
9094
9095         * lyxtext.h:
9096         * text.C: remove unused
9097
9098 2002-10-21  John Levon  <levon@movementarian.org>
9099
9100         * BufferView.h:
9101         * BufferView.C:
9102         * BufferView_pimpl.h:
9103         * BufferView_pimpl.C: fix mouse wheel handling based on
9104           patch from Darren Freeman
9105
9106 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9107
9108         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9109
9110 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9111
9112         * lyxlength.C (inPixels): Fix hanfling of negative length.
9113         Fix LyXLength::MU case.
9114
9115 2002-10-16  John Levon  <levon@movementarian.org>
9116
9117         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9118
9119 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9120
9121         * converter.C (view): add support for $$i (file name) and $$p
9122         (file path) for the viewer command. If $$i is not specified, then
9123         it is appended to the command (for compatibility with old syntax)
9124
9125 2002-10-14  Juergen Vigna  <jug@sad.it>
9126
9127         * undo_funcs.C (textHandleUndo): alter the order in which the
9128         new undopar is added to the LyXText, as we have to set first
9129         the right prev/next and then add it as otherwise the rebuild of
9130         LyXText is not correct. Also reset the cursor to the right paragraph,
9131         with this IMO we could remove the hack in "redoParagraphs()".
9132
9133 2002-10-09  Angus Leeming  <leeming@lyx.org>
9134
9135         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9136         to turn off an optimisation if a new inset is to be inserted.
9137
9138 2002-10-11 André Pönitz <poenitz@gmx.net>
9139
9140         * lyxtext.h: make some functions public to allow access
9141         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9142
9143 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9144
9145         * text3.C (dispatch): when changing layout, avoid an infinite loop
9146         [bug #652]
9147
9148 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9149
9150         * lyxrc.C (read): treat a viewer or converter command of "none" as
9151         if it were empty.
9152
9153         * MenuBackend.C (expandFormats): for an update, also allow the
9154         formats that are not viewable
9155
9156         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9157         script if it is newer than the lyxrc.defaults in user directory
9158
9159 2002-10-07 André Pönitz <poenitz@gmx.net>
9160
9161         * text.C: Vitaly Lipatov's small i18n fix
9162
9163 2002-09-25  Angus Leeming  <leeming@lyx.org>
9164
9165         * ispell.h: doxygen fix.
9166
9167 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9168
9169         * buffer.h (readFile): Add a new argument to the method, to allow
9170         reading of old-format templates.
9171
9172 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9173
9174         * toc.C (getTocList): Get TOC from InsetWrap.
9175
9176 2002-09-16  John Levon  <levon@movementarian.org>
9177
9178         * lyxfunc.C: check tabular for cut/copy too
9179
9180 2002-09-12  John Levon  <levon@movementarian.org>
9181
9182         * LyXAction.C: tidy
9183
9184         * factory.h:
9185         * factory.C: add header
9186
9187         * paragraph_funcs.h:
9188         * paragraph_funcs.C: cleanup
9189
9190 2002-09-11  John Levon  <levon@movementarian.org>
9191
9192         * PrinterParams.h: odd/even default to true
9193
9194 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9195
9196         * PrinterParams.h: update printer parameters for new xforms dialog
9197
9198 2002-09-11  Angus Leeming  <leeming@lyx.org>
9199
9200         * lyxserver.C (read_ready): re-write to make it more transparent
9201         and to make it work in coherent fashion under Tru64 Unix.
9202
9203 2002-09-11  André Pönitz <poenitz@gmx.net>
9204
9205         * commandtags.h:
9206         * LyXAction.C:
9207         * text3.C: implement LFUN_WORDSEL
9208
9209 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9210
9211         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9212         make floatlist_ a boost::shared_ptr<FloatList>
9213
9214         * lyxtextclass.C: include FloatList.h
9215         (LyXTextClass): initialize floatlist_
9216         (TextClassTags): add TC_NOFLOAT
9217         (Read): match "nofloat" to TC_NOFLOAT and use it.
9218         (readFloat): modify call to floatlist_
9219         (floats): ditto
9220         (floats): ditto
9221
9222         * FloatList.[Ch] (FloatList): remove commented out float
9223         initialization.
9224         (erase): new function
9225
9226 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9227
9228         * MenuBackend.C (expandToc): fix crash when there is no document
9229         open
9230
9231 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9232
9233         * many files: Add insetwrap.
9234
9235 2002-09-09  John Levon  <levon@movementarian.org>
9236
9237         * text2.C: remove confusing and awkward depth wraparound
9238
9239 2002-09-09  John Levon  <levon@movementarian.org>
9240
9241         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9242
9243         * buffer.h:
9244         * buffer.C: remove getIncludeonlyList()
9245
9246         * paragraph.C:
9247         * lyxfunc.C: remove headers
9248
9249 2002-09-09  Juergen Vigna  <jug@sad.it>
9250
9251         * text.C (getColumnNearX): fix form Michael this is most
9252         probably a cut&paste bug.
9253
9254 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9255
9256         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9257
9258         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9259         references, ws changes.
9260
9261         * text2.C (init): update counters after init
9262         (insertParagraph): no need to set counter on idividual paragraphs.
9263         (setCounter): access the counters object in the textclass object
9264         on in the buffer object.
9265         (updateCounters): ditto
9266
9267         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9268         shared_ptr<Counters> to avoid loading counters.h in all
9269         compilation units.
9270         (LyXTextClass): initialize ctrs_
9271         (TextClassTags): add TC_COUNTER, and ...
9272         (Read): use it here.
9273         (CounterTags): new tags
9274         (readCounter): new function
9275         (counters): new funtion
9276         (defaultLayoutName): return a const reference
9277
9278         * counters.C (Counters): remove contructor
9279         (newCounter): remove a couple of unneeded statements.
9280         (newCounter): simplify a bit.
9281         (numberLabel): some small formatting changes.
9282
9283         * buffer.[Ch]: remove all traces of counters, move the Counters
9284         object to the LyXTextClass.
9285
9286 2002-09-06  Alain Castera  <castera@in2p3.fr>
9287
9288         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9289         package to set the horizontal alignment on fixed width columns.
9290
9291         * lyx_sty.C:
9292         * lyx_sty.h: added tabularnewline macro def.
9293
9294         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9295
9296 2002-09-06  John Levon  <levon@movementarian.org>
9297
9298         * LyXAction.C: tooltips for sub/superscript
9299
9300         * MenuBackend.C: a bit more verbose
9301
9302         * lyxfunc.C: tiny clean
9303
9304         * undo_funcs.C: document undo_frozen
9305
9306 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9307
9308         * counters.C (Counters): add missing algorithm counter.
9309
9310         * text2.C (setCounter): lookup the counter with layouts latexname
9311         instead of by section number.
9312         (setCounter): use a hackish way to lookup the correct enum
9313         counter.
9314         a float name->type change
9315         reset enum couners with counter name directly instead of depth value.
9316
9317         * counters.C (Counters): remove the push_backs, change to use the
9318         float type not the float name.
9319         (labelItem): remove unused string, float name->type change
9320
9321         * counters.h: don't include vector, loose the enums and sects vectors
9322
9323 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9324
9325         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9326         (Read): add float->TC_FLOAT to textclassTags
9327         (Read): and handle it in the switch
9328         (readFloat): new function
9329
9330         * FloatList.C (FloatList): comment out the hardcoded float
9331         definitions.
9332
9333         * lyxlayout.h: ws change.
9334
9335 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9336
9337         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9338
9339 2002-09-03  Angus Leeming  <leeming@lyx.org>
9340
9341         * BufferView_pimpl.h: qualified name is not allowed in member
9342         declaration: WorkArea & Pimpl::workarea() const;
9343
9344         * factory.C: added using std::endl directive.
9345
9346         * text3.C: added using std::find and std::vector directives.
9347
9348 2002-08-29  André Pönitz <poenitz@gmx.net>
9349
9350         * lyxtext.h:
9351         * text2.C: remove unused member number_of_rows
9352
9353         * Makefile.am:
9354         * BufferView2.C: remove file, move contents to...
9355         * BufferView.C: ... here
9356
9357         * BufferView_pimpl.C:
9358         * factory.C: move more inset creation to factory
9359
9360         * vspace.C: avoid direct usage of LyXText, ws changes
9361
9362         * BufferView.[Ch]:
9363                 don't provide direct access to WorkArea, use two simple
9364                 acessors haveSelction() and workHeight() instead
9365
9366
9367 2002-08-29  John Levon  <levon@movementarian.org>
9368
9369         * BufferView_pimpl.C (dispatch): do not continue when
9370           no buffer
9371
9372 2002-08-28  André Pönitz <poenitz@gmx.net>
9373
9374         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9375
9376         * BufferView.h:
9377         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9378
9379 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9380
9381         * buffer.C: increment LYX_FORMAT to 221
9382
9383         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9384         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9385
9386         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9387
9388         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9389
9390 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * factory.C (createInset): use LyXTextClass::floats
9393
9394         * MenuBackend.C (expandFloatListInsert):
9395         (expandFloatInsert):
9396         (expandToc):
9397
9398         * text2.C (setCounter):
9399
9400         * LaTeXFeatures.C (useFloat):
9401         (getFloatDefinitions):
9402
9403         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9404
9405         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9406         floatlist_, with accessor floats().
9407
9408         * FloatList.h: remove global FloatList
9409
9410 2002-08-26  André Pönitz <poenitz@gmx.net>
9411
9412         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9413
9414         * BufferView.h:
9415         * BufferView2.C:
9416         * BufferView_pimpl.C:
9417         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9418
9419 2002-08-25  John Levon  <levon@movementarian.org>
9420
9421         * LyXAction.C: fix margin note description
9422
9423 2002-08-24  John Levon  <levon@movementarian.org>
9424
9425         * buffer.C:
9426         * bufferlist.C:
9427         * bufferview_funcs.C:
9428         * lyxfont.C:
9429         * undo_funcs.C: cleanups
9430
9431         * lyxfunc.C: disable CUT/COPY when no selection
9432
9433 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9434
9435         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9436         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9437
9438         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9439         Add backward compatibility to "mono", "gray" and "no".
9440
9441 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9442
9443         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9444         (and file_format >= 200).
9445
9446 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9447
9448         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9449
9450 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9451
9452         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9453
9454 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9455
9456         * BufferView_pimpl.C:
9457         * LyXAction.C:
9458         * buffer.C:
9459         * commandtags.h:
9460         * lyxfunc.C:
9461         * paragraph.[Ch]:
9462         * text2.C:
9463         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9464         inset and code to make it  work with the paragraph code. The inset
9465         can be anywhere in the paragraph, but will only do the expected
9466         thing in LaTeX if the layout file contains the parameter line
9467                         OptionalArgs    1
9468         (or more generally, a nonzero value) for that layout.
9469
9470 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9471
9472         * paragraph.h: remove the declaration of undefined counters class
9473         function.
9474
9475 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9476
9477         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9478         Dr. Richard Hawkins.
9479
9480 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9481
9482         * paragraph_funcs.h: remove some unneeded includes
9483
9484         * text.C (backspace): pasteParagraph now in global scipe
9485
9486         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9487         (pasteSelection): ditto
9488
9489         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9490         * paragraph_funcs.C (pasteParagraph): ... here
9491
9492 2002-08-20  André Pönitz <poenitz@gmx.net>
9493
9494         * commandtags.h: new LFUNs for swapping/copying table row/colums
9495
9496         * LyXAction.C:
9497         * lyxfunc.C: support for new lfuns
9498
9499 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9500
9501         * tabular.C:
9502         * buffer.[Ch]: remove NO_COMPABILITY stuff
9503
9504 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9505
9506         * boost.C (throw_exception): new file, with helper function for
9507         boost compiled without exceptions.
9508
9509         * paragraph.h:
9510         * lyxlength.C:
9511         * buffer.C:
9512         * ParameterStruct.h:
9513         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9514
9515         * bufferlist.C (emergencyWriteAll): use boost bind
9516
9517         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9518
9519         * text.C: include paragraph_funcs.h
9520         (breakParagraph): breakParagraph is now in global scope
9521
9522         * paragraph_funcs.[Ch]: new files
9523
9524         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9525         global scope
9526
9527         * buffer.C: include paragraph_funcs.h
9528         (insertStringAsLines): breakParagraph is now in global scope
9529
9530         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9531         paragraph_funcs.C
9532
9533         * CutAndPaste.C: include paragraph_funcs.h
9534         (cutSelection): breakParagraphConservative is now in global scope
9535         (pasteSelection): ditto
9536
9537         * buffer.h: declare oprator== and operator!= for
9538         Buffer::inset_iterator
9539
9540         * bufferlist.C (emergencyWrite): don't use fmt(...)
9541
9542         * text3.C: add using std::endl
9543
9544         * BufferView.C (moveCursorUpdate): remove default arg
9545
9546 2002-08-20  André Pönitz <poenitz@gmx.net>
9547
9548         * buffer.[Ch]: move inline functions to .C
9549
9550         * BufferView2.C:
9551         * BufferView_pimpl.C:
9552         * text.C:
9553         * buffer.[Ch]: use improved inset_iterator
9554
9555         * buffer.C:
9556         * paragraph.[Ch]: write one paragraph at a time
9557
9558 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9559
9560         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9561         style if style is not specified.
9562
9563 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * text2.C (setCounter): when searching for right label for a
9566         caption, make sure to recurse to parent insets (so that a caption
9567         in a minipage in a figure float works) (bug #568)
9568
9569 2002-08-20  André Pönitz <poenitz@gmx.net>
9570
9571         * text3.C: new file for LyXText::dispatch() and helpers
9572
9573         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9574
9575         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9576
9577 2002-08-19  André Pönitz <poenitz@gmx.net>
9578
9579         * lyxtext.h:
9580         * text.C: new LyXText::dispatch()
9581
9582         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9583
9584 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9585
9586         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9587
9588         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9589         Hebrew text.
9590
9591 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9592
9593         * Makefile.am: use $(variables) instead of @substitutions@
9594
9595 2002-08-15  André Pönitz <poenitz@gmx.net>
9596
9597         * lyxfunc.C:
9598         * BufferView_pimpl.C: streamlining mathed <-> outer world
9599         interaction
9600
9601         * commandtags.h:
9602         * LyXAction.C: remove unused LFUN_MATH
9603
9604 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9605
9606         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9607
9608 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9609
9610         * paragraph.C (Paragraph): reformat a bit
9611         (cutIntoMinibuffer): use builtin InsetList function instad of
9612         doing it manually.
9613         (getInset): ditto
9614
9615         * buffer.C: include boost/bind.hpp, add using std::for_each
9616         (writeFileAscii): use ParagraphList iterators
9617         (validate): use for_each for validate traversal of paragraphs
9618         (getBibkeyList): use ParagraphList iterators
9619         (resizeInsets): use for_each to resizeInsetsLyXText for all
9620         paragraphs.
9621         (getParFromID): use ParagraphList iterators
9622
9623         * BufferView2.C (lockInset): use paragraph list and iterators
9624
9625 2002-08-14  John Levon  <levon@movementarian.org>
9626
9627         * lyxserver.C: remove spurious xforms include
9628
9629 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9630
9631         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9632
9633 2002-08-13  André Pönitz <poenitz@gmx.net>
9634
9635         * LyXAction.[Ch]:
9636         * lyxfunc.C: further cleaning
9637
9638 2002-08-13  André Pönitz <poenitz@gmx.net>
9639
9640         * funcrequest.h: new constructor
9641
9642         * funcrequest.C: move stuff here from .h
9643
9644         * Makefile.am:
9645         * BufferView_pimpl.C:
9646         * LyXAction.C:
9647         * toc.C:
9648         * lyxfunc.C: subsequent changes
9649
9650         * lyxfunc.h: new view() member function
9651
9652         * lyxfunc.C: subsequent changes
9653
9654 2002-08-13  Angus Leeming  <leeming@lyx.org>
9655
9656         * BufferView2.C:
9657         * BufferView_pimpl.C:
9658         * buffer.C:
9659         * converter.C:
9660         * importer.C:
9661         * lyxfunc.C:
9662         * lyxvc.C:
9663         * toc.C:
9664         * vc-backend.C:
9665         changes due to the changed LyXView interface that now returns references
9666         to member variables not pointers.
9667
9668 2002-08-13  Angus Leeming  <leeming@lyx.org>
9669
9670         * WordLangTuple (word, lang_code): return references to strings,
9671         not strings.
9672
9673         * BufferView.h:
9674         * SpellBase.h:
9675         * lyxtext.h: forward-declare WordLangTuple.
9676
9677         * BufferView2.C:
9678         * ispell.C:
9679         * pspell.C:
9680         * text.C: #include "WordLangTuple.h".
9681
9682         * lyxtext.h:
9683         * text.C: (selectNextWordToSpellcheck): constify return type.
9684
9685 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9686
9687         * buffer.C:
9688         * buffer.h:
9689         * lyxtext.h:
9690         * paragraph.C:
9691         * paragraph_pimpl.h:
9692         * text.C:
9693         * text2.C:
9694         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9695         suggested by Angus.
9696         Made updateCounter always count from start of buffer, and removed
9697         second argument (par).
9698         Reverted floats number display to '#'. Perhaps I'll try again when the
9699         code base is sanitized a bit.
9700
9701 2002-08-12  Angus Leeming  <leeming@lyx.org>
9702
9703         * buffer.[Ch] (getLabelList): constify.
9704
9705 2002-08-07  André Pönitz <poenitz@gmx.net>
9706
9707         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9708
9709         * funcrequest.h: extension to keep mouse (x,y) position
9710
9711 2002-08-12  Juergen Vigna  <jug@sad.it>
9712
9713         * BufferView2.C (insertErrors): forbid undo when inserting error
9714         insets.
9715
9716         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9717
9718 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9719
9720         * ParagraphList.[Ch]: new files
9721
9722         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9723
9724         * BufferView2.C (lockInset): ParagraphList changes
9725         * toc.C: ditto
9726         * text2.C: ditto
9727         * bufferlist.C: ditto
9728         * buffer.h: ditto
9729         * buffer.C: ditto
9730
9731 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9732
9733         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9734         unused class variable counter_,
9735
9736         * paragraph.[Ch] (getFirstCounter): delete unused function
9737
9738         * counters.C: include LAssert.h
9739         (reset): add a new function with no arg, change other version to
9740         not have def. arg and to not allow empty arg.
9741
9742         * text2.C (setCounter): remove empty arg from call to Counters::reset
9743
9744 2002-08-11  John Levon  <levon@movementarian.org>
9745
9746         * Makefile.am: add WordLangTuple.h
9747
9748 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9749
9750         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9751         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9752
9753         * insets/insettext.C: InsetList changes
9754
9755         * graphics/GraphicsSupport.C (operator()): InsetList changes
9756
9757         * toc.C (getTocList): InsetList changes
9758
9759         * paragraph_pimpl.[Ch]: InsetList changes
9760
9761         * paragraph.[Ch]: InsetList changes
9762
9763         * buffer.C (inset_iterator): InsetList changes
9764         (setParagraph): ditto
9765         * buffer.h (inset_iterator): ditto
9766         * iterators.C (operator++): ditto
9767         * iterators.h: ditto
9768
9769         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9770
9771         * InsetList.[Ch]: new files, most InsetList handling moved out of
9772         paragraph.C.
9773
9774         * BufferView2.C (removeAutoInsets): InsetList changes
9775         (lockInset): ditto
9776         (ChangeInsets): ditto
9777
9778 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9779
9780         * paragraph_pimpl.h (empty): new function
9781
9782         * paragraph.[Ch] (empty): new function
9783
9784         * other files: use the new Paragraph::empty function
9785
9786 2002-08-09  John Levon  <levon@movementarian.org>
9787
9788         * lyxtext.h: remove unused refresh_height
9789
9790 2002-08-09  John Levon  <levon@movementarian.org>
9791
9792         * Makefile.am:
9793         * sgml.h:
9794         * sgml.C:
9795         * buffer.C:
9796         * paragraph.h:
9797         * paragraph.C: move sgml char escaping out of paragraph
9798
9799         * paragraph.h:
9800         * paragraph.C: remove id setter
9801
9802         * buffer.C:
9803         * paragraph.C:
9804         * paragraph_pimpl.C: remove dead tex_code_break_column
9805
9806         * bufferview_funcs.C: small cleanup
9807
9808         * lyxfunc.C: remove dead proto
9809
9810         * lyxtext.h: make some stuff private. Remove some dead stuff.
9811
9812         * lyxgluelength.C: make as[LyX]String() readable
9813
9814 2002-08-08  John Levon  <levon@movementarian.org>
9815
9816         * LyXAction.h:
9817         * LyXAction.C:
9818         * MenuBackend.C:
9819         * ToolbarDefaults.C:
9820         * lyxfunc.C:
9821         * lyxrc.C:
9822         * toc.C: lyxaction cleanup
9823
9824 2002-08-08  John Levon  <levon@movementarian.org>
9825
9826         * BufferView2.C: small cleanup
9827
9828         * lyxfind.h:
9829         * lyxfind.C: move unnecessary header into the .C
9830
9831 2002-08-08  John Levon  <levon@movementarian.org>
9832
9833         * funcrequest.h: just tedious nonsense
9834
9835         * lyx_main.h:
9836         * lyx_main.C: cleanups
9837
9838         * buffer.C:
9839         * vspace.C: remove dead header lyx_main.h
9840
9841 2002-08-07  Angus Leeming  <leeming@lyx.org>
9842
9843         * Paragraph.[Ch]:
9844         * paragraph_pimpl.h:
9845         Forward declare class Counters in paragraph.h by moving the ctrs member
9846         variable into Paragraph::Pimpl.
9847         (counters): new method, returning a reference to pimpl_->ctrs.
9848
9849         * text2.C: ensuing changes.
9850
9851 2002-08-07  John Levon  <levon@movementarian.org>
9852
9853         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9854
9855         * BufferView_pimpl.C: announce X selection on double/triple
9856           click
9857
9858         * lyx_main.C: use correct bool in batch dispatch
9859
9860         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9861
9862 2002-08-07  André Pönitz <poenitz@gmx.net>
9863
9864         * funcrequest.h: new class to wrap a kb_action and its argument
9865
9866         * BufferView.[Ch]:
9867         * BufferView_pimpl[Ch]:
9868         * LaTeX.C:
9869         * LyXAction.[Ch]:
9870         * lyxfunc.[Ch]:
9871         * lyxrc.C: subsequent changes
9872
9873
9874 2002-08-07  John Levon  <levon@movementarian.org>
9875
9876         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9877           document options change.
9878
9879 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9880
9881         * counters.[Ch]
9882         * text2.C
9883         * paragraph.[Ch]
9884         * makefile.am: move counters functionality over from
9885         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9886
9887 2002-08-06  John Levon  <levon@movementarian.org>
9888
9889         * WordLangTuple.h: new file for word + language code tuple
9890
9891         * SpellBase.h:
9892         * pspell.h:
9893         * pspell.C:
9894         * ispell.h:
9895         * ispell.C:
9896         * lyxtext.h:
9897         * text.C:
9898         * text2.C:
9899         * BufferView.h:
9900         * BufferView2.C: use WordLangTuple
9901
9902         * layout.h:
9903         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9904
9905 2002-08-06  John Levon  <levon@movementarian.org>
9906
9907         * lyx_main.C: fix cmdline batch handling
9908
9909 2002-08-06  André Pönitz <poenitz@gmx.net>
9910
9911         * lyxrc.C: set default for show_banner to true
9912
9913 2002-08-06  John Levon  <levon@movementarian.org>
9914
9915         * pspell.C: fix a crash, and allow new aspell to work
9916
9917 2002-08-06  John Levon  <levon@movementarian.org>
9918
9919         * lyxfunc.C:
9920         * kbmap.C: small cleanup
9921
9922         * vspace.h:
9923         * vspace.C: add const
9924
9925 2002-08-05  John Levon  <levon@movementarian.org>
9926
9927         * LyXAction.C: back to tabular-insert
9928
9929 2002-08-04  John Levon  <levon@movementarian.org>
9930
9931         * BufferView.h:
9932         * BufferView.C: cosmetic change
9933
9934         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9935
9936         * bufferlist.C:
9937         * buffer.h:
9938         * buffer.C:
9939         * lyxcb.h:
9940         * lyxcb.C:
9941         * lyxserver.C:
9942         * lyxvc.C:
9943         * vc-backend.C:
9944         * BufferView2.C: purge all "Lyx" not "LyX" strings
9945
9946         * lyxcursor.h:
9947         * lyxcursor.C: attempt to add some documentation
9948
9949         * lyxfunc.C:
9950         * commandtags.h:
9951         * LyXAction.C:
9952         * ToolbarDefaults.C:
9953         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9954           merge with LFUN_TABULAR_INSERT
9955
9956         * Makefile.am:
9957         * SpellBase.h:
9958         * ispell.h:
9959         * ispell.C:
9960         * pspell.h:
9961         * pspell.C: split up i/pspell implementations into separate
9962           files, many cleanups
9963
9964         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9965
9966         * text2.C: some cleanup
9967
9968         * lyxfunc.C: don't check for isp_command == "none" any more, it
9969           didn't make any sense
9970
9971 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9972
9973         * counters.[Ch]
9974         * text2.C
9975         * paragraph.[Ch]
9976         * makefile.am: move counters functionality over
9977         from text2.C/paragraph.[Ch] to counters.[Ch], and
9978         make proper C++.
9979 2002-08-02  John Levon  <levon@movementarian.org>
9980
9981         * buffer.C: s/lyxconvert/lyx2lyx/
9982
9983 2002-08-02  Angus Leeming  <leeming@lyx.org>
9984
9985         * lyxlex.C: revert John's change as it breaks reading of the user
9986         preamble.
9987
9988 2002-08-02  Angus Leeming  <leeming@lyx.org>
9989
9990         * importer.C (Import):
9991         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9992         changes due to LyXView::view() now returning a boost::shared_ptr.
9993
9994 2002-08-02  John Levon  <levon@movementarian.org>
9995
9996         * lyxlex.C: small cleanup
9997
9998 2002-08-02  John Levon  <levon@movementarian.org>
9999
10000         * text2.C (status): small cleanup, no logic change
10001
10002 2002-08-01  John Levon  <levon@movementarian.org>
10003
10004         * buffer.h:
10005         * buffer.C (writeFile): don't output alerts, caller
10006           handles this
10007
10008         * bufferlist.C:
10009         * lyx_cb.C: from above
10010
10011         * lyxfunc.C: allow to open non-existent files
10012
10013 2002-07-31  John Levon  <levon@movementarian.org>
10014
10015         * lyxserver.C: don't let incidental errors get
10016           in the way (errno)
10017
10018 2002-07-30  John Levon  <levon@movementarian.org>
10019
10020         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10021
10022 2002-07-30  John Levon  <levon@movementarian.org>
10023
10024         * lyxserver.h:
10025         * lyxserver.C: remove I/O callback too
10026
10027 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10030         log.
10031
10032 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10033
10034         * many files: strip,frontStrip -> trim,ltrim,rtrim
10035
10036 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10037
10038         * PrinterParams.h: remove extern containsOnly, and include
10039         support/lstrings.h instead.
10040
10041         * LaTeX.C (scanAuxFile): modify because of strip changes
10042         (deplog): ditto
10043         * buffer.C (makeLaTeXFile): ditto
10044         * bufferparams.C (writeFile): ditt
10045         * lyxfont.C (stateText): ditto
10046         * lyxserver.C (read_ready): ditto
10047         * vc-backend.C (scanMaster): ditto
10048
10049         * BufferView_pimpl.h: ws changes
10050
10051         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10052
10053 2002-07-26  André Pönitz <poenitz@gmx.net>
10054
10055         * kb_sequence.C: remove unnedred usings
10056
10057 2002-07-26  Juergen Vigna  <jug@sad.it>
10058
10059         * lyxfind.C (LyXReplace): we have to check better if the returned
10060         text is not of theLockingInset()->getLockingInset().
10061
10062 2002-07-25  Juergen Vigna  <jug@sad.it>
10063
10064         * lyxfind.C (LyXReplace): don't replace if we don't get the
10065         right LyXText.
10066
10067         * undo_funcs.C (createUndo): remove debugging code.
10068
10069 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10070
10071         * buffer.C (parseSingleLyXformat2Token): Use default placement
10072         when reading old floats.
10073
10074         * FloatList.C (FloatList): Change the default placement of figure
10075         and tables to "tbp".
10076
10077 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10078
10079         * MenuBackend.C: using std::max
10080
10081 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * MenuBackend.C (expandToc):
10084         (expandToc2): code moved from xforms menu frontend. It is now
10085         generic and TOCs are transparent to menu frontends.
10086
10087 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10088
10089         * toc.C (getTocList): protect against buf=0
10090
10091         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10092         Menu as first parameter. Now, this calls itself recursively to
10093         expand a whole tree (this will be useful for TOC handling)
10094         (expandFloatInsert): remove 'wide' version of floats
10095
10096         * MenuBackend.h (submenuname): returns the name of the submenu.
10097         (submenu): returns the submenu itself, provided it has been
10098         created by MenuBackend::expand
10099
10100 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10101
10102         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10103         insets which have noFontChange == true. (bug #172)
10104
10105 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10106
10107         * BufferView_pimpl.C: add connection objects and use them...
10108         (Pimpl): here.
10109
10110 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10111
10112         * MenuBackend.C (expandLastfiles):
10113         (expandDocuments):
10114         (expandFormats):
10115         (expandFloatListInsert):
10116         (expandFloatInsert):
10117         (expand): split expand in parts
10118
10119 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * lyx_gui.C: use lyx_gui::exit()
10122
10123 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * LyXAction.C: show the failing pseudo action
10126
10127 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10128
10129         * buffer.C (readFile): Run the lyxconvert script in order to read
10130         old files.
10131
10132 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * LyXAction.C:
10135         * commandtags.h:
10136         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10137
10138 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10139
10140         * LyXAction.C:
10141         * commandtags.h:
10142         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10143
10144 2002-07-22  Herbert Voss  <voss@lyx.org>
10145
10146         * lengthcommon.C:
10147         * lyxlength.[Ch]: add support for the vertical lengths
10148
10149 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * toc.[Ch]: std:: fixes
10152
10153 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10154
10155         * lyxrc.C: do not include lyx_main.h
10156
10157         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10158         for layouts
10159
10160         * lyxrc.C:
10161         * encoding.C:
10162         * bufferlist.C:
10163         * BufferView2.C: include "lyxlex.h"
10164
10165         * tabular.h:
10166         * bufferparams.h: do not #include "lyxlex.h"
10167
10168         * lyxtextclasslist.C (Add): remove method
10169         (classlist): renamed to classlist_
10170
10171         * paragraph_pimpl.C:
10172         * paragraph.C:
10173         * text2.C:
10174         * CutAndPaste.C:
10175         * bufferview_funcs.C:
10176         * bufferlist.C:
10177         * text.C:
10178         * LaTeXFeatures.C:
10179         * buffer.C:
10180         * toc.C (getTocList): use BufferParams::getLyXTextClass
10181
10182         * toc.C (getTocList): use InsetFloat::addToToc
10183
10184         * toc.[Ch]: new files, containing helper functions to handle table
10185         of contents
10186
10187         * lyxfunc.C (dispatch): no need to remove spaces around command
10188         given as a string
10189         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10190         first command of the sequence; it is not very clever, but I do not
10191         have a better idea, actually
10192
10193         * LyXAction.C (LookupFunc): make sure to remove space at the
10194         beginning and end of the command
10195
10196 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10197
10198         * MenuBackend.C (getMenubar): new method: return the menubar of
10199         this menu set
10200         (read): treat differently reading of menu and menubar (in
10201         particular, the menubar has no name now)
10202         (Menu::menubar): remove
10203
10204         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10205         saving is finished
10206
10207 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10208
10209         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10210         a bibitem inset in a RTL paragraph.
10211
10212 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * paragraph_pimpl.C: constify
10215
10216         * BufferView_pimpl.C:
10217         * LaTeX.C:
10218         * lyxfunc.C: fix dispatch in a nicer way
10219
10220 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10221
10222         * lyxfunc.C (dispatch):
10223         * BufferView_pimpl.C:
10224         * BufferView_pimpl.h:
10225         * BufferView.C:
10226         * BufferView.h: rename Dispatch() to dispatch()
10227
10228         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10229
10230         * lyxlayout.C (Read): honor DependsOn tag
10231
10232         * lyxlayout.[Ch] (depends_on): new method
10233
10234         * version.C.in: update lyx_docversion
10235
10236         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10237
10238         * paragraph.C (validate): remove from here...
10239         * paragraph_pimpl.C (validate): ... and move here
10240         (isTextAt): make it const
10241
10242         * buffer.C (getLists): ws cleanup
10243
10244 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10245
10246         * language.C (read): Use iso8859-1 encoding in latex_lang
10247         (this prevents LyX from crashing when using iso10646-1 encoding).
10248
10249 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10250
10251         * text2.C (toggleInset): if cursor is inside an inset, close the
10252         inset and leave cursor _after_ it
10253
10254 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10255
10256         * lyxfunc.C: move minibuffer completion handling out of here
10257
10258 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * BufferView_pimpl.C:
10261         * LaTeX.C: fix dispatch calls
10262
10263 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10264
10265         * text.C (drawChars): Fix Arabic text rendering.
10266
10267 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10268
10269         * LyXAction.C:
10270         * commandtags.h:
10271         * lyxfunc.C: remove message-push/pop
10272
10273         * lyxserver.C:
10274         * lyxfunc.h:
10275         * lyxfunc.C: rationalise some code by removing verboseDispatch
10276           in favour of a bool argument to dispatch()
10277
10278 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10279
10280         * lyx_main.C (init): make sure to read symlinks as absolute paths
10281
10282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10283
10284         * lyxfunc.h:
10285         * lyxfunc.C: no need for commandshortcut to be a member
10286
10287 2002-07-15  André Pönitz <poenitz@gmx.net>
10288
10289         * converter.C: add support for $$s (scripts from lib/scripts dir)
10290         * lyx_main.C: white space
10291
10292 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10293
10294         * bufferlist.C:
10295         * lyxrc.h:
10296         * lyxrc.C: remove second exit confirmation
10297
10298 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * BufferView.h:
10301         * BufferView.C:
10302         * BufferView2.C:
10303         * BufferView_pimpl.h:
10304         * BufferView_pimpl.C:
10305         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10306
10307 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10308
10309         * MenuBackend.C (expand): add numeric shortcuts to document menu
10310
10311         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10312
10313 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10314
10315         * lyxfont.C (setLyXFamily):
10316         (setLyXSeries):
10317         (setLyXShape):
10318         (setLyXSize):
10319         (setLyXMisc):
10320         (lyxRead):
10321         * debug.C (value):
10322         * buffer.C (asciiParagraph): use ascii_lowercase
10323
10324 2002-07-15  Mike Fabian  <mfabian@suse.de>
10325
10326         * lyxlex_pimpl.C (search_kw):
10327         * lyxlex.C (getLongString):
10328         * converter.h (operator<):
10329         * converter.C (operator<):
10330         * buffer.C (parseSingleLyXformat2Token):
10331         (asciiParagraph):
10332         * ToolbarDefaults.C (read):
10333         * MenuBackend.C (checkShortcuts):
10334         (read):
10335         * LColor.C (getFromGUIName):
10336         (getFromLyXName): use the compare_ascii_no_case instead of
10337         compare_no_case, because in turkish, 'i' is not the lowercase
10338         version of 'I', and thus turkish locale breaks parsing of tags.
10339
10340 2002-07-16  Angus Leeming  <leeming@lyx.org>
10341
10342         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10343         now takes a Buffer const & argument.
10344
10345 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * BufferView.C (resize): check there's a buffer to resize
10348
10349 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * lyxfunc.C: remove dead code
10352
10353         * lyxserver.h:
10354         * lyxserver.C: use lyx_guii::set_read_callback
10355
10356 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10357
10358         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10359         an inset in a RTL paragraph.
10360
10361 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * lyxfunc.C: repaint after a font size update
10364
10365 2002-07-15  André Pönitz <poenitz@gmx.net>
10366
10367         * lyxlength.C: inBP should be able to return negative values
10368
10369 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10370
10371         * lyxfunc.C: use lyx_gui::update_fonts()
10372
10373 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * lyxfunc.C: use lyx_gui::update_color()
10376
10377 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * bufferlist.C:
10380         * lyxfunc.h:
10381         * lyxfunc.C:
10382         * lyxrc.h:
10383         * lyxrc.C: remove file->new asks for name option, and let
10384           buffer-new take an argument
10385
10386 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10387
10388         * BufferView_pimpl.C: remove unneeded extra repaint()
10389
10390 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * LyXAction.C: allow command-sequence with NoBuffer
10393
10394         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10395
10396 2002-07-10  Angus Leeming  <leeming@lyx.org>
10397
10398         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10399
10400 2002-07-09  Angus Leeming  <leeming@lyx.org>
10401
10402         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10403
10404 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * lengthcommon.h: whitespace
10407
10408         * lyxfunc.C: update scrollbar after goto paragraph
10409
10410         * lyxtext.h: factor out page break drawing, and fix it so
10411           page break/added space paints as selected nicely
10412
10413 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10414
10415         * BufferView_pimpl.C: add FIXMEs, clean up a little
10416
10417 2002-07-09  André Pönitz <poenitz@gmx.net>
10418
10419         * lyxfont.[Ch]: support for wasy symbols
10420
10421 2002-07-08  André Pönitz <poenitz@gmx.net>
10422
10423         * BufferView_pimpl.C: apply John's patch for #93.
10424
10425 2002-07-05  Angus Leeming  <leeming@lyx.org>
10426
10427         * BufferView_pimpl.C (buffer): generate previews if desired.
10428
10429         * LColor.h: add "preview" to the color enum.
10430
10431         * LColor.C (LColor): add a corresponding entry to the items array.
10432
10433         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10434         with this buffer.
10435
10436 2002-07-05  Angus Leeming  <leeming@lyx.org>
10437
10438         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10439         The body of the code is now in the method that is passed an ostream &
10440         rather than a file name.
10441         Pass an additional only_preamble parameter, useful for the forthcoming
10442         preview stuff.
10443
10444 2002-07-03  André Pönitz <poenitz@gmx.net>
10445
10446         * lyxfunc.C: simplify getStatus() a bit for math stuff
10447
10448 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10449
10450         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10451
10452 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10453
10454         * text.C (changeRegionCase): do not change case of all the
10455         document when region ends at paragraph end (bug #461)
10456
10457 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10458
10459         * paragraph.C (startTeXParParams):
10460         (endTeXParParams): add \protect when necessary
10461
10462 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10463
10464         * BufferView_pimpl.C (workAreaExpose): remove warning
10465
10466 2002-06-27  Angus Leeming  <leeming@lyx.org>
10467
10468         * Makefile.am: add lyxlayout_ptr_fwd.h.
10469
10470 2002-06-26  André Pönitz <poenitz@gmx.net>
10471
10472         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10473
10474 2002-06-25  Angus Leeming  <leeming@lyx.org>
10475
10476         * lyxfunc.C (dispatch): Comment out the call to
10477         grfx::GCache::changeDisplay. The method no longer exists now that the
10478         pixmap generation part of the graphics loader has been moved into
10479         InsetGraphics.
10480
10481 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10482
10483         * text2.C: layout as layout
10484
10485         * text.C: layout as layout
10486
10487         * tabular.C (OldFormatRead): layout as layout
10488
10489         * paragraph_pimpl.C (TeXDeeper): layout as layout
10490         (realizeFont): layout as layout
10491
10492         * paragraph.C (writeFile): layout as layout
10493         (validate): layout as layout
10494         (getFont): layout as layout
10495         (getLabelFont): layout as layout
10496         (getLayoutFont): layout as layout
10497         (breakParagraph): layout as layout
10498         (stripLeadingSpaces): layout as layout
10499         (getEndLabel): layout as layout
10500         (getMaxDepthAfter): layout as layout
10501         (applyLayout): layout as layout
10502         (TeXOnePar): layout as layout
10503         (simpleTeXOnePar): layout as layout
10504         (TeXEnvironment): layout as layout
10505         (layout): layout as layout
10506         (layout): layout as layout
10507
10508         * lyxtextclass.C (compare_name): new functor to work with
10509         shared_ptr, layout as layout
10510         (Read): layout as layout
10511         (hasLayout): layout as layout
10512         (operator): layout as layout
10513         (delete_layout): layout as layout
10514         (defaultLayout): layout as layout
10515
10516         * lyxlayout_ptr_fwd.h: new file
10517
10518         * lyxlayout.C (Read): layout as layout
10519
10520         * lyx_cb.C (MenuInsertLabel): layout as layout
10521
10522         * bufferlist.C (newFile): layout as layout
10523
10524         * buffer.C (readLyXformat2): layout as layout
10525         (parseSingleLyXformat2Token): layout as layout
10526         (insertStringAsLines): layout as layout
10527         (asciiParagraph): layout as layout
10528         (latexParagraphs): layout as layout
10529         (makeLinuxDocFile): layout as layout
10530         (simpleLinuxDocOnePar): layout as layout
10531         (makeDocBookFile): layout as layout
10532         (simpleDocBookOnePar): layout as layout
10533         (getLists): layout as layout
10534
10535         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10536
10537         * CutAndPaste.C (cutSelection): layout as layout
10538         (pasteSelection): layout as layout
10539         (SwitchLayoutsBetweenClasses): layout as layout
10540
10541         * BufferView_pimpl.C (Dispatch): layout as layout
10542         (smartQuote): layout as layout
10543
10544         * BufferView2.C (unlockInset): layout as layout
10545
10546 2002-06-24  André Pönitz <poenitz@gmx.net>
10547
10548         * lyxfunc.C: fix #487
10549
10550 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * lyxrc.h:
10553         * lyxrc.C:
10554         * lyxfunc.C: remove display_shortcuts, show_banner
10555
10556 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * Buffer_pimpl.C: oops, update on resize
10559
10560 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10561
10562         * buffer.C:
10563         * converter.C:
10564         * exporter.C:
10565         * lyxfunc.C:
10566         * BufferView.h:
10567         * BufferView.C: use repaint()
10568
10569         * BufferView_pimpl.h:
10570         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10571           as it's a clearer description. Remove superfluous
10572           redraws.
10573
10574 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * text.C: fix bug 488. Not ideal, but getting
10577           getWord() to work properly for the insets that
10578           matter is more difficult ...
10579
10580 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * BufferView_pimpl.C:
10583         * LyXAction.C:
10584         * commandtags.h:
10585         * lyxfunc.C: remove the six million index lyxfuncs to just
10586           one, and DTRT (bug 458)
10587
10588 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * BufferView.h:
10591         * BufferView.C:
10592         * BufferView_pimpl.h:
10593         * BufferView_pimpl.C: clean up resize() stuff,
10594           and unnecessary updateScreen()s
10595
10596 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView.h:
10599         * BufferView.C:
10600         * BufferView_pimpl.h:
10601         * BufferView_pimpl.C:
10602         * lyxfind.h:
10603         * lyxfind.C:
10604         * minibuffer.C: remove focus management of workarea,
10605           not needed. Use screen's greyOut()
10606
10607 2002-06-17  Herbert Voss  <voss@lyx.org>
10608
10609         * converter.C: (convert) do not post a message, when converting
10610         fails, let the calling function decide what to do in this case
10611
10612 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * lyxfunc.C: tidy up a little
10615
10616 2002-06-16    <alstrup@diku.dk>
10617
10618         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10619         Got rid of FORMS_H_LOCATION include. Now we are
10620         GUII.
10621
10622 2002-06-15  LyX Development team  <lyx@rilke>
10623
10624         * buffer.[Ch] (sgmlOpenTag):
10625         (sgmlCloseTag): Added support for avoiding pernicious mixed
10626         content. Return number of lines written.
10627
10628         (makeLinuxDocFile):
10629         (makeDocBookFile): Fixed calls to sgml*Tag.
10630         Simple white space clean.
10631
10632         (simpleDocBookOnePar): Simple white space clean.
10633
10634         * tabular.[Ch] (docBook): Renamed to docbook and got another
10635         argument to related with the pernicious mixed content.
10636
10637         (docbookRow): Fixed calls for docbook inset method.
10638
10639 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10640
10641         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10642         so it's X11 independent.
10643
10644         * kb*.[Ch]: ditto.
10645
10646         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10647
10648 2002-06-15  Lyx Development team  <lyx@electronia>
10649
10650         * intl.h: Renamed getTrans to getTransManager.
10651
10652 2002-06-14  Angus Leeming  <leeming@lyx.org>
10653
10654         * Makefile.am: nuke forgotten stl_string_fwd.h.
10655
10656 2002-06-12  Angus Leeming  <leeming@lyx.org>
10657
10658         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10659
10660 2002-06-13  Angus Leeming  <leeming@lyx.org>
10661
10662         * LaTeX.C:
10663         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10664
10665 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10666
10667         * kbmap.C (getiso): add support for cyrillic and greek
10668
10669 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * BufferView.h:
10672         * BufferView.C:
10673         * BufferView_pimpl.h:
10674         * BufferView_pimpl.C: move bogus scrolling logic
10675           to xforms
10676
10677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * lyxfunc.C:
10680         * BufferView_pimpl.C: view->resize() change
10681
10682 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * BufferView_pimpl.C: topCursorVisible
10685           prototype change
10686
10687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * Makefile.am:
10690         * lyx_gui.h:
10691         * lyx_gui.C: move to frontends/
10692
10693         * main.C:
10694         * lyx_main.h:
10695         * lyx_main.C: changes from above
10696
10697 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10698
10699         * intl.C:
10700         * intl.h:
10701         * kbmap.C:
10702         * kbsequence.C:
10703         * lyx_cb.C:
10704         * lyx_main.C: minor tidy
10705
10706 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * BufferView_pimpl.h:
10709         * BufferView_pimpl.C:
10710         * BufferView.h:
10711         * BufferView.C: make painter() const,
10712           remove dead code
10713
10714         * BufferView2.C: use screen() accessor
10715
10716         * lyx_main.h:
10717         * lyx_main.C: some minor cleanup
10718
10719 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * BufferView_pimpl.h:
10722         * BufferView_pimpl.C: remove enter/leaveView,
10723           use workHeight()
10724
10725 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10726
10727         * BufferView.h:
10728         * BufferView.C:
10729         * BufferView2.C:
10730         * BufferView_pimpl.h:
10731         * BufferView_pimpl.C: only construct screen once,
10732           rename
10733
10734         * lyxrc.C: remove pointless comment
10735
10736 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10737
10738         * BufferView.h:
10739         * BufferView.C: remove active() and belowMouse()
10740
10741         * BufferView_pimpl.h:
10742         * BufferView_pimpl.C: use workarea() not workarea_,
10743           and make it use a scoped_ptr instead
10744
10745 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10746
10747         * lyx_gui.C: add debug message on BadWindow
10748
10749 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10750
10751         * sp_spell.C: fdopen is not part of the C++ standard.
10752
10753         * paragraph.C (InsetIterator): use >= instead of ==
10754
10755 2002-06-07  Angus Leeming  <leeming@lyx.org>
10756
10757         Fixes needed to compile with Compaq cxx 6.5.
10758         * BufferView_pimpl.C:
10759         * DepTable.C:
10760         * buffer.C:
10761         * converter.C:
10762         * encoding.C:
10763         * lyx_gui.C:
10764         * lyx_main.C:
10765         * lyxtextclasslist.C:
10766         * minibuffer.C:
10767         * sp_spell.C:
10768         * tabular_funcs.C:
10769         * vc-backend.C:
10770         all c-library variables have been moved into namespace std. Wrap
10771         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10772
10773         * lyxlength.C:
10774         * tabular-old.C:
10775         * tabular.C:
10776         Add a using std::abs declaration.
10777
10778         * kbmap.h (modifier_pair):
10779         * paragraph.h (InsetTable, InsetList):
10780         * lyxfont.h (FontBits):
10781         type definition made public.
10782
10783         * bufferlist.C (emergencyWriteAll): the compiler complains that
10784         there is more than one possible lyx::class_fun template to choose from.
10785         I re-named the void specialisation as lyx::void_class_fun.
10786
10787         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10788
10789         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10790         the compiler is is unable to find tostr in write_attribute.
10791
10792 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10793
10794         * buffer.C (sgmlError): hide #warning
10795
10796 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10797
10798         * xtl/*: get rid of xtl, which is not in use anyway
10799
10800         * LyXAction.C (init):
10801         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10802         were unimplemented xtl experimentation
10803
10804 2002-06-04  André Pönitz <poenitz@gmx.net>
10805
10806         * lyxfunc.C: disable array operation on simple formulae
10807
10808 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * converter.C: constify a bit
10811
10812 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * lyx_gui.C: check xforms version correctly
10815
10816 2002-04-30  Herbert Voss  <voss@lyx.org>
10817
10818         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10819         "keep" option
10820
10821 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10824           attempt to register it with a VCS)
10825
10826 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10827
10828         * lyx_main.C (init): honor variables LYX_DIR_13x and
10829         LYX_USERDIR_13x
10830
10831 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10832
10833         * buffer.h:
10834         * buffer.C:
10835         * lyx_main.C: fix a crash on bad command line,
10836           and give a useful exit status on error
10837
10838         * lyxfunc.C (doImport): allow -i lyx to work
10839
10840 2002-03-30  André Pönitz <poenitz@gmx.net>
10841
10842         * lyxfunc.C: mathed font changes
10843
10844 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10845
10846         * LaTeX.C:
10847         * importer.h:
10848         * importer.C:
10849         * lyx_sty.h:
10850         * lyx_sty.C:
10851         * lyxlex.C:
10852         * lyxrow.h:
10853         * lyxtext.h:
10854         * paragraph.h:
10855         * paragraph.C:
10856         * texrow.h:
10857         * texrow.C:
10858         * text.C:
10859         * trans_mgr.h: srcdocs, and some minor cleanups
10860
10861 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10862
10863         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10864         call getFont all the time)
10865
10866 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10867
10868         * switch from SigC signals to boost::signals
10869
10870 2002-05-29  André Pönitz <poenitz@gmx.net>
10871
10872         * paragraph_pimpl.C (getChar): don't call size() too often...
10873
10874 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10875
10876         * paragraph_pimpl.C (insertChar): do not try to update tables when
10877         appending (pos == size())
10878
10879         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10880         in order to reduce drastically the number of comparisons needed to
10881         parse a large document
10882
10883 2002-05-29  André Pönitz <poenitz@gmx.net>
10884
10885         * text.C:
10886         * text2.C:
10887         * lyxtextclass.C:
10888         * sp_pspell.h:
10889         * textclasslist.[Ch]:
10890         * sp_ispell.h: whitespace change
10891
10892 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10893
10894         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10895         lyxaction directly now.
10896
10897 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10898
10899         * trans.C:
10900         * lyxfont.C:
10901         * lyxvc.C: remove unused headers
10902
10903 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * Makefile.am:
10906         * buffer.h:
10907         * undostack.h:
10908         * undostack.C:
10909         * undo_funcs.h:
10910         * undo_funcs.C: some cleanups. Use shared_ptr
10911           and a template for the undo stacks.
10912
10913 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * BufferView_pimpl.h:
10916         * BufferView_pimpl.C:
10917         * kbmap.h:
10918         * kbmap.C:
10919         * kbsequence.h:
10920         * kbsequence.C:
10921         * lyxfunc.h:
10922         * lyxfunc.C:
10923         * text2.C: use key_state/mouse_state
10924
10925 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10926
10927         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10928         and LSubstring
10929
10930         * chset.C: change include order
10931         (loadFile): use boost regex and get rid of LRegex and LSubstring
10932
10933         * Makefile.am (BOOST_LIBS): new variable
10934         (lyx_LDADD): use it
10935
10936         * LaTeX.C: change include order.
10937         (scanAuxFile): use boost regex and get rid of LRegex and
10938         LSubstring
10939         (deplog): ditto
10940
10941 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10942
10943         * ColorHandler.h:
10944         * ColorHandler.C:
10945         * FontInfo.h:
10946         * FontInfo.C: moved to frontends/xforms/
10947
10948         * FontLoader.h:
10949         * FontLoader.C: moved into frontends for GUIIzation
10950
10951         * Makefile.am:
10952         * lyx_gui.C:
10953         * lyxfont.C:
10954         * lyxfunc.C: changes from above
10955
10956 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10957
10958         * LColor.C: remove spurious X include
10959
10960         * BufferView_pimpl.C:
10961         * Makefile.am:
10962         * font.h:
10963         * font.C:
10964         * text.C:
10965         * text2.C: move font metrics to frontends/
10966
10967 2002-05-24  Juergen Vigna  <jug@sad.it>
10968
10969         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10970         setting the undo_cursor.
10971
10972         * ParagraphParameters.h: include local includes first.
10973
10974 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10975
10976         * BufferView_pimpl.C:
10977         * BufferView_pimpl.h:
10978         * Makefile.am:
10979         * WorkArea.h:
10980         * WorkArea.C:
10981         * screen.C: move WorkArea into frontends/
10982
10983         * lyxscreen.h:
10984         * screen.C:
10985         * text.C:
10986         * BufferView.C:
10987         * BufferView2.C: move LyXScreen into frontends/
10988
10989         * lyxlookup.h:
10990         * lyxlookup.C:
10991         * lyx_gui.C: move lyxlookup into frontends/xforms/
10992
10993 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10994
10995         * BufferView2.C:
10996         * BufferView_pimpl.C:
10997         * FontLoader.C:
10998         * LyXView.h:
10999         * LyXView.C:
11000         * Makefile.am:
11001         * WorkArea.C:
11002         * XFormsView.h:
11003         * XFormsView.C:
11004         * buffer.C:
11005         * bufferlist.C:
11006         * bufferview_funcs.C:
11007         * converter.C:
11008         * importer.C:
11009         * lyx_cb.C:
11010         * lyx_gui.C:
11011         * lyx_main.C:
11012         * lyx_find.C:
11013         * lyxfunc.C:
11014         * lyxvc.C:
11015         * minibuffer.C:
11016         * text.C:
11017         * text2.C:
11018         * trans.C:
11019         * vc-backend.C: move LyX/XFormsView into frontends/
11020
11021 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11022
11023         * Makefile.am:
11024         * PainterBase.C:
11025         * PainterBase.h:
11026         * Painter.C:
11027         * Painter.h:
11028         * WorkArea.C:
11029         * WorkArea.h:
11030         * screen.C:
11031         * tabular.C:
11032         * text.C:
11033         * text2.C: move Painter to frontends/
11034
11035 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11036
11037         * buffer.C: comment out some some code that depend upon lyx_format
11038         < 220
11039
11040         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11041         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11042
11043         * buffer.h (NO_COMPABILITY): turn off compability
11044
11045         * ColorHandler.C: include scoped_array.hpp
11046
11047         * font.C: Use more specific smart_ptr header.
11048         * Painter.C: ditto
11049         * gettext.C: ditto
11050         * ShareContainer.h: ditto
11051         * lyx_main.h: ditto
11052         * kbmap.h: ditto
11053         * FontInfo.h: ditto
11054         * BufferView_pimpl.h: ditto
11055         * ColorHandler.h: ditto
11056
11057         * kbmap.C (defkey): change call to shared_ptr::reset
11058
11059 2002-05-21  Juergen Vigna  <jug@sad.it>
11060
11061         * buffer.C (insertErtContents): fix to insert ert asis if it is
11062         non empty. Skip it completely if it contains only whitespaces.
11063
11064 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * BufferView_pimpl.C:
11067         * BufferView2.C: clear selection on paste (bug 393)
11068
11069 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11070
11071         * DepTable.C: include ctime
11072
11073 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11076
11077 2002-05-14  Juergen Vigna  <jug@sad.it>
11078
11079         * text.C (breakParagraph): fixed function to honor the keepempty
11080         layout in the right maner and also to permit the right breaking
11081         algorithm on empty or non empyt keepempty paragraphs.
11082
11083         * paragraph.C (breakParagraph): we have to check also if the par
11084         is really empty (!size()) for isempty otherwise we do the wrong
11085         paragraph break.
11086
11087 2002-05-10  Juergen Vigna  <jug@sad.it>
11088
11089         * buffer.[Ch] : The following are only changes to the ert
11090         compatibility read reading old LaTeX layout and font stuff and
11091         convert it to ERTInsets.
11092
11093         * buffer.h: added isErtInset().
11094
11095         * buffer.C (struct ErtComp): add a fromlayout bool to check
11096         if we're inside a LaTeX layout.
11097         (isErtInset): new helper function.
11098         (insertErtContents): look for other ert insets before this one
11099         and insert the contents there, so that we don't have subsequent
11100         ERT insets with nothing between them. This way we create only one
11101         inset with multiple paragraphs. Also check if we don't insert only
11102         spaces ' ' as they are ignored anyway afterwards in the .tex file
11103         so if we have only spaces we will ignore this latex part in the
11104         new file.
11105         (parseSingleLyXformat2Token \\layout): better compatibility when
11106         reading layout-latex stuff.
11107         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11108         language tag.
11109         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11110         stuff after reading the inset only get the information back from
11111         the stack.
11112
11113 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11114
11115         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11116
11117         * LaTeXFeatures.C (getBabelOptions): New method.
11118
11119 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11120
11121         * BufferView_pimpl.C (Dispatch): work around missing argument for
11122         'layout'
11123
11124 2002-05-08  Juergen Vigna  <jug@sad.it>
11125
11126         * text.C (leftMargin): handle paragraph leftindent.
11127
11128         * paragraph.C (writeFile): write the new \\leftindent tag.
11129         (validate): handle leftindent code.
11130         (TeXEnvironment): handle paragraphleftindent code again.
11131
11132         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11133
11134         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11135         for paragrap_extra indent code and new token \\leftindent.
11136         (latexParagraphs): handle the leftindent as environment.
11137
11138         * ParameterStruct.h: added leftindent support.
11139
11140         * ParagraphParameters.C (leftIndent): added support functions for
11141         the paragraph left indent.
11142
11143         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11144         more appropriate.
11145
11146 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11147
11148         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11149         inside insetERT.
11150
11151         * text.C (computeBidiTables): No bidi in insetERT.
11152
11153         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11154         in RTL documents.
11155
11156 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11157
11158         * version.C.in: pre 5
11159
11160 2002-05-02  José Matos  <jamatos@fep.up.pt>
11161         * buffer.C (makeDocBookFile): white space changes, add newline to
11162         command styles.
11163         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11164
11165         * tabular.C (docBook): fix typo.
11166
11167 2002-05-03  Juergen Vigna  <jug@sad.it>
11168
11169         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11170         change in LyXText as we can not be sure it was not freed.
11171         (drawOneRow): remove unused code.
11172
11173         * text.C (drawInset): redo the calculation of the need_break_row as
11174         it could have a row which was already freed.
11175         (draw): look at the return value of drawInset and return false if
11176         it also returned false.
11177         (paintRowText): look at the return value of draw and return false if
11178         it also returned false.
11179
11180         * lyxtext.h: added bool return type to drawInset() and draw() so that
11181         if we have a change in the row so that the rowbreak has to be redone
11182         we abort drawing as it will be called again.
11183
11184 2002-05-02  Juergen Vigna  <jug@sad.it>
11185
11186         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11187         a change in the maintext also if we're inside an inset.
11188         (Dispatch): set the cursor again after a break line and after the
11189         screen has been updated as it could be we're in a different row.
11190
11191         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11192         to set the cursor behind the pargraph with > size().
11193         (setCursor): check also for the same paragraph when checking where
11194         to put the cursor if we have a NFR inset.
11195
11196         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11197         parts of layout read further up as it still was in the wrong
11198         position.
11199
11200 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * screen.C (drawFromTo): change sine fullRebreak always return
11203         true.
11204
11205         * buffer.C (parseSingleLyXformat2Token): reindent some
11206
11207         * BufferView_pimpl.C (update): change since fullRebreak always
11208         return true.
11209         (Dispatch): git rid of the last hardcoded "Standard"s.
11210
11211 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * text2.[Ch] (fullRebreak): make it return void now that we always
11214         returned true.
11215
11216 2002-04-30  Juergen Vigna  <jug@sad.it>
11217
11218         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11219         ert compatibility check for "latex" layout.
11220
11221 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11222
11223         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11224         minipages: use col% instead of p%, and also use the current font.
11225         (makeLaTeXFile): Fix use babel condition.
11226         (parseSingleLyXformat2Token): Correct font when reading old floats.
11227
11228 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11229
11230         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11231         inserting list of floats.
11232
11233 2002-04-25  Herbert Voss  <voss@lyx.org>
11234
11235         * MenuBackend.C (expand): don't add the graphics extensions to the
11236         export menu
11237
11238 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11239
11240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11241         non-existing layout, do not complain if it was the default layout
11242         of the original class (bug #342)
11243
11244 2002-04-24  Juergen Vigna  <jug@sad.it>
11245
11246         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11247         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11248
11249 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11250
11251         * buffer.C (getBibkeyList): If using \bibliography, return the
11252         option field with the reference itself. Enables us to provide natbib
11253         support when using \bibliography.
11254
11255 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11256
11257         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11258
11259         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11260         natbib is provided by the LaTeX class.
11261
11262 2002-04-23  Juergen Vigna  <jug@sad.it>
11263
11264         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11265         Wakeup functions.
11266
11267         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11268
11269 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11272
11273         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11274         ensuremath around textordmasculine, textordfeminine and
11275         textdegree.
11276
11277 2002-04-19  Juergen Vigna  <jug@sad.it>
11278
11279         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11280         reinitializing the buffer otherwise row-dimensions may be wrong.
11281         (update): reset also the selection cursors if they do exits otherwise
11282         their x/y positions may be wrong.
11283
11284         * text2.C (cursorDown): don't enter the inset if we came from a row
11285         above and are one row over the inset.
11286
11287         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11288         really leaving an inset.
11289
11290 2002-04-18  Juergen Vigna  <jug@sad.it>
11291
11292         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11293         of the selected paragraph does not have the selected layout also if
11294         the last one had!
11295
11296         * text2.C (setLayout): fixed bug which did not change last selected
11297         paragraph.
11298
11299         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11300         changed the read and substituted \\end_float with \\end_inset!
11301
11302         * BufferView_pimpl.C (cursorPrevious):
11303         (cursorNext): fixed to make it work with rows heigher than the work
11304         area without moving the cursor only the draw of the row.
11305         (workAreaMotionNotify): fix jumping over high rows.
11306
11307 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11310         Ressler.
11311
11312 2002-04-16  Juergen Vigna  <jug@sad.it>
11313
11314         * text2.C (setCursor): set also the irow().
11315         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11316         (cursorUp):
11317         (cursorDown): support for locking an inset if the x_fix value goes
11318         inside it. That way I can transverse insets too with cursor up/down.
11319
11320         * lyxrow.h: added irow helper function same as other (i) functions.
11321
11322         * BufferView_pimpl.C (cursorPrevious):
11323         (cursorNext): fixed for insets!
11324
11325 2002-04-15  Juergen Vigna  <jug@sad.it>
11326
11327         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11328         position otherwise it is wrong in some cases.
11329
11330         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11331         inside the inset before the call.
11332
11333 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11334
11335         * buffer.[Ch] (getBibkeyList): make it const.
11336
11337 2002-04-12  Juergen Vigna  <jug@sad.it>
11338
11339         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11340
11341         * text2.C (getCursorX): new helper function
11342         (setCursor): compute also ix_
11343         (setCursorFromCoordinates): set also ix.
11344
11345         * lyxcursor.h: added ix_ and helper functions.
11346
11347         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11348
11349         * buffer.C (insertStringAsLines): dont break paragraph if the this
11350         paragraph is inside an inset which does not permit it!
11351
11352         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11353         also with no chars on this paragraph.
11354         (paintRowText): only paint stuff if it's inside the workarea!
11355
11356         * paragraph.C (breakParagraph): honor keepempty flag and break the
11357         paragraph always below not above.
11358
11359         * BufferView2.C (unlockInset): update the paragraph layout on inset
11360         unlock as we changed paragraph in such a case.
11361
11362         * lyxfind.C (LyXFind): clear the former selection if not found!
11363
11364         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11365         again called in insertChar().
11366
11367         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11368         an inset which uses the whole row!
11369         (rightMargin): ditto.
11370         (insertChar): force a rebreak if we inserted an inset!
11371
11372 2002-03-28  Herbert Voss  <voss@lyx.org>
11373
11374         * lyxlength.[Ch]: add inBP() to get the right PS-point
11375         units (BigPoint). With inPixels we have rounding errors
11376
11377 2002-04-11  Juergen Vigna  <jug@sad.it>
11378
11379         * text2.C (setCursorFromCoordinates): set iy to the right value.
11380         (setCursor): add check if row->previous exists!
11381
11382         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11383         an old float_type as this was the case in the old code!
11384
11385         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11386
11387         * BufferView2.C (showLockedInsetCursor): use iy
11388         (fitLockedInsetCursor): ditto
11389
11390         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11391         locked insets as there we have the right value now.
11392
11393         * lyxcursor.C: added iy_ variable and iy functions to set to the
11394         baseline of cursor-y of the locked inset.
11395
11396         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11397         (setCursor): fixed for insets which need a full row.
11398
11399         * text.C (rowLastPrintable): don't ignore the last space when before
11400         an inset which needs a full row.
11401         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11402         as last character of a row when before a inset which needs a full row.
11403
11404 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11405
11406         * version.C.in: update date
11407
11408         * text2.C (fullRebreak): try to always return true and see what
11409         happens...
11410
11411 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * MenuBackend.C (expand): use Floating::listName
11414
11415         * FloatList.C (FloatList): add listName argument to the built-in
11416         floats
11417
11418         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11419         text associated with the float.
11420
11421 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11422
11423         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11424
11425 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * ShareContainer.h: add a couple of missing typenames.
11428
11429 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11430
11431         * lyxrc.C (getDescription): use _() correctly rather than N_().
11432
11433 2002-03-28  Herbert Voss  <voss@lyx.org>
11434
11435         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11436         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11437
11438 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11439
11440         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11441         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11442
11443 2002-03-29  Juergen Vigna  <jug@sad.it>
11444
11445         * lyxfunc.C (dispatch): add a missing fitCursor call.
11446
11447         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11448         it was scrolled by a cursor move, so return the bool status.
11449
11450         * BufferView.C (fitCursor): return the bool flag also to the outside
11451         world as this is needed.
11452
11453         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11454
11455         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11456         call the edit() as it is not needed (and wrong) IMO.
11457         (workAreaButtonPress): set the screen_first variable before evt.
11458         unlock the inset as this may change screen_first and then we have
11459         a wrong y position for the click!
11460
11461 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11462
11463         * MenuBackend.C (expand): another translation that I missed
11464
11465 2002-03-28  Juergen Vigna  <jug@sad.it>
11466
11467         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11468
11469         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11470
11471 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11474
11475         * MenuBackend.C (expand): fix export/view/update when there is no
11476         document open.
11477
11478 2002-03-27  Herbert Voss  <voss@lyx.org>
11479
11480         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11481         and text%
11482
11483 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11484
11485         * bufferview_funcs.C (currentState): only show paragraph number
11486         for is DEVEL_VERSION is set.
11487
11488         * lyxfunc.C (dispatch): put warning in INFO channel
11489
11490         * MenuBackend.C (expand): translate the name of floats
11491
11492         * FloatList.C (FloatList): mark the float names for translation
11493
11494         * converter.C (convert): use LibScriptSearch
11495
11496 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11497
11498         * MenuBackend.C (defaults): fix default menu (we might as well get
11499         rid of it...)
11500
11501 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11502
11503         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11504         directory.
11505
11506 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * lyxvc.C: reorder includes.
11509
11510 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11513           properly
11514
11515 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11516
11517         * CutAndPaste.C: change layouts earlier on paste
11518           to avoid crashing when calling getFont()
11519
11520 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11521
11522         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11523         irritating #error.
11524
11525 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * WorkArea.C: remove 'Pending' debug message.
11528
11529         * most files: ws cleanup
11530
11531         * buffer.[Ch]: ws changes
11532
11533         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11534
11535 2002-03-21  Juergen Vigna  <jug@sad.it>
11536
11537         * tabular.C (SetMultiColumn): collapse also the contents of the
11538         cells and set the last border right. Added a Buffer const * param.
11539
11540 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11541
11542         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11543         linking or not.
11544
11545 2002-03-19  Juergen Vigna  <jug@sad.it>
11546
11547         * text2.C (clearSelection): reset also xsel_cache.
11548
11549         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11550         where it needs to be called (John tells us to do so too :)
11551         (selectionLost): reset sel_cache.
11552
11553         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11554
11555 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * text2.C (setCursorIntern): put debuging code in INSETS channel
11558
11559 2002-03-19  André Pönitz <poenitz@gmx.net>
11560
11561         * lyxfunc.C: tiny whitespace change
11562
11563 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * ToolbarDefaults.C (init):
11566         * LyXAction.C (init):
11567         * commandtags.h:
11568         * BufferView_pimpl.C (Dispatch):
11569         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11570
11571 2002-03-19  Allan Rae  <rae@lyx.org>
11572
11573         * exporter.C (Export): removeAutoInsets before doing anything else.
11574         While I've just introduced a dependency on BufferView this really is
11575         the best place to clean the buffer otherwise you need to cleanup in
11576         a dozen places before calling export or cleanup in a dozen functions
11577         that export calls.
11578
11579         * converter.C (runLaTeX):
11580         (scanLog): Better handling of removeAutoInsets and screen updates.
11581
11582         * lyxfunc.C (dispatch): small whitespace changes
11583
11584 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11585
11586         * WorkArea.C (C_WorkAreaEvent): return a value.
11587         (event_cb): return 1 if we handled the event, 0 otherwise.
11588
11589         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11590
11591 2002-03-18  Juergen Vigna  <jug@sad.it>
11592
11593         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11594         (GetAdditionalWidth): ditto.
11595         (RightLine): ditto.
11596         (LeftLine): ditto.
11597
11598         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11599         inset if we're there actually (probably not used right now but this
11600         is the direction to go for unifying code).
11601         (paste): disable code to clear the selection.
11602
11603         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11604         inside an InsetText and move the check further up as it is in the
11605         wrong place.
11606
11607         * text2.C (pasteSelection): set a selection over the pasted text.
11608
11609 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11610
11611         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11612         and libgraphics to build on Cygwin.
11613
11614 2002-03-15  Juergen Vigna  <jug@sad.it>
11615
11616         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11617         inserting an Inset into the paragraph. I know this is not the best
11618         fix but we already use current_view in CutAndPaste so we will remove
11619         all of it's using at the same time.
11620
11621         * buffer.C (sgmlError): deactivated function till it is rewritten in
11622         the right mode, now it can create problems.
11623
11624         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11625         before accessing it.
11626
11627 2002-03-14  Juergen Vigna  <jug@sad.it>
11628
11629         * undo_funcs.C (textHandleUndo): do the right thing when updating
11630         the inset after the undo/redo.
11631
11632         * text2.C (setCursor): just some testcode for #44 not ready yet.
11633
11634         * undo_funcs.C (textHandleUndo): set the next() and previous()
11635         pointers of the paragraph to 0 before deleting otherwise we have
11636         problems with the Paragraph::[destructor].
11637
11638         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11639         on a paragraph insertion.
11640
11641 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * buffer.C (asciiParagraph): use += operator for char append to
11644         string.
11645
11646         * paragraph.C (getFontSettings): compare >= not just >
11647         (highestFontInRange): ditto
11648         (setFont): ditto
11649
11650 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * paragraph.C: change several algorithm to be more appripriate for
11653         the problem domain. This is lookip in FontList and in the InsetList.
11654
11655 2002-03-13  André Pönitz <poenitz@gmx.net>
11656
11657         * commandtags.h:
11658         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11659
11660 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * commandtags.h:
11663         * LyXAction.C:
11664         * lyxfunc.C:
11665         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11666
11667 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * Painter.C (display): anon helper function, adjust code for this
11670         change.
11671         (pixmap): remove function.
11672
11673         * Painter.h: remove private display variable.
11674
11675         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11676
11677 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11678
11679         * WorkArea.[Ch]: remove figinset_canvas cruft.
11680
11681 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * lyxtextclass.C (operator): add one item cache optimization.
11684
11685         * bufferlist.h: doxy changes
11686
11687         * bufferlist.C: ws changes
11688
11689         * DepTable.[Ch] (ext_exist): place const in the right spot.
11690
11691         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11692         call resizeInsets.
11693         (workAreaExpose): call resizeInsets when the with BufferView changes.
11694         (Dispatch): adjust for protectedBlank removal
11695         (specialChar): call updateInset if the insert went ok.
11696
11697         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11698         specialChar instead.
11699
11700         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11701
11702         * BufferView.h: doxy change
11703
11704         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11705
11706         * lyxtextclass.C (operator[]): remove non-const version
11707         (defaultLayout): remove non-const version
11708
11709 2002-03-12  Juergen Vigna  <jug@sad.it>
11710
11711         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11712         did resize the LyXText too.
11713
11714         * buffer.C (readLyXformat2): set layout information on newly allocated
11715         paragraphs.
11716
11717         * tabular.C (OldFormatRead): set layout information on the paragraph.
11718
11719 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11720
11721         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11722
11723 2002-03-11  Juergen Vigna  <jug@sad.it>
11724
11725         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11726         plainly wrong.
11727         (resizeCurrentBuffer): force also the insets to resize themselfes.
11728         (moveCursorUpdate): fixed up for InsetText.
11729
11730 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11731
11732         * commandtags.h:
11733         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11734         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11735         value of Dialogs::tooltipsEnabled().
11736         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11737
11738 2002-03-08  Juergen Vigna  <jug@sad.it>
11739
11740         * BufferView_pimpl.C (updateInset): update inset inside inset also
11741         if it isn't inside theLockingInset().
11742
11743 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11744
11745         * buffer.C (asciiParagraph): redo some of the word and line length
11746         handling.
11747         (getLists): look for Caption instead of caption.
11748
11749 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11750
11751         * buffer.C (Buffer): initialize niceFile to true
11752         (makeLaTeXFile):
11753         (makeLinuxDocFile):
11754         (makeDocBookFile): make sure niceFile is true on exit
11755
11756 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11759
11760 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11761
11762         * LyXSendto.C: remove.
11763         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11764         * lyx_gui.C: remove now-redundant comment.
11765         * ColorHandler.h: remove forward declaration of class WorkArea.
11766         * lyxfunc.C: remove #include "WorkArea.h".
11767
11768 2002-03-07  Juergen Vigna  <jug@sad.it>
11769
11770         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11771         got moved away with the DEPM and also set the inset_owner always
11772         right which before could have been omitted.
11773
11774 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11777         wanted layout is not found.
11778
11779 2002-03-07  Juergen Vigna  <jug@sad.it>
11780
11781         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11782
11783 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11784
11785         * paragraph.C (breakParagraph): use default layout not layout of
11786         prev paragraph.
11787         (Paragraph): clear ParagraphParameters.
11788
11789 2002-03-06  Juergen Vigna  <jug@sad.it>
11790
11791         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11792         otherwise it would not be a valid lenght. Fixed a special case in
11793         the minipage compatibility read where we end the document with a
11794         minipage.
11795
11796         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11797         was set as it could be 0 for InsetTexts first entry.
11798
11799 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * paragraph.C (writeFile): if layout is empty write out
11802         defaultLayoutName().
11803
11804         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11805         file without named layout we set layout to defaultLayoutName().
11806
11807 2002-03-06  Juergen Vigna  <jug@sad.it>
11808
11809         * CutAndPaste.C (copySelection): set layout for new paragraph.
11810
11811         * text.C (prepareToPrint): leave ERT inset left aligned
11812         (leftMargin): don't indent paragraphs inside ERT insets
11813
11814 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * paragraph.C (breakParagraph): dont call clear do the work manually
11817
11818         * paragraph.[Ch] (clear): remove function
11819
11820 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11821
11822         * paragraph.C (Paragraph): dont call clear, the work has already
11823         been done.
11824
11825         * lyxtextclass.C (operator): assert if n is empty
11826
11827         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11828         work manually instead.
11829
11830 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * BufferView_pimpl.C: protect selectionLost against text == 0
11833
11834 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * text.C (breakParagraph): fix a setting layout to '0' problem.
11837
11838 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11839
11840         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11841         final location of file, for the included files, and graphics.
11842
11843 2002-03-05  Juergen Vigna  <jug@sad.it>
11844
11845         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11846
11847 2002-03-04  Juergen Vigna  <jug@sad.it>
11848
11849         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11850
11851         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11852         last column of multicolumn cells.
11853         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11854
11855 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11856
11857         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11858         file if it doesn't go to a temporary file.
11859
11860         * buffer.C (sgmlOpenTag):
11861         (sgmlCloseTag):  remove extra newline insertion.
11862
11863 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11864
11865         * text.C (getRowNearY): comment out debug msg
11866
11867 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11868
11869         * text2.C: first -> first_y
11870
11871         * text.C (getRowNearY): add some attemts at a possible
11872         optimization, not working.
11873
11874         * tabular.[Ch]: add BufferParams to several function so that newly
11875         created paragraph can be initialized to he default layotu for the
11876         buffers textclass.
11877
11878         * tabular-old.C (ReadOld): add buf->params to call of Init
11879
11880         * screen.C: rename text->first to text->first_y
11881
11882         * paragraph.C (breakParagraph): always set layout in the broken
11883         paragraph
11884
11885         * lyxtextclass.C (Read): remove lowercase
11886         (hasLayout): ditto
11887         (operator): ditto
11888         (delete_layout): ditto
11889
11890         * lyxtext.h: rename first -> first_y
11891
11892         * lyxlayout.C (Read): remove lowercase
11893         (name): ditto
11894         (setName): ditto
11895         (obsoleted_by): ditto
11896
11897         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11898
11899         * buffer.C (insertErtContents): add params are to InsetERT
11900         (parseSingleLyXformat2Token): add code to check if a paragraphs
11901         layout really exist.
11902         (parseSingleLyXformat2Token): add params to several inset
11903         constructors
11904         (asciiParagraph): remove lowercase, do the layout comparisons with
11905         no_case
11906
11907         * BufferView_pimpl.C (cursorNext): first -> first_y
11908         (resizeCurrentBuffer): first -> first_y
11909         (updateScrollbar): first -> first_y
11910         (scrollCB): first -> first_y
11911         (workAreaMotionNotify): first -> first_y
11912         (workAreaButtonPress): first -> first_y
11913         (checkInsetHit): first -> first_y
11914         (cursorPrevious): first -> first_y
11915         (cursorNext): first -> first_y
11916         (Dispatch): add buffer_->params to severl inset contructors
11917
11918 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * lyxlayout.C (Read): remove some debug info that I forgot.
11921
11922         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11923         clean up the code slightly.
11924         (makeLinuxDocFile): ditto
11925         (makeDocBookFile): ditto
11926
11927         * text2.C: layout as string
11928
11929         * text.C: layout as string
11930
11931         * paragraph_pimpl.C: layout as string
11932
11933         * paragraph.[Ch]: layout as string
11934
11935         * lyxtextclasslist.[Ch]: layout as string
11936
11937         * lyxtextclass.[Ch]: layout as string
11938
11939         * lyxtext.h: layout as string
11940
11941         * lyxlayout.[Ch]: layout as string
11942
11943         * lyx_cb.C: layout as string
11944
11945         * bufferview_funcs.C: layout as string
11946
11947         * bufferparams.C: layout as string
11948
11949         * buffer.C: layout as string
11950
11951         * LyXView.[Ch]: layout as string
11952
11953         * LaTeXFeatures.[Ch]: layout as string
11954
11955         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11956
11957         * BufferView_pimpl.C: change current_layout to string, remove
11958         lyx::layout_type.
11959         (Dispatch):
11960         (smartQuote):
11961         (insertInset):
11962         (workAreaButtonRelease): layout as string
11963
11964         * BufferView2.C (unlockInset): adjust
11965
11966         * vspace.C (asLatexCommand): use an explict temp variable.
11967
11968 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * Makefile.am: use FRONTEND_*
11971
11972 2002-03-01  Juergen Vigna  <jug@sad.it>
11973
11974         * tabular.C (SetWidthOfMulticolCell): changed to something better
11975         I hope but still work in progress.
11976         (recalculateMulticolumnsOfColumn): renamed function from
11977         recalculateMulticolCells as it is more appropriate now.
11978         (SetWidthOfCell): calculate multicols better.
11979
11980 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11981
11982         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11983
11984         * lyxfunc.C (processKeySym): print sequence also if it is
11985         `deleted' (complete)
11986
11987         * kbsequence.C (print): print sequence even if it is deleted
11988         (complete would be a better word, actually).
11989
11990         * lyxfunc.C (dispatch): print complete options after a prefix key
11991
11992         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11993
11994 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11995
11996         * text2.C (setCharFont): eliminate setCharFont code duplication.
11997
11998 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11999
12000         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12001         LFUN_TABULAR_FEATURE (bug #177)
12002
12003 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12004
12005         * Makefile.am: remove figure.h
12006
12007 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12008
12009         * Bufferview_pimpl.C:
12010         * CutAndPasteC:
12011         * LaTeX.C:
12012         * LyXSendto.C:
12013         * buffer.C:
12014         * bufferlist.C:
12015         * converter.C:
12016         * language.C:
12017         * lyxfunc.C:
12018         * lyxvc.C:
12019         * paragraph.C:
12020         * text.C:
12021         * text2.C: remove #include "lyx_gui_misc.h".
12022
12023         * LaTeX.C: added #include <cstdio>
12024
12025 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12026
12027         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12028         that the paragraph following this one can have.
12029
12030         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12031
12032         * vspace.C (asLatexCommand): fix bogus gcc warning
12033
12034         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12035
12036 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12037
12038         * text2.C (setLayout): get rid of redundant code
12039
12040 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12041
12042         * text2.C (incDepth): make sure depth cannot be increased beyond
12043         reasonable values.
12044
12045 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12046
12047         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12048         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12049
12050         * PainterBase.h (image):
12051         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12052         a LyXImage const *.
12053
12054 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * BufferView.C:
12057         * BufferView.h:
12058         * BufferView_pimpl.C:
12059         * BufferView_pimpl.h:
12060         * LaTeXFeatures.C:
12061         * LyXAction.C:
12062         * LyXView.C:
12063         * Makefile.am:
12064         * UpdateList.h:
12065         * UpdateList.C:
12066         * buffer.C:
12067         * figure.h:
12068         * figureForm.C:
12069         * figureForm.h:
12070         * figure_form.C:
12071         * figure_form.h:
12072         * lyx_cb.C:
12073         * lyx_gui.C:
12074         * lyx_gui_misc.C:
12075         * lyxfunc.C:
12076         * sp_base.h:
12077         * sp_ispell.h:
12078         * sp_pspell.h:
12079         * sp_spell.C: remove fig inset, and the crap house of
12080           cards that follows it
12081
12082 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * Makefile.am:
12085         * lyxserver.C:
12086         * os2_defines.h:
12087         * os2_errortable.h:
12088         * nt_defines.h: move .h into support/
12089
12090         * vms_defines.h: remove
12091
12092         * WorkArea.C: add space in debug output
12093
12094         * text2.C:
12095         * paragraph.C:
12096         * buffer.C: add WITH_WARNINGS
12097
12098         * vc-backend.h:
12099         * vc-backend.C:
12100         * bufferlist.C: s/retrive/retrieve/, add docs
12101
12102         * vspace.h:
12103         * vspace.C:
12104         * kbmap.h:
12105         * lyxlength.h:
12106         * lyxgluelength.h:
12107         * length_common.h:
12108         * chset.h:
12109         * chset.C: add docs
12110
12111         * lyxgui.C: add ID to X error handler
12112
12113         * lyxtestclass.c: fix typo
12114
12115 2002-02-26  Juergen Vigna  <jug@sad.it>
12116
12117         * tabular_funcs.C (write_attribute): changed so that some default
12118         attributes are not written at all.
12119         (getTokenValue): set default values before trying to read the
12120         value so we have the return value always set as default if we don't
12121         find the token we search for.
12122
12123         * tabular.C (Write): write bools as bools not as strings!
12124
12125 2002-02-22  Juergen Vigna  <jug@sad.it>
12126
12127         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12128         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12129
12130         * text.C (leftMargin): don't add an indent for paragraphs inside
12131         tabular cells (fix #208).
12132
12133 2002-02-21  José Matos  <jamatos@fep.up.pt>
12134
12135         * tabular.C (docBook): fixed support for long tables.
12136
12137 2002-02-20  Juergen Vigna  <jug@sad.it>
12138
12139         * text2.C (getFont): get the drawing font of the Inset if this
12140         paragraph is inside an inset (only important for InsetERT for now).
12141
12142         * buffer.C (insertErtContents): use new lanugage params in ERT
12143         constructor.
12144
12145         * CutAndPaste.C: commenting out seemingly uneeded code.
12146
12147 2002-02-19  Allan Rae  <rae@lyx.org>
12148
12149         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12150         Iterators might be simple to use but they also get invalidated.
12151         (removeAutoInsets): renamed saved cursor tracking variables and added
12152         some comments to clarify what everything does.
12153
12154 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12155
12156         * Chktex.C:
12157         * LaTeX.C:
12158         * LyXSendto.C:
12159         * converter.C:
12160         * lyx_cb.C:
12161         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12162         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12163
12164         * lyxfunc.C:
12165         * vc-backend.h: remove #include "support/syscall.h"
12166
12167         * LaTeX.C:
12168         * LyXSendto.C:
12169         * converter.C: rearrange #includes in Lars' approved fashion.
12170
12171         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12172         forward declare class Timeout in the header file.
12173
12174         * XFormsView.C: changes due to the above.
12175
12176         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12177         similar to LyXView.
12178
12179         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12180         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12181
12182 2002-02-18  José Matos  <jamatos@fep.up.pt>
12183
12184         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12185         insets contents.
12186
12187 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12188
12189         * a lot of small ws changes
12190         * add a lot of using std::XXX
12191         * use std construcs some places where approp.
12192         * use some exisint stuff from lyxfunctional where approp.
12193         * Make file changes to use partial linking (lets test this now...)
12194
12195 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12196
12197         * Chktex.C:
12198         * buffer.C:
12199         remove #include "support/syscontr.h" as it's redundant. Always has been.
12200
12201         * Chktex.C:
12202         * LaTeX.C:
12203         * LyXSendto.C:
12204         * converter.C:
12205         * lyx_cb.C:
12206         * vc-backend.C:
12207         change Systemcalls::System to Systemcalls::Wait and
12208         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12209         No change of functionality, just reflects the stripped down Systemcalls
12210         class.
12211
12212 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12213
12214         * debug.[Ch]: add a GRAPHICS type to the enum.
12215
12216 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12217
12218         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12219
12220         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12221         there is an inset.
12222
12223 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12226         match the changes below.
12227
12228         * text2.C (toggleInset): if there is not editable inset at cursor
12229         position, try to see if cursor is _inside_ a collapsable inset
12230         and close it.
12231
12232 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12233
12234         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12235         document menu has a nice checkbox
12236
12237 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12238
12239         * lyxlength.C (asLatexString): change PW to output as percent of
12240         \textwidth.
12241
12242         * lengthcommon.C: change '%' to 't%'
12243
12244         * lyxfunc.C (dispatch): a few comments from Martin
12245
12246 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12247
12248         * WorkArea.h:
12249         * WorkArea.C:
12250         * BufferView_pimpl.h:
12251         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12252           the X selection.
12253
12254 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12255
12256         * vspace.C (inPixels): fix compiler warning
12257
12258 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * lyxfunc.C (getStatus): fix status message for disabled commands.
12261
12262 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * BufferView_pimpl.C: fix crash on close buffer
12265         during selection (#227)
12266
12267 2002-01-27  Herbert Voss  <voss@lyx.org>
12268
12269         * buffer.C: link old Figure to new graphic inset
12270
12271 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12272
12273         * FontLoader.C (getFontinfo): Change the latex font names in order
12274         to match the names of type1inst.
12275
12276 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12279
12280         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12281         (extchanged): ditto
12282         (ext_exist): ditto
12283         (remove_files_with_extension): ditto
12284         (remove_file): ditto
12285         (write): ditto
12286
12287         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12288         document is smaller than the work area height. Do not initialize
12289         static variables to 0.
12290
12291 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12292
12293         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12294
12295         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12296         LFUN_LAYOUT_PARAGRAPHS.
12297
12298         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12299         tabular. It is possible to provide a possible cell, which will
12300         typically be the actcell from the corresponding insettabular
12301
12302         * lyxfunc.C (getStatus): small cleanup; disable
12303         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12304         true
12305
12306 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12309
12310         * paragraph.C (startTeXParParams):
12311         (endTeXParParams): new methods. The LaTeX code to
12312         start/end paragraph formatting
12313         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12314         empty (fixes bug #200)
12315
12316         * vspace.C (inPixels): adapt to the change below
12317         (inPixels): [later] more cleanups (remove unused variables)
12318
12319         * lyxlength.C (inPixels): change to use a width and a height as
12320         parameter.
12321
12322 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12325         Replaced with \paperwidth
12326
12327         * DepTable.C (insert): add std:: qualifier
12328
12329 2002-01-18  Allan Rae  <rae@lyx.org>
12330
12331         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12332         updated also?
12333
12334         * text.C (drawInset): Turned out I didn't know enough about how
12335         rebreaking worked.  This fixes most of the redraw problems.  I see
12336         an occasional cursor trail when a line is broken now and the cursor
12337         placement can seem out by a few pixels also after a rebreak.
12338
12339 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12340
12341         * buffer.C (parseSingleLyXformat2Token): update because minipage
12342         width is now a LyXLength
12343
12344         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12345
12346         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12347         math insets
12348
12349 2002-01-17  Juergen Vigna  <jug@sad.it>
12350
12351         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12352
12353         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12354         is set correctly and the inset is updated correctly.
12355
12356 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12357
12358         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12359         the beginning of the loop.
12360
12361 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12362
12363         * lyxrc.C: improve help for use_scalable_fonts
12364
12365 2002-01-17  Allan Rae  <rae@lyx.org>
12366
12367         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12368
12369 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12370
12371         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12372         make sure to set their inset_owner to the right value (bug #171)
12373
12374 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12375
12376         * DepTable.h
12377         * DepTable.C: Implement mtime checking to reduce time spent doing
12378         CRCs.
12379
12380 2002-01-16  Juergen Vigna  <jug@sad.it>
12381
12382         * tabular.C (GetAdditionalHeight): one of error fixed.
12383
12384         * lyxrc.C (output): small fix in writing use_pspell.
12385
12386 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12387
12388         * sp_base.h: #include LString.h
12389
12390 2002-01-16  Allan Rae  <rae@lyx.org>
12391
12392         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12393         Can someone check this please?
12394
12395         * text.C (drawInset): It was possible that p.row would be removed by
12396         breakAgainOneRow upsetting a few other settings.  There may be another
12397         small tweak possible by setting need_break_row = 0 when p.row has been
12398         removed but I don't know enough about the logic here.
12399
12400 2002-01-15  Allan Rae  <rae@lyx.org>
12401
12402         * text.C (insertChar): removed conditional truism.
12403
12404         * BufferView2.C (removeAutoInsets): More tweaks.
12405         cur_par_prev could be a stray pointer.  Check for trailing empty line
12406         in case last line was cur_par and only had an error inset on it.
12407
12408 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12409
12410         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12411         absolute
12412
12413         * vc-backend.C (most methods):
12414         * exporter.C (Export):
12415         * converter.C (convert):
12416         (runLaTeX):
12417         * LyXSendto.C (SendtoApplyCB):
12418         * lyxfunc.C (dispatch):
12419         (menuNew):
12420         (open):
12421         (doImport):
12422         * lyx_cb.C (AutoSave):
12423         (InsertAsciiFile):
12424         * BufferView_pimpl.C (MenuInsertLyXFile):
12425         * buffer.C (runChktex): use Buffer::filePath().
12426
12427         * buffer.h: rename filename to filename_; rename filepath to
12428         filepath_ and make it private
12429         (filePath): new method
12430
12431         * buffer.C (writeFile): use fileName()
12432         (getLatexName):
12433
12434         * lyx_main.C (init): fix starting  of LyX when the binary is a
12435         link from so,ewhere else.
12436
12437         * minibuffer.C: include <cctype> for isprint
12438
12439 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12442         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12443         name clash with InsetCollapsable's width function.
12444
12445 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * lastfiles.C: include <iterator>
12448
12449 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12450
12451         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12452         std::count.
12453
12454         * buffer.C (makeLaTeXFile): ditto.
12455         Also make loop operation more transparent.
12456
12457 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12458
12459         * ToolbarDefaults.C: remove trailing comma closing namespace.
12460
12461         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12462
12463         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12464         as in WorkArea.
12465
12466         * trans.C (Load): comment out unused variable, allowed.
12467
12468 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12469
12470         * minibuffer.[Ch] (append_char): new method to recieve input from the
12471         drop-down completion browser. If a key was pressed, then recieve this
12472         char and append it to the existing string.
12473         (peek_event): modify the positioning data passed to the completion
12474         browser so that it can be placed above the minibuffer rather than below.
12475 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12476
12477         * LyXAction.C (init): alloe error-next for readonly documents.
12478
12479         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12480         count.
12481
12482 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12483
12484         * bufferlist.C (readFile): create the buffer _after_ checking that
12485         the file exists.
12486
12487         * lyxfunc.C (verboseDispatch): fix handling of arguments
12488
12489         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12490
12491         * lyxrc.C: use string::erase() instead of initializing to "".
12492
12493
12494 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * BufferView_pimpl.h:
12497         * BufferView_pimpl.C:
12498         * WorkArea.h:
12499         * WorkArea.C:
12500         * text2.C: tell X when we have made a selection for copying
12501
12502 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12503
12504         * BufferView_pimpl.C (MenuInsertLyXFile):
12505         * lyxfunc.C (menuNew):
12506         (open):
12507         (doImport): add shortcuts to directory buttons
12508
12509         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12510         open a float)
12511
12512         * lyxfunc.C (setStatusMessage):
12513         (getStatusMessage): new methods
12514         (getStatus):use setStatusMessage instead of setErrorMessage
12515         (dispatch): when function is disabled, set error message here
12516         [instead of in getStatus previously]
12517
12518         * BufferView_pimpl.C (workAreaButtonRelease): update
12519         toolbar/menubar here too.
12520
12521 2002-01-13  Allan Rae  <rae@lyx.org>
12522
12523         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12524         Now seems indestructible.  Remaining task is to audit all other
12525         code affected by deleteEmptyParagraphMechanism.  One small quirk
12526         left is that an empty document with an error in the preamble can
12527         be made to report an error but no error box appears.  I don't know
12528         where it goes.
12529         (removeAutoInsets): Improved comments.
12530
12531 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * Thesaurus.h:
12534         * Thesaurus.C: update for Aiksaurus 0.14
12535
12536 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12537
12538         * text2.C (firstParagraph): removed member function, all uses
12539         replaces with ownerParagraph
12540         (redoParagraphs): here
12541         (updateInset): here
12542         (toggleAppendix): here
12543         * BufferView2.C (insertErrors): here
12544         (setCursorFromRow): here
12545
12546 2002-01-13  Allan Rae  <rae@lyx.org>
12547
12548         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12549         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12550         There is still a way to segfault this although you may have to do this
12551         multiple times: Have an InsetERT with an unknown command in it.
12552         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12553         <down-arrow>, <Enter> again, View->DVI, BANG!
12554
12555         * text2.C (setCursor):
12556         (deleteEmptyParagraphMechanism):
12557         * lyxtext.h (setCursor):
12558         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12559         Making use of the return value may help fix other bugs.
12560
12561 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12562
12563         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12564
12565         * LyXView.C (updateMenubar): call MenuBar::update here
12566         (updateToolbar): but not here
12567         (showState): do not update toolbar/menubar
12568
12569         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12570         should need to care about that.
12571
12572         * lyxfunc.C (verboseDispatch): simplify a bit
12573         (getStatus): have a version which takes a pseudoaction, and
12574         another which requires a (kb_action,string).
12575
12576         * LyXAction.C (retrieveActionArg): make it work also when action
12577         is not a pseudo-action.
12578         (getActionName): simplify a bit
12579         (helpText):
12580
12581 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12582
12583         * lyxfunc.C (verboseDispatch): new families of methods with
12584         several ways to specify a command and a bool to indicate whether
12585         the command name and shortcut should be displayed in minibuffer
12586         (eventually, we could extend that to a finer bitmask like
12587         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12588         (dispatch): the pristine dispatch command which just, well,
12589         dispatchs! Note it still sets its result to minibuffer; I'm not
12590         sure we want that.
12591
12592         * lyxfunc.h: remove setHintMessage
12593
12594         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12595
12596 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * BufferView_pimpl.C (specialChar): delete new inset if we have
12599         not been able to insert it.
12600
12601         * kbmap.C: revert to using int instead of kb_action, since all we
12602         are dealing with is pseudo-actions.
12603
12604         * LyXAction.C (searchActionArg): change to return int instead of
12605         kb_action, since the result is a pseudoaction.
12606
12607 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12608
12609         * buffer.C (insertErtContents): Fix (partially) the font bug.
12610
12611 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12612
12613         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12614         as the other one is broken on my machine!
12615
12616 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12617
12618         * commandtags.h:
12619         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12620
12621 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12622
12623         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12624         reflect their actual use. Provide compatibility code for older lyxrc
12625         files.
12626
12627         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12628         FL_NORMAL_STYLE.
12629         change names of popup font variables in line with the changes to lyxrc.C
12630
12631 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12632
12633         * buffer.C (asciiParagraph): avoid outputing a word twice after
12634         an inset.
12635
12636         * lyxrc.C (getDescription): document that document_path and
12637         template_path can be empty.
12638
12639 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12640
12641         * LaTeXFeatures.C (getMacros):
12642         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12643
12644         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12645
12646         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12647         getPackages.
12648         (getPackages): rename feature "floats" to "float". Use an array to
12649         iterate over 'simple' features (i.e. just a \usepackage). Add
12650         handling of "amsmath" (renamed from "amsstyle").
12651
12652 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12653
12654         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12655         features list.
12656
12657 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12658
12659         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12660         FuncStaus::FuncStatus & FuncStaus::some_method().
12661
12662 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12663
12664         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12665         of the func_satus stuff. Edited and massaged in various ways by
12666         JMarc.
12667
12668         * lyxfunc.C (getStatus): use FuncStatus
12669
12670 2002-01-08  Juergen Vigna  <jug@sad.it>
12671
12672         * text.C (nextBreakPoint): use function Inset::isChar().
12673
12674         * paragraph.C (TeXOnePar): use function
12675         Inset::forceDefaultParagraphs.
12676
12677         * buffer.C (latexParagraphs): use function
12678         Inset::forceDefaultParagraphs.
12679
12680 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12681
12682         * lyx_gui.C (init): set the style of the menu popups to
12683         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12684
12685 2002-01-07  Juergen Vigna  <jug@sad.it>
12686
12687         * text.C (setHeightOfRow): small fix
12688         (prepareToPrint): don't look at alignment if we don't have the place
12689         for doing it.
12690
12691 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12692
12693         * box.C: New file. Move the Box methods and functions out of box.h,
12694         following Lars' suggestion.
12695
12696 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         * box.h: #include "support/LOstream.h", needed for inlined function.
12699
12700         * lyxtextclass.C:
12701         * lyxtextclasslist.C: added some using std declarations.
12702
12703 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12704
12705         * box.h: make signed dimensions to allow insets wider than
12706           the screen (bug #162)
12707
12708         * BufferView_pimpl.C: add some insetHit debug
12709
12710 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * vc-backend.C: add FIXME
12713
12714 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12715
12716         * lyxfunc.C (getStatus): enable code for showing math font status
12717         in toolbar/menu.
12718
12719 2002-01-07  Juergen Vigna  <jug@sad.it>
12720
12721         * text.C (nextBreakPoint): removed debug output not needed anymore.
12722
12723 2002-01-06  Juergen Vigna  <jug@sad.it>
12724
12725         * text.C (nextBreakPoint): fixed up this function we had this bug
12726         since ever but now hopefully we break row better.
12727         (insertChar): we have to check if an inset is the next char as it
12728         could now happen that a large inset is causing a break.
12729
12730 2002-01-05  Juergen Vigna  <jug@sad.it>
12731
12732         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12733         if it doesn't like to be drawed.
12734
12735 2002-01-04  Juergen Vigna  <jug@sad.it>
12736
12737         * BufferView2.C (lockInset): forgot to set a cursor.
12738
12739         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12740
12741 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12742
12743         * FormMathsPanel.C:
12744         * FormMathsPanel.h
12745         * MathsSymbols.C:
12746         * form_maths_panel.C:
12747         * form_maths_panel.h:
12748         * form_maths_panel.fd: implemented sub- and super- buttons in math
12749         panel.
12750
12751         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12752         (or ^ space) to be used as in TeX (req'd by André).
12753
12754         * lyxfunc.C: Allow ^ and _ again to be used both as
12755         super/subscript (mathed) and as themselves (in text).
12756
12757 2002-01-03  Allan Rae  <rae@lyx.org>
12758
12759         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12760         "LyX" or the filename of the current buffer if it has one.  This is a
12761         modified form of John Levon's patch.
12762
12763         * XFormsView.C (setWindowTitle): also set icon title.
12764
12765         * LyXView.h (setWindowTitle): signature changed.
12766         * XFormsView.h (setWindowTitle): ditto.
12767
12768 2002-01-02  Juergen Vigna  <jug@sad.it>
12769
12770         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12771
12772 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * screen.C (topCursorVisible): introduce a temp var for
12775         text->cursor.row(), handle the case where this row is null. (kindo
12776         hachish)
12777
12778         * text2.C (setCursor): add a couple of asserts.
12779
12780         * paragraph.h (inset_iterator): add -> operator
12781
12782         * paragraph.[Ch] (autoDeleteInsets): remove member function
12783
12784         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12785         cursor pos correctly and handle inset deletion by itself.
12786         (insertErrors): move iterator declaration out of for expression
12787
12788         * lyxtextclass.C: add <algorithm>
12789
12790         * Makefile.am: added the new files to sources, removed layout.C
12791
12792         * layout.C: removed file
12793
12794         * layout.h: remove LYX_DUMMY_LAYOUT
12795
12796         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12797         layout.
12798
12799         * lyxlayout.[Ch]:
12800         * lyxtextclass.[Ch]:
12801         * lyxtextclasslist.[Ch]: new files
12802
12803         * include order changes to a lot of files, also changes because of
12804         the six new files.
12805
12806 2001-12-27  Juergen Vigna  <jug@sad.it>
12807
12808         * buffer.C (asciiParagraph): more fixes.
12809
12810         * tabular.C (ascii): make ascii export support export of only the
12811         data separated by a column-delimiter.
12812         (ascii): better support for ascii export.
12813
12814         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12815
12816 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12817
12818         * tabular_funcs.C: use a "using std::getline" instead of the
12819         previous fix from Angus (necessary for cxx + lyxstring)
12820
12821 2001-12-24  Juergen Vigna  <jug@sad.it>
12822
12823         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12824
12825         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12826         problems. First check a minipage also if we have some ert-contents
12827         (not only on par->size(), second set the right depth of the paragraph
12828         on the relink to the root-paragraph-list!
12829
12830         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12831         which then did not anymore update the main paragraphs on undo/redo!
12832
12833 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12836         code. Support all font-changing funcs (even those which are not in
12837         menu currently). Support for reporting font settings in
12838         mathed (disabled until Andre provides a function on mathed's side).
12839
12840         * func_status.h (toggle): small helper function to set toggle
12841         state on a flag.
12842
12843 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12844
12845         * tabular_funcs.C: getline -> std::getline
12846
12847 2001-12-21  Juergen Vigna  <jug@sad.it>
12848
12849         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12850         accessed and could be 0 (I couldn't generate this but it seems
12851         Michael could!).
12852
12853 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12856         * tabular_funcs.h: here and include iosfwd
12857
12858 2001-12-20  Juergen Vigna  <jug@sad.it>
12859
12860         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12861         inside inset but undo_par was.
12862
12863 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12864
12865         * Thesaurus.C: always include <config.h> in sources.
12866
12867         * Painter.h:
12868         * lyxlookup.h:
12869         * box.h: do not include <config.h> in header files
12870
12871         * text.C (paintLastRow): remove unused variable
12872
12873         * text.C (transformChar):
12874         (insertChar):
12875         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12876
12877         * Painter.C (text):
12878         * font.C (width): rewrite to use uppercase() instead of
12879         islower/toupper.
12880
12881         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12882
12883 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * lyxfind.C: clean up of find failure position change
12886
12887 2001-12-20  Juergen Vigna  <jug@sad.it>
12888
12889         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12890
12891         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12892         (TeXRow): added to LaTeX a single tabular row.
12893         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12894         (Latex): simplified and finally good LT-h/f support.
12895         (various_functions): just small adaptions for LT-h/f support.
12896
12897         * tabular_funcs.[hC]: added and moved here all not classfunctions
12898         of LyXTabular.
12899
12900 2001-12-19  Juergen Vigna  <jug@sad.it>
12901
12902         * tabular.[Ch]: better support for longtabular options (not finished
12903         yet!)
12904
12905 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * text.C (paintLastRow): use the label font instead of the font of
12908         the last character to compute the size of *_BOX. This makes more
12909         sense and avoids a crash with empty paragraphs.
12910         Use Painter::rectangle to draw EMPTY_BOX.
12911
12912 2001-12-19  Juergen Vigna  <jug@sad.it>
12913
12914         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12915         the paragraphs if the replaced paragraph is not the first one!
12916         Tried to delete not used paragraphs but does not work yet so for
12917         now it's inside #ifdef's and by default off!
12918
12919 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12920
12921         * MenuBackend.C: include "lyx_main.h" instead of declaring
12922         lastfiles (actually was declared as LastFiles* instead of a
12923         scoped_ptr).
12924
12925 2001-12-17  Juergen Vigna  <jug@sad.it>
12926
12927         * tabular.C (AppendColumn): applied John's fix
12928
12929 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * BufferView.h:
12932         * BufferView.C:
12933         * BufferView_pimpl.h:
12934         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12935
12936         * Makefile.am:
12937         * box.h: new start of class for above
12938
12939         * lyxfunc.C: ignore space-only minibuffer dispatches.
12940           Show the command name when it doesn't exist
12941
12942         * minibuffer.C: don't add empty lines to the history
12943
12944         * minibuffer.C: add a space on dropdown completion
12945
12946 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * text.C: fix line above/below drawing in insets
12949
12950 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12951
12952         * lyxlength.C (LyXLength): Initialize private variables.
12953
12954 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12955
12956         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12957         when inserting error insets.
12958
12959 2001-12-13  Juergen Vigna  <jug@sad.it>
12960
12961         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12962         actually sometimes the before-paragraph.
12963         (setUndo): don't clear the redostack if we're not actually undoing!
12964
12965 2001-12-06  Juergen Vigna  <jug@sad.it>
12966
12967         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12968         and fixed redoing of main paragraph, so we can use it now ;)
12969
12970         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12971
12972 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12973
12974         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12975         Juergen's request
12976
12977 2001-12-13  André Pönitz <poenitz@gmx.net>
12978
12979         * undostack.[Ch]:
12980         * undo_func.C: minor cleanup
12981
12982 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12983
12984         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12985         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12986         font in urw-fonts package which is marked as -urw-fontspecific and
12987         does not work (incidentally, changing the encoding in the
12988         fonts.dir of this package to -adobe-fontspecific fixes the
12989         problem).
12990
12991         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12992         is a crash when undoing first paragraph (Juergen, please take a
12993         look). THis does not mean the undo fix is wrong, just that it
12994         uncovers problems.
12995
12996         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12997         the (Paragraph*) version when needed instead of duplicating the
12998         code.
12999
13000         * text.C (workWidth): use Inset::parOwner to find out where the
13001         inset has been inserted. This is a huge performance gain for large
13002         documents with lots of insets. If Inset::parOwner is not set, fall
13003         back on the brute force method
13004
13005         * paragraph_pimpl.C (insertInset):
13006         * paragraph.C (Paragraph):
13007         (cutIntoMinibuffer): set parOwner of insets when
13008         inserting/removing them
13009
13010         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13011
13012 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13013
13014         * commandtags.h:
13015         * LyXAction.C:
13016         * lyx_main.C:
13017         * lyxfunc.C:
13018         * mathed/formulabase.C:
13019         * mathed/math_cursor.[Ch]:
13020         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13021
13022
13023 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13024
13025         * lyxlength.[Ch] (operator!=): new function
13026
13027 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13028
13029         * text.C (workWidth): use Inset::parOwner to find out where the
13030         inset has been inserted. This is a huge performance gain for large
13031         documents with lots of insets. If Inset::parOwner is not set, fall
13032         back on the brute force method
13033
13034         * paragraph_pimpl.C (insertInset):
13035         * paragraph.C (Paragraph):
13036         (cutIntoMinibuffer): set parOwner of insets when
13037         inserting/removing them
13038
13039         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13040
13041 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13042
13043         * tabular-old.C (getTokenValue):
13044         * tabular.C (getTokenValue):
13045         (write_attribute): new versions for LyXLength
13046         (everywhere): adjust the use of widths
13047
13048         * tabular.h: change the type of widths from string to LyXLength
13049
13050 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13051
13052         * paragraph.C: fixed missing line number count when exporting
13053         Environments to LaTeX file
13054
13055         * buffer.C: added informational message for checking line numbers.
13056
13057 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13058
13059         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13060         paragraph, do the 'double space' part, but not the 'empty
13061         paragraph' one.
13062
13063         * text.C (workWidth): small optimization
13064         (getLengthMarkerHeight): use minimal size for negative lengths.
13065
13066 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13067
13068         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13069
13070         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13071
13072 2001-12-11  André Pönitz <poenitz@gmx.net>
13073
13074         * FontLoader.C:
13075         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13076
13077 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13078
13079         * text2.C: keep selection on a setFont()
13080
13081 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * lyx_cb.C: another bv->text misuse, from insert label
13084
13085 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13086
13087         * kbsequence.h:
13088         * kbsequence.C: re-instate nmodifier mask
13089
13090 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13091
13092         * lyx_main.h: make lyxGUI private.
13093
13094 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13095
13096         * lyxfind.C: place the cursor correctly on failed search
13097
13098 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13099
13100         * text.C (getLengthMarkerHeight): for small heights, the arrows
13101         are not always on top/bottom of the text
13102         (drawLengthMarker): smaller arrows; take the left margin in
13103         account; draw also vfills.
13104         (paintFirstRow):
13105         (paintLastRow): remove special code for vfill and standard spaces,
13106         since everything is handled in drawLengthMarker now.
13107
13108 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13109
13110         * buffer.C (insertErtContents): try to handle font and language
13111         interaction a bit better.g
13112
13113         * ColorHandler.C (updateColor): change the hash to cover the whole
13114         LColor enum, ws cleanup
13115         (getGCLinepars): ditto
13116         (getGCLinepars): only lookup in the linecache once.
13117
13118 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13119
13120         * iterators.C (operator++): Make the iterator more robust
13121
13122         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13123         (John's patch)
13124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13125
13126 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * lyxtext.h:
13129         * text.C: better added space drawing
13130
13131 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13132
13133         * LyXView.C:
13134         * BufferView2.C: fix layout combo update on inset unlock
13135
13136 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13137
13138         * Makefile.am: don't compile unused files
13139
13140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13141
13142         * lyxfunc.C:
13143         * commandtags.h:
13144         * LyXAction.C: remove old LFUN_LAYOUTNO
13145
13146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13147
13148         * paragraph_pimpl.h:
13149         * paragraph_pimpl.C: isTextAt() doesn't need font param
13150
13151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * lyxlex.h:
13154         * lyxlex.C: little cleanup
13155
13156 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * BufferView_pimpl.C: fix insertAscii for insets
13159
13160 2001-12-05  Juergen Vigna  <jug@sad.it>
13161
13162         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13163         set the right font on the "multi" paragraph paste!
13164
13165 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13166
13167         * trans_decl.h:
13168         * trans_mgr.[Ch]:
13169         * trans.[Ch]:
13170         * lyxgluelength.C:
13171         * lyxlength.C: remove out-commented code.
13172
13173         * BufferView_pimpl:
13174         * CutAndPaste.C:
13175         * DepTable.C:
13176         * buffer.C:
13177         * chset.C:
13178         * lastfiles.C:
13179         * lyxlex.C:
13180         * lyxlex_pimpl.C:
13181         * lyxserver.C:
13182         * screen.C:
13183         * tabular-old.C:
13184         * tabular.C:
13185         * text.C:
13186         * trans_mgr.C:
13187         * vc-backend.C: change "while(" to "while ("
13188
13189         * lyxlength.[Ch]: add zero function to check if length is zero or
13190         not
13191         * lyxgluelength.C: use it
13192
13193 2001-12-05  Allan Rae  <rae@lyx.org>
13194
13195         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13196         Works for 2.95.3, from what I understand of Garst's reports this should
13197         work for other g++ versions.  We're screwed if the abs(int) definition
13198         changed between bugfix releases of gcc.
13199
13200 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * text.C: fix chapter label offset !
13203
13204 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13205
13206         * lyxtext.h:
13207         * text.C: fix hfill at end of line, clean up
13208
13209 2001-12-04  Juergen Vigna  <jug@sad.it>
13210
13211         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13212         that we force an update of the inset and it's owners if neccessary.
13213
13214 2001-12-03  Juergen Vigna  <jug@sad.it>
13215
13216         * text.C (rowLast): simplified code
13217
13218 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13219
13220         * lyxfunc.C: fix show options on timeout
13221
13222 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13223
13224         * screen.C (topCursorVisible): scroll half a page when the cursor
13225         reached top of bottom of screen
13226
13227 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13228
13229         * minibuffer.C: deactivate on loss of focus
13230
13231 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13232
13233         * vspace.[Ch] (operator!=): add operator.
13234
13235 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13236
13237         * BufferView_pimpl.C: refuse to open an inset when
13238         there's a selection.
13239
13240 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * BufferView_pimpl.C: allow to click on RHS of full row insets
13243
13244 2001-11-30  Juergen Vigna  <jug@sad.it>
13245
13246         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13247         insets for undo reasons.
13248
13249 2001-11-28  André Pönitz <poenitz@gmx.net>
13250
13251         * vspace.[Ch]: cosmetical changes
13252
13253 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * LyXAction.h:
13256         * LyXAction.C:
13257         * lyxfunc.h:
13258         * lyxfunc.C:
13259         * kbmap.h:
13260         * kbmap.C:
13261         * lyxrc.C:
13262         * kbsequence.h:
13263         * kbsequence.C: part re-write of old kb code
13264
13265         * Painter.C:
13266         * WorkArea.C: remove Lgb_bug_find_hack
13267
13268 2001-11-30  José Matos <jamatos@fep.up.pt>
13269
13270         * buffer.C (makeDocBookFile): add a comment to point a hack.
13271         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13272         Fixed a double write of labels.
13273
13274 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13275
13276         * LaTeX.C:
13277         * LaTeX.h Fixed bug in LaTeX class where it would not
13278         re-run latex if no depfiles were changed, but the .dvi was removed.
13279
13280 2001-11-28  André Pönitz <poenitz@gmx.net>
13281
13282         * all the files from the change on 2001/11/26:
13283         use lyx::layout_type instead of LyXTextClass::size_type
13284         use lyx::textclass_type instead of LyXTextClassList::size_type
13285
13286 2001-11-29  Juergen Vigna  <jug@sad.it>
13287
13288         * text.C: added support for paragraph::isFreeSpacing()
13289
13290         * buffer.C: same as above
13291
13292         * paragraph.h: inserted isFreeSpacing() function to enable
13293         FreeSpacing inside InsetERT.
13294
13295         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13296         of the paragraph's in the cut/copy buffer to 0!
13297
13298         * text2.C (removeRow): remove the assert as it can!
13299
13300         * lyxtext.h: added helper function firstRow returning firstrow and
13301         made firstrow private again.
13302
13303         * BufferView2.C (lockInset): don't relock if we're already locked!
13304
13305         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13306         the only paragraph.
13307         (removeRow): added Assert::(firstrow)
13308
13309         * debug.C: forgot to add INSETTEXT here.
13310
13311 2001-11-28  Juergen Vigna  <jug@sad.it>
13312
13313         * sp_spell.C (initialize): changed error text to more general
13314         spellchecker command use (not only ispell!)
13315
13316         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13317
13318         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13319
13320 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * vspace.C: initialise lyxgluelength on failure
13323
13324 2001-11-28  Allan Rae  <rae@lyx.org>
13325
13326         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13327         declaration & definition that looks like a function declaration.
13328
13329 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13330
13331         * BufferView2.C (copy):
13332         (copyEnvironment): do not clear the selection when doing a copy.
13333
13334         * text.C (paintFirstRow): compilation fix
13335
13336 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13337
13338         * tabular.C (Latex): correct line count when writing latex.
13339
13340 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * paragraph_pimpl.h:
13343         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13344           bug a bit
13345
13346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * text.C:
13349         * LColor.h:
13350         * LColor.C: change vfillline->added_space
13351
13352         * text.C: add markers and text for added space
13353
13354         * vspace.C: fix comment
13355
13356 2001-11-28  André Pönitz <poenitz@gmx.net>
13357
13358         * paragraph.C: whitespace changes
13359         * all the other files from the change on 2001/11/26:
13360         change *::pos_type into lyx::pos_type
13361
13362 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13365         language of the document when inserting error insets.
13366
13367 2001-11-26  André Pönitz <poenitz@gmx.net>
13368
13369         * BufferView_pimpl.[Ch]:
13370         *       CutAndPaste.C:
13371         * buffer.[Ch]:
13372         * lyxcursor.[Ch]:
13373         * lyxfind.C:
13374         * lyxfunc.C:
13375         * lyxrow.[Ch]:
13376         * paragraph.[Ch]:
13377         * paragraph_pimpl.[Ch]:
13378         * sp_spell.C:
13379         * text.C:
13380         * text2.C: reduce header dependencies, introduce type for positions
13381
13382 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13383
13384         * <various>: change to use Alert.h
13385
13386 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13387
13388         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13389         when encountering an unknown token.
13390         (readLyXformat2): Show an error message if there were unknown tokens.
13391
13392 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13393
13394         * BufferView2.C:
13395         * BufferView_pimpl.C:
13396         * buffer.C:
13397         * paragraph.h:
13398         * text.C:
13399         * text2.C: use par->isInset()
13400
13401 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13402
13403         * paragraph_pimpl.h:
13404         * paragraph_pimpl.C: cleanup
13405
13406 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13407
13408         * text2.C (removeRow):
13409         * text.C (setHeightOfRow): remove useless (and costly) call to
13410         getRow.
13411
13412 2001-11-20  Allan Rae  <rae@lyx.org>
13413
13414         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13415         Now need Inset*::checkInsertChar() to return true for appropriate
13416         cases so that the characters in the minibuffer will actually be
13417         inserted.
13418
13419 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * text.C: change the order of the includes.
13422         (workWidth): initialize it at once.
13423         (workWidth): make maxw unsigned
13424         (setHeightOfRow): remove unused variable (inset)
13425         (selectSelectedWord): remove unused variable (inset)
13426         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13427
13428 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13429
13430         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13431         server is not running.
13432         (openConnection):
13433         (closeConnection): add debug info when server is disabled.
13434
13435         * ColorHandler.C (getGCForeground): send debug message to GUI
13436         channel.
13437
13438         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13439
13440         * kbmap.C (bind): modify because return conventions of
13441         kb_sequence::parse have changed.
13442
13443         * kbsequence.C (parse): only ignore spaces and not any stupid
13444         control character. This avoids tests like s[i] <= ' ', which are
13445         guaranteed to fail with 8bit characters and signed chars.
13446         Change return code to string::npos when there have been no error
13447         (0 was a bad idea when error is at first character)
13448
13449 2001-11-14  José Matos  <jamatos@fep.up.pt>
13450
13451         * buffer.h:
13452         * buffer.C (simpleDocBookOnePar): removed unused argument.
13453
13454 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13455
13456         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13457         insets which are part of a word. Paragraph::isLetter takes care of
13458         that now. Use Paragraph::isInset to identify insets.
13459         (selectSelectedWord): do not test for hyphenation break.
13460
13461         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13462         that protected spaces are considered as spaces.
13463
13464         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13465         Inset::isLetter.
13466
13467 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13468
13469         * lyxserver.h:
13470         * lyxserver.C: fix it. and small cleanup.
13471
13472 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13473
13474         * BufferView_pimpl.C: use inline helpers
13475
13476         * LaTeXFeatures.h:
13477         * LaTeXFeatures.C: fix typos
13478
13479         * Spacing.h:
13480         * Spacing.C: move spacing_string into class
13481
13482         * ToolbarDefaults.C: move stuff into namespace anon
13483
13484         * layout.h: update enum
13485
13486         * lyxfunc.C: use better debug
13487
13488         * minibuffer.h: fix typo
13489
13490         * debug.h:
13491         * debug.C:
13492         * WorkArea.C: add and use Debug::WORKAREA
13493
13494         * lyxtext.h:
13495         * text.C:
13496         * text2.C: code re-organisation, inline helpers
13497
13498 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13499
13500         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13501         std::vector.empty().
13502
13503 2001-11-09  Allan Rae  <rae@lyx.org>
13504
13505         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13506         '\n's after tables.  Tabular and ERT inset work now makes this no
13507         longer necessary.
13508
13509 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13510
13511         * minibuffer.h:
13512         * minibuffer.C: fix crash, improve drop-down completion
13513
13514 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * lyxserver.h:
13517         * lyxserver.C: invalidate fd's when doing endPipe()
13518
13519 2001-11-08  José Matos  <jamatos@fep.up.pt>
13520
13521         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13522         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13523
13524         * paragraph.h:
13525         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13526
13527 2001-11-07  José Matos  <jamatos@fep.up.pt>
13528
13529         * buffer.h:
13530         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13531         const qualifier.
13532
13533         * buffer.C (sgmlOpenTag):
13534         * buffer.C (sgmlCloseTag): removed debug info.
13535
13536         * buffer.h (sgmlOpenTag):
13537         * buffer.h (sgmlCloseTag): made public.
13538
13539 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13540
13541         * buffer.C (saveParamsAsDefaults):
13542         * lyx_cb.C (MenuLayoutSave): remove
13543
13544         * LyXAction.C (init):
13545         * commandtags.h:
13546         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13547
13548 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13549
13550         * buffer.C (setPaperStuff): removed from here...
13551
13552         * bufferparams.C (setPaperStuff): ... and moved there.
13553
13554 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * minibuffer.h:
13557         * minibuffer.C:
13558         * XFormsView.C: add support for drop-down completion
13559
13560 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13561
13562         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13563         commands.
13564
13565 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13566
13567         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13568         disabled.
13569
13570 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * lyx_main.C: change ref to known bugs
13573
13574 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13575
13576         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13577         to work around older babel problems.
13578
13579 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13580
13581         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13582
13583 2001-10-24  Juergen Vigna  <jug@sad.it>
13584
13585         * tabular-old.C (ReadOld): below variable changes reflected.
13586
13587         * tabular.[Ch]: added ltType struct for longtable header/footer
13588         defines and changed all instances where they are used. Added
13589         future support for double top/bottom rows.
13590
13591 2001-10-24  José Matos  <jamatos@fep.up.pt>
13592
13593         * buffer.h (docbookHandleCaption):
13594         * buffer.C (docbookHandleCaption): removed unused function.
13595         (makeDocBookFile): moved docbook supported version to v4.1.
13596
13597 2001-10-24  José Matos  <jamatos@fep.up.pt>
13598
13599         * tabular.h:
13600         * tabular.C (docbookRow): new function to export docbook code of a row.
13601         (DocBook): now honors the longtable flags.
13602
13603 2001-10-23  José Matos  <jamatos@fep.up.pt>
13604
13605         * LaTeXFeatures.h:
13606         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13607         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13608
13609         * buffer.C (makeLinuxDocFile):
13610         (makeDocBookFile): reworked the preamble, more clean, and with
13611         support for lyx defined entities. Changed the document declaration
13612         to be more XML friendly.
13613
13614         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13615         if we need to output XML that should be done with a filter.
13616
13617 2001-10-22  Juergen Vigna  <jug@sad.it>
13618
13619         * sp_pspell.h (class PSpell): add alive function needed in the
13620         controller to see if the spellchecker could be started.
13621
13622 2001-10-22  Juergen Vigna  <jug@sad.it>
13623
13624         * buffer.C (insertStringAsLines): modify the font for inserting
13625         chars in certain conditions by calling checkInsertChar(font).
13626
13627 2001-10-19  Juergen Vigna  <jug@sad.it>
13628
13629         * text.C (workWidth): use getRow instead of wrong algorithm.
13630         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13631
13632 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13633
13634         * lyxserver.h:
13635         * lyxserver.C:
13636         * lyx_main.h:
13637         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13638
13639 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * text.C (workWidth): do not search for the exact row when
13642         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13643         optimization for big documents.
13644
13645 2001-10-18  Juergen Vigna  <jug@sad.it>
13646
13647         * text.C (workWidth): new function with added Inset * parameter.
13648
13649 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13650
13651         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13652
13653         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13654         change return type of getColumnNearX.
13655
13656
13657         * text.C (changeRegionCase): use uppercase/lowercase instead of
13658         toupper/tolower.
13659         (leftMargin):
13660         (rightMargin): simplify code by factoring out the uses of
13661         textclasslist.
13662         (labelFill):
13663         (numberOfHfills):
13664         (setHeightOfRow):
13665         (appendParagraph): use Paragraph::size_type
13666
13667 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13668
13669         * vspace.C (asLatexString): add a missing break
13670
13671 2001-10-15  Herbert Voss  <voss@perce.de>
13672
13673         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13674
13675 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13676
13677         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13678         is not available.
13679
13680 2001-10-10  André Pönitz <poenitz@gmx.net>
13681
13682         * lyxfunc.C: removed greek_kb_flag.
13683
13684 2001-10-10  Herbert Voss  <voss@perce.de>
13685
13686         * lyx_main.C: delete global string help_lyxdir.
13687
13688 2001-10-09  Herbert Voss  <voss@perce.de>
13689
13690         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13691
13692         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13693
13694         * lyx_main.C: added global string help_lyxdir.
13695
13696         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13697
13698 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13699
13700         * lyxrc.C (set_font_norm_type): support iso8859-4
13701
13702 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13703
13704         * LaTeX.C (deplog): add another regex for MikTeX
13705
13706 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13707
13708         * lyxrc.C (set_font_norm_type): support iso8859-3
13709
13710 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13713
13714         * LaTeXFeatures.C: remove special case of french and index
13715
13716         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13717         before \begin{document}). This solves several incompatibilities.
13718
13719 2001-10-03  Garst Reese  <reese@isn.net>
13720
13721         * lyx_cb.C: change CheckTex error msg.
13722
13723 2001-10-03  José Matos  <jamatos@fep.up.pt>
13724
13725         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13726
13727 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13728
13729         * .cvsignore: update
13730
13731         * lyx_main.C (commandLineVersionInfo): use new style version info.
13732
13733         * buffer.C (writeFile):
13734         (makeLaTeXFile):
13735         (makeLinuxDocFile):
13736         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13737
13738         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13739
13740         * version.h: update to use stuff in version.C
13741
13742         * version.C.in: new file. Contains version information determined
13743         at compile time. This is a merging of version.h and
13744         version_info.h.in.
13745
13746 2001-10-03  Juergen Vigna  <jug@sad.it>
13747
13748         * BufferView_pimpl.C (update): don't change "dirty" status in
13749         updateInset call.
13750
13751 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * WorkArea.C (c-tor): re-position version string slightly.
13754
13755 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13756
13757         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13758         revert to previous code.
13759
13760         WorkArea.[Ch]: (show, destroySplash): methods removed.
13761
13762         WorkArea.C: rework code so that it's an amalgam of the codes before and
13763         after the splash screen was moved to WorkArea.
13764
13765 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * lyxrc.C (read):
13768         * vspace.C (inPixels):
13769         (lyx_advance):
13770         * kbmap.C (bind):
13771         * buffer.C (insertStringAsLines):
13772         (asciiParagraph): fix types to be large enough
13773
13774         * lyxlex_pimpl.h: change member status from short to int
13775
13776         * layout.h: fix type of endlabeltype
13777
13778         * kbmap.C (bind):
13779         * kbsequence.C (parse): change return type to string::size_type
13780
13781         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13782         variable
13783
13784         * Bullet.C (bulletSize):
13785         (bulletEntry): do not use short ints as parameters
13786
13787         * BufferView2.C (insertLyXFile): change a char to an int.
13788
13789         * WorkArea.C (WorkArea): remove unneeded floats in computation
13790
13791 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13792
13793         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13794
13795         * paragraph.C (asString): Do not ignore newline/hfill chars when
13796         copying to the clipboard.
13797
13798 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13799
13800         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13801         after a multi-line inset.
13802
13803 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13804
13805         * paragraph.C (validate): Set NeedLyXFootnoteCode
13806
13807 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13808
13809         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13810         and decrease-error to decrease.
13811
13812 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13813
13814         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13815         it more readable (should be equivalent)
13816
13817 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13818
13819         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13820
13821 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13822
13823         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13824         of a cursor (row, etc.) after a character has been deleted
13825         (deleteEmptyParagraphMechanism): call the method above on _all_
13826         cursors held by the LyXText when a double space has been
13827         detected/deleted.
13828
13829 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13830
13831         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13832         pixmap.
13833         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13834
13835         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13836         background. Use greyOut() and the new show() methods to toggle between
13837         the foreground and background. Add code to remove the splash after
13838         its initial showing.
13839
13840         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13841         (create_forms): no longer call Dialogs::showSplash.
13842
13843 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * .cvsignore: add version_info.h
13846
13847 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13848
13849         * version_info.h.in: new file
13850
13851         * Makefile.am: add version_info.h.in
13852
13853         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13854         version_info.h instead of VERSION_INFO
13855
13856 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13857
13858         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13859         The ERT inset now returns string().
13860
13861 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13862
13863         * lyxtext.h, text.C (selectNextWord): renamed as
13864         selectNextWordToSpellcheck.
13865
13866         * text.C (selectNextWordToSpellcheck): Modified to not select
13867         words inside an ERT inset.
13868
13869 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * lyx_cb.C (MenuLayoutSave): change a bit the question
13872
13873         * sp_base.h: include <sys/types.h>
13874
13875 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13876
13877         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13878
13879 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13880
13881         * several files: fix typos in user-visible strings
13882
13883 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13884
13885         * text2.C (pasteSelection): do not set the selection, since it
13886         will be cleared later. Actually, the intent was to fix the way the
13887         selection was set, but I figured rmoving the code was just as good.
13888
13889 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13890
13891         * FontLoader.C (available): Check if font is available without
13892         loading the font.
13893
13894 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13895
13896         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13897
13898 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13899
13900         * lyxrc.[Ch]: added display_graphics variable and associated code.
13901
13902 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13903
13904         * bufferparams.C (hasClassDefaults): new method. Returns true if
13905         the buffer parameters correspond to known class defaults
13906
13907 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * XFormsView.C (show): set minimum size to the main window.
13910
13911 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13912
13913         * text2.C (copySelection):
13914         (cutSelection):
13915         * lyxfind.C (LyXReplace):
13916         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13917         LyXText::selectionAsString.
13918
13919         * paragraph.C (asString): add "label" argument to the second form
13920
13921         * text2.C (selectionAsString): add "label" argument and pass it to
13922         Paragraph::asString.
13923
13924 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13925
13926         * lyx_main.C (commandLineHelp): remove version information
13927
13928 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13929
13930         * lyx_main.C: add -version commandline option
13931
13932 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * paragraph.h: make the optional constructor arg required instead.
13935         some modifications to other files because of this.
13936
13937         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13938
13939         * lyxserver.C (C_LyXComm_callback): make it static
13940
13941         * lyx_main.C (error_handler): make it static
13942
13943         * lyx_gui.C (LyX_XErrHandler): make it static
13944
13945         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13946
13947         * WorkArea.C: make the extern "C" methods static.
13948
13949         * Makefile.am (lyx_LDADD): simplify
13950
13951 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13952
13953         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13954         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13955
13956         * LyXAction.C (init):
13957         * lyxfunc.C (dispatch): associated code removal.
13958
13959 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13960
13961         * lyxfont.h (isSymbolFont): shut off warning
13962
13963         * text.C (setHeightOfRow):
13964         (getVisibleRow): fix crash with empty paragraphs which have a
13965         bottom line
13966
13967 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13968
13969         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13970         code.
13971
13972 2001-09-04  José Matos  <jamatos@fep.up.pt>
13973         * buffer.C
13974         * buffer.h
13975         * tabular.C (docbook): rename docBook method to docbook.
13976
13977 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * Makefile.am: add dependencies to main.o.
13980
13981 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * FontLoader.C (available): Return false if !lyxrc.use_gui
13984
13985 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13986
13987         * FontInfo.C (query):
13988         * converter.C (view):
13989         * importer.C (Import):
13990         * exporter.C (Export): Can not -> cannot.
13991
13992 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * BufferView_pimpl.C: allow to create index inset even if
13995           string is empty
13996
13997 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13998
13999         * buffer.C (getLists): replace boost::tie code with an explicit pair
14000         as boost::tie can break some compilers.
14001
14002         * iterators.h: Added a std:: declaration to the return type of
14003         ParIterator::size.
14004
14005 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14006
14007         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14008           case.
14009
14010 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14011
14012         * iterators.[Ch]: New files. Provide paragraph iterators.
14013
14014         * buffer.C (changeLanguage): Use paragraph iterators.
14015         (isMultiLingual): ditto
14016
14017         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14018
14019 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14020
14021         * FontLoader.C: Support for cmr font.
14022
14023 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14024
14025         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14026         (available): New method.
14027
14028         * FontInfo.C (getFontname): Use scalable fonts even when
14029         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14030         found.
14031
14032 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14033
14034         * converter.C (Formats::view): reverted! Incorrect fix.
14035
14036 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14037
14038         * converter.C (Formats::view): only output the -paper option
14039         if the dvi viewer is xdvi, thereby fixing bug #233429.
14040
14041 2001-08-23  Herbert Voss  <voss@perce>
14042
14043         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14044
14045 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14046
14047         * Spacing.h (Spacing): Set space to Default on in the default
14048         constructor.
14049
14050 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * vc-backend.h (RCS::versionString): add RCS to version
14053         (CVS::versionString): add CVS to version
14054
14055         * vc-backend.C (scanMaster): do not add CVS to version.
14056         (scanMaster): do not add RCS to version
14057
14058         * lyxvc.C (versionString): new method
14059
14060         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14061
14062 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14063
14064         * Spacing.C (set): initialize fval
14065
14066 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14069         " or \.
14070
14071 2001-08-16  Juergen Vigna  <jug@sad.it>
14072
14073         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14074
14075 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14076
14077         * BufferView_pimpl.C:
14078         * figureForm.C:
14079         * lyxtext.h:
14080         * text2.C: setParagraph takes linespacing now
14081
14082 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14083
14084         * LyxAction.C: add internal LFUN_CITATION_INSERT
14085
14086         * LyXView.C: actually apply fix
14087
14088         * bufferlist.C: fix open non-existent file
14089
14090         * lyxfind.C: fix indentation
14091
14092         * lyxfunc.C: remove unneeded assert, fix typo
14093
14094 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14095
14096         * MenuBackend.C: use "Floatname List"
14097
14098 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14101         when converting LaTeX layout to insetERT.
14102         Generate a non-collapsed float when reading old float
14103
14104 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14105
14106         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14107         ERT insets.
14108
14109 2001-08-13  Juergen Vigna  <jug@sad.it>
14110
14111         * text.C (fill): return 0 instead of 20 as this seems to be the more
14112         correct value.
14113
14114 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14115
14116         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14117         lyxrc.font_norm.
14118
14119 2001-08-13  Juergen Vigna  <jug@sad.it>
14120
14121         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14122         casesensitive off.
14123         (SearchBackward): comment out the unlocking of the inset_owner this
14124         should not be needed!
14125
14126 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * Many files: Remove inherit_language, and add latex_language
14129
14130         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14131         collapsible insets.
14132
14133 2001-08-10  Juergen Vigna  <jug@sad.it>
14134
14135         * text.C (prepareToPrint): fixed hfill-width in draw!
14136
14137         * BufferView2.C (selectLastWord): save the selection cursor as this
14138         now is cleared in the function LyXText::clearSelection!
14139
14140 2001-08-08  Juergen Vigna  <jug@sad.it>
14141
14142         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14143         BACKSPACE type functions.
14144
14145         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14146         is only cutted from the document but not put in the cut-buffer, where
14147         still the old stuff should be.
14148
14149         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14150
14151         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14152
14153         * tabular.C (SetWidthOfCell): fixed special case where the width
14154         was not updated!
14155         (LeftLine): handle '|' in align_special.
14156         (RightLine): ditto
14157         (LeftAlreadyDrawed): ditto
14158         (SetWidthOfCell): ditto
14159
14160 2001-08-07  Juergen Vigna  <jug@sad.it>
14161
14162         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14163
14164 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14165
14166         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14167         * lyxlex.[hC]: ditto
14168
14169 2001-08-06  Juergen Vigna  <jug@sad.it>
14170
14171         * text.C (getVisibleRow): fix up row clearing a bit.
14172
14173 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14174
14175         * minibuffer.C: make sure the X server sees the changes in the input.
14176
14177 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * paragraph.C (getFont): split into...
14180         (getLabelFont): this
14181         (getLayoutFont): and this
14182         * paragraph_pimpl.C (realizeFont): calling this
14183
14184         * text2.C (getFont): split into...
14185         (getLayoutFont): this
14186         (getLabelFont): and this
14187         (realizeFont): all three calling this
14188
14189         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14190         files where used.
14191
14192 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14193
14194         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14195
14196 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14197
14198         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14199         layouts from the Quote inset insertion.
14200
14201 2001-08-03  Juergen Vigna  <jug@sad.it>
14202
14203         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14204
14205         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14206         only if status not is already CHANGED_IN_DRAW (second level).
14207
14208         * text.C (draw): don't set the need_break_row when inside an
14209         InsetText LyXText.
14210
14211 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14212
14213         * buffer.C (parseSingleLyXformat2Token): handle more latex
14214         conversion cases.
14215
14216         * bufferview_funcs.[hC]: change function names to
14217         begin with small char, adjust other files.
14218
14219 2001-08-02  André Pönitz <poenitz@gmx.net>
14220
14221         * lyxfunc.C:
14222         BufferView_pimpl.C: remove broken special code for math-greek
14223
14224 2001-08-02  Juergen Vigna  <jug@sad.it>
14225
14226         * BufferView_pimpl.C (update): redone this function so that we
14227         update the text again if there was a CHANGE_IN_DRAW.
14228
14229         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14230         (drawFromTo): added a new internal bool which is used by draw() and
14231         redraw() function.
14232         (general): some cursor drawing problems fixed.
14233
14234 2001-08-01  Juergen Vigna  <jug@sad.it>
14235
14236         * lyxfind.C (LyXFind): fixed
14237         (SearchForward): ditto
14238         (SearchBackward): ditto
14239
14240         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14241         spurius drawing of the cursor in the main area.
14242
14243         * text2.C (status): small fix which could lead to a segfault!
14244         (clearSelection): remove unneeded BufferView param.
14245
14246 2001-08-01  André Pönitz <poenitz@gmx.net>
14247
14248         * lyxfunc.C: small change due to changed mathed interface
14249
14250 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14251
14252         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14253
14254 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14255
14256         * lyxfunc.c: fail gracefully if file doesn't exist
14257
14258         * LyXSendto.C:
14259         * buffer.C:
14260         * lyxfunc.C:
14261         * BufferView_pimpl.C: IsDirWriteable() proto changed
14262
14263         * LyXView.C: fix updateWindowTitle() to store the last title
14264
14265 2001-07-31  Juergen Vigna  <jug@sad.it>
14266
14267         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14268         the font (wrong since using of Paragraph::highestFontInRange).
14269
14270         * paragraph.C (highestFontInRange): added a default_size parameter.
14271
14272         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14273         (setHeightOfRow): reformat
14274
14275 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14276
14277         * converter.[hC] + affected files: move to (inital-char)lowercase
14278         function names.
14279
14280         * ParagraphParameters.C (ParagraphParameters): remove commented code
14281
14282         * PainterBase.[Ch]: remove commented code
14283
14284         * LaTeXFeatures.h: add "bool floats" for float.sty
14285
14286         * LaTeXFeatures.C (LaTeXFeatures): init floats
14287         (require): handle float
14288         (getPackages): do it with floats
14289
14290 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14291
14292         * BufferView_pimpl.C (Dispatch): improve handling of
14293         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14294
14295         * commandtags.h: #include lyxfont.h here temporarily to avoid
14296         keybinding bug.
14297
14298         * bufferlist.h: include LString.h here.
14299
14300 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14301
14302         * text2.C (getStringToIndex): new method.
14303
14304 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14305
14306         * *: Reduced header file dependencies all over.
14307
14308 2001-07-30  Baruch Even  <baruch@lyx.org>
14309
14310         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14311
14312 2001-07-29  Baruch Even  <baruch@lyx.org>
14313
14314         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14315
14316 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14317
14318         * ParameterStruct.h (endif): add a default constructor to make
14319         sure that all variables is initialized.
14320
14321         * ParagraphParameters.C (ParagraphParameters): adjust
14322
14323 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14326         index; also, check that there is something to index, and that it
14327         does not span over several paragraphs.
14328         (doubleClick): use WHOLE_WORD_STRICT for double click.
14329
14330         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14331
14332         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14333         scheme.
14334
14335 2001-07-26  Baruch Even  <baruch@lyx.org>
14336
14337         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14338         an InsetFig figure, backwards compatible reading of old figure code.
14339
14340 2001-07-27  Juergen Vigna  <jug@sad.it>
14341
14342         * text2.C: font.realize function adaption.
14343
14344         * text.C (draw): add a warnings lyxerr text if needed.
14345
14346         * layout.C: font.realize function adaption.
14347
14348         * language.C: add inherit_language and implement it's handlings
14349
14350         * bufferview_funcs.C (StyleReset): remove language parameter from
14351         font creation (should be language_inherit now).
14352
14353         * bufferparams.C (writeFile): handle ignore_language.
14354
14355         * paragraph.C (getFontSettings): the language has to be resolved
14356         otherwise we have problems in LyXFont!
14357
14358         * lyxfont.C (lyxWriteChanges): added document_language parameter
14359         (update): removed unneeded language parameter
14360
14361         * paragraph.C (validate): fixed wrong output of color-package when
14362         using interface colors for certain fonts in certain environments,
14363         which should not seen as that on the final output.
14364
14365 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14366
14367         * BufferView_pimpl.C:
14368         * Thesaurus.h:
14369         * Thesaurus.C:
14370         * Makefile.am:
14371         * commandtags.h:
14372         * LyXAction.C: add thesaurus support
14373
14374         * lyxfind.h:
14375         * lyxfind.C: add "once" parameter, for thesaurus, to not
14376           move to the next match
14377
14378 2001-07-26  Juergen Vigna  <jug@sad.it>
14379
14380         * lyxfont.C (realize): honor ignore_language too!
14381         (resolved): ditto.
14382
14383         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14384
14385         * text.C (draw): one place more for ignore_language to not draw
14386         itself!
14387
14388 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14389
14390         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14391
14392 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14393
14394         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14395         the minipage conversion problem.
14396
14397 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14398
14399         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14400         insert an inset.
14401
14402 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14403
14404         * BufferView.h: don't forward declare WorkArea
14405
14406         * BufferView.C: don't include WorkArea.h
14407
14408 2001-07-25  André Pönitz <poenitz@gmx.net>
14409
14410         * commandtags.h:
14411         * LyXAction.C:
14412         * lyxfunc.C:  new LFUN 'math-space'
14413
14414         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14415
14416 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14417
14418         * text2.C (toggleInset): call open/close
14419
14420 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14421
14422         * lyxfunc.C (dispatch): add debug for the disabled case
14423
14424         * font.C (buttonText): make similar to rectText
14425
14426         * buffer.C (readInset): comment out parsing of insetlist and
14427         insttheorem
14428
14429         * PainterBase.C (rectText): small correction
14430
14431         * BufferView_pimpl.C: comment out insettheorem and insetlist
14432         * LyXAction.C: ditto
14433         * commandtags.h: ditto
14434
14435 2001-07-24  Juergen Vigna  <jug@sad.it>
14436
14437         * text.C (draw): honor the ignore_language.
14438
14439         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14440
14441 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14442
14443         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14444         char inset.
14445
14446 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14447
14448         * lyxtext.h: remove unused (and unimplemented) methods
14449
14450 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14451
14452         * text.C (getVisibleRow): honor background color
14453
14454         * PainterBase.h:
14455         * Painter.h: remove default color argument for fillRectangle
14456
14457         * text.C (backgroundColor): new method
14458
14459 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14460
14461         * text.C (getVisibleRow): adjust
14462
14463         * font.[Ch] (rectText): new method, metrics
14464         (buttonText): new method, metrics
14465
14466         * PainterBase.[hC]: make rectText and buttonText always draw and take
14467         fewer paramteres.
14468
14469 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14470
14471         * ToolbarDefaults.C (read):
14472         * MenuBackend.C (read): allow escaping in all strings
14473
14474         * BufferView_pimpl.C (insertAndEditInset): new method.
14475         (Dispatch): use insertAndEditInset whenever appropriate.
14476
14477         * BufferView_pimpl.C (insertNote): removed
14478
14479         * BufferView_pimpl.C (smartQuote): new method, moved from
14480         BufferView; if an insetquote cannot be inserted, insert a '"'
14481         character instead.
14482
14483         * BufferView2.C: remove insertCorrectQuote();
14484
14485         * lyxfunc.C (getStatus): Add support for all remaingin
14486         inset-insert lfuns.
14487
14488         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14489
14490         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14491         command (necessary to pass " as parameter of self-insert.
14492
14493         * text.C (selectWordWhenUnderCursor):
14494         (selectWord): add word_location parameter
14495         (selectWordWhenUnderCursor): same + remove special code for word
14496         boundary.
14497         (selectNextWord): use kind() to guess type of insetspecialchar,
14498         not latex().
14499
14500         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14501         (insertErtContents): create ert insets as collapsed.
14502         (readInset): better compatibility code for Info inset.
14503
14504 2001-07-20  Juergen Vigna  <jug@sad.it>
14505
14506         * lyxfunc.C (dispatch): use always LyXFind now!
14507
14508         * text2.C (init): add a reinit flag so that the LyXText can be
14509         reinited instead of deleted and reallocated (used in InsetText).
14510
14511         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14512
14513         * text.C: ditto
14514
14515         * text2.C: ditto
14516
14517 2001-07-18  Juergen Vigna  <jug@sad.it>
14518
14519         * text.C (selectNextWord): handle insets inside inset by calling
14520         always the bv->text functions so that we can go up the_locking_inset!
14521
14522         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14523         in strange locations when inside an inset!
14524
14525         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14526         handling to include insets.
14527
14528         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14529
14530 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14531
14532         * LyXAction.C (init):
14533         * commandtags.h:
14534         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14535         LIGATURE_BREAK, since the name is so stupid.
14536
14537 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14538
14539         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14540         InsetInfos.
14541
14542         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14543
14544         * sp_form.[Ch]: remove.
14545
14546         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14547
14548         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14549         InsetInfo.
14550
14551         * src/buffer.C (readInset): ditto.
14552
14553 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14554
14555         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14556         menuSeparator(), endOfSentenceDot(), ldots() and
14557         hyphenationPoint(), which are therefore removed.
14558         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14559
14560         * LyXAction.C (init):
14561         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14562
14563         * paragraph.C (getWord): removed.
14564
14565         * BufferView_pimpl.C (Dispatch): use last word or selection for
14566         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14567
14568         * lyx_main.C (queryUserLyXDir): do not ask before creating
14569         user_dir, except if it has been named explicitely.
14570
14571 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14572
14573         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14574         a document of zero size.
14575
14576 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14577
14578         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14579         approriately in the c-tor and in require().
14580         (getPackages): output the appropriate LaTeX for natbib support.
14581
14582         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14583         variables "use_natbib" and "use_numerical_citations" when reading the
14584         LyX file.
14585         (readInset): read the various natbib cite commands.
14586         (validate): white-space change.
14587
14588         * bufferparams.[Ch]: new variables "bool use_natbib" and
14589         "bool use_numerical_citations".
14590         (writeFile): output them in the LyX file.
14591
14592 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14593
14594         * lyxfunc.C (getStatus): add support for all the inset insertion
14595         commands.
14596
14597         * text2.C (insertInset):
14598         * paragraph.C (insetAllowed):
14599         * BufferView_pimpl.C (insertInset): update to take in account the
14600         renaming of insertInsetAllowed
14601
14602         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14603
14604         * text2.C (getInset): new method. returns inset at cursor position.
14605
14606         * BufferView_pimpl.C (Dispatch): changes because of this.
14607
14608         * LyXAction.C (init): rename open-stuff to inset-toggle.
14609
14610         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14611
14612         * text2.C (toggleInset): renamed from openStuff; use
14613         Inset::open().
14614
14615 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14616
14617         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14618
14619         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14620
14621 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14622
14623         * buffer.C (readLyXformat2): Add filename to the error dialog
14624
14625 2001-07-18  Juergen Vigna  <jug@sad.it>
14626
14627         * tabular.C (GetCellNumber): put an assert here instead of the check!
14628
14629 2001-07-17  Juergen Vigna  <jug@sad.it>
14630
14631         * BufferView_pimpl.C (toggleSelection): adapted too.
14632
14633         * text.C (selectNextWord): adapted for use with insets.
14634         (selectSelectedWord): ditto
14635
14636 2001-07-17  Juergen Vigna  <jug@sad.it>
14637
14638         * sp_spell.C (PSpell): fix initialitation order.
14639
14640 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14641
14642         * paragraph.C: spacing
14643
14644 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14645
14646         * sp_spell.C: repair language selection for pspell
14647
14648 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * lyxfunc.h: change more methods to begin with lower char.
14651
14652 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14653
14654         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14655         for unknown layouts.
14656
14657 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14658
14659         * buffer.C (readLyXformat2): Generate an error dialog if there are
14660         unknown layouts.
14661
14662 2001-07-16  Juergen Vigna  <jug@sad.it>
14663
14664         * sp_spell.C: always compile ISpell part.
14665
14666         * lyxrc.C: added use_pspell entry and it's handling.
14667
14668 2001-07-13  Juergen Vigna  <jug@sad.it>
14669
14670         * sp_spell.C: removed double includes.
14671
14672 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14673
14674         Consistent use of Lsstream.h:
14675         * Lsstream.h: added using std::stringstream for consistencies sake.
14676
14677         * buffer.C: removed using std::stringstream
14678
14679         * lyxfont.C (stateText):
14680         * paragraph.C (asString):
14681         * text.C (selectNextWord, selectSelectedWord):
14682         * text2.C (setCounter):
14683         * vspace.C (asString, asLatexString):
14684         std::ostringstream -> ostringstream.
14685
14686 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14687
14688         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14689         * commandtags.h: add LFUN_HELP_ABOUTLYX
14690         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14691
14692 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14693
14694         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14695         cursorToggle()
14696         * lyx_gui_misc.C: remove spellchecker
14697         * lyxfunc.C: showSpellchecker
14698         * sp_base.h: added
14699         * sp_ispell.h: added
14700         * sp_pspell.h: added
14701         * sp_spell.C: added
14702         * sp_form.[Ch]: removed
14703         * spellchecker.[Ch]: removed
14704
14705 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14706
14707         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14708         is set.
14709         (simpleTeXSpecialChars): Simply print the input character without
14710         any special translation if pass_thru is set.
14711
14712         * layout.h: Added bool pass_thru to layout class for being able to
14713         implement pass through of a paragraph for Literate Programming.
14714
14715         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14716         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14717         * layout.C (Read): add "passthru" to list of layout tags and add
14718         code to set the pass_thru boolean when it is read.
14719
14720 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14721
14722         * trans_decl.h: remove allowed from KmodInfo
14723
14724         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14725         remove allowed code
14726         (Load): adjust
14727
14728         * paragraph_pimpl.C (erase): use boost::prior
14729
14730         * Painter.C (text): use data() instead of c_str() when length is
14731         also provided.
14732         * WorkArea.C (putClipboard): ditto
14733         * font.h (width): ditto
14734
14735         * BufferView2.C: use it-> instead of (*it). for iterators
14736         * texrow.C: ditto
14737         * paragraph_pimpl.C: ditto
14738         * paragraph.C: ditto
14739         * minibuffer.C: ditto
14740         * language.C: ditto
14741         * kbmap.C: ditto
14742         * encoding.C: ditto
14743         * counters.C: ditto
14744         * converter.C: ditto
14745         * chset.C: ditto
14746         * Variables.C: ditto
14747         * TextCache.C: ditto
14748         * MenuBackend.C: ditto
14749         * LyXAction.C: ditto
14750         * LColor.C: ditto
14751         * FloatList.C: ditto
14752         * DepTable.C: ditto
14753         * ColorHandler.C (LyXColorHandler): ditto
14754
14755 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14758
14759         * text2.C (openStuff): reintroduce this method (which had been
14760         nuked in NEW_INSETS frenzy).
14761
14762         * lyxfunc.C (Dispatch): when an action has not been handled, use
14763         its name in the error message, not its number.
14764
14765         * paragraph.C (inInset): change method name to begin with lowercase.
14766
14767         * undo_funcs.C:
14768         * text2.C: updates because of this.
14769
14770 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * ToolbarDefaults.C (add): add spaces in error message
14773
14774 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14775
14776         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14777         (readLyXformat2): rename return_par to first_par, use lyxlex's
14778         pushToken and remove the manual push handling.
14779         (parseSingleLyXformat2Token): add another ert comp. variable:
14780         in_tabular, rename return_par to first_par. handle newlines better
14781
14782 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14783
14784         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14785
14786 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14787
14788         * text2.C (getParFromID): removed
14789
14790         * buffer.C (getParFromID): new method moved form lyxtext.
14791         * BufferView2.C (insertErrors): adjust
14792         (setCursorFromRow): adjust
14793         * BufferView_pimpl.C (restorePosition): adjust
14794         * lyxfunc.C (Dispatch): adjust
14795         * undo_funcs.C (textUndo): adjust
14796         (textRedo): adjust
14797         (textHandleUndo): adjust
14798         (textHandleUndo): adjust
14799
14800 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14801
14802         * buffer.C: up' the LYX_FORMAT
14803
14804         * lyxfont.h: turn NO_LATEX on as default
14805
14806         * buffer.C (insertErtContents): new methods of tex style compability.
14807         (parseSingleLyXformat2Token): use it several places.
14808         * tabular.C (OldFormatRead): and here
14809
14810 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14811
14812         * text2.C: remove some commented code.
14813         reindent file.
14814
14815         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14816         * trans.C: changes because of the above.
14817
14818 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14819
14820         * text2.C (setCounter): Fix counters bug with bibliography layout.
14821
14822 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14825         own member functions
14826         (simpleTeXSpecialChars): ditto
14827
14828 2001-07-06  Juergen Vigna  <jug@sad.it>
14829
14830         * a lot of files: changed the access to LyXText::status and the
14831         call of undo-functions.
14832
14833         * undo.[Ch]: added a inset_id to the undo informations.
14834
14835         * undo_funcs.[Ch]: added and moved here all undo functions.
14836
14837         * lyxtext.h: give the status enum a weight, made status_ a private
14838         variable and made accessor functions for it, removed the whole bunch
14839         of undo-functions as they are now in their own file, make some
14840         functions publically available. Added function ownerParagraph with
14841         int parameter.
14842
14843         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14844         made InInset() a const function, added getParFromID() function.
14845
14846         * buffer.[Ch]: added const version for inset_iterator functions,
14847         added getInsetFromID() function.
14848
14849         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14850         changed undo functions for new version.
14851
14852 2001-07-05  Juergen Vigna  <jug@sad.it>
14853
14854         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14855         unknow mechanism does not call the proper constructor but only this
14856         one also if I request the other!?
14857
14858 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14859
14860         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14861
14862         * text2.C (LyXText): use initialization lists.
14863
14864         * lyxtext.h (Selection): initialize set_ and mark_
14865         (init): remove method
14866
14867 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14868
14869         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14870
14871 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14872
14873         * screen.[Ch]: change method names to begin with lowercase
14874
14875         * BufferView_pimpl.C (updateScrollbar): simplify further and
14876         hopefully make it a bit faster.
14877
14878 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14879
14880         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14881         calling directly xforms functions.
14882
14883         * Painter.C (Painter):
14884         * lyx_cb.C (MenuWrite):
14885         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14886         fl_display.
14887
14888         * lyx_gui.C: remove bogus guiruntime extern declaration.
14889
14890 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14891
14892         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14893         in NEW_INSETS
14894         (redoDrawingOfParagraph): ditto
14895         (redoParagraphs): ditto
14896         (cutSelection): don't create a object for CutAndPaste use the
14897         static method directly
14898         (pasteSelection): ditto
14899
14900         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14901         LyXview (+ rename)
14902
14903 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14904
14905         * modifications to some other files because of this.
14906
14907         * Makefile.am (lyx_SOURCES): add XFormsView
14908
14909         * XFormsView.[Ch]: new files
14910
14911         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14912         the main window. Move the gui dependent stuff to XFormsView
14913
14914 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14915
14916         * tabular.C (GetCellInset): update cur_cell also in the row/col
14917         version of this function.
14918
14919         * lyxfunc.C: no need to include figure_form.h here.
14920
14921         * FontLoader.h:
14922         * lyxfunc.h:
14923         * lyxscreen.h:
14924         * text2.C:
14925         * lyxvc.C: no need to include forms.h here.
14926
14927 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14928
14929         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14930
14931         * lyxfunc.C (Dispatch):
14932         * Spacing.C (set):
14933         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14934         constructor argument.
14935
14936 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14937
14938         * paragraph.C (Paragraph): dont't clear, and just set layout.
14939         (makeSameLayout): use params's copy contructor.
14940
14941         * ParagraphParameters.[Ch] (makeSame): delete method
14942
14943 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14944
14945         * Variables.[Ch]: fix indentation, rename set to isSet
14946
14947 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14948
14949         * lyxfunc.C (Dispatch): fix typo
14950
14951 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14954         upper_bound.
14955
14956         * bufferlist.C: include assert.h for emergencyWrite().
14957
14958 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14959
14960         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14961           give up at last (bug #425202) !
14962
14963 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14964
14965         * lyx_gui_misc.C:
14966         * sp_form.h:
14967         * sp_form.C:
14968         * spellchecker.h:
14969         * spellchecker.C: strip spellchecker options and bring up
14970           preferences tab instead
14971
14972 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14973
14974         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14975         the istringstream constructor
14976
14977 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * paragraph.C (getLayout): fix return value
14980
14981         * paragraph.h: do not declare getLayout as inline.
14982
14983         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14984
14985 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * lyxcursor.h (operator<): new func
14988         (operator>): new func
14989         (operator>=): new func
14990         (operator<=): new func
14991
14992         * text.C (changeCase): use selection.start and selection.end
14993         (changeRegionCase): require from to be <= to. Require par to be a
14994         valid paragraph.
14995
14996         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14997
14998 2001-06-27  Juergen Vigna  <jug@sad.it>
14999
15000         * text.C (cursorLeftOneWord): changed to return the cursor and added
15001         overlay with BufferView * parameter which calls this one.
15002         (getWord): added
15003         (selectWord): use new getWord function.
15004         (changeCase): renamed from changeWordCase as and extended to work
15005         also on selections.
15006
15007         * lyxtext.h: added enum word_location
15008
15009         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15010         changeCase as this operates now also on selections.
15011
15012 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15013
15014         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15015
15016         * many files: send debug output to Debug::INFO instead of
15017         Debug::ANY.
15018
15019         * converter.C (View):
15020         (Convert):
15021         (Move): send debug output to Debug::FILES instead of console.
15022
15023 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15024
15025         * lyxfunc.C (getStatus): use func_status
15026
15027         * func_status.h: new header, describing the results of
15028         LyXFunc::getStatus;
15029
15030         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15031         LFUN_MATH_HALIGN.
15032
15033 2001-06-25  The LyX Project  <jug@sad.it>
15034
15035         * buffer.C (sgmlOpenTag):
15036         (sgmlCloseTag):
15037         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15038
15039 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * text2.C: remove some dead code
15042
15043         * tabular.C (GetCellInset): store the last cell checked (gotten)
15044
15045         * tabular.h: add the helper for the speedup
15046
15047         * lyxtext.h: remove some dead code
15048
15049 2001-06-26  The LyX Project  <Asger>
15050
15051         * paragraph.C: Change export to LaTeX of alignment to
15052         \begin{center} and family for better roundtrip work with reLyX.
15053
15054         * Tune the math drawing a bit.
15055
15056 2001-06-25  The LyX Project  <Asger>
15057
15058         * LColor.C (LColor): New color for math background. New color
15059         for buttons.
15060
15061 2001-06-25  The LyX Project  <jug@sad.it>
15062
15063         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15064
15065         * lyxfunc.C (Open):
15066         * bufferlist.C (newFile): do not restrict to files ending with
15067         .lyx
15068
15069         * BufferView_pimpl.C (MenuInsertLyXFile):
15070
15071 2001-06-24  The LyX Project  <jug@sad.it>
15072
15073         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15074         of compare_no_case
15075
15076 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15077
15078         * lyxtext.h: rename most methods to begin with a small char.
15079         Lots of changes because of this.
15080
15081         * paragraph.C (Paragraph): do not call fitToSize
15082         (erase): call Pimpl::erase
15083         (insertChar): call Pimpl::insertChar
15084         (insertInset): call Pipl::insertInset
15085         (breakParagraph): do not call fitToSize
15086         (breakParagraphConservative): do not call fitToSize
15087         (fitToSize): remove method
15088
15089         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15090
15091 2001-06-24  The LyX Project  <Asger>
15092
15093         * Fix Qt compilation^2
15094
15095 2001-06-24  The LyX Project  <jug@sad.it>
15096
15097         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15098         depthHook(getDepth()-1).
15099
15100         * paragraph.h:
15101         * ParagraphParameters.h:
15102         * ParameterStruct.h: change type of depth to unsigned int ==
15103         depth_type. Many adaptations to other files before of that.
15104
15105 2001-06-24  The LyX Project  <Asger>
15106
15107         * Fix Qt compilation.
15108
15109 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15110
15111         * paragraph.h: renamed several methods to begin with small letter.
15112         several changes to many parts of the code because of this.
15113
15114 2001-06-23  The LyX Project  <jug@sad.it>
15115
15116         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15117         rewritten to discard all double spaces when KeepEmpty is off
15118         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15119         to only handle newlines but not fiddle with spaces and friends.
15120
15121         * lyxfunc.C (MenuNew): when doing 'new from template', use
15122         template_path as default directory
15123
15124 2001-06-23  The LyX Project  <Asger>
15125
15126         * Clean-up of header file includes all over
15127         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15128
15129 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15130
15131         * paragraph.h: renamed from lyxparagraph.h
15132
15133 2001-06-23  Asger  <lyx@violet.home.sad.it>
15134
15135         * Buffer.h: Removed Buffer::resize
15136         * BufferList.h: Removed BufferList::resize
15137         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15138         the document lazily when we change the width, or the font settings.
15139
15140 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15141
15142         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15143
15144 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15145
15146         * buffer.h: remove out of date comment
15147
15148 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15149
15150         * lyxscreen.h:
15151         * screen.C: fix "theoretical" GC leak
15152
15153 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * LaTeX.C (scanAuxFile):
15156         (deplog): remove trailing \r when reading stream (useful under
15157         win32)
15158
15159 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15160
15161         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15162         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15163         and BufferView::theLockingInset(Inset*), so should use them and not
15164         access bv_->text->the_locking_inset directly.
15165
15166         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15167
15168 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15169
15170         * Makefile.am:
15171         * tex-defs.h: remove old unused file
15172
15173 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15174
15175         * BufferView_pimpl.C: fix typo, remove minibuffer message
15176           when buffer has loaded
15177
15178 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15179
15180         * lyxfunc.C (Dispatch): use stringstream
15181         (MenuNew): use stringstream
15182         (Open): use stringstream
15183
15184         * importer.C (Import): use stringstream
15185
15186         * bufferview_funcs.C (CurrentState): use stringstream
15187
15188         * LaTeX.C (run): use stringstream
15189
15190         * BufferView_pimpl.C (savePosition): use stringstream
15191         (restorePosition): use stringstream
15192         (MenuInsertLyXFile): use stringstream
15193
15194 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15195
15196         * BufferView.C:
15197         * Bullet.C:
15198         * ColorHandler.C:
15199         * FontInfo.C:
15200         * FontLoader.C:
15201         * LColor.C:
15202         * LaTeXFeatures.C:
15203         * Painter.C:
15204         * gettext.C:
15205         * lyx_gui_misc.C:
15206         * lyxserver.C:
15207         * vspace.C: removed // -*- C++ -*- as first line.
15208
15209         * lyxfind.h:
15210         * version.h: added // -*- C++ -*- as first line.
15211
15212 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15213
15214         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15215
15216         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15217         of string
15218
15219 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15222         of floats.
15223
15224 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * gettext.C: include LString.h even when --disable-nls is on.
15227
15228 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15229
15230         * converter.h (Get): changed argument type from int to
15231         FormatList::size_type to avoid unnecessary conversion.
15232
15233         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15234         before using it.
15235
15236 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15237
15238         * gettext.h: include LString.h even when --disable-nls is on.
15239
15240 2001-06-07  Juergen Vigna  <jug@sad.it>
15241
15242         * text.C (BreakAgain): subst spaces with tabs.
15243
15244         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15245         (resizeInsetsLyXText): set force on resizeLyXText.
15246
15247 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * gettext.h (gettext_init):
15250         (locale_init): use a real definition instead of a macro
15251
15252 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * Bufferview_pimpl.C:
15255         * LColor.h:
15256         * LColor.C: further lcolor tidies
15257
15258 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * BufferView_pimpl.C (updateScrollbar): simplify.
15261
15262         * BufferView2.C: don't include insets/insetinfo.h, change
15263         prototype for insertInset and call the Pimpl version. let
15264         updateInset call Pimpl version.
15265
15266         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15267         gotoInset to BufferView::Pimpl
15268
15269 2001-06-01  Juergen Vigna  <jug@sad.it>
15270
15271         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15272         inside a LockingInset (is the update needed at all?).
15273
15274 2001-05-31  Juergen Vigna  <jug@sad.it>
15275
15276         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15277         here not the old one otherwise how should we compare it afterwards
15278         if it's the same!
15279
15280 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15281
15282         * lyxfont.C:
15283         * tabular.C:
15284         * tabular-old.C:
15285         * FontInfo.C: bring C functions into global namespace when
15286         necessary
15287
15288 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15289
15290         * LString.h: make sure config.h has been loaded before LString.h.
15291
15292         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15293         (one for each char read by EatLine!).
15294
15295         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15296         variables.
15297
15298 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15301         to the same as the par we break from
15302
15303 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15304
15305         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15306
15307         * MenuBackend.C (expand): also create menu entries for wide
15308         versions of the floats.
15309
15310         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15311
15312         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15313
15314         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15315         frontends/Makefile.am
15316
15317         * text2.C: adjust
15318         * text.C: adjust
15319
15320
15321         * tabular.C (getTokenValue): add std::
15322
15323         * tabular-old.C (getTokenValue): add std::
15324         (getTokenValue): ditto
15325         (getTokenValue): ditto
15326
15327         * screen.C (ToggleSelection): adjust
15328
15329         * lyxtext.h: put selection cursors inside a Selection struct.
15330
15331         * lyxfunc.C (moveCursorUpdate): adjust
15332
15333         * lyxfont.C (latexWriteStartChanges): add std::
15334
15335         * lyxfind.C: adjust
15336
15337         * font.h: delete with(char const *, LyXFont const &)
15338
15339         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15340
15341         * FontInfo.C (getFontname): add std::
15342
15343         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15344         (workAreaButtonPress): adjust
15345         (tripleClick): adjust
15346         (update): adjust
15347         (moveCursorUpdate): adjust
15348         (Dispatch): adjust
15349
15350         * BufferView2.C (gotoInset): adjust
15351
15352 2001-05-30  Juergen Vigna  <jug@sad.it>
15353
15354         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15355         to check pspell I add this as default as I now have new pspell
15356         libraries and they seem to use this.
15357
15358 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15359
15360         * text2.C (CutSelection): make the cursor valid before the call to
15361         ClearSelection.
15362
15363 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15366         relied on 0 terminated strings and other horrors. Bug found due to
15367         the new assert in lyxstring!
15368
15369         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15370         KP_ keys.
15371
15372 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15373
15374         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15375         to latinkeys.bind.
15376
15377         * lyxfunc.C (processKeySym): change method of getting to the
15378         self-insert char.
15379
15380         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15381         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15382         * BufferView_pimpl.[Ch]: here as private methods.
15383
15384 2001-05-28  Juergen Vigna  <jug@sad.it>
15385
15386         * text.C (SetHeightOfRow): added the update() call again as it is
15387         needed to initialize inset dimensions!
15388
15389 2001-05-16  Juergen Vigna  <jug@sad.it>
15390
15391         * text2.C (SetCharFont): Add new function with BufferView * and
15392         bool toggleall parameters for setting insets internal fonts.
15393         (SetFont): Freeze the undo as we may change fonts in Insets and
15394         all this change should be inside only one Undo!
15395
15396         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15397         setting font's in insets as for them we have the SetFont function!
15398
15399 2001-05-15  Juergen Vigna  <jug@sad.it>
15400
15401         * text2.C (ClearSelection): to be sure we REALLY don't have any
15402         selection anymore!
15403
15404         * tabular.C (TeXCellPreamble): fixed the left border problem for
15405         multicolumn cells.
15406
15407 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15408
15409         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15410         dependancy file
15411
15412 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15413
15414         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15415         LFUN_BREAKPARAGRAPH.
15416
15417         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15418         help test to "internal only", similar for LFUN_INSERT_URL
15419
15420         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15421         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15422         auto_region_delete and deadkeys.
15423
15424 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15425
15426         * LColor.h:
15427         * LColor.C: remove some dead entries, tidy a little
15428
15429 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15430
15431         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15432         commented code.
15433         (Dispatch): implement LFUN_ESCAPE
15434
15435         * commandtags.h: add LFUN_ESCAPE
15436
15437         * LyXAction.C (init): add entry for LFUN_ESCAPE
15438
15439         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15440         Remove commented code.
15441         (insertNote): moved here
15442         (open_new_inset): moved here
15443
15444         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15445         BufferView_pimpl
15446
15447 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15448
15449         * kbmap.C (findbinding): clean it up and make it work correctly.
15450
15451         * lyx_main.C (init): do not pass argc and argv as parameters
15452
15453 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15454
15455         * buffer.C: fix path for OS/2 & Win32
15456
15457         * lyx_gui.C:
15458         * lyx_main:
15459         * lyx_main.C: Added os:: class.
15460
15461         * os2_defines.h: update
15462
15463 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15464
15465         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15466         better by trying again with reduced state.
15467
15468 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15469
15470         * lyxrc.C (read): print error about invalid key sequence only when
15471         debugging (because not all latinX keysyms are known to some X
15472         servers)
15473
15474         * kbsequence.C (getiso): add a few std:: qualifiers
15475         (getiso): comment out extra return statement.
15476
15477 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15478
15479         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15480         handling.
15481         (Dispatch): enhance the accent inset a bit. (not perfect)
15482
15483 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15484
15485         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15486
15487 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15488
15489         * bufferlist.C (emergencyWrite): fix assert() call
15490
15491 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15492
15493         * text.C (InsertChar): Added trivial patch to only send the "you
15494         can not do multiple spaces this way" message once during a
15495         session.
15496
15497 2001-05-08  Baruch Even  <baruch@lyx.org>
15498
15499         * Makefile.am: Changed order of libraries to get LyX to link properly
15500         with the gnome frontend.
15501
15502 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15503
15504         * LaTeXFeatures.h: add a std:: qualifier
15505
15506 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * paragraph.C (String): use stringstream
15509
15510 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * paragraph.C (writeFile): remove footflag arg
15513
15514         * buffer.C (makeLaTeXFile): use stringstream
15515         (latexParagraphs): remove footnot gurba
15516
15517         * LaTeXFeatures.C (getPackages): use stringstream
15518         (getMacros): likewise
15519         (getTClassPreamble): likewise
15520         (getFloatDefinitions): new method
15521
15522         * paragraph.C (writeFile): reindent
15523         (Erase): reindent
15524
15525         * WorkArea.h: revert the xpos + etc changes.
15526
15527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15528
15529         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15530
15531         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15532         (pasteSelection): likewise
15533         * text2.C (CreateUndo): likewise
15534
15535 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15536
15537         * minibuffer.C (peek_event): temporarily reduce the functionality
15538         of the minibuffer (to allow args on lfuns)
15539
15540         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15541         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15542
15543         * buffer.C (readInset): add compability reading of old float
15544         lists, add reading of new style float list.
15545         (readInset): avoid reevaluation of inscmd.getCmdName()
15546         (getLists): reindent
15547
15548         * MenuBackend.C (MenuItem): implement parsing of
15549         md_floatlistinsert and md_floatinsert.
15550         (expand::LastFiles): move initalizaton of iterators out of loop,
15551         avoid reevaluation.
15552         (expand::Documents): introduce typdedef vector<string> Strings,
15553         and use it.
15554         (expand::ExportFormats): introduce typedef vector<Format const *>
15555         Formats, and use it.
15556         (expand): implement FloatListInsert and FloatInsert.
15557
15558         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15559         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15560         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15561
15562         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15563         handling.
15564         (Dispatch::LFUN_FLOAT_LIST): implement
15565
15566 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15567
15568         * LaTeX.C (run): Fix problem with --export code.
15569
15570 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15571
15572         * BufferView.[Ch] (workarea): removed.
15573         (getClipboard) new method; wrapper for workarea()->getClipboard()
15574
15575         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15576         bug.
15577
15578         * WorkArea.h (width, height, xpos, ypos): These methods all
15579         returned the dimensions of the work_area sub-area of WorkArea,
15580         resulting in a position error if the WorkArea were resized. Now
15581         return the dimensions of the entire WorkArea.
15582
15583         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15584
15585 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * LaTeX.C (deplog): correct the syntax of regex reg1
15588
15589 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15590
15591         * undo.C: remove !NEW_INSETS cruft
15592
15593 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15594
15595         * text2.C: remove !NEW_INSETS cruft
15596
15597         * text.C: remove !NEW_INSETS cruft
15598
15599         * tabular.C: remove !NEW_INSETS cruft
15600
15601         * spellchecker.C: remove !NEW_INSETS cruft
15602
15603         * lyxtext.h: remove !NEW_INSETS cruft
15604
15605         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15606
15607         * lyxfunc.C: remove !NEW_INSETS cruft
15608
15609         * lyxfind.C: remove !NEW_INSETS cruft
15610
15611         * lyx_cb.C: remove !NEW_INSETS cruft
15612
15613         * figureForm.C: remove  !NEW_INSETS cruft
15614
15615         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15616
15617         * buffer.[Ch]: remove !NEW_INSETS cruft
15618
15619         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15620
15621         * CutAndPaste.C: remove !NEW_INSETS cruft
15622
15623         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15624
15625         * BufferView2.C: remove !NEW_INSETS cruft
15626
15627         * BufferView.h: remove !NEW_INSETS cruft
15628
15629 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15630
15631         * Lsstream.h: include LString.h before the sstream headers to
15632         fix problem with gcc 2.95.3 and lyxstring
15633
15634 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15635
15636         * lyx_main.C: add using directives when needed for C functions
15637         declared in std:: namespace.
15638
15639 2001-04-27  Juergen Vigna  <jug@sad.it>
15640
15641         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15642         (SetHeightOfRow): comment out the update call should not be needed!
15643
15644 2001-04-13  Juergen Vigna  <jug@sad.it>
15645
15646         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15647         (LyXTabular): tried to minimize operator= operations (and realized
15648         hopfully Lars wish).
15649
15650 2001-04-27  Juergen Vigna  <jug@sad.it>
15651
15652         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15653
15654 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15657
15658         * buffer.C (readInset): hack to make listof algorithm work
15659
15660         * BufferView_pimpl.C: hack to make listof algorithm work
15661
15662 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15663
15664         * LyXAction.C: removed all !NEW_INSETS cruft
15665         (init): moved lfun_item in method
15666
15667         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15668
15669 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15670
15671         * BufferView2.C (theLockingInset): white space.
15672
15673 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15674
15675         * minibuffer.C: include <iostream>
15676
15677         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15678
15679         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15680
15681         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15682
15683         * text.[Ch] (TransposeChars): new method
15684
15685 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15686
15687         * call message directly through LyXView instead of through LyXFunc
15688         * BufferView2.C: adjust
15689         * BufferView_pimpl.C: adjust
15690         * FontLoader.C: adjust
15691         * buffer.C: adjust
15692         * bufferview_funcs.C: adjust
15693         * converter.C: adjust
15694         * figureForm.C: adjust
15695         * importer.C: adjust
15696         * lyx_cb.C: adjust
15697         * lyx_gui_misc.C: adjust
15698         * lyxfunc.C: adjust
15699         * lyxvc.C: adjust
15700         * text2.C: adjust
15701         + more files in subdirs
15702
15703         * lyxparagraph.h (size): move up int file
15704         (GetLayout): ditto
15705
15706         * adjust all uses of Assert to lyx::Assert.
15707
15708         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15709         lyxfunctional in namespace lyx
15710         * layout.C (hasLayout): ditto
15711         (GetLayout): ditto
15712         (GetLayout): ditto
15713         (delete_layout): ditto
15714         (NumberOfClass): ditto
15715         * converter.C (GetFormat): ditto
15716         (GetNumber): ditto
15717         (Add): ditto
15718         (Delete): ditto
15719         (SetViewer): ditto
15720         * bufferlist.C (getFileNames): ditto
15721         (emergencyWriteAll): ditto
15722         (exists): ditto
15723         (getBuffer): ditto
15724         * MenuBackend.C (hasSubmenu): ditto
15725         (hasMenu): ditto
15726         (getMenu): ditto
15727         * BufferView_pimpl.C (getInsetByCode): ditto
15728
15729 2001-04-18  Juergen Vigna  <jug@sad.it>
15730
15731         * vspace.C (asLatexString): fixed the 100% problem.
15732
15733 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15734
15735         * lyxfunc.C (Dispatch):
15736         * minibuffer.C:
15737         * minibuffer.h: add a few std:: qualifiers
15738
15739 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * minibuffer.[Ch]: reimplement so that commands is initiated and
15742         run from lyxfunc, simplified som handling, and made the completion
15743         and history code for complete. wip.
15744
15745         * lyxfunc.C (processKeySym): call message
15746         (miniDispatch): new temporary method
15747         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15748         (LFUN_MESSAGE): implement
15749         (LFUN_MESSAGE_PUSH): implement
15750         (LFUN_MESSAGE_POP): implement
15751         (initMiniBuffer): the initial/defualt minibuffer message.
15752
15753         * lyxfont.[Ch]: inline some more getters
15754
15755         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15756
15757         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15758
15759         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15760         (AutoSave): use LFUN_MESSAGE
15761         (Reconfigure): ditto
15762
15763         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15764
15765         * figureForm.C: use LFUN_MESSAGE
15766
15767         * converter.C (runLaTeX): use LFUN_MESSAGE
15768
15769         * bufferview_funcs.C: use LFUN_MESSAGE
15770         (Melt): ditto
15771         (changeDepth): ditto
15772
15773         * bufferparams.h: use boost::
15774
15775         * bufferlist.h: inherit privately from noncopyable
15776
15777         * bufferlist.C (loadLyXFile): remove some commented code.
15778
15779         * buffer.C (runChktex): use LFUN_MESSAGE
15780
15781         * ShareContainer.h: inherit privately from noncopyable
15782
15783         * ParagraphParameters.[hC] (depth): inline it.
15784
15785         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15786         methods.
15787         (message): new method
15788         (messagePush): ditto
15789         (messagePop): ditto
15790         (show): init minibuffer
15791         (showState): direct call
15792
15793         * LaTeX.[Ch]: inherit privately from noncopyable
15794         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15795         instead of WriteStatus.
15796
15797         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15798
15799         * BufferView_pimpl.C (buffer): don't init minibuffer
15800         (workAreaButtonPress): use LFUN_MESSAGE
15801         (workAreaButtonRelease): ditto
15802         (savePosition): ditto
15803         (restorePosition): ditto
15804         (MenuInsertLyXFile): ditto
15805         (workAreaExpose): don't init minibuffer
15806         (update): remove commented code, simplify
15807
15808         * BufferView2.C (openStuff): use LFUN_MESSAGE
15809         (toggleFloat): ditto
15810         (menuUndo): ditto
15811         (menuRedo): ditto
15812         (copyEnvironment): ditto
15813         (pasteEnvironment): ditto
15814         (copy): ditto
15815         (cut): ditto
15816         (paste): ditto
15817         (gotoInset): ditto
15818         (updateInset): remove some commented code
15819
15820         * lastfiles.h: inherit privately from noncopyable
15821         * layout.h: ditto
15822         * lyx_gui.h: ditto
15823         * lyx_main.h: ditto
15824         * lyxlex.h: ditto
15825         * lyxlex_pimpl.h: ditto
15826
15827         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15828         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15829         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15830
15831         * LyXAction.h: inherit privately from noncopyable, add methods
15832         func_begin, func_end, returning iterators to the func map.
15833
15834         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15835         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15836         (func_begin): new method
15837         (func_end): new method
15838
15839         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15840         and not)
15841         (copySelection): ditto
15842         (pasteSelection): ditto
15843
15844         * BufferView.C: whitespace change
15845         * BufferView.h: inherit privately from noncopyable
15846
15847 2001-04-16  Allan Rae  <rae@lyx.org>
15848
15849         * tabular-old.C (l_getline):
15850         * spellchecker.C (sc_check_word):
15851         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15852         an unrecognised preprocessor directive.  So ensure they're wrapped.
15853
15854 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15855
15856         * src/exporter.C (Export): Give an error message when path to file
15857         contains spaces.
15858
15859 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15860
15861         * LaTeX.C (deplog): Always check that foundfile exists.
15862
15863 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15864
15865         * lyx_main.h:
15866         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15867
15868 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * tabular.[Ch] (getLabelList): implement new method
15871
15872         * minibuffer.h: comment ouf setTiimer
15873
15874         * minibuffer.C (ExecutingCB): constify res
15875         (peek_event): constify s
15876         (Set): constify ntext
15877         (Init): constify nicename
15878
15879         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15880
15881         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15882         (savePosition): use two params to Minibuffer::Set
15883         (restorePosition): ditto
15884
15885 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15886
15887         * lyx_main.C: include language.h
15888
15889         * Makefile.am (lyx_main.o): add language.h
15890
15891 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15892
15893         * exporter.C:
15894         * paragraph.C:
15895         * screen.C:
15896         * tabular.C:
15897         * CutAndPaste.C: include gettext.h
15898
15899         * lyxfont.h: remove old hack with ON and OFF.
15900
15901         * lyxparagraph.h:
15902         * lyxfont.h: do not include language.h...
15903
15904         * BufferView2.C:
15905         * LaTeXFeatures.C:
15906         * Painter.C:
15907         * bufferview_funcs.C:
15908         * font.C:
15909         * lyxfont.C:
15910         * text.C:
15911         * text2.C:
15912         * trans_mgr.C:
15913         * paragraph.C: ... but do it here instead
15914
15915 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15916
15917         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15918
15919         * tabular.C: small reformat
15920
15921         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15922         NEW_INSETS version
15923         (GetChar): ditto
15924         (BreakParagraph): ditto
15925         (SetOnlyLayout): ditto
15926         (SetLayout): ditto
15927
15928         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15929         with one arg less.
15930
15931         * lastfiles.C: removed most using decl, add std:: where needed
15932
15933         * buffer.C: ws changes
15934
15935         * MenuBackend.C (class compare_format): put into anon namespace
15936         (expand): constify label, names, action, action2
15937         (expand):
15938
15939         * text.C (SingleWidth): constify font
15940         (IsBoundary): constify rtl2
15941         (GetVisibleRow): constify ww
15942
15943         * LaTeX.C (deplog): constify logfile
15944
15945         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15946         start_x, end_x
15947         (workAreaExpose): constify widthChange, heightChange
15948
15949         * lyxrow.C (par): moved
15950         (height): moved
15951         (next): moved
15952         * lyxrow.h: as inlines here
15953
15954         * lyxfont.h (shape): moved from lyxfont.C
15955         (emph): moved from lyxfont.C
15956
15957         * lyxfont.C (LyXFont): use initialization list for all
15958         constructors
15959         (shape): move to lyxfont.h as inline
15960         (emph): move to lyxfont.h as inline
15961
15962
15963 2001-04-04  Juergen Vigna  <jug@sad.it>
15964
15965         * vspace.C: had to include stdio.h for use of sscanf
15966
15967 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15968
15969         * BufferView.h:
15970         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15971         independent of xforms.
15972
15973 2001-04-02  Juergen Vigna  <jug@sad.it>
15974
15975         * spellchecker.C: fixed namespace placing!
15976
15977 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15978
15979         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15980         the LyXParagraph * is 0.
15981
15982 2001-03-29  Juergen Vigna  <jug@sad.it>
15983
15984         * vspace.C: added support for %, c%, p%, l%.
15985         (stringFromUnit): added helper function.
15986         (asLatexString): changed to give right results for the %-values.
15987
15988         * buffer.C: convert the widthp in a width%.
15989
15990 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15991
15992         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15993         figureForm.[Ch].
15994
15995         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15996         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15997
15998         * lyx_cb.[Ch]: see above.
15999
16000         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16001         form1.[Ch].
16002
16003         * form1.[Ch]:
16004         * lyx.[Ch]: replaced by figure_form.[Ch].
16005
16006         * lyx_gui.C:
16007         * lyx_gui_misc.C:
16008         * lyxfunc.C: changed headers associated with above changes.
16009
16010 2001-03-27  Juergen Vigna  <jug@sad.it>
16011
16012         * BufferView_pimpl.C: set the temporary cursor right!
16013
16014 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16015
16016         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16017
16018 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16019
16020         * LString.h: removed "using std::getline"!
16021
16022         * BufferView_pimpl.C (Dispatch): changes due to changes in
16023         InsetInclude::Params.
16024
16025         * buffer.C (tag_name): removed redundant break statements as they were
16026         producing lots of warnings with my compiler.
16027
16028 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * LString.h: add "using std::getline" when using the real <string>.
16031
16032 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16033
16034         * buffer.C: removed bitset usage.
16035         PAR_TAG moved to an anonymous name space.
16036         (tag_name): new funtion, also in the anonymous namespace.
16037         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16038         (makeDocBookFile): clean code. Completed transition from string arrays
16039         to string vectors.
16040         (SimpleDocBookOnePar): code clean.
16041
16042 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16043
16044         * tabular.C: add some comments.
16045
16046 2001-03-22  Juergen Vigna  <jug@sad.it>
16047
16048         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16049         compatibility read a bit and fixed bug with minipage in different
16050         depth.
16051
16052 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16053
16054         * buffer.C (pop_tag): removed.
16055         (push_tag): removed.
16056         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16057         array replaced with vector. Added support for CDATA sections.
16058         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16059         at any nest level.
16060         (makeDocBookFile): XML conformant declaration of CDATA section,
16061         fixed bug related to <emphasis> in the first paragraph char.
16062         (sgmlOpenTag): exclude empty tags.
16063         (sgmlCloseTag): ditto.
16064
16065         * buffer.h (pop_tag): removed.
16066         (push_tag): removed.
16067
16068 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16069
16070         * language.h (Languages): added size_type and size().
16071
16072 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16073
16074         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16075         response on compability reading of minipages. One probliem is that
16076         the old usage of minipages was «flertydig»
16077
16078         * several files here and in subdirs: don't use static at file
16079         scope use anon namespaces instead.
16080
16081 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16082
16083         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16084         LaTeX output. This is necessary for Literate document
16085         processing.
16086
16087 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16088
16089         * buffer.C: insert hfill when needed.
16090
16091         * tabular.C (l_getline): use string::erase, small whitespace change.
16092
16093         * BufferView_pimpl.C: try the anon namespace.
16094         * WorkArea.C: ditto
16095
16096 2001-03-16  Juergen Vigna  <jug@sad.it>
16097
16098         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16099         otherwise it won't open options-dialogs.
16100
16101         * buffer.C: honor pextraWidth(p) on converting minipages.
16102
16103         * tabular.C (l_getline): changed the functions to strip trailing \r.
16104
16105 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16106
16107         * BufferView_pimpl.C:
16108         * minibuffer..C: added "using SigC::slot" declaration.
16109
16110 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16111
16112         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16113
16114         * text2.C: ditto
16115
16116         * text.C: ditto
16117
16118         * paragraph.C: ditto
16119
16120         * lyxtext.h: NO_PEXTRA
16121
16122         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16123
16124         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16125         * ParameterStruct.h: ditto
16126         * ParagraphParameters.h: ditto
16127         * lyxparagraph.h: ditto
16128
16129 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16130
16131         * buffer.C: add compability for minipage alignment.
16132         (latexParagraphs): remove unwanted pextra check.
16133
16134         * several files: remove CXX_WORKING_NAMESPACES
16135
16136         * buffer.C (pop_tag): tie is in namespace boost
16137
16138         * BufferView.h: noncopyable is in namespace boost
16139         * lyxlex.h: ditto
16140         * lyx_main.h: ditto
16141         * lyx_gui.h: ditto
16142         * layout.h: ditto
16143         * lastfiles.h: ditto
16144         * bufferlist.h: ditto
16145         * ShareContainer.h: ditto
16146         * LyXView.h: ditto
16147         * LyXAction.h: ditto
16148         * LaTeX.h: ditto
16149
16150 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16151
16152         * Merging changes from BRANCH_MVC back into HEAD.
16153
16154         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16155
16156 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16157
16158         * BufferView_pimpl.C: change from intl.C
16159
16160         * combox.h:
16161         * combox.C:
16162         * Makefile.am: move combox.*
16163
16164         * form1.h:
16165         * form1.C:
16166         * lyx_gui.C:
16167         * intl.h:
16168         * intl.C: remove dialog (covered by prefs)
16169
16170 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16171
16172         * lyxfunc.C (Dispatch): removed redundant break statement.
16173
16174 2001-03-14  Juergen Vigna  <jug@sad.it>
16175
16176         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16177
16178 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16179
16180         * buffer.C: add hack to fix compability reading of minipages.
16181
16182 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16183
16184         * buffer.C (getLists): Cleanup.
16185
16186 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16187
16188         * lyxfont.C (update): don't honor toggleall on font size.
16189
16190 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16191
16192         * bmtable.c:
16193         * bmtable.h:
16194         * Makefile.am: moved to frontends/xforms/
16195
16196         * lyx_gui_misc.C:
16197         * lyxfunc.C:
16198         * BufferView_pimpl.C: changes for moved mathpanel
16199
16200 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16201
16202         * gettext.h: fix gettext_init() in --disable-nls
16203
16204 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16207
16208 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16209
16210         * lyx.C:
16211         * lyx.h: strip external form
16212
16213 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16214
16215         * BufferView_pimpl.C: add comment, destroySplash()
16216
16217 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16218
16219         * BufferView_pimpl.C:
16220         * LyXAction.C:
16221         * buffer.C:
16222         * commandtags.h:
16223         * lyxfunc.C: use re-worked insetinclude
16224
16225 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16226
16227         * buffer.C: add using std::stringstream.
16228
16229         * lyx_cb.C: readd using std::ios.
16230
16231         * buffer.C: add using std::map.
16232
16233         * BufferView_pimpl.C: add using std::vector.
16234
16235         * ShareContainer.h: add std:: to swap.
16236
16237         * buffer.h: add some typedefs
16238         * buffer.C (getLists): use them
16239         (getLists): renamed from getTocList.
16240         add a counter for the different float types and use it in the
16241         generated string.
16242         (getLists): use the same counter for the NEW_INSETS and the "non"
16243         NEW_INSETS
16244
16245         * lyx_cb.h: remove unused items, includes, using etc.
16246
16247         * ShareContainer.h: remove some commented code, add more comments
16248         and "documentation".
16249
16250 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16251
16252         * buffer.C (getTocList): make the list also when NEW_INSETS is
16253         defined.
16254
16255         * buffer.h: remove TocType
16256
16257         * buffer.C (getTocList): change to return a map<string,
16258         vector<TocItem> >, implement for dynamic number of list.
16259
16260         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16261         * text2.C (PasteSelection): adjust
16262         * CutAndPaste.C (pasteSelection): adjust
16263
16264         * FloatList.C (FloatList): update from the new_insets branch.
16265         * Floating.[Ch]: ditto
16266         * LaTeXFeatures.C: ditto
16267         * buffer.C: ditto
16268         * lyxlex_pimpl.C: ditto
16269
16270         * paragraph.C (Last): remove when NEW_INSETS is defined.
16271
16272         * other file: changes because of the above.
16273
16274 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16275
16276         * lyxparagraph.h: rename next to next_, previous to previous_,
16277         make them private for NEW_INSETS. Rename Next() to next(),
16278         Previous() to previous().
16279
16280         * other files: changes because of the above.
16281
16282 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16283
16284         * BufferView.h:
16285         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16286         problem.
16287
16288 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16289
16290         * main.C (main): pass lyx_localedir to gettext_init().
16291
16292         * gettext.h: remove locale_init and gettext_init macros
16293
16294         * gettext.C (locale_init): new function
16295         (gettext_init): new function
16296
16297         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16298         setlocale().
16299
16300 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16301
16302         * Moved credits to frontends:
16303         * credits.[Ch]: removed
16304         * credits_form.[Ch]: removed
16305         * lyx_gui_misc.C: remove credits stuff
16306         * Makefile.am:
16307
16308 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16309
16310         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16311
16312         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16313         unneeded destructor.
16314
16315         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16316         a standalone pointer again.
16317
16318         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16319
16320 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16321
16322         * Makefile.am:
16323         * filedlg.h:
16324         * filedlg.C:
16325         * LyXAction.C:
16326         * ToolbarDefaults.C:
16327         * bufferlist.C:
16328         * commandtags.h:
16329         * form1.C:
16330         * form1.h:
16331         * lyx_cb.C:
16332         * lyx_cb.h:
16333         * lyxfunc.h:
16334         * lyxfunc.C:
16335         * BufferView_pimpl.C: use new file dialog in GUII
16336
16337         * lyx_cb.h:
16338         * lyx_cb.C: remove LayoutsCB to Toolbar
16339
16340 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * ShareContainer.h (get): add std:: qualifier
16343
16344 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * ShareContainer.h: define a proper ShareContainer::value_type
16347         type (and use typename to please compaq cxx)
16348
16349 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16350
16351         * lyxparagraph.h: move serveral local vars to
16352         ParameterStruct/ParagraphParameters., use ShareContainer in
16353         FontTable., make vars in FontTable private and add getter and
16354         setter.
16355
16356         * paragraph.C: changes because of the above.
16357
16358         * lyxfont.h: remove copy constructor and copy assignment. (the
16359         default ones is ok), move number inside FontBits. move inlines to
16360         lyxfont.C
16361
16362         * lyxfont.C: add number to initializaton of statics, move several
16363         inlines here. constify several local vars. some whitespace
16364         cleanup. Dont hide outerscope variables.
16365
16366         * Spacing.h: add two new constructors to match the set methods.
16367
16368         * ShareContainer.h: new file, will perhaps be moved to support
16369
16370         * ParameterStruct.h: new file
16371
16372         * ParagraphParameters.h: new file
16373
16374         * ParagraphParameters.C: new file
16375
16376         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16377         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16378
16379         * BufferView_pimpl.C: ParagraphParameter changes.
16380         * buffer.C: Likewise.
16381         * bufferview_funcs.C: Likewise.
16382         * text.C: Likewise.
16383         * text2.C: Likewise.
16384
16385 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16386
16387         * lyxfind.C (LyXReplace): do not redefine default argument in
16388         implementation.
16389         (IsStringInText): ditto
16390         (SearchForward): ditto
16391         (SearchBackward): ditto
16392
16393 2001-03-06  Juergen Vigna  <jug@sad.it>
16394
16395         * lyxfind.C (IsStringInText): put parentes around expressions.
16396
16397 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16398
16399         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16400
16401 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16402
16403         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16404
16405         * stl_string_fwd.h: add comment
16406
16407         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16408
16409         * tabular.h:
16410         * tabular.C: remove unused DocBook methods
16411
16412         * intl.C:
16413         * language.C:
16414         * paragraph.C:
16415         * buffer.C:
16416         killed DO_USE_DEFAULT_LANGUAGE
16417
16418 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16419
16420         * lyx_gui.C: do not include language.h.
16421
16422         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16423         arguments in function implementation.
16424
16425 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16426
16427         * BufferView_pimpl.C: add <ctime>
16428
16429 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16430
16431         * BufferView_pimpl.C: add using std::find_if
16432
16433 2001-02-27  José Matos  <jamatos@fep.up.pt>
16434
16435         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16436         by OnlyPath.
16437
16438 2001-02-11  José Matos  <jamatos@fep.up.pt>
16439
16440         * buffer.C (makeDocBookFile): command styles now have a parameter as
16441         "title" by default.
16442
16443 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16444
16445         * layout_forms.[Ch]: removed
16446         * lyx_cb.[Ch]: out character
16447         * lyx_gui.C: out character
16448         * lyx_gui_misc.C: out character
16449         * bufferview_funcs.C: : out character,
16450         added toggleall as parameter in ToggleAndShow
16451
16452 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16453
16454         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16455
16456         * text2.C (SetCurrentFont): Disable number property at boundary.
16457
16458 2001-02-26  Juergen Vigna  <jug@sad.it>
16459
16460         * lyxfunc.C (getStatus): added a string argument override function so
16461         that this is correctly called from LyXFunc::Dispatch if it contains a
16462         do_not_use_argument which is used!
16463         (Dispatch): added check for "custom" export and call appropriate func.
16464
16465 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16466
16467         * lyxrc.C: Add language_command_local, language_use_babel and
16468         language_global_options.
16469
16470         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16471
16472         * buffer.C (makeLaTeXFile): Use language_use_babel and
16473         language_global_options.
16474
16475 2001-02-23  Juergen Vigna  <jug@sad.it>
16476
16477         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16478         which works with LyXText and putted it inside BufferView. Here now we
16479         only call for that part the BufferView::Dispatch() function.
16480
16481         * BufferView.C (Dispatch): added.
16482
16483         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16484         functions which needs to use a LyXText over from LyXFunc.
16485         (MenuInsertLyXFile): added
16486         (getInsetByCode): added
16487         (moveCursorUpdate): added
16488         (static TEXT): added
16489
16490 2001-02-22  Juergen Vigna  <jug@sad.it>
16491
16492         * BufferView_pimpl.C (update): call a status update to see if LyXText
16493         needs it.
16494
16495 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16496
16497         * vc-backend.C (revert): implement for CVS
16498         (getLog): implement for CVS
16499
16500 2001-02-20  Juergen Vigna  <jug@sad.it>
16501
16502         * text2.C (ClearSelection): added BufferView param for inset_owner call
16503
16504         * lyxfunc.C (TEXT): added this function and use it instead of
16505         directly owner->view()-text of getLyXText().
16506
16507 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16508
16509         * src/layout_forms.C: out preamble
16510         * src/layout_forms.h: out preamble
16511         * src/lyx_cb.C: out preamble
16512         * src/lyx_cb.h: out preamble
16513         * src/lyx_gui.C: out preamble
16514         * src/lyx_gui_misc.C: out preamble
16515         * src/lyxfunc.C: connect with guii preamble
16516
16517 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16518
16519         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16520
16521 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16522
16523         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16524         whether to run bibtex.
16525
16526 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16527
16528         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16529
16530 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16531
16532         * Makefile.am (lyx_SOURCES): removed bibforms.h
16533
16534         * vspace.h: doxygen
16535
16536         * text.C (GetVisibleRow): make several local vars const
16537
16538         * tabular.C: small cleanup.
16539
16540         * lyxserver.C (callback): use compare instead of strncmp
16541
16542         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16543         inlines to after class or to paragraph.C
16544
16545         * lyxfont.h: remove friend operator!=
16546
16547         * converter.h: move friend bool operator< to non friend and after
16548         class def.
16549
16550         * combox.h: small cleanup
16551
16552         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16553         to inlines after class def.
16554
16555         * buffer.C (pop_tag): use string operations instead of strcmp
16556
16557         * bmtable.c: doxygen, small cleanup
16558
16559         * LaTeX.h: remove friend operator==
16560
16561 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16562
16563         * screen.C:
16564         * lyxrc.[Ch]:
16565         * lyxfunc.C:
16566         * lyxfont.[Ch]:
16567         * lyx_cb.C:
16568         * intl.[Ch]:
16569         * commandtags.h:
16570         * buffer.C:
16571         * WorkArea.[Ch]:
16572         * LyXAction.C:
16573         * BufferView_pimpl.C:
16574         * BufferView.[Ch]: remove cruft
16575
16576 2001-02-14  Juergen Vigna  <jug@sad.it>
16577
16578         * lyxfunc.C: removed #if 0 unused code
16579
16580         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16581
16582         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16583
16584         * text2.C (SetSelection): added a BufferView * parameter
16585
16586 2001-02-13  Juergen Vigna  <jug@sad.it>
16587
16588         * lyxfunc.C (Dispatch): fixed protected blank problem.
16589         * BufferView2.C (protectedBlank): added LyxText * parameter.
16590
16591         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16592         (AppendColumn): same as above for column_info.
16593
16594         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16595         (moveCursorUpdate): use a LyXText param for support of InsetText.
16596
16597         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16598         (tripleClick): ditto
16599
16600         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16601
16602         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16603
16604         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16605
16606         * text2.C (SetSelection): set correct update status if inset_owner
16607         (ToggleFree): ditto
16608
16609 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16610
16611         * tabular.C: remove some commented code.
16612
16613 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16614
16615         * BufferView_pimpl.C: call hideSplash()
16616
16617         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16618
16619         * include_form.h:
16620         * bibforms.h: remove
16621
16622         * lyxfunc.C:
16623         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16624           add LFUN_CHILD_CREATE
16625
16626         * counters.h: fix tiny typo
16627
16628         * lyx_cb.C:
16629         * lyx.h:
16630         * lyx_gui.C:
16631         * lyx.C: move splash to frontends/xforms/
16632
16633         * lyx_gui_misc.C: move Include and Bibform to frontends
16634
16635         * lyxvc.h: clarify comment
16636
16637         * vspace.C: tiny housekeeping
16638
16639 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16640
16641         * text.C (PrepareToPrint): RTL Fix.
16642
16643         * paragraph.C (GetUChar): New method.
16644         (String):  Use GetUChar.
16645
16646         * buffer.C (asciiParagraph): Use GetUChar.
16647
16648 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16649
16650         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16651
16652 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16653
16654         * buffer.h:
16655         * buffer.C: rename to getLogName(), handle
16656           build log / latex log nicely
16657
16658 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16659
16660         * MenuBackend.C:
16661         * MenuBackend.h: remove support for reference menuitem type.
16662
16663 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16664
16665         * BufferView_pimpl.C: housekeeping
16666         * BufferView_pimpl.h:
16667         * LyXView.h:
16668         * Makefile.am:
16669         * Timeout.C:
16670         * Timeout.h:
16671         * minibuffer.h: move Timeout GUI-I
16672
16673 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16674
16675         * lyxrc.C (read): Update converters data-structures.
16676
16677 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16678
16679         * LaTeX.h (operator!=): add operator != for Aux_Info
16680
16681 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16682
16683         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16684
16685         * LaTeXLog.C: deleted, useful code moved to Buffer
16686
16687         * buffer.h:
16688         * buffer.C: new function getLatexLogName()
16689
16690         * lyx_gui_misc.C:
16691         * lyx_gui.C:
16692         * lyxvc.C:
16693         * lyxvc.h:
16694         * lyxfunc.C: use frontends for LaTeX and VC logs
16695
16696 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16697
16698         * LaTeX.h: yet another std:: that Allan forgot.
16699
16700         * Variables.C (set): renamed from isset(), because this clashes
16701         with some HP-UX macros (grr).
16702
16703 2001-02-06  Allan Rae  <rae@lyx.org>
16704
16705         * LaTeX.h: Another bug fix.  Missing std:: this time.
16706
16707 2001-02-04  Allan Rae  <rae@lyx.org>
16708
16709         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16710         floats problem. I've left it commented out because it's not quite
16711         correct.  It should also test that the current object is a table or
16712         figure inset.  But I haven't gotten around to figuring out how to do
16713         that.  I *think* it'll be something like: "table" == inset.type()
16714
16715         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16716         bool.
16717
16718 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16719
16720         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16721         all the citation/databases/styles in the auxilary file.
16722         (run): Rerun latex if there was a babel language error.
16723
16724 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16725
16726         * text.C (Backspace): Preserve the font when changing newline char
16727         with a space.
16728         (BreakParagraph): If the cursor is before a space, delete the space.
16729
16730         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16731
16732 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16733
16734         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16735         new argument (code).
16736         (ChangeCitationsIfUnique): New method.
16737
16738         * paragraph.C (GetPositionOfInset): Handle bibkey.
16739
16740 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * BufferView_pimpl.h: change type of Position::par_pos to
16743         LyXParagraph::size_type.
16744
16745 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16746
16747         * BufferView_pimpl.C (savePosition, restorePosition): Write
16748         messages to minibuffer.
16749
16750 2001-01-28  José Matos  <jamatos@fep.up.pt>
16751
16752         * buffer.C (makeDocBookFile): adds support for document language.
16753         A silly restriction on the name of LatexCommand types where removed.
16754         Added support for CDATA sections, allows to chars unescaped, used
16755         among others in code, to avoid escape < and >.
16756
16757 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16758
16759         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16760         saved positions instrad of a stack. Furthermore, a position is
16761         stored using paragraph id/paragraph position.
16762
16763         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16764         Remove LFUN_REF_BACK.
16765
16766 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16767
16768         * converter.C (dvipdfm_options): New method.
16769
16770 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16771
16772         * vspace.C (isValidLength): Fix for empty input string.
16773
16774 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * LyXAction.C (init): change description of LFUN_FIGURE to
16777         "Insert Graphics"
16778
16779 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16780
16781         * LaTeX.C: add using directive
16782
16783 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16784
16785         * MenuBackend.C (expand): Fix the sorting of the formats.
16786
16787 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16788
16789         * lyx_main.C: tiny error message fix
16790
16791 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16792
16793         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16794         calling fl_initialize(). This fixes the problem with ',' as
16795         decimal separator in text files.
16796
16797 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16798
16799         * trans.C (process): Fix the keymap bug.
16800
16801 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16802
16803         * LaTeX.C (scanAuxFiles): New method. Provides support for
16804         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16805         (scanLogFile) Scan for "run BibTeX" messages.
16806
16807         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16808         OT1 font encoding. Also, load the aecompl package if the ae
16809         package is loaded.
16810
16811         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16812
16813 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16814
16815         * texrow.C (increasePos): turn two error messages into debug
16816         messages.
16817
16818 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16819
16820         * LaTeX.C (scanAux): Handle the \@input macro.
16821         (runBibTeX): Use scanAux().
16822
16823         * language.C (latex_options_): New field.
16824
16825         * LaTeXFeatures.C (getMacros): Add language macros.
16826
16827         * buffer.C (makeLaTeXFile): Small fix.
16828
16829 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16832
16833         * text2.C: add a using directive.
16834
16835 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16836
16837         * BufferView2.C:
16838         * lyx_gui_misc.h:
16839         * lyxfr1.C:
16840         * lyxfunc.C: kill LyXBell.
16841
16842 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16843
16844         * text.C (IsBoundary): Remove the error message
16845
16846         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16847
16848         * lyxrc.C (setDefaults): Correct initialization value for
16849         font_norm_type.
16850
16851 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16852
16853         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16854         gotoError().
16855
16856         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16857         and GotoNextNote().
16858
16859         * src/LyXAction.C: Added reference-next.
16860
16861         * text.C (InsertChar): Use contains instead of strchr.
16862
16863         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16864
16865 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16866
16867         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16868         alignment commands (when needed).
16869
16870         * text.C (InsertChar): Add ':' to number separator chars.