]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
7614d484be24c3caf8f5f8c89d5870f248e9301b
[lyx.git] / src / ChangeLog
1 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
4         namespace, also more use of temp references and const
5         
6         * cursor.[Ch] (getStatus): move to lyxfunc.C
7
8         * bufferparams.C: reformat slightly
9
10         * bufferview_funcs.C (font2string): constify arg
11
12         * changes.C:
13         * converter.C:
14         * counters.C:
15         * bufferlist.C:
16         * buffer_funcs.C: (many funcs): constify arg on function
17         definitions, also make more local vars const, also add ASSERTS on
18         pointer args.
19
20         * buffer.C (LYX_FORMAT): put const in correct place
21         (many funcs): constify arg on function definitions, also make
22         more local vars const
23
24         * aspell_local.h: remove "struct" from typdef setup
25
26         * aspell.C (check): make word_ok const
27         (nextMiss): simplify slightly
28         (error): ditto
29
30 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
31
32         * lyxrc.[Ch]: store all float values as strings.
33         use int (not float) for lyxrc.dpi.
34
35 2005-01-04  Angus Leeming  <leeming@lyx.org>
36
37         * lyx_cb.C (Reconfigure):
38         * lyx_main.C (queryUserLyXDir):
39         to run the <system_lyxdir>/configure correctly on Windows, prefix
40         the path to the script with "sh " when generating the string that
41         is passed to system().
42
43 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
44
45         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
46
47 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * lyxlength.C (asLatexString): get rid of setprecision
50
51 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52
53         * text2.C (setLayout): remove unused variable endpit.
54         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
55
56         * paragraph.C (onlyText): remove unused variable style.
57
58         * cursor.C (bruteFind): remove unused variables beg and end.
59
60         * Makefile.am (dist_noinset_DATA): not needed anymore
61
62         * cheaders/*: remove.
63
64 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
65
66         * text3.C: fix LFUN_MATH_MODE.
67
68 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * buffer_funcs.C (countWords): new function. Counts words between
71         two iterators.
72
73         * BufferView_pimpl.C (getStatus, dispatch): handle
74         LFUN_WORDS_COUNT.
75
76         * LyXAction.C (init):
77         * lfuns.h: add LFUN_WORDS_COUNT.
78
79 2004-12-19  Angus Leeming  <leeming@lyx.org>
80
81         * buffer.C (save): s/slashify_path/internal_path/.
82
83 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
84
85         * lyxfind.C (findChange): do not search for end of pars, because
86         the change tracker cannot handle this (fixes bug 1719).
87
88 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
89
90         * paragraph.[Ch] (autoBreakRows): remove
91
92         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
93
94         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
95         avoid using the paragraph one
96
97         * text2.C (LyXText, insertStringAsLines): adjust
98
99 2004-12-16  Angus Leeming  <leeming@lyx.org>
100
101         * bufferlist.C:
102         * lyx_main.C:
103         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
104
105 2004-12-14  Angus Leeming  <leeming@lyx.org>
106
107         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
108
109         * bufferlist.C (emergencyWrite):
110         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
111         GetEnvPath("HOME").
112
113 2004-12-14  Angus Leeming  <leeming@lyx.org>
114
115         * main.C: (main): no longer pass pointers to os::init.
116
117 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
118
119         * undo.C (textUndoOrRedo): simplify logic, fix a crash
120         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
121
122 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
123
124         * lyxfunc.C:
125         * text3.C: remove selection_possible global flag
126
127 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * text2.C (getSelectionSpan): remove
130         (changeDepth, changeDepthAllowed): adjust
131
132 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
133
134         * Makefile.am (BOOST_LIBS): use boost variables
135
136 2004-12-03  José Matos <jamatos@lyx.org>
137
138         * buffer.C: format up to 238.
139
140 2004-12-03  José Matos  <jamatos@lyx.org>
141
142         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
143
144 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
145
146         * cursor.C (goUpDown): remove call to idxUpDown2
147
148 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
149
150         * tabular.[Ch]: use size_t-like types for cell, row and column
151         indices
152
153 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
154
155         * lyxfunc.C (getStatus): do not lose previous information when
156         calling BufferView::getStatus; do not set a default "Command
157         disabled" message at the beginning, but just before returning.
158
159 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
160
161         * cursor.h (getStatus): add better comment from src/cursor.C
162
163 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
164
165         * text3.C (getStatus): return false when the lfun is not handled
166
167 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * broken_headers.h: remove
170
171         * Makefile.am (lyx_SOURCES): remove broken_headers.h
172
173 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
174
175         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
176         offset_ref accessors
177
178         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
179         top_y_, merge fitcursor with update
180         (updateScrollbar, scrollDocView, fitCursor, center, update): new
181         coord scheme
182         (metrics): introduce
183         (workAreaDispatch): adapt to new coord scheme
184         (redoCurrentBuffer): remove
185
186         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
187
188         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
189         CurStatus enum.
190
191         * coordcache.[Ch]: add paragraph cache and helpers
192
193         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
194         adjust everywhere
195
196         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
197         (targetX, setTargetX): introduce
198
199         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
200         baseline -> ascent, as the rest of lyx
201
202         * lyxtext.h: remove redoParagraphs, updateParPositions,
203         fullRebreak, redoParagraphInternal. move dist to anon namespace in
204         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
205         have ascent/descent (ascent is ascent of first par)
206
207         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
208         step of BufferView
209
210         * paragraph.[Ch]: unify dimension handling with the rest of lyx
211
212         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
213
214         * pariterator.C: fix infinite loop introduced in par->pit renaming
215
216         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
217         in insets and LyXText, draw two off-screen paragraphs using
218         NullPainter, and adapt to new coord scheme
219
220         * text.C:
221         * text2.C:
222         * text3.C: adapt lfun handlers to the new coord scheme, which
223         means: there's only guaranteed coord information for onscreen pars
224         plus one above and one below. This implies that one can do search
225         from y coordinates in the range [-1,workHeight]
226
227 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
228
229         * rename a lot of InsetOld to InsetBase
230
231 2004-11-25  Angus Leeming  <leeming@lyx.org>
232
233         * BufferView_pimpl.C:
234         * lyx_cb.C:
235         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
236
237 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
240         call BufferView::getStatus if LCursor::getStatus did nothing
241         (setStatusMessage, getStatusMessage): removed.
242
243         * FuncStatus.C (message): new methods. Used to provide an error
244         message indicating why a command is disabled.
245         (clear, |=, FuncStatus): update for message.
246
247 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
248
249         * lyxfunc.C (dispatch): always call sendDispatchMessage
250
251 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
252
253         * BufferView.C:
254         * BufferView_pimpl.C:
255         * CutAndPaste.C:
256         * FontIterator.C:
257         * buffer.C:
258         * cursor.C:
259         * cursor_slice.[Ch]:
260         * dociterator.[Ch]:
261         * lyxfind.C:
262         * paragraph_funcs.C:
263         * pariterator.C:
264         * rowpainter.C:
265         * text.C:
266         * text2.C:
267         * text3.C:
268         * undo.C: par->pit renaming
269
270 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
271
272         * tabular.C (cellstruct): use initialization, store a shared_ptr
273         to insettext instead of the insettext directly, adjust to fit.
274         (operator=):  new function
275         (swap): new function
276         (rowstruct): use initialization
277         (columnstruct): use initialization
278         (ltType): use initialization
279
280
281         * lyxlength.h (swap): new function
282
283         * LColor.[Ch] (operator=): use the common semantics
284
285 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * lyxfind.C (findNextChange): update the bufferview after setting
288         the selection.
289
290 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
291
292         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
293         number of InsetOptArgs has already been inserted.
294
295         * output_latex.C (latexOptArgInsets): new method. This outputs all
296         the optarg insets, up to the limit defined in the layout file.
297         (optArgInset): removed
298         (TeXOnePar): call latexOptArgInsets; correctly update texrow
299
300 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * paragraph.C (isLetter): remove special spellchecker-related
303         code; return true also for digits
304         (isWord, isKomma): remove
305
306         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
307         * lyxfind.C (MatchString()): use isLetter instead of isWord
308
309 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
310
311         * pariterator.h (operatir=): comment out un-implemented member
312         function.
313
314         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
315         static cast.
316
317 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
318
319         * lyxfont.h: include LColor.h to satisfy concept checks.
320
321 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
322
323         * pariterator.h: add typdefs for value_type, difference_type,
324         pointer and reference to satisfy concept checks. Also add default
325         constructor for same reason.
326
327         * pariterator.C (operator++): add post-increment operator to
328         satisfy concept checks.
329
330         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
331         checks.
332
333         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
334
335         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
336         checks. Also rename base_type to BaseType to follow naming
337         standard better.
338
339         * FloatList.h: include Floating.h to satisfy concept checks.
340
341 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * lyxfunc.C (getStatus): when the origin of the request is menu or
344         toolbar, and the LyXView does not have focus, do as if there was
345         no buffer (bug 1720)
346
347         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
348         FuncRequest to individual entries of LFUN_SEQUENCE
349
350 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * output_latex.C (TeXOnePar): override runparams.moving_arg
353         according to the needprotect value of the current paragraph (bug
354         1739)
355
356         * paragraph.C (simpleTeXOnePar): no need to override
357         runparams.moving_args here
358
359 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
360
361         * vspace.C: fix off-by-one-error, related to fix #1682
362
363 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
364
365         * lengthcommon.C: a more general fix for bug 1682
366
367 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
368
369         * text.C (backspace): fix crash
370
371 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * format.[Ch] (getFormatFromFile): new method
374         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
375
376 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
379
380 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * lyxfunc.C (dispatch): remove the verbose argument
383         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
384         instead
385
386         * kbmap.C (defkey): set the origin of func to KEYBOARD
387
388         * MenuBackend.C (MenuItem):
389         * ToolbarBackend.C (add): set the origin of func to UI
390
391         * funcrequest.[Ch]: add origin member, which indicates which part
392         of LyX requests an action
393
394 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
395
396         * converter.C (move): don't lie in the error message
397         * converter.h (isReachable, move): document
398
399 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
400
401         * buffer.C: remove unused using lyx::support::atoi
402         * paragraph_funcs.C: ditto
403
404 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
405
406         * bufferlist.C (exists): use bind and equal_to instead of
407         compare_memfun
408         (getBuffer): ditto
409         * lyxtextclasslist.C (NumberOfClass): ditto
410
411         * cursor.C (insert): use for_each instead of explicit for loop
412
413         * bufferlist.C (getFileNames): use std::transform and
414         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
415
416         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
417         for loop
418
419         * buffer.C (changeLanguage): use for_each instead of explicit for
420         loop
421         (hasParWithID): implement using getParFromID
422
423         * LaTeXFeatures.C: ws change only
424
425         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
426         to cleanup a bit.
427
428         * BufferView_pimpl.C (trackChanges): use for_each instead of
429         expilicit for loop
430
431 2004-11-04  André Pönitz  <poenitz@gmx.net>
432
433         * undo.h:
434         * undo.C (textUndoOrRedo): fix crash when creating undo information.
435
436         * dociterator.C (asDocIterator): use hard assert again.
437
438 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * lyxlength.C (asLatexString): rewrite so that it does not use
441         snprintf anymore
442
443 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * text3.C (specialChar, dispatch): make sure cursor moves to the
446         right after inserting an inset
447
448 2004-11-02  José Matos  <jamatos@lyx.org>
449
450         * output_docbook.C (docbook):
451         * paragraph.C (getID):
452         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
453         garantee that the output is always legal.
454
455         * tabular.C (docbook):
456         * outputprams.[Ch]: remove mixed contents.
457
458 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
459
460         * text2.C (setCounter): prevent endless loop
461
462 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
463
464         * exporter.C (copyFile): use the mover instead of support::copy()
465         * exporter.C (Export): pass format and latex name to copyFile()
466         * exporter.h (addExternalFile): document
467         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
468
469 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
470
471         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
472
473 2004-10-30  José Matos  <jamatos@lyx.org>
474
475         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
476         text and no inset or font change. This allows to use CDATA
477         sections just for the whole paragraph.
478
479 2004-10-30  José Matos  <jamatos@lyx.org>
480
481         * paragraph.C (getFirstWord): remove unused variable.
482
483 2004-10-30  José Matos  <jamatos@lyx.org>
484
485         * paragraph.C (getFirstWord): the content should always be escaped
486         there.
487         (simpleDocBookOnePar):
488         * output_docbook.C (makeEnvironment): replace reference to CDATA
489         to style pass_thru.
490
491 2004-10-30  José Matos  <jamatos@lyx.org>
492
493         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
494
495 2004-10-30  José Matos  <jamatos@lyx.org>
496
497         * output_docbook.C (makeParagraphs):
498         * paragraph.[Ch] (emptyTag): for docbook and company, if the
499         standard paragraph has only a given type of content drop the wrapper.
500
501 2004-10-29  José Matos  <jamatos@lyx.org>
502
503         * output_docbook.C (makeEnvironment):
504         * sgml.C (openTag):
505         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
506
507 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
508
509         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
510         (cleanID): sanitize any id.
511
512 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
513
514         * buffer.C, lyxlex_pimpl.C:
515         * lyxlex_pimpl.C (setFile):
516         s/getExtFromContents/getFormatFromContents/
517
518 2004-10-28  José Matos  <jamatos@lyx.org>
519
520         * output_docbook.C (makeEnvironment): move id to broadest possible
521         scope.
522
523         * sgml.C (openTag): apply substitution of <> for all attributes.
524
525 2004-10-28  José Matos  <jamatos@lyx.org>
526
527         * buffer.C (makeLinuxDocFile, makeDocBookFile):
528         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
529         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
530
531         * sgml.[Ch]: new version for open and closeTag for paragraph and
532         for strings. Now they handle the ids of paragraphs.
533
534 2004-10-26  Angus Leeming  <leeming@lyx.org>
535
536         * Makefile.am: add mover.[Ch].
537
538         * converter.C (convert, move): use the new Movers to move external
539         files to the temp directory.
540
541         * lyx_main.C (init): ensure that the global system_movers data
542         is initialised.
543
544         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
545         preferences file.
546
547         * mover.[Ch]: new files, defining a Mover as a utility to move an
548         external file between directories and, if necessary, manipulate this
549         file using a helper script.
550
551 2004-10-25  José Matos  <jamatos@lyx.org>
552
553         * output_docbook.C (makeCommand): merge two if's that tested the
554         same condition.
555
556 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
557
558         * sgml.C (escapeString): fix warning in a better way
559
560 2004-10-25  José Matos  <jamatos@lyx.org>
561
562         * sgml.C (escapeString): import the require boosts header file for
563         tie, and avoid a signed unsigned comparison.
564
565 2004-10-25  José Matos  <jamatos@lyx.org>
566
567         * sgml.h: add #include <string>
568
569 2004-10-25  José Matos  <jamatos@lyx.org>
570
571         * sgml.[Ch] (escapeString): new function to escape all the string.
572
573 2004-10-24  José Matos  <jamatos@lyx.org>
574
575         * paragraph.[Ch] (getFirstWord): new function to get the first
576         word. Useful for description.
577         (simpleDocBookOnePar): remove depth argument, add another that
578         says where to start the paragraph.
579
580         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
581         use the new functions to fix cleanly the support for descriptions.
582
583 2004-10-24  José Matos  <jamatos@lyx.org>
584
585         * buffer.C (makeLinuxDocFile, makeDocBookFile):
586         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
587         * output_linuxdoc.C (linuxdocParagraphs):
588         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
589         add buffer as argument.
590
591 2004-10-24  José Matos  <jamatos@lyx.org>
592
593         * output_docbook.C (makeEnvironment, searchEnvironment): place
594         CDATA inside paragraphs and fix scope for listitems.
595
596 2004-10-24  José Matos  <jamatos@lyx.org>
597
598         * output_docbook.C: remove using statement for stack.
599
600 2004-10-23  José Matos  <jamatos@lyx.org>
601
602         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
603         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
604         docbook. The new scheme is recursive and makes use of iterators, the
605         same as latex export works.
606         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
607         directly with the paragraph contents. This code was moved up to
608         output_docbook.C (docbookParagraphs).
609         * sgml.C (openTag, closeTag): removed unneeded newlines.
610         (closeEnvTags) removed.
611
612 2004-10-23  André Pönitz  <poenitz@gmx.net>
613
614         * undo.C (textUndoOrRedo):
615         * dociterator.C (asDocIterator): work around crash
616
617         * cursor.C (getStatus): replace ASSERT by more verbose error message
618           and manual correction of the problem. Should increase stability
619           while providing more sensible information.
620
621 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
622
623         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
624
625         * bufferlist.C (previous, next): new methods
626
627         * lfuns.h:
628         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
629
630 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
631
632         * buffer.C (makeDocBookFile): add dsssl stylesheet control
633         entities to preamble.
634
635 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
636
637         * messages.C (Pimpl): strip off translation context information
638
639 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
642         the cursor is correct (bug 1694)
643
644 2004-10-13  José Matos  <jamatos@lyx.org>
645
646         * output_docbook.C (docbookParagraphs): fix closing tags in the
647         end of the document.
648
649 2004-10-09  José Matos  <jamatos@lyx.org>
650
651         * buffer.C: format up to 237.
652         * bufferparams.C (write): use tostr to convert booleans to strings.
653
654 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
655
656         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
657
658 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
659
660         * LaTeX.C: implement use of babel language in xindy.
661
662 2004-10-05  José Matos  <jamatos@lyx.org>
663
664         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
665         Add new translators to help reading and writing the lyx file.
666
667 2004-10-05  José Matos  <jamatos@lyx.org>
668
669         * ParagraphParameters.C (read):
670         * text.C (readParToken): replace nexToken by more appropriate lex
671         methods.
672
673 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
674
675         * LaTeX.C (runMakeIndex):
676         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
677         (usually 'makeindex') configurable.
678
679         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
680         with a variable rather than with a number.
681
682 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * output_latex.C (TeXOnePar): make sure font setting is the first
685         thing that gets output (and the last at the end). Should fix bug
686         1404.
687
688 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
689
690         * pch.h: use proper signal include
691
692         * LaTeX.h: Use preferred calling of Boost.Signal
693         * buffer.h: ditto
694
695 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
696
697         * pch.h: dont include <boost/function/function0.hpp>
698
699         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
700
701         * paragraph_pimpl.h: remove usage of ShareContainer
702
703         * paragraph_pimpl.C: remove initialization of ShareContainer.
704
705 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
706
707         Fix bug #1666
708
709         * BufferView.C (putSelectionAt): change the semantics when
710         backwards == true: now, this just swaps cursor and anchor wrt the
711         forward case
712
713         * BufferView.h (putSelectionAt): add some documentation
714
715         * lyxfind.C (findBackwards): rewrite using while(). In particular,
716         make sure backwardChar is done at least once (to avoid getting
717         stuck)
718         (findNextChange): use putSelectionAt in the forward direction
719         (operator()): use Paragraph::isWord
720
721 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
722
723         * Spacing.C (set): c_str fix
724
725 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * lyx_cb.C (Reconfigure): quote the name of configure script in
728         case it contains spaces
729
730 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
731
732         * client: new dir
733
734         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
735         (BOOST_LIBS): use top_buildir when looking for the file
736
737 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
738
739         * pch.h: do not use include boost/format.hpp, multiple symbols
740                 will result (gcc bug)
741
742
743 2004-08-23  José Matos  <jamatos@lyx.org>
744
745         * bufferparams.C (readToken): fix reading of the author field.
746
747 2004-08-20  José Matos  <jamatos@lyx.org>
748
749         * lyxrc.C: remove support/translator.h inclusion since it is not used.
750
751 2004-08-20  José Matos  <jamatos@lyx.org>
752
753         * lyxlex.[Ch] (findToken): remove function.
754
755         * ParagraphParameters.C (findToken):
756         * bufferparams.C (findToken): replace call for previous function
757         with local copy. This local function has one more argument, the
758         read string argument.
759
760 2004-08-16  José Matos  <jamatos@lyx.org>
761
762         * ParagraphParameters.C (write):
763         * Spacing.C (writeFile):
764         * bufferparams.C (writeLaTeX):
765         * lyx_cb.C (Reconfigure):
766         * paragraph.C (write):
767         * tabular.C (write): remove unnecessary space at end of line.
768
769
770 2004-08-16  José Matos  <jamatos@lyx.org>
771
772         * text.C (readParagraph): remove debug message.
773
774 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
775
776         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
777         crash
778
779         * output_plaintext.C (asciiParagraph): set depth correctly
780
781         * outputparams.h: add member depth
782
783         * paragraph_funcs.C (ownerPar): remove.
784
785         * text2.C (setCounter): remove first_pit; comment out some
786         non-working code that uses ownerPar
787
788         * BufferView.C (getParentLanguage): remove. Not used anymore, and
789         uses ownerPar
790
791 2004-08-16  José Matos  <jamatos@lyx.org>
792
793         * text.C (readParToken, readParagraph, read): report all unknown tokens.
794         For the same level of importance use the same chanel to report problems.
795         (read): add code to deal with \begin_body and \end_body.
796
797
798 2004-08-15  José Matos  <jamatos@lyx.org>
799
800         * lyxlex.C (getString): fix comment, buffer::readBody is now
801         buffer:readDocument.
802
803         * tex-strings.C (string_papersize): Default -> default,
804         Custom -> custom, for consistency with other options.
805
806 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
807
808         * pch.h: new file
809
810         * Makefile.am: support pch
811
812 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * text.C (readParToken): remove the static LyXFont variable and
815         pass it as a parameter instead. This fixes a nasty bug where an
816         inset will be inserted with a bad font in some situations
817         (readParagraph): adapt
818
819         * text2.C (setCounter): reduce number of calls to pars_[pit]
820
821         * text.C (singleWidth): add an assert, fix a test
822
823         * rowpainter.C (paintText): reduce number of calls to singleWidth
824
825         * paragraph.C (isHfill):
826         (isNewline): ws only
827
828 2004-08-14  André Pönitz  <poenitz@gmx.net>
829
830         * text.C:
831         * text2.C:
832         * rowpainter.C:
833         * lyxtext.h (several functions): use a Paragraph & argument
834         instead of par_type
835
836 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
837
838         * metricsinfo.h: add a new field ltr_pos to PainterInfo
839
840         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
841
842         * text.C (singleWidth): remove useless test
843
844 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
845
846         * tabular.h: remove bogus comments
847
848         * tabular.C (getDescentOfRow):
849         (isPartOfMultiColumn): add assertions
850
851         * lyxlength.C (inPixels): remove #warning
852
853 2004-08-14  André Pönitz  <poenitz@gmx.net>
854
855         * paragraph.h: inline getChar()
856
857         * BufferView.h: remove unused declarations
858
859 2004-08-14  José Matos  <jamatos@lyx.org>
860
861         * Buffer.[Ch] (readDocument): new name for old readBody.
862         * Buffer.C: new file format, new keywords: \begin_document,
863         \begin_header, \begin_body, \end_body.
864
865         * bufferparams.C (readToken): replace all calls to lex.nextToken
866         by lex.next(). Do the same to eatLine except where really needed.
867
868         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
869         line when writing to the lyx file.
870
871         * output_plaintext.C (asciiParagraph): fix Bibliography style
872         handling.
873
874         * text.C (read): fix end of file handling.
875
876 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * MenuBackend.C (Menu::operator[]): new method to access
879         individual menu items
880         (Menu::hasFunc): new method. search for an item that corresponds
881         to a given func
882         (MenuBackend::specialMenu): new method
883         (MenuBackend::expand): if a special menu has been set, skip
884         entries whose func() appears in this menu
885
886 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
887
888         * text3.C: use Debug::DEBUG a bit more
889
890         * text.C (leftMargin): try to simplify a tiny bit change var x to
891         l_margin. Dont output the wide margins always.
892         (rightMargin): no margin in inner texts
893
894         * rowpainter.h (nestMargin): new func
895         (changebarMargin): new func
896         (rightMargin): new func
897
898         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
899         now functions.
900         (paintLast): ditto
901
902         * factory.C (createInset): modify setDrawFrame
903
904         * cursor.C: use Debug::DEBUG a bit more
905
906 2004-08-14  André Pönitz  <poenitz@gmx.net>
907
908         * coordcache.[Ch]:
909         * Makefile.am: new files to accomodate an 'external' (x,y)-position
910         cache for all insets in (at least partially) visible (top-level)
911         paragraphs.
912
913         * BufferView_pimpl.C: reset external coord cache before every update.
914         This means the coord cache only contains valid entries.
915
916 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
917
918         bug 1096
919         * BufferView_pimpl.C (getInsetByCode): move function out of class
920         and change in to a template in anon namespace. Also fix to do what
921         suits us better.
922
923 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
924
925         bug 1305
926         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
927         of char
928         (breakParagraph): rename par to par_offset and use a local
929         reference. Add code to keep the language over a rebreak.
930         (breakParagraphConservative): rename par to par_offset, use a
931         local reference
932         (mergeParagraph): ditto
933         (outerHook): ditto
934         (isFirstInSequence): ditto
935         (outerFont): rename pit to par_offset
936
937         * paragraph.C: ws change
938         * paragraph.h: ditto
939         * text3.C: ditto
940         * text.C: ditto
941
942 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
943
944         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
945         treatment for ']'
946
947         * paragraph.C (simpleTeXOnePar): when we have a \item with
948         optional argument, enclose the argument with curly brackets (in
949         case it contains a closing square bracket)
950
951         * text2.C (editXY):
952         * text2.C (editXY):
953         * text3.C (checkInsetHit): constify
954
955 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
958         documents (bug 1629)
959
960 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         Fix toggling of collapsable insets with the mouse (bug 1558)
963
964         * lyxfunc.C (dispatch): adapt to LCursor changes
965
966         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
967         make sure that dispatch is not invoked twice
968
969         * cursor.C (needsUpdate): new method
970         (dispatch): return void
971         (result): new method, to access the DispatchResult of the cursor.
972
973 2004-08-13  José Matos  <jamatos@lyx.org>
974
975         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
976
977 2004-08-13  André Pönitz  <poenitz@gmx.net>
978
979         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
980
981         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
982           multiple cells
983
984 2004-08-12  André Pönitz  <poenitz@gmx.net>
985
986         * text3.C: take out the 'cursor right' form insertInset and only
987         do it in those places when it is really needed. Fixes crash on
988         C-m...
989
990 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
991
992         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
993
994         * BufferView_pimpl.C (setBuffer): initialize the current font of
995         the underlying LyXText
996
997 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
998
999         * kbsequence.C (print): use UI native formatting for menu
1000         shortcuts
1001
1002         * text.C (insertChar): call Paragraph::insertChar with a font
1003         argument (cosmetic)
1004
1005         * paragraph.C (insertInset, insertChar): the version that takes a
1006         LyXFont argument is now a wrapper around the other one (the
1007         opposite used to be true).
1008
1009         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1010         argument. Font setting is done in Paragraph now.
1011
1012 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * outputparams.h: add new members intitle and lang.
1015
1016         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1017         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1018
1019 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1020
1021         * text3.C (dispatch): remove special handling of button 4 and 5,
1022         it is now taken care of in the frontend code.
1023
1024 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1025
1026         * Spacing.h: add <string> (STLPort compile fix)
1027
1028 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1029
1030         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1031
1032 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1033
1034         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1035         to bool.
1036
1037         * converter.C (showMessage): inherit from unary_function, make
1038         operator() const.
1039
1040         * buffer.C (writeFile): initialize retval
1041
1042         * InsetList.h: rename private variable list to list_
1043         * InsetList.[Ch]: adjust accordingly.
1044
1045 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1046
1047         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1048         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1049         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1050         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1051         * ParagraphParameters.C, LaTeXFeatures.C: replace
1052         "support/std_sstream.h" with <sstream>
1053
1054 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1055
1056         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1057         * lyxsocket.C (LyXServerSocket): ditto
1058         (serverCallback): ditto
1059
1060 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1061
1062         * LaTeXFeatures.C: check release date when loading jurabib.
1063
1064 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1065
1066         * lyxserver.C (startPipe): call register_socket_callback
1067         (endPipe): call unregister_socket_callback
1068
1069 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1070
1071         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1072         (LyXServerSocket): register the callback
1073         (LyXServerSocket): unregister the callback
1074         (fd): delete function
1075         (serverCallback): improve error checking and setup the callbacks.
1076         (dataCallback): change arg to fd.
1077         (writeln): new func (copied fro the client socket) used for server
1078         write to client.
1079         (LyXDataSocket): simplify
1080         (~LyXDataSocket): close ann unregiser callback
1081         (server): delete function
1082         (fd): delete function
1083         (readln): small changes, improve some std::string usage
1084         (writeln): constify a bit
1085
1086 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1087
1088         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1089         Qt frontend
1090
1091 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1092
1093         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1094         after it has been populated
1095
1096 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * text2.C (insertInset): move cursor when inserting inset.
1099
1100 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1101
1102         * kbmap.C (findbindings): a couple of new methods. returns a
1103         container of kb_sequence objects. The real work is done by the
1104         private recursive version
1105         (printbindings): uses findbindings to print out a bracketed list
1106         of bindings (renamed from findbinding).
1107
1108         * MenuBackend.C (binding): use kb_keymap::findbindings
1109
1110         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1111
1112 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1113
1114         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1115
1116 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1117
1118         * paragraph.C (isWord): return true on insets that report
1119         isLetter().
1120
1121         * text.C (getWord): use Paragraph::isWord to decide what is in a
1122         word and what is not; fix bug 1609.
1123
1124 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1125
1126         * tex-strings.C: add "none" to string_paperpackages[], fixes
1127         off-by-one-error in the paperpackage selection.
1128
1129         * lyxlex.[Ch]:
1130         * tex-strings.[Ch]: char const * string[n]
1131         -> char const * const string[]
1132
1133 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1134
1135         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1136         command, return early.
1137
1138 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1139
1140         * debug.h: add DEBUG to enum and fix size of ANY.
1141
1142         * debug.C: add support for Debug::DEBUG
1143         (showTags): cast errorTags.level to unsigned int
1144
1145         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1146         (redoCurrentBuffer): ditto
1147         (updateScrollbar): ditto
1148         * cursor.C (dispatch): ditto
1149         * text2.C (setLayout): ditto
1150         (setFont): ditto
1151         (updateCounters): ditto
1152         (editXY): ditto
1153         (deleteEmptyParagraphMechanism): ditto
1154
1155 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1156
1157         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1158         annotations to cleanup the Makefile slightly.
1159
1160 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * lyxrc.C: do not set user_email to a default value but use empty
1163         instead. The entry used to be translated, which does not work
1164         since at the point where lyxrc is constructed there is no
1165         translation service available
1166
1167         * messages.C (getLocaleDir): remove and use directly
1168         lyx_localedir() instead
1169
1170 2004-06-02  Angus Leeming  <leeming@lyx.org>
1171
1172         Fix crash caused by dereferencing null pointer 'exportdata' in
1173         OutputParams by creating a new ExportData variable on the heap,
1174         storing it in a boost::shared_ptr.
1175         The crash was triggered when generating an Instant Preview
1176         of an external inset.
1177
1178         * Makefile.am: add outputparams.C
1179
1180         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1181         (c-tor): allocate memory to it.
1182
1183         * exporter.C (c-tor): associated changes.
1184
1185 2004-06-01  Angus Leeming  <leeming@lyx.org>
1186
1187         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1188         contains data before calling isInset(0). (Bug 1513.)
1189
1190 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1191
1192         * exporter.C (checkOverwrite): new method
1193         * exporter.C (copyFile): new method
1194         * exporter.C (Export): copy referenced files to the document dir
1195         * exporter.[Ch]: new class ExportedFile
1196         * exporter.[Ch]: new class ExportData. Contains currently the
1197         names of referenced external files
1198         * outputparams.h: add exportdata member.
1199
1200 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1201
1202         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1203         version.C-tmp
1204
1205 2004-05-19  Angus Leeming  <leeming@lyx.org>
1206
1207         * LaTeXFeatures.C:
1208         * ToolbarBackend.C:
1209         * bufferparams.C:
1210         * lyxfunc.C: small changes due to the introduction of namespace
1211         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1212
1213 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1214
1215         * text3.C (dispatch): supress update when only moving the cursor
1216         * cursor.C (selHandle): remove commented code
1217
1218 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1219
1220         * paragraph.C (startTeXParParams): correct column count
1221         * CutAndPaste.C (pasteSelection): remove const_cast
1222         * output_docbook.C (docbookParagraphs): remove const_cast
1223         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1224         const_cast and return ParagraphList::const_iterator
1225         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1226         * output_plaintext.C (writeFileAscii): remove const_cast
1227         * paragraph.[Ch] (simpleTeXOnePar): make const
1228         * paragraph_funcs.C (outerPar): use const iterators
1229         * paragraph_pimpl.C (validate): use const iterators
1230         * text.C (setHeightOfRow): use const iterators
1231
1232 2004-05-17  Angus Leeming  <leeming@lyx.org>
1233
1234         * lfuns.h:
1235         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1236
1237         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1238         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1239         if the citation engine has changed.
1240
1241 2004-05-14  José Matos  <jamatos@lyx.org>
1242
1243         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1244         if the textclass does not provide it. Have it different for sgml and
1245         xml.
1246         support the language of document.
1247         * output_docbook.C (docbookParagraphs):
1248         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1249         first anchor as the id of the paragraph, remove special case code.
1250         * sgml.C (escapeChar): escape only < & >.
1251
1252 2004-05-14  Angus Leeming  <leeming@lyx.org>
1253
1254         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1255         dependencies on src/frontends/controllers/biblio.h. Define a
1256         CiteEngine_enum wrapper class to enable the enum to be forward
1257         declared.
1258
1259 2004-05-12  Angus Leeming  <leeming@lyx.org>
1260
1261         * buffer.C: up LYX_FORMAT to 234.
1262         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1263         use_numerical_citations with a single biblio::CiteEngine cite_engine
1264         variable.
1265         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1266
1267 2004-05-13  José Matos  <jamatos@lyx.org>
1268
1269         * converter.h:
1270         * converter.C (Converter, readFlags): add xml member.
1271         * outputparams.h: add XML flavor.
1272         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1273
1274 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1275
1276         * lyxfunc.C (dispatch):
1277         (getStatus): fix handling of LFUN_SEQUENCE
1278
1279 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1280
1281         * debug.C (showLevel): do not forget the end-of-line marker
1282
1283 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         * kbmap.C (read): do not stop parsing a bind file when an error
1286         occurs (bug 1575)
1287
1288 2004-04-29  Angus Leeming  <leeming@lyx.org>
1289
1290         * cursor.C:
1291         * factory.C:
1292         * pariterator.C:
1293         * text2.C: wrap a bunch of #warning statements
1294         inside #ifdef WITH_WARNINGS blocks.
1295
1296 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1297
1298         * buffer.C: increment format to 233.
1299
1300 2004-04-28  Angus Leeming  <leeming@lyx.org>
1301
1302         * BufferView_pimpl.C:
1303         * lyxfunc.C:
1304         * text3.C:
1305         s/updateToolbar()/updateToolbars()/
1306         s/Toolbar.h/Toolbars.h/
1307
1308 2004-04-28  Angus Leeming  <leeming@lyx.org>
1309
1310         * BufferView.[Ch] (c-tor):
1311         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1312         No longer passes these data to the WorkArea generator.
1313
1314 2004-04-28  Angus Leeming  <leeming@lyx.org>
1315
1316         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1317
1318 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1319
1320         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1321
1322 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1323
1324         * output_latex.C (TeXEnvironment): make sure that there is a line
1325         break before \end{foo} for the last paragraph of a document
1326         (TeXOnePar): if the paragraph is at the end of the document (or
1327         inset) and the language has to be reset, then make sure that the
1328         line break is _before_ the language command, not after (fixes bug
1329         1225); also make sure that the language reset command is the first
1330         thing after the paragraph (to ensure proper nesting of
1331         environments and thus fix bug 1404)
1332
1333 2004-04-21  John Levon  <levon@movementarian.org>
1334
1335         * ToolbarBackend.h:
1336         * ToolbarBackend.C: make "name" be a programmatic name
1337         and a gui_name field.
1338
1339         * lyxfunc.C: display the minibuffer on M-x
1340
1341 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1342
1343         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1344         (bug 1526)
1345
1346 2004-04-19  Angus Leeming  <leeming@lyx.org>
1347
1348         * BufferView_pimpl.C (setBuffer): changed preview interface.
1349
1350         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1351         possible values.
1352
1353 2004-04-19  John Levon  <levon@movementarian.org>
1354
1355         * BufferView_pimpl.C:
1356         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1357
1358 2004-04-05  Angus Leeming  <leeming@lyx.org>
1359
1360         * text.C (redoParagraphs): add call to updateCounters(), thereby
1361         fixing the missing "Figure #:" label from the caption of a
1362         figure float.
1363
1364 2004-04-13  Angus Leeming  <leeming@lyx.org>
1365
1366         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1367         cursor is clicked out of an inset.
1368
1369 2004-04-13  Angus Leeming  <leeming@lyx.org>
1370
1371         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1372         than an InsetOld one.
1373
1374 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1375
1376         * format.[Ch]: add editor to Format
1377         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1378         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1379
1380 2004-04-08  André Pönitz  <poenitz@gmx.net>
1381
1382         * metricsinfo.h: remove PainterInfo::width member
1383
1384 2004-04-08  Angus Leeming  <leeming@lyx.org>
1385
1386         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1387         "\providecommand" rather than "\newcommand", thereby preventing
1388         clashes with packages that define "\boldsymbol" themselves.
1389         Eg, beamer.
1390
1391 2004-04-08  Angus Leeming  <leeming@lyx.org>
1392
1393         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1394         thereby squashing an unnecessary warning.
1395
1396 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1397
1398         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1399         setBuffer()
1400
1401 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1402
1403         * BufferView.C (setCursor): call redoParagraph (some insets could
1404         have been opened)
1405         (putSelectionAt): remove the 'double update' trick
1406
1407         * BufferView_pimpl.C (fitCursor): call refreshPar
1408         (workAreaDispatch): remove an uneeded update call
1409         (dispatch): remove some manual update calls
1410
1411         * cursor.[Ch]: remove cached_y_, updatePos
1412         (selHandle): set noUpdate when appropriate
1413
1414         * lyxfunc.C (dispatch): track if we need an update
1415
1416         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1417
1418         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1419         (paintSelection): cheap optimization, do not call cursorX when not
1420         needed
1421         (paintPars): change signature
1422         (refreshPar): add
1423         (paintText): adjust
1424         (paintTextInset): adjust
1425
1426         * text.C: adjust
1427
1428 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1429
1430         * lengthcommon.C: compilation fix: remove explicit array size from
1431         unit_name[] and friends
1432
1433 2004-04-05  Angus Leeming  <leeming@lyx.org>
1434
1435         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1436
1437         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1438         present only for the preferences dialog.
1439         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1440
1441 2004-04-05  Angus Leeming  <leeming@lyx.org>
1442
1443         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1444         to enable the frontends to export changes to lyxrc correctly.
1445
1446         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1447
1448 2004-04-07  André Pönitz  <poenitz@gmx.net>
1449
1450         * cursor.[Ch] (selClear, adjust): remove math
1451
1452         * cursor_slice.C: more agressive assert
1453
1454         * lyxfunc.C:
1455         * BufferView_pimpl.C: rework mouse event dispatch
1456
1457         * dociterator.C:
1458         * paragraph.C:
1459         * text2.C:
1460         * text3.C: adjust
1461
1462 2004-04-05  André Pönitz  <poenitz@gmx.net>
1463
1464         * cursor.[Ch] (valign, halign...): remove unneeded functions
1465
1466 2004-04-05  Angus Leeming  <leeming@lyx.org>
1467
1468         * lyxlength.[Ch] (unit_name et al.): const-correct.
1469
1470 2004-04-05  Angus Leeming  <leeming@lyx.org>
1471
1472         * BufferView_pimpl.C:
1473         * buffer.C:
1474         * counters.C:
1475         * cursor.C:
1476         * lyxfunc.C
1477         * paragraph.C:
1478         * pariterator.C:
1479         * text.C:
1480         * text2.C:
1481         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1482
1483 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1484
1485         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1486
1487 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1488
1489         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1490         * BufferView_pimpl.[Ch] (getStatus)
1491         * BufferView.[Ch] (getStatus): add
1492         * lyxfunc.C (getStatus): move lfuns handled in
1493         BufferView::dispatch to te function above
1494         * Cursor.C (setSelection): set selection() = true
1495
1496 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1499
1500 2004-03-31  Angus Leeming  <leeming@lyx.org>
1501
1502         * lyxfunc.C (dispatch): Fall through to the generic
1503         Dialogs::show("preamble").
1504
1505 2004-03-31  Angus Leeming  <leeming@lyx.org>
1506
1507         * lyxfunc.C (dispatch): Fall through to the generic
1508         Dialogs::show("spellchecker").
1509
1510 2004-03-31  Angus Leeming  <leeming@lyx.org>
1511
1512         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1513         preferences dialog.
1514
1515 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1516
1517         * BufferView.C
1518         * cursor.[Ch]
1519         * dociterator.[Ch]:
1520         * insetiterator.[Ch]:
1521         * lyxfind.C:
1522         * lyxfunc.C:
1523         * pariterator.[Ch]:
1524         * text2.C:
1525         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1526
1527 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1528
1529         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1530         insets where we are putting the cursor.
1531
1532 2004-03-31  Angus Leeming  <leeming@lyx.org>
1533
1534         * lfuns.h:
1535         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1536
1537         * lyxrc.[Ch] (read, write): overloaded member functions taking
1538         a std::[io]stream arguments.
1539
1540         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1541
1542 2004-03-31  Angus Leeming  <leeming@lyx.org>
1543
1544         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1545         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1546
1547         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1548         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1549
1550 2004-03-31  Angus Leeming  <leeming@lyx.org>
1551
1552         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1553         the LFUN_ALL_INSETS_TOGGLE code.
1554
1555 2004-03-30  Angus Leeming  <leeming@lyx.org>
1556
1557         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1558         has died. Fall through to the generic Dialogs::show("document").
1559
1560 2004-03-30  Angus Leeming  <leeming@lyx.org>
1561
1562         * lfuns.h:
1563         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1564         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1565
1566         * lyxfunc.C (getStatus, dispatch): define the actions for these
1567         lfuns. Little more than a cut and pste job from ControlDocument.C
1568
1569         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1570
1571 2004-03-30  Angus Leeming  <leeming@lyx.org>
1572
1573         * lfuns.h:
1574         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1575         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1576
1577         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1578         open/closed state of ollapsable insets. Usage:
1579
1580         all-inset-toggle <state> <name>, where
1581         <state> == "open" || "closed" || "toggle" and
1582         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1583
1584         * lyxtext.h, text2.C (toggleInset): removed.
1585
1586         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1587         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1588         now passes LFUN_INSET_TOGGLE to the found inset.
1589
1590         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1591         is now invoked as "all-insets-toggle toggle branch".
1592
1593 2004-03-30  Angus Leeming  <leeming@lyx.org>
1594
1595         * dociterator.C:
1596         * insetiterator.C:
1597         * pariterator.[Ch]: added/corrected header blurb.
1598
1599 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1600
1601         * dociterator.[Ch]: add an inset_ member
1602         (backwardPos): implemented
1603         (backwardPos, forwardPos): use inset_ when the stack is empty.
1604         (doc_iterator_begin, doc_iterator_end): implemented
1605         * pariterator.[Ch]: adjust, add begin, end
1606         * insetiterator.[Ch]: adjust, add begin, end
1607         * cursor.C:
1608         * document.C:
1609         * BufferView.C:
1610         * BufferView_pimpl.C:
1611         * CutAndPaste.C: adjust
1612
1613 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1614
1615         * buffer.C: increment file format to 232.
1616         * LaTeXFeatures.C: add bibtopic package.
1617         * bufferparams.[Ch]: param \use_bibtopic.
1618
1619         * lyxrc.[Ch]: add lyxrc bibtex_command
1620         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1621
1622         * buffer.C: increment file format to 231.
1623
1624 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1625
1626         * dociterator.C: implement forwardPar
1627         * iterators.[Ch]: remove, replaced by
1628         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1629         * BufferView.C:
1630         * BufferView_pimpl.C:
1631         * CutAndPaste.C:
1632         * buffer.C:
1633         * bufferview_funcs.C:
1634         * cursor.C:
1635         * lyxfind.C
1636         * lyxfunc.C
1637         * paragraph_funcs.C
1638         * toc.C:
1639         * Makefile.am: adjust
1640
1641 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1642
1643         * CutAndPaste.C (pasteSelection): fix 2 crashes
1644         (eraseSelection): fix a crash
1645         * paragraph_funcs.C: remove a warning
1646
1647 2004-03-28  Angus Leeming  <leeming@lyx.org>
1648
1649         * lfuns.h:
1650         * LyXAction.C (init): new LFUN_PRINT.
1651
1652         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1653
1654 2004-03-27  Angus Leeming  <leeming@lyx.org>
1655
1656         * lfuns.h:
1657         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1658
1659         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1660
1661 2004-03-27  Angus Leeming  <leeming@lyx.org>
1662
1663         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1664         insetlist always contains non-null pointers to insets.
1665
1666 2004-03-26  Angus Leeming  <leeming@lyx.org>
1667
1668         * src/BufferView_pimpl.C:
1669         * src/CutAndPaste.C:
1670         * src/buffer.C:
1671         * src/iterators.C:
1672         * src/output_plaintext.C:
1673         * src/outputparams.h:
1674         * src/paragraph_funcs.C:
1675         * src/rowpainter.C:
1676         * src/text.C:
1677         * src/text2.C:
1678         * src/frontends/controllers/ControlErrorList.C:
1679         * src/frontends/gtk/FileDialogPrivate.C:
1680         * src/frontends/gtk/GPainter.C:
1681         * src/frontends/gtk/GToolbar.C:
1682         * src/frontends/qt2/QRef.C:
1683         * src/mathed/math_scriptinset.C: squash compiler warnings.
1684
1685 2004-03-26  Angus Leeming  <leeming@lyx.org>
1686
1687         * ispell.C (LaunchIspell::start):
1688         * lyx_cb.C (AutoSaveBuffer::start):
1689         invoke run(DontWait) rather than runNonBlocking().
1690
1691 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1692
1693         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1694
1695 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1696
1697         * kbsequence.C (print): adjust
1698
1699         * kbmap.C (printKeySym): rename and change signature
1700         (printKey): use LyXKeySym::print()
1701
1702 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1703
1704         * undo.C: add using std::advance to compile for stlport
1705
1706 2004-03-24  Angus Leeming  <leeming@lyx.org>
1707
1708         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1709         it leads to a crash when no buffer is present.
1710
1711 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712             Martin Vermeer  <martin.vermeer@hut.fi>
1713
1714         * lyxfunc.C (dispatch):
1715         * bufferparams.C (readToken): use the new LColor::setColor
1716
1717         * LColor.[Ch] (setColor): new version that takes two strings as
1718         argument and creates a new color entry if necessary
1719
1720 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1721
1722         * buffer.C (makeLaTeXFile): if the main latex file that is
1723         processed is usually a subdocument of some master, then pretend
1724         for a while that it is actually the master
1725
1726 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1727
1728         * buffer.C (getLabelList):
1729         (getBibkeyList): use getMasterBuffer()
1730         (getMasterBuffer): new method. Returns the main document in the
1731         case where one is using included documents.
1732
1733 2004-03-25  André Pönitz  <poenitz@gmx.net>
1734
1735         * Makefile.am:
1736         * iterators.[Ch]:
1737         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1738
1739         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1740
1741         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1742         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1743
1744         * ParameterStruct.h: merge with ParagraphParameters
1745
1746         * lyxtext.h: remove LyXText::parOffset() and getPar()
1747
1748         * text3.C: Remove all 'manual' update calls. We do now one per user
1749         interaction which is completely sufficient.
1750
1751         * Bidi.C:
1752         * BufferView.[Ch]:
1753         * BufferView_pimpl.C:
1754         * FontIterator.[Ch]:
1755         * MenuBackend.C:
1756         * ParagraphParameters.[Ch]:
1757         * buffer.C:
1758         * buffer.h:
1759         * bufferlist.C:
1760         * cursor.[Ch]:
1761         * cursor_slice.[Ch]:
1762         * dociterator.[Ch]:
1763         * errorlist.[Ch]:
1764         * factory.C:
1765         * lfuns.h:
1766         * lyxfind.C:
1767         * lyxfunc.C:
1768         * output_docbook.[Ch]:
1769         * output_latex.[Ch]:
1770         * output_linuxdoc.[Ch]:
1771         * output_plaintext.[Ch]:
1772         * paragraph.[Ch]:
1773         * paragraph_funcs.[Ch]:
1774         * paragraph_pimpl.[Ch]:
1775         * rowpainter.C:
1776         * tabular.[Ch]:
1777         * text.C:
1778         * text2.C:
1779         * toc.C:
1780         * undo.[Ch]: adjust
1781
1782         * frontends/controllers/ControlDocument.C:
1783         * frontends/controllers/ControlErrorList.C:
1784         * frontends/controllers/ControlSpellchecker.C:
1785         * insets/inset.C:
1786         * insets/inset.h:
1787         * insets/insetbase.h:
1788         * insets/insetbibitem.C:
1789         * insets/insetbox.C:
1790         * insets/insetbranch.C:
1791         * insets/insetcaption.C:
1792         * insets/insetcharstyle.C:
1793         * insets/insetcharstyle.h:
1794         * insets/insetcollapsable.C:
1795         * insets/insetcollapsable.h:
1796         * insets/insetert.C:
1797         * insets/insetfloat.C:
1798         * insets/insetfoot.C:
1799         * insets/insetmarginal.C:
1800         * insets/insetnote.C:
1801         * insets/insetoptarg.C:
1802         * insets/insettabular.C:
1803         * insets/insettext.C:
1804         * insets/insettext.h:
1805         * insets/insetwrap.C:
1806         * mathed/math_mboxinset.C:
1807         * mathed/math_nestinset.C:
1808         * mathed/math_scriptinset.C:
1809         * mathed/math_scriptinset.h:
1810         * support/types.h:
1811
1812 2004-03-24  Angus Leeming  <leeming@lyx.org>
1813
1814         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1815         deal with any child processes that have finished but are waiting to
1816         communicate this fact to the rest of LyX.
1817
1818 2004-03-24  Angus Leeming  <leeming@lyx.org>
1819
1820         64-bit compile fixes.
1821
1822         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1823         (c-tor): pass lyx::pos_types rather than ints.
1824
1825         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1826         lyx::pos_type.
1827
1828         * text.C (Delete): compile fix.
1829         (getPar): ensure that function declaration is the same as that in
1830         the header file.
1831
1832 2004-03-23  Angus Leeming  <leeming@lyx.org>
1833
1834         * ispell.C (LaunchIspell):
1835         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1836         a boost::shred_ptr rather than a std::auto_ptr.
1837
1838 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1839
1840         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1841         handle LFUN_FILE_INSERT_*
1842
1843         * lyxrc.C (setDefaults, getDescription, output, read):
1844         * lyxrc.h: remove ps_command
1845
1846 2004-03-22  Angus Leeming  <leeming@lyx.org>
1847
1848         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1849         Ensure that error_handler is processed once only and that all data
1850         is saved before attempting to output any warning messages.
1851
1852         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1853
1854 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1855
1856         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1857
1858 2004-03-19  André Pönitz  <poenitz@gmx.net>
1859
1860         * cursor.[Ch] (reset): take main text inset as argument
1861
1862         * BufferView: adjust
1863         * BufferView_pimpl.C: adjust
1864
1865         * paragraph.[Ch]: fix completely broken operator=()
1866
1867 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1868
1869         * LColor.C (getFromLyXName): make sure that the color name is used
1870         as lowercase.
1871
1872 2004-03-17  Angus Leeming  <leeming@lyx.org>
1873
1874         * lfuns.h:
1875         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1876
1877         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1878         dialog and to kill a forked process.
1879
1880 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1881
1882         * text2.C (setCursorFromCoordinates): fix font problem
1883
1884 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1885
1886         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1887         bogus "rebuild cursor" code
1888
1889 2004-03-11  André Pönitz  <poenitz@gmx.net>
1890
1891         * buffer.[Ch]: use InsetText instead of LyXText as container for
1892         the main lyx text.
1893
1894         * dociterator.[Ch]: drop the BufferView * member which is not needed
1895         anymore after the change to buffer.C
1896
1897         * paragraph_funcs.C:
1898         * text.C:
1899         * text2.C:
1900         * BufferView.[Ch]:
1901         * BufferView_pimpl.[Ch]:
1902         * cursor.[Ch]:
1903         * cursor_slice.[Ch]: adjust
1904
1905         * text3.C: fix bug in mathDispatch
1906
1907 2004-03-08  André Pönitz  <poenitz@gmx.net>
1908
1909         * undo.[Ch]: use 'StableDocumentIterator' as base for
1910         the Undo struct.
1911
1912 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1913
1914         * LaTeXFeatures.C:
1915         * bufferparams.[Ch]: add jurabib support and param.
1916
1917         * LaTeX.C: add FIXME/comment.
1918
1919 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1920
1921         * buffer.C: increment file format to 230.
1922
1923 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1924
1925         * cursor.C (dispatch): avoid infinite loops
1926
1927 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1928
1929         * rowpainter.C (paintSelection): fix x coordinates
1930
1931 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1932
1933         * text.C (rowBreakPoint): fix breaking before displayed insets
1934
1935 2004-03-01  André Pönitz  <poenitz@gmx.net>
1936
1937         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1938
1939         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1940
1941         * Makefile.am:
1942         * BufferView.C:
1943         * BufferView_pimpl.C:
1944         * buffer.C:
1945         * lyxfind.C:
1946         * lyxfunc.C:
1947         * text.C:
1948         * text2.C:
1949         * text3.C: adjust
1950
1951 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1952
1953         * lyxtext.h:
1954         * text.C:
1955         * text2.C:
1956         * rowpainter.C:
1957         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1958         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1959
1960 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1961
1962         * Bidi.[Ch] (computeTables): const correctness
1963         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1964         fill_hfill, fill_label_hfill and x from Row
1965         * lyxtext.h: prepareToPrint returns a RowMetrics
1966         * rowPainter.C: adjust
1967         * text.C (prepareToPrint): use width, not textWidth. adjust
1968         (redoParagraphInternal, cursorX): adjust
1969         * text2.C (getColumnNearX): adjust
1970         (init): put a default value to the top LyXText::width
1971
1972 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1975
1976 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1977
1978         * lyxtext.h: add FontIterator class
1979
1980         * text.C (FontIterator, operator*, operator->, operator++): add
1981         (rowBreakPoint, setRowWidth): adjust (fixing a
1982         rebreaking bug)
1983
1984 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1985
1986         * BufferView_pimpl.C (workAreaDispatch): allow also
1987         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1988
1989 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * text.C (rowBreakPoint): fix a bug showing with very large insets
1992
1993 2004-02-25  André Pönitz  <poenitz@gmx.net>
1994
1995         * text3.C:
1996         * cursor.[Ch]: move some mathed specific code to mathed
1997
1998 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1999
2000         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2001         use_tempdir in preferences
2002         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2003         tempfile creation
2004         * lyx_main.C: ensure that tempdir is valid
2005         * lyxlex.h: correct typo
2006         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2007         * paragraph.[Ch] (isMultiLingual): make const
2008         * cursor.[Ch] (openable): make const
2009
2010 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2011
2012         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2013
2014 2004-02-20  André Pönitz  <poenitz@gmx.net>
2015
2016         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2017
2018         * cursor.[Ch]: prepare for localized getStatus()
2019
2020         * lyxtext.h:
2021         * tabular.C:
2022         * text.C:
2023         * text2.C:
2024         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2025
2026 2004-02-20  André Pönitz  <poenitz@gmx.net>
2027
2028         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2029
2030 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2031
2032         * text2.C (setCursorFromCoordinates): switch to absolute coords
2033         (cursorUp): adjust
2034         (cursorDown): adjust
2035         * text3.C (dispatch): adjust
2036
2037 2004-02-16  André Pönitz  <poenitz@gmx.net>
2038
2039         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2040           insets/ChangeLog)
2041
2042         * cursor_slice.[Ch]: remove unneeded acessor function
2043
2044         * lyxtext.h: rename rtl() to isRTL()
2045
2046         * rowpainter.C:
2047         * tabular.C:
2048         * text.C:
2049         * text2.C:
2050         * text3.C: adjust
2051
2052 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * rowpainter.C (paintSelection): coord fix
2055
2056 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2057
2058         * Spacing.C: compile fix
2059
2060 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * cursor.C (dispatch): restore current_ before returning
2063
2064 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2065
2066         * text2.C (cursorUp, cursorDown): fix coords
2067         (moveUp): fix crash
2068
2069 2004-02-12  André Pönitz  <poenitz@gmx.net>
2070
2071         * lyxtext.h:
2072         * text.C:
2073         * text2.C:
2074         * text3.C: add LCursor & parameter to most cursor movement functions
2075           remove usage of LyXText::cursorRow() and cursorPar()
2076
2077         * cursor.[Ch]: add textRow() needed members
2078
2079         * BufferView.C:
2080         * BufferView_pimpl.C:
2081         * paragraph.[Ch]:
2082         * BufferView.C:
2083         * BufferView_pimpl.C: adjust
2084
2085 2004-02-11  André Pönitz  <poenitz@gmx.net>
2086
2087         * lyxfunc.C:
2088         * BufferView.[Ch]:
2089         * BufferView_pimpl.C: shift undo/redo handling
2090
2091         * cursor.[Ch]: fix mathed crash
2092
2093         * lyxfind.C:
2094         * lyxtext.h: move selectionAsText to LCursor
2095
2096         * output_latex.C:
2097         * paragraph.C:
2098         * text.C:
2099         * text2.C:
2100         * text3.C: adjust
2101
2102         * rowpainter.C: fix excessive drawing
2103
2104 2004-02-06  André Pönitz  <poenitz@gmx.net>
2105
2106         * BufferView.[Ch]:
2107         * BufferView_pimpl.[Ch]:
2108         * text3.C: move some text specific LFUN handling
2109
2110 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * text3.C (checkInsetHit): adjust coords
2113         * text2.C (getColumnNearX): adjust coords
2114         (edit): adjust coords
2115         * text.C (getRowNearY): add two asserts
2116
2117 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2118
2119         * converter.C:
2120         * format.C: add using std::distance to compile on gcc 2.95/stlport
2121
2122 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2123
2124         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2125
2126 2004-02-04  André Pönitz  <poenitz@gmx.net>
2127
2128         * BufferView.[Ch] (insertInset):
2129         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2130
2131         * text2.C:
2132         * text3.C: adjust
2133
2134 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2135
2136         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2137         on the default clause of the switch
2138         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2139         wasn't catched by LCursor::dispatch
2140
2141 2004-02-03  André Pönitz  <poenitz@gmx.net>
2142
2143         * BufferView.C:
2144         * cursor.[Ch]: some additional asserts
2145
2146         * undo.[Ch]: remove LyXText dependency in interface
2147
2148         * lyxfunc.C: adjust
2149
2150         * lyxtext.h (firstPar, lastPar): remove dead functions
2151
2152         * text.C:
2153         * text2.C:
2154         * text3.C:
2155         * paragraph.[Ch]: adjust
2156
2157 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * lyxfind.C (find): fix argument order in call to ::find
2160
2161 2004-02-02  André Pönitz  <poenitz@gmx.net>
2162
2163         * cursor.[Ch]: remove direct access to anchor
2164
2165         * text.C: remove findText() hack
2166
2167 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2168
2169         * iterators.[Ch] (lockPath): remove in favour of...
2170         * BufferView.[Ch] (setCursor): this addition
2171         * BufferView.C (putSelectionAt): adjust
2172         * undo.C (performUndoOrRedo): adjust
2173         * lyxfunc.C (dispatch): adjust
2174
2175 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2176
2177         * iterators.C (lockPath): add a missing slice
2178         * undo.C (performUndoOrRedo): remove redundant positioning code
2179
2180 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2181
2182         * vc-backend.C (scanMaster): ";" -> ';'
2183
2184 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2185
2186         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2187         std::binary_function
2188
2189         * lyxtextclass.C (compare_name): rename to...
2190         (LayoutNamesEqual): ...this
2191
2192         * lyxlex_pimpl.C (compare_tags): inherit from
2193         std::binary_function, put back into anon namespace
2194
2195         * lyxfind.C (MatchString): inherig from std::binary_function
2196         (findChange): use empty() istead of !size()
2197
2198         * format.C (FormatNamesEqual): new functor
2199         (getFormat): use it
2200         (getNumber): use it
2201         (add): use it
2202         (erase): use it
2203         (setViewer): use it
2204
2205         * converter.C (compare_Converter): rename to...
2206         (ConverterEqual): ...this, and fixup a bit.
2207         (getConverter): use it, and make function const
2208         (getNumber): use it, and make function const
2209         (add): use it
2210         (erase): use it:
2211
2212         * bufferlist.C: add using boost::bind
2213
2214         * MenuBackend.C (MenuNamesEqual): new functor
2215         (hasMenu): use it, and make function const
2216         (hasSubmenu): use nested bind to get rid of compare_memfun.
2217
2218 2004-01-30  André Pönitz  <poenitz@gmx.net>
2219
2220         * BufferView_pimpl.C:
2221         * cursor.C:
2222         * cursor.h:
2223         * cursor_slice.[Ch]:
2224         * lyxfunc.C:
2225         * lyxtext.h:
2226         * paragraph_funcs.C:
2227         * paragraph_funcs.h:
2228         * rowpainter.C:
2229         * text.C:
2230         * text2.C:
2231         * text3.C: move some of the edit(x,y) handling to the insets
2232         some coordinate changes.
2233
2234 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2235
2236         * text.C: add using statements for std::advance and std::distance
2237
2238         * paragraph.C: add using statement for std::distance
2239
2240         * lyxfind.C: add using statement for std::advance
2241
2242         * cursor.C (region): remove std:: from swap
2243         (openable): use nucleus in stead of operator->
2244
2245         * BufferView.C: add using statements for std::distance and std::swap
2246
2247 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2248
2249         * iterators.C: Remove the pimple, move the needed structures to
2250         the header file. Create accessor for the positions stack.
2251         (asPosIterator): remove function
2252
2253         * PosIterator.C (PosIterator): move constructors to top of file
2254         (PosIterator): reimplement the constructor taking a ParIterator in
2255         terms of setFrom.
2256         (setFrom): new function
2257         (operator!=): inline it
2258
2259 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2260
2261         * lyxfind.C (replaceAll): use std::advance
2262
2263         * iterators.h: inherit from std::iterator.
2264
2265         * PosIterator.C (advance, distance): remove
2266         * PosIterator.h: interit from std::iterator.
2267
2268 2004-01-26  André Pönitz  <poenitz@gmx.net>
2269
2270         * BufferView.[Ch]:
2271         * BufferView_pimpl.[Ch]:
2272         * InsetList.[Ch]:
2273         * PosIterator.[Ch]:
2274         * buffer.h:
2275         * bufferview_funcs.C:
2276         * cursor.[Ch]:
2277         * cursor_slice.h:
2278         * factory.[Ch]:
2279         * iterators.[Ch]:
2280         * lyxfind.C:
2281         * lyxfunc.C:
2282         * lyxtext.h:
2283         * output_docbook.C:
2284         * output_latex.C:
2285         * output_linuxdoc.C:
2286         * output_plaintext.C:
2287         * paragraph.[Ch]:
2288         * paragraph_funcs.[Ch]:
2289         * paragraph_pimpl.[Ch]:
2290         * rowpainter.C:
2291         * tabular.C:
2292         * tabular.h:
2293         * text.C:
2294         * text2.C:
2295         * text3.C: more IU:  dumps most of the rest of the mathcursor
2296     implementation into cursor.[Ch]; "globalize" a bit of it.
2297
2298 2004-01-25  Angus Leeming  <leeming@lyx.org>
2299
2300         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2301
2302 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2303
2304         * LaTeXFeatures.h: add nice_ and nice() const
2305         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2306
2307 2004-01-20  André Pönitz  <poenitz@gmx.net>
2308
2309         * BufferView.[Ch]:
2310         * BufferView_pimpl.C:
2311         * PosIterator.C:
2312         * bufferview_funcs.C:
2313         * cursor.[Ch]:
2314         * cursor_slice.[Ch]:
2315         * factory.C:
2316         * iterators.C:
2317         * lyx_cb.C:
2318         * lyxfind.C:
2319         * lyxfunc.C:
2320         * lyxtext.h:
2321         * rowpainter.C:
2322         * text.C:
2323         * text2.C:
2324         * text3.C:
2325         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2326           LCursor and mathcursor parts to LCursor and InsetBase.
2327
2328 2004-01-15  André Pönitz  <poenitz@gmx.net>
2329
2330         * cursor_slice.[Ch]: add a few covienience functions
2331
2332         * funcrequest.[Ch]: remove BufferView * member
2333
2334         * BufferView_pimpl.C:
2335         * cursor.C:
2336         * factory.[Ch]:
2337         * lyxfind.[Ch]:
2338         * lyxfunc.C:
2339         * lyxtext.h:
2340         * text3.C:
2341         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2342
2343 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2346         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2347
2348 2004-01-13  André Pönitz  <poenitz@gmx.net>
2349
2350         * textcursor.[Ch]:
2351         * lyxtext.h: hide cursor and selection anchor behind accessor function
2352
2353         * BufferView.C:
2354         * BufferView_pimpl.[Ch]:
2355         * PosIterator.C:
2356         * bufferview_funcs.C:
2357         * cursor.h:
2358         * lyxfind.C:
2359         * lyxfunc.C:
2360         * text.C:
2361         * text2.C:
2362         * text3.C:
2363         * undo.C: adjust
2364
2365         * cursor.h:
2366         * cursor_slice.[Ch]: some integer type changes for inset unification
2367
2368         * lyxcursor.[hC]: remove, it's CursorSlice now.
2369
2370         * Makefile.am:
2371         * BufferView_pimpl.[Ch]:
2372         * bufferview_funcs.C:
2373         * cursor_slice.C:
2374         * lyxtext.h:
2375         * text.C:
2376         * text2.C:
2377         * text3.C:
2378         * textcursor.[Ch]: adjust
2379
2380 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2381
2382         * text2.C (undoSpan): add and use
2383         * text.C (breakParagraph): use undoSpan (fix bug 578)
2384         * lyxtext.h: adjust
2385
2386 2004-01-08  Angus Leeming  <leeming@lyx.org>
2387
2388         * BufferView_pimpl.C (MenuInsertLyXFile):
2389         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2390         * lyxfunc.C (menuNew, open, doImport):
2391         FileFilterList change to the FileDialog open and save functions.
2392
2393 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2394
2395         * ShareContainer.h: make isEqual and isUnique adaptable
2396
2397         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2398
2399 2004-01-07  Angus Leeming  <leeming@lyx.org>
2400
2401         * LyXAction.C:
2402         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2403
2404         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2405
2406         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2407         functions replacing find, replace and replaceAll.
2408
2409         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2410         LFUN_WORDFIND(FORWARD|BACKWARD).
2411
2412 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2413
2414         * text.C (breakParagraph): remove an outdated #warning
2415
2416 2004-01-07  André Pönitz  <poenitz@gmx.net>
2417
2418         * lyxfind.C: somewhat clearer logic
2419
2420         * text.C: prevent crash in cursorX on unitialized row cache
2421
2422 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * lyxcursor.[Ch] (operator>): add
2425         * textcursor.C (selStart, selEnd): use std::min and std::max
2426
2427 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2428
2429         * Chktex.C: include boost/format.hpp
2430
2431 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2432
2433         * InsetList.C: replace functor MathcIt with adaptable functor
2434         InsetTablePosLess
2435         (insetIterator): modify accordingly
2436
2437         * BranchList.h: move the BranchNamesEqual functor here from...
2438         * BranchList.C: ... to here
2439
2440         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2441         SameName and match.
2442         (add): replace a finding loop with std::find_if.
2443
2444 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2445
2446         * output_docbook.C: moving LatexParam functionality into
2447         .layout files
2448
2449 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2450
2451         * buffer.C: increment format to 229.
2452
2453 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2454
2455         * LaTeXFeatures.C:
2456         * lyx_sty.[Ch]: remove minipageindent_def
2457
2458         * LyXAction.C:
2459         * factory.C:
2460         * lfuns.h:
2461         * lyxfunc.C:
2462         * text3.C: remove LFUN_INSET_MINIPAGE
2463
2464 2003-12-28  Angus Leeming  <leeming@lyx.org>
2465
2466         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2467
2468 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2469
2470         * text2.C (setParagraph): fix off-by-one crash
2471
2472 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2473
2474         * output_docbook.C: header stuff for AGU
2475
2476 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * text2.C (redoCursor): remove
2479         * text.C:
2480         * text3.C:
2481         * BufferView_pimpl.C: remove calls to redoCursor and
2482         setCursor(cursor.par(), cursor.pos()) all around
2483
2484 2003-12-15  Angus Leeming  <leeming@lyx.org>
2485
2486         * buffer.C: up the format to 228.
2487
2488 2003-12-15  André Pönitz  <poenitz@gmx.net>
2489
2490         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2491         slices
2492
2493         * Makefile.am:
2494
2495         * BufferView_pimpl.C:
2496         * cursor.[Ch]:
2497         * lyxcursor.[Ch]:
2498         * rowpainter.[Ch]:
2499         * lyxtext.h:
2500         * text.C:
2501         * text2.C:
2502         * text3.C: adjust
2503
2504 2003-12-15  Angus Leeming  <leeming@lyx.org>
2505
2506         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2507         than getFromGUIName to manipulate the color.
2508
2509 2003-12-14  Angus Leeming  <leeming@lyx.org>
2510
2511         * BranchList.[Ch]: minimize the API.
2512         (Branch::getBranch, getColor): now return a 'const &'.
2513         (Branch::setSelected) now returns a bool set to true if the
2514         selection status changes.
2515         (BranchList::clear, size, getColor, setColor, setSelected,
2516         allBranches, allSelected, separator): removed.
2517         (BranchList::find): new functions, returning the Branch with
2518         the given name.
2519         (BranchList::add, remove): return a bool indicating that
2520         the operation was successful.
2521
2522         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2523         new InsetBranch::isBranchSlected member function.
2524
2525         * LColor.[Ch]: mimimize the API.
2526         (fill): renamed as addColor and made private.
2527         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2528         versions of these functions taking a string arg have been removed.
2529
2530         * bufferparams.C (readToken):
2531         * lyxfunc.C (dispatch):
2532         * lyxrc.C (read): changes due to the altered BranchList and
2533         LColor APIs.
2534
2535         * factory.C (createInset, readInset): changes due to altered
2536         InsetBranch c-tor.
2537
2538 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2539
2540         * factory.C:
2541         * lyxfunc.C: remove insetminipage. "minipage-insert"
2542         now produces a frameless minipage box inset.
2543
2544 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2545
2546         * textcursor.[Ch] (selStart,selEnd): add new methods
2547         remove selection::start, end, use LyXCursor::operator<
2548         * lyxcursor.[Ch] (operator<): add
2549         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2550         * BufferView.[Ch] (unsetXSel): add
2551         * text2.C (clearSelection): use unsetXSel,adjust
2552         * text.C: adjust
2553         * text3.C: adjust
2554         * rowpainter.C: adjust
2555         * bufferview_funcs.C (put_selection_at): adjust
2556
2557 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * BufferView_pimpl.C: small coord. correction
2560
2561 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2562
2563         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2564         dragging over the splash screen.
2565
2566 2003-12-11  Angus Leeming  <leeming@lyx.org>
2567
2568         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2569         as it is now handled in LyXText::dispatch.
2570
2571         * text3.C (doInsertInset): remove a level of nesting.
2572
2573 2003-12-11  Angus Leeming  <leeming@lyx.org>
2574
2575         * factory.C (createInset): changes due to the changed interface to
2576         InsetCommandMailer::string2params.
2577
2578 2003-12-10  Angus Leeming  <leeming@lyx.org>
2579
2580         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2581         'dialog-show-new-inset <inset name>'
2582
2583 2003-12-10  Angus Leeming  <leeming@lyx.org>
2584
2585         * buffer.C: up the format to 227.
2586
2587         * factory.C: the box inset is now identified simply by 'Box'.
2588
2589 2003-12-10  Angus Leeming  <leeming@lyx.org>
2590
2591         * buffer.C: up the format to 226.
2592
2593         * factory.C: the note inset is now identified simply by 'Note'.
2594
2595 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2596
2597         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2598         when a pit is enough. Standarize a couple of loops.
2599
2600 2003-12-05  Angus Leeming  <leeming@lyx.org>
2601
2602         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2603         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2604         data to the re-worked "log" dialog.
2605
2606 2003-12-03  André Pönitz  <poenitz@gmx.net>
2607
2608         * PosIterator.C:
2609         * iterators.C:
2610         * lyxtext.h:
2611         * output_latex.C:
2612         * paragraph_funcs.C:
2613         * text.C:
2614         * text2.C: use Inset::getText instead of Inset::getParagraph
2615
2616 2003-12-03  André Pönitz  <poenitz@gmx.net>
2617
2618         * buffer.[Ch]:
2619         * lyxtext.h:
2620         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2621         InsetText::read() as LyXText::read()
2622
2623 2003-12-02  Angus Leeming  <leeming@lyx.org>
2624
2625         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2626         type. Add a comment in the implementation that the function uses
2627         the stream's bad() function rather than fail() as the std::streams
2628         would do.
2629
2630 2003-12-02  André Pönitz  <poenitz@gmx.net>
2631
2632         * lyxlex.[Ch]: make interface more similar to std::stream
2633
2634         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2635
2636 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2637
2638         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2639
2640 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2641
2642         * vspace.[Ch]: remove VSpace::NONE
2643
2644 2003-12-01  André Pönitz  <poenitz@gmx.net>
2645
2646         * buffer.[Ch]:
2647         * lyxtext.h: move ParagraphList member to LyXText
2648         rename LyXText::ownerParagraphs to LyXText::paragraph
2649
2650         * CutAndPaste.C:
2651         * bufferview_funcs.C:
2652         * iterators.[Ch]:
2653         * lyx_cb.C:
2654         * paragraph.C:
2655         * rowpainter.C:
2656         * tabular.C:
2657         * text.C:
2658         * text2.C:
2659         * text3.C: adjust
2660
2661         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2662
2663         * undo.C: fix cursor positioning
2664
2665 2003-12-01  John Levon  <levon@movementarian.org>
2666
2667         * BufferView_pimpl.C: fix a crash on exit with
2668         a buffer open
2669
2670 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2671
2672         * BranchList.C: fix setSelected() method.
2673
2674 2003-11-28  André Pönitz  <poenitz@gmx.net>
2675
2676         * ParagraphParameters.[Ch]:
2677         * ParameterStruct.h: remove space above/below from Paragraph to
2678          InsetVSpace
2679
2680         * BufferView_pimpl.C:
2681         * factory.C:
2682         * lyxfunc.C:
2683         * lyxtext.h:
2684         * output_latex.C:
2685         * paragraph.C:
2686         * paragraph_funcs.C:
2687         * rowpainter.[Ch]:
2688         * text.C:
2689         * text2.C:
2690         * text3.C: adjust
2691
2692 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2693
2694         * factory.C: Syntax change for CharStyles
2695
2696 2003-11-28  André Pönitz  <poenitz@gmx.net>
2697
2698         * BufferView.[Ch]:
2699         * BufferView.[Ch]:
2700         * buffer.[Ch]:
2701         * buffer.[Ch]: move LyXText member
2702
2703 2003-11-28  André Pönitz  <poenitz@gmx.net>
2704
2705         * BufferView.[Ch]: make LyXText * text a private member
2706
2707         * BufferView_pimpl.C:
2708         * cursor.C:
2709         * iterators.C:
2710         * lyx_cb.C:
2711         * lyxfind.C:
2712         * lyxtext.h:
2713         * rowpainter.[Ch]:
2714         * text.C:
2715         * text2.C:
2716         * undo.C: adjust
2717
2718         * output_plaintext.C: cleanup
2719
2720 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2721
2722         * buffer.C:
2723         * lyxtextclass.[Ch]: parametrize SGML document header
2724
2725 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2726
2727         * converter.[Ch]:
2728         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2729         getFlavor().
2730
2731 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2732
2733         * text2.C (setFont): rework using PosIterator (no more recursive)
2734         (setCharFont): no more needed
2735         (setLayout): no more selection cursors fiddling (done by redoCursor)
2736         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2737         destroy remaining ones)
2738
2739 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2740
2741         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2742         * lyxtext.h: ditto
2743         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2744         selection cursors
2745         * lyxfunc.C: adjust
2746         * text3.C: adjust + re-allow multi par depth changes
2747         * textcursor.C: simplify a bit
2748
2749 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2750
2751         * src/buffer.C:
2752         * src/lyxlayout.C:
2753         * src/lyxlayout.h:
2754         * src/lyxtext.h:
2755         * src/output_docbook.C:
2756         * src/output_latex.C:
2757         * src/paragraph.C:
2758         * src/paragraph.h:
2759         * src/sgml.C:
2760         * src/sgml.h:
2761         * src/text2.C: Introducing a number of tags parametrizing various
2762         XML formats that we may want to support
2763
2764 2003-11-25  André Pönitz  <poenitz@gmx.net>
2765
2766         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2767
2768         * lyxtext.h (leftMargin/rightMargin): simplify interface
2769
2770         * rowpainter.C:
2771         * text.C:
2772         * text2.C:
2773         * text3.C: adjust
2774
2775 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2776
2777         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2778         master file to any child files. Fixes bug 546.
2779
2780 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2781
2782         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2783
2784 2003-11-24  André Pönitz  <poenitz@gmx.net>
2785
2786         * rowpainter.C: simplification
2787
2788         * text2.C (updateCounters): remove call to redoParagraph on
2789         changed labels as this is far too expensive.
2790
2791 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2792
2793         * converter.C (convert): fix a crash: this function gets
2794         called with buffer == 0 from importer code.
2795
2796 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2797
2798         * text3.C (cursorPrevious): make sure that we do not compare
2799         iterators form different containers.
2800         (cursorNext): ditto
2801
2802         * rowpainter.C (paintSelection): make sure that we do not compare
2803         iterators from different containers.
2804
2805         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2806         iterators from different ParagraphList containers.
2807         [NEXT] ditto
2808
2809         * text2.C (LyXText): change order of initialization slightly
2810         (operator=): new function. copy all variables except cache_par_
2811         (moveUp): make sure that we do not compare iterators from
2812         different ParagraphList constainers.
2813         (moveDown): ditto
2814
2815         * text.C (firstPar): new function
2816         (lastPar): new function
2817         (endPar): new function
2818
2819         * lyxtext.h: move things around and group public functions, public
2820         variables, private functions, private variables
2821
2822 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2823
2824         * factory.C: change call to InsetERT constructor to avoid
2825         additional invocation of method status
2826         * text2.C (toggleInset): remove redundant update() call
2827         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2828         instead of a Bufferview pointer
2829
2830 2003-11-21  André Pönitz  <poenitz@gmx.net>
2831
2832         * rowpainter.C: simplification
2833
2834 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2835
2836         * text3.C (dispatch): make possible to extend a word/row selection
2837         with the mouse
2838
2839 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * lyxtext.h: x0_,y0_ -> xo_,yo_
2842         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2843         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2844         * rowpainter.C (paintRows): paint full paragraphs
2845
2846 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2847
2848         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2849         screen coordinates)
2850
2851 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2852
2853         * lyxtext.h: add x0_, y0_
2854         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2855         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2856
2857 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2858
2859         * text2.C (setCursorIntern): move the x_target update here *
2860         * text3.C: change some bv() to true/false in calls to
2861         cursorUp/Down/Right/Left
2862         * cursor.C: use helper function.
2863
2864 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2865
2866         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2867         * paragraph_funcs.[Ch]: correct comment
2868         * rowpainter.C: do not paint selections away from bv->cursor()
2869         Fix a long standing selection painting bug.
2870         * text3.C: generalize mouse-selection code to LyXTexts other that
2871         top one
2872         * textcursor.C: do not use y coords if we can use par offsets
2873
2874 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2875
2876         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2877         cursor position after e.g. inset insert)
2878
2879 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2880
2881         * lyxfind.C (replace): adjust to locking removal + some
2882         code simplification
2883
2884 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2887         of the path
2888
2889 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2890
2891         * lyxlayout.[Ch]:
2892         * output_docbook.C: XML sanitation: new layout
2893         parameters InnerTag and CommandDepth
2894
2895 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2896
2897         * BufferView_pimpl.C:
2898         * factory.C:
2899         * text3.C: Fix the insertion and modification of button-style
2900         insets
2901
2902 2003-11-13  André Pönitz  <poenitz@gmx.net>
2903
2904         * InsetList.[Ch]: remove deleteLyXText
2905
2906         * paragraph.[Ch]: cache beginOfBody position
2907
2908         * Bidi.C:
2909         * text.C:
2910         * text2.C:
2911         * text3.C: remove superfluous update() calls
2912
2913         * vspace.C: cleanup
2914
2915 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2916
2917         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2918         * BufferView.C (fitLockedInsetCursor): remove
2919         * cursor.[Ch] (getDim): add
2920         * text.C (getRowNearY): add faster version
2921         * text3.C: remove some update calls
2922
2923 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2924
2925         * LaTeXFeatures.C:
2926         * LyXAction.C:
2927         * MenuBackend.C:
2928         * MenuBackend.h:
2929         * dispatchresult.h:
2930         * factory.C:
2931         * lfuns.h:
2932         * lyxfunc.C:
2933         * lyxtextclass.C:
2934         * lyxtextclass.h:
2935         * text3.C: The Character Style /XML short element patch.
2936
2937 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2938
2939         * text3.C:
2940         * factory.C: Small step to solving 'unable to insert some insets'
2941         problem
2942
2943 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2944
2945         * cursor.[Ch] (updatePos): new function for updating the y
2946         position of the tip inset
2947         * bufferview_funcs.C (put_selection_at):
2948         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2949
2950 2003-11-11  André Pönitz  <poenitz@gmx.net>
2951
2952         * text.C: remove big comment on invalid Paragraph pointers as it is
2953         not valid anymore
2954
2955 2003-11-11  André Pönitz  <poenitz@gmx.net>
2956
2957         * text_funcs.[Ch]: merge with ...
2958
2959         * text.C: ... this
2960
2961         * lyxtext.h:
2962         * text2.C:
2963         * text3.C: adjust
2964
2965         * Makefile.am: remove text_funcs.[Ch]
2966
2967 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2968
2969         * cursor.C (getPos): return absolute cached y coord
2970
2971         * BufferView_pimpl.C (fitCursor): new simplistic code
2972         (workAreaDispatch): add a fitCursor call
2973
2974 2003-11-10  André Pönitz  <poenitz@gmx.net>
2975
2976         * BufferView.[Ch]:
2977         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2978
2979 2003-11-10  André Pönitz  <poenitz@gmx.net>
2980
2981         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2982         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2983         indicate that the cursor needs to leave an inset
2984
2985         * lyxtext.h: remove inset locking
2986
2987         * cursor.[Ch]: re-implement functionality provided by inset locking
2988
2989         * BufferView.[Ch]:
2990         * BufferView_pimpl.[Ch]:
2991         * LyXAction.C:
2992         * bufferview_funcs.[Ch]:
2993         * factory.C:
2994         * funcrequest.[Ch]:
2995         * iterators.C:
2996         * lyx_cb.C:
2997         * lyxfind.C:
2998         * lyxfunc.C:
2999         * text.C:
3000         * text2.C:
3001         * text3.C:
3002         * undo.C: adjust
3003
3004 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3005
3006         * PosIterator.[Ch]: replace the stack with a vector, add inset
3007         accesor
3008         * iterators.[C]: adjust
3009
3010 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3011
3012         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3013         replaced
3014         * paragraph_funcs.C (readParToken): put the correct id in the
3015         error item, not the id of the top paragraph
3016
3017 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3018
3019         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3020         * bufferview_funcs.C (put_selection_at): use the above
3021
3022 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3023
3024         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3025
3026 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3027
3028         * output_linuxdoc.h:
3029         * output_plaintext.h:
3030         * output.h:
3031         * output_docbook.h: add #include statements
3032
3033 2003-11-05  José Matos  <jamatos@lyx.org>
3034
3035         * output_docbook.[Ch]:
3036         * output_latex.[Ch]:
3037         * output_linuxdoc.[Ch]:
3038         * output_plaintext.[Ch]: New files for output formats.
3039         * output.[Ch]: New file for helper functions.
3040
3041         * buffer.[Ch]:
3042         * paragraph_funcs.[Ch]: output functions moved to new files.
3043
3044         * outputparams.h: rename of latexrunparams.h
3045
3046         * LaTeX.[Ch]:
3047         * buffer.[Ch]:
3048         * bufferlist.[Ch]:
3049         * converter.[Ch]:
3050         * exporter.C:
3051         * paragraph.[Ch]:
3052         * paragraph_funcs.[Ch]:
3053         * paragraph_pimpl.[Ch]:
3054         * tabular.[Ch]: rename ascii to plaintext
3055         and LatexRunParams to OutputParams.
3056
3057 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3058
3059         * iterators.[Ch] (text): require bv argument
3060         * undo.C (recordUndo):
3061         * lyxfunc.C (dispatch):
3062         * bufferview_funcs.C (put_selection_at): adjust
3063
3064 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3065
3066         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3067
3068 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3071         nestings
3072
3073 2003-11-04  André Pönitz  <poenitz@gmx.net>
3074
3075         * cursor.[Ch]: restructure
3076
3077         * BufferView.[Ch]:
3078         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3079
3080         * iterators.[Ch] (asCursor): remove
3081
3082         * lfuns.h: remove LFUN_INSET_EDIT
3083
3084         * lyxfunc.C:
3085         * tabular.C:
3086         * text.C:
3087         * text2.C:
3088         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3089
3090 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3091
3092         * lyxfind.[Ch]: complete overhaul
3093         * BufferView_pimpl.C:
3094         * lyxfunc.C: adjust
3095         * paragraph.[Ch] (insert): add
3096
3097 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3098
3099         * BufferView.[Ch]:
3100         * lyxtext.h:
3101         * text.C: remove dead spellcheck code
3102
3103 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3104
3105         * dispatchresult.h: add a val setter
3106
3107         * cursor.C (dispatch): use a tempvar for data_[i]
3108
3109 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3110
3111         * PosIterator.[Ch]: compile fix
3112
3113 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * text.C (cursorPar): deactivate the cursor cache
3116
3117 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3118
3119         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3120
3121 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * text3.C (dispatch): adjust for new DisptchResult semantics.
3124
3125         * lyxfunc.C (dispatch): handle update when return from
3126         Cursor::dispatch, adjust for new DispatchResult semantics.
3127
3128         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3129         DispatchResult(true) mean to not update. Add class functions for
3130         setting dispatched and update, as well as reading.
3131
3132         * cursor.C (dispatch): don't handle update here
3133
3134 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3137         * trans_mgr.C: adjust
3138
3139         * paragraph_funcs.C (readParToken): exception safety
3140
3141         * lyxvc.h: store the vcs pointer in a scoped_ptr
3142         * lyxvc.C: adjust
3143
3144         * lyxsocket.C (serverCallback): exception safety
3145
3146         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3147
3148         * ispell.C (clone): make it return a auto_ptr
3149
3150         * factory.C (createInset): exception safety
3151         (readInset): exception safety
3152
3153         * bufferlist.C (newBuffer): exception safety
3154
3155         * Thesaurus.C (Thesaurus): use initialization for aik_
3156
3157         * MenuBackend.C (expandToc): exception safety.
3158
3159 2003-11-03  André Pönitz  <poenitz@gmx.net>
3160
3161         * buffer.C:
3162         * buffer.h:
3163         * bufferview_funcs.C: remove getInsetFromId()
3164
3165         * lyxcursor.[Ch]:
3166         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3167
3168         * lyxfunc.C:
3169         * text2.C:
3170         * text3.C: adjust
3171
3172 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * PosIterator.C (distance, advance): new
3175         * bufferview_funcs.[Ch] (put_selection_at): new
3176         * iterators.[Ch] (lockPath): new
3177
3178 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3179
3180         * iterators.[Ch] (asPosIterator): added
3181         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3182         * PosIterator.[Ch]: added
3183
3184 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3185
3186         * text3.C:
3187         * lyxfunc.C:
3188         * cursor.C (dispatch):
3189         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3190
3191         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3192         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3193         contructor, add a class function dispatched. Remove operator>=
3194
3195 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * debug.C: only use the default constructor for debugstream
3198         (lyxerr) here.
3199
3200         * main.C (main): include debug.h and setup the lyxerr streambuf
3201         here.
3202
3203 2003-10-31  José Matos  <jamatos@lyx.org>
3204
3205         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3206
3207         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3208         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3209         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3210         * paragraph_pimpl.C (simpleTeXSpecialC):
3211         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3212         add LatexRunParams argument.
3213
3214         * exporter.C (Export): change call accordingly.
3215
3216         * latexrunparams.h: add new member to take care of the other backends.
3217 2003-10-30  José Matos  <jamatos@lyx.org>
3218
3219         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3220         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3221         factorise code for paragraph output.
3222         * buffer.[Ch]:
3223         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3224         move functions.
3225
3226 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * text3.C (dispatch):
3229         * lyxfunc.C (dispatch):
3230         * cursor.C (dispatch):
3231         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3232
3233         * dispatchresult.h: make the dispatch_result_t ctor explicit
3234
3235 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3236
3237         * sgml.[Ch]:
3238         * buffer.C: small refactoring of docbook stuff
3239
3240 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3241
3242         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3243         meaning.
3244
3245 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3248         operator dispatch_result_t, and operators for == != and >=
3249
3250         * cursor.C (dispatch): adjust for operator dispatch_result_t
3251         removal. comment out call to update
3252
3253         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3254
3255 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * text3.C:
3258         * text2.C:
3259         * text.C:
3260         * lyxtext.h:
3261         * lyxfunc.C:
3262         * cursor.C:
3263         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3264         (dispatch):
3265
3266         * dispatchresult.h: new file, DispatchResult broken out of
3267         insets/insetbase.h
3268
3269         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3270
3271 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3272
3273         * text.C (rowBreakPoint): put a hack inside #if 0
3274
3275 2003-10-28  André Pönitz  <poenitz@gmx.net>
3276
3277         * lyxtext.h:
3278         * metricsinfo.C:
3279         * paragraph_funcs.C:
3280         * rowpainter.C:
3281         * text.C:
3282         * text2.C: general cleanup (lots of small stuff)
3283
3284 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3285
3286         * text2.C (cursorEnd): simple fix to the "end key goes to one
3287         before the end on last row" bug
3288
3289 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3290
3291         * text.C (backspace): fix the "zombie characters"
3292
3293 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3294
3295         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3296
3297 2003-10-27  André Pönitz  <poenitz@gmx.net>
3298
3299         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3300
3301         * factory.C: handle new InsetPagebreak, InsetLine
3302
3303         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3304         and move handling into new InsetPagebreak, InsetLine
3305
3306         * BufferView_pimpl.C:
3307         * LyXAction.C:
3308         * ParagraphParameters.C:
3309         * ParameterStruct.h:
3310         * lyxfunc.C:
3311         * lyxtext.h:
3312         * paragraph.C:
3313         * paragraph.h:
3314         * paragraph_funcs.C:
3315         * paragraph_pimpl.C:
3316         * rowpainter.C:
3317         * text.C:
3318         * text2.C:
3319         * text3.C: adjust
3320
3321 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3322
3323         * text.C:
3324         * lyxrow_funcs.[Ch]:
3325         * Bidi.C:
3326         * paragraph.C:
3327         * lyxtext.h:
3328         * rowpainter.C:
3329         * text2.C:
3330         * text3.C: remove lastPos uses in favour of Row::endpos
3331
3332 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3333
3334         * undo.C (performUndoOrRedo): fix two crashes by setting a
3335         cursor by hand and reordering some calls. Use bv->lockInset instead
3336         of inset->edit because the latter loses cursor information
3337
3338 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3339
3340         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3341         by Martin
3342         (rowBreakPoint): fix width. change point to point + 1.
3343         Add a missing check.
3344
3345 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * MenuBackend.C:
3348         * lyxfunc.C: fix (at least partly) the problems
3349         with the Nav menu and headers inside branch insets
3350         reported by Kayvan
3351
3352 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3353
3354         * paragraph.C (getChar): add strong asserts
3355
3356         * lyxrow_funcs.C (lastPos): remove hideous hack
3357
3358         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3359         (fill): adjust to that (avoid an infinite loop)
3360
3361 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3362
3363         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3364
3365 2003-10-23  André Pönitz  <poenitz@gmx.net>
3366
3367         * RowList_fwd.h: change list<> to vector<> to gain speed
3368         after suggestion from Alfredo
3369
3370 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3371
3372         * lyxtext.h: move the bidi stuff from here...
3373         * text.C: and here
3374         * text2.C: and here
3375         * Bidi.[Ch]: ... to here
3376
3377 2003-10-23  André Pönitz  <poenitz@gmx.net>
3378
3379         * lyxtext.h:
3380         * text.C (isLastRow, isFirstRow): new functions
3381
3382         * paragraph.h: new width cache member
3383
3384         * rowpainter.C: replace RowList::iterator with Row & where possible
3385
3386         * lyxfunc.C: replace several view()->text with a single call
3387
3388         * toc.C: fix 'unused' warning
3389
3390 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3391
3392         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3393         when woring with stream::pos_type
3394         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3395
3396 2003-10-22  André Pönitz  <poenitz@gmx.net>
3397
3398         * lyxtext.h:
3399         * text.C: use Row & instead of RowList::iterator
3400
3401         * lyxrow.h: rename end() to endpos()
3402
3403         * rowpainter.C:
3404         * text.C:
3405         * text2.C: adjust
3406
3407 2003-10-22  Angus Leeming  <leeming@lyx.org>
3408
3409         * buffer.[Ch] (fully_loaded): new member function, returning true
3410         only when the file has been loaded fully.
3411         Used to prevent the premature generation of previews and by the
3412         citation inset to prevent computation of the natbib-style label.
3413
3414         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3415         templates are all set up.
3416
3417         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3418
3419 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3420
3421         * text.C: fixed an "oops" in the "is a bit silly"
3422         bug fix
3423
3424 2003-10-21  André Pönitz  <poenitz@gmx.net>
3425
3426         * FuncStatus.[Ch]: small stuff, whitespace
3427
3428         * lyxfont.[Ch]: operator<<() for debug reasons
3429
3430         * lyxfunc.C:
3431         * lyxrow_funcs.C:
3432         * lyxtext.h: whitespace, spelling
3433
3434         * paragraph.C: naming of variables
3435
3436         * text.C:
3437         * text2.C: small stuff
3438
3439
3440 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3441
3442         * text.C: (1) finish off the inset display() work;
3443         (2) fix the "is a bit silly" bug (accessing char
3444         past end of par).
3445
3446 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3447
3448         * text.C: re-introduce display() for insets, fixing the
3449         various bugs (stretch of line above, math inset
3450         positioning, ...)
3451
3452 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3453
3454         * text.C (rightMargin): remove spurious semicolon
3455
3456         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3457         1415)
3458
3459 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3460
3461         * text3.C: fix one crash due to wrong cursor def
3462
3463 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3464
3465         * vc-backend.C (scanMaster): make the regex static
3466
3467         * LaTeX.C (scanAuxFile): make the regexs static
3468
3469         * text3.C (doInsertInset, dispatch, dispatch):
3470         * text2.C (cursorUp, cursorDown):
3471         * text.C (selectNextWordToSpellcheck):
3472         * BufferView_pimpl.C (dispatch):
3473         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3474
3475 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3476
3477         * lyxsocket.C: include <cerrno>
3478
3479 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * lyxfunc.C (dispatch): remove textcache stuff
3482
3483         * bufferlist.C (release): remove textcache stuff
3484         (closeAll): ditto
3485
3486         * TextCache.C: delete file
3487         * TextCache.h: delete file
3488
3489         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3490
3491         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3492         delete of the bv_->text.
3493         (resizeCurrentBuffer): remove texcache stuff
3494         (workAreaResize): ditto
3495
3496 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3497
3498         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3499         action.
3500
3501 2003-10-16  André Pönitz  <poenitz@gmx.net>
3502
3503         * lyxrow.[Ch]:
3504         * paragraph.h:
3505         * rowpainter.C:
3506         * text.C:
3507         * text2.C:
3508         * text3.C: speed up by storing y positions per paragraph plus per-row
3509         offset instead of having a 'full' y position in the row.
3510
3511 2003-10-15  André Pönitz  <poenitz@gmx.net>
3512
3513         * iterators.[Ch]:
3514         * iterators.[Ch]:
3515         * undo.[Ch]: make undo aware of inner insets
3516
3517 2003-10-14  Angus Leeming  <leeming@lyx.org>
3518
3519         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3520         static member functions LyX::ref() and LyX::cref.
3521         (lastfiles): new accessor functions for the new lastfiles_ member var.
3522         (addLyXView, views_): add a new LyXView to the list of views_.
3523         (updateInset): loop over all LyXViews to call their own updateInset
3524         member function, returning a pointer to the Buffer owning the inset.
3525
3526         * BufferView_pimpl.C (loadLyXFile):
3527         * MenuBackend.C (expandLastfiles):
3528         * bufferlist.C (MenuWrite, QuitLyX):
3529         lastfiles is no longer a global variable.
3530         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3531
3532         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3533         static function. Access through LyX::cref().emergencyCleanup().
3534
3535 2003-10-14  André Pönitz  <poenitz@gmx.net>
3536
3537         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3538
3539         * undo.[Ch]: restoring part of 'undo in insets'
3540
3541         * Makefile.am:
3542         * undo_funcs.[Ch]: merge with undo.[Ch]
3543
3544         * tabular.C: small cleansing stuff
3545
3546 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3547
3548         * paragraph_funcs.C (readParToken): report unknown insets as error
3549         boxes. Use the outer paragraph as location (also for unknown
3550         tokens).
3551
3552         * factory.C (readInset): do not abort on reading an unknown inset.
3553         Eat it and return 0.
3554
3555 2003-10-13  Angus Leeming  <leeming@lyx.org>
3556
3557         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3558
3559         * lyxrc.C: displayTranslator is now a function,
3560         declared in GraphicsTypes.h.
3561
3562 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3563
3564         * format.C: new placeholder $$a to pass the socket address.
3565
3566         * bufferlist.[Ch]: new function getBufferFromTmp.
3567
3568         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3569           files in the temporary dir.
3570
3571 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3572
3573         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3574
3575         * Makefile.am: add lyxsocket.[Ch].
3576
3577         * lyx_main.C (error_handler): handle SIGPIPE.
3578
3579 2003-10-13  André Pönitz  <poenitz@gmx.net>
3580
3581         * BufferView_pimpl.C:
3582         * lyxtext.h:
3583         * text.C:
3584         * text2.C:
3585         * text3.C:
3586         * undo_funcs.[Ch]: use paroffset_type instead of
3587           ParagraphList::iterators to prevent multiple conversion
3588           (and get a more robust interface)
3589
3590 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3593         * lyxtext.h: ditto
3594         * text3.C (dispatch): ditto
3595
3596 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3599         move the onlyfile, use onlyfile instead of foundfile in a couple
3600         of places.
3601
3602         * DepTable.C (update): flush the error stream a bit more
3603
3604 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3605
3606         * lyxserver.C (callback): adjust
3607
3608         * lyxfunc.C (getStatus): add a missing brace in commented code
3609         (ensureBufferClean): reindent
3610         (dispatch): delete version taking a string
3611
3612 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3613
3614         * LaTeX.C (deplog): move found file handlig from here...
3615         (handleFoundFile): .. to new function here.
3616         (deplog): make sure to discover several files mentioned on the
3617         same log line.
3618
3619 2003-10-10  André Pönitz  <poenitz@gmx.net>
3620
3621         * lyxfunc.C:
3622         * lyxtext.h:
3623         * tabular.C:
3624         * text.C:
3625         * text2.C:
3626         * text3.C: fix some of the tabular crashes
3627
3628 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3629
3630         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3631
3632         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3633
3634 2003-10-09  André Pönitz  <poenitz@gmx.net>
3635
3636         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3637
3638         * BufferView.C:
3639         * BufferView_pimpl.C:
3640         * bufferview_funcs.C:
3641         * lyx_cb.C:
3642         * lyxcursor.C:
3643         * lyxfind.C:
3644         * lyxfunc.C:
3645         * lyxtext.h:
3646         * text.C:
3647         * text2.C:
3648         * text3.C:
3649         * text_funcs.[Ch]:
3650         * textcursor.[Ch]:
3651         * undo_funcs.C: adjust
3652
3653 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3654
3655         * text2.C (incrementItemDepth): new function, use a backtracking
3656         algorithm to discover the correct item depth.
3657         (resetEnumCounterIfNeeded): new function, use a backtracking
3658         algorithm to discover if counter reset is needed.
3659         (setCounter): use them. Simplify a bit. Add different labels for
3660         different item depths for itemize.
3661
3662         * paragraph.C (Paragraph): remove initialization of enumdepth
3663         (operator=): ditto
3664
3665         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3666         enumerate and itemize. Change the type of itemdepth to signed char.
3667
3668 2003-10-08  André Pönitz  <poenitz@gmx.net>
3669
3670         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3671           thing assignable.
3672         * text.C:
3673         * text2.C: adjust
3674
3675         * tabular.[Ch]: fix crash after 'row-insert'
3676
3677 2003-10-08  Angus Leeming  <leeming@lyx.org>
3678
3679         Fix doxygen warnings.
3680
3681         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3682         Remove CutAndPaste:: prefix from header file declaration.
3683
3684         * LColor.h (fill): remove LColor:: prefix from declaration.
3685
3686         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3687         use lyx::depth_type rather than Paragraph::depth_type so that
3688         header file and .C file match.
3689
3690         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3691
3692         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3693         * aspell.C: \file aspell_local.C -> \file aspell.C
3694         * gettext.C: \file gettext.C -> \file src/gettext.C
3695         * gettext.h: \file gettext.h -> \file src/gettext.h
3696         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3697         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3698         * text.C: \file text.C -> \file src/text.C
3699
3700         * toc.C: move comment so that doxygen is not confused.
3701
3702 2003-10-07  Angus Leeming  <leeming@lyx.org>
3703
3704         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3705
3706 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3707
3708         * aspell.C:
3709         * aspell_local.h: add forgotten std::string's.
3710
3711 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3712
3713         * LaTeXFeatures.C:
3714         * LyXAction.C:
3715         * factory.C:
3716         * lfuns.h:
3717         * lyxfunc.C:
3718         * text3.C: The Box patch. Fancybox support, minipage, parbox
3719
3720 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3721
3722         * CutAndPaste.h:
3723         * DepTable.h:
3724         * FloatList.h:
3725         * LaTeXFeatures.h:
3726         * ParagraphParameters.h:
3727         * TextCache.h:
3728         * Thesaurus.h:
3729         * bufferlist.h:
3730         * exporter.h:
3731         * importer.h:
3732         * lastfiles.h:
3733         * lyxfind.h:
3734         * lyxfont.h:
3735         * lyxlex.h:
3736         * lyxtextclasslist.h:
3737         * messages.h:
3738         * paragraph.h:
3739         * paragraph_pimpl.C:
3740         * textcursor.h: add <string> and other small fixes to make Lars'
3741         std::string patch compile with STLport.
3742
3743 2003-10-06  Angus Leeming  <leeming@lyx.org>
3744
3745         * LColor.h: Add missing #include <string>.
3746
3747 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3748
3749         * All most all file in all subdirs: Make <string> be the prefered
3750         way of getting to std::string, add using declarations.
3751
3752 2003-10-06  André Pönitz  <poenitz@gmx.net>
3753
3754         * metricsinfo.C: initialize LyXFont before changing attribute.
3755         (fixes the 'math in \emph is upright' bug)
3756
3757 2003-10-06  André Pönitz  <poenitz@gmx.net>
3758
3759         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3760
3761 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3762
3763         * graph.C:
3764         * paragraph_pimpl.C: Small fixes to build using STLport
3765
3766 2003-10-02  André Pönitz  <poenitz@gmx.net>
3767
3768         * lyxfunc.C:
3769         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3770
3771 2003-10-01  André Pönitz  <poenitz@gmx.net>
3772
3773         * factory.C: assert early
3774
3775 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * lyx_main.C: remove the global debug object
3778
3779         * debug.h: adjust for new debugstream
3780
3781         * debug.C: adjust for new debugstream and keep the global debug
3782         object here.
3783
3784 2003-09-22  Angus Leeming  <leeming@lyx.org>
3785
3786         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3787         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3788         an incomplete class LyXFont.
3789
3790 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3791
3792         * factory.C: bug fix in branches
3793
3794 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * lyxfunc.C (processKeySym): adjust
3797         (dispatch): adjust
3798         (dispatch): change arg name from ev to func, adjust
3799         (sendDispatchMessage): ditto
3800
3801         * lyx_main.C (defaultKeyBindings): adjust keybindings
3802         (deadKeyBindings): ditto
3803
3804         * kbsequence.C (addkey): return a FuncRequest
3805
3806         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3807
3808         * kbmap.C (bind): take a FuncRequest as arg, adjust
3809         (read): adjust
3810         (lookup): adjust
3811         (defkey): change to take a FuncRequest as arg, adjust
3812         (findbinding): take a FuncRequest as arg, adjust.
3813
3814         * funcrequest.h (operator=): added
3815
3816         * funcrequest.C (FuncRequest): default kb_action changed from
3817         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3818
3819         * buffer.C (dispatch): simplify
3820         (dispatch): adjust to take a FuncRequest as arg, adjust
3821
3822         * boost.C (assertion_failed): change assertion message slightly
3823
3824         * ToolbarBackend.C (read): simplify
3825
3826         * MenuBackend.C (binding): adjust call to findbinding, add a
3827         message if no binding is found.
3828         (read): simplify
3829         (expandToc): correct by adding a empty FuncRequest
3830
3831         * LyXAction.C: include <boost/assert.hpp>
3832         (isPseudoAction): delete function
3833         (LookupFunc): change name to...
3834         (lookupFunc): this. change return type to FuncRequest.
3835         (getActionName): take kb_action as arg, simplify
3836         (funcHasFlag): add an assert, simplify.
3837
3838 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3839
3840         * toc.C (action): return a FuncRequest, simplify
3841
3842         * lyxfunc.C (processKeySym): adjust
3843         (getStatus): delete version that takes an int.
3844         (getStatus): adjust
3845         (dispatch): delete version that takes action as int
3846         (dispatch): adjust
3847         (sendDispatchMessage): simplify and adjust
3848
3849         * funcrequest.C (getArg): take unsigned int as arg
3850
3851         * ToolbarBackend.C (read): adjust
3852         (add): delete version that takes func as a string.
3853         (getIton): take a FuncRequest as arg
3854
3855         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3856         action.
3857
3858         * MenuBackend.C (MenuItem): add a new construct that only takes a
3859         Kind, simplify the constructor use for submenus.
3860         (add): adjust
3861         (expandLastfiles): adjust
3862         (expandDocuments): adjust
3863         (expandFormats): adjust
3864         (expandFloatListInsert): adjust
3865         (expandFloatInsert): adjust
3866         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3867
3868         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3869         Remove class variables lyx_pseudo_map and lyx_arg_map
3870
3871         * LyXAction.C (searchActionArg): delete function
3872         (getPseudoAction): delete function
3873         (retrieveActionArg): delete function
3874         (LookupFunc): make it return kb_action, simplify.
3875         (getActionName): simplify
3876
3877         * factory.C (createInset): fix new bug
3878
3879 2003-09-19  Angus Leeming  <leeming@lyx.org>
3880
3881         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3882         masterFilename_ parameter in the include inset.
3883
3884         * factory.C (createInset): changes due to the changes to InsetInclude.
3885
3886 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3887
3888         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3889
3890 2003-09-18  Angus Leeming  <leeming@lyx.org>
3891
3892         * buffer.C:
3893         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3894         Inset::fillWithBibKeys.
3895         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3896
3897 2003-09-18  Angus Leeming  <leeming@lyx.org>
3898
3899         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3900         variables.
3901         (ctor): pass and store a 'Buffer const &'
3902         (buffer): new member function.
3903
3904         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3905         '*this' to the LaTeXFeatures ctor.
3906
3907 2003-09-18  Angus Leeming  <leeming@lyx.org>
3908
3909         * LColor.h:
3910         * lyxfont.C:
3911         * lyxfont.h:
3912         * lyxtext.h:
3913         * text.C: rename EnumLColor as LColor_color.
3914
3915 2003-09-18  Angus Leeming  <leeming@lyx.org>
3916
3917         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3918         remove #include "insets/insetbase.h" from cursor.h.
3919
3920 2003-09-18  Angus Leeming  <leeming@lyx.org>
3921
3922         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3923         InsetOld_code to remove #include "inset.h".
3924
3925         * iterators.C: add #include "insets/inset.h"
3926
3927 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3928
3929         * BufferView.C: remove more locking stuff that apparently doesn't
3930         do anything sensible.
3931
3932 2003-09-16  André Pönitz  <poenitz@gmx.net>
3933
3934         * paragraph.[Ch]:
3935         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3936           performance boost.
3937
3938 2003-09-16  Angus Leeming  <leeming@lyx.org>
3939
3940         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3941
3942         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3943         arg/return type.
3944
3945         * paragraph.h: remove #include "lyxfont.h". Forward declare
3946         LyXFont_size.
3947
3948 2003-09-16  Angus Leeming  <leeming@lyx.org>
3949
3950         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3951         of support/textutils.h.
3952         (isWord): move the contents of support/textutils.h's IsWordChar here.
3953
3954         * buffer.C:
3955         * lyxfind.C:
3956         * rowpainter.C:
3957         * text.C:
3958         * text2.C: add #include "paragraph.h".
3959
3960         * rowpainter.C:
3961         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3962
3963 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * main.C:
3966         * lyx_main.C:
3967         * lyx_cb.C:
3968         * buffer.C:
3969         * LaTeX.C: use namespace alias for lyx::support::os
3970
3971 2003-09-16  Angus Leeming  <leeming@lyx.org>
3972
3973         * bufferparams.C:
3974         * bufferview_funcs.C:
3975         * factory.C:
3976         * lyxfunc.C:
3977         * paragraph_pimpl.C:
3978         * rowpainter.C:
3979         * text.C: add #include "LColor.h".
3980
3981 2003-09-16  Angus Leeming  <leeming@lyx.org>
3982
3983         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3984         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3985         return LyXFont &.
3986         Store the FontBits::color variable as an int rather than as an
3987         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3988         file.
3989
3990         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3991         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3992         string calls together.
3993
3994         * lyxrc.C: add #include "LColor.h".
3995
3996 2003-09-15  Angus Leeming  <leeming@lyx.org>
3997
3998         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3999         a cow_ptr.
4000
4001 2003-09-15  Angus Leeming  <leeming@lyx.org>
4002
4003         * LColor.h: add an EnumLColor wrapper for LColor::color.
4004
4005         * lyxfont.[Ch] (color, setColor, realColor):
4006         * lyxtext.h, text.C (backgroundColor):
4007         pass EnumLColor args to/from the functions, rather than LColor::color
4008         ones.
4009
4010         * lyxfont.h:
4011         * lyxtext.h: forward declare EnumLColor.
4012
4013         * lyx_main.C: add #include "LColor.h".
4014
4015 2003-09-15  Angus Leeming  <leeming@lyx.org>
4016
4017         * .cvsignore: add lyx-gtk.
4018
4019 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4020
4021         * Chktex.C
4022         * LaTeX.C
4023         * LaTeXFeatures.C
4024         * ParagraphParameters.C
4025         * Spacing.C
4026         * buffer.C
4027         * bufferparams.C
4028         * bufferview_funcs.C
4029         * chset.C
4030         * counters.C
4031         * funcrequest.C
4032         * lyxfont.C
4033         * lyxgluelength.C
4034         * lyxlength.C
4035         * paragraph.C
4036         * paragraph_funcs.C
4037         * text3.C
4038         * vc-backend.C: remove usage of STRCONV
4039
4040 2003-09-15  Angus Leeming  <leeming@lyx.org>
4041
4042         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4043         explicitly define the color passed to the painter.
4044
4045 2003-09-15  Angus Leeming  <leeming@lyx.org>
4046
4047         * bufferparams.C (BufferParams): reorder member initializers to avoid
4048         compiler warning.
4049
4050 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4051
4052         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4053         * text.C (updateRowPositions): remove an unusual nop
4054
4055 2003-09-12  André Pönitz  <poenitz@gmx.net>
4056
4057         * BufferView_pimpl.C:
4058         * Bullet.C:
4059         * layout.h:
4060         * lyxfunc.C:
4061         * lyxlayout.[Ch]:
4062         * lyxtextclass.C:
4063         * rowpainter.C:
4064         * text.C:
4065         * text2.C:
4066         * Counters.[Ch]: finish the 'automatic counters' job
4067
4068 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4069
4070         * aspell.C: include <boost/assert.cpp> (compile fix)
4071
4072 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4073
4074         * boost.C (assertion_failed): use lyx::support::abort instead of
4075         assert.
4076
4077 2003-09-10  Angus Leeming  <leeming@lyx.org>
4078
4079         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4080         with their _fwd progeny.
4081
4082 2003-09-09  Angus Leeming  <leeming@lyx.org>
4083
4084         134 files throughtout the source tree: replace 'using namespace abc;'
4085         directives with the appropriate 'using abc::xyz;' declarations.
4086
4087 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4088
4089         * boost.C (emergencyCleanup): moved here from LAssert.c
4090         (assertion_failed): new function, called by BOOST_ASSERT
4091
4092         * several files: change Assert to BOOST_ASSERT
4093
4094 2003-09-09  Angus Leeming  <leeming@lyx.org>
4095
4096         * buffer.[Ch]: Add an Impl class and move Buffer's member
4097         variables into it. As a result move several header files out of
4098         buffer.h.
4099
4100         Add header files to lots of .C files all over the tree as a result.
4101
4102 2003-09-09  Angus Leeming  <leeming@lyx.org>
4103
4104         * buffer.[Ch]: make Buffer's member variables private. Add
4105         accessor functions.
4106
4107         Lots of changes all over the tree as a result.
4108
4109 2003-09-08  Angus Leeming  <leeming@lyx.org>
4110
4111         * graph.C: #include <config.h>.
4112
4113 2003-09-08  Angus Leeming  <leeming@lyx.org>
4114
4115         * BranchList.C:
4116         * BufferView.C:
4117         * BufferView_pimpl.C:
4118         * CutAndPaste.C:
4119         * DepTable.C:
4120         * LaTeX.C:
4121         * LaTeXFeatures.C:
4122         * LyXAction.C:
4123         * MenuBackend.C:
4124         * TextCache.C:
4125         * aspell.C:
4126         * buffer.C:
4127         * bufferlist.C:
4128         * changes.C:
4129         * chset.C:
4130         * converter.C:
4131         * counters.C:
4132         * debug.C:
4133         * graph.C:
4134         * ispell.C:
4135         * lyx_cb.C:
4136         * lyxfind.C:
4137         * lyxfunc.C:
4138         * lyxlex_pimpl.C:
4139         * lyxrc.C:
4140         * lyxrow.C:
4141         * paragraph.C:
4142         * rowpainter.C:
4143         * texrow.C:
4144         * text.C:
4145         * text2.C:
4146         * toc.C: remove redundant using directives.
4147
4148 2003-09-07  Angus Leeming  <leeming@lyx.org>
4149
4150         * LaTeXFeatures.h: remove #include "support/types.h".
4151         * ToolbarBackend.h: remove #include <algorithm>.
4152         * changes.h: remove #include <ctime>.
4153         * debug.h: remove #include <iosfwd>.
4154         * graph.h: remove #include "support/std_string.h".
4155         * lyx_main.h: remove #include <csignal>.
4156         * lyxlex_pimpl.h: remove #include <fstream>.
4157         * sgml.h: remove #include <algorithm>, <utility>.
4158         * toc.h: remove #include "support/std_ostream.h".
4159         Add #include <iosfwd>.
4160
4161 2003-09-07  Angus Leeming  <leeming@lyx.org>
4162
4163         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4164
4165         * converter.h: forward declare LatexRunParams.
4166         * encoding.h: remove #include "lyxrc.h".
4167         * lyxtext.h: remove #include "LColor.h".
4168         * lyxtextclass.h: remove #include "support/types.h".
4169         * trans.h: remove #include "tex-accent.h".
4170         * trans_mgr.h: remove #include "tex-accent.h".
4171         * insets/inset.h: remove #include "support/types.h", <vector>.
4172         * insets/insetcollapsable.h: remove #include "LColor.h".
4173         * insets/insetinclude.h: remove #include "dimension.h".
4174         * insets/insetlatexaccent.h: remove #include "dimension.h".
4175         * insets/insetoptarg.h:: remove #include "insettext.h".
4176         * insets/insettext.h: remove #include "dimension.h",
4177         <boost/shared_ptr.hpp>
4178
4179         * insets/renderers.h: add #include "dimension.h".
4180         * insets/updatableinset.h: add #include "support/types.h".
4181
4182         * many .C files: Associated changes.
4183
4184 2003-09-06  Angus Leeming  <leeming@lyx.org>
4185
4186         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4187         one, inside testInvariant.
4188
4189         * PrinterParams.C: new file.
4190         * PrinterParams.[Ch]: move the function bodies out of line.
4191
4192 2003-09-06  Angus Leeming  <leeming@lyx.org>
4193
4194         * ParagraphParameters.h: forward declare ParameterStruct rather than
4195         including its header file.
4196         (depth): moved out-of-line.
4197
4198 2003-09-06  Angus Leeming  <leeming@lyx.org>
4199
4200         * BufferView_pimpl.h:
4201         * kbmap.h:
4202         * kbsequence.h:
4203         * lyxfunc.h: forward declare LyXKeySym rather than
4204         #include "frontends/LyXKeySym.h".
4205
4206         * BufferView_pimpl.C:
4207         * kbmap.C:
4208         * kbsequence.C:
4209         * lyxfunc.C: associated changes.
4210
4211 2003-09-06  Angus Leeming  <leeming@lyx.org>
4212
4213         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4214         As a result, can remove the #include "insets/inset.h" from BufferView.h
4215
4216 2003-09-06  Angus Leeming  <leeming@lyx.org>
4217
4218         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4219         As a result, can remove the #include "insets/inset.h" from BufferView.h
4220
4221 2003-09-06  Angus Leeming  <leeming@lyx.org>
4222
4223         * buffer_funcs.C:
4224         * buffer.h:
4225         * bufferlist.C:
4226         * BufferView.C:
4227         * bufferview_funcs.C:
4228         * BufferView_pimpl.C:
4229         * CutAndPaste.C:
4230         * lyx_cb.C:
4231         * lyxfunc.C:
4232         * paragraph.h:
4233         * ParagraphParameters.C:
4234         * tabular.C:
4235         * text3.C:
4236         * toc.C:
4237         * undo_funcs.C:
4238         * frontends/controllers/ControlDocument.C:
4239         * insets/insetcaption.C: rearrange the #includes into some sort of
4240         coherent order.
4241
4242         * buffer.h: remove #includes ErrorList.h, undo.h
4243
4244 2003-09-06  Angus Leeming  <leeming@lyx.org>
4245
4246         * support/types.h: add a 'depth_type' typedef, used to store the
4247         nesting depth of a paragraph.
4248
4249         * paragraph.h:
4250         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4251         defining explicitly.
4252
4253         * buffer.h:
4254         * paragraph_funcs.h:
4255         * ParagraphParameters.h:
4256         * sgml.h: use lyx::depth_type rather than Paragraph or
4257         ParameterStruct's depth_type.
4258
4259         * buffer.h
4260         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4261
4262         * BufferView.C:
4263         * BufferView_pimpl.C:
4264         * CutAndPaste.C:
4265         * ParagraphParameters.C:
4266         * buffer_funcs.C:
4267         * bufferlist.C:
4268         * bufferview_funcs.C:
4269         * lyx_cb.C:
4270         * lyxfunc.C:
4271         * tabular.C:
4272         * text3.C:
4273         * toc.C:
4274         * undo_funcs.C:
4275         * frontends/LyXView.C:
4276         * frontends/controllers/ControlDocument.C:
4277         * frontends/controllers/ControlErrorList.C:
4278         * insets/insetbibitem.C:
4279         * insets/insetbranch.C:
4280         * insets/insetcaption.C:
4281         * insets/insetcollapsable.C:
4282         * insets/insetenv.C:
4283         * insets/insetert.C:
4284         * insets/insetfloat.C:
4285         * insets/insetfoot.C:
4286         * insets/insetfootlike.C:
4287         * insets/insetnewline.C:
4288         * insets/insetquotes.C:
4289         * insets/insettabular.C:
4290         * insets/insettext.C:
4291         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4292
4293         * frontends/controllers/ControlChanges.C: #include "changes.h".
4294
4295 2003-09-06  Angus Leeming  <leeming@lyx.org>
4296
4297         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4298         than #including paragraph.h.
4299
4300         * ParagraphList.h:
4301         * RowList.h: deleted. Superfluous.
4302
4303         * CutAndPaste.h:
4304         * iterators.h:
4305         * lyxcursor.h:
4306         * lyxtext.h:
4307         * text_funcs.h:
4308         * undo.h:
4309         * undo_funcs.h:
4310         * insets/inset.h:
4311         * insets/insettext.h: use ParagraphList_fwd.h rather than
4312         ParagraphList.h.
4313
4314         * paragraph.h: don't forward declare ParagraphList.
4315
4316         * buffer.h:
4317         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4318         rather than ParagraphList.h. paragraph.h is still needed for the
4319         Paragraph::depth_type parameters.
4320
4321         * textcursor.h: enable it to compile stand-alone in light of the
4322         above changes.
4323
4324         * bufferview_funcs.C:
4325         * iterators.C:
4326         * lyxfunc.C:
4327         * lyxrow_funcs.C:
4328         * paragraph.C:
4329         * rowpainter.C:
4330         * text.C:
4331         * text2.C:
4332         * text3.C:
4333         * text_funcs.C:
4334         * textcursor.C:
4335         * undo.C:
4336         * frontends/controllers/ControlParagraph.C:
4337         * frontends/controllers/ControlTabular.C:
4338         * insets/insetmarginal.C:
4339         * insets/insetminipage.C:
4340         * insets/insetnote.C:
4341         * insets/insetoptarg.C: add header files needed to compile again.
4342
4343 2003-09-06  Angus Leeming  <leeming@lyx.org>
4344
4345         * RowList_fwd.h: new file, forward-declaring Row rather than
4346         #including lyxrow.h.
4347
4348         * lyxrow_funcs.h:
4349         * lyxtext.h:
4350         * paragraph.h:
4351         * insets/insettext.h: use it instead of RowList.h
4352
4353         * bufferview_funcs.C:
4354         * lyxfunc.C:
4355         * lyxrow_funcs.C:
4356         * paragraph.C:
4357         * rowpainter.C:
4358         * text.C:
4359         * text2.C:
4360         * text3.C: #include "RowList.h".
4361
4362 2003-09-05  Angus Leeming  <leeming@lyx.org>
4363
4364         * factory.C (createInset):
4365         * vspace.C (c-tor): replace sscanf call with an istringstream.
4366         * ispell.C: re-add missing HP/UX headers.
4367         * lyxserver.C: re-add missing  os2 headers.
4368
4369 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4370
4371         * BranchList.C:
4372         * graph.C:
4373         * ispell.C:
4374         * lastfiles.C:
4375         * lyx_cb.C:
4376         * lyxserver.C:
4377         * texrow.C:
4378         * text3.C: re-add missing system headers, needed for 2.95.2.
4379
4380 2003-09-05  Angus Leeming  <leeming@lyx.org>
4381
4382         Changes most place everywhere due to the removal of using directives
4383         from support/std_sstream.h.
4384
4385 2003-09-05  Angus Leeming  <leeming@lyx.org>
4386
4387         Replace LString.h with support/std_string.h,
4388         Lsstream.h with support/std_sstream.h,
4389         support/LIstream.h with support/std_istream.h,
4390         support/LOstream.h with support/std_ostream.h.
4391
4392         Changes resulting throughout the tree.
4393
4394 2003-09-05  Angus Leeming  <leeming@lyx.org>
4395
4396         * sgml.h: ensure that the header file can be compiled stand-alone.
4397         * *.C: strip out redundant #includes. (320 in total.)
4398
4399 2003-09-04  Angus Leeming  <leeming@lyx.org>
4400
4401         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4402         here (from getPackages).
4403
4404         * debug.[Ch]: add a new EXTERNAL tag.
4405
4406 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4407
4408         * text2.C (cursorEnd): simplify
4409         (setCursor): adjust
4410         (getColumnNearX): adjust
4411
4412         * text.C (computeBidiTables): adjust
4413         (fill): adjust
4414
4415         * rowpainter.C (paintChars): adjust
4416         (paintSelection): adjust
4417         (paintChangeBar): adjust
4418         (paintText): adjust
4419
4420         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4421         lastPos instead.
4422         (numberOfSeparators): adjust
4423
4424 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4425
4426         * LyXAction.C:
4427         * box.[Ch]:
4428         * lfuns.h:
4429         * lyxfunc.C:
4430         * text3.C: Restricts the mouse click functionality
4431         of insets like bibtex, include, toc and floatlist to the visible
4432         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4433         up the dialogs. Cursor has to be in front of the inset (i.e.
4434         start of row) for this to function.
4435
4436 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4437
4438         * bufferview_funcs.C (currentState): output row information
4439
4440 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4441
4442         * bufferview_funcs.C (currentState): output paragraph position
4443
4444 2003-09-04  Angus Leeming  <leeming@lyx.org>
4445
4446         * FloatList.h: move out #include "Floating.h".
4447         * LaTeX.h: move out #include "DepTable.h".
4448         * LyXAction.h: move out #include "funcrequest.h".
4449         * buffer.h: move out #include "author.h", "iterators.h".
4450         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4451         * lyx_main.h: move out #include "errorlist.h".
4452         * lyxfunc.h: move out #include "FuncStatus.h".
4453         * lyxtext: move out #include "lyxcursor.h".
4454         * paragraph_pimpl.h: move out #include "counters.h".
4455
4456 2003-09-03  Angus Leeming  <leeming@lyx.org>
4457
4458         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4459         preamble_snippets list, enabling us to add snippets to the preamble
4460         only if the snippet was not there already.
4461
4462 2003-09-04  Angus Leeming  <leeming@lyx.org>
4463
4464         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4465
4466 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4469         update
4470
4471 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4472
4473         * BranchList.C: point fix, earlier forgotten
4474
4475 2003-09-02  Angus Leeming  <leeming@lyx.org>
4476
4477         * box.C (contains): renamed from 'contained' after a fantastic
4478         amount of hot air.
4479
4480 2003-09-02  John Levon  <levon@movementarian.org>
4481
4482         * BufferView.C:
4483         * lyxcursor.h:
4484         * lyxcursor.C:
4485         * lyxfunc.C:
4486         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4487
4488 2003-09-02  John Levon  <levon@movementarian.org>
4489
4490         * text2.C: simplification of cursorEnd(), including partial
4491         fix for bug 1376
4492
4493 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * buffer.C (readFile): add a space
4496
4497 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4500
4501 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4502
4503         * buffer.C (readFile): new function, take a filename and a
4504         ParagraphList::iterator
4505         (readFile): adjust
4506         (readFile): adjust, make it private. don't use setStream, make
4507         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4508         always contain the filename.
4509
4510         * BufferView.C (insertLyXFile): simplify and make it work for
4511         gzipped files.
4512
4513 2003-08-30  John Levon  <levon@movementarian.org>
4514
4515         * Makefile.am: fix dist (from Kayvan)
4516
4517 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4518
4519         * most files: change to use const Buffer refs
4520
4521 2003-08-27  André Pönitz  <poenitz@gmx.net>
4522
4523         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4524         on top of ownerPar().
4525
4526 2003-08-27  John Levon  <levon@movementarian.org>
4527
4528         * funcrequest.C: properly initialise POD members
4529
4530 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4531
4532         * lyxtext.h (top_y): move top_y from here
4533         * text.C:
4534         * text2.C:
4535         * text3.C:
4536         * BufferView.[Ch]:
4537         * BufferView_pimpl.[Ch]: to here
4538         * frontends/screen.C:
4539         * insets/insettabular.C:
4540         * insets/insettext.C: adjust
4541         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4542
4543 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4544
4545         * BufferView.[Ch]:
4546         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4547
4548 2003-08-26  André Pönitz  <poenitz@gmx.net>
4549
4550         * paragraph_func.[Ch] (outerPar): new function
4551
4552         * paragraph.C:
4553         * paragraph_funcs.C:
4554         * paragraph_funcs.h:
4555         * paragraph_pimpl.C:
4556         * text2.C: remove Inset::par_owner
4557
4558 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4559
4560         * lyxrow_funcs.C:
4561         * lyxtext.h:
4562         * text.C:
4563         * text2.C: eliminates the needFullRow/display() stuff
4564         altogether, putting the logic in metrics/draw in the insets.
4565
4566 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4567
4568         * text2.C (redoParagraphInternal, redoParagraphs):
4569         * text.C (redoParagraph): add a call to updateRowPositions at the
4570         end of each 'metrics-like' call. Remove all others.
4571         (getRow): remove the 'y-computing' version.
4572         (getRowNearY): do not compute nor return the real y. Solve the
4573         'y < 0' problem and simplify.
4574
4575 2003-08-22  Angus Leeming  <leeming@lyx.org>
4576
4577         * *.[Ch]: clean-up of licence and author blurbs.
4578         Also move config.h out of a few .h files and into a few .C files.
4579
4580 2003-08-22  André Pönitz  <poenitz@gmx.net>
4581
4582         * lyxrow.[Ch]: add x_ and *fill_ members
4583
4584         * lyxtext.h:
4585         * text.C:
4586         * rowpainter.C:
4587         * text2.C: adjust/remove prepareToPrint() calls
4588
4589 2003-08-22  André Pönitz  <poenitz@gmx.net>
4590
4591         * lyxrow.[Ch]: add  end_ member
4592
4593         * lyxrow_funcs.C: use LyXRow::end_
4594
4595         * lyxtext.h (singleWidth): add LyXFont parameter
4596
4597         * rowpainter.C:
4598         * text2.C: adjust LyXText::singleWidth() calls
4599
4600         * text.C (redoParagraph): simplify row breaking logic
4601
4602
4603 2003-08-19  André Pönitz  <poenitz@gmx.net>
4604
4605         * funcrequest.C: initialize button_ member
4606
4607         * text3.C:
4608         * rowpainter.[Ch]: interface consolidation
4609
4610 2003-08-18  André Pönitz  <poenitz@gmx.net>
4611
4612         * BufferView.C:
4613         * BufferView_pimpl.C:
4614         * lyxfind.C:
4615         * paragraph_funcs.C:
4616         * rowpainter.C:
4617         * text3.C: remove LyXScreen::draw() and fitCursor calls
4618
4619         * BranchList.h: remove spurious semicolons
4620
4621         * MenuBackend.C: fix branchlist related crash
4622
4623 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4624
4625         * BranchList.[Ch]:
4626         * InsetList.[Ch]:
4627         * LColor.[Ch]:
4628         * LyXAction.C:
4629         * Makefile.am:
4630         * MenuBackend.[Ch]:
4631         * bufferparams.[Ch]:
4632         * factory.C:
4633         * lfuns.h:
4634         * lyxfunc.C:
4635         * text3.C: implements the 'branch inset'
4636         idea. This allows the output of various versions of a document
4637         from a single source version, selectively outputing or suppressing
4638         output of parts of the text.
4639         This implementation contains a 'branch list editor' in a separate
4640         tab of the document settings dialog. Branches are user definable
4641         and have a "display colour" to distinguish them on-screen.
4642
4643         ColorHandler was somewhat cleaned up.
4644         (1) make possible a dynamically growing LColor list by allowing
4645         the graphic context cache to grow along (vector);
4646         (2) eliminate an IMHO unnecessary step in colour allocation.
4647
4648 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4649
4650         * BufferView_pimpl.C: compile fix
4651
4652 2003-08-15  André Pönitz  <poenitz@gmx.net>
4653
4654         * rowpainter.C: remove extra metrics calls
4655
4656         * lyxtext.h: merge the two constructors into a single one,
4657           pass reference to owner's par list
4658
4659         * BufferView_pimpl.C:
4660         * text.C:
4661         * text2.C: adjust
4662
4663 2003-08-15  André Pönitz  <poenitz@gmx.net>
4664
4665         * lyxrow_funcs.[Ch]:
4666         * lyxtext.h:
4667         * paragraph.h:
4668         * paragraph_funcs.C:
4669         * rowpainter.C:
4670         * text.C:
4671         * text2.C:
4672         * text3.C:
4673         * text_funcs.C: split LyXText::rowlist_ into individual
4674         Paragraph::rows_ chunks
4675
4676         * BufferView.[Ch]:
4677         * BufferView_pimpl.[Ch]:
4678         * lyxfind.C:
4679         * lyxtext.h:
4680         * text3.C: remove toggleSelection()
4681
4682 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4683
4684         * bufferlist.C: beautify two alerts (shorter text of buttons)
4685         * buffer.C: Remove redundant ' ' from message
4686         * tabular.h:
4687         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4688         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4689         rename VALIGN_CENTER to VALIGN_MIDDLE
4690
4691 2003-08-11  André Pönitz  <poenitz@gmx.net>
4692
4693         * lyxtext.h (getPar):
4694         * text.C: new function
4695
4696 2003-08-11  André Pönitz  <poenitz@gmx.net>
4697
4698         * Makefile.am:
4699         * tracer.[Ch]: remove unneeded files
4700
4701         * InsetList.[Ch]: remove resizeInsetsLyXText()
4702
4703         * lyxtext.h:
4704         * text.C:
4705         * text2.C:
4706         * text3.C: merge insertParagraphs() and appendParagraph()
4707         remove breakAgain(), update()
4708
4709         * BufferView_pimpl.[Ch]:
4710         * bufferview_funcs.[Ch]:
4711         * lyxfunc.C:
4712         * paragraph.[Ch]:
4713         * rowpainter.C:
4714         * tabular.C: adjust after text & InsetList changes.
4715
4716 2003-08-08  André Pönitz  <poenitz@gmx.net>
4717
4718         * text.C (insertChar, backspace): replace rowlist fiddling
4719         with rebreak of full par
4720
4721         * lyxtext.h:
4722         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4723         checkParagraph, updateInset): removed
4724
4725 2003-08-07  André Pönitz  <poenitz@gmx.net>
4726
4727         * paragraph.C:
4728         * text3.C: merge some LFUN handlers, remove dead code
4729
4730 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4731
4732         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4733
4734 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4735
4736         * text2.C (DEPM): fix part of bug 1255 and 1256
4737
4738 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4739
4740         * BufferView_pimpl.C (workAreaDispatch): change to use
4741         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4742         that are no mouse related.
4743
4744 2003-08-05  André Pönitz  <poenitz@gmx.net>
4745
4746         * BufferView.[Ch]:
4747         * BufferView_pimpl.[Ch]:
4748         * bufferview_funcs.C:
4749         * text2.C:
4750         * text3.C: rip out "deep update"
4751
4752         * textcursor.[Ch] (last_sel_cursor): remove unused member
4753
4754 2003-08-04  André Pönitz  <poenitz@gmx.net>
4755
4756         * BufferView.[Ch]:
4757         * BufferView_pimpl.[Ch]:
4758         * ParagraphParameters.C:
4759         * bufferview_funcs.C:
4760         * lyx_cb.C:
4761         * lyxfind.C:
4762         * lyxfunc.C:
4763         * text.C:
4764         * text2.C:
4765         * text3.C: replace "complicated" BufferView::update(...) calls with
4766         simpler ones.
4767
4768         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4769
4770 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4771
4772         * Makefile.am (lyx_SOURCES): add paper.h
4773
4774 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4775
4776         * Makefile.am: move things around so that both lyx-qt and
4777         lyx-xforms can be built (according to --with-frontend). Then lyx
4778         is a symbolic link to lyx-[firstfrontend]
4779
4780 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4781
4782         * Always use std::endl with lyxerr
4783
4784 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4785
4786         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4787
4788 2003-08-01  André Pönitz  <poenitz@gmx.net>
4789
4790         * BufferView.[Ch]:
4791         * BufferView_pimpl.[Ch]:
4792         * lyxfunc.C:
4793         * text3.C: merge BufferView::repaint() and BufferView::update()
4794
4795 2003-08-01  José Matos  <jamatos@lyx.org>
4796
4797         * buffer.[Ch]: file_format is no longer a buffer data element.
4798
4799 2003-08-01  André Pönitz  <poenitz@gmx.net>
4800
4801         * BufferView.C:
4802         * lyxtext.h:
4803         * text.C:
4804         * text2.C: make redoParagraph more independent of current cursor
4805
4806         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4807         * text.C:
4808         * text2.C: remove unneeded members
4809
4810 2003-07-30  André Pönitz  <poenitz@gmx.net>
4811
4812         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4813
4814         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4815           create a single function...
4816
4817         * paragraph_funcs.C (moveItem): ... here.
4818
4819         * text.C:
4820           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4821
4822 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4823
4824         * LColor.[Ch]: Add comment and greyedout logical colors.
4825
4826 2003-07-30  André Pönitz  <poenitz@gmx.net>
4827
4828         * tabular.C: don't use Assert too heavily. This crashes where it
4829           shouldn't
4830
4831 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4832
4833         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4834         is disabled (bug 1232)
4835
4836 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4837
4838         * factory.C: limited 'arg' scope
4839
4840 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4841
4842         * factory.C: fixed Note submenu issues
4843
4844 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4845
4846         * factory.C: submenu for Note/Comment/Greyedout
4847
4848 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4849
4850         * lyx_main.C (LyX):
4851         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4852
4853 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4854
4855         * LaTeXFeatures.C:
4856         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4857         greyedout. Patch provided by Jürgen Spitzmüller.
4858
4859 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4860
4861         * kbmap.C (read): fix error message when reading bind files
4862
4863 2003-07-29  Angus Leeming  <leeming@lyx.org>
4864
4865         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4866         certainly does not do what it purports to do. I am doing it, and
4867         us, a favour by killing it.
4868
4869 2003-07-28  José Matos  <jamatos@lyx.org>
4870
4871         * buffer.C (readBody, do_writeFile):
4872         * paragraph.C(readParagraph): \end_document replaces \the_end.
4873
4874 2003-07-29  André Pönitz  <poenitz@gmx.net>
4875
4876         * BufferView.[Ch]:
4877         * BufferView_pimpl.[Ch]:
4878         * lyxfunc.C:
4879         * text2.C:
4880         * text3.C:
4881         * textcursor.[Ch]: remove toggleToggle & Co
4882
4883 2003-07-28  José Matos  <jamatos@fep.up.pt>
4884
4885         * buffer.C (readParagraph):
4886         * params_func (readParToken, readParagraph):
4887         * paragraph.C (write): \layout -> \begin_layout.
4888
4889 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * lyxlex_pimpl.C (setFile): clean up slightly.
4892
4893         * bufferparams.h: add compressed var
4894
4895         * buffer_funcs.C (readFile): adjust for LyXLex change
4896         (newFile): ditto + simplify
4897
4898         * buffer.C (writeFile): handle writing of compressed files
4899
4900         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4901         Check if the file is compressed and set a bufferparm if so.
4902
4903         * Makefile.am (lyx_LDADD): remove explicit -lz
4904
4905 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4906
4907         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4908         makeDocBookFile): put the real LyX version in the first line of
4909         the file
4910
4911         * version.h:
4912         * version.C.in: remove lyx_docversion
4913
4914         * tabular.C (write_attribute): add a template-based version to
4915         write enums properly
4916
4917 2003-07-28  André Pönitz  <poenitz@gmx.net>
4918
4919         * lyxtext.h:
4920         * text.C:
4921         * text2.C:
4922         * text3.C: use doubles again for x-coordinates. They are needed.
4923
4924 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * messages.C (getLocaleDir): use lyx_localedir()
4927
4928         * lyxlex_pimpl.C (setFile): compress stuff
4929
4930         * buffer.C (writeFile): add some compression stuff
4931         (do_writeFile): new func, dont call expliti close... will this
4932         breake anything?
4933
4934         * Makefile.am (lyx_LDADD): add -lz
4935
4936 2003-07-28  José Matos  <jamatos@fep.up.pt>
4937
4938         * buffer.C: increment file format.
4939         * paragraph_funcs (readParagraph, readParToken):
4940         * paragraph.C (readParagraph): add \end_layout.
4941
4942 2003-07-27  Angus Leeming  <leeming@lyx.org>
4943
4944         * Makefile.am: remove special casing for configure-time setting of
4945         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4946
4947         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4948         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4949
4950 2003-07-26  André Pönitz  <poenitz@gmx.net>
4951
4952         * paragraph_func.[Ch]:
4953         * paragraph.C (realizeFont): inline it whereever it is used
4954
4955         * rowpainter.C:
4956         * text.C:
4957         * text2.C:
4958         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4959
4960
4961 2003-07-26  André Pönitz  <poenitz@gmx.net>
4962
4963         *       lyxtext.h:
4964         * text.C:
4965         * text2.C: get rid of LyXText::need_break_row
4966
4967 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * toc.[Ch]: put namespace toc inside namespace lyx
4970
4971         * MenuBackend.C (expandToc2): adjust for lyx::toc
4972         (expandToc): ditto
4973
4974         * lyxfunc.C (dispatch): adjust for lyx::find
4975
4976         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4977         lyx::find instead. Reorganize a bit.
4978         (LyXReplace): rename to replace
4979         (LyXFind): rename to find
4980
4981         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4982         (dispatch): ditto
4983
4984 2003-07-26  André Pönitz  <poenitz@gmx.net>
4985
4986         * text.C (setHeightOfRow): restrict scope of temporary variable
4987
4988         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4989           code (never has been used?)
4990
4991 2003-07-27  Asger Alstrup  <alstrup@local>
4992
4993         * text.C (fill): Optimise algorithm to exploit that we can reuse
4994         the LyXFont for many characters.
4995         (setHeightOfRow): Same thing.
4996         (rowBreakPoint): Same thing.
4997
4998 2003-07-26  Asger Alstrup  <alstrup@local>
4999
5000         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5001
5002         * text.C (singleWidth): Spurious font copying in hot-spot
5003         singleWidth avoided. Reorder tests for arabic for efficiency.
5004
5005         * text.C (fill): handle empty paragraphs better.
5006
5007 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5008
5009         * ispell.C:
5010         * encoding.h: add includes
5011
5012         * lyxrc.C: remove reading of bind files
5013
5014         * lyx_main.C (init): setup bindings and menus only if we have a
5015         gui.
5016
5017         * kbmap.C (read): new method. Do the actual reading of bind
5018         files.
5019
5020         * converter.C (dvipdfm_options):
5021         * bufferparams.C:
5022         * lyxrc.C (read):
5023         (output): adapt PAPER_* enums.
5024
5025         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5026
5027         * bufferparams.h: remove paper-related enums from there
5028
5029         * paper.h: New file. A trivial header file to hold paper-related
5030         enums. It should later expand to contain many paper-related
5031         horrors access.
5032
5033         * lyxrc.C: declare extern displayTranslator
5034
5035 2003-07-27  José Matos  <jamatos@fep.up.pt>
5036
5037         * tabular.[Ch] (linuxdoc): add support for tables and figures
5038         (linuxdoc).
5039
5040 2003-07-27  José Matos  <jamatos@fep.up.pt>
5041
5042         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5043         consistency in both functions.
5044         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5045
5046 2003-07-26  Asger Alstrup  <alstrup@local>
5047
5048         * rowpainter.C (paintRows): Change algorithm to work directly on
5049         the insets rather than asking every character in the document
5050         whether its an inset.
5051
5052 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5053
5054         * buffer.C (openFileWrite): factorize some code
5055
5056 2003-07-26  Angus Leeming  <leeming@lyx.org>
5057
5058         * lyx_cb.C:
5059         * lyx_main.[Ch]: replace occurances of system_tempdir with
5060         os::getTmpDir().
5061
5062 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * rename Inset to InsetOld
5065
5066 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5067
5068         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5069         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5070         which I think is a bit clearer. EDIT is gone, since it was
5071         premature optimisation, and broken for mathed anyway.
5072         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5073         with cursor positioning in insets as well (math insets still do not
5074         work, but that's a different story anyway.) It mysteriously
5075         crashes sometimes with undo in the first paragraph, but I'm fairly
5076         confident that this is a compiler bug.
5077
5078 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * paragraph.C (Paragraph): adjust for new clone return type
5081         (operator==): ditto
5082         (copyIntoMinibuffer): ditto
5083
5084 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5085
5086         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5087         by not having a special case, and always doing a full rebreak of
5088         the document after undo.
5089
5090 2003-07-23  Angus Leeming  <leeming@lyx.org>
5091
5092         * factory.C (createInset): InsetExternal::setParams now takes a
5093         Buffer const * arg.
5094
5095 2003-07-23  Angus Leeming  <leeming@lyx.org>
5096
5097         * factory.C (createInset): changed interface to the external and
5098         graphics mailers' string2params functions.
5099
5100 2003-07-23  Angus Leeming  <leeming@lyx.org>
5101
5102         * factory.C (createInset): pass a
5103         Buffer const * parameter to InsetExternalMailer's string2params.
5104
5105 2003-07-22  John Levon  <levon@movementarian.org>
5106
5107         * Thesaurus.h: include the right aiksaurus header
5108
5109 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5110
5111         * MenuBackend.C (expand): check menu shortcuts unconditionally
5112
5113 2003-07-21  Angus Leeming  <leeming@lyx.org>
5114
5115         * factory.C (createInset): pass a
5116         buffer_path parameter to InsetGraphicsMailer's string2params.
5117
5118 2003-07-21  Angus Leeming  <leeming@lyx.org>
5119
5120         * BufferView_pimpl.C (buffer):
5121         * buffer.C (d-tor):
5122         * lyx_main.C (LyX):
5123         * lyxfunc.C (dispatch):
5124         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5125         rather than the grfx shortcut.
5126
5127 2003-07-21  André Pönitz  <poenitz@gmx.net>
5128
5129         * rowpainter.C: remove unused variables
5130
5131         * tabular_funcs.C:
5132         * tabular_funcs.h: move to tabular.C
5133         * Makefile.am: adjust
5134
5135         * tabular.[Ch]: basic optical cleaning
5136
5137         * author.h: pass references, not values
5138
5139 2003-07-18  André Pönitz  <poenitz@gmx.net>
5140
5141         * lyxtext.h:
5142         * metricsinfo.C:
5143         * metricsinfo.h:
5144         * rowpainter.C:
5145         * text.C:
5146         * text2.C:
5147         * text3.C: two-phase drawing for InsetText and InsetTabular
5148         some float -> int changes.
5149
5150 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5151
5152         * lyx_main.C: fix the fix
5153
5154 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5155
5156         * lyx_main.C: fix a crash in batch mode if no files specified
5157         * converter.C: ws
5158
5159 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * format.[Ch] (papersize): moved to BufferParams
5162         * converter.[Ch] (dvips_options): moved to BufferParams
5163         (dvipdfm_options): moved to anon namespace
5164         * bufferparams.[Ch]: added above functions.
5165
5166 2003-07-17  André Pönitz  <poenitz@gmx.net>
5167
5168         * lyxtext.h:
5169         * rowpainter.C:
5170         * text2.C: don't call inset->update() anymore
5171
5172         * metricsinfo.[Ch]: add convenience constructor
5173
5174 2003-07-16  André Pönitz  <poenitz@gmx.net>
5175
5176         * lyxcursor.[Ch]:
5177         * lyxfunc.[Ch]:
5178         * text.C:
5179         * text2.C: replace the LyXCursor::irow_ member with
5180          on-demand computation of the value
5181
5182 2003-07-16  John Levon  <levon@movementarian.org>
5183
5184         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5185
5186 2003-07-15  André Pönitz  <poenitz@gmx.net>
5187
5188         * text.C:
5189         * text2.C: remove no more needed refresh_row
5190
5191 2003-07-15  André Pönitz  <poenitz@gmx.net>
5192
5193         * lyxtext.h:
5194         * rowpainter.C:
5195         * text2.C:
5196         * text3.C: refresh_status tristate -> need_update bool
5197
5198 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5199
5200         * lyxtext.h (init): remove reinit argument (act as if always true)
5201         * text2.C: adjust to that
5202
5203 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5204
5205         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5206         * text3.C: use it to delete selections in some cases
5207         (bugs 441, 673, 702, 954).
5208
5209 2003-07-14  André Pönitz  <poenitz@gmx.net>
5210
5211         * rowpainter.[Ch]: reduce interface
5212
5213 2003-07-14  André Pönitz  <poenitz@gmx.net>
5214
5215         * BufferView_pimpl.C:
5216         * text2.C: adjust after removing unused BufferView * argument
5217
5218 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5219
5220         * text2.C (init): fix a crash fired on resize
5221
5222 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5223
5224         * buffer.[Ch]: added new closing signal
5225         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5226         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5227         BufferView::Pimpl via the closing the signal
5228
5229 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5230
5231         * buffer.[Ch]: take out all bv-related from buffer
5232         * BufferView.C:
5233         * BufferView_pimpl.[Ch]: connect to new signals
5234         * CutAndPaste.C: removed useless asserts
5235         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5236         * lyxvc.[Ch]:
5237         * vc-backend.[Ch]:
5238         * lyxfunc.C: moved view-related funciontality from vc here
5239         * paragraph.C: removed outdated comments
5240         * text.C: ws
5241
5242 2003-07-10  André Pönitz  <poenitz@gmx.net>
5243
5244         * BufferView_pimpl.C:
5245         * tabular.h:
5246         * tabular_funcs.C:
5247         * text.C:
5248         * text2.C: remove InsetText::InnerCache, clean up consequences
5249
5250 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5251
5252         * ispell.C: fix two typos in error messages
5253
5254 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5255
5256         * Extend Note inset to other forms of annotation like Comment
5257         and Greyedout. Right button click gives dialog.
5258
5259         Files modified or added (+):
5260
5261         * insetnote.[Ch]
5262         * FormNote.[Ch]      +
5263         * ControlNote.[Ch]   +
5264         * form_note.fd       +
5265         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5266         frontends/controllers
5267         * xforms/Dialogs.C
5268         * factory.C
5269
5270 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5271
5272         * aspell.C: add missing namespace lyx::support
5273
5274 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5275
5276         * BufferView.[Ch] (newFile): Add
5277         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5278         * LaTeX.[Ch] (message): added this signal and use it
5279         * buffer.[Ch] (busy, message): added these signals and use them
5280         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5281         * converter.C:
5282         * exporter.C:
5283         * format.C:
5284         * importer.C: use buffer signals instead of direct bv calling
5285         * lyx_cb.[Ch] (ShowMessage): removed
5286         * lyx_main.C:
5287         * lyxfunc.C:
5288         * paragraph_funcs.C:
5289         * text2.C: use buffer signals
5290
5291 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * introduce namespace lyx::graphics
5294
5295 2003-07-02  André Pönitz  <poenitz@gmx.net>
5296
5297         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5298
5299 2003-07-01  André Pönitz  <poenitz@gmx.net>
5300
5301         * text.C:
5302         * text2.C:
5303         * text3.C:
5304         * text_funcs.[Ch]:
5305         * textcursor.h:
5306         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5307           text*.C to text_func.C
5308
5309 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * introduce namespace lyx::support
5312
5313 2003-06-30  André Pönitz  <poenitz@gmx.net>
5314
5315         * Chktex.C:
5316         * funcrequest.C:
5317         * lyxtext.h:
5318         * text.C: re-enable --with-included-string
5319
5320 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * textcursor.C: add <config.h>
5323
5324         * text.C (getWord): remove const from word_location arg
5325
5326         * lyxvc.C (getLogFile): fix const type order
5327
5328         * lyxtext.h: remove const from word_location arg, add arg name
5329
5330         * lyxlayout.h: currect type on labeltype.
5331
5332         * importer.C: correct \file
5333
5334         * converter.C (intToFormat): use std:: on ret val, ws changes
5335
5336         * bufferlist.h: correct \file
5337
5338         * buffer.C (makeLinuxDocFile): fix const type order
5339         (makeDocBookFile): ditto
5340         (fillWithBibKeys): use std:: on stdlib args.
5341
5342         * CutAndPaste.C: fix authors.
5343         (availableSelections): use std:: on return vector
5344
5345 2003-06-27  André Pönitz  <poenitz@gmx.net>
5346
5347         * BufferView_pimpl.C:
5348         * bufferview_funcs.C:
5349         * lyxcursor.C:
5350         * lyxcursor.h:
5351         * lyxfunc.C:
5352         * lyxtext.h:
5353         * rowpainter.C:
5354         * text.C:
5355         * text2.C:
5356         * text3.C: remove LyXCursor::row_ member
5357
5358         * lyxtext.h:
5359         * text.C: rename fullRebreak() to partialRebreak() and implement
5360           a fullRebreak() that really bereks fully
5361
5362         * textcursor.h: new struct for cursor-related data
5363
5364 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5365
5366         * lyx_main.C (LyX): get full path of document loaded on the
5367         command line
5368
5369 2003-06-26  André Pönitz  <poenitz@gmx.net>
5370
5371         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5372           remove unused/broken operator>,<,>=.
5373
5374         *       text.C: remove only use of broken operator<= in an Assert().
5375
5376 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5377
5378         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5379         moved errorlist_.clear to showErrorList
5380
5381 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5382
5383         * converter.C (scanLog, runLaTeX):
5384         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5385         move the bv->showErrorList call to the callers
5386         * lyxfunc.C: i.e. here...
5387         * text2.C: and here
5388         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5389         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5390         namespace, the second to...
5391         * buffer_funcs (BufferFormat, parseErrors): added
5392         * errorlist.C (ErrorList(TeXErrors const &)): removed
5393
5394 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5395
5396         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5397
5398 2003-06-24  "Garst R. Reese" <reese@isn.net>
5399
5400         * debug.C: fix typo
5401
5402 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5403
5404         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5405
5406         * version.C.in: change docversion to 1.4
5407
5408 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5409
5410         * buffer.C: fix a bug just introduced
5411
5412 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5413
5414         * buffer.[Ch]: added the parseError signal and use it, removed
5415         sgmlError
5416         * BufferView.[Ch] (addError): moved to ...
5417         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5418         to the Buffer::parseError signal to catch (guess what) parse errors
5419         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5420
5421 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5422
5423         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5424         ability to create a buffer and to return an existing one from
5425         the list. Moved these functions to...
5426         * buffer_funcs.[Ch]: added
5427         * BufferView.[Ch] (loadLyXFile): added
5428         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5429         job removed from bufferlist::loadLyXFile.
5430         * buffer.C (setReadOnly): make it work without view
5431         (i.e added an if (users))
5432
5433 2003-06-19  Angus Leeming  <leeming@lyx.org>
5434
5435         * lfuns.h:
5436         * LyXAction.C (init):
5437         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5438         with LFUN_DIALOG_SHOW <name> <data>.
5439
5440 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5441
5442         * CutAndPaste.C (availableSelections): small compilation fix for
5443         ancient (gcc 2.9x) compilers
5444
5445 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * text3.C (cursorNext): add tmp var
5448
5449         * text2.C (updateCounters): for function calling out of for clause
5450         (replaceSelectionWithString): ditto
5451         (insertStringAsParagraphs): ditto
5452         (getColumnNearX): add tmp var
5453         (setCursorFromCoordinates): add tmp var
5454         (cursorDownParagraph): add tmp var
5455         (deleteEmptyParagraphMechanism): add tmp var
5456
5457         * text.C (insertChar): add tmp var
5458
5459         * rowpainter.C (paintDepthBar): add tmp var
5460
5461         * CutAndPaste.C (availableSelections): potentially check all
5462         paragraphs in a cut to fill the shown strings.
5463
5464 2003-06-18  André Pönitz  <poenitz@gmx.net>
5465
5466         * kbmap.[Ch]: use vector<> instead of list<>
5467
5468 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5469
5470         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5471         pasteSelection with index
5472
5473         * text2.C (pasteSelection): modify, call pasteSelection with index
5474
5475         * paragraph.C (asString): reimplement version with no interval to
5476         call the one with interval.
5477
5478         * lyxtext.h: add index arg to pasteSelection
5479
5480         * MenuBackend.C (MenuItem): handle PasteRecent
5481         (Menu::read::Menutags): add md_pasterecent
5482         (read): handle it
5483         (expandPasteRecent): new function
5484         (expand): use it
5485
5486         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5487
5488         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5489         the limited stack
5490         (availableSelections): new function
5491
5492 2003-06-17  Angus Leeming  <leeming@lyx.org>
5493
5494         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5495
5496 2003-06-17  Angus Leeming  <leeming@lyx.org>
5497
5498         * lfuns.h:
5499         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5500
5501         * lyxfunc.C (dispatch): invoke it.
5502
5503 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5504
5505         * iterators.C (operator++, ParPosition): reintroduce some
5506         const_cast for the benefit of older compilers.
5507
5508 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5509
5510         * text3.C (dispatch): do not modify clipboard when doing
5511         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5512         LFUN_DELETE_SKIP on a selection selection
5513
5514 2003-06-16  André Pönitz  <poenitz@gmx.net>
5515
5516         * BufferView.C:
5517         * buffer.C:
5518         * buffer.h:
5519         * paragraph.C:
5520         * tabular.[Ch]: IU of clone() and getLabelList();
5521
5522 2003-06-13  André Pönitz  <poenitz@gmx.net>
5523
5524         * tabular.h: compactification
5525
5526 2003-06-12  André Pönitz  <poenitz@gmx.net>
5527
5528         * tabular.C:
5529         * tabular.h:
5530         * tabular_funcs.h: some renaming plus whitespace
5531
5532 2003-06-12  André Pönitz  <poenitz@gmx.net>
5533
5534         * BufferView.C:
5535         * BufferView_pimpl.C:
5536         * CutAndPaste.C:
5537         * buffer.C:
5538         * iterators.[Ch]:
5539         * lyxfunc.C:
5540         * text.C:
5541         * toc.C: Return a Paragraph & for ParIterator::operator*()
5542
5543 2003-06-11  John Levon  <levon@movementarian.org>
5544
5545         * lyx_main.C:
5546         * ToolbarBackend.h:
5547         * ToolbarBackend.C: add "Toolbars" section and
5548         put the flags there
5549
5550 2003-06-10  Angus Leeming  <leeming@lyx.org>
5551
5552         * lfuns.h:
5553         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5554
5555         * lyxfunc.C (dispatch): invoke it.
5556
5557 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * main.C: protect <ios> with HAVE_IOS
5560         (main): protect sync_with_stdio with HAVE_IOS
5561
5562 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5563
5564         * text2.C (cutSelection): adjust
5565         (pasteSelection): adjust
5566
5567         * messages.C: handle get of empty string
5568
5569         * main.C (main): use sync_with_stdio(false)
5570
5571         * lyxfunc.C (dispatch): adjust
5572
5573         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5574         (WriteAs): remove unneeded BufferView arg.
5575
5576         * bufferparams.h: use correct types on papersize, papersize2 and
5577         paperpackage.
5578
5579         * bufferparams.C (readToken): adjust for type
5580         (writeLaTeX): add missing cases to switch.
5581
5582         * bufferlist.C (quitWriteBuffer): adjust
5583         (close): adjust
5584
5585         * buffer.C (asciiParagraph): remove some commented code.
5586
5587         * CutAndPaste.C: remove current_view extern variable.
5588         (cutSelection): add BufferParams arg.
5589         (eraseSelection): add BufferParams arg.
5590         (pasteSelection): add Buffer const & arg
5591
5592 2003-06-07  John Levon  <levon@movementarian.org>
5593
5594         * buffer.C:
5595         * paragraph_funcs.C:
5596         * paragraph_pimpl.C:
5597         * text.C:
5598         * text2.C:
5599         * paragraph.h:
5600         * paragraph.C: allow InsetERT to freely space lines,
5601         and some consolidation of code
5602
5603 2003-06-06  José Matos  <jamatos@fep.up.pt>
5604
5605         * buffer.C (makeDocBookFile): fix bug #821
5606
5607 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5608
5609         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5610
5611 2003-06-04  Angus Leeming  <leeming@lyx.org>
5612
5613         * buffer.C: bump format to 224.
5614
5615 2003-06-05  André Pönitz  <poenitz@gmx.net>
5616
5617         * text2.C (redoParagraphs): remove two const_cast<>
5618
5619 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5620
5621         * ParagraphList.h: remove last remnants of NO_STD_LIST
5622
5623 2003-06-03  Angus Leeming  <leeming@lyx.org>
5624
5625         * factory.C (createInset): small change to the way InsetExternal's params
5626         are set.
5627
5628 2003-06-04  André Pönitz  <poenitz@gmx.net>
5629
5630         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5631
5632         * paragraph_pimpl.h:
5633         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5634
5635         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5636
5637         * undo_funcs.C: make some simple cases of undo work again
5638
5639 2003-06-03  John Levon  <levon@movementarian.org>
5640
5641         * ispell.C: HPUX doesn't have sys/select.h
5642         (from Albert Chin)
5643
5644 2003-06-03  John Levon  <levon@movementarian.org>
5645
5646         * CutAndPaste.C: update tabular and include inset
5647         buffer references
5648
5649         * buffer.h:
5650         * paragraph.h:
5651         * paragraph.C: remove owningBuffer(), don't pass Buffer
5652         to clone()
5653
5654         * factory.C: insetGraphicsParams changed
5655
5656 2003-06-02  John Levon  <levon@movementarian.org>
5657
5658         * LyXAction.C:
5659         * factory.C:
5660         * lfuns.h:
5661         * lyxfunc.C:
5662         * text3.C: remove insetparent
5663
5664 2003-06-02  John Levon  <levon@movementarian.org>
5665
5666         * buffer.h:
5667         * buffer.C: fix inset_iterator.end(), move out of line
5668         (bug 1149)
5669
5670 2003-06-01  John Levon  <levon@movementarian.org>
5671
5672         * text3.C: use a proper cut/paste when doing inset
5673         insert (from Jürgen Spitzmüller)
5674
5675 2003-06-01  John Levon  <levon@movementarian.org>
5676
5677         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5678
5679 2003-05-30  André Pönitz  <poenitz@gmx.net>
5680
5681         * rowpainter.C: unify second drawing phase
5682
5683 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5684
5685         * trans_mgr.C: remove one case of current_view
5686
5687         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5688
5689         * paragraph_funcs.h: remove paragraph.h include
5690
5691         * paragraph.h: delete NO_STD_LIST stuff
5692
5693         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5694
5695         * buffer.h: remove paragraph.h include
5696
5697         * ParagraphList.C: delete file
5698
5699         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5700
5701         * toc.C (getTocList): adjust
5702
5703         * paragraph_pimpl.C (validate): adjust
5704
5705         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5706
5707         * paragraph.C (Paragraph): adjust
5708         (getPositionOfInset): use const_iterator, adjust
5709         (bibitem): use const_iterator, adjust
5710         (setInsetOwner): adjust
5711
5712         * iterators.C (operator++): adjust
5713
5714         * InsetList.[Ch]: Replace selfmade iterator with standard
5715         vector::iterator also introduce const_iterator. Remove getPos,
5716         getInset and setInset from InsetTable. Adjust accordingly.
5717
5718         * BufferView.C (lockInset): adjust
5719         (ChangeInsets): adjust
5720
5721         * tabular.[Ch]: delete commented same_id functions
5722
5723 2003-05-28  John Levon  <levon@movementarian.org>
5724
5725         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5726
5727 2003-05-28  André Pönitz  <poenitz@gmx.net>
5728
5729         * metricsinfo.[Ch]: remove 'fullredraw' member
5730
5731 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5732
5733         * lyxtextclass.C (operator): remove caching.
5734
5735 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5736
5737         * text3.C: adjust
5738
5739         * text2.C (cursorBottom): adjust
5740         (setCounter): use ParagraphList::find, adjust
5741
5742         * text.C (workWidth): use ParagraphList::find, adjust
5743
5744         * lyxcursor.C (LyXCursor): adjust
5745
5746         * buffer.C (inset_iterator): adjust
5747
5748         * ParagraphList.h: make iterator(value_type) private, make
5749         ParagraphList a friend of iterator.
5750
5751         * ParagraphList.C (find): new function
5752
5753         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5754
5755 2003-05-27  André Pönitz  <poenitz@gmx.net>
5756
5757         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5758
5759 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5760
5761         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5762
5763 2003-05-26  John Levon  <levon@movementarian.org>
5764
5765         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5766
5767 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5768
5769         * remove same_id from function signatures, adjust.
5770
5771 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5772
5773         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5774
5775         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5776
5777         * paragraph.C (Paragraph): get rid of same_ids parameter
5778
5779         * ParagraphList.C (insert): adjust
5780         (push_back): adjust
5781
5782 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * paragraph_funcs.C (breakParagraph): adjust
5785         (breakParagraphConservative): adjust
5786
5787         * buffer.C (readParagraph): adjust
5788
5789         * ParagraphList.C (insert): take a reference instead of a pointer
5790         (insert): adjust
5791
5792         * paragraph.[Ch] (id): new function
5793
5794         * bufferlist.C (newFile): adjust
5795
5796         * ParagraphList.C (ParagraphList): adjust
5797         (assign): adjust
5798         (push_back): take a reference instead of a pointer.
5799
5800         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5801
5802         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5803         instead.
5804
5805         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5806         set else use old code.
5807
5808         * ParagraphList.C: remove all NO_NEXT code and only compile this
5809         code of NO_STD_LIST is set.
5810
5811 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5812
5813         * BufferView_pimpl.C:
5814         * TextCache.C:
5815         * TextCache.h:
5816         * bufferlist.C:
5817         * errorlist.h:
5818         * format.C:
5819         * format.h:
5820         * graph.C:
5821         * lyxfunc.C:
5822         * lyxrc.C:
5823         * graphics/GraphicsConverter.C:
5824         * graphics/PreviewLoader.C: header adjustment
5825
5826 2003-05-23  Angus Leeming  <leeming@lyx.org>
5827
5828         * LaTeXFeatures.[Ch] (useBabel): new method.
5829         * bufferparams.C (writeLaTeX): use it.
5830
5831 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5832
5833         * ParagraphList.h (set): remove unused function.
5834
5835 2003-05-23  André Pönitz  <poenitz@gmx.net>
5836
5837         * BufferView.C:
5838         * BufferView_pimpl.C:
5839         * buffer.C:
5840         * buffer.h:
5841         * lyxfunc.C:
5842         * undo_funcs.C: setUndo reworked
5843
5844         * iterators.[Ch]: add access to topmost ParagraphList
5845
5846         * lyxtext.[Ch] (workWidth): add a const
5847
5848 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * texrow.[Ch] (increasePos): remove function
5851         * exporter.C (export): removed unused var and outdated comment
5852
5853 2003-05-23  Angus Leeming  <leeming@lyx.org>
5854
5855         * latexrunparams.h: rename fragile as moving_arg.
5856         * paragraph.C (simpleTeXOnePar): ditto.
5857         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5858
5859 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5862         (createUndo): ditto
5863         (textUndoOrRedo): comment out a currently unused var.
5864
5865         * paragraph.h (NO_NEXT): enable NO_NEXT
5866
5867         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5868
5869         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5870
5871         * exporter.C (Export): adjust for removeAutoInsets removal.
5872
5873         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5874
5875         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5876
5877         * BufferView.[Ch] (removeAutoInsets): delete function
5878
5879 2003-05-22  Angus Leeming  <leeming@lyx.org>
5880
5881         * latexrunparams.h: add a free_spacing variable.
5882
5883         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5884         to pass moving_arg, as the data is stored in runparams.fragile.
5885
5886         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5887         to Inset::latexOptional or to simpleTeXOnePar.
5888
5889         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5890         free_spacing arg to Inset::latexOptional.
5891
5892         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5893         free_spacing arg.
5894
5895 2003-05-22  Angus Leeming  <leeming@lyx.org>
5896
5897         * latexrunparams.h: add fragile and use_babel variables.
5898
5899         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5900         * buffer.C (makeLaTeXFile): store this returned value in
5901         runparams.use_babel, thus passing it to the inset::latex methods.
5902
5903         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5904         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5905
5906         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5907         longer has a fragile arg, as it is stored in runparams.fragile.
5908
5909         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5910         moving_arg parameter as the data is stored in runparams.fragile.
5911
5912         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5913         a fragile parameter as the data is stored in runparams.fragile.
5914
5915 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5918
5919 2003-05-22  Angus Leeming  <leeming@lyx.org>
5920
5921         * latexrunparams.h: add a 'bool nice' which defaults to false.
5922
5923         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5924         now encapsulated within runparams.
5925
5926         * bufferlist.C (updateIncludedTeXfiles):
5927         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5928
5929 2003-05-22  Angus Leeming  <leeming@lyx.org>
5930
5931         * latexrunparams.h: new file containing struct LatexRunParams.
5932         * Makefile.am: add new file.
5933
5934         * LaTeX.[Ch] (c-tor, run):
5935         * buffer.[Ch] (makeLaTeXFile):
5936         * bufferlist.[Ch] (updateIncludedTeXfiles):
5937         * converter.C (convert, scanLog):
5938         * converter.[Ch] (runLaTeX):
5939         * exporter.C (Export):
5940         * paragraph.[Ch] (simpleTeXOnePar):
5941         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5942         * paragraph_funcs.[Ch] (latexParagraphs):
5943         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5944         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5945         pass around a LatexRunParams parameter.
5946
5947 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5948
5949         * paragraph.[Ch]: remove unused constructor
5950
5951         * ParagraphList.C (erase): new function, taking two iterators
5952
5953 2003-05-22  André Pönitz  <poenitz@gmx.net>
5954
5955         * undo_funcs.C: remove duplicated code
5956
5957         * iterator.[Ch]: operator=
5958
5959 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * tabular.C (SetMultiColumn): ws changes
5962
5963         * rowpainter.C (paintFirst): get rid of a ->previous
5964
5965         * lyx_cb.C (getPossibleLabel): parlist simplification
5966
5967         * BufferView.C (ChangeInsets): simplify slightly.
5968
5969 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5970
5971         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5972         * lfuns.h: new LFUN_SPACE
5973         * lyxfunc.C: protected space has a new lfun
5974         * paragraph_funcs.C: read new space insets
5975         * text3.C:
5976         * factory.C: handle new space insets
5977
5978 2003-05-22  André Pönitz  <poenitz@gmx.net>
5979
5980         * BufferView.C:
5981         * BufferView_pimpl.C:
5982         * buffer.[Ch]:
5983         * lyxfunc.C:
5984         * undo_funcs.C: return a ParIterator from getParFromID.
5985
5986         * iterators.[Ch]: add two const's
5987
5988 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * toc.C (getTocList): adjust
5991
5992         * iterators.[Ch]: rework for parlist
5993
5994         * buffer.C (par_iterator_begin): adjust
5995         (par_iterator_end): adjust
5996
5997         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5998
5999         * BufferView.C (removeAutoInsets): adjust
6000         (ChangeInsets): adjust
6001
6002 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6003
6004         * text.C (top_y): fix bug 1110
6005
6006 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6007
6008         * errorlist.[Ch]: added
6009         * buffer.C:
6010         * BufferView.[Ch]:
6011         * BufferView_pimpl.C:
6012         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6013         instead
6014
6015 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * Makefile.am: ensure that lyx is relinked upon changes to the
6018         various "convenience" libs.
6019
6020 2003-05-20  Angus Leeming  <leeming@lyx.org>
6021
6022         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6023         files are compiled in alphabetical order again.
6024
6025         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6026
6027 2003-05-19  Angus Leeming  <leeming@lyx.org>
6028
6029         * gettext.[Ch]: remove "char const * _(char const *)".
6030
6031 2003-05-19  André Pönitz  <poenitz@gmx.net>
6032
6033         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6034
6035         * Makefile.am:
6036         * BufferView.C:
6037         * DepTable.h:
6038         * LaTeXFeatures.C:
6039         * buffer.C:
6040         * lyxfont.C:
6041         * lyxlex.h:
6042         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6043
6044 2003-05-19  André Pönitz  <poenitz@gmx.net>
6045
6046         * buffer.C:
6047         * lyxlayout.[Ch]:
6048         * lyxtextclass.[Ch]:
6049         * paragraph.C:
6050         * paragraph_funcs.[Ch]:
6051         * text2.C:
6052         * text3.C: more insetenv work
6053
6054 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6055
6056         * ParagraphParameters.C (params2string): small bug fixed
6057
6058 2003-05-16  André Pönitz  <poenitz@gmx.net>
6059
6060         * debug.C:
6061         * bufferview_funcs.C: patch from Kornel Benko to prevent
6062           crash when _(...) is called twice in a statement
6063
6064 2003-05-16  André Pönitz  <poenitz@gmx.net>
6065
6066         * BufferView.C:
6067         * lyxfunc.C:
6068         * text.C:
6069         * text2.C:
6070         * text3.C:
6071         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6072
6073 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6074
6075         * lyx_main.C (init): remove spurious static_cast
6076
6077 2003-05-14  André Pönitz  <poenitz@gmx.net>
6078
6079         * BufferView.C: fix format string
6080
6081 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6082
6083         * BufferView.[Ch] (insertErrors): removed
6084         * BufferView.[Ch] (showErrorList): added
6085         * buffer.C (runChkTeX):
6086         * converter.C (scanLog): call showErrorList instead of inserterrors
6087
6088 2003-05-13  André Pönitz  <poenitz@gmx.net>
6089
6090         * BufferView_pimpl.C:
6091         * buffer.C:
6092         * bufferview_func.C:
6093         * MenuBackend.C:
6094         * lyxfunc.C:
6095         * lyxrc.C:
6096         * tex-accent.C:
6097         * text3.C:
6098         * toc.C:
6099         * tabular_funcs.h: tostr() from its own header
6100
6101         * ParagraphParameters.C:
6102         * ToolbarBackend.C:
6103         * bufferparams.C:
6104         * format.C:
6105         * lyxlex_pimpl.C:
6106         * text3.C: STRCONV()
6107
6108 2003-05-12  André Pönitz  <poenitz@gmx.net>
6109
6110         * BufferView.C:
6111         * BufferView_pimpl.C:
6112         * CutAndPaste.C:
6113         * LaTeX.C:
6114         * LaTeXFeatures.C:
6115         * ParagraphParameters.C:
6116         * buffer.C:
6117         * bufferlist.C:
6118         * bufferparams.C:
6119         * bufferview_funcs.C:
6120         * converter.C:
6121         * counters.C:
6122         * debug.C:
6123         * exporter.C:
6124         * format.C:
6125         * importer.C:
6126         * lyx_cb.C:
6127         * lyx_main.C:
6128         * lyxfont.C:
6129         * lyxfunc.C:
6130         * lyxvc.C:
6131         * paragraph.C:
6132         * paragraph_funcs.C:
6133         * tabular.C:
6134         * tabular_funcs.C:
6135         * text2.C:
6136         * text3.C:  boost::format -> bformat  all over the place
6137
6138
6139 2003-05-09  André Pönitz  <poenitz@gmx.net>
6140
6141         * LColor.[Ch]: Pimpl the #include <map> away
6142
6143 2003-05-09  John Levon  <levon@movementarian.org>
6144
6145         * bufferlist.C: never remove emergency saves
6146
6147 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * Makefile.am: better lib building
6150
6151 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6154         instead.
6155         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6156         (simpleTeXSpecialChars): adjust
6157         (simpleTeXSpecialChars): adjust
6158         * paragraph.C (simpleTeXOnePar): adjust
6159         * buffer.C (makeLaTeXFile): adjust
6160
6161         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6162
6163         * text2.C (changeDepth): parlist cleanup
6164         (getColumnNearX): ditto
6165
6166         * rowpainter.C (getLabelFont): parlist cleanup
6167
6168         * bufferlist.C (newFile): parlist cleanup
6169
6170         * CutAndPaste.C (eraseSelection): parlist cleanup
6171
6172         * BufferView_pimpl.C (trackChanges): parlist cleanup
6173         (dispatch): ditto
6174
6175         * BufferView.C (lockInset): parlist cleanup.
6176         (ChangeInsets): ditto
6177
6178 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6179
6180         * CutAndPaste.h: Update file header.
6181
6182         * CutAndPaste.C: Update file header.
6183         Store the parts cut out of the Document in a limited_stack.
6184         (copySelection): adjust
6185         (pasteSelection): new function, takes the index in the limited stack.
6186         (nrOfParagraphs): adjust
6187         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6188         simplify error inset insertion.
6189         (checkPastePossible): adjust
6190
6191 2003-05-06  John Levon  <levon@movementarian.org>
6192
6193         * text2.C: don't cast wrap inset to float
6194
6195 2003-05-05  André Pönitz  <poenitz@gmx.net>
6196
6197         * iterator.C:
6198         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6199
6200         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6201           few naked Paragraph *.
6202
6203 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6204
6205         * bufferparams.C: Output warning if a document with missing
6206         TeX document class is loaded
6207         * exporter.C: Disable TeX exports if the document class is missing
6208         * lyxtextclass.C:
6209         * lyxtextclass.h:
6210         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6211         isTeXClassAvailable()
6212
6213 2003-05-03  John Levon  <levon@movementarian.org>
6214
6215         * BufferView.h:
6216         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6217         explicit cursor show/hide
6218
6219         * BufferView_pimpl.h:
6220         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6221         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6222
6223         * lyxfunc.C: hide cursor before dispatching.
6224
6225         * lyx_cb.C:
6226         * lyxfind.C:
6227         * text.C:
6228         * text3.C: remove explicit cursor hides
6229
6230 2003-05-02  André Pönitz  <poenitz@gmx.net>
6231
6232         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6233
6234         * undo_funcs.C:
6235         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6236           linked lists
6237
6238         * text2.C: tiny whitespace
6239
6240 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6241
6242         * undo_funcs.C: almost only ws changes.
6243
6244         * ParagraphList.C (splice): just return if pl is empty.
6245
6246 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * ParagraphList.C (splice): new function.
6249
6250         * CutAndPaste.C (pasteSelection): use it
6251
6252 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * CutAndPaste.C (pasteSelection): remove the last next and
6255         previous from this file.
6256
6257 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6258
6259         * CutAndPaste.C (pasteSelection): more clean up, user proper
6260         ParagraphList functions for pasteing.
6261
6262         * ParagraphList.C (insert): new function, three arg insert
6263
6264 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * ParagraphList.C (insert): new function, three arg insert
6267
6268         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6269         not on paragraphs.
6270
6271 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6274
6275 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6276
6277         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6278
6279 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6280
6281         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6282         (copySelection): clean up a bit.
6283         (pasteSelection): use make_pair
6284
6285         * ParagraphList.C (ParagraphList): implement copy constructor
6286         (operator=): implement, base on copy constructor.
6287         (assign): new func
6288
6289         * paragraph.C (erase): return a bool
6290
6291         * paragraph_pimpl.C (erasePos): remove function, move contents...
6292         (erase): ... here. Return a bool.
6293         (erase): call erase instead of erasePos.
6294
6295 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6296
6297         * ParagraphList.h: define PitPosPair
6298         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6299         ParagraphList, fix a bug on pasting multiple pars
6300         * text2.C: change interface to C&P
6301
6302 2003-04-30  André Pönitz  <poenitz@gmx.net>
6303
6304         * undo_func.C: revert part of yesterday's patch 2
6305
6306 2003-04-30  John Levon  <levon@movementarian.org>
6307
6308         * LColor.C: s/tabular/table/
6309
6310 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * text3.C (dispatch): do not convert iterator -> pointer
6313         * undo_funcs.C (setCursorParUndo): ditto
6314         * text_funcs.C (transposeChars): ditto
6315
6316         * text2.C (setLayout): ws changes only
6317
6318         * text.C (breakParagraph): do not convert iterator -> pointer
6319         (insertChar): ditto
6320         (acceptChange): ditto
6321         (rejectChange): ditto
6322         (changeCase): ditto
6323         (Delete): ditto
6324         (backspace): ditto
6325
6326         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6327         pointer
6328
6329 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6330
6331         * text3.C (gotoInset): YABG (yet another bad getChar)
6332
6333 2003-04-29  André Pönitz  <poenitz@gmx.net>
6334
6335         * paragraph.h: make operator= private unimplemented as long as
6336           it is unusable
6337
6338         * ParagraphList.C: whitespace
6339
6340         * paragraph.[Ch]:
6341         * paragraph_pimpl.[Ch]:
6342         * paragraph_funcs.C:
6343         * CutAndPaste.C:
6344         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6345
6346         * text2.C:
6347           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6348
6349 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6350
6351         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6352         * paragraph.[Ch] (erase):
6353         * paragraph_pimpl.[Ch] (erase): change return type and value
6354         * text2.C (cutSelection): some rework
6355
6356 2003-04-28  John Levon  <levon@movementarian.org>
6357
6358         * bufferlist.C: changes for unsaved changes dialog
6359
6360 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6361
6362         * bufferlist.C (newFile): set language (messages_) for new
6363         documents also.
6364
6365         * buffer.C (readFile): ws changes only.
6366
6367 2003-04-28  André Pönitz  <poenitz@gmx.net>
6368
6369         * undo_funcs.C:
6370         * lyxfunc.C:
6371         * buffer.[Ch]:
6372         * BufferView_pimpl.C:
6373         * BufferView.C: getParFromID related ParagraphList::iterator changes
6374
6375 2003-04-28  André Pönitz  <poenitz@gmx.net>
6376
6377         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6378           Changes
6379
6380 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * messages.C: remove one more localedir class variable.
6383
6384 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * messages.C (getLocaleDir): singleton generation function
6387         (Pimpl): use it.
6388         (Messages): add a default constructor.
6389
6390         * main.C (main): do not setup localedir here, do not call
6391         gettext_init.
6392
6393         * gettext.C (_): use it.
6394         (gettext_init): delete funciton
6395
6396 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6397
6398         * gettext.C (getLyXMessages): new singleton generating function.
6399
6400         * buffer.C (updateDocLang): adjust
6401
6402         * Makefile.am (messages.o): add target
6403         (main.o): remove target
6404
6405 2003-04-27  John Levon  <levon@movementarian.org>
6406
6407         * bufferlist.C:
6408         * lyx_cb.C:
6409         * lyxfunc.C:
6410         * lyxvc.C: specify cancel button in Alert::prompt
6411
6412 2003-04-26  John Levon  <levon@movementarian.org>
6413
6414         * text3.C:
6415         * lyxfunc.C:
6416         * lfuns.h:
6417         * LyXAction.C: add LFUN_INSET_SETTINGS
6418
6419         * lyxfunc.C: don't enable tabular-feature when there's
6420         just any locking inset
6421
6422 2003-04-26  John Levon  <levon@movementarian.org>
6423
6424         * bufferlist.C: re-add Cancel to buffer close question
6425
6426         * lyxfunc.C: fix import UI a bit
6427
6428 2003-04-25  John Levon  <levon@movementarian.org>
6429
6430         * gettext.C: remove the broken asserts for now
6431
6432 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * messages.C: make case where setlocale cannot comply work better.
6435
6436         * buffer.C (updateDocLang): new function
6437         (changeLanguage): use it
6438         (readFile): use it
6439
6440         * text2.C (setCounter): use B_ a bit.
6441
6442         * lyxlayout.C (Read): be sure to trim the label strings.
6443
6444         * messages.C (Messages): fix typo in comment
6445
6446         * buffer.C (readFile): set message_ after file is loaded.
6447         (makeDocBookFile): remove double return
6448         (changeLanguage): reset message_ upon language change.
6449         (B_): new func, use this to get translated buffer strings.
6450
6451         * main.C: add myself and Jean Marc as authors.
6452
6453 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6454
6455         * messages.[hC]: pimplify Messages, and three different pimpls to be
6456         used in different circumstances.
6457
6458         * gettext.[Ch]: change for use with new message code.
6459
6460 2003-04-24 André Pönitz <poenitz@gmx.net>
6461
6462         * factory.C: support for eqref
6463
6464 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6465
6466         * messages.[Ch]: add missing char
6467
6468         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6469
6470         * messages.[Ch]: New files
6471
6472 2003-04-18  John Levon  <levon@movementarian.org>
6473
6474         * BufferView.h:
6475         * BufferView.C:
6476         * BufferView_pimpl.C:
6477         * lfuns.h:
6478         * LyXAction.C:
6479         * lyxtext.h:
6480         * text2.C: remove layout-copy/paste (bug 778)
6481
6482 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6483
6484         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6485
6486 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6487
6488         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6489         if they succeed. Act accordingly.
6490
6491 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6492
6493         * text2.C (setCharFont): adjust
6494         (setCounter): adjust
6495         (insertStringAsLines): adjust
6496
6497         * text.C (leftMargin): adjust
6498         (setHeightOfRow): adjust
6499
6500         * rowpainter.C (paintFirst): adjust
6501         (paintLast): adjust
6502
6503         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6504         (outerHook): ditto
6505         (isFirstInSequence): ditto
6506         (getEndLabel): ditto
6507         (outerFont): adjust
6508
6509         * paragraph.C (getParLanguage): comment out some hard stuff.
6510
6511         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6512         (sgmlError): ditto
6513         (simpleDocBookOnePar): ditto
6514         (makeDocBookFile): use ParagraphList::iterator
6515
6516         * CutAndPaste.C (pasteSelection): adjust
6517
6518 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * text2.C (getFont): adjust
6521         (getLayoutFont): adjust
6522         (getLabelFont): adjust
6523
6524         * paragraph_funcs.C (TeXOnePar): adjust
6525
6526         * buffer.C (simpleLinuxDocOnePar): adjust
6527         (simpleDocBookOnePar): adjust
6528
6529         * CutAndPaste.C (pasteSelection): adjust
6530
6531         * BufferView.C (getEncoding): adjust
6532
6533         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6534
6535 2003-04-16  John Levon  <levon@movementarian.org>
6536
6537         * lyxfind.C: use parlist stuff for search/changes
6538
6539 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6542
6543         * text2.C (deleteEmptyParagraphMechanism): adjust
6544
6545         * text2.[Ch] (ownerParagraph): delete func (both of them
6546
6547 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6550
6551 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6552
6553         * ParagraphList.C: prepare for NO_NEXT
6554
6555 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6556
6557         * text2.C (getFont): adjust
6558         (getLayoutFont): adjust
6559         (getLabelFont): adjust
6560
6561         * paragraph.C (getFont): adjust
6562         (getLabelFont): adjust
6563         (getLayoutFont): adjust
6564
6565         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6566
6567 2003-04-15  John Levon  <levon@movementarian.org>
6568
6569         From Angus Leeming
6570
6571         * lyx_main.C: handle Include in .ui files
6572
6573 2003-04-15  John Levon  <levon@movementarian.org>
6574
6575         * MenuBackend.C: make the doc files length shorter
6576
6577         * ToolbarBackend.h:
6578         * ToolbarBackend.C: handle toolbar placement flags,
6579         Minibuffer
6580
6581 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6584         adjust
6585
6586         * paragraph_funcs.C (TeXOnePar): adjust
6587
6588         * paragraph.C (getLabelFont): add outerfont arg, adjust
6589         (getLayoutFont): ditto
6590         (simpleTeXOnePar): adjust
6591
6592         * paragraph_pimpl.C (realizeFont): delete func
6593
6594 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6595
6596         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6597         row argument, constify cur argument.
6598
6599 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6600
6601         * text2.C (getFont): adjust
6602         (getLayoutFont): adjust
6603         (getLabelFont): adjust
6604
6605         * paragraph_funcs.C (TeXOnePar): adjust
6606         (outerFont): new func...
6607         (realizeFont): ...moved out from here, changed this to facilitate
6608         transition
6609
6610         * paragraph.C (getFont): take outerfont as arg, adjust
6611         (simpleTeXOnePar): add outerfont arg, adjust
6612
6613         * buffer.C (simpleLinuxDocOnePar): adjust
6614         (simpleDocBookOnePar): adjust
6615
6616         * CutAndPaste.C (pasteSelection): adjust
6617
6618         * BufferView.C (getEncoding): adjust
6619
6620 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * text2.C (setCharFont): adjust
6623         (setCounter): adjust
6624
6625         * text.C (leftMargin): adjust
6626         (setHeightOfRow): adjust
6627
6628         * rowpainter.C (paintFirst): adjust
6629         (paintLast): adjust
6630
6631         * paragraph_pimpl.C (realizeFont): adjust
6632
6633         * paragraph.C (isFirstInSequence): move from here...
6634         * paragraph_funcs.C (isFirstInSequence): ...to here
6635
6636         * paragraph.C (outerHook): move from here...
6637         * paragraph_funcs.C (outerHook): ...to here
6638
6639         * paragraph.C (depthHook): move from here...
6640         * paragraph_funcs.C (depthHook): ...to here
6641
6642         * paragraph.C (getEndLabel): move from here...
6643         * paragraph_funcs.C (getEndLabel): ...to here
6644
6645         * text2.C (realizeFont): move from here...
6646         * paragraph_funcs.C (realizeFont): ...to here
6647
6648 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6651
6652 2003-04-14  Angus Leeming  <leeming@lyx.org>
6653
6654         * LColor.[Ch]: scrap LColor mathcursor.
6655
6656 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * lyxlex.[Ch] (text): delete function
6659         * trans.C (Load): adjust
6660         * paragraph_funcs.C (readParToken): adjust
6661
6662 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6663
6664         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6665         vector<char> instead of a char[].
6666
6667         * lyxlex_pimpl.C (getString): adjust
6668         (next): adjust
6669         (lex): use getString
6670         (eatLine): adjust
6671         (nextToken): adjust
6672
6673         * lyxlex.C (text): use pimpl_->getString()
6674         (getBool): ditto
6675         (findToken): ditto
6676
6677 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6678
6679         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6680         (makeFontEntriesLayoutSpecific): temp var for par.size()
6681         (setLayout): temp var for ownerParagraphs().end()
6682         (fullRebreak): temp var for rows().end()
6683         (selectionAsString): temp var for boost::next(startpit), realize
6684         that the while really is a regular for loop.
6685         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6686         setCursor in one place.
6687         (setParagraph): temp vr for ownerParagraphs().end()
6688         (updateCounters): make the while loop a for loop
6689         (cutSelection): temp var for ownerParagraphs().end()
6690         (updateInset): make the do {} while() a regular for loop
6691         (getCursorX): use temp vars
6692         (setCurrentFont): use temp vars
6693         (getColumnNearX): use temp vars
6694
6695 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6696
6697         * text.C (transformChar): use temp var for getChar
6698         (computeBidiTables): use temp var for row->par()
6699         (fill): move temp vars for row->par() and pit->layout() earlier in
6700         the function.
6701         (labelFill): use temp var for row->par()
6702         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6703         asc and desc, realize that pit never changes and that firstpit is
6704         just a duplicate and not needed. Exchange rit->par() with pit in a
6705         lot of places.
6706         (breakAgain): use a temp var for boost::next(rit)
6707         (breakAgainOneRow): ditto
6708         (breakParagraph): use a temp var for rows().begin()
6709         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6710         (cursorRightOneWord): use temp var for cursor.par() and
6711         cursor.pos(), remove usage of tmpcursor.
6712         (cursorLeftOneWord): use temp var for cursor.par() and
6713         cursor.pos() only set cur at end of function.
6714
6715 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * text.C, text2.C: exchange all usage of Paragraph::next with
6718         boost::next(ParagraphList::iterator)
6719
6720         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6721
6722         * text2.C (cursorTop): simplify implementation
6723         (cursorBottom): ditto
6724         (setParagraph): use ParagraphList::iterator
6725         (setCurrentFont): adjust
6726         (getColumnNearX): adjust
6727         (cursorRight): adjust
6728         (cursorLeft): remove usage of Paragraph::previous
6729         (cursorUpParagraph): ditto
6730         (deleteEmptyParagraphMechanism): slight cleanup
6731
6732         * text.C (isBoundary): take a Paragraph const & instead of a
6733         pointer as arg.
6734         (addressBreakPoint): ditto
6735         (leftMargin): remove usage of Paragraph::previous.
6736         (setHeightOfRow): ditto
6737         (cursorLeftOneWord): ditto
6738         (selectNextWordToSpellcheck): ditto
6739         (Delete): ditto
6740         (backspace): ditto
6741         (breakParagraph): remove one usage of Paragraph::next
6742         (redoParagraph): ditto
6743         (acceptChange): ditto
6744         (insertChar): adjust
6745         (rowBreakPoint): adjust
6746
6747         * bufferview_funcs.C (toggleAndShow): adjust
6748
6749 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6750
6751         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6752         methods to access it.
6753         * lyxtext.h:
6754         * text.C: Added updateRowPositions to compute all row positions.
6755         Make top_y and getRowNearY() to use the cached y position
6756
6757 2003-04-11  John Levon  <levon@movementarian.org>
6758
6759         * text.C (rowBreakPoint): reintroduce the labelEnd
6760         checks, code copied from the row fill stuff. Deep voodoo.
6761
6762         * text.C (fill): add a comment and debugging for the
6763         next poor soul.
6764
6765 2003-04-11  John Levon  <levon@movementarian.org>
6766
6767         * text.C: make sure fullrow insets get wrapped to the next line,
6768         even when they're in a manual label
6769
6770 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6771
6772         * text2.C (insertParagraph): make it take ParagraphList::iterator
6773         as arg.
6774         (setLayout): make it return ParagraphList::iterator
6775         (redoParagraphs): ditto
6776         (setCounter): ditto
6777         (checkParagraph): ditto
6778
6779         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6780
6781         * text2.C: adjust several funcs.
6782         (realizeFont): take a ParagraphList::iterator as arg.
6783         (getLayoutFont): ditto
6784         (getLabelFont): ditto
6785         (setCharFont): ditto
6786
6787         * text.C: adjust several funcs.
6788
6789 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6790
6791         * text.C (selectNextWordToSpellcheck): don't accidentally
6792         skip insets
6793
6794 2003-04-10  John Levon  <levon@movementarian.org>
6795
6796         * ToolbarBackend.C (getIcon): special handling for
6797         LFUN_MATH_DELIM
6798
6799 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6800
6801         * text2.C (cursorRight): a getChar assert fixed
6802
6803 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * text2.C (getFont): change to take a ParagraphList::iterator
6806         instead of Paragraph*
6807         Adjust several functions.
6808
6809         * text.C (transformChar): change to take a ParagraphList::iterator
6810         instead of Paragraph*
6811         (singleWidth): ditto
6812         Adjust several functions.
6813
6814         * rowpainter.C: adjust several functions
6815         * rowpainter.h:store a ParagraphList::iterator and not a
6816         Paragraph&.
6817
6818
6819 2003-04-09  John Levon  <levon@movementarian.org>
6820
6821         * lyxfunc.C:
6822         * lfuns.h:
6823         * LyXAction.h:
6824         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6825         and the "help" bits as well
6826
6827 2003-04-09  John Levon  <levon@movementarian.org>
6828
6829         * ToolbarBackend.h:
6830         * ToolbarBackend.C: allow multiple toolbars
6831
6832 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * undo_funcs.C (setCursorParUndo): adjust
6835
6836         * text_funcs.C (transposeChars): adjust
6837
6838         * text3.C (gotoNextInset): adjust
6839         (dispatch): adjust
6840
6841         * text2.C (setLayout): adjust
6842         (changeDepth): adjust
6843         (setFont): adjust
6844         (redoParagraphs): adjust
6845         (selectionAsString): adjust
6846         (setParagraph): adjust
6847         (insertInset): adjust
6848         (cutSelection): adjust
6849         (copySelection): adjust
6850         (pasteSelection): adjust
6851         (insertStringAsLines): adjust
6852         (updateInset): adjust
6853         (setCursor): change to take a ParagraphList::iterator parameter
6854         (setCursorIntern): change to take a ParagraphList::iterator parameter
6855         (setCurrentFont): adjust
6856         (cursorLeft): adjust
6857         (cursorRight): adjust
6858         (deleteEmptyParagraphMechanism): adjust
6859
6860         * text.C (breakParagraph): adjust
6861         (insertChar): adjust
6862         (acceptChange): adjust
6863         (rejectChange): adjust
6864         (selectNextWordToSpellcheck): adjust
6865         (changeCase): adjust
6866         (Delete): adjust
6867         (backspace): adjust
6868
6869         * lyxfind.C (SearchForward): adjust
6870         (SearchBackward): adjust
6871         (nextChange): adjust
6872
6873         * lyxcursor.C (par): adjust
6874
6875         * lyxcursor.h: store a ParagraphList::iterator instead of a
6876         Paragraph*
6877
6878         * lyx_cb.C (getPossibleLabel): adjust
6879
6880         * bufferview_funcs.C (toggleAndShow): adjust
6881
6882         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6883         (dispatch): adjust
6884
6885         * BufferView.C (removeAutoInsets): adjust
6886         (lockedInsetStoreUndo): adjust
6887
6888 2003-04-09  John Levon  <levon@movementarian.org>
6889
6890         * ToolbarBackend.C: try icon without argument
6891         if with argument fails
6892
6893 2003-04-08  John Levon  <levon@movementarian.org>
6894
6895         * ToolbarBackend.h:
6896         * ToolbarBackend.C: add getIcon(), handle tooltip,
6897         and change from "Icon" to "Item".
6898
6899 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6900
6901         * BufferView.C (lockInset): another bad getchar crunched
6902
6903 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6904
6905         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6906         again)
6907
6908 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6909
6910         * lyxfind.C (searchForward, searchBackwards): bug 782
6911
6912 2003-04-07  John Levon  <levon@movementarian.org>
6913
6914         * paragraph.C: remove dead comment
6915
6916         * text.C: remove troublesome depth-fiddling code
6917         in leftMargin() and rightMargin() (bug 1017)
6918
6919         * text.C: fix breaking of rows in nested lists
6920         (bug 1004)
6921
6922         * text2.C (updateCounters): fix up depth values
6923         (bug 1013)
6924
6925 2003-04-07  John Levon  <levon@movementarian.org>
6926
6927         * BufferView_pimpl.C: clear message when doc finishes resizing,
6928         and after a mouse event
6929
6930         * lyxfunc.C: clear message after exiting inset
6931
6932 2003-04-07  John Levon  <levon@movementarian.org>
6933
6934         * bufferview_funcs.C: show math status not outside
6935         status in the statusbar
6936
6937 2003-04-07  John Levon  <levon@movementarian.org>
6938
6939         * lyxfunc.C: note status changed after a depth change
6940
6941 2003-04-04  Angus Leeming  <leeming@lyx.org>
6942
6943         * LaTeX.h: move AuxInfo operator==, != out of line.
6944         Remove LaTeX virtual destructor; nothing derives from it.
6945         Move operator()() out of public area and rename it startscript().
6946         Change protected for private.
6947
6948 2003-04-04  Angus Leeming  <leeming@lyx.org>
6949
6950         * lyxfunc.C:
6951         * text2.C: remove unneeded #includes.
6952
6953 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6954
6955         * text2.C (dEPM): fix the heigth of the next row
6956
6957 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6958
6959         * text.C: squashed an invalid getChar requester + some ws changes
6960
6961 2003-04-03  John Levon  <levon@movementarian.org>
6962
6963         * bufferview_funcs.h:
6964         * bufferview_funcs.C:
6965         * lyxfunc.C:
6966         * lyxtext.h:
6967         * text2.C: make getStatus work for the env depth lfuns
6968
6969 2003-04-03  John Levon  <levon@movementarian.org>
6970
6971         * bufferview_funcs.h:
6972         * bufferview_funcs.C:
6973         * lyxfunc.C:
6974         * lyxtext.h:
6975         * text2.C: parlistize decDepth(), by merging it with incDepth()
6976
6977 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * lyxrow.h: store a ParagraphList::iterator instead of a
6980         Paragraph* and adjust other class functions to suit.
6981
6982         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6983         above.
6984
6985 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6986
6987         * text2.C (setCursor): do not anchor to cursor row for the time being
6988
6989 2003-04-02  John Levon  <levon@movementarian.org>
6990
6991         * LyXAction.C:
6992         * lfuns.h:
6993         * lyx_main.C:
6994         * lyxtext.h:
6995         * text.C:
6996         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6997
6998 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * paragraph.h: make ParagraphList and ParagraphList::iterator
7001         friends of Paragraph.
7002
7003         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7004
7005         * ParagraphList.C: Use the private next_ and previous_ from
7006         Paragraph.
7007
7008 2003-04-01  John Levon  <levon@movementarian.org>
7009
7010         * ToolbarBackend.h:
7011         * ToolbarBackend.C:
7012         * Makefile.am: rename, remove defaults gunk
7013
7014         * MenuBackend.h:
7015         * MenuBackend.C: remove defaults gunk
7016
7017         * Languages.h:
7018         * Languages.C: remove defaults gunk
7019
7020         * lyx_main.h:
7021         * lyx_main.C: error out if files couldn't be found.
7022
7023 2003-04-02  John Levon  <levon@movementarian.org>
7024
7025         * text2.C: make incDepth() use parlist
7026
7027 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7028
7029         * undo_funcs.C (firstUndoParagraph): adjust
7030
7031         * text3.C (gotoInset): adjust
7032         (dispatch): adjust, and rewrite loop.
7033
7034         * text2.C (init): adjust, and rewrite loop.
7035         (redoParagraphs): adjust
7036         (updateInset): adjust, and rewrite loop.
7037         (deleteEmptyParagraphMechanism): adjust
7038
7039         * tabular.C (LyXTabular): adjust
7040         (SetMultiColumn): adjust
7041         (TeXRow): adjust
7042
7043         * lyxtext.[Ch] (ownerParagraph): delete function
7044         (ownerParagraphs): new function returns a ParagraphList.
7045
7046         * BufferView.C (removeAutoInsets): adjust
7047         (insertErrors): adjust
7048         (setCursorFromRow): adjust
7049
7050 2003-04-01  Angus Leeming  <leeming@lyx.org>
7051
7052         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7053         in the frontends.
7054
7055 2003-04-02  John Levon  <levon@movementarian.org>
7056
7057         * lyxtext.h:
7058         * text.C:
7059         * Makefile.am:
7060         * text_funcs.h:
7061         * text_funcs.C: make transposeChars a free function
7062
7063         * lyxrow_funcs.C: remove wrong comment
7064
7065 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * lyxtext.h: adjust
7068         * rowpainter.C: adjust
7069         * text.C: adjust
7070         * text2.C: adjust
7071         * text3.C: adjust
7072
7073         * lyxrow_funcs. [Ch]: new files
7074
7075         * lyxrow.[Ch]: remove next and previous pointers
7076         (next,previous): remove accessor functions
7077         (isParEnd): move to lyxrow_funcs
7078         (lastPos): move to lyxrow_funcs
7079         (nextRowIsAllInset): move to lyxrow_funcs
7080         (lastPrintablePos): move to lyxrow_funcs
7081         (numberOfSeparators): move to lyxrow_funcs
7082         (numberOfHfills): move to lyxrow_funcs
7083         (numberOfLabelHfills): move to lyxrow_funcs
7084         (hfillExpansion): move to lyxrow_funcs
7085
7086         * lyxfunc.C: adjust
7087
7088         * bufferview_funcs.C (toggleAndShow): adjust
7089
7090         * RowList.h: Remove class RowList from file leave just a
7091         std::list<Row>.
7092
7093         * RowList.C: delete file
7094
7095         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7096         and lyxrow_funcs.h
7097
7098 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * text3.C (cursorPrevious): adjust
7101         (cursorNext): adjust
7102         (dispatch): adjust
7103
7104         * text2.C (redoHeightOfParagraph): adjust
7105         (redoDrawingOfParagraph): adjust
7106         (setCursor): adjust
7107
7108         * text.C (breakParagraph): adjust
7109         (insertChar): adjust
7110         (backspace): adjust
7111
7112         * rowpainter.C (RowPainter): adjust
7113         (leftMargin): simplify and adjust
7114         (most rowpainter functions): adjust.
7115
7116         * rowpainter.h: store the row as RowList::iterator not as Row*
7117
7118         * lyxcursor.C (row): taka RowList::iterator as arg
7119         (irow): ditto
7120
7121         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7122         of Row*.
7123
7124 2003-04-01  Angus Leeming  <leeming@lyx.org>
7125
7126         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7127         stuff like bool Bool.
7128
7129 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7130
7131         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7132         rewrite a loop
7133
7134 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7137         RowList::iterator.
7138
7139         * lyxtext.h (rows): drop one version and leve a const variant that
7140         returns a RowList::iterator.
7141
7142 2003-03-31  Angus Leeming  <leeming@lyx.org>
7143
7144         * text.C (fill): ensure that the signature is the same as that in the
7145         header file.
7146
7147 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * text2.C (redoParagraphs): adjust
7150         (updateCounters): adjust
7151         (checkParagraph): adjust
7152         (getColumnNearX): adjust and reformat a bit.
7153
7154         * text.C (top_y): adjust
7155         (workWidth): adjust
7156         (leftMargin): adjust
7157         (prepareToPrint): adjust
7158         (getRow): adjust
7159         (getRowNearY): adjust
7160
7161         * lyxtext.h: make rowlist_ mutable.
7162
7163         * RowList.h: add const_iterator
7164         * RowList.C: adjust for RowList::const_iterator.
7165
7166         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7167         adjust.
7168
7169 2003-03-31  John Levon  <levon@movementarian.org>
7170
7171         * lyxrc.h:
7172         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7173
7174         * lyx_main.C: set default fonts from using lyx_gui funcs
7175
7176         * exporter.C: pdf_mode moved from lyxrc
7177
7178         * lyx_cb.C:
7179         * lyxfunc.C: changes from above
7180
7181 2003-03-31  John Levon  <levon@movementarian.org>
7182
7183         * lyx_main.C: fix to the last fix
7184
7185 2003-03-31  John Levon  <levon@movementarian.org>
7186
7187         * bufferlist.C: "Load original" -> "Load Original"
7188
7189         * converter.C:
7190         * exporter.C:
7191         * importer.C:
7192         * lyx_main.C:
7193         * format.C: more Alert cleanups
7194
7195 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7196
7197         * text2.C (removeParagraph): make it take a RowList::iterator as
7198         arg, adjust.
7199         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7200         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7201
7202         * text.C (anchor_row): make it take a RowList::iterator as arg,
7203         adjust.
7204         (computeBidiTables): make it take a const reference to Row instead
7205         of Row pointer, adjust.
7206         (leftMargin): make it take a RowList::iterator as arg, adjust.
7207         (rowBreakPoint): adjust
7208         (breakAgainOneRow): make it take a RowList::iterator as arg,
7209         adjust.
7210         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7211
7212         * bufferview_funcs.C (toggleAndShow): adjust
7213
7214 2003-03-30  John Levon  <levon@movementarian.org>
7215
7216         * Makefile.am:
7217         * BoostFormat.h:
7218         * boost-inst.C: moved to support
7219
7220         * several files: changes as a result
7221
7222 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * text2.C (LyXText): adjust.
7225         (init): adjust
7226         (removeRow): make it take a RowList::iterator as arg, adjust.
7227         (fullRebreak): adjust
7228         (deleteEmptyParagraphMechanism): adjust
7229         (clearPaint): adjust
7230         (postPaint): adjust
7231
7232         * text.C (top_y): adjust
7233         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7234         (breakAgain): make it take a RowList::iterator as arg, adjust.
7235         (breakParagraph): adjust
7236         (insertChar): adjust
7237         (backspace): adjust
7238
7239         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7240         need_break_row, and refresh_row.
7241
7242         * text3.C (dispatch): adjust
7243
7244         * text2.C (checkParagraph): adjust
7245         (setCursor): adjust
7246         (setCursorFromCoordinates): adjust
7247
7248         * text.C (top_y): adjust
7249         (workWidth): adjust
7250         (getRow): make it return a RowList::iterator, adjust
7251         (getRowNearY): make it return a RowList::iterator, adjust
7252
7253         * text2.C (init): adjust
7254         (insertRow): remove function
7255         (insertParagraph): adjust
7256         (redoParagraphs): adjust
7257         (fullRebreak): adjust
7258         (updateCounters): adjust
7259
7260         * text.C (top_y): rewrite to use RowList iterators.
7261         (top_y): adjust
7262         (setHeightOfRow): rewrite to sue RowList iterators.
7263         (appendParagraph): adjust
7264         (breakAgain): adjust
7265         (breakAgainOneRow): adjust
7266         (breakParagraph): adjust
7267         (getRow): adjust
7268         (getRowNearY): adjust, and remove commented code.
7269
7270         * lyxtext.h (firstRow): delete function
7271         (lastRow): delete function
7272         (rows): new function (const and non-const versions.)
7273         (insertRow): delete function
7274
7275         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7276
7277 2003-03-29  John Levon  <levon@movementarian.org>
7278
7279         * BufferView_pimpl.C: always update scrollbar top
7280         because pasting text when we're anchored could mean we
7281         miss an update altogether
7282
7283 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * text2.C (init): use rowlist_.end() and not 0.
7286         (insertRow): change to take a RowList::iterator as arg, adjust
7287         for this.
7288         (insertParagraph): change to take a RowList::iterator as arg,
7289         adjust for this.
7290         (redoParagraphs): remove some debug msgs.
7291
7292         * text.C (appendParagraph): change to take a RowList::iterator
7293         arg, adjust for this.
7294         (breakAgain): add an assert
7295         (breakAgainOneRow): ditto
7296
7297 2003-03-29  John Levon  <levon@movementarian.org>
7298
7299         * text2.C: do not clear selection after inc/decDepth
7300         (bug 550)
7301
7302 2003-03-29  John Levon  <levon@movementarian.org>
7303
7304         * BufferView.C:
7305         * buffer.C: fix broken strerrors according to Lars
7306
7307 2003-03-29  John Levon  <levon@movementarian.org>
7308
7309         * converters.C: more Alert cleanups
7310
7311 2003-03-29  John Levon  <levon@movementarian.org>
7312
7313         * bufferview_funcs.C: remove pointless Alert
7314
7315         * buffer.C: fix confusing error message when
7316         a template is chmoded 000
7317
7318 2003-03-29  John Levon  <levon@movementarian.org>
7319
7320         * BufferView.C:
7321         * BufferView.h:
7322         * BufferView_pimpl.C: Alert fixes
7323
7324         * Makefile.am:
7325         * tabular.C:
7326         * tabular-old.C: remove unused table compat reading
7327
7328 2003-03-29  John Levon  <levon@movementarian.org>
7329
7330         * BufferView.C:
7331         * buffer.C:
7332         * lyx_cb.h:
7333         * lyx_cb.C: more Alert cleanups
7334
7335         * lyxfunc.C: don't allow chktex if not latex document
7336
7337 2003-03-29  John Levon  <levon@movementarian.org>
7338
7339         * lyx_cb.C:
7340         * BufferView.C:
7341         * buffer.C: warnings pushed down from support/,
7342         kill err_alert
7343
7344 2003-03-29  John Levon  <levon@movementarian.org>
7345
7346         * lyxfunc.C: safety check for C-r (revert)
7347
7348 2003-03-29  John Levon  <levon@movementarian.org>
7349
7350         * bufferlist.h:
7351         * bufferlist.C: several UI fixes using Alert::prompt.
7352         Fix the pointless looping quit code. Fix stupid revert
7353         behaviour (bug 938)
7354
7355         * lyxvc.h:
7356         * lyxvc.C:
7357         * lyx_cb.C: use Alert::prompt
7358
7359         * lyx_main.C: remove a silly question
7360
7361         * lyxfunc.C: remove a couple of silly questions,
7362         use Alert::prompt
7363
7364 2003-03-28  John Levon  <levon@movementarian.org>
7365
7366         * text2.C: fix bug 974 (End on empty par)
7367
7368 2003-03-28  John Levon  <levon@movementarian.org>
7369
7370         * BufferView_pimpl.C:
7371         * LyXAction.C:
7372         * lfuns.h: remove do-nothing math greek lfuns
7373
7374 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * lyxgluelength.h (isValidGlueLength): add default arg on
7377         parameter 2. Remove default arg from friend in class.
7378
7379         * lyxlength.h (isValidLength): add default arg on parameter 2.
7380         Remove default arg from friend in class.
7381
7382         * text2.C (LyXText): adjust, initialize refresh_row.
7383         (init): adjust
7384         (removeRow): adjust
7385         (insertRow): adjust
7386         (insertParagraph): adjst
7387         (redoParagraphs): adjust
7388         (fullRebreak): adjust
7389         (updateCounters): adjust
7390         (deleteEmptyParagraphMechanism): first attempt at fixing a
7391         crashing bug.
7392
7393         * text.C (top_y): adjust
7394         (setHeightOfRow): adjust
7395         (getRow): adjust
7396         (getRowNearY): adjust
7397
7398         * lyxtext.h: include RowList.h
7399         (~LyXText): not needed anymore, deleted.
7400         (firstRow): modify for RowList
7401         (lastRow): new function
7402         Delete firstrow and lastrow class variables, add a Rowlist
7403         rowlist_ class variable.
7404
7405         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7406         paragraph is empty.
7407
7408         * RowList.C (insert): fix case where it == begin().
7409
7410 2003-03-26  Angus Leeming  <leeming@lyx.org>
7411
7412         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7413         the thesaurus dialog.
7414
7415 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7416
7417         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7418
7419         * RowList.[Ch]: new files
7420
7421         * ParagraphList.C (erase): handle the case where it == begin
7422         correctly.
7423
7424 2003-03-25  John Levon  <levon@movementarian.org>
7425
7426         * Makefile.am:
7427         * aspell_local.h:
7428         * aspell.C: add new aspell support
7429
7430         * lyxrc.h:
7431         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7432         have it accessible.
7433
7434 2003-03-25  Angus Leeming  <leeming@lyx.org>
7435
7436         * lfuns.h:
7437         * LyXAction.C (init): new LFUN_INSET_INSERT.
7438
7439         * BufferView_pimpl.C (dispatch): split out part of the
7440         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7441
7442         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7443         LFUN_INSET_APPLY.
7444
7445 2003-03-25  Angus Leeming  <leeming@lyx.org>
7446
7447         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7448
7449 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7450
7451         * text2.C:
7452         * text3.C: remove useless row->height(0)
7453
7454 2003-03-25  John Levon  <levon@movementarian.org>
7455
7456         * lyxtext.h:
7457         * text2.C:
7458         * text3.C: rename the refreshing stuff to better names
7459
7460 2003-03-24  John Levon  <levon@movementarian.org>
7461
7462         * BufferView_pimpl.h:
7463         * BufferView_pimpl.C: update layout choice on a mouse
7464         press/release
7465
7466 2003-03-23  John Levon  <levon@movementarian.org>
7467
7468         * Makefile.am: fix commandtags.h reference
7469
7470 2003-03-22  John Levon  <levon@movementarian.org>
7471
7472         * BufferView_pimpl.C:
7473         * lyxtext.h:
7474         * rowpainter.C:
7475         * rowpainter.h:
7476         * text.C:
7477         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7478
7479 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7480
7481         * lyxtext.h:
7482         * text.C: take the rtl methods out of line
7483
7484 2003-03-21 André Pönitz <poenitz@gmx.net>
7485
7486         * metricsinfo.[Ch]: new files containing structures to be passed around
7487         during the two-phase-drawing...
7488
7489 2003-03-21 André Pönitz <poenitz@gmx.net>
7490
7491         * lyxtextclass.C: read 'environment' tag.
7492
7493 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7494
7495         * text2.C (removeRow): fix bug 964
7496
7497 2003-03-20  John Levon  <levon@movementarian.org>
7498
7499         * rowpainter.C:
7500         * text.C:
7501         * text2.C: paint cleanups. Inset::update() dropped font
7502         parameter
7503
7504 2003-03-19  John Levon  <levon@movementarian.org>
7505
7506         * lyxfunc.C: only fitcursor/markDirty if available()
7507
7508 2003-03-19  John Levon  <levon@movementarian.org>
7509
7510         * commandtags.h: rename to ...
7511
7512         * lfuns.h: ... this, and renumber / cleanup
7513
7514 2003-03-19  John Levon  <levon@movementarian.org>
7515
7516         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7517         fit the cursor after an lfun
7518
7519         * BufferView.h:
7520         * BufferView.C:
7521         * BufferView_pimpl.h:
7522         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7523
7524         * LyXAction.C: layout-character should have ReadOnly
7525
7526         * ParagraphParameters.C:
7527         * buffer.C:
7528         * bufferview_funcs.C:
7529         * lyx_cb.C:
7530         * lyxfind.C:
7531         * lyxtext.h:
7532         * text.C:
7533         * text2.C:
7534         * text3.C:
7535         * undo_funcs.C: changes from above
7536
7537 2003-03-18  John Levon  <levon@movementarian.org>
7538
7539         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7540         remove it from update()
7541
7542         * lyxfunc.C: update layout choice after an lfun
7543
7544         * text3.C: remove extra updateLayoutChoice()s
7545
7546 2003-03-18  John Levon  <levon@movementarian.org>
7547
7548         * text.C: top_y change means full repaint, fix
7549         a drawing bug with cursor movement
7550
7551 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7552
7553         * lyxtext.h:
7554         * text.C:
7555         * text2.C: anchor row on setCursor
7556
7557 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7558
7559         * lyxtext.h: remove almost all mutable keywords
7560         * text.C:
7561         * text2.C:
7562         * text3.C: remove const keywords accordingly
7563
7564 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7567         anon namespace
7568         (TeXEnvironment): ditto
7569         (TeXOnePar): ditto
7570
7571 2003-03-17  John Levon  <levon@movementarian.org>
7572
7573         * text.C (rowBreakPoint): remove attempt to fix displayed
7574         math insets inside a manual label
7575
7576 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * lyxtext.h: remove BufferView* as first arg from almost all class
7579         functions.
7580         * other files: adjust.
7581
7582 2003-03-17  John Levon  <levon@movementarian.org>
7583
7584         * lyxtext.h:
7585         * undo_funcs.C:
7586         * text2.C: more paint cleanups
7587
7588         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7589
7590         * rowpainter.h:
7591         * rowpainter.C: remove "smart" background painting code
7592
7593 2003-03-16  John Levon  <levon@movementarian.org>
7594
7595         * lyxtext.h:
7596         * text.C:
7597         * text2.C:
7598         * text3.C: add helper functions for setting refresh_row/y
7599
7600 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7601
7602         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7603         newline inset which *can* get inserted in the pass_thru layouts.
7604         This is primarily for literate documents.
7605
7606 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7607
7608         * buffer.C: increment LYX_FORMAT to 223
7609
7610 2003-03-14 André Pönitz <poenitz@gmx.net>
7611
7612         * textclass.h: prepare for environment handling, ws changes
7613         * lyxlayout.C: read latexheader and latexfooter tags
7614
7615 2003-03-14  John Levon  <levon@movementarian.org>
7616
7617         * text2.C: rewrite ::status() a bit
7618
7619 2003-03-13  John Levon  <levon@movementarian.org>
7620
7621         * lyxtext.h: add some docs
7622
7623 2003-03-13  John Levon  <levon@movementarian.org>
7624
7625         * lyxtext.h:
7626         * text.C:
7627         * text2.C:
7628         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7629
7630 2003-03-13  John Levon  <levon@movementarian.org>
7631
7632         * text3.C: fix appendix redrawing
7633
7634 2003-03-13  John Levon  <levon@movementarian.org>
7635
7636         * text.C (setHeightOfRow):
7637         * rowpainter.h:
7638         * rowpainter.C: make appendix mark have the text
7639           "Appendix" so the user knows what it is
7640
7641         * LColor.h:
7642         * LColor.C: s/appendixline/appendix/ from above
7643
7644 2003-03-13  John Levon  <levon@movementarian.org>
7645
7646         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7647
7648         * text.C: fix a getChar(pos) bug properly
7649
7650 2003-03-13  Angus Leeming  <leeming@lyx.org>
7651
7652         * commandtags.h:
7653         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7654         Probably only temporary. Let's see how things pan out.
7655
7656         * BufferView.C (unlockInset):
7657         * BufferView_pimpl.C (fitCursor):
7658         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7659
7660         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7661         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7662
7663         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7664         new functions that convert ParagraphParameters to and from a string.
7665
7666         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7667         BufferView::Pimpl's dispatch.
7668         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7669
7670 2003-03-13 André Pönitz <poenitz@gmx.net>
7671
7672         * lyxfunc.C:
7673         * text3.C:
7674         * factory.C: make it aware of InsetEnv
7675
7676 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * text2.C (setCursor): never ask for one past last
7679         (setCursor): add some debugging messages.
7680
7681         * text.C (singleWidth): never ask for one past last
7682         (singleWidth): ditto
7683         (leftMargin): ditto
7684         (rightMargin): ditto
7685         (rowBreakPoint): ditto
7686         (setHeightOfRow): ditto
7687         (prepareToPrint): ditto
7688
7689         * rowpainter.C (paintBackground): never ask for one past last
7690         (paintText): never ask for one past last
7691
7692         * paragraph_pimpl.C (getChar): make the assert stricter, never
7693         allow the one past last pos to be taken
7694
7695         * paragraph.C (getChar): ws changes only
7696
7697         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7698         (numberOfSeparators): ditto
7699         (numberOfHfills): ditto
7700
7701 2003-03-12  John Levon  <levon@movementarian.org>
7702
7703         * author.h:
7704         * author.C:
7705         * bufferparams.h:
7706         * bufferparams.C:
7707         * paragraph_funcs.C: fix per-buffer authorlists
7708
7709 2003-03-12  John Levon  <levon@movementarian.org>
7710
7711         * text.C: fix newline in right address
7712
7713 2003-03-12  Angus Leeming  <leeming@lyx.org>
7714
7715         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7716         duplicate those in LyXFunc::dispatch.
7717
7718         * commandtags.h:
7719         * LyXAction.C:
7720         * ToolbarDefaults.C:
7721         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7722         Add LFUN_FONTFREE_UPDATE.
7723
7724         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7725         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7726
7727         * bufferview_func.[Ch]: several new functions to facilliate
7728         transfer of data to and from the character dialog.
7729
7730 2003-03-12  John Levon  <levon@movementarian.org>
7731
7732         * buffer.C:
7733         * paragraph.h:
7734         * paragraph.C:
7735         * paragraph_funcs.C:
7736         * paragraph_pimpl.C:
7737         * sgml.C:
7738         * tabular.C:
7739         * text.C:
7740         * text3.C: remove META_NEWLINE in favour of an inset
7741
7742         * rowpainter.h:
7743         * rowpainter.C: remove paintNewline (done by inset)
7744
7745 2003-03-12  John Levon  <levon@movementarian.org>
7746
7747         * paragraph_pimpl.C: complain about bad getChar()s
7748         for a while at least
7749
7750 2003-03-12  John Levon  <levon@movementarian.org>
7751
7752         * buffer.h:
7753         * buffer.C: move paragraph read into a separate function,
7754         a little renaming to reflect that.
7755
7756         * bufferparams.h:
7757         * bufferparams.C: remove the author_ids map, not necessary now
7758
7759         * factory.h:
7760         * factory.C: moved Buffer::readInset to here
7761
7762         * paragraph_funcs.h:
7763         * paragraph_funcs.C: readParagraph free function moved from
7764         buffer.C
7765
7766         * tabular.C: name change
7767
7768 2003-03-12  John Levon  <levon@movementarian.org>
7769
7770         * buffer.C:
7771         * ParagraphParameters.C: move par params input to
7772         a read() method
7773
7774         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7775         behave like a normal read from the stream wrt reading
7776         a line vs. a \\token
7777
7778 2003-03-12  John Levon  <levon@movementarian.org>
7779
7780         * paragraph.C:
7781         * ParagraphParameters.h:
7782         * ParagraphParameters.C: move output code to a
7783         ::write() method
7784
7785 2003-03-12  John Levon  <levon@movementarian.org>
7786
7787         * BufferView.C (insertLyXFile):
7788         * buffer.h:
7789         * buffer.C:
7790         * tabular.C: use a parlist iterator for creating the
7791           document.
7792
7793 2003-03-12  John Levon  <levon@movementarian.org>
7794
7795         * buffer.C: make current_change static local not
7796           static file-scope
7797
7798 2003-03-12  John Levon  <levon@movementarian.org>
7799
7800         * buffer.C: fix insertStringAsLines for change tracking
7801
7802 2003-03-12  John Levon  <levon@movementarian.org>
7803
7804         * BufferView.C:
7805         * tabular.C:
7806         * buffer.h:
7807         * buffer.C:
7808         * bufferparams.h:
7809         * bufferparams.C: move author list into params. Rename some
7810           functions. Move the header reading into a separate token
7811           loop. Move the header token reading into BufferParams.
7812
7813 2003-03-12  John Levon  <levon@movementarian.org>
7814
7815         * changes.C: put debug inside lyxerr.debugging() checks
7816
7817 2003-03-11 André Pönitz <poenitz@gmx.net>
7818
7819         * factory.C: make it aware of InsetHFill
7820
7821 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7822
7823         * buffer.C (latexParagraphs): move function from here...
7824         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7825         args.
7826
7827 2003-03-10  Angus Leeming  <leeming@lyx.org>
7828
7829         * LyXAction.C (init): fix bug in poplating array with multiple entries
7830         with the same LFUN (spotted by JMarc).
7831
7832 2003-03-10  John Levon  <levon@movementarian.org>
7833
7834         * text.C:
7835         * text2.C: move getColumnNearX() near its
7836         only call site
7837
7838 2003-03-10  John Levon  <levon@movementarian.org>
7839
7840         * text.C: fix break before a minipage
7841
7842 2003-03-10  John Levon  <levon@movementarian.org>
7843
7844         * text.C: fix the last commit
7845
7846 2003-03-09  John Levon  <levon@movementarian.org>
7847
7848         * lyxtext.h:
7849         * text.C:
7850         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7851         bug 365 (don't break before insets unless needed). Don't
7852         return a value > last under any circumstances.
7853
7854 2003-03-09  Angus Leeming  <leeming@lyx.org>
7855
7856         * BufferView_pimpl.C (trackChanges, dispatch): call
7857         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7858
7859 2003-03-09  Angus Leeming  <leeming@lyx.org>
7860
7861         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7862         than Dialogs::showAboutlyx().
7863
7864 2003-03-09  Angus Leeming  <leeming@lyx.org>
7865
7866         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7867         than Dialogs::showTabularCreate().
7868
7869 2003-03-09  John Levon  <levon@movementarian.org>
7870
7871         * lyxtext.h:
7872         * text.C:
7873         * text2.C: 3rd arg to nextBreakPoint was always the same.
7874           Use references.
7875
7876 2003-03-08  John Levon  <levon@movementarian.org>
7877
7878         * lyxrow.C:
7879         * paragraph.C:
7880         * paragraph.h:
7881         * rowpainter.C:
7882         * text.C:
7883         * text2.C: Remove the "main" bit from the "main body"
7884           notion.
7885
7886 2003-03-08  John Levon  <levon@movementarian.org>
7887
7888         * text.C (leftMargin): The left margin of an empty
7889         manual label paragraph should not include the label width
7890         string length.
7891
7892         * text.C (prepareToPrint): don't attempt to measure hfills
7893         for empty manual label paragraphs - the answer should be 0
7894
7895 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7896
7897         * CutAndPaste.C: remove commented code and reindent.
7898
7899 2003-03-08  John Levon  <levon@movementarian.org>
7900
7901         * lyxfunc.h:
7902         * lyxfunc.C: move reloadBuffer()
7903
7904         * BufferView.h:
7905         * BufferView.C: to here
7906
7907         * lyxvc.C: add comment
7908
7909         * vc-backend.h:
7910         * vc-backend.C: call bv->reload() to avoid
7911           getStatus() check on MENURELOAD
7912
7913 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7914
7915         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7916         to an old format .dep file.
7917
7918 2003-03-07  Angus Leeming  <leeming@lyx.org>
7919
7920         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7921         when the LFUN_MOUSE_RELEASE should have been handled by
7922         inset->localDispatch.
7923
7924 2003-03-07  Angus Leeming  <leeming@lyx.org>
7925
7926         * BufferView_pimpl.C (dispatch):
7927         * LyXAction.C (init):
7928         * ToolbarDefaults.C (init):
7929         * commandtags.h:
7930         * lyxfunc.C (getStatus):
7931         remove LFUN_INSET_GRAPHICS.
7932
7933         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7934
7935 2003-03-07  Angus Leeming  <leeming@lyx.org>
7936
7937         * commandtags.h:
7938         * LyXAction.C (init):
7939         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7940
7941         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7942
7943         * commandtags.h:
7944         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7945
7946         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7947         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7948
7949 2003-03-07  Angus Leeming  <leeming@lyx.org>
7950
7951         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7952         remove "ert".
7953
7954 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * ParagraphList.C (front): new function
7957         (back): implement
7958
7959 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7960
7961         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7962         and top_row_offset_. removed var first_y.
7963         * text.C (top_y):
7964         * text2.C (LyXText, removeRow):
7965         * text3.C:
7966         * BufferView_pimpl.C:
7967         use these methods instead of using first_y
7968
7969 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * text2.C (pasteSelection): adjust for checkPastePossible
7972
7973         * CutAndPaste.C: remove Paragraph * buf and replace with
7974         ParagraphList paragraphs.
7975         (DeleteBuffer): delete
7976         (cutSelection): change the tc type to textclass_type
7977         (copySelection): change the tc type to textclass_type
7978         (copySelection): adjust for ParagraphList
7979         (pasteSelection): change the tc type to textclass_type
7980         (pasteSelection): adjust for Paragraphlist
7981         (nrOfParagraphs): simplify for ParagraphList
7982         (checkPastePossible): simplify for ParagraphList
7983         (checkPastePossible): remove unused arg
7984
7985         * ParagraphList.C (insert): handle the case where there are no
7986         paragraphs yet.
7987
7988         * CutAndPaste.h: make CutAndPaste a namespace.
7989
7990         * text3.C (dispatch): adjust
7991
7992         * text.C (breakParagraph): add a ParagraphList as arg
7993
7994         * paragraph_funcs.C (breakParagraph): change to take a
7995         BufferParams and a ParagraphList as args.
7996         (breakParagraphConservative): ditto
7997         (mergeParagraph): ditto
7998         (TeXDeeper): add a ParagraphList arg
7999         (TeXEnvironment): ditto
8000         (TeXOnePar): ditto
8001
8002         * buffer.C (readLyXformat2): adjust
8003         (insertStringAsLines): adjust
8004         (latexParagraphs): adjust
8005
8006         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8007         (cutSelection): adjust
8008         (pasteSelection): adjust
8009
8010         * BufferView_pimpl.C (insertInset): adjust
8011
8012 2003-03-05  Angus Leeming  <leeming@lyx.org>
8013
8014         * commandtags.h:
8015         * LyXAction.C (init):
8016         * BufferView_pimpl.C (dispatch):
8017         * lyxfunc.C (getStatus):
8018         remove LFUN_CHILD_INSERT.
8019
8020         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8021
8022 2003-03-05  Angus Leeming  <leeming@lyx.org>
8023
8024         * commandtags.h:
8025         * LyXAction.C (init):
8026         * src/factory.C (createInset):
8027         * lyxfunc.C (getStatus):
8028         * text3.C (dispatch):
8029         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8030
8031         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8032
8033 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * ParagraphList.C (insert): handle insert right before end()
8036         (erase): fix cases where it can be first or last paragraph.
8037
8038 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8041         Paragraph::next and Paragraph::previous
8042         (TeXOnePar): ditto
8043
8044         * text.C (breakParagraph): adjust
8045
8046         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8047         BufferParams& as arg.
8048         (breakParagraph): use ParagraphList::insert
8049         (breakParagraphConservative): take a Buffer* instead of a
8050         BufferParams& as arg.
8051         (breakParagraphConservative): use ParagraphList::insert.
8052
8053         * buffer.C (insertStringAsLines): un-const it
8054         (insertStringAsLines): adjust
8055
8056         * ParagraphList.C (insert): new function
8057
8058         * CutAndPaste.C (pasteSelection): adjust
8059
8060         * text.C (backspace): adjust
8061
8062         * tabular.C (SetMultiColumn): adjust
8063
8064         * CutAndPaste.C (cutSelection): adjust
8065         (pasteSelection): adjust
8066
8067         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8068         Buffer const * as arg
8069
8070         * ParagraphList.C (erase): new function
8071         * paragraph_funcs.C (mergeParagraph): use it
8072         (mergeParagraph): make it take a Buffer* instead of a
8073         BufferParams* as arg
8074
8075         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8076         as arg
8077         (breakParagraphConservative): ditto
8078
8079         * paragraph.h: remove the breakParagraph friend
8080
8081         * paragraph.C (eraseIntern): new function
8082         (setChange): new function
8083
8084         * paragraph_funcs.C (mergeParagraph): make it take a
8085         ParagraphList::iterator instead of a Paragraph *, adjust
8086         accordingly.
8087
8088         * paragraph.h: move an #endif so that the change tracking stuff
8089         also works in the NO_NEXT case.
8090
8091 2003-03-04  Angus Leeming  <leeming@lyx.org>
8092
8093         * commandtags.h:
8094         * LyXAction.C: new LFUN_INSET_MODIFY.
8095
8096         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8097         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8098
8099 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * several files: ws changes only
8102
8103         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8104         (TeXEnvironment): ditto
8105         (TeXDeeper): ditto
8106
8107         * buffer.C (makeLaTeXFile): adjust
8108         (latexParagraphs): make it take ParagraphList::iterator as args
8109
8110 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * buffer.C (latexParagraphs): adjust
8113
8114         * paragraph.C (TeXOnePar): move function...
8115         (optArgInset): move function...
8116         (TeXEnvironment): move function...
8117         * paragraph_pimpl.C (TeXDeeper): move function...
8118         * paragraph_funcs.C: ...here
8119
8120         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8121
8122 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * buffer.C (readInset): remove compability code for old Figure and
8125         InsetInfo insets
8126
8127 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * buffer.C: ws changes
8130         (readInset):
8131
8132         * BufferView_pimpl.C: ditto
8133         * author.C: ditto
8134         * buffer.h: ditto
8135         * bufferlist.h: ditto
8136         * changes.h: ditto
8137         * lyxfunc.C: ditto
8138
8139 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8140
8141         * converter.[Ch]: split into itself +
8142         * graph.[Ch]
8143         * format.[Ch]
8144         * Makefile.am: += graph.[Ch] + format.[Ch]
8145         * MenuBackend.C
8146         * buffer.C
8147         * exporter.C
8148         * importer.C
8149         * lyx_main.C
8150         * lyxfunc.C
8151         * lyxrc.C: added #include "format.h"
8152
8153 2003-02-27  Angus Leeming  <leeming@lyx.org>
8154
8155         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8156           a label.
8157
8158         * factory.C (createInset): add "label" to the factory.
8159
8160         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8161           string and do no more.
8162
8163 2003-02-27  Angus Leeming  <leeming@lyx.org>
8164
8165         * commandtags.h:
8166         * LyXAction.C (init):
8167         * factory.C (createInset):
8168         * BufferView_pimpl.C (dispatch):
8169           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8170
8171         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8172
8173         * lyxfunc.C (dispatch):
8174         * text3.C (dispatch): pass name to params2string.
8175
8176 2003-02-26  Angus Leeming  <leeming@lyx.org>
8177
8178         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8179           blocks together.
8180           Rearrange the ~includes. Strip out the unnecessary ones.
8181
8182         * factory.C (createInset): reformat.
8183           create new insets for the various LFUN_XYZ_APPLY lfuns.
8184
8185 2003-02-26  John Levon  <levon@movementarian.org>
8186
8187         * lyxrow.h:
8188         * lyxrow.C: add isParStart,isParEnd helpers
8189
8190         * paragraph.h: make isInserted/DeletedText take refs
8191
8192         * paragraph_funcs.h:
8193         * paragraph_funcs.C: remove #if 0'd code
8194
8195         * lyxtext.h:
8196         * text3.C:
8197         * text2.C:
8198         * text.C: use lyxrow helpers above.
8199           Move draw and paint routines to RowPainter.
8200           Make several methods use refs not pointers.
8201           Make backgroundColor() const.
8202           Add markChangeInDraw(), isInInset().
8203           Merge changeRegionCase into changeCase.
8204           Make workWidth() shouldn't-happen code into an Assert.
8205
8206         * rowpainter.h:
8207         * rowpainter.C: new class for painting a row.
8208
8209         * vspace.h:
8210         * vspace.C: make inPixels take a ref
8211
8212 2003-02-26  Angus Leeming  <leeming@lyx.org>
8213
8214         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8215         LFUN_REF_APPLY.
8216
8217 2003-02-25  John Levon  <levon@movementarian.org>
8218
8219         * ispell.C: give the forked command a more accurate name
8220
8221 2003-02-22  John Levon  <levon@movementarian.org>
8222
8223         * toc.h:
8224         * toc.C: make TocItem store an id not a Paragraph *
8225           (bug #913)
8226
8227 2003-02-21  Angus Leeming  <leeming@lyx.org>
8228
8229         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8230           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8231           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8232           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8233           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8234           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8235
8236         * BufferView_pimpl.C (dispatch):
8237         * LyXAction.C (init):
8238         * factory.C (createInset):
8239         * lyxfunc.C (getStatus, dispatch):
8240         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8241
8242 2003-02-21  Angus Leeming  <leeming@lyx.org>
8243
8244         * BufferView_pimpl.C (MenuInsertLyXFile):
8245         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8246         * lyxfunc.C (menuNew, open, doImport):
8247           no longer pass a LyXView & to fileDlg.
8248
8249 2003-02-21  Angus Leeming  <leeming@lyx.org>
8250
8251         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8252         * LyXAction.C: change, BIBKEY to BIBITEM.
8253         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8254         Change InsetBibKey to InsetBibitem.
8255         Change BIBKEY_CODE to BIBITEM_CODE.
8256         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8257         * factory.C: replace insetbib.h with insetbibitem.h.
8258         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8259         * paragraph.C: replace insetbib.h with insetbibitem.h.
8260         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8261         Change bibkey() to bibitem().
8262         * text.C: remove insetbib.h.
8263         * text2.C: replace insetbib.h with insetbibitem.h.
8264         change bibkey() to bibitem().
8265         * text3.C: remove insetbib.h.
8266         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8267
8268 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8269
8270         * lyxrc.C (output): enclose user email in quotes (in case there are
8271         several words)
8272
8273 2003-02-18  John Levon  <levon@movementarian.org>
8274
8275         * buffer.h: add std::
8276
8277 2003-02-17  John Levon  <levon@movementarian.org>
8278
8279         * SpellBase.h:
8280         * ispell.h:
8281         * ispell.C:
8282         * pspell.h:
8283         * pspell.C: reworking. Especially in ispell, a large
8284           number of clean ups and bug fixes.
8285
8286         * lyxfunc.C: fix revert to behave sensibly
8287
8288 2003-02-17 André Pönitz <poenitz@gmx.net>
8289
8290         * LyXAction.C:
8291         * commandtags.h: new LFUN_INSERT_BIBKEY
8292
8293         * layout.h:
8294         * lyxlayout.C:
8295         * buffer.C:
8296         * factory.C:
8297         * text.C:
8298         * text2.C:
8299         * text3.C:
8300         * paragraph.[Ch]:
8301         * paragraph_func.C: remove special bibkey handling
8302
8303 2003-02-17  John Levon  <levon@movementarian.org>
8304
8305         * text.C (Delete): fix case where delete at the end of
8306           the very first paragraph would not merge the pars
8307
8308 2003-02-17  John Levon  <levon@movementarian.org>
8309
8310         * lyxrow.C: fix lastPrintablePos()
8311
8312 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8313
8314         * bufferparams.C (writeLaTeX): add a std:here
8315
8316         * buffer.C: and remove a using directive there
8317
8318 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8319
8320         * buffer.C (makeLaTeXFile): move the code that generates the
8321           preamble...
8322
8323         * bufferparams.C (writeLaTeX): ... in this new method
8324
8325         * LaTeXFeatures.C (getEncodingSet): make const
8326           (getLanguages): make const
8327
8328         * MenuBackend.C (binding): returns the binding associated to this
8329           action
8330           (add): sets the status of each item by calling getStatus. Adds
8331           some intelligence.
8332           (read): add support for OptSubMenu
8333           (expand): remove extra separator at the end of expanded menu
8334
8335 2003-02-15  John Levon  <levon@movementarian.org>
8336
8337         * BufferView.C:
8338         * BufferView_pimpl.C:
8339         * bufferlist.h:
8340         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8341           inset code that had no actual effect. Remove unneeded status
8342           code.
8343
8344 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8345
8346         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8347           in preamble
8348
8349 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8350
8351         * text.C (drawLengthMarker): also draw an arrow marker for
8352           symbolic lengths (medskip...)
8353
8354 2003-02-14  John Levon  <levon@movementarian.org>
8355
8356         * tabular.h:
8357         * tabular.C: better method names
8358
8359 2003-02-14  John Levon  <levon@movementarian.org>
8360
8361         * BufferView_pimpl.C:
8362         * bufferlist.C:
8363         * buffer.C:
8364         * converter.C:
8365         * lyx_cb.C:
8366         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8367           it's a more accurate name. Remove some pointless uses.
8368
8369 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8370
8371         * text2.C (LyXText): change order of initilizers to shut off
8372           warnings
8373
8374 2003-02-14  John Levon  <levon@movementarian.org>
8375
8376         * buffer.C: use ParIterator for getParFromID()
8377
8378         * paragraph.h:
8379         * paragraph.C:
8380         * paragraph_pimpl.h:
8381         * paragraph_pimpl.C: remove unused getParFromID()
8382
8383 2003-02-14  John Levon  <levon@movementarian.org>
8384
8385         * buffer.C: remove some very old #if 0'd parse code
8386
8387 2003-02-13  John Levon  <levon@movementarian.org>
8388
8389         * text.h:
8390         * text.C:
8391         * text2.C: move hfillExpansion(), numberOfSeparators(),
8392           rowLast(), rowLastPrintable(), numberofHfills(),
8393           numberOfLabelHfills() ...
8394
8395         * lyxrow.h:
8396         * lyxrow.C: ... to member functions here.
8397
8398         * paragraph.h:
8399         * paragraph.C:
8400         * lyxtext.h:
8401         * text.C: remove LyXText::beginningOfMainBody(), and call
8402           p->beginningOfMainBody() directly. Move the check for
8403           LABEL_MANUAL into the latter.
8404
8405         * text.h:
8406         * text.C:
8407         * text2.C:
8408         * vspace.C:
8409         * BufferView.h:
8410         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8411
8412         * text.h:
8413         * text.C:
8414         * text2.C:
8415         * text3.C:
8416         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8417           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8418
8419 2003-02-13  John Levon  <levon@movementarian.org>
8420
8421         * CutAndPaste.C: remove debug
8422
8423 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * paragraph.C (asString): remove two unused variables
8426
8427         * lyxtextclass.C (readTitleType):
8428           (Read):
8429           (LyXTextClass): handle new members titletype_ and titlename_
8430
8431         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8432
8433 2003-02-09  John Levon  <levon@movementarian.org>
8434
8435         * buffer.h:
8436         * buffer.C: replace hand-coded list with a map for the dep clean
8437
8438 2003-02-08  John Levon  <levon@movementarian.org>
8439
8440         * LaTeX.C: consolidate code into showRunMessage() helper
8441
8442 2003-02-08  John Levon  <levon@movementarian.org>
8443
8444         * lyxfind.C:
8445         * lyxtext.h:
8446         * text2.C:
8447         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8448           and pass the size in explicitly
8449
8450         * BufferView_pimpl.h:
8451         * BufferView_pimpl.C:
8452         * BufferView.h:
8453         * BufferView.C: add getCurrentChange()
8454
8455         * BufferView_pimpl.h:
8456         * BufferView_pimpl.C: handle change lfuns
8457
8458         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8459           for changes. Mark pasted paragraphs as new.
8460
8461         * support/lyxtime.h:
8462         * support/lyxtime.C:
8463         * DepTable.C: abstract time_t as lyx::time_type
8464
8465         * LColor.h:
8466         * LColor.C: add colours for new text, deleted text, changebars
8467
8468         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8469           package use "usenames" option.
8470
8471         * commandtags.h:
8472         * lyxfunc.C:
8473         * LyXAction.C: add change lfuns
8474
8475         * Makefile.am:
8476         * author.h:
8477         * author.C: author handling
8478
8479         * buffer.h:
8480         * buffer.C: add a per-buffer author list, with first entry as
8481           current author. Handle new .lyx tokens for change tracking. Output
8482           author list to .lyx file. Output dvipost stuff to .tex preamble.
8483           Bump lyx format to 222.
8484
8485         * bufferlist.h:
8486         * bufferlist.C: add setCurrentAuthor() to reset current author details
8487           in all buffers.
8488
8489         * bufferparams.h:
8490         * bufferparams.C: add param for tracking
8491
8492         * bufferview_funcs.C: output change info in minibuffer
8493
8494         * Makefile.am:
8495         * changes.h:
8496         * changes.C: add change-tracking structure
8497
8498         * debug.h:
8499         * debug.C: add CHANGES debug flag
8500
8501         * lyxfind.h:
8502         * lyxfind.C: add code for finding the next change piece
8503
8504         * lyxrc.h:
8505         * lyxrc.C: add user_name and user_email
8506
8507         * lyxrow.h:
8508         * lyxrow.C: add a metric for the top of the text line
8509
8510         * lyxtext.h:
8511         * text.C: implement accept/rejectChange()
8512
8513         * lyxtext.h:
8514         * text.C: paint changebars. Paint new/deleted text in the chosen
8515         colours. Strike through deleted text.
8516
8517         * paragraph.h:
8518         * paragraph.C:
8519         * paragraph_pimpl.h:
8520         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8521           in the current change to the insert functions. Rework erase to
8522           mark text as deleted, adding an eraseIntern() and a range-based
8523           erase(). Implement per-paragraph change lookup and
8524           accept/reject.
8525
8526         * paragraph_funcs.C: Fixup paste for change tracking.
8527
8528         * tabular.C: mark added row/columns as new.
8529
8530         * text.C: fix rowLast() to never return -1. Don't allow
8531           spellchecking of deleted text. Track transpose changes. Don't
8532           allow paragraph break or merge where appropriate.
8533
8534         * text2.C: leave cursor at end of selection after a cut.
8535
8536 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8537
8538         * text.C (getLengthMarkerHeight):
8539         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8540         visible on screen too.
8541
8542 2003-02-07  John Levon  <levon@movementarian.org>
8543
8544         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8545
8546 2003-02-05  Angus Leeming  <leeming@lyx.org>
8547
8548         * lyxserver.C (read_ready): revert my patch of 11 September last year
8549         as it sends PC cpu through the roof. Presumably this means that
8550         the lyxserver will no longer run on an Alpha...
8551
8552 2003-01-30  Angus Leeming  <leeming@lyx.org>
8553
8554         * factory.C (createInset): create an InsetCommandParam of type "index"
8555         and use it to 'do the right thing'.
8556
8557         * text2.C (getStringToIndex): ensure that cursor position is always
8558         reset to the reset_cursor position.
8559
8560 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8561
8562         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8563         disabled.
8564
8565 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8566
8567         * bufferview.C:
8568         * lyxcb.C:
8569         * lyxfunc.C: Output messages with identical spelling, punctuation,
8570         and spaces
8571
8572 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8573
8574         * MenuBackend.C (expandFormats): List only viewable export formats
8575         in "View" menu
8576
8577         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8578         message
8579
8580         * lyxfunc.C (getStatus): Make sure that formats other than
8581         "fax" can also be disabled
8582
8583 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8584
8585         * text3.C (dispatch): put the lfuns that insert insets in 3
8586         groups, and call doInsertInset with appropriate arguments.
8587         (doInsertInset): new function, that creates an inset and inserts
8588         it according to some boolean parameters.
8589
8590 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8591
8592         * buffer.C (readFile): remember to pass on 'par' when calling
8593         readFile recursively.
8594
8595 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8596
8597         * MenuBackend.C (expandFormats): add "..." to import formats.
8598
8599 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8600
8601         * paragraph.C (asString): Remove XForms RTL hacks.
8602
8603 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8604         * buffer.C: fix typo
8605
8606 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * Makefile.am (LIBS): delete var
8609         (lyx_LDADD): add @LIBS@ here instead.
8610
8611 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8612
8613         * Clarify the meaning of "wheel mouse jump"
8614
8615 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8616
8617         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8618         tabular in a float
8619
8620 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8621
8622         * importer.C (Loaders): do not preallocate 3 elements in the
8623         vector, since one ends up with 6 elements otherwise
8624
8625 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8626
8627         * DepTable.C (write): write the file name as last element of the
8628         .dep file (because it may contain spaces)
8629         (read): read info in the right order
8630
8631 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8632
8633         * paragraph_pimpl.C (simpleTeXBlanks):
8634         (simpleTeXSpecialChars):
8635         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8636
8637         * tabular.C (latex): add some missing case statements. Reindent.
8638
8639         * MenuBackend.C (expandToc): remove unused variable.
8640
8641 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8642
8643         * LColor.C:
8644         * LaTeX.C:
8645         * LyXAction.C:
8646         * MenuBackend.C:
8647         * buffer.C:
8648         * exporter.C:
8649         * lyxfunc.C:
8650         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8651         and the like.
8652
8653 2003-01-05  John Levon  <levon@movementarian.org>
8654
8655         * BufferView.h:
8656         * BufferView.C: add getEncoding()
8657
8658         * kbsequence.h:
8659         * kbsequence.C: do not store last keypress
8660
8661         * lyxfunc.h:
8662         * lyxfunc.C: store last keypress here instead. Pass encoding
8663           to getISOEncoded()
8664
8665 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8666
8667         * lyx_main.C (init): remove annoying error message when following
8668         symbolic links (bug #780)
8669
8670 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8671
8672         * text.C (insertChar):
8673         * lyxrc.C (getDescription): remove extra spaces
8674
8675 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8676
8677         * lyxrc.C (getDescription): remove extra spaces
8678
8679 2002-12-20  John Levon  <levon@movementarian.org>
8680
8681         * text3.C: hack fix for page up/down across tall rows
8682
8683 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8684
8685         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8686         not been invoked
8687
8688 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8689
8690         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8691         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8692         thesaurus is not compiled in
8693
8694 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8695
8696         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8697
8698 2002-12-16  Angus Leeming  <leeming@lyx.org>
8699
8700         * lyxrc.[Ch]:
8701         * lyx_main.C (init): remove override_x_deadkeys stuff.
8702
8703 2002-12-12  John Levon  <levon@movementarian.org>
8704
8705         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8706           insert. Only remove shift modifier under strict
8707           circumstances.
8708
8709 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * MenuBackend.C (expandToc): fix crash.
8712
8713 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8714
8715         * MenuBackend.C (expandToc): gettext on float names.
8716
8717 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8718
8719         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8720         implement bool empty() [bug 490]
8721
8722 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8723
8724         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8725
8726 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8727
8728         * several files: ws changes
8729
8730 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8731
8732         * text2.C (setCounter): clean up a bit, use boost.format.
8733         (updateCounters): initialize par upon declaration.
8734
8735         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8736         if the layout exists. We do not just store the layout any more.
8737         (SwitchLayoutsBetweenClasses): use boost.format
8738
8739 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8740
8741         * converter.C (convert): if from and to files are the same, use a
8742         temporary files as intermediary
8743
8744 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8745
8746         * commandtags.h:
8747         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8748
8749 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8750
8751         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8752
8753 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8754
8755         * tabular.C (asciiPrintCell): use string(size, char) instead of
8756         explicit loop.
8757
8758         * sgml.C (openTag): fix order of arguments to string constructor
8759         (closeTag): ditto
8760
8761         * lyxfunc.C (dispatch): use boost.format
8762
8763         * lots of files: change "c" -> 'c'
8764
8765 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8766
8767         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8768
8769 2002-11-25  Angus Leeming  <leeming@lyx.org>
8770
8771         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8772
8773         * lyx_main.C (init): compile fix.
8774
8775 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8776
8777         * lyx_cb.C (start): boost.formatify
8778         do not include <iostream>
8779
8780         * lengthcommon.C: ws only
8781
8782         * boost-inst.C,BoostFormat.h: add more explict instantations
8783
8784 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8785
8786         * lots of files: handle USE_BOOST_FORMAT
8787
8788 2002-11-21  John Levon  <levon@movementarian.org>
8789
8790         * pspell.C: fix compile
8791
8792 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8793
8794         * lyxfunc.C (dispatch): use boost::format
8795         (open): ditto
8796         (doImport): ditto
8797
8798         * lyxfont.C (stateText): use boost::format
8799
8800         * lyx_main.C (LyX): use boost::format
8801         (init): ditto
8802         (queryUserLyXDir): ditto
8803         (readRcFile): ditto
8804         (parse_dbg): ditto
8805         (typedef boost::function): use the recommened syntax.
8806
8807         * importer.C (Import): use boost::format
8808
8809         * debug.C (showLevel): use boost::format
8810
8811         * converter.C (view): use boost::format
8812         (convert): ditto
8813         (move): ditto
8814         (scanLog): ditto
8815
8816         * bufferview_funcs.C (currentState): use boost::format
8817
8818         * bufferlist.C (emergencyWrite): use boost::format
8819
8820         * buffer.C (readLyXformat2): use boost::format
8821         (parseSingleLyXformat2Token): ditto
8822
8823         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8824
8825         * LaTeX.C (run): use boost::format
8826
8827         * Chktex.C (scanLogFile): use boost::format
8828
8829         * BufferView_pimpl.C (savePosition): use boost::format
8830         (restorePosition): ditto
8831         (MenuInsertLyXFile): ditto
8832
8833         * BoostFormat.h: help file for explicit instation.
8834
8835 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8836
8837         * tabular.C (latex): Support for block alignment in fixed width
8838         columns.
8839
8840 2002-11-17  John Levon  <levon@movementarian.org>
8841
8842         * BufferView_pimpl.C:
8843         * lyx_cb.C:
8844         * lyxfunc.C: split filedialog into open/save
8845
8846 2002-11-08  Juergen Vigna  <jug@sad.it>
8847
8848         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8849         by my last patch (hopefully).
8850
8851 2002-11-08  John Levon  <levon@movementarian.org>
8852
8853         * iterators.h:
8854         * iterators.C:
8855         * buffer.h:
8856         * buffer.C:
8857         * paragraph.h:
8858         * paragraph.C:
8859         * toc.h:
8860         * toc.C: ParConstIterator, and use it (from Lars)
8861
8862 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8863
8864         * lyxtextclass.[Ch]: revise and add doxygen comments
8865
8866 2002-11-07  John Levon  <levon@movementarian.org>
8867
8868         * text.C: fix progress value for spellchecker
8869
8870         * toc.C: fix navigate menu for insetwrap inside minipage
8871
8872         * paragraph_funcs.C: added FIXME for suspect code
8873
8874 2002-11-07  John Levon  <levon@movementarian.org>
8875
8876         * BufferView_pimpl.C: fix redrawing of insets
8877           on buffer switch
8878
8879 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8880
8881         * text2.C (updateCounters): fix bug 668
8882
8883 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8884
8885         * text3.C (dispatch): Do not make the buffer dirty when moving the
8886         cursor.
8887
8888 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8889
8890         * vc-backend.C: STRCONV
8891         (scanMaster): ditto
8892
8893         * text2.C (setCounter): STRCONV
8894
8895         * paragraph.C (asString): STRCONV
8896
8897         * lyxlength.C (asString): STRCONV
8898         (asLatexString): ditto
8899
8900         * lyxgluelength.C (asString): STRCONV
8901         (asLatexString): ditto
8902
8903         * lyxfunc.C (dispatch): STRCONV
8904         (open): ditto
8905
8906         * lyxfont.C (stateText): STRCONV
8907
8908         * importer.C (Import): STRCONV
8909
8910         * counters.C (labelItem): STRCONV
8911         (numberLabel): ditto
8912         (numberLabel): remove unused ostringstream o
8913
8914         * chset.C: STRCONV
8915         (loadFile): ditto
8916
8917         * bufferview_funcs.C (currentState): STRCONV
8918
8919         * buffer.C (readFile): STRCONV
8920         (asciiParagraph): ditto
8921         (makeLaTeXFile): ditto
8922
8923         * Spacing.C (writeEnvirBegin): STRCONV
8924
8925         * LaTeXFeatures.C (getLanguages): STRCONV
8926         (getPackages): ditto
8927         (getMacros): ditto
8928         (getBabelOptions): ditto
8929         (getTClassPreamble): ditto
8930         (getLyXSGMLEntities): ditto
8931         (getIncludedFiles): ditto
8932
8933         * LaTeX.C: STRCONV
8934         (run): ditto
8935         (scanAuxFile): ditto
8936         (deplog): ditto
8937
8938         * LString.h: add the STRCONV macros
8939
8940         * BufferView_pimpl.C (savePosition): STRCONV
8941         (restorePosition): ditto
8942         (MenuInsertLyXFile): ditto
8943
8944         * vc-backend.C (scanMaster): change from submatch[...] to
8945         submatch.str(...)
8946
8947         * funcrequest.C: include config.h
8948
8949         * factory.C: include config.h
8950
8951         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8952
8953         * box.C: include config.h
8954
8955         * LaTeX.C (scanAuxFile): change from submatch[...] to
8956         submatch.str(...)
8957         (deplog): ditto
8958
8959 2002-10-25  Angus Leeming  <leeming@lyx.org>
8960
8961         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8962
8963         * ispell.[Ch] (setError): new method.
8964         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8965         Use setError() insetead of goto END.
8966
8967         * lyx_cb.C (AutoSave): move out child process into new class
8968         AutoSaveBuffer.
8969
8970 2002-10-30  John Levon  <levon@movementarian.org>
8971
8972         * text3.C: make start appendix undoable
8973
8974 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8975
8976         * lyxlength.C (inPixels): Fix returned value.
8977
8978         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8979         environment.
8980
8981 2002-10-24  Angus Leeming  <leeming@lyx.org>
8982
8983         * lyxgluelength.h: no need to forward declare BufferParams
8984         or BufferView, so don't.
8985
8986 2002-10-21  John Levon  <levon@movementarian.org>
8987
8988         * BufferView.C: menuUndo ->undo, redo
8989
8990         * BufferView.h: document, remove dead, make some methods private
8991
8992         * paragraph_funcs.h:
8993         * paragraph_funcs.C:
8994         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8995
8996         * buffer.h:
8997         * buffer.C:
8998         * sgml.h:
8999         * sgml.C: move sgml open/close tag into sgml.C
9000
9001         * bufferview_funcs.h: unused prototype
9002
9003         * lyxfunc.h:
9004         * lyxfunc.C: remove unused
9005
9006         * lyxtext.h:
9007         * text.C: remove unused
9008
9009 2002-10-21  John Levon  <levon@movementarian.org>
9010
9011         * BufferView.h:
9012         * BufferView.C:
9013         * BufferView_pimpl.h:
9014         * BufferView_pimpl.C: fix mouse wheel handling based on
9015           patch from Darren Freeman
9016
9017 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9018
9019         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9020
9021 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9022
9023         * lyxlength.C (inPixels): Fix hanfling of negative length.
9024         Fix LyXLength::MU case.
9025
9026 2002-10-16  John Levon  <levon@movementarian.org>
9027
9028         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9029
9030 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9031
9032         * converter.C (view): add support for $$i (file name) and $$p
9033         (file path) for the viewer command. If $$i is not specified, then
9034         it is appended to the command (for compatibility with old syntax)
9035
9036 2002-10-14  Juergen Vigna  <jug@sad.it>
9037
9038         * undo_funcs.C (textHandleUndo): alter the order in which the
9039         new undopar is added to the LyXText, as we have to set first
9040         the right prev/next and then add it as otherwise the rebuild of
9041         LyXText is not correct. Also reset the cursor to the right paragraph,
9042         with this IMO we could remove the hack in "redoParagraphs()".
9043
9044 2002-10-09  Angus Leeming  <leeming@lyx.org>
9045
9046         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9047         to turn off an optimisation if a new inset is to be inserted.
9048
9049 2002-10-11 André Pönitz <poenitz@gmx.net>
9050
9051         * lyxtext.h: make some functions public to allow access
9052         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9053
9054 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9055
9056         * text3.C (dispatch): when changing layout, avoid an infinite loop
9057         [bug #652]
9058
9059 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9060
9061         * lyxrc.C (read): treat a viewer or converter command of "none" as
9062         if it were empty.
9063
9064         * MenuBackend.C (expandFormats): for an update, also allow the
9065         formats that are not viewable
9066
9067         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9068         script if it is newer than the lyxrc.defaults in user directory
9069
9070 2002-10-07 André Pönitz <poenitz@gmx.net>
9071
9072         * text.C: Vitaly Lipatov's small i18n fix
9073
9074 2002-09-25  Angus Leeming  <leeming@lyx.org>
9075
9076         * ispell.h: doxygen fix.
9077
9078 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9079
9080         * buffer.h (readFile): Add a new argument to the method, to allow
9081         reading of old-format templates.
9082
9083 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9084
9085         * toc.C (getTocList): Get TOC from InsetWrap.
9086
9087 2002-09-16  John Levon  <levon@movementarian.org>
9088
9089         * lyxfunc.C: check tabular for cut/copy too
9090
9091 2002-09-12  John Levon  <levon@movementarian.org>
9092
9093         * LyXAction.C: tidy
9094
9095         * factory.h:
9096         * factory.C: add header
9097
9098         * paragraph_funcs.h:
9099         * paragraph_funcs.C: cleanup
9100
9101 2002-09-11  John Levon  <levon@movementarian.org>
9102
9103         * PrinterParams.h: odd/even default to true
9104
9105 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9106
9107         * PrinterParams.h: update printer parameters for new xforms dialog
9108
9109 2002-09-11  Angus Leeming  <leeming@lyx.org>
9110
9111         * lyxserver.C (read_ready): re-write to make it more transparent
9112         and to make it work in coherent fashion under Tru64 Unix.
9113
9114 2002-09-11  André Pönitz <poenitz@gmx.net>
9115
9116         * commandtags.h:
9117         * LyXAction.C:
9118         * text3.C: implement LFUN_WORDSEL
9119
9120 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9121
9122         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9123         make floatlist_ a boost::shared_ptr<FloatList>
9124
9125         * lyxtextclass.C: include FloatList.h
9126         (LyXTextClass): initialize floatlist_
9127         (TextClassTags): add TC_NOFLOAT
9128         (Read): match "nofloat" to TC_NOFLOAT and use it.
9129         (readFloat): modify call to floatlist_
9130         (floats): ditto
9131         (floats): ditto
9132
9133         * FloatList.[Ch] (FloatList): remove commented out float
9134         initialization.
9135         (erase): new function
9136
9137 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9138
9139         * MenuBackend.C (expandToc): fix crash when there is no document
9140         open
9141
9142 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9143
9144         * many files: Add insetwrap.
9145
9146 2002-09-09  John Levon  <levon@movementarian.org>
9147
9148         * text2.C: remove confusing and awkward depth wraparound
9149
9150 2002-09-09  John Levon  <levon@movementarian.org>
9151
9152         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9153
9154         * buffer.h:
9155         * buffer.C: remove getIncludeonlyList()
9156
9157         * paragraph.C:
9158         * lyxfunc.C: remove headers
9159
9160 2002-09-09  Juergen Vigna  <jug@sad.it>
9161
9162         * text.C (getColumnNearX): fix form Michael this is most
9163         probably a cut&paste bug.
9164
9165 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9166
9167         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9168
9169         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9170         references, ws changes.
9171
9172         * text2.C (init): update counters after init
9173         (insertParagraph): no need to set counter on idividual paragraphs.
9174         (setCounter): access the counters object in the textclass object
9175         on in the buffer object.
9176         (updateCounters): ditto
9177
9178         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9179         shared_ptr<Counters> to avoid loading counters.h in all
9180         compilation units.
9181         (LyXTextClass): initialize ctrs_
9182         (TextClassTags): add TC_COUNTER, and ...
9183         (Read): use it here.
9184         (CounterTags): new tags
9185         (readCounter): new function
9186         (counters): new funtion
9187         (defaultLayoutName): return a const reference
9188
9189         * counters.C (Counters): remove contructor
9190         (newCounter): remove a couple of unneeded statements.
9191         (newCounter): simplify a bit.
9192         (numberLabel): some small formatting changes.
9193
9194         * buffer.[Ch]: remove all traces of counters, move the Counters
9195         object to the LyXTextClass.
9196
9197 2002-09-06  Alain Castera  <castera@in2p3.fr>
9198
9199         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9200         package to set the horizontal alignment on fixed width columns.
9201
9202         * lyx_sty.C:
9203         * lyx_sty.h: added tabularnewline macro def.
9204
9205         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9206
9207 2002-09-06  John Levon  <levon@movementarian.org>
9208
9209         * LyXAction.C: tooltips for sub/superscript
9210
9211         * MenuBackend.C: a bit more verbose
9212
9213         * lyxfunc.C: tiny clean
9214
9215         * undo_funcs.C: document undo_frozen
9216
9217 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * counters.C (Counters): add missing algorithm counter.
9220
9221         * text2.C (setCounter): lookup the counter with layouts latexname
9222         instead of by section number.
9223         (setCounter): use a hackish way to lookup the correct enum
9224         counter.
9225         a float name->type change
9226         reset enum couners with counter name directly instead of depth value.
9227
9228         * counters.C (Counters): remove the push_backs, change to use the
9229         float type not the float name.
9230         (labelItem): remove unused string, float name->type change
9231
9232         * counters.h: don't include vector, loose the enums and sects vectors
9233
9234 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9237         (Read): add float->TC_FLOAT to textclassTags
9238         (Read): and handle it in the switch
9239         (readFloat): new function
9240
9241         * FloatList.C (FloatList): comment out the hardcoded float
9242         definitions.
9243
9244         * lyxlayout.h: ws change.
9245
9246 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9247
9248         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9249
9250 2002-09-03  Angus Leeming  <leeming@lyx.org>
9251
9252         * BufferView_pimpl.h: qualified name is not allowed in member
9253         declaration: WorkArea & Pimpl::workarea() const;
9254
9255         * factory.C: added using std::endl directive.
9256
9257         * text3.C: added using std::find and std::vector directives.
9258
9259 2002-08-29  André Pönitz <poenitz@gmx.net>
9260
9261         * lyxtext.h:
9262         * text2.C: remove unused member number_of_rows
9263
9264         * Makefile.am:
9265         * BufferView2.C: remove file, move contents to...
9266         * BufferView.C: ... here
9267
9268         * BufferView_pimpl.C:
9269         * factory.C: move more inset creation to factory
9270
9271         * vspace.C: avoid direct usage of LyXText, ws changes
9272
9273         * BufferView.[Ch]:
9274                 don't provide direct access to WorkArea, use two simple
9275                 acessors haveSelction() and workHeight() instead
9276
9277
9278 2002-08-29  John Levon  <levon@movementarian.org>
9279
9280         * BufferView_pimpl.C (dispatch): do not continue when
9281           no buffer
9282
9283 2002-08-28  André Pönitz <poenitz@gmx.net>
9284
9285         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9286
9287         * BufferView.h:
9288         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9289
9290 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9291
9292         * buffer.C: increment LYX_FORMAT to 221
9293
9294         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9295         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9296
9297         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9298
9299         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9300
9301 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9302
9303         * factory.C (createInset): use LyXTextClass::floats
9304
9305         * MenuBackend.C (expandFloatListInsert):
9306         (expandFloatInsert):
9307         (expandToc):
9308
9309         * text2.C (setCounter):
9310
9311         * LaTeXFeatures.C (useFloat):
9312         (getFloatDefinitions):
9313
9314         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9315
9316         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9317         floatlist_, with accessor floats().
9318
9319         * FloatList.h: remove global FloatList
9320
9321 2002-08-26  André Pönitz <poenitz@gmx.net>
9322
9323         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9324
9325         * BufferView.h:
9326         * BufferView2.C:
9327         * BufferView_pimpl.C:
9328         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9329
9330 2002-08-25  John Levon  <levon@movementarian.org>
9331
9332         * LyXAction.C: fix margin note description
9333
9334 2002-08-24  John Levon  <levon@movementarian.org>
9335
9336         * buffer.C:
9337         * bufferlist.C:
9338         * bufferview_funcs.C:
9339         * lyxfont.C:
9340         * undo_funcs.C: cleanups
9341
9342         * lyxfunc.C: disable CUT/COPY when no selection
9343
9344 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9345
9346         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9347         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9348
9349         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9350         Add backward compatibility to "mono", "gray" and "no".
9351
9352 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9353
9354         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9355         (and file_format >= 200).
9356
9357 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9358
9359         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9360
9361 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9362
9363         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9364
9365 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9366
9367         * BufferView_pimpl.C:
9368         * LyXAction.C:
9369         * buffer.C:
9370         * commandtags.h:
9371         * lyxfunc.C:
9372         * paragraph.[Ch]:
9373         * text2.C:
9374         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9375         inset and code to make it  work with the paragraph code. The inset
9376         can be anywhere in the paragraph, but will only do the expected
9377         thing in LaTeX if the layout file contains the parameter line
9378                         OptionalArgs    1
9379         (or more generally, a nonzero value) for that layout.
9380
9381 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9382
9383         * paragraph.h: remove the declaration of undefined counters class
9384         function.
9385
9386 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9387
9388         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9389         Dr. Richard Hawkins.
9390
9391 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9392
9393         * paragraph_funcs.h: remove some unneeded includes
9394
9395         * text.C (backspace): pasteParagraph now in global scipe
9396
9397         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9398         (pasteSelection): ditto
9399
9400         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9401         * paragraph_funcs.C (pasteParagraph): ... here
9402
9403 2002-08-20  André Pönitz <poenitz@gmx.net>
9404
9405         * commandtags.h: new LFUNs for swapping/copying table row/colums
9406
9407         * LyXAction.C:
9408         * lyxfunc.C: support for new lfuns
9409
9410 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9411
9412         * tabular.C:
9413         * buffer.[Ch]: remove NO_COMPABILITY stuff
9414
9415 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9416
9417         * boost.C (throw_exception): new file, with helper function for
9418         boost compiled without exceptions.
9419
9420         * paragraph.h:
9421         * lyxlength.C:
9422         * buffer.C:
9423         * ParameterStruct.h:
9424         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9425
9426         * bufferlist.C (emergencyWriteAll): use boost bind
9427
9428         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9429
9430         * text.C: include paragraph_funcs.h
9431         (breakParagraph): breakParagraph is now in global scope
9432
9433         * paragraph_funcs.[Ch]: new files
9434
9435         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9436         global scope
9437
9438         * buffer.C: include paragraph_funcs.h
9439         (insertStringAsLines): breakParagraph is now in global scope
9440
9441         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9442         paragraph_funcs.C
9443
9444         * CutAndPaste.C: include paragraph_funcs.h
9445         (cutSelection): breakParagraphConservative is now in global scope
9446         (pasteSelection): ditto
9447
9448         * buffer.h: declare oprator== and operator!= for
9449         Buffer::inset_iterator
9450
9451         * bufferlist.C (emergencyWrite): don't use fmt(...)
9452
9453         * text3.C: add using std::endl
9454
9455         * BufferView.C (moveCursorUpdate): remove default arg
9456
9457 2002-08-20  André Pönitz <poenitz@gmx.net>
9458
9459         * buffer.[Ch]: move inline functions to .C
9460
9461         * BufferView2.C:
9462         * BufferView_pimpl.C:
9463         * text.C:
9464         * buffer.[Ch]: use improved inset_iterator
9465
9466         * buffer.C:
9467         * paragraph.[Ch]: write one paragraph at a time
9468
9469 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9470
9471         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9472         style if style is not specified.
9473
9474 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9475
9476         * text2.C (setCounter): when searching for right label for a
9477         caption, make sure to recurse to parent insets (so that a caption
9478         in a minipage in a figure float works) (bug #568)
9479
9480 2002-08-20  André Pönitz <poenitz@gmx.net>
9481
9482         * text3.C: new file for LyXText::dispatch() and helpers
9483
9484         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9485
9486         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9487
9488 2002-08-19  André Pönitz <poenitz@gmx.net>
9489
9490         * lyxtext.h:
9491         * text.C: new LyXText::dispatch()
9492
9493         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9494
9495 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9496
9497         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9498
9499         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9500         Hebrew text.
9501
9502 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9503
9504         * Makefile.am: use $(variables) instead of @substitutions@
9505
9506 2002-08-15  André Pönitz <poenitz@gmx.net>
9507
9508         * lyxfunc.C:
9509         * BufferView_pimpl.C: streamlining mathed <-> outer world
9510         interaction
9511
9512         * commandtags.h:
9513         * LyXAction.C: remove unused LFUN_MATH
9514
9515 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9516
9517         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9518
9519 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9520
9521         * paragraph.C (Paragraph): reformat a bit
9522         (cutIntoMinibuffer): use builtin InsetList function instad of
9523         doing it manually.
9524         (getInset): ditto
9525
9526         * buffer.C: include boost/bind.hpp, add using std::for_each
9527         (writeFileAscii): use ParagraphList iterators
9528         (validate): use for_each for validate traversal of paragraphs
9529         (getBibkeyList): use ParagraphList iterators
9530         (resizeInsets): use for_each to resizeInsetsLyXText for all
9531         paragraphs.
9532         (getParFromID): use ParagraphList iterators
9533
9534         * BufferView2.C (lockInset): use paragraph list and iterators
9535
9536 2002-08-14  John Levon  <levon@movementarian.org>
9537
9538         * lyxserver.C: remove spurious xforms include
9539
9540 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9541
9542         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9543
9544 2002-08-13  André Pönitz <poenitz@gmx.net>
9545
9546         * LyXAction.[Ch]:
9547         * lyxfunc.C: further cleaning
9548
9549 2002-08-13  André Pönitz <poenitz@gmx.net>
9550
9551         * funcrequest.h: new constructor
9552
9553         * funcrequest.C: move stuff here from .h
9554
9555         * Makefile.am:
9556         * BufferView_pimpl.C:
9557         * LyXAction.C:
9558         * toc.C:
9559         * lyxfunc.C: subsequent changes
9560
9561         * lyxfunc.h: new view() member function
9562
9563         * lyxfunc.C: subsequent changes
9564
9565 2002-08-13  Angus Leeming  <leeming@lyx.org>
9566
9567         * BufferView2.C:
9568         * BufferView_pimpl.C:
9569         * buffer.C:
9570         * converter.C:
9571         * importer.C:
9572         * lyxfunc.C:
9573         * lyxvc.C:
9574         * toc.C:
9575         * vc-backend.C:
9576         changes due to the changed LyXView interface that now returns references
9577         to member variables not pointers.
9578
9579 2002-08-13  Angus Leeming  <leeming@lyx.org>
9580
9581         * WordLangTuple (word, lang_code): return references to strings,
9582         not strings.
9583
9584         * BufferView.h:
9585         * SpellBase.h:
9586         * lyxtext.h: forward-declare WordLangTuple.
9587
9588         * BufferView2.C:
9589         * ispell.C:
9590         * pspell.C:
9591         * text.C: #include "WordLangTuple.h".
9592
9593         * lyxtext.h:
9594         * text.C: (selectNextWordToSpellcheck): constify return type.
9595
9596 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9597
9598         * buffer.C:
9599         * buffer.h:
9600         * lyxtext.h:
9601         * paragraph.C:
9602         * paragraph_pimpl.h:
9603         * text.C:
9604         * text2.C:
9605         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9606         suggested by Angus.
9607         Made updateCounter always count from start of buffer, and removed
9608         second argument (par).
9609         Reverted floats number display to '#'. Perhaps I'll try again when the
9610         code base is sanitized a bit.
9611
9612 2002-08-12  Angus Leeming  <leeming@lyx.org>
9613
9614         * buffer.[Ch] (getLabelList): constify.
9615
9616 2002-08-07  André Pönitz <poenitz@gmx.net>
9617
9618         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9619
9620         * funcrequest.h: extension to keep mouse (x,y) position
9621
9622 2002-08-12  Juergen Vigna  <jug@sad.it>
9623
9624         * BufferView2.C (insertErrors): forbid undo when inserting error
9625         insets.
9626
9627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9628
9629 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9630
9631         * ParagraphList.[Ch]: new files
9632
9633         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9634
9635         * BufferView2.C (lockInset): ParagraphList changes
9636         * toc.C: ditto
9637         * text2.C: ditto
9638         * bufferlist.C: ditto
9639         * buffer.h: ditto
9640         * buffer.C: ditto
9641
9642 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9643
9644         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9645         unused class variable counter_,
9646
9647         * paragraph.[Ch] (getFirstCounter): delete unused function
9648
9649         * counters.C: include LAssert.h
9650         (reset): add a new function with no arg, change other version to
9651         not have def. arg and to not allow empty arg.
9652
9653         * text2.C (setCounter): remove empty arg from call to Counters::reset
9654
9655 2002-08-11  John Levon  <levon@movementarian.org>
9656
9657         * Makefile.am: add WordLangTuple.h
9658
9659 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9660
9661         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9662         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9663
9664         * insets/insettext.C: InsetList changes
9665
9666         * graphics/GraphicsSupport.C (operator()): InsetList changes
9667
9668         * toc.C (getTocList): InsetList changes
9669
9670         * paragraph_pimpl.[Ch]: InsetList changes
9671
9672         * paragraph.[Ch]: InsetList changes
9673
9674         * buffer.C (inset_iterator): InsetList changes
9675         (setParagraph): ditto
9676         * buffer.h (inset_iterator): ditto
9677         * iterators.C (operator++): ditto
9678         * iterators.h: ditto
9679
9680         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9681
9682         * InsetList.[Ch]: new files, most InsetList handling moved out of
9683         paragraph.C.
9684
9685         * BufferView2.C (removeAutoInsets): InsetList changes
9686         (lockInset): ditto
9687         (ChangeInsets): ditto
9688
9689 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9690
9691         * paragraph_pimpl.h (empty): new function
9692
9693         * paragraph.[Ch] (empty): new function
9694
9695         * other files: use the new Paragraph::empty function
9696
9697 2002-08-09  John Levon  <levon@movementarian.org>
9698
9699         * lyxtext.h: remove unused refresh_height
9700
9701 2002-08-09  John Levon  <levon@movementarian.org>
9702
9703         * Makefile.am:
9704         * sgml.h:
9705         * sgml.C:
9706         * buffer.C:
9707         * paragraph.h:
9708         * paragraph.C: move sgml char escaping out of paragraph
9709
9710         * paragraph.h:
9711         * paragraph.C: remove id setter
9712
9713         * buffer.C:
9714         * paragraph.C:
9715         * paragraph_pimpl.C: remove dead tex_code_break_column
9716
9717         * bufferview_funcs.C: small cleanup
9718
9719         * lyxfunc.C: remove dead proto
9720
9721         * lyxtext.h: make some stuff private. Remove some dead stuff.
9722
9723         * lyxgluelength.C: make as[LyX]String() readable
9724
9725 2002-08-08  John Levon  <levon@movementarian.org>
9726
9727         * LyXAction.h:
9728         * LyXAction.C:
9729         * MenuBackend.C:
9730         * ToolbarDefaults.C:
9731         * lyxfunc.C:
9732         * lyxrc.C:
9733         * toc.C: lyxaction cleanup
9734
9735 2002-08-08  John Levon  <levon@movementarian.org>
9736
9737         * BufferView2.C: small cleanup
9738
9739         * lyxfind.h:
9740         * lyxfind.C: move unnecessary header into the .C
9741
9742 2002-08-08  John Levon  <levon@movementarian.org>
9743
9744         * funcrequest.h: just tedious nonsense
9745
9746         * lyx_main.h:
9747         * lyx_main.C: cleanups
9748
9749         * buffer.C:
9750         * vspace.C: remove dead header lyx_main.h
9751
9752 2002-08-07  Angus Leeming  <leeming@lyx.org>
9753
9754         * Paragraph.[Ch]:
9755         * paragraph_pimpl.h:
9756         Forward declare class Counters in paragraph.h by moving the ctrs member
9757         variable into Paragraph::Pimpl.
9758         (counters): new method, returning a reference to pimpl_->ctrs.
9759
9760         * text2.C: ensuing changes.
9761
9762 2002-08-07  John Levon  <levon@movementarian.org>
9763
9764         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9765
9766         * BufferView_pimpl.C: announce X selection on double/triple
9767           click
9768
9769         * lyx_main.C: use correct bool in batch dispatch
9770
9771         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9772
9773 2002-08-07  André Pönitz <poenitz@gmx.net>
9774
9775         * funcrequest.h: new class to wrap a kb_action and its argument
9776
9777         * BufferView.[Ch]:
9778         * BufferView_pimpl[Ch]:
9779         * LaTeX.C:
9780         * LyXAction.[Ch]:
9781         * lyxfunc.[Ch]:
9782         * lyxrc.C: subsequent changes
9783
9784
9785 2002-08-07  John Levon  <levon@movementarian.org>
9786
9787         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9788           document options change.
9789
9790 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9791
9792         * counters.[Ch]
9793         * text2.C
9794         * paragraph.[Ch]
9795         * makefile.am: move counters functionality over from
9796         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9797
9798 2002-08-06  John Levon  <levon@movementarian.org>
9799
9800         * WordLangTuple.h: new file for word + language code tuple
9801
9802         * SpellBase.h:
9803         * pspell.h:
9804         * pspell.C:
9805         * ispell.h:
9806         * ispell.C:
9807         * lyxtext.h:
9808         * text.C:
9809         * text2.C:
9810         * BufferView.h:
9811         * BufferView2.C: use WordLangTuple
9812
9813         * layout.h:
9814         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9815
9816 2002-08-06  John Levon  <levon@movementarian.org>
9817
9818         * lyx_main.C: fix cmdline batch handling
9819
9820 2002-08-06  André Pönitz <poenitz@gmx.net>
9821
9822         * lyxrc.C: set default for show_banner to true
9823
9824 2002-08-06  John Levon  <levon@movementarian.org>
9825
9826         * pspell.C: fix a crash, and allow new aspell to work
9827
9828 2002-08-06  John Levon  <levon@movementarian.org>
9829
9830         * lyxfunc.C:
9831         * kbmap.C: small cleanup
9832
9833         * vspace.h:
9834         * vspace.C: add const
9835
9836 2002-08-05  John Levon  <levon@movementarian.org>
9837
9838         * LyXAction.C: back to tabular-insert
9839
9840 2002-08-04  John Levon  <levon@movementarian.org>
9841
9842         * BufferView.h:
9843         * BufferView.C: cosmetic change
9844
9845         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9846
9847         * bufferlist.C:
9848         * buffer.h:
9849         * buffer.C:
9850         * lyxcb.h:
9851         * lyxcb.C:
9852         * lyxserver.C:
9853         * lyxvc.C:
9854         * vc-backend.C:
9855         * BufferView2.C: purge all "Lyx" not "LyX" strings
9856
9857         * lyxcursor.h:
9858         * lyxcursor.C: attempt to add some documentation
9859
9860         * lyxfunc.C:
9861         * commandtags.h:
9862         * LyXAction.C:
9863         * ToolbarDefaults.C:
9864         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9865           merge with LFUN_TABULAR_INSERT
9866
9867         * Makefile.am:
9868         * SpellBase.h:
9869         * ispell.h:
9870         * ispell.C:
9871         * pspell.h:
9872         * pspell.C: split up i/pspell implementations into separate
9873           files, many cleanups
9874
9875         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9876
9877         * text2.C: some cleanup
9878
9879         * lyxfunc.C: don't check for isp_command == "none" any more, it
9880           didn't make any sense
9881
9882 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9883
9884         * counters.[Ch]
9885         * text2.C
9886         * paragraph.[Ch]
9887         * makefile.am: move counters functionality over
9888         from text2.C/paragraph.[Ch] to counters.[Ch], and
9889         make proper C++.
9890 2002-08-02  John Levon  <levon@movementarian.org>
9891
9892         * buffer.C: s/lyxconvert/lyx2lyx/
9893
9894 2002-08-02  Angus Leeming  <leeming@lyx.org>
9895
9896         * lyxlex.C: revert John's change as it breaks reading of the user
9897         preamble.
9898
9899 2002-08-02  Angus Leeming  <leeming@lyx.org>
9900
9901         * importer.C (Import):
9902         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9903         changes due to LyXView::view() now returning a boost::shared_ptr.
9904
9905 2002-08-02  John Levon  <levon@movementarian.org>
9906
9907         * lyxlex.C: small cleanup
9908
9909 2002-08-02  John Levon  <levon@movementarian.org>
9910
9911         * text2.C (status): small cleanup, no logic change
9912
9913 2002-08-01  John Levon  <levon@movementarian.org>
9914
9915         * buffer.h:
9916         * buffer.C (writeFile): don't output alerts, caller
9917           handles this
9918
9919         * bufferlist.C:
9920         * lyx_cb.C: from above
9921
9922         * lyxfunc.C: allow to open non-existent files
9923
9924 2002-07-31  John Levon  <levon@movementarian.org>
9925
9926         * lyxserver.C: don't let incidental errors get
9927           in the way (errno)
9928
9929 2002-07-30  John Levon  <levon@movementarian.org>
9930
9931         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9932
9933 2002-07-30  John Levon  <levon@movementarian.org>
9934
9935         * lyxserver.h:
9936         * lyxserver.C: remove I/O callback too
9937
9938 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9939
9940         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9941         log.
9942
9943 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9944
9945         * many files: strip,frontStrip -> trim,ltrim,rtrim
9946
9947 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9948
9949         * PrinterParams.h: remove extern containsOnly, and include
9950         support/lstrings.h instead.
9951
9952         * LaTeX.C (scanAuxFile): modify because of strip changes
9953         (deplog): ditto
9954         * buffer.C (makeLaTeXFile): ditto
9955         * bufferparams.C (writeFile): ditt
9956         * lyxfont.C (stateText): ditto
9957         * lyxserver.C (read_ready): ditto
9958         * vc-backend.C (scanMaster): ditto
9959
9960         * BufferView_pimpl.h: ws changes
9961
9962         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9963
9964 2002-07-26  André Pönitz <poenitz@gmx.net>
9965
9966         * kb_sequence.C: remove unnedred usings
9967
9968 2002-07-26  Juergen Vigna  <jug@sad.it>
9969
9970         * lyxfind.C (LyXReplace): we have to check better if the returned
9971         text is not of theLockingInset()->getLockingInset().
9972
9973 2002-07-25  Juergen Vigna  <jug@sad.it>
9974
9975         * lyxfind.C (LyXReplace): don't replace if we don't get the
9976         right LyXText.
9977
9978         * undo_funcs.C (createUndo): remove debugging code.
9979
9980 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9981
9982         * buffer.C (parseSingleLyXformat2Token): Use default placement
9983         when reading old floats.
9984
9985         * FloatList.C (FloatList): Change the default placement of figure
9986         and tables to "tbp".
9987
9988 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * MenuBackend.C: using std::max
9991
9992 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9993
9994         * MenuBackend.C (expandToc):
9995         (expandToc2): code moved from xforms menu frontend. It is now
9996         generic and TOCs are transparent to menu frontends.
9997
9998 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * toc.C (getTocList): protect against buf=0
10001
10002         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10003         Menu as first parameter. Now, this calls itself recursively to
10004         expand a whole tree (this will be useful for TOC handling)
10005         (expandFloatInsert): remove 'wide' version of floats
10006
10007         * MenuBackend.h (submenuname): returns the name of the submenu.
10008         (submenu): returns the submenu itself, provided it has been
10009         created by MenuBackend::expand
10010
10011 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10012
10013         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10014         insets which have noFontChange == true. (bug #172)
10015
10016 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10017
10018         * BufferView_pimpl.C: add connection objects and use them...
10019         (Pimpl): here.
10020
10021 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * MenuBackend.C (expandLastfiles):
10024         (expandDocuments):
10025         (expandFormats):
10026         (expandFloatListInsert):
10027         (expandFloatInsert):
10028         (expand): split expand in parts
10029
10030 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * lyx_gui.C: use lyx_gui::exit()
10033
10034 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * LyXAction.C: show the failing pseudo action
10037
10038 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10039
10040         * buffer.C (readFile): Run the lyxconvert script in order to read
10041         old files.
10042
10043 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * LyXAction.C:
10046         * commandtags.h:
10047         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10048
10049 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * LyXAction.C:
10052         * commandtags.h:
10053         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10054
10055 2002-07-22  Herbert Voss  <voss@lyx.org>
10056
10057         * lengthcommon.C:
10058         * lyxlength.[Ch]: add support for the vertical lengths
10059
10060 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10061
10062         * toc.[Ch]: std:: fixes
10063
10064 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * lyxrc.C: do not include lyx_main.h
10067
10068         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10069         for layouts
10070
10071         * lyxrc.C:
10072         * encoding.C:
10073         * bufferlist.C:
10074         * BufferView2.C: include "lyxlex.h"
10075
10076         * tabular.h:
10077         * bufferparams.h: do not #include "lyxlex.h"
10078
10079         * lyxtextclasslist.C (Add): remove method
10080         (classlist): renamed to classlist_
10081
10082         * paragraph_pimpl.C:
10083         * paragraph.C:
10084         * text2.C:
10085         * CutAndPaste.C:
10086         * bufferview_funcs.C:
10087         * bufferlist.C:
10088         * text.C:
10089         * LaTeXFeatures.C:
10090         * buffer.C:
10091         * toc.C (getTocList): use BufferParams::getLyXTextClass
10092
10093         * toc.C (getTocList): use InsetFloat::addToToc
10094
10095         * toc.[Ch]: new files, containing helper functions to handle table
10096         of contents
10097
10098         * lyxfunc.C (dispatch): no need to remove spaces around command
10099         given as a string
10100         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10101         first command of the sequence; it is not very clever, but I do not
10102         have a better idea, actually
10103
10104         * LyXAction.C (LookupFunc): make sure to remove space at the
10105         beginning and end of the command
10106
10107 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10108
10109         * MenuBackend.C (getMenubar): new method: return the menubar of
10110         this menu set
10111         (read): treat differently reading of menu and menubar (in
10112         particular, the menubar has no name now)
10113         (Menu::menubar): remove
10114
10115         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10116         saving is finished
10117
10118 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10119
10120         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10121         a bibitem inset in a RTL paragraph.
10122
10123 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * paragraph_pimpl.C: constify
10126
10127         * BufferView_pimpl.C:
10128         * LaTeX.C:
10129         * lyxfunc.C: fix dispatch in a nicer way
10130
10131 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * lyxfunc.C (dispatch):
10134         * BufferView_pimpl.C:
10135         * BufferView_pimpl.h:
10136         * BufferView.C:
10137         * BufferView.h: rename Dispatch() to dispatch()
10138
10139         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10140
10141         * lyxlayout.C (Read): honor DependsOn tag
10142
10143         * lyxlayout.[Ch] (depends_on): new method
10144
10145         * version.C.in: update lyx_docversion
10146
10147         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10148
10149         * paragraph.C (validate): remove from here...
10150         * paragraph_pimpl.C (validate): ... and move here
10151         (isTextAt): make it const
10152
10153         * buffer.C (getLists): ws cleanup
10154
10155 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10156
10157         * language.C (read): Use iso8859-1 encoding in latex_lang
10158         (this prevents LyX from crashing when using iso10646-1 encoding).
10159
10160 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * text2.C (toggleInset): if cursor is inside an inset, close the
10163         inset and leave cursor _after_ it
10164
10165 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * lyxfunc.C: move minibuffer completion handling out of here
10168
10169 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * BufferView_pimpl.C:
10172         * LaTeX.C: fix dispatch calls
10173
10174 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10175
10176         * text.C (drawChars): Fix Arabic text rendering.
10177
10178 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10179
10180         * LyXAction.C:
10181         * commandtags.h:
10182         * lyxfunc.C: remove message-push/pop
10183
10184         * lyxserver.C:
10185         * lyxfunc.h:
10186         * lyxfunc.C: rationalise some code by removing verboseDispatch
10187           in favour of a bool argument to dispatch()
10188
10189 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10190
10191         * lyx_main.C (init): make sure to read symlinks as absolute paths
10192
10193 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * lyxfunc.h:
10196         * lyxfunc.C: no need for commandshortcut to be a member
10197
10198 2002-07-15  André Pönitz <poenitz@gmx.net>
10199
10200         * converter.C: add support for $$s (scripts from lib/scripts dir)
10201         * lyx_main.C: white space
10202
10203 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * bufferlist.C:
10206         * lyxrc.h:
10207         * lyxrc.C: remove second exit confirmation
10208
10209 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * BufferView.h:
10212         * BufferView.C:
10213         * BufferView2.C:
10214         * BufferView_pimpl.h:
10215         * BufferView_pimpl.C:
10216         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10217
10218 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10219
10220         * MenuBackend.C (expand): add numeric shortcuts to document menu
10221
10222         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10223
10224 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10225
10226         * lyxfont.C (setLyXFamily):
10227         (setLyXSeries):
10228         (setLyXShape):
10229         (setLyXSize):
10230         (setLyXMisc):
10231         (lyxRead):
10232         * debug.C (value):
10233         * buffer.C (asciiParagraph): use ascii_lowercase
10234
10235 2002-07-15  Mike Fabian  <mfabian@suse.de>
10236
10237         * lyxlex_pimpl.C (search_kw):
10238         * lyxlex.C (getLongString):
10239         * converter.h (operator<):
10240         * converter.C (operator<):
10241         * buffer.C (parseSingleLyXformat2Token):
10242         (asciiParagraph):
10243         * ToolbarDefaults.C (read):
10244         * MenuBackend.C (checkShortcuts):
10245         (read):
10246         * LColor.C (getFromGUIName):
10247         (getFromLyXName): use the compare_ascii_no_case instead of
10248         compare_no_case, because in turkish, 'i' is not the lowercase
10249         version of 'I', and thus turkish locale breaks parsing of tags.
10250
10251 2002-07-16  Angus Leeming  <leeming@lyx.org>
10252
10253         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10254         now takes a Buffer const & argument.
10255
10256 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * BufferView.C (resize): check there's a buffer to resize
10259
10260 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * lyxfunc.C: remove dead code
10263
10264         * lyxserver.h:
10265         * lyxserver.C: use lyx_guii::set_read_callback
10266
10267 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10270         an inset in a RTL paragraph.
10271
10272 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * lyxfunc.C: repaint after a font size update
10275
10276 2002-07-15  André Pönitz <poenitz@gmx.net>
10277
10278         * lyxlength.C: inBP should be able to return negative values
10279
10280 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * lyxfunc.C: use lyx_gui::update_fonts()
10283
10284 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * lyxfunc.C: use lyx_gui::update_color()
10287
10288 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10289
10290         * bufferlist.C:
10291         * lyxfunc.h:
10292         * lyxfunc.C:
10293         * lyxrc.h:
10294         * lyxrc.C: remove file->new asks for name option, and let
10295           buffer-new take an argument
10296
10297 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10298
10299         * BufferView_pimpl.C: remove unneeded extra repaint()
10300
10301 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * LyXAction.C: allow command-sequence with NoBuffer
10304
10305         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10306
10307 2002-07-10  Angus Leeming  <leeming@lyx.org>
10308
10309         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10310
10311 2002-07-09  Angus Leeming  <leeming@lyx.org>
10312
10313         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10314
10315 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10316
10317         * lengthcommon.h: whitespace
10318
10319         * lyxfunc.C: update scrollbar after goto paragraph
10320
10321         * lyxtext.h: factor out page break drawing, and fix it so
10322           page break/added space paints as selected nicely
10323
10324 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * BufferView_pimpl.C: add FIXMEs, clean up a little
10327
10328 2002-07-09  André Pönitz <poenitz@gmx.net>
10329
10330         * lyxfont.[Ch]: support for wasy symbols
10331
10332 2002-07-08  André Pönitz <poenitz@gmx.net>
10333
10334         * BufferView_pimpl.C: apply John's patch for #93.
10335
10336 2002-07-05  Angus Leeming  <leeming@lyx.org>
10337
10338         * BufferView_pimpl.C (buffer): generate previews if desired.
10339
10340         * LColor.h: add "preview" to the color enum.
10341
10342         * LColor.C (LColor): add a corresponding entry to the items array.
10343
10344         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10345         with this buffer.
10346
10347 2002-07-05  Angus Leeming  <leeming@lyx.org>
10348
10349         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10350         The body of the code is now in the method that is passed an ostream &
10351         rather than a file name.
10352         Pass an additional only_preamble parameter, useful for the forthcoming
10353         preview stuff.
10354
10355 2002-07-03  André Pönitz <poenitz@gmx.net>
10356
10357         * lyxfunc.C: simplify getStatus() a bit for math stuff
10358
10359 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10360
10361         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10362
10363 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10364
10365         * text.C (changeRegionCase): do not change case of all the
10366         document when region ends at paragraph end (bug #461)
10367
10368 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * paragraph.C (startTeXParParams):
10371         (endTeXParParams): add \protect when necessary
10372
10373 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10374
10375         * BufferView_pimpl.C (workAreaExpose): remove warning
10376
10377 2002-06-27  Angus Leeming  <leeming@lyx.org>
10378
10379         * Makefile.am: add lyxlayout_ptr_fwd.h.
10380
10381 2002-06-26  André Pönitz <poenitz@gmx.net>
10382
10383         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10384
10385 2002-06-25  Angus Leeming  <leeming@lyx.org>
10386
10387         * lyxfunc.C (dispatch): Comment out the call to
10388         grfx::GCache::changeDisplay. The method no longer exists now that the
10389         pixmap generation part of the graphics loader has been moved into
10390         InsetGraphics.
10391
10392 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10393
10394         * text2.C: layout as layout
10395
10396         * text.C: layout as layout
10397
10398         * tabular.C (OldFormatRead): layout as layout
10399
10400         * paragraph_pimpl.C (TeXDeeper): layout as layout
10401         (realizeFont): layout as layout
10402
10403         * paragraph.C (writeFile): layout as layout
10404         (validate): layout as layout
10405         (getFont): layout as layout
10406         (getLabelFont): layout as layout
10407         (getLayoutFont): layout as layout
10408         (breakParagraph): layout as layout
10409         (stripLeadingSpaces): layout as layout
10410         (getEndLabel): layout as layout
10411         (getMaxDepthAfter): layout as layout
10412         (applyLayout): layout as layout
10413         (TeXOnePar): layout as layout
10414         (simpleTeXOnePar): layout as layout
10415         (TeXEnvironment): layout as layout
10416         (layout): layout as layout
10417         (layout): layout as layout
10418
10419         * lyxtextclass.C (compare_name): new functor to work with
10420         shared_ptr, layout as layout
10421         (Read): layout as layout
10422         (hasLayout): layout as layout
10423         (operator): layout as layout
10424         (delete_layout): layout as layout
10425         (defaultLayout): layout as layout
10426
10427         * lyxlayout_ptr_fwd.h: new file
10428
10429         * lyxlayout.C (Read): layout as layout
10430
10431         * lyx_cb.C (MenuInsertLabel): layout as layout
10432
10433         * bufferlist.C (newFile): layout as layout
10434
10435         * buffer.C (readLyXformat2): layout as layout
10436         (parseSingleLyXformat2Token): layout as layout
10437         (insertStringAsLines): layout as layout
10438         (asciiParagraph): layout as layout
10439         (latexParagraphs): layout as layout
10440         (makeLinuxDocFile): layout as layout
10441         (simpleLinuxDocOnePar): layout as layout
10442         (makeDocBookFile): layout as layout
10443         (simpleDocBookOnePar): layout as layout
10444         (getLists): layout as layout
10445
10446         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10447
10448         * CutAndPaste.C (cutSelection): layout as layout
10449         (pasteSelection): layout as layout
10450         (SwitchLayoutsBetweenClasses): layout as layout
10451
10452         * BufferView_pimpl.C (Dispatch): layout as layout
10453         (smartQuote): layout as layout
10454
10455         * BufferView2.C (unlockInset): layout as layout
10456
10457 2002-06-24  André Pönitz <poenitz@gmx.net>
10458
10459         * lyxfunc.C: fix #487
10460
10461 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * lyxrc.h:
10464         * lyxrc.C:
10465         * lyxfunc.C: remove display_shortcuts, show_banner
10466
10467 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10468
10469         * Buffer_pimpl.C: oops, update on resize
10470
10471 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10472
10473         * buffer.C:
10474         * converter.C:
10475         * exporter.C:
10476         * lyxfunc.C:
10477         * BufferView.h:
10478         * BufferView.C: use repaint()
10479
10480         * BufferView_pimpl.h:
10481         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10482           as it's a clearer description. Remove superfluous
10483           redraws.
10484
10485 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * text.C: fix bug 488. Not ideal, but getting
10488           getWord() to work properly for the insets that
10489           matter is more difficult ...
10490
10491 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10492
10493         * BufferView_pimpl.C:
10494         * LyXAction.C:
10495         * commandtags.h:
10496         * lyxfunc.C: remove the six million index lyxfuncs to just
10497           one, and DTRT (bug 458)
10498
10499 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * BufferView.h:
10502         * BufferView.C:
10503         * BufferView_pimpl.h:
10504         * BufferView_pimpl.C: clean up resize() stuff,
10505           and unnecessary updateScreen()s
10506
10507 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * BufferView.h:
10510         * BufferView.C:
10511         * BufferView_pimpl.h:
10512         * BufferView_pimpl.C:
10513         * lyxfind.h:
10514         * lyxfind.C:
10515         * minibuffer.C: remove focus management of workarea,
10516           not needed. Use screen's greyOut()
10517
10518 2002-06-17  Herbert Voss  <voss@lyx.org>
10519
10520         * converter.C: (convert) do not post a message, when converting
10521         fails, let the calling function decide what to do in this case
10522
10523 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10524
10525         * lyxfunc.C: tidy up a little
10526
10527 2002-06-16    <alstrup@diku.dk>
10528
10529         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10530         Got rid of FORMS_H_LOCATION include. Now we are
10531         GUII.
10532
10533 2002-06-15  LyX Development team  <lyx@rilke>
10534
10535         * buffer.[Ch] (sgmlOpenTag):
10536         (sgmlCloseTag): Added support for avoiding pernicious mixed
10537         content. Return number of lines written.
10538
10539         (makeLinuxDocFile):
10540         (makeDocBookFile): Fixed calls to sgml*Tag.
10541         Simple white space clean.
10542
10543         (simpleDocBookOnePar): Simple white space clean.
10544
10545         * tabular.[Ch] (docBook): Renamed to docbook and got another
10546         argument to related with the pernicious mixed content.
10547
10548         (docbookRow): Fixed calls for docbook inset method.
10549
10550 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10551
10552         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10553         so it's X11 independent.
10554
10555         * kb*.[Ch]: ditto.
10556
10557         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10558
10559 2002-06-15  Lyx Development team  <lyx@electronia>
10560
10561         * intl.h: Renamed getTrans to getTransManager.
10562
10563 2002-06-14  Angus Leeming  <leeming@lyx.org>
10564
10565         * Makefile.am: nuke forgotten stl_string_fwd.h.
10566
10567 2002-06-12  Angus Leeming  <leeming@lyx.org>
10568
10569         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10570
10571 2002-06-13  Angus Leeming  <leeming@lyx.org>
10572
10573         * LaTeX.C:
10574         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10575
10576 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10577
10578         * kbmap.C (getiso): add support for cyrillic and greek
10579
10580 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * BufferView.h:
10583         * BufferView.C:
10584         * BufferView_pimpl.h:
10585         * BufferView_pimpl.C: move bogus scrolling logic
10586           to xforms
10587
10588 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * lyxfunc.C:
10591         * BufferView_pimpl.C: view->resize() change
10592
10593 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10594
10595         * BufferView_pimpl.C: topCursorVisible
10596           prototype change
10597
10598 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10599
10600         * Makefile.am:
10601         * lyx_gui.h:
10602         * lyx_gui.C: move to frontends/
10603
10604         * main.C:
10605         * lyx_main.h:
10606         * lyx_main.C: changes from above
10607
10608 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * intl.C:
10611         * intl.h:
10612         * kbmap.C:
10613         * kbsequence.C:
10614         * lyx_cb.C:
10615         * lyx_main.C: minor tidy
10616
10617 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * BufferView_pimpl.h:
10620         * BufferView_pimpl.C:
10621         * BufferView.h:
10622         * BufferView.C: make painter() const,
10623           remove dead code
10624
10625         * BufferView2.C: use screen() accessor
10626
10627         * lyx_main.h:
10628         * lyx_main.C: some minor cleanup
10629
10630 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * BufferView_pimpl.h:
10633         * BufferView_pimpl.C: remove enter/leaveView,
10634           use workHeight()
10635
10636 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10637
10638         * BufferView.h:
10639         * BufferView.C:
10640         * BufferView2.C:
10641         * BufferView_pimpl.h:
10642         * BufferView_pimpl.C: only construct screen once,
10643           rename
10644
10645         * lyxrc.C: remove pointless comment
10646
10647 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10648
10649         * BufferView.h:
10650         * BufferView.C: remove active() and belowMouse()
10651
10652         * BufferView_pimpl.h:
10653         * BufferView_pimpl.C: use workarea() not workarea_,
10654           and make it use a scoped_ptr instead
10655
10656 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * lyx_gui.C: add debug message on BadWindow
10659
10660 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10661
10662         * sp_spell.C: fdopen is not part of the C++ standard.
10663
10664         * paragraph.C (InsetIterator): use >= instead of ==
10665
10666 2002-06-07  Angus Leeming  <leeming@lyx.org>
10667
10668         Fixes needed to compile with Compaq cxx 6.5.
10669         * BufferView_pimpl.C:
10670         * DepTable.C:
10671         * buffer.C:
10672         * converter.C:
10673         * encoding.C:
10674         * lyx_gui.C:
10675         * lyx_main.C:
10676         * lyxtextclasslist.C:
10677         * minibuffer.C:
10678         * sp_spell.C:
10679         * tabular_funcs.C:
10680         * vc-backend.C:
10681         all c-library variables have been moved into namespace std. Wrap
10682         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10683
10684         * lyxlength.C:
10685         * tabular-old.C:
10686         * tabular.C:
10687         Add a using std::abs declaration.
10688
10689         * kbmap.h (modifier_pair):
10690         * paragraph.h (InsetTable, InsetList):
10691         * lyxfont.h (FontBits):
10692         type definition made public.
10693
10694         * bufferlist.C (emergencyWriteAll): the compiler complains that
10695         there is more than one possible lyx::class_fun template to choose from.
10696         I re-named the void specialisation as lyx::void_class_fun.
10697
10698         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10699
10700         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10701         the compiler is is unable to find tostr in write_attribute.
10702
10703 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10704
10705         * buffer.C (sgmlError): hide #warning
10706
10707 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10708
10709         * xtl/*: get rid of xtl, which is not in use anyway
10710
10711         * LyXAction.C (init):
10712         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10713         were unimplemented xtl experimentation
10714
10715 2002-06-04  André Pönitz <poenitz@gmx.net>
10716
10717         * lyxfunc.C: disable array operation on simple formulae
10718
10719 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * converter.C: constify a bit
10722
10723 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * lyx_gui.C: check xforms version correctly
10726
10727 2002-04-30  Herbert Voss  <voss@lyx.org>
10728
10729         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10730         "keep" option
10731
10732 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10733
10734         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10735           attempt to register it with a VCS)
10736
10737 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10738
10739         * lyx_main.C (init): honor variables LYX_DIR_13x and
10740         LYX_USERDIR_13x
10741
10742 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10743
10744         * buffer.h:
10745         * buffer.C:
10746         * lyx_main.C: fix a crash on bad command line,
10747           and give a useful exit status on error
10748
10749         * lyxfunc.C (doImport): allow -i lyx to work
10750
10751 2002-03-30  André Pönitz <poenitz@gmx.net>
10752
10753         * lyxfunc.C: mathed font changes
10754
10755 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * LaTeX.C:
10758         * importer.h:
10759         * importer.C:
10760         * lyx_sty.h:
10761         * lyx_sty.C:
10762         * lyxlex.C:
10763         * lyxrow.h:
10764         * lyxtext.h:
10765         * paragraph.h:
10766         * paragraph.C:
10767         * texrow.h:
10768         * texrow.C:
10769         * text.C:
10770         * trans_mgr.h: srcdocs, and some minor cleanups
10771
10772 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10773
10774         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10775         call getFont all the time)
10776
10777 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10778
10779         * switch from SigC signals to boost::signals
10780
10781 2002-05-29  André Pönitz <poenitz@gmx.net>
10782
10783         * paragraph_pimpl.C (getChar): don't call size() too often...
10784
10785 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10786
10787         * paragraph_pimpl.C (insertChar): do not try to update tables when
10788         appending (pos == size())
10789
10790         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10791         in order to reduce drastically the number of comparisons needed to
10792         parse a large document
10793
10794 2002-05-29  André Pönitz <poenitz@gmx.net>
10795
10796         * text.C:
10797         * text2.C:
10798         * lyxtextclass.C:
10799         * sp_pspell.h:
10800         * textclasslist.[Ch]:
10801         * sp_ispell.h: whitespace change
10802
10803 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10804
10805         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10806         lyxaction directly now.
10807
10808 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10809
10810         * trans.C:
10811         * lyxfont.C:
10812         * lyxvc.C: remove unused headers
10813
10814 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10815
10816         * Makefile.am:
10817         * buffer.h:
10818         * undostack.h:
10819         * undostack.C:
10820         * undo_funcs.h:
10821         * undo_funcs.C: some cleanups. Use shared_ptr
10822           and a template for the undo stacks.
10823
10824 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * BufferView_pimpl.h:
10827         * BufferView_pimpl.C:
10828         * kbmap.h:
10829         * kbmap.C:
10830         * kbsequence.h:
10831         * kbsequence.C:
10832         * lyxfunc.h:
10833         * lyxfunc.C:
10834         * text2.C: use key_state/mouse_state
10835
10836 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10837
10838         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10839         and LSubstring
10840
10841         * chset.C: change include order
10842         (loadFile): use boost regex and get rid of LRegex and LSubstring
10843
10844         * Makefile.am (BOOST_LIBS): new variable
10845         (lyx_LDADD): use it
10846
10847         * LaTeX.C: change include order.
10848         (scanAuxFile): use boost regex and get rid of LRegex and
10849         LSubstring
10850         (deplog): ditto
10851
10852 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10853
10854         * ColorHandler.h:
10855         * ColorHandler.C:
10856         * FontInfo.h:
10857         * FontInfo.C: moved to frontends/xforms/
10858
10859         * FontLoader.h:
10860         * FontLoader.C: moved into frontends for GUIIzation
10861
10862         * Makefile.am:
10863         * lyx_gui.C:
10864         * lyxfont.C:
10865         * lyxfunc.C: changes from above
10866
10867 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * LColor.C: remove spurious X include
10870
10871         * BufferView_pimpl.C:
10872         * Makefile.am:
10873         * font.h:
10874         * font.C:
10875         * text.C:
10876         * text2.C: move font metrics to frontends/
10877
10878 2002-05-24  Juergen Vigna  <jug@sad.it>
10879
10880         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10881         setting the undo_cursor.
10882
10883         * ParagraphParameters.h: include local includes first.
10884
10885 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10886
10887         * BufferView_pimpl.C:
10888         * BufferView_pimpl.h:
10889         * Makefile.am:
10890         * WorkArea.h:
10891         * WorkArea.C:
10892         * screen.C: move WorkArea into frontends/
10893
10894         * lyxscreen.h:
10895         * screen.C:
10896         * text.C:
10897         * BufferView.C:
10898         * BufferView2.C: move LyXScreen into frontends/
10899
10900         * lyxlookup.h:
10901         * lyxlookup.C:
10902         * lyx_gui.C: move lyxlookup into frontends/xforms/
10903
10904 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10905
10906         * BufferView2.C:
10907         * BufferView_pimpl.C:
10908         * FontLoader.C:
10909         * LyXView.h:
10910         * LyXView.C:
10911         * Makefile.am:
10912         * WorkArea.C:
10913         * XFormsView.h:
10914         * XFormsView.C:
10915         * buffer.C:
10916         * bufferlist.C:
10917         * bufferview_funcs.C:
10918         * converter.C:
10919         * importer.C:
10920         * lyx_cb.C:
10921         * lyx_gui.C:
10922         * lyx_main.C:
10923         * lyx_find.C:
10924         * lyxfunc.C:
10925         * lyxvc.C:
10926         * minibuffer.C:
10927         * text.C:
10928         * text2.C:
10929         * trans.C:
10930         * vc-backend.C: move LyX/XFormsView into frontends/
10931
10932 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10933
10934         * Makefile.am:
10935         * PainterBase.C:
10936         * PainterBase.h:
10937         * Painter.C:
10938         * Painter.h:
10939         * WorkArea.C:
10940         * WorkArea.h:
10941         * screen.C:
10942         * tabular.C:
10943         * text.C:
10944         * text2.C: move Painter to frontends/
10945
10946 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10947
10948         * buffer.C: comment out some some code that depend upon lyx_format
10949         < 220
10950
10951         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10952         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10953
10954         * buffer.h (NO_COMPABILITY): turn off compability
10955
10956         * ColorHandler.C: include scoped_array.hpp
10957
10958         * font.C: Use more specific smart_ptr header.
10959         * Painter.C: ditto
10960         * gettext.C: ditto
10961         * ShareContainer.h: ditto
10962         * lyx_main.h: ditto
10963         * kbmap.h: ditto
10964         * FontInfo.h: ditto
10965         * BufferView_pimpl.h: ditto
10966         * ColorHandler.h: ditto
10967
10968         * kbmap.C (defkey): change call to shared_ptr::reset
10969
10970 2002-05-21  Juergen Vigna  <jug@sad.it>
10971
10972         * buffer.C (insertErtContents): fix to insert ert asis if it is
10973         non empty. Skip it completely if it contains only whitespaces.
10974
10975 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * BufferView_pimpl.C:
10978         * BufferView2.C: clear selection on paste (bug 393)
10979
10980 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * DepTable.C: include ctime
10983
10984 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10987
10988 2002-05-14  Juergen Vigna  <jug@sad.it>
10989
10990         * text.C (breakParagraph): fixed function to honor the keepempty
10991         layout in the right maner and also to permit the right breaking
10992         algorithm on empty or non empyt keepempty paragraphs.
10993
10994         * paragraph.C (breakParagraph): we have to check also if the par
10995         is really empty (!size()) for isempty otherwise we do the wrong
10996         paragraph break.
10997
10998 2002-05-10  Juergen Vigna  <jug@sad.it>
10999
11000         * buffer.[Ch] : The following are only changes to the ert
11001         compatibility read reading old LaTeX layout and font stuff and
11002         convert it to ERTInsets.
11003
11004         * buffer.h: added isErtInset().
11005
11006         * buffer.C (struct ErtComp): add a fromlayout bool to check
11007         if we're inside a LaTeX layout.
11008         (isErtInset): new helper function.
11009         (insertErtContents): look for other ert insets before this one
11010         and insert the contents there, so that we don't have subsequent
11011         ERT insets with nothing between them. This way we create only one
11012         inset with multiple paragraphs. Also check if we don't insert only
11013         spaces ' ' as they are ignored anyway afterwards in the .tex file
11014         so if we have only spaces we will ignore this latex part in the
11015         new file.
11016         (parseSingleLyXformat2Token \\layout): better compatibility when
11017         reading layout-latex stuff.
11018         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11019         language tag.
11020         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11021         stuff after reading the inset only get the information back from
11022         the stack.
11023
11024 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11025
11026         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11027
11028         * LaTeXFeatures.C (getBabelOptions): New method.
11029
11030 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11031
11032         * BufferView_pimpl.C (Dispatch): work around missing argument for
11033         'layout'
11034
11035 2002-05-08  Juergen Vigna  <jug@sad.it>
11036
11037         * text.C (leftMargin): handle paragraph leftindent.
11038
11039         * paragraph.C (writeFile): write the new \\leftindent tag.
11040         (validate): handle leftindent code.
11041         (TeXEnvironment): handle paragraphleftindent code again.
11042
11043         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11044
11045         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11046         for paragrap_extra indent code and new token \\leftindent.
11047         (latexParagraphs): handle the leftindent as environment.
11048
11049         * ParameterStruct.h: added leftindent support.
11050
11051         * ParagraphParameters.C (leftIndent): added support functions for
11052         the paragraph left indent.
11053
11054         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11055         more appropriate.
11056
11057 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11058
11059         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11060         inside insetERT.
11061
11062         * text.C (computeBidiTables): No bidi in insetERT.
11063
11064         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11065         in RTL documents.
11066
11067 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11068
11069         * version.C.in: pre 5
11070
11071 2002-05-02  José Matos  <jamatos@fep.up.pt>
11072         * buffer.C (makeDocBookFile): white space changes, add newline to
11073         command styles.
11074         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11075
11076         * tabular.C (docBook): fix typo.
11077
11078 2002-05-03  Juergen Vigna  <jug@sad.it>
11079
11080         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11081         change in LyXText as we can not be sure it was not freed.
11082         (drawOneRow): remove unused code.
11083
11084         * text.C (drawInset): redo the calculation of the need_break_row as
11085         it could have a row which was already freed.
11086         (draw): look at the return value of drawInset and return false if
11087         it also returned false.
11088         (paintRowText): look at the return value of draw and return false if
11089         it also returned false.
11090
11091         * lyxtext.h: added bool return type to drawInset() and draw() so that
11092         if we have a change in the row so that the rowbreak has to be redone
11093         we abort drawing as it will be called again.
11094
11095 2002-05-02  Juergen Vigna  <jug@sad.it>
11096
11097         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11098         a change in the maintext also if we're inside an inset.
11099         (Dispatch): set the cursor again after a break line and after the
11100         screen has been updated as it could be we're in a different row.
11101
11102         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11103         to set the cursor behind the pargraph with > size().
11104         (setCursor): check also for the same paragraph when checking where
11105         to put the cursor if we have a NFR inset.
11106
11107         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11108         parts of layout read further up as it still was in the wrong
11109         position.
11110
11111 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11112
11113         * screen.C (drawFromTo): change sine fullRebreak always return
11114         true.
11115
11116         * buffer.C (parseSingleLyXformat2Token): reindent some
11117
11118         * BufferView_pimpl.C (update): change since fullRebreak always
11119         return true.
11120         (Dispatch): git rid of the last hardcoded "Standard"s.
11121
11122 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * text2.[Ch] (fullRebreak): make it return void now that we always
11125         returned true.
11126
11127 2002-04-30  Juergen Vigna  <jug@sad.it>
11128
11129         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11130         ert compatibility check for "latex" layout.
11131
11132 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11133
11134         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11135         minipages: use col% instead of p%, and also use the current font.
11136         (makeLaTeXFile): Fix use babel condition.
11137         (parseSingleLyXformat2Token): Correct font when reading old floats.
11138
11139 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11140
11141         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11142         inserting list of floats.
11143
11144 2002-04-25  Herbert Voss  <voss@lyx.org>
11145
11146         * MenuBackend.C (expand): don't add the graphics extensions to the
11147         export menu
11148
11149 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11150
11151         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11152         non-existing layout, do not complain if it was the default layout
11153         of the original class (bug #342)
11154
11155 2002-04-24  Juergen Vigna  <jug@sad.it>
11156
11157         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11158         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11159
11160 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11161
11162         * buffer.C (getBibkeyList): If using \bibliography, return the
11163         option field with the reference itself. Enables us to provide natbib
11164         support when using \bibliography.
11165
11166 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11167
11168         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11169
11170         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11171         natbib is provided by the LaTeX class.
11172
11173 2002-04-23  Juergen Vigna  <jug@sad.it>
11174
11175         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11176         Wakeup functions.
11177
11178         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11179
11180 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11183
11184         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11185         ensuremath around textordmasculine, textordfeminine and
11186         textdegree.
11187
11188 2002-04-19  Juergen Vigna  <jug@sad.it>
11189
11190         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11191         reinitializing the buffer otherwise row-dimensions may be wrong.
11192         (update): reset also the selection cursors if they do exits otherwise
11193         their x/y positions may be wrong.
11194
11195         * text2.C (cursorDown): don't enter the inset if we came from a row
11196         above and are one row over the inset.
11197
11198         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11199         really leaving an inset.
11200
11201 2002-04-18  Juergen Vigna  <jug@sad.it>
11202
11203         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11204         of the selected paragraph does not have the selected layout also if
11205         the last one had!
11206
11207         * text2.C (setLayout): fixed bug which did not change last selected
11208         paragraph.
11209
11210         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11211         changed the read and substituted \\end_float with \\end_inset!
11212
11213         * BufferView_pimpl.C (cursorPrevious):
11214         (cursorNext): fixed to make it work with rows heigher than the work
11215         area without moving the cursor only the draw of the row.
11216         (workAreaMotionNotify): fix jumping over high rows.
11217
11218 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11221         Ressler.
11222
11223 2002-04-16  Juergen Vigna  <jug@sad.it>
11224
11225         * text2.C (setCursor): set also the irow().
11226         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11227         (cursorUp):
11228         (cursorDown): support for locking an inset if the x_fix value goes
11229         inside it. That way I can transverse insets too with cursor up/down.
11230
11231         * lyxrow.h: added irow helper function same as other (i) functions.
11232
11233         * BufferView_pimpl.C (cursorPrevious):
11234         (cursorNext): fixed for insets!
11235
11236 2002-04-15  Juergen Vigna  <jug@sad.it>
11237
11238         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11239         position otherwise it is wrong in some cases.
11240
11241         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11242         inside the inset before the call.
11243
11244 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11245
11246         * buffer.[Ch] (getBibkeyList): make it const.
11247
11248 2002-04-12  Juergen Vigna  <jug@sad.it>
11249
11250         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11251
11252         * text2.C (getCursorX): new helper function
11253         (setCursor): compute also ix_
11254         (setCursorFromCoordinates): set also ix.
11255
11256         * lyxcursor.h: added ix_ and helper functions.
11257
11258         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11259
11260         * buffer.C (insertStringAsLines): dont break paragraph if the this
11261         paragraph is inside an inset which does not permit it!
11262
11263         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11264         also with no chars on this paragraph.
11265         (paintRowText): only paint stuff if it's inside the workarea!
11266
11267         * paragraph.C (breakParagraph): honor keepempty flag and break the
11268         paragraph always below not above.
11269
11270         * BufferView2.C (unlockInset): update the paragraph layout on inset
11271         unlock as we changed paragraph in such a case.
11272
11273         * lyxfind.C (LyXFind): clear the former selection if not found!
11274
11275         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11276         again called in insertChar().
11277
11278         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11279         an inset which uses the whole row!
11280         (rightMargin): ditto.
11281         (insertChar): force a rebreak if we inserted an inset!
11282
11283 2002-03-28  Herbert Voss  <voss@lyx.org>
11284
11285         * lyxlength.[Ch]: add inBP() to get the right PS-point
11286         units (BigPoint). With inPixels we have rounding errors
11287
11288 2002-04-11  Juergen Vigna  <jug@sad.it>
11289
11290         * text2.C (setCursorFromCoordinates): set iy to the right value.
11291         (setCursor): add check if row->previous exists!
11292
11293         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11294         an old float_type as this was the case in the old code!
11295
11296         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11297
11298         * BufferView2.C (showLockedInsetCursor): use iy
11299         (fitLockedInsetCursor): ditto
11300
11301         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11302         locked insets as there we have the right value now.
11303
11304         * lyxcursor.C: added iy_ variable and iy functions to set to the
11305         baseline of cursor-y of the locked inset.
11306
11307         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11308         (setCursor): fixed for insets which need a full row.
11309
11310         * text.C (rowLastPrintable): don't ignore the last space when before
11311         an inset which needs a full row.
11312         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11313         as last character of a row when before a inset which needs a full row.
11314
11315 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * version.C.in: update date
11318
11319         * text2.C (fullRebreak): try to always return true and see what
11320         happens...
11321
11322 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * MenuBackend.C (expand): use Floating::listName
11325
11326         * FloatList.C (FloatList): add listName argument to the built-in
11327         floats
11328
11329         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11330         text associated with the float.
11331
11332 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11333
11334         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11335
11336 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * ShareContainer.h: add a couple of missing typenames.
11339
11340 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11341
11342         * lyxrc.C (getDescription): use _() correctly rather than N_().
11343
11344 2002-03-28  Herbert Voss  <voss@lyx.org>
11345
11346         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11347         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11348
11349 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11352         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11353
11354 2002-03-29  Juergen Vigna  <jug@sad.it>
11355
11356         * lyxfunc.C (dispatch): add a missing fitCursor call.
11357
11358         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11359         it was scrolled by a cursor move, so return the bool status.
11360
11361         * BufferView.C (fitCursor): return the bool flag also to the outside
11362         world as this is needed.
11363
11364         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11365
11366         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11367         call the edit() as it is not needed (and wrong) IMO.
11368         (workAreaButtonPress): set the screen_first variable before evt.
11369         unlock the inset as this may change screen_first and then we have
11370         a wrong y position for the click!
11371
11372 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11373
11374         * MenuBackend.C (expand): another translation that I missed
11375
11376 2002-03-28  Juergen Vigna  <jug@sad.it>
11377
11378         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11379
11380         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11381
11382 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11383
11384         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11385
11386         * MenuBackend.C (expand): fix export/view/update when there is no
11387         document open.
11388
11389 2002-03-27  Herbert Voss  <voss@lyx.org>
11390
11391         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11392         and text%
11393
11394 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11395
11396         * bufferview_funcs.C (currentState): only show paragraph number
11397         for is DEVEL_VERSION is set.
11398
11399         * lyxfunc.C (dispatch): put warning in INFO channel
11400
11401         * MenuBackend.C (expand): translate the name of floats
11402
11403         * FloatList.C (FloatList): mark the float names for translation
11404
11405         * converter.C (convert): use LibScriptSearch
11406
11407 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * MenuBackend.C (defaults): fix default menu (we might as well get
11410         rid of it...)
11411
11412 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11415         directory.
11416
11417 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * lyxvc.C: reorder includes.
11420
11421 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11424           properly
11425
11426 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * CutAndPaste.C: change layouts earlier on paste
11429           to avoid crashing when calling getFont()
11430
11431 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11432
11433         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11434         irritating #error.
11435
11436 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * WorkArea.C: remove 'Pending' debug message.
11439
11440         * most files: ws cleanup
11441
11442         * buffer.[Ch]: ws changes
11443
11444         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11445
11446 2002-03-21  Juergen Vigna  <jug@sad.it>
11447
11448         * tabular.C (SetMultiColumn): collapse also the contents of the
11449         cells and set the last border right. Added a Buffer const * param.
11450
11451 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11452
11453         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11454         linking or not.
11455
11456 2002-03-19  Juergen Vigna  <jug@sad.it>
11457
11458         * text2.C (clearSelection): reset also xsel_cache.
11459
11460         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11461         where it needs to be called (John tells us to do so too :)
11462         (selectionLost): reset sel_cache.
11463
11464         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11465
11466 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * text2.C (setCursorIntern): put debuging code in INSETS channel
11469
11470 2002-03-19  André Pönitz <poenitz@gmx.net>
11471
11472         * lyxfunc.C: tiny whitespace change
11473
11474 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * ToolbarDefaults.C (init):
11477         * LyXAction.C (init):
11478         * commandtags.h:
11479         * BufferView_pimpl.C (Dispatch):
11480         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11481
11482 2002-03-19  Allan Rae  <rae@lyx.org>
11483
11484         * exporter.C (Export): removeAutoInsets before doing anything else.
11485         While I've just introduced a dependency on BufferView this really is
11486         the best place to clean the buffer otherwise you need to cleanup in
11487         a dozen places before calling export or cleanup in a dozen functions
11488         that export calls.
11489
11490         * converter.C (runLaTeX):
11491         (scanLog): Better handling of removeAutoInsets and screen updates.
11492
11493         * lyxfunc.C (dispatch): small whitespace changes
11494
11495 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11496
11497         * WorkArea.C (C_WorkAreaEvent): return a value.
11498         (event_cb): return 1 if we handled the event, 0 otherwise.
11499
11500         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11501
11502 2002-03-18  Juergen Vigna  <jug@sad.it>
11503
11504         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11505         (GetAdditionalWidth): ditto.
11506         (RightLine): ditto.
11507         (LeftLine): ditto.
11508
11509         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11510         inset if we're there actually (probably not used right now but this
11511         is the direction to go for unifying code).
11512         (paste): disable code to clear the selection.
11513
11514         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11515         inside an InsetText and move the check further up as it is in the
11516         wrong place.
11517
11518         * text2.C (pasteSelection): set a selection over the pasted text.
11519
11520 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11521
11522         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11523         and libgraphics to build on Cygwin.
11524
11525 2002-03-15  Juergen Vigna  <jug@sad.it>
11526
11527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11528         inserting an Inset into the paragraph. I know this is not the best
11529         fix but we already use current_view in CutAndPaste so we will remove
11530         all of it's using at the same time.
11531
11532         * buffer.C (sgmlError): deactivated function till it is rewritten in
11533         the right mode, now it can create problems.
11534
11535         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11536         before accessing it.
11537
11538 2002-03-14  Juergen Vigna  <jug@sad.it>
11539
11540         * undo_funcs.C (textHandleUndo): do the right thing when updating
11541         the inset after the undo/redo.
11542
11543         * text2.C (setCursor): just some testcode for #44 not ready yet.
11544
11545         * undo_funcs.C (textHandleUndo): set the next() and previous()
11546         pointers of the paragraph to 0 before deleting otherwise we have
11547         problems with the Paragraph::[destructor].
11548
11549         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11550         on a paragraph insertion.
11551
11552 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11553
11554         * buffer.C (asciiParagraph): use += operator for char append to
11555         string.
11556
11557         * paragraph.C (getFontSettings): compare >= not just >
11558         (highestFontInRange): ditto
11559         (setFont): ditto
11560
11561 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11562
11563         * paragraph.C: change several algorithm to be more appripriate for
11564         the problem domain. This is lookip in FontList and in the InsetList.
11565
11566 2002-03-13  André Pönitz <poenitz@gmx.net>
11567
11568         * commandtags.h:
11569         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11570
11571 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * commandtags.h:
11574         * LyXAction.C:
11575         * lyxfunc.C:
11576         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11577
11578 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11579
11580         * Painter.C (display): anon helper function, adjust code for this
11581         change.
11582         (pixmap): remove function.
11583
11584         * Painter.h: remove private display variable.
11585
11586         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11587
11588 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11589
11590         * WorkArea.[Ch]: remove figinset_canvas cruft.
11591
11592 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * lyxtextclass.C (operator): add one item cache optimization.
11595
11596         * bufferlist.h: doxy changes
11597
11598         * bufferlist.C: ws changes
11599
11600         * DepTable.[Ch] (ext_exist): place const in the right spot.
11601
11602         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11603         call resizeInsets.
11604         (workAreaExpose): call resizeInsets when the with BufferView changes.
11605         (Dispatch): adjust for protectedBlank removal
11606         (specialChar): call updateInset if the insert went ok.
11607
11608         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11609         specialChar instead.
11610
11611         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11612
11613         * BufferView.h: doxy change
11614
11615         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11616
11617         * lyxtextclass.C (operator[]): remove non-const version
11618         (defaultLayout): remove non-const version
11619
11620 2002-03-12  Juergen Vigna  <jug@sad.it>
11621
11622         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11623         did resize the LyXText too.
11624
11625         * buffer.C (readLyXformat2): set layout information on newly allocated
11626         paragraphs.
11627
11628         * tabular.C (OldFormatRead): set layout information on the paragraph.
11629
11630 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11631
11632         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11633
11634 2002-03-11  Juergen Vigna  <jug@sad.it>
11635
11636         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11637         plainly wrong.
11638         (resizeCurrentBuffer): force also the insets to resize themselfes.
11639         (moveCursorUpdate): fixed up for InsetText.
11640
11641 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11642
11643         * commandtags.h:
11644         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11645         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11646         value of Dialogs::tooltipsEnabled().
11647         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11648
11649 2002-03-08  Juergen Vigna  <jug@sad.it>
11650
11651         * BufferView_pimpl.C (updateInset): update inset inside inset also
11652         if it isn't inside theLockingInset().
11653
11654 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11655
11656         * buffer.C (asciiParagraph): redo some of the word and line length
11657         handling.
11658         (getLists): look for Caption instead of caption.
11659
11660 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11661
11662         * buffer.C (Buffer): initialize niceFile to true
11663         (makeLaTeXFile):
11664         (makeLinuxDocFile):
11665         (makeDocBookFile): make sure niceFile is true on exit
11666
11667 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11668
11669         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11670
11671 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11672
11673         * LyXSendto.C: remove.
11674         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11675         * lyx_gui.C: remove now-redundant comment.
11676         * ColorHandler.h: remove forward declaration of class WorkArea.
11677         * lyxfunc.C: remove #include "WorkArea.h".
11678
11679 2002-03-07  Juergen Vigna  <jug@sad.it>
11680
11681         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11682         got moved away with the DEPM and also set the inset_owner always
11683         right which before could have been omitted.
11684
11685 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11688         wanted layout is not found.
11689
11690 2002-03-07  Juergen Vigna  <jug@sad.it>
11691
11692         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11693
11694 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11695
11696         * paragraph.C (breakParagraph): use default layout not layout of
11697         prev paragraph.
11698         (Paragraph): clear ParagraphParameters.
11699
11700 2002-03-06  Juergen Vigna  <jug@sad.it>
11701
11702         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11703         otherwise it would not be a valid lenght. Fixed a special case in
11704         the minipage compatibility read where we end the document with a
11705         minipage.
11706
11707         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11708         was set as it could be 0 for InsetTexts first entry.
11709
11710 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11711
11712         * paragraph.C (writeFile): if layout is empty write out
11713         defaultLayoutName().
11714
11715         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11716         file without named layout we set layout to defaultLayoutName().
11717
11718 2002-03-06  Juergen Vigna  <jug@sad.it>
11719
11720         * CutAndPaste.C (copySelection): set layout for new paragraph.
11721
11722         * text.C (prepareToPrint): leave ERT inset left aligned
11723         (leftMargin): don't indent paragraphs inside ERT insets
11724
11725 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11726
11727         * paragraph.C (breakParagraph): dont call clear do the work manually
11728
11729         * paragraph.[Ch] (clear): remove function
11730
11731 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * paragraph.C (Paragraph): dont call clear, the work has already
11734         been done.
11735
11736         * lyxtextclass.C (operator): assert if n is empty
11737
11738         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11739         work manually instead.
11740
11741 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * BufferView_pimpl.C: protect selectionLost against text == 0
11744
11745 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * text.C (breakParagraph): fix a setting layout to '0' problem.
11748
11749 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11750
11751         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11752         final location of file, for the included files, and graphics.
11753
11754 2002-03-05  Juergen Vigna  <jug@sad.it>
11755
11756         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11757
11758 2002-03-04  Juergen Vigna  <jug@sad.it>
11759
11760         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11761
11762         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11763         last column of multicolumn cells.
11764         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11765
11766 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11767
11768         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11769         file if it doesn't go to a temporary file.
11770
11771         * buffer.C (sgmlOpenTag):
11772         (sgmlCloseTag):  remove extra newline insertion.
11773
11774 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * text.C (getRowNearY): comment out debug msg
11777
11778 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11779
11780         * text2.C: first -> first_y
11781
11782         * text.C (getRowNearY): add some attemts at a possible
11783         optimization, not working.
11784
11785         * tabular.[Ch]: add BufferParams to several function so that newly
11786         created paragraph can be initialized to he default layotu for the
11787         buffers textclass.
11788
11789         * tabular-old.C (ReadOld): add buf->params to call of Init
11790
11791         * screen.C: rename text->first to text->first_y
11792
11793         * paragraph.C (breakParagraph): always set layout in the broken
11794         paragraph
11795
11796         * lyxtextclass.C (Read): remove lowercase
11797         (hasLayout): ditto
11798         (operator): ditto
11799         (delete_layout): ditto
11800
11801         * lyxtext.h: rename first -> first_y
11802
11803         * lyxlayout.C (Read): remove lowercase
11804         (name): ditto
11805         (setName): ditto
11806         (obsoleted_by): ditto
11807
11808         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11809
11810         * buffer.C (insertErtContents): add params are to InsetERT
11811         (parseSingleLyXformat2Token): add code to check if a paragraphs
11812         layout really exist.
11813         (parseSingleLyXformat2Token): add params to several inset
11814         constructors
11815         (asciiParagraph): remove lowercase, do the layout comparisons with
11816         no_case
11817
11818         * BufferView_pimpl.C (cursorNext): first -> first_y
11819         (resizeCurrentBuffer): first -> first_y
11820         (updateScrollbar): first -> first_y
11821         (scrollCB): first -> first_y
11822         (workAreaMotionNotify): first -> first_y
11823         (workAreaButtonPress): first -> first_y
11824         (checkInsetHit): first -> first_y
11825         (cursorPrevious): first -> first_y
11826         (cursorNext): first -> first_y
11827         (Dispatch): add buffer_->params to severl inset contructors
11828
11829 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * lyxlayout.C (Read): remove some debug info that I forgot.
11832
11833         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11834         clean up the code slightly.
11835         (makeLinuxDocFile): ditto
11836         (makeDocBookFile): ditto
11837
11838         * text2.C: layout as string
11839
11840         * text.C: layout as string
11841
11842         * paragraph_pimpl.C: layout as string
11843
11844         * paragraph.[Ch]: layout as string
11845
11846         * lyxtextclasslist.[Ch]: layout as string
11847
11848         * lyxtextclass.[Ch]: layout as string
11849
11850         * lyxtext.h: layout as string
11851
11852         * lyxlayout.[Ch]: layout as string
11853
11854         * lyx_cb.C: layout as string
11855
11856         * bufferview_funcs.C: layout as string
11857
11858         * bufferparams.C: layout as string
11859
11860         * buffer.C: layout as string
11861
11862         * LyXView.[Ch]: layout as string
11863
11864         * LaTeXFeatures.[Ch]: layout as string
11865
11866         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11867
11868         * BufferView_pimpl.C: change current_layout to string, remove
11869         lyx::layout_type.
11870         (Dispatch):
11871         (smartQuote):
11872         (insertInset):
11873         (workAreaButtonRelease): layout as string
11874
11875         * BufferView2.C (unlockInset): adjust
11876
11877         * vspace.C (asLatexCommand): use an explict temp variable.
11878
11879 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * Makefile.am: use FRONTEND_*
11882
11883 2002-03-01  Juergen Vigna  <jug@sad.it>
11884
11885         * tabular.C (SetWidthOfMulticolCell): changed to something better
11886         I hope but still work in progress.
11887         (recalculateMulticolumnsOfColumn): renamed function from
11888         recalculateMulticolCells as it is more appropriate now.
11889         (SetWidthOfCell): calculate multicols better.
11890
11891 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11894
11895         * lyxfunc.C (processKeySym): print sequence also if it is
11896         `deleted' (complete)
11897
11898         * kbsequence.C (print): print sequence even if it is deleted
11899         (complete would be a better word, actually).
11900
11901         * lyxfunc.C (dispatch): print complete options after a prefix key
11902
11903         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11904
11905 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11906
11907         * text2.C (setCharFont): eliminate setCharFont code duplication.
11908
11909 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11912         LFUN_TABULAR_FEATURE (bug #177)
11913
11914 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11915
11916         * Makefile.am: remove figure.h
11917
11918 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11919
11920         * Bufferview_pimpl.C:
11921         * CutAndPasteC:
11922         * LaTeX.C:
11923         * LyXSendto.C:
11924         * buffer.C:
11925         * bufferlist.C:
11926         * converter.C:
11927         * language.C:
11928         * lyxfunc.C:
11929         * lyxvc.C:
11930         * paragraph.C:
11931         * text.C:
11932         * text2.C: remove #include "lyx_gui_misc.h".
11933
11934         * LaTeX.C: added #include <cstdio>
11935
11936 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11937
11938         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11939         that the paragraph following this one can have.
11940
11941         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11942
11943         * vspace.C (asLatexCommand): fix bogus gcc warning
11944
11945         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11946
11947 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11948
11949         * text2.C (setLayout): get rid of redundant code
11950
11951 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11952
11953         * text2.C (incDepth): make sure depth cannot be increased beyond
11954         reasonable values.
11955
11956 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11957
11958         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11959         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11960
11961         * PainterBase.h (image):
11962         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11963         a LyXImage const *.
11964
11965 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * BufferView.C:
11968         * BufferView.h:
11969         * BufferView_pimpl.C:
11970         * BufferView_pimpl.h:
11971         * LaTeXFeatures.C:
11972         * LyXAction.C:
11973         * LyXView.C:
11974         * Makefile.am:
11975         * UpdateList.h:
11976         * UpdateList.C:
11977         * buffer.C:
11978         * figure.h:
11979         * figureForm.C:
11980         * figureForm.h:
11981         * figure_form.C:
11982         * figure_form.h:
11983         * lyx_cb.C:
11984         * lyx_gui.C:
11985         * lyx_gui_misc.C:
11986         * lyxfunc.C:
11987         * sp_base.h:
11988         * sp_ispell.h:
11989         * sp_pspell.h:
11990         * sp_spell.C: remove fig inset, and the crap house of
11991           cards that follows it
11992
11993 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * Makefile.am:
11996         * lyxserver.C:
11997         * os2_defines.h:
11998         * os2_errortable.h:
11999         * nt_defines.h: move .h into support/
12000
12001         * vms_defines.h: remove
12002
12003         * WorkArea.C: add space in debug output
12004
12005         * text2.C:
12006         * paragraph.C:
12007         * buffer.C: add WITH_WARNINGS
12008
12009         * vc-backend.h:
12010         * vc-backend.C:
12011         * bufferlist.C: s/retrive/retrieve/, add docs
12012
12013         * vspace.h:
12014         * vspace.C:
12015         * kbmap.h:
12016         * lyxlength.h:
12017         * lyxgluelength.h:
12018         * length_common.h:
12019         * chset.h:
12020         * chset.C: add docs
12021
12022         * lyxgui.C: add ID to X error handler
12023
12024         * lyxtestclass.c: fix typo
12025
12026 2002-02-26  Juergen Vigna  <jug@sad.it>
12027
12028         * tabular_funcs.C (write_attribute): changed so that some default
12029         attributes are not written at all.
12030         (getTokenValue): set default values before trying to read the
12031         value so we have the return value always set as default if we don't
12032         find the token we search for.
12033
12034         * tabular.C (Write): write bools as bools not as strings!
12035
12036 2002-02-22  Juergen Vigna  <jug@sad.it>
12037
12038         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12039         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12040
12041         * text.C (leftMargin): don't add an indent for paragraphs inside
12042         tabular cells (fix #208).
12043
12044 2002-02-21  José Matos  <jamatos@fep.up.pt>
12045
12046         * tabular.C (docBook): fixed support for long tables.
12047
12048 2002-02-20  Juergen Vigna  <jug@sad.it>
12049
12050         * text2.C (getFont): get the drawing font of the Inset if this
12051         paragraph is inside an inset (only important for InsetERT for now).
12052
12053         * buffer.C (insertErtContents): use new lanugage params in ERT
12054         constructor.
12055
12056         * CutAndPaste.C: commenting out seemingly uneeded code.
12057
12058 2002-02-19  Allan Rae  <rae@lyx.org>
12059
12060         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12061         Iterators might be simple to use but they also get invalidated.
12062         (removeAutoInsets): renamed saved cursor tracking variables and added
12063         some comments to clarify what everything does.
12064
12065 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12066
12067         * Chktex.C:
12068         * LaTeX.C:
12069         * LyXSendto.C:
12070         * converter.C:
12071         * lyx_cb.C:
12072         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12073         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12074
12075         * lyxfunc.C:
12076         * vc-backend.h: remove #include "support/syscall.h"
12077
12078         * LaTeX.C:
12079         * LyXSendto.C:
12080         * converter.C: rearrange #includes in Lars' approved fashion.
12081
12082         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12083         forward declare class Timeout in the header file.
12084
12085         * XFormsView.C: changes due to the above.
12086
12087         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12088         similar to LyXView.
12089
12090         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12091         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12092
12093 2002-02-18  José Matos  <jamatos@fep.up.pt>
12094
12095         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12096         insets contents.
12097
12098 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12099
12100         * a lot of small ws changes
12101         * add a lot of using std::XXX
12102         * use std construcs some places where approp.
12103         * use some exisint stuff from lyxfunctional where approp.
12104         * Make file changes to use partial linking (lets test this now...)
12105
12106 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12107
12108         * Chktex.C:
12109         * buffer.C:
12110         remove #include "support/syscontr.h" as it's redundant. Always has been.
12111
12112         * Chktex.C:
12113         * LaTeX.C:
12114         * LyXSendto.C:
12115         * converter.C:
12116         * lyx_cb.C:
12117         * vc-backend.C:
12118         change Systemcalls::System to Systemcalls::Wait and
12119         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12120         No change of functionality, just reflects the stripped down Systemcalls
12121         class.
12122
12123 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12124
12125         * debug.[Ch]: add a GRAPHICS type to the enum.
12126
12127 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12128
12129         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12130
12131         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12132         there is an inset.
12133
12134 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12137         match the changes below.
12138
12139         * text2.C (toggleInset): if there is not editable inset at cursor
12140         position, try to see if cursor is _inside_ a collapsable inset
12141         and close it.
12142
12143 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12144
12145         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12146         document menu has a nice checkbox
12147
12148 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12149
12150         * lyxlength.C (asLatexString): change PW to output as percent of
12151         \textwidth.
12152
12153         * lengthcommon.C: change '%' to 't%'
12154
12155         * lyxfunc.C (dispatch): a few comments from Martin
12156
12157 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * WorkArea.h:
12160         * WorkArea.C:
12161         * BufferView_pimpl.h:
12162         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12163           the X selection.
12164
12165 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12166
12167         * vspace.C (inPixels): fix compiler warning
12168
12169 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12170
12171         * lyxfunc.C (getStatus): fix status message for disabled commands.
12172
12173 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * BufferView_pimpl.C: fix crash on close buffer
12176         during selection (#227)
12177
12178 2002-01-27  Herbert Voss  <voss@lyx.org>
12179
12180         * buffer.C: link old Figure to new graphic inset
12181
12182 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12183
12184         * FontLoader.C (getFontinfo): Change the latex font names in order
12185         to match the names of type1inst.
12186
12187 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12190
12191         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12192         (extchanged): ditto
12193         (ext_exist): ditto
12194         (remove_files_with_extension): ditto
12195         (remove_file): ditto
12196         (write): ditto
12197
12198         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12199         document is smaller than the work area height. Do not initialize
12200         static variables to 0.
12201
12202 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12205
12206         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12207         LFUN_LAYOUT_PARAGRAPHS.
12208
12209         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12210         tabular. It is possible to provide a possible cell, which will
12211         typically be the actcell from the corresponding insettabular
12212
12213         * lyxfunc.C (getStatus): small cleanup; disable
12214         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12215         true
12216
12217 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12218
12219         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12220
12221         * paragraph.C (startTeXParParams):
12222         (endTeXParParams): new methods. The LaTeX code to
12223         start/end paragraph formatting
12224         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12225         empty (fixes bug #200)
12226
12227         * vspace.C (inPixels): adapt to the change below
12228         (inPixels): [later] more cleanups (remove unused variables)
12229
12230         * lyxlength.C (inPixels): change to use a width and a height as
12231         parameter.
12232
12233 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12234
12235         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12236         Replaced with \paperwidth
12237
12238         * DepTable.C (insert): add std:: qualifier
12239
12240 2002-01-18  Allan Rae  <rae@lyx.org>
12241
12242         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12243         updated also?
12244
12245         * text.C (drawInset): Turned out I didn't know enough about how
12246         rebreaking worked.  This fixes most of the redraw problems.  I see
12247         an occasional cursor trail when a line is broken now and the cursor
12248         placement can seem out by a few pixels also after a rebreak.
12249
12250 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12251
12252         * buffer.C (parseSingleLyXformat2Token): update because minipage
12253         width is now a LyXLength
12254
12255         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12256
12257         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12258         math insets
12259
12260 2002-01-17  Juergen Vigna  <jug@sad.it>
12261
12262         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12263
12264         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12265         is set correctly and the inset is updated correctly.
12266
12267 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12268
12269         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12270         the beginning of the loop.
12271
12272 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * lyxrc.C: improve help for use_scalable_fonts
12275
12276 2002-01-17  Allan Rae  <rae@lyx.org>
12277
12278         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12279
12280 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12281
12282         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12283         make sure to set their inset_owner to the right value (bug #171)
12284
12285 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12286
12287         * DepTable.h
12288         * DepTable.C: Implement mtime checking to reduce time spent doing
12289         CRCs.
12290
12291 2002-01-16  Juergen Vigna  <jug@sad.it>
12292
12293         * tabular.C (GetAdditionalHeight): one of error fixed.
12294
12295         * lyxrc.C (output): small fix in writing use_pspell.
12296
12297 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * sp_base.h: #include LString.h
12300
12301 2002-01-16  Allan Rae  <rae@lyx.org>
12302
12303         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12304         Can someone check this please?
12305
12306         * text.C (drawInset): It was possible that p.row would be removed by
12307         breakAgainOneRow upsetting a few other settings.  There may be another
12308         small tweak possible by setting need_break_row = 0 when p.row has been
12309         removed but I don't know enough about the logic here.
12310
12311 2002-01-15  Allan Rae  <rae@lyx.org>
12312
12313         * text.C (insertChar): removed conditional truism.
12314
12315         * BufferView2.C (removeAutoInsets): More tweaks.
12316         cur_par_prev could be a stray pointer.  Check for trailing empty line
12317         in case last line was cur_par and only had an error inset on it.
12318
12319 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12320
12321         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12322         absolute
12323
12324         * vc-backend.C (most methods):
12325         * exporter.C (Export):
12326         * converter.C (convert):
12327         (runLaTeX):
12328         * LyXSendto.C (SendtoApplyCB):
12329         * lyxfunc.C (dispatch):
12330         (menuNew):
12331         (open):
12332         (doImport):
12333         * lyx_cb.C (AutoSave):
12334         (InsertAsciiFile):
12335         * BufferView_pimpl.C (MenuInsertLyXFile):
12336         * buffer.C (runChktex): use Buffer::filePath().
12337
12338         * buffer.h: rename filename to filename_; rename filepath to
12339         filepath_ and make it private
12340         (filePath): new method
12341
12342         * buffer.C (writeFile): use fileName()
12343         (getLatexName):
12344
12345         * lyx_main.C (init): fix starting  of LyX when the binary is a
12346         link from so,ewhere else.
12347
12348         * minibuffer.C: include <cctype> for isprint
12349
12350 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12351
12352         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12353         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12354         name clash with InsetCollapsable's width function.
12355
12356 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12357
12358         * lastfiles.C: include <iterator>
12359
12360 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12361
12362         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12363         std::count.
12364
12365         * buffer.C (makeLaTeXFile): ditto.
12366         Also make loop operation more transparent.
12367
12368 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12369
12370         * ToolbarDefaults.C: remove trailing comma closing namespace.
12371
12372         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12373
12374         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12375         as in WorkArea.
12376
12377         * trans.C (Load): comment out unused variable, allowed.
12378
12379 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12380
12381         * minibuffer.[Ch] (append_char): new method to recieve input from the
12382         drop-down completion browser. If a key was pressed, then recieve this
12383         char and append it to the existing string.
12384         (peek_event): modify the positioning data passed to the completion
12385         browser so that it can be placed above the minibuffer rather than below.
12386 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12387
12388         * LyXAction.C (init): alloe error-next for readonly documents.
12389
12390         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12391         count.
12392
12393 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12394
12395         * bufferlist.C (readFile): create the buffer _after_ checking that
12396         the file exists.
12397
12398         * lyxfunc.C (verboseDispatch): fix handling of arguments
12399
12400         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12401
12402         * lyxrc.C: use string::erase() instead of initializing to "".
12403
12404
12405 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12406
12407         * BufferView_pimpl.h:
12408         * BufferView_pimpl.C:
12409         * WorkArea.h:
12410         * WorkArea.C:
12411         * text2.C: tell X when we have made a selection for copying
12412
12413 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12414
12415         * BufferView_pimpl.C (MenuInsertLyXFile):
12416         * lyxfunc.C (menuNew):
12417         (open):
12418         (doImport): add shortcuts to directory buttons
12419
12420         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12421         open a float)
12422
12423         * lyxfunc.C (setStatusMessage):
12424         (getStatusMessage): new methods
12425         (getStatus):use setStatusMessage instead of setErrorMessage
12426         (dispatch): when function is disabled, set error message here
12427         [instead of in getStatus previously]
12428
12429         * BufferView_pimpl.C (workAreaButtonRelease): update
12430         toolbar/menubar here too.
12431
12432 2002-01-13  Allan Rae  <rae@lyx.org>
12433
12434         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12435         Now seems indestructible.  Remaining task is to audit all other
12436         code affected by deleteEmptyParagraphMechanism.  One small quirk
12437         left is that an empty document with an error in the preamble can
12438         be made to report an error but no error box appears.  I don't know
12439         where it goes.
12440         (removeAutoInsets): Improved comments.
12441
12442 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12443
12444         * Thesaurus.h:
12445         * Thesaurus.C: update for Aiksaurus 0.14
12446
12447 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12448
12449         * text2.C (firstParagraph): removed member function, all uses
12450         replaces with ownerParagraph
12451         (redoParagraphs): here
12452         (updateInset): here
12453         (toggleAppendix): here
12454         * BufferView2.C (insertErrors): here
12455         (setCursorFromRow): here
12456
12457 2002-01-13  Allan Rae  <rae@lyx.org>
12458
12459         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12460         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12461         There is still a way to segfault this although you may have to do this
12462         multiple times: Have an InsetERT with an unknown command in it.
12463         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12464         <down-arrow>, <Enter> again, View->DVI, BANG!
12465
12466         * text2.C (setCursor):
12467         (deleteEmptyParagraphMechanism):
12468         * lyxtext.h (setCursor):
12469         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12470         Making use of the return value may help fix other bugs.
12471
12472 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12475
12476         * LyXView.C (updateMenubar): call MenuBar::update here
12477         (updateToolbar): but not here
12478         (showState): do not update toolbar/menubar
12479
12480         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12481         should need to care about that.
12482
12483         * lyxfunc.C (verboseDispatch): simplify a bit
12484         (getStatus): have a version which takes a pseudoaction, and
12485         another which requires a (kb_action,string).
12486
12487         * LyXAction.C (retrieveActionArg): make it work also when action
12488         is not a pseudo-action.
12489         (getActionName): simplify a bit
12490         (helpText):
12491
12492 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * lyxfunc.C (verboseDispatch): new families of methods with
12495         several ways to specify a command and a bool to indicate whether
12496         the command name and shortcut should be displayed in minibuffer
12497         (eventually, we could extend that to a finer bitmask like
12498         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12499         (dispatch): the pristine dispatch command which just, well,
12500         dispatchs! Note it still sets its result to minibuffer; I'm not
12501         sure we want that.
12502
12503         * lyxfunc.h: remove setHintMessage
12504
12505         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12506
12507 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12508
12509         * BufferView_pimpl.C (specialChar): delete new inset if we have
12510         not been able to insert it.
12511
12512         * kbmap.C: revert to using int instead of kb_action, since all we
12513         are dealing with is pseudo-actions.
12514
12515         * LyXAction.C (searchActionArg): change to return int instead of
12516         kb_action, since the result is a pseudoaction.
12517
12518 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12519
12520         * buffer.C (insertErtContents): Fix (partially) the font bug.
12521
12522 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12523
12524         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12525         as the other one is broken on my machine!
12526
12527 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12528
12529         * commandtags.h:
12530         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12531
12532 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12533
12534         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12535         reflect their actual use. Provide compatibility code for older lyxrc
12536         files.
12537
12538         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12539         FL_NORMAL_STYLE.
12540         change names of popup font variables in line with the changes to lyxrc.C
12541
12542 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12543
12544         * buffer.C (asciiParagraph): avoid outputing a word twice after
12545         an inset.
12546
12547         * lyxrc.C (getDescription): document that document_path and
12548         template_path can be empty.
12549
12550 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12551
12552         * LaTeXFeatures.C (getMacros):
12553         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12554
12555         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12556
12557         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12558         getPackages.
12559         (getPackages): rename feature "floats" to "float". Use an array to
12560         iterate over 'simple' features (i.e. just a \usepackage). Add
12561         handling of "amsmath" (renamed from "amsstyle").
12562
12563 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12564
12565         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12566         features list.
12567
12568 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12571         FuncStaus::FuncStatus & FuncStaus::some_method().
12572
12573 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12574
12575         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12576         of the func_satus stuff. Edited and massaged in various ways by
12577         JMarc.
12578
12579         * lyxfunc.C (getStatus): use FuncStatus
12580
12581 2002-01-08  Juergen Vigna  <jug@sad.it>
12582
12583         * text.C (nextBreakPoint): use function Inset::isChar().
12584
12585         * paragraph.C (TeXOnePar): use function
12586         Inset::forceDefaultParagraphs.
12587
12588         * buffer.C (latexParagraphs): use function
12589         Inset::forceDefaultParagraphs.
12590
12591 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12592
12593         * lyx_gui.C (init): set the style of the menu popups to
12594         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12595
12596 2002-01-07  Juergen Vigna  <jug@sad.it>
12597
12598         * text.C (setHeightOfRow): small fix
12599         (prepareToPrint): don't look at alignment if we don't have the place
12600         for doing it.
12601
12602 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12603
12604         * box.C: New file. Move the Box methods and functions out of box.h,
12605         following Lars' suggestion.
12606
12607 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * box.h: #include "support/LOstream.h", needed for inlined function.
12610
12611         * lyxtextclass.C:
12612         * lyxtextclasslist.C: added some using std declarations.
12613
12614 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * box.h: make signed dimensions to allow insets wider than
12617           the screen (bug #162)
12618
12619         * BufferView_pimpl.C: add some insetHit debug
12620
12621 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12622
12623         * vc-backend.C: add FIXME
12624
12625 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * lyxfunc.C (getStatus): enable code for showing math font status
12628         in toolbar/menu.
12629
12630 2002-01-07  Juergen Vigna  <jug@sad.it>
12631
12632         * text.C (nextBreakPoint): removed debug output not needed anymore.
12633
12634 2002-01-06  Juergen Vigna  <jug@sad.it>
12635
12636         * text.C (nextBreakPoint): fixed up this function we had this bug
12637         since ever but now hopefully we break row better.
12638         (insertChar): we have to check if an inset is the next char as it
12639         could now happen that a large inset is causing a break.
12640
12641 2002-01-05  Juergen Vigna  <jug@sad.it>
12642
12643         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12644         if it doesn't like to be drawed.
12645
12646 2002-01-04  Juergen Vigna  <jug@sad.it>
12647
12648         * BufferView2.C (lockInset): forgot to set a cursor.
12649
12650         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12651
12652 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12653
12654         * FormMathsPanel.C:
12655         * FormMathsPanel.h
12656         * MathsSymbols.C:
12657         * form_maths_panel.C:
12658         * form_maths_panel.h:
12659         * form_maths_panel.fd: implemented sub- and super- buttons in math
12660         panel.
12661
12662         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12663         (or ^ space) to be used as in TeX (req'd by André).
12664
12665         * lyxfunc.C: Allow ^ and _ again to be used both as
12666         super/subscript (mathed) and as themselves (in text).
12667
12668 2002-01-03  Allan Rae  <rae@lyx.org>
12669
12670         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12671         "LyX" or the filename of the current buffer if it has one.  This is a
12672         modified form of John Levon's patch.
12673
12674         * XFormsView.C (setWindowTitle): also set icon title.
12675
12676         * LyXView.h (setWindowTitle): signature changed.
12677         * XFormsView.h (setWindowTitle): ditto.
12678
12679 2002-01-02  Juergen Vigna  <jug@sad.it>
12680
12681         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12682
12683 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12684
12685         * screen.C (topCursorVisible): introduce a temp var for
12686         text->cursor.row(), handle the case where this row is null. (kindo
12687         hachish)
12688
12689         * text2.C (setCursor): add a couple of asserts.
12690
12691         * paragraph.h (inset_iterator): add -> operator
12692
12693         * paragraph.[Ch] (autoDeleteInsets): remove member function
12694
12695         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12696         cursor pos correctly and handle inset deletion by itself.
12697         (insertErrors): move iterator declaration out of for expression
12698
12699         * lyxtextclass.C: add <algorithm>
12700
12701         * Makefile.am: added the new files to sources, removed layout.C
12702
12703         * layout.C: removed file
12704
12705         * layout.h: remove LYX_DUMMY_LAYOUT
12706
12707         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12708         layout.
12709
12710         * lyxlayout.[Ch]:
12711         * lyxtextclass.[Ch]:
12712         * lyxtextclasslist.[Ch]: new files
12713
12714         * include order changes to a lot of files, also changes because of
12715         the six new files.
12716
12717 2001-12-27  Juergen Vigna  <jug@sad.it>
12718
12719         * buffer.C (asciiParagraph): more fixes.
12720
12721         * tabular.C (ascii): make ascii export support export of only the
12722         data separated by a column-delimiter.
12723         (ascii): better support for ascii export.
12724
12725         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12726
12727 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12728
12729         * tabular_funcs.C: use a "using std::getline" instead of the
12730         previous fix from Angus (necessary for cxx + lyxstring)
12731
12732 2001-12-24  Juergen Vigna  <jug@sad.it>
12733
12734         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12735
12736         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12737         problems. First check a minipage also if we have some ert-contents
12738         (not only on par->size(), second set the right depth of the paragraph
12739         on the relink to the root-paragraph-list!
12740
12741         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12742         which then did not anymore update the main paragraphs on undo/redo!
12743
12744 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12745
12746         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12747         code. Support all font-changing funcs (even those which are not in
12748         menu currently). Support for reporting font settings in
12749         mathed (disabled until Andre provides a function on mathed's side).
12750
12751         * func_status.h (toggle): small helper function to set toggle
12752         state on a flag.
12753
12754 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12755
12756         * tabular_funcs.C: getline -> std::getline
12757
12758 2001-12-21  Juergen Vigna  <jug@sad.it>
12759
12760         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12761         accessed and could be 0 (I couldn't generate this but it seems
12762         Michael could!).
12763
12764 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12767         * tabular_funcs.h: here and include iosfwd
12768
12769 2001-12-20  Juergen Vigna  <jug@sad.it>
12770
12771         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12772         inside inset but undo_par was.
12773
12774 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12775
12776         * Thesaurus.C: always include <config.h> in sources.
12777
12778         * Painter.h:
12779         * lyxlookup.h:
12780         * box.h: do not include <config.h> in header files
12781
12782         * text.C (paintLastRow): remove unused variable
12783
12784         * text.C (transformChar):
12785         (insertChar):
12786         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12787
12788         * Painter.C (text):
12789         * font.C (width): rewrite to use uppercase() instead of
12790         islower/toupper.
12791
12792         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12793
12794 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * lyxfind.C: clean up of find failure position change
12797
12798 2001-12-20  Juergen Vigna  <jug@sad.it>
12799
12800         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12801
12802         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12803         (TeXRow): added to LaTeX a single tabular row.
12804         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12805         (Latex): simplified and finally good LT-h/f support.
12806         (various_functions): just small adaptions for LT-h/f support.
12807
12808         * tabular_funcs.[hC]: added and moved here all not classfunctions
12809         of LyXTabular.
12810
12811 2001-12-19  Juergen Vigna  <jug@sad.it>
12812
12813         * tabular.[Ch]: better support for longtabular options (not finished
12814         yet!)
12815
12816 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * text.C (paintLastRow): use the label font instead of the font of
12819         the last character to compute the size of *_BOX. This makes more
12820         sense and avoids a crash with empty paragraphs.
12821         Use Painter::rectangle to draw EMPTY_BOX.
12822
12823 2001-12-19  Juergen Vigna  <jug@sad.it>
12824
12825         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12826         the paragraphs if the replaced paragraph is not the first one!
12827         Tried to delete not used paragraphs but does not work yet so for
12828         now it's inside #ifdef's and by default off!
12829
12830 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12831
12832         * MenuBackend.C: include "lyx_main.h" instead of declaring
12833         lastfiles (actually was declared as LastFiles* instead of a
12834         scoped_ptr).
12835
12836 2001-12-17  Juergen Vigna  <jug@sad.it>
12837
12838         * tabular.C (AppendColumn): applied John's fix
12839
12840 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * BufferView.h:
12843         * BufferView.C:
12844         * BufferView_pimpl.h:
12845         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12846
12847         * Makefile.am:
12848         * box.h: new start of class for above
12849
12850         * lyxfunc.C: ignore space-only minibuffer dispatches.
12851           Show the command name when it doesn't exist
12852
12853         * minibuffer.C: don't add empty lines to the history
12854
12855         * minibuffer.C: add a space on dropdown completion
12856
12857 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * text.C: fix line above/below drawing in insets
12860
12861 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * lyxlength.C (LyXLength): Initialize private variables.
12864
12865 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12866
12867         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12868         when inserting error insets.
12869
12870 2001-12-13  Juergen Vigna  <jug@sad.it>
12871
12872         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12873         actually sometimes the before-paragraph.
12874         (setUndo): don't clear the redostack if we're not actually undoing!
12875
12876 2001-12-06  Juergen Vigna  <jug@sad.it>
12877
12878         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12879         and fixed redoing of main paragraph, so we can use it now ;)
12880
12881         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12882
12883 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12884
12885         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12886         Juergen's request
12887
12888 2001-12-13  André Pönitz <poenitz@gmx.net>
12889
12890         * undostack.[Ch]:
12891         * undo_func.C: minor cleanup
12892
12893 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12894
12895         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12896         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12897         font in urw-fonts package which is marked as -urw-fontspecific and
12898         does not work (incidentally, changing the encoding in the
12899         fonts.dir of this package to -adobe-fontspecific fixes the
12900         problem).
12901
12902         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12903         is a crash when undoing first paragraph (Juergen, please take a
12904         look). THis does not mean the undo fix is wrong, just that it
12905         uncovers problems.
12906
12907         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12908         the (Paragraph*) version when needed instead of duplicating the
12909         code.
12910
12911         * text.C (workWidth): use Inset::parOwner to find out where the
12912         inset has been inserted. This is a huge performance gain for large
12913         documents with lots of insets. If Inset::parOwner is not set, fall
12914         back on the brute force method
12915
12916         * paragraph_pimpl.C (insertInset):
12917         * paragraph.C (Paragraph):
12918         (cutIntoMinibuffer): set parOwner of insets when
12919         inserting/removing them
12920
12921         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12922
12923 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12924
12925         * commandtags.h:
12926         * LyXAction.C:
12927         * lyx_main.C:
12928         * lyxfunc.C:
12929         * mathed/formulabase.C:
12930         * mathed/math_cursor.[Ch]:
12931         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12932
12933
12934 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * lyxlength.[Ch] (operator!=): new function
12937
12938 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12939
12940         * text.C (workWidth): use Inset::parOwner to find out where the
12941         inset has been inserted. This is a huge performance gain for large
12942         documents with lots of insets. If Inset::parOwner is not set, fall
12943         back on the brute force method
12944
12945         * paragraph_pimpl.C (insertInset):
12946         * paragraph.C (Paragraph):
12947         (cutIntoMinibuffer): set parOwner of insets when
12948         inserting/removing them
12949
12950         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12951
12952 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12953
12954         * tabular-old.C (getTokenValue):
12955         * tabular.C (getTokenValue):
12956         (write_attribute): new versions for LyXLength
12957         (everywhere): adjust the use of widths
12958
12959         * tabular.h: change the type of widths from string to LyXLength
12960
12961 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12962
12963         * paragraph.C: fixed missing line number count when exporting
12964         Environments to LaTeX file
12965
12966         * buffer.C: added informational message for checking line numbers.
12967
12968 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12969
12970         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12971         paragraph, do the 'double space' part, but not the 'empty
12972         paragraph' one.
12973
12974         * text.C (workWidth): small optimization
12975         (getLengthMarkerHeight): use minimal size for negative lengths.
12976
12977 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12978
12979         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12980
12981         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12982
12983 2001-12-11  André Pönitz <poenitz@gmx.net>
12984
12985         * FontLoader.C:
12986         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12987
12988 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12989
12990         * text2.C: keep selection on a setFont()
12991
12992 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * lyx_cb.C: another bv->text misuse, from insert label
12995
12996 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * kbsequence.h:
12999         * kbsequence.C: re-instate nmodifier mask
13000
13001 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13002
13003         * lyx_main.h: make lyxGUI private.
13004
13005 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13006
13007         * lyxfind.C: place the cursor correctly on failed search
13008
13009 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13010
13011         * text.C (getLengthMarkerHeight): for small heights, the arrows
13012         are not always on top/bottom of the text
13013         (drawLengthMarker): smaller arrows; take the left margin in
13014         account; draw also vfills.
13015         (paintFirstRow):
13016         (paintLastRow): remove special code for vfill and standard spaces,
13017         since everything is handled in drawLengthMarker now.
13018
13019 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13020
13021         * buffer.C (insertErtContents): try to handle font and language
13022         interaction a bit better.g
13023
13024         * ColorHandler.C (updateColor): change the hash to cover the whole
13025         LColor enum, ws cleanup
13026         (getGCLinepars): ditto
13027         (getGCLinepars): only lookup in the linecache once.
13028
13029 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13030
13031         * iterators.C (operator++): Make the iterator more robust
13032
13033         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13034         (John's patch)
13035         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13036
13037 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13038
13039         * lyxtext.h:
13040         * text.C: better added space drawing
13041
13042 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13043
13044         * LyXView.C:
13045         * BufferView2.C: fix layout combo update on inset unlock
13046
13047 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13048
13049         * Makefile.am: don't compile unused files
13050
13051 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13052
13053         * lyxfunc.C:
13054         * commandtags.h:
13055         * LyXAction.C: remove old LFUN_LAYOUTNO
13056
13057 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13058
13059         * paragraph_pimpl.h:
13060         * paragraph_pimpl.C: isTextAt() doesn't need font param
13061
13062 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * lyxlex.h:
13065         * lyxlex.C: little cleanup
13066
13067 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13068
13069         * BufferView_pimpl.C: fix insertAscii for insets
13070
13071 2001-12-05  Juergen Vigna  <jug@sad.it>
13072
13073         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13074         set the right font on the "multi" paragraph paste!
13075
13076 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13077
13078         * trans_decl.h:
13079         * trans_mgr.[Ch]:
13080         * trans.[Ch]:
13081         * lyxgluelength.C:
13082         * lyxlength.C: remove out-commented code.
13083
13084         * BufferView_pimpl:
13085         * CutAndPaste.C:
13086         * DepTable.C:
13087         * buffer.C:
13088         * chset.C:
13089         * lastfiles.C:
13090         * lyxlex.C:
13091         * lyxlex_pimpl.C:
13092         * lyxserver.C:
13093         * screen.C:
13094         * tabular-old.C:
13095         * tabular.C:
13096         * text.C:
13097         * trans_mgr.C:
13098         * vc-backend.C: change "while(" to "while ("
13099
13100         * lyxlength.[Ch]: add zero function to check if length is zero or
13101         not
13102         * lyxgluelength.C: use it
13103
13104 2001-12-05  Allan Rae  <rae@lyx.org>
13105
13106         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13107         Works for 2.95.3, from what I understand of Garst's reports this should
13108         work for other g++ versions.  We're screwed if the abs(int) definition
13109         changed between bugfix releases of gcc.
13110
13111 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13112
13113         * text.C: fix chapter label offset !
13114
13115 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13116
13117         * lyxtext.h:
13118         * text.C: fix hfill at end of line, clean up
13119
13120 2001-12-04  Juergen Vigna  <jug@sad.it>
13121
13122         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13123         that we force an update of the inset and it's owners if neccessary.
13124
13125 2001-12-03  Juergen Vigna  <jug@sad.it>
13126
13127         * text.C (rowLast): simplified code
13128
13129 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13130
13131         * lyxfunc.C: fix show options on timeout
13132
13133 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * screen.C (topCursorVisible): scroll half a page when the cursor
13136         reached top of bottom of screen
13137
13138 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13139
13140         * minibuffer.C: deactivate on loss of focus
13141
13142 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * vspace.[Ch] (operator!=): add operator.
13145
13146 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13147
13148         * BufferView_pimpl.C: refuse to open an inset when
13149         there's a selection.
13150
13151 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * BufferView_pimpl.C: allow to click on RHS of full row insets
13154
13155 2001-11-30  Juergen Vigna  <jug@sad.it>
13156
13157         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13158         insets for undo reasons.
13159
13160 2001-11-28  André Pönitz <poenitz@gmx.net>
13161
13162         * vspace.[Ch]: cosmetical changes
13163
13164 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * LyXAction.h:
13167         * LyXAction.C:
13168         * lyxfunc.h:
13169         * lyxfunc.C:
13170         * kbmap.h:
13171         * kbmap.C:
13172         * lyxrc.C:
13173         * kbsequence.h:
13174         * kbsequence.C: part re-write of old kb code
13175
13176         * Painter.C:
13177         * WorkArea.C: remove Lgb_bug_find_hack
13178
13179 2001-11-30  José Matos <jamatos@fep.up.pt>
13180
13181         * buffer.C (makeDocBookFile): add a comment to point a hack.
13182         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13183         Fixed a double write of labels.
13184
13185 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13186
13187         * LaTeX.C:
13188         * LaTeX.h Fixed bug in LaTeX class where it would not
13189         re-run latex if no depfiles were changed, but the .dvi was removed.
13190
13191 2001-11-28  André Pönitz <poenitz@gmx.net>
13192
13193         * all the files from the change on 2001/11/26:
13194         use lyx::layout_type instead of LyXTextClass::size_type
13195         use lyx::textclass_type instead of LyXTextClassList::size_type
13196
13197 2001-11-29  Juergen Vigna  <jug@sad.it>
13198
13199         * text.C: added support for paragraph::isFreeSpacing()
13200
13201         * buffer.C: same as above
13202
13203         * paragraph.h: inserted isFreeSpacing() function to enable
13204         FreeSpacing inside InsetERT.
13205
13206         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13207         of the paragraph's in the cut/copy buffer to 0!
13208
13209         * text2.C (removeRow): remove the assert as it can!
13210
13211         * lyxtext.h: added helper function firstRow returning firstrow and
13212         made firstrow private again.
13213
13214         * BufferView2.C (lockInset): don't relock if we're already locked!
13215
13216         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13217         the only paragraph.
13218         (removeRow): added Assert::(firstrow)
13219
13220         * debug.C: forgot to add INSETTEXT here.
13221
13222 2001-11-28  Juergen Vigna  <jug@sad.it>
13223
13224         * sp_spell.C (initialize): changed error text to more general
13225         spellchecker command use (not only ispell!)
13226
13227         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13228
13229         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13230
13231 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13232
13233         * vspace.C: initialise lyxgluelength on failure
13234
13235 2001-11-28  Allan Rae  <rae@lyx.org>
13236
13237         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13238         declaration & definition that looks like a function declaration.
13239
13240 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * BufferView2.C (copy):
13243         (copyEnvironment): do not clear the selection when doing a copy.
13244
13245         * text.C (paintFirstRow): compilation fix
13246
13247 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13248
13249         * tabular.C (Latex): correct line count when writing latex.
13250
13251 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * paragraph_pimpl.h:
13254         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13255           bug a bit
13256
13257 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13258
13259         * text.C:
13260         * LColor.h:
13261         * LColor.C: change vfillline->added_space
13262
13263         * text.C: add markers and text for added space
13264
13265         * vspace.C: fix comment
13266
13267 2001-11-28  André Pönitz <poenitz@gmx.net>
13268
13269         * paragraph.C: whitespace changes
13270         * all the other files from the change on 2001/11/26:
13271         change *::pos_type into lyx::pos_type
13272
13273 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13274
13275         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13276         language of the document when inserting error insets.
13277
13278 2001-11-26  André Pönitz <poenitz@gmx.net>
13279
13280         * BufferView_pimpl.[Ch]:
13281         *       CutAndPaste.C:
13282         * buffer.[Ch]:
13283         * lyxcursor.[Ch]:
13284         * lyxfind.C:
13285         * lyxfunc.C:
13286         * lyxrow.[Ch]:
13287         * paragraph.[Ch]:
13288         * paragraph_pimpl.[Ch]:
13289         * sp_spell.C:
13290         * text.C:
13291         * text2.C: reduce header dependencies, introduce type for positions
13292
13293 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13294
13295         * <various>: change to use Alert.h
13296
13297 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13298
13299         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13300         when encountering an unknown token.
13301         (readLyXformat2): Show an error message if there were unknown tokens.
13302
13303 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * BufferView2.C:
13306         * BufferView_pimpl.C:
13307         * buffer.C:
13308         * paragraph.h:
13309         * text.C:
13310         * text2.C: use par->isInset()
13311
13312 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13313
13314         * paragraph_pimpl.h:
13315         * paragraph_pimpl.C: cleanup
13316
13317 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13318
13319         * text2.C (removeRow):
13320         * text.C (setHeightOfRow): remove useless (and costly) call to
13321         getRow.
13322
13323 2001-11-20  Allan Rae  <rae@lyx.org>
13324
13325         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13326         Now need Inset*::checkInsertChar() to return true for appropriate
13327         cases so that the characters in the minibuffer will actually be
13328         inserted.
13329
13330 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13331
13332         * text.C: change the order of the includes.
13333         (workWidth): initialize it at once.
13334         (workWidth): make maxw unsigned
13335         (setHeightOfRow): remove unused variable (inset)
13336         (selectSelectedWord): remove unused variable (inset)
13337         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13338
13339 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13342         server is not running.
13343         (openConnection):
13344         (closeConnection): add debug info when server is disabled.
13345
13346         * ColorHandler.C (getGCForeground): send debug message to GUI
13347         channel.
13348
13349         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13350
13351         * kbmap.C (bind): modify because return conventions of
13352         kb_sequence::parse have changed.
13353
13354         * kbsequence.C (parse): only ignore spaces and not any stupid
13355         control character. This avoids tests like s[i] <= ' ', which are
13356         guaranteed to fail with 8bit characters and signed chars.
13357         Change return code to string::npos when there have been no error
13358         (0 was a bad idea when error is at first character)
13359
13360 2001-11-14  José Matos  <jamatos@fep.up.pt>
13361
13362         * buffer.h:
13363         * buffer.C (simpleDocBookOnePar): removed unused argument.
13364
13365 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13368         insets which are part of a word. Paragraph::isLetter takes care of
13369         that now. Use Paragraph::isInset to identify insets.
13370         (selectSelectedWord): do not test for hyphenation break.
13371
13372         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13373         that protected spaces are considered as spaces.
13374
13375         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13376         Inset::isLetter.
13377
13378 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13379
13380         * lyxserver.h:
13381         * lyxserver.C: fix it. and small cleanup.
13382
13383 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13384
13385         * BufferView_pimpl.C: use inline helpers
13386
13387         * LaTeXFeatures.h:
13388         * LaTeXFeatures.C: fix typos
13389
13390         * Spacing.h:
13391         * Spacing.C: move spacing_string into class
13392
13393         * ToolbarDefaults.C: move stuff into namespace anon
13394
13395         * layout.h: update enum
13396
13397         * lyxfunc.C: use better debug
13398
13399         * minibuffer.h: fix typo
13400
13401         * debug.h:
13402         * debug.C:
13403         * WorkArea.C: add and use Debug::WORKAREA
13404
13405         * lyxtext.h:
13406         * text.C:
13407         * text2.C: code re-organisation, inline helpers
13408
13409 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13410
13411         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13412         std::vector.empty().
13413
13414 2001-11-09  Allan Rae  <rae@lyx.org>
13415
13416         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13417         '\n's after tables.  Tabular and ERT inset work now makes this no
13418         longer necessary.
13419
13420 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13421
13422         * minibuffer.h:
13423         * minibuffer.C: fix crash, improve drop-down completion
13424
13425 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * lyxserver.h:
13428         * lyxserver.C: invalidate fd's when doing endPipe()
13429
13430 2001-11-08  José Matos  <jamatos@fep.up.pt>
13431
13432         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13433         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13434
13435         * paragraph.h:
13436         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13437
13438 2001-11-07  José Matos  <jamatos@fep.up.pt>
13439
13440         * buffer.h:
13441         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13442         const qualifier.
13443
13444         * buffer.C (sgmlOpenTag):
13445         * buffer.C (sgmlCloseTag): removed debug info.
13446
13447         * buffer.h (sgmlOpenTag):
13448         * buffer.h (sgmlCloseTag): made public.
13449
13450 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13451
13452         * buffer.C (saveParamsAsDefaults):
13453         * lyx_cb.C (MenuLayoutSave): remove
13454
13455         * LyXAction.C (init):
13456         * commandtags.h:
13457         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13458
13459 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13460
13461         * buffer.C (setPaperStuff): removed from here...
13462
13463         * bufferparams.C (setPaperStuff): ... and moved there.
13464
13465 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13466
13467         * minibuffer.h:
13468         * minibuffer.C:
13469         * XFormsView.C: add support for drop-down completion
13470
13471 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13472
13473         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13474         commands.
13475
13476 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13477
13478         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13479         disabled.
13480
13481 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13482
13483         * lyx_main.C: change ref to known bugs
13484
13485 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13486
13487         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13488         to work around older babel problems.
13489
13490 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13491
13492         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13493
13494 2001-10-24  Juergen Vigna  <jug@sad.it>
13495
13496         * tabular-old.C (ReadOld): below variable changes reflected.
13497
13498         * tabular.[Ch]: added ltType struct for longtable header/footer
13499         defines and changed all instances where they are used. Added
13500         future support for double top/bottom rows.
13501
13502 2001-10-24  José Matos  <jamatos@fep.up.pt>
13503
13504         * buffer.h (docbookHandleCaption):
13505         * buffer.C (docbookHandleCaption): removed unused function.
13506         (makeDocBookFile): moved docbook supported version to v4.1.
13507
13508 2001-10-24  José Matos  <jamatos@fep.up.pt>
13509
13510         * tabular.h:
13511         * tabular.C (docbookRow): new function to export docbook code of a row.
13512         (DocBook): now honors the longtable flags.
13513
13514 2001-10-23  José Matos  <jamatos@fep.up.pt>
13515
13516         * LaTeXFeatures.h:
13517         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13518         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13519
13520         * buffer.C (makeLinuxDocFile):
13521         (makeDocBookFile): reworked the preamble, more clean, and with
13522         support for lyx defined entities. Changed the document declaration
13523         to be more XML friendly.
13524
13525         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13526         if we need to output XML that should be done with a filter.
13527
13528 2001-10-22  Juergen Vigna  <jug@sad.it>
13529
13530         * sp_pspell.h (class PSpell): add alive function needed in the
13531         controller to see if the spellchecker could be started.
13532
13533 2001-10-22  Juergen Vigna  <jug@sad.it>
13534
13535         * buffer.C (insertStringAsLines): modify the font for inserting
13536         chars in certain conditions by calling checkInsertChar(font).
13537
13538 2001-10-19  Juergen Vigna  <jug@sad.it>
13539
13540         * text.C (workWidth): use getRow instead of wrong algorithm.
13541         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13542
13543 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13544
13545         * lyxserver.h:
13546         * lyxserver.C:
13547         * lyx_main.h:
13548         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13549
13550 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13551
13552         * text.C (workWidth): do not search for the exact row when
13553         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13554         optimization for big documents.
13555
13556 2001-10-18  Juergen Vigna  <jug@sad.it>
13557
13558         * text.C (workWidth): new function with added Inset * parameter.
13559
13560 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13561
13562         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13563
13564         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13565         change return type of getColumnNearX.
13566
13567
13568         * text.C (changeRegionCase): use uppercase/lowercase instead of
13569         toupper/tolower.
13570         (leftMargin):
13571         (rightMargin): simplify code by factoring out the uses of
13572         textclasslist.
13573         (labelFill):
13574         (numberOfHfills):
13575         (setHeightOfRow):
13576         (appendParagraph): use Paragraph::size_type
13577
13578 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13579
13580         * vspace.C (asLatexString): add a missing break
13581
13582 2001-10-15  Herbert Voss  <voss@perce.de>
13583
13584         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13585
13586 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13587
13588         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13589         is not available.
13590
13591 2001-10-10  André Pönitz <poenitz@gmx.net>
13592
13593         * lyxfunc.C: removed greek_kb_flag.
13594
13595 2001-10-10  Herbert Voss  <voss@perce.de>
13596
13597         * lyx_main.C: delete global string help_lyxdir.
13598
13599 2001-10-09  Herbert Voss  <voss@perce.de>
13600
13601         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13602
13603         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13604
13605         * lyx_main.C: added global string help_lyxdir.
13606
13607         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13608
13609 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13610
13611         * lyxrc.C (set_font_norm_type): support iso8859-4
13612
13613 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13614
13615         * LaTeX.C (deplog): add another regex for MikTeX
13616
13617 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13618
13619         * lyxrc.C (set_font_norm_type): support iso8859-3
13620
13621 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13622
13623         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13624
13625         * LaTeXFeatures.C: remove special case of french and index
13626
13627         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13628         before \begin{document}). This solves several incompatibilities.
13629
13630 2001-10-03  Garst Reese  <reese@isn.net>
13631
13632         * lyx_cb.C: change CheckTex error msg.
13633
13634 2001-10-03  José Matos  <jamatos@fep.up.pt>
13635
13636         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13637
13638 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13639
13640         * .cvsignore: update
13641
13642         * lyx_main.C (commandLineVersionInfo): use new style version info.
13643
13644         * buffer.C (writeFile):
13645         (makeLaTeXFile):
13646         (makeLinuxDocFile):
13647         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13648
13649         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13650
13651         * version.h: update to use stuff in version.C
13652
13653         * version.C.in: new file. Contains version information determined
13654         at compile time. This is a merging of version.h and
13655         version_info.h.in.
13656
13657 2001-10-03  Juergen Vigna  <jug@sad.it>
13658
13659         * BufferView_pimpl.C (update): don't change "dirty" status in
13660         updateInset call.
13661
13662 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13663
13664         * WorkArea.C (c-tor): re-position version string slightly.
13665
13666 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13669         revert to previous code.
13670
13671         WorkArea.[Ch]: (show, destroySplash): methods removed.
13672
13673         WorkArea.C: rework code so that it's an amalgam of the codes before and
13674         after the splash screen was moved to WorkArea.
13675
13676 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13677
13678         * lyxrc.C (read):
13679         * vspace.C (inPixels):
13680         (lyx_advance):
13681         * kbmap.C (bind):
13682         * buffer.C (insertStringAsLines):
13683         (asciiParagraph): fix types to be large enough
13684
13685         * lyxlex_pimpl.h: change member status from short to int
13686
13687         * layout.h: fix type of endlabeltype
13688
13689         * kbmap.C (bind):
13690         * kbsequence.C (parse): change return type to string::size_type
13691
13692         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13693         variable
13694
13695         * Bullet.C (bulletSize):
13696         (bulletEntry): do not use short ints as parameters
13697
13698         * BufferView2.C (insertLyXFile): change a char to an int.
13699
13700         * WorkArea.C (WorkArea): remove unneeded floats in computation
13701
13702 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13703
13704         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13705
13706         * paragraph.C (asString): Do not ignore newline/hfill chars when
13707         copying to the clipboard.
13708
13709 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13712         after a multi-line inset.
13713
13714 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13715
13716         * paragraph.C (validate): Set NeedLyXFootnoteCode
13717
13718 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13719
13720         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13721         and decrease-error to decrease.
13722
13723 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13724
13725         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13726         it more readable (should be equivalent)
13727
13728 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13729
13730         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13731
13732 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13733
13734         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13735         of a cursor (row, etc.) after a character has been deleted
13736         (deleteEmptyParagraphMechanism): call the method above on _all_
13737         cursors held by the LyXText when a double space has been
13738         detected/deleted.
13739
13740 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13743         pixmap.
13744         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13745
13746         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13747         background. Use greyOut() and the new show() methods to toggle between
13748         the foreground and background. Add code to remove the splash after
13749         its initial showing.
13750
13751         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13752         (create_forms): no longer call Dialogs::showSplash.
13753
13754 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13755
13756         * .cvsignore: add version_info.h
13757
13758 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13759
13760         * version_info.h.in: new file
13761
13762         * Makefile.am: add version_info.h.in
13763
13764         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13765         version_info.h instead of VERSION_INFO
13766
13767 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13770         The ERT inset now returns string().
13771
13772 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13773
13774         * lyxtext.h, text.C (selectNextWord): renamed as
13775         selectNextWordToSpellcheck.
13776
13777         * text.C (selectNextWordToSpellcheck): Modified to not select
13778         words inside an ERT inset.
13779
13780 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * lyx_cb.C (MenuLayoutSave): change a bit the question
13783
13784         * sp_base.h: include <sys/types.h>
13785
13786 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13789
13790 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13791
13792         * several files: fix typos in user-visible strings
13793
13794 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13795
13796         * text2.C (pasteSelection): do not set the selection, since it
13797         will be cleared later. Actually, the intent was to fix the way the
13798         selection was set, but I figured rmoving the code was just as good.
13799
13800 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13801
13802         * FontLoader.C (available): Check if font is available without
13803         loading the font.
13804
13805 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13806
13807         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13808
13809 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13810
13811         * lyxrc.[Ch]: added display_graphics variable and associated code.
13812
13813 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13814
13815         * bufferparams.C (hasClassDefaults): new method. Returns true if
13816         the buffer parameters correspond to known class defaults
13817
13818 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13819
13820         * XFormsView.C (show): set minimum size to the main window.
13821
13822 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13823
13824         * text2.C (copySelection):
13825         (cutSelection):
13826         * lyxfind.C (LyXReplace):
13827         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13828         LyXText::selectionAsString.
13829
13830         * paragraph.C (asString): add "label" argument to the second form
13831
13832         * text2.C (selectionAsString): add "label" argument and pass it to
13833         Paragraph::asString.
13834
13835 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13836
13837         * lyx_main.C (commandLineHelp): remove version information
13838
13839 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13840
13841         * lyx_main.C: add -version commandline option
13842
13843 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13844
13845         * paragraph.h: make the optional constructor arg required instead.
13846         some modifications to other files because of this.
13847
13848         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13849
13850         * lyxserver.C (C_LyXComm_callback): make it static
13851
13852         * lyx_main.C (error_handler): make it static
13853
13854         * lyx_gui.C (LyX_XErrHandler): make it static
13855
13856         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13857
13858         * WorkArea.C: make the extern "C" methods static.
13859
13860         * Makefile.am (lyx_LDADD): simplify
13861
13862 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13865         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13866
13867         * LyXAction.C (init):
13868         * lyxfunc.C (dispatch): associated code removal.
13869
13870 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13871
13872         * lyxfont.h (isSymbolFont): shut off warning
13873
13874         * text.C (setHeightOfRow):
13875         (getVisibleRow): fix crash with empty paragraphs which have a
13876         bottom line
13877
13878 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13879
13880         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13881         code.
13882
13883 2001-09-04  José Matos  <jamatos@fep.up.pt>
13884         * buffer.C
13885         * buffer.h
13886         * tabular.C (docbook): rename docBook method to docbook.
13887
13888 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13889
13890         * Makefile.am: add dependencies to main.o.
13891
13892 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13893
13894         * FontLoader.C (available): Return false if !lyxrc.use_gui
13895
13896 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13897
13898         * FontInfo.C (query):
13899         * converter.C (view):
13900         * importer.C (Import):
13901         * exporter.C (Export): Can not -> cannot.
13902
13903 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13904
13905         * BufferView_pimpl.C: allow to create index inset even if
13906           string is empty
13907
13908 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13909
13910         * buffer.C (getLists): replace boost::tie code with an explicit pair
13911         as boost::tie can break some compilers.
13912
13913         * iterators.h: Added a std:: declaration to the return type of
13914         ParIterator::size.
13915
13916 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13917
13918         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13919           case.
13920
13921 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13922
13923         * iterators.[Ch]: New files. Provide paragraph iterators.
13924
13925         * buffer.C (changeLanguage): Use paragraph iterators.
13926         (isMultiLingual): ditto
13927
13928         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13929
13930 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13931
13932         * FontLoader.C: Support for cmr font.
13933
13934 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13935
13936         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13937         (available): New method.
13938
13939         * FontInfo.C (getFontname): Use scalable fonts even when
13940         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13941         found.
13942
13943 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13944
13945         * converter.C (Formats::view): reverted! Incorrect fix.
13946
13947 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13948
13949         * converter.C (Formats::view): only output the -paper option
13950         if the dvi viewer is xdvi, thereby fixing bug #233429.
13951
13952 2001-08-23  Herbert Voss  <voss@perce>
13953
13954         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13955
13956 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13957
13958         * Spacing.h (Spacing): Set space to Default on in the default
13959         constructor.
13960
13961 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * vc-backend.h (RCS::versionString): add RCS to version
13964         (CVS::versionString): add CVS to version
13965
13966         * vc-backend.C (scanMaster): do not add CVS to version.
13967         (scanMaster): do not add RCS to version
13968
13969         * lyxvc.C (versionString): new method
13970
13971         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13972
13973 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * Spacing.C (set): initialize fval
13976
13977 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13978
13979         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13980         " or \.
13981
13982 2001-08-16  Juergen Vigna  <jug@sad.it>
13983
13984         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13985
13986 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13987
13988         * BufferView_pimpl.C:
13989         * figureForm.C:
13990         * lyxtext.h:
13991         * text2.C: setParagraph takes linespacing now
13992
13993 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13994
13995         * LyxAction.C: add internal LFUN_CITATION_INSERT
13996
13997         * LyXView.C: actually apply fix
13998
13999         * bufferlist.C: fix open non-existent file
14000
14001         * lyxfind.C: fix indentation
14002
14003         * lyxfunc.C: remove unneeded assert, fix typo
14004
14005 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14006
14007         * MenuBackend.C: use "Floatname List"
14008
14009 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14010
14011         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14012         when converting LaTeX layout to insetERT.
14013         Generate a non-collapsed float when reading old float
14014
14015 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14016
14017         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14018         ERT insets.
14019
14020 2001-08-13  Juergen Vigna  <jug@sad.it>
14021
14022         * text.C (fill): return 0 instead of 20 as this seems to be the more
14023         correct value.
14024
14025 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14026
14027         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14028         lyxrc.font_norm.
14029
14030 2001-08-13  Juergen Vigna  <jug@sad.it>
14031
14032         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14033         casesensitive off.
14034         (SearchBackward): comment out the unlocking of the inset_owner this
14035         should not be needed!
14036
14037 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14038
14039         * Many files: Remove inherit_language, and add latex_language
14040
14041         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14042         collapsible insets.
14043
14044 2001-08-10  Juergen Vigna  <jug@sad.it>
14045
14046         * text.C (prepareToPrint): fixed hfill-width in draw!
14047
14048         * BufferView2.C (selectLastWord): save the selection cursor as this
14049         now is cleared in the function LyXText::clearSelection!
14050
14051 2001-08-08  Juergen Vigna  <jug@sad.it>
14052
14053         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14054         BACKSPACE type functions.
14055
14056         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14057         is only cutted from the document but not put in the cut-buffer, where
14058         still the old stuff should be.
14059
14060         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14061
14062         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14063
14064         * tabular.C (SetWidthOfCell): fixed special case where the width
14065         was not updated!
14066         (LeftLine): handle '|' in align_special.
14067         (RightLine): ditto
14068         (LeftAlreadyDrawed): ditto
14069         (SetWidthOfCell): ditto
14070
14071 2001-08-07  Juergen Vigna  <jug@sad.it>
14072
14073         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14074
14075 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14076
14077         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14078         * lyxlex.[hC]: ditto
14079
14080 2001-08-06  Juergen Vigna  <jug@sad.it>
14081
14082         * text.C (getVisibleRow): fix up row clearing a bit.
14083
14084 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14085
14086         * minibuffer.C: make sure the X server sees the changes in the input.
14087
14088 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * paragraph.C (getFont): split into...
14091         (getLabelFont): this
14092         (getLayoutFont): and this
14093         * paragraph_pimpl.C (realizeFont): calling this
14094
14095         * text2.C (getFont): split into...
14096         (getLayoutFont): this
14097         (getLabelFont): and this
14098         (realizeFont): all three calling this
14099
14100         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14101         files where used.
14102
14103 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14106
14107 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14108
14109         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14110         layouts from the Quote inset insertion.
14111
14112 2001-08-03  Juergen Vigna  <jug@sad.it>
14113
14114         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14115
14116         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14117         only if status not is already CHANGED_IN_DRAW (second level).
14118
14119         * text.C (draw): don't set the need_break_row when inside an
14120         InsetText LyXText.
14121
14122 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14123
14124         * buffer.C (parseSingleLyXformat2Token): handle more latex
14125         conversion cases.
14126
14127         * bufferview_funcs.[hC]: change function names to
14128         begin with small char, adjust other files.
14129
14130 2001-08-02  André Pönitz <poenitz@gmx.net>
14131
14132         * lyxfunc.C:
14133         BufferView_pimpl.C: remove broken special code for math-greek
14134
14135 2001-08-02  Juergen Vigna  <jug@sad.it>
14136
14137         * BufferView_pimpl.C (update): redone this function so that we
14138         update the text again if there was a CHANGE_IN_DRAW.
14139
14140         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14141         (drawFromTo): added a new internal bool which is used by draw() and
14142         redraw() function.
14143         (general): some cursor drawing problems fixed.
14144
14145 2001-08-01  Juergen Vigna  <jug@sad.it>
14146
14147         * lyxfind.C (LyXFind): fixed
14148         (SearchForward): ditto
14149         (SearchBackward): ditto
14150
14151         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14152         spurius drawing of the cursor in the main area.
14153
14154         * text2.C (status): small fix which could lead to a segfault!
14155         (clearSelection): remove unneeded BufferView param.
14156
14157 2001-08-01  André Pönitz <poenitz@gmx.net>
14158
14159         * lyxfunc.C: small change due to changed mathed interface
14160
14161 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14162
14163         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14164
14165 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14166
14167         * lyxfunc.c: fail gracefully if file doesn't exist
14168
14169         * LyXSendto.C:
14170         * buffer.C:
14171         * lyxfunc.C:
14172         * BufferView_pimpl.C: IsDirWriteable() proto changed
14173
14174         * LyXView.C: fix updateWindowTitle() to store the last title
14175
14176 2001-07-31  Juergen Vigna  <jug@sad.it>
14177
14178         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14179         the font (wrong since using of Paragraph::highestFontInRange).
14180
14181         * paragraph.C (highestFontInRange): added a default_size parameter.
14182
14183         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14184         (setHeightOfRow): reformat
14185
14186 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14187
14188         * converter.[hC] + affected files: move to (inital-char)lowercase
14189         function names.
14190
14191         * ParagraphParameters.C (ParagraphParameters): remove commented code
14192
14193         * PainterBase.[Ch]: remove commented code
14194
14195         * LaTeXFeatures.h: add "bool floats" for float.sty
14196
14197         * LaTeXFeatures.C (LaTeXFeatures): init floats
14198         (require): handle float
14199         (getPackages): do it with floats
14200
14201 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14202
14203         * BufferView_pimpl.C (Dispatch): improve handling of
14204         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14205
14206         * commandtags.h: #include lyxfont.h here temporarily to avoid
14207         keybinding bug.
14208
14209         * bufferlist.h: include LString.h here.
14210
14211 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14212
14213         * text2.C (getStringToIndex): new method.
14214
14215 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14216
14217         * *: Reduced header file dependencies all over.
14218
14219 2001-07-30  Baruch Even  <baruch@lyx.org>
14220
14221         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14222
14223 2001-07-29  Baruch Even  <baruch@lyx.org>
14224
14225         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14226
14227 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14228
14229         * ParameterStruct.h (endif): add a default constructor to make
14230         sure that all variables is initialized.
14231
14232         * ParagraphParameters.C (ParagraphParameters): adjust
14233
14234 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14235
14236         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14237         index; also, check that there is something to index, and that it
14238         does not span over several paragraphs.
14239         (doubleClick): use WHOLE_WORD_STRICT for double click.
14240
14241         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14242
14243         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14244         scheme.
14245
14246 2001-07-26  Baruch Even  <baruch@lyx.org>
14247
14248         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14249         an InsetFig figure, backwards compatible reading of old figure code.
14250
14251 2001-07-27  Juergen Vigna  <jug@sad.it>
14252
14253         * text2.C: font.realize function adaption.
14254
14255         * text.C (draw): add a warnings lyxerr text if needed.
14256
14257         * layout.C: font.realize function adaption.
14258
14259         * language.C: add inherit_language and implement it's handlings
14260
14261         * bufferview_funcs.C (StyleReset): remove language parameter from
14262         font creation (should be language_inherit now).
14263
14264         * bufferparams.C (writeFile): handle ignore_language.
14265
14266         * paragraph.C (getFontSettings): the language has to be resolved
14267         otherwise we have problems in LyXFont!
14268
14269         * lyxfont.C (lyxWriteChanges): added document_language parameter
14270         (update): removed unneeded language parameter
14271
14272         * paragraph.C (validate): fixed wrong output of color-package when
14273         using interface colors for certain fonts in certain environments,
14274         which should not seen as that on the final output.
14275
14276 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14277
14278         * BufferView_pimpl.C:
14279         * Thesaurus.h:
14280         * Thesaurus.C:
14281         * Makefile.am:
14282         * commandtags.h:
14283         * LyXAction.C: add thesaurus support
14284
14285         * lyxfind.h:
14286         * lyxfind.C: add "once" parameter, for thesaurus, to not
14287           move to the next match
14288
14289 2001-07-26  Juergen Vigna  <jug@sad.it>
14290
14291         * lyxfont.C (realize): honor ignore_language too!
14292         (resolved): ditto.
14293
14294         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14295
14296         * text.C (draw): one place more for ignore_language to not draw
14297         itself!
14298
14299 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14300
14301         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14302
14303 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14304
14305         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14306         the minipage conversion problem.
14307
14308 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14309
14310         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14311         insert an inset.
14312
14313 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14314
14315         * BufferView.h: don't forward declare WorkArea
14316
14317         * BufferView.C: don't include WorkArea.h
14318
14319 2001-07-25  André Pönitz <poenitz@gmx.net>
14320
14321         * commandtags.h:
14322         * LyXAction.C:
14323         * lyxfunc.C:  new LFUN 'math-space'
14324
14325         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14326
14327 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * text2.C (toggleInset): call open/close
14330
14331 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14332
14333         * lyxfunc.C (dispatch): add debug for the disabled case
14334
14335         * font.C (buttonText): make similar to rectText
14336
14337         * buffer.C (readInset): comment out parsing of insetlist and
14338         insttheorem
14339
14340         * PainterBase.C (rectText): small correction
14341
14342         * BufferView_pimpl.C: comment out insettheorem and insetlist
14343         * LyXAction.C: ditto
14344         * commandtags.h: ditto
14345
14346 2001-07-24  Juergen Vigna  <jug@sad.it>
14347
14348         * text.C (draw): honor the ignore_language.
14349
14350         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14351
14352 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14353
14354         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14355         char inset.
14356
14357 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14358
14359         * lyxtext.h: remove unused (and unimplemented) methods
14360
14361 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14362
14363         * text.C (getVisibleRow): honor background color
14364
14365         * PainterBase.h:
14366         * Painter.h: remove default color argument for fillRectangle
14367
14368         * text.C (backgroundColor): new method
14369
14370 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14371
14372         * text.C (getVisibleRow): adjust
14373
14374         * font.[Ch] (rectText): new method, metrics
14375         (buttonText): new method, metrics
14376
14377         * PainterBase.[hC]: make rectText and buttonText always draw and take
14378         fewer paramteres.
14379
14380 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14381
14382         * ToolbarDefaults.C (read):
14383         * MenuBackend.C (read): allow escaping in all strings
14384
14385         * BufferView_pimpl.C (insertAndEditInset): new method.
14386         (Dispatch): use insertAndEditInset whenever appropriate.
14387
14388         * BufferView_pimpl.C (insertNote): removed
14389
14390         * BufferView_pimpl.C (smartQuote): new method, moved from
14391         BufferView; if an insetquote cannot be inserted, insert a '"'
14392         character instead.
14393
14394         * BufferView2.C: remove insertCorrectQuote();
14395
14396         * lyxfunc.C (getStatus): Add support for all remaingin
14397         inset-insert lfuns.
14398
14399         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14400
14401         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14402         command (necessary to pass " as parameter of self-insert.
14403
14404         * text.C (selectWordWhenUnderCursor):
14405         (selectWord): add word_location parameter
14406         (selectWordWhenUnderCursor): same + remove special code for word
14407         boundary.
14408         (selectNextWord): use kind() to guess type of insetspecialchar,
14409         not latex().
14410
14411         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14412         (insertErtContents): create ert insets as collapsed.
14413         (readInset): better compatibility code for Info inset.
14414
14415 2001-07-20  Juergen Vigna  <jug@sad.it>
14416
14417         * lyxfunc.C (dispatch): use always LyXFind now!
14418
14419         * text2.C (init): add a reinit flag so that the LyXText can be
14420         reinited instead of deleted and reallocated (used in InsetText).
14421
14422         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14423
14424         * text.C: ditto
14425
14426         * text2.C: ditto
14427
14428 2001-07-18  Juergen Vigna  <jug@sad.it>
14429
14430         * text.C (selectNextWord): handle insets inside inset by calling
14431         always the bv->text functions so that we can go up the_locking_inset!
14432
14433         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14434         in strange locations when inside an inset!
14435
14436         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14437         handling to include insets.
14438
14439         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14440
14441 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14442
14443         * LyXAction.C (init):
14444         * commandtags.h:
14445         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14446         LIGATURE_BREAK, since the name is so stupid.
14447
14448 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14449
14450         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14451         InsetInfos.
14452
14453         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14454
14455         * sp_form.[Ch]: remove.
14456
14457         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14458
14459         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14460         InsetInfo.
14461
14462         * src/buffer.C (readInset): ditto.
14463
14464 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14465
14466         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14467         menuSeparator(), endOfSentenceDot(), ldots() and
14468         hyphenationPoint(), which are therefore removed.
14469         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14470
14471         * LyXAction.C (init):
14472         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14473
14474         * paragraph.C (getWord): removed.
14475
14476         * BufferView_pimpl.C (Dispatch): use last word or selection for
14477         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14478
14479         * lyx_main.C (queryUserLyXDir): do not ask before creating
14480         user_dir, except if it has been named explicitely.
14481
14482 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14483
14484         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14485         a document of zero size.
14486
14487 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14488
14489         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14490         approriately in the c-tor and in require().
14491         (getPackages): output the appropriate LaTeX for natbib support.
14492
14493         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14494         variables "use_natbib" and "use_numerical_citations" when reading the
14495         LyX file.
14496         (readInset): read the various natbib cite commands.
14497         (validate): white-space change.
14498
14499         * bufferparams.[Ch]: new variables "bool use_natbib" and
14500         "bool use_numerical_citations".
14501         (writeFile): output them in the LyX file.
14502
14503 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14504
14505         * lyxfunc.C (getStatus): add support for all the inset insertion
14506         commands.
14507
14508         * text2.C (insertInset):
14509         * paragraph.C (insetAllowed):
14510         * BufferView_pimpl.C (insertInset): update to take in account the
14511         renaming of insertInsetAllowed
14512
14513         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14514
14515         * text2.C (getInset): new method. returns inset at cursor position.
14516
14517         * BufferView_pimpl.C (Dispatch): changes because of this.
14518
14519         * LyXAction.C (init): rename open-stuff to inset-toggle.
14520
14521         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14522
14523         * text2.C (toggleInset): renamed from openStuff; use
14524         Inset::open().
14525
14526 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14527
14528         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14529
14530         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14531
14532 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14533
14534         * buffer.C (readLyXformat2): Add filename to the error dialog
14535
14536 2001-07-18  Juergen Vigna  <jug@sad.it>
14537
14538         * tabular.C (GetCellNumber): put an assert here instead of the check!
14539
14540 2001-07-17  Juergen Vigna  <jug@sad.it>
14541
14542         * BufferView_pimpl.C (toggleSelection): adapted too.
14543
14544         * text.C (selectNextWord): adapted for use with insets.
14545         (selectSelectedWord): ditto
14546
14547 2001-07-17  Juergen Vigna  <jug@sad.it>
14548
14549         * sp_spell.C (PSpell): fix initialitation order.
14550
14551 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14552
14553         * paragraph.C: spacing
14554
14555 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14556
14557         * sp_spell.C: repair language selection for pspell
14558
14559 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * lyxfunc.h: change more methods to begin with lower char.
14562
14563 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14564
14565         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14566         for unknown layouts.
14567
14568 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14569
14570         * buffer.C (readLyXformat2): Generate an error dialog if there are
14571         unknown layouts.
14572
14573 2001-07-16  Juergen Vigna  <jug@sad.it>
14574
14575         * sp_spell.C: always compile ISpell part.
14576
14577         * lyxrc.C: added use_pspell entry and it's handling.
14578
14579 2001-07-13  Juergen Vigna  <jug@sad.it>
14580
14581         * sp_spell.C: removed double includes.
14582
14583 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14584
14585         Consistent use of Lsstream.h:
14586         * Lsstream.h: added using std::stringstream for consistencies sake.
14587
14588         * buffer.C: removed using std::stringstream
14589
14590         * lyxfont.C (stateText):
14591         * paragraph.C (asString):
14592         * text.C (selectNextWord, selectSelectedWord):
14593         * text2.C (setCounter):
14594         * vspace.C (asString, asLatexString):
14595         std::ostringstream -> ostringstream.
14596
14597 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14598
14599         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14600         * commandtags.h: add LFUN_HELP_ABOUTLYX
14601         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14602
14603 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14604
14605         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14606         cursorToggle()
14607         * lyx_gui_misc.C: remove spellchecker
14608         * lyxfunc.C: showSpellchecker
14609         * sp_base.h: added
14610         * sp_ispell.h: added
14611         * sp_pspell.h: added
14612         * sp_spell.C: added
14613         * sp_form.[Ch]: removed
14614         * spellchecker.[Ch]: removed
14615
14616 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14617
14618         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14619         is set.
14620         (simpleTeXSpecialChars): Simply print the input character without
14621         any special translation if pass_thru is set.
14622
14623         * layout.h: Added bool pass_thru to layout class for being able to
14624         implement pass through of a paragraph for Literate Programming.
14625
14626         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14627         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14628         * layout.C (Read): add "passthru" to list of layout tags and add
14629         code to set the pass_thru boolean when it is read.
14630
14631 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14632
14633         * trans_decl.h: remove allowed from KmodInfo
14634
14635         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14636         remove allowed code
14637         (Load): adjust
14638
14639         * paragraph_pimpl.C (erase): use boost::prior
14640
14641         * Painter.C (text): use data() instead of c_str() when length is
14642         also provided.
14643         * WorkArea.C (putClipboard): ditto
14644         * font.h (width): ditto
14645
14646         * BufferView2.C: use it-> instead of (*it). for iterators
14647         * texrow.C: ditto
14648         * paragraph_pimpl.C: ditto
14649         * paragraph.C: ditto
14650         * minibuffer.C: ditto
14651         * language.C: ditto
14652         * kbmap.C: ditto
14653         * encoding.C: ditto
14654         * counters.C: ditto
14655         * converter.C: ditto
14656         * chset.C: ditto
14657         * Variables.C: ditto
14658         * TextCache.C: ditto
14659         * MenuBackend.C: ditto
14660         * LyXAction.C: ditto
14661         * LColor.C: ditto
14662         * FloatList.C: ditto
14663         * DepTable.C: ditto
14664         * ColorHandler.C (LyXColorHandler): ditto
14665
14666 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14667
14668         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14669
14670         * text2.C (openStuff): reintroduce this method (which had been
14671         nuked in NEW_INSETS frenzy).
14672
14673         * lyxfunc.C (Dispatch): when an action has not been handled, use
14674         its name in the error message, not its number.
14675
14676         * paragraph.C (inInset): change method name to begin with lowercase.
14677
14678         * undo_funcs.C:
14679         * text2.C: updates because of this.
14680
14681 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14682
14683         * ToolbarDefaults.C (add): add spaces in error message
14684
14685 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14686
14687         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14688         (readLyXformat2): rename return_par to first_par, use lyxlex's
14689         pushToken and remove the manual push handling.
14690         (parseSingleLyXformat2Token): add another ert comp. variable:
14691         in_tabular, rename return_par to first_par. handle newlines better
14692
14693 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14694
14695         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14696
14697 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14698
14699         * text2.C (getParFromID): removed
14700
14701         * buffer.C (getParFromID): new method moved form lyxtext.
14702         * BufferView2.C (insertErrors): adjust
14703         (setCursorFromRow): adjust
14704         * BufferView_pimpl.C (restorePosition): adjust
14705         * lyxfunc.C (Dispatch): adjust
14706         * undo_funcs.C (textUndo): adjust
14707         (textRedo): adjust
14708         (textHandleUndo): adjust
14709         (textHandleUndo): adjust
14710
14711 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14712
14713         * buffer.C: up' the LYX_FORMAT
14714
14715         * lyxfont.h: turn NO_LATEX on as default
14716
14717         * buffer.C (insertErtContents): new methods of tex style compability.
14718         (parseSingleLyXformat2Token): use it several places.
14719         * tabular.C (OldFormatRead): and here
14720
14721 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14722
14723         * text2.C: remove some commented code.
14724         reindent file.
14725
14726         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14727         * trans.C: changes because of the above.
14728
14729 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14730
14731         * text2.C (setCounter): Fix counters bug with bibliography layout.
14732
14733 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14734
14735         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14736         own member functions
14737         (simpleTeXSpecialChars): ditto
14738
14739 2001-07-06  Juergen Vigna  <jug@sad.it>
14740
14741         * a lot of files: changed the access to LyXText::status and the
14742         call of undo-functions.
14743
14744         * undo.[Ch]: added a inset_id to the undo informations.
14745
14746         * undo_funcs.[Ch]: added and moved here all undo functions.
14747
14748         * lyxtext.h: give the status enum a weight, made status_ a private
14749         variable and made accessor functions for it, removed the whole bunch
14750         of undo-functions as they are now in their own file, make some
14751         functions publically available. Added function ownerParagraph with
14752         int parameter.
14753
14754         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14755         made InInset() a const function, added getParFromID() function.
14756
14757         * buffer.[Ch]: added const version for inset_iterator functions,
14758         added getInsetFromID() function.
14759
14760         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14761         changed undo functions for new version.
14762
14763 2001-07-05  Juergen Vigna  <jug@sad.it>
14764
14765         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14766         unknow mechanism does not call the proper constructor but only this
14767         one also if I request the other!?
14768
14769 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14770
14771         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14772
14773         * text2.C (LyXText): use initialization lists.
14774
14775         * lyxtext.h (Selection): initialize set_ and mark_
14776         (init): remove method
14777
14778 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14779
14780         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14781
14782 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14783
14784         * screen.[Ch]: change method names to begin with lowercase
14785
14786         * BufferView_pimpl.C (updateScrollbar): simplify further and
14787         hopefully make it a bit faster.
14788
14789 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14790
14791         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14792         calling directly xforms functions.
14793
14794         * Painter.C (Painter):
14795         * lyx_cb.C (MenuWrite):
14796         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14797         fl_display.
14798
14799         * lyx_gui.C: remove bogus guiruntime extern declaration.
14800
14801 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14802
14803         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14804         in NEW_INSETS
14805         (redoDrawingOfParagraph): ditto
14806         (redoParagraphs): ditto
14807         (cutSelection): don't create a object for CutAndPaste use the
14808         static method directly
14809         (pasteSelection): ditto
14810
14811         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14812         LyXview (+ rename)
14813
14814 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14815
14816         * modifications to some other files because of this.
14817
14818         * Makefile.am (lyx_SOURCES): add XFormsView
14819
14820         * XFormsView.[Ch]: new files
14821
14822         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14823         the main window. Move the gui dependent stuff to XFormsView
14824
14825 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14826
14827         * tabular.C (GetCellInset): update cur_cell also in the row/col
14828         version of this function.
14829
14830         * lyxfunc.C: no need to include figure_form.h here.
14831
14832         * FontLoader.h:
14833         * lyxfunc.h:
14834         * lyxscreen.h:
14835         * text2.C:
14836         * lyxvc.C: no need to include forms.h here.
14837
14838 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14841
14842         * lyxfunc.C (Dispatch):
14843         * Spacing.C (set):
14844         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14845         constructor argument.
14846
14847 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * paragraph.C (Paragraph): dont't clear, and just set layout.
14850         (makeSameLayout): use params's copy contructor.
14851
14852         * ParagraphParameters.[Ch] (makeSame): delete method
14853
14854 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14855
14856         * Variables.[Ch]: fix indentation, rename set to isSet
14857
14858 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14859
14860         * lyxfunc.C (Dispatch): fix typo
14861
14862 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14865         upper_bound.
14866
14867         * bufferlist.C: include assert.h for emergencyWrite().
14868
14869 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14872           give up at last (bug #425202) !
14873
14874 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14875
14876         * lyx_gui_misc.C:
14877         * sp_form.h:
14878         * sp_form.C:
14879         * spellchecker.h:
14880         * spellchecker.C: strip spellchecker options and bring up
14881           preferences tab instead
14882
14883 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14886         the istringstream constructor
14887
14888 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14889
14890         * paragraph.C (getLayout): fix return value
14891
14892         * paragraph.h: do not declare getLayout as inline.
14893
14894         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14895
14896 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14897
14898         * lyxcursor.h (operator<): new func
14899         (operator>): new func
14900         (operator>=): new func
14901         (operator<=): new func
14902
14903         * text.C (changeCase): use selection.start and selection.end
14904         (changeRegionCase): require from to be <= to. Require par to be a
14905         valid paragraph.
14906
14907         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14908
14909 2001-06-27  Juergen Vigna  <jug@sad.it>
14910
14911         * text.C (cursorLeftOneWord): changed to return the cursor and added
14912         overlay with BufferView * parameter which calls this one.
14913         (getWord): added
14914         (selectWord): use new getWord function.
14915         (changeCase): renamed from changeWordCase as and extended to work
14916         also on selections.
14917
14918         * lyxtext.h: added enum word_location
14919
14920         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14921         changeCase as this operates now also on selections.
14922
14923 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14924
14925         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14926
14927         * many files: send debug output to Debug::INFO instead of
14928         Debug::ANY.
14929
14930         * converter.C (View):
14931         (Convert):
14932         (Move): send debug output to Debug::FILES instead of console.
14933
14934 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14935
14936         * lyxfunc.C (getStatus): use func_status
14937
14938         * func_status.h: new header, describing the results of
14939         LyXFunc::getStatus;
14940
14941         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14942         LFUN_MATH_HALIGN.
14943
14944 2001-06-25  The LyX Project  <jug@sad.it>
14945
14946         * buffer.C (sgmlOpenTag):
14947         (sgmlCloseTag):
14948         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14949
14950 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14951
14952         * text2.C: remove some dead code
14953
14954         * tabular.C (GetCellInset): store the last cell checked (gotten)
14955
14956         * tabular.h: add the helper for the speedup
14957
14958         * lyxtext.h: remove some dead code
14959
14960 2001-06-26  The LyX Project  <Asger>
14961
14962         * paragraph.C: Change export to LaTeX of alignment to
14963         \begin{center} and family for better roundtrip work with reLyX.
14964
14965         * Tune the math drawing a bit.
14966
14967 2001-06-25  The LyX Project  <Asger>
14968
14969         * LColor.C (LColor): New color for math background. New color
14970         for buttons.
14971
14972 2001-06-25  The LyX Project  <jug@sad.it>
14973
14974         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14975
14976         * lyxfunc.C (Open):
14977         * bufferlist.C (newFile): do not restrict to files ending with
14978         .lyx
14979
14980         * BufferView_pimpl.C (MenuInsertLyXFile):
14981
14982 2001-06-24  The LyX Project  <jug@sad.it>
14983
14984         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14985         of compare_no_case
14986
14987 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14988
14989         * lyxtext.h: rename most methods to begin with a small char.
14990         Lots of changes because of this.
14991
14992         * paragraph.C (Paragraph): do not call fitToSize
14993         (erase): call Pimpl::erase
14994         (insertChar): call Pimpl::insertChar
14995         (insertInset): call Pipl::insertInset
14996         (breakParagraph): do not call fitToSize
14997         (breakParagraphConservative): do not call fitToSize
14998         (fitToSize): remove method
14999
15000         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15001
15002 2001-06-24  The LyX Project  <Asger>
15003
15004         * Fix Qt compilation^2
15005
15006 2001-06-24  The LyX Project  <jug@sad.it>
15007
15008         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15009         depthHook(getDepth()-1).
15010
15011         * paragraph.h:
15012         * ParagraphParameters.h:
15013         * ParameterStruct.h: change type of depth to unsigned int ==
15014         depth_type. Many adaptations to other files before of that.
15015
15016 2001-06-24  The LyX Project  <Asger>
15017
15018         * Fix Qt compilation.
15019
15020 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15021
15022         * paragraph.h: renamed several methods to begin with small letter.
15023         several changes to many parts of the code because of this.
15024
15025 2001-06-23  The LyX Project  <jug@sad.it>
15026
15027         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15028         rewritten to discard all double spaces when KeepEmpty is off
15029         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15030         to only handle newlines but not fiddle with spaces and friends.
15031
15032         * lyxfunc.C (MenuNew): when doing 'new from template', use
15033         template_path as default directory
15034
15035 2001-06-23  The LyX Project  <Asger>
15036
15037         * Clean-up of header file includes all over
15038         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15039
15040 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15041
15042         * paragraph.h: renamed from lyxparagraph.h
15043
15044 2001-06-23  Asger  <lyx@violet.home.sad.it>
15045
15046         * Buffer.h: Removed Buffer::resize
15047         * BufferList.h: Removed BufferList::resize
15048         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15049         the document lazily when we change the width, or the font settings.
15050
15051 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15052
15053         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15054
15055 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15056
15057         * buffer.h: remove out of date comment
15058
15059 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15060
15061         * lyxscreen.h:
15062         * screen.C: fix "theoretical" GC leak
15063
15064 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * LaTeX.C (scanAuxFile):
15067         (deplog): remove trailing \r when reading stream (useful under
15068         win32)
15069
15070 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15071
15072         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15073         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15074         and BufferView::theLockingInset(Inset*), so should use them and not
15075         access bv_->text->the_locking_inset directly.
15076
15077         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15078
15079 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * Makefile.am:
15082         * tex-defs.h: remove old unused file
15083
15084 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * BufferView_pimpl.C: fix typo, remove minibuffer message
15087           when buffer has loaded
15088
15089 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * lyxfunc.C (Dispatch): use stringstream
15092         (MenuNew): use stringstream
15093         (Open): use stringstream
15094
15095         * importer.C (Import): use stringstream
15096
15097         * bufferview_funcs.C (CurrentState): use stringstream
15098
15099         * LaTeX.C (run): use stringstream
15100
15101         * BufferView_pimpl.C (savePosition): use stringstream
15102         (restorePosition): use stringstream
15103         (MenuInsertLyXFile): use stringstream
15104
15105 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15106
15107         * BufferView.C:
15108         * Bullet.C:
15109         * ColorHandler.C:
15110         * FontInfo.C:
15111         * FontLoader.C:
15112         * LColor.C:
15113         * LaTeXFeatures.C:
15114         * Painter.C:
15115         * gettext.C:
15116         * lyx_gui_misc.C:
15117         * lyxserver.C:
15118         * vspace.C: removed // -*- C++ -*- as first line.
15119
15120         * lyxfind.h:
15121         * version.h: added // -*- C++ -*- as first line.
15122
15123 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15124
15125         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15126
15127         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15128         of string
15129
15130 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15131
15132         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15133         of floats.
15134
15135 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15136
15137         * gettext.C: include LString.h even when --disable-nls is on.
15138
15139 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15140
15141         * converter.h (Get): changed argument type from int to
15142         FormatList::size_type to avoid unnecessary conversion.
15143
15144         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15145         before using it.
15146
15147 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * gettext.h: include LString.h even when --disable-nls is on.
15150
15151 2001-06-07  Juergen Vigna  <jug@sad.it>
15152
15153         * text.C (BreakAgain): subst spaces with tabs.
15154
15155         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15156         (resizeInsetsLyXText): set force on resizeLyXText.
15157
15158 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * gettext.h (gettext_init):
15161         (locale_init): use a real definition instead of a macro
15162
15163 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15164
15165         * Bufferview_pimpl.C:
15166         * LColor.h:
15167         * LColor.C: further lcolor tidies
15168
15169 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * BufferView_pimpl.C (updateScrollbar): simplify.
15172
15173         * BufferView2.C: don't include insets/insetinfo.h, change
15174         prototype for insertInset and call the Pimpl version. let
15175         updateInset call Pimpl version.
15176
15177         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15178         gotoInset to BufferView::Pimpl
15179
15180 2001-06-01  Juergen Vigna  <jug@sad.it>
15181
15182         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15183         inside a LockingInset (is the update needed at all?).
15184
15185 2001-05-31  Juergen Vigna  <jug@sad.it>
15186
15187         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15188         here not the old one otherwise how should we compare it afterwards
15189         if it's the same!
15190
15191 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * lyxfont.C:
15194         * tabular.C:
15195         * tabular-old.C:
15196         * FontInfo.C: bring C functions into global namespace when
15197         necessary
15198
15199 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * LString.h: make sure config.h has been loaded before LString.h.
15202
15203         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15204         (one for each char read by EatLine!).
15205
15206         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15207         variables.
15208
15209 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15210
15211         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15212         to the same as the par we break from
15213
15214 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15215
15216         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15217
15218         * MenuBackend.C (expand): also create menu entries for wide
15219         versions of the floats.
15220
15221         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15222
15223         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15224
15225         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15226         frontends/Makefile.am
15227
15228         * text2.C: adjust
15229         * text.C: adjust
15230
15231
15232         * tabular.C (getTokenValue): add std::
15233
15234         * tabular-old.C (getTokenValue): add std::
15235         (getTokenValue): ditto
15236         (getTokenValue): ditto
15237
15238         * screen.C (ToggleSelection): adjust
15239
15240         * lyxtext.h: put selection cursors inside a Selection struct.
15241
15242         * lyxfunc.C (moveCursorUpdate): adjust
15243
15244         * lyxfont.C (latexWriteStartChanges): add std::
15245
15246         * lyxfind.C: adjust
15247
15248         * font.h: delete with(char const *, LyXFont const &)
15249
15250         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15251
15252         * FontInfo.C (getFontname): add std::
15253
15254         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15255         (workAreaButtonPress): adjust
15256         (tripleClick): adjust
15257         (update): adjust
15258         (moveCursorUpdate): adjust
15259         (Dispatch): adjust
15260
15261         * BufferView2.C (gotoInset): adjust
15262
15263 2001-05-30  Juergen Vigna  <jug@sad.it>
15264
15265         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15266         to check pspell I add this as default as I now have new pspell
15267         libraries and they seem to use this.
15268
15269 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * text2.C (CutSelection): make the cursor valid before the call to
15272         ClearSelection.
15273
15274 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15275
15276         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15277         relied on 0 terminated strings and other horrors. Bug found due to
15278         the new assert in lyxstring!
15279
15280         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15281         KP_ keys.
15282
15283 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15284
15285         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15286         to latinkeys.bind.
15287
15288         * lyxfunc.C (processKeySym): change method of getting to the
15289         self-insert char.
15290
15291         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15292         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15293         * BufferView_pimpl.[Ch]: here as private methods.
15294
15295 2001-05-28  Juergen Vigna  <jug@sad.it>
15296
15297         * text.C (SetHeightOfRow): added the update() call again as it is
15298         needed to initialize inset dimensions!
15299
15300 2001-05-16  Juergen Vigna  <jug@sad.it>
15301
15302         * text2.C (SetCharFont): Add new function with BufferView * and
15303         bool toggleall parameters for setting insets internal fonts.
15304         (SetFont): Freeze the undo as we may change fonts in Insets and
15305         all this change should be inside only one Undo!
15306
15307         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15308         setting font's in insets as for them we have the SetFont function!
15309
15310 2001-05-15  Juergen Vigna  <jug@sad.it>
15311
15312         * text2.C (ClearSelection): to be sure we REALLY don't have any
15313         selection anymore!
15314
15315         * tabular.C (TeXCellPreamble): fixed the left border problem for
15316         multicolumn cells.
15317
15318 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15319
15320         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15321         dependancy file
15322
15323 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15324
15325         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15326         LFUN_BREAKPARAGRAPH.
15327
15328         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15329         help test to "internal only", similar for LFUN_INSERT_URL
15330
15331         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15332         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15333         auto_region_delete and deadkeys.
15334
15335 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15336
15337         * LColor.h:
15338         * LColor.C: remove some dead entries, tidy a little
15339
15340 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15341
15342         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15343         commented code.
15344         (Dispatch): implement LFUN_ESCAPE
15345
15346         * commandtags.h: add LFUN_ESCAPE
15347
15348         * LyXAction.C (init): add entry for LFUN_ESCAPE
15349
15350         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15351         Remove commented code.
15352         (insertNote): moved here
15353         (open_new_inset): moved here
15354
15355         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15356         BufferView_pimpl
15357
15358 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15359
15360         * kbmap.C (findbinding): clean it up and make it work correctly.
15361
15362         * lyx_main.C (init): do not pass argc and argv as parameters
15363
15364 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15365
15366         * buffer.C: fix path for OS/2 & Win32
15367
15368         * lyx_gui.C:
15369         * lyx_main:
15370         * lyx_main.C: Added os:: class.
15371
15372         * os2_defines.h: update
15373
15374 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15375
15376         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15377         better by trying again with reduced state.
15378
15379 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * lyxrc.C (read): print error about invalid key sequence only when
15382         debugging (because not all latinX keysyms are known to some X
15383         servers)
15384
15385         * kbsequence.C (getiso): add a few std:: qualifiers
15386         (getiso): comment out extra return statement.
15387
15388 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15391         handling.
15392         (Dispatch): enhance the accent inset a bit. (not perfect)
15393
15394 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15395
15396         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15397
15398 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15399
15400         * bufferlist.C (emergencyWrite): fix assert() call
15401
15402 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15403
15404         * text.C (InsertChar): Added trivial patch to only send the "you
15405         can not do multiple spaces this way" message once during a
15406         session.
15407
15408 2001-05-08  Baruch Even  <baruch@lyx.org>
15409
15410         * Makefile.am: Changed order of libraries to get LyX to link properly
15411         with the gnome frontend.
15412
15413 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * LaTeXFeatures.h: add a std:: qualifier
15416
15417 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15418
15419         * paragraph.C (String): use stringstream
15420
15421 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * paragraph.C (writeFile): remove footflag arg
15424
15425         * buffer.C (makeLaTeXFile): use stringstream
15426         (latexParagraphs): remove footnot gurba
15427
15428         * LaTeXFeatures.C (getPackages): use stringstream
15429         (getMacros): likewise
15430         (getTClassPreamble): likewise
15431         (getFloatDefinitions): new method
15432
15433         * paragraph.C (writeFile): reindent
15434         (Erase): reindent
15435
15436         * WorkArea.h: revert the xpos + etc changes.
15437
15438         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15439
15440         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15441
15442         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15443         (pasteSelection): likewise
15444         * text2.C (CreateUndo): likewise
15445
15446 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15447
15448         * minibuffer.C (peek_event): temporarily reduce the functionality
15449         of the minibuffer (to allow args on lfuns)
15450
15451         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15452         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15453
15454         * buffer.C (readInset): add compability reading of old float
15455         lists, add reading of new style float list.
15456         (readInset): avoid reevaluation of inscmd.getCmdName()
15457         (getLists): reindent
15458
15459         * MenuBackend.C (MenuItem): implement parsing of
15460         md_floatlistinsert and md_floatinsert.
15461         (expand::LastFiles): move initalizaton of iterators out of loop,
15462         avoid reevaluation.
15463         (expand::Documents): introduce typdedef vector<string> Strings,
15464         and use it.
15465         (expand::ExportFormats): introduce typedef vector<Format const *>
15466         Formats, and use it.
15467         (expand): implement FloatListInsert and FloatInsert.
15468
15469         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15470         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15471         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15472
15473         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15474         handling.
15475         (Dispatch::LFUN_FLOAT_LIST): implement
15476
15477 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15478
15479         * LaTeX.C (run): Fix problem with --export code.
15480
15481 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15482
15483         * BufferView.[Ch] (workarea): removed.
15484         (getClipboard) new method; wrapper for workarea()->getClipboard()
15485
15486         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15487         bug.
15488
15489         * WorkArea.h (width, height, xpos, ypos): These methods all
15490         returned the dimensions of the work_area sub-area of WorkArea,
15491         resulting in a position error if the WorkArea were resized. Now
15492         return the dimensions of the entire WorkArea.
15493
15494         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15495
15496 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15497
15498         * LaTeX.C (deplog): correct the syntax of regex reg1
15499
15500 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15501
15502         * undo.C: remove !NEW_INSETS cruft
15503
15504 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15505
15506         * text2.C: remove !NEW_INSETS cruft
15507
15508         * text.C: remove !NEW_INSETS cruft
15509
15510         * tabular.C: remove !NEW_INSETS cruft
15511
15512         * spellchecker.C: remove !NEW_INSETS cruft
15513
15514         * lyxtext.h: remove !NEW_INSETS cruft
15515
15516         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15517
15518         * lyxfunc.C: remove !NEW_INSETS cruft
15519
15520         * lyxfind.C: remove !NEW_INSETS cruft
15521
15522         * lyx_cb.C: remove !NEW_INSETS cruft
15523
15524         * figureForm.C: remove  !NEW_INSETS cruft
15525
15526         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15527
15528         * buffer.[Ch]: remove !NEW_INSETS cruft
15529
15530         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15531
15532         * CutAndPaste.C: remove !NEW_INSETS cruft
15533
15534         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15535
15536         * BufferView2.C: remove !NEW_INSETS cruft
15537
15538         * BufferView.h: remove !NEW_INSETS cruft
15539
15540 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * Lsstream.h: include LString.h before the sstream headers to
15543         fix problem with gcc 2.95.3 and lyxstring
15544
15545 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15546
15547         * lyx_main.C: add using directives when needed for C functions
15548         declared in std:: namespace.
15549
15550 2001-04-27  Juergen Vigna  <jug@sad.it>
15551
15552         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15553         (SetHeightOfRow): comment out the update call should not be needed!
15554
15555 2001-04-13  Juergen Vigna  <jug@sad.it>
15556
15557         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15558         (LyXTabular): tried to minimize operator= operations (and realized
15559         hopfully Lars wish).
15560
15561 2001-04-27  Juergen Vigna  <jug@sad.it>
15562
15563         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15564
15565 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15566
15567         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15568
15569         * buffer.C (readInset): hack to make listof algorithm work
15570
15571         * BufferView_pimpl.C: hack to make listof algorithm work
15572
15573 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15574
15575         * LyXAction.C: removed all !NEW_INSETS cruft
15576         (init): moved lfun_item in method
15577
15578         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15579
15580 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15581
15582         * BufferView2.C (theLockingInset): white space.
15583
15584 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15585
15586         * minibuffer.C: include <iostream>
15587
15588         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15589
15590         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15591
15592         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15593
15594         * text.[Ch] (TransposeChars): new method
15595
15596 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15597
15598         * call message directly through LyXView instead of through LyXFunc
15599         * BufferView2.C: adjust
15600         * BufferView_pimpl.C: adjust
15601         * FontLoader.C: adjust
15602         * buffer.C: adjust
15603         * bufferview_funcs.C: adjust
15604         * converter.C: adjust
15605         * figureForm.C: adjust
15606         * importer.C: adjust
15607         * lyx_cb.C: adjust
15608         * lyx_gui_misc.C: adjust
15609         * lyxfunc.C: adjust
15610         * lyxvc.C: adjust
15611         * text2.C: adjust
15612         + more files in subdirs
15613
15614         * lyxparagraph.h (size): move up int file
15615         (GetLayout): ditto
15616
15617         * adjust all uses of Assert to lyx::Assert.
15618
15619         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15620         lyxfunctional in namespace lyx
15621         * layout.C (hasLayout): ditto
15622         (GetLayout): ditto
15623         (GetLayout): ditto
15624         (delete_layout): ditto
15625         (NumberOfClass): ditto
15626         * converter.C (GetFormat): ditto
15627         (GetNumber): ditto
15628         (Add): ditto
15629         (Delete): ditto
15630         (SetViewer): ditto
15631         * bufferlist.C (getFileNames): ditto
15632         (emergencyWriteAll): ditto
15633         (exists): ditto
15634         (getBuffer): ditto
15635         * MenuBackend.C (hasSubmenu): ditto
15636         (hasMenu): ditto
15637         (getMenu): ditto
15638         * BufferView_pimpl.C (getInsetByCode): ditto
15639
15640 2001-04-18  Juergen Vigna  <jug@sad.it>
15641
15642         * vspace.C (asLatexString): fixed the 100% problem.
15643
15644 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15645
15646         * lyxfunc.C (Dispatch):
15647         * minibuffer.C:
15648         * minibuffer.h: add a few std:: qualifiers
15649
15650 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15651
15652         * minibuffer.[Ch]: reimplement so that commands is initiated and
15653         run from lyxfunc, simplified som handling, and made the completion
15654         and history code for complete. wip.
15655
15656         * lyxfunc.C (processKeySym): call message
15657         (miniDispatch): new temporary method
15658         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15659         (LFUN_MESSAGE): implement
15660         (LFUN_MESSAGE_PUSH): implement
15661         (LFUN_MESSAGE_POP): implement
15662         (initMiniBuffer): the initial/defualt minibuffer message.
15663
15664         * lyxfont.[Ch]: inline some more getters
15665
15666         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15667
15668         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15669
15670         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15671         (AutoSave): use LFUN_MESSAGE
15672         (Reconfigure): ditto
15673
15674         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15675
15676         * figureForm.C: use LFUN_MESSAGE
15677
15678         * converter.C (runLaTeX): use LFUN_MESSAGE
15679
15680         * bufferview_funcs.C: use LFUN_MESSAGE
15681         (Melt): ditto
15682         (changeDepth): ditto
15683
15684         * bufferparams.h: use boost::
15685
15686         * bufferlist.h: inherit privately from noncopyable
15687
15688         * bufferlist.C (loadLyXFile): remove some commented code.
15689
15690         * buffer.C (runChktex): use LFUN_MESSAGE
15691
15692         * ShareContainer.h: inherit privately from noncopyable
15693
15694         * ParagraphParameters.[hC] (depth): inline it.
15695
15696         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15697         methods.
15698         (message): new method
15699         (messagePush): ditto
15700         (messagePop): ditto
15701         (show): init minibuffer
15702         (showState): direct call
15703
15704         * LaTeX.[Ch]: inherit privately from noncopyable
15705         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15706         instead of WriteStatus.
15707
15708         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15709
15710         * BufferView_pimpl.C (buffer): don't init minibuffer
15711         (workAreaButtonPress): use LFUN_MESSAGE
15712         (workAreaButtonRelease): ditto
15713         (savePosition): ditto
15714         (restorePosition): ditto
15715         (MenuInsertLyXFile): ditto
15716         (workAreaExpose): don't init minibuffer
15717         (update): remove commented code, simplify
15718
15719         * BufferView2.C (openStuff): use LFUN_MESSAGE
15720         (toggleFloat): ditto
15721         (menuUndo): ditto
15722         (menuRedo): ditto
15723         (copyEnvironment): ditto
15724         (pasteEnvironment): ditto
15725         (copy): ditto
15726         (cut): ditto
15727         (paste): ditto
15728         (gotoInset): ditto
15729         (updateInset): remove some commented code
15730
15731         * lastfiles.h: inherit privately from noncopyable
15732         * layout.h: ditto
15733         * lyx_gui.h: ditto
15734         * lyx_main.h: ditto
15735         * lyxlex.h: ditto
15736         * lyxlex_pimpl.h: ditto
15737
15738         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15739         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15740         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15741
15742         * LyXAction.h: inherit privately from noncopyable, add methods
15743         func_begin, func_end, returning iterators to the func map.
15744
15745         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15746         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15747         (func_begin): new method
15748         (func_end): new method
15749
15750         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15751         and not)
15752         (copySelection): ditto
15753         (pasteSelection): ditto
15754
15755         * BufferView.C: whitespace change
15756         * BufferView.h: inherit privately from noncopyable
15757
15758 2001-04-16  Allan Rae  <rae@lyx.org>
15759
15760         * tabular-old.C (l_getline):
15761         * spellchecker.C (sc_check_word):
15762         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15763         an unrecognised preprocessor directive.  So ensure they're wrapped.
15764
15765 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15766
15767         * src/exporter.C (Export): Give an error message when path to file
15768         contains spaces.
15769
15770 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15771
15772         * LaTeX.C (deplog): Always check that foundfile exists.
15773
15774 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15775
15776         * lyx_main.h:
15777         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15778
15779 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15780
15781         * tabular.[Ch] (getLabelList): implement new method
15782
15783         * minibuffer.h: comment ouf setTiimer
15784
15785         * minibuffer.C (ExecutingCB): constify res
15786         (peek_event): constify s
15787         (Set): constify ntext
15788         (Init): constify nicename
15789
15790         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15791
15792         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15793         (savePosition): use two params to Minibuffer::Set
15794         (restorePosition): ditto
15795
15796 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15797
15798         * lyx_main.C: include language.h
15799
15800         * Makefile.am (lyx_main.o): add language.h
15801
15802 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15803
15804         * exporter.C:
15805         * paragraph.C:
15806         * screen.C:
15807         * tabular.C:
15808         * CutAndPaste.C: include gettext.h
15809
15810         * lyxfont.h: remove old hack with ON and OFF.
15811
15812         * lyxparagraph.h:
15813         * lyxfont.h: do not include language.h...
15814
15815         * BufferView2.C:
15816         * LaTeXFeatures.C:
15817         * Painter.C:
15818         * bufferview_funcs.C:
15819         * font.C:
15820         * lyxfont.C:
15821         * text.C:
15822         * text2.C:
15823         * trans_mgr.C:
15824         * paragraph.C: ... but do it here instead
15825
15826 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15827
15828         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15829
15830         * tabular.C: small reformat
15831
15832         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15833         NEW_INSETS version
15834         (GetChar): ditto
15835         (BreakParagraph): ditto
15836         (SetOnlyLayout): ditto
15837         (SetLayout): ditto
15838
15839         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15840         with one arg less.
15841
15842         * lastfiles.C: removed most using decl, add std:: where needed
15843
15844         * buffer.C: ws changes
15845
15846         * MenuBackend.C (class compare_format): put into anon namespace
15847         (expand): constify label, names, action, action2
15848         (expand):
15849
15850         * text.C (SingleWidth): constify font
15851         (IsBoundary): constify rtl2
15852         (GetVisibleRow): constify ww
15853
15854         * LaTeX.C (deplog): constify logfile
15855
15856         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15857         start_x, end_x
15858         (workAreaExpose): constify widthChange, heightChange
15859
15860         * lyxrow.C (par): moved
15861         (height): moved
15862         (next): moved
15863         * lyxrow.h: as inlines here
15864
15865         * lyxfont.h (shape): moved from lyxfont.C
15866         (emph): moved from lyxfont.C
15867
15868         * lyxfont.C (LyXFont): use initialization list for all
15869         constructors
15870         (shape): move to lyxfont.h as inline
15871         (emph): move to lyxfont.h as inline
15872
15873
15874 2001-04-04  Juergen Vigna  <jug@sad.it>
15875
15876         * vspace.C: had to include stdio.h for use of sscanf
15877
15878 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15879
15880         * BufferView.h:
15881         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15882         independent of xforms.
15883
15884 2001-04-02  Juergen Vigna  <jug@sad.it>
15885
15886         * spellchecker.C: fixed namespace placing!
15887
15888 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15889
15890         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15891         the LyXParagraph * is 0.
15892
15893 2001-03-29  Juergen Vigna  <jug@sad.it>
15894
15895         * vspace.C: added support for %, c%, p%, l%.
15896         (stringFromUnit): added helper function.
15897         (asLatexString): changed to give right results for the %-values.
15898
15899         * buffer.C: convert the widthp in a width%.
15900
15901 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15902
15903         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15904         figureForm.[Ch].
15905
15906         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15907         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15908
15909         * lyx_cb.[Ch]: see above.
15910
15911         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15912         form1.[Ch].
15913
15914         * form1.[Ch]:
15915         * lyx.[Ch]: replaced by figure_form.[Ch].
15916
15917         * lyx_gui.C:
15918         * lyx_gui_misc.C:
15919         * lyxfunc.C: changed headers associated with above changes.
15920
15921 2001-03-27  Juergen Vigna  <jug@sad.it>
15922
15923         * BufferView_pimpl.C: set the temporary cursor right!
15924
15925 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15926
15927         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15928
15929 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * LString.h: removed "using std::getline"!
15932
15933         * BufferView_pimpl.C (Dispatch): changes due to changes in
15934         InsetInclude::Params.
15935
15936         * buffer.C (tag_name): removed redundant break statements as they were
15937         producing lots of warnings with my compiler.
15938
15939 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * LString.h: add "using std::getline" when using the real <string>.
15942
15943 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15944
15945         * buffer.C: removed bitset usage.
15946         PAR_TAG moved to an anonymous name space.
15947         (tag_name): new funtion, also in the anonymous namespace.
15948         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15949         (makeDocBookFile): clean code. Completed transition from string arrays
15950         to string vectors.
15951         (SimpleDocBookOnePar): code clean.
15952
15953 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15954
15955         * tabular.C: add some comments.
15956
15957 2001-03-22  Juergen Vigna  <jug@sad.it>
15958
15959         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15960         compatibility read a bit and fixed bug with minipage in different
15961         depth.
15962
15963 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15964
15965         * buffer.C (pop_tag): removed.
15966         (push_tag): removed.
15967         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15968         array replaced with vector. Added support for CDATA sections.
15969         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15970         at any nest level.
15971         (makeDocBookFile): XML conformant declaration of CDATA section,
15972         fixed bug related to <emphasis> in the first paragraph char.
15973         (sgmlOpenTag): exclude empty tags.
15974         (sgmlCloseTag): ditto.
15975
15976         * buffer.h (pop_tag): removed.
15977         (push_tag): removed.
15978
15979 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15980
15981         * language.h (Languages): added size_type and size().
15982
15983 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15984
15985         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15986         response on compability reading of minipages. One probliem is that
15987         the old usage of minipages was «flertydig»
15988
15989         * several files here and in subdirs: don't use static at file
15990         scope use anon namespaces instead.
15991
15992 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15993
15994         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15995         LaTeX output. This is necessary for Literate document
15996         processing.
15997
15998 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15999
16000         * buffer.C: insert hfill when needed.
16001
16002         * tabular.C (l_getline): use string::erase, small whitespace change.
16003
16004         * BufferView_pimpl.C: try the anon namespace.
16005         * WorkArea.C: ditto
16006
16007 2001-03-16  Juergen Vigna  <jug@sad.it>
16008
16009         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16010         otherwise it won't open options-dialogs.
16011
16012         * buffer.C: honor pextraWidth(p) on converting minipages.
16013
16014         * tabular.C (l_getline): changed the functions to strip trailing \r.
16015
16016 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16017
16018         * BufferView_pimpl.C:
16019         * minibuffer..C: added "using SigC::slot" declaration.
16020
16021 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16022
16023         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16024
16025         * text2.C: ditto
16026
16027         * text.C: ditto
16028
16029         * paragraph.C: ditto
16030
16031         * lyxtext.h: NO_PEXTRA
16032
16033         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16034
16035         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16036         * ParameterStruct.h: ditto
16037         * ParagraphParameters.h: ditto
16038         * lyxparagraph.h: ditto
16039
16040 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16041
16042         * buffer.C: add compability for minipage alignment.
16043         (latexParagraphs): remove unwanted pextra check.
16044
16045         * several files: remove CXX_WORKING_NAMESPACES
16046
16047         * buffer.C (pop_tag): tie is in namespace boost
16048
16049         * BufferView.h: noncopyable is in namespace boost
16050         * lyxlex.h: ditto
16051         * lyx_main.h: ditto
16052         * lyx_gui.h: ditto
16053         * layout.h: ditto
16054         * lastfiles.h: ditto
16055         * bufferlist.h: ditto
16056         * ShareContainer.h: ditto
16057         * LyXView.h: ditto
16058         * LyXAction.h: ditto
16059         * LaTeX.h: ditto
16060
16061 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16062
16063         * Merging changes from BRANCH_MVC back into HEAD.
16064
16065         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16066
16067 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16068
16069         * BufferView_pimpl.C: change from intl.C
16070
16071         * combox.h:
16072         * combox.C:
16073         * Makefile.am: move combox.*
16074
16075         * form1.h:
16076         * form1.C:
16077         * lyx_gui.C:
16078         * intl.h:
16079         * intl.C: remove dialog (covered by prefs)
16080
16081 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16082
16083         * lyxfunc.C (Dispatch): removed redundant break statement.
16084
16085 2001-03-14  Juergen Vigna  <jug@sad.it>
16086
16087         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16088
16089 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16090
16091         * buffer.C: add hack to fix compability reading of minipages.
16092
16093 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16094
16095         * buffer.C (getLists): Cleanup.
16096
16097 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * lyxfont.C (update): don't honor toggleall on font size.
16100
16101 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16102
16103         * bmtable.c:
16104         * bmtable.h:
16105         * Makefile.am: moved to frontends/xforms/
16106
16107         * lyx_gui_misc.C:
16108         * lyxfunc.C:
16109         * BufferView_pimpl.C: changes for moved mathpanel
16110
16111 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16112
16113         * gettext.h: fix gettext_init() in --disable-nls
16114
16115 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16116
16117         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16118
16119 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16120
16121         * lyx.C:
16122         * lyx.h: strip external form
16123
16124 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16125
16126         * BufferView_pimpl.C: add comment, destroySplash()
16127
16128 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16129
16130         * BufferView_pimpl.C:
16131         * LyXAction.C:
16132         * buffer.C:
16133         * commandtags.h:
16134         * lyxfunc.C: use re-worked insetinclude
16135
16136 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16137
16138         * buffer.C: add using std::stringstream.
16139
16140         * lyx_cb.C: readd using std::ios.
16141
16142         * buffer.C: add using std::map.
16143
16144         * BufferView_pimpl.C: add using std::vector.
16145
16146         * ShareContainer.h: add std:: to swap.
16147
16148         * buffer.h: add some typedefs
16149         * buffer.C (getLists): use them
16150         (getLists): renamed from getTocList.
16151         add a counter for the different float types and use it in the
16152         generated string.
16153         (getLists): use the same counter for the NEW_INSETS and the "non"
16154         NEW_INSETS
16155
16156         * lyx_cb.h: remove unused items, includes, using etc.
16157
16158         * ShareContainer.h: remove some commented code, add more comments
16159         and "documentation".
16160
16161 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16162
16163         * buffer.C (getTocList): make the list also when NEW_INSETS is
16164         defined.
16165
16166         * buffer.h: remove TocType
16167
16168         * buffer.C (getTocList): change to return a map<string,
16169         vector<TocItem> >, implement for dynamic number of list.
16170
16171         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16172         * text2.C (PasteSelection): adjust
16173         * CutAndPaste.C (pasteSelection): adjust
16174
16175         * FloatList.C (FloatList): update from the new_insets branch.
16176         * Floating.[Ch]: ditto
16177         * LaTeXFeatures.C: ditto
16178         * buffer.C: ditto
16179         * lyxlex_pimpl.C: ditto
16180
16181         * paragraph.C (Last): remove when NEW_INSETS is defined.
16182
16183         * other file: changes because of the above.
16184
16185 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16186
16187         * lyxparagraph.h: rename next to next_, previous to previous_,
16188         make them private for NEW_INSETS. Rename Next() to next(),
16189         Previous() to previous().
16190
16191         * other files: changes because of the above.
16192
16193 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16194
16195         * BufferView.h:
16196         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16197         problem.
16198
16199 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16200
16201         * main.C (main): pass lyx_localedir to gettext_init().
16202
16203         * gettext.h: remove locale_init and gettext_init macros
16204
16205         * gettext.C (locale_init): new function
16206         (gettext_init): new function
16207
16208         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16209         setlocale().
16210
16211 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16212
16213         * Moved credits to frontends:
16214         * credits.[Ch]: removed
16215         * credits_form.[Ch]: removed
16216         * lyx_gui_misc.C: remove credits stuff
16217         * Makefile.am:
16218
16219 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16220
16221         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16222
16223         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16224         unneeded destructor.
16225
16226         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16227         a standalone pointer again.
16228
16229         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16230
16231 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16232
16233         * Makefile.am:
16234         * filedlg.h:
16235         * filedlg.C:
16236         * LyXAction.C:
16237         * ToolbarDefaults.C:
16238         * bufferlist.C:
16239         * commandtags.h:
16240         * form1.C:
16241         * form1.h:
16242         * lyx_cb.C:
16243         * lyx_cb.h:
16244         * lyxfunc.h:
16245         * lyxfunc.C:
16246         * BufferView_pimpl.C: use new file dialog in GUII
16247
16248         * lyx_cb.h:
16249         * lyx_cb.C: remove LayoutsCB to Toolbar
16250
16251 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16252
16253         * ShareContainer.h (get): add std:: qualifier
16254
16255 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16256
16257         * ShareContainer.h: define a proper ShareContainer::value_type
16258         type (and use typename to please compaq cxx)
16259
16260 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16261
16262         * lyxparagraph.h: move serveral local vars to
16263         ParameterStruct/ParagraphParameters., use ShareContainer in
16264         FontTable., make vars in FontTable private and add getter and
16265         setter.
16266
16267         * paragraph.C: changes because of the above.
16268
16269         * lyxfont.h: remove copy constructor and copy assignment. (the
16270         default ones is ok), move number inside FontBits. move inlines to
16271         lyxfont.C
16272
16273         * lyxfont.C: add number to initializaton of statics, move several
16274         inlines here. constify several local vars. some whitespace
16275         cleanup. Dont hide outerscope variables.
16276
16277         * Spacing.h: add two new constructors to match the set methods.
16278
16279         * ShareContainer.h: new file, will perhaps be moved to support
16280
16281         * ParameterStruct.h: new file
16282
16283         * ParagraphParameters.h: new file
16284
16285         * ParagraphParameters.C: new file
16286
16287         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16288         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16289
16290         * BufferView_pimpl.C: ParagraphParameter changes.
16291         * buffer.C: Likewise.
16292         * bufferview_funcs.C: Likewise.
16293         * text.C: Likewise.
16294         * text2.C: Likewise.
16295
16296 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16297
16298         * lyxfind.C (LyXReplace): do not redefine default argument in
16299         implementation.
16300         (IsStringInText): ditto
16301         (SearchForward): ditto
16302         (SearchBackward): ditto
16303
16304 2001-03-06  Juergen Vigna  <jug@sad.it>
16305
16306         * lyxfind.C (IsStringInText): put parentes around expressions.
16307
16308 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16309
16310         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16311
16312 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16313
16314         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16315
16316         * stl_string_fwd.h: add comment
16317
16318         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16319
16320         * tabular.h:
16321         * tabular.C: remove unused DocBook methods
16322
16323         * intl.C:
16324         * language.C:
16325         * paragraph.C:
16326         * buffer.C:
16327         killed DO_USE_DEFAULT_LANGUAGE
16328
16329 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * lyx_gui.C: do not include language.h.
16332
16333         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16334         arguments in function implementation.
16335
16336 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16337
16338         * BufferView_pimpl.C: add <ctime>
16339
16340 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16341
16342         * BufferView_pimpl.C: add using std::find_if
16343
16344 2001-02-27  José Matos  <jamatos@fep.up.pt>
16345
16346         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16347         by OnlyPath.
16348
16349 2001-02-11  José Matos  <jamatos@fep.up.pt>
16350
16351         * buffer.C (makeDocBookFile): command styles now have a parameter as
16352         "title" by default.
16353
16354 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16355
16356         * layout_forms.[Ch]: removed
16357         * lyx_cb.[Ch]: out character
16358         * lyx_gui.C: out character
16359         * lyx_gui_misc.C: out character
16360         * bufferview_funcs.C: : out character,
16361         added toggleall as parameter in ToggleAndShow
16362
16363 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16364
16365         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16366
16367         * text2.C (SetCurrentFont): Disable number property at boundary.
16368
16369 2001-02-26  Juergen Vigna  <jug@sad.it>
16370
16371         * lyxfunc.C (getStatus): added a string argument override function so
16372         that this is correctly called from LyXFunc::Dispatch if it contains a
16373         do_not_use_argument which is used!
16374         (Dispatch): added check for "custom" export and call appropriate func.
16375
16376 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16377
16378         * lyxrc.C: Add language_command_local, language_use_babel and
16379         language_global_options.
16380
16381         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16382
16383         * buffer.C (makeLaTeXFile): Use language_use_babel and
16384         language_global_options.
16385
16386 2001-02-23  Juergen Vigna  <jug@sad.it>
16387
16388         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16389         which works with LyXText and putted it inside BufferView. Here now we
16390         only call for that part the BufferView::Dispatch() function.
16391
16392         * BufferView.C (Dispatch): added.
16393
16394         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16395         functions which needs to use a LyXText over from LyXFunc.
16396         (MenuInsertLyXFile): added
16397         (getInsetByCode): added
16398         (moveCursorUpdate): added
16399         (static TEXT): added
16400
16401 2001-02-22  Juergen Vigna  <jug@sad.it>
16402
16403         * BufferView_pimpl.C (update): call a status update to see if LyXText
16404         needs it.
16405
16406 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16407
16408         * vc-backend.C (revert): implement for CVS
16409         (getLog): implement for CVS
16410
16411 2001-02-20  Juergen Vigna  <jug@sad.it>
16412
16413         * text2.C (ClearSelection): added BufferView param for inset_owner call
16414
16415         * lyxfunc.C (TEXT): added this function and use it instead of
16416         directly owner->view()-text of getLyXText().
16417
16418 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16419
16420         * src/layout_forms.C: out preamble
16421         * src/layout_forms.h: out preamble
16422         * src/lyx_cb.C: out preamble
16423         * src/lyx_cb.h: out preamble
16424         * src/lyx_gui.C: out preamble
16425         * src/lyx_gui_misc.C: out preamble
16426         * src/lyxfunc.C: connect with guii preamble
16427
16428 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16429
16430         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16431
16432 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16433
16434         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16435         whether to run bibtex.
16436
16437 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16438
16439         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16440
16441 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16442
16443         * Makefile.am (lyx_SOURCES): removed bibforms.h
16444
16445         * vspace.h: doxygen
16446
16447         * text.C (GetVisibleRow): make several local vars const
16448
16449         * tabular.C: small cleanup.
16450
16451         * lyxserver.C (callback): use compare instead of strncmp
16452
16453         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16454         inlines to after class or to paragraph.C
16455
16456         * lyxfont.h: remove friend operator!=
16457
16458         * converter.h: move friend bool operator< to non friend and after
16459         class def.
16460
16461         * combox.h: small cleanup
16462
16463         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16464         to inlines after class def.
16465
16466         * buffer.C (pop_tag): use string operations instead of strcmp
16467
16468         * bmtable.c: doxygen, small cleanup
16469
16470         * LaTeX.h: remove friend operator==
16471
16472 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16473
16474         * screen.C:
16475         * lyxrc.[Ch]:
16476         * lyxfunc.C:
16477         * lyxfont.[Ch]:
16478         * lyx_cb.C:
16479         * intl.[Ch]:
16480         * commandtags.h:
16481         * buffer.C:
16482         * WorkArea.[Ch]:
16483         * LyXAction.C:
16484         * BufferView_pimpl.C:
16485         * BufferView.[Ch]: remove cruft
16486
16487 2001-02-14  Juergen Vigna  <jug@sad.it>
16488
16489         * lyxfunc.C: removed #if 0 unused code
16490
16491         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16492
16493         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16494
16495         * text2.C (SetSelection): added a BufferView * parameter
16496
16497 2001-02-13  Juergen Vigna  <jug@sad.it>
16498
16499         * lyxfunc.C (Dispatch): fixed protected blank problem.
16500         * BufferView2.C (protectedBlank): added LyxText * parameter.
16501
16502         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16503         (AppendColumn): same as above for column_info.
16504
16505         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16506         (moveCursorUpdate): use a LyXText param for support of InsetText.
16507
16508         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16509         (tripleClick): ditto
16510
16511         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16512
16513         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16514
16515         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16516
16517         * text2.C (SetSelection): set correct update status if inset_owner
16518         (ToggleFree): ditto
16519
16520 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16521
16522         * tabular.C: remove some commented code.
16523
16524 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16525
16526         * BufferView_pimpl.C: call hideSplash()
16527
16528         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16529
16530         * include_form.h:
16531         * bibforms.h: remove
16532
16533         * lyxfunc.C:
16534         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16535           add LFUN_CHILD_CREATE
16536
16537         * counters.h: fix tiny typo
16538
16539         * lyx_cb.C:
16540         * lyx.h:
16541         * lyx_gui.C:
16542         * lyx.C: move splash to frontends/xforms/
16543
16544         * lyx_gui_misc.C: move Include and Bibform to frontends
16545
16546         * lyxvc.h: clarify comment
16547
16548         * vspace.C: tiny housekeeping
16549
16550 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16551
16552         * text.C (PrepareToPrint): RTL Fix.
16553
16554         * paragraph.C (GetUChar): New method.
16555         (String):  Use GetUChar.
16556
16557         * buffer.C (asciiParagraph): Use GetUChar.
16558
16559 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16560
16561         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16562
16563 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16564
16565         * buffer.h:
16566         * buffer.C: rename to getLogName(), handle
16567           build log / latex log nicely
16568
16569 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16570
16571         * MenuBackend.C:
16572         * MenuBackend.h: remove support for reference menuitem type.
16573
16574 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16575
16576         * BufferView_pimpl.C: housekeeping
16577         * BufferView_pimpl.h:
16578         * LyXView.h:
16579         * Makefile.am:
16580         * Timeout.C:
16581         * Timeout.h:
16582         * minibuffer.h: move Timeout GUI-I
16583
16584 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16585
16586         * lyxrc.C (read): Update converters data-structures.
16587
16588 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16589
16590         * LaTeX.h (operator!=): add operator != for Aux_Info
16591
16592 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16593
16594         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16595
16596         * LaTeXLog.C: deleted, useful code moved to Buffer
16597
16598         * buffer.h:
16599         * buffer.C: new function getLatexLogName()
16600
16601         * lyx_gui_misc.C:
16602         * lyx_gui.C:
16603         * lyxvc.C:
16604         * lyxvc.h:
16605         * lyxfunc.C: use frontends for LaTeX and VC logs
16606
16607 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * LaTeX.h: yet another std:: that Allan forgot.
16610
16611         * Variables.C (set): renamed from isset(), because this clashes
16612         with some HP-UX macros (grr).
16613
16614 2001-02-06  Allan Rae  <rae@lyx.org>
16615
16616         * LaTeX.h: Another bug fix.  Missing std:: this time.
16617
16618 2001-02-04  Allan Rae  <rae@lyx.org>
16619
16620         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16621         floats problem. I've left it commented out because it's not quite
16622         correct.  It should also test that the current object is a table or
16623         figure inset.  But I haven't gotten around to figuring out how to do
16624         that.  I *think* it'll be something like: "table" == inset.type()
16625
16626         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16627         bool.
16628
16629 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16630
16631         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16632         all the citation/databases/styles in the auxilary file.
16633         (run): Rerun latex if there was a babel language error.
16634
16635 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16636
16637         * text.C (Backspace): Preserve the font when changing newline char
16638         with a space.
16639         (BreakParagraph): If the cursor is before a space, delete the space.
16640
16641         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16642
16643 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16644
16645         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16646         new argument (code).
16647         (ChangeCitationsIfUnique): New method.
16648
16649         * paragraph.C (GetPositionOfInset): Handle bibkey.
16650
16651 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16652
16653         * BufferView_pimpl.h: change type of Position::par_pos to
16654         LyXParagraph::size_type.
16655
16656 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16657
16658         * BufferView_pimpl.C (savePosition, restorePosition): Write
16659         messages to minibuffer.
16660
16661 2001-01-28  José Matos  <jamatos@fep.up.pt>
16662
16663         * buffer.C (makeDocBookFile): adds support for document language.
16664         A silly restriction on the name of LatexCommand types where removed.
16665         Added support for CDATA sections, allows to chars unescaped, used
16666         among others in code, to avoid escape < and >.
16667
16668 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16669
16670         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16671         saved positions instrad of a stack. Furthermore, a position is
16672         stored using paragraph id/paragraph position.
16673
16674         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16675         Remove LFUN_REF_BACK.
16676
16677 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16678
16679         * converter.C (dvipdfm_options): New method.
16680
16681 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16682
16683         * vspace.C (isValidLength): Fix for empty input string.
16684
16685 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16686
16687         * LyXAction.C (init): change description of LFUN_FIGURE to
16688         "Insert Graphics"
16689
16690 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16691
16692         * LaTeX.C: add using directive
16693
16694 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16695
16696         * MenuBackend.C (expand): Fix the sorting of the formats.
16697
16698 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16699
16700         * lyx_main.C: tiny error message fix
16701
16702 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16703
16704         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16705         calling fl_initialize(). This fixes the problem with ',' as
16706         decimal separator in text files.
16707
16708 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16709
16710         * trans.C (process): Fix the keymap bug.
16711
16712 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16713
16714         * LaTeX.C (scanAuxFiles): New method. Provides support for
16715         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16716         (scanLogFile) Scan for "run BibTeX" messages.
16717
16718         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16719         OT1 font encoding. Also, load the aecompl package if the ae
16720         package is loaded.
16721
16722         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16723
16724 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16725
16726         * texrow.C (increasePos): turn two error messages into debug
16727         messages.
16728
16729 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16730
16731         * LaTeX.C (scanAux): Handle the \@input macro.
16732         (runBibTeX): Use scanAux().
16733
16734         * language.C (latex_options_): New field.
16735
16736         * LaTeXFeatures.C (getMacros): Add language macros.
16737
16738         * buffer.C (makeLaTeXFile): Small fix.
16739
16740 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16743
16744         * text2.C: add a using directive.
16745
16746 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16747
16748         * BufferView2.C:
16749         * lyx_gui_misc.h:
16750         * lyxfr1.C:
16751         * lyxfunc.C: kill LyXBell.
16752
16753 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16754
16755         * text.C (IsBoundary): Remove the error message
16756
16757         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16758
16759         * lyxrc.C (setDefaults): Correct initialization value for
16760         font_norm_type.
16761
16762 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16763
16764         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16765         gotoError().
16766
16767         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16768         and GotoNextNote().
16769
16770         * src/LyXAction.C: Added reference-next.
16771
16772         * text.C (InsertChar): Use contains instead of strchr.
16773
16774         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16775
16776 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16777
16778         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16779         alignment commands (when needed).
16780
16781         * text.C (InsertChar): Add ':' to number separator chars.