]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
a2194bcc5fafa41f1b1dad88d985a6f3f9cc847f
[lyx.git] / src / ChangeLog
1 2005-01-06  José Matos  <jamatos@lyx.org>
2
3         * ParagraphParameters.C (write): put every parameter in its own line.
4         * paragraph.C (write): reduce number of consecutive empty lines exported.
5         * buffer.C (LYX_FORMAT): increase file format to 239.
6
7 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
8
9         * everywhere: change support/tostr.h -> support/convert.h
10
11         * tabular.C: make all write_attributes templates, tostr -> convert
12
13         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
14         (emptyTag): and -> &&, and fix type for ret from getChar
15         (getFirstWord): fix type for ret from getChar
16         (onlyText): and -> &&
17         (simpleDocBookOnePar): and not -> && !, fix type for ret from
18         getChar
19
20         * toc.C (goTo, action):
21         * text3.C (dispatch):
22         * text.C (currentState):
23         * tex-accent.C (DoAccent):
24         * sgml.C:
25         * lyxrc.C:
26         * lyxfunc.C (menuNew):
27         * lyxfinc.C (replace):
28         * counters.C (laberItem):
29         * bufferview_funcs.C (font2string):
30         * bufferparams.C (writeFile):
31         * buffer.C (readFile):
32         * Spacing.C (set):
33         * MenuBackend.C: tostr -> convert
34
35         * LaTeX.C (runMessage): fix format
36         (scanAuxFiles): tostr -> convert
37
38         * BufferView_pimpl.C (savePosition): fix format
39         (restorePosition): ditto
40         (dispatch): ditto
41
42 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
43
44         * Spacing.[Ch]: New method getValueAsString().
45
46         * Spacing.[Ch]:
47         * bufferparams.C:
48         * ParagraphParameters.C:
49         * lyxlayout.C:
50         * text.C:
51         * text3.C: store/read spacing value as string.
52
53         * rowpainter.C: change float value (spacing_val) to double.
54
55         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
56         broken custom document spacing).
57
58 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
59
60         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
61         namespace, also more use of temp references and const
62
63         * cursor.[Ch] (getStatus): move to lyxfunc.C
64
65         * bufferparams.C: reformat slightly
66
67         * bufferview_funcs.C (font2string): constify arg
68
69         * changes.C:
70         * converter.C:
71         * counters.C:
72         * bufferlist.C:
73         * buffer_funcs.C: (many funcs): constify arg on function
74         definitions, also make more local vars const, also add ASSERTS on
75         pointer args.
76
77         * buffer.C (LYX_FORMAT): put const in correct place
78         (many funcs): constify arg on function definitions, also make
79         more local vars const
80
81         * aspell_local.h: remove "struct" from typdef setup
82
83         * aspell.C (check): make word_ok const
84         (nextMiss): simplify slightly
85         (error): ditto
86
87 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
88
89         * lyxrc.[Ch]: store all float values as strings.
90         use int (not float) for lyxrc.dpi.
91
92 2005-01-04  Angus Leeming  <leeming@lyx.org>
93
94         * lyx_cb.C (Reconfigure):
95         * lyx_main.C (queryUserLyXDir):
96         to run the <system_lyxdir>/configure correctly on Windows, prefix
97         the path to the script with "sh " when generating the string that
98         is passed to system().
99
100 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
101
102         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
103
104 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
105
106         * lyxlength.C (asLatexString): get rid of setprecision
107
108 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
109
110         * text2.C (setLayout): remove unused variable endpit.
111         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
112
113         * paragraph.C (onlyText): remove unused variable style.
114
115         * cursor.C (bruteFind): remove unused variables beg and end.
116
117         * Makefile.am (dist_noinset_DATA): not needed anymore
118
119         * cheaders/*: remove.
120
121 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * text3.C: fix LFUN_MATH_MODE.
124
125 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * buffer_funcs.C (countWords): new function. Counts words between
128         two iterators.
129
130         * BufferView_pimpl.C (getStatus, dispatch): handle
131         LFUN_WORDS_COUNT.
132
133         * LyXAction.C (init):
134         * lfuns.h: add LFUN_WORDS_COUNT.
135
136 2004-12-19  Angus Leeming  <leeming@lyx.org>
137
138         * buffer.C (save): s/slashify_path/internal_path/.
139
140 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
141
142         * lyxfind.C (findChange): do not search for end of pars, because
143         the change tracker cannot handle this (fixes bug 1719).
144
145 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
146
147         * paragraph.[Ch] (autoBreakRows): remove
148
149         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
150
151         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
152         avoid using the paragraph one
153
154         * text2.C (LyXText, insertStringAsLines): adjust
155
156 2004-12-16  Angus Leeming  <leeming@lyx.org>
157
158         * bufferlist.C:
159         * lyx_main.C:
160         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
161
162 2004-12-14  Angus Leeming  <leeming@lyx.org>
163
164         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
165
166         * bufferlist.C (emergencyWrite):
167         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
168         GetEnvPath("HOME").
169
170 2004-12-14  Angus Leeming  <leeming@lyx.org>
171
172         * main.C: (main): no longer pass pointers to os::init.
173
174 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * undo.C (textUndoOrRedo): simplify logic, fix a crash
177         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
178
179 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
180
181         * lyxfunc.C:
182         * text3.C: remove selection_possible global flag
183
184 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
185
186         * text2.C (getSelectionSpan): remove
187         (changeDepth, changeDepthAllowed): adjust
188
189 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
190
191         * Makefile.am (BOOST_LIBS): use boost variables
192
193 2004-12-03  José Matos  <jamatos@lyx.org>
194
195         * buffer.C: format up to 238.
196
197 2004-12-03  José Matos  <jamatos@lyx.org>
198
199         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
200
201 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
202
203         * cursor.C (goUpDown): remove call to idxUpDown2
204
205 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
206
207         * tabular.[Ch]: use size_t-like types for cell, row and column
208         indices
209
210 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * lyxfunc.C (getStatus): do not lose previous information when
213         calling BufferView::getStatus; do not set a default "Command
214         disabled" message at the beginning, but just before returning.
215
216 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
217
218         * cursor.h (getStatus): add better comment from src/cursor.C
219
220 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * text3.C (getStatus): return false when the lfun is not handled
223
224 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * broken_headers.h: remove
227
228         * Makefile.am (lyx_SOURCES): remove broken_headers.h
229
230 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
231
232         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
233         offset_ref accessors
234
235         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
236         top_y_, merge fitcursor with update
237         (updateScrollbar, scrollDocView, fitCursor, center, update): new
238         coord scheme
239         (metrics): introduce
240         (workAreaDispatch): adapt to new coord scheme
241         (redoCurrentBuffer): remove
242
243         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
244
245         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
246         CurStatus enum.
247
248         * coordcache.[Ch]: add paragraph cache and helpers
249
250         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
251         adjust everywhere
252
253         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
254         (targetX, setTargetX): introduce
255
256         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
257         baseline -> ascent, as the rest of lyx
258
259         * lyxtext.h: remove redoParagraphs, updateParPositions,
260         fullRebreak, redoParagraphInternal. move dist to anon namespace in
261         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
262         have ascent/descent (ascent is ascent of first par)
263
264         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
265         step of BufferView
266
267         * paragraph.[Ch]: unify dimension handling with the rest of lyx
268
269         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
270
271         * pariterator.C: fix infinite loop introduced in par->pit renaming
272
273         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
274         in insets and LyXText, draw two off-screen paragraphs using
275         NullPainter, and adapt to new coord scheme
276
277         * text.C:
278         * text2.C:
279         * text3.C: adapt lfun handlers to the new coord scheme, which
280         means: there's only guaranteed coord information for onscreen pars
281         plus one above and one below. This implies that one can do search
282         from y coordinates in the range [-1,workHeight]
283
284 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
285
286         * rename a lot of InsetOld to InsetBase
287
288 2004-11-25  Angus Leeming  <leeming@lyx.org>
289
290         * BufferView_pimpl.C:
291         * lyx_cb.C:
292         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
293
294 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
297         call BufferView::getStatus if LCursor::getStatus did nothing
298         (setStatusMessage, getStatusMessage): removed.
299
300         * FuncStatus.C (message): new methods. Used to provide an error
301         message indicating why a command is disabled.
302         (clear, |=, FuncStatus): update for message.
303
304 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * lyxfunc.C (dispatch): always call sendDispatchMessage
307
308 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
309
310         * BufferView.C:
311         * BufferView_pimpl.C:
312         * CutAndPaste.C:
313         * FontIterator.C:
314         * buffer.C:
315         * cursor.C:
316         * cursor_slice.[Ch]:
317         * dociterator.[Ch]:
318         * lyxfind.C:
319         * paragraph_funcs.C:
320         * pariterator.C:
321         * rowpainter.C:
322         * text.C:
323         * text2.C:
324         * text3.C:
325         * undo.C: par->pit renaming
326
327 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
328
329         * tabular.C (cellstruct): use initialization, store a shared_ptr
330         to insettext instead of the insettext directly, adjust to fit.
331         (operator=):  new function
332         (swap): new function
333         (rowstruct): use initialization
334         (columnstruct): use initialization
335         (ltType): use initialization
336
337
338         * lyxlength.h (swap): new function
339
340         * LColor.[Ch] (operator=): use the common semantics
341
342 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * lyxfind.C (findNextChange): update the bufferview after setting
345         the selection.
346
347 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
350         number of InsetOptArgs has already been inserted.
351
352         * output_latex.C (latexOptArgInsets): new method. This outputs all
353         the optarg insets, up to the limit defined in the layout file.
354         (optArgInset): removed
355         (TeXOnePar): call latexOptArgInsets; correctly update texrow
356
357 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
358
359         * paragraph.C (isLetter): remove special spellchecker-related
360         code; return true also for digits
361         (isWord, isKomma): remove
362
363         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
364         * lyxfind.C (MatchString()): use isLetter instead of isWord
365
366 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
367
368         * pariterator.h (operatir=): comment out un-implemented member
369         function.
370
371         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
372         static cast.
373
374 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
375
376         * lyxfont.h: include LColor.h to satisfy concept checks.
377
378 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
379
380         * pariterator.h: add typdefs for value_type, difference_type,
381         pointer and reference to satisfy concept checks. Also add default
382         constructor for same reason.
383
384         * pariterator.C (operator++): add post-increment operator to
385         satisfy concept checks.
386
387         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
388         checks.
389
390         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
391
392         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
393         checks. Also rename base_type to BaseType to follow naming
394         standard better.
395
396         * FloatList.h: include Floating.h to satisfy concept checks.
397
398 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
399
400         * lyxfunc.C (getStatus): when the origin of the request is menu or
401         toolbar, and the LyXView does not have focus, do as if there was
402         no buffer (bug 1720)
403
404         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
405         FuncRequest to individual entries of LFUN_SEQUENCE
406
407 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
408
409         * output_latex.C (TeXOnePar): override runparams.moving_arg
410         according to the needprotect value of the current paragraph (bug
411         1739)
412
413         * paragraph.C (simpleTeXOnePar): no need to override
414         runparams.moving_args here
415
416 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
417
418         * vspace.C: fix off-by-one-error, related to fix #1682
419
420 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * lengthcommon.C: a more general fix for bug 1682
423
424 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
425
426         * text.C (backspace): fix crash
427
428 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
429
430         * format.[Ch] (getFormatFromFile): new method
431         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
432
433 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
434
435         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
436
437 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * lyxfunc.C (dispatch): remove the verbose argument
440         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
441         instead
442
443         * kbmap.C (defkey): set the origin of func to KEYBOARD
444
445         * MenuBackend.C (MenuItem):
446         * ToolbarBackend.C (add): set the origin of func to UI
447
448         * funcrequest.[Ch]: add origin member, which indicates which part
449         of LyX requests an action
450
451 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
452
453         * converter.C (move): don't lie in the error message
454         * converter.h (isReachable, move): document
455
456 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
457
458         * buffer.C: remove unused using lyx::support::atoi
459         * paragraph_funcs.C: ditto
460
461 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
462
463         * bufferlist.C (exists): use bind and equal_to instead of
464         compare_memfun
465         (getBuffer): ditto
466         * lyxtextclasslist.C (NumberOfClass): ditto
467
468         * cursor.C (insert): use for_each instead of explicit for loop
469
470         * bufferlist.C (getFileNames): use std::transform and
471         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
472
473         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
474         for loop
475
476         * buffer.C (changeLanguage): use for_each instead of explicit for
477         loop
478         (hasParWithID): implement using getParFromID
479
480         * LaTeXFeatures.C: ws change only
481
482         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
483         to cleanup a bit.
484
485         * BufferView_pimpl.C (trackChanges): use for_each instead of
486         expilicit for loop
487
488 2004-11-04  André Pönitz  <poenitz@gmx.net>
489
490         * undo.h:
491         * undo.C (textUndoOrRedo): fix crash when creating undo information.
492
493         * dociterator.C (asDocIterator): use hard assert again.
494
495 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * lyxlength.C (asLatexString): rewrite so that it does not use
498         snprintf anymore
499
500 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * text3.C (specialChar, dispatch): make sure cursor moves to the
503         right after inserting an inset
504
505 2004-11-02  José Matos  <jamatos@lyx.org>
506
507         * output_docbook.C (docbook):
508         * paragraph.C (getID):
509         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
510         garantee that the output is always legal.
511
512         * tabular.C (docbook):
513         * outputprams.[Ch]: remove mixed contents.
514
515 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
516
517         * text2.C (setCounter): prevent endless loop
518
519 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
520
521         * exporter.C (copyFile): use the mover instead of support::copy()
522         * exporter.C (Export): pass format and latex name to copyFile()
523         * exporter.h (addExternalFile): document
524         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
525
526 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
527
528         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
529
530 2004-10-30  José Matos  <jamatos@lyx.org>
531
532         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
533         text and no inset or font change. This allows to use CDATA
534         sections just for the whole paragraph.
535
536 2004-10-30  José Matos  <jamatos@lyx.org>
537
538         * paragraph.C (getFirstWord): remove unused variable.
539
540 2004-10-30  José Matos  <jamatos@lyx.org>
541
542         * paragraph.C (getFirstWord): the content should always be escaped
543         there.
544         (simpleDocBookOnePar):
545         * output_docbook.C (makeEnvironment): replace reference to CDATA
546         to style pass_thru.
547
548 2004-10-30  José Matos  <jamatos@lyx.org>
549
550         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
551
552 2004-10-30  José Matos  <jamatos@lyx.org>
553
554         * output_docbook.C (makeParagraphs):
555         * paragraph.[Ch] (emptyTag): for docbook and company, if the
556         standard paragraph has only a given type of content drop the wrapper.
557
558 2004-10-29  José Matos  <jamatos@lyx.org>
559
560         * output_docbook.C (makeEnvironment):
561         * sgml.C (openTag):
562         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
563
564 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
565
566         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
567         (cleanID): sanitize any id.
568
569 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
570
571         * buffer.C, lyxlex_pimpl.C:
572         * lyxlex_pimpl.C (setFile):
573         s/getExtFromContents/getFormatFromContents/
574
575 2004-10-28  José Matos  <jamatos@lyx.org>
576
577         * output_docbook.C (makeEnvironment): move id to broadest possible
578         scope.
579
580         * sgml.C (openTag): apply substitution of <> for all attributes.
581
582 2004-10-28  José Matos  <jamatos@lyx.org>
583
584         * buffer.C (makeLinuxDocFile, makeDocBookFile):
585         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
586         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
587
588         * sgml.[Ch]: new version for open and closeTag for paragraph and
589         for strings. Now they handle the ids of paragraphs.
590
591 2004-10-26  Angus Leeming  <leeming@lyx.org>
592
593         * Makefile.am: add mover.[Ch].
594
595         * converter.C (convert, move): use the new Movers to move external
596         files to the temp directory.
597
598         * lyx_main.C (init): ensure that the global system_movers data
599         is initialised.
600
601         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
602         preferences file.
603
604         * mover.[Ch]: new files, defining a Mover as a utility to move an
605         external file between directories and, if necessary, manipulate this
606         file using a helper script.
607
608 2004-10-25  José Matos  <jamatos@lyx.org>
609
610         * output_docbook.C (makeCommand): merge two if's that tested the
611         same condition.
612
613 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * sgml.C (escapeString): fix warning in a better way
616
617 2004-10-25  José Matos  <jamatos@lyx.org>
618
619         * sgml.C (escapeString): import the require boosts header file for
620         tie, and avoid a signed unsigned comparison.
621
622 2004-10-25  José Matos  <jamatos@lyx.org>
623
624         * sgml.h: add #include <string>
625
626 2004-10-25  José Matos  <jamatos@lyx.org>
627
628         * sgml.[Ch] (escapeString): new function to escape all the string.
629
630 2004-10-24  José Matos  <jamatos@lyx.org>
631
632         * paragraph.[Ch] (getFirstWord): new function to get the first
633         word. Useful for description.
634         (simpleDocBookOnePar): remove depth argument, add another that
635         says where to start the paragraph.
636
637         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
638         use the new functions to fix cleanly the support for descriptions.
639
640 2004-10-24  José Matos  <jamatos@lyx.org>
641
642         * buffer.C (makeLinuxDocFile, makeDocBookFile):
643         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
644         * output_linuxdoc.C (linuxdocParagraphs):
645         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
646         add buffer as argument.
647
648 2004-10-24  José Matos  <jamatos@lyx.org>
649
650         * output_docbook.C (makeEnvironment, searchEnvironment): place
651         CDATA inside paragraphs and fix scope for listitems.
652
653 2004-10-24  José Matos  <jamatos@lyx.org>
654
655         * output_docbook.C: remove using statement for stack.
656
657 2004-10-23  José Matos  <jamatos@lyx.org>
658
659         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
660         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
661         docbook. The new scheme is recursive and makes use of iterators, the
662         same as latex export works.
663         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
664         directly with the paragraph contents. This code was moved up to
665         output_docbook.C (docbookParagraphs).
666         * sgml.C (openTag, closeTag): removed unneeded newlines.
667         (closeEnvTags) removed.
668
669 2004-10-23  André Pönitz  <poenitz@gmx.net>
670
671         * undo.C (textUndoOrRedo):
672         * dociterator.C (asDocIterator): work around crash
673
674         * cursor.C (getStatus): replace ASSERT by more verbose error message
675           and manual correction of the problem. Should increase stability
676           while providing more sensible information.
677
678 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
681
682         * bufferlist.C (previous, next): new methods
683
684         * lfuns.h:
685         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
686
687 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
688
689         * buffer.C (makeDocBookFile): add dsssl stylesheet control
690         entities to preamble.
691
692 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * messages.C (Pimpl): strip off translation context information
695
696 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
699         the cursor is correct (bug 1694)
700
701 2004-10-13  José Matos  <jamatos@lyx.org>
702
703         * output_docbook.C (docbookParagraphs): fix closing tags in the
704         end of the document.
705
706 2004-10-09  José Matos  <jamatos@lyx.org>
707
708         * buffer.C: format up to 237.
709         * bufferparams.C (write): use tostr to convert booleans to strings.
710
711 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
714
715 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
716
717         * LaTeX.C: implement use of babel language in xindy.
718
719 2004-10-05  José Matos  <jamatos@lyx.org>
720
721         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
722         Add new translators to help reading and writing the lyx file.
723
724 2004-10-05  José Matos  <jamatos@lyx.org>
725
726         * ParagraphParameters.C (read):
727         * text.C (readParToken): replace nexToken by more appropriate lex
728         methods.
729
730 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
731
732         * LaTeX.C (runMakeIndex):
733         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
734         (usually 'makeindex') configurable.
735
736         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
737         with a variable rather than with a number.
738
739 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * output_latex.C (TeXOnePar): make sure font setting is the first
742         thing that gets output (and the last at the end). Should fix bug
743         1404.
744
745 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
746
747         * pch.h: use proper signal include
748
749         * LaTeX.h: Use preferred calling of Boost.Signal
750         * buffer.h: ditto
751
752 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
753
754         * pch.h: dont include <boost/function/function0.hpp>
755
756         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
757
758         * paragraph_pimpl.h: remove usage of ShareContainer
759
760         * paragraph_pimpl.C: remove initialization of ShareContainer.
761
762 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         Fix bug #1666
765
766         * BufferView.C (putSelectionAt): change the semantics when
767         backwards == true: now, this just swaps cursor and anchor wrt the
768         forward case
769
770         * BufferView.h (putSelectionAt): add some documentation
771
772         * lyxfind.C (findBackwards): rewrite using while(). In particular,
773         make sure backwardChar is done at least once (to avoid getting
774         stuck)
775         (findNextChange): use putSelectionAt in the forward direction
776         (operator()): use Paragraph::isWord
777
778 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
779
780         * Spacing.C (set): c_str fix
781
782 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
783
784         * lyx_cb.C (Reconfigure): quote the name of configure script in
785         case it contains spaces
786
787 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
788
789         * client: new dir
790
791         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
792         (BOOST_LIBS): use top_buildir when looking for the file
793
794 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
795
796         * pch.h: do not use include boost/format.hpp, multiple symbols
797                 will result (gcc bug)
798
799
800 2004-08-23  José Matos  <jamatos@lyx.org>
801
802         * bufferparams.C (readToken): fix reading of the author field.
803
804 2004-08-20  José Matos  <jamatos@lyx.org>
805
806         * lyxrc.C: remove support/translator.h inclusion since it is not used.
807
808 2004-08-20  José Matos  <jamatos@lyx.org>
809
810         * lyxlex.[Ch] (findToken): remove function.
811
812         * ParagraphParameters.C (findToken):
813         * bufferparams.C (findToken): replace call for previous function
814         with local copy. This local function has one more argument, the
815         read string argument.
816
817 2004-08-16  José Matos  <jamatos@lyx.org>
818
819         * ParagraphParameters.C (write):
820         * Spacing.C (writeFile):
821         * bufferparams.C (writeLaTeX):
822         * lyx_cb.C (Reconfigure):
823         * paragraph.C (write):
824         * tabular.C (write): remove unnecessary space at end of line.
825
826
827 2004-08-16  José Matos  <jamatos@lyx.org>
828
829         * text.C (readParagraph): remove debug message.
830
831 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
834         crash
835
836         * output_plaintext.C (asciiParagraph): set depth correctly
837
838         * outputparams.h: add member depth
839
840         * paragraph_funcs.C (ownerPar): remove.
841
842         * text2.C (setCounter): remove first_pit; comment out some
843         non-working code that uses ownerPar
844
845         * BufferView.C (getParentLanguage): remove. Not used anymore, and
846         uses ownerPar
847
848 2004-08-16  José Matos  <jamatos@lyx.org>
849
850         * text.C (readParToken, readParagraph, read): report all unknown tokens.
851         For the same level of importance use the same chanel to report problems.
852         (read): add code to deal with \begin_body and \end_body.
853
854
855 2004-08-15  José Matos  <jamatos@lyx.org>
856
857         * lyxlex.C (getString): fix comment, buffer::readBody is now
858         buffer:readDocument.
859
860         * tex-strings.C (string_papersize): Default -> default,
861         Custom -> custom, for consistency with other options.
862
863 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
864
865         * pch.h: new file
866
867         * Makefile.am: support pch
868
869 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         * text.C (readParToken): remove the static LyXFont variable and
872         pass it as a parameter instead. This fixes a nasty bug where an
873         inset will be inserted with a bad font in some situations
874         (readParagraph): adapt
875
876         * text2.C (setCounter): reduce number of calls to pars_[pit]
877
878         * text.C (singleWidth): add an assert, fix a test
879
880         * rowpainter.C (paintText): reduce number of calls to singleWidth
881
882         * paragraph.C (isHfill):
883         (isNewline): ws only
884
885 2004-08-14  André Pönitz  <poenitz@gmx.net>
886
887         * text.C:
888         * text2.C:
889         * rowpainter.C:
890         * lyxtext.h (several functions): use a Paragraph & argument
891         instead of par_type
892
893 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * metricsinfo.h: add a new field ltr_pos to PainterInfo
896
897         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
898
899         * text.C (singleWidth): remove useless test
900
901 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         * tabular.h: remove bogus comments
904
905         * tabular.C (getDescentOfRow):
906         (isPartOfMultiColumn): add assertions
907
908         * lyxlength.C (inPixels): remove #warning
909
910 2004-08-14  André Pönitz  <poenitz@gmx.net>
911
912         * paragraph.h: inline getChar()
913
914         * BufferView.h: remove unused declarations
915
916 2004-08-14  José Matos  <jamatos@lyx.org>
917
918         * Buffer.[Ch] (readDocument): new name for old readBody.
919         * Buffer.C: new file format, new keywords: \begin_document,
920         \begin_header, \begin_body, \end_body.
921
922         * bufferparams.C (readToken): replace all calls to lex.nextToken
923         by lex.next(). Do the same to eatLine except where really needed.
924
925         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
926         line when writing to the lyx file.
927
928         * output_plaintext.C (asciiParagraph): fix Bibliography style
929         handling.
930
931         * text.C (read): fix end of file handling.
932
933 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * MenuBackend.C (Menu::operator[]): new method to access
936         individual menu items
937         (Menu::hasFunc): new method. search for an item that corresponds
938         to a given func
939         (MenuBackend::specialMenu): new method
940         (MenuBackend::expand): if a special menu has been set, skip
941         entries whose func() appears in this menu
942
943 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
944
945         * text3.C: use Debug::DEBUG a bit more
946
947         * text.C (leftMargin): try to simplify a tiny bit change var x to
948         l_margin. Dont output the wide margins always.
949         (rightMargin): no margin in inner texts
950
951         * rowpainter.h (nestMargin): new func
952         (changebarMargin): new func
953         (rightMargin): new func
954
955         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
956         now functions.
957         (paintLast): ditto
958
959         * factory.C (createInset): modify setDrawFrame
960
961         * cursor.C: use Debug::DEBUG a bit more
962
963 2004-08-14  André Pönitz  <poenitz@gmx.net>
964
965         * coordcache.[Ch]:
966         * Makefile.am: new files to accomodate an 'external' (x,y)-position
967         cache for all insets in (at least partially) visible (top-level)
968         paragraphs.
969
970         * BufferView_pimpl.C: reset external coord cache before every update.
971         This means the coord cache only contains valid entries.
972
973 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
974
975         bug 1096
976         * BufferView_pimpl.C (getInsetByCode): move function out of class
977         and change in to a template in anon namespace. Also fix to do what
978         suits us better.
979
980 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
981
982         bug 1305
983         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
984         of char
985         (breakParagraph): rename par to par_offset and use a local
986         reference. Add code to keep the language over a rebreak.
987         (breakParagraphConservative): rename par to par_offset, use a
988         local reference
989         (mergeParagraph): ditto
990         (outerHook): ditto
991         (isFirstInSequence): ditto
992         (outerFont): rename pit to par_offset
993
994         * paragraph.C: ws change
995         * paragraph.h: ditto
996         * text3.C: ditto
997         * text.C: ditto
998
999 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1002         treatment for ']'
1003
1004         * paragraph.C (simpleTeXOnePar): when we have a \item with
1005         optional argument, enclose the argument with curly brackets (in
1006         case it contains a closing square bracket)
1007
1008         * text2.C (editXY):
1009         * text2.C (editXY):
1010         * text3.C (checkInsetHit): constify
1011
1012 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1015         documents (bug 1629)
1016
1017 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         Fix toggling of collapsable insets with the mouse (bug 1558)
1020
1021         * lyxfunc.C (dispatch): adapt to LCursor changes
1022
1023         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1024         make sure that dispatch is not invoked twice
1025
1026         * cursor.C (needsUpdate): new method
1027         (dispatch): return void
1028         (result): new method, to access the DispatchResult of the cursor.
1029
1030 2004-08-13  José Matos  <jamatos@lyx.org>
1031
1032         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1033
1034 2004-08-13  André Pönitz  <poenitz@gmx.net>
1035
1036         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1037
1038         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1039           multiple cells
1040
1041 2004-08-12  André Pönitz  <poenitz@gmx.net>
1042
1043         * text3.C: take out the 'cursor right' form insertInset and only
1044         do it in those places when it is really needed. Fixes crash on
1045         C-m...
1046
1047 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1050
1051         * BufferView_pimpl.C (setBuffer): initialize the current font of
1052         the underlying LyXText
1053
1054 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * kbsequence.C (print): use UI native formatting for menu
1057         shortcuts
1058
1059         * text.C (insertChar): call Paragraph::insertChar with a font
1060         argument (cosmetic)
1061
1062         * paragraph.C (insertInset, insertChar): the version that takes a
1063         LyXFont argument is now a wrapper around the other one (the
1064         opposite used to be true).
1065
1066         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1067         argument. Font setting is done in Paragraph now.
1068
1069 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * outputparams.h: add new members intitle and lang.
1072
1073         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1074         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1075
1076 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1077
1078         * text3.C (dispatch): remove special handling of button 4 and 5,
1079         it is now taken care of in the frontend code.
1080
1081 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1082
1083         * Spacing.h: add <string> (STLPort compile fix)
1084
1085 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1086
1087         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1088
1089 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1090
1091         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1092         to bool.
1093
1094         * converter.C (showMessage): inherit from unary_function, make
1095         operator() const.
1096
1097         * buffer.C (writeFile): initialize retval
1098
1099         * InsetList.h: rename private variable list to list_
1100         * InsetList.[Ch]: adjust accordingly.
1101
1102 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1103
1104         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1105         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1106         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1107         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1108         * ParagraphParameters.C, LaTeXFeatures.C: replace
1109         "support/std_sstream.h" with <sstream>
1110
1111 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1112
1113         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1114         * lyxsocket.C (LyXServerSocket): ditto
1115         (serverCallback): ditto
1116
1117 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1118
1119         * LaTeXFeatures.C: check release date when loading jurabib.
1120
1121 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1122
1123         * lyxserver.C (startPipe): call register_socket_callback
1124         (endPipe): call unregister_socket_callback
1125
1126 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1127
1128         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1129         (LyXServerSocket): register the callback
1130         (LyXServerSocket): unregister the callback
1131         (fd): delete function
1132         (serverCallback): improve error checking and setup the callbacks.
1133         (dataCallback): change arg to fd.
1134         (writeln): new func (copied fro the client socket) used for server
1135         write to client.
1136         (LyXDataSocket): simplify
1137         (~LyXDataSocket): close ann unregiser callback
1138         (server): delete function
1139         (fd): delete function
1140         (readln): small changes, improve some std::string usage
1141         (writeln): constify a bit
1142
1143 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144
1145         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1146         Qt frontend
1147
1148 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1151         after it has been populated
1152
1153 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1154
1155         * text2.C (insertInset): move cursor when inserting inset.
1156
1157 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1158
1159         * kbmap.C (findbindings): a couple of new methods. returns a
1160         container of kb_sequence objects. The real work is done by the
1161         private recursive version
1162         (printbindings): uses findbindings to print out a bracketed list
1163         of bindings (renamed from findbinding).
1164
1165         * MenuBackend.C (binding): use kb_keymap::findbindings
1166
1167         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1168
1169 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1170
1171         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1172
1173 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1174
1175         * paragraph.C (isWord): return true on insets that report
1176         isLetter().
1177
1178         * text.C (getWord): use Paragraph::isWord to decide what is in a
1179         word and what is not; fix bug 1609.
1180
1181 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1182
1183         * tex-strings.C: add "none" to string_paperpackages[], fixes
1184         off-by-one-error in the paperpackage selection.
1185
1186         * lyxlex.[Ch]:
1187         * tex-strings.[Ch]: char const * string[n]
1188         -> char const * const string[]
1189
1190 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1191
1192         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1193         command, return early.
1194
1195 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1196
1197         * debug.h: add DEBUG to enum and fix size of ANY.
1198
1199         * debug.C: add support for Debug::DEBUG
1200         (showTags): cast errorTags.level to unsigned int
1201
1202         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1203         (redoCurrentBuffer): ditto
1204         (updateScrollbar): ditto
1205         * cursor.C (dispatch): ditto
1206         * text2.C (setLayout): ditto
1207         (setFont): ditto
1208         (updateCounters): ditto
1209         (editXY): ditto
1210         (deleteEmptyParagraphMechanism): ditto
1211
1212 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1213
1214         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1215         annotations to cleanup the Makefile slightly.
1216
1217 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1218
1219         * lyxrc.C: do not set user_email to a default value but use empty
1220         instead. The entry used to be translated, which does not work
1221         since at the point where lyxrc is constructed there is no
1222         translation service available
1223
1224         * messages.C (getLocaleDir): remove and use directly
1225         lyx_localedir() instead
1226
1227 2004-06-02  Angus Leeming  <leeming@lyx.org>
1228
1229         Fix crash caused by dereferencing null pointer 'exportdata' in
1230         OutputParams by creating a new ExportData variable on the heap,
1231         storing it in a boost::shared_ptr.
1232         The crash was triggered when generating an Instant Preview
1233         of an external inset.
1234
1235         * Makefile.am: add outputparams.C
1236
1237         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1238         (c-tor): allocate memory to it.
1239
1240         * exporter.C (c-tor): associated changes.
1241
1242 2004-06-01  Angus Leeming  <leeming@lyx.org>
1243
1244         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1245         contains data before calling isInset(0). (Bug 1513.)
1246
1247 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1248
1249         * exporter.C (checkOverwrite): new method
1250         * exporter.C (copyFile): new method
1251         * exporter.C (Export): copy referenced files to the document dir
1252         * exporter.[Ch]: new class ExportedFile
1253         * exporter.[Ch]: new class ExportData. Contains currently the
1254         names of referenced external files
1255         * outputparams.h: add exportdata member.
1256
1257 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1258
1259         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1260         version.C-tmp
1261
1262 2004-05-19  Angus Leeming  <leeming@lyx.org>
1263
1264         * LaTeXFeatures.C:
1265         * ToolbarBackend.C:
1266         * bufferparams.C:
1267         * lyxfunc.C: small changes due to the introduction of namespace
1268         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1269
1270 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1271
1272         * text3.C (dispatch): supress update when only moving the cursor
1273         * cursor.C (selHandle): remove commented code
1274
1275 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1276
1277         * paragraph.C (startTeXParParams): correct column count
1278         * CutAndPaste.C (pasteSelection): remove const_cast
1279         * output_docbook.C (docbookParagraphs): remove const_cast
1280         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1281         const_cast and return ParagraphList::const_iterator
1282         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1283         * output_plaintext.C (writeFileAscii): remove const_cast
1284         * paragraph.[Ch] (simpleTeXOnePar): make const
1285         * paragraph_funcs.C (outerPar): use const iterators
1286         * paragraph_pimpl.C (validate): use const iterators
1287         * text.C (setHeightOfRow): use const iterators
1288
1289 2004-05-17  Angus Leeming  <leeming@lyx.org>
1290
1291         * lfuns.h:
1292         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1293
1294         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1295         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1296         if the citation engine has changed.
1297
1298 2004-05-14  José Matos  <jamatos@lyx.org>
1299
1300         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1301         if the textclass does not provide it. Have it different for sgml and
1302         xml.
1303         support the language of document.
1304         * output_docbook.C (docbookParagraphs):
1305         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1306         first anchor as the id of the paragraph, remove special case code.
1307         * sgml.C (escapeChar): escape only < & >.
1308
1309 2004-05-14  Angus Leeming  <leeming@lyx.org>
1310
1311         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1312         dependencies on src/frontends/controllers/biblio.h. Define a
1313         CiteEngine_enum wrapper class to enable the enum to be forward
1314         declared.
1315
1316 2004-05-12  Angus Leeming  <leeming@lyx.org>
1317
1318         * buffer.C: up LYX_FORMAT to 234.
1319         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1320         use_numerical_citations with a single biblio::CiteEngine cite_engine
1321         variable.
1322         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1323
1324 2004-05-13  José Matos  <jamatos@lyx.org>
1325
1326         * converter.h:
1327         * converter.C (Converter, readFlags): add xml member.
1328         * outputparams.h: add XML flavor.
1329         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1330
1331 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1332
1333         * lyxfunc.C (dispatch):
1334         (getStatus): fix handling of LFUN_SEQUENCE
1335
1336 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1337
1338         * debug.C (showLevel): do not forget the end-of-line marker
1339
1340 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1341
1342         * kbmap.C (read): do not stop parsing a bind file when an error
1343         occurs (bug 1575)
1344
1345 2004-04-29  Angus Leeming  <leeming@lyx.org>
1346
1347         * cursor.C:
1348         * factory.C:
1349         * pariterator.C:
1350         * text2.C: wrap a bunch of #warning statements
1351         inside #ifdef WITH_WARNINGS blocks.
1352
1353 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1354
1355         * buffer.C: increment format to 233.
1356
1357 2004-04-28  Angus Leeming  <leeming@lyx.org>
1358
1359         * BufferView_pimpl.C:
1360         * lyxfunc.C:
1361         * text3.C:
1362         s/updateToolbar()/updateToolbars()/
1363         s/Toolbar.h/Toolbars.h/
1364
1365 2004-04-28  Angus Leeming  <leeming@lyx.org>
1366
1367         * BufferView.[Ch] (c-tor):
1368         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1369         No longer passes these data to the WorkArea generator.
1370
1371 2004-04-28  Angus Leeming  <leeming@lyx.org>
1372
1373         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1374
1375 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1376
1377         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1378
1379 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * output_latex.C (TeXEnvironment): make sure that there is a line
1382         break before \end{foo} for the last paragraph of a document
1383         (TeXOnePar): if the paragraph is at the end of the document (or
1384         inset) and the language has to be reset, then make sure that the
1385         line break is _before_ the language command, not after (fixes bug
1386         1225); also make sure that the language reset command is the first
1387         thing after the paragraph (to ensure proper nesting of
1388         environments and thus fix bug 1404)
1389
1390 2004-04-21  John Levon  <levon@movementarian.org>
1391
1392         * ToolbarBackend.h:
1393         * ToolbarBackend.C: make "name" be a programmatic name
1394         and a gui_name field.
1395
1396         * lyxfunc.C: display the minibuffer on M-x
1397
1398 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1399
1400         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1401         (bug 1526)
1402
1403 2004-04-19  Angus Leeming  <leeming@lyx.org>
1404
1405         * BufferView_pimpl.C (setBuffer): changed preview interface.
1406
1407         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1408         possible values.
1409
1410 2004-04-19  John Levon  <levon@movementarian.org>
1411
1412         * BufferView_pimpl.C:
1413         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1414
1415 2004-04-05  Angus Leeming  <leeming@lyx.org>
1416
1417         * text.C (redoParagraphs): add call to updateCounters(), thereby
1418         fixing the missing "Figure #:" label from the caption of a
1419         figure float.
1420
1421 2004-04-13  Angus Leeming  <leeming@lyx.org>
1422
1423         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1424         cursor is clicked out of an inset.
1425
1426 2004-04-13  Angus Leeming  <leeming@lyx.org>
1427
1428         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1429         than an InsetOld one.
1430
1431 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1432
1433         * format.[Ch]: add editor to Format
1434         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1435         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1436
1437 2004-04-08  André Pönitz  <poenitz@gmx.net>
1438
1439         * metricsinfo.h: remove PainterInfo::width member
1440
1441 2004-04-08  Angus Leeming  <leeming@lyx.org>
1442
1443         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1444         "\providecommand" rather than "\newcommand", thereby preventing
1445         clashes with packages that define "\boldsymbol" themselves.
1446         Eg, beamer.
1447
1448 2004-04-08  Angus Leeming  <leeming@lyx.org>
1449
1450         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1451         thereby squashing an unnecessary warning.
1452
1453 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1454
1455         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1456         setBuffer()
1457
1458 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * BufferView.C (setCursor): call redoParagraph (some insets could
1461         have been opened)
1462         (putSelectionAt): remove the 'double update' trick
1463
1464         * BufferView_pimpl.C (fitCursor): call refreshPar
1465         (workAreaDispatch): remove an uneeded update call
1466         (dispatch): remove some manual update calls
1467
1468         * cursor.[Ch]: remove cached_y_, updatePos
1469         (selHandle): set noUpdate when appropriate
1470
1471         * lyxfunc.C (dispatch): track if we need an update
1472
1473         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1474
1475         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1476         (paintSelection): cheap optimization, do not call cursorX when not
1477         needed
1478         (paintPars): change signature
1479         (refreshPar): add
1480         (paintText): adjust
1481         (paintTextInset): adjust
1482
1483         * text.C: adjust
1484
1485 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1486
1487         * lengthcommon.C: compilation fix: remove explicit array size from
1488         unit_name[] and friends
1489
1490 2004-04-05  Angus Leeming  <leeming@lyx.org>
1491
1492         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1493
1494         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1495         present only for the preferences dialog.
1496         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1497
1498 2004-04-05  Angus Leeming  <leeming@lyx.org>
1499
1500         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1501         to enable the frontends to export changes to lyxrc correctly.
1502
1503         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1504
1505 2004-04-07  André Pönitz  <poenitz@gmx.net>
1506
1507         * cursor.[Ch] (selClear, adjust): remove math
1508
1509         * cursor_slice.C: more agressive assert
1510
1511         * lyxfunc.C:
1512         * BufferView_pimpl.C: rework mouse event dispatch
1513
1514         * dociterator.C:
1515         * paragraph.C:
1516         * text2.C:
1517         * text3.C: adjust
1518
1519 2004-04-05  André Pönitz  <poenitz@gmx.net>
1520
1521         * cursor.[Ch] (valign, halign...): remove unneeded functions
1522
1523 2004-04-05  Angus Leeming  <leeming@lyx.org>
1524
1525         * lyxlength.[Ch] (unit_name et al.): const-correct.
1526
1527 2004-04-05  Angus Leeming  <leeming@lyx.org>
1528
1529         * BufferView_pimpl.C:
1530         * buffer.C:
1531         * counters.C:
1532         * cursor.C:
1533         * lyxfunc.C
1534         * paragraph.C:
1535         * pariterator.C:
1536         * text.C:
1537         * text2.C:
1538         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1539
1540 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1541
1542         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1543
1544 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1545
1546         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1547         * BufferView_pimpl.[Ch] (getStatus)
1548         * BufferView.[Ch] (getStatus): add
1549         * lyxfunc.C (getStatus): move lfuns handled in
1550         BufferView::dispatch to te function above
1551         * Cursor.C (setSelection): set selection() = true
1552
1553 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1554
1555         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1556
1557 2004-03-31  Angus Leeming  <leeming@lyx.org>
1558
1559         * lyxfunc.C (dispatch): Fall through to the generic
1560         Dialogs::show("preamble").
1561
1562 2004-03-31  Angus Leeming  <leeming@lyx.org>
1563
1564         * lyxfunc.C (dispatch): Fall through to the generic
1565         Dialogs::show("spellchecker").
1566
1567 2004-03-31  Angus Leeming  <leeming@lyx.org>
1568
1569         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1570         preferences dialog.
1571
1572 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1573
1574         * BufferView.C
1575         * cursor.[Ch]
1576         * dociterator.[Ch]:
1577         * insetiterator.[Ch]:
1578         * lyxfind.C:
1579         * lyxfunc.C:
1580         * pariterator.[Ch]:
1581         * text2.C:
1582         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1583
1584 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1585
1586         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1587         insets where we are putting the cursor.
1588
1589 2004-03-31  Angus Leeming  <leeming@lyx.org>
1590
1591         * lfuns.h:
1592         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1593
1594         * lyxrc.[Ch] (read, write): overloaded member functions taking
1595         a std::[io]stream arguments.
1596
1597         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1598
1599 2004-03-31  Angus Leeming  <leeming@lyx.org>
1600
1601         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1602         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1603
1604         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1605         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1606
1607 2004-03-31  Angus Leeming  <leeming@lyx.org>
1608
1609         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1610         the LFUN_ALL_INSETS_TOGGLE code.
1611
1612 2004-03-30  Angus Leeming  <leeming@lyx.org>
1613
1614         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1615         has died. Fall through to the generic Dialogs::show("document").
1616
1617 2004-03-30  Angus Leeming  <leeming@lyx.org>
1618
1619         * lfuns.h:
1620         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1621         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1622
1623         * lyxfunc.C (getStatus, dispatch): define the actions for these
1624         lfuns. Little more than a cut and pste job from ControlDocument.C
1625
1626         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1627
1628 2004-03-30  Angus Leeming  <leeming@lyx.org>
1629
1630         * lfuns.h:
1631         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1632         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1633
1634         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1635         open/closed state of ollapsable insets. Usage:
1636
1637         all-inset-toggle <state> <name>, where
1638         <state> == "open" || "closed" || "toggle" and
1639         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1640
1641         * lyxtext.h, text2.C (toggleInset): removed.
1642
1643         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1644         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1645         now passes LFUN_INSET_TOGGLE to the found inset.
1646
1647         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1648         is now invoked as "all-insets-toggle toggle branch".
1649
1650 2004-03-30  Angus Leeming  <leeming@lyx.org>
1651
1652         * dociterator.C:
1653         * insetiterator.C:
1654         * pariterator.[Ch]: added/corrected header blurb.
1655
1656 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1657
1658         * dociterator.[Ch]: add an inset_ member
1659         (backwardPos): implemented
1660         (backwardPos, forwardPos): use inset_ when the stack is empty.
1661         (doc_iterator_begin, doc_iterator_end): implemented
1662         * pariterator.[Ch]: adjust, add begin, end
1663         * insetiterator.[Ch]: adjust, add begin, end
1664         * cursor.C:
1665         * document.C:
1666         * BufferView.C:
1667         * BufferView_pimpl.C:
1668         * CutAndPaste.C: adjust
1669
1670 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1671
1672         * buffer.C: increment file format to 232.
1673         * LaTeXFeatures.C: add bibtopic package.
1674         * bufferparams.[Ch]: param \use_bibtopic.
1675
1676         * lyxrc.[Ch]: add lyxrc bibtex_command
1677         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1678
1679         * buffer.C: increment file format to 231.
1680
1681 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1682
1683         * dociterator.C: implement forwardPar
1684         * iterators.[Ch]: remove, replaced by
1685         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1686         * BufferView.C:
1687         * BufferView_pimpl.C:
1688         * CutAndPaste.C:
1689         * buffer.C:
1690         * bufferview_funcs.C:
1691         * cursor.C:
1692         * lyxfind.C
1693         * lyxfunc.C
1694         * paragraph_funcs.C
1695         * toc.C:
1696         * Makefile.am: adjust
1697
1698 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1699
1700         * CutAndPaste.C (pasteSelection): fix 2 crashes
1701         (eraseSelection): fix a crash
1702         * paragraph_funcs.C: remove a warning
1703
1704 2004-03-28  Angus Leeming  <leeming@lyx.org>
1705
1706         * lfuns.h:
1707         * LyXAction.C (init): new LFUN_PRINT.
1708
1709         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1710
1711 2004-03-27  Angus Leeming  <leeming@lyx.org>
1712
1713         * lfuns.h:
1714         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1715
1716         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1717
1718 2004-03-27  Angus Leeming  <leeming@lyx.org>
1719
1720         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1721         insetlist always contains non-null pointers to insets.
1722
1723 2004-03-26  Angus Leeming  <leeming@lyx.org>
1724
1725         * src/BufferView_pimpl.C:
1726         * src/CutAndPaste.C:
1727         * src/buffer.C:
1728         * src/iterators.C:
1729         * src/output_plaintext.C:
1730         * src/outputparams.h:
1731         * src/paragraph_funcs.C:
1732         * src/rowpainter.C:
1733         * src/text.C:
1734         * src/text2.C:
1735         * src/frontends/controllers/ControlErrorList.C:
1736         * src/frontends/gtk/FileDialogPrivate.C:
1737         * src/frontends/gtk/GPainter.C:
1738         * src/frontends/gtk/GToolbar.C:
1739         * src/frontends/qt2/QRef.C:
1740         * src/mathed/math_scriptinset.C: squash compiler warnings.
1741
1742 2004-03-26  Angus Leeming  <leeming@lyx.org>
1743
1744         * ispell.C (LaunchIspell::start):
1745         * lyx_cb.C (AutoSaveBuffer::start):
1746         invoke run(DontWait) rather than runNonBlocking().
1747
1748 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1749
1750         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1751
1752 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1753
1754         * kbsequence.C (print): adjust
1755
1756         * kbmap.C (printKeySym): rename and change signature
1757         (printKey): use LyXKeySym::print()
1758
1759 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1760
1761         * undo.C: add using std::advance to compile for stlport
1762
1763 2004-03-24  Angus Leeming  <leeming@lyx.org>
1764
1765         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1766         it leads to a crash when no buffer is present.
1767
1768 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1769             Martin Vermeer  <martin.vermeer@hut.fi>
1770
1771         * lyxfunc.C (dispatch):
1772         * bufferparams.C (readToken): use the new LColor::setColor
1773
1774         * LColor.[Ch] (setColor): new version that takes two strings as
1775         argument and creates a new color entry if necessary
1776
1777 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1778
1779         * buffer.C (makeLaTeXFile): if the main latex file that is
1780         processed is usually a subdocument of some master, then pretend
1781         for a while that it is actually the master
1782
1783 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1784
1785         * buffer.C (getLabelList):
1786         (getBibkeyList): use getMasterBuffer()
1787         (getMasterBuffer): new method. Returns the main document in the
1788         case where one is using included documents.
1789
1790 2004-03-25  André Pönitz  <poenitz@gmx.net>
1791
1792         * Makefile.am:
1793         * iterators.[Ch]:
1794         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1795
1796         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1797
1798         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1799         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1800
1801         * ParameterStruct.h: merge with ParagraphParameters
1802
1803         * lyxtext.h: remove LyXText::parOffset() and getPar()
1804
1805         * text3.C: Remove all 'manual' update calls. We do now one per user
1806         interaction which is completely sufficient.
1807
1808         * Bidi.C:
1809         * BufferView.[Ch]:
1810         * BufferView_pimpl.C:
1811         * FontIterator.[Ch]:
1812         * MenuBackend.C:
1813         * ParagraphParameters.[Ch]:
1814         * buffer.C:
1815         * buffer.h:
1816         * bufferlist.C:
1817         * cursor.[Ch]:
1818         * cursor_slice.[Ch]:
1819         * dociterator.[Ch]:
1820         * errorlist.[Ch]:
1821         * factory.C:
1822         * lfuns.h:
1823         * lyxfind.C:
1824         * lyxfunc.C:
1825         * output_docbook.[Ch]:
1826         * output_latex.[Ch]:
1827         * output_linuxdoc.[Ch]:
1828         * output_plaintext.[Ch]:
1829         * paragraph.[Ch]:
1830         * paragraph_funcs.[Ch]:
1831         * paragraph_pimpl.[Ch]:
1832         * rowpainter.C:
1833         * tabular.[Ch]:
1834         * text.C:
1835         * text2.C:
1836         * toc.C:
1837         * undo.[Ch]: adjust
1838
1839         * frontends/controllers/ControlDocument.C:
1840         * frontends/controllers/ControlErrorList.C:
1841         * frontends/controllers/ControlSpellchecker.C:
1842         * insets/inset.C:
1843         * insets/inset.h:
1844         * insets/insetbase.h:
1845         * insets/insetbibitem.C:
1846         * insets/insetbox.C:
1847         * insets/insetbranch.C:
1848         * insets/insetcaption.C:
1849         * insets/insetcharstyle.C:
1850         * insets/insetcharstyle.h:
1851         * insets/insetcollapsable.C:
1852         * insets/insetcollapsable.h:
1853         * insets/insetert.C:
1854         * insets/insetfloat.C:
1855         * insets/insetfoot.C:
1856         * insets/insetmarginal.C:
1857         * insets/insetnote.C:
1858         * insets/insetoptarg.C:
1859         * insets/insettabular.C:
1860         * insets/insettext.C:
1861         * insets/insettext.h:
1862         * insets/insetwrap.C:
1863         * mathed/math_mboxinset.C:
1864         * mathed/math_nestinset.C:
1865         * mathed/math_scriptinset.C:
1866         * mathed/math_scriptinset.h:
1867         * support/types.h:
1868
1869 2004-03-24  Angus Leeming  <leeming@lyx.org>
1870
1871         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1872         deal with any child processes that have finished but are waiting to
1873         communicate this fact to the rest of LyX.
1874
1875 2004-03-24  Angus Leeming  <leeming@lyx.org>
1876
1877         64-bit compile fixes.
1878
1879         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1880         (c-tor): pass lyx::pos_types rather than ints.
1881
1882         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1883         lyx::pos_type.
1884
1885         * text.C (Delete): compile fix.
1886         (getPar): ensure that function declaration is the same as that in
1887         the header file.
1888
1889 2004-03-23  Angus Leeming  <leeming@lyx.org>
1890
1891         * ispell.C (LaunchIspell):
1892         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1893         a boost::shred_ptr rather than a std::auto_ptr.
1894
1895 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1898         handle LFUN_FILE_INSERT_*
1899
1900         * lyxrc.C (setDefaults, getDescription, output, read):
1901         * lyxrc.h: remove ps_command
1902
1903 2004-03-22  Angus Leeming  <leeming@lyx.org>
1904
1905         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1906         Ensure that error_handler is processed once only and that all data
1907         is saved before attempting to output any warning messages.
1908
1909         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1910
1911 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1912
1913         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1914
1915 2004-03-19  André Pönitz  <poenitz@gmx.net>
1916
1917         * cursor.[Ch] (reset): take main text inset as argument
1918
1919         * BufferView: adjust
1920         * BufferView_pimpl.C: adjust
1921
1922         * paragraph.[Ch]: fix completely broken operator=()
1923
1924 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1925
1926         * LColor.C (getFromLyXName): make sure that the color name is used
1927         as lowercase.
1928
1929 2004-03-17  Angus Leeming  <leeming@lyx.org>
1930
1931         * lfuns.h:
1932         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1933
1934         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1935         dialog and to kill a forked process.
1936
1937 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1938
1939         * text2.C (setCursorFromCoordinates): fix font problem
1940
1941 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1942
1943         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1944         bogus "rebuild cursor" code
1945
1946 2004-03-11  André Pönitz  <poenitz@gmx.net>
1947
1948         * buffer.[Ch]: use InsetText instead of LyXText as container for
1949         the main lyx text.
1950
1951         * dociterator.[Ch]: drop the BufferView * member which is not needed
1952         anymore after the change to buffer.C
1953
1954         * paragraph_funcs.C:
1955         * text.C:
1956         * text2.C:
1957         * BufferView.[Ch]:
1958         * BufferView_pimpl.[Ch]:
1959         * cursor.[Ch]:
1960         * cursor_slice.[Ch]: adjust
1961
1962         * text3.C: fix bug in mathDispatch
1963
1964 2004-03-08  André Pönitz  <poenitz@gmx.net>
1965
1966         * undo.[Ch]: use 'StableDocumentIterator' as base for
1967         the Undo struct.
1968
1969 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1970
1971         * LaTeXFeatures.C:
1972         * bufferparams.[Ch]: add jurabib support and param.
1973
1974         * LaTeX.C: add FIXME/comment.
1975
1976 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1977
1978         * buffer.C: increment file format to 230.
1979
1980 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * cursor.C (dispatch): avoid infinite loops
1983
1984 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * rowpainter.C (paintSelection): fix x coordinates
1987
1988 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1989
1990         * text.C (rowBreakPoint): fix breaking before displayed insets
1991
1992 2004-03-01  André Pönitz  <poenitz@gmx.net>
1993
1994         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1995
1996         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1997
1998         * Makefile.am:
1999         * BufferView.C:
2000         * BufferView_pimpl.C:
2001         * buffer.C:
2002         * lyxfind.C:
2003         * lyxfunc.C:
2004         * text.C:
2005         * text2.C:
2006         * text3.C: adjust
2007
2008 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2009
2010         * lyxtext.h:
2011         * text.C:
2012         * text2.C:
2013         * rowpainter.C:
2014         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2015         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2016
2017 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2018
2019         * Bidi.[Ch] (computeTables): const correctness
2020         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2021         fill_hfill, fill_label_hfill and x from Row
2022         * lyxtext.h: prepareToPrint returns a RowMetrics
2023         * rowPainter.C: adjust
2024         * text.C (prepareToPrint): use width, not textWidth. adjust
2025         (redoParagraphInternal, cursorX): adjust
2026         * text2.C (getColumnNearX): adjust
2027         (init): put a default value to the top LyXText::width
2028
2029 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2030
2031         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2032
2033 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2034
2035         * lyxtext.h: add FontIterator class
2036
2037         * text.C (FontIterator, operator*, operator->, operator++): add
2038         (rowBreakPoint, setRowWidth): adjust (fixing a
2039         rebreaking bug)
2040
2041 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * BufferView_pimpl.C (workAreaDispatch): allow also
2044         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2045
2046 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2047
2048         * text.C (rowBreakPoint): fix a bug showing with very large insets
2049
2050 2004-02-25  André Pönitz  <poenitz@gmx.net>
2051
2052         * text3.C:
2053         * cursor.[Ch]: move some mathed specific code to mathed
2054
2055 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2056
2057         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2058         use_tempdir in preferences
2059         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2060         tempfile creation
2061         * lyx_main.C: ensure that tempdir is valid
2062         * lyxlex.h: correct typo
2063         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2064         * paragraph.[Ch] (isMultiLingual): make const
2065         * cursor.[Ch] (openable): make const
2066
2067 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2068
2069         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2070
2071 2004-02-20  André Pönitz  <poenitz@gmx.net>
2072
2073         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2074
2075         * cursor.[Ch]: prepare for localized getStatus()
2076
2077         * lyxtext.h:
2078         * tabular.C:
2079         * text.C:
2080         * text2.C:
2081         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2082
2083 2004-02-20  André Pönitz  <poenitz@gmx.net>
2084
2085         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2086
2087 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2088
2089         * text2.C (setCursorFromCoordinates): switch to absolute coords
2090         (cursorUp): adjust
2091         (cursorDown): adjust
2092         * text3.C (dispatch): adjust
2093
2094 2004-02-16  André Pönitz  <poenitz@gmx.net>
2095
2096         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2097           insets/ChangeLog)
2098
2099         * cursor_slice.[Ch]: remove unneeded acessor function
2100
2101         * lyxtext.h: rename rtl() to isRTL()
2102
2103         * rowpainter.C:
2104         * tabular.C:
2105         * text.C:
2106         * text2.C:
2107         * text3.C: adjust
2108
2109 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2110
2111         * rowpainter.C (paintSelection): coord fix
2112
2113 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2114
2115         * Spacing.C: compile fix
2116
2117 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2118
2119         * cursor.C (dispatch): restore current_ before returning
2120
2121 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2122
2123         * text2.C (cursorUp, cursorDown): fix coords
2124         (moveUp): fix crash
2125
2126 2004-02-12  André Pönitz  <poenitz@gmx.net>
2127
2128         * lyxtext.h:
2129         * text.C:
2130         * text2.C:
2131         * text3.C: add LCursor & parameter to most cursor movement functions
2132           remove usage of LyXText::cursorRow() and cursorPar()
2133
2134         * cursor.[Ch]: add textRow() needed members
2135
2136         * BufferView.C:
2137         * BufferView_pimpl.C:
2138         * paragraph.[Ch]:
2139         * BufferView.C:
2140         * BufferView_pimpl.C: adjust
2141
2142 2004-02-11  André Pönitz  <poenitz@gmx.net>
2143
2144         * lyxfunc.C:
2145         * BufferView.[Ch]:
2146         * BufferView_pimpl.C: shift undo/redo handling
2147
2148         * cursor.[Ch]: fix mathed crash
2149
2150         * lyxfind.C:
2151         * lyxtext.h: move selectionAsText to LCursor
2152
2153         * output_latex.C:
2154         * paragraph.C:
2155         * text.C:
2156         * text2.C:
2157         * text3.C: adjust
2158
2159         * rowpainter.C: fix excessive drawing
2160
2161 2004-02-06  André Pönitz  <poenitz@gmx.net>
2162
2163         * BufferView.[Ch]:
2164         * BufferView_pimpl.[Ch]:
2165         * text3.C: move some text specific LFUN handling
2166
2167 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2168
2169         * text3.C (checkInsetHit): adjust coords
2170         * text2.C (getColumnNearX): adjust coords
2171         (edit): adjust coords
2172         * text.C (getRowNearY): add two asserts
2173
2174 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2175
2176         * converter.C:
2177         * format.C: add using std::distance to compile on gcc 2.95/stlport
2178
2179 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2180
2181         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2182
2183 2004-02-04  André Pönitz  <poenitz@gmx.net>
2184
2185         * BufferView.[Ch] (insertInset):
2186         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2187
2188         * text2.C:
2189         * text3.C: adjust
2190
2191 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2194         on the default clause of the switch
2195         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2196         wasn't catched by LCursor::dispatch
2197
2198 2004-02-03  André Pönitz  <poenitz@gmx.net>
2199
2200         * BufferView.C:
2201         * cursor.[Ch]: some additional asserts
2202
2203         * undo.[Ch]: remove LyXText dependency in interface
2204
2205         * lyxfunc.C: adjust
2206
2207         * lyxtext.h (firstPar, lastPar): remove dead functions
2208
2209         * text.C:
2210         * text2.C:
2211         * text3.C:
2212         * paragraph.[Ch]: adjust
2213
2214 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2215
2216         * lyxfind.C (find): fix argument order in call to ::find
2217
2218 2004-02-02  André Pönitz  <poenitz@gmx.net>
2219
2220         * cursor.[Ch]: remove direct access to anchor
2221
2222         * text.C: remove findText() hack
2223
2224 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2225
2226         * iterators.[Ch] (lockPath): remove in favour of...
2227         * BufferView.[Ch] (setCursor): this addition
2228         * BufferView.C (putSelectionAt): adjust
2229         * undo.C (performUndoOrRedo): adjust
2230         * lyxfunc.C (dispatch): adjust
2231
2232 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2233
2234         * iterators.C (lockPath): add a missing slice
2235         * undo.C (performUndoOrRedo): remove redundant positioning code
2236
2237 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2238
2239         * vc-backend.C (scanMaster): ";" -> ';'
2240
2241 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2242
2243         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2244         std::binary_function
2245
2246         * lyxtextclass.C (compare_name): rename to...
2247         (LayoutNamesEqual): ...this
2248
2249         * lyxlex_pimpl.C (compare_tags): inherit from
2250         std::binary_function, put back into anon namespace
2251
2252         * lyxfind.C (MatchString): inherig from std::binary_function
2253         (findChange): use empty() istead of !size()
2254
2255         * format.C (FormatNamesEqual): new functor
2256         (getFormat): use it
2257         (getNumber): use it
2258         (add): use it
2259         (erase): use it
2260         (setViewer): use it
2261
2262         * converter.C (compare_Converter): rename to...
2263         (ConverterEqual): ...this, and fixup a bit.
2264         (getConverter): use it, and make function const
2265         (getNumber): use it, and make function const
2266         (add): use it
2267         (erase): use it:
2268
2269         * bufferlist.C: add using boost::bind
2270
2271         * MenuBackend.C (MenuNamesEqual): new functor
2272         (hasMenu): use it, and make function const
2273         (hasSubmenu): use nested bind to get rid of compare_memfun.
2274
2275 2004-01-30  André Pönitz  <poenitz@gmx.net>
2276
2277         * BufferView_pimpl.C:
2278         * cursor.C:
2279         * cursor.h:
2280         * cursor_slice.[Ch]:
2281         * lyxfunc.C:
2282         * lyxtext.h:
2283         * paragraph_funcs.C:
2284         * paragraph_funcs.h:
2285         * rowpainter.C:
2286         * text.C:
2287         * text2.C:
2288         * text3.C: move some of the edit(x,y) handling to the insets
2289         some coordinate changes.
2290
2291 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2292
2293         * text.C: add using statements for std::advance and std::distance
2294
2295         * paragraph.C: add using statement for std::distance
2296
2297         * lyxfind.C: add using statement for std::advance
2298
2299         * cursor.C (region): remove std:: from swap
2300         (openable): use nucleus in stead of operator->
2301
2302         * BufferView.C: add using statements for std::distance and std::swap
2303
2304 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2305
2306         * iterators.C: Remove the pimple, move the needed structures to
2307         the header file. Create accessor for the positions stack.
2308         (asPosIterator): remove function
2309
2310         * PosIterator.C (PosIterator): move constructors to top of file
2311         (PosIterator): reimplement the constructor taking a ParIterator in
2312         terms of setFrom.
2313         (setFrom): new function
2314         (operator!=): inline it
2315
2316 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2317
2318         * lyxfind.C (replaceAll): use std::advance
2319
2320         * iterators.h: inherit from std::iterator.
2321
2322         * PosIterator.C (advance, distance): remove
2323         * PosIterator.h: interit from std::iterator.
2324
2325 2004-01-26  André Pönitz  <poenitz@gmx.net>
2326
2327         * BufferView.[Ch]:
2328         * BufferView_pimpl.[Ch]:
2329         * InsetList.[Ch]:
2330         * PosIterator.[Ch]:
2331         * buffer.h:
2332         * bufferview_funcs.C:
2333         * cursor.[Ch]:
2334         * cursor_slice.h:
2335         * factory.[Ch]:
2336         * iterators.[Ch]:
2337         * lyxfind.C:
2338         * lyxfunc.C:
2339         * lyxtext.h:
2340         * output_docbook.C:
2341         * output_latex.C:
2342         * output_linuxdoc.C:
2343         * output_plaintext.C:
2344         * paragraph.[Ch]:
2345         * paragraph_funcs.[Ch]:
2346         * paragraph_pimpl.[Ch]:
2347         * rowpainter.C:
2348         * tabular.C:
2349         * tabular.h:
2350         * text.C:
2351         * text2.C:
2352         * text3.C: more IU:  dumps most of the rest of the mathcursor
2353     implementation into cursor.[Ch]; "globalize" a bit of it.
2354
2355 2004-01-25  Angus Leeming  <leeming@lyx.org>
2356
2357         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2358
2359 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2360
2361         * LaTeXFeatures.h: add nice_ and nice() const
2362         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2363
2364 2004-01-20  André Pönitz  <poenitz@gmx.net>
2365
2366         * BufferView.[Ch]:
2367         * BufferView_pimpl.C:
2368         * PosIterator.C:
2369         * bufferview_funcs.C:
2370         * cursor.[Ch]:
2371         * cursor_slice.[Ch]:
2372         * factory.C:
2373         * iterators.C:
2374         * lyx_cb.C:
2375         * lyxfind.C:
2376         * lyxfunc.C:
2377         * lyxtext.h:
2378         * rowpainter.C:
2379         * text.C:
2380         * text2.C:
2381         * text3.C:
2382         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2383           LCursor and mathcursor parts to LCursor and InsetBase.
2384
2385 2004-01-15  André Pönitz  <poenitz@gmx.net>
2386
2387         * cursor_slice.[Ch]: add a few covienience functions
2388
2389         * funcrequest.[Ch]: remove BufferView * member
2390
2391         * BufferView_pimpl.C:
2392         * cursor.C:
2393         * factory.[Ch]:
2394         * lyxfind.[Ch]:
2395         * lyxfunc.C:
2396         * lyxtext.h:
2397         * text3.C:
2398         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2399
2400 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2401
2402         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2403         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2404
2405 2004-01-13  André Pönitz  <poenitz@gmx.net>
2406
2407         * textcursor.[Ch]:
2408         * lyxtext.h: hide cursor and selection anchor behind accessor function
2409
2410         * BufferView.C:
2411         * BufferView_pimpl.[Ch]:
2412         * PosIterator.C:
2413         * bufferview_funcs.C:
2414         * cursor.h:
2415         * lyxfind.C:
2416         * lyxfunc.C:
2417         * text.C:
2418         * text2.C:
2419         * text3.C:
2420         * undo.C: adjust
2421
2422         * cursor.h:
2423         * cursor_slice.[Ch]: some integer type changes for inset unification
2424
2425         * lyxcursor.[hC]: remove, it's CursorSlice now.
2426
2427         * Makefile.am:
2428         * BufferView_pimpl.[Ch]:
2429         * bufferview_funcs.C:
2430         * cursor_slice.C:
2431         * lyxtext.h:
2432         * text.C:
2433         * text2.C:
2434         * text3.C:
2435         * textcursor.[Ch]: adjust
2436
2437 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2438
2439         * text2.C (undoSpan): add and use
2440         * text.C (breakParagraph): use undoSpan (fix bug 578)
2441         * lyxtext.h: adjust
2442
2443 2004-01-08  Angus Leeming  <leeming@lyx.org>
2444
2445         * BufferView_pimpl.C (MenuInsertLyXFile):
2446         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2447         * lyxfunc.C (menuNew, open, doImport):
2448         FileFilterList change to the FileDialog open and save functions.
2449
2450 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2451
2452         * ShareContainer.h: make isEqual and isUnique adaptable
2453
2454         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2455
2456 2004-01-07  Angus Leeming  <leeming@lyx.org>
2457
2458         * LyXAction.C:
2459         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2460
2461         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2462
2463         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2464         functions replacing find, replace and replaceAll.
2465
2466         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2467         LFUN_WORDFIND(FORWARD|BACKWARD).
2468
2469 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2470
2471         * text.C (breakParagraph): remove an outdated #warning
2472
2473 2004-01-07  André Pönitz  <poenitz@gmx.net>
2474
2475         * lyxfind.C: somewhat clearer logic
2476
2477         * text.C: prevent crash in cursorX on unitialized row cache
2478
2479 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2480
2481         * lyxcursor.[Ch] (operator>): add
2482         * textcursor.C (selStart, selEnd): use std::min and std::max
2483
2484 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2485
2486         * Chktex.C: include boost/format.hpp
2487
2488 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2489
2490         * InsetList.C: replace functor MathcIt with adaptable functor
2491         InsetTablePosLess
2492         (insetIterator): modify accordingly
2493
2494         * BranchList.h: move the BranchNamesEqual functor here from...
2495         * BranchList.C: ... to here
2496
2497         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2498         SameName and match.
2499         (add): replace a finding loop with std::find_if.
2500
2501 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2502
2503         * output_docbook.C: moving LatexParam functionality into
2504         .layout files
2505
2506 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2507
2508         * buffer.C: increment format to 229.
2509
2510 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2511
2512         * LaTeXFeatures.C:
2513         * lyx_sty.[Ch]: remove minipageindent_def
2514
2515         * LyXAction.C:
2516         * factory.C:
2517         * lfuns.h:
2518         * lyxfunc.C:
2519         * text3.C: remove LFUN_INSET_MINIPAGE
2520
2521 2003-12-28  Angus Leeming  <leeming@lyx.org>
2522
2523         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2524
2525 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2526
2527         * text2.C (setParagraph): fix off-by-one crash
2528
2529 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2530
2531         * output_docbook.C: header stuff for AGU
2532
2533 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2534
2535         * text2.C (redoCursor): remove
2536         * text.C:
2537         * text3.C:
2538         * BufferView_pimpl.C: remove calls to redoCursor and
2539         setCursor(cursor.par(), cursor.pos()) all around
2540
2541 2003-12-15  Angus Leeming  <leeming@lyx.org>
2542
2543         * buffer.C: up the format to 228.
2544
2545 2003-12-15  André Pönitz  <poenitz@gmx.net>
2546
2547         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2548         slices
2549
2550         * Makefile.am:
2551
2552         * BufferView_pimpl.C:
2553         * cursor.[Ch]:
2554         * lyxcursor.[Ch]:
2555         * rowpainter.[Ch]:
2556         * lyxtext.h:
2557         * text.C:
2558         * text2.C:
2559         * text3.C: adjust
2560
2561 2003-12-15  Angus Leeming  <leeming@lyx.org>
2562
2563         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2564         than getFromGUIName to manipulate the color.
2565
2566 2003-12-14  Angus Leeming  <leeming@lyx.org>
2567
2568         * BranchList.[Ch]: minimize the API.
2569         (Branch::getBranch, getColor): now return a 'const &'.
2570         (Branch::setSelected) now returns a bool set to true if the
2571         selection status changes.
2572         (BranchList::clear, size, getColor, setColor, setSelected,
2573         allBranches, allSelected, separator): removed.
2574         (BranchList::find): new functions, returning the Branch with
2575         the given name.
2576         (BranchList::add, remove): return a bool indicating that
2577         the operation was successful.
2578
2579         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2580         new InsetBranch::isBranchSlected member function.
2581
2582         * LColor.[Ch]: mimimize the API.
2583         (fill): renamed as addColor and made private.
2584         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2585         versions of these functions taking a string arg have been removed.
2586
2587         * bufferparams.C (readToken):
2588         * lyxfunc.C (dispatch):
2589         * lyxrc.C (read): changes due to the altered BranchList and
2590         LColor APIs.
2591
2592         * factory.C (createInset, readInset): changes due to altered
2593         InsetBranch c-tor.
2594
2595 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2596
2597         * factory.C:
2598         * lyxfunc.C: remove insetminipage. "minipage-insert"
2599         now produces a frameless minipage box inset.
2600
2601 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2602
2603         * textcursor.[Ch] (selStart,selEnd): add new methods
2604         remove selection::start, end, use LyXCursor::operator<
2605         * lyxcursor.[Ch] (operator<): add
2606         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2607         * BufferView.[Ch] (unsetXSel): add
2608         * text2.C (clearSelection): use unsetXSel,adjust
2609         * text.C: adjust
2610         * text3.C: adjust
2611         * rowpainter.C: adjust
2612         * bufferview_funcs.C (put_selection_at): adjust
2613
2614 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2615
2616         * BufferView_pimpl.C: small coord. correction
2617
2618 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2619
2620         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2621         dragging over the splash screen.
2622
2623 2003-12-11  Angus Leeming  <leeming@lyx.org>
2624
2625         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2626         as it is now handled in LyXText::dispatch.
2627
2628         * text3.C (doInsertInset): remove a level of nesting.
2629
2630 2003-12-11  Angus Leeming  <leeming@lyx.org>
2631
2632         * factory.C (createInset): changes due to the changed interface to
2633         InsetCommandMailer::string2params.
2634
2635 2003-12-10  Angus Leeming  <leeming@lyx.org>
2636
2637         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2638         'dialog-show-new-inset <inset name>'
2639
2640 2003-12-10  Angus Leeming  <leeming@lyx.org>
2641
2642         * buffer.C: up the format to 227.
2643
2644         * factory.C: the box inset is now identified simply by 'Box'.
2645
2646 2003-12-10  Angus Leeming  <leeming@lyx.org>
2647
2648         * buffer.C: up the format to 226.
2649
2650         * factory.C: the note inset is now identified simply by 'Note'.
2651
2652 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2655         when a pit is enough. Standarize a couple of loops.
2656
2657 2003-12-05  Angus Leeming  <leeming@lyx.org>
2658
2659         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2660         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2661         data to the re-worked "log" dialog.
2662
2663 2003-12-03  André Pönitz  <poenitz@gmx.net>
2664
2665         * PosIterator.C:
2666         * iterators.C:
2667         * lyxtext.h:
2668         * output_latex.C:
2669         * paragraph_funcs.C:
2670         * text.C:
2671         * text2.C: use Inset::getText instead of Inset::getParagraph
2672
2673 2003-12-03  André Pönitz  <poenitz@gmx.net>
2674
2675         * buffer.[Ch]:
2676         * lyxtext.h:
2677         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2678         InsetText::read() as LyXText::read()
2679
2680 2003-12-02  Angus Leeming  <leeming@lyx.org>
2681
2682         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2683         type. Add a comment in the implementation that the function uses
2684         the stream's bad() function rather than fail() as the std::streams
2685         would do.
2686
2687 2003-12-02  André Pönitz  <poenitz@gmx.net>
2688
2689         * lyxlex.[Ch]: make interface more similar to std::stream
2690
2691         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2692
2693 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2694
2695         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2696
2697 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2698
2699         * vspace.[Ch]: remove VSpace::NONE
2700
2701 2003-12-01  André Pönitz  <poenitz@gmx.net>
2702
2703         * buffer.[Ch]:
2704         * lyxtext.h: move ParagraphList member to LyXText
2705         rename LyXText::ownerParagraphs to LyXText::paragraph
2706
2707         * CutAndPaste.C:
2708         * bufferview_funcs.C:
2709         * iterators.[Ch]:
2710         * lyx_cb.C:
2711         * paragraph.C:
2712         * rowpainter.C:
2713         * tabular.C:
2714         * text.C:
2715         * text2.C:
2716         * text3.C: adjust
2717
2718         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2719
2720         * undo.C: fix cursor positioning
2721
2722 2003-12-01  John Levon  <levon@movementarian.org>
2723
2724         * BufferView_pimpl.C: fix a crash on exit with
2725         a buffer open
2726
2727 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2728
2729         * BranchList.C: fix setSelected() method.
2730
2731 2003-11-28  André Pönitz  <poenitz@gmx.net>
2732
2733         * ParagraphParameters.[Ch]:
2734         * ParameterStruct.h: remove space above/below from Paragraph to
2735          InsetVSpace
2736
2737         * BufferView_pimpl.C:
2738         * factory.C:
2739         * lyxfunc.C:
2740         * lyxtext.h:
2741         * output_latex.C:
2742         * paragraph.C:
2743         * paragraph_funcs.C:
2744         * rowpainter.[Ch]:
2745         * text.C:
2746         * text2.C:
2747         * text3.C: adjust
2748
2749 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2750
2751         * factory.C: Syntax change for CharStyles
2752
2753 2003-11-28  André Pönitz  <poenitz@gmx.net>
2754
2755         * BufferView.[Ch]:
2756         * BufferView.[Ch]:
2757         * buffer.[Ch]:
2758         * buffer.[Ch]: move LyXText member
2759
2760 2003-11-28  André Pönitz  <poenitz@gmx.net>
2761
2762         * BufferView.[Ch]: make LyXText * text a private member
2763
2764         * BufferView_pimpl.C:
2765         * cursor.C:
2766         * iterators.C:
2767         * lyx_cb.C:
2768         * lyxfind.C:
2769         * lyxtext.h:
2770         * rowpainter.[Ch]:
2771         * text.C:
2772         * text2.C:
2773         * undo.C: adjust
2774
2775         * output_plaintext.C: cleanup
2776
2777 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2778
2779         * buffer.C:
2780         * lyxtextclass.[Ch]: parametrize SGML document header
2781
2782 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2783
2784         * converter.[Ch]:
2785         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2786         getFlavor().
2787
2788 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2789
2790         * text2.C (setFont): rework using PosIterator (no more recursive)
2791         (setCharFont): no more needed
2792         (setLayout): no more selection cursors fiddling (done by redoCursor)
2793         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2794         destroy remaining ones)
2795
2796 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2797
2798         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2799         * lyxtext.h: ditto
2800         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2801         selection cursors
2802         * lyxfunc.C: adjust
2803         * text3.C: adjust + re-allow multi par depth changes
2804         * textcursor.C: simplify a bit
2805
2806 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2807
2808         * src/buffer.C:
2809         * src/lyxlayout.C:
2810         * src/lyxlayout.h:
2811         * src/lyxtext.h:
2812         * src/output_docbook.C:
2813         * src/output_latex.C:
2814         * src/paragraph.C:
2815         * src/paragraph.h:
2816         * src/sgml.C:
2817         * src/sgml.h:
2818         * src/text2.C: Introducing a number of tags parametrizing various
2819         XML formats that we may want to support
2820
2821 2003-11-25  André Pönitz  <poenitz@gmx.net>
2822
2823         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2824
2825         * lyxtext.h (leftMargin/rightMargin): simplify interface
2826
2827         * rowpainter.C:
2828         * text.C:
2829         * text2.C:
2830         * text3.C: adjust
2831
2832 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2833
2834         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2835         master file to any child files. Fixes bug 546.
2836
2837 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2838
2839         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2840
2841 2003-11-24  André Pönitz  <poenitz@gmx.net>
2842
2843         * rowpainter.C: simplification
2844
2845         * text2.C (updateCounters): remove call to redoParagraph on
2846         changed labels as this is far too expensive.
2847
2848 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2849
2850         * converter.C (convert): fix a crash: this function gets
2851         called with buffer == 0 from importer code.
2852
2853 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2854
2855         * text3.C (cursorPrevious): make sure that we do not compare
2856         iterators form different containers.
2857         (cursorNext): ditto
2858
2859         * rowpainter.C (paintSelection): make sure that we do not compare
2860         iterators from different containers.
2861
2862         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2863         iterators from different ParagraphList containers.
2864         [NEXT] ditto
2865
2866         * text2.C (LyXText): change order of initialization slightly
2867         (operator=): new function. copy all variables except cache_par_
2868         (moveUp): make sure that we do not compare iterators from
2869         different ParagraphList constainers.
2870         (moveDown): ditto
2871
2872         * text.C (firstPar): new function
2873         (lastPar): new function
2874         (endPar): new function
2875
2876         * lyxtext.h: move things around and group public functions, public
2877         variables, private functions, private variables
2878
2879 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2880
2881         * factory.C: change call to InsetERT constructor to avoid
2882         additional invocation of method status
2883         * text2.C (toggleInset): remove redundant update() call
2884         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2885         instead of a Bufferview pointer
2886
2887 2003-11-21  André Pönitz  <poenitz@gmx.net>
2888
2889         * rowpainter.C: simplification
2890
2891 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2892
2893         * text3.C (dispatch): make possible to extend a word/row selection
2894         with the mouse
2895
2896 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2897
2898         * lyxtext.h: x0_,y0_ -> xo_,yo_
2899         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2900         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2901         * rowpainter.C (paintRows): paint full paragraphs
2902
2903 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2904
2905         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2906         screen coordinates)
2907
2908 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2909
2910         * lyxtext.h: add x0_, y0_
2911         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2912         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2913
2914 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2915
2916         * text2.C (setCursorIntern): move the x_target update here *
2917         * text3.C: change some bv() to true/false in calls to
2918         cursorUp/Down/Right/Left
2919         * cursor.C: use helper function.
2920
2921 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2922
2923         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2924         * paragraph_funcs.[Ch]: correct comment
2925         * rowpainter.C: do not paint selections away from bv->cursor()
2926         Fix a long standing selection painting bug.
2927         * text3.C: generalize mouse-selection code to LyXTexts other that
2928         top one
2929         * textcursor.C: do not use y coords if we can use par offsets
2930
2931 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2934         cursor position after e.g. inset insert)
2935
2936 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2937
2938         * lyxfind.C (replace): adjust to locking removal + some
2939         code simplification
2940
2941 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2942
2943         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2944         of the path
2945
2946 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2947
2948         * lyxlayout.[Ch]:
2949         * output_docbook.C: XML sanitation: new layout
2950         parameters InnerTag and CommandDepth
2951
2952 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2953
2954         * BufferView_pimpl.C:
2955         * factory.C:
2956         * text3.C: Fix the insertion and modification of button-style
2957         insets
2958
2959 2003-11-13  André Pönitz  <poenitz@gmx.net>
2960
2961         * InsetList.[Ch]: remove deleteLyXText
2962
2963         * paragraph.[Ch]: cache beginOfBody position
2964
2965         * Bidi.C:
2966         * text.C:
2967         * text2.C:
2968         * text3.C: remove superfluous update() calls
2969
2970         * vspace.C: cleanup
2971
2972 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2973
2974         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2975         * BufferView.C (fitLockedInsetCursor): remove
2976         * cursor.[Ch] (getDim): add
2977         * text.C (getRowNearY): add faster version
2978         * text3.C: remove some update calls
2979
2980 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2981
2982         * LaTeXFeatures.C:
2983         * LyXAction.C:
2984         * MenuBackend.C:
2985         * MenuBackend.h:
2986         * dispatchresult.h:
2987         * factory.C:
2988         * lfuns.h:
2989         * lyxfunc.C:
2990         * lyxtextclass.C:
2991         * lyxtextclass.h:
2992         * text3.C: The Character Style /XML short element patch.
2993
2994 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2995
2996         * text3.C:
2997         * factory.C: Small step to solving 'unable to insert some insets'
2998         problem
2999
3000 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * cursor.[Ch] (updatePos): new function for updating the y
3003         position of the tip inset
3004         * bufferview_funcs.C (put_selection_at):
3005         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3006
3007 2003-11-11  André Pönitz  <poenitz@gmx.net>
3008
3009         * text.C: remove big comment on invalid Paragraph pointers as it is
3010         not valid anymore
3011
3012 2003-11-11  André Pönitz  <poenitz@gmx.net>
3013
3014         * text_funcs.[Ch]: merge with ...
3015
3016         * text.C: ... this
3017
3018         * lyxtext.h:
3019         * text2.C:
3020         * text3.C: adjust
3021
3022         * Makefile.am: remove text_funcs.[Ch]
3023
3024 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * cursor.C (getPos): return absolute cached y coord
3027
3028         * BufferView_pimpl.C (fitCursor): new simplistic code
3029         (workAreaDispatch): add a fitCursor call
3030
3031 2003-11-10  André Pönitz  <poenitz@gmx.net>
3032
3033         * BufferView.[Ch]:
3034         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3035
3036 2003-11-10  André Pönitz  <poenitz@gmx.net>
3037
3038         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3039         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3040         indicate that the cursor needs to leave an inset
3041
3042         * lyxtext.h: remove inset locking
3043
3044         * cursor.[Ch]: re-implement functionality provided by inset locking
3045
3046         * BufferView.[Ch]:
3047         * BufferView_pimpl.[Ch]:
3048         * LyXAction.C:
3049         * bufferview_funcs.[Ch]:
3050         * factory.C:
3051         * funcrequest.[Ch]:
3052         * iterators.C:
3053         * lyx_cb.C:
3054         * lyxfind.C:
3055         * lyxfunc.C:
3056         * text.C:
3057         * text2.C:
3058         * text3.C:
3059         * undo.C: adjust
3060
3061 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * PosIterator.[Ch]: replace the stack with a vector, add inset
3064         accesor
3065         * iterators.[C]: adjust
3066
3067 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3070         replaced
3071         * paragraph_funcs.C (readParToken): put the correct id in the
3072         error item, not the id of the top paragraph
3073
3074 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3075
3076         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3077         * bufferview_funcs.C (put_selection_at): use the above
3078
3079 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3080
3081         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3082
3083 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3084
3085         * output_linuxdoc.h:
3086         * output_plaintext.h:
3087         * output.h:
3088         * output_docbook.h: add #include statements
3089
3090 2003-11-05  José Matos  <jamatos@lyx.org>
3091
3092         * output_docbook.[Ch]:
3093         * output_latex.[Ch]:
3094         * output_linuxdoc.[Ch]:
3095         * output_plaintext.[Ch]: New files for output formats.
3096         * output.[Ch]: New file for helper functions.
3097
3098         * buffer.[Ch]:
3099         * paragraph_funcs.[Ch]: output functions moved to new files.
3100
3101         * outputparams.h: rename of latexrunparams.h
3102
3103         * LaTeX.[Ch]:
3104         * buffer.[Ch]:
3105         * bufferlist.[Ch]:
3106         * converter.[Ch]:
3107         * exporter.C:
3108         * paragraph.[Ch]:
3109         * paragraph_funcs.[Ch]:
3110         * paragraph_pimpl.[Ch]:
3111         * tabular.[Ch]: rename ascii to plaintext
3112         and LatexRunParams to OutputParams.
3113
3114 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3115
3116         * iterators.[Ch] (text): require bv argument
3117         * undo.C (recordUndo):
3118         * lyxfunc.C (dispatch):
3119         * bufferview_funcs.C (put_selection_at): adjust
3120
3121 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3122
3123         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3124
3125 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3126
3127         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3128         nestings
3129
3130 2003-11-04  André Pönitz  <poenitz@gmx.net>
3131
3132         * cursor.[Ch]: restructure
3133
3134         * BufferView.[Ch]:
3135         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3136
3137         * iterators.[Ch] (asCursor): remove
3138
3139         * lfuns.h: remove LFUN_INSET_EDIT
3140
3141         * lyxfunc.C:
3142         * tabular.C:
3143         * text.C:
3144         * text2.C:
3145         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3146
3147 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3148
3149         * lyxfind.[Ch]: complete overhaul
3150         * BufferView_pimpl.C:
3151         * lyxfunc.C: adjust
3152         * paragraph.[Ch] (insert): add
3153
3154 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3155
3156         * BufferView.[Ch]:
3157         * lyxtext.h:
3158         * text.C: remove dead spellcheck code
3159
3160 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * dispatchresult.h: add a val setter
3163
3164         * cursor.C (dispatch): use a tempvar for data_[i]
3165
3166 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * PosIterator.[Ch]: compile fix
3169
3170 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3171
3172         * text.C (cursorPar): deactivate the cursor cache
3173
3174 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3175
3176         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3177
3178 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * text3.C (dispatch): adjust for new DisptchResult semantics.
3181
3182         * lyxfunc.C (dispatch): handle update when return from
3183         Cursor::dispatch, adjust for new DispatchResult semantics.
3184
3185         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3186         DispatchResult(true) mean to not update. Add class functions for
3187         setting dispatched and update, as well as reading.
3188
3189         * cursor.C (dispatch): don't handle update here
3190
3191 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3192
3193         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3194         * trans_mgr.C: adjust
3195
3196         * paragraph_funcs.C (readParToken): exception safety
3197
3198         * lyxvc.h: store the vcs pointer in a scoped_ptr
3199         * lyxvc.C: adjust
3200
3201         * lyxsocket.C (serverCallback): exception safety
3202
3203         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3204
3205         * ispell.C (clone): make it return a auto_ptr
3206
3207         * factory.C (createInset): exception safety
3208         (readInset): exception safety
3209
3210         * bufferlist.C (newBuffer): exception safety
3211
3212         * Thesaurus.C (Thesaurus): use initialization for aik_
3213
3214         * MenuBackend.C (expandToc): exception safety.
3215
3216 2003-11-03  André Pönitz  <poenitz@gmx.net>
3217
3218         * buffer.C:
3219         * buffer.h:
3220         * bufferview_funcs.C: remove getInsetFromId()
3221
3222         * lyxcursor.[Ch]:
3223         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3224
3225         * lyxfunc.C:
3226         * text2.C:
3227         * text3.C: adjust
3228
3229 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * PosIterator.C (distance, advance): new
3232         * bufferview_funcs.[Ch] (put_selection_at): new
3233         * iterators.[Ch] (lockPath): new
3234
3235 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * iterators.[Ch] (asPosIterator): added
3238         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3239         * PosIterator.[Ch]: added
3240
3241 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3242
3243         * text3.C:
3244         * lyxfunc.C:
3245         * cursor.C (dispatch):
3246         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3247
3248         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3249         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3250         contructor, add a class function dispatched. Remove operator>=
3251
3252 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3253
3254         * debug.C: only use the default constructor for debugstream
3255         (lyxerr) here.
3256
3257         * main.C (main): include debug.h and setup the lyxerr streambuf
3258         here.
3259
3260 2003-10-31  José Matos  <jamatos@lyx.org>
3261
3262         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3263
3264         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3265         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3266         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3267         * paragraph_pimpl.C (simpleTeXSpecialC):
3268         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3269         add LatexRunParams argument.
3270
3271         * exporter.C (Export): change call accordingly.
3272
3273         * latexrunparams.h: add new member to take care of the other backends.
3274 2003-10-30  José Matos  <jamatos@lyx.org>
3275
3276         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3277         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3278         factorise code for paragraph output.
3279         * buffer.[Ch]:
3280         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3281         move functions.
3282
3283 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3284
3285         * text3.C (dispatch):
3286         * lyxfunc.C (dispatch):
3287         * cursor.C (dispatch):
3288         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3289
3290         * dispatchresult.h: make the dispatch_result_t ctor explicit
3291
3292 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3293
3294         * sgml.[Ch]:
3295         * buffer.C: small refactoring of docbook stuff
3296
3297 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3300         meaning.
3301
3302 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3305         operator dispatch_result_t, and operators for == != and >=
3306
3307         * cursor.C (dispatch): adjust for operator dispatch_result_t
3308         removal. comment out call to update
3309
3310         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3311
3312 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3313
3314         * text3.C:
3315         * text2.C:
3316         * text.C:
3317         * lyxtext.h:
3318         * lyxfunc.C:
3319         * cursor.C:
3320         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3321         (dispatch):
3322
3323         * dispatchresult.h: new file, DispatchResult broken out of
3324         insets/insetbase.h
3325
3326         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3327
3328 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3329
3330         * text.C (rowBreakPoint): put a hack inside #if 0
3331
3332 2003-10-28  André Pönitz  <poenitz@gmx.net>
3333
3334         * lyxtext.h:
3335         * metricsinfo.C:
3336         * paragraph_funcs.C:
3337         * rowpainter.C:
3338         * text.C:
3339         * text2.C: general cleanup (lots of small stuff)
3340
3341 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3342
3343         * text2.C (cursorEnd): simple fix to the "end key goes to one
3344         before the end on last row" bug
3345
3346 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3347
3348         * text.C (backspace): fix the "zombie characters"
3349
3350 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3353
3354 2003-10-27  André Pönitz  <poenitz@gmx.net>
3355
3356         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3357
3358         * factory.C: handle new InsetPagebreak, InsetLine
3359
3360         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3361         and move handling into new InsetPagebreak, InsetLine
3362
3363         * BufferView_pimpl.C:
3364         * LyXAction.C:
3365         * ParagraphParameters.C:
3366         * ParameterStruct.h:
3367         * lyxfunc.C:
3368         * lyxtext.h:
3369         * paragraph.C:
3370         * paragraph.h:
3371         * paragraph_funcs.C:
3372         * paragraph_pimpl.C:
3373         * rowpainter.C:
3374         * text.C:
3375         * text2.C:
3376         * text3.C: adjust
3377
3378 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3379
3380         * text.C:
3381         * lyxrow_funcs.[Ch]:
3382         * Bidi.C:
3383         * paragraph.C:
3384         * lyxtext.h:
3385         * rowpainter.C:
3386         * text2.C:
3387         * text3.C: remove lastPos uses in favour of Row::endpos
3388
3389 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3390
3391         * undo.C (performUndoOrRedo): fix two crashes by setting a
3392         cursor by hand and reordering some calls. Use bv->lockInset instead
3393         of inset->edit because the latter loses cursor information
3394
3395 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3396
3397         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3398         by Martin
3399         (rowBreakPoint): fix width. change point to point + 1.
3400         Add a missing check.
3401
3402 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3403
3404         * MenuBackend.C:
3405         * lyxfunc.C: fix (at least partly) the problems
3406         with the Nav menu and headers inside branch insets
3407         reported by Kayvan
3408
3409 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3410
3411         * paragraph.C (getChar): add strong asserts
3412
3413         * lyxrow_funcs.C (lastPos): remove hideous hack
3414
3415         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3416         (fill): adjust to that (avoid an infinite loop)
3417
3418 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3421
3422 2003-10-23  André Pönitz  <poenitz@gmx.net>
3423
3424         * RowList_fwd.h: change list<> to vector<> to gain speed
3425         after suggestion from Alfredo
3426
3427 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3428
3429         * lyxtext.h: move the bidi stuff from here...
3430         * text.C: and here
3431         * text2.C: and here
3432         * Bidi.[Ch]: ... to here
3433
3434 2003-10-23  André Pönitz  <poenitz@gmx.net>
3435
3436         * lyxtext.h:
3437         * text.C (isLastRow, isFirstRow): new functions
3438
3439         * paragraph.h: new width cache member
3440
3441         * rowpainter.C: replace RowList::iterator with Row & where possible
3442
3443         * lyxfunc.C: replace several view()->text with a single call
3444
3445         * toc.C: fix 'unused' warning
3446
3447 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3448
3449         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3450         when woring with stream::pos_type
3451         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3452
3453 2003-10-22  André Pönitz  <poenitz@gmx.net>
3454
3455         * lyxtext.h:
3456         * text.C: use Row & instead of RowList::iterator
3457
3458         * lyxrow.h: rename end() to endpos()
3459
3460         * rowpainter.C:
3461         * text.C:
3462         * text2.C: adjust
3463
3464 2003-10-22  Angus Leeming  <leeming@lyx.org>
3465
3466         * buffer.[Ch] (fully_loaded): new member function, returning true
3467         only when the file has been loaded fully.
3468         Used to prevent the premature generation of previews and by the
3469         citation inset to prevent computation of the natbib-style label.
3470
3471         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3472         templates are all set up.
3473
3474         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3475
3476 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * text.C: fixed an "oops" in the "is a bit silly"
3479         bug fix
3480
3481 2003-10-21  André Pönitz  <poenitz@gmx.net>
3482
3483         * FuncStatus.[Ch]: small stuff, whitespace
3484
3485         * lyxfont.[Ch]: operator<<() for debug reasons
3486
3487         * lyxfunc.C:
3488         * lyxrow_funcs.C:
3489         * lyxtext.h: whitespace, spelling
3490
3491         * paragraph.C: naming of variables
3492
3493         * text.C:
3494         * text2.C: small stuff
3495
3496
3497 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3498
3499         * text.C: (1) finish off the inset display() work;
3500         (2) fix the "is a bit silly" bug (accessing char
3501         past end of par).
3502
3503 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3504
3505         * text.C: re-introduce display() for insets, fixing the
3506         various bugs (stretch of line above, math inset
3507         positioning, ...)
3508
3509 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3510
3511         * text.C (rightMargin): remove spurious semicolon
3512
3513         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3514         1415)
3515
3516 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3517
3518         * text3.C: fix one crash due to wrong cursor def
3519
3520 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3521
3522         * vc-backend.C (scanMaster): make the regex static
3523
3524         * LaTeX.C (scanAuxFile): make the regexs static
3525
3526         * text3.C (doInsertInset, dispatch, dispatch):
3527         * text2.C (cursorUp, cursorDown):
3528         * text.C (selectNextWordToSpellcheck):
3529         * BufferView_pimpl.C (dispatch):
3530         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3531
3532 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3533
3534         * lyxsocket.C: include <cerrno>
3535
3536 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3537
3538         * lyxfunc.C (dispatch): remove textcache stuff
3539
3540         * bufferlist.C (release): remove textcache stuff
3541         (closeAll): ditto
3542
3543         * TextCache.C: delete file
3544         * TextCache.h: delete file
3545
3546         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3547
3548         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3549         delete of the bv_->text.
3550         (resizeCurrentBuffer): remove texcache stuff
3551         (workAreaResize): ditto
3552
3553 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3554
3555         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3556         action.
3557
3558 2003-10-16  André Pönitz  <poenitz@gmx.net>
3559
3560         * lyxrow.[Ch]:
3561         * paragraph.h:
3562         * rowpainter.C:
3563         * text.C:
3564         * text2.C:
3565         * text3.C: speed up by storing y positions per paragraph plus per-row
3566         offset instead of having a 'full' y position in the row.
3567
3568 2003-10-15  André Pönitz  <poenitz@gmx.net>
3569
3570         * iterators.[Ch]:
3571         * iterators.[Ch]:
3572         * undo.[Ch]: make undo aware of inner insets
3573
3574 2003-10-14  Angus Leeming  <leeming@lyx.org>
3575
3576         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3577         static member functions LyX::ref() and LyX::cref.
3578         (lastfiles): new accessor functions for the new lastfiles_ member var.
3579         (addLyXView, views_): add a new LyXView to the list of views_.
3580         (updateInset): loop over all LyXViews to call their own updateInset
3581         member function, returning a pointer to the Buffer owning the inset.
3582
3583         * BufferView_pimpl.C (loadLyXFile):
3584         * MenuBackend.C (expandLastfiles):
3585         * bufferlist.C (MenuWrite, QuitLyX):
3586         lastfiles is no longer a global variable.
3587         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3588
3589         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3590         static function. Access through LyX::cref().emergencyCleanup().
3591
3592 2003-10-14  André Pönitz  <poenitz@gmx.net>
3593
3594         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3595
3596         * undo.[Ch]: restoring part of 'undo in insets'
3597
3598         * Makefile.am:
3599         * undo_funcs.[Ch]: merge with undo.[Ch]
3600
3601         * tabular.C: small cleansing stuff
3602
3603 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3604
3605         * paragraph_funcs.C (readParToken): report unknown insets as error
3606         boxes. Use the outer paragraph as location (also for unknown
3607         tokens).
3608
3609         * factory.C (readInset): do not abort on reading an unknown inset.
3610         Eat it and return 0.
3611
3612 2003-10-13  Angus Leeming  <leeming@lyx.org>
3613
3614         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3615
3616         * lyxrc.C: displayTranslator is now a function,
3617         declared in GraphicsTypes.h.
3618
3619 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3620
3621         * format.C: new placeholder $$a to pass the socket address.
3622
3623         * bufferlist.[Ch]: new function getBufferFromTmp.
3624
3625         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3626           files in the temporary dir.
3627
3628 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3629
3630         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3631
3632         * Makefile.am: add lyxsocket.[Ch].
3633
3634         * lyx_main.C (error_handler): handle SIGPIPE.
3635
3636 2003-10-13  André Pönitz  <poenitz@gmx.net>
3637
3638         * BufferView_pimpl.C:
3639         * lyxtext.h:
3640         * text.C:
3641         * text2.C:
3642         * text3.C:
3643         * undo_funcs.[Ch]: use paroffset_type instead of
3644           ParagraphList::iterators to prevent multiple conversion
3645           (and get a more robust interface)
3646
3647 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3650         * lyxtext.h: ditto
3651         * text3.C (dispatch): ditto
3652
3653 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3656         move the onlyfile, use onlyfile instead of foundfile in a couple
3657         of places.
3658
3659         * DepTable.C (update): flush the error stream a bit more
3660
3661 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3662
3663         * lyxserver.C (callback): adjust
3664
3665         * lyxfunc.C (getStatus): add a missing brace in commented code
3666         (ensureBufferClean): reindent
3667         (dispatch): delete version taking a string
3668
3669 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3670
3671         * LaTeX.C (deplog): move found file handlig from here...
3672         (handleFoundFile): .. to new function here.
3673         (deplog): make sure to discover several files mentioned on the
3674         same log line.
3675
3676 2003-10-10  André Pönitz  <poenitz@gmx.net>
3677
3678         * lyxfunc.C:
3679         * lyxtext.h:
3680         * tabular.C:
3681         * text.C:
3682         * text2.C:
3683         * text3.C: fix some of the tabular crashes
3684
3685 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3686
3687         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3688
3689         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3690
3691 2003-10-09  André Pönitz  <poenitz@gmx.net>
3692
3693         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3694
3695         * BufferView.C:
3696         * BufferView_pimpl.C:
3697         * bufferview_funcs.C:
3698         * lyx_cb.C:
3699         * lyxcursor.C:
3700         * lyxfind.C:
3701         * lyxfunc.C:
3702         * lyxtext.h:
3703         * text.C:
3704         * text2.C:
3705         * text3.C:
3706         * text_funcs.[Ch]:
3707         * textcursor.[Ch]:
3708         * undo_funcs.C: adjust
3709
3710 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3711
3712         * text2.C (incrementItemDepth): new function, use a backtracking
3713         algorithm to discover the correct item depth.
3714         (resetEnumCounterIfNeeded): new function, use a backtracking
3715         algorithm to discover if counter reset is needed.
3716         (setCounter): use them. Simplify a bit. Add different labels for
3717         different item depths for itemize.
3718
3719         * paragraph.C (Paragraph): remove initialization of enumdepth
3720         (operator=): ditto
3721
3722         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3723         enumerate and itemize. Change the type of itemdepth to signed char.
3724
3725 2003-10-08  André Pönitz  <poenitz@gmx.net>
3726
3727         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3728           thing assignable.
3729         * text.C:
3730         * text2.C: adjust
3731
3732         * tabular.[Ch]: fix crash after 'row-insert'
3733
3734 2003-10-08  Angus Leeming  <leeming@lyx.org>
3735
3736         Fix doxygen warnings.
3737
3738         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3739         Remove CutAndPaste:: prefix from header file declaration.
3740
3741         * LColor.h (fill): remove LColor:: prefix from declaration.
3742
3743         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3744         use lyx::depth_type rather than Paragraph::depth_type so that
3745         header file and .C file match.
3746
3747         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3748
3749         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3750         * aspell.C: \file aspell_local.C -> \file aspell.C
3751         * gettext.C: \file gettext.C -> \file src/gettext.C
3752         * gettext.h: \file gettext.h -> \file src/gettext.h
3753         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3754         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3755         * text.C: \file text.C -> \file src/text.C
3756
3757         * toc.C: move comment so that doxygen is not confused.
3758
3759 2003-10-07  Angus Leeming  <leeming@lyx.org>
3760
3761         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3762
3763 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3764
3765         * aspell.C:
3766         * aspell_local.h: add forgotten std::string's.
3767
3768 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3769
3770         * LaTeXFeatures.C:
3771         * LyXAction.C:
3772         * factory.C:
3773         * lfuns.h:
3774         * lyxfunc.C:
3775         * text3.C: The Box patch. Fancybox support, minipage, parbox
3776
3777 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3778
3779         * CutAndPaste.h:
3780         * DepTable.h:
3781         * FloatList.h:
3782         * LaTeXFeatures.h:
3783         * ParagraphParameters.h:
3784         * TextCache.h:
3785         * Thesaurus.h:
3786         * bufferlist.h:
3787         * exporter.h:
3788         * importer.h:
3789         * lastfiles.h:
3790         * lyxfind.h:
3791         * lyxfont.h:
3792         * lyxlex.h:
3793         * lyxtextclasslist.h:
3794         * messages.h:
3795         * paragraph.h:
3796         * paragraph_pimpl.C:
3797         * textcursor.h: add <string> and other small fixes to make Lars'
3798         std::string patch compile with STLport.
3799
3800 2003-10-06  Angus Leeming  <leeming@lyx.org>
3801
3802         * LColor.h: Add missing #include <string>.
3803
3804 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * All most all file in all subdirs: Make <string> be the prefered
3807         way of getting to std::string, add using declarations.
3808
3809 2003-10-06  André Pönitz  <poenitz@gmx.net>
3810
3811         * metricsinfo.C: initialize LyXFont before changing attribute.
3812         (fixes the 'math in \emph is upright' bug)
3813
3814 2003-10-06  André Pönitz  <poenitz@gmx.net>
3815
3816         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3817
3818 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3819
3820         * graph.C:
3821         * paragraph_pimpl.C: Small fixes to build using STLport
3822
3823 2003-10-02  André Pönitz  <poenitz@gmx.net>
3824
3825         * lyxfunc.C:
3826         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3827
3828 2003-10-01  André Pönitz  <poenitz@gmx.net>
3829
3830         * factory.C: assert early
3831
3832 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * lyx_main.C: remove the global debug object
3835
3836         * debug.h: adjust for new debugstream
3837
3838         * debug.C: adjust for new debugstream and keep the global debug
3839         object here.
3840
3841 2003-09-22  Angus Leeming  <leeming@lyx.org>
3842
3843         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3844         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3845         an incomplete class LyXFont.
3846
3847 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3848
3849         * factory.C: bug fix in branches
3850
3851 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * lyxfunc.C (processKeySym): adjust
3854         (dispatch): adjust
3855         (dispatch): change arg name from ev to func, adjust
3856         (sendDispatchMessage): ditto
3857
3858         * lyx_main.C (defaultKeyBindings): adjust keybindings
3859         (deadKeyBindings): ditto
3860
3861         * kbsequence.C (addkey): return a FuncRequest
3862
3863         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3864
3865         * kbmap.C (bind): take a FuncRequest as arg, adjust
3866         (read): adjust
3867         (lookup): adjust
3868         (defkey): change to take a FuncRequest as arg, adjust
3869         (findbinding): take a FuncRequest as arg, adjust.
3870
3871         * funcrequest.h (operator=): added
3872
3873         * funcrequest.C (FuncRequest): default kb_action changed from
3874         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3875
3876         * buffer.C (dispatch): simplify
3877         (dispatch): adjust to take a FuncRequest as arg, adjust
3878
3879         * boost.C (assertion_failed): change assertion message slightly
3880
3881         * ToolbarBackend.C (read): simplify
3882
3883         * MenuBackend.C (binding): adjust call to findbinding, add a
3884         message if no binding is found.
3885         (read): simplify
3886         (expandToc): correct by adding a empty FuncRequest
3887
3888         * LyXAction.C: include <boost/assert.hpp>
3889         (isPseudoAction): delete function
3890         (LookupFunc): change name to...
3891         (lookupFunc): this. change return type to FuncRequest.
3892         (getActionName): take kb_action as arg, simplify
3893         (funcHasFlag): add an assert, simplify.
3894
3895 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3896
3897         * toc.C (action): return a FuncRequest, simplify
3898
3899         * lyxfunc.C (processKeySym): adjust
3900         (getStatus): delete version that takes an int.
3901         (getStatus): adjust
3902         (dispatch): delete version that takes action as int
3903         (dispatch): adjust
3904         (sendDispatchMessage): simplify and adjust
3905
3906         * funcrequest.C (getArg): take unsigned int as arg
3907
3908         * ToolbarBackend.C (read): adjust
3909         (add): delete version that takes func as a string.
3910         (getIton): take a FuncRequest as arg
3911
3912         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3913         action.
3914
3915         * MenuBackend.C (MenuItem): add a new construct that only takes a
3916         Kind, simplify the constructor use for submenus.
3917         (add): adjust
3918         (expandLastfiles): adjust
3919         (expandDocuments): adjust
3920         (expandFormats): adjust
3921         (expandFloatListInsert): adjust
3922         (expandFloatInsert): adjust
3923         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3924
3925         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3926         Remove class variables lyx_pseudo_map and lyx_arg_map
3927
3928         * LyXAction.C (searchActionArg): delete function
3929         (getPseudoAction): delete function
3930         (retrieveActionArg): delete function
3931         (LookupFunc): make it return kb_action, simplify.
3932         (getActionName): simplify
3933
3934         * factory.C (createInset): fix new bug
3935
3936 2003-09-19  Angus Leeming  <leeming@lyx.org>
3937
3938         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3939         masterFilename_ parameter in the include inset.
3940
3941         * factory.C (createInset): changes due to the changes to InsetInclude.
3942
3943 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3944
3945         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3946
3947 2003-09-18  Angus Leeming  <leeming@lyx.org>
3948
3949         * buffer.C:
3950         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3951         Inset::fillWithBibKeys.
3952         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3953
3954 2003-09-18  Angus Leeming  <leeming@lyx.org>
3955
3956         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3957         variables.
3958         (ctor): pass and store a 'Buffer const &'
3959         (buffer): new member function.
3960
3961         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3962         '*this' to the LaTeXFeatures ctor.
3963
3964 2003-09-18  Angus Leeming  <leeming@lyx.org>
3965
3966         * LColor.h:
3967         * lyxfont.C:
3968         * lyxfont.h:
3969         * lyxtext.h:
3970         * text.C: rename EnumLColor as LColor_color.
3971
3972 2003-09-18  Angus Leeming  <leeming@lyx.org>
3973
3974         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3975         remove #include "insets/insetbase.h" from cursor.h.
3976
3977 2003-09-18  Angus Leeming  <leeming@lyx.org>
3978
3979         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3980         InsetOld_code to remove #include "inset.h".
3981
3982         * iterators.C: add #include "insets/inset.h"
3983
3984 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3985
3986         * BufferView.C: remove more locking stuff that apparently doesn't
3987         do anything sensible.
3988
3989 2003-09-16  André Pönitz  <poenitz@gmx.net>
3990
3991         * paragraph.[Ch]:
3992         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3993           performance boost.
3994
3995 2003-09-16  Angus Leeming  <leeming@lyx.org>
3996
3997         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3998
3999         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4000         arg/return type.
4001
4002         * paragraph.h: remove #include "lyxfont.h". Forward declare
4003         LyXFont_size.
4004
4005 2003-09-16  Angus Leeming  <leeming@lyx.org>
4006
4007         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4008         of support/textutils.h.
4009         (isWord): move the contents of support/textutils.h's IsWordChar here.
4010
4011         * buffer.C:
4012         * lyxfind.C:
4013         * rowpainter.C:
4014         * text.C:
4015         * text2.C: add #include "paragraph.h".
4016
4017         * rowpainter.C:
4018         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4019
4020 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4021
4022         * main.C:
4023         * lyx_main.C:
4024         * lyx_cb.C:
4025         * buffer.C:
4026         * LaTeX.C: use namespace alias for lyx::support::os
4027
4028 2003-09-16  Angus Leeming  <leeming@lyx.org>
4029
4030         * bufferparams.C:
4031         * bufferview_funcs.C:
4032         * factory.C:
4033         * lyxfunc.C:
4034         * paragraph_pimpl.C:
4035         * rowpainter.C:
4036         * text.C: add #include "LColor.h".
4037
4038 2003-09-16  Angus Leeming  <leeming@lyx.org>
4039
4040         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4041         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4042         return LyXFont &.
4043         Store the FontBits::color variable as an int rather than as an
4044         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4045         file.
4046
4047         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4048         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4049         string calls together.
4050
4051         * lyxrc.C: add #include "LColor.h".
4052
4053 2003-09-15  Angus Leeming  <leeming@lyx.org>
4054
4055         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4056         a cow_ptr.
4057
4058 2003-09-15  Angus Leeming  <leeming@lyx.org>
4059
4060         * LColor.h: add an EnumLColor wrapper for LColor::color.
4061
4062         * lyxfont.[Ch] (color, setColor, realColor):
4063         * lyxtext.h, text.C (backgroundColor):
4064         pass EnumLColor args to/from the functions, rather than LColor::color
4065         ones.
4066
4067         * lyxfont.h:
4068         * lyxtext.h: forward declare EnumLColor.
4069
4070         * lyx_main.C: add #include "LColor.h".
4071
4072 2003-09-15  Angus Leeming  <leeming@lyx.org>
4073
4074         * .cvsignore: add lyx-gtk.
4075
4076 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4077
4078         * Chktex.C
4079         * LaTeX.C
4080         * LaTeXFeatures.C
4081         * ParagraphParameters.C
4082         * Spacing.C
4083         * buffer.C
4084         * bufferparams.C
4085         * bufferview_funcs.C
4086         * chset.C
4087         * counters.C
4088         * funcrequest.C
4089         * lyxfont.C
4090         * lyxgluelength.C
4091         * lyxlength.C
4092         * paragraph.C
4093         * paragraph_funcs.C
4094         * text3.C
4095         * vc-backend.C: remove usage of STRCONV
4096
4097 2003-09-15  Angus Leeming  <leeming@lyx.org>
4098
4099         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4100         explicitly define the color passed to the painter.
4101
4102 2003-09-15  Angus Leeming  <leeming@lyx.org>
4103
4104         * bufferparams.C (BufferParams): reorder member initializers to avoid
4105         compiler warning.
4106
4107 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4108
4109         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4110         * text.C (updateRowPositions): remove an unusual nop
4111
4112 2003-09-12  André Pönitz  <poenitz@gmx.net>
4113
4114         * BufferView_pimpl.C:
4115         * Bullet.C:
4116         * layout.h:
4117         * lyxfunc.C:
4118         * lyxlayout.[Ch]:
4119         * lyxtextclass.C:
4120         * rowpainter.C:
4121         * text.C:
4122         * text2.C:
4123         * Counters.[Ch]: finish the 'automatic counters' job
4124
4125 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4126
4127         * aspell.C: include <boost/assert.cpp> (compile fix)
4128
4129 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4130
4131         * boost.C (assertion_failed): use lyx::support::abort instead of
4132         assert.
4133
4134 2003-09-10  Angus Leeming  <leeming@lyx.org>
4135
4136         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4137         with their _fwd progeny.
4138
4139 2003-09-09  Angus Leeming  <leeming@lyx.org>
4140
4141         134 files throughtout the source tree: replace 'using namespace abc;'
4142         directives with the appropriate 'using abc::xyz;' declarations.
4143
4144 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4145
4146         * boost.C (emergencyCleanup): moved here from LAssert.c
4147         (assertion_failed): new function, called by BOOST_ASSERT
4148
4149         * several files: change Assert to BOOST_ASSERT
4150
4151 2003-09-09  Angus Leeming  <leeming@lyx.org>
4152
4153         * buffer.[Ch]: Add an Impl class and move Buffer's member
4154         variables into it. As a result move several header files out of
4155         buffer.h.
4156
4157         Add header files to lots of .C files all over the tree as a result.
4158
4159 2003-09-09  Angus Leeming  <leeming@lyx.org>
4160
4161         * buffer.[Ch]: make Buffer's member variables private. Add
4162         accessor functions.
4163
4164         Lots of changes all over the tree as a result.
4165
4166 2003-09-08  Angus Leeming  <leeming@lyx.org>
4167
4168         * graph.C: #include <config.h>.
4169
4170 2003-09-08  Angus Leeming  <leeming@lyx.org>
4171
4172         * BranchList.C:
4173         * BufferView.C:
4174         * BufferView_pimpl.C:
4175         * CutAndPaste.C:
4176         * DepTable.C:
4177         * LaTeX.C:
4178         * LaTeXFeatures.C:
4179         * LyXAction.C:
4180         * MenuBackend.C:
4181         * TextCache.C:
4182         * aspell.C:
4183         * buffer.C:
4184         * bufferlist.C:
4185         * changes.C:
4186         * chset.C:
4187         * converter.C:
4188         * counters.C:
4189         * debug.C:
4190         * graph.C:
4191         * ispell.C:
4192         * lyx_cb.C:
4193         * lyxfind.C:
4194         * lyxfunc.C:
4195         * lyxlex_pimpl.C:
4196         * lyxrc.C:
4197         * lyxrow.C:
4198         * paragraph.C:
4199         * rowpainter.C:
4200         * texrow.C:
4201         * text.C:
4202         * text2.C:
4203         * toc.C: remove redundant using directives.
4204
4205 2003-09-07  Angus Leeming  <leeming@lyx.org>
4206
4207         * LaTeXFeatures.h: remove #include "support/types.h".
4208         * ToolbarBackend.h: remove #include <algorithm>.
4209         * changes.h: remove #include <ctime>.
4210         * debug.h: remove #include <iosfwd>.
4211         * graph.h: remove #include "support/std_string.h".
4212         * lyx_main.h: remove #include <csignal>.
4213         * lyxlex_pimpl.h: remove #include <fstream>.
4214         * sgml.h: remove #include <algorithm>, <utility>.
4215         * toc.h: remove #include "support/std_ostream.h".
4216         Add #include <iosfwd>.
4217
4218 2003-09-07  Angus Leeming  <leeming@lyx.org>
4219
4220         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4221
4222         * converter.h: forward declare LatexRunParams.
4223         * encoding.h: remove #include "lyxrc.h".
4224         * lyxtext.h: remove #include "LColor.h".
4225         * lyxtextclass.h: remove #include "support/types.h".
4226         * trans.h: remove #include "tex-accent.h".
4227         * trans_mgr.h: remove #include "tex-accent.h".
4228         * insets/inset.h: remove #include "support/types.h", <vector>.
4229         * insets/insetcollapsable.h: remove #include "LColor.h".
4230         * insets/insetinclude.h: remove #include "dimension.h".
4231         * insets/insetlatexaccent.h: remove #include "dimension.h".
4232         * insets/insetoptarg.h:: remove #include "insettext.h".
4233         * insets/insettext.h: remove #include "dimension.h",
4234         <boost/shared_ptr.hpp>
4235
4236         * insets/renderers.h: add #include "dimension.h".
4237         * insets/updatableinset.h: add #include "support/types.h".
4238
4239         * many .C files: Associated changes.
4240
4241 2003-09-06  Angus Leeming  <leeming@lyx.org>
4242
4243         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4244         one, inside testInvariant.
4245
4246         * PrinterParams.C: new file.
4247         * PrinterParams.[Ch]: move the function bodies out of line.
4248
4249 2003-09-06  Angus Leeming  <leeming@lyx.org>
4250
4251         * ParagraphParameters.h: forward declare ParameterStruct rather than
4252         including its header file.
4253         (depth): moved out-of-line.
4254
4255 2003-09-06  Angus Leeming  <leeming@lyx.org>
4256
4257         * BufferView_pimpl.h:
4258         * kbmap.h:
4259         * kbsequence.h:
4260         * lyxfunc.h: forward declare LyXKeySym rather than
4261         #include "frontends/LyXKeySym.h".
4262
4263         * BufferView_pimpl.C:
4264         * kbmap.C:
4265         * kbsequence.C:
4266         * lyxfunc.C: associated changes.
4267
4268 2003-09-06  Angus Leeming  <leeming@lyx.org>
4269
4270         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4271         As a result, can remove the #include "insets/inset.h" from BufferView.h
4272
4273 2003-09-06  Angus Leeming  <leeming@lyx.org>
4274
4275         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4276         As a result, can remove the #include "insets/inset.h" from BufferView.h
4277
4278 2003-09-06  Angus Leeming  <leeming@lyx.org>
4279
4280         * buffer_funcs.C:
4281         * buffer.h:
4282         * bufferlist.C:
4283         * BufferView.C:
4284         * bufferview_funcs.C:
4285         * BufferView_pimpl.C:
4286         * CutAndPaste.C:
4287         * lyx_cb.C:
4288         * lyxfunc.C:
4289         * paragraph.h:
4290         * ParagraphParameters.C:
4291         * tabular.C:
4292         * text3.C:
4293         * toc.C:
4294         * undo_funcs.C:
4295         * frontends/controllers/ControlDocument.C:
4296         * insets/insetcaption.C: rearrange the #includes into some sort of
4297         coherent order.
4298
4299         * buffer.h: remove #includes ErrorList.h, undo.h
4300
4301 2003-09-06  Angus Leeming  <leeming@lyx.org>
4302
4303         * support/types.h: add a 'depth_type' typedef, used to store the
4304         nesting depth of a paragraph.
4305
4306         * paragraph.h:
4307         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4308         defining explicitly.
4309
4310         * buffer.h:
4311         * paragraph_funcs.h:
4312         * ParagraphParameters.h:
4313         * sgml.h: use lyx::depth_type rather than Paragraph or
4314         ParameterStruct's depth_type.
4315
4316         * buffer.h
4317         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4318
4319         * BufferView.C:
4320         * BufferView_pimpl.C:
4321         * CutAndPaste.C:
4322         * ParagraphParameters.C:
4323         * buffer_funcs.C:
4324         * bufferlist.C:
4325         * bufferview_funcs.C:
4326         * lyx_cb.C:
4327         * lyxfunc.C:
4328         * tabular.C:
4329         * text3.C:
4330         * toc.C:
4331         * undo_funcs.C:
4332         * frontends/LyXView.C:
4333         * frontends/controllers/ControlDocument.C:
4334         * frontends/controllers/ControlErrorList.C:
4335         * insets/insetbibitem.C:
4336         * insets/insetbranch.C:
4337         * insets/insetcaption.C:
4338         * insets/insetcollapsable.C:
4339         * insets/insetenv.C:
4340         * insets/insetert.C:
4341         * insets/insetfloat.C:
4342         * insets/insetfoot.C:
4343         * insets/insetfootlike.C:
4344         * insets/insetnewline.C:
4345         * insets/insetquotes.C:
4346         * insets/insettabular.C:
4347         * insets/insettext.C:
4348         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4349
4350         * frontends/controllers/ControlChanges.C: #include "changes.h".
4351
4352 2003-09-06  Angus Leeming  <leeming@lyx.org>
4353
4354         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4355         than #including paragraph.h.
4356
4357         * ParagraphList.h:
4358         * RowList.h: deleted. Superfluous.
4359
4360         * CutAndPaste.h:
4361         * iterators.h:
4362         * lyxcursor.h:
4363         * lyxtext.h:
4364         * text_funcs.h:
4365         * undo.h:
4366         * undo_funcs.h:
4367         * insets/inset.h:
4368         * insets/insettext.h: use ParagraphList_fwd.h rather than
4369         ParagraphList.h.
4370
4371         * paragraph.h: don't forward declare ParagraphList.
4372
4373         * buffer.h:
4374         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4375         rather than ParagraphList.h. paragraph.h is still needed for the
4376         Paragraph::depth_type parameters.
4377
4378         * textcursor.h: enable it to compile stand-alone in light of the
4379         above changes.
4380
4381         * bufferview_funcs.C:
4382         * iterators.C:
4383         * lyxfunc.C:
4384         * lyxrow_funcs.C:
4385         * paragraph.C:
4386         * rowpainter.C:
4387         * text.C:
4388         * text2.C:
4389         * text3.C:
4390         * text_funcs.C:
4391         * textcursor.C:
4392         * undo.C:
4393         * frontends/controllers/ControlParagraph.C:
4394         * frontends/controllers/ControlTabular.C:
4395         * insets/insetmarginal.C:
4396         * insets/insetminipage.C:
4397         * insets/insetnote.C:
4398         * insets/insetoptarg.C: add header files needed to compile again.
4399
4400 2003-09-06  Angus Leeming  <leeming@lyx.org>
4401
4402         * RowList_fwd.h: new file, forward-declaring Row rather than
4403         #including lyxrow.h.
4404
4405         * lyxrow_funcs.h:
4406         * lyxtext.h:
4407         * paragraph.h:
4408         * insets/insettext.h: use it instead of RowList.h
4409
4410         * bufferview_funcs.C:
4411         * lyxfunc.C:
4412         * lyxrow_funcs.C:
4413         * paragraph.C:
4414         * rowpainter.C:
4415         * text.C:
4416         * text2.C:
4417         * text3.C: #include "RowList.h".
4418
4419 2003-09-05  Angus Leeming  <leeming@lyx.org>
4420
4421         * factory.C (createInset):
4422         * vspace.C (c-tor): replace sscanf call with an istringstream.
4423         * ispell.C: re-add missing HP/UX headers.
4424         * lyxserver.C: re-add missing  os2 headers.
4425
4426 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4427
4428         * BranchList.C:
4429         * graph.C:
4430         * ispell.C:
4431         * lastfiles.C:
4432         * lyx_cb.C:
4433         * lyxserver.C:
4434         * texrow.C:
4435         * text3.C: re-add missing system headers, needed for 2.95.2.
4436
4437 2003-09-05  Angus Leeming  <leeming@lyx.org>
4438
4439         Changes most place everywhere due to the removal of using directives
4440         from support/std_sstream.h.
4441
4442 2003-09-05  Angus Leeming  <leeming@lyx.org>
4443
4444         Replace LString.h with support/std_string.h,
4445         Lsstream.h with support/std_sstream.h,
4446         support/LIstream.h with support/std_istream.h,
4447         support/LOstream.h with support/std_ostream.h.
4448
4449         Changes resulting throughout the tree.
4450
4451 2003-09-05  Angus Leeming  <leeming@lyx.org>
4452
4453         * sgml.h: ensure that the header file can be compiled stand-alone.
4454         * *.C: strip out redundant #includes. (320 in total.)
4455
4456 2003-09-04  Angus Leeming  <leeming@lyx.org>
4457
4458         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4459         here (from getPackages).
4460
4461         * debug.[Ch]: add a new EXTERNAL tag.
4462
4463 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4464
4465         * text2.C (cursorEnd): simplify
4466         (setCursor): adjust
4467         (getColumnNearX): adjust
4468
4469         * text.C (computeBidiTables): adjust
4470         (fill): adjust
4471
4472         * rowpainter.C (paintChars): adjust
4473         (paintSelection): adjust
4474         (paintChangeBar): adjust
4475         (paintText): adjust
4476
4477         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4478         lastPos instead.
4479         (numberOfSeparators): adjust
4480
4481 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4482
4483         * LyXAction.C:
4484         * box.[Ch]:
4485         * lfuns.h:
4486         * lyxfunc.C:
4487         * text3.C: Restricts the mouse click functionality
4488         of insets like bibtex, include, toc and floatlist to the visible
4489         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4490         up the dialogs. Cursor has to be in front of the inset (i.e.
4491         start of row) for this to function.
4492
4493 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4494
4495         * bufferview_funcs.C (currentState): output row information
4496
4497 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4498
4499         * bufferview_funcs.C (currentState): output paragraph position
4500
4501 2003-09-04  Angus Leeming  <leeming@lyx.org>
4502
4503         * FloatList.h: move out #include "Floating.h".
4504         * LaTeX.h: move out #include "DepTable.h".
4505         * LyXAction.h: move out #include "funcrequest.h".
4506         * buffer.h: move out #include "author.h", "iterators.h".
4507         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4508         * lyx_main.h: move out #include "errorlist.h".
4509         * lyxfunc.h: move out #include "FuncStatus.h".
4510         * lyxtext: move out #include "lyxcursor.h".
4511         * paragraph_pimpl.h: move out #include "counters.h".
4512
4513 2003-09-03  Angus Leeming  <leeming@lyx.org>
4514
4515         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4516         preamble_snippets list, enabling us to add snippets to the preamble
4517         only if the snippet was not there already.
4518
4519 2003-09-04  Angus Leeming  <leeming@lyx.org>
4520
4521         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4522
4523 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4526         update
4527
4528 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4529
4530         * BranchList.C: point fix, earlier forgotten
4531
4532 2003-09-02  Angus Leeming  <leeming@lyx.org>
4533
4534         * box.C (contains): renamed from 'contained' after a fantastic
4535         amount of hot air.
4536
4537 2003-09-02  John Levon  <levon@movementarian.org>
4538
4539         * BufferView.C:
4540         * lyxcursor.h:
4541         * lyxcursor.C:
4542         * lyxfunc.C:
4543         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4544
4545 2003-09-02  John Levon  <levon@movementarian.org>
4546
4547         * text2.C: simplification of cursorEnd(), including partial
4548         fix for bug 1376
4549
4550 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * buffer.C (readFile): add a space
4553
4554 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4555
4556         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4557
4558 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4559
4560         * buffer.C (readFile): new function, take a filename and a
4561         ParagraphList::iterator
4562         (readFile): adjust
4563         (readFile): adjust, make it private. don't use setStream, make
4564         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4565         always contain the filename.
4566
4567         * BufferView.C (insertLyXFile): simplify and make it work for
4568         gzipped files.
4569
4570 2003-08-30  John Levon  <levon@movementarian.org>
4571
4572         * Makefile.am: fix dist (from Kayvan)
4573
4574 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4575
4576         * most files: change to use const Buffer refs
4577
4578 2003-08-27  André Pönitz  <poenitz@gmx.net>
4579
4580         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4581         on top of ownerPar().
4582
4583 2003-08-27  John Levon  <levon@movementarian.org>
4584
4585         * funcrequest.C: properly initialise POD members
4586
4587 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * lyxtext.h (top_y): move top_y from here
4590         * text.C:
4591         * text2.C:
4592         * text3.C:
4593         * BufferView.[Ch]:
4594         * BufferView_pimpl.[Ch]: to here
4595         * frontends/screen.C:
4596         * insets/insettabular.C:
4597         * insets/insettext.C: adjust
4598         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4599
4600 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4601
4602         * BufferView.[Ch]:
4603         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4604
4605 2003-08-26  André Pönitz  <poenitz@gmx.net>
4606
4607         * paragraph_func.[Ch] (outerPar): new function
4608
4609         * paragraph.C:
4610         * paragraph_funcs.C:
4611         * paragraph_funcs.h:
4612         * paragraph_pimpl.C:
4613         * text2.C: remove Inset::par_owner
4614
4615 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4616
4617         * lyxrow_funcs.C:
4618         * lyxtext.h:
4619         * text.C:
4620         * text2.C: eliminates the needFullRow/display() stuff
4621         altogether, putting the logic in metrics/draw in the insets.
4622
4623 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4624
4625         * text2.C (redoParagraphInternal, redoParagraphs):
4626         * text.C (redoParagraph): add a call to updateRowPositions at the
4627         end of each 'metrics-like' call. Remove all others.
4628         (getRow): remove the 'y-computing' version.
4629         (getRowNearY): do not compute nor return the real y. Solve the
4630         'y < 0' problem and simplify.
4631
4632 2003-08-22  Angus Leeming  <leeming@lyx.org>
4633
4634         * *.[Ch]: clean-up of licence and author blurbs.
4635         Also move config.h out of a few .h files and into a few .C files.
4636
4637 2003-08-22  André Pönitz  <poenitz@gmx.net>
4638
4639         * lyxrow.[Ch]: add x_ and *fill_ members
4640
4641         * lyxtext.h:
4642         * text.C:
4643         * rowpainter.C:
4644         * text2.C: adjust/remove prepareToPrint() calls
4645
4646 2003-08-22  André Pönitz  <poenitz@gmx.net>
4647
4648         * lyxrow.[Ch]: add  end_ member
4649
4650         * lyxrow_funcs.C: use LyXRow::end_
4651
4652         * lyxtext.h (singleWidth): add LyXFont parameter
4653
4654         * rowpainter.C:
4655         * text2.C: adjust LyXText::singleWidth() calls
4656
4657         * text.C (redoParagraph): simplify row breaking logic
4658
4659
4660 2003-08-19  André Pönitz  <poenitz@gmx.net>
4661
4662         * funcrequest.C: initialize button_ member
4663
4664         * text3.C:
4665         * rowpainter.[Ch]: interface consolidation
4666
4667 2003-08-18  André Pönitz  <poenitz@gmx.net>
4668
4669         * BufferView.C:
4670         * BufferView_pimpl.C:
4671         * lyxfind.C:
4672         * paragraph_funcs.C:
4673         * rowpainter.C:
4674         * text3.C: remove LyXScreen::draw() and fitCursor calls
4675
4676         * BranchList.h: remove spurious semicolons
4677
4678         * MenuBackend.C: fix branchlist related crash
4679
4680 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4681
4682         * BranchList.[Ch]:
4683         * InsetList.[Ch]:
4684         * LColor.[Ch]:
4685         * LyXAction.C:
4686         * Makefile.am:
4687         * MenuBackend.[Ch]:
4688         * bufferparams.[Ch]:
4689         * factory.C:
4690         * lfuns.h:
4691         * lyxfunc.C:
4692         * text3.C: implements the 'branch inset'
4693         idea. This allows the output of various versions of a document
4694         from a single source version, selectively outputing or suppressing
4695         output of parts of the text.
4696         This implementation contains a 'branch list editor' in a separate
4697         tab of the document settings dialog. Branches are user definable
4698         and have a "display colour" to distinguish them on-screen.
4699
4700         ColorHandler was somewhat cleaned up.
4701         (1) make possible a dynamically growing LColor list by allowing
4702         the graphic context cache to grow along (vector);
4703         (2) eliminate an IMHO unnecessary step in colour allocation.
4704
4705 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4706
4707         * BufferView_pimpl.C: compile fix
4708
4709 2003-08-15  André Pönitz  <poenitz@gmx.net>
4710
4711         * rowpainter.C: remove extra metrics calls
4712
4713         * lyxtext.h: merge the two constructors into a single one,
4714           pass reference to owner's par list
4715
4716         * BufferView_pimpl.C:
4717         * text.C:
4718         * text2.C: adjust
4719
4720 2003-08-15  André Pönitz  <poenitz@gmx.net>
4721
4722         * lyxrow_funcs.[Ch]:
4723         * lyxtext.h:
4724         * paragraph.h:
4725         * paragraph_funcs.C:
4726         * rowpainter.C:
4727         * text.C:
4728         * text2.C:
4729         * text3.C:
4730         * text_funcs.C: split LyXText::rowlist_ into individual
4731         Paragraph::rows_ chunks
4732
4733         * BufferView.[Ch]:
4734         * BufferView_pimpl.[Ch]:
4735         * lyxfind.C:
4736         * lyxtext.h:
4737         * text3.C: remove toggleSelection()
4738
4739 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4740
4741         * bufferlist.C: beautify two alerts (shorter text of buttons)
4742         * buffer.C: Remove redundant ' ' from message
4743         * tabular.h:
4744         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4745         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4746         rename VALIGN_CENTER to VALIGN_MIDDLE
4747
4748 2003-08-11  André Pönitz  <poenitz@gmx.net>
4749
4750         * lyxtext.h (getPar):
4751         * text.C: new function
4752
4753 2003-08-11  André Pönitz  <poenitz@gmx.net>
4754
4755         * Makefile.am:
4756         * tracer.[Ch]: remove unneeded files
4757
4758         * InsetList.[Ch]: remove resizeInsetsLyXText()
4759
4760         * lyxtext.h:
4761         * text.C:
4762         * text2.C:
4763         * text3.C: merge insertParagraphs() and appendParagraph()
4764         remove breakAgain(), update()
4765
4766         * BufferView_pimpl.[Ch]:
4767         * bufferview_funcs.[Ch]:
4768         * lyxfunc.C:
4769         * paragraph.[Ch]:
4770         * rowpainter.C:
4771         * tabular.C: adjust after text & InsetList changes.
4772
4773 2003-08-08  André Pönitz  <poenitz@gmx.net>
4774
4775         * text.C (insertChar, backspace): replace rowlist fiddling
4776         with rebreak of full par
4777
4778         * lyxtext.h:
4779         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4780         checkParagraph, updateInset): removed
4781
4782 2003-08-07  André Pönitz  <poenitz@gmx.net>
4783
4784         * paragraph.C:
4785         * text3.C: merge some LFUN handlers, remove dead code
4786
4787 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4788
4789         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4790
4791 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4792
4793         * text2.C (DEPM): fix part of bug 1255 and 1256
4794
4795 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4796
4797         * BufferView_pimpl.C (workAreaDispatch): change to use
4798         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4799         that are no mouse related.
4800
4801 2003-08-05  André Pönitz  <poenitz@gmx.net>
4802
4803         * BufferView.[Ch]:
4804         * BufferView_pimpl.[Ch]:
4805         * bufferview_funcs.C:
4806         * text2.C:
4807         * text3.C: rip out "deep update"
4808
4809         * textcursor.[Ch] (last_sel_cursor): remove unused member
4810
4811 2003-08-04  André Pönitz  <poenitz@gmx.net>
4812
4813         * BufferView.[Ch]:
4814         * BufferView_pimpl.[Ch]:
4815         * ParagraphParameters.C:
4816         * bufferview_funcs.C:
4817         * lyx_cb.C:
4818         * lyxfind.C:
4819         * lyxfunc.C:
4820         * text.C:
4821         * text2.C:
4822         * text3.C: replace "complicated" BufferView::update(...) calls with
4823         simpler ones.
4824
4825         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4826
4827 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4828
4829         * Makefile.am (lyx_SOURCES): add paper.h
4830
4831 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4832
4833         * Makefile.am: move things around so that both lyx-qt and
4834         lyx-xforms can be built (according to --with-frontend). Then lyx
4835         is a symbolic link to lyx-[firstfrontend]
4836
4837 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4838
4839         * Always use std::endl with lyxerr
4840
4841 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4842
4843         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4844
4845 2003-08-01  André Pönitz  <poenitz@gmx.net>
4846
4847         * BufferView.[Ch]:
4848         * BufferView_pimpl.[Ch]:
4849         * lyxfunc.C:
4850         * text3.C: merge BufferView::repaint() and BufferView::update()
4851
4852 2003-08-01  José Matos  <jamatos@lyx.org>
4853
4854         * buffer.[Ch]: file_format is no longer a buffer data element.
4855
4856 2003-08-01  André Pönitz  <poenitz@gmx.net>
4857
4858         * BufferView.C:
4859         * lyxtext.h:
4860         * text.C:
4861         * text2.C: make redoParagraph more independent of current cursor
4862
4863         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4864         * text.C:
4865         * text2.C: remove unneeded members
4866
4867 2003-07-30  André Pönitz  <poenitz@gmx.net>
4868
4869         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4870
4871         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4872           create a single function...
4873
4874         * paragraph_funcs.C (moveItem): ... here.
4875
4876         * text.C:
4877           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4878
4879 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4880
4881         * LColor.[Ch]: Add comment and greyedout logical colors.
4882
4883 2003-07-30  André Pönitz  <poenitz@gmx.net>
4884
4885         * tabular.C: don't use Assert too heavily. This crashes where it
4886           shouldn't
4887
4888 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4889
4890         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4891         is disabled (bug 1232)
4892
4893 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4894
4895         * factory.C: limited 'arg' scope
4896
4897 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4898
4899         * factory.C: fixed Note submenu issues
4900
4901 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4902
4903         * factory.C: submenu for Note/Comment/Greyedout
4904
4905 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * lyx_main.C (LyX):
4908         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4909
4910 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4911
4912         * LaTeXFeatures.C:
4913         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4914         greyedout. Patch provided by Jürgen Spitzmüller.
4915
4916 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4917
4918         * kbmap.C (read): fix error message when reading bind files
4919
4920 2003-07-29  Angus Leeming  <leeming@lyx.org>
4921
4922         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4923         certainly does not do what it purports to do. I am doing it, and
4924         us, a favour by killing it.
4925
4926 2003-07-28  José Matos  <jamatos@lyx.org>
4927
4928         * buffer.C (readBody, do_writeFile):
4929         * paragraph.C(readParagraph): \end_document replaces \the_end.
4930
4931 2003-07-29  André Pönitz  <poenitz@gmx.net>
4932
4933         * BufferView.[Ch]:
4934         * BufferView_pimpl.[Ch]:
4935         * lyxfunc.C:
4936         * text2.C:
4937         * text3.C:
4938         * textcursor.[Ch]: remove toggleToggle & Co
4939
4940 2003-07-28  José Matos  <jamatos@fep.up.pt>
4941
4942         * buffer.C (readParagraph):
4943         * params_func (readParToken, readParagraph):
4944         * paragraph.C (write): \layout -> \begin_layout.
4945
4946 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4947
4948         * lyxlex_pimpl.C (setFile): clean up slightly.
4949
4950         * bufferparams.h: add compressed var
4951
4952         * buffer_funcs.C (readFile): adjust for LyXLex change
4953         (newFile): ditto + simplify
4954
4955         * buffer.C (writeFile): handle writing of compressed files
4956
4957         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4958         Check if the file is compressed and set a bufferparm if so.
4959
4960         * Makefile.am (lyx_LDADD): remove explicit -lz
4961
4962 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4963
4964         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4965         makeDocBookFile): put the real LyX version in the first line of
4966         the file
4967
4968         * version.h:
4969         * version.C.in: remove lyx_docversion
4970
4971         * tabular.C (write_attribute): add a template-based version to
4972         write enums properly
4973
4974 2003-07-28  André Pönitz  <poenitz@gmx.net>
4975
4976         * lyxtext.h:
4977         * text.C:
4978         * text2.C:
4979         * text3.C: use doubles again for x-coordinates. They are needed.
4980
4981 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4982
4983         * messages.C (getLocaleDir): use lyx_localedir()
4984
4985         * lyxlex_pimpl.C (setFile): compress stuff
4986
4987         * buffer.C (writeFile): add some compression stuff
4988         (do_writeFile): new func, dont call expliti close... will this
4989         breake anything?
4990
4991         * Makefile.am (lyx_LDADD): add -lz
4992
4993 2003-07-28  José Matos  <jamatos@fep.up.pt>
4994
4995         * buffer.C: increment file format.
4996         * paragraph_funcs (readParagraph, readParToken):
4997         * paragraph.C (readParagraph): add \end_layout.
4998
4999 2003-07-27  Angus Leeming  <leeming@lyx.org>
5000
5001         * Makefile.am: remove special casing for configure-time setting of
5002         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5003
5004         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5005         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5006
5007 2003-07-26  André Pönitz  <poenitz@gmx.net>
5008
5009         * paragraph_func.[Ch]:
5010         * paragraph.C (realizeFont): inline it whereever it is used
5011
5012         * rowpainter.C:
5013         * text.C:
5014         * text2.C:
5015         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5016
5017
5018 2003-07-26  André Pönitz  <poenitz@gmx.net>
5019
5020         *       lyxtext.h:
5021         * text.C:
5022         * text2.C: get rid of LyXText::need_break_row
5023
5024 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * toc.[Ch]: put namespace toc inside namespace lyx
5027
5028         * MenuBackend.C (expandToc2): adjust for lyx::toc
5029         (expandToc): ditto
5030
5031         * lyxfunc.C (dispatch): adjust for lyx::find
5032
5033         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5034         lyx::find instead. Reorganize a bit.
5035         (LyXReplace): rename to replace
5036         (LyXFind): rename to find
5037
5038         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5039         (dispatch): ditto
5040
5041 2003-07-26  André Pönitz  <poenitz@gmx.net>
5042
5043         * text.C (setHeightOfRow): restrict scope of temporary variable
5044
5045         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5046           code (never has been used?)
5047
5048 2003-07-27  Asger Alstrup  <alstrup@local>
5049
5050         * text.C (fill): Optimise algorithm to exploit that we can reuse
5051         the LyXFont for many characters.
5052         (setHeightOfRow): Same thing.
5053         (rowBreakPoint): Same thing.
5054
5055 2003-07-26  Asger Alstrup  <alstrup@local>
5056
5057         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5058
5059         * text.C (singleWidth): Spurious font copying in hot-spot
5060         singleWidth avoided. Reorder tests for arabic for efficiency.
5061
5062         * text.C (fill): handle empty paragraphs better.
5063
5064 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5065
5066         * ispell.C:
5067         * encoding.h: add includes
5068
5069         * lyxrc.C: remove reading of bind files
5070
5071         * lyx_main.C (init): setup bindings and menus only if we have a
5072         gui.
5073
5074         * kbmap.C (read): new method. Do the actual reading of bind
5075         files.
5076
5077         * converter.C (dvipdfm_options):
5078         * bufferparams.C:
5079         * lyxrc.C (read):
5080         (output): adapt PAPER_* enums.
5081
5082         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5083
5084         * bufferparams.h: remove paper-related enums from there
5085
5086         * paper.h: New file. A trivial header file to hold paper-related
5087         enums. It should later expand to contain many paper-related
5088         horrors access.
5089
5090         * lyxrc.C: declare extern displayTranslator
5091
5092 2003-07-27  José Matos  <jamatos@fep.up.pt>
5093
5094         * tabular.[Ch] (linuxdoc): add support for tables and figures
5095         (linuxdoc).
5096
5097 2003-07-27  José Matos  <jamatos@fep.up.pt>
5098
5099         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5100         consistency in both functions.
5101         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5102
5103 2003-07-26  Asger Alstrup  <alstrup@local>
5104
5105         * rowpainter.C (paintRows): Change algorithm to work directly on
5106         the insets rather than asking every character in the document
5107         whether its an inset.
5108
5109 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5110
5111         * buffer.C (openFileWrite): factorize some code
5112
5113 2003-07-26  Angus Leeming  <leeming@lyx.org>
5114
5115         * lyx_cb.C:
5116         * lyx_main.[Ch]: replace occurances of system_tempdir with
5117         os::getTmpDir().
5118
5119 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5120
5121         * rename Inset to InsetOld
5122
5123 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5124
5125         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5126         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5127         which I think is a bit clearer. EDIT is gone, since it was
5128         premature optimisation, and broken for mathed anyway.
5129         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5130         with cursor positioning in insets as well (math insets still do not
5131         work, but that's a different story anyway.) It mysteriously
5132         crashes sometimes with undo in the first paragraph, but I'm fairly
5133         confident that this is a compiler bug.
5134
5135 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * paragraph.C (Paragraph): adjust for new clone return type
5138         (operator==): ditto
5139         (copyIntoMinibuffer): ditto
5140
5141 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5142
5143         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5144         by not having a special case, and always doing a full rebreak of
5145         the document after undo.
5146
5147 2003-07-23  Angus Leeming  <leeming@lyx.org>
5148
5149         * factory.C (createInset): InsetExternal::setParams now takes a
5150         Buffer const * arg.
5151
5152 2003-07-23  Angus Leeming  <leeming@lyx.org>
5153
5154         * factory.C (createInset): changed interface to the external and
5155         graphics mailers' string2params functions.
5156
5157 2003-07-23  Angus Leeming  <leeming@lyx.org>
5158
5159         * factory.C (createInset): pass a
5160         Buffer const * parameter to InsetExternalMailer's string2params.
5161
5162 2003-07-22  John Levon  <levon@movementarian.org>
5163
5164         * Thesaurus.h: include the right aiksaurus header
5165
5166 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5167
5168         * MenuBackend.C (expand): check menu shortcuts unconditionally
5169
5170 2003-07-21  Angus Leeming  <leeming@lyx.org>
5171
5172         * factory.C (createInset): pass a
5173         buffer_path parameter to InsetGraphicsMailer's string2params.
5174
5175 2003-07-21  Angus Leeming  <leeming@lyx.org>
5176
5177         * BufferView_pimpl.C (buffer):
5178         * buffer.C (d-tor):
5179         * lyx_main.C (LyX):
5180         * lyxfunc.C (dispatch):
5181         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5182         rather than the grfx shortcut.
5183
5184 2003-07-21  André Pönitz  <poenitz@gmx.net>
5185
5186         * rowpainter.C: remove unused variables
5187
5188         * tabular_funcs.C:
5189         * tabular_funcs.h: move to tabular.C
5190         * Makefile.am: adjust
5191
5192         * tabular.[Ch]: basic optical cleaning
5193
5194         * author.h: pass references, not values
5195
5196 2003-07-18  André Pönitz  <poenitz@gmx.net>
5197
5198         * lyxtext.h:
5199         * metricsinfo.C:
5200         * metricsinfo.h:
5201         * rowpainter.C:
5202         * text.C:
5203         * text2.C:
5204         * text3.C: two-phase drawing for InsetText and InsetTabular
5205         some float -> int changes.
5206
5207 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * lyx_main.C: fix the fix
5210
5211 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5212
5213         * lyx_main.C: fix a crash in batch mode if no files specified
5214         * converter.C: ws
5215
5216 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5217
5218         * format.[Ch] (papersize): moved to BufferParams
5219         * converter.[Ch] (dvips_options): moved to BufferParams
5220         (dvipdfm_options): moved to anon namespace
5221         * bufferparams.[Ch]: added above functions.
5222
5223 2003-07-17  André Pönitz  <poenitz@gmx.net>
5224
5225         * lyxtext.h:
5226         * rowpainter.C:
5227         * text2.C: don't call inset->update() anymore
5228
5229         * metricsinfo.[Ch]: add convenience constructor
5230
5231 2003-07-16  André Pönitz  <poenitz@gmx.net>
5232
5233         * lyxcursor.[Ch]:
5234         * lyxfunc.[Ch]:
5235         * text.C:
5236         * text2.C: replace the LyXCursor::irow_ member with
5237          on-demand computation of the value
5238
5239 2003-07-16  John Levon  <levon@movementarian.org>
5240
5241         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5242
5243 2003-07-15  André Pönitz  <poenitz@gmx.net>
5244
5245         * text.C:
5246         * text2.C: remove no more needed refresh_row
5247
5248 2003-07-15  André Pönitz  <poenitz@gmx.net>
5249
5250         * lyxtext.h:
5251         * rowpainter.C:
5252         * text2.C:
5253         * text3.C: refresh_status tristate -> need_update bool
5254
5255 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * lyxtext.h (init): remove reinit argument (act as if always true)
5258         * text2.C: adjust to that
5259
5260 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5261
5262         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5263         * text3.C: use it to delete selections in some cases
5264         (bugs 441, 673, 702, 954).
5265
5266 2003-07-14  André Pönitz  <poenitz@gmx.net>
5267
5268         * rowpainter.[Ch]: reduce interface
5269
5270 2003-07-14  André Pönitz  <poenitz@gmx.net>
5271
5272         * BufferView_pimpl.C:
5273         * text2.C: adjust after removing unused BufferView * argument
5274
5275 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5276
5277         * text2.C (init): fix a crash fired on resize
5278
5279 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5280
5281         * buffer.[Ch]: added new closing signal
5282         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5283         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5284         BufferView::Pimpl via the closing the signal
5285
5286 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5287
5288         * buffer.[Ch]: take out all bv-related from buffer
5289         * BufferView.C:
5290         * BufferView_pimpl.[Ch]: connect to new signals
5291         * CutAndPaste.C: removed useless asserts
5292         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5293         * lyxvc.[Ch]:
5294         * vc-backend.[Ch]:
5295         * lyxfunc.C: moved view-related funciontality from vc here
5296         * paragraph.C: removed outdated comments
5297         * text.C: ws
5298
5299 2003-07-10  André Pönitz  <poenitz@gmx.net>
5300
5301         * BufferView_pimpl.C:
5302         * tabular.h:
5303         * tabular_funcs.C:
5304         * text.C:
5305         * text2.C: remove InsetText::InnerCache, clean up consequences
5306
5307 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5308
5309         * ispell.C: fix two typos in error messages
5310
5311 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5312
5313         * Extend Note inset to other forms of annotation like Comment
5314         and Greyedout. Right button click gives dialog.
5315
5316         Files modified or added (+):
5317
5318         * insetnote.[Ch]
5319         * FormNote.[Ch]      +
5320         * ControlNote.[Ch]   +
5321         * form_note.fd       +
5322         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5323         frontends/controllers
5324         * xforms/Dialogs.C
5325         * factory.C
5326
5327 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5328
5329         * aspell.C: add missing namespace lyx::support
5330
5331 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5332
5333         * BufferView.[Ch] (newFile): Add
5334         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5335         * LaTeX.[Ch] (message): added this signal and use it
5336         * buffer.[Ch] (busy, message): added these signals and use them
5337         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5338         * converter.C:
5339         * exporter.C:
5340         * format.C:
5341         * importer.C: use buffer signals instead of direct bv calling
5342         * lyx_cb.[Ch] (ShowMessage): removed
5343         * lyx_main.C:
5344         * lyxfunc.C:
5345         * paragraph_funcs.C:
5346         * text2.C: use buffer signals
5347
5348 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * introduce namespace lyx::graphics
5351
5352 2003-07-02  André Pönitz  <poenitz@gmx.net>
5353
5354         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5355
5356 2003-07-01  André Pönitz  <poenitz@gmx.net>
5357
5358         * text.C:
5359         * text2.C:
5360         * text3.C:
5361         * text_funcs.[Ch]:
5362         * textcursor.h:
5363         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5364           text*.C to text_func.C
5365
5366 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * introduce namespace lyx::support
5369
5370 2003-06-30  André Pönitz  <poenitz@gmx.net>
5371
5372         * Chktex.C:
5373         * funcrequest.C:
5374         * lyxtext.h:
5375         * text.C: re-enable --with-included-string
5376
5377 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * textcursor.C: add <config.h>
5380
5381         * text.C (getWord): remove const from word_location arg
5382
5383         * lyxvc.C (getLogFile): fix const type order
5384
5385         * lyxtext.h: remove const from word_location arg, add arg name
5386
5387         * lyxlayout.h: currect type on labeltype.
5388
5389         * importer.C: correct \file
5390
5391         * converter.C (intToFormat): use std:: on ret val, ws changes
5392
5393         * bufferlist.h: correct \file
5394
5395         * buffer.C (makeLinuxDocFile): fix const type order
5396         (makeDocBookFile): ditto
5397         (fillWithBibKeys): use std:: on stdlib args.
5398
5399         * CutAndPaste.C: fix authors.
5400         (availableSelections): use std:: on return vector
5401
5402 2003-06-27  André Pönitz  <poenitz@gmx.net>
5403
5404         * BufferView_pimpl.C:
5405         * bufferview_funcs.C:
5406         * lyxcursor.C:
5407         * lyxcursor.h:
5408         * lyxfunc.C:
5409         * lyxtext.h:
5410         * rowpainter.C:
5411         * text.C:
5412         * text2.C:
5413         * text3.C: remove LyXCursor::row_ member
5414
5415         * lyxtext.h:
5416         * text.C: rename fullRebreak() to partialRebreak() and implement
5417           a fullRebreak() that really bereks fully
5418
5419         * textcursor.h: new struct for cursor-related data
5420
5421 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5422
5423         * lyx_main.C (LyX): get full path of document loaded on the
5424         command line
5425
5426 2003-06-26  André Pönitz  <poenitz@gmx.net>
5427
5428         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5429           remove unused/broken operator>,<,>=.
5430
5431         *       text.C: remove only use of broken operator<= in an Assert().
5432
5433 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5434
5435         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5436         moved errorlist_.clear to showErrorList
5437
5438 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5439
5440         * converter.C (scanLog, runLaTeX):
5441         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5442         move the bv->showErrorList call to the callers
5443         * lyxfunc.C: i.e. here...
5444         * text2.C: and here
5445         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5446         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5447         namespace, the second to...
5448         * buffer_funcs (BufferFormat, parseErrors): added
5449         * errorlist.C (ErrorList(TeXErrors const &)): removed
5450
5451 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5452
5453         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5454
5455 2003-06-24  "Garst R. Reese" <reese@isn.net>
5456
5457         * debug.C: fix typo
5458
5459 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5460
5461         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5462
5463         * version.C.in: change docversion to 1.4
5464
5465 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5466
5467         * buffer.C: fix a bug just introduced
5468
5469 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5470
5471         * buffer.[Ch]: added the parseError signal and use it, removed
5472         sgmlError
5473         * BufferView.[Ch] (addError): moved to ...
5474         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5475         to the Buffer::parseError signal to catch (guess what) parse errors
5476         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5477
5478 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5479
5480         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5481         ability to create a buffer and to return an existing one from
5482         the list. Moved these functions to...
5483         * buffer_funcs.[Ch]: added
5484         * BufferView.[Ch] (loadLyXFile): added
5485         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5486         job removed from bufferlist::loadLyXFile.
5487         * buffer.C (setReadOnly): make it work without view
5488         (i.e added an if (users))
5489
5490 2003-06-19  Angus Leeming  <leeming@lyx.org>
5491
5492         * lfuns.h:
5493         * LyXAction.C (init):
5494         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5495         with LFUN_DIALOG_SHOW <name> <data>.
5496
5497 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5498
5499         * CutAndPaste.C (availableSelections): small compilation fix for
5500         ancient (gcc 2.9x) compilers
5501
5502 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5503
5504         * text3.C (cursorNext): add tmp var
5505
5506         * text2.C (updateCounters): for function calling out of for clause
5507         (replaceSelectionWithString): ditto
5508         (insertStringAsParagraphs): ditto
5509         (getColumnNearX): add tmp var
5510         (setCursorFromCoordinates): add tmp var
5511         (cursorDownParagraph): add tmp var
5512         (deleteEmptyParagraphMechanism): add tmp var
5513
5514         * text.C (insertChar): add tmp var
5515
5516         * rowpainter.C (paintDepthBar): add tmp var
5517
5518         * CutAndPaste.C (availableSelections): potentially check all
5519         paragraphs in a cut to fill the shown strings.
5520
5521 2003-06-18  André Pönitz  <poenitz@gmx.net>
5522
5523         * kbmap.[Ch]: use vector<> instead of list<>
5524
5525 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5526
5527         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5528         pasteSelection with index
5529
5530         * text2.C (pasteSelection): modify, call pasteSelection with index
5531
5532         * paragraph.C (asString): reimplement version with no interval to
5533         call the one with interval.
5534
5535         * lyxtext.h: add index arg to pasteSelection
5536
5537         * MenuBackend.C (MenuItem): handle PasteRecent
5538         (Menu::read::Menutags): add md_pasterecent
5539         (read): handle it
5540         (expandPasteRecent): new function
5541         (expand): use it
5542
5543         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5544
5545         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5546         the limited stack
5547         (availableSelections): new function
5548
5549 2003-06-17  Angus Leeming  <leeming@lyx.org>
5550
5551         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5552
5553 2003-06-17  Angus Leeming  <leeming@lyx.org>
5554
5555         * lfuns.h:
5556         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5557
5558         * lyxfunc.C (dispatch): invoke it.
5559
5560 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5561
5562         * iterators.C (operator++, ParPosition): reintroduce some
5563         const_cast for the benefit of older compilers.
5564
5565 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5566
5567         * text3.C (dispatch): do not modify clipboard when doing
5568         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5569         LFUN_DELETE_SKIP on a selection selection
5570
5571 2003-06-16  André Pönitz  <poenitz@gmx.net>
5572
5573         * BufferView.C:
5574         * buffer.C:
5575         * buffer.h:
5576         * paragraph.C:
5577         * tabular.[Ch]: IU of clone() and getLabelList();
5578
5579 2003-06-13  André Pönitz  <poenitz@gmx.net>
5580
5581         * tabular.h: compactification
5582
5583 2003-06-12  André Pönitz  <poenitz@gmx.net>
5584
5585         * tabular.C:
5586         * tabular.h:
5587         * tabular_funcs.h: some renaming plus whitespace
5588
5589 2003-06-12  André Pönitz  <poenitz@gmx.net>
5590
5591         * BufferView.C:
5592         * BufferView_pimpl.C:
5593         * CutAndPaste.C:
5594         * buffer.C:
5595         * iterators.[Ch]:
5596         * lyxfunc.C:
5597         * text.C:
5598         * toc.C: Return a Paragraph & for ParIterator::operator*()
5599
5600 2003-06-11  John Levon  <levon@movementarian.org>
5601
5602         * lyx_main.C:
5603         * ToolbarBackend.h:
5604         * ToolbarBackend.C: add "Toolbars" section and
5605         put the flags there
5606
5607 2003-06-10  Angus Leeming  <leeming@lyx.org>
5608
5609         * lfuns.h:
5610         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5611
5612         * lyxfunc.C (dispatch): invoke it.
5613
5614 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * main.C: protect <ios> with HAVE_IOS
5617         (main): protect sync_with_stdio with HAVE_IOS
5618
5619 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5620
5621         * text2.C (cutSelection): adjust
5622         (pasteSelection): adjust
5623
5624         * messages.C: handle get of empty string
5625
5626         * main.C (main): use sync_with_stdio(false)
5627
5628         * lyxfunc.C (dispatch): adjust
5629
5630         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5631         (WriteAs): remove unneeded BufferView arg.
5632
5633         * bufferparams.h: use correct types on papersize, papersize2 and
5634         paperpackage.
5635
5636         * bufferparams.C (readToken): adjust for type
5637         (writeLaTeX): add missing cases to switch.
5638
5639         * bufferlist.C (quitWriteBuffer): adjust
5640         (close): adjust
5641
5642         * buffer.C (asciiParagraph): remove some commented code.
5643
5644         * CutAndPaste.C: remove current_view extern variable.
5645         (cutSelection): add BufferParams arg.
5646         (eraseSelection): add BufferParams arg.
5647         (pasteSelection): add Buffer const & arg
5648
5649 2003-06-07  John Levon  <levon@movementarian.org>
5650
5651         * buffer.C:
5652         * paragraph_funcs.C:
5653         * paragraph_pimpl.C:
5654         * text.C:
5655         * text2.C:
5656         * paragraph.h:
5657         * paragraph.C: allow InsetERT to freely space lines,
5658         and some consolidation of code
5659
5660 2003-06-06  José Matos  <jamatos@fep.up.pt>
5661
5662         * buffer.C (makeDocBookFile): fix bug #821
5663
5664 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5665
5666         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5667
5668 2003-06-04  Angus Leeming  <leeming@lyx.org>
5669
5670         * buffer.C: bump format to 224.
5671
5672 2003-06-05  André Pönitz  <poenitz@gmx.net>
5673
5674         * text2.C (redoParagraphs): remove two const_cast<>
5675
5676 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5677
5678         * ParagraphList.h: remove last remnants of NO_STD_LIST
5679
5680 2003-06-03  Angus Leeming  <leeming@lyx.org>
5681
5682         * factory.C (createInset): small change to the way InsetExternal's params
5683         are set.
5684
5685 2003-06-04  André Pönitz  <poenitz@gmx.net>
5686
5687         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5688
5689         * paragraph_pimpl.h:
5690         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5691
5692         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5693
5694         * undo_funcs.C: make some simple cases of undo work again
5695
5696 2003-06-03  John Levon  <levon@movementarian.org>
5697
5698         * ispell.C: HPUX doesn't have sys/select.h
5699         (from Albert Chin)
5700
5701 2003-06-03  John Levon  <levon@movementarian.org>
5702
5703         * CutAndPaste.C: update tabular and include inset
5704         buffer references
5705
5706         * buffer.h:
5707         * paragraph.h:
5708         * paragraph.C: remove owningBuffer(), don't pass Buffer
5709         to clone()
5710
5711         * factory.C: insetGraphicsParams changed
5712
5713 2003-06-02  John Levon  <levon@movementarian.org>
5714
5715         * LyXAction.C:
5716         * factory.C:
5717         * lfuns.h:
5718         * lyxfunc.C:
5719         * text3.C: remove insetparent
5720
5721 2003-06-02  John Levon  <levon@movementarian.org>
5722
5723         * buffer.h:
5724         * buffer.C: fix inset_iterator.end(), move out of line
5725         (bug 1149)
5726
5727 2003-06-01  John Levon  <levon@movementarian.org>
5728
5729         * text3.C: use a proper cut/paste when doing inset
5730         insert (from Jürgen Spitzmüller)
5731
5732 2003-06-01  John Levon  <levon@movementarian.org>
5733
5734         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5735
5736 2003-05-30  André Pönitz  <poenitz@gmx.net>
5737
5738         * rowpainter.C: unify second drawing phase
5739
5740 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5741
5742         * trans_mgr.C: remove one case of current_view
5743
5744         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5745
5746         * paragraph_funcs.h: remove paragraph.h include
5747
5748         * paragraph.h: delete NO_STD_LIST stuff
5749
5750         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5751
5752         * buffer.h: remove paragraph.h include
5753
5754         * ParagraphList.C: delete file
5755
5756         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5757
5758         * toc.C (getTocList): adjust
5759
5760         * paragraph_pimpl.C (validate): adjust
5761
5762         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5763
5764         * paragraph.C (Paragraph): adjust
5765         (getPositionOfInset): use const_iterator, adjust
5766         (bibitem): use const_iterator, adjust
5767         (setInsetOwner): adjust
5768
5769         * iterators.C (operator++): adjust
5770
5771         * InsetList.[Ch]: Replace selfmade iterator with standard
5772         vector::iterator also introduce const_iterator. Remove getPos,
5773         getInset and setInset from InsetTable. Adjust accordingly.
5774
5775         * BufferView.C (lockInset): adjust
5776         (ChangeInsets): adjust
5777
5778         * tabular.[Ch]: delete commented same_id functions
5779
5780 2003-05-28  John Levon  <levon@movementarian.org>
5781
5782         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5783
5784 2003-05-28  André Pönitz  <poenitz@gmx.net>
5785
5786         * metricsinfo.[Ch]: remove 'fullredraw' member
5787
5788 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5789
5790         * lyxtextclass.C (operator): remove caching.
5791
5792 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * text3.C: adjust
5795
5796         * text2.C (cursorBottom): adjust
5797         (setCounter): use ParagraphList::find, adjust
5798
5799         * text.C (workWidth): use ParagraphList::find, adjust
5800
5801         * lyxcursor.C (LyXCursor): adjust
5802
5803         * buffer.C (inset_iterator): adjust
5804
5805         * ParagraphList.h: make iterator(value_type) private, make
5806         ParagraphList a friend of iterator.
5807
5808         * ParagraphList.C (find): new function
5809
5810         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5811
5812 2003-05-27  André Pönitz  <poenitz@gmx.net>
5813
5814         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5815
5816 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5817
5818         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5819
5820 2003-05-26  John Levon  <levon@movementarian.org>
5821
5822         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5823
5824 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5825
5826         * remove same_id from function signatures, adjust.
5827
5828 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5831
5832         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5833
5834         * paragraph.C (Paragraph): get rid of same_ids parameter
5835
5836         * ParagraphList.C (insert): adjust
5837         (push_back): adjust
5838
5839 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5840
5841         * paragraph_funcs.C (breakParagraph): adjust
5842         (breakParagraphConservative): adjust
5843
5844         * buffer.C (readParagraph): adjust
5845
5846         * ParagraphList.C (insert): take a reference instead of a pointer
5847         (insert): adjust
5848
5849         * paragraph.[Ch] (id): new function
5850
5851         * bufferlist.C (newFile): adjust
5852
5853         * ParagraphList.C (ParagraphList): adjust
5854         (assign): adjust
5855         (push_back): take a reference instead of a pointer.
5856
5857         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5858
5859         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5860         instead.
5861
5862         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5863         set else use old code.
5864
5865         * ParagraphList.C: remove all NO_NEXT code and only compile this
5866         code of NO_STD_LIST is set.
5867
5868 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5869
5870         * BufferView_pimpl.C:
5871         * TextCache.C:
5872         * TextCache.h:
5873         * bufferlist.C:
5874         * errorlist.h:
5875         * format.C:
5876         * format.h:
5877         * graph.C:
5878         * lyxfunc.C:
5879         * lyxrc.C:
5880         * graphics/GraphicsConverter.C:
5881         * graphics/PreviewLoader.C: header adjustment
5882
5883 2003-05-23  Angus Leeming  <leeming@lyx.org>
5884
5885         * LaTeXFeatures.[Ch] (useBabel): new method.
5886         * bufferparams.C (writeLaTeX): use it.
5887
5888 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * ParagraphList.h (set): remove unused function.
5891
5892 2003-05-23  André Pönitz  <poenitz@gmx.net>
5893
5894         * BufferView.C:
5895         * BufferView_pimpl.C:
5896         * buffer.C:
5897         * buffer.h:
5898         * lyxfunc.C:
5899         * undo_funcs.C: setUndo reworked
5900
5901         * iterators.[Ch]: add access to topmost ParagraphList
5902
5903         * lyxtext.[Ch] (workWidth): add a const
5904
5905 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5906
5907         * texrow.[Ch] (increasePos): remove function
5908         * exporter.C (export): removed unused var and outdated comment
5909
5910 2003-05-23  Angus Leeming  <leeming@lyx.org>
5911
5912         * latexrunparams.h: rename fragile as moving_arg.
5913         * paragraph.C (simpleTeXOnePar): ditto.
5914         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5915
5916 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5919         (createUndo): ditto
5920         (textUndoOrRedo): comment out a currently unused var.
5921
5922         * paragraph.h (NO_NEXT): enable NO_NEXT
5923
5924         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5925
5926         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5927
5928         * exporter.C (Export): adjust for removeAutoInsets removal.
5929
5930         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5931
5932         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5933
5934         * BufferView.[Ch] (removeAutoInsets): delete function
5935
5936 2003-05-22  Angus Leeming  <leeming@lyx.org>
5937
5938         * latexrunparams.h: add a free_spacing variable.
5939
5940         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5941         to pass moving_arg, as the data is stored in runparams.fragile.
5942
5943         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5944         to Inset::latexOptional or to simpleTeXOnePar.
5945
5946         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5947         free_spacing arg to Inset::latexOptional.
5948
5949         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5950         free_spacing arg.
5951
5952 2003-05-22  Angus Leeming  <leeming@lyx.org>
5953
5954         * latexrunparams.h: add fragile and use_babel variables.
5955
5956         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5957         * buffer.C (makeLaTeXFile): store this returned value in
5958         runparams.use_babel, thus passing it to the inset::latex methods.
5959
5960         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5961         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5962
5963         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5964         longer has a fragile arg, as it is stored in runparams.fragile.
5965
5966         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5967         moving_arg parameter as the data is stored in runparams.fragile.
5968
5969         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5970         a fragile parameter as the data is stored in runparams.fragile.
5971
5972 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5973
5974         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5975
5976 2003-05-22  Angus Leeming  <leeming@lyx.org>
5977
5978         * latexrunparams.h: add a 'bool nice' which defaults to false.
5979
5980         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5981         now encapsulated within runparams.
5982
5983         * bufferlist.C (updateIncludedTeXfiles):
5984         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5985
5986 2003-05-22  Angus Leeming  <leeming@lyx.org>
5987
5988         * latexrunparams.h: new file containing struct LatexRunParams.
5989         * Makefile.am: add new file.
5990
5991         * LaTeX.[Ch] (c-tor, run):
5992         * buffer.[Ch] (makeLaTeXFile):
5993         * bufferlist.[Ch] (updateIncludedTeXfiles):
5994         * converter.C (convert, scanLog):
5995         * converter.[Ch] (runLaTeX):
5996         * exporter.C (Export):
5997         * paragraph.[Ch] (simpleTeXOnePar):
5998         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5999         * paragraph_funcs.[Ch] (latexParagraphs):
6000         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6001         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6002         pass around a LatexRunParams parameter.
6003
6004 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * paragraph.[Ch]: remove unused constructor
6007
6008         * ParagraphList.C (erase): new function, taking two iterators
6009
6010 2003-05-22  André Pönitz  <poenitz@gmx.net>
6011
6012         * undo_funcs.C: remove duplicated code
6013
6014         * iterator.[Ch]: operator=
6015
6016 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * tabular.C (SetMultiColumn): ws changes
6019
6020         * rowpainter.C (paintFirst): get rid of a ->previous
6021
6022         * lyx_cb.C (getPossibleLabel): parlist simplification
6023
6024         * BufferView.C (ChangeInsets): simplify slightly.
6025
6026 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6027
6028         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6029         * lfuns.h: new LFUN_SPACE
6030         * lyxfunc.C: protected space has a new lfun
6031         * paragraph_funcs.C: read new space insets
6032         * text3.C:
6033         * factory.C: handle new space insets
6034
6035 2003-05-22  André Pönitz  <poenitz@gmx.net>
6036
6037         * BufferView.C:
6038         * BufferView_pimpl.C:
6039         * buffer.[Ch]:
6040         * lyxfunc.C:
6041         * undo_funcs.C: return a ParIterator from getParFromID.
6042
6043         * iterators.[Ch]: add two const's
6044
6045 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6046
6047         * toc.C (getTocList): adjust
6048
6049         * iterators.[Ch]: rework for parlist
6050
6051         * buffer.C (par_iterator_begin): adjust
6052         (par_iterator_end): adjust
6053
6054         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6055
6056         * BufferView.C (removeAutoInsets): adjust
6057         (ChangeInsets): adjust
6058
6059 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6060
6061         * text.C (top_y): fix bug 1110
6062
6063 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6064
6065         * errorlist.[Ch]: added
6066         * buffer.C:
6067         * BufferView.[Ch]:
6068         * BufferView_pimpl.C:
6069         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6070         instead
6071
6072 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * Makefile.am: ensure that lyx is relinked upon changes to the
6075         various "convenience" libs.
6076
6077 2003-05-20  Angus Leeming  <leeming@lyx.org>
6078
6079         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6080         files are compiled in alphabetical order again.
6081
6082         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6083
6084 2003-05-19  Angus Leeming  <leeming@lyx.org>
6085
6086         * gettext.[Ch]: remove "char const * _(char const *)".
6087
6088 2003-05-19  André Pönitz  <poenitz@gmx.net>
6089
6090         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6091
6092         * Makefile.am:
6093         * BufferView.C:
6094         * DepTable.h:
6095         * LaTeXFeatures.C:
6096         * buffer.C:
6097         * lyxfont.C:
6098         * lyxlex.h:
6099         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6100
6101 2003-05-19  André Pönitz  <poenitz@gmx.net>
6102
6103         * buffer.C:
6104         * lyxlayout.[Ch]:
6105         * lyxtextclass.[Ch]:
6106         * paragraph.C:
6107         * paragraph_funcs.[Ch]:
6108         * text2.C:
6109         * text3.C: more insetenv work
6110
6111 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * ParagraphParameters.C (params2string): small bug fixed
6114
6115 2003-05-16  André Pönitz  <poenitz@gmx.net>
6116
6117         * debug.C:
6118         * bufferview_funcs.C: patch from Kornel Benko to prevent
6119           crash when _(...) is called twice in a statement
6120
6121 2003-05-16  André Pönitz  <poenitz@gmx.net>
6122
6123         * BufferView.C:
6124         * lyxfunc.C:
6125         * text.C:
6126         * text2.C:
6127         * text3.C:
6128         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6129
6130 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6131
6132         * lyx_main.C (init): remove spurious static_cast
6133
6134 2003-05-14  André Pönitz  <poenitz@gmx.net>
6135
6136         * BufferView.C: fix format string
6137
6138 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6139
6140         * BufferView.[Ch] (insertErrors): removed
6141         * BufferView.[Ch] (showErrorList): added
6142         * buffer.C (runChkTeX):
6143         * converter.C (scanLog): call showErrorList instead of inserterrors
6144
6145 2003-05-13  André Pönitz  <poenitz@gmx.net>
6146
6147         * BufferView_pimpl.C:
6148         * buffer.C:
6149         * bufferview_func.C:
6150         * MenuBackend.C:
6151         * lyxfunc.C:
6152         * lyxrc.C:
6153         * tex-accent.C:
6154         * text3.C:
6155         * toc.C:
6156         * tabular_funcs.h: tostr() from its own header
6157
6158         * ParagraphParameters.C:
6159         * ToolbarBackend.C:
6160         * bufferparams.C:
6161         * format.C:
6162         * lyxlex_pimpl.C:
6163         * text3.C: STRCONV()
6164
6165 2003-05-12  André Pönitz  <poenitz@gmx.net>
6166
6167         * BufferView.C:
6168         * BufferView_pimpl.C:
6169         * CutAndPaste.C:
6170         * LaTeX.C:
6171         * LaTeXFeatures.C:
6172         * ParagraphParameters.C:
6173         * buffer.C:
6174         * bufferlist.C:
6175         * bufferparams.C:
6176         * bufferview_funcs.C:
6177         * converter.C:
6178         * counters.C:
6179         * debug.C:
6180         * exporter.C:
6181         * format.C:
6182         * importer.C:
6183         * lyx_cb.C:
6184         * lyx_main.C:
6185         * lyxfont.C:
6186         * lyxfunc.C:
6187         * lyxvc.C:
6188         * paragraph.C:
6189         * paragraph_funcs.C:
6190         * tabular.C:
6191         * tabular_funcs.C:
6192         * text2.C:
6193         * text3.C:  boost::format -> bformat  all over the place
6194
6195
6196 2003-05-09  André Pönitz  <poenitz@gmx.net>
6197
6198         * LColor.[Ch]: Pimpl the #include <map> away
6199
6200 2003-05-09  John Levon  <levon@movementarian.org>
6201
6202         * bufferlist.C: never remove emergency saves
6203
6204 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * Makefile.am: better lib building
6207
6208 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6211         instead.
6212         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6213         (simpleTeXSpecialChars): adjust
6214         (simpleTeXSpecialChars): adjust
6215         * paragraph.C (simpleTeXOnePar): adjust
6216         * buffer.C (makeLaTeXFile): adjust
6217
6218         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6219
6220         * text2.C (changeDepth): parlist cleanup
6221         (getColumnNearX): ditto
6222
6223         * rowpainter.C (getLabelFont): parlist cleanup
6224
6225         * bufferlist.C (newFile): parlist cleanup
6226
6227         * CutAndPaste.C (eraseSelection): parlist cleanup
6228
6229         * BufferView_pimpl.C (trackChanges): parlist cleanup
6230         (dispatch): ditto
6231
6232         * BufferView.C (lockInset): parlist cleanup.
6233         (ChangeInsets): ditto
6234
6235 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * CutAndPaste.h: Update file header.
6238
6239         * CutAndPaste.C: Update file header.
6240         Store the parts cut out of the Document in a limited_stack.
6241         (copySelection): adjust
6242         (pasteSelection): new function, takes the index in the limited stack.
6243         (nrOfParagraphs): adjust
6244         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6245         simplify error inset insertion.
6246         (checkPastePossible): adjust
6247
6248 2003-05-06  John Levon  <levon@movementarian.org>
6249
6250         * text2.C: don't cast wrap inset to float
6251
6252 2003-05-05  André Pönitz  <poenitz@gmx.net>
6253
6254         * iterator.C:
6255         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6256
6257         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6258           few naked Paragraph *.
6259
6260 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6261
6262         * bufferparams.C: Output warning if a document with missing
6263         TeX document class is loaded
6264         * exporter.C: Disable TeX exports if the document class is missing
6265         * lyxtextclass.C:
6266         * lyxtextclass.h:
6267         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6268         isTeXClassAvailable()
6269
6270 2003-05-03  John Levon  <levon@movementarian.org>
6271
6272         * BufferView.h:
6273         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6274         explicit cursor show/hide
6275
6276         * BufferView_pimpl.h:
6277         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6278         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6279
6280         * lyxfunc.C: hide cursor before dispatching.
6281
6282         * lyx_cb.C:
6283         * lyxfind.C:
6284         * text.C:
6285         * text3.C: remove explicit cursor hides
6286
6287 2003-05-02  André Pönitz  <poenitz@gmx.net>
6288
6289         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6290
6291         * undo_funcs.C:
6292         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6293           linked lists
6294
6295         * text2.C: tiny whitespace
6296
6297 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * undo_funcs.C: almost only ws changes.
6300
6301         * ParagraphList.C (splice): just return if pl is empty.
6302
6303 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6304
6305         * ParagraphList.C (splice): new function.
6306
6307         * CutAndPaste.C (pasteSelection): use it
6308
6309 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * CutAndPaste.C (pasteSelection): remove the last next and
6312         previous from this file.
6313
6314 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * CutAndPaste.C (pasteSelection): more clean up, user proper
6317         ParagraphList functions for pasteing.
6318
6319         * ParagraphList.C (insert): new function, three arg insert
6320
6321 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6322
6323         * ParagraphList.C (insert): new function, three arg insert
6324
6325         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6326         not on paragraphs.
6327
6328 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6331
6332 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6335
6336 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6337
6338         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6339         (copySelection): clean up a bit.
6340         (pasteSelection): use make_pair
6341
6342         * ParagraphList.C (ParagraphList): implement copy constructor
6343         (operator=): implement, base on copy constructor.
6344         (assign): new func
6345
6346         * paragraph.C (erase): return a bool
6347
6348         * paragraph_pimpl.C (erasePos): remove function, move contents...
6349         (erase): ... here. Return a bool.
6350         (erase): call erase instead of erasePos.
6351
6352 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * ParagraphList.h: define PitPosPair
6355         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6356         ParagraphList, fix a bug on pasting multiple pars
6357         * text2.C: change interface to C&P
6358
6359 2003-04-30  André Pönitz  <poenitz@gmx.net>
6360
6361         * undo_func.C: revert part of yesterday's patch 2
6362
6363 2003-04-30  John Levon  <levon@movementarian.org>
6364
6365         * LColor.C: s/tabular/table/
6366
6367 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * text3.C (dispatch): do not convert iterator -> pointer
6370         * undo_funcs.C (setCursorParUndo): ditto
6371         * text_funcs.C (transposeChars): ditto
6372
6373         * text2.C (setLayout): ws changes only
6374
6375         * text.C (breakParagraph): do not convert iterator -> pointer
6376         (insertChar): ditto
6377         (acceptChange): ditto
6378         (rejectChange): ditto
6379         (changeCase): ditto
6380         (Delete): ditto
6381         (backspace): ditto
6382
6383         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6384         pointer
6385
6386 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6387
6388         * text3.C (gotoInset): YABG (yet another bad getChar)
6389
6390 2003-04-29  André Pönitz  <poenitz@gmx.net>
6391
6392         * paragraph.h: make operator= private unimplemented as long as
6393           it is unusable
6394
6395         * ParagraphList.C: whitespace
6396
6397         * paragraph.[Ch]:
6398         * paragraph_pimpl.[Ch]:
6399         * paragraph_funcs.C:
6400         * CutAndPaste.C:
6401         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6402
6403         * text2.C:
6404           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6405
6406 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6407
6408         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6409         * paragraph.[Ch] (erase):
6410         * paragraph_pimpl.[Ch] (erase): change return type and value
6411         * text2.C (cutSelection): some rework
6412
6413 2003-04-28  John Levon  <levon@movementarian.org>
6414
6415         * bufferlist.C: changes for unsaved changes dialog
6416
6417 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * bufferlist.C (newFile): set language (messages_) for new
6420         documents also.
6421
6422         * buffer.C (readFile): ws changes only.
6423
6424 2003-04-28  André Pönitz  <poenitz@gmx.net>
6425
6426         * undo_funcs.C:
6427         * lyxfunc.C:
6428         * buffer.[Ch]:
6429         * BufferView_pimpl.C:
6430         * BufferView.C: getParFromID related ParagraphList::iterator changes
6431
6432 2003-04-28  André Pönitz  <poenitz@gmx.net>
6433
6434         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6435           Changes
6436
6437 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6438
6439         * messages.C: remove one more localedir class variable.
6440
6441 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * messages.C (getLocaleDir): singleton generation function
6444         (Pimpl): use it.
6445         (Messages): add a default constructor.
6446
6447         * main.C (main): do not setup localedir here, do not call
6448         gettext_init.
6449
6450         * gettext.C (_): use it.
6451         (gettext_init): delete funciton
6452
6453 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * gettext.C (getLyXMessages): new singleton generating function.
6456
6457         * buffer.C (updateDocLang): adjust
6458
6459         * Makefile.am (messages.o): add target
6460         (main.o): remove target
6461
6462 2003-04-27  John Levon  <levon@movementarian.org>
6463
6464         * bufferlist.C:
6465         * lyx_cb.C:
6466         * lyxfunc.C:
6467         * lyxvc.C: specify cancel button in Alert::prompt
6468
6469 2003-04-26  John Levon  <levon@movementarian.org>
6470
6471         * text3.C:
6472         * lyxfunc.C:
6473         * lfuns.h:
6474         * LyXAction.C: add LFUN_INSET_SETTINGS
6475
6476         * lyxfunc.C: don't enable tabular-feature when there's
6477         just any locking inset
6478
6479 2003-04-26  John Levon  <levon@movementarian.org>
6480
6481         * bufferlist.C: re-add Cancel to buffer close question
6482
6483         * lyxfunc.C: fix import UI a bit
6484
6485 2003-04-25  John Levon  <levon@movementarian.org>
6486
6487         * gettext.C: remove the broken asserts for now
6488
6489 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * messages.C: make case where setlocale cannot comply work better.
6492
6493         * buffer.C (updateDocLang): new function
6494         (changeLanguage): use it
6495         (readFile): use it
6496
6497         * text2.C (setCounter): use B_ a bit.
6498
6499         * lyxlayout.C (Read): be sure to trim the label strings.
6500
6501         * messages.C (Messages): fix typo in comment
6502
6503         * buffer.C (readFile): set message_ after file is loaded.
6504         (makeDocBookFile): remove double return
6505         (changeLanguage): reset message_ upon language change.
6506         (B_): new func, use this to get translated buffer strings.
6507
6508         * main.C: add myself and Jean Marc as authors.
6509
6510 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * messages.[hC]: pimplify Messages, and three different pimpls to be
6513         used in different circumstances.
6514
6515         * gettext.[Ch]: change for use with new message code.
6516
6517 2003-04-24 André Pönitz <poenitz@gmx.net>
6518
6519         * factory.C: support for eqref
6520
6521 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * messages.[Ch]: add missing char
6524
6525         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6526
6527         * messages.[Ch]: New files
6528
6529 2003-04-18  John Levon  <levon@movementarian.org>
6530
6531         * BufferView.h:
6532         * BufferView.C:
6533         * BufferView_pimpl.C:
6534         * lfuns.h:
6535         * LyXAction.C:
6536         * lyxtext.h:
6537         * text2.C: remove layout-copy/paste (bug 778)
6538
6539 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6540
6541         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6542
6543 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6544
6545         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6546         if they succeed. Act accordingly.
6547
6548 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6549
6550         * text2.C (setCharFont): adjust
6551         (setCounter): adjust
6552         (insertStringAsLines): adjust
6553
6554         * text.C (leftMargin): adjust
6555         (setHeightOfRow): adjust
6556
6557         * rowpainter.C (paintFirst): adjust
6558         (paintLast): adjust
6559
6560         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6561         (outerHook): ditto
6562         (isFirstInSequence): ditto
6563         (getEndLabel): ditto
6564         (outerFont): adjust
6565
6566         * paragraph.C (getParLanguage): comment out some hard stuff.
6567
6568         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6569         (sgmlError): ditto
6570         (simpleDocBookOnePar): ditto
6571         (makeDocBookFile): use ParagraphList::iterator
6572
6573         * CutAndPaste.C (pasteSelection): adjust
6574
6575 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * text2.C (getFont): adjust
6578         (getLayoutFont): adjust
6579         (getLabelFont): adjust
6580
6581         * paragraph_funcs.C (TeXOnePar): adjust
6582
6583         * buffer.C (simpleLinuxDocOnePar): adjust
6584         (simpleDocBookOnePar): adjust
6585
6586         * CutAndPaste.C (pasteSelection): adjust
6587
6588         * BufferView.C (getEncoding): adjust
6589
6590         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6591
6592 2003-04-16  John Levon  <levon@movementarian.org>
6593
6594         * lyxfind.C: use parlist stuff for search/changes
6595
6596 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6599
6600         * text2.C (deleteEmptyParagraphMechanism): adjust
6601
6602         * text2.[Ch] (ownerParagraph): delete func (both of them
6603
6604 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6607
6608 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6609
6610         * ParagraphList.C: prepare for NO_NEXT
6611
6612 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * text2.C (getFont): adjust
6615         (getLayoutFont): adjust
6616         (getLabelFont): adjust
6617
6618         * paragraph.C (getFont): adjust
6619         (getLabelFont): adjust
6620         (getLayoutFont): adjust
6621
6622         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6623
6624 2003-04-15  John Levon  <levon@movementarian.org>
6625
6626         From Angus Leeming
6627
6628         * lyx_main.C: handle Include in .ui files
6629
6630 2003-04-15  John Levon  <levon@movementarian.org>
6631
6632         * MenuBackend.C: make the doc files length shorter
6633
6634         * ToolbarBackend.h:
6635         * ToolbarBackend.C: handle toolbar placement flags,
6636         Minibuffer
6637
6638 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6639
6640         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6641         adjust
6642
6643         * paragraph_funcs.C (TeXOnePar): adjust
6644
6645         * paragraph.C (getLabelFont): add outerfont arg, adjust
6646         (getLayoutFont): ditto
6647         (simpleTeXOnePar): adjust
6648
6649         * paragraph_pimpl.C (realizeFont): delete func
6650
6651 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6652
6653         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6654         row argument, constify cur argument.
6655
6656 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * text2.C (getFont): adjust
6659         (getLayoutFont): adjust
6660         (getLabelFont): adjust
6661
6662         * paragraph_funcs.C (TeXOnePar): adjust
6663         (outerFont): new func...
6664         (realizeFont): ...moved out from here, changed this to facilitate
6665         transition
6666
6667         * paragraph.C (getFont): take outerfont as arg, adjust
6668         (simpleTeXOnePar): add outerfont arg, adjust
6669
6670         * buffer.C (simpleLinuxDocOnePar): adjust
6671         (simpleDocBookOnePar): adjust
6672
6673         * CutAndPaste.C (pasteSelection): adjust
6674
6675         * BufferView.C (getEncoding): adjust
6676
6677 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * text2.C (setCharFont): adjust
6680         (setCounter): adjust
6681
6682         * text.C (leftMargin): adjust
6683         (setHeightOfRow): adjust
6684
6685         * rowpainter.C (paintFirst): adjust
6686         (paintLast): adjust
6687
6688         * paragraph_pimpl.C (realizeFont): adjust
6689
6690         * paragraph.C (isFirstInSequence): move from here...
6691         * paragraph_funcs.C (isFirstInSequence): ...to here
6692
6693         * paragraph.C (outerHook): move from here...
6694         * paragraph_funcs.C (outerHook): ...to here
6695
6696         * paragraph.C (depthHook): move from here...
6697         * paragraph_funcs.C (depthHook): ...to here
6698
6699         * paragraph.C (getEndLabel): move from here...
6700         * paragraph_funcs.C (getEndLabel): ...to here
6701
6702         * text2.C (realizeFont): move from here...
6703         * paragraph_funcs.C (realizeFont): ...to here
6704
6705 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6706
6707         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6708
6709 2003-04-14  Angus Leeming  <leeming@lyx.org>
6710
6711         * LColor.[Ch]: scrap LColor mathcursor.
6712
6713 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6714
6715         * lyxlex.[Ch] (text): delete function
6716         * trans.C (Load): adjust
6717         * paragraph_funcs.C (readParToken): adjust
6718
6719 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6722         vector<char> instead of a char[].
6723
6724         * lyxlex_pimpl.C (getString): adjust
6725         (next): adjust
6726         (lex): use getString
6727         (eatLine): adjust
6728         (nextToken): adjust
6729
6730         * lyxlex.C (text): use pimpl_->getString()
6731         (getBool): ditto
6732         (findToken): ditto
6733
6734 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6737         (makeFontEntriesLayoutSpecific): temp var for par.size()
6738         (setLayout): temp var for ownerParagraphs().end()
6739         (fullRebreak): temp var for rows().end()
6740         (selectionAsString): temp var for boost::next(startpit), realize
6741         that the while really is a regular for loop.
6742         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6743         setCursor in one place.
6744         (setParagraph): temp vr for ownerParagraphs().end()
6745         (updateCounters): make the while loop a for loop
6746         (cutSelection): temp var for ownerParagraphs().end()
6747         (updateInset): make the do {} while() a regular for loop
6748         (getCursorX): use temp vars
6749         (setCurrentFont): use temp vars
6750         (getColumnNearX): use temp vars
6751
6752 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6753
6754         * text.C (transformChar): use temp var for getChar
6755         (computeBidiTables): use temp var for row->par()
6756         (fill): move temp vars for row->par() and pit->layout() earlier in
6757         the function.
6758         (labelFill): use temp var for row->par()
6759         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6760         asc and desc, realize that pit never changes and that firstpit is
6761         just a duplicate and not needed. Exchange rit->par() with pit in a
6762         lot of places.
6763         (breakAgain): use a temp var for boost::next(rit)
6764         (breakAgainOneRow): ditto
6765         (breakParagraph): use a temp var for rows().begin()
6766         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6767         (cursorRightOneWord): use temp var for cursor.par() and
6768         cursor.pos(), remove usage of tmpcursor.
6769         (cursorLeftOneWord): use temp var for cursor.par() and
6770         cursor.pos() only set cur at end of function.
6771
6772 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * text.C, text2.C: exchange all usage of Paragraph::next with
6775         boost::next(ParagraphList::iterator)
6776
6777         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6778
6779         * text2.C (cursorTop): simplify implementation
6780         (cursorBottom): ditto
6781         (setParagraph): use ParagraphList::iterator
6782         (setCurrentFont): adjust
6783         (getColumnNearX): adjust
6784         (cursorRight): adjust
6785         (cursorLeft): remove usage of Paragraph::previous
6786         (cursorUpParagraph): ditto
6787         (deleteEmptyParagraphMechanism): slight cleanup
6788
6789         * text.C (isBoundary): take a Paragraph const & instead of a
6790         pointer as arg.
6791         (addressBreakPoint): ditto
6792         (leftMargin): remove usage of Paragraph::previous.
6793         (setHeightOfRow): ditto
6794         (cursorLeftOneWord): ditto
6795         (selectNextWordToSpellcheck): ditto
6796         (Delete): ditto
6797         (backspace): ditto
6798         (breakParagraph): remove one usage of Paragraph::next
6799         (redoParagraph): ditto
6800         (acceptChange): ditto
6801         (insertChar): adjust
6802         (rowBreakPoint): adjust
6803
6804         * bufferview_funcs.C (toggleAndShow): adjust
6805
6806 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6807
6808         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6809         methods to access it.
6810         * lyxtext.h:
6811         * text.C: Added updateRowPositions to compute all row positions.
6812         Make top_y and getRowNearY() to use the cached y position
6813
6814 2003-04-11  John Levon  <levon@movementarian.org>
6815
6816         * text.C (rowBreakPoint): reintroduce the labelEnd
6817         checks, code copied from the row fill stuff. Deep voodoo.
6818
6819         * text.C (fill): add a comment and debugging for the
6820         next poor soul.
6821
6822 2003-04-11  John Levon  <levon@movementarian.org>
6823
6824         * text.C: make sure fullrow insets get wrapped to the next line,
6825         even when they're in a manual label
6826
6827 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6828
6829         * text2.C (insertParagraph): make it take ParagraphList::iterator
6830         as arg.
6831         (setLayout): make it return ParagraphList::iterator
6832         (redoParagraphs): ditto
6833         (setCounter): ditto
6834         (checkParagraph): ditto
6835
6836         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6837
6838         * text2.C: adjust several funcs.
6839         (realizeFont): take a ParagraphList::iterator as arg.
6840         (getLayoutFont): ditto
6841         (getLabelFont): ditto
6842         (setCharFont): ditto
6843
6844         * text.C: adjust several funcs.
6845
6846 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6847
6848         * text.C (selectNextWordToSpellcheck): don't accidentally
6849         skip insets
6850
6851 2003-04-10  John Levon  <levon@movementarian.org>
6852
6853         * ToolbarBackend.C (getIcon): special handling for
6854         LFUN_MATH_DELIM
6855
6856 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6857
6858         * text2.C (cursorRight): a getChar assert fixed
6859
6860 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * text2.C (getFont): change to take a ParagraphList::iterator
6863         instead of Paragraph*
6864         Adjust several functions.
6865
6866         * text.C (transformChar): change to take a ParagraphList::iterator
6867         instead of Paragraph*
6868         (singleWidth): ditto
6869         Adjust several functions.
6870
6871         * rowpainter.C: adjust several functions
6872         * rowpainter.h:store a ParagraphList::iterator and not a
6873         Paragraph&.
6874
6875
6876 2003-04-09  John Levon  <levon@movementarian.org>
6877
6878         * lyxfunc.C:
6879         * lfuns.h:
6880         * LyXAction.h:
6881         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6882         and the "help" bits as well
6883
6884 2003-04-09  John Levon  <levon@movementarian.org>
6885
6886         * ToolbarBackend.h:
6887         * ToolbarBackend.C: allow multiple toolbars
6888
6889 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * undo_funcs.C (setCursorParUndo): adjust
6892
6893         * text_funcs.C (transposeChars): adjust
6894
6895         * text3.C (gotoNextInset): adjust
6896         (dispatch): adjust
6897
6898         * text2.C (setLayout): adjust
6899         (changeDepth): adjust
6900         (setFont): adjust
6901         (redoParagraphs): adjust
6902         (selectionAsString): adjust
6903         (setParagraph): adjust
6904         (insertInset): adjust
6905         (cutSelection): adjust
6906         (copySelection): adjust
6907         (pasteSelection): adjust
6908         (insertStringAsLines): adjust
6909         (updateInset): adjust
6910         (setCursor): change to take a ParagraphList::iterator parameter
6911         (setCursorIntern): change to take a ParagraphList::iterator parameter
6912         (setCurrentFont): adjust
6913         (cursorLeft): adjust
6914         (cursorRight): adjust
6915         (deleteEmptyParagraphMechanism): adjust
6916
6917         * text.C (breakParagraph): adjust
6918         (insertChar): adjust
6919         (acceptChange): adjust
6920         (rejectChange): adjust
6921         (selectNextWordToSpellcheck): adjust
6922         (changeCase): adjust
6923         (Delete): adjust
6924         (backspace): adjust
6925
6926         * lyxfind.C (SearchForward): adjust
6927         (SearchBackward): adjust
6928         (nextChange): adjust
6929
6930         * lyxcursor.C (par): adjust
6931
6932         * lyxcursor.h: store a ParagraphList::iterator instead of a
6933         Paragraph*
6934
6935         * lyx_cb.C (getPossibleLabel): adjust
6936
6937         * bufferview_funcs.C (toggleAndShow): adjust
6938
6939         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6940         (dispatch): adjust
6941
6942         * BufferView.C (removeAutoInsets): adjust
6943         (lockedInsetStoreUndo): adjust
6944
6945 2003-04-09  John Levon  <levon@movementarian.org>
6946
6947         * ToolbarBackend.C: try icon without argument
6948         if with argument fails
6949
6950 2003-04-08  John Levon  <levon@movementarian.org>
6951
6952         * ToolbarBackend.h:
6953         * ToolbarBackend.C: add getIcon(), handle tooltip,
6954         and change from "Icon" to "Item".
6955
6956 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6957
6958         * BufferView.C (lockInset): another bad getchar crunched
6959
6960 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6961
6962         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6963         again)
6964
6965 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6966
6967         * lyxfind.C (searchForward, searchBackwards): bug 782
6968
6969 2003-04-07  John Levon  <levon@movementarian.org>
6970
6971         * paragraph.C: remove dead comment
6972
6973         * text.C: remove troublesome depth-fiddling code
6974         in leftMargin() and rightMargin() (bug 1017)
6975
6976         * text.C: fix breaking of rows in nested lists
6977         (bug 1004)
6978
6979         * text2.C (updateCounters): fix up depth values
6980         (bug 1013)
6981
6982 2003-04-07  John Levon  <levon@movementarian.org>
6983
6984         * BufferView_pimpl.C: clear message when doc finishes resizing,
6985         and after a mouse event
6986
6987         * lyxfunc.C: clear message after exiting inset
6988
6989 2003-04-07  John Levon  <levon@movementarian.org>
6990
6991         * bufferview_funcs.C: show math status not outside
6992         status in the statusbar
6993
6994 2003-04-07  John Levon  <levon@movementarian.org>
6995
6996         * lyxfunc.C: note status changed after a depth change
6997
6998 2003-04-04  Angus Leeming  <leeming@lyx.org>
6999
7000         * LaTeX.h: move AuxInfo operator==, != out of line.
7001         Remove LaTeX virtual destructor; nothing derives from it.
7002         Move operator()() out of public area and rename it startscript().
7003         Change protected for private.
7004
7005 2003-04-04  Angus Leeming  <leeming@lyx.org>
7006
7007         * lyxfunc.C:
7008         * text2.C: remove unneeded #includes.
7009
7010 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7011
7012         * text2.C (dEPM): fix the heigth of the next row
7013
7014 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7015
7016         * text.C: squashed an invalid getChar requester + some ws changes
7017
7018 2003-04-03  John Levon  <levon@movementarian.org>
7019
7020         * bufferview_funcs.h:
7021         * bufferview_funcs.C:
7022         * lyxfunc.C:
7023         * lyxtext.h:
7024         * text2.C: make getStatus work for the env depth lfuns
7025
7026 2003-04-03  John Levon  <levon@movementarian.org>
7027
7028         * bufferview_funcs.h:
7029         * bufferview_funcs.C:
7030         * lyxfunc.C:
7031         * lyxtext.h:
7032         * text2.C: parlistize decDepth(), by merging it with incDepth()
7033
7034 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7035
7036         * lyxrow.h: store a ParagraphList::iterator instead of a
7037         Paragraph* and adjust other class functions to suit.
7038
7039         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7040         above.
7041
7042 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7043
7044         * text2.C (setCursor): do not anchor to cursor row for the time being
7045
7046 2003-04-02  John Levon  <levon@movementarian.org>
7047
7048         * LyXAction.C:
7049         * lfuns.h:
7050         * lyx_main.C:
7051         * lyxtext.h:
7052         * text.C:
7053         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7054
7055 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7056
7057         * paragraph.h: make ParagraphList and ParagraphList::iterator
7058         friends of Paragraph.
7059
7060         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7061
7062         * ParagraphList.C: Use the private next_ and previous_ from
7063         Paragraph.
7064
7065 2003-04-01  John Levon  <levon@movementarian.org>
7066
7067         * ToolbarBackend.h:
7068         * ToolbarBackend.C:
7069         * Makefile.am: rename, remove defaults gunk
7070
7071         * MenuBackend.h:
7072         * MenuBackend.C: remove defaults gunk
7073
7074         * Languages.h:
7075         * Languages.C: remove defaults gunk
7076
7077         * lyx_main.h:
7078         * lyx_main.C: error out if files couldn't be found.
7079
7080 2003-04-02  John Levon  <levon@movementarian.org>
7081
7082         * text2.C: make incDepth() use parlist
7083
7084 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * undo_funcs.C (firstUndoParagraph): adjust
7087
7088         * text3.C (gotoInset): adjust
7089         (dispatch): adjust, and rewrite loop.
7090
7091         * text2.C (init): adjust, and rewrite loop.
7092         (redoParagraphs): adjust
7093         (updateInset): adjust, and rewrite loop.
7094         (deleteEmptyParagraphMechanism): adjust
7095
7096         * tabular.C (LyXTabular): adjust
7097         (SetMultiColumn): adjust
7098         (TeXRow): adjust
7099
7100         * lyxtext.[Ch] (ownerParagraph): delete function
7101         (ownerParagraphs): new function returns a ParagraphList.
7102
7103         * BufferView.C (removeAutoInsets): adjust
7104         (insertErrors): adjust
7105         (setCursorFromRow): adjust
7106
7107 2003-04-01  Angus Leeming  <leeming@lyx.org>
7108
7109         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7110         in the frontends.
7111
7112 2003-04-02  John Levon  <levon@movementarian.org>
7113
7114         * lyxtext.h:
7115         * text.C:
7116         * Makefile.am:
7117         * text_funcs.h:
7118         * text_funcs.C: make transposeChars a free function
7119
7120         * lyxrow_funcs.C: remove wrong comment
7121
7122 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7123
7124         * lyxtext.h: adjust
7125         * rowpainter.C: adjust
7126         * text.C: adjust
7127         * text2.C: adjust
7128         * text3.C: adjust
7129
7130         * lyxrow_funcs. [Ch]: new files
7131
7132         * lyxrow.[Ch]: remove next and previous pointers
7133         (next,previous): remove accessor functions
7134         (isParEnd): move to lyxrow_funcs
7135         (lastPos): move to lyxrow_funcs
7136         (nextRowIsAllInset): move to lyxrow_funcs
7137         (lastPrintablePos): move to lyxrow_funcs
7138         (numberOfSeparators): move to lyxrow_funcs
7139         (numberOfHfills): move to lyxrow_funcs
7140         (numberOfLabelHfills): move to lyxrow_funcs
7141         (hfillExpansion): move to lyxrow_funcs
7142
7143         * lyxfunc.C: adjust
7144
7145         * bufferview_funcs.C (toggleAndShow): adjust
7146
7147         * RowList.h: Remove class RowList from file leave just a
7148         std::list<Row>.
7149
7150         * RowList.C: delete file
7151
7152         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7153         and lyxrow_funcs.h
7154
7155 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * text3.C (cursorPrevious): adjust
7158         (cursorNext): adjust
7159         (dispatch): adjust
7160
7161         * text2.C (redoHeightOfParagraph): adjust
7162         (redoDrawingOfParagraph): adjust
7163         (setCursor): adjust
7164
7165         * text.C (breakParagraph): adjust
7166         (insertChar): adjust
7167         (backspace): adjust
7168
7169         * rowpainter.C (RowPainter): adjust
7170         (leftMargin): simplify and adjust
7171         (most rowpainter functions): adjust.
7172
7173         * rowpainter.h: store the row as RowList::iterator not as Row*
7174
7175         * lyxcursor.C (row): taka RowList::iterator as arg
7176         (irow): ditto
7177
7178         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7179         of Row*.
7180
7181 2003-04-01  Angus Leeming  <leeming@lyx.org>
7182
7183         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7184         stuff like bool Bool.
7185
7186 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7187
7188         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7189         rewrite a loop
7190
7191 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7192
7193         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7194         RowList::iterator.
7195
7196         * lyxtext.h (rows): drop one version and leve a const variant that
7197         returns a RowList::iterator.
7198
7199 2003-03-31  Angus Leeming  <leeming@lyx.org>
7200
7201         * text.C (fill): ensure that the signature is the same as that in the
7202         header file.
7203
7204 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * text2.C (redoParagraphs): adjust
7207         (updateCounters): adjust
7208         (checkParagraph): adjust
7209         (getColumnNearX): adjust and reformat a bit.
7210
7211         * text.C (top_y): adjust
7212         (workWidth): adjust
7213         (leftMargin): adjust
7214         (prepareToPrint): adjust
7215         (getRow): adjust
7216         (getRowNearY): adjust
7217
7218         * lyxtext.h: make rowlist_ mutable.
7219
7220         * RowList.h: add const_iterator
7221         * RowList.C: adjust for RowList::const_iterator.
7222
7223         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7224         adjust.
7225
7226 2003-03-31  John Levon  <levon@movementarian.org>
7227
7228         * lyxrc.h:
7229         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7230
7231         * lyx_main.C: set default fonts from using lyx_gui funcs
7232
7233         * exporter.C: pdf_mode moved from lyxrc
7234
7235         * lyx_cb.C:
7236         * lyxfunc.C: changes from above
7237
7238 2003-03-31  John Levon  <levon@movementarian.org>
7239
7240         * lyx_main.C: fix to the last fix
7241
7242 2003-03-31  John Levon  <levon@movementarian.org>
7243
7244         * bufferlist.C: "Load original" -> "Load Original"
7245
7246         * converter.C:
7247         * exporter.C:
7248         * importer.C:
7249         * lyx_main.C:
7250         * format.C: more Alert cleanups
7251
7252 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * text2.C (removeParagraph): make it take a RowList::iterator as
7255         arg, adjust.
7256         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7257         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7258
7259         * text.C (anchor_row): make it take a RowList::iterator as arg,
7260         adjust.
7261         (computeBidiTables): make it take a const reference to Row instead
7262         of Row pointer, adjust.
7263         (leftMargin): make it take a RowList::iterator as arg, adjust.
7264         (rowBreakPoint): adjust
7265         (breakAgainOneRow): make it take a RowList::iterator as arg,
7266         adjust.
7267         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7268
7269         * bufferview_funcs.C (toggleAndShow): adjust
7270
7271 2003-03-30  John Levon  <levon@movementarian.org>
7272
7273         * Makefile.am:
7274         * BoostFormat.h:
7275         * boost-inst.C: moved to support
7276
7277         * several files: changes as a result
7278
7279 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * text2.C (LyXText): adjust.
7282         (init): adjust
7283         (removeRow): make it take a RowList::iterator as arg, adjust.
7284         (fullRebreak): adjust
7285         (deleteEmptyParagraphMechanism): adjust
7286         (clearPaint): adjust
7287         (postPaint): adjust
7288
7289         * text.C (top_y): adjust
7290         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7291         (breakAgain): make it take a RowList::iterator as arg, adjust.
7292         (breakParagraph): adjust
7293         (insertChar): adjust
7294         (backspace): adjust
7295
7296         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7297         need_break_row, and refresh_row.
7298
7299         * text3.C (dispatch): adjust
7300
7301         * text2.C (checkParagraph): adjust
7302         (setCursor): adjust
7303         (setCursorFromCoordinates): adjust
7304
7305         * text.C (top_y): adjust
7306         (workWidth): adjust
7307         (getRow): make it return a RowList::iterator, adjust
7308         (getRowNearY): make it return a RowList::iterator, adjust
7309
7310         * text2.C (init): adjust
7311         (insertRow): remove function
7312         (insertParagraph): adjust
7313         (redoParagraphs): adjust
7314         (fullRebreak): adjust
7315         (updateCounters): adjust
7316
7317         * text.C (top_y): rewrite to use RowList iterators.
7318         (top_y): adjust
7319         (setHeightOfRow): rewrite to sue RowList iterators.
7320         (appendParagraph): adjust
7321         (breakAgain): adjust
7322         (breakAgainOneRow): adjust
7323         (breakParagraph): adjust
7324         (getRow): adjust
7325         (getRowNearY): adjust, and remove commented code.
7326
7327         * lyxtext.h (firstRow): delete function
7328         (lastRow): delete function
7329         (rows): new function (const and non-const versions.)
7330         (insertRow): delete function
7331
7332         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7333
7334 2003-03-29  John Levon  <levon@movementarian.org>
7335
7336         * BufferView_pimpl.C: always update scrollbar top
7337         because pasting text when we're anchored could mean we
7338         miss an update altogether
7339
7340 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * text2.C (init): use rowlist_.end() and not 0.
7343         (insertRow): change to take a RowList::iterator as arg, adjust
7344         for this.
7345         (insertParagraph): change to take a RowList::iterator as arg,
7346         adjust for this.
7347         (redoParagraphs): remove some debug msgs.
7348
7349         * text.C (appendParagraph): change to take a RowList::iterator
7350         arg, adjust for this.
7351         (breakAgain): add an assert
7352         (breakAgainOneRow): ditto
7353
7354 2003-03-29  John Levon  <levon@movementarian.org>
7355
7356         * text2.C: do not clear selection after inc/decDepth
7357         (bug 550)
7358
7359 2003-03-29  John Levon  <levon@movementarian.org>
7360
7361         * BufferView.C:
7362         * buffer.C: fix broken strerrors according to Lars
7363
7364 2003-03-29  John Levon  <levon@movementarian.org>
7365
7366         * converters.C: more Alert cleanups
7367
7368 2003-03-29  John Levon  <levon@movementarian.org>
7369
7370         * bufferview_funcs.C: remove pointless Alert
7371
7372         * buffer.C: fix confusing error message when
7373         a template is chmoded 000
7374
7375 2003-03-29  John Levon  <levon@movementarian.org>
7376
7377         * BufferView.C:
7378         * BufferView.h:
7379         * BufferView_pimpl.C: Alert fixes
7380
7381         * Makefile.am:
7382         * tabular.C:
7383         * tabular-old.C: remove unused table compat reading
7384
7385 2003-03-29  John Levon  <levon@movementarian.org>
7386
7387         * BufferView.C:
7388         * buffer.C:
7389         * lyx_cb.h:
7390         * lyx_cb.C: more Alert cleanups
7391
7392         * lyxfunc.C: don't allow chktex if not latex document
7393
7394 2003-03-29  John Levon  <levon@movementarian.org>
7395
7396         * lyx_cb.C:
7397         * BufferView.C:
7398         * buffer.C: warnings pushed down from support/,
7399         kill err_alert
7400
7401 2003-03-29  John Levon  <levon@movementarian.org>
7402
7403         * lyxfunc.C: safety check for C-r (revert)
7404
7405 2003-03-29  John Levon  <levon@movementarian.org>
7406
7407         * bufferlist.h:
7408         * bufferlist.C: several UI fixes using Alert::prompt.
7409         Fix the pointless looping quit code. Fix stupid revert
7410         behaviour (bug 938)
7411
7412         * lyxvc.h:
7413         * lyxvc.C:
7414         * lyx_cb.C: use Alert::prompt
7415
7416         * lyx_main.C: remove a silly question
7417
7418         * lyxfunc.C: remove a couple of silly questions,
7419         use Alert::prompt
7420
7421 2003-03-28  John Levon  <levon@movementarian.org>
7422
7423         * text2.C: fix bug 974 (End on empty par)
7424
7425 2003-03-28  John Levon  <levon@movementarian.org>
7426
7427         * BufferView_pimpl.C:
7428         * LyXAction.C:
7429         * lfuns.h: remove do-nothing math greek lfuns
7430
7431 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * lyxgluelength.h (isValidGlueLength): add default arg on
7434         parameter 2. Remove default arg from friend in class.
7435
7436         * lyxlength.h (isValidLength): add default arg on parameter 2.
7437         Remove default arg from friend in class.
7438
7439         * text2.C (LyXText): adjust, initialize refresh_row.
7440         (init): adjust
7441         (removeRow): adjust
7442         (insertRow): adjust
7443         (insertParagraph): adjst
7444         (redoParagraphs): adjust
7445         (fullRebreak): adjust
7446         (updateCounters): adjust
7447         (deleteEmptyParagraphMechanism): first attempt at fixing a
7448         crashing bug.
7449
7450         * text.C (top_y): adjust
7451         (setHeightOfRow): adjust
7452         (getRow): adjust
7453         (getRowNearY): adjust
7454
7455         * lyxtext.h: include RowList.h
7456         (~LyXText): not needed anymore, deleted.
7457         (firstRow): modify for RowList
7458         (lastRow): new function
7459         Delete firstrow and lastrow class variables, add a Rowlist
7460         rowlist_ class variable.
7461
7462         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7463         paragraph is empty.
7464
7465         * RowList.C (insert): fix case where it == begin().
7466
7467 2003-03-26  Angus Leeming  <leeming@lyx.org>
7468
7469         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7470         the thesaurus dialog.
7471
7472 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7473
7474         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7475
7476         * RowList.[Ch]: new files
7477
7478         * ParagraphList.C (erase): handle the case where it == begin
7479         correctly.
7480
7481 2003-03-25  John Levon  <levon@movementarian.org>
7482
7483         * Makefile.am:
7484         * aspell_local.h:
7485         * aspell.C: add new aspell support
7486
7487         * lyxrc.h:
7488         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7489         have it accessible.
7490
7491 2003-03-25  Angus Leeming  <leeming@lyx.org>
7492
7493         * lfuns.h:
7494         * LyXAction.C (init): new LFUN_INSET_INSERT.
7495
7496         * BufferView_pimpl.C (dispatch): split out part of the
7497         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7498
7499         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7500         LFUN_INSET_APPLY.
7501
7502 2003-03-25  Angus Leeming  <leeming@lyx.org>
7503
7504         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7505
7506 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7507
7508         * text2.C:
7509         * text3.C: remove useless row->height(0)
7510
7511 2003-03-25  John Levon  <levon@movementarian.org>
7512
7513         * lyxtext.h:
7514         * text2.C:
7515         * text3.C: rename the refreshing stuff to better names
7516
7517 2003-03-24  John Levon  <levon@movementarian.org>
7518
7519         * BufferView_pimpl.h:
7520         * BufferView_pimpl.C: update layout choice on a mouse
7521         press/release
7522
7523 2003-03-23  John Levon  <levon@movementarian.org>
7524
7525         * Makefile.am: fix commandtags.h reference
7526
7527 2003-03-22  John Levon  <levon@movementarian.org>
7528
7529         * BufferView_pimpl.C:
7530         * lyxtext.h:
7531         * rowpainter.C:
7532         * rowpainter.h:
7533         * text.C:
7534         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7535
7536 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7537
7538         * lyxtext.h:
7539         * text.C: take the rtl methods out of line
7540
7541 2003-03-21 André Pönitz <poenitz@gmx.net>
7542
7543         * metricsinfo.[Ch]: new files containing structures to be passed around
7544         during the two-phase-drawing...
7545
7546 2003-03-21 André Pönitz <poenitz@gmx.net>
7547
7548         * lyxtextclass.C: read 'environment' tag.
7549
7550 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7551
7552         * text2.C (removeRow): fix bug 964
7553
7554 2003-03-20  John Levon  <levon@movementarian.org>
7555
7556         * rowpainter.C:
7557         * text.C:
7558         * text2.C: paint cleanups. Inset::update() dropped font
7559         parameter
7560
7561 2003-03-19  John Levon  <levon@movementarian.org>
7562
7563         * lyxfunc.C: only fitcursor/markDirty if available()
7564
7565 2003-03-19  John Levon  <levon@movementarian.org>
7566
7567         * commandtags.h: rename to ...
7568
7569         * lfuns.h: ... this, and renumber / cleanup
7570
7571 2003-03-19  John Levon  <levon@movementarian.org>
7572
7573         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7574         fit the cursor after an lfun
7575
7576         * BufferView.h:
7577         * BufferView.C:
7578         * BufferView_pimpl.h:
7579         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7580
7581         * LyXAction.C: layout-character should have ReadOnly
7582
7583         * ParagraphParameters.C:
7584         * buffer.C:
7585         * bufferview_funcs.C:
7586         * lyx_cb.C:
7587         * lyxfind.C:
7588         * lyxtext.h:
7589         * text.C:
7590         * text2.C:
7591         * text3.C:
7592         * undo_funcs.C: changes from above
7593
7594 2003-03-18  John Levon  <levon@movementarian.org>
7595
7596         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7597         remove it from update()
7598
7599         * lyxfunc.C: update layout choice after an lfun
7600
7601         * text3.C: remove extra updateLayoutChoice()s
7602
7603 2003-03-18  John Levon  <levon@movementarian.org>
7604
7605         * text.C: top_y change means full repaint, fix
7606         a drawing bug with cursor movement
7607
7608 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7609
7610         * lyxtext.h:
7611         * text.C:
7612         * text2.C: anchor row on setCursor
7613
7614 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7615
7616         * lyxtext.h: remove almost all mutable keywords
7617         * text.C:
7618         * text2.C:
7619         * text3.C: remove const keywords accordingly
7620
7621 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7624         anon namespace
7625         (TeXEnvironment): ditto
7626         (TeXOnePar): ditto
7627
7628 2003-03-17  John Levon  <levon@movementarian.org>
7629
7630         * text.C (rowBreakPoint): remove attempt to fix displayed
7631         math insets inside a manual label
7632
7633 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7634
7635         * lyxtext.h: remove BufferView* as first arg from almost all class
7636         functions.
7637         * other files: adjust.
7638
7639 2003-03-17  John Levon  <levon@movementarian.org>
7640
7641         * lyxtext.h:
7642         * undo_funcs.C:
7643         * text2.C: more paint cleanups
7644
7645         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7646
7647         * rowpainter.h:
7648         * rowpainter.C: remove "smart" background painting code
7649
7650 2003-03-16  John Levon  <levon@movementarian.org>
7651
7652         * lyxtext.h:
7653         * text.C:
7654         * text2.C:
7655         * text3.C: add helper functions for setting refresh_row/y
7656
7657 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7658
7659         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7660         newline inset which *can* get inserted in the pass_thru layouts.
7661         This is primarily for literate documents.
7662
7663 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7664
7665         * buffer.C: increment LYX_FORMAT to 223
7666
7667 2003-03-14 André Pönitz <poenitz@gmx.net>
7668
7669         * textclass.h: prepare for environment handling, ws changes
7670         * lyxlayout.C: read latexheader and latexfooter tags
7671
7672 2003-03-14  John Levon  <levon@movementarian.org>
7673
7674         * text2.C: rewrite ::status() a bit
7675
7676 2003-03-13  John Levon  <levon@movementarian.org>
7677
7678         * lyxtext.h: add some docs
7679
7680 2003-03-13  John Levon  <levon@movementarian.org>
7681
7682         * lyxtext.h:
7683         * text.C:
7684         * text2.C:
7685         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7686
7687 2003-03-13  John Levon  <levon@movementarian.org>
7688
7689         * text3.C: fix appendix redrawing
7690
7691 2003-03-13  John Levon  <levon@movementarian.org>
7692
7693         * text.C (setHeightOfRow):
7694         * rowpainter.h:
7695         * rowpainter.C: make appendix mark have the text
7696           "Appendix" so the user knows what it is
7697
7698         * LColor.h:
7699         * LColor.C: s/appendixline/appendix/ from above
7700
7701 2003-03-13  John Levon  <levon@movementarian.org>
7702
7703         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7704
7705         * text.C: fix a getChar(pos) bug properly
7706
7707 2003-03-13  Angus Leeming  <leeming@lyx.org>
7708
7709         * commandtags.h:
7710         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7711         Probably only temporary. Let's see how things pan out.
7712
7713         * BufferView.C (unlockInset):
7714         * BufferView_pimpl.C (fitCursor):
7715         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7716
7717         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7718         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7719
7720         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7721         new functions that convert ParagraphParameters to and from a string.
7722
7723         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7724         BufferView::Pimpl's dispatch.
7725         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7726
7727 2003-03-13 André Pönitz <poenitz@gmx.net>
7728
7729         * lyxfunc.C:
7730         * text3.C:
7731         * factory.C: make it aware of InsetEnv
7732
7733 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7734
7735         * text2.C (setCursor): never ask for one past last
7736         (setCursor): add some debugging messages.
7737
7738         * text.C (singleWidth): never ask for one past last
7739         (singleWidth): ditto
7740         (leftMargin): ditto
7741         (rightMargin): ditto
7742         (rowBreakPoint): ditto
7743         (setHeightOfRow): ditto
7744         (prepareToPrint): ditto
7745
7746         * rowpainter.C (paintBackground): never ask for one past last
7747         (paintText): never ask for one past last
7748
7749         * paragraph_pimpl.C (getChar): make the assert stricter, never
7750         allow the one past last pos to be taken
7751
7752         * paragraph.C (getChar): ws changes only
7753
7754         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7755         (numberOfSeparators): ditto
7756         (numberOfHfills): ditto
7757
7758 2003-03-12  John Levon  <levon@movementarian.org>
7759
7760         * author.h:
7761         * author.C:
7762         * bufferparams.h:
7763         * bufferparams.C:
7764         * paragraph_funcs.C: fix per-buffer authorlists
7765
7766 2003-03-12  John Levon  <levon@movementarian.org>
7767
7768         * text.C: fix newline in right address
7769
7770 2003-03-12  Angus Leeming  <leeming@lyx.org>
7771
7772         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7773         duplicate those in LyXFunc::dispatch.
7774
7775         * commandtags.h:
7776         * LyXAction.C:
7777         * ToolbarDefaults.C:
7778         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7779         Add LFUN_FONTFREE_UPDATE.
7780
7781         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7782         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7783
7784         * bufferview_func.[Ch]: several new functions to facilliate
7785         transfer of data to and from the character dialog.
7786
7787 2003-03-12  John Levon  <levon@movementarian.org>
7788
7789         * buffer.C:
7790         * paragraph.h:
7791         * paragraph.C:
7792         * paragraph_funcs.C:
7793         * paragraph_pimpl.C:
7794         * sgml.C:
7795         * tabular.C:
7796         * text.C:
7797         * text3.C: remove META_NEWLINE in favour of an inset
7798
7799         * rowpainter.h:
7800         * rowpainter.C: remove paintNewline (done by inset)
7801
7802 2003-03-12  John Levon  <levon@movementarian.org>
7803
7804         * paragraph_pimpl.C: complain about bad getChar()s
7805         for a while at least
7806
7807 2003-03-12  John Levon  <levon@movementarian.org>
7808
7809         * buffer.h:
7810         * buffer.C: move paragraph read into a separate function,
7811         a little renaming to reflect that.
7812
7813         * bufferparams.h:
7814         * bufferparams.C: remove the author_ids map, not necessary now
7815
7816         * factory.h:
7817         * factory.C: moved Buffer::readInset to here
7818
7819         * paragraph_funcs.h:
7820         * paragraph_funcs.C: readParagraph free function moved from
7821         buffer.C
7822
7823         * tabular.C: name change
7824
7825 2003-03-12  John Levon  <levon@movementarian.org>
7826
7827         * buffer.C:
7828         * ParagraphParameters.C: move par params input to
7829         a read() method
7830
7831         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7832         behave like a normal read from the stream wrt reading
7833         a line vs. a \\token
7834
7835 2003-03-12  John Levon  <levon@movementarian.org>
7836
7837         * paragraph.C:
7838         * ParagraphParameters.h:
7839         * ParagraphParameters.C: move output code to a
7840         ::write() method
7841
7842 2003-03-12  John Levon  <levon@movementarian.org>
7843
7844         * BufferView.C (insertLyXFile):
7845         * buffer.h:
7846         * buffer.C:
7847         * tabular.C: use a parlist iterator for creating the
7848           document.
7849
7850 2003-03-12  John Levon  <levon@movementarian.org>
7851
7852         * buffer.C: make current_change static local not
7853           static file-scope
7854
7855 2003-03-12  John Levon  <levon@movementarian.org>
7856
7857         * buffer.C: fix insertStringAsLines for change tracking
7858
7859 2003-03-12  John Levon  <levon@movementarian.org>
7860
7861         * BufferView.C:
7862         * tabular.C:
7863         * buffer.h:
7864         * buffer.C:
7865         * bufferparams.h:
7866         * bufferparams.C: move author list into params. Rename some
7867           functions. Move the header reading into a separate token
7868           loop. Move the header token reading into BufferParams.
7869
7870 2003-03-12  John Levon  <levon@movementarian.org>
7871
7872         * changes.C: put debug inside lyxerr.debugging() checks
7873
7874 2003-03-11 André Pönitz <poenitz@gmx.net>
7875
7876         * factory.C: make it aware of InsetHFill
7877
7878 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7879
7880         * buffer.C (latexParagraphs): move function from here...
7881         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7882         args.
7883
7884 2003-03-10  Angus Leeming  <leeming@lyx.org>
7885
7886         * LyXAction.C (init): fix bug in poplating array with multiple entries
7887         with the same LFUN (spotted by JMarc).
7888
7889 2003-03-10  John Levon  <levon@movementarian.org>
7890
7891         * text.C:
7892         * text2.C: move getColumnNearX() near its
7893         only call site
7894
7895 2003-03-10  John Levon  <levon@movementarian.org>
7896
7897         * text.C: fix break before a minipage
7898
7899 2003-03-10  John Levon  <levon@movementarian.org>
7900
7901         * text.C: fix the last commit
7902
7903 2003-03-09  John Levon  <levon@movementarian.org>
7904
7905         * lyxtext.h:
7906         * text.C:
7907         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7908         bug 365 (don't break before insets unless needed). Don't
7909         return a value > last under any circumstances.
7910
7911 2003-03-09  Angus Leeming  <leeming@lyx.org>
7912
7913         * BufferView_pimpl.C (trackChanges, dispatch): call
7914         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7915
7916 2003-03-09  Angus Leeming  <leeming@lyx.org>
7917
7918         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7919         than Dialogs::showAboutlyx().
7920
7921 2003-03-09  Angus Leeming  <leeming@lyx.org>
7922
7923         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7924         than Dialogs::showTabularCreate().
7925
7926 2003-03-09  John Levon  <levon@movementarian.org>
7927
7928         * lyxtext.h:
7929         * text.C:
7930         * text2.C: 3rd arg to nextBreakPoint was always the same.
7931           Use references.
7932
7933 2003-03-08  John Levon  <levon@movementarian.org>
7934
7935         * lyxrow.C:
7936         * paragraph.C:
7937         * paragraph.h:
7938         * rowpainter.C:
7939         * text.C:
7940         * text2.C: Remove the "main" bit from the "main body"
7941           notion.
7942
7943 2003-03-08  John Levon  <levon@movementarian.org>
7944
7945         * text.C (leftMargin): The left margin of an empty
7946         manual label paragraph should not include the label width
7947         string length.
7948
7949         * text.C (prepareToPrint): don't attempt to measure hfills
7950         for empty manual label paragraphs - the answer should be 0
7951
7952 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * CutAndPaste.C: remove commented code and reindent.
7955
7956 2003-03-08  John Levon  <levon@movementarian.org>
7957
7958         * lyxfunc.h:
7959         * lyxfunc.C: move reloadBuffer()
7960
7961         * BufferView.h:
7962         * BufferView.C: to here
7963
7964         * lyxvc.C: add comment
7965
7966         * vc-backend.h:
7967         * vc-backend.C: call bv->reload() to avoid
7968           getStatus() check on MENURELOAD
7969
7970 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7971
7972         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7973         to an old format .dep file.
7974
7975 2003-03-07  Angus Leeming  <leeming@lyx.org>
7976
7977         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7978         when the LFUN_MOUSE_RELEASE should have been handled by
7979         inset->localDispatch.
7980
7981 2003-03-07  Angus Leeming  <leeming@lyx.org>
7982
7983         * BufferView_pimpl.C (dispatch):
7984         * LyXAction.C (init):
7985         * ToolbarDefaults.C (init):
7986         * commandtags.h:
7987         * lyxfunc.C (getStatus):
7988         remove LFUN_INSET_GRAPHICS.
7989
7990         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7991
7992 2003-03-07  Angus Leeming  <leeming@lyx.org>
7993
7994         * commandtags.h:
7995         * LyXAction.C (init):
7996         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7997
7998         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7999
8000         * commandtags.h:
8001         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8002
8003         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8004         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8005
8006 2003-03-07  Angus Leeming  <leeming@lyx.org>
8007
8008         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8009         remove "ert".
8010
8011 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8012
8013         * ParagraphList.C (front): new function
8014         (back): implement
8015
8016 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8017
8018         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8019         and top_row_offset_. removed var first_y.
8020         * text.C (top_y):
8021         * text2.C (LyXText, removeRow):
8022         * text3.C:
8023         * BufferView_pimpl.C:
8024         use these methods instead of using first_y
8025
8026 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * text2.C (pasteSelection): adjust for checkPastePossible
8029
8030         * CutAndPaste.C: remove Paragraph * buf and replace with
8031         ParagraphList paragraphs.
8032         (DeleteBuffer): delete
8033         (cutSelection): change the tc type to textclass_type
8034         (copySelection): change the tc type to textclass_type
8035         (copySelection): adjust for ParagraphList
8036         (pasteSelection): change the tc type to textclass_type
8037         (pasteSelection): adjust for Paragraphlist
8038         (nrOfParagraphs): simplify for ParagraphList
8039         (checkPastePossible): simplify for ParagraphList
8040         (checkPastePossible): remove unused arg
8041
8042         * ParagraphList.C (insert): handle the case where there are no
8043         paragraphs yet.
8044
8045         * CutAndPaste.h: make CutAndPaste a namespace.
8046
8047         * text3.C (dispatch): adjust
8048
8049         * text.C (breakParagraph): add a ParagraphList as arg
8050
8051         * paragraph_funcs.C (breakParagraph): change to take a
8052         BufferParams and a ParagraphList as args.
8053         (breakParagraphConservative): ditto
8054         (mergeParagraph): ditto
8055         (TeXDeeper): add a ParagraphList arg
8056         (TeXEnvironment): ditto
8057         (TeXOnePar): ditto
8058
8059         * buffer.C (readLyXformat2): adjust
8060         (insertStringAsLines): adjust
8061         (latexParagraphs): adjust
8062
8063         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8064         (cutSelection): adjust
8065         (pasteSelection): adjust
8066
8067         * BufferView_pimpl.C (insertInset): adjust
8068
8069 2003-03-05  Angus Leeming  <leeming@lyx.org>
8070
8071         * commandtags.h:
8072         * LyXAction.C (init):
8073         * BufferView_pimpl.C (dispatch):
8074         * lyxfunc.C (getStatus):
8075         remove LFUN_CHILD_INSERT.
8076
8077         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8078
8079 2003-03-05  Angus Leeming  <leeming@lyx.org>
8080
8081         * commandtags.h:
8082         * LyXAction.C (init):
8083         * src/factory.C (createInset):
8084         * lyxfunc.C (getStatus):
8085         * text3.C (dispatch):
8086         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8087
8088         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8089
8090 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8091
8092         * ParagraphList.C (insert): handle insert right before end()
8093         (erase): fix cases where it can be first or last paragraph.
8094
8095 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8096
8097         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8098         Paragraph::next and Paragraph::previous
8099         (TeXOnePar): ditto
8100
8101         * text.C (breakParagraph): adjust
8102
8103         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8104         BufferParams& as arg.
8105         (breakParagraph): use ParagraphList::insert
8106         (breakParagraphConservative): take a Buffer* instead of a
8107         BufferParams& as arg.
8108         (breakParagraphConservative): use ParagraphList::insert.
8109
8110         * buffer.C (insertStringAsLines): un-const it
8111         (insertStringAsLines): adjust
8112
8113         * ParagraphList.C (insert): new function
8114
8115         * CutAndPaste.C (pasteSelection): adjust
8116
8117         * text.C (backspace): adjust
8118
8119         * tabular.C (SetMultiColumn): adjust
8120
8121         * CutAndPaste.C (cutSelection): adjust
8122         (pasteSelection): adjust
8123
8124         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8125         Buffer const * as arg
8126
8127         * ParagraphList.C (erase): new function
8128         * paragraph_funcs.C (mergeParagraph): use it
8129         (mergeParagraph): make it take a Buffer* instead of a
8130         BufferParams* as arg
8131
8132         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8133         as arg
8134         (breakParagraphConservative): ditto
8135
8136         * paragraph.h: remove the breakParagraph friend
8137
8138         * paragraph.C (eraseIntern): new function
8139         (setChange): new function
8140
8141         * paragraph_funcs.C (mergeParagraph): make it take a
8142         ParagraphList::iterator instead of a Paragraph *, adjust
8143         accordingly.
8144
8145         * paragraph.h: move an #endif so that the change tracking stuff
8146         also works in the NO_NEXT case.
8147
8148 2003-03-04  Angus Leeming  <leeming@lyx.org>
8149
8150         * commandtags.h:
8151         * LyXAction.C: new LFUN_INSET_MODIFY.
8152
8153         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8154         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8155
8156 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8157
8158         * several files: ws changes only
8159
8160         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8161         (TeXEnvironment): ditto
8162         (TeXDeeper): ditto
8163
8164         * buffer.C (makeLaTeXFile): adjust
8165         (latexParagraphs): make it take ParagraphList::iterator as args
8166
8167 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8168
8169         * buffer.C (latexParagraphs): adjust
8170
8171         * paragraph.C (TeXOnePar): move function...
8172         (optArgInset): move function...
8173         (TeXEnvironment): move function...
8174         * paragraph_pimpl.C (TeXDeeper): move function...
8175         * paragraph_funcs.C: ...here
8176
8177         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8178
8179 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8180
8181         * buffer.C (readInset): remove compability code for old Figure and
8182         InsetInfo insets
8183
8184 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8185
8186         * buffer.C: ws changes
8187         (readInset):
8188
8189         * BufferView_pimpl.C: ditto
8190         * author.C: ditto
8191         * buffer.h: ditto
8192         * bufferlist.h: ditto
8193         * changes.h: ditto
8194         * lyxfunc.C: ditto
8195
8196 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8197
8198         * converter.[Ch]: split into itself +
8199         * graph.[Ch]
8200         * format.[Ch]
8201         * Makefile.am: += graph.[Ch] + format.[Ch]
8202         * MenuBackend.C
8203         * buffer.C
8204         * exporter.C
8205         * importer.C
8206         * lyx_main.C
8207         * lyxfunc.C
8208         * lyxrc.C: added #include "format.h"
8209
8210 2003-02-27  Angus Leeming  <leeming@lyx.org>
8211
8212         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8213           a label.
8214
8215         * factory.C (createInset): add "label" to the factory.
8216
8217         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8218           string and do no more.
8219
8220 2003-02-27  Angus Leeming  <leeming@lyx.org>
8221
8222         * commandtags.h:
8223         * LyXAction.C (init):
8224         * factory.C (createInset):
8225         * BufferView_pimpl.C (dispatch):
8226           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8227
8228         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8229
8230         * lyxfunc.C (dispatch):
8231         * text3.C (dispatch): pass name to params2string.
8232
8233 2003-02-26  Angus Leeming  <leeming@lyx.org>
8234
8235         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8236           blocks together.
8237           Rearrange the ~includes. Strip out the unnecessary ones.
8238
8239         * factory.C (createInset): reformat.
8240           create new insets for the various LFUN_XYZ_APPLY lfuns.
8241
8242 2003-02-26  John Levon  <levon@movementarian.org>
8243
8244         * lyxrow.h:
8245         * lyxrow.C: add isParStart,isParEnd helpers
8246
8247         * paragraph.h: make isInserted/DeletedText take refs
8248
8249         * paragraph_funcs.h:
8250         * paragraph_funcs.C: remove #if 0'd code
8251
8252         * lyxtext.h:
8253         * text3.C:
8254         * text2.C:
8255         * text.C: use lyxrow helpers above.
8256           Move draw and paint routines to RowPainter.
8257           Make several methods use refs not pointers.
8258           Make backgroundColor() const.
8259           Add markChangeInDraw(), isInInset().
8260           Merge changeRegionCase into changeCase.
8261           Make workWidth() shouldn't-happen code into an Assert.
8262
8263         * rowpainter.h:
8264         * rowpainter.C: new class for painting a row.
8265
8266         * vspace.h:
8267         * vspace.C: make inPixels take a ref
8268
8269 2003-02-26  Angus Leeming  <leeming@lyx.org>
8270
8271         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8272         LFUN_REF_APPLY.
8273
8274 2003-02-25  John Levon  <levon@movementarian.org>
8275
8276         * ispell.C: give the forked command a more accurate name
8277
8278 2003-02-22  John Levon  <levon@movementarian.org>
8279
8280         * toc.h:
8281         * toc.C: make TocItem store an id not a Paragraph *
8282           (bug #913)
8283
8284 2003-02-21  Angus Leeming  <leeming@lyx.org>
8285
8286         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8287           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8288           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8289           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8290           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8291           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8292
8293         * BufferView_pimpl.C (dispatch):
8294         * LyXAction.C (init):
8295         * factory.C (createInset):
8296         * lyxfunc.C (getStatus, dispatch):
8297         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8298
8299 2003-02-21  Angus Leeming  <leeming@lyx.org>
8300
8301         * BufferView_pimpl.C (MenuInsertLyXFile):
8302         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8303         * lyxfunc.C (menuNew, open, doImport):
8304           no longer pass a LyXView & to fileDlg.
8305
8306 2003-02-21  Angus Leeming  <leeming@lyx.org>
8307
8308         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8309         * LyXAction.C: change, BIBKEY to BIBITEM.
8310         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8311         Change InsetBibKey to InsetBibitem.
8312         Change BIBKEY_CODE to BIBITEM_CODE.
8313         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8314         * factory.C: replace insetbib.h with insetbibitem.h.
8315         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8316         * paragraph.C: replace insetbib.h with insetbibitem.h.
8317         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8318         Change bibkey() to bibitem().
8319         * text.C: remove insetbib.h.
8320         * text2.C: replace insetbib.h with insetbibitem.h.
8321         change bibkey() to bibitem().
8322         * text3.C: remove insetbib.h.
8323         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8324
8325 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8326
8327         * lyxrc.C (output): enclose user email in quotes (in case there are
8328         several words)
8329
8330 2003-02-18  John Levon  <levon@movementarian.org>
8331
8332         * buffer.h: add std::
8333
8334 2003-02-17  John Levon  <levon@movementarian.org>
8335
8336         * SpellBase.h:
8337         * ispell.h:
8338         * ispell.C:
8339         * pspell.h:
8340         * pspell.C: reworking. Especially in ispell, a large
8341           number of clean ups and bug fixes.
8342
8343         * lyxfunc.C: fix revert to behave sensibly
8344
8345 2003-02-17 André Pönitz <poenitz@gmx.net>
8346
8347         * LyXAction.C:
8348         * commandtags.h: new LFUN_INSERT_BIBKEY
8349
8350         * layout.h:
8351         * lyxlayout.C:
8352         * buffer.C:
8353         * factory.C:
8354         * text.C:
8355         * text2.C:
8356         * text3.C:
8357         * paragraph.[Ch]:
8358         * paragraph_func.C: remove special bibkey handling
8359
8360 2003-02-17  John Levon  <levon@movementarian.org>
8361
8362         * text.C (Delete): fix case where delete at the end of
8363           the very first paragraph would not merge the pars
8364
8365 2003-02-17  John Levon  <levon@movementarian.org>
8366
8367         * lyxrow.C: fix lastPrintablePos()
8368
8369 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8370
8371         * bufferparams.C (writeLaTeX): add a std:here
8372
8373         * buffer.C: and remove a using directive there
8374
8375 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8376
8377         * buffer.C (makeLaTeXFile): move the code that generates the
8378           preamble...
8379
8380         * bufferparams.C (writeLaTeX): ... in this new method
8381
8382         * LaTeXFeatures.C (getEncodingSet): make const
8383           (getLanguages): make const
8384
8385         * MenuBackend.C (binding): returns the binding associated to this
8386           action
8387           (add): sets the status of each item by calling getStatus. Adds
8388           some intelligence.
8389           (read): add support for OptSubMenu
8390           (expand): remove extra separator at the end of expanded menu
8391
8392 2003-02-15  John Levon  <levon@movementarian.org>
8393
8394         * BufferView.C:
8395         * BufferView_pimpl.C:
8396         * bufferlist.h:
8397         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8398           inset code that had no actual effect. Remove unneeded status
8399           code.
8400
8401 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8402
8403         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8404           in preamble
8405
8406 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8407
8408         * text.C (drawLengthMarker): also draw an arrow marker for
8409           symbolic lengths (medskip...)
8410
8411 2003-02-14  John Levon  <levon@movementarian.org>
8412
8413         * tabular.h:
8414         * tabular.C: better method names
8415
8416 2003-02-14  John Levon  <levon@movementarian.org>
8417
8418         * BufferView_pimpl.C:
8419         * bufferlist.C:
8420         * buffer.C:
8421         * converter.C:
8422         * lyx_cb.C:
8423         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8424           it's a more accurate name. Remove some pointless uses.
8425
8426 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8427
8428         * text2.C (LyXText): change order of initilizers to shut off
8429           warnings
8430
8431 2003-02-14  John Levon  <levon@movementarian.org>
8432
8433         * buffer.C: use ParIterator for getParFromID()
8434
8435         * paragraph.h:
8436         * paragraph.C:
8437         * paragraph_pimpl.h:
8438         * paragraph_pimpl.C: remove unused getParFromID()
8439
8440 2003-02-14  John Levon  <levon@movementarian.org>
8441
8442         * buffer.C: remove some very old #if 0'd parse code
8443
8444 2003-02-13  John Levon  <levon@movementarian.org>
8445
8446         * text.h:
8447         * text.C:
8448         * text2.C: move hfillExpansion(), numberOfSeparators(),
8449           rowLast(), rowLastPrintable(), numberofHfills(),
8450           numberOfLabelHfills() ...
8451
8452         * lyxrow.h:
8453         * lyxrow.C: ... to member functions here.
8454
8455         * paragraph.h:
8456         * paragraph.C:
8457         * lyxtext.h:
8458         * text.C: remove LyXText::beginningOfMainBody(), and call
8459           p->beginningOfMainBody() directly. Move the check for
8460           LABEL_MANUAL into the latter.
8461
8462         * text.h:
8463         * text.C:
8464         * text2.C:
8465         * vspace.C:
8466         * BufferView.h:
8467         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8468
8469         * text.h:
8470         * text.C:
8471         * text2.C:
8472         * text3.C:
8473         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8474           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8475
8476 2003-02-13  John Levon  <levon@movementarian.org>
8477
8478         * CutAndPaste.C: remove debug
8479
8480 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * paragraph.C (asString): remove two unused variables
8483
8484         * lyxtextclass.C (readTitleType):
8485           (Read):
8486           (LyXTextClass): handle new members titletype_ and titlename_
8487
8488         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8489
8490 2003-02-09  John Levon  <levon@movementarian.org>
8491
8492         * buffer.h:
8493         * buffer.C: replace hand-coded list with a map for the dep clean
8494
8495 2003-02-08  John Levon  <levon@movementarian.org>
8496
8497         * LaTeX.C: consolidate code into showRunMessage() helper
8498
8499 2003-02-08  John Levon  <levon@movementarian.org>
8500
8501         * lyxfind.C:
8502         * lyxtext.h:
8503         * text2.C:
8504         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8505           and pass the size in explicitly
8506
8507         * BufferView_pimpl.h:
8508         * BufferView_pimpl.C:
8509         * BufferView.h:
8510         * BufferView.C: add getCurrentChange()
8511
8512         * BufferView_pimpl.h:
8513         * BufferView_pimpl.C: handle change lfuns
8514
8515         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8516           for changes. Mark pasted paragraphs as new.
8517
8518         * support/lyxtime.h:
8519         * support/lyxtime.C:
8520         * DepTable.C: abstract time_t as lyx::time_type
8521
8522         * LColor.h:
8523         * LColor.C: add colours for new text, deleted text, changebars
8524
8525         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8526           package use "usenames" option.
8527
8528         * commandtags.h:
8529         * lyxfunc.C:
8530         * LyXAction.C: add change lfuns
8531
8532         * Makefile.am:
8533         * author.h:
8534         * author.C: author handling
8535
8536         * buffer.h:
8537         * buffer.C: add a per-buffer author list, with first entry as
8538           current author. Handle new .lyx tokens for change tracking. Output
8539           author list to .lyx file. Output dvipost stuff to .tex preamble.
8540           Bump lyx format to 222.
8541
8542         * bufferlist.h:
8543         * bufferlist.C: add setCurrentAuthor() to reset current author details
8544           in all buffers.
8545
8546         * bufferparams.h:
8547         * bufferparams.C: add param for tracking
8548
8549         * bufferview_funcs.C: output change info in minibuffer
8550
8551         * Makefile.am:
8552         * changes.h:
8553         * changes.C: add change-tracking structure
8554
8555         * debug.h:
8556         * debug.C: add CHANGES debug flag
8557
8558         * lyxfind.h:
8559         * lyxfind.C: add code for finding the next change piece
8560
8561         * lyxrc.h:
8562         * lyxrc.C: add user_name and user_email
8563
8564         * lyxrow.h:
8565         * lyxrow.C: add a metric for the top of the text line
8566
8567         * lyxtext.h:
8568         * text.C: implement accept/rejectChange()
8569
8570         * lyxtext.h:
8571         * text.C: paint changebars. Paint new/deleted text in the chosen
8572         colours. Strike through deleted text.
8573
8574         * paragraph.h:
8575         * paragraph.C:
8576         * paragraph_pimpl.h:
8577         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8578           in the current change to the insert functions. Rework erase to
8579           mark text as deleted, adding an eraseIntern() and a range-based
8580           erase(). Implement per-paragraph change lookup and
8581           accept/reject.
8582
8583         * paragraph_funcs.C: Fixup paste for change tracking.
8584
8585         * tabular.C: mark added row/columns as new.
8586
8587         * text.C: fix rowLast() to never return -1. Don't allow
8588           spellchecking of deleted text. Track transpose changes. Don't
8589           allow paragraph break or merge where appropriate.
8590
8591         * text2.C: leave cursor at end of selection after a cut.
8592
8593 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8594
8595         * text.C (getLengthMarkerHeight):
8596         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8597         visible on screen too.
8598
8599 2003-02-07  John Levon  <levon@movementarian.org>
8600
8601         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8602
8603 2003-02-05  Angus Leeming  <leeming@lyx.org>
8604
8605         * lyxserver.C (read_ready): revert my patch of 11 September last year
8606         as it sends PC cpu through the roof. Presumably this means that
8607         the lyxserver will no longer run on an Alpha...
8608
8609 2003-01-30  Angus Leeming  <leeming@lyx.org>
8610
8611         * factory.C (createInset): create an InsetCommandParam of type "index"
8612         and use it to 'do the right thing'.
8613
8614         * text2.C (getStringToIndex): ensure that cursor position is always
8615         reset to the reset_cursor position.
8616
8617 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8618
8619         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8620         disabled.
8621
8622 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8623
8624         * bufferview.C:
8625         * lyxcb.C:
8626         * lyxfunc.C: Output messages with identical spelling, punctuation,
8627         and spaces
8628
8629 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8630
8631         * MenuBackend.C (expandFormats): List only viewable export formats
8632         in "View" menu
8633
8634         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8635         message
8636
8637         * lyxfunc.C (getStatus): Make sure that formats other than
8638         "fax" can also be disabled
8639
8640 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8641
8642         * text3.C (dispatch): put the lfuns that insert insets in 3
8643         groups, and call doInsertInset with appropriate arguments.
8644         (doInsertInset): new function, that creates an inset and inserts
8645         it according to some boolean parameters.
8646
8647 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8648
8649         * buffer.C (readFile): remember to pass on 'par' when calling
8650         readFile recursively.
8651
8652 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8653
8654         * MenuBackend.C (expandFormats): add "..." to import formats.
8655
8656 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8657
8658         * paragraph.C (asString): Remove XForms RTL hacks.
8659
8660 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8661         * buffer.C: fix typo
8662
8663 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * Makefile.am (LIBS): delete var
8666         (lyx_LDADD): add @LIBS@ here instead.
8667
8668 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8669
8670         * Clarify the meaning of "wheel mouse jump"
8671
8672 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8673
8674         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8675         tabular in a float
8676
8677 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8678
8679         * importer.C (Loaders): do not preallocate 3 elements in the
8680         vector, since one ends up with 6 elements otherwise
8681
8682 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8683
8684         * DepTable.C (write): write the file name as last element of the
8685         .dep file (because it may contain spaces)
8686         (read): read info in the right order
8687
8688 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8689
8690         * paragraph_pimpl.C (simpleTeXBlanks):
8691         (simpleTeXSpecialChars):
8692         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8693
8694         * tabular.C (latex): add some missing case statements. Reindent.
8695
8696         * MenuBackend.C (expandToc): remove unused variable.
8697
8698 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8699
8700         * LColor.C:
8701         * LaTeX.C:
8702         * LyXAction.C:
8703         * MenuBackend.C:
8704         * buffer.C:
8705         * exporter.C:
8706         * lyxfunc.C:
8707         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8708         and the like.
8709
8710 2003-01-05  John Levon  <levon@movementarian.org>
8711
8712         * BufferView.h:
8713         * BufferView.C: add getEncoding()
8714
8715         * kbsequence.h:
8716         * kbsequence.C: do not store last keypress
8717
8718         * lyxfunc.h:
8719         * lyxfunc.C: store last keypress here instead. Pass encoding
8720           to getISOEncoded()
8721
8722 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8723
8724         * lyx_main.C (init): remove annoying error message when following
8725         symbolic links (bug #780)
8726
8727 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8728
8729         * text.C (insertChar):
8730         * lyxrc.C (getDescription): remove extra spaces
8731
8732 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8733
8734         * lyxrc.C (getDescription): remove extra spaces
8735
8736 2002-12-20  John Levon  <levon@movementarian.org>
8737
8738         * text3.C: hack fix for page up/down across tall rows
8739
8740 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8741
8742         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8743         not been invoked
8744
8745 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8746
8747         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8748         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8749         thesaurus is not compiled in
8750
8751 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8752
8753         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8754
8755 2002-12-16  Angus Leeming  <leeming@lyx.org>
8756
8757         * lyxrc.[Ch]:
8758         * lyx_main.C (init): remove override_x_deadkeys stuff.
8759
8760 2002-12-12  John Levon  <levon@movementarian.org>
8761
8762         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8763           insert. Only remove shift modifier under strict
8764           circumstances.
8765
8766 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8767
8768         * MenuBackend.C (expandToc): fix crash.
8769
8770 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8771
8772         * MenuBackend.C (expandToc): gettext on float names.
8773
8774 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8775
8776         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8777         implement bool empty() [bug 490]
8778
8779 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8780
8781         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8782
8783 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8784
8785         * several files: ws changes
8786
8787 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8788
8789         * text2.C (setCounter): clean up a bit, use boost.format.
8790         (updateCounters): initialize par upon declaration.
8791
8792         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8793         if the layout exists. We do not just store the layout any more.
8794         (SwitchLayoutsBetweenClasses): use boost.format
8795
8796 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8797
8798         * converter.C (convert): if from and to files are the same, use a
8799         temporary files as intermediary
8800
8801 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8802
8803         * commandtags.h:
8804         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8805
8806 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8807
8808         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8809
8810 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8811
8812         * tabular.C (asciiPrintCell): use string(size, char) instead of
8813         explicit loop.
8814
8815         * sgml.C (openTag): fix order of arguments to string constructor
8816         (closeTag): ditto
8817
8818         * lyxfunc.C (dispatch): use boost.format
8819
8820         * lots of files: change "c" -> 'c'
8821
8822 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8823
8824         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8825
8826 2002-11-25  Angus Leeming  <leeming@lyx.org>
8827
8828         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8829
8830         * lyx_main.C (init): compile fix.
8831
8832 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8833
8834         * lyx_cb.C (start): boost.formatify
8835         do not include <iostream>
8836
8837         * lengthcommon.C: ws only
8838
8839         * boost-inst.C,BoostFormat.h: add more explict instantations
8840
8841 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8842
8843         * lots of files: handle USE_BOOST_FORMAT
8844
8845 2002-11-21  John Levon  <levon@movementarian.org>
8846
8847         * pspell.C: fix compile
8848
8849 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8850
8851         * lyxfunc.C (dispatch): use boost::format
8852         (open): ditto
8853         (doImport): ditto
8854
8855         * lyxfont.C (stateText): use boost::format
8856
8857         * lyx_main.C (LyX): use boost::format
8858         (init): ditto
8859         (queryUserLyXDir): ditto
8860         (readRcFile): ditto
8861         (parse_dbg): ditto
8862         (typedef boost::function): use the recommened syntax.
8863
8864         * importer.C (Import): use boost::format
8865
8866         * debug.C (showLevel): use boost::format
8867
8868         * converter.C (view): use boost::format
8869         (convert): ditto
8870         (move): ditto
8871         (scanLog): ditto
8872
8873         * bufferview_funcs.C (currentState): use boost::format
8874
8875         * bufferlist.C (emergencyWrite): use boost::format
8876
8877         * buffer.C (readLyXformat2): use boost::format
8878         (parseSingleLyXformat2Token): ditto
8879
8880         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8881
8882         * LaTeX.C (run): use boost::format
8883
8884         * Chktex.C (scanLogFile): use boost::format
8885
8886         * BufferView_pimpl.C (savePosition): use boost::format
8887         (restorePosition): ditto
8888         (MenuInsertLyXFile): ditto
8889
8890         * BoostFormat.h: help file for explicit instation.
8891
8892 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8893
8894         * tabular.C (latex): Support for block alignment in fixed width
8895         columns.
8896
8897 2002-11-17  John Levon  <levon@movementarian.org>
8898
8899         * BufferView_pimpl.C:
8900         * lyx_cb.C:
8901         * lyxfunc.C: split filedialog into open/save
8902
8903 2002-11-08  Juergen Vigna  <jug@sad.it>
8904
8905         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8906         by my last patch (hopefully).
8907
8908 2002-11-08  John Levon  <levon@movementarian.org>
8909
8910         * iterators.h:
8911         * iterators.C:
8912         * buffer.h:
8913         * buffer.C:
8914         * paragraph.h:
8915         * paragraph.C:
8916         * toc.h:
8917         * toc.C: ParConstIterator, and use it (from Lars)
8918
8919 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8920
8921         * lyxtextclass.[Ch]: revise and add doxygen comments
8922
8923 2002-11-07  John Levon  <levon@movementarian.org>
8924
8925         * text.C: fix progress value for spellchecker
8926
8927         * toc.C: fix navigate menu for insetwrap inside minipage
8928
8929         * paragraph_funcs.C: added FIXME for suspect code
8930
8931 2002-11-07  John Levon  <levon@movementarian.org>
8932
8933         * BufferView_pimpl.C: fix redrawing of insets
8934           on buffer switch
8935
8936 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8937
8938         * text2.C (updateCounters): fix bug 668
8939
8940 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8941
8942         * text3.C (dispatch): Do not make the buffer dirty when moving the
8943         cursor.
8944
8945 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8946
8947         * vc-backend.C: STRCONV
8948         (scanMaster): ditto
8949
8950         * text2.C (setCounter): STRCONV
8951
8952         * paragraph.C (asString): STRCONV
8953
8954         * lyxlength.C (asString): STRCONV
8955         (asLatexString): ditto
8956
8957         * lyxgluelength.C (asString): STRCONV
8958         (asLatexString): ditto
8959
8960         * lyxfunc.C (dispatch): STRCONV
8961         (open): ditto
8962
8963         * lyxfont.C (stateText): STRCONV
8964
8965         * importer.C (Import): STRCONV
8966
8967         * counters.C (labelItem): STRCONV
8968         (numberLabel): ditto
8969         (numberLabel): remove unused ostringstream o
8970
8971         * chset.C: STRCONV
8972         (loadFile): ditto
8973
8974         * bufferview_funcs.C (currentState): STRCONV
8975
8976         * buffer.C (readFile): STRCONV
8977         (asciiParagraph): ditto
8978         (makeLaTeXFile): ditto
8979
8980         * Spacing.C (writeEnvirBegin): STRCONV
8981
8982         * LaTeXFeatures.C (getLanguages): STRCONV
8983         (getPackages): ditto
8984         (getMacros): ditto
8985         (getBabelOptions): ditto
8986         (getTClassPreamble): ditto
8987         (getLyXSGMLEntities): ditto
8988         (getIncludedFiles): ditto
8989
8990         * LaTeX.C: STRCONV
8991         (run): ditto
8992         (scanAuxFile): ditto
8993         (deplog): ditto
8994
8995         * LString.h: add the STRCONV macros
8996
8997         * BufferView_pimpl.C (savePosition): STRCONV
8998         (restorePosition): ditto
8999         (MenuInsertLyXFile): ditto
9000
9001         * vc-backend.C (scanMaster): change from submatch[...] to
9002         submatch.str(...)
9003
9004         * funcrequest.C: include config.h
9005
9006         * factory.C: include config.h
9007
9008         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9009
9010         * box.C: include config.h
9011
9012         * LaTeX.C (scanAuxFile): change from submatch[...] to
9013         submatch.str(...)
9014         (deplog): ditto
9015
9016 2002-10-25  Angus Leeming  <leeming@lyx.org>
9017
9018         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9019
9020         * ispell.[Ch] (setError): new method.
9021         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9022         Use setError() insetead of goto END.
9023
9024         * lyx_cb.C (AutoSave): move out child process into new class
9025         AutoSaveBuffer.
9026
9027 2002-10-30  John Levon  <levon@movementarian.org>
9028
9029         * text3.C: make start appendix undoable
9030
9031 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9032
9033         * lyxlength.C (inPixels): Fix returned value.
9034
9035         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9036         environment.
9037
9038 2002-10-24  Angus Leeming  <leeming@lyx.org>
9039
9040         * lyxgluelength.h: no need to forward declare BufferParams
9041         or BufferView, so don't.
9042
9043 2002-10-21  John Levon  <levon@movementarian.org>
9044
9045         * BufferView.C: menuUndo ->undo, redo
9046
9047         * BufferView.h: document, remove dead, make some methods private
9048
9049         * paragraph_funcs.h:
9050         * paragraph_funcs.C:
9051         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9052
9053         * buffer.h:
9054         * buffer.C:
9055         * sgml.h:
9056         * sgml.C: move sgml open/close tag into sgml.C
9057
9058         * bufferview_funcs.h: unused prototype
9059
9060         * lyxfunc.h:
9061         * lyxfunc.C: remove unused
9062
9063         * lyxtext.h:
9064         * text.C: remove unused
9065
9066 2002-10-21  John Levon  <levon@movementarian.org>
9067
9068         * BufferView.h:
9069         * BufferView.C:
9070         * BufferView_pimpl.h:
9071         * BufferView_pimpl.C: fix mouse wheel handling based on
9072           patch from Darren Freeman
9073
9074 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9075
9076         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9077
9078 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9079
9080         * lyxlength.C (inPixels): Fix hanfling of negative length.
9081         Fix LyXLength::MU case.
9082
9083 2002-10-16  John Levon  <levon@movementarian.org>
9084
9085         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9086
9087 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9088
9089         * converter.C (view): add support for $$i (file name) and $$p
9090         (file path) for the viewer command. If $$i is not specified, then
9091         it is appended to the command (for compatibility with old syntax)
9092
9093 2002-10-14  Juergen Vigna  <jug@sad.it>
9094
9095         * undo_funcs.C (textHandleUndo): alter the order in which the
9096         new undopar is added to the LyXText, as we have to set first
9097         the right prev/next and then add it as otherwise the rebuild of
9098         LyXText is not correct. Also reset the cursor to the right paragraph,
9099         with this IMO we could remove the hack in "redoParagraphs()".
9100
9101 2002-10-09  Angus Leeming  <leeming@lyx.org>
9102
9103         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9104         to turn off an optimisation if a new inset is to be inserted.
9105
9106 2002-10-11 André Pönitz <poenitz@gmx.net>
9107
9108         * lyxtext.h: make some functions public to allow access
9109         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9110
9111 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9112
9113         * text3.C (dispatch): when changing layout, avoid an infinite loop
9114         [bug #652]
9115
9116 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9117
9118         * lyxrc.C (read): treat a viewer or converter command of "none" as
9119         if it were empty.
9120
9121         * MenuBackend.C (expandFormats): for an update, also allow the
9122         formats that are not viewable
9123
9124         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9125         script if it is newer than the lyxrc.defaults in user directory
9126
9127 2002-10-07 André Pönitz <poenitz@gmx.net>
9128
9129         * text.C: Vitaly Lipatov's small i18n fix
9130
9131 2002-09-25  Angus Leeming  <leeming@lyx.org>
9132
9133         * ispell.h: doxygen fix.
9134
9135 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9136
9137         * buffer.h (readFile): Add a new argument to the method, to allow
9138         reading of old-format templates.
9139
9140 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9141
9142         * toc.C (getTocList): Get TOC from InsetWrap.
9143
9144 2002-09-16  John Levon  <levon@movementarian.org>
9145
9146         * lyxfunc.C: check tabular for cut/copy too
9147
9148 2002-09-12  John Levon  <levon@movementarian.org>
9149
9150         * LyXAction.C: tidy
9151
9152         * factory.h:
9153         * factory.C: add header
9154
9155         * paragraph_funcs.h:
9156         * paragraph_funcs.C: cleanup
9157
9158 2002-09-11  John Levon  <levon@movementarian.org>
9159
9160         * PrinterParams.h: odd/even default to true
9161
9162 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9163
9164         * PrinterParams.h: update printer parameters for new xforms dialog
9165
9166 2002-09-11  Angus Leeming  <leeming@lyx.org>
9167
9168         * lyxserver.C (read_ready): re-write to make it more transparent
9169         and to make it work in coherent fashion under Tru64 Unix.
9170
9171 2002-09-11  André Pönitz <poenitz@gmx.net>
9172
9173         * commandtags.h:
9174         * LyXAction.C:
9175         * text3.C: implement LFUN_WORDSEL
9176
9177 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9178
9179         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9180         make floatlist_ a boost::shared_ptr<FloatList>
9181
9182         * lyxtextclass.C: include FloatList.h
9183         (LyXTextClass): initialize floatlist_
9184         (TextClassTags): add TC_NOFLOAT
9185         (Read): match "nofloat" to TC_NOFLOAT and use it.
9186         (readFloat): modify call to floatlist_
9187         (floats): ditto
9188         (floats): ditto
9189
9190         * FloatList.[Ch] (FloatList): remove commented out float
9191         initialization.
9192         (erase): new function
9193
9194 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9195
9196         * MenuBackend.C (expandToc): fix crash when there is no document
9197         open
9198
9199 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9200
9201         * many files: Add insetwrap.
9202
9203 2002-09-09  John Levon  <levon@movementarian.org>
9204
9205         * text2.C: remove confusing and awkward depth wraparound
9206
9207 2002-09-09  John Levon  <levon@movementarian.org>
9208
9209         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9210
9211         * buffer.h:
9212         * buffer.C: remove getIncludeonlyList()
9213
9214         * paragraph.C:
9215         * lyxfunc.C: remove headers
9216
9217 2002-09-09  Juergen Vigna  <jug@sad.it>
9218
9219         * text.C (getColumnNearX): fix form Michael this is most
9220         probably a cut&paste bug.
9221
9222 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9225
9226         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9227         references, ws changes.
9228
9229         * text2.C (init): update counters after init
9230         (insertParagraph): no need to set counter on idividual paragraphs.
9231         (setCounter): access the counters object in the textclass object
9232         on in the buffer object.
9233         (updateCounters): ditto
9234
9235         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9236         shared_ptr<Counters> to avoid loading counters.h in all
9237         compilation units.
9238         (LyXTextClass): initialize ctrs_
9239         (TextClassTags): add TC_COUNTER, and ...
9240         (Read): use it here.
9241         (CounterTags): new tags
9242         (readCounter): new function
9243         (counters): new funtion
9244         (defaultLayoutName): return a const reference
9245
9246         * counters.C (Counters): remove contructor
9247         (newCounter): remove a couple of unneeded statements.
9248         (newCounter): simplify a bit.
9249         (numberLabel): some small formatting changes.
9250
9251         * buffer.[Ch]: remove all traces of counters, move the Counters
9252         object to the LyXTextClass.
9253
9254 2002-09-06  Alain Castera  <castera@in2p3.fr>
9255
9256         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9257         package to set the horizontal alignment on fixed width columns.
9258
9259         * lyx_sty.C:
9260         * lyx_sty.h: added tabularnewline macro def.
9261
9262         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9263
9264 2002-09-06  John Levon  <levon@movementarian.org>
9265
9266         * LyXAction.C: tooltips for sub/superscript
9267
9268         * MenuBackend.C: a bit more verbose
9269
9270         * lyxfunc.C: tiny clean
9271
9272         * undo_funcs.C: document undo_frozen
9273
9274 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9275
9276         * counters.C (Counters): add missing algorithm counter.
9277
9278         * text2.C (setCounter): lookup the counter with layouts latexname
9279         instead of by section number.
9280         (setCounter): use a hackish way to lookup the correct enum
9281         counter.
9282         a float name->type change
9283         reset enum couners with counter name directly instead of depth value.
9284
9285         * counters.C (Counters): remove the push_backs, change to use the
9286         float type not the float name.
9287         (labelItem): remove unused string, float name->type change
9288
9289         * counters.h: don't include vector, loose the enums and sects vectors
9290
9291 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9292
9293         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9294         (Read): add float->TC_FLOAT to textclassTags
9295         (Read): and handle it in the switch
9296         (readFloat): new function
9297
9298         * FloatList.C (FloatList): comment out the hardcoded float
9299         definitions.
9300
9301         * lyxlayout.h: ws change.
9302
9303 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9304
9305         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9306
9307 2002-09-03  Angus Leeming  <leeming@lyx.org>
9308
9309         * BufferView_pimpl.h: qualified name is not allowed in member
9310         declaration: WorkArea & Pimpl::workarea() const;
9311
9312         * factory.C: added using std::endl directive.
9313
9314         * text3.C: added using std::find and std::vector directives.
9315
9316 2002-08-29  André Pönitz <poenitz@gmx.net>
9317
9318         * lyxtext.h:
9319         * text2.C: remove unused member number_of_rows
9320
9321         * Makefile.am:
9322         * BufferView2.C: remove file, move contents to...
9323         * BufferView.C: ... here
9324
9325         * BufferView_pimpl.C:
9326         * factory.C: move more inset creation to factory
9327
9328         * vspace.C: avoid direct usage of LyXText, ws changes
9329
9330         * BufferView.[Ch]:
9331                 don't provide direct access to WorkArea, use two simple
9332                 acessors haveSelction() and workHeight() instead
9333
9334
9335 2002-08-29  John Levon  <levon@movementarian.org>
9336
9337         * BufferView_pimpl.C (dispatch): do not continue when
9338           no buffer
9339
9340 2002-08-28  André Pönitz <poenitz@gmx.net>
9341
9342         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9343
9344         * BufferView.h:
9345         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9346
9347 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9348
9349         * buffer.C: increment LYX_FORMAT to 221
9350
9351         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9352         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9353
9354         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9355
9356         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9357
9358 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9359
9360         * factory.C (createInset): use LyXTextClass::floats
9361
9362         * MenuBackend.C (expandFloatListInsert):
9363         (expandFloatInsert):
9364         (expandToc):
9365
9366         * text2.C (setCounter):
9367
9368         * LaTeXFeatures.C (useFloat):
9369         (getFloatDefinitions):
9370
9371         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9372
9373         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9374         floatlist_, with accessor floats().
9375
9376         * FloatList.h: remove global FloatList
9377
9378 2002-08-26  André Pönitz <poenitz@gmx.net>
9379
9380         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9381
9382         * BufferView.h:
9383         * BufferView2.C:
9384         * BufferView_pimpl.C:
9385         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9386
9387 2002-08-25  John Levon  <levon@movementarian.org>
9388
9389         * LyXAction.C: fix margin note description
9390
9391 2002-08-24  John Levon  <levon@movementarian.org>
9392
9393         * buffer.C:
9394         * bufferlist.C:
9395         * bufferview_funcs.C:
9396         * lyxfont.C:
9397         * undo_funcs.C: cleanups
9398
9399         * lyxfunc.C: disable CUT/COPY when no selection
9400
9401 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9402
9403         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9404         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9405
9406         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9407         Add backward compatibility to "mono", "gray" and "no".
9408
9409 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9410
9411         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9412         (and file_format >= 200).
9413
9414 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9415
9416         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9417
9418 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9419
9420         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9421
9422 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9423
9424         * BufferView_pimpl.C:
9425         * LyXAction.C:
9426         * buffer.C:
9427         * commandtags.h:
9428         * lyxfunc.C:
9429         * paragraph.[Ch]:
9430         * text2.C:
9431         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9432         inset and code to make it  work with the paragraph code. The inset
9433         can be anywhere in the paragraph, but will only do the expected
9434         thing in LaTeX if the layout file contains the parameter line
9435                         OptionalArgs    1
9436         (or more generally, a nonzero value) for that layout.
9437
9438 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9439
9440         * paragraph.h: remove the declaration of undefined counters class
9441         function.
9442
9443 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9444
9445         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9446         Dr. Richard Hawkins.
9447
9448 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * paragraph_funcs.h: remove some unneeded includes
9451
9452         * text.C (backspace): pasteParagraph now in global scipe
9453
9454         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9455         (pasteSelection): ditto
9456
9457         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9458         * paragraph_funcs.C (pasteParagraph): ... here
9459
9460 2002-08-20  André Pönitz <poenitz@gmx.net>
9461
9462         * commandtags.h: new LFUNs for swapping/copying table row/colums
9463
9464         * LyXAction.C:
9465         * lyxfunc.C: support for new lfuns
9466
9467 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9468
9469         * tabular.C:
9470         * buffer.[Ch]: remove NO_COMPABILITY stuff
9471
9472 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9473
9474         * boost.C (throw_exception): new file, with helper function for
9475         boost compiled without exceptions.
9476
9477         * paragraph.h:
9478         * lyxlength.C:
9479         * buffer.C:
9480         * ParameterStruct.h:
9481         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9482
9483         * bufferlist.C (emergencyWriteAll): use boost bind
9484
9485         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9486
9487         * text.C: include paragraph_funcs.h
9488         (breakParagraph): breakParagraph is now in global scope
9489
9490         * paragraph_funcs.[Ch]: new files
9491
9492         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9493         global scope
9494
9495         * buffer.C: include paragraph_funcs.h
9496         (insertStringAsLines): breakParagraph is now in global scope
9497
9498         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9499         paragraph_funcs.C
9500
9501         * CutAndPaste.C: include paragraph_funcs.h
9502         (cutSelection): breakParagraphConservative is now in global scope
9503         (pasteSelection): ditto
9504
9505         * buffer.h: declare oprator== and operator!= for
9506         Buffer::inset_iterator
9507
9508         * bufferlist.C (emergencyWrite): don't use fmt(...)
9509
9510         * text3.C: add using std::endl
9511
9512         * BufferView.C (moveCursorUpdate): remove default arg
9513
9514 2002-08-20  André Pönitz <poenitz@gmx.net>
9515
9516         * buffer.[Ch]: move inline functions to .C
9517
9518         * BufferView2.C:
9519         * BufferView_pimpl.C:
9520         * text.C:
9521         * buffer.[Ch]: use improved inset_iterator
9522
9523         * buffer.C:
9524         * paragraph.[Ch]: write one paragraph at a time
9525
9526 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9527
9528         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9529         style if style is not specified.
9530
9531 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9532
9533         * text2.C (setCounter): when searching for right label for a
9534         caption, make sure to recurse to parent insets (so that a caption
9535         in a minipage in a figure float works) (bug #568)
9536
9537 2002-08-20  André Pönitz <poenitz@gmx.net>
9538
9539         * text3.C: new file for LyXText::dispatch() and helpers
9540
9541         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9542
9543         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9544
9545 2002-08-19  André Pönitz <poenitz@gmx.net>
9546
9547         * lyxtext.h:
9548         * text.C: new LyXText::dispatch()
9549
9550         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9551
9552 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9553
9554         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9555
9556         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9557         Hebrew text.
9558
9559 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9560
9561         * Makefile.am: use $(variables) instead of @substitutions@
9562
9563 2002-08-15  André Pönitz <poenitz@gmx.net>
9564
9565         * lyxfunc.C:
9566         * BufferView_pimpl.C: streamlining mathed <-> outer world
9567         interaction
9568
9569         * commandtags.h:
9570         * LyXAction.C: remove unused LFUN_MATH
9571
9572 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9573
9574         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9575
9576 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9577
9578         * paragraph.C (Paragraph): reformat a bit
9579         (cutIntoMinibuffer): use builtin InsetList function instad of
9580         doing it manually.
9581         (getInset): ditto
9582
9583         * buffer.C: include boost/bind.hpp, add using std::for_each
9584         (writeFileAscii): use ParagraphList iterators
9585         (validate): use for_each for validate traversal of paragraphs
9586         (getBibkeyList): use ParagraphList iterators
9587         (resizeInsets): use for_each to resizeInsetsLyXText for all
9588         paragraphs.
9589         (getParFromID): use ParagraphList iterators
9590
9591         * BufferView2.C (lockInset): use paragraph list and iterators
9592
9593 2002-08-14  John Levon  <levon@movementarian.org>
9594
9595         * lyxserver.C: remove spurious xforms include
9596
9597 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9598
9599         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9600
9601 2002-08-13  André Pönitz <poenitz@gmx.net>
9602
9603         * LyXAction.[Ch]:
9604         * lyxfunc.C: further cleaning
9605
9606 2002-08-13  André Pönitz <poenitz@gmx.net>
9607
9608         * funcrequest.h: new constructor
9609
9610         * funcrequest.C: move stuff here from .h
9611
9612         * Makefile.am:
9613         * BufferView_pimpl.C:
9614         * LyXAction.C:
9615         * toc.C:
9616         * lyxfunc.C: subsequent changes
9617
9618         * lyxfunc.h: new view() member function
9619
9620         * lyxfunc.C: subsequent changes
9621
9622 2002-08-13  Angus Leeming  <leeming@lyx.org>
9623
9624         * BufferView2.C:
9625         * BufferView_pimpl.C:
9626         * buffer.C:
9627         * converter.C:
9628         * importer.C:
9629         * lyxfunc.C:
9630         * lyxvc.C:
9631         * toc.C:
9632         * vc-backend.C:
9633         changes due to the changed LyXView interface that now returns references
9634         to member variables not pointers.
9635
9636 2002-08-13  Angus Leeming  <leeming@lyx.org>
9637
9638         * WordLangTuple (word, lang_code): return references to strings,
9639         not strings.
9640
9641         * BufferView.h:
9642         * SpellBase.h:
9643         * lyxtext.h: forward-declare WordLangTuple.
9644
9645         * BufferView2.C:
9646         * ispell.C:
9647         * pspell.C:
9648         * text.C: #include "WordLangTuple.h".
9649
9650         * lyxtext.h:
9651         * text.C: (selectNextWordToSpellcheck): constify return type.
9652
9653 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9654
9655         * buffer.C:
9656         * buffer.h:
9657         * lyxtext.h:
9658         * paragraph.C:
9659         * paragraph_pimpl.h:
9660         * text.C:
9661         * text2.C:
9662         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9663         suggested by Angus.
9664         Made updateCounter always count from start of buffer, and removed
9665         second argument (par).
9666         Reverted floats number display to '#'. Perhaps I'll try again when the
9667         code base is sanitized a bit.
9668
9669 2002-08-12  Angus Leeming  <leeming@lyx.org>
9670
9671         * buffer.[Ch] (getLabelList): constify.
9672
9673 2002-08-07  André Pönitz <poenitz@gmx.net>
9674
9675         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9676
9677         * funcrequest.h: extension to keep mouse (x,y) position
9678
9679 2002-08-12  Juergen Vigna  <jug@sad.it>
9680
9681         * BufferView2.C (insertErrors): forbid undo when inserting error
9682         insets.
9683
9684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9685
9686 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9687
9688         * ParagraphList.[Ch]: new files
9689
9690         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9691
9692         * BufferView2.C (lockInset): ParagraphList changes
9693         * toc.C: ditto
9694         * text2.C: ditto
9695         * bufferlist.C: ditto
9696         * buffer.h: ditto
9697         * buffer.C: ditto
9698
9699 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9700
9701         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9702         unused class variable counter_,
9703
9704         * paragraph.[Ch] (getFirstCounter): delete unused function
9705
9706         * counters.C: include LAssert.h
9707         (reset): add a new function with no arg, change other version to
9708         not have def. arg and to not allow empty arg.
9709
9710         * text2.C (setCounter): remove empty arg from call to Counters::reset
9711
9712 2002-08-11  John Levon  <levon@movementarian.org>
9713
9714         * Makefile.am: add WordLangTuple.h
9715
9716 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9717
9718         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9719         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9720
9721         * insets/insettext.C: InsetList changes
9722
9723         * graphics/GraphicsSupport.C (operator()): InsetList changes
9724
9725         * toc.C (getTocList): InsetList changes
9726
9727         * paragraph_pimpl.[Ch]: InsetList changes
9728
9729         * paragraph.[Ch]: InsetList changes
9730
9731         * buffer.C (inset_iterator): InsetList changes
9732         (setParagraph): ditto
9733         * buffer.h (inset_iterator): ditto
9734         * iterators.C (operator++): ditto
9735         * iterators.h: ditto
9736
9737         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9738
9739         * InsetList.[Ch]: new files, most InsetList handling moved out of
9740         paragraph.C.
9741
9742         * BufferView2.C (removeAutoInsets): InsetList changes
9743         (lockInset): ditto
9744         (ChangeInsets): ditto
9745
9746 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9747
9748         * paragraph_pimpl.h (empty): new function
9749
9750         * paragraph.[Ch] (empty): new function
9751
9752         * other files: use the new Paragraph::empty function
9753
9754 2002-08-09  John Levon  <levon@movementarian.org>
9755
9756         * lyxtext.h: remove unused refresh_height
9757
9758 2002-08-09  John Levon  <levon@movementarian.org>
9759
9760         * Makefile.am:
9761         * sgml.h:
9762         * sgml.C:
9763         * buffer.C:
9764         * paragraph.h:
9765         * paragraph.C: move sgml char escaping out of paragraph
9766
9767         * paragraph.h:
9768         * paragraph.C: remove id setter
9769
9770         * buffer.C:
9771         * paragraph.C:
9772         * paragraph_pimpl.C: remove dead tex_code_break_column
9773
9774         * bufferview_funcs.C: small cleanup
9775
9776         * lyxfunc.C: remove dead proto
9777
9778         * lyxtext.h: make some stuff private. Remove some dead stuff.
9779
9780         * lyxgluelength.C: make as[LyX]String() readable
9781
9782 2002-08-08  John Levon  <levon@movementarian.org>
9783
9784         * LyXAction.h:
9785         * LyXAction.C:
9786         * MenuBackend.C:
9787         * ToolbarDefaults.C:
9788         * lyxfunc.C:
9789         * lyxrc.C:
9790         * toc.C: lyxaction cleanup
9791
9792 2002-08-08  John Levon  <levon@movementarian.org>
9793
9794         * BufferView2.C: small cleanup
9795
9796         * lyxfind.h:
9797         * lyxfind.C: move unnecessary header into the .C
9798
9799 2002-08-08  John Levon  <levon@movementarian.org>
9800
9801         * funcrequest.h: just tedious nonsense
9802
9803         * lyx_main.h:
9804         * lyx_main.C: cleanups
9805
9806         * buffer.C:
9807         * vspace.C: remove dead header lyx_main.h
9808
9809 2002-08-07  Angus Leeming  <leeming@lyx.org>
9810
9811         * Paragraph.[Ch]:
9812         * paragraph_pimpl.h:
9813         Forward declare class Counters in paragraph.h by moving the ctrs member
9814         variable into Paragraph::Pimpl.
9815         (counters): new method, returning a reference to pimpl_->ctrs.
9816
9817         * text2.C: ensuing changes.
9818
9819 2002-08-07  John Levon  <levon@movementarian.org>
9820
9821         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9822
9823         * BufferView_pimpl.C: announce X selection on double/triple
9824           click
9825
9826         * lyx_main.C: use correct bool in batch dispatch
9827
9828         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9829
9830 2002-08-07  André Pönitz <poenitz@gmx.net>
9831
9832         * funcrequest.h: new class to wrap a kb_action and its argument
9833
9834         * BufferView.[Ch]:
9835         * BufferView_pimpl[Ch]:
9836         * LaTeX.C:
9837         * LyXAction.[Ch]:
9838         * lyxfunc.[Ch]:
9839         * lyxrc.C: subsequent changes
9840
9841
9842 2002-08-07  John Levon  <levon@movementarian.org>
9843
9844         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9845           document options change.
9846
9847 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9848
9849         * counters.[Ch]
9850         * text2.C
9851         * paragraph.[Ch]
9852         * makefile.am: move counters functionality over from
9853         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9854
9855 2002-08-06  John Levon  <levon@movementarian.org>
9856
9857         * WordLangTuple.h: new file for word + language code tuple
9858
9859         * SpellBase.h:
9860         * pspell.h:
9861         * pspell.C:
9862         * ispell.h:
9863         * ispell.C:
9864         * lyxtext.h:
9865         * text.C:
9866         * text2.C:
9867         * BufferView.h:
9868         * BufferView2.C: use WordLangTuple
9869
9870         * layout.h:
9871         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9872
9873 2002-08-06  John Levon  <levon@movementarian.org>
9874
9875         * lyx_main.C: fix cmdline batch handling
9876
9877 2002-08-06  André Pönitz <poenitz@gmx.net>
9878
9879         * lyxrc.C: set default for show_banner to true
9880
9881 2002-08-06  John Levon  <levon@movementarian.org>
9882
9883         * pspell.C: fix a crash, and allow new aspell to work
9884
9885 2002-08-06  John Levon  <levon@movementarian.org>
9886
9887         * lyxfunc.C:
9888         * kbmap.C: small cleanup
9889
9890         * vspace.h:
9891         * vspace.C: add const
9892
9893 2002-08-05  John Levon  <levon@movementarian.org>
9894
9895         * LyXAction.C: back to tabular-insert
9896
9897 2002-08-04  John Levon  <levon@movementarian.org>
9898
9899         * BufferView.h:
9900         * BufferView.C: cosmetic change
9901
9902         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9903
9904         * bufferlist.C:
9905         * buffer.h:
9906         * buffer.C:
9907         * lyxcb.h:
9908         * lyxcb.C:
9909         * lyxserver.C:
9910         * lyxvc.C:
9911         * vc-backend.C:
9912         * BufferView2.C: purge all "Lyx" not "LyX" strings
9913
9914         * lyxcursor.h:
9915         * lyxcursor.C: attempt to add some documentation
9916
9917         * lyxfunc.C:
9918         * commandtags.h:
9919         * LyXAction.C:
9920         * ToolbarDefaults.C:
9921         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9922           merge with LFUN_TABULAR_INSERT
9923
9924         * Makefile.am:
9925         * SpellBase.h:
9926         * ispell.h:
9927         * ispell.C:
9928         * pspell.h:
9929         * pspell.C: split up i/pspell implementations into separate
9930           files, many cleanups
9931
9932         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9933
9934         * text2.C: some cleanup
9935
9936         * lyxfunc.C: don't check for isp_command == "none" any more, it
9937           didn't make any sense
9938
9939 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9940
9941         * counters.[Ch]
9942         * text2.C
9943         * paragraph.[Ch]
9944         * makefile.am: move counters functionality over
9945         from text2.C/paragraph.[Ch] to counters.[Ch], and
9946         make proper C++.
9947 2002-08-02  John Levon  <levon@movementarian.org>
9948
9949         * buffer.C: s/lyxconvert/lyx2lyx/
9950
9951 2002-08-02  Angus Leeming  <leeming@lyx.org>
9952
9953         * lyxlex.C: revert John's change as it breaks reading of the user
9954         preamble.
9955
9956 2002-08-02  Angus Leeming  <leeming@lyx.org>
9957
9958         * importer.C (Import):
9959         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9960         changes due to LyXView::view() now returning a boost::shared_ptr.
9961
9962 2002-08-02  John Levon  <levon@movementarian.org>
9963
9964         * lyxlex.C: small cleanup
9965
9966 2002-08-02  John Levon  <levon@movementarian.org>
9967
9968         * text2.C (status): small cleanup, no logic change
9969
9970 2002-08-01  John Levon  <levon@movementarian.org>
9971
9972         * buffer.h:
9973         * buffer.C (writeFile): don't output alerts, caller
9974           handles this
9975
9976         * bufferlist.C:
9977         * lyx_cb.C: from above
9978
9979         * lyxfunc.C: allow to open non-existent files
9980
9981 2002-07-31  John Levon  <levon@movementarian.org>
9982
9983         * lyxserver.C: don't let incidental errors get
9984           in the way (errno)
9985
9986 2002-07-30  John Levon  <levon@movementarian.org>
9987
9988         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9989
9990 2002-07-30  John Levon  <levon@movementarian.org>
9991
9992         * lyxserver.h:
9993         * lyxserver.C: remove I/O callback too
9994
9995 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9998         log.
9999
10000 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10001
10002         * many files: strip,frontStrip -> trim,ltrim,rtrim
10003
10004 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10005
10006         * PrinterParams.h: remove extern containsOnly, and include
10007         support/lstrings.h instead.
10008
10009         * LaTeX.C (scanAuxFile): modify because of strip changes
10010         (deplog): ditto
10011         * buffer.C (makeLaTeXFile): ditto
10012         * bufferparams.C (writeFile): ditt
10013         * lyxfont.C (stateText): ditto
10014         * lyxserver.C (read_ready): ditto
10015         * vc-backend.C (scanMaster): ditto
10016
10017         * BufferView_pimpl.h: ws changes
10018
10019         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10020
10021 2002-07-26  André Pönitz <poenitz@gmx.net>
10022
10023         * kb_sequence.C: remove unnedred usings
10024
10025 2002-07-26  Juergen Vigna  <jug@sad.it>
10026
10027         * lyxfind.C (LyXReplace): we have to check better if the returned
10028         text is not of theLockingInset()->getLockingInset().
10029
10030 2002-07-25  Juergen Vigna  <jug@sad.it>
10031
10032         * lyxfind.C (LyXReplace): don't replace if we don't get the
10033         right LyXText.
10034
10035         * undo_funcs.C (createUndo): remove debugging code.
10036
10037 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10038
10039         * buffer.C (parseSingleLyXformat2Token): Use default placement
10040         when reading old floats.
10041
10042         * FloatList.C (FloatList): Change the default placement of figure
10043         and tables to "tbp".
10044
10045 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * MenuBackend.C: using std::max
10048
10049 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10050
10051         * MenuBackend.C (expandToc):
10052         (expandToc2): code moved from xforms menu frontend. It is now
10053         generic and TOCs are transparent to menu frontends.
10054
10055 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10056
10057         * toc.C (getTocList): protect against buf=0
10058
10059         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10060         Menu as first parameter. Now, this calls itself recursively to
10061         expand a whole tree (this will be useful for TOC handling)
10062         (expandFloatInsert): remove 'wide' version of floats
10063
10064         * MenuBackend.h (submenuname): returns the name of the submenu.
10065         (submenu): returns the submenu itself, provided it has been
10066         created by MenuBackend::expand
10067
10068 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10069
10070         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10071         insets which have noFontChange == true. (bug #172)
10072
10073 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10074
10075         * BufferView_pimpl.C: add connection objects and use them...
10076         (Pimpl): here.
10077
10078 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10079
10080         * MenuBackend.C (expandLastfiles):
10081         (expandDocuments):
10082         (expandFormats):
10083         (expandFloatListInsert):
10084         (expandFloatInsert):
10085         (expand): split expand in parts
10086
10087 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10088
10089         * lyx_gui.C: use lyx_gui::exit()
10090
10091 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10092
10093         * LyXAction.C: show the failing pseudo action
10094
10095 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10096
10097         * buffer.C (readFile): Run the lyxconvert script in order to read
10098         old files.
10099
10100 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * LyXAction.C:
10103         * commandtags.h:
10104         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10105
10106 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * LyXAction.C:
10109         * commandtags.h:
10110         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10111
10112 2002-07-22  Herbert Voss  <voss@lyx.org>
10113
10114         * lengthcommon.C:
10115         * lyxlength.[Ch]: add support for the vertical lengths
10116
10117 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10118
10119         * toc.[Ch]: std:: fixes
10120
10121 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10122
10123         * lyxrc.C: do not include lyx_main.h
10124
10125         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10126         for layouts
10127
10128         * lyxrc.C:
10129         * encoding.C:
10130         * bufferlist.C:
10131         * BufferView2.C: include "lyxlex.h"
10132
10133         * tabular.h:
10134         * bufferparams.h: do not #include "lyxlex.h"
10135
10136         * lyxtextclasslist.C (Add): remove method
10137         (classlist): renamed to classlist_
10138
10139         * paragraph_pimpl.C:
10140         * paragraph.C:
10141         * text2.C:
10142         * CutAndPaste.C:
10143         * bufferview_funcs.C:
10144         * bufferlist.C:
10145         * text.C:
10146         * LaTeXFeatures.C:
10147         * buffer.C:
10148         * toc.C (getTocList): use BufferParams::getLyXTextClass
10149
10150         * toc.C (getTocList): use InsetFloat::addToToc
10151
10152         * toc.[Ch]: new files, containing helper functions to handle table
10153         of contents
10154
10155         * lyxfunc.C (dispatch): no need to remove spaces around command
10156         given as a string
10157         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10158         first command of the sequence; it is not very clever, but I do not
10159         have a better idea, actually
10160
10161         * LyXAction.C (LookupFunc): make sure to remove space at the
10162         beginning and end of the command
10163
10164 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10165
10166         * MenuBackend.C (getMenubar): new method: return the menubar of
10167         this menu set
10168         (read): treat differently reading of menu and menubar (in
10169         particular, the menubar has no name now)
10170         (Menu::menubar): remove
10171
10172         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10173         saving is finished
10174
10175 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10176
10177         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10178         a bibitem inset in a RTL paragraph.
10179
10180 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10181
10182         * paragraph_pimpl.C: constify
10183
10184         * BufferView_pimpl.C:
10185         * LaTeX.C:
10186         * lyxfunc.C: fix dispatch in a nicer way
10187
10188 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10189
10190         * lyxfunc.C (dispatch):
10191         * BufferView_pimpl.C:
10192         * BufferView_pimpl.h:
10193         * BufferView.C:
10194         * BufferView.h: rename Dispatch() to dispatch()
10195
10196         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10197
10198         * lyxlayout.C (Read): honor DependsOn tag
10199
10200         * lyxlayout.[Ch] (depends_on): new method
10201
10202         * version.C.in: update lyx_docversion
10203
10204         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10205
10206         * paragraph.C (validate): remove from here...
10207         * paragraph_pimpl.C (validate): ... and move here
10208         (isTextAt): make it const
10209
10210         * buffer.C (getLists): ws cleanup
10211
10212 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10213
10214         * language.C (read): Use iso8859-1 encoding in latex_lang
10215         (this prevents LyX from crashing when using iso10646-1 encoding).
10216
10217 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * text2.C (toggleInset): if cursor is inside an inset, close the
10220         inset and leave cursor _after_ it
10221
10222 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * lyxfunc.C: move minibuffer completion handling out of here
10225
10226 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * BufferView_pimpl.C:
10229         * LaTeX.C: fix dispatch calls
10230
10231 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10232
10233         * text.C (drawChars): Fix Arabic text rendering.
10234
10235 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10236
10237         * LyXAction.C:
10238         * commandtags.h:
10239         * lyxfunc.C: remove message-push/pop
10240
10241         * lyxserver.C:
10242         * lyxfunc.h:
10243         * lyxfunc.C: rationalise some code by removing verboseDispatch
10244           in favour of a bool argument to dispatch()
10245
10246 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10247
10248         * lyx_main.C (init): make sure to read symlinks as absolute paths
10249
10250 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * lyxfunc.h:
10253         * lyxfunc.C: no need for commandshortcut to be a member
10254
10255 2002-07-15  André Pönitz <poenitz@gmx.net>
10256
10257         * converter.C: add support for $$s (scripts from lib/scripts dir)
10258         * lyx_main.C: white space
10259
10260 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * bufferlist.C:
10263         * lyxrc.h:
10264         * lyxrc.C: remove second exit confirmation
10265
10266 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10267
10268         * BufferView.h:
10269         * BufferView.C:
10270         * BufferView2.C:
10271         * BufferView_pimpl.h:
10272         * BufferView_pimpl.C:
10273         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10274
10275 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10276
10277         * MenuBackend.C (expand): add numeric shortcuts to document menu
10278
10279         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10280
10281 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10282
10283         * lyxfont.C (setLyXFamily):
10284         (setLyXSeries):
10285         (setLyXShape):
10286         (setLyXSize):
10287         (setLyXMisc):
10288         (lyxRead):
10289         * debug.C (value):
10290         * buffer.C (asciiParagraph): use ascii_lowercase
10291
10292 2002-07-15  Mike Fabian  <mfabian@suse.de>
10293
10294         * lyxlex_pimpl.C (search_kw):
10295         * lyxlex.C (getLongString):
10296         * converter.h (operator<):
10297         * converter.C (operator<):
10298         * buffer.C (parseSingleLyXformat2Token):
10299         (asciiParagraph):
10300         * ToolbarDefaults.C (read):
10301         * MenuBackend.C (checkShortcuts):
10302         (read):
10303         * LColor.C (getFromGUIName):
10304         (getFromLyXName): use the compare_ascii_no_case instead of
10305         compare_no_case, because in turkish, 'i' is not the lowercase
10306         version of 'I', and thus turkish locale breaks parsing of tags.
10307
10308 2002-07-16  Angus Leeming  <leeming@lyx.org>
10309
10310         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10311         now takes a Buffer const & argument.
10312
10313 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10314
10315         * BufferView.C (resize): check there's a buffer to resize
10316
10317 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * lyxfunc.C: remove dead code
10320
10321         * lyxserver.h:
10322         * lyxserver.C: use lyx_guii::set_read_callback
10323
10324 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10325
10326         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10327         an inset in a RTL paragraph.
10328
10329 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10330
10331         * lyxfunc.C: repaint after a font size update
10332
10333 2002-07-15  André Pönitz <poenitz@gmx.net>
10334
10335         * lyxlength.C: inBP should be able to return negative values
10336
10337 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10338
10339         * lyxfunc.C: use lyx_gui::update_fonts()
10340
10341 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10342
10343         * lyxfunc.C: use lyx_gui::update_color()
10344
10345 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10346
10347         * bufferlist.C:
10348         * lyxfunc.h:
10349         * lyxfunc.C:
10350         * lyxrc.h:
10351         * lyxrc.C: remove file->new asks for name option, and let
10352           buffer-new take an argument
10353
10354 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * BufferView_pimpl.C: remove unneeded extra repaint()
10357
10358 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * LyXAction.C: allow command-sequence with NoBuffer
10361
10362         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10363
10364 2002-07-10  Angus Leeming  <leeming@lyx.org>
10365
10366         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10367
10368 2002-07-09  Angus Leeming  <leeming@lyx.org>
10369
10370         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10371
10372 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10373
10374         * lengthcommon.h: whitespace
10375
10376         * lyxfunc.C: update scrollbar after goto paragraph
10377
10378         * lyxtext.h: factor out page break drawing, and fix it so
10379           page break/added space paints as selected nicely
10380
10381 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10382
10383         * BufferView_pimpl.C: add FIXMEs, clean up a little
10384
10385 2002-07-09  André Pönitz <poenitz@gmx.net>
10386
10387         * lyxfont.[Ch]: support for wasy symbols
10388
10389 2002-07-08  André Pönitz <poenitz@gmx.net>
10390
10391         * BufferView_pimpl.C: apply John's patch for #93.
10392
10393 2002-07-05  Angus Leeming  <leeming@lyx.org>
10394
10395         * BufferView_pimpl.C (buffer): generate previews if desired.
10396
10397         * LColor.h: add "preview" to the color enum.
10398
10399         * LColor.C (LColor): add a corresponding entry to the items array.
10400
10401         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10402         with this buffer.
10403
10404 2002-07-05  Angus Leeming  <leeming@lyx.org>
10405
10406         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10407         The body of the code is now in the method that is passed an ostream &
10408         rather than a file name.
10409         Pass an additional only_preamble parameter, useful for the forthcoming
10410         preview stuff.
10411
10412 2002-07-03  André Pönitz <poenitz@gmx.net>
10413
10414         * lyxfunc.C: simplify getStatus() a bit for math stuff
10415
10416 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10417
10418         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10419
10420 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10421
10422         * text.C (changeRegionCase): do not change case of all the
10423         document when region ends at paragraph end (bug #461)
10424
10425 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10426
10427         * paragraph.C (startTeXParParams):
10428         (endTeXParParams): add \protect when necessary
10429
10430 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10431
10432         * BufferView_pimpl.C (workAreaExpose): remove warning
10433
10434 2002-06-27  Angus Leeming  <leeming@lyx.org>
10435
10436         * Makefile.am: add lyxlayout_ptr_fwd.h.
10437
10438 2002-06-26  André Pönitz <poenitz@gmx.net>
10439
10440         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10441
10442 2002-06-25  Angus Leeming  <leeming@lyx.org>
10443
10444         * lyxfunc.C (dispatch): Comment out the call to
10445         grfx::GCache::changeDisplay. The method no longer exists now that the
10446         pixmap generation part of the graphics loader has been moved into
10447         InsetGraphics.
10448
10449 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10450
10451         * text2.C: layout as layout
10452
10453         * text.C: layout as layout
10454
10455         * tabular.C (OldFormatRead): layout as layout
10456
10457         * paragraph_pimpl.C (TeXDeeper): layout as layout
10458         (realizeFont): layout as layout
10459
10460         * paragraph.C (writeFile): layout as layout
10461         (validate): layout as layout
10462         (getFont): layout as layout
10463         (getLabelFont): layout as layout
10464         (getLayoutFont): layout as layout
10465         (breakParagraph): layout as layout
10466         (stripLeadingSpaces): layout as layout
10467         (getEndLabel): layout as layout
10468         (getMaxDepthAfter): layout as layout
10469         (applyLayout): layout as layout
10470         (TeXOnePar): layout as layout
10471         (simpleTeXOnePar): layout as layout
10472         (TeXEnvironment): layout as layout
10473         (layout): layout as layout
10474         (layout): layout as layout
10475
10476         * lyxtextclass.C (compare_name): new functor to work with
10477         shared_ptr, layout as layout
10478         (Read): layout as layout
10479         (hasLayout): layout as layout
10480         (operator): layout as layout
10481         (delete_layout): layout as layout
10482         (defaultLayout): layout as layout
10483
10484         * lyxlayout_ptr_fwd.h: new file
10485
10486         * lyxlayout.C (Read): layout as layout
10487
10488         * lyx_cb.C (MenuInsertLabel): layout as layout
10489
10490         * bufferlist.C (newFile): layout as layout
10491
10492         * buffer.C (readLyXformat2): layout as layout
10493         (parseSingleLyXformat2Token): layout as layout
10494         (insertStringAsLines): layout as layout
10495         (asciiParagraph): layout as layout
10496         (latexParagraphs): layout as layout
10497         (makeLinuxDocFile): layout as layout
10498         (simpleLinuxDocOnePar): layout as layout
10499         (makeDocBookFile): layout as layout
10500         (simpleDocBookOnePar): layout as layout
10501         (getLists): layout as layout
10502
10503         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10504
10505         * CutAndPaste.C (cutSelection): layout as layout
10506         (pasteSelection): layout as layout
10507         (SwitchLayoutsBetweenClasses): layout as layout
10508
10509         * BufferView_pimpl.C (Dispatch): layout as layout
10510         (smartQuote): layout as layout
10511
10512         * BufferView2.C (unlockInset): layout as layout
10513
10514 2002-06-24  André Pönitz <poenitz@gmx.net>
10515
10516         * lyxfunc.C: fix #487
10517
10518 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * lyxrc.h:
10521         * lyxrc.C:
10522         * lyxfunc.C: remove display_shortcuts, show_banner
10523
10524 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * Buffer_pimpl.C: oops, update on resize
10527
10528 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10529
10530         * buffer.C:
10531         * converter.C:
10532         * exporter.C:
10533         * lyxfunc.C:
10534         * BufferView.h:
10535         * BufferView.C: use repaint()
10536
10537         * BufferView_pimpl.h:
10538         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10539           as it's a clearer description. Remove superfluous
10540           redraws.
10541
10542 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * text.C: fix bug 488. Not ideal, but getting
10545           getWord() to work properly for the insets that
10546           matter is more difficult ...
10547
10548 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * BufferView_pimpl.C:
10551         * LyXAction.C:
10552         * commandtags.h:
10553         * lyxfunc.C: remove the six million index lyxfuncs to just
10554           one, and DTRT (bug 458)
10555
10556 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10557
10558         * BufferView.h:
10559         * BufferView.C:
10560         * BufferView_pimpl.h:
10561         * BufferView_pimpl.C: clean up resize() stuff,
10562           and unnecessary updateScreen()s
10563
10564 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * BufferView.h:
10567         * BufferView.C:
10568         * BufferView_pimpl.h:
10569         * BufferView_pimpl.C:
10570         * lyxfind.h:
10571         * lyxfind.C:
10572         * minibuffer.C: remove focus management of workarea,
10573           not needed. Use screen's greyOut()
10574
10575 2002-06-17  Herbert Voss  <voss@lyx.org>
10576
10577         * converter.C: (convert) do not post a message, when converting
10578         fails, let the calling function decide what to do in this case
10579
10580 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * lyxfunc.C: tidy up a little
10583
10584 2002-06-16    <alstrup@diku.dk>
10585
10586         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10587         Got rid of FORMS_H_LOCATION include. Now we are
10588         GUII.
10589
10590 2002-06-15  LyX Development team  <lyx@rilke>
10591
10592         * buffer.[Ch] (sgmlOpenTag):
10593         (sgmlCloseTag): Added support for avoiding pernicious mixed
10594         content. Return number of lines written.
10595
10596         (makeLinuxDocFile):
10597         (makeDocBookFile): Fixed calls to sgml*Tag.
10598         Simple white space clean.
10599
10600         (simpleDocBookOnePar): Simple white space clean.
10601
10602         * tabular.[Ch] (docBook): Renamed to docbook and got another
10603         argument to related with the pernicious mixed content.
10604
10605         (docbookRow): Fixed calls for docbook inset method.
10606
10607 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10608
10609         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10610         so it's X11 independent.
10611
10612         * kb*.[Ch]: ditto.
10613
10614         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10615
10616 2002-06-15  Lyx Development team  <lyx@electronia>
10617
10618         * intl.h: Renamed getTrans to getTransManager.
10619
10620 2002-06-14  Angus Leeming  <leeming@lyx.org>
10621
10622         * Makefile.am: nuke forgotten stl_string_fwd.h.
10623
10624 2002-06-12  Angus Leeming  <leeming@lyx.org>
10625
10626         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10627
10628 2002-06-13  Angus Leeming  <leeming@lyx.org>
10629
10630         * LaTeX.C:
10631         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10632
10633 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10634
10635         * kbmap.C (getiso): add support for cyrillic and greek
10636
10637 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10638
10639         * BufferView.h:
10640         * BufferView.C:
10641         * BufferView_pimpl.h:
10642         * BufferView_pimpl.C: move bogus scrolling logic
10643           to xforms
10644
10645 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10646
10647         * lyxfunc.C:
10648         * BufferView_pimpl.C: view->resize() change
10649
10650 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10651
10652         * BufferView_pimpl.C: topCursorVisible
10653           prototype change
10654
10655 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10656
10657         * Makefile.am:
10658         * lyx_gui.h:
10659         * lyx_gui.C: move to frontends/
10660
10661         * main.C:
10662         * lyx_main.h:
10663         * lyx_main.C: changes from above
10664
10665 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * intl.C:
10668         * intl.h:
10669         * kbmap.C:
10670         * kbsequence.C:
10671         * lyx_cb.C:
10672         * lyx_main.C: minor tidy
10673
10674 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10675
10676         * BufferView_pimpl.h:
10677         * BufferView_pimpl.C:
10678         * BufferView.h:
10679         * BufferView.C: make painter() const,
10680           remove dead code
10681
10682         * BufferView2.C: use screen() accessor
10683
10684         * lyx_main.h:
10685         * lyx_main.C: some minor cleanup
10686
10687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10688
10689         * BufferView_pimpl.h:
10690         * BufferView_pimpl.C: remove enter/leaveView,
10691           use workHeight()
10692
10693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * BufferView.h:
10696         * BufferView.C:
10697         * BufferView2.C:
10698         * BufferView_pimpl.h:
10699         * BufferView_pimpl.C: only construct screen once,
10700           rename
10701
10702         * lyxrc.C: remove pointless comment
10703
10704 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * BufferView.h:
10707         * BufferView.C: remove active() and belowMouse()
10708
10709         * BufferView_pimpl.h:
10710         * BufferView_pimpl.C: use workarea() not workarea_,
10711           and make it use a scoped_ptr instead
10712
10713 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * lyx_gui.C: add debug message on BadWindow
10716
10717 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10718
10719         * sp_spell.C: fdopen is not part of the C++ standard.
10720
10721         * paragraph.C (InsetIterator): use >= instead of ==
10722
10723 2002-06-07  Angus Leeming  <leeming@lyx.org>
10724
10725         Fixes needed to compile with Compaq cxx 6.5.
10726         * BufferView_pimpl.C:
10727         * DepTable.C:
10728         * buffer.C:
10729         * converter.C:
10730         * encoding.C:
10731         * lyx_gui.C:
10732         * lyx_main.C:
10733         * lyxtextclasslist.C:
10734         * minibuffer.C:
10735         * sp_spell.C:
10736         * tabular_funcs.C:
10737         * vc-backend.C:
10738         all c-library variables have been moved into namespace std. Wrap
10739         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10740
10741         * lyxlength.C:
10742         * tabular-old.C:
10743         * tabular.C:
10744         Add a using std::abs declaration.
10745
10746         * kbmap.h (modifier_pair):
10747         * paragraph.h (InsetTable, InsetList):
10748         * lyxfont.h (FontBits):
10749         type definition made public.
10750
10751         * bufferlist.C (emergencyWriteAll): the compiler complains that
10752         there is more than one possible lyx::class_fun template to choose from.
10753         I re-named the void specialisation as lyx::void_class_fun.
10754
10755         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10756
10757         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10758         the compiler is is unable to find tostr in write_attribute.
10759
10760 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10761
10762         * buffer.C (sgmlError): hide #warning
10763
10764 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10765
10766         * xtl/*: get rid of xtl, which is not in use anyway
10767
10768         * LyXAction.C (init):
10769         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10770         were unimplemented xtl experimentation
10771
10772 2002-06-04  André Pönitz <poenitz@gmx.net>
10773
10774         * lyxfunc.C: disable array operation on simple formulae
10775
10776 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10777
10778         * converter.C: constify a bit
10779
10780 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * lyx_gui.C: check xforms version correctly
10783
10784 2002-04-30  Herbert Voss  <voss@lyx.org>
10785
10786         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10787         "keep" option
10788
10789 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10792           attempt to register it with a VCS)
10793
10794 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10795
10796         * lyx_main.C (init): honor variables LYX_DIR_13x and
10797         LYX_USERDIR_13x
10798
10799 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10800
10801         * buffer.h:
10802         * buffer.C:
10803         * lyx_main.C: fix a crash on bad command line,
10804           and give a useful exit status on error
10805
10806         * lyxfunc.C (doImport): allow -i lyx to work
10807
10808 2002-03-30  André Pönitz <poenitz@gmx.net>
10809
10810         * lyxfunc.C: mathed font changes
10811
10812 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10813
10814         * LaTeX.C:
10815         * importer.h:
10816         * importer.C:
10817         * lyx_sty.h:
10818         * lyx_sty.C:
10819         * lyxlex.C:
10820         * lyxrow.h:
10821         * lyxtext.h:
10822         * paragraph.h:
10823         * paragraph.C:
10824         * texrow.h:
10825         * texrow.C:
10826         * text.C:
10827         * trans_mgr.h: srcdocs, and some minor cleanups
10828
10829 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10830
10831         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10832         call getFont all the time)
10833
10834 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10835
10836         * switch from SigC signals to boost::signals
10837
10838 2002-05-29  André Pönitz <poenitz@gmx.net>
10839
10840         * paragraph_pimpl.C (getChar): don't call size() too often...
10841
10842 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10843
10844         * paragraph_pimpl.C (insertChar): do not try to update tables when
10845         appending (pos == size())
10846
10847         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10848         in order to reduce drastically the number of comparisons needed to
10849         parse a large document
10850
10851 2002-05-29  André Pönitz <poenitz@gmx.net>
10852
10853         * text.C:
10854         * text2.C:
10855         * lyxtextclass.C:
10856         * sp_pspell.h:
10857         * textclasslist.[Ch]:
10858         * sp_ispell.h: whitespace change
10859
10860 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10861
10862         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10863         lyxaction directly now.
10864
10865 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * trans.C:
10868         * lyxfont.C:
10869         * lyxvc.C: remove unused headers
10870
10871 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10872
10873         * Makefile.am:
10874         * buffer.h:
10875         * undostack.h:
10876         * undostack.C:
10877         * undo_funcs.h:
10878         * undo_funcs.C: some cleanups. Use shared_ptr
10879           and a template for the undo stacks.
10880
10881 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10882
10883         * BufferView_pimpl.h:
10884         * BufferView_pimpl.C:
10885         * kbmap.h:
10886         * kbmap.C:
10887         * kbsequence.h:
10888         * kbsequence.C:
10889         * lyxfunc.h:
10890         * lyxfunc.C:
10891         * text2.C: use key_state/mouse_state
10892
10893 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10896         and LSubstring
10897
10898         * chset.C: change include order
10899         (loadFile): use boost regex and get rid of LRegex and LSubstring
10900
10901         * Makefile.am (BOOST_LIBS): new variable
10902         (lyx_LDADD): use it
10903
10904         * LaTeX.C: change include order.
10905         (scanAuxFile): use boost regex and get rid of LRegex and
10906         LSubstring
10907         (deplog): ditto
10908
10909 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10910
10911         * ColorHandler.h:
10912         * ColorHandler.C:
10913         * FontInfo.h:
10914         * FontInfo.C: moved to frontends/xforms/
10915
10916         * FontLoader.h:
10917         * FontLoader.C: moved into frontends for GUIIzation
10918
10919         * Makefile.am:
10920         * lyx_gui.C:
10921         * lyxfont.C:
10922         * lyxfunc.C: changes from above
10923
10924 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10925
10926         * LColor.C: remove spurious X include
10927
10928         * BufferView_pimpl.C:
10929         * Makefile.am:
10930         * font.h:
10931         * font.C:
10932         * text.C:
10933         * text2.C: move font metrics to frontends/
10934
10935 2002-05-24  Juergen Vigna  <jug@sad.it>
10936
10937         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10938         setting the undo_cursor.
10939
10940         * ParagraphParameters.h: include local includes first.
10941
10942 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * BufferView_pimpl.C:
10945         * BufferView_pimpl.h:
10946         * Makefile.am:
10947         * WorkArea.h:
10948         * WorkArea.C:
10949         * screen.C: move WorkArea into frontends/
10950
10951         * lyxscreen.h:
10952         * screen.C:
10953         * text.C:
10954         * BufferView.C:
10955         * BufferView2.C: move LyXScreen into frontends/
10956
10957         * lyxlookup.h:
10958         * lyxlookup.C:
10959         * lyx_gui.C: move lyxlookup into frontends/xforms/
10960
10961 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10962
10963         * BufferView2.C:
10964         * BufferView_pimpl.C:
10965         * FontLoader.C:
10966         * LyXView.h:
10967         * LyXView.C:
10968         * Makefile.am:
10969         * WorkArea.C:
10970         * XFormsView.h:
10971         * XFormsView.C:
10972         * buffer.C:
10973         * bufferlist.C:
10974         * bufferview_funcs.C:
10975         * converter.C:
10976         * importer.C:
10977         * lyx_cb.C:
10978         * lyx_gui.C:
10979         * lyx_main.C:
10980         * lyx_find.C:
10981         * lyxfunc.C:
10982         * lyxvc.C:
10983         * minibuffer.C:
10984         * text.C:
10985         * text2.C:
10986         * trans.C:
10987         * vc-backend.C: move LyX/XFormsView into frontends/
10988
10989 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * Makefile.am:
10992         * PainterBase.C:
10993         * PainterBase.h:
10994         * Painter.C:
10995         * Painter.h:
10996         * WorkArea.C:
10997         * WorkArea.h:
10998         * screen.C:
10999         * tabular.C:
11000         * text.C:
11001         * text2.C: move Painter to frontends/
11002
11003 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11004
11005         * buffer.C: comment out some some code that depend upon lyx_format
11006         < 220
11007
11008         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11009         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11010
11011         * buffer.h (NO_COMPABILITY): turn off compability
11012
11013         * ColorHandler.C: include scoped_array.hpp
11014
11015         * font.C: Use more specific smart_ptr header.
11016         * Painter.C: ditto
11017         * gettext.C: ditto
11018         * ShareContainer.h: ditto
11019         * lyx_main.h: ditto
11020         * kbmap.h: ditto
11021         * FontInfo.h: ditto
11022         * BufferView_pimpl.h: ditto
11023         * ColorHandler.h: ditto
11024
11025         * kbmap.C (defkey): change call to shared_ptr::reset
11026
11027 2002-05-21  Juergen Vigna  <jug@sad.it>
11028
11029         * buffer.C (insertErtContents): fix to insert ert asis if it is
11030         non empty. Skip it completely if it contains only whitespaces.
11031
11032 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * BufferView_pimpl.C:
11035         * BufferView2.C: clear selection on paste (bug 393)
11036
11037 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11038
11039         * DepTable.C: include ctime
11040
11041 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11042
11043         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11044
11045 2002-05-14  Juergen Vigna  <jug@sad.it>
11046
11047         * text.C (breakParagraph): fixed function to honor the keepempty
11048         layout in the right maner and also to permit the right breaking
11049         algorithm on empty or non empyt keepempty paragraphs.
11050
11051         * paragraph.C (breakParagraph): we have to check also if the par
11052         is really empty (!size()) for isempty otherwise we do the wrong
11053         paragraph break.
11054
11055 2002-05-10  Juergen Vigna  <jug@sad.it>
11056
11057         * buffer.[Ch] : The following are only changes to the ert
11058         compatibility read reading old LaTeX layout and font stuff and
11059         convert it to ERTInsets.
11060
11061         * buffer.h: added isErtInset().
11062
11063         * buffer.C (struct ErtComp): add a fromlayout bool to check
11064         if we're inside a LaTeX layout.
11065         (isErtInset): new helper function.
11066         (insertErtContents): look for other ert insets before this one
11067         and insert the contents there, so that we don't have subsequent
11068         ERT insets with nothing between them. This way we create only one
11069         inset with multiple paragraphs. Also check if we don't insert only
11070         spaces ' ' as they are ignored anyway afterwards in the .tex file
11071         so if we have only spaces we will ignore this latex part in the
11072         new file.
11073         (parseSingleLyXformat2Token \\layout): better compatibility when
11074         reading layout-latex stuff.
11075         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11076         language tag.
11077         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11078         stuff after reading the inset only get the information back from
11079         the stack.
11080
11081 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11082
11083         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11084
11085         * LaTeXFeatures.C (getBabelOptions): New method.
11086
11087 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11088
11089         * BufferView_pimpl.C (Dispatch): work around missing argument for
11090         'layout'
11091
11092 2002-05-08  Juergen Vigna  <jug@sad.it>
11093
11094         * text.C (leftMargin): handle paragraph leftindent.
11095
11096         * paragraph.C (writeFile): write the new \\leftindent tag.
11097         (validate): handle leftindent code.
11098         (TeXEnvironment): handle paragraphleftindent code again.
11099
11100         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11101
11102         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11103         for paragrap_extra indent code and new token \\leftindent.
11104         (latexParagraphs): handle the leftindent as environment.
11105
11106         * ParameterStruct.h: added leftindent support.
11107
11108         * ParagraphParameters.C (leftIndent): added support functions for
11109         the paragraph left indent.
11110
11111         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11112         more appropriate.
11113
11114 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11115
11116         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11117         inside insetERT.
11118
11119         * text.C (computeBidiTables): No bidi in insetERT.
11120
11121         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11122         in RTL documents.
11123
11124 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11125
11126         * version.C.in: pre 5
11127
11128 2002-05-02  José Matos  <jamatos@fep.up.pt>
11129         * buffer.C (makeDocBookFile): white space changes, add newline to
11130         command styles.
11131         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11132
11133         * tabular.C (docBook): fix typo.
11134
11135 2002-05-03  Juergen Vigna  <jug@sad.it>
11136
11137         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11138         change in LyXText as we can not be sure it was not freed.
11139         (drawOneRow): remove unused code.
11140
11141         * text.C (drawInset): redo the calculation of the need_break_row as
11142         it could have a row which was already freed.
11143         (draw): look at the return value of drawInset and return false if
11144         it also returned false.
11145         (paintRowText): look at the return value of draw and return false if
11146         it also returned false.
11147
11148         * lyxtext.h: added bool return type to drawInset() and draw() so that
11149         if we have a change in the row so that the rowbreak has to be redone
11150         we abort drawing as it will be called again.
11151
11152 2002-05-02  Juergen Vigna  <jug@sad.it>
11153
11154         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11155         a change in the maintext also if we're inside an inset.
11156         (Dispatch): set the cursor again after a break line and after the
11157         screen has been updated as it could be we're in a different row.
11158
11159         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11160         to set the cursor behind the pargraph with > size().
11161         (setCursor): check also for the same paragraph when checking where
11162         to put the cursor if we have a NFR inset.
11163
11164         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11165         parts of layout read further up as it still was in the wrong
11166         position.
11167
11168 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * screen.C (drawFromTo): change sine fullRebreak always return
11171         true.
11172
11173         * buffer.C (parseSingleLyXformat2Token): reindent some
11174
11175         * BufferView_pimpl.C (update): change since fullRebreak always
11176         return true.
11177         (Dispatch): git rid of the last hardcoded "Standard"s.
11178
11179 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * text2.[Ch] (fullRebreak): make it return void now that we always
11182         returned true.
11183
11184 2002-04-30  Juergen Vigna  <jug@sad.it>
11185
11186         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11187         ert compatibility check for "latex" layout.
11188
11189 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11190
11191         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11192         minipages: use col% instead of p%, and also use the current font.
11193         (makeLaTeXFile): Fix use babel condition.
11194         (parseSingleLyXformat2Token): Correct font when reading old floats.
11195
11196 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11197
11198         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11199         inserting list of floats.
11200
11201 2002-04-25  Herbert Voss  <voss@lyx.org>
11202
11203         * MenuBackend.C (expand): don't add the graphics extensions to the
11204         export menu
11205
11206 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11209         non-existing layout, do not complain if it was the default layout
11210         of the original class (bug #342)
11211
11212 2002-04-24  Juergen Vigna  <jug@sad.it>
11213
11214         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11215         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11216
11217 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11218
11219         * buffer.C (getBibkeyList): If using \bibliography, return the
11220         option field with the reference itself. Enables us to provide natbib
11221         support when using \bibliography.
11222
11223 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11224
11225         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11226
11227         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11228         natbib is provided by the LaTeX class.
11229
11230 2002-04-23  Juergen Vigna  <jug@sad.it>
11231
11232         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11233         Wakeup functions.
11234
11235         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11236
11237 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11240
11241         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11242         ensuremath around textordmasculine, textordfeminine and
11243         textdegree.
11244
11245 2002-04-19  Juergen Vigna  <jug@sad.it>
11246
11247         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11248         reinitializing the buffer otherwise row-dimensions may be wrong.
11249         (update): reset also the selection cursors if they do exits otherwise
11250         their x/y positions may be wrong.
11251
11252         * text2.C (cursorDown): don't enter the inset if we came from a row
11253         above and are one row over the inset.
11254
11255         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11256         really leaving an inset.
11257
11258 2002-04-18  Juergen Vigna  <jug@sad.it>
11259
11260         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11261         of the selected paragraph does not have the selected layout also if
11262         the last one had!
11263
11264         * text2.C (setLayout): fixed bug which did not change last selected
11265         paragraph.
11266
11267         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11268         changed the read and substituted \\end_float with \\end_inset!
11269
11270         * BufferView_pimpl.C (cursorPrevious):
11271         (cursorNext): fixed to make it work with rows heigher than the work
11272         area without moving the cursor only the draw of the row.
11273         (workAreaMotionNotify): fix jumping over high rows.
11274
11275 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11278         Ressler.
11279
11280 2002-04-16  Juergen Vigna  <jug@sad.it>
11281
11282         * text2.C (setCursor): set also the irow().
11283         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11284         (cursorUp):
11285         (cursorDown): support for locking an inset if the x_fix value goes
11286         inside it. That way I can transverse insets too with cursor up/down.
11287
11288         * lyxrow.h: added irow helper function same as other (i) functions.
11289
11290         * BufferView_pimpl.C (cursorPrevious):
11291         (cursorNext): fixed for insets!
11292
11293 2002-04-15  Juergen Vigna  <jug@sad.it>
11294
11295         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11296         position otherwise it is wrong in some cases.
11297
11298         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11299         inside the inset before the call.
11300
11301 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11302
11303         * buffer.[Ch] (getBibkeyList): make it const.
11304
11305 2002-04-12  Juergen Vigna  <jug@sad.it>
11306
11307         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11308
11309         * text2.C (getCursorX): new helper function
11310         (setCursor): compute also ix_
11311         (setCursorFromCoordinates): set also ix.
11312
11313         * lyxcursor.h: added ix_ and helper functions.
11314
11315         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11316
11317         * buffer.C (insertStringAsLines): dont break paragraph if the this
11318         paragraph is inside an inset which does not permit it!
11319
11320         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11321         also with no chars on this paragraph.
11322         (paintRowText): only paint stuff if it's inside the workarea!
11323
11324         * paragraph.C (breakParagraph): honor keepempty flag and break the
11325         paragraph always below not above.
11326
11327         * BufferView2.C (unlockInset): update the paragraph layout on inset
11328         unlock as we changed paragraph in such a case.
11329
11330         * lyxfind.C (LyXFind): clear the former selection if not found!
11331
11332         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11333         again called in insertChar().
11334
11335         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11336         an inset which uses the whole row!
11337         (rightMargin): ditto.
11338         (insertChar): force a rebreak if we inserted an inset!
11339
11340 2002-03-28  Herbert Voss  <voss@lyx.org>
11341
11342         * lyxlength.[Ch]: add inBP() to get the right PS-point
11343         units (BigPoint). With inPixels we have rounding errors
11344
11345 2002-04-11  Juergen Vigna  <jug@sad.it>
11346
11347         * text2.C (setCursorFromCoordinates): set iy to the right value.
11348         (setCursor): add check if row->previous exists!
11349
11350         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11351         an old float_type as this was the case in the old code!
11352
11353         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11354
11355         * BufferView2.C (showLockedInsetCursor): use iy
11356         (fitLockedInsetCursor): ditto
11357
11358         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11359         locked insets as there we have the right value now.
11360
11361         * lyxcursor.C: added iy_ variable and iy functions to set to the
11362         baseline of cursor-y of the locked inset.
11363
11364         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11365         (setCursor): fixed for insets which need a full row.
11366
11367         * text.C (rowLastPrintable): don't ignore the last space when before
11368         an inset which needs a full row.
11369         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11370         as last character of a row when before a inset which needs a full row.
11371
11372 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11373
11374         * version.C.in: update date
11375
11376         * text2.C (fullRebreak): try to always return true and see what
11377         happens...
11378
11379 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11380
11381         * MenuBackend.C (expand): use Floating::listName
11382
11383         * FloatList.C (FloatList): add listName argument to the built-in
11384         floats
11385
11386         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11387         text associated with the float.
11388
11389 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11392
11393 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11394
11395         * ShareContainer.h: add a couple of missing typenames.
11396
11397 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11398
11399         * lyxrc.C (getDescription): use _() correctly rather than N_().
11400
11401 2002-03-28  Herbert Voss  <voss@lyx.org>
11402
11403         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11404         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11405
11406 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11407
11408         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11409         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11410
11411 2002-03-29  Juergen Vigna  <jug@sad.it>
11412
11413         * lyxfunc.C (dispatch): add a missing fitCursor call.
11414
11415         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11416         it was scrolled by a cursor move, so return the bool status.
11417
11418         * BufferView.C (fitCursor): return the bool flag also to the outside
11419         world as this is needed.
11420
11421         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11422
11423         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11424         call the edit() as it is not needed (and wrong) IMO.
11425         (workAreaButtonPress): set the screen_first variable before evt.
11426         unlock the inset as this may change screen_first and then we have
11427         a wrong y position for the click!
11428
11429 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11430
11431         * MenuBackend.C (expand): another translation that I missed
11432
11433 2002-03-28  Juergen Vigna  <jug@sad.it>
11434
11435         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11436
11437         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11438
11439 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11440
11441         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11442
11443         * MenuBackend.C (expand): fix export/view/update when there is no
11444         document open.
11445
11446 2002-03-27  Herbert Voss  <voss@lyx.org>
11447
11448         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11449         and text%
11450
11451 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11452
11453         * bufferview_funcs.C (currentState): only show paragraph number
11454         for is DEVEL_VERSION is set.
11455
11456         * lyxfunc.C (dispatch): put warning in INFO channel
11457
11458         * MenuBackend.C (expand): translate the name of floats
11459
11460         * FloatList.C (FloatList): mark the float names for translation
11461
11462         * converter.C (convert): use LibScriptSearch
11463
11464 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11465
11466         * MenuBackend.C (defaults): fix default menu (we might as well get
11467         rid of it...)
11468
11469 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11472         directory.
11473
11474 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * lyxvc.C: reorder includes.
11477
11478 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11479
11480         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11481           properly
11482
11483 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * CutAndPaste.C: change layouts earlier on paste
11486           to avoid crashing when calling getFont()
11487
11488 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11489
11490         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11491         irritating #error.
11492
11493 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * WorkArea.C: remove 'Pending' debug message.
11496
11497         * most files: ws cleanup
11498
11499         * buffer.[Ch]: ws changes
11500
11501         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11502
11503 2002-03-21  Juergen Vigna  <jug@sad.it>
11504
11505         * tabular.C (SetMultiColumn): collapse also the contents of the
11506         cells and set the last border right. Added a Buffer const * param.
11507
11508 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11511         linking or not.
11512
11513 2002-03-19  Juergen Vigna  <jug@sad.it>
11514
11515         * text2.C (clearSelection): reset also xsel_cache.
11516
11517         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11518         where it needs to be called (John tells us to do so too :)
11519         (selectionLost): reset sel_cache.
11520
11521         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11522
11523 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * text2.C (setCursorIntern): put debuging code in INSETS channel
11526
11527 2002-03-19  André Pönitz <poenitz@gmx.net>
11528
11529         * lyxfunc.C: tiny whitespace change
11530
11531 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11532
11533         * ToolbarDefaults.C (init):
11534         * LyXAction.C (init):
11535         * commandtags.h:
11536         * BufferView_pimpl.C (Dispatch):
11537         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11538
11539 2002-03-19  Allan Rae  <rae@lyx.org>
11540
11541         * exporter.C (Export): removeAutoInsets before doing anything else.
11542         While I've just introduced a dependency on BufferView this really is
11543         the best place to clean the buffer otherwise you need to cleanup in
11544         a dozen places before calling export or cleanup in a dozen functions
11545         that export calls.
11546
11547         * converter.C (runLaTeX):
11548         (scanLog): Better handling of removeAutoInsets and screen updates.
11549
11550         * lyxfunc.C (dispatch): small whitespace changes
11551
11552 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11553
11554         * WorkArea.C (C_WorkAreaEvent): return a value.
11555         (event_cb): return 1 if we handled the event, 0 otherwise.
11556
11557         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11558
11559 2002-03-18  Juergen Vigna  <jug@sad.it>
11560
11561         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11562         (GetAdditionalWidth): ditto.
11563         (RightLine): ditto.
11564         (LeftLine): ditto.
11565
11566         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11567         inset if we're there actually (probably not used right now but this
11568         is the direction to go for unifying code).
11569         (paste): disable code to clear the selection.
11570
11571         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11572         inside an InsetText and move the check further up as it is in the
11573         wrong place.
11574
11575         * text2.C (pasteSelection): set a selection over the pasted text.
11576
11577 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11578
11579         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11580         and libgraphics to build on Cygwin.
11581
11582 2002-03-15  Juergen Vigna  <jug@sad.it>
11583
11584         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11585         inserting an Inset into the paragraph. I know this is not the best
11586         fix but we already use current_view in CutAndPaste so we will remove
11587         all of it's using at the same time.
11588
11589         * buffer.C (sgmlError): deactivated function till it is rewritten in
11590         the right mode, now it can create problems.
11591
11592         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11593         before accessing it.
11594
11595 2002-03-14  Juergen Vigna  <jug@sad.it>
11596
11597         * undo_funcs.C (textHandleUndo): do the right thing when updating
11598         the inset after the undo/redo.
11599
11600         * text2.C (setCursor): just some testcode for #44 not ready yet.
11601
11602         * undo_funcs.C (textHandleUndo): set the next() and previous()
11603         pointers of the paragraph to 0 before deleting otherwise we have
11604         problems with the Paragraph::[destructor].
11605
11606         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11607         on a paragraph insertion.
11608
11609 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * buffer.C (asciiParagraph): use += operator for char append to
11612         string.
11613
11614         * paragraph.C (getFontSettings): compare >= not just >
11615         (highestFontInRange): ditto
11616         (setFont): ditto
11617
11618 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * paragraph.C: change several algorithm to be more appripriate for
11621         the problem domain. This is lookip in FontList and in the InsetList.
11622
11623 2002-03-13  André Pönitz <poenitz@gmx.net>
11624
11625         * commandtags.h:
11626         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11627
11628 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * commandtags.h:
11631         * LyXAction.C:
11632         * lyxfunc.C:
11633         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11634
11635 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * Painter.C (display): anon helper function, adjust code for this
11638         change.
11639         (pixmap): remove function.
11640
11641         * Painter.h: remove private display variable.
11642
11643         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11644
11645 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11646
11647         * WorkArea.[Ch]: remove figinset_canvas cruft.
11648
11649 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11650
11651         * lyxtextclass.C (operator): add one item cache optimization.
11652
11653         * bufferlist.h: doxy changes
11654
11655         * bufferlist.C: ws changes
11656
11657         * DepTable.[Ch] (ext_exist): place const in the right spot.
11658
11659         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11660         call resizeInsets.
11661         (workAreaExpose): call resizeInsets when the with BufferView changes.
11662         (Dispatch): adjust for protectedBlank removal
11663         (specialChar): call updateInset if the insert went ok.
11664
11665         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11666         specialChar instead.
11667
11668         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11669
11670         * BufferView.h: doxy change
11671
11672         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11673
11674         * lyxtextclass.C (operator[]): remove non-const version
11675         (defaultLayout): remove non-const version
11676
11677 2002-03-12  Juergen Vigna  <jug@sad.it>
11678
11679         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11680         did resize the LyXText too.
11681
11682         * buffer.C (readLyXformat2): set layout information on newly allocated
11683         paragraphs.
11684
11685         * tabular.C (OldFormatRead): set layout information on the paragraph.
11686
11687 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11688
11689         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11690
11691 2002-03-11  Juergen Vigna  <jug@sad.it>
11692
11693         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11694         plainly wrong.
11695         (resizeCurrentBuffer): force also the insets to resize themselfes.
11696         (moveCursorUpdate): fixed up for InsetText.
11697
11698 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11699
11700         * commandtags.h:
11701         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11702         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11703         value of Dialogs::tooltipsEnabled().
11704         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11705
11706 2002-03-08  Juergen Vigna  <jug@sad.it>
11707
11708         * BufferView_pimpl.C (updateInset): update inset inside inset also
11709         if it isn't inside theLockingInset().
11710
11711 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * buffer.C (asciiParagraph): redo some of the word and line length
11714         handling.
11715         (getLists): look for Caption instead of caption.
11716
11717 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11718
11719         * buffer.C (Buffer): initialize niceFile to true
11720         (makeLaTeXFile):
11721         (makeLinuxDocFile):
11722         (makeDocBookFile): make sure niceFile is true on exit
11723
11724 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11725
11726         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11727
11728 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11729
11730         * LyXSendto.C: remove.
11731         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11732         * lyx_gui.C: remove now-redundant comment.
11733         * ColorHandler.h: remove forward declaration of class WorkArea.
11734         * lyxfunc.C: remove #include "WorkArea.h".
11735
11736 2002-03-07  Juergen Vigna  <jug@sad.it>
11737
11738         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11739         got moved away with the DEPM and also set the inset_owner always
11740         right which before could have been omitted.
11741
11742 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11743
11744         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11745         wanted layout is not found.
11746
11747 2002-03-07  Juergen Vigna  <jug@sad.it>
11748
11749         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11750
11751 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11752
11753         * paragraph.C (breakParagraph): use default layout not layout of
11754         prev paragraph.
11755         (Paragraph): clear ParagraphParameters.
11756
11757 2002-03-06  Juergen Vigna  <jug@sad.it>
11758
11759         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11760         otherwise it would not be a valid lenght. Fixed a special case in
11761         the minipage compatibility read where we end the document with a
11762         minipage.
11763
11764         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11765         was set as it could be 0 for InsetTexts first entry.
11766
11767 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11768
11769         * paragraph.C (writeFile): if layout is empty write out
11770         defaultLayoutName().
11771
11772         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11773         file without named layout we set layout to defaultLayoutName().
11774
11775 2002-03-06  Juergen Vigna  <jug@sad.it>
11776
11777         * CutAndPaste.C (copySelection): set layout for new paragraph.
11778
11779         * text.C (prepareToPrint): leave ERT inset left aligned
11780         (leftMargin): don't indent paragraphs inside ERT insets
11781
11782 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11783
11784         * paragraph.C (breakParagraph): dont call clear do the work manually
11785
11786         * paragraph.[Ch] (clear): remove function
11787
11788 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * paragraph.C (Paragraph): dont call clear, the work has already
11791         been done.
11792
11793         * lyxtextclass.C (operator): assert if n is empty
11794
11795         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11796         work manually instead.
11797
11798 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11799
11800         * BufferView_pimpl.C: protect selectionLost against text == 0
11801
11802 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11803
11804         * text.C (breakParagraph): fix a setting layout to '0' problem.
11805
11806 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11807
11808         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11809         final location of file, for the included files, and graphics.
11810
11811 2002-03-05  Juergen Vigna  <jug@sad.it>
11812
11813         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11814
11815 2002-03-04  Juergen Vigna  <jug@sad.it>
11816
11817         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11818
11819         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11820         last column of multicolumn cells.
11821         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11822
11823 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11824
11825         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11826         file if it doesn't go to a temporary file.
11827
11828         * buffer.C (sgmlOpenTag):
11829         (sgmlCloseTag):  remove extra newline insertion.
11830
11831 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11832
11833         * text.C (getRowNearY): comment out debug msg
11834
11835 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11836
11837         * text2.C: first -> first_y
11838
11839         * text.C (getRowNearY): add some attemts at a possible
11840         optimization, not working.
11841
11842         * tabular.[Ch]: add BufferParams to several function so that newly
11843         created paragraph can be initialized to he default layotu for the
11844         buffers textclass.
11845
11846         * tabular-old.C (ReadOld): add buf->params to call of Init
11847
11848         * screen.C: rename text->first to text->first_y
11849
11850         * paragraph.C (breakParagraph): always set layout in the broken
11851         paragraph
11852
11853         * lyxtextclass.C (Read): remove lowercase
11854         (hasLayout): ditto
11855         (operator): ditto
11856         (delete_layout): ditto
11857
11858         * lyxtext.h: rename first -> first_y
11859
11860         * lyxlayout.C (Read): remove lowercase
11861         (name): ditto
11862         (setName): ditto
11863         (obsoleted_by): ditto
11864
11865         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11866
11867         * buffer.C (insertErtContents): add params are to InsetERT
11868         (parseSingleLyXformat2Token): add code to check if a paragraphs
11869         layout really exist.
11870         (parseSingleLyXformat2Token): add params to several inset
11871         constructors
11872         (asciiParagraph): remove lowercase, do the layout comparisons with
11873         no_case
11874
11875         * BufferView_pimpl.C (cursorNext): first -> first_y
11876         (resizeCurrentBuffer): first -> first_y
11877         (updateScrollbar): first -> first_y
11878         (scrollCB): first -> first_y
11879         (workAreaMotionNotify): first -> first_y
11880         (workAreaButtonPress): first -> first_y
11881         (checkInsetHit): first -> first_y
11882         (cursorPrevious): first -> first_y
11883         (cursorNext): first -> first_y
11884         (Dispatch): add buffer_->params to severl inset contructors
11885
11886 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * lyxlayout.C (Read): remove some debug info that I forgot.
11889
11890         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11891         clean up the code slightly.
11892         (makeLinuxDocFile): ditto
11893         (makeDocBookFile): ditto
11894
11895         * text2.C: layout as string
11896
11897         * text.C: layout as string
11898
11899         * paragraph_pimpl.C: layout as string
11900
11901         * paragraph.[Ch]: layout as string
11902
11903         * lyxtextclasslist.[Ch]: layout as string
11904
11905         * lyxtextclass.[Ch]: layout as string
11906
11907         * lyxtext.h: layout as string
11908
11909         * lyxlayout.[Ch]: layout as string
11910
11911         * lyx_cb.C: layout as string
11912
11913         * bufferview_funcs.C: layout as string
11914
11915         * bufferparams.C: layout as string
11916
11917         * buffer.C: layout as string
11918
11919         * LyXView.[Ch]: layout as string
11920
11921         * LaTeXFeatures.[Ch]: layout as string
11922
11923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11924
11925         * BufferView_pimpl.C: change current_layout to string, remove
11926         lyx::layout_type.
11927         (Dispatch):
11928         (smartQuote):
11929         (insertInset):
11930         (workAreaButtonRelease): layout as string
11931
11932         * BufferView2.C (unlockInset): adjust
11933
11934         * vspace.C (asLatexCommand): use an explict temp variable.
11935
11936 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * Makefile.am: use FRONTEND_*
11939
11940 2002-03-01  Juergen Vigna  <jug@sad.it>
11941
11942         * tabular.C (SetWidthOfMulticolCell): changed to something better
11943         I hope but still work in progress.
11944         (recalculateMulticolumnsOfColumn): renamed function from
11945         recalculateMulticolCells as it is more appropriate now.
11946         (SetWidthOfCell): calculate multicols better.
11947
11948 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11949
11950         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11951
11952         * lyxfunc.C (processKeySym): print sequence also if it is
11953         `deleted' (complete)
11954
11955         * kbsequence.C (print): print sequence even if it is deleted
11956         (complete would be a better word, actually).
11957
11958         * lyxfunc.C (dispatch): print complete options after a prefix key
11959
11960         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11961
11962 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11963
11964         * text2.C (setCharFont): eliminate setCharFont code duplication.
11965
11966 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11967
11968         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11969         LFUN_TABULAR_FEATURE (bug #177)
11970
11971 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * Makefile.am: remove figure.h
11974
11975 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * Bufferview_pimpl.C:
11978         * CutAndPasteC:
11979         * LaTeX.C:
11980         * LyXSendto.C:
11981         * buffer.C:
11982         * bufferlist.C:
11983         * converter.C:
11984         * language.C:
11985         * lyxfunc.C:
11986         * lyxvc.C:
11987         * paragraph.C:
11988         * text.C:
11989         * text2.C: remove #include "lyx_gui_misc.h".
11990
11991         * LaTeX.C: added #include <cstdio>
11992
11993 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11994
11995         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11996         that the paragraph following this one can have.
11997
11998         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11999
12000         * vspace.C (asLatexCommand): fix bogus gcc warning
12001
12002         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12003
12004 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12005
12006         * text2.C (setLayout): get rid of redundant code
12007
12008 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12009
12010         * text2.C (incDepth): make sure depth cannot be increased beyond
12011         reasonable values.
12012
12013 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12014
12015         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12016         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12017
12018         * PainterBase.h (image):
12019         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12020         a LyXImage const *.
12021
12022 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12023
12024         * BufferView.C:
12025         * BufferView.h:
12026         * BufferView_pimpl.C:
12027         * BufferView_pimpl.h:
12028         * LaTeXFeatures.C:
12029         * LyXAction.C:
12030         * LyXView.C:
12031         * Makefile.am:
12032         * UpdateList.h:
12033         * UpdateList.C:
12034         * buffer.C:
12035         * figure.h:
12036         * figureForm.C:
12037         * figureForm.h:
12038         * figure_form.C:
12039         * figure_form.h:
12040         * lyx_cb.C:
12041         * lyx_gui.C:
12042         * lyx_gui_misc.C:
12043         * lyxfunc.C:
12044         * sp_base.h:
12045         * sp_ispell.h:
12046         * sp_pspell.h:
12047         * sp_spell.C: remove fig inset, and the crap house of
12048           cards that follows it
12049
12050 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * Makefile.am:
12053         * lyxserver.C:
12054         * os2_defines.h:
12055         * os2_errortable.h:
12056         * nt_defines.h: move .h into support/
12057
12058         * vms_defines.h: remove
12059
12060         * WorkArea.C: add space in debug output
12061
12062         * text2.C:
12063         * paragraph.C:
12064         * buffer.C: add WITH_WARNINGS
12065
12066         * vc-backend.h:
12067         * vc-backend.C:
12068         * bufferlist.C: s/retrive/retrieve/, add docs
12069
12070         * vspace.h:
12071         * vspace.C:
12072         * kbmap.h:
12073         * lyxlength.h:
12074         * lyxgluelength.h:
12075         * length_common.h:
12076         * chset.h:
12077         * chset.C: add docs
12078
12079         * lyxgui.C: add ID to X error handler
12080
12081         * lyxtestclass.c: fix typo
12082
12083 2002-02-26  Juergen Vigna  <jug@sad.it>
12084
12085         * tabular_funcs.C (write_attribute): changed so that some default
12086         attributes are not written at all.
12087         (getTokenValue): set default values before trying to read the
12088         value so we have the return value always set as default if we don't
12089         find the token we search for.
12090
12091         * tabular.C (Write): write bools as bools not as strings!
12092
12093 2002-02-22  Juergen Vigna  <jug@sad.it>
12094
12095         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12096         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12097
12098         * text.C (leftMargin): don't add an indent for paragraphs inside
12099         tabular cells (fix #208).
12100
12101 2002-02-21  José Matos  <jamatos@fep.up.pt>
12102
12103         * tabular.C (docBook): fixed support for long tables.
12104
12105 2002-02-20  Juergen Vigna  <jug@sad.it>
12106
12107         * text2.C (getFont): get the drawing font of the Inset if this
12108         paragraph is inside an inset (only important for InsetERT for now).
12109
12110         * buffer.C (insertErtContents): use new lanugage params in ERT
12111         constructor.
12112
12113         * CutAndPaste.C: commenting out seemingly uneeded code.
12114
12115 2002-02-19  Allan Rae  <rae@lyx.org>
12116
12117         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12118         Iterators might be simple to use but they also get invalidated.
12119         (removeAutoInsets): renamed saved cursor tracking variables and added
12120         some comments to clarify what everything does.
12121
12122 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12123
12124         * Chktex.C:
12125         * LaTeX.C:
12126         * LyXSendto.C:
12127         * converter.C:
12128         * lyx_cb.C:
12129         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12130         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12131
12132         * lyxfunc.C:
12133         * vc-backend.h: remove #include "support/syscall.h"
12134
12135         * LaTeX.C:
12136         * LyXSendto.C:
12137         * converter.C: rearrange #includes in Lars' approved fashion.
12138
12139         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12140         forward declare class Timeout in the header file.
12141
12142         * XFormsView.C: changes due to the above.
12143
12144         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12145         similar to LyXView.
12146
12147         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12148         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12149
12150 2002-02-18  José Matos  <jamatos@fep.up.pt>
12151
12152         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12153         insets contents.
12154
12155 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12156
12157         * a lot of small ws changes
12158         * add a lot of using std::XXX
12159         * use std construcs some places where approp.
12160         * use some exisint stuff from lyxfunctional where approp.
12161         * Make file changes to use partial linking (lets test this now...)
12162
12163 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12164
12165         * Chktex.C:
12166         * buffer.C:
12167         remove #include "support/syscontr.h" as it's redundant. Always has been.
12168
12169         * Chktex.C:
12170         * LaTeX.C:
12171         * LyXSendto.C:
12172         * converter.C:
12173         * lyx_cb.C:
12174         * vc-backend.C:
12175         change Systemcalls::System to Systemcalls::Wait and
12176         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12177         No change of functionality, just reflects the stripped down Systemcalls
12178         class.
12179
12180 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12181
12182         * debug.[Ch]: add a GRAPHICS type to the enum.
12183
12184 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12187
12188         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12189         there is an inset.
12190
12191 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12192
12193         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12194         match the changes below.
12195
12196         * text2.C (toggleInset): if there is not editable inset at cursor
12197         position, try to see if cursor is _inside_ a collapsable inset
12198         and close it.
12199
12200 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12203         document menu has a nice checkbox
12204
12205 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12206
12207         * lyxlength.C (asLatexString): change PW to output as percent of
12208         \textwidth.
12209
12210         * lengthcommon.C: change '%' to 't%'
12211
12212         * lyxfunc.C (dispatch): a few comments from Martin
12213
12214 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12215
12216         * WorkArea.h:
12217         * WorkArea.C:
12218         * BufferView_pimpl.h:
12219         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12220           the X selection.
12221
12222 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12223
12224         * vspace.C (inPixels): fix compiler warning
12225
12226 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12227
12228         * lyxfunc.C (getStatus): fix status message for disabled commands.
12229
12230 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * BufferView_pimpl.C: fix crash on close buffer
12233         during selection (#227)
12234
12235 2002-01-27  Herbert Voss  <voss@lyx.org>
12236
12237         * buffer.C: link old Figure to new graphic inset
12238
12239 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12240
12241         * FontLoader.C (getFontinfo): Change the latex font names in order
12242         to match the names of type1inst.
12243
12244 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12247
12248         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12249         (extchanged): ditto
12250         (ext_exist): ditto
12251         (remove_files_with_extension): ditto
12252         (remove_file): ditto
12253         (write): ditto
12254
12255         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12256         document is smaller than the work area height. Do not initialize
12257         static variables to 0.
12258
12259 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12260
12261         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12262
12263         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12264         LFUN_LAYOUT_PARAGRAPHS.
12265
12266         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12267         tabular. It is possible to provide a possible cell, which will
12268         typically be the actcell from the corresponding insettabular
12269
12270         * lyxfunc.C (getStatus): small cleanup; disable
12271         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12272         true
12273
12274 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12275
12276         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12277
12278         * paragraph.C (startTeXParParams):
12279         (endTeXParParams): new methods. The LaTeX code to
12280         start/end paragraph formatting
12281         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12282         empty (fixes bug #200)
12283
12284         * vspace.C (inPixels): adapt to the change below
12285         (inPixels): [later] more cleanups (remove unused variables)
12286
12287         * lyxlength.C (inPixels): change to use a width and a height as
12288         parameter.
12289
12290 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12291
12292         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12293         Replaced with \paperwidth
12294
12295         * DepTable.C (insert): add std:: qualifier
12296
12297 2002-01-18  Allan Rae  <rae@lyx.org>
12298
12299         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12300         updated also?
12301
12302         * text.C (drawInset): Turned out I didn't know enough about how
12303         rebreaking worked.  This fixes most of the redraw problems.  I see
12304         an occasional cursor trail when a line is broken now and the cursor
12305         placement can seem out by a few pixels also after a rebreak.
12306
12307 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12308
12309         * buffer.C (parseSingleLyXformat2Token): update because minipage
12310         width is now a LyXLength
12311
12312         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12313
12314         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12315         math insets
12316
12317 2002-01-17  Juergen Vigna  <jug@sad.it>
12318
12319         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12320
12321         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12322         is set correctly and the inset is updated correctly.
12323
12324 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12325
12326         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12327         the beginning of the loop.
12328
12329 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * lyxrc.C: improve help for use_scalable_fonts
12332
12333 2002-01-17  Allan Rae  <rae@lyx.org>
12334
12335         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12336
12337 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12338
12339         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12340         make sure to set their inset_owner to the right value (bug #171)
12341
12342 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12343
12344         * DepTable.h
12345         * DepTable.C: Implement mtime checking to reduce time spent doing
12346         CRCs.
12347
12348 2002-01-16  Juergen Vigna  <jug@sad.it>
12349
12350         * tabular.C (GetAdditionalHeight): one of error fixed.
12351
12352         * lyxrc.C (output): small fix in writing use_pspell.
12353
12354 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12355
12356         * sp_base.h: #include LString.h
12357
12358 2002-01-16  Allan Rae  <rae@lyx.org>
12359
12360         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12361         Can someone check this please?
12362
12363         * text.C (drawInset): It was possible that p.row would be removed by
12364         breakAgainOneRow upsetting a few other settings.  There may be another
12365         small tweak possible by setting need_break_row = 0 when p.row has been
12366         removed but I don't know enough about the logic here.
12367
12368 2002-01-15  Allan Rae  <rae@lyx.org>
12369
12370         * text.C (insertChar): removed conditional truism.
12371
12372         * BufferView2.C (removeAutoInsets): More tweaks.
12373         cur_par_prev could be a stray pointer.  Check for trailing empty line
12374         in case last line was cur_par and only had an error inset on it.
12375
12376 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12379         absolute
12380
12381         * vc-backend.C (most methods):
12382         * exporter.C (Export):
12383         * converter.C (convert):
12384         (runLaTeX):
12385         * LyXSendto.C (SendtoApplyCB):
12386         * lyxfunc.C (dispatch):
12387         (menuNew):
12388         (open):
12389         (doImport):
12390         * lyx_cb.C (AutoSave):
12391         (InsertAsciiFile):
12392         * BufferView_pimpl.C (MenuInsertLyXFile):
12393         * buffer.C (runChktex): use Buffer::filePath().
12394
12395         * buffer.h: rename filename to filename_; rename filepath to
12396         filepath_ and make it private
12397         (filePath): new method
12398
12399         * buffer.C (writeFile): use fileName()
12400         (getLatexName):
12401
12402         * lyx_main.C (init): fix starting  of LyX when the binary is a
12403         link from so,ewhere else.
12404
12405         * minibuffer.C: include <cctype> for isprint
12406
12407 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12408
12409         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12410         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12411         name clash with InsetCollapsable's width function.
12412
12413 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12414
12415         * lastfiles.C: include <iterator>
12416
12417 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12420         std::count.
12421
12422         * buffer.C (makeLaTeXFile): ditto.
12423         Also make loop operation more transparent.
12424
12425 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12426
12427         * ToolbarDefaults.C: remove trailing comma closing namespace.
12428
12429         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12430
12431         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12432         as in WorkArea.
12433
12434         * trans.C (Load): comment out unused variable, allowed.
12435
12436 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12437
12438         * minibuffer.[Ch] (append_char): new method to recieve input from the
12439         drop-down completion browser. If a key was pressed, then recieve this
12440         char and append it to the existing string.
12441         (peek_event): modify the positioning data passed to the completion
12442         browser so that it can be placed above the minibuffer rather than below.
12443 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12444
12445         * LyXAction.C (init): alloe error-next for readonly documents.
12446
12447         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12448         count.
12449
12450 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * bufferlist.C (readFile): create the buffer _after_ checking that
12453         the file exists.
12454
12455         * lyxfunc.C (verboseDispatch): fix handling of arguments
12456
12457         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12458
12459         * lyxrc.C: use string::erase() instead of initializing to "".
12460
12461
12462 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * BufferView_pimpl.h:
12465         * BufferView_pimpl.C:
12466         * WorkArea.h:
12467         * WorkArea.C:
12468         * text2.C: tell X when we have made a selection for copying
12469
12470 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12471
12472         * BufferView_pimpl.C (MenuInsertLyXFile):
12473         * lyxfunc.C (menuNew):
12474         (open):
12475         (doImport): add shortcuts to directory buttons
12476
12477         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12478         open a float)
12479
12480         * lyxfunc.C (setStatusMessage):
12481         (getStatusMessage): new methods
12482         (getStatus):use setStatusMessage instead of setErrorMessage
12483         (dispatch): when function is disabled, set error message here
12484         [instead of in getStatus previously]
12485
12486         * BufferView_pimpl.C (workAreaButtonRelease): update
12487         toolbar/menubar here too.
12488
12489 2002-01-13  Allan Rae  <rae@lyx.org>
12490
12491         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12492         Now seems indestructible.  Remaining task is to audit all other
12493         code affected by deleteEmptyParagraphMechanism.  One small quirk
12494         left is that an empty document with an error in the preamble can
12495         be made to report an error but no error box appears.  I don't know
12496         where it goes.
12497         (removeAutoInsets): Improved comments.
12498
12499 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * Thesaurus.h:
12502         * Thesaurus.C: update for Aiksaurus 0.14
12503
12504 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * text2.C (firstParagraph): removed member function, all uses
12507         replaces with ownerParagraph
12508         (redoParagraphs): here
12509         (updateInset): here
12510         (toggleAppendix): here
12511         * BufferView2.C (insertErrors): here
12512         (setCursorFromRow): here
12513
12514 2002-01-13  Allan Rae  <rae@lyx.org>
12515
12516         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12517         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12518         There is still a way to segfault this although you may have to do this
12519         multiple times: Have an InsetERT with an unknown command in it.
12520         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12521         <down-arrow>, <Enter> again, View->DVI, BANG!
12522
12523         * text2.C (setCursor):
12524         (deleteEmptyParagraphMechanism):
12525         * lyxtext.h (setCursor):
12526         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12527         Making use of the return value may help fix other bugs.
12528
12529 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12530
12531         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12532
12533         * LyXView.C (updateMenubar): call MenuBar::update here
12534         (updateToolbar): but not here
12535         (showState): do not update toolbar/menubar
12536
12537         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12538         should need to care about that.
12539
12540         * lyxfunc.C (verboseDispatch): simplify a bit
12541         (getStatus): have a version which takes a pseudoaction, and
12542         another which requires a (kb_action,string).
12543
12544         * LyXAction.C (retrieveActionArg): make it work also when action
12545         is not a pseudo-action.
12546         (getActionName): simplify a bit
12547         (helpText):
12548
12549 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12550
12551         * lyxfunc.C (verboseDispatch): new families of methods with
12552         several ways to specify a command and a bool to indicate whether
12553         the command name and shortcut should be displayed in minibuffer
12554         (eventually, we could extend that to a finer bitmask like
12555         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12556         (dispatch): the pristine dispatch command which just, well,
12557         dispatchs! Note it still sets its result to minibuffer; I'm not
12558         sure we want that.
12559
12560         * lyxfunc.h: remove setHintMessage
12561
12562         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12563
12564 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12565
12566         * BufferView_pimpl.C (specialChar): delete new inset if we have
12567         not been able to insert it.
12568
12569         * kbmap.C: revert to using int instead of kb_action, since all we
12570         are dealing with is pseudo-actions.
12571
12572         * LyXAction.C (searchActionArg): change to return int instead of
12573         kb_action, since the result is a pseudoaction.
12574
12575 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12576
12577         * buffer.C (insertErtContents): Fix (partially) the font bug.
12578
12579 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12580
12581         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12582         as the other one is broken on my machine!
12583
12584 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12585
12586         * commandtags.h:
12587         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12588
12589 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12590
12591         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12592         reflect their actual use. Provide compatibility code for older lyxrc
12593         files.
12594
12595         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12596         FL_NORMAL_STYLE.
12597         change names of popup font variables in line with the changes to lyxrc.C
12598
12599 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12600
12601         * buffer.C (asciiParagraph): avoid outputing a word twice after
12602         an inset.
12603
12604         * lyxrc.C (getDescription): document that document_path and
12605         template_path can be empty.
12606
12607 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12608
12609         * LaTeXFeatures.C (getMacros):
12610         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12611
12612         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12613
12614         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12615         getPackages.
12616         (getPackages): rename feature "floats" to "float". Use an array to
12617         iterate over 'simple' features (i.e. just a \usepackage). Add
12618         handling of "amsmath" (renamed from "amsstyle").
12619
12620 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12621
12622         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12623         features list.
12624
12625 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12626
12627         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12628         FuncStaus::FuncStatus & FuncStaus::some_method().
12629
12630 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12631
12632         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12633         of the func_satus stuff. Edited and massaged in various ways by
12634         JMarc.
12635
12636         * lyxfunc.C (getStatus): use FuncStatus
12637
12638 2002-01-08  Juergen Vigna  <jug@sad.it>
12639
12640         * text.C (nextBreakPoint): use function Inset::isChar().
12641
12642         * paragraph.C (TeXOnePar): use function
12643         Inset::forceDefaultParagraphs.
12644
12645         * buffer.C (latexParagraphs): use function
12646         Inset::forceDefaultParagraphs.
12647
12648 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12649
12650         * lyx_gui.C (init): set the style of the menu popups to
12651         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12652
12653 2002-01-07  Juergen Vigna  <jug@sad.it>
12654
12655         * text.C (setHeightOfRow): small fix
12656         (prepareToPrint): don't look at alignment if we don't have the place
12657         for doing it.
12658
12659 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12660
12661         * box.C: New file. Move the Box methods and functions out of box.h,
12662         following Lars' suggestion.
12663
12664 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12665
12666         * box.h: #include "support/LOstream.h", needed for inlined function.
12667
12668         * lyxtextclass.C:
12669         * lyxtextclasslist.C: added some using std declarations.
12670
12671 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12672
12673         * box.h: make signed dimensions to allow insets wider than
12674           the screen (bug #162)
12675
12676         * BufferView_pimpl.C: add some insetHit debug
12677
12678 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * vc-backend.C: add FIXME
12681
12682 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12683
12684         * lyxfunc.C (getStatus): enable code for showing math font status
12685         in toolbar/menu.
12686
12687 2002-01-07  Juergen Vigna  <jug@sad.it>
12688
12689         * text.C (nextBreakPoint): removed debug output not needed anymore.
12690
12691 2002-01-06  Juergen Vigna  <jug@sad.it>
12692
12693         * text.C (nextBreakPoint): fixed up this function we had this bug
12694         since ever but now hopefully we break row better.
12695         (insertChar): we have to check if an inset is the next char as it
12696         could now happen that a large inset is causing a break.
12697
12698 2002-01-05  Juergen Vigna  <jug@sad.it>
12699
12700         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12701         if it doesn't like to be drawed.
12702
12703 2002-01-04  Juergen Vigna  <jug@sad.it>
12704
12705         * BufferView2.C (lockInset): forgot to set a cursor.
12706
12707         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12708
12709 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12710
12711         * FormMathsPanel.C:
12712         * FormMathsPanel.h
12713         * MathsSymbols.C:
12714         * form_maths_panel.C:
12715         * form_maths_panel.h:
12716         * form_maths_panel.fd: implemented sub- and super- buttons in math
12717         panel.
12718
12719         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12720         (or ^ space) to be used as in TeX (req'd by André).
12721
12722         * lyxfunc.C: Allow ^ and _ again to be used both as
12723         super/subscript (mathed) and as themselves (in text).
12724
12725 2002-01-03  Allan Rae  <rae@lyx.org>
12726
12727         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12728         "LyX" or the filename of the current buffer if it has one.  This is a
12729         modified form of John Levon's patch.
12730
12731         * XFormsView.C (setWindowTitle): also set icon title.
12732
12733         * LyXView.h (setWindowTitle): signature changed.
12734         * XFormsView.h (setWindowTitle): ditto.
12735
12736 2002-01-02  Juergen Vigna  <jug@sad.it>
12737
12738         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12739
12740 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12741
12742         * screen.C (topCursorVisible): introduce a temp var for
12743         text->cursor.row(), handle the case where this row is null. (kindo
12744         hachish)
12745
12746         * text2.C (setCursor): add a couple of asserts.
12747
12748         * paragraph.h (inset_iterator): add -> operator
12749
12750         * paragraph.[Ch] (autoDeleteInsets): remove member function
12751
12752         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12753         cursor pos correctly and handle inset deletion by itself.
12754         (insertErrors): move iterator declaration out of for expression
12755
12756         * lyxtextclass.C: add <algorithm>
12757
12758         * Makefile.am: added the new files to sources, removed layout.C
12759
12760         * layout.C: removed file
12761
12762         * layout.h: remove LYX_DUMMY_LAYOUT
12763
12764         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12765         layout.
12766
12767         * lyxlayout.[Ch]:
12768         * lyxtextclass.[Ch]:
12769         * lyxtextclasslist.[Ch]: new files
12770
12771         * include order changes to a lot of files, also changes because of
12772         the six new files.
12773
12774 2001-12-27  Juergen Vigna  <jug@sad.it>
12775
12776         * buffer.C (asciiParagraph): more fixes.
12777
12778         * tabular.C (ascii): make ascii export support export of only the
12779         data separated by a column-delimiter.
12780         (ascii): better support for ascii export.
12781
12782         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12783
12784 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12785
12786         * tabular_funcs.C: use a "using std::getline" instead of the
12787         previous fix from Angus (necessary for cxx + lyxstring)
12788
12789 2001-12-24  Juergen Vigna  <jug@sad.it>
12790
12791         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12792
12793         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12794         problems. First check a minipage also if we have some ert-contents
12795         (not only on par->size(), second set the right depth of the paragraph
12796         on the relink to the root-paragraph-list!
12797
12798         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12799         which then did not anymore update the main paragraphs on undo/redo!
12800
12801 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12802
12803         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12804         code. Support all font-changing funcs (even those which are not in
12805         menu currently). Support for reporting font settings in
12806         mathed (disabled until Andre provides a function on mathed's side).
12807
12808         * func_status.h (toggle): small helper function to set toggle
12809         state on a flag.
12810
12811 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * tabular_funcs.C: getline -> std::getline
12814
12815 2001-12-21  Juergen Vigna  <jug@sad.it>
12816
12817         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12818         accessed and could be 0 (I couldn't generate this but it seems
12819         Michael could!).
12820
12821 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12822
12823         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12824         * tabular_funcs.h: here and include iosfwd
12825
12826 2001-12-20  Juergen Vigna  <jug@sad.it>
12827
12828         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12829         inside inset but undo_par was.
12830
12831 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12832
12833         * Thesaurus.C: always include <config.h> in sources.
12834
12835         * Painter.h:
12836         * lyxlookup.h:
12837         * box.h: do not include <config.h> in header files
12838
12839         * text.C (paintLastRow): remove unused variable
12840
12841         * text.C (transformChar):
12842         (insertChar):
12843         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12844
12845         * Painter.C (text):
12846         * font.C (width): rewrite to use uppercase() instead of
12847         islower/toupper.
12848
12849         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12850
12851 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * lyxfind.C: clean up of find failure position change
12854
12855 2001-12-20  Juergen Vigna  <jug@sad.it>
12856
12857         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12858
12859         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12860         (TeXRow): added to LaTeX a single tabular row.
12861         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12862         (Latex): simplified and finally good LT-h/f support.
12863         (various_functions): just small adaptions for LT-h/f support.
12864
12865         * tabular_funcs.[hC]: added and moved here all not classfunctions
12866         of LyXTabular.
12867
12868 2001-12-19  Juergen Vigna  <jug@sad.it>
12869
12870         * tabular.[Ch]: better support for longtabular options (not finished
12871         yet!)
12872
12873 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * text.C (paintLastRow): use the label font instead of the font of
12876         the last character to compute the size of *_BOX. This makes more
12877         sense and avoids a crash with empty paragraphs.
12878         Use Painter::rectangle to draw EMPTY_BOX.
12879
12880 2001-12-19  Juergen Vigna  <jug@sad.it>
12881
12882         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12883         the paragraphs if the replaced paragraph is not the first one!
12884         Tried to delete not used paragraphs but does not work yet so for
12885         now it's inside #ifdef's and by default off!
12886
12887 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12888
12889         * MenuBackend.C: include "lyx_main.h" instead of declaring
12890         lastfiles (actually was declared as LastFiles* instead of a
12891         scoped_ptr).
12892
12893 2001-12-17  Juergen Vigna  <jug@sad.it>
12894
12895         * tabular.C (AppendColumn): applied John's fix
12896
12897 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12898
12899         * BufferView.h:
12900         * BufferView.C:
12901         * BufferView_pimpl.h:
12902         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12903
12904         * Makefile.am:
12905         * box.h: new start of class for above
12906
12907         * lyxfunc.C: ignore space-only minibuffer dispatches.
12908           Show the command name when it doesn't exist
12909
12910         * minibuffer.C: don't add empty lines to the history
12911
12912         * minibuffer.C: add a space on dropdown completion
12913
12914 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * text.C: fix line above/below drawing in insets
12917
12918 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12919
12920         * lyxlength.C (LyXLength): Initialize private variables.
12921
12922 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12923
12924         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12925         when inserting error insets.
12926
12927 2001-12-13  Juergen Vigna  <jug@sad.it>
12928
12929         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12930         actually sometimes the before-paragraph.
12931         (setUndo): don't clear the redostack if we're not actually undoing!
12932
12933 2001-12-06  Juergen Vigna  <jug@sad.it>
12934
12935         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12936         and fixed redoing of main paragraph, so we can use it now ;)
12937
12938         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12939
12940 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12941
12942         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12943         Juergen's request
12944
12945 2001-12-13  André Pönitz <poenitz@gmx.net>
12946
12947         * undostack.[Ch]:
12948         * undo_func.C: minor cleanup
12949
12950 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12951
12952         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12953         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12954         font in urw-fonts package which is marked as -urw-fontspecific and
12955         does not work (incidentally, changing the encoding in the
12956         fonts.dir of this package to -adobe-fontspecific fixes the
12957         problem).
12958
12959         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12960         is a crash when undoing first paragraph (Juergen, please take a
12961         look). THis does not mean the undo fix is wrong, just that it
12962         uncovers problems.
12963
12964         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12965         the (Paragraph*) version when needed instead of duplicating the
12966         code.
12967
12968         * text.C (workWidth): use Inset::parOwner to find out where the
12969         inset has been inserted. This is a huge performance gain for large
12970         documents with lots of insets. If Inset::parOwner is not set, fall
12971         back on the brute force method
12972
12973         * paragraph_pimpl.C (insertInset):
12974         * paragraph.C (Paragraph):
12975         (cutIntoMinibuffer): set parOwner of insets when
12976         inserting/removing them
12977
12978         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12979
12980 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12981
12982         * commandtags.h:
12983         * LyXAction.C:
12984         * lyx_main.C:
12985         * lyxfunc.C:
12986         * mathed/formulabase.C:
12987         * mathed/math_cursor.[Ch]:
12988         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12989
12990
12991 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * lyxlength.[Ch] (operator!=): new function
12994
12995 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12996
12997         * text.C (workWidth): use Inset::parOwner to find out where the
12998         inset has been inserted. This is a huge performance gain for large
12999         documents with lots of insets. If Inset::parOwner is not set, fall
13000         back on the brute force method
13001
13002         * paragraph_pimpl.C (insertInset):
13003         * paragraph.C (Paragraph):
13004         (cutIntoMinibuffer): set parOwner of insets when
13005         inserting/removing them
13006
13007         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13008
13009 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13010
13011         * tabular-old.C (getTokenValue):
13012         * tabular.C (getTokenValue):
13013         (write_attribute): new versions for LyXLength
13014         (everywhere): adjust the use of widths
13015
13016         * tabular.h: change the type of widths from string to LyXLength
13017
13018 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13019
13020         * paragraph.C: fixed missing line number count when exporting
13021         Environments to LaTeX file
13022
13023         * buffer.C: added informational message for checking line numbers.
13024
13025 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13028         paragraph, do the 'double space' part, but not the 'empty
13029         paragraph' one.
13030
13031         * text.C (workWidth): small optimization
13032         (getLengthMarkerHeight): use minimal size for negative lengths.
13033
13034 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13035
13036         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13037
13038         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13039
13040 2001-12-11  André Pönitz <poenitz@gmx.net>
13041
13042         * FontLoader.C:
13043         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13044
13045 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13046
13047         * text2.C: keep selection on a setFont()
13048
13049 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13050
13051         * lyx_cb.C: another bv->text misuse, from insert label
13052
13053 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13054
13055         * kbsequence.h:
13056         * kbsequence.C: re-instate nmodifier mask
13057
13058 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13059
13060         * lyx_main.h: make lyxGUI private.
13061
13062 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * lyxfind.C: place the cursor correctly on failed search
13065
13066 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13067
13068         * text.C (getLengthMarkerHeight): for small heights, the arrows
13069         are not always on top/bottom of the text
13070         (drawLengthMarker): smaller arrows; take the left margin in
13071         account; draw also vfills.
13072         (paintFirstRow):
13073         (paintLastRow): remove special code for vfill and standard spaces,
13074         since everything is handled in drawLengthMarker now.
13075
13076 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * buffer.C (insertErtContents): try to handle font and language
13079         interaction a bit better.g
13080
13081         * ColorHandler.C (updateColor): change the hash to cover the whole
13082         LColor enum, ws cleanup
13083         (getGCLinepars): ditto
13084         (getGCLinepars): only lookup in the linecache once.
13085
13086 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13087
13088         * iterators.C (operator++): Make the iterator more robust
13089
13090         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13091         (John's patch)
13092         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13093
13094 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13095
13096         * lyxtext.h:
13097         * text.C: better added space drawing
13098
13099 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13100
13101         * LyXView.C:
13102         * BufferView2.C: fix layout combo update on inset unlock
13103
13104 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13105
13106         * Makefile.am: don't compile unused files
13107
13108 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13109
13110         * lyxfunc.C:
13111         * commandtags.h:
13112         * LyXAction.C: remove old LFUN_LAYOUTNO
13113
13114 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13115
13116         * paragraph_pimpl.h:
13117         * paragraph_pimpl.C: isTextAt() doesn't need font param
13118
13119 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * lyxlex.h:
13122         * lyxlex.C: little cleanup
13123
13124 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13125
13126         * BufferView_pimpl.C: fix insertAscii for insets
13127
13128 2001-12-05  Juergen Vigna  <jug@sad.it>
13129
13130         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13131         set the right font on the "multi" paragraph paste!
13132
13133 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * trans_decl.h:
13136         * trans_mgr.[Ch]:
13137         * trans.[Ch]:
13138         * lyxgluelength.C:
13139         * lyxlength.C: remove out-commented code.
13140
13141         * BufferView_pimpl:
13142         * CutAndPaste.C:
13143         * DepTable.C:
13144         * buffer.C:
13145         * chset.C:
13146         * lastfiles.C:
13147         * lyxlex.C:
13148         * lyxlex_pimpl.C:
13149         * lyxserver.C:
13150         * screen.C:
13151         * tabular-old.C:
13152         * tabular.C:
13153         * text.C:
13154         * trans_mgr.C:
13155         * vc-backend.C: change "while(" to "while ("
13156
13157         * lyxlength.[Ch]: add zero function to check if length is zero or
13158         not
13159         * lyxgluelength.C: use it
13160
13161 2001-12-05  Allan Rae  <rae@lyx.org>
13162
13163         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13164         Works for 2.95.3, from what I understand of Garst's reports this should
13165         work for other g++ versions.  We're screwed if the abs(int) definition
13166         changed between bugfix releases of gcc.
13167
13168 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * text.C: fix chapter label offset !
13171
13172 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * lyxtext.h:
13175         * text.C: fix hfill at end of line, clean up
13176
13177 2001-12-04  Juergen Vigna  <jug@sad.it>
13178
13179         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13180         that we force an update of the inset and it's owners if neccessary.
13181
13182 2001-12-03  Juergen Vigna  <jug@sad.it>
13183
13184         * text.C (rowLast): simplified code
13185
13186 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13187
13188         * lyxfunc.C: fix show options on timeout
13189
13190 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * screen.C (topCursorVisible): scroll half a page when the cursor
13193         reached top of bottom of screen
13194
13195 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * minibuffer.C: deactivate on loss of focus
13198
13199 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13200
13201         * vspace.[Ch] (operator!=): add operator.
13202
13203 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13204
13205         * BufferView_pimpl.C: refuse to open an inset when
13206         there's a selection.
13207
13208 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13209
13210         * BufferView_pimpl.C: allow to click on RHS of full row insets
13211
13212 2001-11-30  Juergen Vigna  <jug@sad.it>
13213
13214         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13215         insets for undo reasons.
13216
13217 2001-11-28  André Pönitz <poenitz@gmx.net>
13218
13219         * vspace.[Ch]: cosmetical changes
13220
13221 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13222
13223         * LyXAction.h:
13224         * LyXAction.C:
13225         * lyxfunc.h:
13226         * lyxfunc.C:
13227         * kbmap.h:
13228         * kbmap.C:
13229         * lyxrc.C:
13230         * kbsequence.h:
13231         * kbsequence.C: part re-write of old kb code
13232
13233         * Painter.C:
13234         * WorkArea.C: remove Lgb_bug_find_hack
13235
13236 2001-11-30  José Matos <jamatos@fep.up.pt>
13237
13238         * buffer.C (makeDocBookFile): add a comment to point a hack.
13239         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13240         Fixed a double write of labels.
13241
13242 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13243
13244         * LaTeX.C:
13245         * LaTeX.h Fixed bug in LaTeX class where it would not
13246         re-run latex if no depfiles were changed, but the .dvi was removed.
13247
13248 2001-11-28  André Pönitz <poenitz@gmx.net>
13249
13250         * all the files from the change on 2001/11/26:
13251         use lyx::layout_type instead of LyXTextClass::size_type
13252         use lyx::textclass_type instead of LyXTextClassList::size_type
13253
13254 2001-11-29  Juergen Vigna  <jug@sad.it>
13255
13256         * text.C: added support for paragraph::isFreeSpacing()
13257
13258         * buffer.C: same as above
13259
13260         * paragraph.h: inserted isFreeSpacing() function to enable
13261         FreeSpacing inside InsetERT.
13262
13263         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13264         of the paragraph's in the cut/copy buffer to 0!
13265
13266         * text2.C (removeRow): remove the assert as it can!
13267
13268         * lyxtext.h: added helper function firstRow returning firstrow and
13269         made firstrow private again.
13270
13271         * BufferView2.C (lockInset): don't relock if we're already locked!
13272
13273         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13274         the only paragraph.
13275         (removeRow): added Assert::(firstrow)
13276
13277         * debug.C: forgot to add INSETTEXT here.
13278
13279 2001-11-28  Juergen Vigna  <jug@sad.it>
13280
13281         * sp_spell.C (initialize): changed error text to more general
13282         spellchecker command use (not only ispell!)
13283
13284         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13285
13286         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13287
13288 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13289
13290         * vspace.C: initialise lyxgluelength on failure
13291
13292 2001-11-28  Allan Rae  <rae@lyx.org>
13293
13294         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13295         declaration & definition that looks like a function declaration.
13296
13297 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13298
13299         * BufferView2.C (copy):
13300         (copyEnvironment): do not clear the selection when doing a copy.
13301
13302         * text.C (paintFirstRow): compilation fix
13303
13304 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13305
13306         * tabular.C (Latex): correct line count when writing latex.
13307
13308 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * paragraph_pimpl.h:
13311         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13312           bug a bit
13313
13314 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13315
13316         * text.C:
13317         * LColor.h:
13318         * LColor.C: change vfillline->added_space
13319
13320         * text.C: add markers and text for added space
13321
13322         * vspace.C: fix comment
13323
13324 2001-11-28  André Pönitz <poenitz@gmx.net>
13325
13326         * paragraph.C: whitespace changes
13327         * all the other files from the change on 2001/11/26:
13328         change *::pos_type into lyx::pos_type
13329
13330 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13331
13332         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13333         language of the document when inserting error insets.
13334
13335 2001-11-26  André Pönitz <poenitz@gmx.net>
13336
13337         * BufferView_pimpl.[Ch]:
13338         *       CutAndPaste.C:
13339         * buffer.[Ch]:
13340         * lyxcursor.[Ch]:
13341         * lyxfind.C:
13342         * lyxfunc.C:
13343         * lyxrow.[Ch]:
13344         * paragraph.[Ch]:
13345         * paragraph_pimpl.[Ch]:
13346         * sp_spell.C:
13347         * text.C:
13348         * text2.C: reduce header dependencies, introduce type for positions
13349
13350 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13351
13352         * <various>: change to use Alert.h
13353
13354 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13355
13356         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13357         when encountering an unknown token.
13358         (readLyXformat2): Show an error message if there were unknown tokens.
13359
13360 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * BufferView2.C:
13363         * BufferView_pimpl.C:
13364         * buffer.C:
13365         * paragraph.h:
13366         * text.C:
13367         * text2.C: use par->isInset()
13368
13369 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * paragraph_pimpl.h:
13372         * paragraph_pimpl.C: cleanup
13373
13374 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * text2.C (removeRow):
13377         * text.C (setHeightOfRow): remove useless (and costly) call to
13378         getRow.
13379
13380 2001-11-20  Allan Rae  <rae@lyx.org>
13381
13382         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13383         Now need Inset*::checkInsertChar() to return true for appropriate
13384         cases so that the characters in the minibuffer will actually be
13385         inserted.
13386
13387 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13388
13389         * text.C: change the order of the includes.
13390         (workWidth): initialize it at once.
13391         (workWidth): make maxw unsigned
13392         (setHeightOfRow): remove unused variable (inset)
13393         (selectSelectedWord): remove unused variable (inset)
13394         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13395
13396 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13399         server is not running.
13400         (openConnection):
13401         (closeConnection): add debug info when server is disabled.
13402
13403         * ColorHandler.C (getGCForeground): send debug message to GUI
13404         channel.
13405
13406         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13407
13408         * kbmap.C (bind): modify because return conventions of
13409         kb_sequence::parse have changed.
13410
13411         * kbsequence.C (parse): only ignore spaces and not any stupid
13412         control character. This avoids tests like s[i] <= ' ', which are
13413         guaranteed to fail with 8bit characters and signed chars.
13414         Change return code to string::npos when there have been no error
13415         (0 was a bad idea when error is at first character)
13416
13417 2001-11-14  José Matos  <jamatos@fep.up.pt>
13418
13419         * buffer.h:
13420         * buffer.C (simpleDocBookOnePar): removed unused argument.
13421
13422 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13423
13424         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13425         insets which are part of a word. Paragraph::isLetter takes care of
13426         that now. Use Paragraph::isInset to identify insets.
13427         (selectSelectedWord): do not test for hyphenation break.
13428
13429         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13430         that protected spaces are considered as spaces.
13431
13432         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13433         Inset::isLetter.
13434
13435 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13436
13437         * lyxserver.h:
13438         * lyxserver.C: fix it. and small cleanup.
13439
13440 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13441
13442         * BufferView_pimpl.C: use inline helpers
13443
13444         * LaTeXFeatures.h:
13445         * LaTeXFeatures.C: fix typos
13446
13447         * Spacing.h:
13448         * Spacing.C: move spacing_string into class
13449
13450         * ToolbarDefaults.C: move stuff into namespace anon
13451
13452         * layout.h: update enum
13453
13454         * lyxfunc.C: use better debug
13455
13456         * minibuffer.h: fix typo
13457
13458         * debug.h:
13459         * debug.C:
13460         * WorkArea.C: add and use Debug::WORKAREA
13461
13462         * lyxtext.h:
13463         * text.C:
13464         * text2.C: code re-organisation, inline helpers
13465
13466 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13467
13468         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13469         std::vector.empty().
13470
13471 2001-11-09  Allan Rae  <rae@lyx.org>
13472
13473         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13474         '\n's after tables.  Tabular and ERT inset work now makes this no
13475         longer necessary.
13476
13477 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13478
13479         * minibuffer.h:
13480         * minibuffer.C: fix crash, improve drop-down completion
13481
13482 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13483
13484         * lyxserver.h:
13485         * lyxserver.C: invalidate fd's when doing endPipe()
13486
13487 2001-11-08  José Matos  <jamatos@fep.up.pt>
13488
13489         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13490         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13491
13492         * paragraph.h:
13493         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13494
13495 2001-11-07  José Matos  <jamatos@fep.up.pt>
13496
13497         * buffer.h:
13498         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13499         const qualifier.
13500
13501         * buffer.C (sgmlOpenTag):
13502         * buffer.C (sgmlCloseTag): removed debug info.
13503
13504         * buffer.h (sgmlOpenTag):
13505         * buffer.h (sgmlCloseTag): made public.
13506
13507 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * buffer.C (saveParamsAsDefaults):
13510         * lyx_cb.C (MenuLayoutSave): remove
13511
13512         * LyXAction.C (init):
13513         * commandtags.h:
13514         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13515
13516 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13517
13518         * buffer.C (setPaperStuff): removed from here...
13519
13520         * bufferparams.C (setPaperStuff): ... and moved there.
13521
13522 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13523
13524         * minibuffer.h:
13525         * minibuffer.C:
13526         * XFormsView.C: add support for drop-down completion
13527
13528 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13529
13530         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13531         commands.
13532
13533 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13536         disabled.
13537
13538 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * lyx_main.C: change ref to known bugs
13541
13542 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13543
13544         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13545         to work around older babel problems.
13546
13547 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13548
13549         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13550
13551 2001-10-24  Juergen Vigna  <jug@sad.it>
13552
13553         * tabular-old.C (ReadOld): below variable changes reflected.
13554
13555         * tabular.[Ch]: added ltType struct for longtable header/footer
13556         defines and changed all instances where they are used. Added
13557         future support for double top/bottom rows.
13558
13559 2001-10-24  José Matos  <jamatos@fep.up.pt>
13560
13561         * buffer.h (docbookHandleCaption):
13562         * buffer.C (docbookHandleCaption): removed unused function.
13563         (makeDocBookFile): moved docbook supported version to v4.1.
13564
13565 2001-10-24  José Matos  <jamatos@fep.up.pt>
13566
13567         * tabular.h:
13568         * tabular.C (docbookRow): new function to export docbook code of a row.
13569         (DocBook): now honors the longtable flags.
13570
13571 2001-10-23  José Matos  <jamatos@fep.up.pt>
13572
13573         * LaTeXFeatures.h:
13574         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13575         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13576
13577         * buffer.C (makeLinuxDocFile):
13578         (makeDocBookFile): reworked the preamble, more clean, and with
13579         support for lyx defined entities. Changed the document declaration
13580         to be more XML friendly.
13581
13582         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13583         if we need to output XML that should be done with a filter.
13584
13585 2001-10-22  Juergen Vigna  <jug@sad.it>
13586
13587         * sp_pspell.h (class PSpell): add alive function needed in the
13588         controller to see if the spellchecker could be started.
13589
13590 2001-10-22  Juergen Vigna  <jug@sad.it>
13591
13592         * buffer.C (insertStringAsLines): modify the font for inserting
13593         chars in certain conditions by calling checkInsertChar(font).
13594
13595 2001-10-19  Juergen Vigna  <jug@sad.it>
13596
13597         * text.C (workWidth): use getRow instead of wrong algorithm.
13598         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13599
13600 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * lyxserver.h:
13603         * lyxserver.C:
13604         * lyx_main.h:
13605         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13606
13607 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13608
13609         * text.C (workWidth): do not search for the exact row when
13610         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13611         optimization for big documents.
13612
13613 2001-10-18  Juergen Vigna  <jug@sad.it>
13614
13615         * text.C (workWidth): new function with added Inset * parameter.
13616
13617 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13620
13621         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13622         change return type of getColumnNearX.
13623
13624
13625         * text.C (changeRegionCase): use uppercase/lowercase instead of
13626         toupper/tolower.
13627         (leftMargin):
13628         (rightMargin): simplify code by factoring out the uses of
13629         textclasslist.
13630         (labelFill):
13631         (numberOfHfills):
13632         (setHeightOfRow):
13633         (appendParagraph): use Paragraph::size_type
13634
13635 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13636
13637         * vspace.C (asLatexString): add a missing break
13638
13639 2001-10-15  Herbert Voss  <voss@perce.de>
13640
13641         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13642
13643 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13644
13645         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13646         is not available.
13647
13648 2001-10-10  André Pönitz <poenitz@gmx.net>
13649
13650         * lyxfunc.C: removed greek_kb_flag.
13651
13652 2001-10-10  Herbert Voss  <voss@perce.de>
13653
13654         * lyx_main.C: delete global string help_lyxdir.
13655
13656 2001-10-09  Herbert Voss  <voss@perce.de>
13657
13658         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13659
13660         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13661
13662         * lyx_main.C: added global string help_lyxdir.
13663
13664         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13665
13666 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13667
13668         * lyxrc.C (set_font_norm_type): support iso8859-4
13669
13670 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13671
13672         * LaTeX.C (deplog): add another regex for MikTeX
13673
13674 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13675
13676         * lyxrc.C (set_font_norm_type): support iso8859-3
13677
13678 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13679
13680         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13681
13682         * LaTeXFeatures.C: remove special case of french and index
13683
13684         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13685         before \begin{document}). This solves several incompatibilities.
13686
13687 2001-10-03  Garst Reese  <reese@isn.net>
13688
13689         * lyx_cb.C: change CheckTex error msg.
13690
13691 2001-10-03  José Matos  <jamatos@fep.up.pt>
13692
13693         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13694
13695 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13696
13697         * .cvsignore: update
13698
13699         * lyx_main.C (commandLineVersionInfo): use new style version info.
13700
13701         * buffer.C (writeFile):
13702         (makeLaTeXFile):
13703         (makeLinuxDocFile):
13704         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13705
13706         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13707
13708         * version.h: update to use stuff in version.C
13709
13710         * version.C.in: new file. Contains version information determined
13711         at compile time. This is a merging of version.h and
13712         version_info.h.in.
13713
13714 2001-10-03  Juergen Vigna  <jug@sad.it>
13715
13716         * BufferView_pimpl.C (update): don't change "dirty" status in
13717         updateInset call.
13718
13719 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * WorkArea.C (c-tor): re-position version string slightly.
13722
13723 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13726         revert to previous code.
13727
13728         WorkArea.[Ch]: (show, destroySplash): methods removed.
13729
13730         WorkArea.C: rework code so that it's an amalgam of the codes before and
13731         after the splash screen was moved to WorkArea.
13732
13733 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13734
13735         * lyxrc.C (read):
13736         * vspace.C (inPixels):
13737         (lyx_advance):
13738         * kbmap.C (bind):
13739         * buffer.C (insertStringAsLines):
13740         (asciiParagraph): fix types to be large enough
13741
13742         * lyxlex_pimpl.h: change member status from short to int
13743
13744         * layout.h: fix type of endlabeltype
13745
13746         * kbmap.C (bind):
13747         * kbsequence.C (parse): change return type to string::size_type
13748
13749         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13750         variable
13751
13752         * Bullet.C (bulletSize):
13753         (bulletEntry): do not use short ints as parameters
13754
13755         * BufferView2.C (insertLyXFile): change a char to an int.
13756
13757         * WorkArea.C (WorkArea): remove unneeded floats in computation
13758
13759 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13760
13761         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13762
13763         * paragraph.C (asString): Do not ignore newline/hfill chars when
13764         copying to the clipboard.
13765
13766 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13767
13768         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13769         after a multi-line inset.
13770
13771 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13772
13773         * paragraph.C (validate): Set NeedLyXFootnoteCode
13774
13775 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13776
13777         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13778         and decrease-error to decrease.
13779
13780 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13783         it more readable (should be equivalent)
13784
13785 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13786
13787         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13788
13789 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13792         of a cursor (row, etc.) after a character has been deleted
13793         (deleteEmptyParagraphMechanism): call the method above on _all_
13794         cursors held by the LyXText when a double space has been
13795         detected/deleted.
13796
13797 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13798
13799         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13800         pixmap.
13801         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13802
13803         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13804         background. Use greyOut() and the new show() methods to toggle between
13805         the foreground and background. Add code to remove the splash after
13806         its initial showing.
13807
13808         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13809         (create_forms): no longer call Dialogs::showSplash.
13810
13811 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13812
13813         * .cvsignore: add version_info.h
13814
13815 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13816
13817         * version_info.h.in: new file
13818
13819         * Makefile.am: add version_info.h.in
13820
13821         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13822         version_info.h instead of VERSION_INFO
13823
13824 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13825
13826         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13827         The ERT inset now returns string().
13828
13829 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13830
13831         * lyxtext.h, text.C (selectNextWord): renamed as
13832         selectNextWordToSpellcheck.
13833
13834         * text.C (selectNextWordToSpellcheck): Modified to not select
13835         words inside an ERT inset.
13836
13837 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13838
13839         * lyx_cb.C (MenuLayoutSave): change a bit the question
13840
13841         * sp_base.h: include <sys/types.h>
13842
13843 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13844
13845         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13846
13847 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13848
13849         * several files: fix typos in user-visible strings
13850
13851 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13852
13853         * text2.C (pasteSelection): do not set the selection, since it
13854         will be cleared later. Actually, the intent was to fix the way the
13855         selection was set, but I figured rmoving the code was just as good.
13856
13857 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13858
13859         * FontLoader.C (available): Check if font is available without
13860         loading the font.
13861
13862 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13863
13864         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13865
13866 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13867
13868         * lyxrc.[Ch]: added display_graphics variable and associated code.
13869
13870 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * bufferparams.C (hasClassDefaults): new method. Returns true if
13873         the buffer parameters correspond to known class defaults
13874
13875 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13876
13877         * XFormsView.C (show): set minimum size to the main window.
13878
13879 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13880
13881         * text2.C (copySelection):
13882         (cutSelection):
13883         * lyxfind.C (LyXReplace):
13884         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13885         LyXText::selectionAsString.
13886
13887         * paragraph.C (asString): add "label" argument to the second form
13888
13889         * text2.C (selectionAsString): add "label" argument and pass it to
13890         Paragraph::asString.
13891
13892 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13893
13894         * lyx_main.C (commandLineHelp): remove version information
13895
13896 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13897
13898         * lyx_main.C: add -version commandline option
13899
13900 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * paragraph.h: make the optional constructor arg required instead.
13903         some modifications to other files because of this.
13904
13905         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13906
13907         * lyxserver.C (C_LyXComm_callback): make it static
13908
13909         * lyx_main.C (error_handler): make it static
13910
13911         * lyx_gui.C (LyX_XErrHandler): make it static
13912
13913         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13914
13915         * WorkArea.C: make the extern "C" methods static.
13916
13917         * Makefile.am (lyx_LDADD): simplify
13918
13919 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13920
13921         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13922         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13923
13924         * LyXAction.C (init):
13925         * lyxfunc.C (dispatch): associated code removal.
13926
13927 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13928
13929         * lyxfont.h (isSymbolFont): shut off warning
13930
13931         * text.C (setHeightOfRow):
13932         (getVisibleRow): fix crash with empty paragraphs which have a
13933         bottom line
13934
13935 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13936
13937         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13938         code.
13939
13940 2001-09-04  José Matos  <jamatos@fep.up.pt>
13941         * buffer.C
13942         * buffer.h
13943         * tabular.C (docbook): rename docBook method to docbook.
13944
13945 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13946
13947         * Makefile.am: add dependencies to main.o.
13948
13949 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13950
13951         * FontLoader.C (available): Return false if !lyxrc.use_gui
13952
13953 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13954
13955         * FontInfo.C (query):
13956         * converter.C (view):
13957         * importer.C (Import):
13958         * exporter.C (Export): Can not -> cannot.
13959
13960 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * BufferView_pimpl.C: allow to create index inset even if
13963           string is empty
13964
13965 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13966
13967         * buffer.C (getLists): replace boost::tie code with an explicit pair
13968         as boost::tie can break some compilers.
13969
13970         * iterators.h: Added a std:: declaration to the return type of
13971         ParIterator::size.
13972
13973 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13974
13975         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13976           case.
13977
13978 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13979
13980         * iterators.[Ch]: New files. Provide paragraph iterators.
13981
13982         * buffer.C (changeLanguage): Use paragraph iterators.
13983         (isMultiLingual): ditto
13984
13985         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13986
13987 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13988
13989         * FontLoader.C: Support for cmr font.
13990
13991 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13992
13993         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13994         (available): New method.
13995
13996         * FontInfo.C (getFontname): Use scalable fonts even when
13997         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13998         found.
13999
14000 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14001
14002         * converter.C (Formats::view): reverted! Incorrect fix.
14003
14004 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14005
14006         * converter.C (Formats::view): only output the -paper option
14007         if the dvi viewer is xdvi, thereby fixing bug #233429.
14008
14009 2001-08-23  Herbert Voss  <voss@perce>
14010
14011         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14012
14013 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14014
14015         * Spacing.h (Spacing): Set space to Default on in the default
14016         constructor.
14017
14018 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14019
14020         * vc-backend.h (RCS::versionString): add RCS to version
14021         (CVS::versionString): add CVS to version
14022
14023         * vc-backend.C (scanMaster): do not add CVS to version.
14024         (scanMaster): do not add RCS to version
14025
14026         * lyxvc.C (versionString): new method
14027
14028         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14029
14030 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14031
14032         * Spacing.C (set): initialize fval
14033
14034 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14035
14036         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14037         " or \.
14038
14039 2001-08-16  Juergen Vigna  <jug@sad.it>
14040
14041         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14042
14043 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14044
14045         * BufferView_pimpl.C:
14046         * figureForm.C:
14047         * lyxtext.h:
14048         * text2.C: setParagraph takes linespacing now
14049
14050 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14051
14052         * LyxAction.C: add internal LFUN_CITATION_INSERT
14053
14054         * LyXView.C: actually apply fix
14055
14056         * bufferlist.C: fix open non-existent file
14057
14058         * lyxfind.C: fix indentation
14059
14060         * lyxfunc.C: remove unneeded assert, fix typo
14061
14062 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14063
14064         * MenuBackend.C: use "Floatname List"
14065
14066 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14069         when converting LaTeX layout to insetERT.
14070         Generate a non-collapsed float when reading old float
14071
14072 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14073
14074         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14075         ERT insets.
14076
14077 2001-08-13  Juergen Vigna  <jug@sad.it>
14078
14079         * text.C (fill): return 0 instead of 20 as this seems to be the more
14080         correct value.
14081
14082 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14083
14084         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14085         lyxrc.font_norm.
14086
14087 2001-08-13  Juergen Vigna  <jug@sad.it>
14088
14089         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14090         casesensitive off.
14091         (SearchBackward): comment out the unlocking of the inset_owner this
14092         should not be needed!
14093
14094 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14095
14096         * Many files: Remove inherit_language, and add latex_language
14097
14098         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14099         collapsible insets.
14100
14101 2001-08-10  Juergen Vigna  <jug@sad.it>
14102
14103         * text.C (prepareToPrint): fixed hfill-width in draw!
14104
14105         * BufferView2.C (selectLastWord): save the selection cursor as this
14106         now is cleared in the function LyXText::clearSelection!
14107
14108 2001-08-08  Juergen Vigna  <jug@sad.it>
14109
14110         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14111         BACKSPACE type functions.
14112
14113         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14114         is only cutted from the document but not put in the cut-buffer, where
14115         still the old stuff should be.
14116
14117         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14118
14119         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14120
14121         * tabular.C (SetWidthOfCell): fixed special case where the width
14122         was not updated!
14123         (LeftLine): handle '|' in align_special.
14124         (RightLine): ditto
14125         (LeftAlreadyDrawed): ditto
14126         (SetWidthOfCell): ditto
14127
14128 2001-08-07  Juergen Vigna  <jug@sad.it>
14129
14130         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14131
14132 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14133
14134         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14135         * lyxlex.[hC]: ditto
14136
14137 2001-08-06  Juergen Vigna  <jug@sad.it>
14138
14139         * text.C (getVisibleRow): fix up row clearing a bit.
14140
14141 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14142
14143         * minibuffer.C: make sure the X server sees the changes in the input.
14144
14145 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14146
14147         * paragraph.C (getFont): split into...
14148         (getLabelFont): this
14149         (getLayoutFont): and this
14150         * paragraph_pimpl.C (realizeFont): calling this
14151
14152         * text2.C (getFont): split into...
14153         (getLayoutFont): this
14154         (getLabelFont): and this
14155         (realizeFont): all three calling this
14156
14157         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14158         files where used.
14159
14160 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14161
14162         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14163
14164 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14165
14166         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14167         layouts from the Quote inset insertion.
14168
14169 2001-08-03  Juergen Vigna  <jug@sad.it>
14170
14171         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14172
14173         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14174         only if status not is already CHANGED_IN_DRAW (second level).
14175
14176         * text.C (draw): don't set the need_break_row when inside an
14177         InsetText LyXText.
14178
14179 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14180
14181         * buffer.C (parseSingleLyXformat2Token): handle more latex
14182         conversion cases.
14183
14184         * bufferview_funcs.[hC]: change function names to
14185         begin with small char, adjust other files.
14186
14187 2001-08-02  André Pönitz <poenitz@gmx.net>
14188
14189         * lyxfunc.C:
14190         BufferView_pimpl.C: remove broken special code for math-greek
14191
14192 2001-08-02  Juergen Vigna  <jug@sad.it>
14193
14194         * BufferView_pimpl.C (update): redone this function so that we
14195         update the text again if there was a CHANGE_IN_DRAW.
14196
14197         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14198         (drawFromTo): added a new internal bool which is used by draw() and
14199         redraw() function.
14200         (general): some cursor drawing problems fixed.
14201
14202 2001-08-01  Juergen Vigna  <jug@sad.it>
14203
14204         * lyxfind.C (LyXFind): fixed
14205         (SearchForward): ditto
14206         (SearchBackward): ditto
14207
14208         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14209         spurius drawing of the cursor in the main area.
14210
14211         * text2.C (status): small fix which could lead to a segfault!
14212         (clearSelection): remove unneeded BufferView param.
14213
14214 2001-08-01  André Pönitz <poenitz@gmx.net>
14215
14216         * lyxfunc.C: small change due to changed mathed interface
14217
14218 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14219
14220         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14221
14222 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14223
14224         * lyxfunc.c: fail gracefully if file doesn't exist
14225
14226         * LyXSendto.C:
14227         * buffer.C:
14228         * lyxfunc.C:
14229         * BufferView_pimpl.C: IsDirWriteable() proto changed
14230
14231         * LyXView.C: fix updateWindowTitle() to store the last title
14232
14233 2001-07-31  Juergen Vigna  <jug@sad.it>
14234
14235         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14236         the font (wrong since using of Paragraph::highestFontInRange).
14237
14238         * paragraph.C (highestFontInRange): added a default_size parameter.
14239
14240         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14241         (setHeightOfRow): reformat
14242
14243 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * converter.[hC] + affected files: move to (inital-char)lowercase
14246         function names.
14247
14248         * ParagraphParameters.C (ParagraphParameters): remove commented code
14249
14250         * PainterBase.[Ch]: remove commented code
14251
14252         * LaTeXFeatures.h: add "bool floats" for float.sty
14253
14254         * LaTeXFeatures.C (LaTeXFeatures): init floats
14255         (require): handle float
14256         (getPackages): do it with floats
14257
14258 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14259
14260         * BufferView_pimpl.C (Dispatch): improve handling of
14261         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14262
14263         * commandtags.h: #include lyxfont.h here temporarily to avoid
14264         keybinding bug.
14265
14266         * bufferlist.h: include LString.h here.
14267
14268 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * text2.C (getStringToIndex): new method.
14271
14272 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14273
14274         * *: Reduced header file dependencies all over.
14275
14276 2001-07-30  Baruch Even  <baruch@lyx.org>
14277
14278         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14279
14280 2001-07-29  Baruch Even  <baruch@lyx.org>
14281
14282         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14283
14284 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * ParameterStruct.h (endif): add a default constructor to make
14287         sure that all variables is initialized.
14288
14289         * ParagraphParameters.C (ParagraphParameters): adjust
14290
14291 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14292
14293         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14294         index; also, check that there is something to index, and that it
14295         does not span over several paragraphs.
14296         (doubleClick): use WHOLE_WORD_STRICT for double click.
14297
14298         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14299
14300         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14301         scheme.
14302
14303 2001-07-26  Baruch Even  <baruch@lyx.org>
14304
14305         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14306         an InsetFig figure, backwards compatible reading of old figure code.
14307
14308 2001-07-27  Juergen Vigna  <jug@sad.it>
14309
14310         * text2.C: font.realize function adaption.
14311
14312         * text.C (draw): add a warnings lyxerr text if needed.
14313
14314         * layout.C: font.realize function adaption.
14315
14316         * language.C: add inherit_language and implement it's handlings
14317
14318         * bufferview_funcs.C (StyleReset): remove language parameter from
14319         font creation (should be language_inherit now).
14320
14321         * bufferparams.C (writeFile): handle ignore_language.
14322
14323         * paragraph.C (getFontSettings): the language has to be resolved
14324         otherwise we have problems in LyXFont!
14325
14326         * lyxfont.C (lyxWriteChanges): added document_language parameter
14327         (update): removed unneeded language parameter
14328
14329         * paragraph.C (validate): fixed wrong output of color-package when
14330         using interface colors for certain fonts in certain environments,
14331         which should not seen as that on the final output.
14332
14333 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14334
14335         * BufferView_pimpl.C:
14336         * Thesaurus.h:
14337         * Thesaurus.C:
14338         * Makefile.am:
14339         * commandtags.h:
14340         * LyXAction.C: add thesaurus support
14341
14342         * lyxfind.h:
14343         * lyxfind.C: add "once" parameter, for thesaurus, to not
14344           move to the next match
14345
14346 2001-07-26  Juergen Vigna  <jug@sad.it>
14347
14348         * lyxfont.C (realize): honor ignore_language too!
14349         (resolved): ditto.
14350
14351         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14352
14353         * text.C (draw): one place more for ignore_language to not draw
14354         itself!
14355
14356 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14357
14358         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14359
14360 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14361
14362         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14363         the minipage conversion problem.
14364
14365 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14366
14367         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14368         insert an inset.
14369
14370 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14371
14372         * BufferView.h: don't forward declare WorkArea
14373
14374         * BufferView.C: don't include WorkArea.h
14375
14376 2001-07-25  André Pönitz <poenitz@gmx.net>
14377
14378         * commandtags.h:
14379         * LyXAction.C:
14380         * lyxfunc.C:  new LFUN 'math-space'
14381
14382         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14383
14384 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14385
14386         * text2.C (toggleInset): call open/close
14387
14388 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14389
14390         * lyxfunc.C (dispatch): add debug for the disabled case
14391
14392         * font.C (buttonText): make similar to rectText
14393
14394         * buffer.C (readInset): comment out parsing of insetlist and
14395         insttheorem
14396
14397         * PainterBase.C (rectText): small correction
14398
14399         * BufferView_pimpl.C: comment out insettheorem and insetlist
14400         * LyXAction.C: ditto
14401         * commandtags.h: ditto
14402
14403 2001-07-24  Juergen Vigna  <jug@sad.it>
14404
14405         * text.C (draw): honor the ignore_language.
14406
14407         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14408
14409 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14410
14411         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14412         char inset.
14413
14414 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14415
14416         * lyxtext.h: remove unused (and unimplemented) methods
14417
14418 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14419
14420         * text.C (getVisibleRow): honor background color
14421
14422         * PainterBase.h:
14423         * Painter.h: remove default color argument for fillRectangle
14424
14425         * text.C (backgroundColor): new method
14426
14427 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14428
14429         * text.C (getVisibleRow): adjust
14430
14431         * font.[Ch] (rectText): new method, metrics
14432         (buttonText): new method, metrics
14433
14434         * PainterBase.[hC]: make rectText and buttonText always draw and take
14435         fewer paramteres.
14436
14437 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14438
14439         * ToolbarDefaults.C (read):
14440         * MenuBackend.C (read): allow escaping in all strings
14441
14442         * BufferView_pimpl.C (insertAndEditInset): new method.
14443         (Dispatch): use insertAndEditInset whenever appropriate.
14444
14445         * BufferView_pimpl.C (insertNote): removed
14446
14447         * BufferView_pimpl.C (smartQuote): new method, moved from
14448         BufferView; if an insetquote cannot be inserted, insert a '"'
14449         character instead.
14450
14451         * BufferView2.C: remove insertCorrectQuote();
14452
14453         * lyxfunc.C (getStatus): Add support for all remaingin
14454         inset-insert lfuns.
14455
14456         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14457
14458         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14459         command (necessary to pass " as parameter of self-insert.
14460
14461         * text.C (selectWordWhenUnderCursor):
14462         (selectWord): add word_location parameter
14463         (selectWordWhenUnderCursor): same + remove special code for word
14464         boundary.
14465         (selectNextWord): use kind() to guess type of insetspecialchar,
14466         not latex().
14467
14468         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14469         (insertErtContents): create ert insets as collapsed.
14470         (readInset): better compatibility code for Info inset.
14471
14472 2001-07-20  Juergen Vigna  <jug@sad.it>
14473
14474         * lyxfunc.C (dispatch): use always LyXFind now!
14475
14476         * text2.C (init): add a reinit flag so that the LyXText can be
14477         reinited instead of deleted and reallocated (used in InsetText).
14478
14479         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14480
14481         * text.C: ditto
14482
14483         * text2.C: ditto
14484
14485 2001-07-18  Juergen Vigna  <jug@sad.it>
14486
14487         * text.C (selectNextWord): handle insets inside inset by calling
14488         always the bv->text functions so that we can go up the_locking_inset!
14489
14490         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14491         in strange locations when inside an inset!
14492
14493         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14494         handling to include insets.
14495
14496         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14497
14498 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14499
14500         * LyXAction.C (init):
14501         * commandtags.h:
14502         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14503         LIGATURE_BREAK, since the name is so stupid.
14504
14505 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14506
14507         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14508         InsetInfos.
14509
14510         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14511
14512         * sp_form.[Ch]: remove.
14513
14514         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14515
14516         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14517         InsetInfo.
14518
14519         * src/buffer.C (readInset): ditto.
14520
14521 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14522
14523         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14524         menuSeparator(), endOfSentenceDot(), ldots() and
14525         hyphenationPoint(), which are therefore removed.
14526         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14527
14528         * LyXAction.C (init):
14529         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14530
14531         * paragraph.C (getWord): removed.
14532
14533         * BufferView_pimpl.C (Dispatch): use last word or selection for
14534         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14535
14536         * lyx_main.C (queryUserLyXDir): do not ask before creating
14537         user_dir, except if it has been named explicitely.
14538
14539 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14540
14541         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14542         a document of zero size.
14543
14544 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14545
14546         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14547         approriately in the c-tor and in require().
14548         (getPackages): output the appropriate LaTeX for natbib support.
14549
14550         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14551         variables "use_natbib" and "use_numerical_citations" when reading the
14552         LyX file.
14553         (readInset): read the various natbib cite commands.
14554         (validate): white-space change.
14555
14556         * bufferparams.[Ch]: new variables "bool use_natbib" and
14557         "bool use_numerical_citations".
14558         (writeFile): output them in the LyX file.
14559
14560 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14561
14562         * lyxfunc.C (getStatus): add support for all the inset insertion
14563         commands.
14564
14565         * text2.C (insertInset):
14566         * paragraph.C (insetAllowed):
14567         * BufferView_pimpl.C (insertInset): update to take in account the
14568         renaming of insertInsetAllowed
14569
14570         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14571
14572         * text2.C (getInset): new method. returns inset at cursor position.
14573
14574         * BufferView_pimpl.C (Dispatch): changes because of this.
14575
14576         * LyXAction.C (init): rename open-stuff to inset-toggle.
14577
14578         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14579
14580         * text2.C (toggleInset): renamed from openStuff; use
14581         Inset::open().
14582
14583 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14584
14585         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14586
14587         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14588
14589 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14590
14591         * buffer.C (readLyXformat2): Add filename to the error dialog
14592
14593 2001-07-18  Juergen Vigna  <jug@sad.it>
14594
14595         * tabular.C (GetCellNumber): put an assert here instead of the check!
14596
14597 2001-07-17  Juergen Vigna  <jug@sad.it>
14598
14599         * BufferView_pimpl.C (toggleSelection): adapted too.
14600
14601         * text.C (selectNextWord): adapted for use with insets.
14602         (selectSelectedWord): ditto
14603
14604 2001-07-17  Juergen Vigna  <jug@sad.it>
14605
14606         * sp_spell.C (PSpell): fix initialitation order.
14607
14608 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14609
14610         * paragraph.C: spacing
14611
14612 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14613
14614         * sp_spell.C: repair language selection for pspell
14615
14616 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14617
14618         * lyxfunc.h: change more methods to begin with lower char.
14619
14620 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14623         for unknown layouts.
14624
14625 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14626
14627         * buffer.C (readLyXformat2): Generate an error dialog if there are
14628         unknown layouts.
14629
14630 2001-07-16  Juergen Vigna  <jug@sad.it>
14631
14632         * sp_spell.C: always compile ISpell part.
14633
14634         * lyxrc.C: added use_pspell entry and it's handling.
14635
14636 2001-07-13  Juergen Vigna  <jug@sad.it>
14637
14638         * sp_spell.C: removed double includes.
14639
14640 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14641
14642         Consistent use of Lsstream.h:
14643         * Lsstream.h: added using std::stringstream for consistencies sake.
14644
14645         * buffer.C: removed using std::stringstream
14646
14647         * lyxfont.C (stateText):
14648         * paragraph.C (asString):
14649         * text.C (selectNextWord, selectSelectedWord):
14650         * text2.C (setCounter):
14651         * vspace.C (asString, asLatexString):
14652         std::ostringstream -> ostringstream.
14653
14654 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14655
14656         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14657         * commandtags.h: add LFUN_HELP_ABOUTLYX
14658         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14659
14660 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14661
14662         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14663         cursorToggle()
14664         * lyx_gui_misc.C: remove spellchecker
14665         * lyxfunc.C: showSpellchecker
14666         * sp_base.h: added
14667         * sp_ispell.h: added
14668         * sp_pspell.h: added
14669         * sp_spell.C: added
14670         * sp_form.[Ch]: removed
14671         * spellchecker.[Ch]: removed
14672
14673 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14674
14675         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14676         is set.
14677         (simpleTeXSpecialChars): Simply print the input character without
14678         any special translation if pass_thru is set.
14679
14680         * layout.h: Added bool pass_thru to layout class for being able to
14681         implement pass through of a paragraph for Literate Programming.
14682
14683         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14684         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14685         * layout.C (Read): add "passthru" to list of layout tags and add
14686         code to set the pass_thru boolean when it is read.
14687
14688 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * trans_decl.h: remove allowed from KmodInfo
14691
14692         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14693         remove allowed code
14694         (Load): adjust
14695
14696         * paragraph_pimpl.C (erase): use boost::prior
14697
14698         * Painter.C (text): use data() instead of c_str() when length is
14699         also provided.
14700         * WorkArea.C (putClipboard): ditto
14701         * font.h (width): ditto
14702
14703         * BufferView2.C: use it-> instead of (*it). for iterators
14704         * texrow.C: ditto
14705         * paragraph_pimpl.C: ditto
14706         * paragraph.C: ditto
14707         * minibuffer.C: ditto
14708         * language.C: ditto
14709         * kbmap.C: ditto
14710         * encoding.C: ditto
14711         * counters.C: ditto
14712         * converter.C: ditto
14713         * chset.C: ditto
14714         * Variables.C: ditto
14715         * TextCache.C: ditto
14716         * MenuBackend.C: ditto
14717         * LyXAction.C: ditto
14718         * LColor.C: ditto
14719         * FloatList.C: ditto
14720         * DepTable.C: ditto
14721         * ColorHandler.C (LyXColorHandler): ditto
14722
14723 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14724
14725         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14726
14727         * text2.C (openStuff): reintroduce this method (which had been
14728         nuked in NEW_INSETS frenzy).
14729
14730         * lyxfunc.C (Dispatch): when an action has not been handled, use
14731         its name in the error message, not its number.
14732
14733         * paragraph.C (inInset): change method name to begin with lowercase.
14734
14735         * undo_funcs.C:
14736         * text2.C: updates because of this.
14737
14738 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14739
14740         * ToolbarDefaults.C (add): add spaces in error message
14741
14742 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14743
14744         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14745         (readLyXformat2): rename return_par to first_par, use lyxlex's
14746         pushToken and remove the manual push handling.
14747         (parseSingleLyXformat2Token): add another ert comp. variable:
14748         in_tabular, rename return_par to first_par. handle newlines better
14749
14750 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14751
14752         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14753
14754 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14755
14756         * text2.C (getParFromID): removed
14757
14758         * buffer.C (getParFromID): new method moved form lyxtext.
14759         * BufferView2.C (insertErrors): adjust
14760         (setCursorFromRow): adjust
14761         * BufferView_pimpl.C (restorePosition): adjust
14762         * lyxfunc.C (Dispatch): adjust
14763         * undo_funcs.C (textUndo): adjust
14764         (textRedo): adjust
14765         (textHandleUndo): adjust
14766         (textHandleUndo): adjust
14767
14768 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * buffer.C: up' the LYX_FORMAT
14771
14772         * lyxfont.h: turn NO_LATEX on as default
14773
14774         * buffer.C (insertErtContents): new methods of tex style compability.
14775         (parseSingleLyXformat2Token): use it several places.
14776         * tabular.C (OldFormatRead): and here
14777
14778 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14779
14780         * text2.C: remove some commented code.
14781         reindent file.
14782
14783         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14784         * trans.C: changes because of the above.
14785
14786 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14787
14788         * text2.C (setCounter): Fix counters bug with bibliography layout.
14789
14790 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14793         own member functions
14794         (simpleTeXSpecialChars): ditto
14795
14796 2001-07-06  Juergen Vigna  <jug@sad.it>
14797
14798         * a lot of files: changed the access to LyXText::status and the
14799         call of undo-functions.
14800
14801         * undo.[Ch]: added a inset_id to the undo informations.
14802
14803         * undo_funcs.[Ch]: added and moved here all undo functions.
14804
14805         * lyxtext.h: give the status enum a weight, made status_ a private
14806         variable and made accessor functions for it, removed the whole bunch
14807         of undo-functions as they are now in their own file, make some
14808         functions publically available. Added function ownerParagraph with
14809         int parameter.
14810
14811         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14812         made InInset() a const function, added getParFromID() function.
14813
14814         * buffer.[Ch]: added const version for inset_iterator functions,
14815         added getInsetFromID() function.
14816
14817         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14818         changed undo functions for new version.
14819
14820 2001-07-05  Juergen Vigna  <jug@sad.it>
14821
14822         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14823         unknow mechanism does not call the proper constructor but only this
14824         one also if I request the other!?
14825
14826 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14827
14828         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14829
14830         * text2.C (LyXText): use initialization lists.
14831
14832         * lyxtext.h (Selection): initialize set_ and mark_
14833         (init): remove method
14834
14835 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14836
14837         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14838
14839 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14840
14841         * screen.[Ch]: change method names to begin with lowercase
14842
14843         * BufferView_pimpl.C (updateScrollbar): simplify further and
14844         hopefully make it a bit faster.
14845
14846 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14847
14848         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14849         calling directly xforms functions.
14850
14851         * Painter.C (Painter):
14852         * lyx_cb.C (MenuWrite):
14853         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14854         fl_display.
14855
14856         * lyx_gui.C: remove bogus guiruntime extern declaration.
14857
14858 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14859
14860         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14861         in NEW_INSETS
14862         (redoDrawingOfParagraph): ditto
14863         (redoParagraphs): ditto
14864         (cutSelection): don't create a object for CutAndPaste use the
14865         static method directly
14866         (pasteSelection): ditto
14867
14868         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14869         LyXview (+ rename)
14870
14871 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14872
14873         * modifications to some other files because of this.
14874
14875         * Makefile.am (lyx_SOURCES): add XFormsView
14876
14877         * XFormsView.[Ch]: new files
14878
14879         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14880         the main window. Move the gui dependent stuff to XFormsView
14881
14882 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14883
14884         * tabular.C (GetCellInset): update cur_cell also in the row/col
14885         version of this function.
14886
14887         * lyxfunc.C: no need to include figure_form.h here.
14888
14889         * FontLoader.h:
14890         * lyxfunc.h:
14891         * lyxscreen.h:
14892         * text2.C:
14893         * lyxvc.C: no need to include forms.h here.
14894
14895 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14898
14899         * lyxfunc.C (Dispatch):
14900         * Spacing.C (set):
14901         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14902         constructor argument.
14903
14904 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * paragraph.C (Paragraph): dont't clear, and just set layout.
14907         (makeSameLayout): use params's copy contructor.
14908
14909         * ParagraphParameters.[Ch] (makeSame): delete method
14910
14911 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14912
14913         * Variables.[Ch]: fix indentation, rename set to isSet
14914
14915 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14916
14917         * lyxfunc.C (Dispatch): fix typo
14918
14919 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14920
14921         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14922         upper_bound.
14923
14924         * bufferlist.C: include assert.h for emergencyWrite().
14925
14926 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14927
14928         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14929           give up at last (bug #425202) !
14930
14931 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14932
14933         * lyx_gui_misc.C:
14934         * sp_form.h:
14935         * sp_form.C:
14936         * spellchecker.h:
14937         * spellchecker.C: strip spellchecker options and bring up
14938           preferences tab instead
14939
14940 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14941
14942         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14943         the istringstream constructor
14944
14945 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * paragraph.C (getLayout): fix return value
14948
14949         * paragraph.h: do not declare getLayout as inline.
14950
14951         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14952
14953 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * lyxcursor.h (operator<): new func
14956         (operator>): new func
14957         (operator>=): new func
14958         (operator<=): new func
14959
14960         * text.C (changeCase): use selection.start and selection.end
14961         (changeRegionCase): require from to be <= to. Require par to be a
14962         valid paragraph.
14963
14964         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14965
14966 2001-06-27  Juergen Vigna  <jug@sad.it>
14967
14968         * text.C (cursorLeftOneWord): changed to return the cursor and added
14969         overlay with BufferView * parameter which calls this one.
14970         (getWord): added
14971         (selectWord): use new getWord function.
14972         (changeCase): renamed from changeWordCase as and extended to work
14973         also on selections.
14974
14975         * lyxtext.h: added enum word_location
14976
14977         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14978         changeCase as this operates now also on selections.
14979
14980 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14981
14982         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14983
14984         * many files: send debug output to Debug::INFO instead of
14985         Debug::ANY.
14986
14987         * converter.C (View):
14988         (Convert):
14989         (Move): send debug output to Debug::FILES instead of console.
14990
14991 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14992
14993         * lyxfunc.C (getStatus): use func_status
14994
14995         * func_status.h: new header, describing the results of
14996         LyXFunc::getStatus;
14997
14998         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14999         LFUN_MATH_HALIGN.
15000
15001 2001-06-25  The LyX Project  <jug@sad.it>
15002
15003         * buffer.C (sgmlOpenTag):
15004         (sgmlCloseTag):
15005         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15006
15007 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15008
15009         * text2.C: remove some dead code
15010
15011         * tabular.C (GetCellInset): store the last cell checked (gotten)
15012
15013         * tabular.h: add the helper for the speedup
15014
15015         * lyxtext.h: remove some dead code
15016
15017 2001-06-26  The LyX Project  <Asger>
15018
15019         * paragraph.C: Change export to LaTeX of alignment to
15020         \begin{center} and family for better roundtrip work with reLyX.
15021
15022         * Tune the math drawing a bit.
15023
15024 2001-06-25  The LyX Project  <Asger>
15025
15026         * LColor.C (LColor): New color for math background. New color
15027         for buttons.
15028
15029 2001-06-25  The LyX Project  <jug@sad.it>
15030
15031         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15032
15033         * lyxfunc.C (Open):
15034         * bufferlist.C (newFile): do not restrict to files ending with
15035         .lyx
15036
15037         * BufferView_pimpl.C (MenuInsertLyXFile):
15038
15039 2001-06-24  The LyX Project  <jug@sad.it>
15040
15041         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15042         of compare_no_case
15043
15044 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * lyxtext.h: rename most methods to begin with a small char.
15047         Lots of changes because of this.
15048
15049         * paragraph.C (Paragraph): do not call fitToSize
15050         (erase): call Pimpl::erase
15051         (insertChar): call Pimpl::insertChar
15052         (insertInset): call Pipl::insertInset
15053         (breakParagraph): do not call fitToSize
15054         (breakParagraphConservative): do not call fitToSize
15055         (fitToSize): remove method
15056
15057         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15058
15059 2001-06-24  The LyX Project  <Asger>
15060
15061         * Fix Qt compilation^2
15062
15063 2001-06-24  The LyX Project  <jug@sad.it>
15064
15065         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15066         depthHook(getDepth()-1).
15067
15068         * paragraph.h:
15069         * ParagraphParameters.h:
15070         * ParameterStruct.h: change type of depth to unsigned int ==
15071         depth_type. Many adaptations to other files before of that.
15072
15073 2001-06-24  The LyX Project  <Asger>
15074
15075         * Fix Qt compilation.
15076
15077 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * paragraph.h: renamed several methods to begin with small letter.
15080         several changes to many parts of the code because of this.
15081
15082 2001-06-23  The LyX Project  <jug@sad.it>
15083
15084         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15085         rewritten to discard all double spaces when KeepEmpty is off
15086         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15087         to only handle newlines but not fiddle with spaces and friends.
15088
15089         * lyxfunc.C (MenuNew): when doing 'new from template', use
15090         template_path as default directory
15091
15092 2001-06-23  The LyX Project  <Asger>
15093
15094         * Clean-up of header file includes all over
15095         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15096
15097 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15098
15099         * paragraph.h: renamed from lyxparagraph.h
15100
15101 2001-06-23  Asger  <lyx@violet.home.sad.it>
15102
15103         * Buffer.h: Removed Buffer::resize
15104         * BufferList.h: Removed BufferList::resize
15105         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15106         the document lazily when we change the width, or the font settings.
15107
15108 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15109
15110         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15111
15112 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15113
15114         * buffer.h: remove out of date comment
15115
15116 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * lyxscreen.h:
15119         * screen.C: fix "theoretical" GC leak
15120
15121 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * LaTeX.C (scanAuxFile):
15124         (deplog): remove trailing \r when reading stream (useful under
15125         win32)
15126
15127 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15128
15129         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15130         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15131         and BufferView::theLockingInset(Inset*), so should use them and not
15132         access bv_->text->the_locking_inset directly.
15133
15134         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15135
15136 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15137
15138         * Makefile.am:
15139         * tex-defs.h: remove old unused file
15140
15141 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15142
15143         * BufferView_pimpl.C: fix typo, remove minibuffer message
15144           when buffer has loaded
15145
15146 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * lyxfunc.C (Dispatch): use stringstream
15149         (MenuNew): use stringstream
15150         (Open): use stringstream
15151
15152         * importer.C (Import): use stringstream
15153
15154         * bufferview_funcs.C (CurrentState): use stringstream
15155
15156         * LaTeX.C (run): use stringstream
15157
15158         * BufferView_pimpl.C (savePosition): use stringstream
15159         (restorePosition): use stringstream
15160         (MenuInsertLyXFile): use stringstream
15161
15162 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15163
15164         * BufferView.C:
15165         * Bullet.C:
15166         * ColorHandler.C:
15167         * FontInfo.C:
15168         * FontLoader.C:
15169         * LColor.C:
15170         * LaTeXFeatures.C:
15171         * Painter.C:
15172         * gettext.C:
15173         * lyx_gui_misc.C:
15174         * lyxserver.C:
15175         * vspace.C: removed // -*- C++ -*- as first line.
15176
15177         * lyxfind.h:
15178         * version.h: added // -*- C++ -*- as first line.
15179
15180 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15181
15182         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15183
15184         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15185         of string
15186
15187 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15188
15189         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15190         of floats.
15191
15192 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * gettext.C: include LString.h even when --disable-nls is on.
15195
15196 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15197
15198         * converter.h (Get): changed argument type from int to
15199         FormatList::size_type to avoid unnecessary conversion.
15200
15201         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15202         before using it.
15203
15204 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15205
15206         * gettext.h: include LString.h even when --disable-nls is on.
15207
15208 2001-06-07  Juergen Vigna  <jug@sad.it>
15209
15210         * text.C (BreakAgain): subst spaces with tabs.
15211
15212         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15213         (resizeInsetsLyXText): set force on resizeLyXText.
15214
15215 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15216
15217         * gettext.h (gettext_init):
15218         (locale_init): use a real definition instead of a macro
15219
15220 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15221
15222         * Bufferview_pimpl.C:
15223         * LColor.h:
15224         * LColor.C: further lcolor tidies
15225
15226 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15227
15228         * BufferView_pimpl.C (updateScrollbar): simplify.
15229
15230         * BufferView2.C: don't include insets/insetinfo.h, change
15231         prototype for insertInset and call the Pimpl version. let
15232         updateInset call Pimpl version.
15233
15234         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15235         gotoInset to BufferView::Pimpl
15236
15237 2001-06-01  Juergen Vigna  <jug@sad.it>
15238
15239         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15240         inside a LockingInset (is the update needed at all?).
15241
15242 2001-05-31  Juergen Vigna  <jug@sad.it>
15243
15244         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15245         here not the old one otherwise how should we compare it afterwards
15246         if it's the same!
15247
15248 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15249
15250         * lyxfont.C:
15251         * tabular.C:
15252         * tabular-old.C:
15253         * FontInfo.C: bring C functions into global namespace when
15254         necessary
15255
15256 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15257
15258         * LString.h: make sure config.h has been loaded before LString.h.
15259
15260         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15261         (one for each char read by EatLine!).
15262
15263         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15264         variables.
15265
15266 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15267
15268         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15269         to the same as the par we break from
15270
15271 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15272
15273         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15274
15275         * MenuBackend.C (expand): also create menu entries for wide
15276         versions of the floats.
15277
15278         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15279
15280         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15281
15282         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15283         frontends/Makefile.am
15284
15285         * text2.C: adjust
15286         * text.C: adjust
15287
15288
15289         * tabular.C (getTokenValue): add std::
15290
15291         * tabular-old.C (getTokenValue): add std::
15292         (getTokenValue): ditto
15293         (getTokenValue): ditto
15294
15295         * screen.C (ToggleSelection): adjust
15296
15297         * lyxtext.h: put selection cursors inside a Selection struct.
15298
15299         * lyxfunc.C (moveCursorUpdate): adjust
15300
15301         * lyxfont.C (latexWriteStartChanges): add std::
15302
15303         * lyxfind.C: adjust
15304
15305         * font.h: delete with(char const *, LyXFont const &)
15306
15307         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15308
15309         * FontInfo.C (getFontname): add std::
15310
15311         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15312         (workAreaButtonPress): adjust
15313         (tripleClick): adjust
15314         (update): adjust
15315         (moveCursorUpdate): adjust
15316         (Dispatch): adjust
15317
15318         * BufferView2.C (gotoInset): adjust
15319
15320 2001-05-30  Juergen Vigna  <jug@sad.it>
15321
15322         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15323         to check pspell I add this as default as I now have new pspell
15324         libraries and they seem to use this.
15325
15326 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15327
15328         * text2.C (CutSelection): make the cursor valid before the call to
15329         ClearSelection.
15330
15331 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15334         relied on 0 terminated strings and other horrors. Bug found due to
15335         the new assert in lyxstring!
15336
15337         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15338         KP_ keys.
15339
15340 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15341
15342         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15343         to latinkeys.bind.
15344
15345         * lyxfunc.C (processKeySym): change method of getting to the
15346         self-insert char.
15347
15348         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15349         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15350         * BufferView_pimpl.[Ch]: here as private methods.
15351
15352 2001-05-28  Juergen Vigna  <jug@sad.it>
15353
15354         * text.C (SetHeightOfRow): added the update() call again as it is
15355         needed to initialize inset dimensions!
15356
15357 2001-05-16  Juergen Vigna  <jug@sad.it>
15358
15359         * text2.C (SetCharFont): Add new function with BufferView * and
15360         bool toggleall parameters for setting insets internal fonts.
15361         (SetFont): Freeze the undo as we may change fonts in Insets and
15362         all this change should be inside only one Undo!
15363
15364         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15365         setting font's in insets as for them we have the SetFont function!
15366
15367 2001-05-15  Juergen Vigna  <jug@sad.it>
15368
15369         * text2.C (ClearSelection): to be sure we REALLY don't have any
15370         selection anymore!
15371
15372         * tabular.C (TeXCellPreamble): fixed the left border problem for
15373         multicolumn cells.
15374
15375 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15376
15377         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15378         dependancy file
15379
15380 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15381
15382         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15383         LFUN_BREAKPARAGRAPH.
15384
15385         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15386         help test to "internal only", similar for LFUN_INSERT_URL
15387
15388         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15389         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15390         auto_region_delete and deadkeys.
15391
15392 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15393
15394         * LColor.h:
15395         * LColor.C: remove some dead entries, tidy a little
15396
15397 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15398
15399         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15400         commented code.
15401         (Dispatch): implement LFUN_ESCAPE
15402
15403         * commandtags.h: add LFUN_ESCAPE
15404
15405         * LyXAction.C (init): add entry for LFUN_ESCAPE
15406
15407         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15408         Remove commented code.
15409         (insertNote): moved here
15410         (open_new_inset): moved here
15411
15412         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15413         BufferView_pimpl
15414
15415 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15416
15417         * kbmap.C (findbinding): clean it up and make it work correctly.
15418
15419         * lyx_main.C (init): do not pass argc and argv as parameters
15420
15421 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15422
15423         * buffer.C: fix path for OS/2 & Win32
15424
15425         * lyx_gui.C:
15426         * lyx_main:
15427         * lyx_main.C: Added os:: class.
15428
15429         * os2_defines.h: update
15430
15431 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15432
15433         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15434         better by trying again with reduced state.
15435
15436 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15437
15438         * lyxrc.C (read): print error about invalid key sequence only when
15439         debugging (because not all latinX keysyms are known to some X
15440         servers)
15441
15442         * kbsequence.C (getiso): add a few std:: qualifiers
15443         (getiso): comment out extra return statement.
15444
15445 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15446
15447         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15448         handling.
15449         (Dispatch): enhance the accent inset a bit. (not perfect)
15450
15451 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15452
15453         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15454
15455 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15456
15457         * bufferlist.C (emergencyWrite): fix assert() call
15458
15459 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15460
15461         * text.C (InsertChar): Added trivial patch to only send the "you
15462         can not do multiple spaces this way" message once during a
15463         session.
15464
15465 2001-05-08  Baruch Even  <baruch@lyx.org>
15466
15467         * Makefile.am: Changed order of libraries to get LyX to link properly
15468         with the gnome frontend.
15469
15470 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15471
15472         * LaTeXFeatures.h: add a std:: qualifier
15473
15474 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * paragraph.C (String): use stringstream
15477
15478 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15479
15480         * paragraph.C (writeFile): remove footflag arg
15481
15482         * buffer.C (makeLaTeXFile): use stringstream
15483         (latexParagraphs): remove footnot gurba
15484
15485         * LaTeXFeatures.C (getPackages): use stringstream
15486         (getMacros): likewise
15487         (getTClassPreamble): likewise
15488         (getFloatDefinitions): new method
15489
15490         * paragraph.C (writeFile): reindent
15491         (Erase): reindent
15492
15493         * WorkArea.h: revert the xpos + etc changes.
15494
15495         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15496
15497         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15498
15499         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15500         (pasteSelection): likewise
15501         * text2.C (CreateUndo): likewise
15502
15503 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15504
15505         * minibuffer.C (peek_event): temporarily reduce the functionality
15506         of the minibuffer (to allow args on lfuns)
15507
15508         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15509         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15510
15511         * buffer.C (readInset): add compability reading of old float
15512         lists, add reading of new style float list.
15513         (readInset): avoid reevaluation of inscmd.getCmdName()
15514         (getLists): reindent
15515
15516         * MenuBackend.C (MenuItem): implement parsing of
15517         md_floatlistinsert and md_floatinsert.
15518         (expand::LastFiles): move initalizaton of iterators out of loop,
15519         avoid reevaluation.
15520         (expand::Documents): introduce typdedef vector<string> Strings,
15521         and use it.
15522         (expand::ExportFormats): introduce typedef vector<Format const *>
15523         Formats, and use it.
15524         (expand): implement FloatListInsert and FloatInsert.
15525
15526         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15527         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15528         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15529
15530         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15531         handling.
15532         (Dispatch::LFUN_FLOAT_LIST): implement
15533
15534 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15535
15536         * LaTeX.C (run): Fix problem with --export code.
15537
15538 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15539
15540         * BufferView.[Ch] (workarea): removed.
15541         (getClipboard) new method; wrapper for workarea()->getClipboard()
15542
15543         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15544         bug.
15545
15546         * WorkArea.h (width, height, xpos, ypos): These methods all
15547         returned the dimensions of the work_area sub-area of WorkArea,
15548         resulting in a position error if the WorkArea were resized. Now
15549         return the dimensions of the entire WorkArea.
15550
15551         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15552
15553 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15554
15555         * LaTeX.C (deplog): correct the syntax of regex reg1
15556
15557 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15558
15559         * undo.C: remove !NEW_INSETS cruft
15560
15561 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15562
15563         * text2.C: remove !NEW_INSETS cruft
15564
15565         * text.C: remove !NEW_INSETS cruft
15566
15567         * tabular.C: remove !NEW_INSETS cruft
15568
15569         * spellchecker.C: remove !NEW_INSETS cruft
15570
15571         * lyxtext.h: remove !NEW_INSETS cruft
15572
15573         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15574
15575         * lyxfunc.C: remove !NEW_INSETS cruft
15576
15577         * lyxfind.C: remove !NEW_INSETS cruft
15578
15579         * lyx_cb.C: remove !NEW_INSETS cruft
15580
15581         * figureForm.C: remove  !NEW_INSETS cruft
15582
15583         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15584
15585         * buffer.[Ch]: remove !NEW_INSETS cruft
15586
15587         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15588
15589         * CutAndPaste.C: remove !NEW_INSETS cruft
15590
15591         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15592
15593         * BufferView2.C: remove !NEW_INSETS cruft
15594
15595         * BufferView.h: remove !NEW_INSETS cruft
15596
15597 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15598
15599         * Lsstream.h: include LString.h before the sstream headers to
15600         fix problem with gcc 2.95.3 and lyxstring
15601
15602 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15603
15604         * lyx_main.C: add using directives when needed for C functions
15605         declared in std:: namespace.
15606
15607 2001-04-27  Juergen Vigna  <jug@sad.it>
15608
15609         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15610         (SetHeightOfRow): comment out the update call should not be needed!
15611
15612 2001-04-13  Juergen Vigna  <jug@sad.it>
15613
15614         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15615         (LyXTabular): tried to minimize operator= operations (and realized
15616         hopfully Lars wish).
15617
15618 2001-04-27  Juergen Vigna  <jug@sad.it>
15619
15620         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15621
15622 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15623
15624         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15625
15626         * buffer.C (readInset): hack to make listof algorithm work
15627
15628         * BufferView_pimpl.C: hack to make listof algorithm work
15629
15630 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15631
15632         * LyXAction.C: removed all !NEW_INSETS cruft
15633         (init): moved lfun_item in method
15634
15635         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15636
15637 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15638
15639         * BufferView2.C (theLockingInset): white space.
15640
15641 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15642
15643         * minibuffer.C: include <iostream>
15644
15645         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15646
15647         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15648
15649         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15650
15651         * text.[Ch] (TransposeChars): new method
15652
15653 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15654
15655         * call message directly through LyXView instead of through LyXFunc
15656         * BufferView2.C: adjust
15657         * BufferView_pimpl.C: adjust
15658         * FontLoader.C: adjust
15659         * buffer.C: adjust
15660         * bufferview_funcs.C: adjust
15661         * converter.C: adjust
15662         * figureForm.C: adjust
15663         * importer.C: adjust
15664         * lyx_cb.C: adjust
15665         * lyx_gui_misc.C: adjust
15666         * lyxfunc.C: adjust
15667         * lyxvc.C: adjust
15668         * text2.C: adjust
15669         + more files in subdirs
15670
15671         * lyxparagraph.h (size): move up int file
15672         (GetLayout): ditto
15673
15674         * adjust all uses of Assert to lyx::Assert.
15675
15676         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15677         lyxfunctional in namespace lyx
15678         * layout.C (hasLayout): ditto
15679         (GetLayout): ditto
15680         (GetLayout): ditto
15681         (delete_layout): ditto
15682         (NumberOfClass): ditto
15683         * converter.C (GetFormat): ditto
15684         (GetNumber): ditto
15685         (Add): ditto
15686         (Delete): ditto
15687         (SetViewer): ditto
15688         * bufferlist.C (getFileNames): ditto
15689         (emergencyWriteAll): ditto
15690         (exists): ditto
15691         (getBuffer): ditto
15692         * MenuBackend.C (hasSubmenu): ditto
15693         (hasMenu): ditto
15694         (getMenu): ditto
15695         * BufferView_pimpl.C (getInsetByCode): ditto
15696
15697 2001-04-18  Juergen Vigna  <jug@sad.it>
15698
15699         * vspace.C (asLatexString): fixed the 100% problem.
15700
15701 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15702
15703         * lyxfunc.C (Dispatch):
15704         * minibuffer.C:
15705         * minibuffer.h: add a few std:: qualifiers
15706
15707 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15708
15709         * minibuffer.[Ch]: reimplement so that commands is initiated and
15710         run from lyxfunc, simplified som handling, and made the completion
15711         and history code for complete. wip.
15712
15713         * lyxfunc.C (processKeySym): call message
15714         (miniDispatch): new temporary method
15715         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15716         (LFUN_MESSAGE): implement
15717         (LFUN_MESSAGE_PUSH): implement
15718         (LFUN_MESSAGE_POP): implement
15719         (initMiniBuffer): the initial/defualt minibuffer message.
15720
15721         * lyxfont.[Ch]: inline some more getters
15722
15723         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15724
15725         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15726
15727         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15728         (AutoSave): use LFUN_MESSAGE
15729         (Reconfigure): ditto
15730
15731         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15732
15733         * figureForm.C: use LFUN_MESSAGE
15734
15735         * converter.C (runLaTeX): use LFUN_MESSAGE
15736
15737         * bufferview_funcs.C: use LFUN_MESSAGE
15738         (Melt): ditto
15739         (changeDepth): ditto
15740
15741         * bufferparams.h: use boost::
15742
15743         * bufferlist.h: inherit privately from noncopyable
15744
15745         * bufferlist.C (loadLyXFile): remove some commented code.
15746
15747         * buffer.C (runChktex): use LFUN_MESSAGE
15748
15749         * ShareContainer.h: inherit privately from noncopyable
15750
15751         * ParagraphParameters.[hC] (depth): inline it.
15752
15753         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15754         methods.
15755         (message): new method
15756         (messagePush): ditto
15757         (messagePop): ditto
15758         (show): init minibuffer
15759         (showState): direct call
15760
15761         * LaTeX.[Ch]: inherit privately from noncopyable
15762         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15763         instead of WriteStatus.
15764
15765         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15766
15767         * BufferView_pimpl.C (buffer): don't init minibuffer
15768         (workAreaButtonPress): use LFUN_MESSAGE
15769         (workAreaButtonRelease): ditto
15770         (savePosition): ditto
15771         (restorePosition): ditto
15772         (MenuInsertLyXFile): ditto
15773         (workAreaExpose): don't init minibuffer
15774         (update): remove commented code, simplify
15775
15776         * BufferView2.C (openStuff): use LFUN_MESSAGE
15777         (toggleFloat): ditto
15778         (menuUndo): ditto
15779         (menuRedo): ditto
15780         (copyEnvironment): ditto
15781         (pasteEnvironment): ditto
15782         (copy): ditto
15783         (cut): ditto
15784         (paste): ditto
15785         (gotoInset): ditto
15786         (updateInset): remove some commented code
15787
15788         * lastfiles.h: inherit privately from noncopyable
15789         * layout.h: ditto
15790         * lyx_gui.h: ditto
15791         * lyx_main.h: ditto
15792         * lyxlex.h: ditto
15793         * lyxlex_pimpl.h: ditto
15794
15795         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15796         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15797         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15798
15799         * LyXAction.h: inherit privately from noncopyable, add methods
15800         func_begin, func_end, returning iterators to the func map.
15801
15802         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15803         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15804         (func_begin): new method
15805         (func_end): new method
15806
15807         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15808         and not)
15809         (copySelection): ditto
15810         (pasteSelection): ditto
15811
15812         * BufferView.C: whitespace change
15813         * BufferView.h: inherit privately from noncopyable
15814
15815 2001-04-16  Allan Rae  <rae@lyx.org>
15816
15817         * tabular-old.C (l_getline):
15818         * spellchecker.C (sc_check_word):
15819         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15820         an unrecognised preprocessor directive.  So ensure they're wrapped.
15821
15822 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15823
15824         * src/exporter.C (Export): Give an error message when path to file
15825         contains spaces.
15826
15827 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15828
15829         * LaTeX.C (deplog): Always check that foundfile exists.
15830
15831 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15832
15833         * lyx_main.h:
15834         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15835
15836 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15837
15838         * tabular.[Ch] (getLabelList): implement new method
15839
15840         * minibuffer.h: comment ouf setTiimer
15841
15842         * minibuffer.C (ExecutingCB): constify res
15843         (peek_event): constify s
15844         (Set): constify ntext
15845         (Init): constify nicename
15846
15847         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15848
15849         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15850         (savePosition): use two params to Minibuffer::Set
15851         (restorePosition): ditto
15852
15853 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15854
15855         * lyx_main.C: include language.h
15856
15857         * Makefile.am (lyx_main.o): add language.h
15858
15859 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15860
15861         * exporter.C:
15862         * paragraph.C:
15863         * screen.C:
15864         * tabular.C:
15865         * CutAndPaste.C: include gettext.h
15866
15867         * lyxfont.h: remove old hack with ON and OFF.
15868
15869         * lyxparagraph.h:
15870         * lyxfont.h: do not include language.h...
15871
15872         * BufferView2.C:
15873         * LaTeXFeatures.C:
15874         * Painter.C:
15875         * bufferview_funcs.C:
15876         * font.C:
15877         * lyxfont.C:
15878         * text.C:
15879         * text2.C:
15880         * trans_mgr.C:
15881         * paragraph.C: ... but do it here instead
15882
15883 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15886
15887         * tabular.C: small reformat
15888
15889         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15890         NEW_INSETS version
15891         (GetChar): ditto
15892         (BreakParagraph): ditto
15893         (SetOnlyLayout): ditto
15894         (SetLayout): ditto
15895
15896         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15897         with one arg less.
15898
15899         * lastfiles.C: removed most using decl, add std:: where needed
15900
15901         * buffer.C: ws changes
15902
15903         * MenuBackend.C (class compare_format): put into anon namespace
15904         (expand): constify label, names, action, action2
15905         (expand):
15906
15907         * text.C (SingleWidth): constify font
15908         (IsBoundary): constify rtl2
15909         (GetVisibleRow): constify ww
15910
15911         * LaTeX.C (deplog): constify logfile
15912
15913         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15914         start_x, end_x
15915         (workAreaExpose): constify widthChange, heightChange
15916
15917         * lyxrow.C (par): moved
15918         (height): moved
15919         (next): moved
15920         * lyxrow.h: as inlines here
15921
15922         * lyxfont.h (shape): moved from lyxfont.C
15923         (emph): moved from lyxfont.C
15924
15925         * lyxfont.C (LyXFont): use initialization list for all
15926         constructors
15927         (shape): move to lyxfont.h as inline
15928         (emph): move to lyxfont.h as inline
15929
15930
15931 2001-04-04  Juergen Vigna  <jug@sad.it>
15932
15933         * vspace.C: had to include stdio.h for use of sscanf
15934
15935 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15936
15937         * BufferView.h:
15938         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15939         independent of xforms.
15940
15941 2001-04-02  Juergen Vigna  <jug@sad.it>
15942
15943         * spellchecker.C: fixed namespace placing!
15944
15945 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15946
15947         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15948         the LyXParagraph * is 0.
15949
15950 2001-03-29  Juergen Vigna  <jug@sad.it>
15951
15952         * vspace.C: added support for %, c%, p%, l%.
15953         (stringFromUnit): added helper function.
15954         (asLatexString): changed to give right results for the %-values.
15955
15956         * buffer.C: convert the widthp in a width%.
15957
15958 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15959
15960         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15961         figureForm.[Ch].
15962
15963         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15964         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15965
15966         * lyx_cb.[Ch]: see above.
15967
15968         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15969         form1.[Ch].
15970
15971         * form1.[Ch]:
15972         * lyx.[Ch]: replaced by figure_form.[Ch].
15973
15974         * lyx_gui.C:
15975         * lyx_gui_misc.C:
15976         * lyxfunc.C: changed headers associated with above changes.
15977
15978 2001-03-27  Juergen Vigna  <jug@sad.it>
15979
15980         * BufferView_pimpl.C: set the temporary cursor right!
15981
15982 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15983
15984         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15985
15986 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15987
15988         * LString.h: removed "using std::getline"!
15989
15990         * BufferView_pimpl.C (Dispatch): changes due to changes in
15991         InsetInclude::Params.
15992
15993         * buffer.C (tag_name): removed redundant break statements as they were
15994         producing lots of warnings with my compiler.
15995
15996 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15997
15998         * LString.h: add "using std::getline" when using the real <string>.
15999
16000 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16001
16002         * buffer.C: removed bitset usage.
16003         PAR_TAG moved to an anonymous name space.
16004         (tag_name): new funtion, also in the anonymous namespace.
16005         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16006         (makeDocBookFile): clean code. Completed transition from string arrays
16007         to string vectors.
16008         (SimpleDocBookOnePar): code clean.
16009
16010 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16011
16012         * tabular.C: add some comments.
16013
16014 2001-03-22  Juergen Vigna  <jug@sad.it>
16015
16016         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16017         compatibility read a bit and fixed bug with minipage in different
16018         depth.
16019
16020 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16021
16022         * buffer.C (pop_tag): removed.
16023         (push_tag): removed.
16024         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16025         array replaced with vector. Added support for CDATA sections.
16026         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16027         at any nest level.
16028         (makeDocBookFile): XML conformant declaration of CDATA section,
16029         fixed bug related to <emphasis> in the first paragraph char.
16030         (sgmlOpenTag): exclude empty tags.
16031         (sgmlCloseTag): ditto.
16032
16033         * buffer.h (pop_tag): removed.
16034         (push_tag): removed.
16035
16036 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16037
16038         * language.h (Languages): added size_type and size().
16039
16040 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16041
16042         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16043         response on compability reading of minipages. One probliem is that
16044         the old usage of minipages was «flertydig»
16045
16046         * several files here and in subdirs: don't use static at file
16047         scope use anon namespaces instead.
16048
16049 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16050
16051         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16052         LaTeX output. This is necessary for Literate document
16053         processing.
16054
16055 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16056
16057         * buffer.C: insert hfill when needed.
16058
16059         * tabular.C (l_getline): use string::erase, small whitespace change.
16060
16061         * BufferView_pimpl.C: try the anon namespace.
16062         * WorkArea.C: ditto
16063
16064 2001-03-16  Juergen Vigna  <jug@sad.it>
16065
16066         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16067         otherwise it won't open options-dialogs.
16068
16069         * buffer.C: honor pextraWidth(p) on converting minipages.
16070
16071         * tabular.C (l_getline): changed the functions to strip trailing \r.
16072
16073 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16074
16075         * BufferView_pimpl.C:
16076         * minibuffer..C: added "using SigC::slot" declaration.
16077
16078 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16079
16080         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16081
16082         * text2.C: ditto
16083
16084         * text.C: ditto
16085
16086         * paragraph.C: ditto
16087
16088         * lyxtext.h: NO_PEXTRA
16089
16090         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16091
16092         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16093         * ParameterStruct.h: ditto
16094         * ParagraphParameters.h: ditto
16095         * lyxparagraph.h: ditto
16096
16097 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16098
16099         * buffer.C: add compability for minipage alignment.
16100         (latexParagraphs): remove unwanted pextra check.
16101
16102         * several files: remove CXX_WORKING_NAMESPACES
16103
16104         * buffer.C (pop_tag): tie is in namespace boost
16105
16106         * BufferView.h: noncopyable is in namespace boost
16107         * lyxlex.h: ditto
16108         * lyx_main.h: ditto
16109         * lyx_gui.h: ditto
16110         * layout.h: ditto
16111         * lastfiles.h: ditto
16112         * bufferlist.h: ditto
16113         * ShareContainer.h: ditto
16114         * LyXView.h: ditto
16115         * LyXAction.h: ditto
16116         * LaTeX.h: ditto
16117
16118 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16119
16120         * Merging changes from BRANCH_MVC back into HEAD.
16121
16122         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16123
16124 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16125
16126         * BufferView_pimpl.C: change from intl.C
16127
16128         * combox.h:
16129         * combox.C:
16130         * Makefile.am: move combox.*
16131
16132         * form1.h:
16133         * form1.C:
16134         * lyx_gui.C:
16135         * intl.h:
16136         * intl.C: remove dialog (covered by prefs)
16137
16138 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16139
16140         * lyxfunc.C (Dispatch): removed redundant break statement.
16141
16142 2001-03-14  Juergen Vigna  <jug@sad.it>
16143
16144         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16145
16146 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16147
16148         * buffer.C: add hack to fix compability reading of minipages.
16149
16150 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16151
16152         * buffer.C (getLists): Cleanup.
16153
16154 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16155
16156         * lyxfont.C (update): don't honor toggleall on font size.
16157
16158 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16159
16160         * bmtable.c:
16161         * bmtable.h:
16162         * Makefile.am: moved to frontends/xforms/
16163
16164         * lyx_gui_misc.C:
16165         * lyxfunc.C:
16166         * BufferView_pimpl.C: changes for moved mathpanel
16167
16168 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16169
16170         * gettext.h: fix gettext_init() in --disable-nls
16171
16172 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16173
16174         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16175
16176 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16177
16178         * lyx.C:
16179         * lyx.h: strip external form
16180
16181 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16182
16183         * BufferView_pimpl.C: add comment, destroySplash()
16184
16185 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16186
16187         * BufferView_pimpl.C:
16188         * LyXAction.C:
16189         * buffer.C:
16190         * commandtags.h:
16191         * lyxfunc.C: use re-worked insetinclude
16192
16193 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16194
16195         * buffer.C: add using std::stringstream.
16196
16197         * lyx_cb.C: readd using std::ios.
16198
16199         * buffer.C: add using std::map.
16200
16201         * BufferView_pimpl.C: add using std::vector.
16202
16203         * ShareContainer.h: add std:: to swap.
16204
16205         * buffer.h: add some typedefs
16206         * buffer.C (getLists): use them
16207         (getLists): renamed from getTocList.
16208         add a counter for the different float types and use it in the
16209         generated string.
16210         (getLists): use the same counter for the NEW_INSETS and the "non"
16211         NEW_INSETS
16212
16213         * lyx_cb.h: remove unused items, includes, using etc.
16214
16215         * ShareContainer.h: remove some commented code, add more comments
16216         and "documentation".
16217
16218 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16219
16220         * buffer.C (getTocList): make the list also when NEW_INSETS is
16221         defined.
16222
16223         * buffer.h: remove TocType
16224
16225         * buffer.C (getTocList): change to return a map<string,
16226         vector<TocItem> >, implement for dynamic number of list.
16227
16228         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16229         * text2.C (PasteSelection): adjust
16230         * CutAndPaste.C (pasteSelection): adjust
16231
16232         * FloatList.C (FloatList): update from the new_insets branch.
16233         * Floating.[Ch]: ditto
16234         * LaTeXFeatures.C: ditto
16235         * buffer.C: ditto
16236         * lyxlex_pimpl.C: ditto
16237
16238         * paragraph.C (Last): remove when NEW_INSETS is defined.
16239
16240         * other file: changes because of the above.
16241
16242 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16243
16244         * lyxparagraph.h: rename next to next_, previous to previous_,
16245         make them private for NEW_INSETS. Rename Next() to next(),
16246         Previous() to previous().
16247
16248         * other files: changes because of the above.
16249
16250 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16251
16252         * BufferView.h:
16253         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16254         problem.
16255
16256 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16257
16258         * main.C (main): pass lyx_localedir to gettext_init().
16259
16260         * gettext.h: remove locale_init and gettext_init macros
16261
16262         * gettext.C (locale_init): new function
16263         (gettext_init): new function
16264
16265         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16266         setlocale().
16267
16268 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16269
16270         * Moved credits to frontends:
16271         * credits.[Ch]: removed
16272         * credits_form.[Ch]: removed
16273         * lyx_gui_misc.C: remove credits stuff
16274         * Makefile.am:
16275
16276 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16277
16278         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16279
16280         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16281         unneeded destructor.
16282
16283         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16284         a standalone pointer again.
16285
16286         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16287
16288 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16289
16290         * Makefile.am:
16291         * filedlg.h:
16292         * filedlg.C:
16293         * LyXAction.C:
16294         * ToolbarDefaults.C:
16295         * bufferlist.C:
16296         * commandtags.h:
16297         * form1.C:
16298         * form1.h:
16299         * lyx_cb.C:
16300         * lyx_cb.h:
16301         * lyxfunc.h:
16302         * lyxfunc.C:
16303         * BufferView_pimpl.C: use new file dialog in GUII
16304
16305         * lyx_cb.h:
16306         * lyx_cb.C: remove LayoutsCB to Toolbar
16307
16308 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16309
16310         * ShareContainer.h (get): add std:: qualifier
16311
16312 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16313
16314         * ShareContainer.h: define a proper ShareContainer::value_type
16315         type (and use typename to please compaq cxx)
16316
16317 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16318
16319         * lyxparagraph.h: move serveral local vars to
16320         ParameterStruct/ParagraphParameters., use ShareContainer in
16321         FontTable., make vars in FontTable private and add getter and
16322         setter.
16323
16324         * paragraph.C: changes because of the above.
16325
16326         * lyxfont.h: remove copy constructor and copy assignment. (the
16327         default ones is ok), move number inside FontBits. move inlines to
16328         lyxfont.C
16329
16330         * lyxfont.C: add number to initializaton of statics, move several
16331         inlines here. constify several local vars. some whitespace
16332         cleanup. Dont hide outerscope variables.
16333
16334         * Spacing.h: add two new constructors to match the set methods.
16335
16336         * ShareContainer.h: new file, will perhaps be moved to support
16337
16338         * ParameterStruct.h: new file
16339
16340         * ParagraphParameters.h: new file
16341
16342         * ParagraphParameters.C: new file
16343
16344         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16345         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16346
16347         * BufferView_pimpl.C: ParagraphParameter changes.
16348         * buffer.C: Likewise.
16349         * bufferview_funcs.C: Likewise.
16350         * text.C: Likewise.
16351         * text2.C: Likewise.
16352
16353 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16354
16355         * lyxfind.C (LyXReplace): do not redefine default argument in
16356         implementation.
16357         (IsStringInText): ditto
16358         (SearchForward): ditto
16359         (SearchBackward): ditto
16360
16361 2001-03-06  Juergen Vigna  <jug@sad.it>
16362
16363         * lyxfind.C (IsStringInText): put parentes around expressions.
16364
16365 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16366
16367         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16368
16369 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16370
16371         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16372
16373         * stl_string_fwd.h: add comment
16374
16375         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16376
16377         * tabular.h:
16378         * tabular.C: remove unused DocBook methods
16379
16380         * intl.C:
16381         * language.C:
16382         * paragraph.C:
16383         * buffer.C:
16384         killed DO_USE_DEFAULT_LANGUAGE
16385
16386 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16387
16388         * lyx_gui.C: do not include language.h.
16389
16390         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16391         arguments in function implementation.
16392
16393 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16394
16395         * BufferView_pimpl.C: add <ctime>
16396
16397 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16398
16399         * BufferView_pimpl.C: add using std::find_if
16400
16401 2001-02-27  José Matos  <jamatos@fep.up.pt>
16402
16403         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16404         by OnlyPath.
16405
16406 2001-02-11  José Matos  <jamatos@fep.up.pt>
16407
16408         * buffer.C (makeDocBookFile): command styles now have a parameter as
16409         "title" by default.
16410
16411 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16412
16413         * layout_forms.[Ch]: removed
16414         * lyx_cb.[Ch]: out character
16415         * lyx_gui.C: out character
16416         * lyx_gui_misc.C: out character
16417         * bufferview_funcs.C: : out character,
16418         added toggleall as parameter in ToggleAndShow
16419
16420 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16421
16422         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16423
16424         * text2.C (SetCurrentFont): Disable number property at boundary.
16425
16426 2001-02-26  Juergen Vigna  <jug@sad.it>
16427
16428         * lyxfunc.C (getStatus): added a string argument override function so
16429         that this is correctly called from LyXFunc::Dispatch if it contains a
16430         do_not_use_argument which is used!
16431         (Dispatch): added check for "custom" export and call appropriate func.
16432
16433 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16434
16435         * lyxrc.C: Add language_command_local, language_use_babel and
16436         language_global_options.
16437
16438         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16439
16440         * buffer.C (makeLaTeXFile): Use language_use_babel and
16441         language_global_options.
16442
16443 2001-02-23  Juergen Vigna  <jug@sad.it>
16444
16445         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16446         which works with LyXText and putted it inside BufferView. Here now we
16447         only call for that part the BufferView::Dispatch() function.
16448
16449         * BufferView.C (Dispatch): added.
16450
16451         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16452         functions which needs to use a LyXText over from LyXFunc.
16453         (MenuInsertLyXFile): added
16454         (getInsetByCode): added
16455         (moveCursorUpdate): added
16456         (static TEXT): added
16457
16458 2001-02-22  Juergen Vigna  <jug@sad.it>
16459
16460         * BufferView_pimpl.C (update): call a status update to see if LyXText
16461         needs it.
16462
16463 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16464
16465         * vc-backend.C (revert): implement for CVS
16466         (getLog): implement for CVS
16467
16468 2001-02-20  Juergen Vigna  <jug@sad.it>
16469
16470         * text2.C (ClearSelection): added BufferView param for inset_owner call
16471
16472         * lyxfunc.C (TEXT): added this function and use it instead of
16473         directly owner->view()-text of getLyXText().
16474
16475 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16476
16477         * src/layout_forms.C: out preamble
16478         * src/layout_forms.h: out preamble
16479         * src/lyx_cb.C: out preamble
16480         * src/lyx_cb.h: out preamble
16481         * src/lyx_gui.C: out preamble
16482         * src/lyx_gui_misc.C: out preamble
16483         * src/lyxfunc.C: connect with guii preamble
16484
16485 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16486
16487         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16488
16489 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16490
16491         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16492         whether to run bibtex.
16493
16494 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16495
16496         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16497
16498 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16499
16500         * Makefile.am (lyx_SOURCES): removed bibforms.h
16501
16502         * vspace.h: doxygen
16503
16504         * text.C (GetVisibleRow): make several local vars const
16505
16506         * tabular.C: small cleanup.
16507
16508         * lyxserver.C (callback): use compare instead of strncmp
16509
16510         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16511         inlines to after class or to paragraph.C
16512
16513         * lyxfont.h: remove friend operator!=
16514
16515         * converter.h: move friend bool operator< to non friend and after
16516         class def.
16517
16518         * combox.h: small cleanup
16519
16520         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16521         to inlines after class def.
16522
16523         * buffer.C (pop_tag): use string operations instead of strcmp
16524
16525         * bmtable.c: doxygen, small cleanup
16526
16527         * LaTeX.h: remove friend operator==
16528
16529 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16530
16531         * screen.C:
16532         * lyxrc.[Ch]:
16533         * lyxfunc.C:
16534         * lyxfont.[Ch]:
16535         * lyx_cb.C:
16536         * intl.[Ch]:
16537         * commandtags.h:
16538         * buffer.C:
16539         * WorkArea.[Ch]:
16540         * LyXAction.C:
16541         * BufferView_pimpl.C:
16542         * BufferView.[Ch]: remove cruft
16543
16544 2001-02-14  Juergen Vigna  <jug@sad.it>
16545
16546         * lyxfunc.C: removed #if 0 unused code
16547
16548         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16549
16550         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16551
16552         * text2.C (SetSelection): added a BufferView * parameter
16553
16554 2001-02-13  Juergen Vigna  <jug@sad.it>
16555
16556         * lyxfunc.C (Dispatch): fixed protected blank problem.
16557         * BufferView2.C (protectedBlank): added LyxText * parameter.
16558
16559         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16560         (AppendColumn): same as above for column_info.
16561
16562         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16563         (moveCursorUpdate): use a LyXText param for support of InsetText.
16564
16565         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16566         (tripleClick): ditto
16567
16568         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16569
16570         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16571
16572         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16573
16574         * text2.C (SetSelection): set correct update status if inset_owner
16575         (ToggleFree): ditto
16576
16577 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16578
16579         * tabular.C: remove some commented code.
16580
16581 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16582
16583         * BufferView_pimpl.C: call hideSplash()
16584
16585         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16586
16587         * include_form.h:
16588         * bibforms.h: remove
16589
16590         * lyxfunc.C:
16591         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16592           add LFUN_CHILD_CREATE
16593
16594         * counters.h: fix tiny typo
16595
16596         * lyx_cb.C:
16597         * lyx.h:
16598         * lyx_gui.C:
16599         * lyx.C: move splash to frontends/xforms/
16600
16601         * lyx_gui_misc.C: move Include and Bibform to frontends
16602
16603         * lyxvc.h: clarify comment
16604
16605         * vspace.C: tiny housekeeping
16606
16607 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16608
16609         * text.C (PrepareToPrint): RTL Fix.
16610
16611         * paragraph.C (GetUChar): New method.
16612         (String):  Use GetUChar.
16613
16614         * buffer.C (asciiParagraph): Use GetUChar.
16615
16616 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16617
16618         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16619
16620 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16621
16622         * buffer.h:
16623         * buffer.C: rename to getLogName(), handle
16624           build log / latex log nicely
16625
16626 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16627
16628         * MenuBackend.C:
16629         * MenuBackend.h: remove support for reference menuitem type.
16630
16631 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16632
16633         * BufferView_pimpl.C: housekeeping
16634         * BufferView_pimpl.h:
16635         * LyXView.h:
16636         * Makefile.am:
16637         * Timeout.C:
16638         * Timeout.h:
16639         * minibuffer.h: move Timeout GUI-I
16640
16641 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16642
16643         * lyxrc.C (read): Update converters data-structures.
16644
16645 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16646
16647         * LaTeX.h (operator!=): add operator != for Aux_Info
16648
16649 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16650
16651         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16652
16653         * LaTeXLog.C: deleted, useful code moved to Buffer
16654
16655         * buffer.h:
16656         * buffer.C: new function getLatexLogName()
16657
16658         * lyx_gui_misc.C:
16659         * lyx_gui.C:
16660         * lyxvc.C:
16661         * lyxvc.h:
16662         * lyxfunc.C: use frontends for LaTeX and VC logs
16663
16664 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16665
16666         * LaTeX.h: yet another std:: that Allan forgot.
16667
16668         * Variables.C (set): renamed from isset(), because this clashes
16669         with some HP-UX macros (grr).
16670
16671 2001-02-06  Allan Rae  <rae@lyx.org>
16672
16673         * LaTeX.h: Another bug fix.  Missing std:: this time.
16674
16675 2001-02-04  Allan Rae  <rae@lyx.org>
16676
16677         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16678         floats problem. I've left it commented out because it's not quite
16679         correct.  It should also test that the current object is a table or
16680         figure inset.  But I haven't gotten around to figuring out how to do
16681         that.  I *think* it'll be something like: "table" == inset.type()
16682
16683         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16684         bool.
16685
16686 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16687
16688         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16689         all the citation/databases/styles in the auxilary file.
16690         (run): Rerun latex if there was a babel language error.
16691
16692 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16693
16694         * text.C (Backspace): Preserve the font when changing newline char
16695         with a space.
16696         (BreakParagraph): If the cursor is before a space, delete the space.
16697
16698         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16699
16700 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16701
16702         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16703         new argument (code).
16704         (ChangeCitationsIfUnique): New method.
16705
16706         * paragraph.C (GetPositionOfInset): Handle bibkey.
16707
16708 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16709
16710         * BufferView_pimpl.h: change type of Position::par_pos to
16711         LyXParagraph::size_type.
16712
16713 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16714
16715         * BufferView_pimpl.C (savePosition, restorePosition): Write
16716         messages to minibuffer.
16717
16718 2001-01-28  José Matos  <jamatos@fep.up.pt>
16719
16720         * buffer.C (makeDocBookFile): adds support for document language.
16721         A silly restriction on the name of LatexCommand types where removed.
16722         Added support for CDATA sections, allows to chars unescaped, used
16723         among others in code, to avoid escape < and >.
16724
16725 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16726
16727         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16728         saved positions instrad of a stack. Furthermore, a position is
16729         stored using paragraph id/paragraph position.
16730
16731         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16732         Remove LFUN_REF_BACK.
16733
16734 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16735
16736         * converter.C (dvipdfm_options): New method.
16737
16738 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16739
16740         * vspace.C (isValidLength): Fix for empty input string.
16741
16742 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16743
16744         * LyXAction.C (init): change description of LFUN_FIGURE to
16745         "Insert Graphics"
16746
16747 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16748
16749         * LaTeX.C: add using directive
16750
16751 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16752
16753         * MenuBackend.C (expand): Fix the sorting of the formats.
16754
16755 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16756
16757         * lyx_main.C: tiny error message fix
16758
16759 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16760
16761         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16762         calling fl_initialize(). This fixes the problem with ',' as
16763         decimal separator in text files.
16764
16765 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16766
16767         * trans.C (process): Fix the keymap bug.
16768
16769 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16770
16771         * LaTeX.C (scanAuxFiles): New method. Provides support for
16772         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16773         (scanLogFile) Scan for "run BibTeX" messages.
16774
16775         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16776         OT1 font encoding. Also, load the aecompl package if the ae
16777         package is loaded.
16778
16779         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16780
16781 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16782
16783         * texrow.C (increasePos): turn two error messages into debug
16784         messages.
16785
16786 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16787
16788         * LaTeX.C (scanAux): Handle the \@input macro.
16789         (runBibTeX): Use scanAux().
16790
16791         * language.C (latex_options_): New field.
16792
16793         * LaTeXFeatures.C (getMacros): Add language macros.
16794
16795         * buffer.C (makeLaTeXFile): Small fix.
16796
16797 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16798
16799         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16800
16801         * text2.C: add a using directive.
16802
16803 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16804
16805         * BufferView2.C:
16806         * lyx_gui_misc.h:
16807         * lyxfr1.C:
16808         * lyxfunc.C: kill LyXBell.
16809
16810 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16811
16812         * text.C (IsBoundary): Remove the error message
16813
16814         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16815
16816         * lyxrc.C (setDefaults): Correct initialization value for
16817         font_norm_type.
16818
16819 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16820
16821         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16822         gotoError().
16823
16824         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16825         and GotoNextNote().
16826
16827         * src/LyXAction.C: Added reference-next.
16828
16829         * text.C (InsertChar): Use contains instead of strchr.
16830
16831         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16832
16833 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16834
16835         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16836         alignment commands (when needed).
16837
16838         * text.C (InsertChar): Add ':' to number separator chars.